/* POV Labs — design system, rev E
   Carbon by default, an orange light that rises from the bottom of each
   hero. Editorial flow: hairlines and type, few boxes. Blue only on the
   measured point in the logo; one orange highlight per screen. */

:root {
  --bg: #0A0B0D;
  --bg-2: #101216;
  --surface: rgba(232, 231, 225, 0.025);
  --surface-2: rgba(232, 231, 225, 0.045);
  --surface-solid: #121418;
  --grid: rgba(232, 231, 225, 0.055);
  --line: rgba(232, 231, 225, 0.09);
  --line-2: rgba(232, 231, 225, 0.18);
  --ink: #E8E7E1;
  --graphite: #8C8F94;
  --dim: #5C6066;
  --accent: #E8E7E1;
  --brand-blue: #6E8BFF;
  --glow: 255, 90, 31;
  --draw: #FF5A1F;
  --hl: 207, 90, 34;
  --butter: #CF5A22;
  --on-butter: #0C0A07;
  --btn-bg: #3B5BF5;
  --btn-fg: #FFFFFF;
  --btn-glow: 59, 91, 245;
  --grain: 0.06;
  --planet: #14120D;

  /* kept for figure code */
  --paper: var(--bg);
  --rule: var(--line-2);
  --rule-soft: var(--line);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1320px;
  --h2: clamp(34px, 4.6vw, 68px);
  color-scheme: dark;
}

