/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --gold: #C9A84C;
  --gold-light: #F0D080;
  --gold-dark: #7A5C1E;
  --cream: #F5EDD8;
  --black: #080706;
  --deep: #0D0B08;
  --charcoal: #1A1612;
  --mid: #2A2318;
  --muted: rgba(201,168,76,0.4);
  --topnav-h: 3.5rem;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
html, body {
  width: 100%;
  background: var(--black);
  font-family: 'Noto Serif Bengali', serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   CURSOR
   ============================================================ */
#cursor, #cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  #cursor {
    display: block; position: fixed; z-index: 9999;
    width: 10px; height: 10px;
    background: var(--gold); border-radius: 50%;
    pointer-events: none; transform: translate(-50%,-50%);
    transition: width .3s, height .3s; mix-blend-mode: difference;
  }
  #cursor-ring {
    display: block; position: fixed; z-index: 9998;
    width: 38px; height: 38px;
    border: 1px solid rgba(201,168,76,.5); border-radius: 50%;
    pointer-events: none; transform: translate(-50%,-50%);
    transition: width .3s, height .3s;
  }
}

/* ============================================================
   PARTICLE CANVAS
   ============================================================ */
#particle-canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2;
  opacity: .5;
  transition: opacity .6s ease;
}

/* ============================================================
   SCANLINES
   ============================================================ */
.scanlines {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0,0,0,.025) 2px, rgba(0,0,0,.025) 4px);
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 300; box-shadow: 0 0 8px var(--gold);
  transition: width .2s linear; width: 0%;
}

/* ============================================================
   DESKTOP TOP NAVBAR
   ============================================================ */
#topnav {
  display: none !important;
}
@media (min-width: 768px) {
  #topnav {
    display: flex !important; align-items: center; justify-content: space-between;
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--topnav-h);
    padding: 0 2.5rem;
    z-index: 200;
    background: transparent;
    transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
    border-bottom: 1px solid transparent;
  }
  #topnav.scrolled {
    background: rgba(8,7,6,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(201,168,76,0.1);
  }
  .topnav-logo {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none;
  }
  .logo-emblem {
    width: 28px; height: 28px;
    border: 1px solid rgba(201,168,76,.4);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cinzel', serif; font-size: .7rem; color: var(--gold);
    position: relative; flex-shrink: 0;
  }
  .logo-emblem::before {
    content: ''; position: absolute; inset: 3px;
    border: 1px solid rgba(201,168,76,.12);
  }
  .topnav-logo span {
    font-family: 'Noto Serif Bengali', serif;
    font-size: .85rem; color: var(--cream); letter-spacing: .05em;
  }
  .topnav-links {
    display: flex; gap: 1.8rem;
  }
  .topnav-links a {
    font-family: 'JetBrains Mono', monospace;
    font-size: .52rem; letter-spacing: .18em;
    color: rgba(201,168,76,.55); text-decoration: none;
    text-transform: uppercase;
    transition: color .25s ease;
  }
  .topnav-links a:hover,
  .topnav-links a.active { color: var(--gold); }
}

/* ============================================================
   MOBILE FULLSCREEN MENU
   ============================================================ */
#menu-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 260;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201,168,76,.32);
  background: rgba(8,7,6,.78);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transition: transform .4s ease, opacity .25s ease;
  transform-origin: center;
}
#menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menu-toggle.is-open span:nth-child(2) { opacity: 0; }
#menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity .18s linear, visibility 0s linear .18s;
}
.mobile-menu-bubble {
  position: absolute;
  top: -102vmax;
  left: -102vmax;
  width: 210vmax;
  height: 210vmax;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,168,76,.2), rgba(201,168,76,.05) 28%, rgba(8,7,6,.98) 56%),
    linear-gradient(145deg, #140f09 0%, #080706 72%);
  transform: scale(0);
  transform-origin: 0 0;
  transition: transform .86s cubic-bezier(.2,1,.3,1);
}
#mobile-menu.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .18s linear;
}
#mobile-menu.is-open .mobile-menu-bubble { transform: scale(1); }

