/* ============ TOKENS ============ */
:root {
  --void: #000000;
  --panel: #0b0b0c;
  --line: rgba(255, 255, 255, 0.08);
  --steel-hi: #f2f2f0;
  --steel: #c9c9c7;
  --steel-lo: #7e7e7c;
  --dim: #8a8a88;
  --white: #ffffff;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Archivo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none), (pointer: coarse) { body { cursor: auto; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--steel-hi); color: var(--void); }

/* ============ STEEL TEXT ============ */
.steel-text { color: var(--white); }

/* ============ CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--steel-hi); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(242,242,240,0.45);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s;
}
.cursor-ring.is-hover { width: 58px; height: 58px; border-color: rgba(242,242,240,0.9); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--void);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: transform 0.9s var(--ease-out);
}
.preloader.done { transform: translateY(-100%); }
.preloader-logo {
  width: min(52vw, 520px);
  opacity: 0;
  transform: scale(0.92);
  animation: loaderIn 1.1s var(--ease-out) 0.15s forwards;
}
.preloader-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.35em; color: var(--steel-lo);
  opacity: 0; animation: loaderIn 0.8s var(--ease-out) 0.7s forwards;
}
@keyframes loaderIn { to { opacity: 1; transform: scale(1); } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  transition: transform .45s var(--ease-out), background .35s, backdrop-filter .35s;
}
.nav.scrolled { background: rgba(0,0,0,0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.hidden { transform: translateY(-110%); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 30px; width: auto; }
.nav-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--steel-hi); }
.nav-name b { color: var(--steel-lo); font-weight: 500; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--dim);
  text-transform: uppercase; transition: color .25s;
}
.nav-links a:hover { color: var(--steel-hi); }
.nav-cta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--void); background: var(--white);
  padding: 11px 20px; border-radius: 2px; font-weight: 500;
  transition: filter .25s, transform .25s;
}
.nav-cta:hover { background: var(--steel); transform: translateY(-1px); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-name { display: none; } }

/* ============ BUTTONS ============ */
.btn-steel, .btn-ghost {
  display: inline-block; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 30px; border-radius: 2px;
  transition: filter .25s, transform .25s, border-color .25s, color .25s;
}
.btn-steel { background: var(--white); color: var(--void); font-weight: 500; border: none; cursor: none; }
.btn-steel:hover { background: var(--steel); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--dim); }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel-hi); }

/* ============ SHARED ============ */
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.35em;
  color: var(--steel-lo); text-transform: uppercase; margin-bottom: 22px;
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 7vw, 96px); line-height: 1.02;
  color: var(--steel-hi); text-transform: uppercase; letter-spacing: 0.01em;
}
section { padding: clamp(90px, 12vw, 170px) clamp(20px, 6vw, 96px); position: relative; }

/* line-mask reveal for headlines */
.line-mask { display: block; overflow: hidden; }
.line-mask .line {
  display: block; transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.in-view .line-mask .line, .line-mask.in-view .line { transform: translateY(0); }
.line-mask:nth-child(2) .line { transition-delay: .1s; }
.line-mask:nth-child(3) .line { transition-delay: .2s; }

/* generic reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px; overflow: hidden;
}
.hero-logo-wrap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 0;
}
.hero-logo {
  width: min(78vw, 1050px);
  opacity: 0;
  will-change: transform;
  animation: logoFade 1.4s ease-out 0.3s forwards, heroFloat 9s ease-in-out infinite;
}
@keyframes logoFade { to { opacity: 0.4; } }
@keyframes heroFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -16px; } }
.hero-copy { position: relative; z-index: 1; max-width: 1100px; }
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(58px, 10.5vw, 158px); line-height: 0.98;
  color: var(--steel-hi); text-transform: uppercase;
}
.hero-sub { max-width: 520px; margin-top: 30px; color: var(--dim); font-size: 18px; transition-delay: .35s; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; transition-delay: .5s; }
.scroll-cue {
  position: absolute; bottom: 34px; left: clamp(20px, 6vw, 96px);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.35em; color: var(--steel-lo);
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue span { display: block; width: 44px; height: 1px; background: var(--steel-lo); animation: cuePulse 2s ease-in-out infinite; }
@keyframes cuePulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 44px); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 201, 199, 0.4);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ MANIFESTO ============ */
.manifesto { max-width: 1150px; }
.manifesto-text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 6vw, 84px); line-height: 1.05;
  color: var(--steel-hi); text-transform: uppercase;
}
.manifesto-body { max-width: 620px; margin-top: 34px; color: var(--dim); font-size: 19px; }

