
/* styles.css */
/* ==========================================================================
   PATHOS — site styles
   Layout: narrow centred column, floating nav card, halftone hero art,
   product preview in a device frame. Palette: cream / black / gold / pink.
   ========================================================================== */

:root {
  --bg: #f3e9e1;
  --surface: #fbf7f2;
  --surface-2: #efe3d8;
  --ink: #0a0806;
  --text: #4a4038;
  --muted: #7d7166;
  --faint: #a2978b;
  --gold: #7b5d23;
  --gold-light: #d2af70;
  --pink: #f0a3bb;
  --pink-deep: #b8577a;
  --line: rgba(10, 8, 6, 0.09);
  --line-strong: rgba(10, 8, 6, 0.16);
  --live: #3f7a4a;

  --col: 800px;
  --wide: 1040px;
  --gutter: 20px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-card: 0 1px 2px rgba(40, 25, 10, 0.05), 0 10px 30px -18px rgba(40, 25, 10, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; }
p { margin: 0; }
code { font-family: var(--font-mono); font-size: 0.86em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 200; padding: 8px 12px; background: var(--ink); color: var(--bg); border-radius: 6px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--col) + var(--gutter) * 2); }

.accent { color: var(--gold); }
.accent--mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: -0.04em; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  font-size: 0.875rem; font-weight: 500; text-decoration: none;
  border: 0; border-radius: 8px;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn-dark { background: var(--ink); color: var(--bg); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 6px 16px -8px rgba(10,8,6,0.6); }
