/* ==========================================================================
   Mrinal Shree — a biopic in flight
   blueprint night · chalk · butterfly-wing yellow & orange · eyespot blue
   ========================================================================== */
:root {
  --night: #081226;
  --night-2: #0d1b38;
  --board: #12261e;
  --chalk: #f4efe4;
  --mute: rgba(244, 239, 228, 0.62);
  --line: rgba(127, 208, 255, 0.12);
  --sun: #ffc531;
  --flame: #ff7a1a;
  --sky: #7fd0ff;
  --lav: #c9b8ff;
  --air-bg: #ddd4fb; --air-fg: #242646; --air-acc: #3157d5;
  --play-bg: #f7d2e1; --play-fg: #2a1d3a; --play-acc: #b0245c;
  --gutter: clamp(16px, 3.4vw, 52px);
  --f-display: "Fraunces", Georgia, serif;
  --f-chalk: "Kalam", "Comic Sans MS", cursive;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-deva: "Tiro Devanagari Hindi", "Kalam", serif;
  --ss-acc: #ffc531; --ss-bg: #0d1b38;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--night); color: var(--chalk); font-family: var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
em { font-style: italic; }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.chalk { font-family: var(--f-chalk); }
.deva { font-family: var(--f-deva); font-style: normal; letter-spacing: 0; }
.char { display: inline-block; }

.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* ---------- cursor: a little "+q" test charge ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; }
.cursor__dot { position: fixed; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.cursor__ring { position: fixed; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 197, 49, 0.7); display: grid; place-items: center; transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s; }
.cursor__label { font: 500 11px var(--f-mono); color: var(--sun); letter-spacing: 0.04em; }
.cursor.is-hover .cursor__ring { width: 76px; height: 76px; background: rgba(255, 197, 49, 0.14); border-color: var(--sun); }
.cursor.is-light .cursor__ring { border-color: rgba(36, 38, 70, 0.6); }
.cursor.is-light .cursor__label, .cursor.is-light .cursor__dot { color: var(--air-fg); background: none; }
.cursor.is-light .cursor__dot { background: var(--air-fg); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

/* ---------- 00 pre-flight ---------- */
.loader { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: space-between; padding: var(--gutter); background: var(--night); overflow: hidden; }
.loader__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%); }
.loader__top, .loader__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; color: var(--mute); }
.loader__list { position: relative; list-style: none; display: grid; gap: 6px; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; color: var(--mute); }
.loader__list li { display: flex; align-items: baseline; gap: 14px; opacity: 0; }
.loader__list .tick { position: relative; width: 1.1em; height: 1.1em; flex: 0 0 auto; border: 2px solid rgba(244, 239, 228, 0.5); border-radius: 4px; transform: translateY(0.15em) rotate(-3deg); }
.loader__list .tick svg { position: absolute; left: -0.1em; top: -0.35em; width: 1.4em; height: 1.4em; overflow: visible; }
.loader__list .tick path { fill: none; stroke: var(--sun); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.loader__list b { color: var(--chalk); font-weight: 400; }
.loader__count { position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + 26px); display: flex; align-items: flex-start; font-family: var(--f-display); font-weight: 900; font-variation-settings: "SOFT" 100, "opsz" 144; line-height: 0.8; letter-spacing: -0.04em; }
.loader__t { font-size: clamp(40px, 6vw, 110px); color: var(--sun); margin-top: 0.08em; }
.loader__num { font-size: clamp(130px, 24vw, 420px); font-variant-numeric: tabular-nums; display: inline-block; }
.loader__plane { position: absolute; left: 0; bottom: 3px; width: 46px; height: 21px; margin-left: -40px; }
.loader__plane svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)); }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--flame), var(--sun), var(--sky)); transform-origin: left; transform: scaleX(0); }
.loader__for { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + 40px); display: grid; gap: 4px; }
.loader__for span { color: var(--sun); }
.loader__for b { font: italic 400 clamp(46px, 7vw, 120px)/0.95 var(--f-display); overflow: hidden; padding-bottom: 0.08em; }