/* accent option: plotter blue light instead of orange (orange stays the flat highlight) */
:root[data-accent="blue"] { --glow: 110, 139, 255; --draw: #8CA3FF; --planet: #0F1218; }

:root[data-theme="light"] {
  --bg: #F1F1EC;
  --bg-2: #E9EAE3;
  --surface: rgba(22, 24, 27, 0.02);
  --surface-2: rgba(22, 24, 27, 0.04);
  --surface-solid: #F7F7F3;
  --grid: rgba(22, 24, 27, 0.06);
  --line: rgba(22, 24, 27, 0.1);
  --line-2: rgba(22, 24, 27, 0.2);
  --ink: #16181B;
  --graphite: #5C6066;
  --dim: #8C8F94;
  --accent: #16181B;
  --brand-blue: #2346D8;
  --glow: 255, 90, 31;
  --draw: #CF5A22;
  --btn-bg: #2346D8;
  --btn-fg: #FFFFFF;
  --btn-glow: 35, 70, 216;
  --grain: 0.05;
  --planet: #F6E6DA;
  color-scheme: light;
}

:root[data-accent="blue"][data-theme="light"] { --glow: 35, 70, 216; --draw: #2346D8; --planet: #E4E7F2; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, footer { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
::selection { background: rgba(var(--glow), 0.45); color: var(--ink); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dim { color: var(--graphite); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link-accent { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(var(--glow), .5); }
.link-accent:hover { border-bottom-color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--btn-bg); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s cubic-bezier(.3,.9,.1,1), box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(var(--btn-glow), .2), 0 10px 40px -10px rgba(var(--btn-glow), .8); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn .arr { font-family: var(--mono); font-size: 13px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }

/* ---------- small labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--glow), .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--glow), .6); } 70% { box-shadow: 0 0 0 10px rgba(var(--glow), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--glow), 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.doc-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-bottom: 14px; margin-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
}
.doc-head b { color: var(--ink); font-weight: 500; }
.doc-head .sep { margin: 0 10px; opacity: .5; }
.doc-head .idx { color: var(--accent); }

.h2 { font-size: var(--h2); max-width: 16ch; letter-spacing: -0.045em; line-height: .98; }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--graphite); max-width: 52ch; letter-spacing: -0.012em; }

.section { position: relative; padding: clamp(56px, 7vw, 104px) 0; }

/* ---------- header (floating navbar, themed) ---------- */
.fnb_wrap {
  --fnb-bar-h: 84px;
  --fnb-margin: var(--gutter);
  --fnb-fg: var(--ink);
  --fnb-ink: var(--bg);
  --fnb-ring: var(--accent);
  z-index: 150;
  font-family: var(--sans);
}
.fnb_bg { background-color: var(--surface-solid); box-shadow: inset 0 0 0 1px var(--line-2); }
:root[data-theme="light"] .fnb_bg { background-color: #fff; }
.fnb_logo { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.fnb_logo .brand-mark { width: 24px; height: 24px; flex: none; }
.fnb_link { font-size: 14px; opacity: .7; }
.fnb_link[aria-current="page"] { opacity: 1; }
.fnb_cta.nav-actions { display: inline-flex; align-items: center; gap: 6px; padding: 0; height: 38px; }
.fnb_cta.nav-actions::before { display: none; }
.theme-btn {
  width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s ease;
}
.theme-btn:hover { box-shadow: inset 0 0 0 1px var(--graphite); }
.theme-btn:focus-visible, .nav-contact:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.theme-btn svg { width: 18px; height: 18px; }
.nav-contact {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  transition: opacity .2s ease;
}
.nav-contact:hover { opacity: .85; }
.nav-contact { white-space: nowrap; }
@media (max-width: 480px) { .nav-contact { padding: 0 14px; font-size: 13.5px; } .brand-wordmark { width: 76px; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  padding: clamp(112px, 15vh, 160px) 0 calc(20vh + 24px);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.points { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { display: block; }
.hero-title { font-size: clamp(48px, 9.4vw, 164px); letter-spacing: -0.06em; line-height: .9; margin: 0 0 clamp(32px, 5vw, 56px); }
.hero-title .dim { color: var(--dim); }
.hero-title .line-mask { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.hero .lede { margin-bottom: 36px; }
.js .hero-title, .js .hero-fade, .js [data-intro-split] { opacity: 0; }
.request-inline {
  display: flex; align-items: center; gap: 6px; max-width: 580px;
  padding: 6px 6px 6px 20px; border-radius: 999px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .25s ease;
}
.request-inline:focus-within { box-shadow: inset 0 0 0 1px rgba(var(--glow), .8), 0 0 0 4px rgba(var(--glow), .15); }
.request-inline input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--ink); font: 400 16px/1 var(--sans); }
.request-inline input::placeholder { color: var(--graphite); }
.request-inline input:focus { outline: none; }
.hero-links { display: flex; gap: 24px; margin-top: 18px; padding-left: 20px; font: 500 14px/1 var(--sans); }
.hero-links a { text-decoration: none; color: var(--graphite); }
.hero-links a:hover { color: var(--ink); }
@media (max-width: 520px) {
  .request-inline { flex-direction: column; align-items: stretch; border-radius: 18px; padding: 6px; }
  .request-inline input { padding: 0 14px; }
  .request-inline .btn { width: 100%; }
}

/* ---------- the rise: light comes up from the bottom on load ---------- */
.rise { position: absolute; inset: 0; z-index: -1; pointer-events: none; animation: rise 2.2s cubic-bezier(.16, 1, .3, 1) .1s both; }
.rise::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90%;
  background: linear-gradient(to top, rgba(var(--glow), .38) 0%, rgba(var(--glow), .15) 28%, rgba(var(--glow), .05) 55%, transparent 100%);
}
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

/* ---------- the horizon (gradient reveal between sections) ---------- */
.horizon {
  position: absolute; left: 50%; top: 100%; z-index: -1;
  width: max(240vw, 2400px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -20vh);
  background: radial-gradient(closest-side, var(--planet) 97%, rgba(var(--glow), .35) 99.4%, rgba(var(--glow), .0) 100%);
  box-shadow:
    0 0 0 1px rgba(var(--glow), .85),
    0 -1px 18px 1px rgba(var(--glow), .9),
    0 -30px 120px 10px rgba(var(--glow), .45),
    0 -120px 320px 60px rgba(var(--glow), .18),
    inset 0 40px 120px -20px rgba(var(--glow), .45);
  pointer-events: none;
  will-change: transform;
}
.horizon-haze { position: absolute; inset: auto 0 0 0; height: 50vh; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(var(--glow), .22), transparent 70%); }
.after-horizon { background: linear-gradient(180deg, var(--planet) 0, var(--bg) 520px); padding-top: clamp(40px, 5vw, 80px); }
.horizon-top { position: relative; isolation: isolate; overflow: hidden; }
.horizon-top .horizon { top: 0; transform: translate(-50%, 0); }
.horizon-clip { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 260px); mask-image: linear-gradient(180deg, transparent 0, #000 260px); }
.horizon-clip .horizon { z-index: 0; }
.horizon-clip .horizon-haze { z-index: 0; }
.horizon-top .horizon-haze { inset: 0 0 auto 0; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(var(--glow), .18), transparent 70%); }

/* ---------- shared editorial pieces ---------- */
.kicker { font: 500 13px/1.4 var(--mono); color: var(--graphite); margin-bottom: 28px; }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 32px 64px; flex-wrap: wrap; }
.hero-foot .lede { margin: 0; max-width: 46ch; }
.hero-foot .request-wrap { flex: 1 1 420px; max-width: 580px; }
.hero { min-height: 92svh; display: flex; align-items: center; }
.hero > .wrap { position: relative; z-index: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 0; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--planet)); }
.hl { background: linear-gradient(transparent 12%, rgba(var(--hl), .95) 12%, rgba(var(--hl), .95) 92%, transparent 92%); color: #16181B; padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* brand lockup */
.fnb_logo { gap: 12px; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { display: inline-flex; overflow: hidden; transition: opacity .2s ease; }
.brand-wordmark { width: 120px; height: auto; }
/* the letters P, O, V (first three shapes of the wordmark) take the highlight orange */
.brand-wordmark g > :nth-child(1), .brand-wordmark g > :nth-child(2) { stroke: var(--butter); }
.brand-wordmark g > :nth-child(3) { fill: var(--butter); }
.fnb_wrap.is-measuring .brand-word, .fnb_wrap.is-docked .brand-word { display: none; }
.footer-brand { gap: 12px; color: var(--ink); }
.footer-brand .brand-wordmark { width: 109px; }

/* statement */
.statement { padding-block: clamp(48px, 6vw, 88px); }
.manifesto { font-size: clamp(32px, 4.6vw, 72px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 500; max-width: 22ch; text-wrap: balance; }
.manifesto .soft { color: var(--graphite); }

/* shared display type */
.display { font-size: clamp(36px, 5vw, 80px); letter-spacing: -0.055em; line-height: .96; max-width: 14ch; text-wrap: balance; }
.display-s { font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -0.045em; line-height: 1; }
.prod-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.prod-head .lede { max-width: 40ch; }
@media (max-width: 860px) { .prod-head { grid-template-columns: 1fr; } }
.note { font: 400 12.5px/1.6 var(--mono); color: var(--dim); }

/* production: hand-off and return */
.production { padding-bottom: clamp(24px, 4vw, 48px); }
.handoff { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); padding-top: 24px; border-top: 1px solid var(--line-2); }
.handoff-label { font: 500 13px/1.4 var(--mono); color: var(--graphite); }
.handoff-big { font-size: clamp(32px, 4vw, 60px); letter-spacing: -0.05em; line-height: 1; margin-bottom: 28px; }
.tasklist { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: t; max-width: 640px; }
.tasklist li { counter-increment: t; display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -0.015em; }
.tasklist li::before { content: counter(t, decimal-leading-zero); font: 400 12px/1.9 var(--mono); color: var(--dim); }
.getback { padding-top: clamp(24px, 4vw, 48px); }
.returns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.returns b { display: block; font-size: clamp(28px, 3vw, 46px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin-bottom: 14px; }
.returns span { color: var(--graphite); display: block; max-width: 30ch; }
@media (max-width: 860px) { .handoff { grid-template-columns: 1fr; } .returns { grid-template-columns: 1fr; } }

/* request builder */
.builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.build-form { border-top: 1px solid var(--line-2); }
.bf { margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.bf legend, .bf-text > span { float: left; width: 100%; font: 500 13px/1.4 var(--mono); color: var(--graphite); margin-bottom: 14px; padding: 0; }
.bf .seg { clear: both; }
.bf-text > span.visually-hidden { float: none; width: 1px; margin: 0; }
.bf-text { display: block; min-width: 0; }
.bf-text i { font-style: normal; color: var(--dim); }
.bf textarea, .bf input:not([type="radio"]) { clear: both; display: block; width: 100%; margin-top: 14px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 400 17px/1.45 var(--sans); resize: vertical; }
.bf-text > span + input, .bf-text > span + textarea { margin-top: 0; }
.bf textarea:focus, .bf input:focus { outline: none; border-bottom-color: var(--ink); }
.bf textarea::placeholder, .bf input::placeholder { color: var(--dim); }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scope { position: sticky; top: 110px; padding: 28px; border-radius: 6px; background: var(--surface-solid); box-shadow: inset 0 0 0 1px var(--line-2); }
.scope-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); font: 500 12px/1.4 var(--mono); color: var(--graphite); }
.scope-head span:last-child { color: var(--ink); text-align: right; }
.scope-list { margin: 0; }
.scope-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.scope-list dt { font: 400 12px/1.6 var(--mono); color: var(--graphite); }
.scope-list dd { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.scope-list dd.tbd { color: var(--dim); }
.scope-next { margin-top: 18px; color: var(--graphite); font-size: 14px; }
.scope-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.scope .form-status { padding: 14px 0 0; border: 0; color: var(--ink); }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } .scope { position: static; } }
@media (max-width: 560px) { .bf-row { grid-template-columns: 1fr; } .scope-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* example pilot scope: a sheet of paper */
.template-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.template-aside { display: grid; gap: 24px; position: sticky; top: 120px; }
.paper { background: #F7F6F0; color: #16181B; border-radius: 4px; padding: clamp(24px, 4vw, 56px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -40px rgba(0,0,0,.6); }
:root[data-theme="light"] .paper { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -50px rgba(22,24,27,.35); }
.paper-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid #16181B; font: 500 13px/1.4 var(--mono); }
.stamp-ex { background: #CF5A22; color: #0C0A07; padding: 6px 12px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.paper-list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.paper-list li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 190px) 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #D9DAD2; font-size: 15px; }
.paper-list li::before { content: counter(s); font: 400 12px/1.7 var(--mono); color: #8C8F94; }
.paper-list b { font-weight: 600; }
.paper-list span { color: #5C6066; }
.paper-foot { margin-top: 18px; font: 400 12px/1.5 var(--mono); color: #5C6066; }
@media (max-width: 900px) { .template-grid { grid-template-columns: 1fr; } .template-aside { position: static; } }
@media (max-width: 560px) { .paper-list li { grid-template-columns: 28px 1fr; } .paper-list span { grid-column: 2; } }

/* sample episode placeholder */
.sample { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.sample-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border: 1px dashed var(--line-2); border-radius: 4px; }
.sample-frame span { position: absolute; width: 18px; height: 18px; border-color: var(--graphite); border-style: solid; border-width: 0; }
.sample-frame span:nth-child(1) { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.sample-frame span:nth-child(2) { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.sample-frame span:nth-child(3) { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.sample-frame span:nth-child(4) { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.sample-copy { display: grid; gap: 18px; }
.sample-copy p:not(.kicker) { color: var(--graphite); max-width: 36ch; }
@media (max-width: 820px) { .sample { grid-template-columns: 1fr; } }

/* sources, by type */
.sources { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.sources li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 32px; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sources b { font-size: clamp(26px, 3vw, 46px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; }
.sources span { color: var(--graphite); font-size: 17px; max-width: 46ch; }
@media (max-width: 700px) { .sources li { grid-template-columns: 1fr; } }
.lines-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: clamp(40px, 6vw, 72px); }
.lines-links a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--line-2); text-decoration: none; }
.lines-links span { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.lines-links small { grid-column: 1; color: var(--graphite); font-size: 14px; }
.lines-links i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-family: var(--mono); transition: transform .25s ease; }
.lines-links a:hover i { transform: translateX(5px); }
@media (max-width: 700px) { .lines-links { grid-template-columns: 1fr; } }

/* founders */
.founders-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.people { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.people li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -0.015em; }
.people b { font-weight: 500; }
.people span { color: var(--graphite); }
@media (max-width: 820px) { .founders-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .people li { grid-template-columns: 1fr; gap: 4px; } }

/* suppliers: the one flat orange band */
.supply { background: #CF5A22; color: #0C0A07; padding: clamp(56px, 7vw, 104px) 0; --line: rgba(12, 10, 7, .2); --line-2: rgba(12, 10, 7, .36); --graphite: #150E08; --dim: #4A2A17; --ink: #0C0A07; --bg: #CF5A22; --btn-bg: #2346D8; --btn-fg: #FFFFFF; --btn-glow: 35, 70, 216; --accent: #16181B; --glow: 22, 24, 27; color-scheme: light; }
.supply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.supply h2 { font-size: clamp(36px, 4.6vw, 72px); letter-spacing: -0.055em; line-height: .95; max-width: 12ch; }
.supply .lede { color: #150E08; margin-top: 24px; }
.supply ul { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.supply li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.supply li b { font-weight: 500; }
.supply li span { color: #150E08; }
.supply .form { background: rgba(255, 255, 255, .35); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.supply .field:focus-within { background: rgba(255, 255, 255, .4); }
.supply .form-status { color: #16181B; }
@media (max-width: 900px) { .supply-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .supply li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- chips ---------- */
.chip { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
/* ---------- value ---------- */
.value-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; margin-bottom: 64px; }
.status { display: inline-flex; align-items: center; gap: 6px; font: 500 10px/1 var(--mono); letter-spacing: .1em; padding: 6px 9px; border-radius: 999px; background: rgba(207,90,34,.14); color: var(--butter); box-shadow: inset 0 0 0 1px rgba(207,90,34,.45); }
:root[data-theme="light"] .status { background: var(--butter); color: var(--on-butter); box-shadow: none; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
@media (max-width: 860px) { .value-intro { grid-template-columns: 1fr; } }

/* ---------- process rail (themed) ---------- */
.prl_wrap { position: relative; width: 100%; height: var(--prl-track, auto); color: var(--ink); --prl-gutter: clamp(12px, 1.4vw, 24px); }
.prl_stage { position: sticky; top: 0; display: grid; align-content: center; width: 100%; min-height: 100svh; padding: 96px 0 40px; }
.prl_head { margin-bottom: clamp(28px, 5vh, 56px); padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.prl_rail { position: relative; width: 100%; }
.prl_svg { display: block; width: 100%; height: 24px; overflow: visible; }
.prl_svg_mobile { display: none; }
.prl_path, .prl_path_ghost { fill: none; stroke-width: 1.25; stroke-linecap: round; }
.prl_path { stroke: rgb(var(--glow)); filter: drop-shadow(0 0 6px rgba(var(--glow), .7)); }
.prl_path_ghost { stroke: var(--line-2); stroke-dasharray: 2 6; }
.prl_bead { position: absolute; top: 0; left: 0; z-index: 2; width: var(--prl-bead, 10px); height: var(--prl-bead, 10px); border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(var(--glow), .35), 0 0 24px 4px rgba(var(--glow), .9); pointer-events: none; will-change: transform; }
.prl_steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; column-gap: var(--prl-gutter); margin: 36px 0 0; padding: 0; list-style: none; }
.prl_step { position: relative; min-width: 0; }
.prl_step_btn { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.prl_step_num { display: block; height: 1em; font: 500 12px/1 var(--mono); color: var(--graphite); font-variant-numeric: tabular-nums; }
.prl_col { position: relative; display: inline-block; overflow: clip; width: 0.62em; height: 1em; line-height: 1; vertical-align: baseline; }
.prl_col::before { content: "0"; visibility: hidden; }
.prl_strip { position: absolute; top: 0; left: 0; width: 100%; will-change: transform; }
.prl_glyph { display: block; height: 1em; line-height: 1; text-align: center; }
.prl_step_title { display: block; margin-top: 14px; font-size: clamp(19px, 1.6vw, 26px); font-weight: 500; letter-spacing: -0.035em; }
.prl_step_text { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--graphite); max-width: 22ch; }
.prl_step_media { display: block; width: 100%; margin-top: 22px; aspect-ratio: 4 / 3; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); transform-origin: 50% 0; overflow: hidden; }
.prl_step_media svg { width: 100%; height: 100%; }
@media (max-width: 767px) {
  .prl_stage { position: relative; min-height: 0; padding: 40px 0; }
  .prl_rail { padding-left: 56px; }
  .prl_svg_desktop { display: none; }
  .prl_svg_mobile { display: block; position: absolute; top: 0; left: 0; width: 56px; height: 100%; }
  .prl_steps { grid-auto-flow: row; grid-auto-rows: 1fr; row-gap: 44px; margin-top: 0; }
  .prl_head { flex-direction: column; align-items: start; }
}

/* ---------- contact ---------- */
.contact { padding-top: clamp(180px, 22vw, 300px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-grid .h2 { max-width: 13ch; }
.contact-aside { display: grid; gap: 24px; }
.form { border-radius: 20px; overflow: hidden; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -50px rgba(var(--glow), .6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; }
.form-row + .form-row, .field-full { border-top: 1px solid var(--line); }
.field { display: block; padding: 14px 18px 16px; min-width: 0; transition: background-color .2s ease; }
.field + .field { border-left: 1px solid var(--line); }
.field > span, .field legend { display: flex; justify-content: space-between; font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); margin-bottom: 8px; padding: 0; }
.field > span i { font-style: normal; color: var(--dim); }
.field input, .field textarea { display: block; width: 100%; padding: 2px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 400 16px/1.45 var(--sans); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; }
.field:focus-within { background: rgba(var(--glow), .06); }
.field:focus-within > span, .field:focus-within legend { color: var(--accent); }
fieldset.field { margin: 0; border: 0; border-top: 1px solid var(--line); }
fieldset.field legend { float: left; width: 100%; }
fieldset.field .seg { clear: both; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 13px/1 var(--sans); color: var(--graphite); transition: all .15s ease; }
.seg label:hover span { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg input:checked + span { background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; }
.seg input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 14px 14px 18px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.form-foot small { font: 400 11px/1.4 var(--mono); color: var(--graphite); max-width: 42ch; }
.form-status { padding: 14px 18px; border-top: 1px solid var(--line); font: 500 12px/1.5 var(--mono); color: var(--accent); display: none; }
.form-status.show { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .field + .field { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- footer ---------- */
.footer { padding: 40px 0 28px; border-top: 1px solid var(--line); background: var(--planet); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--mono); letter-spacing: .06em; }
.footer-brand .brand-mark { width: 29px; height: 29px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--graphite); }
.footer .fine { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 11px/1.5 var(--mono); color: var(--dim); letter-spacing: .04em; }

/* ---------- sub pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(140px, 20vh, 200px) 0 calc(18vh + 48px); }
.page-hero h1 { font-size: clamp(42px, 6vw, 96px); letter-spacing: -0.055em; line-height: .95; max-width: 15ch; margin: 24px 0 26px; }
.page-hero .horizon { transform: translate(-50%, -18vh); }
.crumbs { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.page-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }

.spec { border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.spec-head, .spec-row { display: grid; grid-template-columns: 64px 210px 1fr; }
.spec-head { border-bottom: 1px solid var(--line-2); font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.spec-head > * { padding: 14px 0; } .spec-head > :first-child { padding-left: 20px; }
.spec-row { border-bottom: 1px solid var(--line); transition: background-color .2s ease; }
.spec-row:hover { background: rgba(var(--glow), .04); }
.spec-row:last-child { border-bottom: 0; }
.spec-row > * { padding: 22px 0; }
.spec-row .n { padding-left: 20px; font: 500 11px/1.6 var(--mono); color: var(--accent); }
.spec-row .k { font: 500 14px/1.6 var(--sans); letter-spacing: -0.01em; }
.spec-row .v { padding-right: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.spec-row .v p { width: 100%; color: var(--graphite); font-size: 15px; margin-top: 8px; }
@media (max-width: 640px) {
  .spec-row, .spec-head { grid-template-columns: 44px 1fr; }
  .spec-row .v { grid-column: 2; padding-top: 0; }
  .spec-row .k { padding-bottom: 10px; }
  .spec-head > :last-child { display: none; }
}

.env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.env { margin: 0; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s ease; }
.env:hover { box-shadow: inset 0 0 0 1px rgba(var(--glow), .5); }
.env .fig { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); background: var(--bg); }
.env .fig svg { width: 100%; height: 100%; }
.env .cap { padding: 16px 18px 20px; display: grid; gap: 6px; }
.env .cap b { font-weight: 500; font-size: 18px; letter-spacing: -0.03em; }
.env .cap span { font: 400 12px/1.4 var(--mono); color: var(--graphite); }
@media (max-width: 900px) { .env-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .env-grid { grid-template-columns: 1fr; } }

.cta-band { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-radius: 20px; padding: clamp(28px, 4vw, 56px); background: radial-gradient(800px 300px at 50% 120%, rgba(var(--glow), .35), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.cta-band h2 { font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.045em; max-width: 20ch; }

.offline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offline-col { padding: clamp(22px, 2.4vw, 32px); border-radius: 18px; background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); }
.offline-col h3 { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.offline-col ul { list-style: none; margin: 0; padding: 0; }
.offline-col li { padding: 16px 0; border-top: 1px solid var(--line); }
.offline-col li b { display: block; font-weight: 500; font-size: 18px; letter-spacing: -0.03em; margin-bottom: 4px; }
.offline-col li span { color: var(--graphite); font-size: 15px; }
@media (max-width: 860px) { .offline-grid { grid-template-columns: 1fr; } }

/* ---------- svg drawing primitives (figures) ---------- */
.d-ink { stroke: var(--ink); fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .85; }
.d-soft { stroke: var(--graphite); fill: none; stroke-width: .75; opacity: .6; vector-effect: non-scaling-stroke; }
.d-grid { stroke: var(--grid); fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.d-blue { stroke: var(--draw); fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.d-blue-dash { stroke: var(--draw); fill: none; stroke-width: 1.2; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.d-kp { fill: var(--bg); stroke: var(--draw); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.d-kp-fill { fill: var(--draw); }
.d-bone { stroke: var(--ink); stroke-width: 1.1; fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .9; }
.d-fill-ink { fill: var(--ink); opacity: .85; }
.d-fill-paper { fill: var(--surface-solid); }
.t-mono { font-family: var(--mono); font-size: 10px; fill: var(--graphite); letter-spacing: 0.02em; }
.t-mono-ink { font-family: var(--mono); font-size: 10px; fill: var(--ink); }
.t-blue { font-family: var(--mono); font-size: 10px; fill: var(--draw); }

/* ---------- annnimate: text reveal ---------- */
[data-anm-scroll-text-reveal] { visibility: hidden; }
[data-anm-scroll-text-reveal] .split-line { padding-bottom: 0.1em; margin-bottom: -0.1em; }
.anm-fallback [data-anm-scroll-text-reveal], .anm-fallback .hero-title, .anm-fallback .hero-fade, .anm-fallback [data-intro-split] { visibility: visible !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { [data-anm-scroll-text-reveal] { visibility: visible; } .js [data-intro-split], .js .hero-title, .js .hero-fade { opacity: 1; } }

/* ---------- annnimate: dual scramble ---------- */
[data-anm-dual-scramble] { position: relative; display: inline-block; white-space: nowrap; }
.dual_scramble_sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dual_scramble_spacer { visibility: hidden; white-space: nowrap; display: inline; pointer-events: none; user-select: none; }
.dual_scramble_layer { position: absolute; top: 0; left: 0; white-space: nowrap; display: inline; pointer-events: none; }
.dual-scramble-color-1 { color: var(--accent); text-shadow: 0 0 8px rgba(var(--glow), .8); }
.dual-scramble-color-2 { color: inherit; }

/* ---------- plotter drawings (rev F) ---------- */
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.study { margin: 0; max-width: 380px; justify-self: center; width: 100%; }
.study .fig svg { width: 100%; height: auto; overflow: visible; }
.draw-loop { stroke-dasharray: 3 4; animation: crawl 2.4s linear infinite; }
@keyframes crawl { to { stroke-dashoffset: -14; } }
.ring-pulse { transform-box: fill-box; transform-origin: center; animation: ringp 2.4s ease-out infinite; }
@keyframes ringp { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .draw-loop, .ring-pulse { animation: none; } }
@media (max-width: 760px) { .statement-grid { grid-template-columns: 1fr; } .study { max-width: 260px; } }

.pipeline { margin: 0 0 clamp(32px, 5vw, 64px); padding: clamp(16px, 3vw, 32px) 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.pipeline .fig svg { width: 100%; height: auto; overflow: visible; }
.pipe-v { display: none; max-width: 360px; }
@media (max-width: 700px) { .pipe-h { display: none; } .pipe-v { display: block; } }
.d-draw { fill: none; stroke: var(--draw); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pl-path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.5, 0, .2, 1); }
.js [data-draw]:not(.drawn) .pl-path { stroke-dashoffset: 1; }
.d-tick { stroke: var(--draw); stroke-width: 1; opacity: .55; vector-effect: non-scaling-stroke; }
.js [data-draw]:not(.drawn) .d-tick, .js [data-draw]:not(.drawn) .pl-node { opacity: 0; }
.d-tick, .pl-node { transition: opacity .6s ease 1.2s; }
.pl-node { fill: var(--bg); stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pl-label { font: 500 13px var(--mono); fill: var(--ink); }
.sources.compact b { font-size: clamp(20px, 2vw, 28px); }
.bf-inline { margin: 0; padding: 0; border: 0; min-width: 0; }
.bf-inline legend { float: left; width: 100%; font: 500 13px/1.4 var(--mono); color: var(--graphite); margin-bottom: 14px; padding: 0; }
.bf-inline .seg { clear: both; }

/* ---------- horizon language, carried through the page (rev H) ---------- */
/* the request builder: a second horizon rises into it, then fades back to carbon */
.builder-sec.horizon-top { padding-top: clamp(150px, 17vw, 240px); }
.builder-sec .horizon-clip {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 240px, #000 calc(100% - 320px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 240px, #000 calc(100% - 320px), transparent 100%);
}
.builder-sec .scope { background: color-mix(in srgb, var(--surface-solid) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* sample episode: a small horizon at the bottom of the empty frame */
.sample-frame { overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 70% 55% at 50% 110%, rgba(var(--glow), .22), transparent 70%); }
.sf-sky, .sf-arc { position: absolute; pointer-events: none; }
.sf-arc {
  left: 50%; top: 68%; z-index: -1; width: 220%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--planet) 97%, rgba(var(--glow), .35) 99.4%, rgba(var(--glow), 0) 100%);
  box-shadow: 0 0 0 1px rgba(var(--glow), .8), 0 -1px 14px 1px rgba(var(--glow), .8), 0 -24px 90px 6px rgba(var(--glow), .35), inset 0 30px 90px -20px rgba(var(--glow), .4);
}
.sf-sky { inset: 0; z-index: -2; background: linear-gradient(to top, rgba(var(--glow), .14), transparent 60%); }

/* the example scope sits on a soft light table */
.template-grid .paper { box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -40px rgba(0,0,0,.6), 0 0 160px -20px rgba(var(--glow), .28); }
:root[data-theme="light"] .template-grid .paper { box-shadow: 0 0 0 1px var(--line), 0 30px 80px -50px rgba(22,24,27,.35), 0 0 160px -20px rgba(var(--glow), .35); }

/* ---------- header: full bar at the top, a centred pill on scroll (rev I) ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 150; padding: 14px var(--gutter); pointer-events: none; }
.site-head .bar {
  pointer-events: auto; position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; padding: 6px 6px 6px 8px; border-radius: 999px;
  background: transparent; box-shadow: inset 0 0 0 1px transparent;
  transition: max-width .5s cubic-bezier(.3,.9,.1,1), background-color .35s ease, box-shadow .35s ease, gap .4s ease;
}
.site-head .logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; justify-self: start; }
.site-head .links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; justify-content: center; }
.nav-link { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); opacity: .72; transition: opacity .2s ease; }
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; }
.site-head .nav-actions { justify-self: end; display: inline-flex; align-items: center; gap: 6px; }
.site-head .brand-word { transition: opacity .25s ease, width .4s ease; width: 120px; }
.site-head.scrolled .bar {
  max-width: 820px; gap: 18px;
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 50px -24px rgba(0, 0, 0, .45);
}
.site-head.scrolled .brand-word { opacity: 0; width: 0; }
:root[data-theme="light"] .site-head.scrolled .bar { background: rgba(255, 255, 255, .78); }
@media (max-width: 860px) {
  .site-head .links { display: none; }
  .site-head .bar { grid-template-columns: 1fr auto; }
  .site-head.scrolled .bar { max-width: 420px; }
}
@media (max-width: 480px) { .site-head .brand-word { width: 76px; } .site-head .brand-mark { width: 26px; height: 26px; } .site-head .brand-wordmark { width: 76px; } }

/* the three returns sit centred under the drawing */
.returns li { text-align: center; }
.returns span { margin-inline: auto; }

/* ---------- signal modules: two rows of five looping plotter drawings ---------- */
.sig-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.sig { margin: 0; display: grid; gap: 12px; align-content: start; padding: 14px 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.sig-n { font: 500 11px/1 var(--mono); color: var(--dim); }
.sig svg { width: 100%; height: auto; overflow: visible; }
.sig figcaption b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.03em; margin-bottom: 4px; }
.sig figcaption span { display: block; font: 400 11px/1.5 var(--mono); color: var(--graphite); }
@media (max-width: 1000px) { .sig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sg-scan { animation: sg-scan 3.2s ease-in-out infinite alternate; }
@keyframes sg-scan { to { transform: translateY(96px); } }
.sg-depth { transform-box: fill-box; transform-origin: center; animation: sg-depth 3.6s ease-in-out infinite alternate; }
@keyframes sg-depth { to { transform: scale(.3); } }
.sg-slide { animation: sg-slide 3.4s ease-in-out infinite alternate; }
@keyframes sg-slide { to { transform: translateX(105px); } }
.sg-fill { fill: var(--draw); stroke: none; opacity: .08; animation: sg-fill 3s ease-in-out infinite alternate; }
.sg-fill.b { animation-direction: alternate-reverse; }
@keyframes sg-fill { to { opacity: .5; } }
.sg-press { animation: sg-press 1.8s ease-in-out infinite alternate; }
@keyframes sg-press { to { transform: translateY(13px); } }
.sg-arc { animation: sg-arc 2s ease-out infinite; }
@keyframes sg-arc { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.sg-accel { animation: sg-accel 2.6s cubic-bezier(.7, 0, 1, 1) infinite; }
@keyframes sg-accel { 0% { transform: none; opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(132px); opacity: 0; } }
.sg-pt { fill: var(--ink); animation: sg-twinkle 2.4s ease-in-out infinite; }
.sg-pt:nth-child(3n) { animation-delay: -.8s; }
.sg-pt:nth-child(3n+1) { animation-delay: -1.6s; }
.sg-pt.o { fill: var(--draw); }
@keyframes sg-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.sg-run { offset-rotate: 0deg; animation: sg-run 5s ease-in-out infinite alternate; }
.sg-run.auto { offset-rotate: auto; }
@keyframes sg-run { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .sig svg * { animation: none !important; } }

/* ---------- three ways in: boxes that fill with orange on hover ---------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 320px; padding: 24px; border-radius: 6px; text-decoration: none; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .25s ease; }
.way::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--butter); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.3, .9, .1, 1); }
.way:hover, .way:focus-visible { color: var(--on-butter); }
.way:hover::before, .way:focus-visible::before { transform: scaleY(1); }
.way-cat { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); transition: color .25s ease; }
.way h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.045em; line-height: 1; margin-top: 8px; }
.way p { color: var(--graphite); font-size: 15px; max-width: 34ch; transition: color .25s ease; }
.way:hover .way-cat, .way:hover p, .way:focus-visible .way-cat, .way:focus-visible p { color: var(--on-butter); }
.way-go { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; }
.way-go i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--mono); box-shadow: inset 0 0 0 1px currentColor; transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.way:hover .way-go i, .way:focus-visible .way-go i { background: var(--on-butter); color: var(--butter); transform: rotate(-45deg); }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } .way { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .way::before, .way-go i { transition: none; } }
/* five process steps: same boxes, no link, deliverables as tags at the bottom */
.ways.steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.steps .way { grid-column: span 2; }
.steps .way:nth-child(n+4) { grid-column: span 3; }
@media (min-width: 1240px) { .ways.steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } .steps .way, .steps .way:nth-child(n+4) { grid-column: auto; } }
@media (max-width: 700px) { .ways.steps { grid-template-columns: minmax(0, 1fr); } .steps .way, .steps .way:nth-child(n+4) { grid-column: auto; } }
.steps .way { min-height: 0; cursor: default; }
.steps .way h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.08; letter-spacing: -0.035em; }
.steps .way p { font-size: 14.5px; line-height: 1.5; }
.steps .way ul { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.steps .way li { font: 500 10.5px/1 var(--mono); letter-spacing: .04em; padding: 7px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; opacity: .75; }
/* with the script on: a canvas of pixels does the fill, the text follows a beat later, the arrow swaps */
.way-px { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.way.px-on::before { display: none; }
.way.px-on { transition: color .18s ease, box-shadow .2s ease; }
.way.px-on .way-cat, .way.px-on p { transition: color .18s ease; }
.way.px-on:hover, .way.px-on:focus-visible { box-shadow: inset 0 0 0 1px var(--butter); transition-delay: .2s, 0s; outline: none; }
.way.px-on:hover .way-cat, .way.px-on:hover p, .way.px-on:focus-visible .way-cat, .way.px-on:focus-visible p { transition-delay: .2s; }
.way.px-on .way-go i { overflow: hidden; }
.way.px-on .way-go i b { grid-area: 1 / 1; font-weight: 400; transition: transform .3s cubic-bezier(.3, .9, .1, 1); }
.way.px-on .way-go i b + b { transform: translate(-150%, 150%); }
.way.px-on:hover .way-go i, .way.px-on:focus-visible .way-go i { transform: none; transition-delay: .2s; }
.way.px-on:hover .way-go i b, .way.px-on:focus-visible .way-go i b { transform: translate(150%, -150%); }
.way.px-on:hover .way-go i b + b, .way.px-on:focus-visible .way-go i b + b { transform: none; transition-delay: .04s; }
@media (prefers-reduced-motion: reduce) { .way.px-on .way-go i b { transition: none; } }

/* ---------- home hero: orange pixels cascade in from the bottom right as you scroll ---------- */
.hero-px { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-pixels::after { display: none; }

/* ---------- records page: a row of four reason boxes ---------- */
.ways.steps.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.quad .way, .steps.quad .way:nth-child(n+4) { grid-column: auto; }
@media (max-width: 1000px) { .ways.steps.quad { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ways.steps.quad { grid-template-columns: minmax(0, 1fr); } }

/* ---------- records page: record types (two rows of four), their loops, and the questions ---------- */
.sig-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .sig-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rc-pop { animation: rc-pop 4s ease-out infinite backwards; }
@keyframes rc-pop { 0% { opacity: 0; transform: translateY(5px); } 10% { opacity: 1; transform: none; } 82% { opacity: 1; } 100% { opacity: 0; } }
.rc-bar { fill: var(--draw); }
.rc-lift { animation: rc-lift 2.8s ease-in-out infinite alternate; }
@keyframes rc-lift { from { transform: translateY(28px); } to { transform: none; } }
.rc-cell { animation: rc-cell 3.6s steps(1) infinite; }
@keyframes rc-cell { 0% { transform: none; } 20% { transform: translate(28px, 0); } 40% { transform: translate(28px, 23px); } 60% { transform: translate(56px, 23px); } 80% { transform: translate(56px, 46px); } 100% { transform: none; } }
.rc-sign { fill: none; stroke: var(--draw); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: rc-sign 3.6s ease-in-out infinite; }
@keyframes rc-sign { 0% { stroke-dashoffset: 1; opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rc-sign { stroke-dashoffset: 0; } }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 20px/1 var(--mono); color: var(--draw); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--graphite); max-width: 62ch; font-size: 17px; line-height: 1.55; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- capture rigs: an inset table ---------- */
.rigs-wrap { border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); overflow-x: auto; }
.rigs { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.rigs th { text-align: left; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.rigs td { padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--graphite); vertical-align: baseline; }
.rigs tbody { counter-reset: rig; }
.rigs tbody tr { counter-increment: rig; transition: background-color .2s ease; }
.rigs tbody tr:hover { background: rgba(var(--glow), .05); }
.rigs tbody tr:last-child td { border-bottom: 0; }
.rigs td:first-child { color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.rigs td:first-child::before { content: counter(rig, decimal-leading-zero); margin-right: 16px; font: 500 11px/1 var(--mono); letter-spacing: 0; color: var(--draw); }
.rigs td:nth-child(3) { font: 400 12.5px/1.6 var(--mono); color: var(--ink); }

/* ---------- sample viewer: a light panel with the clip and what it contains ---------- */
.viewer { display: grid; grid-template-columns: minmax(0, 1fr); background: #FBFAF7; color: #16181B; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .6); }
:root[data-theme="light"] .viewer { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -50px rgba(22, 24, 27, .35); }
.viewer-main { padding: clamp(16px, 2.4vw, 32px); min-width: 0; }
.viewer-main h2 { font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 10px; }
.viewer-sub { color: #5C6066; font-size: 16px; margin-bottom: 20px; }
.viewer-main video { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 602; background: #171717; }
/* caption, transport and tracks under the clip */
.tl { margin-top: 18px; }
.tl-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.tl-legend { list-style: none; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid #D9DAD2; display: grid; gap: 4px; font-size: 15px; }
.tl-legend li { display: grid; grid-template-columns: 12px 56px 1fr; align-items: baseline; gap: 6px; }
.tl-legend i, .tl-row i { width: 7px; height: 7px; display: inline-block; }
.tl-legend b { font-weight: 500; }
.tl-legend span { color: #6B6E73; }
.tl .c-l { background: #3F8FE8; }
.tl .c-r { background: #E5544B; }
.tl-bar { display: flex; align-items: center; gap: 22px; margin-bottom: 10px; font-size: 14px; color: #6B6E73; font-variant-numeric: tabular-nums; }
.tl-bar button { border: 0; background: none; padding: 4px 8px; margin: 0; font: inherit; color: #6B6E73; cursor: pointer; border-radius: 2px; }
.tl-bar button[data-clip-play] { padding-left: 0; min-width: 52px; text-align: left; }
.tl-bar button:hover { color: #16181B; }
.tl-rates { margin-left: auto; display: inline-flex; gap: 4px; font-family: var(--mono); font-size: 12px; }
.tl-rates button.on { background: #EFEEE8; color: #16181B; }
.tl-grid { position: relative; display: grid; gap: 8px; }
.tl-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; font-size: 14px; color: #6B6E73; }
.tl-row > span { display: inline-flex; align-items: center; gap: 8px; }
.tl-track { position: relative; height: 16px; }
.tl-track.wave { height: 44px; background: #F1F0EA; }
.tl-track.wave svg { display: block; width: 100%; height: 100%; }
.tl-seg { position: absolute; top: 0; bottom: 0; }
.tl-hit { position: absolute; top: -4px; bottom: -4px; left: 76px; right: 0; cursor: pointer; touch-action: none; }
.tl-head { position: absolute; top: 0; bottom: 0; width: 1.5px; margin-left: -.75px; background: #16181B; pointer-events: none; }
.tl-note { margin-top: 12px; font: 400 11px/1.5 var(--mono); color: #8C8F94; }
@media (max-width: 560px) { .tl-row { grid-template-columns: 56px minmax(0, 1fr); } .tl-hit { left: 56px; } .tl-bar { gap: 12px; } }
.viewer-cap { display: grid; gap: 4px; margin-top: 14px; font-size: 14px; }
.viewer-cap b { font-weight: 600; }
.viewer-cap span { color: #5C6066; }
.viewer-side { display: flex; flex-direction: column; padding: clamp(16px, 2vw, 28px); border-left: 1px solid #D9DAD2; }
.viewer-h { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8C8F94; margin: 0 0 10px; }
.viewer-side ul { list-style: none; margin: 0 0 26px; padding: 0; }
.viewer-side li { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid #E4E4DC; font-size: 14px; }
.viewer-side li b { font-weight: 500; }
.viewer-side li span { font: 400 12px/1.5 var(--mono); color: #5C6066; }
.viewer-side .btn { margin-top: auto; width: 100%; border-radius: 2px; background: #16181B; border-color: #16181B; color: #fff; }
.viewer-side .btn:hover { box-shadow: none; opacity: .88; }
@media (max-width: 900px) { .viewer { grid-template-columns: 1fr; } .viewer-side { border-left: 0; border-top: 1px solid #D9DAD2; } }

/* ---------- coverage: a dotted globe centred on Asia, six cities ---------- */
.globe-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.globe { width: 100%; max-width: 680px; aspect-ratio: 1; justify-self: center; }
.globe canvas { display: block; width: 100%; height: 100%; }
.globe-count { font: 500 12px/1 var(--mono); color: var(--graphite); margin: 32px 0 12px; }
.globe-cities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.globe-cities button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--graphite); font: 500 clamp(20px, 2vw, 28px)/1.1 var(--sans); letter-spacing: -0.03em; text-align: left; cursor: pointer; transition: color .2s ease; }
.globe-cities button::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--butter); opacity: 0; transition: opacity .2s ease; }
.globe-cities button:hover, .globe-cities button.on { color: var(--ink); }
.globe-cities button.on::after { opacity: 1; }
@media (max-width: 860px) { .globe-grid { grid-template-columns: 1fr; } }

/* send buttons while a form is on its way */
.btn[disabled] { opacity: .55; cursor: default; pointer-events: none; }