.mobile-menu-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 4.5rem 1.5rem 2rem;
}
.mobile-menu-inner a {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.15rem, 6.4vw, 1.9rem);
  color: var(--cream);
  text-decoration: none;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(20px) scale(.98);
  transition: opacity .24s ease, transform .24s ease, color .25s ease;
}
#mobile-menu.is-open .mobile-menu-inner a {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity .36s ease, transform .42s cubic-bezier(.16,1,.3,1), color .25s ease;
}
#mobile-menu.is-open .mobile-menu-inner a:nth-child(1) { transition-delay: .32s; }
#mobile-menu.is-open .mobile-menu-inner a:nth-child(2) { transition-delay: .38s; }
#mobile-menu.is-open .mobile-menu-inner a:nth-child(3) { transition-delay: .44s; }
#mobile-menu.is-open .mobile-menu-inner a:nth-child(4) { transition-delay: .50s; }
#mobile-menu.is-open .mobile-menu-inner a:nth-child(5) { transition-delay: .56s; }
#mobile-menu.is-open .mobile-menu-inner a:nth-child(6) { transition-delay: .62s; }
#mobile-menu.is-open .mobile-menu-inner a:nth-child(7) { transition-delay: .68s; }
#mobile-menu.is-open .mobile-menu-inner a:nth-child(8) { transition-delay: .74s; }
.mobile-menu-inner a:hover { color: var(--gold-light); }

@media (min-width: 768px) {
  #menu-toggle, #mobile-menu { display: none; }
}

/* ============================================================
   STAGE + CHAPTERS (Normal scroll)
   ============================================================ */
#stage {
  position: relative;
  z-index: 1;
}

.chapter {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ch-body: inner content wrapper */
.ch-body {
  width: 100%;
  padding: 5rem 0 7rem;
}

/* ============================================================
   CH0 — INTRO
   ============================================================ */
#ch0 {
  background: radial-gradient(ellipse at 40% 50%, #1C1309 0%, #080706 72%);
  min-height: 100vh;
}

/* Gold duotone left photo */
.ch0-photo-bg {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 48%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.ch0-photo-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(100%) contrast(1.05) brightness(0.48);
  display: block;
}
.ch0-photo-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: #C9A84C;
  mix-blend-mode: color;
  opacity: 0.55;
  z-index: 1;
}
/* Extra dark overlay on top of gold tint */
.ch0-photo-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,7,6,0.12);
  z-index: 2;
}
.ch0-photo-fade {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(to right, transparent 30%, #080706 92%),
    linear-gradient(to bottom, rgba(8,7,6,0.7) 0%, transparent 18%),
    linear-gradient(to top,    rgba(8,7,6,0.7) 0%, transparent 18%);
}
@media (max-width: 767px) {
  .ch0-photo-bg { width: 100%; }
  .ch0-photo-fade {
    background: linear-gradient(to bottom, rgba(8,7,6,0.45) 0%, transparent 25%, #080706 78%);
  }
}

/* Ch0 layout */
.ch0-layout {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.8rem;
  position: relative; z-index: 5;
  padding: 5.5rem 1.5rem 5rem;
  width: 100%; max-width: 900px;
  margin: 0 auto;
  pointer-events: none;
  min-height: 100vh;
  justify-content: center;
}
@media (min-width: 768px) {
  .ch0-layout {
    flex-direction: row; gap: 6vw;
    padding: 0 7vw; height: 100vh;
    align-items: center;
  }
}

.intro-text-side {
  display: flex; flex-direction: column;
  align-items: center; gap: .85rem;
  text-align: center;
  pointer-events: all;
}
@media (min-width: 768px) {
  .intro-text-side { align-items: flex-start; text-align: left; flex: 1; }
}

/* Falling lines */
.intro-lines { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.intro-line {
  position: absolute; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0; animation: lineFall 5s ease-in-out infinite;
}
@keyframes lineFall {
  0% { opacity: 0; transform: translateY(-100%); }
  20% { opacity: .6; }
  80% { opacity: .3; }
  100% { opacity: 0; transform: translateY(200%); }
}

.intro-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(.54rem, 1.8vw, .75rem); letter-spacing: .25em;
  color: var(--gold); text-transform: uppercase; opacity: 0;
}

.intro-name {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.7rem, 6vw, 4.8rem); font-weight: 900;
  color: var(--cream); line-height: 1.15;
  opacity: 0; overflow: hidden;
}
.intro-name .word { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.16,1,.3,1); }

