/* ==========================================================================
   Indian Pilot School — public site
   Brand: black field, IPS green #156444 → lime #D2EE42
   ========================================================================== */
@font-face { font-family: 'Archivo'; src: url(/fonts/archivo-wdth.woff2) format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'JB Mono'; src: url(/fonts/jbmono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JB Mono'; src: url(/fonts/jbmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #050605;
  --bg-2: #0a0d0b;
  --bg-3: #101512;
  --ink: #eef2ea;
  --ink-2: #c3cbc4;
  --mute: #808b83;
  --line: rgba(238, 242, 234, .09);
  --line-2: rgba(238, 242, 234, .16);
  --green: #156444;
  --green-2: #1d8558;
  --lime: #d2ee42;
  --lime-dim: rgba(210, 238, 66, .14);
  --grad: linear-gradient(100deg, #156444 0%, #2f9a57 42%, #d2ee42 100%);
  --grad-v: linear-gradient(180deg, #d2ee42 0%, #156444 100%);
  --radius: 4px;
  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JB Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: #000; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.mono { font-family: var(--mono); font-size: .78em; letter-spacing: .06em; text-transform: uppercase; }
.dim { color: var(--mute); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: #000; padding: 10px 16px; }
.skip:focus { left: 12px; }

/* film grain — kills the flat "rendered" look */
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

/* 3D layer */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scene canvas { width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.scene.is-ready canvas { opacity: 1; }
main, .ftr, .hdr, .announce { position: relative; z-index: 2; }

/* ------------------------------------------------------------------ type */
.h1, .h2, .h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.02; }
.h1 { font-size: clamp(2.6rem, 6.6vw, 6.6rem); font-stretch: 118%; line-height: .98; letter-spacing: -.035em; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); font-stretch: 112%; }
.h2--xl { font-size: clamp(2.3rem, 5vw, 4.8rem); font-stretch: 118%; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-stretch: 105%; letter-spacing: -.01em; line-height: 1.2; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: var(--ink-2); max-width: 60ch; margin: 18px 0 0; }
.hl { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.eyebrow__sq { width: 7px; height: 7px; background: var(--lime); box-shadow: 0 0 14px var(--lime); flex: none; }

/* ------------------------------------------------------------------ buttons */
.btn { --b: var(--line-2); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px;
  border: 1px solid var(--b); border-radius: var(--radius); font: 600 14px/1 var(--sans); font-stretch: 108%; letter-spacing: .01em; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); background: transparent; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--lime); color: #071006; border-color: var(--lime); }
.btn--primary:hover { background: #e3ff5c; transform: translateY(-1px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn__arr { transition: transform .3s var(--ease); }
.btn:hover .btn__arr { transform: translateX(4px); }
.btn--quiz { --b: rgba(210, 238, 66, .45); color: var(--lime); }
.btn--quiz:hover { background: var(--lime-dim); border-color: var(--lime); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(210, 238, 66, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(210, 238, 66, 0); } 100% { box-shadow: 0 0 0 0 rgba(210, 238, 66, 0); } }

/* ------------------------------------------------------------------ announce + header */
.announce { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 9px var(--pad); font: 500 12px/1.3 var(--mono); letter-spacing: .06em;
  text-transform: uppercase; background: var(--green); color: #eaf6e6; text-align: center; }
.announce a:hover { color: var(--lime); }
.announce__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: none; }

.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.hdr.is-scrolled { background: rgba(5, 6, 5, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.hdr__inner { height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 28px; }
.hdr__logo img { width: clamp(170px, 15vw, 214px); height: auto; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__list { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; font-size: 14px; font-weight: 500; font-stretch: 105%; color: var(--ink-2); transition: color .25s; }
.nav__item:hover > .nav__link, .nav__item.is-active > .nav__link { color: var(--ink); }
.nav__item.is-active > .nav__link { box-shadow: inset 0 -2px 0 -0px transparent; }
.nav__item.is-active > .nav__link::after { content: ''; display: block; height: 2px; margin-top: 4px; background: var(--grad); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; color: var(--mute); }
.nav__cta { display: flex; gap: 10px; }

.sub { position: absolute; top: 100%; left: 50%; padding-top: 14px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub__inner { display: grid; grid-template-columns: 220px minmax(280px, 380px); background: rgba(10, 13, 11, .96); backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.sub__lead { padding: 22px; background: linear-gradient(160deg, rgba(21, 100, 68, .45), rgba(21, 100, 68, .05)); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.sub__lead .mono { color: var(--lime); font-size: 11px; }
.sub__lead strong { font-size: 20px; font-stretch: 112%; line-height: 1.1; }
.sub__lead p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.sub__all { margin-top: auto; font-size: 13px; color: var(--lime); }
.sub__list { list-style: none; margin: 0; padding: 8px; }
.sub__list a { display: block; padding: 12px 14px; border-radius: 4px; transition: background .2s; }
.sub__list a:hover { background: rgba(238, 242, 234, .05); }
.sub__t { display: block; font-weight: 600; font-size: 15px; }
.sub__d { display: block; font-size: 13px; color: var(--mute); line-height: 1.45; margin-top: 2px; }
.sub__g { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sub__g span { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--ink-2); }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ------------------------------------------------------------------ HUD altitude tape */
.hud { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; opacity: 0; transition: opacity .6s; }
.hud.is-on { opacity: 1; }
.hud__tape { position: relative; width: 62px; height: 220px; overflow: hidden; border-left: 1px solid var(--line-2);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.hud__scale { position: absolute; left: 0; right: 0; top: 50%; will-change: transform; }
.hud__scale span { position: absolute; left: 0; display: flex; align-items: center; gap: 6px; font: 10px/1 var(--mono); color: var(--mute); transform: translateY(-50%); }
.hud__scale span::before { content: ''; width: 8px; height: 1px; background: var(--line-2); }
.hud__scale span.maj::before { width: 14px; background: var(--mute); }
.hud__box { position: absolute; left: -1px; top: 50%; transform: translateY(-50%); display: flex; align-items: baseline; gap: 3px; padding: 5px 7px; background: var(--bg); border: 1px solid var(--lime); color: var(--lime); }
.hud__box .mono { font-size: 11px; letter-spacing: .02em; }
.hud__box small { font: 8px var(--mono); color: var(--mute); }
.hud__phase { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--mute); }
.hud__dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }

/* ------------------------------------------------------------------ sections */
.blk { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.blk--hero { padding: 0; }
.blk--stats { padding: 0; }
.blk--flight { padding: 0; }
.blk--cta { padding-top: clamp(40px, 6vw, 80px); }
.sh { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.sh--c { margin-left: auto; margin-right: auto; text-align: center; }

/* hero */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; }
.hero--full { min-height: calc(100svh - var(--hdr) - 36px); padding: 40px 0 120px; }
.hero--compact { min-height: min(78svh, 760px); padding: clamp(60px, 9vw, 120px) 0 clamp(90px, 10vw, 140px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, transparent), linear-gradient(0deg, var(--bg), transparent 40%); }
.hero__wrap { max-width: var(--wrap); }
.hero .h1 { max-width: 13ch; }
.hero--compact .h1 { font-size: clamp(2.4rem, 5.6vw, 5.4rem); }
.hero__sub { font-size: clamp(1.05rem, 1.35vw, 1.28rem); color: var(--ink-2); max-width: 54ch; margin: 28px 0 0; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; font-size: 11px; color: var(--mute); }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--ink-2); }

.readout { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 6, 5, 0), rgba(5, 6, 5, .6)); }
.readout .wrap { display: flex; align-items: center; gap: 12px; height: 52px; font-size: 11.5px; color: var(--ink-2); overflow: hidden; white-space: nowrap; }
.readout__led { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; flex: none; animation: blink 2.4s infinite; }
@keyframes blink { 0%, 92% { opacity: 1; } 96% { opacity: .2; } }
.readout-inline { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 11px; color: var(--ink-2); background: rgba(5, 6, 5, .5); }
.scrollcue { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; color: var(--mute); }
.scrollcue i { width: 1px; height: 44px; background: linear-gradient(var(--lime), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5, 6, 5, .55); backdrop-filter: blur(6px); }
.stat { margin: 0; padding: 34px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__v { font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 600; font-stretch: 120%; letter-spacing: -.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.stat__l { margin: 12px 0 0; color: var(--mute); font-size: 14px; line-height: 1.45; max-width: 26ch; }

/* flight (3D cinematic) */
.flight { min-height: 170vh; position: relative; }
.flight__wrap { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; }
.flight__card { max-width: 560px; padding: 8px 0; }
.flight--right .flight__wrap { justify-content: flex-end; }
.flight--center .flight__wrap { justify-content: center; text-align: center; }
.flight--center .flight__card { max-width: 760px; }
.flight .lead { text-shadow: 0 2px 20px rgba(0, 0, 0, .8); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--left .split__img { order: -1; }
.frame { position: relative; margin: 0; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.split__text .btn { margin-top: 30px; }

/* prose */
.prose { color: var(--ink-2); font-size: 1.05rem; max-width: 66ch; }
.prose h3, .prose h4 { color: var(--ink); font-stretch: 108%; margin: 1.8em 0 .5em; font-size: 1.25rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.1em; } .prose li { margin: .35em 0; }
.prose p:first-child { margin-top: 0; }
.rich { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); }

/* grids & features */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat { padding: clamp(26px, 3vw, 40px); background: rgba(8, 10, 9, .92); transition: background .4s var(--ease); position: relative; }
.feat::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--grad); transition: width .6s var(--ease); }
.feat:hover { background: rgba(16, 21, 18, .95); }
.feat:hover::before { width: 100%; }
.feat__tag { display: inline-block; color: var(--lime); font-size: 11px; margin-bottom: 26px; }
.feat p { color: var(--mute); margin: 12px 0 0; font-size: 15px; line-height: 1.6; }

/* subjects (tabs) */
.subj { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: rgba(8, 10, 9, .9); }
.subj__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.subj__tab { display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px 24px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--mute); font-size: 16px; font-weight: 500; font-stretch: 105%; transition: color .25s, background .25s; position: relative; }
.subj__tab:last-child { border-bottom: 0; }
.subj__tab .mono { width: 40px; color: inherit; font-size: 11px; }
.subj__tab:hover { color: var(--ink); background: rgba(238, 242, 234, .025); }
.subj__tab.is-on { color: var(--ink); background: linear-gradient(90deg, rgba(21, 100, 68, .35), transparent); }
.subj__tab.is-on::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad-v); }
.subj__tab.is-on .mono { color: var(--lime); }
.subj__panels { position: relative; min-height: 420px; }
.subj__panel { padding: clamp(28px, 4vw, 56px); position: relative; animation: fadeUp .5s var(--ease); }
.subj__code { position: absolute; right: clamp(20px, 3vw, 44px); top: clamp(16px, 2vw, 30px); font-size: clamp(4rem, 9vw, 8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(210, 238, 66, .22); pointer-events: none; }
.subj__panel .h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-stretch: 115%; max-width: 70%; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ticks li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 19px; width: 12px; height: 1px; background: var(--lime); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.step::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--grad); transition: width 1s var(--ease); }
.step.is-in::after { width: 100%; }
.step__n { font-size: 13px; color: var(--lime); padding-top: 6px; }
.step__body { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr); gap: 8px 40px; align-items: baseline; }
.step__meta { grid-column: 1; color: var(--mute); font-size: 11px; }
.step .h3 { grid-column: 1; grid-row: 2; }
.step p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--ink-2); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards--1 { grid-template-columns: minmax(0, 560px); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: rgba(10, 13, 11, .92);
  transition: border-color .4s var(--ease), transform .5s var(--ease); transform-style: preserve-3d; }
.card:hover { border-color: rgba(210, 238, 66, .4); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(120% 90% at 70% 30%, rgba(21, 100, 68, .55), var(--bg-2) 70%); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 13, 11, .9), transparent 45%); }
.card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--lime); }
.card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tag { color: var(--lime); font-size: 10.5px; }
.card__body p { color: var(--mute); margin: 0; font-size: 15px; }
.card__go { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; }
.card:hover .card__go { color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--ink-2); }

