/* Anjali Laddha: a living night-service metro map in the logo's colours. */

@font-face { font-family: "Overpass"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/overpass-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/overpass-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 100 900; src: local("Helvetica Neue"), local("Arial"); unicode-range: U+00B7; }
@font-face { font-family: "Doto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/doto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Doto"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/doto-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-600-normal.woff2") format("woff2"); unicode-range: U+0980-09FE, U+200C-200D, U+25CC; }

:root {
  --navy: #0e1729;
  --navy-2: #121d33;
  --navy-3: #1b2a47;
  --night: #05080f;
  --paper: #fdf3eb;
  --ink: #0e1729;
  --ink-muted: #4a4f63;
  --on: #fdf3eb;
  --on-muted: #b8bccb;
  --hair: rgba(253, 243, 235, 0.13);
  --hair-ink: rgba(14, 23, 41, 0.16);
  --sun: #f6eb8a;
  --mint: #a9ddd3;
  --coral: #f7a08f;
  --mauve: #dba4cc;
  --font: "Overpass", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --led: "Doto", "Overpass", monospace;
  --bn: "Noto Sans Bengali", "Overpass", sans-serif;
  --max: 1240px;
  --gutter: clamp(18px, 4.6vw, 56px);
  --rail: 8px;
  --section: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 20px;
  --line: var(--sun);
}
[data-line="sun"] { --line: var(--sun); }
[data-line="mint"] { --line: var(--mint); }
[data-line="coral"] { --line: var(--coral); }
[data-line="mauve"] { --line: var(--mauve); }
[data-line="paper"] { --line: var(--paper); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--navy); scrollbar-color: var(--navy-3) var(--night); }
html:not(.js), html.reduced { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--on); font: 400 17px/1.6 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sec-paper :focus-visible { outline-color: var(--ink); }
.bn { font-family: var(--bn); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
a:hover .ic { transform: translate(2px, -2px); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Pills ---------- */
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 3px 28px 0; border-radius: 999px; overflow: hidden; isolation: isolate;
  font: 750 15px/1 var(--font); letter-spacing: 0.01em; border: 1.5px solid transparent; color: var(--ink);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill-sun { background: var(--sun); --glow: var(--sun); }
.pill-mint { background: var(--mint); --glow: var(--mint); }
.pill-coral { background: var(--coral); --glow: var(--coral); }
.pill-mauve { background: var(--mauve); --glow: var(--mauve); }
.pill-paper { background: var(--paper); --glow: var(--paper); min-height: 42px; padding-inline: 18px; font-size: 14px; }
.pill-ghost { border-color: rgba(253, 243, 235, 0.5); color: var(--on); }
.pill-ghost:hover { border-color: var(--on); background: rgba(253, 243, 235, 0.08); }
.pill:not(.pill-ghost):hover { box-shadow: 0 10px 24px -14px var(--glow); }
.go { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.inline { font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color 0.2s; }
.inline:hover, .go:hover { text-decoration-color: currentColor; }

/* ---------- Top bar ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: var(--gutter);
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(14, 23, 41, 0.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--hair); }
.top.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; padding-top: 2px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.top-right { display: flex; align-items: center; gap: 18px; }
.clock { display: flex; align-items: center; gap: 8px; font: 900 15px/1 var(--led); letter-spacing: 0.06em; color: var(--sun); }
.clock span:not(.clock-dot) { color: var(--on-muted); font-size: 13px; }
.clock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--hair); background: var(--navy-2); cursor: pointer; }
.menu-btn span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--on); border-radius: 2px; transition: transform 0.4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--navy); padding: 108px var(--gutter) 40px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-line { position: relative; padding-left: 44px; }
.menu-line::before { content: ""; position: absolute; left: 11px; top: 18px; bottom: 18px; width: var(--rail); border-radius: 99px; background: linear-gradient(var(--sun), var(--mint), var(--coral), var(--mauve)); }
.menu-line a { position: relative; display: block; padding: 9px 0; font-size: clamp(28px, 8vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.menu-line i { position: absolute; left: -44px; top: 50%; margin-top: -15px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); border: 5px solid var(--line); }

/* ---------- Fixed route rail ---------- */
.rail { position: fixed; z-index: 50; left: 26px; top: 50%; transform: translateY(-50%); height: min(68vh, 560px); display: none; }
.rail-track { position: absolute; left: 11px; top: 0; bottom: 0; width: 6px; border-radius: 99px; background: rgba(253, 243, 235, 0.12); overflow: visible; }
.rail-fill { position: absolute; inset: 0 0 auto; height: 0; border-radius: 99px; background: var(--rail-c, var(--sun)); transition: background 0.6s; }
.rail-train { position: absolute; left: 50%; top: 0; width: 12px; height: 30px; margin: -15px 0 0 -6px; border-radius: 99px; background: var(--on); box-shadow: 0 0 0 3px var(--navy), 0 0 22px 4px var(--rail-c, var(--sun)); }
.rail-stops { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.rail-stops a { position: relative; display: flex; align-items: center; height: 28px; }
.rail-stops i { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 4px solid rgba(253, 243, 235, 0.3); transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease); }
.rail-stops a.is-past i { border-color: var(--line); }
.rail-stops a.is-here i { background: var(--line); border-color: var(--line); transform: scale(1.15); box-shadow: 0 0 0 4px var(--navy), 0 0 20px 6px color-mix(in srgb, var(--line) 45%, transparent); }
.rail-stops span { position: absolute; left: 42px; white-space: nowrap; padding: 6px 12px 4px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 750; opacity: 0; transform: translateX(-8px); pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
.rail-stops a:hover span, .rail-stops a:focus-visible span, .rail-stops a.is-here span.flash { opacity: 1; transform: none; }
@media (min-width: 1360px) { .rail { display: block; } }
.progress { position: fixed; z-index: 61; left: 0; right: 0; top: 0; height: 4px; }
.progress-fill { height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--sun), var(--mint), var(--coral), var(--mauve)); }
@media (min-width: 1360px) { .progress { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 108px 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(14, 23, 41, 0.82) 0%, rgba(14, 23, 41, 0.55) 45%, rgba(14, 23, 41, 0) 75%), radial-gradient(55% 55% at 80% 25%, rgba(247, 160, 143, 0.24), transparent 70%), radial-gradient(45% 50% at 55% 95%, rgba(246, 235, 138, 0.12), transparent 70%), radial-gradient(50% 50% at 8% 85%, rgba(169, 221, 211, 0.18), transparent 70%), linear-gradient(180deg, rgba(14, 23, 41, 0) 60%, var(--navy) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-title { font-size: clamp(64px, 11.5vw, 172px); line-height: 0.84; letter-spacing: -0.05em; font-weight: 900; }
.ht-line { display: block; }
.ht-2 { padding-left: 0.42em; color: var(--sun); }
.board { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; perspective: 600px; }
.plate { position: relative; display: inline-flex; align-items: baseline; gap: 16px; padding: 10px 20px 16px; border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 4px var(--ink), 0 18px 40px -18px rgba(0, 0, 0, 0.6); transform-origin: top center; }
.plate-now { font: 900 clamp(13px, 1.2vw, 15px)/1 var(--led); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.plate-en { font-size: clamp(20px, 2vw, 26px); font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; }
.plate-lines { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 6px; display: flex; }
.plate-lines i { flex: 1; background: var(--line); }
.board-change { font-size: 14px; font-weight: 600; color: var(--on-muted); }
.hero-tagline { margin-top: 24px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 750; letter-spacing: -0.02em; }
/* Box is trimmed to the letters (cap height to baseline), then padded so the ink sits dead centre in every browser. */
.hl { position: relative; display: inline-block; color: var(--ink); padding: 0.1em 0.16em 0.12em; white-space: nowrap; z-index: 0; }
@supports (text-box: trim-both cap alphabetic) { .hl { text-box: trim-both cap alphabetic; padding: 0.14em 0.16em 0.33em; } }
.hl::before { content: ""; position: absolute; inset: 0; background: var(--sun); z-index: -1; border-radius: 6px; transform-origin: left; transform: scaleX(var(--hl, 1)); }
.hero-intro { margin-top: 16px; max-width: 34em; font-size: 18px; color: var(--on-muted); }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.window { position: relative; }
.window-frame { position: relative; border-radius: 120px 120px 22px 22px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 62vh; margin-left: auto; box-shadow: 0 0 0 6px var(--navy-2), 0 0 0 8px rgba(253, 243, 235, 0.18), 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.window-frame img { width: 100%; height: 115%; object-fit: cover; object-position: center 22%; }
.window figcaption { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--on-muted); }
.led { font: 900 13px/1 var(--led); color: var(--night); background: var(--sun); padding: 4px 7px 3px; border-radius: 4px; letter-spacing: 0.08em; }

/* Network strips */
.network { position: relative; margin-top: clamp(28px, 4vw, 52px); }
.network-title { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; margin-bottom: 10px; }
.network ul { border-top: 1px solid var(--hair); }
.strip { display: grid; grid-template-columns: 150px minmax(0, 1fr) 240px; align-items: center; gap: 22px; padding: 10px 14px; margin-inline: -14px; border-bottom: 1px solid var(--hair); border-radius: 14px; transition: background 0.35s; }
.strip:hover, .strip:focus-visible { background: rgba(27, 42, 71, 0.7); }
.strip-who { font-size: 13px; font-weight: 650; color: var(--on-muted); }
.strip-run { position: relative; display: flex; align-items: flex-start; }
.strip-track { position: relative; flex: 1; display: flex; justify-content: space-around; height: 42px; }
.strip-bar { position: absolute; left: 0; right: 0; top: 6px; height: var(--rail); border-radius: 99px 0 0 99px; background: var(--line); transform-origin: left; }
.strip-train { display: none; }
.stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; color: var(--on-muted); white-space: nowrap; }
.stop i { width: 20px; height: 20px; border-radius: 50%; background: var(--navy); border: 4px solid var(--line); transition: background 0.3s; }
.strip:hover .stop i { background: var(--line); }
.strip-term { flex: none; width: 30px; height: 30px; margin-top: -5px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 5px var(--navy), 0 0 0 7px var(--line); transition: box-shadow 0.4s; }

.strip-end { display: grid; gap: 2px; }
.strip-end strong { font-size: 22px; font-weight: 850; letter-spacing: -0.015em; line-height: 1.1; padding-top: 3px; }
.strip-end span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--line); }

/* ---------- LED ticker ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--sun); padding: 16px 0 12px; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--sun), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--sun), transparent); }
.ticker-track { display: flex; width: max-content; gap: 28px; align-items: center; font: 900 clamp(22px, 2.6vw, 34px)/1 var(--led); letter-spacing: 0.06em; color: var(--ink); animation: tick 60s linear infinite; white-space: nowrap; }
.ticker-track b { color: var(--coral); font-weight: 900; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: var(--section); background: var(--navy); }
.sec-alt { background: var(--navy-2); }
.sec-night { background: var(--night); }
.sec-paper { background: var(--paper); color: var(--ink); }
.sec-head { position: relative; max-width: 900px; }
.h-xl { font-size: clamp(48px, 7.4vw, 112px); line-height: 0.9; letter-spacing: -0.045em; font-weight: 900; }
.h-fit { font-size: clamp(40px, 5.1vw, 76px); }
.split-line { overflow: hidden; }
.h-mega { font-size: clamp(56px, 11vw, 168px); line-height: 0.86; letter-spacing: -0.05em; font-weight: 900; }
.line-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--line); color: var(--ink); font-weight: 900; font-size: 20px; padding-top: 3px; box-shadow: 0 0 0 5px var(--navy), 0 0 0 8px var(--line); }
.sec-alt .line-badge { box-shadow: 0 0 0 5px var(--navy-2), 0 0 0 8px var(--line); }
.sec-night .line-badge { box-shadow: 0 0 0 5px var(--night), 0 0 0 8px var(--line); }
.sub { margin-top: 20px; max-width: 26em; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; font-weight: 750; color: var(--line); letter-spacing: -0.015em; }
.sec-paper .sub { color: var(--ink); }
.lede { margin-top: 18px; max-width: 58ch; font-size: 18px; color: var(--on-muted); }
.split-line { overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.answer { margin-top: 30px; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.4; font-weight: 550; letter-spacing: -0.012em; }
.about-more { margin-top: 20px; max-width: 62ch; color: var(--ink-muted); }
.about-more strong { color: var(--ink); }
.ticket { position: relative; background: #fffaf3; border-radius: 18px; padding: 22px 24px 18px; box-shadow: 0 30px 60px -30px rgba(14, 23, 41, 0.5), 0 0 0 1px var(--hair-ink); transform-style: preserve-3d; will-change: transform; }
.ticket::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--sun) 0 25%, var(--mint) 25% 50%, var(--coral) 50% 75%, var(--mauve) 75%); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 12px; border-bottom: 2px dashed var(--hair-ink); }
.led-ink { font: 900 18px/1 var(--led); letter-spacing: 0.08em; }
.ticket-no { font: 700 13px/1 var(--led); color: var(--ink-muted); letter-spacing: 0.08em; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--hair-ink); }
.facts dt { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.facts dd { font-weight: 650; line-height: 1.4; }
.facts a { text-decoration: underline; text-decoration-color: var(--hair-ink); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.facts a:hover { text-decoration-color: var(--ink); }
.ticket-perf { position: relative; height: 22px; margin: 6px -24px 0; background: radial-gradient(circle at 0 50%, var(--paper) 11px, transparent 12px), radial-gradient(circle at 100% 50%, var(--paper) 11px, transparent 12px); }
.ticket-perf::after { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed var(--hair-ink); }
.ticket-foot { padding-top: 6px; font: 700 13px/1.3 var(--led); letter-spacing: 0.06em; color: var(--ink-muted); }
.practice { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.practice-line { display: block; height: var(--rail); border-radius: 99px; background: var(--line); margin-bottom: 22px; position: relative; }
.practice-line::after { content: ""; position: absolute; right: -2px; top: -9px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 5px solid var(--line); box-sizing: border-box; }
.practice-line[data-line="sun"] { --line: #d9c63a; }
.practice h3 { font-size: 24px; letter-spacing: -0.015em; }
.practice p { margin-top: 10px; color: var(--ink-muted); }
.practice .proof { margin-top: 14px; font-size: 13px; font-weight: 750; color: var(--ink); }

/* Thesis */
.thesis { position: relative; background: var(--sun); color: var(--ink); }
.thesis-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 96px; }
.thesis-line { font-size: clamp(52px, 10.5vw, 168px); line-height: 0.88; font-weight: 900; letter-spacing: -0.05em; }
.thesis .w { display: inline-block; }
.w-key { position: relative; font-style: italic; }
.scribble { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--coral); stroke-width: 9; stroke-linecap: round; }
.thesis-sub { margin-top: 36px; font: 900 clamp(22px, 2.6vw, 34px)/1 var(--led); letter-spacing: 0.06em; }