.intro-divider {
  width: 0; height: 1px; align-self: stretch;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transition: width 1.5s ease;
}
@media (min-width: 768px) { .intro-divider { align-self: auto; max-width: 360px; } }

.intro-tagline {
  font-size: clamp(.75rem, 2vw, .95rem);
  color: var(--gold); letter-spacing: .06em; font-weight: 300;
  opacity: 0;
}

.scroll-cta {
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; margin-top: .5rem;
  transition: opacity .8s ease;
}
.scroll-cta-arrow {
  width: 19px; height: 19px;
  border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: rotate(45deg); animation: arrowBounce 2s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%,100% { transform: rotate(45deg) translate(0,0); opacity: 1; }
  50% { transform: rotate(45deg) translate(4px,4px); opacity: .4; }
}

/* ============================================================
   CH1 — VISION
   ============================================================ */
#ch1 { background: var(--deep); }

#ch1 .ch-body {
  display: flex; align-items: center; justify-content: center;
}

.vision-bg {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: clamp(5rem, 22vw, 18rem);
  font-weight: 900; letter-spacing: .15em;
  color: rgba(201,168,76,.03);
  pointer-events: none; user-select: none;
}

.vision-grid {
  display: grid; gap: 3rem;
  padding: 0 1.5rem; width: 100%; max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) {
  .vision-grid { grid-template-columns: 1fr 1fr; padding: 0 5vw; }
}

.ch-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem; letter-spacing: .3em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 1rem;
}

.vision-quote {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem); font-weight: 700;
  color: var(--cream); line-height: 1.6; margin-bottom: 1.5rem;
}
.vision-quote em { color: var(--gold); font-style: normal; }

.vision-body {
  font-size: clamp(.85rem, 1.8vw, 1rem); color: rgba(245,237,216,.55);
  line-height: 1.9; font-weight: 300;
}

.stat-block { display: flex; flex-direction: column; gap: 2rem; }
.stat-item { display: flex; flex-direction: column; gap: .3rem; }
.stat-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: clamp(.75rem, 1.6vw, .88rem);
  color: rgba(245,237,216,.45); font-weight: 300; line-height: 1.5;
}

/* ============================================================
   CH2 — IDENTITY
   ============================================================ */
#ch2 { background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,0.10) 0%, #080706 65%); }

#ch2 .ch-body { display: flex; align-items: stretch; }

.photo-scene {
  display: flex; flex-direction: column; width: 100%;
  max-width: 960px; margin: 0 auto; padding: 0 1.5rem; gap: 2.5rem;
}
@media (min-width: 768px) {
  .photo-scene { flex-direction: row; align-items: center; padding: 0 5vw; gap: 5vw; }
}

.photo-side {
  position: relative; flex-shrink: 0;
  width: min(55vw, 220px); align-self: center;
}
@media (min-width: 768px) { .photo-side { width: min(28vw, 300px); } }

.photo-frame {
  position: relative; z-index: 2; border-radius: 3px;
  overflow: hidden; aspect-ratio: 3/4;
  background: rgba(201,168,76,.04);
  border: 1px solid rgba(201,168,76,.1);
}
.photo-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-placeholder-box {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
}
.photo-placeholder-box svg { opacity: .13; width: 70px; }
.photo-placeholder-box p {
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem; letter-spacing: .2em;
  color: rgba(201,168,76,.3); text-transform: uppercase;
}

.photo-vignette {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to bottom, transparent 55%, rgba(8,7,6,.6) 100%);
  pointer-events: none;
}
.photo-gold-frame {
  position: absolute; inset: -8px; z-index: 1; pointer-events: none;
}
.c-deco {
  position: absolute; width: 14px; height: 14px;
  border-color: rgba(201,168,76,.5); border-style: solid; opacity: .7;
}
.c-deco.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.c-deco.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.c-deco.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.c-deco.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.identity-side { display: flex; flex-direction: column; gap: 1.2rem; }
.id-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem; letter-spacing: .3em; color: var(--muted); text-transform: uppercase;
}
.id-name {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--cream);
}
.id-role {
  font-size: clamp(.78rem, 1.6vw, .9rem); color: var(--gold);
  font-weight: 300; letter-spacing: .04em;
}

