/* ============================================================
   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;
  --bottomnav-h: 3.8rem;
}

*, *::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;
}
@media (min-width: 768px) {
  #topnav {
    display: flex; 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 BOTTOM NAVBAR
   ============================================================ */
#bottomnav {
  display: flex;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bottomnav-h);
  background: rgba(8,7,6,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201,168,76,0.12);
  justify-content: space-around; align-items: center;
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 768px) {
  #bottomnav { display: none; }
}
.bnav-item {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  text-decoration: none; flex: 1;
  padding: .4rem 0;
}
.bnav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(201,168,76,.25);
  transition: background .25s, transform .25s;
}
.bnav-label {
  font-family: 'Noto Serif Bengali', serif;
  font-size: .5rem; color: rgba(201,168,76,.4);
  transition: color .25s;
}
.bnav-item.active .bnav-dot {
  background: var(--gold); transform: scale(1.5);
}
.bnav-item.active .bnav-label { color: var(--gold); }

/* ============================================================
   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;
}
/* Mobile: extra bottom for bottomnav */
@media (max-width: 767px) {
  .ch-body { padding-bottom: calc(var(--bottomnav-h) + 2rem); }
}

/* ============================================================
   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.1) brightness(0.22);
  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.38);
  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 — VOTE CTA
   ============================================================ */
#ch6 { background: var(--black); }

#ch6 .ch-body {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; position: relative;
  padding: 4rem 1.5rem calc(var(--bottomnav-h) + 3rem);
}
@media (min-width: 768px) { #ch6 .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; }
}