/* AI OS process */
.proof-line { margin-top: 30px; max-width: 46em; font-size: clamp(20px, 2vw, 25px); line-height: 1.45; color: var(--on-muted); }
.proof-line strong { color: var(--sun); font-weight: 850; }
.process { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.process-track { position: absolute; left: 0; right: 0; top: 11px; height: var(--rail); border-radius: 99px; background: rgba(253, 243, 235, 0.12); }
.process-fill { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transform-origin: left; }
.process-train { position: absolute; top: -3px; left: 0; width: 44px; height: 14px; margin-left: -22px; border-radius: 99px; background: var(--on); box-shadow: 0 0 18px 4px var(--line); }
.process ol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.process li { padding-top: 54px; position: relative; }
.process li i { position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); border: 5px solid var(--line); transition: background 0.4s, box-shadow 0.4s; }
.process li.is-lit i { background: var(--line); box-shadow: 0 0 0 4px var(--navy), 0 0 24px 6px color-mix(in srgb, var(--line) 50%, transparent); }
.process h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; }
.process p { margin-top: 10px; color: var(--on-muted); }
.duo { margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.big-quote { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; font-weight: 850; letter-spacing: -0.03em; }
.duo-copy > p + p { margin-top: 22px; max-width: 50ch; color: var(--on-muted); }
.duo-copy .pill { margin-top: 32px; }
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; scale: 1.12; }
.photo-tall { aspect-ratio: 4 / 5; }