.pillars { display: flex; flex-direction: column; gap: 1.2rem; }
.pillar { display: flex; gap: .9rem; align-items: flex-start; }
.pillar-icon { font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }
.pillar-text { display: flex; flex-direction: column; gap: .2rem; }
.pillar-text strong {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(.8rem, 1.6vw, .92rem); color: var(--cream); font-weight: 600;
}
.pillar-text span {
  font-size: clamp(.72rem, 1.4vw, .82rem); color: rgba(245,237,216,.45);
  line-height: 1.7; font-weight: 300;
}

/* ============================================================
   CH3 — EDUCATION
   ============================================================ */
#ch3 { background: radial-gradient(ellipse at 35% 50%, rgba(201,168,76,0.08) 0%, #080706 60%); }

#ch3 .ch-body {
  max-width: 860px; margin: 0 auto; padding: 5rem 1.5rem 7rem;
}
@media (min-width: 768px) { #ch3 .ch-body { padding: 6rem 5vw 7rem; } }

.sec-header { margin-bottom: 2.5rem; }
.sec-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem; letter-spacing: .3em; color: var(--muted); text-transform: uppercase;
  display: block; margin-bottom: .6rem;
}
.sec-heading {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 900; color: var(--cream);
}

.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 1.8rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: .5rem; bottom: .5rem; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,.25), transparent);
}

.tl-item {
  position: relative; padding: 1.2rem 0 1.2rem 1.2rem;
  border-bottom: 1px solid rgba(201,168,76,.06);
}
.tl-item:last-child { border-bottom: none; }

.tl-dot {
  position: absolute; left: -1.8rem; top: 1.6rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-dark); border: 1px solid var(--gold);
  box-shadow: 0 0 8px rgba(201,168,76,.3);
}

.tl-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: .5rem; letter-spacing: .25em; color: var(--muted);
  text-transform: uppercase; margin-bottom: .3rem;
}
.tl-title {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(.9rem, 2vw, 1.1rem); font-weight: 700; color: var(--cream);
  margin-bottom: .3rem;
}
.tl-sub {
  font-size: clamp(.75rem, 1.5vw, .85rem); color: rgba(245,237,216,.45);
  line-height: 1.7; font-weight: 300; margin-bottom: .5rem;
}
.badge {
  display: inline-block;
  padding: .15rem .6rem;
  border: 1px solid rgba(201,168,76,.3);
  font-family: 'JetBrains Mono', monospace;
  font-size: .48rem; letter-spacing: .18em;
  color: var(--gold); text-transform: uppercase; border-radius: 2px;
}

/* ============================================================
   CH4 — INTERNATIONAL
   ============================================================ */
#ch4 {
  background: radial-gradient(ellipse at 30% 50%, #1A1208, #080706 60%);
  padding-top: 4rem;
}

#ch4 .ch-body { padding: 5rem 1.5rem 7rem; max-width: 960px; margin: 0 auto; }
@media (min-width: 768px) { #ch4 .ch-body { padding: 5rem 5vw 7rem; } }

.intl-layout {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 768px) { .intl-layout { grid-template-columns: 1fr 1fr; } }

.intl-body {
  font-size: clamp(.8rem, 1.6vw, .92rem); color: rgba(245,237,216,.45);
  line-height: 1.8; font-weight: 300; margin: 1rem 0 1.5rem;
}

.uni-list { display: flex; flex-direction: column; gap: .9rem; }
.uni-item {
  display: flex; align-items: center; gap: .9rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(201,168,76,.1);
  border-radius: 3px;
  background: rgba(201,168,76,.03);
  transition: border-color .3s;
}
.uni-item:hover { border-color: rgba(201,168,76,.3); }
.uni-flag { font-size: 1.5rem; }
.uni-info { display: flex; flex-direction: column; gap: .15rem; }
.uni-info strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; color: var(--cream); letter-spacing: .06em;
}
.uni-info span {
  font-family: 'JetBrains Mono', monospace;
  font-size: .54rem; color: var(--muted); letter-spacing: .12em;
}

.globe-wrap {
  display: flex; align-items: center; justify-content: center;
}
#globe-canvas { width: 100%; max-width: 340px; height: auto; }

/* ============================================================
   CH5 — CAREER
   ============================================================ */
#ch5 { background: var(--charcoal); }

#ch5 .ch-body { max-width: 960px; margin: 0 auto; padding: 5rem 1.5rem 7rem; }
@media (min-width: 768px) { #ch5 .ch-body { padding: 5rem 5vw 7rem; } }

.career-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 600px) { .career-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .career-grid { grid-template-columns: 1fr 1fr 1fr; } }

