:root {
  --ink: #0a100a;
  --ink2: #0e150e;
  --panel: #131c13;
  --paper: #f4f1e8;
  --white: #fff;
  --gray: #9ba89b;
  --gray2: #667266;
  --accent: #9ad04c;
  --accent-soft: #b7e86e;
  --line: #22301f;
  --line2: #2c3c28;
  --x: 1180px;
}

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

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--accent) var(--ink); }
body { background: var(--ink); color: var(--paper); font-family: "Inter", system-ui, sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
::selection { background: var(--accent); color: #0a100a; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; }
video { display: block; }

.container { max-width: var(--x); margin: 0 auto; padding: 0 clamp(20px, 3vw, 24px); }

.it { font-family: Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.blink { animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; background: var(--ink); color: var(--white);
  z-index: 1000; display: flex; justify-content: space-between; align-items: flex-end;
  padding: clamp(20px, 4vw, 48px);
  font-family: "Space Mono", monospace;
  transition: transform .8s cubic-bezier(.76, 0, .24, 1);
}
.preloader.done { transform: translateY(-101%); }
.preloader-left { font-size: clamp(34px, 7vw, 92px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.preloader-left span { color: var(--accent); }
.preloader-right { text-align: right; }
.preloader-count { display: inline-block; font-size: clamp(56px, 9vw, 140px); line-height: 1; letter-spacing: -.06em; }
.preloader-pct { font-size: clamp(22px, 3vw, 44px); color: var(--accent); }
.preloader-label { display: block; font-size: 12px; letter-spacing: .26em; color: var(--gray); margin-top: 6px; }

/* ---------- Cursor is native — no custom reticle ---------- */

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: 88px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  z-index: 900; mix-blend-mode: difference; color: #fff;
  font-family: "Space Mono", monospace;
  transition: height .3s ease;
}
.nav.shrink { height: 62px; }
.nav-logo { font-size: 21px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: baseline; }
.nav-logo span { color: var(--accent); }
.nav-logo em { font-style: normal; font-size: 13px; color: var(--gray); margin-left: 8px; letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.nav-links a { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { opacity: 1 !important; border: 1px solid currentColor; padding: 11px 20px; }
.nav-burger { display: none; width: 40px; height: 40px; position: relative; }
.nav-burger span { position: absolute; left: 6px; right: 6px; height: 2px; background: currentColor; transition: .3s; }
.nav-burger span:nth-child(1){ top: 12px; } .nav-burger span:nth-child(2){ top: 19px; } .nav-burger span:nth-child(3){ top: 26px; }
.nav-burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity: 0; }
.nav-burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Stage ---------- */
.stage-section {
  position: relative; width: 100%; height: 100vh; min-height: 620px; overflow: hidden;
  background: var(--ink);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: slowzoom 16s cubic-bezier(.25, .6, .35, 1) forwards;
}
@keyframes slowzoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@media (min-aspect-ratio: 23/10) { .hero-video { object-fit: contain; } }
.stage-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,16,10,.94) 0%, rgba(10,16,10,.62) 28%, rgba(10,16,10,.26) 50%, rgba(10,16,10,.04) 68%),
    linear-gradient(0deg, rgba(10,16,10,.96) 0%, rgba(10,16,10,.06) 40%);
}
.stage-grain {
  position: absolute; inset: -10%; z-index: 3; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.stage-vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 42%, transparent 58%, rgba(5,8,5,.55) 100%);
}
.stage-corner { position: absolute; z-index: 5; font-family: "Space Mono", monospace; color: var(--white); }
.stage-corner-tl { top: clamp(96px, 14vh, 130px); left: clamp(20px, 4vw, 48px); max-width: 540px; }
.hud-kicker { font-size: 12px; letter-spacing: .22em; color: var(--accent-soft); display: block; margin-bottom: 16px; }
.stage-title { font-size: clamp(40px, 6.2vw, 88px); font-weight: 400; letter-spacing: -.05em; line-height: .96; text-transform: uppercase; }
.stage-title .it { color: var(--accent); }
.stage-sub { margin-top: 16px; font-size: 15px; color: var(--gray); max-width: 44ch; line-height: 1.55; }
.stage-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.stage-corner-tr { top: clamp(96px, 14vh, 130px); right: clamp(20px, 4vw, 48px); text-align: right; color: var(--gray); }
.stat { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .18em; }
.stat b { color: var(--white); font-size: 18px; letter-spacing: -.02em; min-width: 74px; text-align: right; }

@media (max-width: 900px) {
  .stage-corner-tr { display: none; }
  .stage-corner-tl { top: 92px; }
  .stage-shade { background: linear-gradient(0deg, rgba(10,16,10,.95) 0%, rgba(10,16,10,.5) 40%, rgba(10,16,10,0) 62%); }
  .stage-sub { max-width: 40ch; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marq 38s linear infinite; }
.marquee span { font-family: "Space Mono", monospace; font-size: 14px; letter-spacing: .2em; color: var(--gray); padding: 14px 28px; position: relative; line-height: 1.4; }
.marquee span::after { content: "/"; margin-left: 56px; color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8.5vh, 110px) 0; }
.section-dark { background: var(--ink2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-head { display: grid; grid-template-columns: 72px 1fr; gap: 20px; margin-bottom: clamp(36px, 4.5vh, 56px); align-items: start; }
.sec-index { font-family: "Space Mono", monospace; font-size: 15px; color: var(--accent); padding-top: 6px; letter-spacing: .08em; line-height: 1; }
.sec-label { font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; line-height: 1.4; }
.sec-title { font-family: "Space Mono", monospace; font-weight: 400; font-size: clamp(34px, 5vw, 72px); letter-spacing: -.05em; line-height: 1.03; text-transform: uppercase; }
.sec-title .it { color: var(--accent); }
.sec-sub { color: var(--gray); font-size: 16px; max-width: 46ch; margin-top: 14px; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 26px;
  font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  position: relative; overflow: hidden; z-index: 0;
  border: 1px solid var(--white); color: var(--white); white-space: nowrap;
  transition: color .3s; text-align: center;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--white); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .35s cubic-bezier(.44,0,.56,1); }
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--ink); }
.btn:not(.btn-accent):hover { letter-spacing: .13em; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #0a100a; }
.btn-accent::before { background: #fff; }
.btn-accent:hover { color: #0a100a; }
.btn-accent::after { content: "▸"; margin-left: 6px; display: inline-block; transition: transform .3s, opacity .3s; }
.btn-accent:hover::after { transform: translateX(5px); }
.btn-ghost { border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { color: var(--ink); }

/* ---------- Field notes (live lessons) ---------- */
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.note { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--ink); }
.note-media { position: relative; overflow: hidden; }
.note-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 90% at 50% 45%, transparent 55%, rgba(5,8,5,.62) 100%); pointer-events: none; }
.note video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.9) contrast(1.04) brightness(.94); }
.note-cap { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.note-tag { font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .18em; color: var(--accent); display: block; margin-bottom: 8px; }
.note h3 { font-family: "Space Mono", monospace; font-weight: 400; font-size: 14px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.35; margin-bottom: 6px; }
.note p { color: var(--gray); font-size: 13px; line-height: 1.6; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { background: var(--ink); padding: clamp(24px, 3vw, 40px); }
.why-item strong { display: block; font-family: "Space Mono", monospace; font-weight: 400; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.04em; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.why-item h3 { font-family: "Space Mono", monospace; font-weight: 400; font-size: 17px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.35; margin-bottom: 12px; }
.why-item p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--panel); padding: clamp(20px, 2.4vw, 30px); position: relative; }
.step span { font-family: "Space Mono", monospace; font-size: 13px; color: var(--accent); }
.step h3 { font-family: "Space Mono", monospace; font-weight: 400; font-size: 15px; text-transform: uppercase; line-height: 1.3; margin: 10px 0 8px; }
.step p { color: var(--gray); font-size: 13px; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-wrap { max-width: 720px; }
.form { display: grid; gap: 16px; }
.form label { font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); line-height: 1.4; }
.form input, .form textarea, .form select {
  width: 100%; margin-top: 6px; padding: 15px 16px;
  background: var(--ink); border: 1px solid var(--line2); border-radius: 0;
  font-family: "Inter", sans-serif; font-size: 15px; color: var(--paper); resize: vertical;
  appearance: none; -webkit-appearance: none;
}
.form select { font-family: "Space Mono", monospace; letter-spacing: .06em; }
.form input::placeholder, .form textarea::placeholder { color: var(--gray2); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; }
.form-note { font-family: "Space Mono", monospace; font-size: 12px; color: var(--gray2); line-height: 1.5; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1300; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: rgba(6,9,6,.96);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-close { position: absolute; top: 24px; right: 28px; color: var(--white); font-size: 26px; line-height: 1; }
.lb-inner { text-align: center; max-width: min(1240px, 92vw); }
.lb-kicker { font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: .24em; color: var(--accent); }
#lbVideo { width: 100%; aspect-ratio: 16/9; max-height: 70vh; border: 1px solid var(--line2); margin: 18px 0 12px; background: var(--ink); }
.lb-title { display: block; font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: .08em; color: var(--gray); line-height: 1.5; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.footer { padding: clamp(48px, 6.5vh, 72px) 0 28px; overflow: hidden; }
.footer-mega { font-family: "Space Mono", monospace; font-weight: 700; font-size: clamp(56px, 13vw, 180px); letter-spacing: -.06em; line-height: .8; text-transform: uppercase; }
.footer-mega span { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 40px 0; margin: 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-grid .footer-brand { display: block; font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: .2em; color: var(--gray); margin-bottom: 12px; }
.footer-grid a { display: block; font-family: "Space Mono", monospace; font-size: 15px; margin: 8px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--gray); font-size: 13px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px 0; font-family: "Space Mono", monospace; font-size: 12px; color: var(--gray2); }

/* ---------- Reveal ---------- */
.reveal { opacity: .001; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.44,0,.56,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; gap: 1px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: fixed; inset: 0; background: var(--ink); color: var(--white); flex-direction: column; justify-content: center; gap: 30px; font-size: 26px; text-align: center; z-index: 890; }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; z-index: 900; }
  .grid-head { grid-template-columns: 1fr; gap: 18px; }
  .sec-index { padding-top: 0; }
  .sec-title { line-height: 1.06; }
  .sec-sub { font-size: 15px; }
}
@media (max-width: 700px) {
  .section { padding: 52px 0; }
  .grid-head { margin-bottom: 30px; }
  .sec-label { margin-bottom: 12px; }
  .sec-sub { margin-top: 12px; }
  .steps { grid-template-columns: 1fr; gap: 1px; }
  .notes-grid { grid-template-columns: 1fr; }
  .stage-ctas .btn { width: 100%; }
  .stage-ctas { margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin: 0 8px; }
  .footer-bottom { padding: 18px 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track, .arrow-glyph, .blink { animation: none; }
  .hero-video { animation: none; }
}