/* batches table */
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: rgba(8, 10, 9, .92); }
.tbl table { width: 100%; border-collapse: collapse; min-width: 760px; }
.tbl th, .tbl td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tbl thead th { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); background: rgba(238, 242, 234, .02); }
.tbl tbody th { font-weight: 600; font-stretch: 105%; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: rgba(21, 100, 68, .12); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; }
.status--open::before { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.status--filling::before { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.status--closed { color: var(--mute); } .status--closed::before { background: var(--mute); }
.note { color: var(--mute); font-size: 11px; margin-top: 18px; text-transform: none; letter-spacing: .02em; }

/* specs */
.specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.specs__img { margin: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.specs__list { margin: 0; border-top: 1px solid var(--line); }
.specs__row { display: grid; grid-template-columns: minmax(140px, 1fr) 1.6fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs__row dt { color: var(--mute); font-size: 11px; padding-top: 3px; }
.specs__row dd { margin: 0; font-weight: 500; }

/* faculty */
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.crew__card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: rgba(10, 13, 11, .94); display: flex; flex-direction: column; transition: border-color .4s; }
.crew__card:hover { border-color: rgba(210, 238, 66, .35); }
.crew__photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--bg-3); }
.crew__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: filter .6s, transform 1s var(--ease); }
.crew__card:hover .crew__photo img { filter: none; transform: scale(1.03); }
.crew__mono { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(90% 80% at 50% 20%, rgba(29, 133, 88, .55), rgba(21, 100, 68, .08) 60%, transparent), var(--bg-3); }
.crew__mono span { font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 600; font-stretch: 125%; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(210, 238, 66, .55); }
.crew__stripes { position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 3px; }
.crew__stripes i { display: block; width: 34px; height: 4px; background: linear-gradient(90deg, #c9a24a, #f0d78c, #c9a24a); }
.crew__badge { position: absolute; right: 12px; top: 12px; padding: 6px 8px; font-size: 10px; background: var(--lime); color: #000; border-radius: 3px; }
.crew__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.crew__role { margin: 0; color: var(--lime); font-size: 14px; }
.crew__meta { margin: 12px 0 0; display: grid; gap: 6px; font-size: 10.5px; }
.crew__meta div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.crew__meta dt { color: var(--mute); } .crew__meta dd { margin: 0; color: var(--ink-2); text-transform: none; letter-spacing: .02em; }
.crew__bio { margin: 12px 0 0; color: var(--mute); font-size: 14px; line-height: 1.55; }
.crew__in { margin-top: auto; padding-top: 12px; font-size: 11px; color: var(--lime); }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 1.08rem; font-weight: 500; font-stretch: 104%; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 14px; height: 14px; margin-top: 6px; }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--lime); transition: transform .3s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a p { margin: 0 0 24px; color: var(--ink-2); max-width: 64ch; }

/* quote */
.quote { margin: 0 auto; max-width: 1000px; text-align: center; }
.quote blockquote { margin: 0; }
.quote p { font-size: clamp(1.6rem, 3vw, 2.6rem); font-stretch: 110%; font-weight: 500; line-height: 1.22; letter-spacing: -.02em; margin: 0; }
.quote p::before { content: '“'; color: var(--lime); } .quote p::after { content: '”'; color: var(--lime); }
.quote figcaption { margin-top: 28px; color: var(--ink-2); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__item { aspect-ratio: 4 / 3; }
.gallery__item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 9px; background: rgba(5, 6, 5, .75); font-size: 10.5px; border-radius: 3px; }

/* cta */
.cta { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 90px); border: 1px solid var(--line-2); border-radius: 8px;
  background: linear-gradient(120deg, rgba(21, 100, 68, .6) 0%, rgba(8, 10, 9, .55) 50%, rgba(8, 10, 9, .15) 100%); backdrop-filter: blur(1px); }