/* ---------- nav + rail ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.nav__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 197, 49, 0.6); color: var(--sun); font-size: 18px; line-height: 1; padding-top: 3px; }
.nav__links { display: flex; gap: 26px; padding: 10px 18px; border-radius: 999px; background: rgba(8, 18, 38, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(244, 239, 228, 0.08); }
.nav__links a { opacity: 0.75; transition: opacity 0.25s, color 0.25s; }
.nav__links a:hover { opacity: 1; color: var(--sun); }
.nav__status { display: flex; align-items: center; gap: 9px; color: var(--mute); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 197, 49, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 197, 49, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 197, 49, 0); } }
body.on-light .nav { color: var(--air-fg); }
body.on-light .nav__links { background: rgba(255, 255, 255, 0.5); border-color: rgba(36, 38, 70, 0.1); }
body.on-light .nav__status { color: rgba(36, 38, 70, 0.7); }
.rail { position: fixed; left: var(--gutter); bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 12px; color: var(--mute); pointer-events: none; }
.rail__track { width: 90px; height: 2px; background: rgba(244, 239, 228, 0.15); overflow: hidden; }
.rail__fill { height: 100%; background: var(--sun); transform-origin: left; transform: scaleX(0); }
body.on-light .rail { color: rgba(36, 38, 70, 0.7); }

/* ---------- 01 lift ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 42%, rgba(49, 87, 213, 0.22), transparent 70%), radial-gradient(40% 40% at 50% 100%, rgba(255, 122, 26, 0.12), transparent 70%), var(--night); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.55; mask-image: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 90%); -webkit-mask-image: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 90%); }
.hero__wings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__eqs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__eqs span { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); font-size: clamp(15px, 1.5vw, 24px); color: rgba(244, 239, 228, 0.26); white-space: nowrap; }
.hero__eqs sub { font-size: 0.65em; }
.hero__name { position: absolute; z-index: 2; left: 0; right: 0; top: 19%; display: flex; justify-content: space-between; padding: 0 2.4vw; pointer-events: none;
  font-family: var(--f-display); font-weight: 900; font-variation-settings: "SOFT" 100, "opsz" 144; font-size: clamp(76px, 14vw, 270px); line-height: 0.8; letter-spacing: -0.045em; color: var(--chalk); }
.hero__name > span { display: block; padding-bottom: 0.08em; }
.hero__last { color: var(--sun); }
.hero__portrait { position: absolute; z-index: 3; left: 50%; bottom: 0; height: min(93vh, 1080px); width: auto; max-width: none; transform-origin: 50% 100%; translate: -50% 0; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)); user-select: none; -webkit-user-drag: none; }
.hero__note { position: absolute; z-index: 4; right: 4vw; top: 47vh; text-align: right; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.25; color: var(--sky); transform: rotate(-4deg); }
.hero__eq { display: block; margin-top: 6px; font-size: 0.9em; color: rgba(127, 208, 255, 0.7); }
.hero__kicker { position: absolute; z-index: 4; left: var(--gutter); top: 15vh; display: flex; align-items: center; gap: 10px; color: var(--mute); }
.hero__kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.hero__lede { position: absolute; z-index: 4; left: var(--gutter); bottom: 150px; font-family: var(--f-display); font-weight: 400; font-variation-settings: "SOFT" 100, "opsz" 72; font-size: clamp(30px, 3.4vw, 58px); line-height: 1.02; letter-spacing: -0.02em; }
.hero__lede .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__lede .line > span { display: inline-block; }
.hero__lede em { font-style: normal; color: var(--sun); position: relative; font-size: 1.12em; }
.hero__lede em::after { content: ""; position: absolute; left: -2%; right: -4%; bottom: -0.02em; height: 0.18em; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'><path d='M3 14 C60 4 120 18 197 6' stroke='%23ffc531' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat; }
.hero__foot { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 50px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; pointer-events: none; }
.hero__foot > * { pointer-events: auto; }
.hero__intro { max-width: 340px; font-size: 15px; line-height: 1.5; color: rgba(244, 239, 228, 0.82); }
.hero__go { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(255, 197, 49, 0.5); color: var(--sun); background: rgba(8, 18, 38, 0.4); backdrop-filter: blur(6px); }
.hero__go span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.hero__gravity { position: absolute; z-index: 4; left: 50%; bottom: 18vh; translate: -50% 0; font-size: 22px; color: var(--sun); opacity: 0; white-space: nowrap; }

/* ---------- 02 नमस्ते — chalkboard film ---------- */
.hello { position: relative; z-index: 5; height: 520vh; }
.hello__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.board { position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 40%, #1b3a2d, var(--board) 70%), var(--board); }
.board::before { content: ""; position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(30% 12% at 25% 30%, rgba(255, 255, 255, 0.05), transparent 70%), radial-gradient(25% 10% at 70% 65%, rgba(255, 255, 255, 0.045), transparent 70%), radial-gradient(35% 14% at 55% 20%, rgba(255, 255, 255, 0.035), transparent 70%); }
.board__dust { position: absolute; inset: 0; opacity: 0.35; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='d'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 -.32'/></filter><rect width='100%' height='100%' filter='url(%23d)'/></svg>"); }
.board__tray { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: linear-gradient(#5c4630, #3c2c1d); box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.4); }
.doodles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dd, .dd path, .dd ellipse, .dd circle { fill: none; stroke: rgba(244, 239, 228, 0.42); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.dd--atom circle { fill: rgba(244, 239, 228, 0.42); }
.hb { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; text-align: center; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; color: var(--chalk); text-shadow: 0 0 1px rgba(244, 239, 228, 0.6), 0 0 18px rgba(244, 239, 228, 0.12); pointer-events: none; }
.hb em { font-style: italic; color: var(--sun); font-weight: 400; }
.hb--1 { font-weight: 900; font-size: clamp(100px, 22vw, 400px); line-height: 0.9; letter-spacing: -0.05em; perspective: 1400px; }
.flip { position: relative; display: inline-block; transform-style: preserve-3d; }
.flip__a, .flip__b { display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__b { position: absolute; inset: 0; transform: rotateX(180deg); font-weight: 400; font-size: 0.86em; line-height: 1.15; }
.hb--2 { font-weight: 800; font-size: clamp(64px, 11vw, 200px); line-height: 0.95; letter-spacing: -0.04em; }
.hb--2 em { font-weight: 400; }
.hb2__line { display: inline-block; }
.hb2__ul { display: block; width: min(56vw, 760px); height: 0.25em; margin: 0.04em auto 0; overflow: visible; }
.hb2__ul path { fill: none; stroke: var(--sun); stroke-width: 6; stroke-linecap: round; }
.hb--3 { display: grid; gap: 0.1em; justify-items: center; }
.hb3__lead { font-weight: 700; font-size: clamp(40px, 6vw, 100px); letter-spacing: -0.03em; line-height: 1; }
.pairs { position: relative; display: grid; width: 100%; height: 1.15em; font-size: clamp(76px, 15vw, 260px); line-height: 1.15; perspective: 1200px; }
.pair { grid-area: 1 / 1; position: relative; display: block; transform-style: preserve-3d; }
.pair__en, .pair__hi { display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pair__en { font-style: italic; font-weight: 400; color: var(--sun); letter-spacing: -0.03em; }
.pair__hi { position: absolute; inset: 0; transform: rotateX(180deg); color: var(--sky); font-size: 0.82em; line-height: 1.4; }
.hb--4 { display: grid; gap: 0.05em; font-weight: 800; font-size: clamp(54px, 9vw, 160px); line-height: 1.05; letter-spacing: -0.035em; }
.hb4__l { display: block; }
.hb4__l .deva { color: var(--sky); font-weight: 400; font-size: 0.92em; }
.polaroid { position: absolute; z-index: 3; width: min(26vw, 340px); padding: 12px 12px 54px; background: #f7f2e7; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); pointer-events: none; }
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 22px; color: #26303f; }
.polaroid::before { content: ""; position: absolute; left: 50%; top: -14px; width: 110px; height: 28px; translate: -50% 0; rotate: -3deg; background: rgba(255, 233, 160, 0.75); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
.polaroid--a { left: 12vw; top: 14vh; }
.polaroid--b { right: 11vw; top: 22vh; width: min(30vw, 420px); }
.polaroid--b img { aspect-ratio: 3 / 2; }
.hello__note { position: absolute; z-index: 3; left: 50%; bottom: 12vh; width: min(560px, 86vw); translate: -50% 0; text-align: center; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; color: rgba(244, 239, 228, 0.86); }
.hello__note em { font-family: var(--f-chalk); color: var(--sun); font-style: normal; font-size: 1.2em; }

/* ---------- 03 flight ---------- */
.flight { position: relative; z-index: 5; }
.flight__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #1b2a4a; }
.flight__sky { position: absolute; inset: 0; }
.flight__stars { position: absolute; inset: 0; opacity: 0; }
.flight__stars i { position: absolute; border-radius: 50%; background: #fff; animation: tw 3s ease-in-out infinite; }
@keyframes tw { 50% { opacity: 0.35; } }
.flight__night { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: 0; transform: scaleX(-1); }
.flight__hud { position: absolute; z-index: 6; left: var(--gutter); right: var(--gutter); top: 84px; display: flex; justify-content: space-between; gap: 16px; color: rgba(255, 255, 255, 0.78); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }
.flight__hud b { color: #fff; font-weight: 500; }
.flight__title { position: absolute; z-index: 6; left: var(--gutter); top: 118px; }
.flight__title p { color: rgba(255, 255, 255, 0.7); }
.flight__title h2 { margin-top: 8px; font: 800 clamp(30px, 3.6vw, 56px)/1 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 96; letter-spacing: -0.03em; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25); }
.flight__title h2 em { font-weight: 400; color: var(--sun); }
.flight__track { position: absolute; left: 0; top: 0; height: 100%; }
.flight__svg { position: absolute; left: 0; top: 0; overflow: visible; }
.route { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2.5; stroke-dasharray: 3 14; stroke-linecap: round; }
.trail { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)); }
.flight__eq { font: 400 20px var(--f-chalk); fill: rgba(255, 255, 255, 0.4); letter-spacing: 0.02em; }
.clouds { position: absolute; left: 0; top: 0; height: 100%; pointer-events: none; }
.clouds i { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0)); }
.clouds--far i { opacity: 0.35; filter: blur(4px); }
.clouds--near i { opacity: 0.55; filter: blur(2px); }
.wp { position: absolute; z-index: 3; width: min(340px, 74vw); padding: 18px 20px 20px; border-radius: 20px; background: rgba(8, 18, 38, 0.42); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; opacity: 0.5; transform-origin: 50% 100%; }
.wp::after { content: ""; position: absolute; left: 34px; width: 2px; background: repeating-linear-gradient(rgba(255, 255, 255, 0.55) 0 5px, transparent 5px 11px); }
.wp.is-above::after { top: 100%; height: var(--stem, 60px); }
.wp.is-below::after { bottom: 100%; height: var(--stem, 60px); }
.wp__year { position: relative; display: inline-block; font: 900 clamp(52px, 5.4vw, 86px)/0.9 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.04em; }
.wp__year::after { content: ""; position: absolute; inset: -14% -12% -10%; border: 3px solid var(--sun); border-radius: 50% 46% 52% 48%; transform: rotate(-4deg) scale(var(--ring, 0)); opacity: var(--ring, 0); }
.wp__org { margin-top: 10px; color: var(--sun); line-height: 1.5; }
.wp__line { margin-top: 8px; font: 400 clamp(19px, 1.6vw, 24px)/1.25 var(--f-display); font-variation-settings: "SOFT" 100; }
.wp__line em { color: var(--sun); }
.wp__badge { display: inline-block; margin-top: 12px; padding: 7px 10px; border-radius: 999px; background: rgba(127, 208, 255, 0.16); color: var(--sky); }
.wp--now { background: rgba(8, 18, 38, 0.6); border-color: rgba(255, 197, 49, 0.5); }
.plane { position: absolute; z-index: 5; left: 0; top: 0; width: 150px; height: 68px; margin: -34px 0 0 -75px; transform-origin: 50% 50%; will-change: transform; }
.plane__svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.3)); }
.plane__rider { position: absolute; left: 34%; bottom: 62%; height: 112px; width: auto; max-width: none; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.3)); }

/* ---------- 04 AIR ---------- */
.air { position: relative; z-index: 5; height: 260vh; background: var(--air-bg); color: var(--air-fg); }
.air__pin { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: center; gap: 4vw; padding: 90px var(--gutter) 60px; overflow: hidden; }
.air__idx { display: flex; justify-content: space-between; gap: 12px; color: var(--air-acc); }
.air__title { margin-top: 18px; font: 900 clamp(56px, 7vw, 132px)/0.88 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.045em; }
.air__title em { font-weight: 400; color: var(--air-acc); }
.air__tag { margin-top: 18px; font: italic 400 clamp(22px, 2vw, 32px)/1.2 var(--f-display); color: var(--air-acc); }
.air__line { margin-top: 14px; max-width: 30em; font-size: 16px; line-height: 1.55; color: rgba(36, 38, 70, 0.78); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: scale 0.3s, background 0.3s; }
.btn:hover { scale: 1.03; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--ink { margin-top: 26px; background: var(--air-fg); color: #fff; }
.btn--pink { margin-top: 26px; background: var(--play-acc); color: #fff; }
.btn--wa { background: #25d366; color: #062a17; }
.btn--sun { background: var(--sun); color: #2a1c00; }
.btn--ghost { border: 1px solid rgba(244, 239, 228, 0.3); color: var(--chalk); background: rgba(8, 18, 38, 0.3); backdrop-filter: blur(6px); }
.stage { position: relative; height: min(70vh, 660px); perspective: 2200px; }
.stage__rig { position: absolute; inset: 0; transform-style: preserve-3d; }
.browser, .phone { position: absolute; transform-style: preserve-3d; }
.browser { left: 0; top: 4%; width: 86%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 60px 120px -40px rgba(36, 38, 70, 0.55), 0 0 0 1px rgba(36, 38, 70, 0.08); }
.browser__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #ece8fb; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #fff; font: 500 12px var(--f-mono); color: rgba(36, 38, 70, 0.7); }
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; display: none; }
.frame:first-child { opacity: 1; display: block; }
.glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.35) 48%, transparent 60%); transform: translateX(var(--gx, -120%)); }
.phone { right: 0; bottom: 0; width: 25%; padding: 9px; border-radius: 34px; background: #111; box-shadow: 0 50px 90px -30px rgba(36, 38, 70, 0.6); }
.phone__screen { position: relative; aspect-ratio: 390 / 844; border-radius: 26px; overflow: hidden; background: #fff; }
.phone__notch { position: absolute; top: 16px; left: 50%; width: 30%; height: 15px; border-radius: 10px; background: #0b0b0e; transform: translateX(-50%); z-index: 4; }

/* ---------- 04+ PLAY ---------- */
.play { position: relative; z-index: 5; min-height: 110vh; display: grid; align-items: center; padding: 120px var(--gutter); background: var(--play-bg); color: var(--play-fg); overflow: hidden; }
.arcade { position: absolute; inset: 0; perspective: 1600px; overflow: hidden; pointer-events: none; }
.arcade__plane { position: absolute; left: 34%; top: 50%; width: 140vw; display: grid; gap: 22px; transform: translate(-20%, -50%) rotateX(52deg) rotateZ(-24deg); transform-style: preserve-3d; }
.arcade__row { display: flex; gap: 22px; }
.arcade__card { flex: 0 0 auto; width: clamp(200px, 19vw, 320px); aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -25px rgba(42, 29, 58, 0.45); }
.arcade__card img { width: 100%; height: 100%; object-fit: cover; }
.play__copy { position: relative; z-index: 2; max-width: 460px; padding: 34px; border-radius: 28px; background: rgba(247, 210, 225, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px -40px rgba(42, 29, 58, 0.5); }
.play__copy .mono { color: var(--play-acc); }
.play__title { margin-top: 14px; font: 900 clamp(70px, 9vw, 160px)/0.85 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.05em; }
.play__tag { margin-top: 12px; font: italic 400 26px/1.2 var(--f-display); color: var(--play-acc); }
.play__line { margin-top: 12px; font-size: 16px; line-height: 1.55; color: rgba(42, 29, 58, 0.78); }

/* ---------- 05 try it ---------- */
.lab { position: relative; z-index: 5; padding: 110px var(--gutter) 70px; background: var(--board); overflow: hidden; }
.lab::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(244, 239, 228, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 239, 228, 0.05) 1px, transparent 1px); background-size: 48px 48px; }
.lab__head { position: relative; max-width: 900px; }
.lab__head .mono { color: var(--sun); }
.lab__head h2 { margin-top: 12px; font: 800 clamp(34px, 4.6vw, 76px)/1 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 120; letter-spacing: -0.03em; }
.lab__head em { font-weight: 400; color: var(--sun); }
.lab__stage { position: relative; margin-top: 34px; height: min(64vh, 620px); min-height: 380px; border-radius: 26px; overflow: hidden; border: 1px solid rgba(244, 239, 228, 0.14); background: radial-gradient(80% 80% at 30% 30%, #1d3b2e, #10221a); }
.lab__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab__pad { position: absolute; left: 0; bottom: 0; width: 42%; height: 72%; touch-action: none; cursor: grab; }
.lab__read { position: absolute; left: 22px; top: 18px; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.45; color: rgba(244, 239, 228, 0.9); pointer-events: none; }
.lab__read b { color: var(--sun); font-weight: 400; }
.lab__score { position: absolute; right: 22px; top: 22px; color: rgba(244, 239, 228, 0.75); }
.lab__score b { color: var(--sun); font-size: 16px; margin-left: 6px; }
.lab__say { position: absolute; right: 3%; bottom: 30%; max-width: min(260px, 60%); padding: 11px 15px; border-radius: 16px; background: var(--chalk); color: #14202f; font: 600 14.5px/1.35 var(--f-body); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); transform-origin: 85% 100%; opacity: 0; pointer-events: none; }
.lab__say::after { content: ""; position: absolute; right: 26px; bottom: -6px; width: 13px; height: 13px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.lab__hint { position: absolute; left: 50%; bottom: 12px; white-space: nowrap; translate: -50% 0; color: rgba(244, 239, 228, 0.6); pointer-events: none; }

/* ---------- 06 ask ---------- */
.ask { position: relative; z-index: 5; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: #120d24; }
.ask__media { position: absolute; inset: 0; }
.ask__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.12); }
.ask__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 24, 0) 25%, rgba(10, 8, 24, 0.55) 52%, rgba(10, 8, 24, 0.86) 80%), linear-gradient(0deg, rgba(10, 8, 24, 0.75), rgba(10, 8, 24, 0) 40%); }
.ask__inner { position: relative; z-index: 2; margin-left: auto; width: min(640px, 100%); padding: 140px var(--gutter) 40px; }
.ask__k { color: var(--sun); }
.ask__title { margin-top: 14px; font: 900 clamp(56px, 7.4vw, 140px)/0.9 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.045em; }
.ask__title em { display: block; font-weight: 400; color: var(--sun); }
.ask__sub { margin-top: 18px; max-width: 30em; font-size: 17px; line-height: 1.55; color: rgba(244, 239, 228, 0.85); }
.ask__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.ask__meta { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.ask__meta span { display: block; color: rgba(244, 239, 228, 0.5); }
.ask__meta b { display: block; margin-top: 6px; color: var(--chalk); font-weight: 500; letter-spacing: 0.06em; line-height: 1.5; }
.footer { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px var(--gutter) 58px; color: rgba(244, 239, 228, 0.6); border-top: 1px solid rgba(244, 239, 228, 0.1); }
.footer a:hover { color: var(--sun); }

/* ---------- guide (the tiny Mrinal) ---------- */
.guide-layer { position: fixed; inset: 0; z-index: 55; pointer-events: none; opacity: 0; transition: opacity 0.5s; }
.guide-layer.is-on { opacity: 1; }
.guide-layer.is-away { opacity: 0; }
.guide { position: absolute; left: 0; top: 0; }
.guide__shadow { position: absolute; left: 0; top: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), transparent); }
.guide__rig { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.guide__flip { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.guide__pose { position: absolute; max-width: none; height: auto; opacity: 0; visibility: hidden; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35)); user-select: none; -webkit-user-drag: none; }
.guide__pose.is-on { opacity: 1; visibility: visible; }
.guide__puff { position: absolute; left: 0; top: 0; width: 30px; height: 14px; margin: -10px 0 0 -15px; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 239, 228, 0.5), rgba(244, 239, 228, 0)); }
.guide__hit { position: absolute; pointer-events: auto; cursor: pointer; border-radius: 40% 40% 20% 20%; }
.guide__bubble { position: absolute; left: 0; top: 0; max-width: min(270px, 72vw); padding: 12px 16px 13px; border-radius: 18px; background: var(--chalk); color: #14202f; font: 600 14.5px/1.35 var(--f-body); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); opacity: 0; transform-origin: 50% 100%; transition: opacity 0.25s; }
.guide__bubble.is-on { opacity: 1; }
.guide__bubble.is-ink { background: #14202f; color: var(--chalk); }
.guide__tail { position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; margin-left: -7px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.guide__bubble.is-side .guide__tail { display: none; }

/* ---------- phones ---------- */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav { padding: 12px 16px; }
  .rail { display: none; }
  .hero__portrait { height: 64svh; }
  .hero__name { top: 13svh; flex-direction: column; align-items: center; gap: 0.02em; font-size: 23vw; padding: 0; }
  .hero__kicker { top: 76px; left: 16px; right: 16px; font-size: 9.5px; letter-spacing: 0.1em; }
  .hero__note { display: none; }
  .hero__lede { top: auto; bottom: 118px; left: 16px; font-size: 30px; text-shadow: 0 2px 20px rgba(8, 18, 38, 0.9); }
  .hero__foot { left: 16px; right: 16px; bottom: 24px; }
  .hero__intro { display: none; }
  .hero__eqs span:nth-child(n + 5) { display: none; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34svh; z-index: 3; background: linear-gradient(0deg, rgba(8, 18, 38, 0.92), rgba(8, 18, 38, 0)); pointer-events: none; }
  .hero__gravity { bottom: 30svh; }
  .loader__list { font-size: 21px; margin-top: 12vh; }
  .loader__count { bottom: calc(var(--gutter) + 40px); }
  .loader__for { bottom: calc(var(--gutter) + 210px); }
  .polaroid { width: 46vw; padding: 8px 8px 36px; }
  .polaroid figcaption { font-size: 15px; bottom: 8px; }
  .polaroid--a { left: 5vw; top: 13vh; }
  .polaroid--b { right: 5vw; top: auto; bottom: 26vh; width: 54vw; }
  .hello__note { left: 16px; translate: 0 0; width: 62vw; text-align: left; bottom: 6vh; font-size: 15px; }
  .hb--1 { font-size: 30vw; }
  .flight__hud { top: 66px; font-size: 9.5px; letter-spacing: 0.08em; }
  .flight__hdg { display: none; }
  .flight__title { top: 92px; }
  .wp { padding: 14px 16px 16px; width: min(290px, 78vw); }
  .plane { width: 104px; height: 47px; margin: -23px 0 0 -52px; }
  .plane__rider { height: 80px; }
  .air { height: 230vh; }
  .air__pin { grid-template-columns: 1fr; align-content: center; gap: 26px; padding: 76px 16px 34px; }
  .air__title { font-size: 15vw; }
  .air__line { display: none; }
  .btn--ink { margin-top: 18px; }
  .stage { order: -1; height: 38vh; }
  .browser { width: 86%; top: 2%; }
  .phone { width: 31%; border-radius: 22px; padding: 6px; }
  .phone__screen { border-radius: 17px; }
  .arcade__plane { left: -10%; top: 72%; }
  .play { align-items: start; padding-top: 90px; }
  .play__copy { padding: 24px; }
  .lab { padding-top: 90px; }
  .lab__pad { width: 60%; }
  .lab__stage { height: 58vh; min-height: 360px; }
  .lab__say { right: 4%; bottom: 34%; font-size: 13.5px; }
  .ask__media img { object-position: 36% 50%; }
  .ask__shade { background: linear-gradient(0deg, rgba(10, 8, 24, 0.95) 30%, rgba(10, 8, 24, 0.55) 62%, rgba(10, 8, 24, 0.1)); }
  .ask__inner { padding-top: 44vh; }
  .ask__meta { grid-template-columns: 1fr; }
  .ask__actions { max-width: 74vw; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .pulse, .hero__go span, .flight__stars i { animation: none; }
}