/* ============ OPERATION / STEPS (staircase = logo motif) ============ */
.operation { border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(50px, 7vw, 100px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 38px 32px 34px; position: relative;
  transition: border-color .35s, transform .5s var(--ease-out);
}
.step:hover { border-color: rgba(242,242,240,0.35); transform: translateY(-6px); }
/* the staircase: each step sits lower, echoing the logo's diagonal */
.step[data-step="1"] { margin-top: 120px; }
.step[data-step="2"] { margin-top: 60px; }
.step[data-step="3"] { margin-top: 0; }
.step-num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; color: var(--steel-lo);
  border: 1px solid var(--line); display: inline-block; padding: 6px 12px; border-radius: 2px; margin-bottom: 26px;
}
.step-title {
  font-family: var(--font-display); font-weight: 400; font-size: 46px; letter-spacing: .02em;
  color: var(--white);
  margin-bottom: 18px;
}
.step-body { color: var(--dim); font-size: 15.5px; }
.step-tag {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; color: var(--steel-lo);
}
.reveal-step { opacity: 0; transform: translateY(60px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-step.in-view { opacity: 1; transform: translateY(0); }
.step[data-step="2"].reveal-step { transition-delay: .15s; }
.step[data-step="3"].reveal-step { transition-delay: .3s; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step[data-step="1"], .step[data-step="2"], .step[data-step="3"] { margin-top: 0; }
}

/* ============ MODEL ============ */
.model { border-top: 1px solid var(--line); }
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.big-zero { font-size: clamp(90px, 13vw, 200px); line-height: .9; display: inline-block; }
.model-body { margin-top: 30px; color: var(--dim); max-width: 480px; font-size: 18px; }
.multiplier-intro { color: var(--steel); font-size: 18px; max-width: 460px; }
.multipliers { display: flex; gap: clamp(18px, 3vw, 44px); margin: 40px 0 28px; }
.multiplier {
  display: flex; align-items: baseline;
  font-family: var(--font-display);
  color: var(--white);
}
.mult-x { font-size: clamp(26px, 3vw, 40px); margin-right: 4px; }
.mult-num { font-size: clamp(64px, 8vw, 120px); line-height: 1; }
.multiplier-note { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--steel-lo); max-width: 440px; }
@media (max-width: 900px) { .model-grid { grid-template-columns: 1fr; } }

/* ============ FIT ============ */
.fit { border-top: 1px solid var(--line); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fit-col { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 40px 36px; }
.fit-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; color: var(--steel-hi); margin-bottom: 28px; }
.fit-not .fit-label { color: var(--steel-lo); }
.fit-col ul { list-style: none; }
.fit-col li {
  padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line);
  color: var(--dim); font-size: 16px; position: relative;
}
.fit-col li:last-child { border-bottom: none; }
.fit-col li::before { content: "+"; position: absolute; left: 0; color: var(--steel-hi); font-family: var(--font-mono); }
.fit-not li::before { content: "—"; color: var(--steel-lo); }
@media (max-width: 820px) { .fit-grid { grid-template-columns: 1fr; } }

/* ============ APPLY ============ */
.apply { border-top: 1px solid var(--line); background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.03), transparent); }
.apply-inner { max-width: 860px; margin: 0 auto; }
.apply-sub { color: var(--dim); max-width: 560px; margin: 26px 0 54px; font-size: 18px; }
.apply-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; display: flex; flex-direction: column; }
.field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; color: var(--steel-lo); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  background: var(--panel); border: 1px solid var(--line); border-radius: 2px;
  color: var(--steel-hi); font-family: var(--font-body); font-size: 16px;
  padding: 15px 16px; outline: none; transition: border-color .25s;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(242,242,240,0.5); }
.field select { appearance: none; cursor: pointer; }
.form-foot { display: flex; align-items: center; gap: 24px; margin-top: 14px; flex-wrap: wrap; }
.form-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--steel-lo); }
.form-status.ok { color: #d9d9d7; }
.form-status.err { color: #b98a8a; }
.apply-form.sent { opacity: .35; pointer-events: none; }
@media (max-width: 700px) { .apply-form .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 80px clamp(20px, 6vw, 96px) 40px; text-align: center; }
.footer-logo { height: 54px; width: auto; margin: 0 auto 34px; opacity: .85; }
.footer-word {
  font-family: var(--font-display); font-size: clamp(34px, 7.5vw, 110px);
  text-transform: uppercase; line-height: 1; margin-bottom: 60px;
}
.footer-meta {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--steel-lo);
  border-top: 1px solid var(--line); padding-top: 26px; text-transform: uppercase;
}
.footer-meta a:hover { color: var(--steel-hi); }

/* ============ MOBILE REFINEMENTS ============ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  html, body { overflow-x: hidden; width: 100%; }

  /* nav: keep brand + a compact CTA only */
  .nav { padding: 14px 18px; }
  .nav-cta { padding: 9px 14px; font-size: 11px; letter-spacing: .08em; }
  .nav-logo { height: 26px; }

  /* hero: tighten spacing, let the mark sit a touch stronger since there's less around it */
  .hero { padding-top: 100px; min-height: 92vh; }
  .hero-logo { width: 100%; }
  .hero-sub { font-size: 16px; margin-top: 24px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn-steel, .hero-actions .btn-ghost { flex: 1 1 100%; text-align: center; }

  /* section rhythm */
  section { padding: 74px 20px; }
  .section-head { margin-bottom: 44px; }

  /* cards full-width already; add breathing room */
  .step { padding: 30px 24px; }
  .fit-col { padding: 30px 24px; }

  /* model numbers stay on one line */
  .multipliers { gap: 16px; }

  /* form stacks */
  .form-foot { gap: 16px; }
  .btn-steel, .btn-ghost { width: 100%; text-align: center; }

  /* footer meta stacks cleanly */
  .footer-meta { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
}

/* very small phones */
@media (max-width: 380px) {
  .nav-cta { font-size: 10px; padding: 8px 11px; }
  .hero-title { font-size: 52px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-step, .line-mask .line { opacity: 1 !important; transform: none !important; }
  .hero-logo { opacity: 0.4 !important; }
  .preloader { display: none; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