.c-card {
  position: relative; padding: 1.5rem;
  background: rgba(201,168,76,.03);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: 4px; display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .3s, background .3s;
}
.c-card:hover { border-color: rgba(201,168,76,.28); background: rgba(201,168,76,.05); }

.c-num {
  position: absolute; top: .8rem; right: 1rem;
  font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 900;
  color: rgba(201,168,76,.06);
}
.c-icon { font-size: 1.4rem; }
.c-title {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(.82rem, 1.6vw, .95rem); font-weight: 700; color: var(--cream);
  line-height: 1.5;
}
.c-body {
  font-size: clamp(.72rem, 1.3vw, .8rem); color: rgba(245,237,216,.4);
  line-height: 1.7; font-weight: 300; flex: 1;
}
.c-tag {
  display: inline-block; align-self: flex-start;
  padding: .12rem .55rem;
  border: 1px solid rgba(201,168,76,.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: .46rem; letter-spacing: .16em; color: var(--gold);
  text-transform: uppercase; border-radius: 2px;
}

/* ============================================================
   CH6 — POLITICAL GALLERY
   ============================================================ */
#ch6 { background: radial-gradient(ellipse at 55% 35%, rgba(201,168,76,0.08), #080706 68%); }

#ch6 .ch-body { max-width: 1100px; margin: 0 auto; padding: 5rem 1.5rem 7rem; }
@media (min-width: 768px) { #ch6 .ch-body { padding: 5rem 5vw 7rem; } }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 620px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: 1fr 1fr 1fr; } }

.gallery-card {
  margin: 0;
  border: 1px solid rgba(201,168,76,.14);
  background: rgba(201,168,76,.03);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,.4);
  box-shadow: 0 16px 34px rgba(0,0,0,.33);
}
.gallery-card img {
  width: 100%;
  height: clamp(180px, 28vw, 240px);
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.04);
}
.gallery-card figcaption {
  padding: .8rem .9rem .95rem;
  font-size: .7rem;
  line-height: 1.6;
  color: rgba(245,237,216,.68);
  letter-spacing: .05em;
}

/* ============================================================
   CH7 — VOTE CTA
   ============================================================ */
#ch7 { background: var(--black); }

#ch7 .ch-body {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; position: relative;
  padding: 4rem 1.5rem 3rem;
}
@media (min-width: 768px) { #ch7 .ch-body { padding: 4rem 5vw; } }

.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(201,168,76,.08), transparent 70%);
  pointer-events: none;
}
.cta-year {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: clamp(6rem, 28vw, 22rem);
  font-weight: 900; color: rgba(201,168,76,.03);
  pointer-events: none; user-select: none;
}
.cta-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.2rem; text-align: center; max-width: 600px;
}
.cta-small {
  font-family: 'JetBrains Mono', monospace;
  font-size: .54rem; letter-spacing: .25em; color: var(--muted); text-transform: uppercase;
}
.cta-main {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.8rem, 5vw, 3.8rem); font-weight: 900; color: var(--cream);
  line-height: 1.3;
}
.cta-main .gold { color: var(--gold); }
.cta-tagline {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(.85rem, 2vw, 1.05rem); color: rgba(245,237,216,.5);
  font-weight: 300;
}
.cta-btn {
  margin-top: .5rem;
  padding: .9rem 2.2rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(.82rem, 1.8vw, 1rem);
  cursor: pointer; border-radius: 2px;
  transition: background .3s, color .3s;
  letter-spacing: .04em;
}
.cta-btn:hover { background: var(--gold); color: var(--black); }
.cta-party {
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase;
}

/* ============================================================
   ANIMATE-IN (triggered by IntersectionObserver)
   ============================================================ */
.will-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
.will-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   GLITCH
   ============================================================ */
@keyframes glitch {
  0%,100% { clip-path: inset(0); transform: none; }
  10% { clip-path: inset(10% 0 80% 0); transform: translate(-3px,0); }
  20% { clip-path: inset(60% 0 20% 0); transform: translate(3px,0); }
  30% { clip-path: inset(30% 0 50% 0); transform: translate(-2px,0); }
  40% { clip-path: inset(80% 0 5% 0); transform: translate(2px,0); }
  50% { clip-path: inset(0); transform: none; }
}