/* Degree2Destiny */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.can { margin-block: 44px 40px; display: grid; gap: 26px; }
.can li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; }
.can-letter { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 5px solid var(--line); color: var(--line); font-size: 28px; font-weight: 900; padding-top: 4px; transition: background 0.3s, color 0.3s; }
.can li:hover .can-letter { background: var(--line); color: var(--ink); }
.can h3 { font-size: 24px; }
.can p { color: var(--on-muted); }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.collage .photo { aspect-ratio: 4 / 5; }
.collage .photo img { object-position: center 20%; }
.collage .photo + .photo { margin-top: 96px; }

/* CANnected */
.book { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.book .pill { margin-top: 34px; }
.book-stage { position: relative; display: grid; place-items: center; perspective: 1000px; padding: 40px; }
.book-halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(247, 160, 143, 0.35), transparent 65%); filter: blur(20px); }
.book-img { position: relative; width: min(360px, 100%); border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); transform-style: preserve-3d; will-change: transform; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }

/* Speaking */
.speak-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.speak-intro .photo { aspect-ratio: 4 / 3; }
.talks { margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--hair); }
.talk { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) 60px; gap: 24px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--hair); overflow: hidden; }
.talk::before { content: ""; position: absolute; inset: 0; background: var(--line); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); z-index: 0; }
.talk > * { position: relative; z-index: 1; transition: color 0.4s; }
.talk:hover::before { transform: none; }
.talk:hover > *, .talk:hover .talk-body p, .talk:hover .talk-for strong { color: var(--ink); }
.talk-no { font: 900 44px/1 var(--led); color: var(--line); padding-top: 4px; }
.talk h3 { font-size: clamp(26px, 3vw, 42px); letter-spacing: -0.025em; line-height: 1.05; }
.talk-body p { margin-top: 12px; max-width: 62ch; color: var(--on-muted); }
.talk-for { font-size: 14px; }
.talk-for strong { color: var(--line); margin-right: 6px; }
.talk-go { width: 44px; height: 44px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--line); background: var(--navy-2); position: relative; transition: transform 0.5s var(--ease); }
.talk-go::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--line); }
.talk:hover .talk-go { transform: scale(1.15); }
.speak-grid { margin-top: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 96px); }
.minor { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 20px; }
.formats div { padding: 16px 0; border-top: 1px solid var(--hair); }
.formats dt { font-weight: 800; font-size: 19px; }
.formats dd { margin-top: 4px; color: var(--on-muted); }
.rooms { position: relative; padding-left: 36px; }
.rooms::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 6px; border-radius: 99px; background: var(--line); transform-origin: top; }
.rooms li { position: relative; padding-block: 9px; font-weight: 650; }
.rooms li::before { content: ""; position: absolute; left: -36px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-2); border: 4px solid var(--line); transition: background 0.3s; }
.rooms li.is-lit::before { background: var(--line); }
.kit { margin-top: clamp(72px, 9vw, 120px); background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 52px); }
.kit-title { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; }
.bios { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; }
.bio { background: #fffaf3; border: 1px solid var(--hair-ink); border-radius: 16px; padding: 24px; }
.bio-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.bio h4 { font-size: 19px; }
.bio p { color: var(--ink-muted); font-size: 16px; }
.copy { min-height: 38px; padding: 3px 16px 0; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 750; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.copy:hover, .copy.is-done { background: var(--ink); color: var(--paper); }
.kit-sub { margin-top: 36px; font-size: 19px; }
.kit-photos { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kit-photos a { display: block; }
.kit-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; transition: transform 0.5s var(--ease), border-radius 0.5s var(--ease); }
.kit-photos a:hover img { transform: scale(0.96) rotate(-1.5deg); border-radius: 22px; }
.kit-photos span { display: block; margin-top: 8px; font-size: 13px; font-weight: 750; }

/* Departures board */
.dboard { margin-top: 52px; background: #000; border: 8px solid #141c2c; box-shadow: 0 0 0 1px #26324b, 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.dboard-top { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 2px solid #141c2c; }
.dot-led { font: 900 clamp(22px, 2.6vw, 34px)/1 var(--led); color: var(--sun); letter-spacing: 0.08em; text-shadow: 0 0 14px rgba(246, 235, 138, 0.5); }
.dboard-cols, .deps a { display: grid; grid-template-columns: 96px 130px minmax(0, 0.9fr) minmax(0, 1.5fr) 70px; gap: 20px; align-items: baseline; }
.dboard-cols { padding: 12px 22px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246, 235, 138, 0.55); }
.deps li { border-top: 2px solid #141c2c; }
.deps a { position: relative; padding: 18px 22px; overflow: hidden; }
.deps a::before { content: ""; position: absolute; inset: 0; background: var(--sun); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.deps a > * { position: relative; transition: color 0.3s; }
.deps a:hover::before, .deps a:focus-visible::before { transform: none; }
.deps a:hover > *, .deps a:focus-visible > * { color: var(--ink) !important; text-shadow: none !important; }
.d-when { font: 900 24px/1 var(--led); color: var(--sun); text-shadow: 0 0 10px rgba(246, 235, 138, 0.5); }
.d-kind { font: 900 16px/1 var(--led); color: var(--coral); letter-spacing: 0.06em; text-transform: uppercase; text-shadow: 0 0 10px rgba(247, 160, 143, 0.45); }
.d-title { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.d-detail { font-size: 15px; color: var(--on-muted); }
.d-go { display: inline-flex; align-items: center; gap: 6px; justify-self: end; font-weight: 750; font-size: 14px; color: var(--sun); }

/* Journey */
.journey { position: relative; background: var(--navy); overflow: hidden; }
.journey-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(96px, 11vh, 120px) 0 clamp(32px, 5vh, 56px); }
.journey-head { margin-bottom: clamp(24px, 4vh, 44px); }
.journey-head .line-badge { margin-bottom: 14px; }
.journey-viewport { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.journey-viewport::-webkit-scrollbar { display: none; }
.journey-track { position: relative; display: flex; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.journey-track::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: var(--rail); background: var(--mint); }
.jstop { position: relative; width: clamp(260px, 25vw, 360px); padding: 60px 32px 0 0; scroll-snap-align: start; }
.jstop::before { content: ""; position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); border: 5px solid var(--mint); transition: background 0.4s, box-shadow 0.4s; }
.jstop.is-lit::before { background: var(--mint); box-shadow: 0 0 0 4px var(--navy), 0 0 24px 6px rgba(169, 221, 211, 0.5); }
.j-year { padding-top: 6px; font-size: clamp(48px, 5vw, 76px); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; }
.j-place { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--mint); display: flex; flex-wrap: wrap; gap: 0 8px; }
.jstop figure { margin-top: 14px; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; max-height: 30vh; width: 100%; }
.jstop img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 0.8s var(--ease); }
.jstop:hover img { transform: scale(1.05); }
.jstop h3 { margin-top: 14px; font-size: 22px; letter-spacing: -0.015em; }
.jstop > p:last-child { margin-top: 8px; color: var(--on-muted); font-size: 16px; }
.jstop-next .next-card { margin-top: 14px; display: grid; place-items: center; aspect-ratio: 4 / 3; max-height: 30vh; border-radius: 16px; border: 2px dashed rgba(169, 221, 211, 0.5); font: 900 28px/1 var(--led); color: var(--mint); letter-spacing: 0.06em; }
.jstop-next .j-year { color: transparent; -webkit-text-stroke: 2px var(--mint); }

/* Voices */
.voices { background: var(--coral); color: var(--ink); padding-block: clamp(88px, 11vw, 160px); overflow: hidden; }
.quotes { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s; }
.quote.is-on { opacity: 1; visibility: visible; }
html:not(.js) .quote { position: static; opacity: 1; visibility: visible; grid-area: auto; margin-bottom: 40px; }
.quote p { font-size: clamp(30px, 4.6vw, 68px); line-height: 1.04; font-weight: 850; letter-spacing: -0.035em; max-width: 20em; }
.quote figcaption { margin-top: 28px; font-size: 16px; }
.quote figcaption strong { display: block; font-size: 19px; }
.quote-dots { margin-top: 36px; display: flex; gap: 10px; }
.quote-dots button { width: 64px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.quote-dots i { display: block; height: 6px; border-radius: 99px; background: rgba(14, 23, 41, 0.25); overflow: hidden; position: relative; }
.quote-dots i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.quote-dots button[aria-selected="true"] i::after { animation: fillbar 6s linear forwards; }
.quotes.is-paused + .quote-dots button[aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-list { border-top: 3px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--hair-ink); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 750; letter-spacing: -0.01em; transition: transform 0.4s var(--ease); }
.faq-list summary:hover h3 { transform: translateX(6px); }
.faq-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; transition: transform 0.4s var(--ease), background-color 0.3s; }
.faq-list details[open] .faq-ic { transform: rotate(135deg); background-color: var(--sun); }
.faq-a { overflow: hidden; }
.faq-a p { padding-bottom: 24px; max-width: 62ch; color: var(--ink-muted); }

/* Terminus */
.terminus { position: relative; padding-block: var(--section); background: var(--navy); overflow: hidden; }
.doors { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--hair); }
.door { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; padding: 26px 0; border-bottom: 1px solid var(--hair); }
.door-run { position: relative; display: flex; align-items: center; height: 60px; }
.door-origin { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 5px solid var(--line); position: relative; z-index: 2; }
.door-bar { flex: 1; height: 10px; margin-inline: -4px; background: var(--line); transform-origin: left; }
.door-term { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 6px var(--navy), 0 0 0 9px var(--line); position: relative; z-index: 2; transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.door-train { position: absolute; left: 20px; top: 50%; width: 48px; height: 16px; margin-top: -8px; border-radius: 99px; background: var(--on); box-shadow: 0 0 20px 5px color-mix(in srgb, var(--line) 70%, transparent); opacity: 0; z-index: 1; }
.door:hover .door-train, .door:focus-visible .door-train { animation: arrive 0.9s var(--ease) forwards; }
@keyframes arrive { 0% { left: 20px; opacity: 0; } 15% { opacity: 1; } 100% { left: calc(100% - 100px); opacity: 1; } }
.door:hover .door-term, .door:focus-visible .door-term { transform: scale(1.08); box-shadow: 0 0 0 6px var(--navy), 0 0 0 9px var(--line), 0 0 40px 12px color-mix(in srgb, var(--line) 45%, transparent); }
.door-end { display: grid; gap: 6px; padding-left: 32px; }
.door-end strong { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.05; font-weight: 850; letter-spacing: -0.025em; }
.door-end span { display: inline-flex; align-items: center; gap: 8px; color: var(--line); font-weight: 700; }
.terminus-note { margin-top: 40px; color: var(--on-muted); }
.terminus-note .inline { color: var(--on); }

/* Footer */
.footer { background: var(--night); padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; }
.footer-logo { width: 88px; height: 88px; border-radius: 50%; }
.footer-line { margin-top: 24px; max-width: 30em; font-size: 21px; font-weight: 650; line-height: 1.35; }
.footer-email { display: inline-block; margin-top: 18px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 850; color: var(--sun); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgba(246, 235, 138, 0.4); overflow-wrap: anywhere; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.footer-links a { padding: 12px 0; font-weight: 650; color: var(--on-muted); border-bottom: 1px solid var(--hair); transition: color 0.2s, translate 0.4s var(--ease); }
.footer-links a:hover { color: var(--on); translate: 8px 0; }
.footer-mega { margin-top: clamp(48px, 7vw, 96px); font-size: clamp(64px, 15.5vw, 250px); line-height: 0.8; font-weight: 900; letter-spacing: -0.06em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(253, 243, 235, 0.22); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 28px; font-size: 13px; color: var(--on-muted); }


/* Doors-open intro (JS only) */
.intro { position: fixed; inset: 0; z-index: 400; display: flex; pointer-events: none; }
.intro-door { flex: 1; background: var(--navy-2); position: relative; }
.intro-door::after { content: ""; position: absolute; top: 18%; bottom: 18%; width: 38%; border-radius: 14px; background: rgba(5, 8, 15, 0.6); box-shadow: inset 0 0 0 3px rgba(253, 243, 235, 0.08); }
.intro-door:first-child::after { right: 14%; }
.intro-door:last-child::after { left: 14%; }
.intro-door:first-child { border-right: 3px solid #000; }
.intro-sign { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; font: 900 clamp(22px, 3vw, 36px)/1 var(--led); color: var(--sun); letter-spacing: 0.08em; white-space: nowrap; text-shadow: 0 0 14px rgba(246, 235, 138, 0.6); background: #000; padding: 14px 20px 10px; border: 4px solid #141c2c; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .clock { display: none; }
  .strip { grid-template-columns: 120px minmax(0, 1fr) 210px; }
  .dboard-cols, .deps a { grid-template-columns: 80px 110px minmax(0, 1fr) minmax(0, 1.2fr) 60px; }
}
@media (max-width: 900px) {
  .top .pill-paper { display: none; }
  .menu-btn { display: block; }
  .hero { padding-top: 96px; }
  .hero-grid, .about, .split, .speak-intro, .duo, .faq, .footer-grid, .book { grid-template-columns: 1fr; }
  .window { max-width: 460px; }
  .window-frame { max-height: none; aspect-ratio: 5 / 4; border-radius: 90px 90px 20px 20px; margin-left: 0; }
  .practice { grid-template-columns: 1fr; }
  .process ol { grid-template-columns: 1fr; gap: 34px; }
  .process-track { top: 0; bottom: 0; left: 11px; right: auto; width: var(--rail); height: auto; }
  .process-fill { transform-origin: top; }
  .process-train { width: 14px; height: 40px; left: -3px !important; top: 0; margin: -20px 0 0; }
  .process li { padding: 0 0 0 54px; }
  .faq-head { position: static; }
  .talk { grid-template-columns: 64px minmax(0, 1fr); }
  .talk-go { display: none; }
  .talk-no { font-size: 32px; }
  .speak-grid, .bios { grid-template-columns: 1fr; }
  .kit-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dboard-cols { display: none; }
  .deps a { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .d-when, .d-kind, .d-title, .d-detail { grid-column: 1; }
  .d-when { display: inline; }
  .d-go { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
  .book-stage { justify-self: start; padding: 20px 0; }
  .book-img { width: min(280px, 100%); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-glow { background: linear-gradient(180deg, rgba(14, 23, 41, 0.35) 0%, rgba(14, 23, 41, 0.78) 30%, rgba(14, 23, 41, 0.78) 70%, var(--navy) 100%); }
  .hero-title { font-size: clamp(64px, 21vw, 110px); }
  .ht-2 { padding-left: 0.3em; }
  .strip { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 14px 12px; }
  .strip-track { height: 38px; justify-content: space-between; padding-inline: 2px 6px; }
  .stop { font-size: 11px; gap: 6px; }
  .stop i { width: 16px; height: 16px; border-width: 3px; }
  .strip-term { width: 26px; height: 26px; margin-top: -3px; }
  .strip-end { justify-self: end; text-align: right; margin-top: -4px; }
  .strip-end span { justify-content: flex-end; }
  .strip-end strong { font-size: 19px; }
  .door { grid-template-columns: 1fr; gap: 14px; }
  .door-term { width: 44px; height: 44px; }
  .door-end { padding-left: 0; text-align: right; justify-items: end; }
  .collage .photo + .photo { margin-top: 48px; }
  .jstop { width: 78vw; }
  .jstop figure, .jstop-next .next-card { aspect-ratio: 4 / 5; max-height: none; }
  .journey-pin { min-height: 0; padding-block: var(--section) 64px; }
  .footer-links { grid-template-columns: 1fr; }
  .ticker-track { animation-duration: 45s; }
}

/* Reduced motion: everything still and fully visible */
html.reduced *, html.reduced *::before, html.reduced *::after { animation: none !important; transition: none !important; }
html.reduced .strip-train, html.reduced .door-train, html.reduced .process-train { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .strip-train, .door-train, .process-train { display: none; }
}