.cta__glow { position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(210, 238, 66, .22), transparent 60%); pointer-events: none; }
.cta .h2 { max-width: 16ch; }

/* forms */
.panel { border: 1px solid var(--line-2); border-radius: 8px; background: rgba(8, 10, 9, .9); backdrop-filter: blur(10px); padding: clamp(22px, 3vw, 40px); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__title { color: var(--lime); margin: 0 0 4px; font-size: 11px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld > span { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.fld em { font-style: normal; color: var(--mute); text-transform: none; letter-spacing: 0; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 13px 14px; background: rgba(238, 242, 234, .03); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink); font: 400 16px var(--sans); transition: border-color .2s, background .2s; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.fld select option { background: var(--bg-2); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--lime); background: rgba(210, 238, 66, .03); }
.fld.has-err input, .fld.has-err textarea { border-color: #f87171; }
.fld .err { color: #fca5a5; font-size: 13px; }
.form__msg { margin: 0; min-height: 1px; font-size: 15px; }
.form__msg.ok { color: var(--lime); padding: 14px 16px; border: 1px solid rgba(210, 238, 66, .35); border-radius: var(--radius); background: var(--lime-dim); }
.form__msg.bad { color: #fca5a5; }
.form__fine { margin: 0; color: var(--mute); font-size: 10.5px; text-transform: none; letter-spacing: .02em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list .mono { color: var(--mute); font-size: 11px; padding-top: 4px; }
.contact__list a:hover { color: var(--lime); }
.map { margin-top: 56px; aspect-ratio: 21 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

.blk--counsel { padding-top: clamp(40px, 6vw, 90px); }
.counsel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(28px, 6vw, 96px); align-items: start; }
.counsel .ticks { grid-template-columns: 1fr; margin-top: 36px; max-width: 460px; }

/* quiz */
.quiz { max-width: 880px; margin: 0 auto; }
.quiz__subjects { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chipbtn { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 3px; background: none; font-size: 14px; transition: all .2s; }
.chipbtn:hover { border-color: var(--ink-2); }
.chipbtn.is-on { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); }
.quiz__top { display: flex; justify-content: space-between; color: var(--mute); font-size: 11px; }
.quiz__bar { height: 2px; background: var(--line); margin: 14px 0 34px; }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.quiz__q { font-size: clamp(1.35rem, 2.3vw, 1.9rem); font-weight: 600; font-stretch: 108%; line-height: 1.25; margin: 0 0 26px; outline: none; }
.quiz__opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 16px; align-items: center; text-align: left; width: 100%; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(238, 242, 234, .02); font-size: 16px; transition: all .2s; }
.opt .mono { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 3px; font-size: 11px; color: var(--mute); flex: none; }
.opt:hover:not([disabled]) { border-color: var(--ink-2); }
.opt.is-right { border-color: #4ade80; background: rgba(74, 222, 128, .08); } .opt.is-right .mono { border-color: #4ade80; color: #4ade80; }
.opt.is-wrong { border-color: #f87171; background: rgba(248, 113, 113, .08); } .opt.is-wrong .mono { border-color: #f87171; color: #f87171; }
.opt[disabled] { cursor: default; }
.quiz__exp { margin: 20px 0; color: var(--ink-2); }
.quiz__exp strong { color: var(--ink); }
.quiz__score { font-size: clamp(4rem, 10vw, 7rem); font-weight: 600; font-stretch: 125%; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quiz__score small { font-size: .4em; }

/* error */
.err { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.err__code { color: var(--lime); margin-bottom: 22px; }

.preview-bar { position: sticky; top: var(--hdr); z-index: 40; padding: 10px var(--pad); background: var(--lime); color: #000; font-size: 14px; text-align: center; }
.preview-bar a { text-decoration: underline; margin-left: 8px; }

/* ------------------------------------------------------------------ footer */
.ftr { border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 100px) 0 30px; background: linear-gradient(180deg, rgba(5, 6, 5, .7), var(--bg) 40%); margin-top: 40px; }
.ftr__top { display: grid; grid-template-columns: minmax(260px, 2fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 40px; }
.ftr__brand img { width: 240px; }
.ftr__brand p { color: var(--mute); max-width: 40ch; font-size: 15px; margin: 22px 0; }
.ftr__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ftr__h { display: block; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.ftr ul a:hover { color: var(--ink); }
.social { display: flex; gap: 14px; margin-top: 18px; font-size: 13px; color: var(--mute); }
.social a:hover { color: var(--lime); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.ftr__bottom .mono { font-size: 10.5px; text-transform: none; letter-spacing: .02em; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; border: 1px solid rgba(210, 238, 66, .4); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

/* ------------------------------------------------------------------ reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + 150ms); }
[data-split].is-in .w > span { transform: none; }
.no-js [data-reveal], .no-js [data-split] .w > span { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .crew { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nav__link { padding: 10px 9px; font-size: 13.5px; }
}
@media (max-width: 1040px) {
  :root { --hdr: 66px; }
  .burger { display: block; }
  .nav { position: fixed; inset: var(--hdr) 0 0 0; background: rgba(5, 6, 5, .98); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 12px var(--pad) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; margin: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 18px 0; font-size: 20px; font-stretch: 112%; }
  .nav__item.is-active > .nav__link::after { display: none; }
  .nav__toggle { display: block; padding: 18px 6px; }
  .nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; padding: 0 0 14px; width: 100%; display: none; transition: none; }
  .sub.is-open { display: block; }
  .has-sub:hover .sub { transform: none; }
  .sub__inner { grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
  .sub__lead { display: none; }
  .sub__list { padding: 0; }
  .sub__list a { padding: 10px 0; }
  .nav__cta { flex-direction: column; margin-top: 24px; }
  .nav__cta .btn { height: 54px; }
  body.nav-open { overflow: hidden; }
  .hud { display: none; }
  .split, .rich, .faq, .specs, .contact, .counsel { grid-template-columns: 1fr; }
  .cards, .cards--2, .cards--3 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .subj { grid-template-columns: 1fr; }
  .subj__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .subj__tab { flex: none; border-bottom: 0; border-right: 1px solid var(--line); padding: 16px 18px; font-size: 14px; }
  .subj__tab.is-on::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 2px; }
  .step__body { grid-template-columns: 1fr; }
  .step p { grid-column: 1; grid-row: auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .cards, .cards--2, .cards--3, .grid--2, .grid--3, .grid--4, .crew, .gallery { grid-template-columns: 1fr; }
  .form__row, .ticks { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; } .stat:first-child { border-top: 0; }
  .stats { padding: 0 var(--pad); }
  .step { grid-template-columns: 44px 1fr; }
  .flight { min-height: 150vh; }
  .flight__wrap { align-items: flex-end; padding-bottom: 12vh; }
  .flight__card { background: linear-gradient(0deg, rgba(5, 6, 5, .85), rgba(5, 6, 5, .4)); padding: 20px; margin: 0 -20px; border-radius: 8px; }
  .hero--full { padding-bottom: 140px; }
  .scrollcue { display: none; }
  .readout .wrap { font-size: 10px; }
  .announce { font-size: 10.5px; }
  .crew__photo { aspect-ratio: 4 / 3; }
  .hdr__logo img { width: 160px; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .wa-float { width: 48px; height: 48px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], [data-split] .w > span { opacity: 1 !important; transform: none !important; }
}
.ftr__sub a { color: var(--mute); font-size: 14px; padding-left: 14px; position: relative; }
.ftr__sub a::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--line-2); }
@media (max-width: 680px) and (orientation: portrait) {
  .has-scene .blk--hero:first-child .hero { justify-content: flex-end; min-height: calc(100svh - var(--hdr) - 40px); padding-top: 42svh; }
  .has-scene .blk--hero:first-child .hero__wrap { background: linear-gradient(0deg, var(--bg) 70%, rgba(5, 6, 5, 0)); padding-top: 40px; }
  .has-scene .blk--hero:first-child .hero--full .h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
}