.btn-dark:hover { background: #2a231d; transform: translateY(-1px); }
.btn-dark:active { transform: translateY(0); }

/* ---------- Floating nav ---------- */

.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto;
  position: relative;
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 50px; padding: 0 8px 0 16px;
  background: rgba(251, 247, 242, 0.97);
  border: 1px solid rgba(10, 8, 6, 0.06);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(40, 25, 10, 0.04), 0 12px 32px -20px rgba(40, 25, 10, 0.35);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.scrolled { background: #fbf7f2; box-shadow: 0 1px 2px rgba(40, 25, 10, 0.06), 0 16px 40px -18px rgba(40, 25, 10, 0.45); }

.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.brand-mark { color: var(--ink); }

.menu-btn {
  width: 40px; height: 40px; padding: 0; border: 0; background: transparent; border-radius: 10px;
  display: grid; place-content: center; gap: 4px;
}
.menu-btn:hover { background: rgba(10, 8, 6, 0.05); }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid rgba(10, 8, 6, 0.06);
  border-radius: 14px;
  box-shadow: 0 20px 50px -24px rgba(40, 25, 10, 0.5);
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top center;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav.open .menu { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.nav-link { padding: 10px 12px; border-radius: 9px; font-size: 0.875rem; text-decoration: none; color: var(--text); transition: background 0.15s, color 0.15s; }
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-link--cta { grid-column: 1 / -1; background: var(--ink); color: var(--bg); text-align: center; margin-top: 4px; }
.nav-link--cta:hover { background: #2a231d; color: var(--bg); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 150px var(--gutter) 56px; overflow-x: clip; overflow-y: visible; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }

.announce {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  font-size: 0.8125rem; font-weight: 500; text-decoration: none;
  color: var(--bg); background: var(--gold);
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 16px -8px rgba(123, 93, 35, 0.8);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.announce:hover { background: #8c6b2a; transform: translateY(-1px); }
.announce svg { transition: transform 0.2s var(--ease); }
.announce:hover svg { transform: translateX(2px); }

.hero-title {
  margin-top: 34px;
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.hero-sub { margin: 22px auto 0; max-width: 30em; font-size: 1.0625rem; color: var(--text); }
.hero-cta { margin-top: 28px; }

.halftone { position: absolute; z-index: 1; pointer-events: none; display: block; height: auto; will-change: transform; }
.halftone--hand { width: min(31vw, 450px); left: max(-2vw, -30px); top: 410px; }
.halftone--board { width: min(31vw, 450px); right: max(-2vw, -30px); top: 96px; }
.halftone.settled { animation: drift 8s ease-in-out infinite; }
.halftone--board.settled { animation-delay: -4s; }
.hero-off .halftone { animation-play-state: paused; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.logos {
  position: relative; z-index: 2;
  list-style: none; margin: 72px auto 0; padding: 0;
  max-width: 820px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px;
  color: #8f857a;
}
.logo { font-size: 1.0625rem; line-height: 1; white-space: nowrap; transition: color 0.2s; }
.logo:hover { color: var(--ink); }
.logo--serif { font-family: var(--font-editorial); font-size: 1.125rem; }
.logo--caps { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.logo--caps small { font-size: 0.53125rem; letter-spacing: 0.22em; font-weight: 500; }
.logo--heavy { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; }
.logo--wide { font-weight: 600; letter-spacing: 0.02em; }
.logo--mono { font-family: var(--font-mono); font-size: 0.9375rem; }
.logo--light { font-weight: 400; font-size: 1.1875rem; letter-spacing: -0.02em; }

/* ---------- Device tour (scroll-driven) ----------
   The section is tall; .device-stage sticks to the viewport while main.js maps
   scroll progress to the iPad's rotation and to which screenshot is showing. */

.device-section { position: relative; z-index: 3; height: 440vh; }
.device-stage {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px var(--gutter) 20px;
  perspective: 1800px;
}
.device {
  --rx: 0deg; --ry: 0deg; --rz: 0deg; --s: 1;
  position: relative;
  width: min(960px, 100%, calc((100svh - 230px) * 1.43));
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(160deg, #46413b 0%, #1c1916 55%, #2a2622 100%);
  box-shadow: 0 0 0 1px #0a0806, inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)) scale(var(--s));
  will-change: transform;
}
/* Static floor shadow (not part of the rotating layer, so it never re-composites with it). */
.device-shadow {
  width: min(900px, 92%); height: 46px; margin-top: -22px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(40, 25, 10, 0.34), rgba(40, 25, 10, 0) 70%);
  pointer-events: none;
}
.device::before { /* front camera */
  content: ""; position: absolute; top: 50%; left: 5px; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: #0d0b09; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.device-screen {
  border-radius: 19px; overflow: hidden;
  padding: 3.2%;
  background: #1a1612 url('assets/marble-sm.webp') center 35% / cover no-repeat;
}
.screen-window {
  position: relative; aspect-ratio: 1600 / 1100;
  border-radius: 10px; overflow: hidden;
  background: #ede7dd;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 10px 22px -12px rgba(0, 0, 0, 0.55);
}
.screen-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity 0.42s var(--ease), transform 0.7s var(--ease);
}
.screen-shot.is-on { opacity: 1; transform: none; }

.device-meta { width: min(960px, 100%); margin-top: 4px; display: grid; justify-items: center; gap: 12px; }
.device-steps {
  list-style: none; margin: 0; padding: 4px;
  display: flex; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.step-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px;
  border: 0; border-radius: 9px; background: transparent;
  font-size: 0.84375rem; color: var(--muted); white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s;
}
.step-btn:hover { color: var(--ink); }
.step-btn.is-on { background: var(--ink); color: var(--bg); }
.device-captions { position: relative; width: 100%; max-width: 620px; height: 3em; text-align: center; }
.device-caption {
  position: absolute; inset: 0; font-size: 0.90625rem; color: var(--text);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.device-caption.is-on { opacity: 1; transform: none; }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.cv { content-visibility: auto; contain-intrinsic-size: auto 900px; }

.sec-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78125rem; color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--gold); }
.sec-head h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; }
.sec-head p:not(.eyebrow) { margin-top: 14px; font-size: 1.03125rem; }
.sec-head a { color: var(--gold); text-underline-offset: 3px; }

.grid { display: grid; gap: 14px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
ol.grid { list-style: none; margin: 0; padding: 0; }

.card, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.card { padding: 20px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(40,25,10,0.05), 0 18px 40px -20px rgba(40,25,10,0.35); }
.card-kicker { color: var(--ink); font-weight: 500; font-size: 0.96875rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card-text { font-size: 0.90625rem; color: var(--text); }
.card h3 { font-size: 1rem; margin: 10px 0 6px; letter-spacing: -0.01em; }

.statement { max-width: 640px; margin: 36px auto 0; text-align: center; font-size: 1.1875rem; line-height: 1.45; color: var(--ink); letter-spacing: -0.015em; }
.statement em { font-style: normal; font-family: var(--font-mono); font-size: 0.92em; color: var(--gold); letter-spacing: -0.03em; }

.step { font-family: var(--font-mono); font-size: 0.78125rem; color: var(--gold); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; font-size: 0.75rem; font-weight: 500; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.pill--live { background: #e3ead9; color: var(--live); }
.pill--live::before { opacity: 1; animation: pulse 2s ease-in-out infinite; }
.pill--no { background: #f6dde4; color: var(--pink-deep); }
@keyframes pulse { 50% { opacity: 0.25; } }

/* Sensors */
.panel { overflow: hidden; }
.sensor-row {
  display: grid; grid-template-columns: 1.1fr 0.9fr 2fr auto; gap: 20px; align-items: baseline;
  padding: 16px 22px; border-top: 1px solid var(--line);
  transition: background 0.2s;
}
.sensor-row:hover:not(.sensor-row--head) { background: rgba(255,255,255,0.6); }
.sensor-row--head { border-top: 0; padding-top: 14px; padding-bottom: 12px; font-family: var(--font-mono); font-size: 0.71875rem; color: var(--faint); background: var(--surface-2); }
.sensor-row h3 { font-size: 0.9375rem; font-weight: 500; }
.sensor-row code { color: var(--gold); font-size: 0.8125rem; }
.sensor-row p { font-size: 0.90625rem; }

/* Callout */
.callout { max-width: 680px; margin: 28px auto 0; padding: 18px 22px; border-radius: 14px; background: var(--ink); color: #d8cdc2; }
.callout-label { font-family: var(--font-mono); font-size: 0.78125rem; color: var(--gold-light); margin-bottom: 6px; }
.callout p:last-child { font-size: 0.90625rem; }

/* Hardware */
.checks, .lines { list-style: none; margin: 0; padding: 0; }
.checks li, .lines li { position: relative; padding: 7px 0 7px 22px; font-size: 0.90625rem; border-top: 1px solid var(--line); }
.checks li:first-child, .lines li:first-child { border-top: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 5px; border-left: 1.8px solid var(--live); border-bottom: 1.8px solid var(--live); transform: rotate(-45deg); }
.checks--open li::before { width: 9px; height: 9px; top: 12px; border: 1.5px solid var(--faint); border-radius: 3px; transform: none; }
.lines li { padding-left: 16px; }
.lines li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 5px; height: 5px; border-radius: 2px; background: var(--gold-light); }
.specs { margin: 0; font-size: 0.875rem; }
.specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.specs > div:first-child { border-top: 0; }
.specs dt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint); }
.specs dd { margin: 0; color: var(--ink); text-align: right; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot {
  position: relative; display: block; width: 100%; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--surface); text-align: left; cursor: zoom-in;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.shot:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(40,25,10,0.4); }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.shot img.loaded { opacity: 1; transform: none; }
.shot img.fade-in { animation: img-in 0.6s var(--ease) both; }
@keyframes img-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.shot--portrait img { aspect-ratio: 952 / 1652; max-height: 520px; object-position: top; }
.shot-caption { display: block; padding: 12px 14px 14px; }
.shot-caption-text strong { display: block; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.shot-caption-text span { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--muted); }
.shot.is-missing { cursor: default; }
.shot.is-missing img { display: none; }
.shot.is-missing::before { content: "Missing: " attr(data-missing-label); display: grid; place-items: center; aspect-ratio: 4 / 5; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }

/* Log */
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 22px; border-top: 1px solid var(--line); }
.log li:first-child { border-top: 0; }
.log time { font-family: var(--font-mono); font-size: 0.78125rem; color: var(--muted); padding-top: 2px; }
.log h3 { font-size: 1rem; margin-bottom: 2px; }
.log p { font-size: 0.90625rem; }
.log .is-now time { color: var(--gold); }
.log .is-now time::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--pink-deep); vertical-align: 1px; animation: pulse 2s ease-in-out infinite; }

/* Partners */
.partners { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 14px; align-items: start; }
.partner-list > div { padding: 16px 22px; border-top: 1px solid var(--line); }
.partner-list > div:first-child { border-top: 0; }
.partner-list h3 { font-size: 0.96875rem; margin-bottom: 2px; }
.partner-list p { font-size: 0.90625rem; }
.partners-side { display: grid; gap: 14px; }
.partners-side .callout { margin: 0; }

/* Roadmap */
.is-isnt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.is-isnt p { padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--line-strong); font-size: 0.9375rem; color: var(--ink); }
.is-isnt .pill { margin-right: 8px; }

/* Workshops */
.workshop-list { list-style: none; margin: 0; padding: 0; }
.workshop-list li { display: grid; grid-template-columns: 40px 1fr 1.4fr; gap: 6px 18px; padding: 16px 22px; border-top: 1px solid var(--line); align-items: baseline; }
.workshop-list li:first-child { border-top: 0; }
.workshop-list h3 { font-size: 0.9375rem; }
.workshop-list p { font-size: 0.90625rem; }

/* Team */
.person { text-align: left; }
.initials { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--gold-light); font-family: var(--font-mono); font-size: 0.8125rem; }
.person h3 { margin-top: 16px; font-size: 1.0625rem; }
.role { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold); margin: 2px 0 10px; }
.fine { max-width: 640px; margin: 22px auto 0; text-align: center; font-size: 0.84375rem; color: var(--muted); }

/* Contact */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 40px; border-radius: 24px;
  background: var(--ink); color: #cfc4b8;
  box-shadow: 0 40px 80px -50px rgba(40, 25, 10, 0.8);
}
.contact .eyebrow { color: #a39787; }
.contact h2 { color: var(--bg); font-size: clamp(1.875rem, 4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.contact .accent { color: var(--gold-light); }
.contact-email { display: inline-block; margin-top: 22px; font-size: 1.375rem; color: var(--bg); text-decoration: none; letter-spacing: -0.02em; border-bottom: 1px solid var(--gold-light); padding-bottom: 2px; transition: color 0.2s; }
.contact-email:hover { color: var(--gold-light); }
.contact-links { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 0.875rem; }
.contact-links a { text-decoration: none; color: #cfc4b8; transition: color 0.2s; }
.contact-links a:hover { color: var(--gold-light); }
.contact-form { display: grid; gap: 12px; align-content: start; }
.form-group label { display: block; font-size: 0.8125rem; color: #a39787; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 10px 12px;
  background: #16120e; color: var(--bg);
  border: 1px solid #332b24; border-radius: 9px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(210, 175, 112, 0.18); }
.form-group [aria-invalid="true"] { border-color: var(--pink); }
.contact .btn-dark { background: var(--gold-light); color: var(--ink); justify-self: start; }
.contact .btn-dark:hover { background: #e2c389; }
.form-intro { font-size: 0.78125rem; color: #8a7f73; }
.form-status { font-size: 0.84375rem; }
.form-status.error { color: var(--pink); }
.form-status.success { color: #a6d9ae; }

/* Footer */
.footer { padding: 40px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.875rem; }
.footer-links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }
.footer-fine { flex-basis: 100%; font-size: 0.78125rem; color: var(--faint); }

/* ---------- Lightbox ---------- */

.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(243, 233, 225, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
.lightbox.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox-figure { position: relative; margin: 0; max-width: min(1000px, 92vw); max-height: 86vh; display: flex; flex-direction: column; gap: 12px;
  transform: scale(0.97); transition: transform 0.35s var(--ease); }
.lightbox.open .lightbox-figure { transform: none; }
.lightbox-figure img { max-height: 76vh; width: auto; margin: 0 auto; min-height: 120px; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(40,25,10,0.6); }
.lightbox-caption { text-align: center; }
.lightbox-caption strong { display: block; font-weight: 500; color: var(--ink); }
.lightbox-caption span { display: block; font-size: 0.875rem; color: var(--muted); }
.lightbox-btn, .lightbox-close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-card); }
.lightbox-btn:hover, .lightbox-close:hover { background: #fff; }
.lightbox-btn { position: absolute; top: 40%; }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-close { position: fixed; top: 18px; right: 18px; }
.lightbox-counter { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
body.lightbox-open { overflow: hidden; }

/* ---------- Motion: intro + reveals (only with JS) ---------- */

.js [data-intro] { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), filter 0.8s var(--ease); }
.js.ready [data-intro] { opacity: 1; transform: none; filter: none; }
.js [data-intro="1"] { transition-delay: 0.08s; }
.js [data-intro="2"] { transition-delay: 0.18s; }
.js [data-intro="3"] { transition-delay: 0.28s; }
.js [data-intro="4"] { transition-delay: 0.5s; }

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .card[data-reveal].in { transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr; }
  .partners-side { grid-template-columns: 220px 1fr; align-items: start; }
  .sensor-row { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .sensor-row code { grid-row: 2; }
  .sensor-row p { grid-column: 1 / -1; grid-row: 3; }
  .sensor-row .pill { grid-row: 1; grid-column: 2; }
  .sensor-row--head { display: none; }
  .sensor-row:nth-child(2) { border-top: 0; }
}

@media (max-width: 720px) {
  .hero { padding-top: 120px; }
  .hero-title { margin-top: 28px; }
  .halftone--hand { width: 58vw; left: -14vw; top: 440px; }
  .halftone--board { width: 58vw; right: -14vw; top: 64px; opacity: 0.85; }
  .device-section { height: 380vh; }
  .device-stage { padding-top: 76px; }
  .device { width: 100%; padding: 7px; border-radius: 20px; }
  .device-screen { border-radius: 14px; padding: 4%; }
  .screen-window { border-radius: 6px; }
  .device-steps { width: 100%; justify-content: space-between; }
  .device-steps li { flex: 1 1 0; min-width: 0; }
  .step-btn { width: 100%; justify-content: center; padding: 0 4px; font-size: 0.71875rem; gap: 5px; height: 32px; }
  .device-captions { height: 4.6em; }
  .device-caption { font-size: 0.84375rem; }
  .logos { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; margin-top: 56px; justify-items: center; }
  .section { padding: 72px 0; }
  .grid--3, .gallery, .is-isnt { grid-template-columns: 1fr; }
  .gallery .shot img { aspect-ratio: 4 / 3; }
  .partners-side { grid-template-columns: 1fr; }
  .press-strip { max-width: 260px; }
  .log li { grid-template-columns: 1fr; gap: 4px; }
  .workshop-list li { grid-template-columns: 32px 1fr; }
  .workshop-list li p { grid-column: 2; }
  .contact { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 20px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Marble cards, larger type, tighter rhythm
   Cards sit on the marble art under a dark tint (heavier where text starts,
   lighter toward the far corner so the marble shows). Text is cream.
   ========================================================================== */

:root {
  --on-dark: #f6efe7;
  --on-dark-2: #ddd2c6;
  --on-dark-3: #b7ab9c;
  --dark-line: rgba(255, 255, 255, 0.1);
}

body { font-size: 1.125rem; }

/* --- Marble surfaces --- */
.card, .panel, .callout, .is-isnt p, .shot, .contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #16120e;
  border: 1px solid rgba(10, 8, 6, 0.5);
  color: var(--on-dark-2);
  box-shadow: 0 1px 2px rgba(40, 25, 10, 0.08), 0 16px 34px -22px rgba(40, 25, 10, 0.55);
}
.card::before, .panel::before, .callout::before, .is-isnt p::before, .shot::before, .contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(135deg, rgba(14, 10, 7, 0.9) 0%, rgba(14, 10, 7, 0.76) 52%, rgba(14, 10, 7, 0.42) 100%),
    url('assets/marble-sm.webp') var(--mp, 50% 40%) / cover no-repeat;
  transition: transform 0.7s var(--ease);
}
/* Long lists keep a steadier tint so every row stays readable. */
.panel::before {
  background:
    linear-gradient(180deg, rgba(14, 10, 7, 0.84), rgba(14, 10, 7, 0.88)),
    url('assets/marble-sm.webp') var(--mp, 30% 60%) / cover no-repeat;
}
.card:hover::before, .shot:hover::before { transform: scale(1.06); }
.card, .panel, .callout, .is-isnt p, .shot, .contact { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }

/* Different crop of the art per card */
.grid > :nth-child(4n+1) { --mp: 8% 30%; }
.grid > :nth-child(4n+2) { --mp: 55% 20%; }
.grid > :nth-child(4n+3) { --mp: 92% 60%; }
.grid > :nth-child(4n+4) { --mp: 30% 90%; }
.gallery > :nth-child(1) { --mp: 15% 80%; }
.gallery > :nth-child(2) { --mp: 60% 15%; }
.gallery > :nth-child(3) { --mp: 95% 50%; }
.is-isnt p:first-child { --mp: 50% 25%; }
.is-isnt p:last-child { --mp: 85% 75%; }
.contact { --mp: 70% 30%; }
.contact::before {
  background:
    linear-gradient(100deg, rgba(10, 8, 6, 0.95) 0%, rgba(10, 8, 6, 0.88) 55%, rgba(10, 8, 6, 0.55) 100%),
    url('assets/marble-sm.webp') var(--mp) / cover no-repeat;
}

/* --- Text on marble --- */
.card-kicker, .card h3, .sensor-row h3, .log h3, .partner-list h3, .workshop-list h3, .person h3,
.specs dd, .shot-caption-text strong, .is-isnt p { color: var(--on-dark); }
.card-text, .sensor-row p, .log p, .partner-list p, .workshop-list p, .callout p:last-child,
.checks li, .lines li { color: var(--on-dark-2); }
.step, .sensor-row code, .role, .callout-label { color: var(--gold-light); }
.specs dt, .log time, .shot-caption-text span { color: var(--on-dark-3); }
.log .is-now time { color: var(--gold-light); }
.log .is-now time::after { background: var(--pink); }

.sensor-row, .log li, .partner-list > div, .workshop-list li { border-top-color: var(--dark-line); }
.checks li, .lines li, .specs > div { border-top-color: var(--dark-line); }
.sensor-row--head { background: rgba(0, 0, 0, 0.35); color: var(--on-dark-3); }
.sensor-row:hover:not(.sensor-row--head) { background: rgba(255, 255, 255, 0.04); }
.checks li::before { border-color: #9fd3a8; }
.checks--open li::before { border-color: var(--on-dark-3); }

.pill { background: rgba(255, 255, 255, 0.1); color: #e6dccf; }
.pill--live { background: rgba(120, 190, 130, 0.18); color: #b2e0ba; }
.pill--no { background: rgba(240, 163, 187, 0.18); color: var(--pink); }
.initials { background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px var(--dark-line); }
.is-isnt p { border-style: solid; }

/* Photos: caption sits on the marble strip under the image */
.shot img { position: relative; z-index: 0; }
.shot.is-missing::before { position: static; z-index: auto; background: none; color: var(--on-dark-3); transform: none; }

/* --- Larger type --- */
.announce { font-size: 0.875rem; padding: 7px 12px; }
.hero-inner { max-width: 840px; }
.hero-title { font-size: clamp(2.375rem, 4.9vw, 4rem); }
.hero-sub { font-size: 1.25rem; max-width: 32em; }
.btn { font-size: 0.96875rem; min-height: 44px; padding: 0 18px; }
.logo { font-size: 1.15625rem; }
.logo--caps { font-size: 0.8125rem; }
.logo--caps small { font-size: 0.59375rem; }
.logo--heavy { font-size: 1.375rem; }
.logo--mono { font-size: 1.03125rem; }
.logo--serif { font-size: 1.25rem; }
.nav-link { font-size: 0.96875rem; }
.brand { font-size: 1.125rem; }

.eyebrow { font-size: 0.875rem; margin-bottom: 10px; }
.sec-head { max-width: 700px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(2.125rem, 4.8vw, 3.5rem); }
.sec-head p:not(.eyebrow) { margin-top: 10px; font-size: 1.1875rem; }
.card { padding: 24px; }
.card-kicker { font-size: 1.21875rem; margin-bottom: 8px; }
.card-text { font-size: 1.03125rem; line-height: 1.55; }
.card h3 { font-size: 1.21875rem; margin: 8px 0 6px; }
.step { font-size: 0.875rem; }
.statement { font-size: 1.4375rem; margin-top: 24px; max-width: 720px; }
.sensor-row { padding: 18px 24px; }
.sensor-row--head { font-size: 0.8125rem; }
.sensor-row h3 { font-size: 1.09375rem; }
.sensor-row code { font-size: 0.9375rem; }
.sensor-row p { font-size: 1.03125rem; }
.pill { font-size: 0.84375rem; padding: 4px 10px; }
.callout { margin-top: 18px; padding: 20px 24px; }
.callout-label { font-size: 0.875rem; }
.callout p:last-child { font-size: 1.03125rem; }
.checks li, .lines li { font-size: 1.03125rem; padding-top: 8px; padding-bottom: 8px; }
.checks li::before { top: 16px; }
.checks--open li::before { top: 14px; }
.lines li::before { top: 18px; }
.specs { font-size: 1rem; }
.specs dt { font-size: 0.8125rem; }
.shot-caption { padding: 14px 16px 16px; }
.shot-caption-text strong { font-size: 1.03125rem; }
.shot-caption-text span { font-size: 0.9375rem; }
.log li { padding: 18px 24px; grid-template-columns: 120px 1fr; }
.log time { font-size: 0.875rem; }
.log h3 { font-size: 1.21875rem; }
.log p { font-size: 1.03125rem; }
.partner-list > div { padding: 16px 24px; }
.partner-list h3 { font-size: 1.15625rem; }
.partner-list p { font-size: 1.03125rem; }
.is-isnt p { font-size: 1.125rem; padding: 18px 22px; display: flex; align-items: baseline; gap: 12px; }
.is-isnt .pill { margin-right: 0; flex: none; }
.workshop-list li { padding: 16px 24px; }
.workshop-list h3 { font-size: 1.09375rem; }
.workshop-list p { font-size: 1.03125rem; }
.initials { width: 44px; height: 44px; font-size: 0.875rem; }
.person h3 { font-size: 1.25rem; margin-top: 14px; }
.role { font-size: 0.84375rem; }
.fine { font-size: 0.96875rem; margin-top: 16px; max-width: 700px; }
.contact p { font-size: 1.125rem; }
.contact h2 { font-size: clamp(2.125rem, 4.8vw, 3.5rem); }
.contact-email { font-size: 1.6875rem; margin-top: 18px; }
.contact-links { font-size: 1.03125rem; margin-top: 18px; }
.form-group label { font-size: 0.90625rem; }
.form-group input, .form-group textarea { font-size: 1.03125rem; padding: 11px 13px; }
.form-intro { font-size: 0.875rem; }
.footer-links { font-size: 1rem; }
.footer-fine { font-size: 0.875rem; }
.step-btn { font-size: 0.9375rem; height: 38px; padding: 0 14px; }
.device-caption { font-size: 1.0625rem; }
.device-captions { max-width: 680px; }
.lightbox-caption span { font-size: 1rem; }

.logos { max-width: 1040px; gap: 18px 34px; }
.halftone--hand { top: 560px; width: min(27vw, 400px); }
.logos { max-width: 860px; }
@media (max-width: 1280px) { .logos { max-width: 640px; } }
/* --- Founder card --- */
.founder { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; max-width: 900px; margin: 0 auto; padding: 28px; --mp: 70% 35%; }
.founder-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 36px -18px rgba(0, 0, 0, 0.7); }
.founder h3 { font-size: 1.875rem; letter-spacing: -0.02em; }
.founder .role { font-size: 0.9375rem; margin: 4px 0 14px; }
.founder-facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.founder-facts li { padding: 6px 11px; border-radius: 8px; font-size: 0.90625rem; color: var(--on-dark); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--dark-line); }
.founder-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  min-height: 42px; padding: 0 16px; border-radius: 9px;
  font-size: 0.96875rem; font-weight: 500; text-decoration: none; text-shadow: none;
  background: var(--gold-light); color: var(--ink);
  transition: background 0.2s, transform 0.2s var(--ease);
}
.founder-link:hover { background: #e2c389; transform: translateY(-1px); }
@media (max-width: 720px) {
  .founder { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .founder-photo { max-width: 240px; }
  .founder h3 { font-size: 1.625rem; }
}

/* --- Edge art: dot pieces in the side margins (wide screens only) --- */
.section { position: relative; overflow-x: clip; }   /* figures' explosion padding never widens the page */
.section > .wrap { position: relative; z-index: 1; }
.edge-art {
  /* width/position are set by main.js (fitWidth + vertical centring) */
  position: absolute; top: 0; z-index: 0;
  width: 200px; height: auto;
  display: none; pointer-events: none;
  will-change: transform;
}
.edge-art[data-side="left"] { left: 12px; }
.edge-art[data-side="right"] { right: 12px; }
/* Only when the gutter beside the 1040px column can hold a real figure */
@media (min-width: 1360px) { .edge-art { display: block; } }

/* Hero figures fill the gutters beside the 900px-wide hero text */
@media (min-width: 1400px) {
  .halftone--hand, .halftone--board { width: clamp(220px, calc((100vw - 900px) / 2 - 28px), 720px); }
  .halftone--hand { left: 12px; top: 300px; }
  .halftone--board { right: 12px; top: 100px; }
}

/* --- Less vertical whitespace --- */
.hero { padding-top: 124px; padding-bottom: 32px; }
.hero-title { margin-top: 26px; }
.hero-sub { margin-top: 16px; }
.hero-cta { margin-top: 22px; }
.logos { margin-top: 44px; }
.device-section { height: 340vh; }
.device-meta { gap: 10px; }
.section { padding: 56px 0; }
.cv { contain-intrinsic-size: auto 700px; }
.contact { padding: 34px; gap: 32px; }
.footer { padding: 24px 0 32px; }
.footer-inner { padding-top: 22px; }

@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .hero { padding-top: 104px; }
  .hero-sub { font-size: 1.125rem; }
  .logos { margin-top: 36px; }
  .device-section { height: 300vh; }
  .section { padding: 40px 0; }
  .sec-head { margin-bottom: 20px; }
  .sec-head h2 { font-size: 2.125rem; }
  .sec-head p:not(.eyebrow) { font-size: 1.09375rem; }
  .card { padding: 20px; }
  .sensor-row, .log li, .partner-list > div, .workshop-list li { padding-left: 18px; padding-right: 18px; }
  .log li { grid-template-columns: 1fr; }
  .statement { font-size: 1.25rem; }
  .contact { padding: 24px 20px; }
  .step-btn { font-size: 0.78125rem; height: 34px; padding: 0 4px; }
  .device-caption { font-size: 0.96875rem; }
  .device-captions { height: 4.8em; }
}

/* --- Click explosion on the dot figures --- */
.blast-ring {
  position: fixed; z-index: 91; pointer-events: none;
  width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  border: 2px solid rgba(210, 175, 112, 0.9);
  box-shadow: 0 0 0 1px rgba(184, 87, 122, 0.35), inset 0 0 14px rgba(210, 175, 112, 0.35);
  animation: blast-ring 0.55s cubic-bezier(0.15, 0.8, 0.25, 1) forwards;
  will-change: transform, opacity;
}
@keyframes blast-ring {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(13); opacity: 0; border-width: 0.5px; }
}


@media print {
  .nav-wrap, .lightbox, .prototype, .halftone, .device-section { display: none !important; }
}

/* ==========================================================================
   Marble cards you can turn (tilt.js)
   The marble layer is oversized and slides against the tilt (--tilt-x/y),
   so it reads as sitting under the card's face. A soft light follows the
   pointer (--light-x/y, strength --light). Everything here is transform or
   opacity; the springs live in JS, so no transitions fight the pointer.
   ========================================================================== */

.has-tilt :is(.card, .panel, .callout, .is-isnt p, .shot) {
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.has-tilt :is(.card, .panel, .callout, .is-isnt p, .shot)::before {
  inset: -14px;
  transform: translate3d(var(--tilt-x, 0px), var(--tilt-y, 0px), 0);
  transition: none;
}
.has-tilt :is(.card, .shot):hover::before { transform: translate3d(var(--tilt-x, 0px), var(--tilt-y, 0px), 0); }
.has-tilt :is(.card, .panel, .callout, .is-isnt p, .shot)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--light-x, 50%) var(--light-y, 50%), rgba(255, 244, 228, 0.16), rgba(255, 244, 228, 0.05) 28%, transparent 58%);
  opacity: var(--light, 0);
}
/* The card takes over its own transform while it moves. */
.has-tilt .is-tilting { z-index: 1; transition: box-shadow 0.35s var(--ease); will-change: transform; }
.has-tilt .is-dragging {
  z-index: 2; cursor: grabbing; user-select: none; -webkit-user-select: none;
  box-shadow: 0 2px 4px rgba(40, 25, 10, 0.1), 0 34px 60px -30px rgba(40, 25, 10, 0.6);
}
.has-tilt .is-dragging * { cursor: grabbing; }
.has-tilt .shot.is-missing::before { inset: auto; transform: none; }


/* prototype.css */
/* ==========================================================================
   PATHOS hardware in 3D: scroll-driven stage
   The stage sits in the site's dark device frame and plays the Blender film
   PATHOS_Final_Complete. Title reveals are driven by frame-accurate CSS
   variables from prototype.js:
     --t  frames since the chapter's titles came in
     --x  1 → 0 over the last 3 frames before they leave
   ========================================================================== */

body { overflow-x: clip; }

.prototype { position: relative; z-index: 2; padding: 56px 0 32px; background: var(--bg); color: var(--ink); }
.prototype-head { margin-bottom: 24px; }

/* Scroll length: each chapter's share is set in JS; the stage sticks inside. */
.hw-track { position: relative; height: 1080svh; }
.hw-stage {
  --stage-top: 76px;
  position: sticky; top: var(--stage-top);
  height: calc(100svh - 92px); min-height: 540px;
  width: calc(100% - 40px); max-width: 1320px; margin: 0 auto;
  border: 11px solid #24201c; border-radius: 28px; overflow: hidden;
  background: #0f0c0a; color: #f6efe7;
  box-shadow: 0 0 0 1px #0a0806, inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 40px 80px -40px rgba(40, 25, 10, 0.6);
  isolation: isolate;
}

/* Window bar */
.hw-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(15, 12, 10, 0.92), rgba(15, 12, 10, 0.55));
  font-family: var(--font-mono); font-size: 0.75rem; color: #a39787;
}
.hw-clock { margin-left: auto; font-variant-numeric: tabular-nums; color: #7d7166; }
.hw-clock span { color: var(--gold-light); }
.hw-skip { font-family: var(--font-body); font-size: 0.8125rem; color: #f6efe7; text-decoration: none; padding: 5px 10px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.14); transition: background 0.2s, border-color 0.2s; }
.hw-skip:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(210, 175, 112, 0.5); }

/* Scene */
.hw-view { position: absolute; inset: 46px 0 0 0; z-index: 1; background: #060607; }
.hw-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* The poster is a still of the film's frame, placed where the film renders. */
.hw-poster {
  position: absolute; display: block; object-fit: cover;
  left: var(--fx, 0px); top: var(--fy, 0px); width: var(--fw, 100%); height: var(--fh, 100%);
}
.hw-stage.is-ready .hw-poster { opacity: 0; pointer-events: none; }
.hw-status {
  position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%);
  padding: 8px 14px; border-radius: 9px; background: rgba(15, 12, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--font-mono); font-size: 0.78125rem; color: #cfc4b8; text-align: center; max-width: 80%;
}
.hw-status.is-error { color: #f0a3bb; }
.hw-status[hidden], .hw-tip[hidden] { display: none; }
.hw-tip {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  padding: 5px 10px; border-radius: 7px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.75rem; color: #f6efe7;
  background: rgba(15, 12, 10, 0.85); border: 1px solid rgba(210, 175, 112, 0.45);
}

/* ---------- HUD: the film's own titles ----------
   The box is the film's 16:9 frame inside the view (--fx/--fy/--fw/--fh from
   prototype.js), so every position below is the film's, in cqw/cqh.
   Sizes are cap heights (font-size-adjust: cap-height), positions are cap
   tops and baselines measured from the Blender HUD. */

.hw-hud {
  --serif: var(--font-editorial);
  --sans: var(--font-ui);
  position: absolute; z-index: 3; pointer-events: none;
  left: var(--fx, 0px); top: var(--fy, 0px); width: var(--fw, 100%); height: var(--fh, 100%);
  container-type: size;
}
.js .hw-chapter { position: absolute; inset: 0; visibility: hidden; }
.js .hw-chapter.is-on { visibility: visible; }
/* The film pops each element in over two frames; a four-frame fade is the
   scroll-friendly equivalent, and it leaves on the exact frame. */
.js .hw-chapter > * { opacity: calc(clamp(0, (var(--t, 0) + 1) / 4, 1) * var(--x, 1)); }

/* A text line whose box runs exactly from cap top to baseline. */
.hw-eyebrow, .hw-title, .hw-caption, .hw-line {
  position: absolute; margin: 0; white-space: nowrap;
  font-size: calc(var(--cap) / 0.7); font-size-adjust: cap-height 0.7;
  line-height: 1; text-box: trim-both cap alphabetic;
  top: var(--top); left: var(--left, 4.73cqw);
  font-weight: 400; font-kerning: normal;
}
@supports not (text-box: trim-both cap alphabetic) {
  /* Without text-box trimming, shift by the font's own half-leading (about
     0.15 em above the cap height at line-height 1). */
  .hw-eyebrow, .hw-title, .hw-caption, .hw-line { top: calc(var(--top) - var(--cap) / 0.7 * 0.15); }
}

.hw-eyebrow {
  --cap: 1.12cqh; --top: 8.11cqh;
  font-family: var(--sans); color: #c2a574; letter-spacing: 0; white-space: pre;
}
.hw-title {
  --cap: 2.88cqh; --top: 14.41cqh;
  font-family: var(--serif); color: #cac7c2; letter-spacing: 0.005em;
}
.hw-title--intro { --cap: 3.39cqh; --top: 13.9cqh; letter-spacing: 0.04em; }
.hw-title--final { --cap: 5.64cqh; --top: 10.7cqh; letter-spacing: 0.04em; }

.hw-plate {
  position: absolute; left: 1.8cqw; right: 1.8cqw; top: 85.14cqh; bottom: 5.14cqh;
  background: #c8c4c1;
}
.hw-plate--short { right: 23cqw; }
.hw-plate--final { right: 23cqw; top: 83.33cqh; bottom: 2.11cqh; }
.hw-plate > * { --left: 2.93cqw; }
.hw-caption {
  --cap: 1.2cqh; --top: 4.67cqh;
  font-family: var(--sans); color: #221e1a; letter-spacing: 0.005em; text-transform: uppercase; white-space: pre;
}
.hw-line { --cap: 1.95cqh; font-family: var(--serif); letter-spacing: 0.035em; }
.hw-line--ink { --top: 0.99cqh; color: #221e1a; }
.hw-line--gold { --top: 5.97cqh; color: #8d6f50; }

.hw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hw-cta {
  position: absolute; right: 1.8cqw; bottom: 2.11cqh; height: 14.56cqh; pointer-events: auto;
  display: inline-flex; align-items: center; padding: 0 2.2cqw;
  font-family: var(--font-body); font-size: clamp(0.75rem, 1.15cqw, 1rem); font-weight: 500; text-decoration: none; white-space: nowrap;
  background: #c8c4c1; color: #221e1a; transition: background 0.2s, color 0.2s;
}
.hw-cta:hover, .hw-cta:focus-visible { background: #e4ddd3; }

/* Compact views (phones, narrow windows): the picture sits higher and the
   titles stack underneath it at a readable size, in the same style. */
.hw-view.is-compact .hw-hud { left: 14px; right: 14px; top: auto; bottom: 16px; width: auto; height: auto; container-type: normal; }
.hw-view.is-compact .hw-chapter { inset: auto 0 0 0; display: flex; flex-direction: column; align-items: flex-start; }
.hw-view.is-compact :is(.hw-eyebrow, .hw-title, .hw-caption, .hw-line) { position: static; top: auto; left: auto; }
.hw-view.is-compact .hw-eyebrow { --cap: 8px; margin-bottom: 12px; }
.hw-view.is-compact .hw-title { --cap: 19px; margin-bottom: 18px; white-space: normal; }
.hw-view.is-compact .hw-title--final { --cap: 30px; }
.hw-view.is-compact .hw-plate { position: static; align-self: stretch; padding: 15px 14px; display: grid; gap: 10px; }
.hw-view.is-compact .hw-caption { --cap: 8.5px; white-space: normal; line-height: 1.6; text-box: none; }
.hw-view.is-compact .hw-line { --cap: 14px; }
.hw-view.is-compact .hw-cta { position: static; height: 40px; margin-top: 10px; padding: 0 14px; font-size: 0.84375rem; }

/* ---------- Click labels ---------- */

.hw-view.is-pointing canvas { cursor: pointer; }
.hw-label { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; }
.hw-label[hidden] { display: none; }
.hw-label.is-off { visibility: hidden; }
.hw-label-dot {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold-light); box-shadow: 0 0 0 4px rgba(210, 175, 112, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.4);
  animation: hw-ping 1.6s var(--ease) 3;
}
@keyframes hw-ping { 0%, 100% { box-shadow: 0 0 0 4px rgba(210, 175, 112, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.4); } 50% { box-shadow: 0 0 0 9px rgba(210, 175, 112, 0), 0 0 0 1px rgba(0, 0, 0, 0.4); } }
.hw-label-card {
  position: absolute; left: 16px; top: 14px; width: max-content; max-width: 280px;
  padding: 11px 34px 12px 14px; border-radius: 12px; pointer-events: auto;
  background: rgba(15, 12, 10, 0.92); border: 1px solid rgba(210, 175, 112, 0.45);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
  animation: hw-label-in 0.22s var(--ease);
}
@keyframes hw-label-in { from { opacity: 0; transform: translateY(4px) scale(0.98); } to { opacity: 1; transform: none; } }
.hw-label-card strong { display: block; font-size: 0.90625rem; font-weight: 500; color: #f6efe7; }
.hw-label-d { display: block; margin-top: 4px; font-size: 0.8125rem; line-height: 1.45; color: #cfc4b8; }
.hw-label-x {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 6px;
  background: transparent; color: #a39787; font-size: 1.0625rem; line-height: 1; cursor: pointer;
}
.hw-label-x:hover, .hw-label-x:focus-visible { background: rgba(255, 255, 255, 0.08); color: #f6efe7; }

/* ---------- 360 view ---------- */

.hw-360 {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 4px;
  font-family: var(--font-body); font-size: 0.8125rem; color: #f6efe7;
  padding: 5px 10px; border-radius: 7px; cursor: pointer;
  background: transparent; border: 1px solid rgba(210, 175, 112, 0.45);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hw-360[hidden] { display: none; }
.hw-360:hover, .hw-360:focus-visible { background: rgba(210, 175, 112, 0.12); }
.hw-360[aria-pressed="true"] { background: var(--gold-light); border-color: var(--gold-light); color: #15110d; }
.hw-stage.is-orbit canvas { cursor: grab; }
.hw-stage.is-orbit canvas:active { cursor: grabbing; }
.hw-orbit-ui {
  position: absolute; z-index: 6; left: 50%; top: 14px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 12px;
  background: rgba(15, 12, 10, 0.86); border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem; color: #cfc4b8; white-space: nowrap;
  animation: hw-label-in 0.25s var(--ease);
}
.hw-orbit-ui[hidden] { display: none; }
.hw-orbit-hint { margin-right: 6px; }
.hw-orbit-btn, .hw-orbit-exit {
  height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04); color: #f6efe7; cursor: pointer; font-family: var(--font-body);
  transition: background 0.2s, border-color 0.2s;
}
.hw-orbit-btn { width: 32px; font-size: 1.0625rem; line-height: 1; }
.hw-orbit-exit { padding: 0 12px; font-size: 0.8125rem; border-color: rgba(210, 175, 112, 0.5); }
.hw-orbit-btn:hover, .hw-orbit-exit:hover, .hw-orbit-btn:focus-visible, .hw-orbit-exit:focus-visible { background: rgba(255, 255, 255, 0.1); }
/* While looking around, the film's titles step back. */
.hw-stage.is-orbit .hw-hud { opacity: 0.25; transition: opacity 0.3s; }

/* ---------- Chapter rail + scrubber ---------- */

.hw-rail { position: absolute; z-index: 4; right: 18px; top: 50%; transform: translateY(-46%); display: grid; gap: 2px; }
.hw-rail-btn {
  display: grid; grid-template-columns: auto auto; justify-content: end; align-items: center; gap: 10px;
  min-height: 30px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent;
  font-family: var(--font-mono); font-size: 0.71875rem; color: #5e554b; cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.hw-rail-btn { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
.hw-rail-btn .l { order: -1; opacity: 0; transform: translateX(6px); transition: opacity 0.2s, transform 0.25s var(--ease); white-space: nowrap; }
.hw-rail-btn .n { position: relative; padding-right: 14px; }
.hw-rail-btn .n::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 1.5px; background: currentColor; transition: width 0.25s var(--ease); }
.hw-rail-btn:hover, .hw-rail-btn:focus-visible { color: #cfc4b8; background: rgba(255, 255, 255, 0.04); }
.hw-rail-btn:hover .l, .hw-rail-btn:focus-visible .l, .hw-rail-btn.is-on .l { opacity: 1; transform: none; }
.hw-rail-btn.is-past { color: #8f857a; }
.hw-rail-btn.is-on { color: var(--gold-light); }
.hw-rail-btn.is-on .n::after { width: 12px; }

.hw-scrub { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.07); }
.hw-scrub span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform-origin: left; transform: scaleX(0); }
.hw-scrub i { position: absolute; top: -3px; width: 1px; height: 6px; background: rgba(255, 255, 255, 0.22); }

/* ---------- Static fallback (no JS) ---------- */

html:not(.js) .hw-track { height: auto; }
html:not(.js) .hw-stage { position: relative; top: 0; height: auto; }
html:not(.js) .hw-view { position: relative; inset: auto; aspect-ratio: 16 / 9; margin-top: 46px; }
html:not(.js) .hw-rail, html:not(.js) .hw-scrub, html:not(.js) .hw-status, html:not(.js) .hw-hud { display: none; }

/* ---------- Narrow screens ---------- */

@media (max-width: 800px) {
  .prototype { padding-top: 40px; }
  .hw-track { height: 980svh; }
  .hw-stage { --stage-top: 72px; height: calc(100svh - 84px); width: calc(100% - 24px); min-height: 520px; border-width: 8px; border-radius: 22px; }
  .hw-bar { height: 40px; padding: 0 12px; gap: 10px; font-size: 0.6875rem; }
  .hw-clock { margin-left: 0; }
  .hw-skip { margin-left: auto; font-size: 0.75rem; padding: 4px 8px; }
  .hw-view { inset: 40px 0 0 0; }
  .hw-rail { display: none; }
  .hw-360 span { display: none; }
  .hw-360 { padding: 5px 8px; }
  .hw-orbit-ui { top: auto; bottom: 12px; padding: 5px; }
  .hw-orbit-hint { display: none; }
  .hw-label-card { max-width: 220px; }
}

@media (max-height: 680px) and (min-width: 801px) {
  .hw-stage { min-height: 0; }
}

@media print {
  .hw-stage { display: none; }
}


/* field.css */
/* ==========================================================================
   The build: MVP 1 and the field as a scroll-driven deck of photo cards (field.js)
   Cards ride a U-shaped path through a sticky stage. The centred card faces
   you; as cards move out along the arms they bank with the curve, turn, and
   flip to a marble back that carries their caption. field.js writes each
   card's transform; everything here is layout, faces and the static fallback.
   ========================================================================== */

.field { position: relative; z-index: 2; padding: 72px 0 24px; background: var(--bg); overflow-x: clip; }
.field .sec-head { margin-bottom: 8px; }

.fl-track { position: relative; height: calc(100svh + (var(--n, 5) - 1) * 80svh); }
.fl-stage {
  position: sticky; top: 64px;
  height: calc(100svh - 64px); min-height: 560px;
  overflow: hidden;
  perspective: 1500px; perspective-origin: 50% 42%;
  touch-action: pan-y;
  cursor: grab;
}
.fl-stage.is-dragging { cursor: grabbing; }
.fl-deck { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }

.fl-card {
  position: absolute; left: 50%; top: 0;
  width: 300px; height: 380px;        /* field.js sizes each card from --ar */
  transform-style: preserve-3d;
  will-change: transform;
  --sheen: 0;
  pointer-events: auto;
}
.fl-face {
  position: absolute; inset: 0;
  border-radius: 18px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* Front: the photo. Reuses .shot so the lightbox opens it; undo the grid
   card styling it would otherwise inherit. */
.fl-front.shot {
  display: block; padding: 0; border: 0; margin: 0;
  background: #16120e;
  box-shadow: 0 1px 2px rgba(40, 25, 10, 0.12), 0 26px 50px -26px rgba(40, 25, 10, 0.55);
  transition: none; transform: none; cursor: inherit;
}
.fl-front.shot:hover { transform: none; }
.field .fl-front.shot::before { display: none; }
.fl-front.shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto; object-fit: cover;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
/* A light catch that brightens as the card turns away from you. */
.field .fl-front.shot::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: 0;
  background: linear-gradient(105deg, rgba(255, 246, 232, 0) 30%, rgba(255, 246, 232, 0.22) 48%, rgba(255, 246, 232, 0) 66%);
  background-size: 260% 100%;
  background-position: calc(50% + var(--sheen) * 60%) 0;
  opacity: calc(var(--sheen-a, 0));
}
.fl-front:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.fl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Back: the marble, with the caption. */
.fl-back {
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: clamp(18px, 7%, 30px);
  background:
    linear-gradient(160deg, rgba(14, 10, 7, 0.35) 0%, rgba(14, 10, 7, 0.82) 70%),
    #16120e url('assets/marble-sm.webp') var(--mp, 50% 40%) / cover no-repeat;
  box-shadow: 0 26px 50px -26px rgba(40, 25, 10, 0.55);
  color: var(--on-dark, #f6efe7);
}
.fl-card:nth-child(5n+1) .fl-back { --mp: 10% 30%; }
.fl-card:nth-child(5n+2) .fl-back { --mp: 60% 20%; }
.fl-card:nth-child(5n+3) .fl-back { --mp: 92% 65%; }
.fl-card:nth-child(5n+4) .fl-back { --mp: 30% 85%; }
.fl-card:nth-child(5n+5) .fl-back { --mp: 75% 50%; }
.fl-back-n { font-family: var(--font-mono); font-size: 0.78125rem; letter-spacing: 0.04em; color: var(--gold-light); white-space: pre; }
.fl-back-t { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.fl-back-d { font-size: 0.9375rem; line-height: 1.5; color: var(--on-dark-2, #ddd2c6); max-width: 30ch; }

/* Caption + controls under the deck */
.fl-ui {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 50;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  width: min(100% - 40px, 1100px); margin: 0 auto;
  pointer-events: none;
}
.fl-caption { margin: 0; max-width: 46ch; min-height: 3.2em; }
.fl-caption strong { display: block; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.fl-caption span { display: block; margin-top: 3px; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.fl-caption.is-swap { animation: fl-swap 0.32s var(--ease); }
@keyframes fl-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fl-nav { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.fl-count { min-width: 64px; text-align: center; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fl-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong, rgba(10, 8, 6, 0.16)); background: rgba(255, 255, 255, 0.5);
  font-size: 1.0625rem; color: var(--ink); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.fl-btn:hover { background: #fff; border-color: rgba(10, 8, 6, 0.3); }
.fl-btn:active { transform: scale(0.94); }
.fl-btn:disabled { opacity: 0.35; cursor: default; }
.fl-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Static fallback: no JS or reduced motion ---------- */
.field:not(.is-live) .fl-track { height: auto; }
.field:not(.is-live) .fl-stage { position: relative; top: 0; height: auto; min-height: 0; overflow: visible; perspective: none; cursor: auto; }
.field:not(.is-live) .fl-deck {
  position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
  width: min(100% - 40px, 1100px); margin: 16px auto 0;
}
.field:not(.is-live) .fl-card { position: relative; left: auto; width: auto !important; height: auto !important; aspect-ratio: 4 / 5; transform: none !important; opacity: 1 !important; }
.field:not(.is-live) .fl-back, .field:not(.is-live) .fl-ui { display: none; }

@media (max-width: 800px) {
  .field { padding-top: 56px; }
  .fl-track { height: calc(100svh + (var(--n, 5) - 1) * 70svh); }
  .fl-stage { top: 56px; height: calc(100svh - 56px); min-height: 520px; }
  .fl-ui { bottom: 12px; width: calc(100% - 28px); flex-direction: column; align-items: stretch; gap: 10px; }
  .fl-caption { min-height: 4.4em; }
  .fl-caption strong { font-size: 1.0625rem; }
  .fl-caption span { font-size: 0.90625rem; }
  .fl-nav { justify-content: space-between; }
}


/* play.css */
/* ==========================================================================
   Interactive explanations (play.js)
   ========================================================================== */

/* ---------- Live signal traces ---------- */
.sig-trace { display: block; width: 100%; height: 42px; margin-top: 14px; border-radius: 8px; background: rgba(8, 6, 5, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.sig-trace--row { height: 24px; margin-top: 7px; max-width: 170px; border-radius: 6px; }

/* Sensor table: a fixed status column keeps every row's columns aligned
   (each row is its own grid, and "Working" is wider than "MVP 2"). */
@media (min-width: 961px) {
  .sensor-row { grid-template-columns: 1.1fr 0.9fr 2fr 92px; }
  .sensor-row > :last-child { justify-self: end; }
}

/* ---------- Signal explorer ---------- */
.sig-card { display: flex; flex-direction: column; cursor: pointer; outline: none; -webkit-user-select: none; user-select: none; }
.sig-card .sig-trace { margin-top: auto; }
.sig-card .card-text { margin-bottom: 16px; }
.sig-card .card-kicker { padding-right: 28px; }
.sig-dot {
  position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(246, 239, 231, 0.45);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease), transform 0.3s var(--ease);
}
.sig-dot::after {
  content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px;
  border: solid #15110d; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) scale(0); transition: transform 0.25s var(--ease);
}
.sig-card:hover .sig-dot { box-shadow: inset 0 0 0 1.5px rgba(246, 239, 231, 0.8); }
.sig-card[aria-pressed="true"] { box-shadow: 0 0 0 1.5px rgba(240, 163, 187, 0.85), 0 18px 40px -22px rgba(40, 25, 10, 0.6); }
.sig-card[aria-pressed="true"] .sig-dot { background: var(--pink); box-shadow: none; transform: scale(1.05); }
.sig-card[aria-pressed="true"] .sig-dot::after { transform: rotate(45deg) scale(1); }
.sig-card:focus-visible { box-shadow: 0 0 0 2px var(--gold-light); }

.sig-meter { max-width: 560px; margin: 26px auto 0; text-align: center; }
.sig-meter-bar { position: relative; height: 6px; border-radius: 6px; background: rgba(10, 8, 6, 0.09); overflow: hidden; }
.sig-meter-fill {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(var(--fill, 0));
  background: linear-gradient(90deg, var(--gold-light), #e2a07a 60%, var(--pink-deep, #d86a8d));
  transition: transform 0.55s var(--ease), filter 0.3s;
}
.sig-meter[data-state^="motion"] .sig-meter-fill { filter: grayscale(0.85) brightness(1.1); }
.sig-meter-bar i { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--bg); }
.sig-meter-bar i:nth-of-type(1) { left: 33.333%; }
.sig-meter-bar i:nth-of-type(2) { left: 66.666%; }
.sig-meter-text { margin: 12px 0 0; font-size: 1rem; line-height: 1.45; color: var(--muted); min-height: 2.9em; }
.sig-meter-text strong { color: var(--ink); font-weight: 500; }
.statement em { transition: background-size 0.6s var(--ease), color 0.3s; background: linear-gradient(rgba(240, 163, 187, 0.35), rgba(240, 163, 187, 0.35)) 0 88% / 0% 35% no-repeat; }
.statement.is-lit em { background-size: 100% 35%; color: var(--ink); }

/* ---------- Model pipeline ---------- */
.pipeline > li { outline: none; transition: box-shadow 0.35s var(--ease), filter 0.45s var(--ease); }
.pipeline.is-running > li:not(.is-active) { filter: brightness(0.72) saturate(0.85); }
.step-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--gold-light), var(--pink));
  transform-origin: left; transform: scaleX(0);
}
.pipeline.is-running > li.is-done .step-bar { transform: scaleX(1); opacity: 0.35; }
.pipeline.is-running > li.is-active .step-bar { animation: step-fill var(--step-ms, 1.7s) linear forwards; }
.pipeline.is-held > li.is-active .step-bar { animation: none; transform: scaleX(1); opacity: 1; }
@keyframes step-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pipeline > li.is-active { box-shadow: 0 0 0 1.5px rgba(210, 175, 112, 0.8), 0 22px 44px -22px rgba(40, 25, 10, 0.7); }
.pipeline > li .step { transition: color 0.3s; }
.pipeline > li.is-active .step { color: var(--pink); }
.pipeline > li:focus-visible { box-shadow: 0 0 0 2px var(--gold-light); }

/* ---------- Project log rail ---------- */
.log { position: relative; }
.log li { position: relative; padding-left: 44px; }
.log-rail { position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: var(--dark-line); }
.log-rail-fill { position: absolute; inset: 0; border-radius: inherit; transform-origin: top; transform: scaleY(var(--fill, 0)); background: linear-gradient(180deg, var(--gold-light), var(--pink)); }
.log li::before {
  content: ""; position: absolute; left: 16px; top: 22px; width: 12px; height: 12px; border-radius: 50%; z-index: 1;
  background: #1a1511; box-shadow: inset 0 0 0 2px rgba(246, 239, 231, 0.25);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.log li.is-reached::before { background: var(--gold-light); box-shadow: 0 0 0 4px rgba(210, 175, 112, 0.18); transform: scale(1.08); }
.log li.is-now.is-reached::before { background: var(--pink); box-shadow: 0 0 0 4px rgba(240, 163, 187, 0.22); }
.log li h3, .log li p { transition: color 0.35s; }
.log li:not(.is-reached) h3 { color: var(--on-dark-3); }

/* ---------- Counters ---------- */
.count { display: inline-block; font-variant-numeric: tabular-nums; color: var(--on-dark); font-weight: 500; }

/* ---------- Copy email ---------- */
.contact-email-row { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy-btn {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.84375rem; color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.12); }
.copy-btn:active { transform: scale(0.96); }
.copy-btn.is-done { color: #b2e0ba; border-color: rgba(120, 190, 130, 0.5); background: rgba(120, 190, 130, 0.12); }
.copy-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* ---------- Founder photo depth (with tilt.js) ---------- */
.founder-photo { transition: box-shadow 0.35s var(--ease); }
.has-tilt .founder.is-tilting .founder-photo {
  transform: translate3d(calc(var(--tilt-x, 0px) * -1.4), calc(var(--tilt-y, 0px) * -1.4), 0);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 26px 44px -18px rgba(0, 0, 0, 0.8);
}




/* story.css */
/* ==========================================================================
   Landing story: proof, problem, solution overview, how it works, FAQ,
   final call to action and the illustrated footer (story.js animates them).
   ========================================================================== */

/* story.js renders lazy sections briefly while aiming an in-page link. */
.cv-open .cv { content-visibility: visible; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn-ghost { background: rgba(255, 255, 255, 0.45); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.8); transform: translateY(-1px); }


/* ---------- 3. Problem ---------- */
.problem-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: stretch; }
.problem-chart { margin: 0; padding: 22px 22px 18px; display: flex; flex-direction: column; border-radius: 18px; }
.problem-chart canvas { display: block; width: 100%; flex: 1; min-height: 280px; }
.problem-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 0.84375rem; color: var(--on-dark-2); }
.pl::before { content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: 3px; }
.pl--body::before { background: var(--pink); }
.pl--seen::before { background: repeating-linear-gradient(90deg, #f6efe7 0 4px, transparent 4px 7px); }
.pl--gap::before { height: 10px; vertical-align: -1px; background: rgba(210, 175, 112, 0.35); }
.problem-cards { display: grid; gap: 16px; }
.problem-card h3 { margin: 6px 0 6px; }

/* ---------- 4. Solution: feature overview ---------- */
.feats { gap: 14px; }
.feat { display: flex; flex-direction: column; text-decoration: none; padding: 20px; min-height: 252px; }
.feat h3 { margin: 6px 0 6px; }
.feat .card-text { font-size: 0.96875rem; }
.feat-more { margin-top: auto; padding-top: 12px; font-size: 0.875rem; color: var(--gold-light); opacity: 0.8; transition: opacity 0.2s, transform 0.25s var(--ease); }
.feat:hover .feat-more, .feat:focus-visible .feat-more { opacity: 1; transform: translateX(3px); }
.feat:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.feat-viz {
  display: grid; place-items: center; height: 72px; margin-bottom: 14px; border-radius: 10px;
  background: rgba(8, 6, 5, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); overflow: hidden;
}
.feat-viz svg { width: 82%; height: 78%; overflow: visible; }
/* Animations run only while the grid is on screen (story.js adds .is-live). */
.feats:not(.is-live) .feat-viz * { animation-play-state: paused !important; }

.fv-waves path { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.fv-w1 { stroke: var(--pink); }
.fv-w2 { stroke: var(--gold-light); opacity: 0.85; }
.fv-w3 { stroke: #f6efe7; opacity: 0.55; }
.fv-waves { animation: fv-scroll 6s linear infinite; }
@keyframes fv-scroll { to { transform: translateX(-240px); } }
.fv-now { stroke: rgba(246, 239, 231, 0.35); stroke-dasharray: 2 3; }

.fv-t { font: 500 0.625rem var(--font-mono); fill: rgba(246, 239, 231, 0.55); }
.fv-t--gold { fill: var(--gold-light); }
.fv-bar { transform-box: fill-box; transform-origin: left; }
.fv-bar--grey { fill: rgba(246, 239, 231, 0.22); animation: fv-grow 4s var(--ease) infinite; }
.fv-bar--gold { fill: var(--gold-light); animation: fv-grow 4s var(--ease) 0.6s infinite both; }
@keyframes fv-grow { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

.fv-chip rect { fill: rgba(246, 239, 231, 0.06); stroke: rgba(246, 239, 231, 0.5); stroke-width: 1.4; }
.fv-chip path { stroke: rgba(246, 239, 231, 0.4); stroke-width: 1.4; stroke-linecap: round; }
.fv-core { fill: var(--gold-light); }
.fv-ring { fill: none; stroke: var(--pink); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: fv-ring 2.4s ease-out infinite; }
.fv-ring--2 { animation-delay: 1.2s; }
@keyframes fv-ring { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(2.3); opacity: 0; } }

.fv-list rect { fill: rgba(246, 239, 231, 0.3); }
.fv-list .fv-dim { fill: rgba(246, 239, 231, 0.12); }
.fv-tick { fill: none; stroke: #9fd3a8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: fv-tick 4s ease infinite; }
.fv-tick--2 { animation-delay: 0.5s; }
@keyframes fv-tick { 0%, 8% { stroke-dashoffset: 20; } 22%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fv-open { fill: none; stroke: rgba(246, 239, 231, 0.45); stroke-width: 1.4; stroke-dasharray: 2 2.4; animation: fv-spin 6s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fv-spin { to { transform: rotate(360deg); } }

.fv-cube { position: relative; width: 34px; height: 34px; transform-style: preserve-3d; animation: fv-cube 9s linear infinite; }
.fv-cube i { position: absolute; inset: 0; border: 1.5px solid var(--gold-light); background: rgba(210, 175, 112, 0.08); }
.fv-cube i:nth-child(1) { transform: translateZ(17px); }
.fv-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(17px); }
.fv-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(17px); border-color: var(--pink); }
.fv-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(17px); border-color: var(--pink); }
.fv-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(17px); }
.fv-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(17px); }
@keyframes fv-cube { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }

.fv-deck { position: relative; width: 46px; height: 56px; }
.fv-deck i { position: absolute; inset: 0; border-radius: 5px; background: #2a231d center / cover no-repeat; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15); animation: fv-deal 6s var(--ease) infinite; }
.fv-deck i:nth-child(1) { animation-delay: -4s; }
.fv-deck i:nth-child(2) { animation-delay: -2s; }
@keyframes fv-deal {
  0% { transform: translateX(-34px) rotate(-14deg) scale(0.86); z-index: 1; }
  33% { transform: translateX(0) rotate(0) scale(1); z-index: 3; }
  66% { transform: translateX(34px) rotate(14deg) scale(0.86); z-index: 2; }
  100% { transform: translateX(-34px) rotate(-14deg) scale(0.86); z-index: 1; }
}

.fv-strap { fill: rgba(246, 239, 231, 0.08); stroke: rgba(246, 239, 231, 0.25); stroke-width: 1.2; }
.fv-face { fill: #120e0b; stroke: rgba(246, 239, 231, 0.5); stroke-width: 1.4; }
.fv-pulse { fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: fv-pulse 1.6s linear infinite; }
@keyframes fv-pulse { 0% { stroke-dashoffset: 60; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }

.fv-holes circle { fill: rgba(246, 239, 231, 0.18); }
.fv-wire { fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; animation: fv-wire 3.6s var(--ease) infinite; }
@keyframes fv-wire { 0% { stroke-dashoffset: 130; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fv-led { fill: rgba(246, 239, 231, 0.2); animation: fv-led 3.6s step-end infinite; }
@keyframes fv-led { 0%, 45% { fill: rgba(246, 239, 231, 0.2); } 46%, 92% { fill: #f0a3bb; filter: drop-shadow(0 0 4px #f0a3bb); } }

/* ---------- 5. How it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: stretch; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.how-step {
  position: relative; width: 100%; text-align: left; cursor: pointer; display: grid; gap: 4px;
  padding: 18px 20px 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.45);
  font: inherit; color: var(--ink); overflow: hidden;
  transition: background 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.how-step::after { /* progress for the active step */
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--pink)); transform-origin: left; transform: scaleX(0);
}
.how-step:hover { background: rgba(255, 255, 255, 0.75); }
.how-step.is-on { background: #fff; border-color: rgba(210, 175, 112, 0.6); box-shadow: 0 18px 36px -24px rgba(40, 25, 10, 0.45); transform: translateX(4px); }
.how-step.is-on::after { animation: how-fill var(--how-ms, 3600ms) linear forwards; }
.how-steps.is-held .how-step.is-on::after { animation: none; transform: scaleX(1); }
@keyframes how-fill { to { transform: scaleX(1); } }
.how-step .step { color: var(--gold); }
.how-t { font-size: 1.3125rem; font-weight: 500; letter-spacing: -0.02em; }
.how-d { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.how-step:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.how-scene { position: relative; min-height: 380px; border-radius: 18px; padding: 0; }
.how-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.how-hud {
  position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; gap: 10px; align-items: baseline;
  font-size: 0.875rem; color: var(--on-dark-2);
}
.how-hud-step { font-family: var(--font-mono); font-size: 0.78125rem; color: var(--gold-light); }
.how-note { margin: 14px 0 0; font-size: 0.90625rem; color: var(--muted); text-align: center; }

/* ---------- 6. FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.015em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background 0.25s, transform 0.35s var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i { background: var(--gold-light); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item summary:hover i { background: rgba(210, 175, 112, 0.25); }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0 0 20px; padding: 0 44px 0 4px; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }

/* ---------- 8. Footer: illustrated card with every link ---------- */
.site-foot { padding: 12px 20px 20px; background: var(--bg); }
.foot-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 28px;
  max-width: 1400px; margin: 0 auto; min-height: 560px; padding: 44px 44px 28px;
  display: flex; flex-direction: column; color: var(--on-dark, #f6efe7);
  background: #110d0a; box-shadow: 0 30px 60px -40px rgba(40, 25, 10, 0.7);
}
.foot-art {
  position: absolute; inset: -8%; z-index: -2;
  background: url('assets/marble.webp') 60% 70% / cover no-repeat;
  animation: foot-drift 40s ease-in-out infinite alternate;
}
.foot-card::before { /* readable top, art showing through below */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 10, 7, 0.94) 0%, rgba(14, 10, 7, 0.82) 38%, rgba(14, 10, 7, 0.3) 70%, rgba(14, 10, 7, 0.86) 100%);
}
.foot-card:not(.is-live) .foot-art { animation-play-state: paused; }
@keyframes foot-drift { from { transform: translate3d(0, 0, 0) scale(1.02); } to { transform: translate3d(-3%, -4%, 0) scale(1.1); } }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot-brand .brand, .foot-brand .brand-mark { color: var(--on-dark); }
.foot-tag { margin: 12px 0 18px; font-size: 0.9375rem; color: var(--on-dark-2); max-width: 24ch; }
.foot-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.foot-social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: background 0.2s, transform 0.2s var(--ease), color 0.2s;
}
.foot-social a:hover, .foot-social a:focus-visible { background: rgba(210, 175, 112, 0.2); color: var(--gold-light); transform: translateY(-2px); }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h3 { margin: 0 0 6px; font-size: 0.9375rem; font-weight: 600; color: var(--on-dark); }
.foot-col a { width: fit-content; font-size: 0.9375rem; color: var(--on-dark-2); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color 0.2s, background-size 0.3s var(--ease); }
.foot-col a:hover, .foot-col a:focus-visible { color: #fff; background-size: 100% 1px; }
.foot-base { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.foot-base .footer-fine { flex-basis: auto; margin: 0; font-size: 0.84375rem; color: rgba(246, 239, 231, 0.85); max-width: 70ch; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.foot-top { font-size: 0.875rem; color: var(--on-dark); text-decoration: none; padding: 8px 14px; border-radius: 9px; background: rgba(14, 10, 7, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); transition: background 0.2s; }
.foot-top:hover { background: rgba(14, 10, 7, 0.8); }

/* ---------- Narrow screens ---------- */
@media (max-width: 960px) {
  .problem-grid, .how-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .feats { grid-template-columns: 1fr 1fr; }
  .feat { min-height: 0; padding: 16px; }
  .feat .card-text { font-size: 0.90625rem; }
  .how-scene { min-height: 320px; }
  .how-hud { font-size: 0.8125rem; flex-direction: column; gap: 2px; bottom: 12px; }
  .foot-card { padding: 30px 22px 22px; border-radius: 22px; min-height: 0; }
  .faq-item summary { font-size: 1.0625rem; }
  .faq-a p { padding-right: 4px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .feats { grid-template-columns: 1fr; }
}



/* system.css */
/* ==========================================================================
   PATHOS design system (see DESIGN.md)
   Tokens and named text styles from the landing-page-design skill. Loaded
   last. Sections move onto these one pass at a time; new work uses only
   these values.
   ========================================================================== */

:root {
  /* Spacing (B2) */
  --sp-0: 0; --sp-25: 2px; --sp-50: 4px; --sp-75: 8px; --sp-100: 12px; --sp-200: 16px;
  --sp-300: 24px; --sp-400: 32px; --sp-500: 40px; --sp-600: 48px; --sp-700: 64px; --sp-800: 80px; --sp-900: 96px;
  /* Section rhythm: desktop padding was 56px (off scale), now Spacing-700. */
  --section-pad: var(--sp-700);
  /* Page gutter: was 20px (off scale), now Spacing-300. */
  --gutter: var(--sp-300);
  /* Radius (B3, Tailwind steps) */
  --r-sm: 2px; --r: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;
  /* Motion (B7) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-move: 500ms; --t-fade: 300ms;
}

/* ---------- Named text styles (B1) ---------- */
.heading-1 { font-size: 3.75rem; line-height: 3.75rem; font-weight: 600; }
.heading-2 { font-size: 3rem; line-height: 3rem; font-weight: 600; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-2 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
:is(.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6) { letter-spacing: -0.025em; text-wrap: balance; }
:is(.title-1, .title-2, .body-3, .body-6, .caption-2) { text-wrap: pretty; }

/* ---------- Buttons (B2, B3, B9) ---------- */
.btn.button-md {
  min-height: 0; padding: var(--sp-75) var(--sp-100); border-radius: var(--r-lg);
  transition: transform var(--t-move) var(--ease), background-color var(--t-fade) var(--ease);
}
.btn.button-md:hover { transform: translateY(-1px); }
.btn.button-md:active { transform: scale(0.98); }
.btn.button-md:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.text-link {
  display: inline-flex; align-items: center; gap: var(--sp-50); color: var(--text); text-decoration: none;
  border-radius: var(--r);
  text-decoration: underline 1px transparent; text-underline-offset: 4px;
  transition: color var(--t-fade) var(--ease), text-decoration-color var(--t-fade) var(--ease);
}
.text-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.text-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.text-link svg { transition: transform var(--t-move) var(--ease); }
.text-link:hover svg { transform: translateX(2px); }

/* ==========================================================================
   1. Hero (pass 1)
   One primary action, a quiet text link, an honest status line and a plain
   text proof line. Heading and subheading capped at 680px (B5).
   ========================================================================== */
/* The original hero (announcement pill, accent heading, single button and
   name strip) was restored at the founder's request, November 2026; its
   styles live in styles.css again. */

/* Hero entrance: opacity and transform only (B7), 24px rise. */
.js [data-intro] { filter: none; transform: translateY(var(--sp-300)); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js.ready [data-intro] { transform: none; }


/* ==========================================================================
   QA pass: contrast, form states, legal links, nav location
   ========================================================================== */

/* Text greys that pass WCAG AA (4.5:1) on every page surface:
   --muted 5.17:1 on --bg, 4.91:1 on --surface-2; --faint 4.74:1 / 4.5:1. */
:root { --muted: #6b5f55; --faint: #70655b; }

/* Contact form */
.form-group select {
  width: 100%; padding: var(--sp-75) var(--sp-100); appearance: none;
  background: #16120e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23d2af70' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--bg); border: 1px solid #332b24; border-radius: var(--r-lg); font: inherit;
  transition: border-color var(--t-fade) var(--ease), box-shadow var(--t-fade) var(--ease);
}
.form-group select:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(210, 175, 112, 0.18); }
.form-group select:invalid { color: #a39787; }
.form-group select option { color: var(--ink); background: #fff; }
.form-group .optional { color: #8a7f73; }
.field-error { margin: var(--sp-50) 0 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--pink); }
.field-error[hidden] { display: none; }
.form-status { font-size: 0.875rem; line-height: 1.25rem; }
.contact .btn-dark:disabled { opacity: 0.7; cursor: progress; transform: none; }
.form-intro a { color: var(--gold-light); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer legal link */
.foot-legal { display: flex; align-items: center; gap: var(--sp-200); }
.foot-legal > a:not(.foot-top) { font-size: 0.875rem; color: var(--on-dark); text-decoration: underline 1px transparent; text-underline-offset: 4px; transition: text-decoration-color var(--t-fade) var(--ease); }
.foot-legal > a:not(.foot-top):hover { text-decoration-color: currentColor; }

/* Problem chart: visible note that it's an illustration */
.pl-note { flex-basis: 100%; font-size: 0.75rem; line-height: 1rem; color: var(--on-dark-3); }

/* Navigation: show where you are */
.nav-link[aria-current="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* ==========================================================================
   2. Proof band (pass 2)
   One bordered panel (all four sides), four stats: number (heading-3,
   heading-4 on phones), what it means (body-6) and where it comes from
   (caption-4). Spacing from tokens; no one-sided dividers.
   ========================================================================== */
.proof { position: relative; z-index: 2; padding: 0 0 var(--sp-700); background: var(--bg); }
.proof-panel {
  max-width: 1080px; margin: 0 auto; padding: var(--sp-400);
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
}
.proof-title { margin: 0 0 var(--sp-300); color: var(--muted); }
.proof-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-400); }
.proof-stats li { display: flex; flex-direction: column; gap: var(--sp-75); min-width: 0; }
.proof-stats p { margin: 0; }
.proof-n { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof-n .count { color: inherit; font-weight: inherit; }
.proof-l { color: var(--text); max-width: 24ch; }
.proof-src { margin-top: auto; padding-top: var(--sp-50); color: var(--muted); }
.proof-l, .proof-src { text-wrap: balance; }

@media (max-width: 959px) {
  .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-400) var(--sp-300); }
}
@media (max-width: 639px) {
  .proof-panel { padding: var(--sp-300); }
  /* One stat per row: the number on the left, its meaning and source beside it. */
  .proof-stats { grid-template-columns: 1fr; gap: var(--sp-300); }
  .proof-stats li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: var(--sp-100); row-gap: var(--sp-50); align-items: baseline; }
  .proof-n { grid-row: span 2; }
  .proof-n.heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .proof-l { max-width: none; }
  .proof-src { margin-top: 0; padding-top: 0; }
}

/* ==========================================================================
   3. Software tour (pass 3)
   A heading says what this is. The tall scroll track (not the section)
   holds the pinned stage. Flat bezel (no gradients), Tailwind radii with
   the nested formula, button-sm steps, body-3 captions, tokens only.
   ========================================================================== */
.device-section { height: auto; }
.device-track { position: relative; height: 340vh; }
.tour-head { margin: 0 auto; padding-top: var(--sp-900); text-align: center; }
.tour-head h2.heading-2 { margin: 0; font-size: 3rem; line-height: 3rem; letter-spacing: -0.03em; }
.tour-head p.body-3 { max-width: 560px; margin: var(--sp-200) auto 0; font-size: 1rem; line-height: 1.5rem; color: var(--text); }

.device-stage { padding: var(--sp-800) var(--gutter) var(--sp-300); }
.device {
  padding: var(--sp-100); border-radius: var(--r-3xl);            /* 24 */
  background: #24201c;                                             /* flat bezel */
  box-shadow: 0 0 0 1px #0a0806, inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 24px 48px -32px rgba(40, 25, 10, 0.55);
}
.device-screen { border-radius: var(--r-xl); }                     /* 24 - 12 */
.screen-window { border-radius: var(--r-lg); }                     /* gap over 32px: own radius */
.device-shadow {                                                   /* soft floor shadow, no gradient */
  width: min(720px, 80%); height: var(--sp-300); margin-top: calc(var(--sp-300) * -1);
  border-radius: var(--r-full); background: rgba(40, 25, 10, 0.22); filter: blur(var(--sp-200));
}

.device-meta { margin-top: var(--sp-200); gap: var(--sp-100); }
.device-steps { padding: var(--sp-50); gap: var(--sp-25); border-radius: var(--r-xl); border: 1px solid var(--line-strong); }
.step-btn {
  height: auto; padding: var(--sp-75) var(--sp-100); gap: var(--sp-75); border-radius: var(--r-lg);   /* 12 - 4 */
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--text);
  transition: background-color var(--t-fade) var(--ease), color var(--t-fade) var(--ease), transform var(--t-move) var(--ease);
}
.step-btn:hover { background: var(--surface-2); color: var(--ink); }
.step-btn:active { transform: scale(0.98); }
.step-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.step-btn.is-on, .step-btn.is-on:hover { background: var(--ink); color: var(--bg); }
.device-captions { max-width: 640px; height: 72px; }               /* three lines of body-3 */
.device-caption { font-size: 1rem; line-height: 1.5rem; text-wrap: balance; }

@media (max-width: 1023px) {
  .tour-head h2.heading-2 { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (max-width: 639px) {
  .device-track { height: 300vh; }
  .tour-head { padding-top: var(--sp-700); }
  .tour-head h2.heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
  .device-stage { padding-top: var(--sp-800); }
  .device { padding: var(--sp-75); border-radius: var(--r-2xl); }  /* 16 */
  .device-screen { border-radius: var(--r-lg); }                   /* 16 - 8 */
  .screen-window { border-radius: var(--r-md); }
  .device-steps li { display: flex; }
  .step-btn { height: 100%; padding: var(--sp-75) var(--sp-50); font-size: 0.75rem; line-height: 1rem; white-space: normal; text-align: center; }
  .device-captions { height: 96px; }                               /* four lines */
}

/* ==========================================================================
   Shared section heading for passed sections (.sys-head): heading-2 that
   steps to heading-3 / heading-4, a body-3 lead, tokens only. No accent word.
   ========================================================================== */
.sys-head { max-width: 680px; margin: 0 auto var(--sp-600); text-align: center; }
.sys-head h2.heading-2 { margin: 0; font-size: 3rem; line-height: 3rem; letter-spacing: -0.03em; color: var(--ink); }
.sys-head p.body-3 { max-width: 560px; margin: var(--sp-200) auto 0; font-size: 1rem; line-height: 1.5rem; color: var(--text); }
@media (max-width: 1023px) { .sys-head h2.heading-2 { font-size: 2.25rem; line-height: 2.5rem; } }
@media (max-width: 639px) { .sys-head { margin-bottom: var(--sp-400); } .sys-head h2.heading-2 { font-size: 1.875rem; line-height: 2.25rem; } }

/* ==========================================================================
   4. Partners (pass 4)
   Six partners on one light panel (all sides bordered), each with its role,
   name and involvement; the press screenshot and the $25 note beside it.
   No dark marble tint, no one-sided dividers.
   ========================================================================== */
.partners-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--sp-300); align-items: start; max-width: 1080px; margin: 0 auto; }
.partner-rows, .partners-note {
  margin: 0; list-style: none; border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
}
.partner-rows { padding: var(--sp-400); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-400); }
.partner-rows li { display: flex; flex-direction: column; min-width: 0; }
.partner-role { margin: 0; color: var(--gold); }
.partner-rows h3.title-2 { margin: var(--sp-50) 0 var(--sp-75); color: var(--ink); text-shadow: none; }
.partner-rows p.body-6, .partners-note p.body-6 { margin: 0; color: var(--text); text-shadow: none; text-wrap: pretty; }
.partner-rows .count { color: inherit; font-weight: 600; }
.partners-aside { display: grid; gap: var(--sp-300); }
.partners-note { padding: var(--sp-300); }
.partners-note p.body-6 { margin-top: var(--sp-75); }
.partners-section .press-strip { max-width: none; }

@media (max-width: 959px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partners-aside { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 639px) {
  .partner-rows { grid-template-columns: 1fr; padding: var(--sp-300); gap: var(--sp-300); }
  .partners-aside { grid-template-columns: 1fr; }
  .partners-section .press-strip { max-width: 280px; margin: 0 auto; width: 100%; }
}

/* Section rhythm (global): 64px desktop; phones keep 40px (Spacing-500). */
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
@media (max-width: 720px) { .section { padding-top: var(--sp-500); padding-bottom: var(--sp-500); } }
.partners-section .shot-caption { padding: var(--sp-100) var(--sp-200) var(--sp-200); }
.partners-section .shot-caption-text strong { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.partners-section .shot-caption-text span { font-size: 0.875rem; line-height: 1.25rem; }

/* ==========================================================================
   5. Project log (pass 5)
   A light panel bordered on all sides. Each milestone: date (caption-4, mono
   because it is a timestamp), title (title-2), detail (body-6). The timeline
   is drawn as one segment per milestone, from its dot to the next dot, and
   lights up as the reader scrolls past (play.js marks .is-reached).
   ========================================================================== */
.journey-section .log-panel {
  position: relative; margin: 0; padding: var(--sp-100) var(--sp-400);
  list-style: none; border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
}
.journey-section .log-rail { display: none; }
.journey-section .log-panel li {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--sp-200);
  padding: var(--sp-300) 0 var(--sp-300) var(--sp-500); border: 0;
}
.journey-section .log-panel time { padding: 0; font-family: var(--font-mono); font-size: 0.75rem; line-height: 1rem; color: var(--muted); }
.journey-section .log-panel h3.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; margin: 0 0 var(--sp-50); color: var(--ink); text-shadow: none; transition: color var(--t-fade) var(--ease); }
.journey-section .log-panel p.body-6 { font-size: 0.875rem; line-height: 1.25rem; margin: 0; color: var(--text); text-shadow: none; text-wrap: pretty; }
.journey-section .log-panel li:not(.is-reached) h3.title-2 { color: var(--muted); }
/* Dot */
.journey-section .log-panel li::before {
  left: 0; top: calc(var(--sp-300) + var(--sp-50)); width: 12px; height: 12px;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-strong);
}
.journey-section .log-panel li.is-reached::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(123, 93, 35, 0.14); }
.journey-section .log-panel li.is-now.is-reached::before { background: var(--pink-deep); box-shadow: 0 0 0 4px rgba(184, 87, 122, 0.16); }
/* Segment from this dot to the next one */
.journey-section .log-panel li:not(:last-child)::after {
  content: ""; position: absolute; left: 5px; top: calc(var(--sp-300) + var(--sp-50) + 12px); width: 2px; height: calc(100% - 12px);
  border-radius: var(--r-full); background: var(--line-strong); transition: background-color var(--t-move) var(--ease);
}
.journey-section .log-panel li.is-reached:has(+ li.is-reached)::after { background: var(--gold); }
.journey-section .log .is-now time { color: var(--gold); }
.journey-section .log .is-now time::after { background: var(--pink-deep); }

@media (max-width: 639px) {
  .journey-section .log-panel { padding: var(--sp-75) var(--sp-300); }
  .journey-section .log-panel li { grid-template-columns: 1fr; gap: var(--sp-50); padding-left: var(--sp-400); }
  .journey-section .log-panel li::before { top: var(--sp-300); }
  .journey-section .log-panel li:not(:last-child)::after { top: calc(var(--sp-300) + 12px); }
}

/* ==========================================================================
   6. Problem (pass 6)
   Shared heading. The chart keeps a dark ground (it is an instrument style
   drawing) but as a flat surface from the skill's dark palette, not the
   marble gradient. The three points sit on light panels bordered on all
   sides: number (caption-4), title (title-2), detail (body-6).
   ========================================================================== */
.problem .problem-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--sp-200); max-width: 1080px; margin: 0 auto; }
.problem .problem-chart {
  margin: 0; padding: var(--sp-300); border-radius: var(--r-2xl); background: #131209;
  box-shadow: 0 24px 48px -32px rgba(40, 25, 10, 0.55); isolation: auto;
}
.problem .problem-legend { gap: var(--sp-75) var(--sp-200); margin-top: var(--sp-100); font-size: 0.875rem; line-height: 1.25rem; color: #ddd2c6; }
.problem .pl::before { margin-right: var(--sp-75); border-radius: var(--r-sm); }
.problem .pl--seen::before { width: 4px; background: #f6efe7; box-shadow: 7px 0 0 #f6efe7; margin-right: var(--sp-200); }  /* dashes, no gradient */
.problem .pl-note { color: #b7ab9c; }
.problem .problem-cards { gap: var(--sp-200); }
.problem-point { padding: var(--sp-300); border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface); }
.problem-point .problem-n { margin: 0; color: var(--gold); }
.problem-point h3.title-2 { margin: var(--sp-50) 0 var(--sp-75); font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; color: var(--ink); }
.problem-point p.body-6 { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: pretty; }
@media (max-width: 959px) { .problem .problem-grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .problem .problem-chart { padding: var(--sp-200); } }

/* ==========================================================================
   7. Features overview (pass 7)
   Shared heading without the accent word. The eight features were dark
   marble cards with tilt; they are now light panels bordered on all sides,
   each with a flat dark inset for its small animation (#131209, the same
   dark surface as the problem chart). Number caption-4 (Geist), title
   title-2, detail body-6, link body-5. Animations pause off screen.
   ========================================================================== */
.solution .feats { gap: var(--sp-200); }
.solution .feat {
  display: flex; flex-direction: column; min-height: 0; padding: var(--sp-300);
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
  color: var(--text); text-decoration: none; text-shadow: none;
  transition: transform var(--t-move) var(--ease), border-color var(--t-fade) var(--ease), box-shadow var(--t-fade) var(--ease);
}
.js .solution .feat[data-reveal].in {
  transition: opacity 700ms var(--ease) var(--d, 0ms), transform var(--t-move) var(--ease), border-color var(--t-fade) var(--ease), box-shadow var(--t-fade) var(--ease);
}
.solution .feat:hover { transform: translateY(-2px); border-color: rgba(10, 8, 6, 0.28); box-shadow: 0 16px 32px -24px rgba(40, 25, 10, 0.45); }
.solution .feat:active { transform: scale(0.98); }
.solution .feat:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.solution .feat-viz {
  height: 80px; margin: 0 0 var(--sp-200); border-radius: var(--r-lg);
  background: #131209; box-shadow: none;
}
.solution .feat-viz svg { width: 100%; max-width: 168px; height: 48px; }
.solution .feat-n { margin: 0; color: var(--gold); font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.solution .feat h3.title-2 { margin: var(--sp-50) 0 var(--sp-75); font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
.solution .feat p.body-6 { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: pretty; }
.solution .feat-more {
  margin-top: auto; padding-top: var(--sp-200); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  color: var(--gold); opacity: 1; transition: transform var(--t-move) var(--ease), color var(--t-fade) var(--ease);
}
.solution .feat:hover .feat-more, .solution .feat:focus-visible .feat-more { color: var(--ink); transform: translateX(var(--sp-50)); }
@media (max-width: 720px) {
  .solution .feat { padding: var(--sp-200); }
  .solution .feat-viz { height: 64px; }
}

/* ==========================================================================
   8. Why five signals (pass 8)
   Shared heading without the accent word. The four signal toggles were
   dark marble tilt cards; they are now light panels bordered on all sides
   with a flat dark trace (#131209). Title title-2, detail body-6. The
   agreement meter is one solid color instead of a gradient, and the
   closing line is title-1 with a solid underline (no mono, no italics,
   no gradient highlight).
   ========================================================================== */
.sig-grid { gap: var(--sp-200); }
.sig-card {
  position: relative; display: flex; flex-direction: column; padding: var(--sp-300);
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
  color: var(--text); text-shadow: none; box-shadow: none;
  transition: transform var(--t-move) var(--ease), border-color var(--t-fade) var(--ease), box-shadow var(--t-fade) var(--ease);
}
.js .sig-card[data-reveal].in {
  transition: opacity 700ms var(--ease) var(--d, 0ms), transform var(--t-move) var(--ease), border-color var(--t-fade) var(--ease), box-shadow var(--t-fade) var(--ease);
}
.sig-card:hover { border-color: rgba(10, 8, 6, 0.28); }
.sig-card:active { transform: scale(0.98); }
.sig-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; box-shadow: none; }
.sig-card[aria-pressed="true"] { border-color: var(--pink-deep); box-shadow: 0 0 0 1px var(--pink-deep); }
.sig-card h3.title-2 { margin: 0 0 var(--sp-75); padding-right: var(--sp-400); font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
.sig-card p.body-6 { margin: 0 0 var(--sp-200); font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: pretty; }
.sig-card .sig-trace { margin-top: auto; height: 40px; border-radius: var(--r-lg); background: #131209; box-shadow: none; }
.sig-card .sig-dot {
  top: var(--sp-300); right: var(--sp-300); width: 20px; height: 20px; border-radius: var(--r-full);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color var(--t-fade) var(--ease), box-shadow var(--t-fade) var(--ease);
}
.sig-card .sig-dot::after { left: 7px; top: 4px; border-color: #fff; transition: transform var(--t-fade) var(--ease); }
.sig-card:hover .sig-dot { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sig-card[aria-pressed="true"] .sig-dot { background: var(--pink-deep); box-shadow: none; transform: none; }

.sig-meter { max-width: 560px; margin: var(--sp-400) auto 0; }
.sig-meter-bar { height: 8px; border-radius: var(--r-full); background: var(--line); }
.sig-meter-fill { background: var(--pink-deep); filter: none; transition: transform var(--t-move) var(--ease), background-color var(--t-fade) var(--ease); }
.sig-meter[data-state^="motion"] .sig-meter-fill { filter: none; background: var(--faint); }
.sig-meter-bar i { width: 2px; background: var(--bg); }
.sig-meter-text.body-3 { margin: var(--sp-100) 0 0; min-height: 48px; font-size: 1rem; line-height: 1.5rem; color: var(--muted); text-wrap: balance; }
.sig-meter-text strong { color: var(--ink); font-weight: 500; }

#philosophy .statement.title-1 {
  max-width: 640px; margin: var(--sp-400) auto 0; font-size: 1.25rem; line-height: 1.75rem; font-weight: 500;
  color: var(--ink); letter-spacing: -0.01em; text-wrap: balance;
}
#philosophy .statement strong {
  font-weight: 600; color: var(--ink); font-family: inherit; font-size: inherit; letter-spacing: inherit; background: none;
  text-decoration: underline 2px; text-underline-offset: 4px; text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fade) var(--ease);
}
#philosophy .statement.is-lit strong { text-decoration-color: var(--pink-deep); }
@media (max-width: 639px) {
  .sig-card { padding: var(--sp-200); }
  .sig-card .sig-dot { top: var(--sp-200); right: var(--sp-200); }
}

/* ==========================================================================
   9. Sensors (pass 9)
   Shared heading without the accent word. The sensor table was a dark
   marble panel with one-sided row dividers; it is now one light panel
   bordered on all sides, rows separated by spacing alone (no dividers).
   Header labels caption-4 in Geist; signal title-3; part number caption-2
   in Geist Mono (a part number, so mono is functional); reason body-6;
   status caption-4. Traces sit on the flat dark surface (#131209).
   ========================================================================== */
.sensor-table {
  max-width: 1080px; margin: 0 auto; padding: var(--sp-75);
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
  color: var(--text); text-shadow: none;
}
#sensors .sensor-row {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 2fr) 96px; gap: var(--sp-300); align-items: baseline;
  padding: var(--sp-200); border: 0; border-radius: var(--r-lg); background: none;
  transition: background-color var(--t-fade) var(--ease);
}
#sensors .sensor-row:hover:not(.sensor-row--head) { background: var(--bg); }
#sensors .sensor-row--head {
  padding: var(--sp-100) var(--sp-200); background: var(--surface-2); color: var(--muted);
  font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500;
}
#sensors .sensor-row--head > :last-child, #sensors .sensor-row > .pill { justify-self: end; }
#sensors .sensor-row h3.title-3 { margin: 0; font-size: 1rem; line-height: 1.5rem; font-weight: 500; color: var(--ink); text-wrap: balance; }
#sensors .sensor-row code.caption-2 { font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; color: var(--gold); }
#sensors .sensor-row p.body-6 { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: pretty; }
#sensors .sig-trace--row { height: 24px; margin-top: var(--sp-75); max-width: 168px; border-radius: var(--r-md); background: #131209; box-shadow: none; }
#sensors .pill {
  gap: var(--sp-50); padding: var(--sp-50) var(--sp-75); border-radius: var(--r-md);
  font-size: 0.75rem; line-height: 1rem; font-weight: 500; background: var(--surface-2); color: var(--muted);
}
#sensors .pill--live { background: #e3ead9; color: var(--live); }
@media (max-width: 960px) {
  #sensors .sensor-row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-75) var(--sp-200); }
  #sensors .sensor-row code.caption-2 { grid-row: 2; }
  #sensors .sensor-row p.body-6 { grid-column: 1 / -1; grid-row: 3; }
  #sensors .sensor-row .pill { grid-row: 1; grid-column: 2; }
  #sensors .sensor-row--head { display: none; }
}
@media (max-width: 639px) {
  .sensor-table { padding: var(--sp-50); }
  #sensors .sensor-row { padding: var(--sp-200) var(--sp-100); border-radius: var(--r-xl); }
}

/* ==========================================================================
   Shared light panel (from pass 10 on). One definition for the remaining
   sections: bordered on all sides, radius 16, padding 24 (16 on phones),
   number caption-4 in Geist, title title-2, detail body-6. Replaces the
   dark marble .card / .panel / .callout treatment section by section.
   ========================================================================== */
.sys-grid { gap: var(--sp-200); }
.sys-panel {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--sp-300);
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
  color: var(--text); text-shadow: none; box-shadow: none;
}
.sys-panel .sys-n { margin: 0; color: var(--gold); font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.sys-panel h3.title-2 { margin: 0 0 var(--sp-75); font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
.sys-panel .sys-n + h3.title-2 { margin-top: var(--sp-50); }
.sys-panel p.body-6 { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: pretty; }
.sys-note {
  max-width: 680px; margin: var(--sp-400) auto 0; padding: var(--sp-300);
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface-2);
  color: var(--text); text-shadow: none;
}
.sys-note-label { margin: 0 0 var(--sp-75); color: var(--gold); font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.sys-note p.body-6 { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: pretty; }
.data { font-family: var(--font-mono); font-size: 0.875rem; color: var(--ink); white-space: nowrap; }
@media (max-width: 639px) {
  .sys-panel, .sys-note { padding: var(--sp-200); }
}

/* ==========================================================================
   10. The model (pass 10)
   Shared heading without the accent word. The four pipeline steps are
   shared light panels; the step running now gets a gold border and a
   solid gold progress bar (was a gold to pink gradient bar and a brightness
   filter that dimmed the other steps). The "number we threw out" note is a
   light panel on --surface-2 instead of a dark ink box, with R² in mono
   as a data value.
   ========================================================================== */
.pipeline > li.sys-panel { overflow: hidden; outline: none; transition: border-color var(--t-fade) var(--ease); }
.pipeline.is-running > li.sys-panel:not(.is-active) { filter: none; }
.pipeline > li.sys-panel.is-active { border-color: var(--gold); box-shadow: none; transform: none; }
.pipeline > li.sys-panel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pipeline .step-bar { height: 4px; background: var(--gold); }

/* ==========================================================================
   11. Hardware (pass 11)
   Shared heading without the accent word. Three shared light panels. Lists
   and the spec sheet lose their one-sided row dividers and are spaced
   instead; spec labels caption-4 in Geist, values body-6.
   ========================================================================== */
.hw-grid .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-75); }
.hw-grid .checks li { padding: 0 0 0 var(--sp-300); border: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--text); }
.hw-grid .checks li::before { left: 2px; top: 5px; border-color: var(--live); }
.hw-grid .checks--open li::before { top: 5px; width: 10px; height: 10px; border: 1.5px solid var(--faint); border-radius: var(--r-sm); }
.hw-grid .specs { margin: 0; display: grid; gap: var(--sp-75); }
.hw-grid .specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-100); padding: 0; border: 0; }
.hw-grid .specs dt { font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; color: var(--muted); }
.hw-grid .specs dd { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink); text-align: right; }

/* ==========================================================================
   12. Hardware in 3D (pass 12)
   Shared heading without the accent word. The film and its Didot titles
   are an approved exception and keep their frame-relative sizes. The
   instrument chrome around the film moves onto the system: flat window bar
   (no gradient, no one-sided border), Tailwind radii with the nested rule
   (frame 24 with an 8px bezel, so the view's corners are 16), token
   spacing, 12/14/16px text, Geist for the chapter rail (ordinals are not
   mono), solid scrubber, balanced captions. The file name and the frame
   counter stay mono (a file name and a timestamp).
   ========================================================================== */
.prototype .hw-stage { border-width: 8px; border-radius: var(--r-3xl); }
.prototype .hw-bar {
  height: 48px; gap: var(--sp-200); padding: 0 var(--sp-200);
  border-bottom: 0; background: rgba(19, 18, 9, 0.92); font-size: 0.75rem; line-height: 1rem;
}
.prototype .hw-view { inset: 48px 0 0 0; }
.prototype .hw-skip, .prototype .hw-360 {
  padding: var(--sp-50) var(--sp-75); border-radius: var(--r-md); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  transition: background-color var(--t-fade) var(--ease), border-color var(--t-fade) var(--ease), color var(--t-fade) var(--ease);
}
.prototype .hw-360 { gap: var(--sp-75); margin-left: var(--sp-50); }
.prototype .hw-skip:focus-visible, .prototype .hw-360:focus-visible, .prototype .hw-orbit-btn:focus-visible,
.prototype .hw-orbit-exit:focus-visible, .prototype .hw-rail-btn:focus-visible, .prototype .hw-label-x:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.prototype .hw-label-card { left: var(--sp-200); top: var(--sp-100); padding: var(--sp-100) var(--sp-500) var(--sp-100) var(--sp-200); border-radius: var(--r-xl); }
.prototype .hw-label-card strong { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.prototype .hw-label-d { margin-top: var(--sp-50); font-size: 0.875rem; line-height: 1.25rem; }
.prototype .hw-label-x { top: var(--sp-75); right: var(--sp-75); border-radius: var(--r-md); font-size: 1rem; }
.prototype .hw-orbit-ui { top: var(--sp-200); gap: var(--sp-50); padding: var(--sp-50) var(--sp-50) var(--sp-50) var(--sp-200); border-radius: var(--r-xl); font-size: 0.875rem; line-height: 1.25rem; }
.prototype .hw-orbit-hint { margin-right: var(--sp-75); }
.prototype .hw-orbit-btn, .prototype .hw-orbit-exit { border-radius: var(--r-lg); }
.prototype .hw-orbit-btn, .prototype .hw-label-x { padding: 0; }
.prototype .hw-orbit-btn { font-size: 1rem; }
.prototype .hw-orbit-exit { padding: 0 var(--sp-100); font-size: 0.875rem; }
.prototype .hw-rail { right: var(--sp-200); gap: var(--sp-25); }
.prototype .hw-rail-btn { gap: var(--sp-100); min-height: 32px; padding: 0 var(--sp-75); border-radius: var(--r-lg); font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.prototype .hw-rail-btn .n { padding-right: var(--sp-200); }
.prototype .hw-scrub { height: 4px; }
.prototype .hw-scrub span { background: var(--gold-light); }
.prototype .hw-caption { text-wrap: balance; }
@media (max-width: 800px) {
  .prototype .hw-stage { border-width: 8px; border-radius: var(--r-2xl); }
  .prototype .hw-bar { height: 40px; padding: 0 var(--sp-100); gap: var(--sp-100); font-size: 0.75rem; }
  .prototype .hw-view { inset: 40px 0 0 0; }
  .prototype .hw-skip { font-size: 0.75rem; line-height: 1rem; padding: var(--sp-50) var(--sp-75); }
  .prototype .hw-360 { padding: var(--sp-50) var(--sp-75); }
  .prototype .hw-orbit-ui { top: auto; bottom: var(--sp-100); padding: var(--sp-50); }
}

/* ==========================================================================
   13. The build, photo deck (pass 13)
   Shared heading without the accent word. Card backs were marble under a
   gradient tint and the photo fronts had a gradient sheen; backs are now
   the flat dark surface (#131209) and the sheen is gone. Back text:
   number caption-4 in Geist, title heading-6, detail body-6. Caption under
   the deck title-2 / body-3 (title-3 / body-6 on phones). Counter in Geist
   with tabular figures (an ordinal, not data). Token spacing, round buttons.
   ========================================================================== */
.field .fl-back { gap: var(--sp-75); padding: var(--sp-300); background: #131209; }
/* Sheen restored (founder, November 2026): the light catch on the photo fronts is back; see field.css. */
.field .fl-back-n { font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; letter-spacing: 0; }
.field .fl-back-t { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.field .fl-back-d { font-size: 0.875rem; line-height: 1.25rem; text-wrap: pretty; }
.field .shot-caption-text strong { font-size: 1rem; line-height: 1.5rem; }
.field .shot-caption-text span { font-size: 0.875rem; line-height: 1.25rem; }
.field .fl-ui { gap: var(--sp-300); bottom: var(--sp-200); width: min(100% - 48px, 1100px); }
.field .fl-caption { min-height: 52px; }
.field .fl-caption strong { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; text-wrap: balance; }
.field .fl-caption span { margin-top: var(--sp-25); font-size: 1rem; line-height: 1.5rem; text-wrap: pretty; }
.field .fl-nav { gap: var(--sp-100); }
.field .fl-count { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.field .fl-btn {
  padding: 0; border-radius: var(--r-full); font-size: 1rem;
  transition: background-color var(--t-fade) var(--ease), border-color var(--t-fade) var(--ease), transform var(--t-move) var(--ease);
}
.field .fl-btn:active { transform: scale(0.98); }
.field .fl-btn:focus-visible, .field .fl-front:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 800px) {
  .field .fl-ui { bottom: var(--sp-100); width: calc(100% - 32px); gap: var(--sp-100); }
  .field .fl-caption { min-height: 64px; }
  .field .fl-caption strong { font-size: 1rem; line-height: 1.5rem; }
  .field .fl-caption span { font-size: 0.875rem; line-height: 1.25rem; }
}

/* ==========================================================================
   14. In the works, Roadmap, Workshops (passes 14 to 16)
   Shared headings without the accent word. Marble cards become shared
   light panels. Roadmap lists lose their one-sided dividers for spacing
   and a small solid dot; the Is / Isn't pair are light panels (no marble,
   no dashed border). Workshops are one light panel bordered on all sides,
   rows separated by spacing, number caption-4 in Geist (not mono).
   Hyphenated compounds rewritten.
   ========================================================================== */
.sys-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-75); }
.sys-list li { position: relative; padding-left: var(--sp-200); font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: pretty; }
.sys-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--gold); }
.isnt-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-200); margin-top: var(--sp-200); }
.isnt-item {
  display: flex; align-items: baseline; gap: var(--sp-100); margin: 0; padding: var(--sp-200) var(--sp-300);
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
  font-size: 1rem; line-height: 1.5rem; color: var(--ink); text-wrap: pretty;
}
.isnt-item .pill { flex: none; margin: 0; gap: var(--sp-50); padding: var(--sp-25) var(--sp-75); border-radius: var(--r-md); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.isnt-item .pill--live { background: #e3ead9; color: var(--live); }
.isnt-item .pill--no { background: #f6dde4; color: var(--pink-deep); }
.ws-list {
  list-style: none; margin: 0; padding: var(--sp-75); display: grid;
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
}
.ws-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--sp-50) var(--sp-200); align-items: baseline; padding: var(--sp-200); }
.ws-list .ws-n { color: var(--gold); font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.ws-list h3.title-2 { margin: 0; font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
.ws-list p.body-6 { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: pretty; }
@media (max-width: 720px) {
  .isnt-row { grid-template-columns: 1fr; }
  .ws-list li { grid-template-columns: 24px minmax(0, 1fr); }
  .ws-list li p.body-6 { grid-column: 2; }
}
@media (max-width: 639px) {
  .isnt-item { padding: var(--sp-200); }
  .ws-list { padding: var(--sp-50); }
  .ws-list li { padding: var(--sp-200) var(--sp-100); }
}

/* ==========================================================================
   15. How it works (pass 17)
   Shared heading without the accent word. Steps: number caption-4 in
   Geist, title title-1, detail body-3; the active step gets a gold border
   and a solid gold progress bar (was a gold to pink gradient). The scene
   sits on the flat dark surface (#131209) instead of marble; the finger
   and the chart band draw flat fills. "60-second" rewritten.
   ========================================================================== */
.how .how-grid { gap: var(--sp-200); }
.how .how-steps { gap: var(--sp-100); }
.how .how-step {
  gap: var(--sp-50); padding: var(--sp-200) var(--sp-300); border-radius: var(--r-2xl);
  border: 1px solid var(--line-strong); background: var(--surface); box-shadow: none;
  transition: transform var(--t-move) var(--ease), border-color var(--t-fade) var(--ease), background-color var(--t-fade) var(--ease);
}
.how .how-step:hover { background: #fff; }
.how .how-step.is-on { background: #fff; border-color: var(--gold); box-shadow: none; transform: translateX(var(--sp-50)); }
.how .how-step::after { height: 4px; background: var(--gold); }
.how .how-step:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.how .how-n { color: var(--gold); font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.how .how-t { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.how .how-d { font-size: 1rem; line-height: 1.5rem; color: var(--muted); text-wrap: pretty; }
.how .how-scene { border-radius: var(--r-2xl); background: #131209; box-shadow: none; overflow: hidden; }
.how .how-hud { left: var(--sp-200); right: var(--sp-200); bottom: var(--sp-200); gap: var(--sp-100); font-size: 0.875rem; line-height: 1.25rem; }
.how .how-hud-step { font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.how .how-note { margin: var(--sp-200) 0 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); text-align: center; text-wrap: balance; }
@media (max-width: 720px) {
  .how .how-hud { bottom: var(--sp-100); gap: var(--sp-25); font-size: 0.875rem; }
}
@media (max-width: 639px) { .how .how-step { padding: var(--sp-200); } }

/* ==========================================================================
   16. Founder (pass 18)
   Shared heading without the accent word. The founder card is a light
   panel bordered on all sides (no marble, no tilt). Name heading-4, role
   caption-2 in Geist (not mono), bio body-3, facts as light chips (body-6),
   LinkedIn as a text link (was a second filled gold button). Mentor line
   body-6 with names kept together.
   ========================================================================== */
.founder--sys {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--sp-400); align-items: center;
  max-width: 900px; margin: 0 auto; padding: var(--sp-400);
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl); background: var(--surface);
  color: var(--text); text-shadow: none; box-shadow: none;
}
.founder--sys .founder-photo { border-radius: var(--r-xl); box-shadow: none; }
.founder--sys h3.heading-4 { margin: 0; font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.founder--sys .founder-role { margin: var(--sp-50) 0 var(--sp-200); font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; color: var(--gold); }
.founder--sys p.body-3 { margin: 0; font-size: 1rem; line-height: 1.5rem; color: var(--text); text-wrap: pretty; }
.founder--sys .founder-facts { margin: var(--sp-200) 0 0; gap: var(--sp-75); }
.founder--sys .founder-facts li {
  padding: var(--sp-50) var(--sp-100); border-radius: var(--r-lg); background: var(--surface-2); box-shadow: none;
  font-size: 0.875rem; line-height: 1.25rem; color: var(--ink);
}
.founder--sys .founder-link {
  min-height: 0; margin-top: var(--sp-300); padding: 0; border-radius: 0; background: none;
  gap: var(--sp-75); font-size: 1rem; line-height: 1.5rem; font-weight: 500; color: var(--text);
}
.founder--sys .founder-link:hover { background: none; transform: none; color: var(--ink); }
#team .fine.body-6 { max-width: 640px; margin: var(--sp-300) auto 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); text-wrap: balance; }
@media (max-width: 720px) {
  .founder--sys { grid-template-columns: 1fr; gap: var(--sp-300); padding: var(--sp-300); }
  .founder--sys .founder-photo { max-width: 240px; }
}
@media (max-width: 639px) { .founder--sys { padding: var(--sp-200); } .founder--sys h3.heading-4 { font-size: 1.5rem; line-height: 2rem; } }

/* ==========================================================================
   17. FAQ (pass 19)
   Shared heading without the accent word. The accordion used top and
   bottom rules as dividers; each question is now its own light panel
   bordered on all sides (radius 12), spaced 8px apart. Question title-2,
   answer body-3, R² in mono as a data value.
   ========================================================================== */
.faq .faq-list { display: grid; gap: var(--sp-75); border: 0; }
.faq .faq-item { border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: var(--surface); }
.faq .faq-item summary { gap: var(--sp-200); padding: var(--sp-200) var(--sp-300); font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; letter-spacing: -0.01em; }
.faq .faq-item summary span { text-wrap: balance; }
.faq .faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--r-xl); }
.faq .faq-item summary i { transition: background-color var(--t-fade) var(--ease), transform var(--t-move) var(--ease); }
.faq .faq-a p { margin: 0; padding: 0 var(--sp-300) var(--sp-300); font-size: 1rem; line-height: 1.5rem; color: var(--muted); text-wrap: pretty; }
@media (max-width: 639px) {
  .faq .faq-item summary { padding: var(--sp-200); font-size: 1rem; line-height: 1.5rem; }
  .faq .faq-a p { padding: 0 var(--sp-200) var(--sp-200); font-size: 1rem; }
}

/* ==========================================================================
   18. Final call to action (pass 20)
   The contact block was a dark marble panel; it is now a light panel
   bordered on all sides like every other section, and the form follows the
   approved primary button (ink, not gold). Heading uses heading-2/3/4 by
   width without the accent word; lead body-3; email title-1 with a solid
   underline on hover (no one-sided border); secondary links are text
   links; labels body-5, inputs 16px on white with the gold focus ring;
   errors in --pink-deep for contrast on a light ground.
   ========================================================================== */
#contact .contact--sys {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-500);
  max-width: 1080px; margin: 0 auto; padding: var(--sp-500);
  border: 1px solid var(--line-strong); border-radius: var(--r-3xl); background: var(--surface);
  color: var(--text); text-shadow: none; box-shadow: none;
}
#contact .contact--sys::before { display: none; }
#contact .contact--sys .eyebrow { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); }
#contact .contact--sys h2.heading-2 { margin: var(--sp-200) 0 0; font-size: 3rem; line-height: 3rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
#contact .contact--sys .contact-info > p.body-3 { margin: var(--sp-200) 0 0; font-size: 1rem; line-height: 1.5rem; color: var(--text); text-wrap: pretty; }
#contact .contact-email-row { gap: var(--sp-100); margin-top: var(--sp-300); }
#contact .contact-email {
  margin: 0; padding: 0; border: 0; font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; color: var(--ink);
  text-decoration: underline 1px var(--gold); text-underline-offset: 6px;
  transition: text-decoration-color var(--t-fade) var(--ease), color var(--t-fade) var(--ease);
}
#contact .contact-email:hover { color: var(--gold); }
#contact .contact-email:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#contact .copy-btn {
  height: 32px; padding: 0 var(--sp-100); border-radius: var(--r-lg); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong);
  transition: background-color var(--t-fade) var(--ease), border-color var(--t-fade) var(--ease), color var(--t-fade) var(--ease), transform var(--t-move) var(--ease);
}
#contact .copy-btn:hover { background: var(--bg); }
#contact .copy-btn:active { transform: scale(0.98); }
#contact .copy-btn.is-done { color: var(--live); border-color: rgba(63, 122, 74, 0.4); background: #e3ead9; }
#contact .copy-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#contact .contact-links { gap: var(--sp-75); margin: var(--sp-300) 0 0; font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
#contact .contact-links a { color: var(--text); }
#contact .contact-links a:hover { color: var(--ink); }
#contact .contact-form { gap: var(--sp-200); }
#contact .form-group label { margin-bottom: var(--sp-75); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink); }
#contact .form-group .optional { color: var(--muted); font-weight: 400; }
#contact .form-group input, #contact .form-group textarea, #contact .form-group select {
  padding: var(--sp-75) var(--sp-100); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background-color: #fff; color: var(--ink); font-size: 1rem; line-height: 1.5rem;
  transition: border-color var(--t-fade) var(--ease), box-shadow var(--t-fade) var(--ease);
}
#contact .form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%237b5d23' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
#contact .form-group select:invalid { color: var(--muted); }
#contact .form-group input:focus, #contact .form-group textarea:focus, #contact .form-group select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(123, 93, 35, 0.25);
}
#contact .form-group [aria-invalid="true"] { border-color: var(--pink-deep); }
#contact .field-error { color: var(--pink-deep); }
#contact .form-status.error { color: var(--pink-deep); }
#contact .form-status.success { color: var(--live); }
#contact .contact .btn-dark { justify-self: start; background: var(--ink); color: var(--bg); }
#contact .contact .btn-dark:hover { background: #2a241f; }
#contact .form-intro { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); }
#contact .form-intro a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { #contact .contact--sys h2.heading-2 { font-size: 2.25rem; line-height: 2.5rem; } }
@media (max-width: 860px) { #contact .contact--sys { grid-template-columns: 1fr; gap: var(--sp-400); padding: var(--sp-400); } }
@media (max-width: 639px) {
  #contact .contact--sys { padding: var(--sp-300) var(--sp-200); border-radius: var(--r-2xl); }
  #contact .contact--sys h2.heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
}
#contact .form-group select option { padding: 0; }

/* ==========================================================================
   19. Footer (pass 21)
   The footer was a dark card over drifting marble under a gradient scrim
   (both rejected). It is now a light panel bordered on all sides on
   --surface-2, with no background art. Column titles title-4, links body-6
   with a solid underline on hover (was a gradient drawn underline), tagline
   body-6, fine print caption-2. Icon buttons and the back to top link are
   light with token radii.
   ========================================================================== */
.site-foot .foot-card {
  min-height: 0; padding: var(--sp-600) var(--sp-600) var(--sp-300); border-radius: var(--r-3xl);
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); box-shadow: none;
}
.site-foot .foot-card::before, .site-foot .foot-art { display: none; }
.site-foot .foot-grid { gap: var(--sp-400); }
.site-foot .foot-brand .brand, .site-foot .foot-brand .brand-mark { color: var(--ink); }
.site-foot .foot-tag { margin: var(--sp-100) 0 var(--sp-200); max-width: 26ch; font-size: 0.875rem; line-height: 1.25rem; color: var(--text); text-wrap: balance; }
.site-foot .foot-social { gap: var(--sp-75); }
.site-foot .foot-social a {
  width: 40px; height: 40px; border-radius: var(--r-lg); color: var(--ink);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color var(--t-fade) var(--ease), color var(--t-fade) var(--ease), transform var(--t-move) var(--ease);
}
.site-foot .foot-social a:hover, .site-foot .foot-social a:focus-visible { background: #fff; color: var(--gold); transform: translateY(-1px); }
.site-foot .foot-col { gap: var(--sp-75); }
.site-foot .foot-col h3 { margin: 0 0 var(--sp-50); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink); }
.site-foot .foot-col a {
  font-size: 0.875rem; line-height: 1.25rem; color: var(--text); background: none;
  text-decoration: underline 1px transparent; text-underline-offset: 4px;
  transition: color var(--t-fade) var(--ease), text-decoration-color var(--t-fade) var(--ease);
}
.site-foot .foot-col a:hover, .site-foot .foot-col a:focus-visible { color: var(--ink); background: none; text-decoration-color: currentColor; }
.site-foot a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-foot .foot-base { padding-top: var(--sp-400); gap: var(--sp-100) var(--sp-300); }
.site-foot .foot-base .footer-fine { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); text-shadow: none; text-wrap: pretty; }
.site-foot .foot-legal > a:not(.foot-top) { color: var(--text); }
.site-foot .foot-top {
  padding: var(--sp-75) var(--sp-100); border-radius: var(--r-lg); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color var(--t-fade) var(--ease);
}
.site-foot .foot-top:hover { background: #fff; }
@media (max-width: 720px) {
  .site-foot .foot-card { padding: var(--sp-400) var(--sp-200) var(--sp-200); border-radius: var(--r-2xl); }
  .site-foot .foot-grid { gap: var(--sp-300); }
}

/* Software tour screen bezel follows the spacing scale. */
#device-tour .device-screen { padding: var(--sp-400); background: #131209; }
@media (max-width: 720px) { #device-tour .device-screen { padding: var(--sp-100); } }

/* Section labels use the body face and the gold square marker. */
.eyebrow { gap: var(--sp-75); margin-bottom: var(--sp-100); font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
#contact .contact--sys .eyebrow { margin: 0; }

/* ==========================================================================
   Marble restored (founder's decision, November 2026)
   The marble surface returns everywhere it was removed in passes 4 to 21:
   the original dark ground, marble image and tint, dark border and soft
   shadow. Layout, type sizes, spacing and radii from the passes stay; only
   the surface and the text colours on it change back. `--panel` is the
   steadier tint used under long lists; `--contact` is the contact crop.
   Surface properties use !important because each pass's own selector set
   a light ground with higher specificity.
   ========================================================================== */
.marble {
  position: relative; isolation: isolate; overflow: hidden;
  background: #16120e !important; border-color: rgba(10, 8, 6, 0.5) !important;
  color: var(--on-dark-2) !important; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 1px 2px rgba(40, 25, 10, 0.08), 0 16px 34px -22px rgba(40, 25, 10, 0.55);
}
.marble::before {
  content: ""; position: absolute; inset: 0; z-index: -1; display: block;
  background:
    linear-gradient(135deg, rgba(14, 10, 7, 0.9) 0%, rgba(14, 10, 7, 0.76) 52%, rgba(14, 10, 7, 0.42) 100%),
    url('assets/marble-sm.webp') var(--mp, 50% 40%) / cover no-repeat;
  transition: transform 700ms var(--ease);
}
.marble--panel::before {
  background:
    linear-gradient(180deg, rgba(14, 10, 7, 0.84), rgba(14, 10, 7, 0.88)),
    url('assets/marble-sm.webp') var(--mp, 30% 60%) / cover no-repeat;
}
.marble--contact { --mp: 70% 30%; }
.marble--contact::before {
  display: block !important;
  background:
    linear-gradient(100deg, rgba(10, 8, 6, 0.95) 0%, rgba(10, 8, 6, 0.88) 55%, rgba(10, 8, 6, 0.55) 100%),
    url('assets/marble-sm.webp') var(--mp) / cover no-repeat;
}
a.marble:hover::before, .sig-card.marble:hover::before { transform: scale(1.06); }
.sys-grid > .marble:nth-child(4n+1), .feats > .marble:nth-child(4n+1), .sig-grid > .marble:nth-child(4n+1) { --mp: 8% 30%; }
.sys-grid > .marble:nth-child(4n+2), .feats > .marble:nth-child(4n+2), .sig-grid > .marble:nth-child(4n+2) { --mp: 55% 20%; }
.sys-grid > .marble:nth-child(4n+3), .feats > .marble:nth-child(4n+3), .sig-grid > .marble:nth-child(4n+3) { --mp: 92% 60%; }
.sys-grid > .marble:nth-child(4n+4), .feats > .marble:nth-child(4n+4), .sig-grid > .marble:nth-child(4n+4) { --mp: 30% 90%; }
.isnt-row > .marble:first-child { --mp: 50% 25%; }
.isnt-row > .marble:last-child { --mp: 85% 75%; }

/* Text on marble */
.marble :is(h3, .title-2, .title-3, .heading-4, .how-t, strong, dd, .data) { color: var(--on-dark) !important; }
.marble :is(p, li, .body-6, .body-3, .how-d) { color: var(--on-dark-2) !important; }
.marble :is(.feat-n, .sys-n, .ws-n, .problem-n, .partner-role, .founder-role, .sys-note-label, code) { color: var(--gold-light) !important; }
.marble :is(time, dt, .optional) { color: var(--on-dark-3) !important; }
.marble .feat-more { color: var(--gold-light) !important; }
.marble.feat:hover .feat-more, .marble.feat:focus-visible .feat-more { color: var(--on-dark) !important; }
.marble.feat:hover { border-color: rgba(210, 175, 112, 0.5) !important; }
.marble.feat:focus-visible, .marble.sig-card:focus-visible, .pipeline > li.marble:focus-visible { outline-color: var(--gold-light); }

/* Signal toggles */
.marble.sig-card .sig-dot { box-shadow: inset 0 0 0 1.5px rgba(246, 239, 231, 0.45); }
.marble.sig-card:hover .sig-dot { box-shadow: inset 0 0 0 1.5px rgba(246, 239, 231, 0.8); }
.marble.sig-card .sig-dot::after { border-color: #15110d; }
.marble.sig-card[aria-pressed="true"] { border-color: var(--pink) !important; box-shadow: 0 0 0 1px var(--pink), 0 18px 40px -22px rgba(40, 25, 10, 0.6); }
.marble.sig-card[aria-pressed="true"] .sig-dot { background: var(--pink); }

/* Sensor table */
.marble #sensors .sensor-row--head, .marble .sensor-row--head { background: rgba(0, 0, 0, 0.35) !important; color: var(--on-dark-3) !important; }
.marble .sensor-row:hover:not(.sensor-row--head) { background: rgba(255, 255, 255, 0.04) !important; }
.marble .pill { background: rgba(255, 255, 255, 0.1) !important; color: #e6dccf !important; }
.marble .pill--live { background: rgba(120, 190, 130, 0.18) !important; color: #b2e0ba !important; }
.marble .pill--no { background: rgba(240, 163, 187, 0.18) !important; color: var(--pink) !important; }

/* Pipeline, hardware, roadmap */
.pipeline > li.marble.is-active { border-color: var(--gold-light) !important; }
.pipeline > li.marble .step-bar { background: var(--gold-light); }
.marble .checks li::before { border-color: #9fd3a8 !important; }
.marble .checks--open li::before { border-color: var(--on-dark-3) !important; }
.marble .sys-list li::before { background: var(--gold-light); }

/* Project log on marble */
.journey-section .log-panel.marble li::before { background: #16120e; box-shadow: inset 0 0 0 2px var(--dark-line); }
.journey-section .log-panel.marble li.is-reached::before { background: var(--gold-light); box-shadow: 0 0 0 4px rgba(210, 175, 112, 0.18); }
.journey-section .log-panel.marble li.is-now.is-reached::before { background: var(--pink); box-shadow: 0 0 0 4px rgba(240, 163, 187, 0.18); }
.journey-section .log-panel.marble li:not(:last-child)::after { background: var(--dark-line); }
.journey-section .log-panel.marble li.is-reached:has(+ li.is-reached)::after { background: var(--gold-light); }
.journey-section .log-panel.marble li:not(.is-reached) h3.title-2 { color: var(--on-dark-3) !important; }
.journey-section .log-panel.marble .is-now time { color: var(--gold-light) !important; }

/* Founder */
.marble .founder-facts li { background: rgba(255, 255, 255, 0.08) !important; box-shadow: inset 0 0 0 1px var(--dark-line); color: var(--on-dark) !important; }
.marble .founder-link { color: var(--on-dark-2) !important; }
.marble .founder-link:hover { color: var(--on-dark) !important; }

/* Contact on marble: the form returns to its dark fields and gold button */
#contact .marble--contact .eyebrow { color: var(--on-dark-3) !important; }
#contact .marble--contact h2.heading-2 { color: var(--bg) !important; }
#contact .marble--contact .contact-email { color: var(--on-dark) !important; text-decoration-color: var(--gold-light); }
#contact .marble--contact .contact-email:hover { color: var(--gold-light) !important; }
#contact .marble--contact .contact-links a { color: var(--on-dark-2) !important; }
#contact .marble--contact .contact-links a:hover { color: var(--on-dark) !important; }
#contact .marble--contact .copy-btn { color: var(--on-dark); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); }
#contact .marble--contact .copy-btn:hover { background: rgba(255, 255, 255, 0.12); }
#contact .marble--contact .copy-btn.is-done { color: #b2e0ba; border-color: rgba(120, 190, 130, 0.5); background: rgba(120, 190, 130, 0.12); }
#contact .marble--contact .form-group label { color: var(--on-dark-3) !important; }
#contact .marble--contact .form-group input, #contact .marble--contact .form-group textarea, #contact .marble--contact .form-group select {
  background-color: #16120e; color: var(--bg); border-color: #332b24;
}
#contact .marble--contact .form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23d2af70' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
#contact .marble--contact .form-group select:invalid { color: var(--on-dark-3); }
#contact .marble--contact .form-group input:focus, #contact .marble--contact .form-group textarea:focus, #contact .marble--contact .form-group select:focus {
  border-color: var(--gold-light); box-shadow: 0 0 0 2px rgba(210, 175, 112, 0.3);
}
#contact .marble--contact .form-group [aria-invalid="true"] { border-color: var(--pink); }
#contact .marble--contact .field-error, #contact .marble--contact .form-status.error { color: var(--pink) !important; }
#contact .marble--contact .form-status.success { color: #a6d9ae !important; }
#contact .marble--contact .btn-dark { background: var(--gold-light); color: var(--ink); }
#contact .marble--contact .btn-dark:hover { background: #e2c389; }
#contact .marble--contact .btn-dark:focus-visible { outline-color: var(--gold-light); }
#contact .marble--contact .form-intro { color: var(--on-dark-3) !important; }
#contact .marble--contact .form-intro a { color: var(--gold-light) !important; }

/* Photo deck card backs, tour screen and footer: marble back as before */
.field .fl-back {
  background:
    linear-gradient(160deg, rgba(14, 10, 7, 0.35) 0%, rgba(14, 10, 7, 0.82) 70%),
    #16120e url('assets/marble-sm.webp') var(--mp, 50% 40%) / cover no-repeat;
}
#device-tour .device-screen { background: #1a1612 url('assets/marble-sm.webp') center 35% / cover no-repeat; }
.site-foot .foot-card { border-color: transparent; background: #110d0a; color: var(--on-dark); box-shadow: 0 30px 60px -40px rgba(40, 25, 10, 0.7); }
.site-foot .foot-card::before {
  display: block;
  background: linear-gradient(180deg, rgba(14, 10, 7, 0.94) 0%, rgba(14, 10, 7, 0.82) 38%, rgba(14, 10, 7, 0.3) 70%, rgba(14, 10, 7, 0.86) 100%);
}
.site-foot .foot-art { display: block; }
.site-foot .foot-brand .brand, .site-foot .foot-brand .brand-mark, .site-foot .foot-col h3 { color: var(--on-dark); }
.site-foot .foot-tag, .site-foot .foot-col a { color: var(--on-dark-2); }
.site-foot .foot-col a:hover, .site-foot .foot-col a:focus-visible { color: #fff; }
.site-foot .foot-social a { color: var(--on-dark); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.site-foot .foot-social a:hover, .site-foot .foot-social a:focus-visible { background: rgba(210, 175, 112, 0.2); color: var(--gold-light); }
.site-foot .foot-base .footer-fine { color: rgba(246, 239, 231, 0.85); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.site-foot .foot-legal > a:not(.foot-top) { color: var(--on-dark); }
.site-foot .foot-top { color: var(--on-dark); background: rgba(14, 10, 7, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.site-foot .foot-top:hover { background: rgba(14, 10, 7, 0.8); }
.site-foot a:focus-visible { outline-color: var(--gold-light); }
@media (min-width: 721px) { .site-foot .foot-card { min-height: 560px; } }
.problem .problem-chart.marble, .marble { isolation: isolate; }

/* ==========================================================================
   Tilt restored on marble cards (founder's decision, November 2026)
   tilt.js again turns every marble card and panel toward the pointer (the
   contact panel never tilted). Same treatment as the original cards: the
   marble sits deeper and slides the other way, a soft light follows the
   pointer, the founder photo keeps its depth. The passes' own hover lift
   and press scale step aside so the tilt is the only motion.
   ========================================================================== */
.has-tilt .marble:not(.marble--contact) { touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.has-tilt .marble:not(.marble--contact)::before {
  inset: -14px;
  transform: translate3d(var(--tilt-x, 0px), var(--tilt-y, 0px), 0);
  transition: none;
}
.has-tilt a.marble:hover::before, .has-tilt .sig-card.marble:hover::before { transform: translate3d(var(--tilt-x, 0px), var(--tilt-y, 0px), 0); }
.has-tilt .marble:not(.marble--contact)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--light-x, 50%) var(--light-y, 50%), rgba(255, 244, 228, 0.16), rgba(255, 244, 228, 0.05) 28%, transparent 58%);
  opacity: var(--light, 0);
}
.has-tilt .solution .feat.marble:hover, .has-tilt .solution .feat.marble:active, .has-tilt .sig-card.marble:active { transform: none; }


/* film.css */
/* ==========================================================================
   The PATHOS film (film.js)
   One section right after the results panel: the founder's film plays on
   its own, muted and looping, with one set of native playback controls.
   ========================================================================== */
.film { position: relative; background: #000; }
.film-stage { position: relative; overflow: hidden; width: 100%; height: 100svh; background: #000; }
.film-video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; background: #000;
}


/* flow.css */
/* ==========================================================================
   Editorial layer (from the Wispr Flow style reference, November 2026)
   Loaded last. Takes the reference's type and a few signature elements and
   lays them over the PATHOS palette, marble and layout:
   - Lavender primary buttons with a 2px ink border and 12px radius.
   - The floating nav as a pill with a 2px ink border.
   - A hand-drawn lavender underline under one word of the hero heading.
   - The film as a dark chamber: 16:9, up to 1200px, 40px radius, 2px ink
     border, no shadow.
   ========================================================================== */
:root {
  --lavender: #f0d7ff;
  --vast-ink: #1a1a1a;
}
body { font-family: var(--font-body); }

/* Section headings and proof numbers share the display face. */
h1, h2:where(:not(.sr-only, .title-4)), .proof-n {
  font-family: var(--font-editorial);
  font-weight: 600;
}
.hero-title { line-height: 0.95 !important; letter-spacing: -0.02em !important; }
h2:not(.sr-only):not(.title-4) { letter-spacing: -0.01em !important; line-height: 1 !important; }
.proof-n { letter-spacing: -0.01em !important; }

/* Hand-drawn lavender underline under "humans". */
.hero-title .accent:not(.accent--mono) {
  padding-bottom: 0.06em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 30 3, 52 12, 80 7 S 128 3, 152 8 S 186 10, 197 5' fill='none' stroke='%23f0d7ff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% 0.2em;
}

/* Primary buttons: lavender, 2px ink border, 12px radius, no shadow. */
.btn-dark, #contact .contact .btn-dark, #contact .marble--contact .btn-dark, .nav-link--cta {
  background: var(--lavender); color: var(--vast-ink);
  border: 2px solid var(--vast-ink); border-radius: 12px; box-shadow: none;
  font-family: var(--font-body); font-weight: 500;
}
.btn-dark { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.btn-dark:hover, #contact .contact .btn-dark:hover, #contact .marble--contact .btn-dark:hover, .nav-link--cta:hover {
  background: #e6c6fb; color: var(--vast-ink);
}
.btn-dark:focus-visible, .nav-link--cta:focus-visible, #contact .marble--contact .btn-dark:focus-visible { outline: 2px solid var(--vast-ink); outline-offset: 2px; }
#contact .marble--contact .btn-dark { border-color: var(--lavender); }

/* Floating nav: a pill with a 2px ink border (rounded box while open). */
.nav { border: 2px solid var(--vast-ink); border-radius: 9999px; box-shadow: none; }
.nav.scrolled { box-shadow: none; }
.nav.open { border-radius: 24px; }

/* The film: a dark chamber, not full screen. */
.film { background: var(--bg); padding: var(--sp-700) var(--gutter); }
.film-stage {
  width: min(100%, 1200px); height: auto; aspect-ratio: 16 / 9; margin: 0 auto;
  border: 2px solid var(--vast-ink); border-radius: 40px; background: #000; box-shadow: none;
}
.film-video { object-fit: contain; }
@media (max-width: 720px) {
  .film { padding: var(--sp-500) var(--sp-200); }
  .film-stage { border-radius: 32px; }
}

.hero-sub { margin-top: var(--sp-300); }

/* Hero: see editorial.css (the marble film). */

/* ==========================================================================
   Condensed copy (see DESIGN.md, "Condensed copy")
   ========================================================================== */
/* Taglines use the same reading face as the body copy. */
:is(.sec-head, .contact-info) p.body-3.sec-tag {
  font-family: var(--font-reading); font-weight: 400;
  font-size: 1.5rem; line-height: 1.875rem; letter-spacing: -0.005em; text-wrap: balance;
}
@media (max-width: 720px) {
  :is(.sec-head, .contact-info) p.body-3.sec-tag { font-size: 1.3125rem; line-height: 1.6875rem; }
}
/* The contact panel's own intro rule is ID-scoped, so match it here. */
#contact .contact--sys .contact-info > p.body-3.sec-tag { font-size: 1.5rem; line-height: 1.875rem; }
@media (max-width: 720px) {
  #contact .contact--sys .contact-info > p.body-3.sec-tag { font-size: 1.3125rem; line-height: 1.6875rem; }
}

/* Spec tag: the technical detail under a plain sentence (model steps). */
.spec-tag {
  display: block; margin-top: var(--sp-100);
  font-family: var(--font-mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.02em;
  color: var(--gold);
}
.marble .spec-tag { color: var(--gold-light); }

/* The parts: bus and the rest of the rig, under the table. */
.parts-foot {
  margin: var(--sp-75) 0 0; padding: var(--sp-200); display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--sp-200) var(--sp-300);
  border-top: 1px solid var(--line);
}
.parts-foot dt { font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 500; color: var(--muted); }
.parts-foot dd { margin: var(--sp-25) 0 0; font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.25rem; color: var(--ink); }
.marble .parts-foot { border-top-color: var(--dark-line); }
.marble .parts-foot dt { color: var(--on-dark-3); }
.marble .parts-foot dd { color: var(--on-dark); }
@media (max-width: 639px) {
  .parts-foot { grid-template-columns: 1fr; padding: var(--sp-200) var(--sp-100); }
}

/* Roadmap timeline: planned milestones keep a hollow dot and a dim line,
   so lighting up on scroll never reads as "done". */
.journey-section .log-panel li.is-next::before,
.journey-section .log-panel.marble li.is-next.is-reached::before { background: transparent; box-shadow: inset 0 0 0 2px var(--gold-light); }
.journey-section .log-panel.marble li.is-next:not(.is-reached)::before { box-shadow: inset 0 0 0 2px var(--dark-line); }
.journey-section .log-panel.marble li:has(+ li.is-next)::after,
.journey-section .log-panel.marble li.is-next::after { background: var(--dark-line); }

/* Partners: the press shot stands alone now that the $25 note moved out. */
@media (max-width: 959px) {
  .partners-aside { grid-template-columns: 1fr; }
  .partners-section .press-strip { max-width: 280px; margin: 0 auto; width: 100%; }
}

/* Spawn: every card, panel and row rises in, slightly scaled, one after
   another (the --d stagger from main.js), on every device. A keyframe
   animation with a backwards fill lets go of the transform when it ends, so
   hover lifts and the tilt keep working afterwards. */
@keyframes spawn {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.js :is(.marble, .feat, .sig-card, .sys-panel, .problem-point, .partner-rows > li, .ws-list > li,
  .faq-item, .sensor-row, .parts-foot, .pipeline > li, .how-steps > li, .founder, .proof-stats > li)[data-reveal].in {
  animation: spawn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms) backwards;
}


/* editorial.css */
/* ==========================================================================
   Editorial layer (loaded last)

   No boxed cards. Content sits on the page and is organised by hairline
   rules, numbers and type. Marble is a material, used where something is a
   real object or screen: the hero's slabs, the instrument screens (traces,
   chart, scene, feature tiles), the closing band, the big numbers.
   ========================================================================== */
:root {
  --rule: rgba(26, 20, 14, 0.14);
  --rule-strong: rgba(26, 20, 14, 0.32);
  --deep: #0b0908;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Dark marble with a gold edge: the hero slabs, scaled down. */
  --slab-bg:
    linear-gradient(160deg, rgba(11, 9, 8, 0.58), rgba(11, 9, 8, 0.8)),
    #120e0b url('assets/marble-sm.webp') var(--mp, 60% 40%) / cover no-repeat;
  --slab-edge: inset 0 0 0 1px rgba(210, 175, 112, 0.42), 0 1px 0 rgba(255, 244, 228, 0.06) inset;
  /* Small screens (traces, tiles) sit deeper so their lines read first. */
  --slab-bg-deep:
    linear-gradient(160deg, rgba(11, 9, 8, 0.74), rgba(11, 9, 8, 0.88)),
    #120e0b url('assets/marble-sm.webp') var(--mp, 60% 40%) / cover no-repeat;
}

/* ---------- Slabs: marble screens ---------- */
.slab,
.solution .feat-viz,
.sig-card .sig-trace,
#sensors .sig-trace--row {
  background: var(--slab-bg) !important;
  box-shadow: var(--slab-edge), 0 18px 30px -24px rgba(20, 12, 6, 0.6) !important;
  border: 0 !important;
}
.slab { border-radius: 20px !important; color: var(--on-dark-2); }
.problem .problem-chart.slab, .solution .feat-viz, .sig-card .sig-trace, #sensors .sig-trace--row { background: var(--slab-bg-deep) !important; }
.problem .problem-chart.slab { --mp: 70% 30%; padding: var(--sp-300); }
.how .how-scene.slab { --mp: 30% 70%; }
.solution .feat-viz { border-radius: 14px !important; }
.feats > .feat:nth-child(1) .feat-viz { --mp: 8% 30%; }
.feats > .feat:nth-child(2) .feat-viz { --mp: 55% 20%; }
.feats > .feat:nth-child(3) .feat-viz { --mp: 92% 60%; }
.feats > .feat:nth-child(4) .feat-viz { --mp: 30% 90%; }
.sig-card .sig-trace { border-radius: 10px !important; }
.sig-grid > :nth-child(1) .sig-trace { --mp: 10% 30%; }
.sig-grid > :nth-child(2) .sig-trace { --mp: 50% 60%; }
.sig-grid > :nth-child(3) .sig-trace { --mp: 80% 20%; }
.sig-grid > :nth-child(4) .sig-trace { --mp: 35% 85%; }
#sensors .sig-trace--row { border-radius: 8px !important; }

/* ---------- Hero: the film ---------- */
#hero.hero--film {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100svh; padding: 120px var(--gutter) 40px; overflow: hidden;
  background: var(--deep) url('assets/hero/hero-poster.webp') center / cover no-repeat;
  color: var(--on-dark); user-select: none; -webkit-user-select: none;
}
@media (max-aspect-ratio: 4/5) {
  #hero.hero--film { background-image: url('assets/hero/hero-poster-portrait.webp'); }
}
#hero .hero-video {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
/* Keeps the headline readable over the slabs: darker bottom left. */
#hero .hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(11, 9, 8, 0.92) 0%, rgba(11, 9, 8, 0.55) 26%, rgba(11, 9, 8, 0) 52%),
    linear-gradient(90deg, rgba(11, 9, 8, 0.72) 0%, rgba(11, 9, 8, 0.25) 42%, rgba(11, 9, 8, 0) 62%);
}
#hero .hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; text-align: left;
}
#hero .announce { margin: 0; background: rgba(210, 175, 112, 0.14); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(210, 175, 112, 0.4); }
#hero .announce:hover { background: rgba(210, 175, 112, 0.24); }
#hero .hero-title {
  margin: var(--sp-300) 0 0; max-width: 12.5em;
  font-size: clamp(2.875rem, 6.2vw, 6rem); color: var(--bg); text-wrap: balance;
}
#hero .hero-title .accent:not(.accent--mono) { color: var(--gold-light); }
#hero .hero-title .accent--mono { color: var(--gold-light); font-size: 0.86em; }
#hero .hero-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-300) var(--sp-500);
  margin-top: var(--sp-400);
}
#hero .hero-sub { margin: 0; max-width: 26em; font-size: 1.125rem; line-height: 1.75rem; color: rgba(246, 239, 231, 0.78); text-align: left; }
#hero .hero-cta { margin: 0; }
#hero .logos {
  position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: var(--sp-600) auto 0;
  padding-top: var(--sp-300); border-top: 1px solid rgba(246, 239, 231, 0.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-200) var(--sp-400);
}
#hero .logo { color: rgba(246, 239, 231, 0.55); }
#hero .logo:hover { color: var(--bg); }
@media (max-width: 720px) {
  #hero.hero--film { padding: 108px var(--sp-200) 28px; }
  #hero .hero-title { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  #hero .hero-sub { font-size: 1rem; line-height: 1.5rem; }
  #hero .logos { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; gap: var(--sp-200) var(--sp-300); margin-top: var(--sp-400); }
  #hero .logo { font-size: 0.9375rem; }
  #hero .logo--caps { font-size: 0.6875rem; }
  #hero .logo--serif { font-size: 1rem; }
  #hero .logo--heavy { font-size: 1.125rem; }
  /* Taller shade on phones: the copy sits lower and the slabs above it. */
  #hero .hero-shade {
    background: linear-gradient(0deg, rgba(11, 9, 8, 0.96) 0%, rgba(11, 9, 8, 0.86) 38%, rgba(11, 9, 8, 0.35) 62%, rgba(11, 9, 8, 0) 78%);
  }
}

/* ---------- Results: no box, rules and marble numbers ---------- */
.proof .proof-panel {
  padding: var(--sp-400) 0 0; border: 0; border-radius: 0; background: none; box-shadow: none;
}
.proof .proof-title { margin-bottom: var(--sp-300); }
.proof .proof-stats { gap: 0; border-top: 1px solid var(--rule-strong); }
.proof .proof-stats > li { padding: var(--sp-300) var(--sp-300) var(--sp-200); border-left: 1px solid var(--rule); }
.proof .proof-stats > li:first-child { border-left: 0; padding-left: 0; }
.proof .proof-n {
  font-size: clamp(3rem, 5.4vw, 5rem) !important; line-height: 1 !important;
  /* Marble multiplied by a deep bronze: cream veins turn brown, gold stays
     gold, so every stroke reads on the cream page. */
  background: url('assets/marble.webp') 58% 40% / 420% auto, #6b4a2a;
  background-blend-mode: multiply;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof .proof-n .count { color: transparent; }
@media (max-width: 860px) {
  .proof .proof-stats { grid-template-columns: 1fr 1fr; }
  .proof .proof-stats > li:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof .proof-stats > li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- Shared: columns divided by rules ---------- */
.feats, .sig-grid, .pipeline, #pathos-iot .sys-grid { gap: 0 !important; }
.solution .feat, .sig-card, .pipeline > li.sys-panel, #pathos-iot .sys-panel {
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: var(--sp-300) var(--sp-300) var(--sp-200) !important;
  border-left: 1px solid var(--rule) !important;
}
.solution .feat:first-child, .sig-card:first-child, .pipeline > li.sys-panel:first-child, #pathos-iot .sys-panel:first-child {
  border-left: 0 !important; padding-left: 0 !important;
}
.feats, .sig-grid, .pipeline, #pathos-iot .sys-grid { border-top: 1px solid var(--rule-strong); }
@media (max-width: 960px) {
  .solution .feat, .sig-card, .pipeline > li.sys-panel, #pathos-iot .sys-panel {
    border-left: 0 !important; padding-left: 0 !important; padding-right: 0 !important;
    border-bottom: 1px solid var(--rule) !important;
  }
}

/* Features */
.solution .feat { color: var(--text); text-decoration: none; }
.solution .feat:hover { transform: none !important; }
.solution .feat .feat-viz { transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.solution .feat:hover .feat-viz { transform: translateY(-4px); }
.solution .feat h3.title-2 { font-family: var(--font-serif); font-size: 1.625rem; line-height: 1.875rem; font-weight: 600; letter-spacing: -0.01em; }
.solution .feat-more { color: var(--gold) !important; }
.solution .feat:hover .feat-more { color: var(--ink) !important; }

/* Signals: each column is a toggle; its top rule lights when pressed. */
.sig-card { position: relative; cursor: pointer; }
.sig-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--pink-deep); transform: scaleX(0); transform-origin: left;
  transition: transform 500ms var(--ease-out);
}
.sig-card:first-child::after { left: 0; }
.sig-card[aria-pressed="true"]::after { transform: scaleX(1); }
.sig-card[aria-pressed="true"] { box-shadow: none !important; }
.sig-card:hover h3.title-2 { color: var(--gold) !important; }
.sig-card h3.title-2 { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.75rem; font-weight: 600; }

/* Pipeline: steps along one rule; the active step's bar runs along it. */
.pipeline > li.sys-panel { position: relative; }
.pipeline > li.sys-panel .step-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold) !important; }
.pipeline > li.sys-panel:not(:first-child) .step-bar { left: 0; }
.pipeline > li.sys-panel h3.title-2 { font-family: var(--font-serif); font-size: 1.625rem; line-height: 1.875rem; font-weight: 600; }
#ai .sys-note {
  max-width: 680px; margin: var(--sp-500) auto 0; padding: 0 0 0 var(--sp-300);
  border: 0; border-left: 2px solid var(--gold); border-radius: 0; background: none; box-shadow: none;
}

/* MVP 2 */
#pathos-iot .sys-panel h3.title-2 { font-family: var(--font-serif); font-size: 1.625rem; line-height: 1.875rem; font-weight: 600; }

/* ---------- Partners ---------- */
.partners-section .partner-rows {
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  gap: 0 var(--sp-500); border-top: 1px solid var(--rule-strong);
}
.partners-section .partner-rows > li { padding: var(--sp-300) 0; border-bottom: 1px solid var(--rule); }
.partners-section .partner-rows h3.title-2 { font-family: var(--font-serif); font-size: 1.625rem; line-height: 1.875rem; font-weight: 600; }
.partners-section .press-strip .shot {
  background: none; border: 0; border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(210, 175, 112, 0.5), 0 28px 50px -30px rgba(20, 12, 6, 0.55);
}
.partners-section .press-strip .shot::before, .partners-section .press-strip .shot::after { display: none !important; }
.partners-section .press-strip .shot-caption {
  position: static; display: block; padding: var(--sp-150, 12px) var(--sp-200); background: var(--deep);
}

/* ---------- Problem ---------- */
.problem .problem-cards { gap: 0; border-top: 1px solid var(--rule-strong); }
.problem .problem-point {
  padding: var(--sp-300) 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; box-shadow: none;
}
.problem .problem-point h3.title-2 { font-family: var(--font-serif); font-size: 1.625rem; line-height: 1.875rem; font-weight: 600; }

/* ---------- Parts table ---------- */
#sensors .sensor-table { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#sensors .sensor-row { border-radius: 0 !important; border-bottom: 1px solid var(--rule) !important; padding-left: 0 !important; padding-right: 0 !important; }
#sensors .sensor-row:hover:not(.sensor-row--head) { background: none !important; }
#sensors .sensor-row--head { background: none !important; border-bottom: 1px solid var(--rule-strong) !important; color: var(--muted) !important; }
#sensors .sensor-row h3.title-3 { font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.75rem; font-weight: 600; }
#sensors .parts-foot { padding-left: 0; padding-right: 0; border-top: 0; }

/* ---------- Roadmap timeline (light) ---------- */
.journey-section .log-panel { padding: var(--sp-100) 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.journey-section .log-panel li.is-next::before,
.journey-section .log-panel li.is-next.is-reached::before { background: var(--bg) !important; box-shadow: inset 0 0 0 2px var(--gold) !important; }
.journey-section .log-panel li.is-next:not(.is-reached)::before { box-shadow: inset 0 0 0 2px var(--rule-strong) !important; }
.journey-section .log-panel li:has(+ li.is-next)::after,
.journey-section .log-panel li.is-next::after { background: var(--rule) !important; }
.journey-section .log-panel h3.title-2 { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.75rem; font-weight: 600; }

/* ---------- Workshops ---------- */
#workshops .ws-list { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--rule-strong); }
#workshops .ws-list > li { border-radius: 0; background: none; border-bottom: 1px solid var(--rule); padding-left: 0; padding-right: 0; }
#workshops .ws-list h3.title-2 { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.75rem; font-weight: 600; }

/* ---------- How it works ---------- */
.how .how-step { background: none !important; border: 0 !important; border-radius: 0 !important; border-top: 1px solid var(--rule) !important; box-shadow: none !important; transform: none !important; padding-left: 0 !important; }
.how .how-steps > li:last-child .how-step { border-bottom: 1px solid var(--rule) !important; }
.how .how-step.is-on .how-t { color: var(--gold); }
.how .how-step::after { top: -1px; bottom: auto !important; }

/* ---------- Founder ---------- */
#team .founder--sys { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#team .founder-photo { border-radius: 20px; box-shadow: 0 0 0 1px rgba(210, 175, 112, 0.5); }
#team .founder-facts li { background: none !important; border: 1px solid var(--rule-strong) !important; }

/* ---------- FAQ ---------- */
.faq .faq-list { border-top: 1px solid var(--rule-strong); gap: 0 !important; }
.faq .faq-item { border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; box-shadow: none; }
.faq .faq-item summary { padding-left: 0; padding-right: 0; }
.faq .faq-item .faq-a { padding-left: 0; padding-right: 0; }
.faq .faq-item summary .title-2 { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.875rem; font-weight: 600; }

/* ---------- Closing band: contact and footer on dark marble ---------- */
#contact.band {
  position: relative; isolation: isolate; color: var(--on-dark-2);
  background:
    linear-gradient(180deg, var(--bg) 0, rgba(11, 9, 8, 0) 1px),
    linear-gradient(100deg, rgba(11, 9, 8, 0.95) 0%, rgba(11, 9, 8, 0.86) 55%, rgba(11, 9, 8, 0.62) 100%),
    var(--deep) url('assets/marble.webp') 70% 30% / cover no-repeat;
}
#contact.band .edge-art { display: none; }
#contact .contact--sys { padding: var(--sp-200) 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#contact .contact--sys h2.heading-2 { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1; }
.site-foot { background: var(--deep); padding: 0 !important; }
.site-foot .foot-card { border-radius: 0 !important; box-shadow: none !important; border-top: 1px solid rgba(246, 239, 231, 0.1) !important; }

/* ---------- Spawn: the new elements rise in too ---------- */
.js :is(.slab, .partners-aside, .sys-note)[data-reveal].in {
  animation: spawn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms) backwards;
}
#contact .contact--sys .contact-info > p.body-3.sec-tag { color: var(--on-dark-2) !important; }
.how .how-scene.slab { background: var(--slab-bg-deep) !important; }
/* Results: number above its label at every size. */
.proof .proof-stats > li { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.proof .proof-n { white-space: nowrap; }
@media (max-width: 860px) {
  .proof .proof-stats > li { padding: var(--sp-300) var(--sp-200) var(--sp-200); }
  .proof .proof-stats > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof .proof-stats > li:nth-child(even) { border-left: 1px solid var(--rule); }
  .proof .proof-n { font-size: clamp(2.25rem, 10.5vw, 3.5rem) !important; }
}
/* The contact block is part of the band, not a card on it. */
#contact .contact--sys { background: none !important; box-shadow: none !important; border: 0 !important; overflow: visible !important; isolation: auto !important; }
#contact .contact--sys::before, #contact .contact--sys::after { display: none !important; }
/* The band's marble fades to the deep tone at its foot, where the footer's
   own drifting marble begins from the same deep tone: one closing area. */
#contact.band {
  background:
    linear-gradient(180deg, var(--bg) 0, rgba(11, 9, 8, 0) 1px),
    linear-gradient(180deg, rgba(11, 9, 8, 0) 62%, var(--deep) 100%),
    linear-gradient(100deg, rgba(11, 9, 8, 0.95) 0%, rgba(11, 9, 8, 0.86) 55%, rgba(11, 9, 8, 0.62) 100%),
    var(--deep) url('assets/marble.webp') 70% 30% / cover no-repeat;
}
.site-foot .foot-card { margin: 0 !important; max-width: none !important; border: 0 !important; }
.site-foot .foot-card::before {
  background: linear-gradient(180deg, var(--deep) 0%, rgba(11, 9, 8, 0.86) 24%, rgba(14, 10, 7, 0.34) 70%, rgba(14, 10, 7, 0.86) 100%) !important;
}


/* integration.css */
/* The new visual voice, with the founder's complete original page intact. */
:root{--bg:#f2ece2;--surface:#f8f3eb;--surface-2:#e9e2d5;--ink:#24251e;--text:#616256;--muted:#6b6b5d;--faint:#6b6b5d;--gold:#876b3d;--gold-light:#c5ad7e;--pink:#e6bad1;--pink-deep:#b8577a;--lavender:#e6d4ec;--deep:#10100e;--wide:1280px;--gutter:48px;--ease:cubic-bezier(.22,1,.36,1)}
html{scroll-behavior:auto;scroll-padding-top:112px}body{background:var(--bg);font-size:1rem;line-height:1.5}body,h1,h2,h3,p{font-synthesis:weight}h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}a,button{touch-action:manipulation}button:active,.btn:active{transform:translateY(1px)}:focus-visible{outline:2px solid var(--gold-light);outline-offset:5px}.sec-tag{font-style:normal!important}.btn-dark{border:0!important;border-radius:4px!important;min-height:48px;box-shadow:none!important}.btn-dark:hover{background:#f0e1f5!important}.sr-only{clip-path:inset(50%)}
/* A restrained header using the original navigation and its existing links. */
.nav-wrap{top:0;padding:0;pointer-events:none}.nav{max-width:none;width:100%;height:96px;border:0!important;border-bottom:1px solid rgba(233,227,209,.12)!important;border-radius:0!important;background:rgba(16,16,14,.94)!important;color:#f2ede4;box-shadow:none!important;padding:0 var(--gutter);display:flex;align-items:center;gap:32px;backdrop-filter:blur(16px)}.nav .brand{order:0;color:#f2ede4;font-family:var(--font-body);font-size:1.25rem;letter-spacing:.09em;min-height:44px;gap:12px}.nav .brand-mark{color:var(--gold-light);width:28px}.nav .menu{order:1;position:static;display:flex;align-items:center;gap:24px;padding:0;margin-left:auto;background:none;border:0;border-radius:0;box-shadow:none;opacity:1;transform:none;visibility:visible;transition:none}.nav .nav-link{padding:12px 0;min-height:44px;color:#c6c3b5;font-size:0.875rem;border-radius:0;white-space:nowrap;background:none}.nav .nav-link:hover,.nav .nav-link[aria-current=true]{color:#f2ede4;background:none}.nav .nav-link[aria-current=true]{box-shadow:0 1px 0 var(--gold-light)}.nav .nav-link--cta{margin:0;color:#f2ede4;border:0;border-bottom:1px solid rgba(233,227,209,.3);border-radius:0;min-height:44px;font-size:0.875rem;padding:12px 0}.nav .nav-link--cta:hover{color:var(--gold-light);background:none!important}.nav .menu-btn{order:3;display:none;color:#f2ede4;flex:0 0 44px}.nav .menu-btn span{background:#f2ede4}.planet-motion{order:2;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;white-space:nowrap;background:transparent;color:#b4b2a2;border:0;font:0.75rem/1.5 var(--font-body);padding:8px 0}.planet-motion:hover{color:var(--gold-light)}.planet-motion>span:first-child{font-size:1rem}.skip-link{z-index:200;top:-80px}.skip-link:focus{top:16px;background:var(--lavender);color:var(--deep)}
/* The original marble hero remains a film, never a planet scene. */
#hero.hero--film{padding:160px var(--gutter) 40px;min-height:100svh;user-select:text;-webkit-user-select:text}#hero .hero-inner,#hero .logos{max-width:1440px}#hero .hero-title{max-width:1080px;font-size:6rem;letter-spacing:-.045em!important;line-height:.98!important;margin-top:32px;color:#f2ede4}#hero .announce{font-size:0.75rem;letter-spacing:.04em;padding:8px 12px;border-radius:4px}#hero .hero-foot{gap:32px 64px;margin-top:32px}#hero .hero-sub{font-size:1.125rem;line-height:1.5;max-width:580px;color:#ddd9c9}.hero-research-status{display:block;font-size:0.75rem;color:#bcb7a7;margin-top:12px}#hero .hero-cta .btn{font-size:0.875rem;gap:24px}#hero .logos{padding-top:24px;margin-top:64px;gap:16px 24px}#hero .logo{font:0.75rem/1.5 var(--font-body);color:#b2ad9f;letter-spacing:.02em}#hero .logo small{font:inherit}.proof{padding-top:64px;padding-bottom:48px}.proof .proof-panel{padding:0}.proof .proof-title{font-size:0.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.proof .proof-n{font-family:var(--font-serif)!important;background:none!important;color:var(--ink)!important;font-size:3.75rem!important}.proof .proof-n .count{color:inherit}.proof .proof-l{font-size:0.875rem;line-height:1.5}.proof .proof-src{font-size:0.75rem}.film{padding:32px var(--gutter) 64px;background:var(--bg)}.film-stage{border:0;border-radius:8px;width:100%;max-width:1280px;box-shadow:none}.film-video{object-fit:contain}.device-section{background:var(--bg)}.device-section .tour-head{max-width:1000px}.device-section .tour-head h2{font-size:3.75rem}.device-section .sec-tag{font-family:var(--font-body);font-size:1rem;line-height:1.5;color:var(--muted)}.device{border-radius:12px!important}.device-steps .step-btn{min-height:44px}.device-caption{font-size:0.875rem!important;line-height:1.5!important}.prototype{background:var(--bg)}.prototype .prototype-head{max-width:1100px;text-align:left}.prototype .prototype-head h2{font-size:3.75rem}.prototype .sec-tag{font-family:var(--font-body);font-size:1rem;line-height:1.5}.hw-stage{box-shadow:none;border-width:1px;border-radius:12px}.field{background:var(--bg)}.field-head{max-width:1100px!important;text-align:left!important}.field-head .heading-2{font-size:3.75rem}.field .sec-tag{font-family:var(--font-body);font-size:1rem;line-height:1.5}.fl-round,.fl-nav button{min-width:44px;min-height:44px}
/* Only the twelve screenshot-selected sections receive the planetary story. */
.planet-story{--bg:#10100e;--surface:#171813;--surface-2:#202119;--ink:#f2ede4;--text:#c7c4b5;--muted:#aaa99c;--faint:#aaa99c;--gold:#c5ad7e;--gold-light:#c5ad7e;--pink-deep:#e6bad1;--line:rgba(231,224,205,.17);--line-strong:rgba(231,224,205,.3);--rule:rgba(231,224,205,.17);--rule-strong:rgba(231,224,205,.3);position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:48px;padding:64px var(--gutter);background:var(--bg);color:var(--text);overflow:visible}
.planet-stage{position:sticky;top:112px;align-self:start;height:calc(100svh - 144px);min-height:560px;max-height:980px;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;padding:24px 0;z-index:0}.planet-stage-heading{position:absolute;top:12px;left:0;display:flex;align-items:center;gap:12px;color:var(--gold-light);font-size:0.75rem;letter-spacing:.08em;max-width:100%;text-transform:uppercase}.orbit-dot{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:var(--gold-light)}.orbit-object{position:absolute;inset:16px -96px 100px -96px;display:grid;place-items:center;pointer-events:none;z-index:-1;overflow:clip}.orbit-lines{width:100%;height:auto;aspect-ratio:1;color:#b09a70;opacity:.32;stroke-width:.8;grid-area:1/1;transform:rotate(var(--orbit-angle,0deg));will-change:transform}.planet-surface{position:relative;grid-area:1/1;width:68%;aspect-ratio:1;border-radius:50%;overflow:hidden;transform:rotate(-13deg);background:#191915}.orbit-still{position:absolute;inset:0;background:#35362d url('assets/marble-sm.webp') 50% 50%/cover;box-shadow:inset 80px -20px 100px 32px rgba(0,0,0,.93),inset -16px 8px 32px rgba(220,198,152,.32);filter:saturate(.3);transition:opacity .8s var(--ease)}.planet-surface canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .8s var(--ease)}.planet-surface.has-webgl canvas{opacity:1}.planet-surface.has-webgl .orbit-still{opacity:0}.planet-stage-caption{position:relative;max-width:330px;padding:16px 0 24px;pointer-events:none}.planet-stage-caption .planet-chapter-title{font:600 2.25rem/1.05 var(--font-serif)!important;letter-spacing:-.01em!important;color:var(--ink);margin:16px 0 12px;transition:opacity .3s var(--ease)}.planet-chapter-note{font-size:0.75rem;line-height:1.6;color:var(--muted);max-width:280px;min-height:40px}.planet-chapter-links{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;border-top:1px solid var(--line);padding-top:16px;width:100%;max-width:360px}.planet-chapter-links a{min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;color:var(--muted);border:1px solid transparent;border-radius:50%;font-size:0.75rem;transition:color .3s var(--ease),background .3s var(--ease)}.planet-chapter-links a>span:last-child{display:none}.planet-chapter-links a[aria-current]{color:#10100e;background:var(--gold-light);border-color:var(--gold-light)}.planet-chapter-links a:hover{border-color:var(--gold-light);color:var(--ink)}.planet-chapter-links a[aria-current]:hover{color:#10100e}.orbit-progress{position:absolute;left:0;bottom:0;width:100%;height:1px;background:var(--line)}.orbit-progress span{display:block;width:100%;height:100%;background:var(--gold-light);transform-origin:left;transform:scaleX(0)}
.planet-content{min-width:0;position:relative;z-index:1}.planet-content>section{position:relative;min-height:0;padding:64px 0!important;margin:0;background:none!important;color:var(--text);content-visibility:visible!important;contain-intrinsic-size:none!important;overflow:visible}.planet-content>section:first-child{padding-top:24px!important}.planet-content>section+section{border-top:1px solid var(--line)}.planet-content .wrap,.planet-content .wrap--narrow{width:100%;max-width:none;padding:0;margin:0}.planet-content .sec-head,.planet-content .sys-head{max-width:none;text-align:left;margin:0 0 32px;align-items:flex-start}.planet-content .sec-head .eyebrow{font:500 0.75rem/1.5 var(--font-body)!important;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-light)!important;margin-bottom:20px}.planet-content .eyebrow:before{display:none}.planet-content .sec-head h2,.planet-content .sys-head h2{font-size:3.75rem!important;line-height:1!important;letter-spacing:-.01em!important;max-width:640px;color:var(--ink)!important}.planet-content .sec-head .sec-tag{font:400 1rem/1.5 var(--font-body)!important;letter-spacing:0;color:var(--muted)!important;margin-top:20px}.planet-content :is(.body-6,.body-3){color:var(--text);font-size:1rem;line-height:1.55}.planet-content :is(.caption-2,.caption-4){color:var(--muted);font-size:0.75rem;line-height:1.5}.planet-content h3{color:var(--ink)!important}.planet-content a:not(.feat):hover{color:var(--gold-light)}.planet-content .title-2{font-weight:600}.planet-content .partners-grid{grid-template-columns:1fr;gap:32px}.planet-content .partner-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}.planet-content .partner-rows>li{min-width:0;padding:24px 0}.planet-content .partner-rows .partner-role{font-size:0.75rem;color:var(--gold-light)}.planet-content .partner-rows h3.title-2{font-size:1.5rem;line-height:1.1;margin:12px 0}.planet-content .partner-rows p.body-6{font-size:0.875rem;line-height:1.5;color:var(--text)}.planet-content .partners-aside{display:block;max-width:320px;margin:0 0 0 auto}.planet-content .press-strip{max-width:100%;margin:0!important}.planet-content .press-strip .shot{width:100%;border-radius:8px!important;box-shadow:none!important}.planet-content .shot-caption{color:var(--text)}.planet-content .press-strip .shot-caption strong{color:var(--gold-light)}
.planet-content .problem-grid{grid-template-columns:1fr;gap:32px}.planet-content .problem-chart{min-height:320px;border-radius:8px!important;padding:24px!important}.planet-content .problem-chart canvas{height:260px;min-height:260px;flex:none}.planet-content .problem-legend{font-size:0.75rem;line-height:1.5;gap:8px 16px}.planet-content .problem-point{padding:24px 0}.planet-content .problem-point h3{font-size:1.875rem!important;line-height:1.1!important;margin:8px 0 12px}.planet-content .problem-point .body-6{font-size:0.875rem}.planet-content .feats,.planet-content .sig-grid,.planet-content .pipeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 32px!important}.planet-content .solution .feat,.planet-content .sig-card,.planet-content .pipeline>li.sys-panel{border-left:0!important;border-bottom:1px solid var(--line)!important;padding:24px 0!important;min-width:0}.planet-content .solution .feat h3,.planet-content .sig-card h3,.planet-content .pipeline h3{font-size:1.625rem!important;line-height:1.15!important;letter-spacing:-.02em}.planet-content .solution .feat p,.planet-content .sig-card p,.planet-content .pipeline p{font-size:0.875rem;line-height:1.5;color:var(--text)!important}.planet-content .feat-more{color:var(--gold-light)!important}.planet-content .feat-more:hover{color:var(--ink)!important}.planet-content .feat-viz{border-radius:4px!important;min-height:88px}.planet-content .sig-card .sig-trace{height:64px;border-radius:4px!important}.planet-content .sig-card:focus-visible{outline:2px solid var(--lavender);outline-offset:4px}.planet-content .sig-meter{padding:24px 0 0;margin:0}.planet-content .sig-meter-bar{background:#393c31}.planet-content .sig-meter-text{color:var(--text);font-size:0.875rem}.planet-content .statement{font-size:1.5rem!important;line-height:1.35!important;color:var(--ink);text-align:left}.planet-content .spec-tag{background:none;border:1px solid var(--line);color:var(--gold-light);border-radius:4px;font-size:0.75rem;padding:4px 8px;width:fit-content;margin-top:16px;max-width:100%;overflow-wrap:anywhere}.planet-content #ai .sys-note{margin-top:32px;border-color:var(--gold-light)}.planet-content .sys-note .sys-note-label{color:var(--gold-light)}.planet-content .sys-note p{font-size:0.875rem;color:var(--text)!important}.planet-content .sys-note a{text-decoration:underline;text-underline-offset:3px}
.planet-content #sensors .sensor-table{width:100%;min-width:0}.planet-content #sensors .sensor-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:24px 0!important;background:none!important}.planet-content #sensors .sensor-row--head{display:none}.planet-content #sensors .sensor-row code{grid-column:1;grid-row:2;color:var(--gold-light)!important;font-size:0.75rem;overflow-wrap:anywhere}.planet-content #sensors .sensor-row p{grid-column:1/-1;grid-row:3;color:var(--text)!important;font-size:0.875rem;line-height:1.5}.planet-content #sensors .sensor-name h3{font-size:1.5rem;line-height:1.15}.planet-content #sensors .sensor-row .pill{grid-column:2;grid-row:1;background:transparent;color:var(--muted);border:1px solid var(--line-strong);padding:4px 8px;font-size:0.75rem;align-self:start;max-width:100px}.planet-content #sensors .sensor-row .pill--live{color:#bdcdaa;border-color:#647453}.planet-content #sensors .sensor-name{min-width:0}.planet-content #sensors .sig-trace--row{width:100%;max-width:260px;height:40px;border-radius:4px!important}.planet-content .parts-foot{grid-template-columns:1fr;gap:16px;padding:24px 0;margin:0}.planet-content .parts-foot dt{color:var(--muted)}.planet-content .parts-foot dd{font-size:0.75rem;line-height:1.7;color:var(--ink);overflow-wrap:anywhere}
.planet-content #pathos-iot .sys-grid{grid-template-columns:1fr!important;gap:0!important}.planet-content #pathos-iot .sys-panel{border-left:0!important;border-bottom:1px solid var(--line)!important;padding:24px 0!important}.planet-content #pathos-iot .sys-panel h3{font-size:1.875rem;line-height:1.1;margin:0 0 12px}.planet-content #pathos-iot .sys-panel p{font-size:0.875rem;color:var(--text)!important}.planet-content .log-panel{margin:0!important;padding:0!important;color:var(--text)}.planet-content .log-panel li{padding-top:0;padding-bottom:32px;gap:16px}.planet-content .log-panel h3{font-size:1.625rem!important;line-height:1.15!important}.planet-content .log-panel p{font-size:0.875rem;line-height:1.55;color:var(--text)!important}.planet-content .log-panel .log-date{font-size:0.75rem;color:var(--gold-light)}.planet-content .log-panel li.is-next::before{background:var(--bg)!important}.planet-content #workshops .ws-list>li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px 16px;padding:24px 0!important}.planet-content .ws-list>li>p{grid-column:2;font-size:0.875rem;line-height:1.5;color:var(--text)!important}.planet-content .ws-list>li>span{font-size:0.75rem;color:var(--gold-light)}.planet-content .ws-list h3{font-size:1.625rem!important;line-height:1.1!important}.planet-content .how-grid{grid-template-columns:1fr;gap:32px}.planet-content .how-step{min-height:80px;padding:20px 0!important;color:var(--text)}.planet-content .how-step .how-t{font-size:1.625rem;color:var(--ink)}.planet-content .how-step .how-d{font-size:0.875rem;line-height:1.5;color:var(--text)}.planet-content .how-step .how-n{color:var(--gold-light)}.planet-content .how-scene{min-height:320px;border-radius:8px!important}.planet-content .how-scene canvas{height:320px;min-height:320px}.planet-content #team .founder--sys{grid-template-columns:128px minmax(0,1fr);gap:24px}.planet-content #team .founder-photo{width:128px;height:176px;object-fit:cover;border-radius:4px!important;box-shadow:none}.planet-content #team .founder-body{min-width:0}.planet-content #team .founder-body h3{font-size:2.25rem;line-height:1.05}.planet-content #team .founder-role{font-size:0.75rem;color:var(--gold-light)}.planet-content #team .founder-body>.body-3{font-size:0.875rem;line-height:1.5;color:var(--text)}.planet-content #team .founder-facts{gap:8px;display:flex;flex-wrap:wrap;margin:20px 0}.planet-content #team .founder-facts li{font-size:0.75rem;line-height:1.5;border-color:var(--line-strong)!important;color:var(--text)!important;border-radius:4px;padding:4px 8px}.planet-content #team .founder-link{font-size:0.875rem;color:var(--gold-light)}.planet-content .faq .faq-item{color:var(--text)}.planet-content .faq .faq-item summary{padding:24px 0;min-height:64px}.planet-content .faq .faq-item summary .title-2{font-size:1.625rem;line-height:1.15;color:var(--ink)}.planet-content .faq .faq-a p{padding:0 0 24px;color:var(--text);font-size:0.875rem;line-height:1.6}.planet-content .faq .faq-item summary i{flex:0 0 24px;color:var(--gold-light)}
/* Preserve the entire original contact form and footer, in the new palette. */
#contact.band{--ink:#f2ede4;--text:#c7c4b5;--muted:#aaa99c;--gold:#c5ad7e;--line-strong:rgba(231,224,205,.3);background:#171813;color:var(--text);padding:96px var(--gutter)}#contact .wrap{max-width:1280px;padding:0}#contact .contact--sys{max-width:none;padding:0!important;gap:80px}#contact .contact--sys h2.heading-2{font-size:4.5rem;color:var(--ink)}#contact .contact--sys .eyebrow{color:var(--gold-light);font-size:0.75rem;letter-spacing:.12em;text-transform:uppercase}#contact .contact-info .sec-tag{font:400 1rem/1.5 var(--font-body)!important;color:var(--muted)!important}#contact .contact-email{font-size:1.125rem;color:var(--ink)!important}#contact .contact-links a{color:var(--muted)}#contact .copy-btn{min-height:44px;background:none;border-color:var(--line-strong);color:var(--text)}#contact .contact-form label{font-size:0.75rem;color:var(--ink)}#contact .form-group input,#contact .form-group select,#contact .form-group textarea{border:0;border-bottom:1px solid #76796b;border-radius:0;background:transparent;color:#f2ede4;padding:12px 0;font-size:1rem;min-height:48px}#contact select option{background:#171813;color:#f2ede4}#contact .form-group input:focus,#contact .form-group select:focus,#contact .form-group textarea:focus{box-shadow:none;outline:2px solid var(--gold-light);outline-offset:5px}#contact .form-group input[aria-invalid=true],#contact .form-group select[aria-invalid=true],#contact .form-group textarea[aria-invalid=true]{border-color:#f0aeb9}#contact .field-error,#contact .form-status.error{color:#f0aeb9}#contact .contact--sys .btn-dark{background:var(--lavender);color:#10100e;font-size:0.875rem;padding:12px 24px}#contact .form-intro{font-size:0.75rem;color:var(--muted)}.site-foot .foot-card,.site-foot .foot-art{background:#10100e!important}.site-foot .foot-art{display:none}.site-foot .foot-card:before{background:none!important}.site-foot .foot-grid{max-width:1280px;margin:0 auto;padding:64px var(--gutter)}.site-foot .foot-base{max-width:1280px;margin:0 auto;padding:24px var(--gutter);border-top:1px solid rgba(231,224,205,.17)}.site-foot .foot-brand .brand{font-size:1.25rem;letter-spacing:.08em}.site-foot .foot-col h3{font-family:var(--font-body);font-size:0.75rem;text-transform:uppercase;letter-spacing:.08em}.site-foot .foot-col a{min-height:32px;font-size:0.75rem}.site-foot .foot-tag{font:600 1.5rem/1.1 var(--font-serif)}.lightbox{z-index:200}.lightbox-close,.lightbox-btn{min-width:44px;min-height:44px}
@media(min-width:1600px){:root{--gutter:max(80px,calc((100vw - 1440px)/2))}.planet-story{grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:64px}.planet-content .sec-head h2{font-size:4.5rem!important}.planet-stage-caption .planet-chapter-title{font-size:3rem!important}.orbit-object{inset:16px -112px 112px -112px}}
@media(max-width:1199px){:root{--gutter:32px}.nav{gap:24px}.nav .menu{gap:16px}.nav .nav-link{font-size:0.75rem}.planet-motion-label{display:none}.planet-story{gap:32px;grid-template-columns:minmax(0,.75fr) minmax(0,1.35fr)}.planet-content .sec-head h2{font-size:3rem!important}.planet-stage-caption .planet-chapter-title{font-size:1.875rem!important}.planet-stage-caption{max-width:260px}.planet-stage-heading{font-size:0.75rem;letter-spacing:.04em}.orbit-object{inset:24px -64px 160px -64px}.planet-chapter-links{gap:4px}.planet-chapter-links a{min-height:40px}.planet-content #team .founder--sys{grid-template-columns:1fr}.planet-content #team .founder-photo{width:128px;height:160px}#hero .hero-title{font-size:4.5rem}#contact .contact--sys{gap:40px}#contact .contact--sys h2.heading-2{font-size:3.75rem}.planet-content .partner-rows{gap:0 24px}}
@media(max-width:900px){.nav .menu-btn{display:grid}.nav .menu{position:fixed;top:80px;left:0;right:0;bottom:0;height:calc(100svh - 80px);margin:0;padding:32px 24px 64px;background:rgba(16,16,14,.98);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;opacity:0;visibility:hidden;transform:translateY(-12px);overflow:auto;transition:transform .5s var(--ease),opacity .3s var(--ease),visibility 0s .5s}.nav.open .menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}.nav .nav-link{font-family:var(--font-serif);font-size:2.25rem;line-height:1.1;padding:16px 0;min-height:48px;white-space:normal}.nav .nav-link--cta{font-family:var(--font-body);font-size:1rem;margin-top:24px;padding-bottom:12px}.nav{height:80px;gap:16px}.nav .brand{font-size:1.125rem;margin-right:auto}.planet-motion{order:2}.nav .menu-btn{order:3}.planet-story{padding:48px 24px;gap:24px;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}.planet-stage{top:96px;height:calc(100svh - 120px);min-height:540px}.planet-stage-heading{max-width:210px;font-size:0.75rem;line-height:1.6}.planet-stage-caption{max-width:210px}.planet-stage-caption .planet-chapter-title{font-size:1.875rem!important}.planet-chapter-note{max-width:190px;font-size:0.75rem}.planet-chapter-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.planet-chapter-links a{min-height:44px}.orbit-object{inset:32px -40px 160px -64px}.planet-content .partner-rows{grid-template-columns:1fr}.planet-content .feats,.planet-content .sig-grid,.planet-content .pipeline{gap:0 20px!important}.planet-content .sec-head h2{font-size:3rem!important}.planet-content .solution .feat h3,.planet-content .sig-card h3,.planet-content .pipeline h3{font-size:1.5rem!important}.planet-content #workshops .ws-list>li{grid-template-columns:24px minmax(0,1fr);gap:8px 12px}.planet-content .faq .faq-item summary .title-2{font-size:1.5rem}.planet-content .problem-chart{padding:16px!important}.planet-content .problem-chart canvas{min-height:240px;height:240px}html{scroll-padding-top:96px}.device-section .tour-head h2,.prototype .prototype-head h2,.field-head .heading-2{font-size:3rem}}
@media(max-width:640px){:root{--gutter:24px}#hero.hero--film{padding:128px 24px 32px;min-height:100svh}#hero .hero-title{font-size:3.75rem;line-height:.98!important;letter-spacing:-.04em!important}#hero .hero-title .accent--mono{font-size:1em}#hero .hero-foot{margin-top:24px;gap:24px}#hero .hero-sub{font-size:1rem;line-height:1.5}#hero .hero-cta{margin:0}#hero .hero-cta .btn{font-size:0.875rem}#hero .logos{margin-top:40px;gap:16px 24px}#hero .logo{font-size:0.75rem!important}#hero .announce{font-size:0.75rem}.hero-research-status{font-size:0.75rem}.proof{padding-top:40px;padding-bottom:24px}.proof .proof-n{font-size:3rem!important}.proof .proof-l{font-size:0.75rem}.proof .proof-src{font-size:0.75rem}.film{padding:24px 24px 40px}.film-stage{border-radius:4px}.device-section .tour-head h2,.prototype .prototype-head h2,.field-head .heading-2{font-size:2.25rem}.device-section .sec-tag,.prototype .sec-tag,.field .sec-tag{font-size:0.875rem}.device-steps .step-btn{font-size:0.75rem!important;min-height:44px}.device-steps{gap:4px!important}.device-caption{font-size:0.75rem!important}.planet-story{display:block;padding:0 24px 40px}.planet-stage{position:sticky;top:80px;height:104px;min-height:0;max-height:none;margin:0 -24px;padding:12px 24px;border-bottom:1px solid var(--line);background:#10100e;z-index:5;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;overflow:clip}.planet-stage-heading,.planet-chapter-note,.planet-chapter-links,.planet-stage .orbit-progress{display:none}.orbit-object{position:relative;inset:auto;flex:0 0 88px;width:88px;height:88px;z-index:0;overflow:visible}.planet-surface{width:70%;}.orbit-lines{width:100%;height:100%}.orbit-still{box-shadow:inset 28px -8px 32px 8px rgba(0,0,0,.9),inset -6px 2px 12px rgba(220,198,152,.3)}.planet-stage-caption{position:relative;max-width:calc(100% - 104px);padding:0;z-index:1}.planet-stage-caption .planet-chapter-title{font-size:1.5rem!important;line-height:1.1!important;margin:8px 0 0}.planet-content{width:100%;z-index:0}.planet-content>section{padding:48px 0!important;scroll-margin-top:108px}.planet-content>section:first-child{padding-top:40px!important}.planet-content .sec-head{margin-bottom:24px}.planet-content .sec-head .eyebrow{font-size:0.75rem!important;margin-bottom:16px}.planet-content .sec-head h2,.planet-content .sys-head h2{font-size:3rem!important;line-height:1!important}.planet-content .sec-head .sec-tag{font-size:0.875rem!important;margin-top:16px}.planet-content :is(.body-6,.body-3){font-size:0.875rem;line-height:1.6}.planet-content .partner-rows{grid-template-columns:1fr 1fr;gap:0 20px}.planet-content .partner-rows h3.title-2{font-size:1.5rem}.planet-content .partner-rows p.body-6{font-size:0.75rem;line-height:1.6}.planet-content .partners-aside{max-width:280px;margin:0 auto}.planet-content .feats,.planet-content .sig-grid,.planet-content .pipeline{grid-template-columns:1fr 1fr!important;gap:0 20px!important}.planet-content .solution .feat h3,.planet-content .sig-card h3,.planet-content .pipeline h3{font-size:1.5rem!important}.planet-content .solution .feat p,.planet-content .sig-card p,.planet-content .pipeline p{font-size:0.75rem;line-height:1.6}.planet-content .feat-viz{min-height:72px;height:72px}.planet-content .sig-card .sig-trace{height:48px}.planet-content .problem-chart canvas{height:224px;min-height:224px}.planet-content .problem-chart{min-height:288px}.planet-content .problem-point h3{font-size:1.625rem!important}.planet-content .problem-point .body-6{font-size:0.875rem}.planet-content .statement{font-size:1.5rem!important}.planet-content .parts-foot{padding-top:24px}.planet-content .log-panel h3{font-size:1.5rem!important}.planet-content .log-panel p{font-size:0.875rem}.planet-content .log-panel li{grid-template-columns:1fr!important;padding-left:32px!important;gap:8px}.planet-content .log-panel li>*{grid-column:auto!important}.planet-content .log-panel li:before{left:0!important}.planet-content .log-panel li:after{left:4px!important}.planet-content .ws-list h3{font-size:1.5rem!important}.planet-content .ws-list>li>p{font-size:0.875rem}.planet-content .how-scene{min-height:300px}.planet-content .how-scene canvas{height:300px;min-height:300px}.planet-content #team .founder--sys{grid-template-columns:88px minmax(0,1fr);gap:20px}.planet-content #team .founder-photo{width:88px;height:120px}.planet-content #team .founder-body h3{font-size:1.875rem}.planet-content #team .founder-role{font-size:0.75rem}.planet-content #team .founder-body>.body-3{font-size:0.875rem}.planet-content #team .founder-facts li{font-size:0.75rem}.planet-content #team .founder-link{font-size:0.75rem}.planet-content .faq .faq-item summary .title-2{font-size:1.5rem}.planet-content .faq .faq-a p{font-size:0.875rem}.planet-content .faq .faq-item summary{padding:24px 0}#contact.band{padding:64px 24px}#contact .contact--sys{grid-template-columns:1fr;gap:48px}#contact .contact--sys h2.heading-2{font-size:3.75rem}#contact .contact-email{font-size:1rem}#contact .contact-form{grid-template-columns:1fr}#contact .contact-form .form-group{grid-column:1!important}#contact .contact-info .sec-tag{font-size:0.875rem!important}#contact .contact--sys .btn-dark{min-height:48px;width:100%}.site-foot .foot-grid{padding:48px 24px}.site-foot .foot-base{padding:24px}.site-foot .foot-col a{min-height:36px}.nav .brand-mark{width:24px}.nav .brand{font-size:1.125rem}.planet-motion{font-size:0.75rem}}
@media(max-width:360px){#hero .hero-title{font-size:3rem}.planet-content .sec-head h2,.planet-content .sys-head h2{font-size:2.25rem!important}.planet-content .partner-rows{grid-template-columns:1fr}.planet-content .feats,.planet-content .sig-grid,.planet-content .pipeline{gap:0 16px!important}.planet-content .solution .feat h3,.planet-content .sig-card h3,.planet-content .pipeline h3{font-size:1.5rem!important}.planet-content #team .founder--sys{grid-template-columns:1fr}.planet-content #team .founder-photo{width:104px;height:136px}#contact .contact--sys h2.heading-2{font-size:3rem}.planet-stage-caption .planet-chapter-title{font-size:1.5rem!important}.planet-content #sensors .sensor-row .pill{max-width:80px}.planet-content #sensors .sensor-name h3{font-size:1.375rem}}
@media(max-height:650px) and (min-width:641px){.planet-stage{min-height:440px;top:96px;height:calc(100svh - 112px)}.planet-stage-heading{font-size:0.75rem}.planet-stage-caption{padding-bottom:12px}.planet-stage-caption .planet-chapter-title{font-size:1.5rem!important;margin:8px 0}.planet-chapter-note{min-height:0}.planet-chapter-links{padding-top:8px}.orbit-object{inset:0 -80px 112px -80px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.planet-surface,.orbit-lines{will-change:auto}.js [data-reveal],.js [data-intro]{opacity:1;transform:none}}
#hero .announce{background:rgba(24,24,18,.94);color:#d4bd8e}.planet-content .sig-dot{border-color:#858876;background:transparent}.planet-content .sig-card[aria-pressed=true] .sig-dot{background:#e6bad1;border-color:#e6bad1}.planet-content .sig-dot:after{border-color:#10100e}.planet-content .sec-head>*{text-align:left!important;margin-left:0!important;margin-right:0!important}.js .planet-content [data-reveal]{opacity:1!important;transform:none}.js .planet-content [data-reveal].in{animation:none!important}.planet-paused .orbit-lines{will-change:auto}.planet-stage[aria-busy=true] .planet-chapter-title{opacity:.7}
@media(max-width:640px) and (max-height:650px){#hero.hero--film{padding-top:104px;padding-bottom:24px}#hero .hero-title{font-size:3rem;margin-top:24px}#hero .hero-foot{margin-top:24px;gap:16px}#hero .hero-sub{font-size:0.875rem;line-height:1.5}#hero .hero-research-status{margin-top:8px;font-size:0.75rem}#hero .logos{margin-top:32px;gap:12px 16px}}
@media(max-width:360px) and (max-height:650px){#hero .hero-title{font-size:2.25rem}}
/* A shared angular story. Text is carried off the illuminated surface and
   becomes normal, crisp HTML before it enters the main reading band. */
.planet-story{perspective:1200px}
.nav .planet-motion{min-width:44px;flex-shrink:0}
.nav .menu-btn{min-height:44px}
.planet-content{overflow:visible}
.planet-content>section:first-child{padding-top:clamp(176px,26svh,272px)!important}
.js .planet-content [data-reveal]{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}
.js .planet-content .orbit-unit[data-orbit-state]{
  animation:none!important;transition:none!important;
  opacity:var(--emerge-opacity,1)!important;
  transform:none!important;
  transform-origin:0 0;
}
.js .planet-content .orbit-unit[data-orbit-state=transit]{
  transform:perspective(1000px) translate3d(var(--emerge-x,0px),var(--emerge-y,0px),0) rotateY(var(--emerge-turn,0deg)) rotateZ(var(--emerge-roll,0deg)) scale(var(--emerge-scale,1))!important;
  will-change:transform,opacity;
  text-shadow:0 2px 12px rgba(0,0,0,.6);
}
.js .planet-content .orbit-unit[data-orbit-state=waiting]{pointer-events:none}
.js .planet-content .orbit-unit[data-orbit-state=reading]{will-change:auto}
.planet-paused .planet-content .orbit-unit[data-orbit-state]{opacity:1!important;transform:none!important;will-change:auto}
/* Keep the planet and emerging text free of decorative rings and trails. */
.planet-stage :is(.orbit-lines,.orbit-thread,.orbit-source){display:none}
.orbit-thread{
  position:absolute;inset:0;width:100%;height:100%;
  overflow:visible;pointer-events:none;z-index:2;
  color:var(--gold-light);
}
.orbit-thread path{fill:none;stroke:currentColor;stroke-width:.8;vector-effect:non-scaling-stroke;opacity:0}
.orbit-surface-trace{stroke-width:1.4!important}
.orbit-source{
  position:absolute;top:0;left:0;width:5px;height:5px;
  margin:-2.5px;border-radius:50%;background:#e8d2a5;
  box-shadow:0 0 12px rgba(232,210,165,.5);pointer-events:none;z-index:2;
}
.planet-scroll-cue{
  position:relative;display:flex;align-items:center;gap:12px;
  color:var(--gold-light);font:400 0.625rem/1.5 var(--font-body);
  letter-spacing:.12em;text-transform:uppercase;padding:0 0 16px;
}
.planet-scroll-cue>span{font-size:1rem}
.planet-paused :is(.orbit-source,.orbit-thread,.planet-scroll-cue){visibility:hidden}
.orbit-still{transform:rotate(var(--stone-turn,0rad));transition:none}
.planet-surface canvas,.planet-surface.has-webgl .orbit-still{transition:none}
.orbit-type{grid-area:1/1;width:68%;aspect-ratio:1;z-index:1;pointer-events:none;opacity:0;transform:rotate(-13deg);overflow:visible}
.orbit-type text{font:600 4rem var(--font-serif);fill:#f2ede4;stroke:rgba(16,16,14,.75);stroke-width:2px;paint-order:stroke fill;letter-spacing:.01em}
.planet-paused .orbit-type{visibility:hidden}
@media(min-width:641px){
  .planet-stage-caption{padding-bottom:12px}
  .orbit-object{inset:0 -112px 120px -112px}
  .planet-content>section{padding-top:88px!important;padding-bottom:88px!important}
  .planet-content .sec-head{margin-bottom:48px}
  .planet-content .partner-rows>li{padding-top:32px;padding-bottom:32px}
}
@media(max-width:900px) and (min-width:641px){
  .orbit-object{inset:24px -56px 176px -72px}
}
@media(max-width:640px){
  .planet-story{perspective:none}
  .planet-stage{
    height:168px;min-height:168px;padding:10px 24px;gap:16px;
    overflow:visible;isolation:isolate;
  }
  .orbit-object{flex:0 0 132px;width:132px;height:148px;overflow:visible}
  .planet-surface{width:92%}
  .orbit-type{width:92%}
  .orbit-type text{font-size:7rem;stroke-width:3px}
  .orbit-lines{width:148px;height:148px;margin-left:-8px}
  .planet-stage-caption{max-width:calc(100% - 148px);padding-bottom:22px}
  .planet-stage-caption .planet-chapter-title{font-size:1.375rem!important;line-height:1.12!important;margin-top:6px}
  .planet-stage .planet-scroll-cue{position:absolute;left:172px;bottom:12px;padding:0;font-size:0.5625rem;letter-spacing:.08em;gap:8px}
  .planet-stage .planet-scroll-cue>span{font-size:0.75rem}
  .planet-content>section:first-child{padding-top:40px!important}
  .planet-content>section{scroll-margin-top:0}
  .planet-content .partner-rows>li{padding-top:28px;padding-bottom:28px}
  .planet-content .sec-head{margin-bottom:32px}
  .orbit-thread path{stroke-width:.7}
}
@media(max-width:360px){
  .planet-stage{gap:12px;padding-left:16px;padding-right:16px}
  .orbit-object{flex-basis:120px;width:120px}
  .planet-stage-caption{max-width:calc(100% - 132px)}
  .planet-stage .planet-scroll-cue{left:148px;font-size:0.5rem}
  .planet-stage-caption .planet-chapter-title{font-size:1.25rem!important}
}
@media(max-width:640px) and (max-height:650px){
  .planet-stage{height:144px;min-height:144px}
  .orbit-object{height:128px;flex-basis:112px;width:112px}
  .planet-surface{width:94%}
  .orbit-lines{width:128px;height:128px}
  .planet-stage-caption{max-width:calc(100% - 124px)}
  .planet-stage .planet-scroll-cue{left:148px;bottom:10px}
}
/* Keep the select's arrow in one reserved position after the field reset. */
#contact .form-group select{background-repeat:no-repeat;background-position:right 12px center;background-size:12px 12px;padding-right:36px}
/* Partner names and results have their own type palette, sized for reading. */
#hero .logos{display:grid;grid-template-columns:1.35fr 1.4fr .8fr .95fr 1.1fr .9fr;align-items:center;gap:24px 28px;padding-top:32px;padding-bottom:8px}
#hero .logos .logo{font-family:var(--font-evidence-sans);font-size:1.25rem!important;font-weight:500;font-style:normal;line-height:1.15;letter-spacing:-.035em;text-transform:none;text-align:center;color:#d9d4c4;justify-self:center;min-width:0;max-width:100%;white-space:normal;text-wrap:balance;font-synthesis:none}
#hero .logos .logo--serif,#hero .logos .logo--caps{font-family:var(--font-evidence-serif);font-size:1.375rem!important;font-weight:500;letter-spacing:-.035em;font-optical-sizing:auto}
#hero .logos .logo--caps{gap:7px}
#hero .logos .logo--caps small{display:block;font:500 0.5625rem/1.35 var(--font-evidence-sans);letter-spacing:.13em;text-transform:uppercase;color:#b9b4a4}
#hero .logos .logo--heavy{font-size:1.875rem!important;font-weight:700;letter-spacing:-.065em}
#hero .logos .logo--wide{font-size:1.4375rem!important;font-weight:600;letter-spacing:-.05em}
#hero .logos .logo--mono{font-size:1.0625rem!important;font-weight:500;letter-spacing:-.04em}
#hero .logos .logo--light{font-size:1.5rem!important;font-weight:500;letter-spacing:-.055em}
#proof .proof-title{font:600 clamp(1.75rem,2.8vw,2.25rem)/1.15 var(--font-evidence-serif);font-optical-sizing:auto;letter-spacing:-.035em;text-transform:none;color:var(--ink);margin-bottom:32px}
#proof .proof-stats>li{gap:12px}
#proof .proof-n{font-family:var(--font-evidence-serif)!important;font-size:clamp(3.25rem,5.5vw,4.625rem)!important;font-weight:500;line-height:1.05!important;letter-spacing:-.055em;font-optical-sizing:auto;font-variant-numeric:lining-nums tabular-nums}
#proof .proof-l{font-size:0.9375rem;line-height:1.55;letter-spacing:-.01em}
#proof .proof-src{font-family:var(--font-evidence-sans);font-size:0.6875rem;font-weight:600;line-height:1.5;letter-spacing:.035em;padding-top:12px;margin-top:auto;color:var(--muted)}
@media(max-width:1100px){
  #hero .logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
}
@media(max-width:640px){
  #hero .logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px;padding-top:28px;margin-top:40px}
  #hero .logos .logo--serif,#hero .logos .logo--caps{font-size:1.3125rem!important}
  #hero .logos .logo--heavy{font-size:1.8125rem!important}
  #hero .logos .logo--wide{font-size:1.375rem!important}
  #hero .logos .logo--mono{font-size:1rem!important}
  #hero .logos .logo--light{font-size:1.4375rem!important}
  #proof .proof-title{margin-bottom:24px}
  #proof .proof-stats>li{padding:24px 16px 24px 0;gap:10px}
  #proof .proof-stats>li:nth-child(even){padding-right:0;padding-left:16px}
  #proof .proof-n{font-size:clamp(2.375rem,12vw,3.5rem)!important}
  #proof .proof-l{font-size:0.875rem}
  #proof .proof-src{font-size:0.65625rem;letter-spacing:.015em;padding-top:8px}
}
@media print{
  .planet-stage,.planet-motion{display:none!important}
  .planet-story{display:block}
  .planet-content{width:100%}
  .js .planet-content .orbit-unit[data-orbit-state]{opacity:1!important;transform:none!important}
}


/* brand.css */
/* The owner's supplied Pathos IoT identity. Layout and story timing stay intact. */
.pathos-iot-brand{display:inline-flex;align-items:center;gap:0!important;flex-shrink:0;text-decoration:none;min-height:44px}
.pathos-iot-brand .brand-logo{display:block;width:192px;height:48px;max-width:none;object-fit:contain}
.foot-brand .pathos-iot-brand .brand-logo{width:160px;height:auto;aspect-ratio:178/130}
.study-nav .pathos-iot-brand .brand-logo,.page-nav .pathos-iot-brand .brand-logo{width:184px;height:46px}
.orbit-still:before,.orbit-still:after{content:'';position:absolute;inset:0;pointer-events:none;mask:url('assets/brand/pathos-iot-engraving.svg') center 35%/72% 72% no-repeat;-webkit-mask:url('assets/brand/pathos-iot-engraving.svg') center 35%/72% 72% no-repeat}
.orbit-still:before{background:rgba(0,0,0,.72);transform:translate(1px,-1px)}
.orbit-still:after{background:linear-gradient(145deg,rgba(207,171,79,.48),rgba(157,121,39,.4) 45%,rgba(73,56,21,.28));transform:translate(-1px,1px)}
@media(max-width:1199px){.nav .pathos-iot-brand .brand-logo{width:168px;height:42px}}
@media(max-width:640px){.nav .pathos-iot-brand .brand-logo{width:160px;height:40px}.study-nav .pathos-iot-brand .brand-logo,.page-nav .pathos-iot-brand .brand-logo{width:150px;height:38px}.foot-brand .pathos-iot-brand .brand-logo{width:148px}}
@media(max-width:360px){.nav .pathos-iot-brand .brand-logo{width:132px;height:33px}.study-nav .pathos-iot-brand .brand-logo,.page-nav .pathos-iot-brand .brand-logo{width:132px;height:33px}}


/* fonts.css */
@font-face {
  font-family: 'Big Shoulders';
  src: url('assets/fonts/big-shoulders-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/hanken-grotesk-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-editorial: 'Big Shoulders', 'Arial Narrow', sans-serif;
  --font-ui: 'Hanken Grotesk', 'Helvetica Neue', sans-serif;
  --font-reading: var(--font-ui);
}


/* design-tokens.css */
/* Canonical tokens for the active site. Breakpoints: 640 / 900 / 1100px. */
:root{
  color-scheme:light;
  --color-page:#f2ece2;
  --color-paper:#f8f3eb;
  --color-ink:#24251e;
  --color-text:#515247;
  --color-muted:#606254;
  --color-dark:#10100e;
  --color-dark-raised:#171813;
  --color-dark-hover:#26271f;
  --color-control-track:#6f7067;
  --color-on-dark:#f2ede4;
  --color-on-dark-muted:#cbc6b8;
  --color-accent:#e4c58f;
  --color-accent-ink:#735625;
  --color-lilac:#d5c2df;
  --color-error:#a32644;
  --color-error-dark:#ffc0cd;
  --color-success:#326240;
  --color-rule:rgba(36,37,30,.18);
  --color-rule-dark:rgba(242,237,228,.22);
  --font-body:var(--font-reading);
  --font-display:var(--font-ui);
  --font-serif:var(--font-editorial);
  --font-mono:var(--font-ui);
  --text-xs:.8125rem;
  --text-sm:.875rem;
  --text-base:1rem;
  --text-lg:1.125rem;
  --text-xl:1.5rem;
  --text-2xl:2rem;
  --text-3xl:3rem;
  --text-hero:clamp(2.75rem,1.5rem + 4.5vw,6rem);
  --space-1:.25rem;
  --space-2:.5rem;
  --space-3:.75rem;
  --space-4:1rem;
  --space-6:1.5rem;
  --space-8:2rem;
  --space-12:3rem;
  --space-16:4rem;
  --space-24:6rem;
  --radius-control:.75rem;
  --radius-panel:2rem;
  --radius-pill:999px;
  --shadow-panel:none;
  --motion-fast:160ms;
  --motion-base:240ms;
  --motion-slow:300ms;
  --ease:cubic-bezier(.22,1,.36,1);
  --focus-width:3px;
  --focus-offset:3px;
  --focus-color:var(--color-accent-ink);
  --focus-halo:var(--color-page);
  --target-size:44px;
  --nav-height:80px;
  --nav-clearance:calc(var(--nav-height) + var(--space-4));
  --bg:var(--color-page);
  --surface:var(--color-paper);
  --surface-2:#e9e2d5;
  --ink:var(--color-ink);
  --text:var(--color-text);
  --muted:var(--color-muted);
  --faint:var(--color-muted);
  --deep:var(--color-dark);
  --gold:var(--color-accent-ink);
  --gold-light:var(--color-accent);
  --lavender:var(--color-lilac);
  --on-dark:var(--color-on-dark);
  --on-dark-2:var(--color-on-dark-muted);
  --on-dark-3:var(--color-on-dark-muted);
  --line:var(--color-rule);
  --line-strong:rgba(36,37,30,.35);
  --rule:var(--color-rule);
  --rule-strong:var(--line-strong);
  --sp-25:.125rem;--sp-50:var(--space-1);--sp-75:var(--space-2);
  --sp-100:var(--space-3);--sp-200:var(--space-4);--sp-300:var(--space-6);
  --sp-400:var(--space-8);--sp-500:2.5rem;--sp-600:var(--space-12);
  --sp-700:var(--space-16);--sp-800:5rem;--sp-900:var(--space-24);
  --r-sm:.125rem;--r:.25rem;--r-md:.375rem;--r-lg:var(--radius-control);
  --r-xl:.75rem;--r-2xl:1rem;--r-3xl:var(--radius-panel);--r-full:var(--radius-pill);
  --t-move:var(--motion-base);--t-fade:var(--motion-fast);
  --gutter:clamp(1.5rem,3.4vw,3rem);
}
@media(max-width:900px){:root{--nav-height:64px}}
@media(max-width:640px){:root{--gutter:1.5rem}}
@media(max-width:360px){:root{--gutter:1rem}}
@media(max-height:500px) and (orientation:landscape){:root{--nav-height:56px}}


/* ui-system.css */
/* Shared, accessible presentation over the preserved original experiences. */
html{font-size:100%;scroll-padding-top:var(--nav-clearance);scroll-behavior:auto}
body{font-family:var(--font-reading);font-size:var(--text-base);line-height:1.6}
body,h1,h2,h3,p{font-synthesis:none}
h2{overflow-wrap:anywhere}
button,input,select,textarea{font:inherit}
button,summary,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
:where(button,summary,.btn,.nav-link,.text-link,.planet-motion,.copy-btn){touch-action:manipulation}
:is(.heading-1,.heading-2,.heading-3,.heading-4,.heading-5,.heading-6){font-family:var(--font-editorial);font-weight:600;line-height:1.05;letter-spacing:-.01em}
.heading-1{font-size:var(--text-hero)}
.heading-2{font-size:var(--text-3xl)}
.heading-3{font-size:var(--text-2xl)}
.heading-4{font-size:var(--text-xl)}
.heading-5,.heading-6{font-size:var(--text-lg)}
:is(.body-2,.body-3){font-size:var(--text-base);line-height:1.6}
:is(.body-5,.body-6){font-size:var(--text-sm);line-height:1.6}
:is(.caption-2,.caption-4,.title-4){font-size:var(--text-xs);line-height:1.5}
/* One focus geometry, with a contrast-safe color for each surface. */
:is(#hero,.nav,.planet-story,#prototype,#contact,.site-foot,.lightbox,#film,.study-nav,.study-foot){--focus-color:var(--color-accent);--focus-halo:var(--color-dark)}
:is(a,button,input,select,textarea,summary,video[controls],[tabindex]):focus-visible{
  outline:var(--focus-width) solid var(--focus-color)!important;
  outline-offset:var(--focus-offset)!important;
  box-shadow:0 0 0 2px var(--focus-halo)!important;
}
:is(section,main)[tabindex='-1']:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
/* Standalone actions have comfortable touch targets; prose links stay inline. */
:is(button,summary,.btn,.nav-link,.text-link,.contact-email,.contact-links a,.foot-col a,.foot-legal a,.back-top,.site-foot .foot-base a,.skip-link,.foot-social a){min-height:var(--target-size)}
:is(button,.menu-btn,.copy-btn,.contact-links a,.lightbox-close,.lightbox-btn,.foot-col a,.foot-social a){min-width:var(--target-size)}
:is(.text-link,.contact-email,.contact-links a,.foot-col a,.foot-legal a,.back-top,.site-foot .foot-base a){display:inline-flex;align-items:center}
:is(.btn,button:not(.sig-card):not(.how-step):not(.step-btn),summary,.nav-link,.text-link){transition:color var(--motion-fast) var(--ease),background-color var(--motion-fast) var(--ease),border-color var(--motion-fast) var(--ease),transform var(--motion-fast) var(--ease)}
:is(.btn,button):active:not(:disabled){transform:translateY(1px)!important}
:is(button,.btn):disabled{cursor:default;opacity:.5}
/* Wispr's flat editorial controls, using Pathos's established accent roles. */
.btn,.btn.button-md,#hero .hero-cta .btn,#contact .contact--sys .btn-dark{font:500 var(--text-base)/1.3 var(--font-ui);padding:.875rem 1rem;gap:.75rem;border:2px solid var(--color-ink)!important;border-radius:var(--radius-control)!important;box-shadow:none!important;letter-spacing:0}
.btn-dark,#hero .btn-dark,#contact .contact--sys .btn-dark{background:var(--color-lilac);color:var(--color-ink)}
.btn-dark:hover,#hero .btn-dark:hover,#contact .contact--sys .btn-dark:hover{background:var(--color-accent)!important;color:var(--color-ink)}
.copy-btn,.step-btn{border-radius:var(--radius-control);font-family:var(--font-ui)}
/* Existing framed media adopts the reference's flat card finish. */
:is(#device-tour .device,.planet-content .problem-chart,.planet-content .how-scene,.planet-content .press-strip .shot){border-radius:var(--radius-panel)!important;box-shadow:none!important}
button svg,.btn svg,.text-link svg{stroke-width:1.75}
.ui-icon{display:inline-block;vertical-align:middle;flex:0 0 auto;width:1.125rem;height:1.125rem}
.feat-more{display:inline-flex;align-items:center;gap:.5rem}
/* A compact header keeps a visible, labeled motion control at every width. */
.nav{height:var(--nav-height);padding:0 var(--gutter);gap:var(--space-6);background:rgba(16,16,14,.98)!important}
.nav .nav-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;font:500 var(--text-sm)/1.3 var(--font-ui);padding:.75rem 0;color:var(--color-on-dark-muted)}
.nav .nav-link--cta{display:inline-flex;align-items:center;justify-content:center;min-height:var(--target-size);padding:.625rem 1rem;border:2px solid var(--color-ink)!important;border-radius:var(--radius-control);background:var(--color-lilac);color:var(--color-ink);text-decoration:none}
.nav .nav-link--cta:hover{background:var(--color-accent)!important;color:var(--color-ink)}
.planet-motion{min-height:var(--target-size);padding:.5rem .625rem;gap:.375rem;border:2px solid var(--color-on-dark-muted);border-radius:var(--radius-control);color:var(--color-on-dark-muted);font:500 var(--text-xs)/1.2 var(--font-ui)}
.planet-motion-label{display:inline!important}
.planet-motion>span:first-child{display:flex}
.planet-motion svg{width:1.1rem;height:1.1rem;display:block}
.planet-motion:hover{color:var(--color-on-dark);background:rgba(242,237,228,.07)}
/* The film remains visible, with a guaranteed dark floor beneath the type. */
#hero.hero--film{padding:calc(var(--nav-height) + var(--space-16)) var(--gutter) var(--space-12);min-height:100svh;overflow:clip}
#hero .hero-shade{background:linear-gradient(90deg,rgba(16,16,14,.82),rgba(16,16,14,.76)),linear-gradient(0deg,rgba(16,16,14,.3),transparent 60%)}
#hero .hero-title{font-family:var(--font-editorial);font-weight:650;font-size:var(--text-hero);line-height:.98!important;color:var(--color-on-dark);max-width:7.15em;letter-spacing:-.01em!important}
#hero .hero-title :is(.accent,.accent--mono){color:var(--color-accent);font-family:inherit;font-size:1em;font-weight:inherit;letter-spacing:inherit}
#hero .hero-sub{font-size:var(--text-lg);line-height:1.6;color:var(--color-on-dark);max-width:40rem}
#hero .hero-research-status{font-size:var(--text-xs);color:var(--color-on-dark-muted);margin-top:var(--space-3)}
#hero .announce{min-height:var(--target-size);padding:.625rem .875rem;font-size:var(--text-xs);color:var(--color-accent);background:var(--color-dark-raised);border-radius:var(--radius-pill);box-shadow:none}
#hero .hero-foot{margin-top:var(--space-8);gap:var(--space-6)}
#hero .hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3)}
#hero .logos{margin-top:var(--space-12);padding-top:var(--space-8);border-top-color:var(--color-rule-dark)}
#hero .logos .logo--caps small{font-size:var(--text-xs);letter-spacing:.06em;line-height:1.4}
/* Editorial partner names use the same two families as the interface. */
#hero .logos,#proof{--font-evidence-serif:var(--font-editorial);--font-evidence-sans:var(--font-ui)}
#hero .logos .logo{font-size:var(--text-lg)!important;line-height:1.3;color:var(--color-on-dark-muted);font-weight:500;letter-spacing:-.025em}
#hero .logos :is(.logo--serif,.logo--caps){font-size:1.375rem!important}
#hero .logos :is(.logo--serif,.logo--caps),#proof :is(.proof-n,.proof-title){font-weight:600;letter-spacing:0}
#hero .logos .logo--heavy{font-size:1.5rem!important;font-weight:600}
#hero .logos .logo--wide,#hero .logos .logo--light{font-size:1.25rem!important}
#hero .logos .logo--mono{font-size:var(--text-base)!important}
#proof .proof-l{font-size:var(--text-base);line-height:1.6}
#proof .proof-src{font-size:var(--text-xs);line-height:1.55;letter-spacing:.015em;color:var(--color-muted)}
#proof .proof-stats{gap:0 var(--space-6);grid-template-columns:repeat(auto-fit,minmax(min(100%,max(14rem,calc((100% - 3 * var(--space-6))/4))),1fr))}
#proof .proof-stats>li{padding:var(--space-6) 0 var(--space-8)!important;border-left:0!important;border-top:0!important;border-bottom:1px solid var(--color-rule)}
/* Reading rhythm follows the root text size, including browser text settings. */
.planet-story{--ink:var(--color-on-dark);--text:var(--color-on-dark-muted);--muted:var(--color-on-dark-muted);--gold:var(--color-accent);--gold-light:var(--color-accent);--line:var(--color-rule-dark);--line-strong:var(--color-rule-dark);padding:var(--space-12) var(--gutter);gap:var(--space-12)}
.planet-stage{top:var(--nav-clearance);height:calc(100svh - var(--nav-clearance) - var(--space-4))}
.planet-content>section{padding-block:var(--space-16)!important}
.planet-content :is(.sec-head,.sys-head) h2{font-size:clamp(2.5rem,1.5rem + 2.8vw,3.75rem)!important;line-height:1.08!important}
.planet-content .sec-head .eyebrow{font-size:var(--text-xs)!important}
.planet-content .sec-head .sec-tag{font-size:var(--text-base)!important;line-height:1.6!important}
.planet-content :is(.body-3,.body-6),.planet-content .partner-rows p.body-6,.planet-content :is(.feat,.sig-card,.pipeline li,.sys-panel) p{font-size:var(--text-sm);line-height:1.65}
.planet-content :is(.caption-2,.caption-4,.partner-role,.log-date,.spec-tag){font-size:var(--text-xs);line-height:1.5}
.planet-content .partner-rows h3.title-2{font-size:var(--text-xl);line-height:1.2}
.planet-content .faq .faq-item summary{min-height:var(--target-size);padding-block:var(--space-6);border-radius:var(--radius-control)}
.planet-content .faq .faq-item summary .title-2{font-size:var(--text-xl);line-height:1.3}
.planet-content .faq .faq-a p{font-size:var(--text-base);line-height:1.65}
.planet-content .sensor-name h3{font-size:var(--text-xl)}
.planet-content #sensors .sensor-row p{font-size:var(--text-sm)!important}
.planet-stage-caption .planet-chapter-title{font-size:var(--text-2xl)!important}
.planet-chapter-note{font-size:var(--text-xs)}
.planet-content .feats,.planet-content .sig-grid,.planet-content .pipeline{gap:0 var(--space-6)!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(12rem,calc((100% - var(--space-6))/2))),1fr))!important}
.planet-content #team .founder-body{min-width:0}
.planet-content #team .founder-body h3{font-size:clamp(1.75rem,3vw,2.25rem);line-height:1.15;overflow-wrap:anywhere}
.planet-content h3{overflow-wrap:anywhere}
.planet-content .partner-rows h3.title-2{font-size:clamp(1.25rem,2.5vw,1.5rem)}
.planet-content #sensors .sensor-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.75rem 1rem}
.planet-content #sensors .sensor-name{flex:1 1 12rem;min-width:0;max-width:100%}
.planet-content #sensors .sensor-row .pill{order:1;flex:0 0 auto;max-width:none}
.planet-content #sensors .sensor-row>code{order:2;flex:1 1 100%}
.planet-content #sensors .sensor-row>p{order:3;flex:1 1 100%}
@media(hover:hover){
  :is(.planet-content a.feat,.sig-card,.faq-item summary):hover{background-color:rgba(242,237,228,.055)!important}
  .planet-content a.feat:hover h3,.sig-card:hover h3,.faq-item summary:hover .title-2{color:var(--color-accent)!important}
  :is(.foot-col,.foot-base,.contact-links,.contact-meta) a:hover,.text-link:hover{text-decoration:underline;text-underline-offset:.25em;color:var(--gold)}
}
#contact{--gold:var(--color-accent);--muted:var(--color-on-dark-muted);--text:var(--color-on-dark-muted);--ink:var(--color-on-dark)}
#contact .contact--sys h2.heading-2{font-size:clamp(2rem,2rem + 2vw,4rem);line-height:1.1;overflow-wrap:anywhere}
#contact .contact-email{font-size:var(--text-lg)}
#contact .contact-info,#contact .contact-form{min-width:0}
#contact .contact-email{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#contact .contact-form label{font-size:var(--text-sm)}
#contact .marble--contact .form-group :is(input,select,textarea){font:400 var(--text-base)/1.5 var(--font-ui);min-height:var(--target-size);padding:.75rem 1rem;border:2px solid var(--color-on-dark-muted);border-radius:var(--radius-control);background-color:var(--color-dark);color:var(--color-on-dark);box-shadow:none}
#contact .marble--contact .form-group select{padding-right:3rem;background-position:right 1rem center;background-repeat:no-repeat;background-size:12px 8px}
#contact .marble--contact .form-group :is(input,select,textarea)[aria-invalid=true]{border-color:var(--color-error-dark)}
#contact .marble--contact .copy-btn{border:2px solid var(--color-on-dark-muted);border-radius:var(--radius-control);box-shadow:none}
#contact :is(.form-intro,.optional,.field-error,.form-status){font-size:var(--text-sm);line-height:1.6}
#contact .field-error,#contact .form-status.error{color:var(--color-error-dark)}
.site-foot{--gold:var(--color-accent);--muted:var(--color-on-dark-muted);color:var(--color-on-dark-muted)}
.site-foot :is(.foot-col,.foot-base) a{font-size:var(--text-sm);padding-block:.5rem}
.site-foot .foot-col h3{font:600 var(--text-xs)/1.5 var(--font-ui);letter-spacing:.06em}
.site-foot .foot-base{flex-wrap:wrap;gap:var(--space-4)}
.site-foot .foot-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:var(--space-8)}
.site-foot .foot-grid>*{min-width:0}
.site-foot .foot-tag{max-width:100%;overflow-wrap:anywhere}
/* Flat paper surfaces retain the original section geometry. */
.proof{background:var(--color-page)}
.film{padding-bottom:var(--space-12)}
.planet-story+.prototype{border-top:1px solid var(--color-rule-dark)}
@media(max-width:1100px){
  .nav{gap:var(--space-4)}
  .nav .menu{gap:var(--space-3)}
  .nav .pathos-iot-brand .brand-logo{width:9.25rem;height:auto}
  .nav .nav-link{font-size:var(--text-xs)}
  #proof .proof-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(14rem,calc((100% - var(--space-6))/2))),1fr))}
}
@media(max-width:900px){
  .nav .menu{top:var(--nav-height);height:calc(100svh - var(--nav-height));padding:var(--space-8) var(--gutter);background:var(--color-dark)}
  .nav .nav-link{font:600 clamp(1.5rem,5vw,2.25rem)/1.2 var(--font-editorial);padding:.75rem .25rem}
  .nav .nav-link--cta{font:500 var(--text-sm)/1.4 var(--font-ui);padding:.75rem 1rem}
  .nav .pathos-iot-brand .brand-logo{width:8rem;height:auto}
  .planet-motion{font-size:.75rem;padding-inline:.5rem}
  #hero .logos{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}
  .planet-story{gap:var(--space-6)}
}
@media(max-width:640px){
  .nav{gap:var(--space-2);padding-inline:var(--gutter)}
  .nav .brand{flex:1 1 112px;min-width:64px;max-width:112px}
  .nav .pathos-iot-brand .brand-logo{width:100%;max-width:112px;height:auto}
  .nav .menu-btn{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px}
  .nav .planet-motion{flex:0 1 auto;min-width:0;white-space:normal;padding:6px 8px;gap:6px}
  .nav .planet-motion-label{white-space:normal;text-wrap:balance}
  .nav .planet-motion svg{width:16px;height:16px}
  #hero.hero--film{padding-top:calc(var(--nav-height) + var(--space-8));padding-bottom:var(--space-8)}
  #hero .hero-title{font-size:clamp(2rem,1.2rem + 6vw,3.75rem);margin-top:var(--space-6);overflow-wrap:anywhere}
  #hero .hero-sub{font-size:var(--text-base)}
  #hero .logos{gap:var(--space-6) var(--space-4);margin-top:var(--space-8)}
  #proof .proof-n{font-size:clamp(2.25rem,12vw,3.5rem)!important}
  #proof .proof-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(9rem,calc((100% - var(--space-6))/2))),1fr))}
  .planet-story{padding-inline:var(--gutter)}
  .planet-stage{top:var(--nav-height);height:auto;min-height:8rem;margin-inline:calc(-1 * var(--gutter));padding:var(--space-2) var(--gutter);gap:var(--space-4)}
  .planet-stage .orbit-object{width:96px;height:96px;flex-basis:96px}
  .planet-stage-caption{flex:1 1 0;min-width:0;max-width:none;padding:0}
  .planet-stage-caption .planet-chapter-title{font-size:clamp(1.125rem,3vw,1.5rem)!important;line-height:1.2!important;overflow-wrap:anywhere}
  .planet-content>section{padding-block:var(--space-12)!important;scroll-margin-top:calc(var(--nav-height) + 8rem)}
  .planet-content>section:first-child{padding-top:var(--space-12)!important}
  .planet-content .partner-rows{grid-template-columns:1fr;gap:0}
  .planet-content .partner-rows>li{padding-block:var(--space-6)}
  .planet-content .feats,.planet-content .sig-grid,.planet-content .pipeline{grid-template-columns:1fr!important}
  .planet-content .parts-foot dd{font-size:var(--text-xs)}
  #contact.band{padding:var(--space-16) var(--gutter)}
  .site-foot .foot-grid{padding:var(--space-12) var(--gutter)}
}
@media(max-height:500px) and (orientation:landscape){
  .nav .pathos-iot-brand .brand-logo{width:7rem}
  #hero.hero--film{min-height:auto;padding-top:calc(var(--nav-height) + var(--space-6));padding-bottom:var(--space-8)}
  #hero .hero-title{font-size:clamp(2.25rem,5.5vw,3.5rem);max-width:23ch;margin-top:var(--space-4)}
  #hero .hero-sub{font-size:var(--text-sm);max-width:36rem}
  #hero .hero-foot{margin-top:var(--space-4)}
  #hero .logos{margin-top:var(--space-6);padding-top:var(--space-4)}
  .planet-stage{position:relative;top:auto;min-height:0;height:auto}
  .planet-story{grid-template-columns:1fr}
  .planet-stage .orbit-object{display:none}
  .planet-stage-caption{max-width:none}
  .planet-content>section{padding-top:var(--space-8)!important}
  .nav .menu{padding-block:var(--space-4)}
  .nav .menu .nav-link{font-size:var(--text-xl);padding-block:.375rem}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  [data-reveal],[data-intro]{opacity:1!important;transform:none!important}
}


/* compact-layout.css */
/* Field photographs use their original scroll-driven 3D deck. Software uses its original pinned scroll tour. */
/* Preserve that tour's geometry while allowing enlarged text to reflow. */
#device-tour .device-meta{min-width:0;grid-template-columns:minmax(0,1fr);max-width:100%}
#device-tour .device-steps{max-width:100%;flex-wrap:wrap}
#device-tour .device-steps>li{flex:1 1 5rem;min-width:0}
#device-tour .step-btn{width:100%;white-space:normal;overflow-wrap:anywhere}
#device-tour .device-captions{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:72px}
#device-tour .device-caption{position:relative;grid-area:1/1;visibility:hidden}
#device-tour .device-caption.is-on{visibility:visible}
@media(max-width:640px){#device-tour .device-captions{min-height:96px}}
/* Preserve the original photo path while retaining the current brand controls. */
#product.field.is-live .fl-stage{top:var(--nav-height,64px);height:calc(100svh - var(--nav-height,64px));min-height:0;touch-action:pan-y pinch-zoom}
#product .fl-face{border-radius:var(--radius-panel,32px)}
#product .fl-caption strong{font-family:var(--font-ui);font-size:var(--text-lg,1.125rem);line-height:1.35}
#product .fl-caption>span{font-size:var(--text-base,1rem);line-height:1.55}
#product .fl-back-n,#product .fl-count{font-family:var(--font-ui);font-size:var(--text-sm,.875rem)}
#product .fl-back-t{font-family:var(--font-editorial);font-weight:400}
#product .fl-back-d{font-size:var(--text-base,1rem)}
#product .fl-btn{display:grid;place-items:center;flex:0 0 44px;border:2px solid var(--color-ink);background:var(--color-paper);color:var(--color-ink);transition:background var(--motion-fast),transform var(--motion-fast)}
#product .fl-btn:hover{background:var(--color-page)}
#product .fl-btn:active{transform:scale(.98)}
@media(prefers-reduced-motion:reduce){#product .fl-caption.is-swap{animation:none}}


/* hardware-experience.css */
/* Original pinned Blender composition from pathos-landing-tau, with Pathos UI tokens. */
#prototype.hw-experience{--hw-bg:var(--color-dark);--hw-ink:var(--color-on-dark);--hw-muted:var(--color-on-dark-muted);--hw-accent:var(--color-accent);padding:56px 0 32px;background:var(--color-page);color:var(--color-ink);overflow:visible}
#prototype .prototype-head{max-width:680px;margin:0 auto 24px;text-align:center}
#prototype .prototype-head .heading-2{font-family:var(--font-editorial);font-weight:600;line-height:1.05;letter-spacing:-.01em}
#prototype .hw-mode-heading{display:grid;justify-items:center;gap:12px;margin-bottom:24px}
#prototype .hw-mode-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
#prototype .hw-mode-tabs [role=tab]{min-height:44px;padding:10px 16px;border:2px solid var(--color-ink);border-radius:var(--radius-pill);background:var(--color-paper);color:var(--color-ink);font:500 1rem/1.3 var(--font-ui);cursor:pointer;box-shadow:none;--focus-color:var(--color-accent-ink);--focus-halo:var(--color-page)}
#prototype .hw-mode-tabs [aria-selected=true]{background:var(--color-ink);color:var(--color-on-dark)}
#prototype .hw-mode-tabs [aria-busy=true]{border-style:dashed}
#prototype .hw-mode-tabs [aria-busy=true]:after{content:'…';margin-left:4px}
#prototype .hw-mode-note{margin:0;max-width:48rem;text-align:center;color:var(--color-muted);font:400 var(--text-sm)/1.5 var(--font-reading)}
#hwExperiencePanel{overflow:visible}
#prototype .hw-track{position:relative;height:1080svh}
#prototype .hw-stage{--stage-top:max(76px,var(--nav-height));position:sticky;top:var(--stage-top);height:calc(100svh - var(--stage-top) - 16px);min-height:540px;width:calc(100% - 40px);max-width:1320px;margin:0 auto;border:8px solid var(--color-ink);border-radius:24px;overflow:hidden;background:var(--hw-bg);color:var(--hw-ink);box-shadow:none}
#prototype .hw-bar{position:absolute;inset:0 0 auto;display:flex;align-items:center;gap:12px;height:48px;padding:0 18px;background:var(--hw-bg);color:var(--hw-muted);border-bottom:1px solid var(--color-rule-dark);font:400 var(--text-xs)/1.3 var(--font-ui)}
#prototype .hw-clock{margin-left:auto;color:var(--hw-muted)}
#prototype .hw-clock span{color:var(--hw-accent)}
#prototype :is(.hw-play,.hw-scroll,.hw-skip,.hw-360,.hw-orbit-btn,.hw-orbit-exit){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;padding:8px 12px;border:2px solid var(--hw-muted);border-radius:var(--radius-control);background:var(--hw-bg);color:var(--hw-ink);font:500 var(--text-sm)/1.3 var(--font-ui);box-shadow:none;cursor:pointer;white-space:nowrap}
#prototype :is(.hw-play,.hw-scroll,.hw-skip,.hw-360,.hw-orbit-btn,.hw-orbit-exit):hover{background:var(--color-dark-hover)}
#prototype .hw-scroll[aria-pressed=true],#prototype .hw-360[aria-pressed=true]{background:var(--hw-accent);color:var(--hw-bg);border-color:var(--hw-accent)}
#prototype .hw-skip-short{display:none}
#prototype .hw-play svg{display:block;width:14px;height:14px}
#prototype .hw-360[hidden]{display:none}
#prototype .hw-view{position:absolute;inset:48px 0 0;height:auto;aspect-ratio:auto;min-height:0;touch-action:pan-y;background:#060607}
#prototype .hw-hud .hw-chapter>*{opacity:1!important}
#prototype .hw-title{font-family:var(--font-editorial);font-weight:600;color:var(--hw-ink)}
#prototype .hw-eyebrow{font-family:var(--font-ui);color:var(--hw-accent)}
#prototype .hw-plate{background:var(--hw-ink);box-shadow:none}
#prototype .hw-caption,#prototype .hw-line--ink{color:var(--color-ink)}
#prototype .hw-line--gold{color:var(--color-accent-ink)}
#prototype .hw-cta{background:var(--hw-ink);color:var(--color-ink);font-family:var(--font-ui);border-radius:var(--radius-control);min-height:44px}
#prototype .hw-status{color:var(--hw-muted);background:var(--hw-bg);font-family:var(--font-ui)}
#prototype .hw-status[hidden]{display:none}
#prototype .hw-rail{position:absolute;right:18px;top:50%;transform:translateY(-46%);display:grid;gap:2px;padding:0}
#prototype .hw-rail-btn{min-height:44px;min-width:44px;font:400 var(--text-xs)/1.3 var(--font-ui);color:var(--hw-muted);border-radius:var(--radius-control);text-shadow:none}
#prototype .hw-rail-btn.is-on{color:var(--hw-accent)}
#prototype .hw-rail-btn:hover,#prototype .hw-rail-btn:focus-visible{background:var(--hw-bg)}
#prototype .hw-scrub{display:block}
#prototype .hw-label-card{padding-right:56px;font-family:var(--font-ui);background:var(--hw-bg);box-shadow:none}
#prototype .hw-label-x{min-width:44px;min-height:44px;top:4px;right:4px}
#prototype .hw-orbit-ui{background:var(--hw-bg);font-family:var(--font-ui);max-width:calc(100% - 24px);flex-wrap:wrap;white-space:normal}
#prototype .hw-orbit-ui[hidden]{display:none}
#prototype .hw-stage.is-orbit .hw-hud{opacity:0;pointer-events:none}
#prototype .hw-orbit-btn{min-width:44px;padding:8px}
#prototype .hw-stage:has(canvas:focus-visible){outline:var(--focus-width) solid var(--hw-accent);outline-offset:var(--focus-offset)}
html:not(.js) #prototype .hw-mode-heading,html:not(.js) #prototype .hw-play,html:not(.js) #prototype .hw-scroll{display:none}
html:not(.js) #prototype .hw-track{height:auto}
html:not(.js) #prototype .hw-stage{position:relative;top:0;height:auto;min-height:0}
html:not(.js) #prototype .hw-view{position:relative;inset:auto;aspect-ratio:16/9;margin-top:48px}
@media(max-width:800px){
 #prototype.hw-experience{padding-top:40px}
 #prototype .hw-track{height:980svh}
 #prototype .hw-stage{--stage-top:max(72px,var(--nav-height));height:calc(100svh - var(--stage-top) - 12px);width:calc(100% - 24px);min-height:520px;border-width:8px;border-radius:16px}
 #prototype .hw-bar{padding:0 8px;gap:6px}
 #prototype .hw-clock{display:none}
 #prototype .hw-skip-label{display:none}
 #prototype .hw-skip-short{display:inline}
 #prototype .hw-skip{margin-left:auto;font-size:.75rem;padding:8px}
 #prototype .hw-rail{display:none}
 #prototype .hw-360{margin:0;padding:8px;min-width:44px}
 #prototype .hw-360 span{display:none}
 #prototype :is(.hw-play,.hw-scroll){padding:8px;font-size:.75rem}
 #prototype .hw-orbit-ui{top:auto;bottom:12px;padding:6px}
 #prototype .hw-orbit-hint{display:none}
}
@media(max-height:680px){#prototype .hw-stage{min-height:0}#prototype .hw-rail{display:none}}
@media(prefers-reduced-motion:reduce){#prototype :is(button,input,a){transition:none}}
@media print{#prototype .hw-stage,#prototype .hw-mode-heading{display:none}}


/* media-controls.css */
/* Playback controls remain readable against either frame of the films. */
.hero-film-control{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-top:24px;padding:10px 16px;border:2px solid var(--color-on-dark-muted);border-radius:var(--radius-control);background:var(--color-dark-raised);color:var(--color-on-dark);font:500 var(--text-sm)/1.4 var(--font-ui);cursor:pointer}
.hero-film-control:hover{background:var(--color-dark-hover);border-color:var(--color-accent)}


/* founder-helmet.css */
/* The founder biography is the last reading position of the planet. */
.planet-content #team[data-planet-finale] {
  min-height: calc(100svh - var(--nav-height) - var(--space-12));
}

.founder-scene {
  --scene-height: calc(100svh - var(--nav-height));
  --scene-paper: #edeee9;
  position: relative;
  isolation: isolate;
  min-height: max(18rem, var(--scene-height));
  overflow: clip;
  color: var(--color-ink);
  background:
    repeating-radial-gradient(ellipse at 110% 6%, transparent 0 5.9rem, #23342a0b 6rem 6.06rem, transparent 6.12rem 7.7rem),
    radial-gradient(ellipse at 52% 34%, #fafaf6 4%, transparent 59%),
    var(--scene-paper);
}

.founder-scene-title {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  top: 28%;
  pointer-events: none;
}

.founder-scene-title h2 {
  margin: 0;
  font: 650 clamp(3rem, 6.5vw, 7.25rem)/.88 var(--font-editorial);
  letter-spacing: -.01em;
}

.founder-scene-art {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  width: min(76vw, calc(var(--scene-height) * 1.25), 86rem);
  aspect-ratio: 1280 / 1000;
  margin: 0;
  transform: translateX(-50%);
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.founder-scene-art[data-interactive] { cursor: grab; }
.founder-scene-art[data-dragging] { cursor: grabbing; }

.founder-scene-art :is(img, canvas) {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.founder-scene-art .founder-helmet-still {
  left: 18.75%;
  width: 62.5%;
  /* This layer is only shown if the browser cannot use the 3D scene. */
  clip-path: inset(0 var(--helmet-clip, 100%) 0 0);
  visibility: hidden;
}

.founder-scene-art[data-renderer="still"] .founder-helmet-still { visibility: visible; }

/* Keyboard activation uses the portrait itself, with a focus ring over the art. */
.founder-helmet-toggle {
  position: absolute;
  inset: 12% 30%;
  border: 0;
  padding: 0;
  background: none;
  pointer-events: none;
}

.founder-after {
  --bg: var(--color-dark);
  --ink: var(--color-on-dark);
  --text: var(--color-on-dark-muted);
  --muted: var(--color-on-dark-muted);
  --gold: var(--color-accent);
  --gold-light: var(--color-accent);
  --line: var(--color-rule-dark);
  --line-strong: var(--color-rule-dark);
  --focus-color: var(--color-accent);
  --focus-halo: var(--color-dark);
  background: var(--color-dark);
  padding-inline: var(--gutter);
}

@media (max-width: 900px) and (orientation: portrait) {
  .founder-scene-title { top: 6%; }
  .founder-scene-title h2 { font-size: min(16vw, clamp(3rem, 9vw, 5.625rem)); }
  .founder-scene-art {
    width: min(184vw, calc(var(--scene-height) * 1.04), 57rem);
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .founder-scene-title { top: 22%; }
  .founder-scene-title h2 { font-size: clamp(2.45rem, 6vw, 4rem); }
}

@media (max-width: 640px) {
  .planet-content #team[data-planet-finale] { min-height: calc(100svh - var(--nav-height) - 8rem); }
  .founder-after > #faq { scroll-margin-top: var(--space-4); }
}