/* ============================================================
   OVERRIDES — DESKTOP FLOW + CH0 FIX + CONTACT SECTION
   ============================================================ */
@media (min-width: 768px) {
  .chapter:not(#ch0) {
    min-height: auto;
    align-items: flex-start;
    justify-content: stretch;
  }
  .chapter:not(#ch0) .ch-body {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #ch7 .ch-body {
    min-height: auto;
  }

  #ch0 {
    background: radial-gradient(ellipse at 64% 52%, #1A1208 0%, #080706 72%);
  }
  #ch0 .ch0-photo-bg {
    width: 44%;
  }
  #ch0 .ch0-photo-img {
    object-position: center 12%;
    filter: grayscale(100%) contrast(1.08) brightness(0.24);
  }
  #ch0 .ch0-photo-fade {
    background:
      linear-gradient(to right, transparent 30%, rgba(8,7,6,.88) 82%, #080706 96%),
      linear-gradient(to left, rgba(8,7,6,.22), transparent 18%);
  }
  #ch0 .ch0-layout {
    max-width: 1120px;
    padding: 0 5vw;
    justify-content: flex-end;
  }
  #ch0 .intro-text-side {
    max-width: 640px;
    align-items: flex-start;
    text-align: left;
  }
  #ch0 .intro-name {
    font-size: clamp(2.2rem, 4.2vw, 4.3rem);
  }
}

#mobile-menu.is-open .mobile-menu-inner a:nth-child(9) {
  transition-delay: .80s;
}

#ch8 {
  background: radial-gradient(ellipse at 58% 42%, rgba(201,168,76,.08), #080706 70%);
}
#ch8 .ch-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 1.5rem 7rem;
}
@media (min-width: 768px) {
  #ch8 .ch-body {
    padding: 20px 5vw;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .95rem;
}
@media (min-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.contact-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(201,168,76,.16);
  border-radius: 4px;
  background: rgba(201,168,76,.03);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,.4);
  background: rgba(201,168,76,.06);
}
.contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .56rem;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}
.contact-value {
  font-size: .82rem;
  color: var(--cream);
  line-height: 1.6;
  word-break: break-word;
}

/* ============================================================
   FINAL DESKTOP FIX
   ============================================================ */
@media (min-width: 768px) {
  /* Make CH0 clean and readable on desktop */
  #ch0 {
    background: #080706;
  }
  #ch0 .ch0-photo-bg {
    width: 100%;
  }
  #ch0 .ch0-photo-img {
    object-position: center 18%;
    filter: grayscale(100%) contrast(1.04) brightness(0.28);
  }
  #ch0 .ch0-photo-fade {
    background:
      linear-gradient(to right, rgba(8,7,6,.78) 0%, rgba(8,7,6,.62) 36%, rgba(8,7,6,.86) 100%),
      linear-gradient(to top, rgba(8,7,6,.56) 0%, transparent 22%),
      linear-gradient(to bottom, rgba(8,7,6,.42) 0%, transparent 22%);
  }
  #ch0 .ch0-layout {
    max-width: 1200px;
    padding: 0 6vw;
    justify-content: flex-start;
  }
  #ch0 .intro-text-side {
    max-width: 650px;
    align-items: flex-start;
    text-align: left;
  }
  #ch0 .intro-name {
    font-size: clamp(2.2rem, 4vw, 4.1rem);
  }

  /* CH1+ should be content height with fixed 20px vertical padding */
  #ch1, #ch2, #ch3, #ch4, #ch5, #ch6, #ch7, #ch8 {
    min-height: auto;
    align-items: flex-start;
    justify-content: stretch;
  }
  #ch1 .ch-body,
  #ch2 .ch-body,
  #ch3 .ch-body,
  #ch4 .ch-body,
  #ch5 .ch-body,
  #ch6 .ch-body,
  #ch7 .ch-body,
  #ch8 .ch-body {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  #ch7 .ch-body {
    min-height: auto !important;
  }
}

/* ============================================================
   FINAL SPACING REQUEST (DESKTOP ONLY)
   ============================================================ */
@media (min-width: 768px) {
  #stage > .chapter {
    padding-top: 50px !important;
  }

  #stage > .chapter:last-of-type {
    padding-bottom: 50px !important;
  }
}
