@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/barlow-condensed-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('./assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('./assets/ibm-plex-mono.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #10120e;
  --surface: #181b15;
  --paper: #eeeee4;
  --white: #f5f6ed;
  --lime: #d2fa63;
  --muted: #b2b7a7;
  --line: #353b2e;
  --display: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --body: Inter, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(1.25rem, 5.2vw, 5.25rem);
  --nav: 4.125rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 1.3rem); }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 1rem; line-height: 1.55; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button:not(:disabled) { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--display); font-weight: 800; line-height: .88; text-transform: uppercase; }
h2 { font-size: clamp(3.2rem, 7.2vw, 7rem); letter-spacing: -.025em; }
h3 { font-size: clamp(2rem, 3.5vw, 3.55rem); letter-spacing: -.01em; }

.shell { width: min(100% - var(--gutter) * 2, 85rem); margin-inline: auto; }
.section-space { padding-block: clamp(5rem, 10vw, 9.25rem); }
.mono, .eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .105em; font-size: .7rem; line-height: 1.5; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; }
.tag-line { width: 1.8rem; height: 1px; background: currentColor; flex: 0 0 auto; }
.signal { display: inline-block; width: .44rem; height: .44rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 .75rem #d2fa6366; flex: 0 0 auto; }
.arrow { font-family: var(--body); font-size: 1.18em; font-weight: 600; line-height: 1; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 8; padding: .55rem .9rem; color: var(--ink); background: var(--lime); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid #ffffff14;
  background: #10120ef4;
}
.topbar-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-inner { min-height: var(--nav); }
.wordmark { display: inline-flex; align-items: center; gap: .52rem; font-size: 1.95rem; letter-spacing: -.01em; white-space: nowrap; }
.mark-period { color: var(--lime); margin-inline-start: -.48rem; }
.mark {
  --pixel: .42rem;
  width: var(--pixel);
  height: var(--pixel);
  margin-right: calc(var(--pixel) * 1.25);
  transform: translateY(calc(var(--pixel) * -.55));
  background: var(--lime);
  box-shadow: calc(var(--pixel) * 1.23) 0 var(--lime), 0 calc(var(--pixel) * 1.23) var(--lime),
    calc(var(--pixel) * 1.23) calc(var(--pixel) * 1.23) #779235;
}
.topbar nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.8rem); color: var(--muted); font-size: .86rem; font-weight: 500; }
.topbar nav a { padding-block: .6rem; }
.topbar nav a:hover, .link-button:hover { color: var(--lime); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .75rem 1rem;
  min-height: 2.95rem;
  border: 1px solid transparent;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.2;
  transition: color .18s, background .18s, border-color .18s;
}
.nav-action { min-height: 2.3rem; padding: .45rem .7rem .45rem .8rem; border-color: #6d7c4d; color: var(--lime); font-size: .76rem; }
.button-primary, .nav-action:hover { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #e0ff97; }
.button-ghost { border-color: #e9f2db73; background: #1317127a; color: var(--white); }
.button-ghost:hover { border-color: var(--lime); color: var(--lime); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #30391c; }
.button-dark:focus-visible { outline-color: var(--ink); }

.hero { position: relative; isolation: isolate; min-height: min(46rem, 90svh); display: grid; background: #1a1e17; }
.hero-image, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-image img { height: 100%; object-fit: cover; object-position: center 52%; }
.hero::after {
  content: '';
  background:
    linear-gradient(90deg, #0b0e0aef 0%, #0b0e0aba 25%, #0b0e0a60 54%, transparent 83%),
    linear-gradient(0deg, #0c100beb 0%, #0c100b34 24%, transparent 57%);
}
.hero-inner { position: relative; display: flex; align-items: center; padding-block: clamp(5rem, 9vw, 8rem); }
.hero-content { width: 100%; }
.hero .eyebrow { color: #e0e5d5; margin-bottom: 1.15rem; }
.hero h1 {
  font-size: clamp(4.6rem, 10.3vw, 10.15rem);
  letter-spacing: -.024em;
  margin-left: -.02em;
  text-shadow: 0 4px 36px #0608057d;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-pitch { color: #ebeee3; margin-top: 1.75rem; max-width: 32rem; font-size: clamp(1.07rem, 1.75vw, 1.35rem); line-height: 1.48; }
.hero-pitch strong { font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.hero-caption { position: absolute; bottom: 1rem; right: 0; color: #e0e4d3; font-size: .62rem; }

.spec-strip { background: #171b12; border-block: 1px solid var(--line); }
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec-grid > div { display: flex; flex-direction: column-reverse; justify-content: center; padding: 1.45rem clamp(.85rem, 3.2vw, 3rem); border-left: 1px solid var(--line); }
.spec-grid > div:first-child { padding-left: 0; border-left: 0; }
.spec-grid dd { color: var(--lime); font: 800 clamp(2.65rem, 5vw, 4.65rem)/.93 var(--display); white-space: nowrap; }
.spec-grid dd small { font-size: .46em; letter-spacing: .01em; text-transform: uppercase; }
.spec-grid dt { font: .66rem/1.35 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-top: .58rem; }

.section-intro { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(15rem, 1fr); align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 5vw, 4.6rem); }
.section-intro > p { max-width: 30rem; line-height: 1.62; padding-bottom: .2rem; }
.warehouse .eyebrow { color: var(--lime); }
.warehouse .section-intro > p { color: var(--muted); }
.tour { display: grid; grid-template-columns: minmax(14rem, .68fr) minmax(0, 1.6fr); gap: clamp(1.25rem, 4.2vw, 4.5rem); align-items: start; }
.tour-step {
  min-height: clamp(20rem, 62svh, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}
.tour-step:last-child { border-bottom: 1px solid var(--line); }
.step-number { margin-bottom: .9rem; color: var(--lime); }
.tour-step p { color: var(--muted); margin-top: 1.05rem; max-width: 27rem; }
.tour-stage { position: sticky; top: calc(var(--nav) + 1.2rem); min-width: 0; background: #1b2018; border: 1px solid #434b37; }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .64rem .85rem; }
.viewer-top { min-height: 3.15rem; border-bottom: 1px solid #434b37; }
.viewer-title { display: inline-flex; align-items: center; gap: .55rem; color: #e3e7d7; font-size: .63rem; }
.view-switch { display: flex; background: #11160e; border: 1px solid #48513b; padding: .16rem; gap: .13rem; }
.view-switch button {
  border: 0;
  background: transparent;
  padding: .42rem .65rem;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.1;
  color: var(--muted);
}
.view-switch button:hover { color: var(--white); }
.view-switch button[aria-pressed="true"] { color: var(--ink); background: var(--lime); }
.view-switch button:focus-visible { outline-offset: 2px; }
.viewer-scene { position: relative; isolation: isolate; height: clamp(21rem, 54svh, 34rem); overflow: hidden; background: radial-gradient(ellipse at 49% 42%, #252e20, #171d15 72%); }
.viewer-mount, .viewer-fallback { position: absolute; inset: 0; }
.viewer-mount canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.viewer-mount canvas.dragging { cursor: grabbing; }
.viewer-mount canvas.on-room { cursor: pointer; }
.viewer-mount canvas:focus-visible { outline-offset: -3px; }
.viewer-fallback { display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse at 52% 48%, #2b3622 0, #181e15 62%); }
.tour-stage.has-3d .viewer-fallback { display: none; }
.fallback-floor {
  width: min(59%, 22rem);
  aspect-ratio: 1.06;
  transform: rotate(-31deg) skew(12deg, 5deg) scaleY(.82);
  border: 1px solid #9db768;
  box-shadow: 0 8px #272f1e, 0 18px 50px #0609049e;
  background:
    repeating-linear-gradient(90deg, transparent 0 9.5%, #9db768 9.5% 10%),
    repeating-linear-gradient(0deg, #87a65d40 0 9.5%, #9db768 9.5% 10%);
}
.fallback-room {
  display: none;
  position: relative;
  width: min(58%, 17rem);
  aspect-ratio: 1;
  border: 2px solid #9db768;
  background: #445437;
  box-shadow: 0 0 60px #97ad6433;
}
.fallback-room div { width: 63%; height: 24%; margin: 1rem auto 0; border: 2px solid #c4d1a6; background: #758b57; }
.fallback-room span { position: absolute; inset: auto 0 -.2rem; padding: .4rem; color: var(--lime); transform: translateY(100%); text-align: center; font: .8rem var(--mono); }
.tour-stage[data-mode="room"] .fallback-floor { display: none; }
.tour-stage[data-mode="room"] .fallback-room { display: block; }
.viewer-controls { position: absolute; display: flex; flex-direction: column; gap: .2rem; right: .8rem; bottom: .8rem; }
.viewer-controls button {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #626b55;
  padding: 0;
  background: #11160ee8;
  color: var(--white);
  font-size: 1.23rem;
  line-height: 1;
}
.viewer-controls button:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.viewer-bottom { min-height: 2.9rem; border-top: 1px solid #434b37; }
.viewer-status { color: #c2d49d; font-size: .63rem; letter-spacing: .055em; }
.viewer-help { color: var(--muted); font-size: .69rem; text-align: right; }

.format { background: var(--paper); color: #151912; }
.format :focus-visible { outline-color: #242f13; }
.format .eyebrow { color: #4e5c35; }
.format .section-intro > p { color: #494e41; }
.format-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.4rem, 5vw, 5rem); align-items: stretch; }
.founder-shot { position: relative; min-height: 26rem; overflow: hidden; background: #343a2b; }
.founder-shot img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 42% center; }
.founder-shot figcaption { position: absolute; inset: auto auto 0 0; background: #11160edb; color: #eef2df; padding: .42rem .6rem; font-size: .62rem; }
.beats { list-style: none; padding: 0; margin: 0; display: grid; }
.beats li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .6rem; padding-block: 1.45rem; border-top: 1px solid #b9bdac; align-content: center; }
.beats li:last-child { border-bottom: 1px solid #b9bdac; }
.beats li > span { color: #586641; padding-top: .17rem; }
.beats h3 { font-size: clamp(1.9rem, 3.1vw, 3.15rem); }
.beats p { margin-top: .55rem; color: #494e41; font-size: .94rem; }
.score {
  margin-top: clamp(2.5rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.23fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(1.65rem, 5vw, 4.3rem);
  background: #161a12;
  color: var(--white);
}
.score-number { display: grid; gap: .42rem; }
.score-number .mono { color: var(--lime); }
.score-number strong { font: 800 clamp(4.8rem, 10vw, 8.65rem)/.84 var(--display); color: var(--lime); white-space: nowrap; }
.score-number strong small { font-size: .42em; letter-spacing: .02em; }
.score-number > span:last-child { color: var(--muted); margin-top: .32rem; font-size: .8rem; }
.score-copy h3 { font-size: clamp(2.2rem, 3.8vw, 3.7rem); }
.score-copy p { margin-top: .75rem; color: #cad0bd; }

.partners { color: #141910; background: var(--lime); }
.partner-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: clamp(2rem, 9vw, 9rem); align-items: start; }
.partner-pitch h2 { font-size: clamp(4rem, 9.5vw, 9rem); }
.partner-pitch > p:not(.eyebrow) { margin-block: 1.15rem 1.5rem; font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 29rem; }
.contact-note { display: block; font-size: .72rem; color: #33441e; margin-top: .5rem; }
.investment > div { padding-block: 1.05rem; border-top: 1px solid #56633388; }
.investment > div:last-child { border-bottom: 1px solid #56633388; }
.investment dt { font-size: .97rem; font-weight: 750; margin-bottom: .32rem; }
.investment dd { font-size: .92rem; color: #303e20; }
.partner-note { border-top: 1px solid #56633388; padding-top: .9rem; margin-top: clamp(2.6rem, 5vw, 4.5rem); color: #36491f; }

footer { border-top: 1px solid #10120e; }
.footer-inner { min-height: 6rem; flex-wrap: wrap; }
.footer-inner .wordmark { font-size: 1.65rem; }
#copy-status { font-size: .77rem; color: var(--muted); margin-left: auto; }
#copy-status:empty { display: none; }
.link-button { background: transparent; border: 0; padding: .35rem 0; font-size: .82rem; font-weight: 600; color: var(--muted); }

@media (max-width: 880px) {
  .tour { gap: 1.45rem; grid-template-columns: minmax(11rem, .75fr) minmax(0, 1.5fr); }
  .viewer-help { max-width: 9.5rem; }
  .section-intro { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}

@media (max-width: 700px) {
  :root { --nav: 3.75rem; }
  .topbar nav { display: none; }
  .hero { min-height: min(38rem, 90svh); }
  .hero-inner { align-items: end; }
  .hero-image img { object-position: 58% center; }
  .hero::after {
    background: linear-gradient(0deg, #0a0d09f7 3%, #0a0d09cf 34%, #0a0d0933 79%),
      linear-gradient(90deg, #0a0d097d, transparent 91%);
  }
  .hero h1 { font-size: clamp(3.45rem, 11vw, 5.4rem); }
  .hero-pitch { margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.3rem; }
  .hero-caption { right: auto; left: 0; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid > div { padding: 1.2rem; }
  .spec-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .spec-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section-intro { grid-template-columns: 1fr; gap: 1rem; }
  .eyebrow { margin-bottom: .8rem; }
  .tour { display: flex; flex-direction: column-reverse; gap: 1.35rem; }
  .tour-stage { width: 100%; position: relative; top: auto; }
  .viewer-scene { height: clamp(18rem, 78vw, 24rem); }
  .viewer-bottom { min-height: 3.4rem; }
  .tour-story { display: grid; gap: .2rem; width: 100%; }
  .tour-step { min-height: auto; padding-block: 1.2rem; }
  .tour-step p { margin-top: .65rem; }
  .step-number { margin-bottom: .55rem; }
  .format-feature, .score, .partner-grid { grid-template-columns: 1fr; }
  .founder-shot { min-height: 0; aspect-ratio: 4 / 3; }
  .score { gap: 1.45rem; }
}

@media (max-width: 365px) {
  .hero h1 { font-size: 15.2vw; }
  .topbar .wordmark { font-size: 1.65rem; }
  .spec-grid dd { font-size: 2.38rem; }
  .nav-action { gap: .35rem; padding-inline: .5rem; }
  .viewer-top, .viewer-bottom { padding-inline: .55rem; }
  .viewer-help { max-width: 6.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
