/* ============================================================
   Spatii — design system
   Tokens mirror the investor deck: warm graphite, porcelain,
   a single copper accent. Light by default (owner's call, 28 Oct 2026);
   dark only when the visitor picks it with the theme toggle.
   ============================================================ */

:root{
  color-scheme:light;
  --bg:#FDFBF7; --panel:#F4EEE5; --ink:#1B1610; --dim:#5C5347;
  --acc:#8A4E19; --acc-deep:#73400F; --line:rgba(27,22,16,.16);
  --sans:"Instrument Sans",-apple-system,"SF Pro Text",Segoe UI,sans-serif;
  --disp:"Schibsted Grotesk",var(--sans);
  --mono:"Spline Sans Mono","SF Mono",ui-monospace,monospace;
  --measure:64ch;
}
/* Manual choice from the theme toggle. Which polarity is readable is
   condition-specific (photophobia and media opacities usually want
   light-on-dark), so the toggle stays on every page and is remembered. */
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0F0D0A; --panel:#171310; --ink:#F3EFE7; --dim:#B4AA9C;
  --acc:#E09A5C; --acc-deep:#D08A50; --line:rgba(243,239,231,.14);
}
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#FDFBF7; --panel:#F4EEE5; --ink:#1B1610; --dim:#5C5347;
  --acc:#8A4E19; --acc-deep:#73400F; --line:rgba(27,22,16,.16);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--bg);color:var(--ink);
  font:1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;
  display:flex;flex-direction:column;min-height:100vh;
}

/* ---------- Keyboard access ---------- */
.skip{
  position:absolute;left:1rem;top:-4rem;z-index:100;
  background:var(--acc);color:var(--bg);
  padding:.75rem 1.25rem;border-radius:4px;font-weight:600;
  text-decoration:none;transition:top .18s ease;
}
.skip:focus{top:1rem}
:focus-visible{outline:3px solid var(--acc);outline-offset:3px;border-radius:2px}
/* Visually hidden, still announced — for live-region confirmations. */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.wrap{width:100%;max-width:64rem;margin:0 auto;padding:0 clamp(1.25rem,5vw,3.5rem)}

/* ---------- Masthead + nav ---------- */
.masthead{padding:clamp(1.5rem,4vh,2.5rem) 0;border-bottom:1px solid var(--line)}
.masthead .wrap{
  display:flex;flex-wrap:wrap;gap:1rem 2rem;
  align-items:baseline;justify-content:space-between;
}
/* ---------- Brand lockup ----------
   The mark is the depth field in miniature: nearer reads larger and brighter,
   the same encoding the device uses. Decorative — the wordmark carries the name. */
.brand{
  display:inline-flex;align-items:center;gap:.6rem;
  text-decoration:none;color:var(--ink);
  padding:.15rem 0;
}
.brand-mark{
  width:1.85rem;height:1.85rem;flex:none;display:block;
  transition:transform .5s cubic-bezier(.2,.6,.2,1);
}
.brand-word{
  font-family:var(--disp);font-weight:800;
  font-size:1.7rem;letter-spacing:-.035em;line-height:1;
  position:relative;padding-bottom:.28rem;
}
.brand-word::after{
  content:"";position:absolute;left:0;bottom:0;
  width:100%;height:2px;background:var(--acc);
  transform-origin:left;transform:scaleX(1);
  transition:transform .45s cubic-bezier(.2,.6,.2,1);
}
.brand:hover .brand-mark,.brand:focus-visible .brand-mark{transform:scale(1.08)}
.brand:hover .brand-word::after{transform:scaleX(.55)}
@media (prefers-reduced-motion:reduce){
  .brand-mark,.brand-word::after{transition:none}
  .brand:hover .brand-mark{transform:none}
  .brand:hover .brand-word::after{transform:scaleX(1)}
}
@media (max-width:40rem){
  .brand-mark{width:1.6rem;height:1.6rem}
  .brand-word{font-size:1.45rem}
}
nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:.25rem 1.6rem}
nav a{
  color:var(--dim);text-decoration:none;
  font-size:.95rem;padding:.4rem 0;display:inline-block;
  border-bottom:2px solid transparent;
}
nav a:hover{color:var(--ink);text-decoration:underline}
nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--acc)}

/* Nav and theme toggle travel together on the right of the masthead. */
.mast-tools{display:flex;align-items:center;gap:1rem 1.75rem;flex-wrap:wrap}

/* ---------- Theme toggle ----------
   Light-on-dark vs dark-on-light is an accessibility choice for this audience,
   so the control is visible text, not a bare icon, and sized as a real target. */
.theme-toggle{
  font-family:var(--mono);font-size:.72rem;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--dim);background:none;
  border:1px solid var(--line);border-radius:999px;
  min-height:2.75rem;padding:.4rem 1rem;
  display:inline-flex;align-items:center;gap:.5rem;
  cursor:pointer;align-self:center;
}
.theme-toggle[hidden]{display:none}
.theme-toggle:hover{color:var(--ink);border-color:var(--acc)}
.theme-toggle svg{flex:none}
/* Show the icon of the theme the press will give you, matching the word. */
[data-effective-theme="dark"] .theme-toggle .i-moon{display:none}
[data-effective-theme="light"] .theme-toggle .i-sun{display:none}
@media (max-width:40rem){
  /* Phones: dissolve the tools group so the toggle sits beside the brand on
     row one and the nav takes its own full row below. In flow, not absolute —
     absolute positioning reserves no space, so 200% text zoom could push the
     brand underneath the toggle. */
  .mast-tools{display:contents}
  .masthead nav{flex-basis:100%;order:3}
  .theme-toggle{order:2;margin-left:auto;padding:.4rem .85rem}
}

/* ---------- Typography ---------- */
h1{
  font-family:var(--disp);font-weight:800;
  font-size:clamp(2.4rem,6.5vw,4rem);
  line-height:1.02;letter-spacing:-.032em;
  margin-bottom:1.25rem;max-width:18ch;
}
h1.mega{font-size:clamp(2.5rem,6.4vw,4.15rem);line-height:1.0;max-width:14ch}
h2{
  font-family:var(--disp);font-weight:700;
  font-size:clamp(1.6rem,4vw,2.4rem);
  line-height:1.12;letter-spacing:-.025em;
  margin-bottom:1.5rem;max-width:24ch;
}
h3{
  font-family:var(--disp);font-weight:600;
  font-size:1.08rem;letter-spacing:-.01em;margin-bottom:.5rem;
}
em.hl,.tagline em{
  font-family:"Instrument Serif",Georgia,serif;
  font-style:italic;font-weight:400;color:var(--acc);
  font-size:1.08em;letter-spacing:0;
}
.tagline{
  font-family:var(--disp);font-weight:600;
  font-size:clamp(1.35rem,3.4vw,2rem);
  line-height:1.2;letter-spacing:-.02em;margin-bottom:1.5rem;
}
.eyebrow{
  font-family:var(--mono);font-weight:500;
  font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--acc);margin-bottom:1.25rem;
}
.lede{font-size:clamp(1.05rem,2vw,1.2rem);color:var(--dim);max-width:42ch}
/* Filed-status line under the home lede — a fact stated quietly, not a badge. */
.patent-line{
  font-family:var(--mono);font-size:.75rem;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--dim);
  margin-top:1.4rem;padding-top:1.1rem;border-top:1px solid var(--line);
  max-width:34rem;
}
p{max-width:var(--measure);margin-bottom:1.15rem}
p:last-child{margin-bottom:0}
.prose p{color:var(--dim)}
.prose strong{color:var(--ink);font-weight:600}
.prose ul{color:var(--dim);max-width:var(--measure);margin:0 0 1.15rem 1.1rem}
.prose li{margin-bottom:.5rem;padding-left:.3rem}
.prose li::marker{color:var(--acc)}
a{color:var(--acc);text-underline-offset:.22em;text-decoration-thickness:1px}
a:hover{color:var(--ink);text-decoration:underline}

/* ---------- Layout ---------- */
main{flex:1 0 auto}
.page-head{padding:clamp(2.5rem,7vh,4.5rem) 0 clamp(1.5rem,4vh,2.5rem)}
section{padding:clamp(2.5rem,7vh,4.5rem) 0;border-top:1px solid var(--line)}
section:first-of-type{border-top:0}
.grid2{display:grid;gap:clamp(2rem,5vw,3.5rem);grid-template-columns:minmax(0,1fr)}
@media (min-width:52rem){.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hero-grid{display:grid;gap:clamp(2.5rem,6vw,4rem);grid-template-columns:minmax(0,1fr);align-items:center}
@media (min-width:60rem){.hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}}

/* ---------- Components ---------- */
.field-fig{margin:0}
.field-fig svg{width:100%;height:auto;max-width:26rem;display:block}
.field-fig figcaption{
  font-family:var(--mono);font-size:.72rem;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--dim);margin-top:1.25rem;line-height:1.6;
}

.note{
  background:var(--panel);border-left:2px solid var(--acc);
  padding:1.5rem 1.6rem;margin-top:2rem;
}
.note p{color:var(--dim);font-size:.98rem}
.note strong{color:var(--ink)}

.status{list-style:none;display:grid;gap:0;margin-top:.5rem}
.status li{
  display:grid;gap:.35rem .5rem;
  grid-template-columns:auto minmax(0,1fr);
  padding:1.1rem 0;border-bottom:1px solid var(--line);
}
.status li::before{content:"";width:.85rem;height:2px;background:var(--acc);margin-top:.8rem}
.status p{color:var(--dim);margin:0;font-size:.98rem}
.status .when{
  grid-column:2;font-family:var(--mono);font-size:.72rem;
  letter-spacing:.1em;text-transform:uppercase;color:var(--acc);margin-top:.35rem;
}

.layer{border-top:1px solid var(--line);padding-top:1.4rem}
.layer .tag{
  font-family:var(--mono);font-size:.7rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--acc);display:block;margin-bottom:.6rem;
}


.mail{
  font-family:var(--disp);font-weight:600;
  font-size:clamp(1.15rem,2.6vw,1.5rem);
  letter-spacing:-.02em;display:inline-block;padding:.35rem 0;
  overflow-wrap:anywhere;
}
dl{font-size:.95rem}
dt{
  font-family:var(--mono);font-size:.7rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--acc);margin-bottom:.3rem;
}
dd{color:var(--dim);margin-bottom:1.1rem}

.next{
  display:flex;flex-wrap:wrap;gap:1rem 2rem;
  padding-top:1.5rem;border-top:1px solid var(--line);margin-top:2.5rem;
}
.next a{font-family:var(--disp);font-weight:600;text-decoration:none;font-size:1rem}
.next .arr{margin-left:.35em}

/* ---------- Calls to action (6 Nov 2026) ----------
   One primary button per page head, styled like the form buttons, plus a quiet text link.
   The note under it removes the risk at the point of asking. */
h1.mega.mega-wide{max-width:17ch;text-wrap:balance}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem 1.75rem;align-items:center;margin-top:1.75rem}
.cta{
  display:inline-flex;align-items:center;min-height:44px;
  font-family:var(--disp);font-weight:600;font-size:1.05rem;line-height:1.2;
  color:var(--bg);background:var(--acc);border-radius:3px;
  padding:.85rem 1.5rem;text-decoration:none;
}
.cta:hover{color:var(--bg);background:var(--ink);text-decoration:none}
.cta-link{
  display:inline-flex;align-items:center;min-height:44px;
  font-family:var(--disp);font-weight:600;font-size:1rem;text-decoration:none;
}
.cta-link .arr{margin-left:.35em}
.cta-note{font-size:.92rem;color:var(--dim);margin:.6rem 0 0}
.prose ol.steps{color:var(--dim);max-width:var(--measure);margin:0 0 1.4rem 1.3rem}
.prose ol.steps li{margin-bottom:.75rem;padding-left:.4rem}
.prose ol.steps li::marker{color:var(--acc);font-family:var(--mono);font-weight:500}
.prose ul.stack li{margin-bottom:.7rem}
.involve-pros{margin-top:2.4rem;max-width:var(--measure)}
.involve-pros h3{font-size:1.25rem;margin-bottom:.6rem}

/* ---------- Footer ---------- */
footer{
  flex-shrink:0;border-top:1px solid var(--line);
  padding:2.5rem 0 3rem;font-size:.86rem;color:var(--dim);margin-top:2rem;
}
footer p{max-width:72ch;margin-bottom:.75rem}
footer nav ul{gap:.25rem 1.4rem;margin-bottom:1.25rem}
footer nav a{font-size:.86rem}
.fine{font-size:.8rem;opacity:.85}

/* ---------- Home hero 3D ----------
   Decoration behind the headline. It must never reduce text legibility, so it
   is masked away from the text side and held at low opacity. The depth-dot
   figure remains the visible graphic until the model is ready. */
/* ---------- Update-list form ---------- */
.subscribe{margin:1.6rem 0 1rem;max-width:34rem}
.subscribe-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end}
.subscribe label{
  font-family:var(--mono);font-size:.75rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--dim);display:block;margin-bottom:.4rem;width:100%;
}
.subscribe input[type=email]{
  flex:1 1 16rem;min-width:0;
  font:inherit;font-size:1rem;color:var(--ink);
  background:transparent;border:0;border-bottom:2px solid var(--dim);
  padding:.65rem .1rem;min-height:44px;
}
.subscribe input::placeholder{color:var(--dim);opacity:1}
.subscribe input:-webkit-autofill{
  -webkit-text-fill-color:var(--ink);
  -webkit-box-shadow:0 0 0 100px var(--bg) inset;
}
.subscribe input[type=email]:focus{border-bottom-color:var(--acc);outline:none}
.subscribe input[type=email]:focus-visible{outline:3px solid var(--acc);outline-offset:3px}
.subscribe button{
  flex:0 0 auto;font-family:var(--disp);font-weight:600;font-size:1rem;
  color:var(--bg);background:var(--acc);border:0;border-radius:3px;
  padding:.8rem 1.4rem;min-height:44px;cursor:pointer;
}
.subscribe button:hover{background:var(--ink)}
.subscribe button[disabled]{opacity:.6;cursor:default}
.subscribe-note{margin:.9rem 0 0;font-size:.92rem;min-height:1.2em}
.subscribe-note[data-state="ok"]{color:var(--acc)}
.subscribe-note[data-state="error"]{color:var(--ink)}
/* The FAQ ask box: textarea on its own row, then email + button. */
.ask textarea{
  width:100%;max-width:100%;font:inherit;font-size:1rem;color:var(--ink);
  background:transparent;border:0;border-bottom:2px solid var(--dim);
  padding:.65rem .1rem;margin-bottom:1rem;resize:vertical;min-height:6.5rem;
}
.ask textarea::placeholder{color:var(--dim);opacity:1}
.ask textarea:focus{border-bottom-color:var(--acc);outline:none}
.ask textarea:focus-visible{outline:3px solid var(--acc);outline-offset:3px}
.ask > label{
  font-family:var(--mono);font-size:.75rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--dim);display:block;margin-bottom:.4rem;
}

/* The home get-involved form (27 Oct 2026): the update-list look, three fields, the choices, a note. */
.involve-form-title{margin-top:2.4rem}
.involve-row{display:grid;gap:0 1.2rem;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr))}
.involve-form input[type=text],.involve-form input[type=tel],.involve-form input[type=email]{
  width:100%;min-width:0;font:inherit;font-size:1rem;color:var(--ink);
  background:transparent;border:0;border-bottom:2px solid var(--dim);
  padding:.65rem .1rem;min-height:44px;margin-bottom:1rem;
}
.involve-form input[type=text]:focus,.involve-form input[type=tel]:focus,.involve-form input[type=email]:focus{border-bottom-color:var(--acc);outline:none}
.involve-form input[type=text]:focus-visible,.involve-form input[type=tel]:focus-visible,.involve-form input[type=email]:focus-visible{outline:3px solid var(--acc);outline-offset:3px}
.involve-form [aria-invalid=true]{border-bottom-color:var(--ink);border-bottom-style:dashed}
.involve-form .opt{text-transform:none;letter-spacing:0}
.involve-wants{border:0;padding:0;margin:.2rem 0 1.2rem;min-width:0}
.involve-wants legend{
  font-family:var(--mono);font-size:.75rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--dim);margin-bottom:.3rem;padding:0;
}
.subscribe .involve-wants label{
  font-family:inherit;font-size:1rem;letter-spacing:0;text-transform:none;color:var(--ink);
  display:flex;gap:.7rem;align-items:flex-start;width:auto;margin:0;padding:.55rem 0;min-height:44px;cursor:pointer;
}
.involve-wants input{width:1.25rem;height:1.25rem;margin:.15rem 0 0;flex:0 0 auto;accent-color:var(--acc)}
.involve-form button{margin-top:.2rem}
.involve-form .err{font-size:.9rem;color:var(--ink);margin:-.6rem 0 1rem;padding-left:.6rem;border-left:2px solid var(--acc)}
.involve-wants .err{margin:.2rem 0 .4rem}

/* Honeypot: off-screen for people, still fillable by bots. */
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Home: content column + travelling model rail ----------
   The model rides alongside the reading column for the length of the page
   rather than sitting in one block. On narrow screens the rail collapses to
   a single appearance above the content, and the layout becomes one column. */
/* Below the two-column breakpoint there is no room for a side rail, so the model
   pins to the TOP of the screen instead: it opens at hero size above the
   headline, then collapses to a slim shelf once you start reading and stays
   there, turning as you scroll. Sticky (not fixed) so it releases naturally at
   the end of the home content. Full-bleed and opaque because text passes
   underneath it — a transparent canvas would let the words show through. */
.home{display:flex;flex-direction:column;max-width:none}
.home-col{min-width:0}
.home-rail{order:-1;width:100%;max-width:none;margin:0 0 1rem;padding:0}
.has-3d .home-rail{position:sticky;top:0;z-index:2;background:var(--bg)}
.home-rail-sticky{
  max-width:20rem;margin:0 auto;
  padding:0 clamp(1.25rem,5vw,3.5rem) .5rem;
}
/* Softens the join where the reading column slides under the shelf. */
.has-3d .home-rail::after{
  content:'';position:absolute;left:0;right:0;top:100%;height:2rem;
  background:linear-gradient(var(--bg),transparent);pointer-events:none;
}
.hero-stage{position:relative;width:100%;height:min(17rem,30vh)}
.home-rail[data-compact="true"] .hero-stage{height:min(7.5rem,15vh)}
/* Phones (owner, 6 Nov 2026): the model opens smaller so the headline and the
   "Join" button fit on the first screen. It still collapses to the shelf above. */
@media (max-width:40rem){.hero-stage{height:min(9.5rem,17vh)}}
/* Collapse the caption rather than just fading it — an invisible line of text
   would keep holding open a band of the screen the reader wants back. */
.home-rail[data-compact="true"] .rail-caption{opacity:0;height:0;margin-top:0}
.hero-3d{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .8s ease}
.hero-3d[data-ready="true"]{opacity:1}
.hero-3d canvas{width:100%;height:100%;display:block}
.hero-poster{
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
  transition:opacity .8s ease;
}
.hero-3d[data-ready="true"] + .hero-poster{opacity:0}
.rail-caption{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--dim);margin-top:.75rem;text-align:center;
  /* Explicit height so the collapse can animate — height:auto cannot. */
  height:1rem;line-height:1rem;overflow:hidden;
}
@media (prefers-reduced-motion:no-preference){
  .hero-stage{transition:height .45s cubic-bezier(.4,0,.2,1)}
  .rail-caption{transition:opacity .25s ease,height .45s cubic-bezier(.4,0,.2,1),margin-top .45s cubic-bezier(.4,0,.2,1)}
}

@media (min-width:64rem){
  .home{
    display:grid;grid-template-columns:minmax(0,1fr) 22rem;
    gap:clamp(2rem,4vw,4rem);
    max-width:76rem;margin:0 auto;padding-right:clamp(1.25rem,5vw,3.5rem);
  }
  .home .wrap{max-width:none;padding-left:clamp(1.25rem,5vw,3.5rem);padding-right:0;margin:0}
  /* The column reserves the space; the panel inside is FIXED, so the model stays
     locked on screen for the whole read instead of scrolling away. JS fades it
     in and out as the home region enters and leaves. */
  .home-rail{
    order:0;padding:0;margin:0;max-width:none;display:block;
    position:relative;top:auto;z-index:auto;background:none;
  }
  .has-3d .home-rail::after{display:none}
  .has-3d .home-rail-sticky{
    position:fixed;top:50%;transform:translateY(-50%);
    width:22rem;max-width:none;padding:0;margin:0;
    opacity:0;transition:opacity .5s ease;pointer-events:none;
  }
  .home-rail-sticky[data-pinned="true"]{opacity:1}
  /* Square panel here; the collapsing shelf is a small-screen behaviour only. */
  .hero-stage,.home-rail[data-compact="true"] .hero-stage{
    height:auto;aspect-ratio:1/1;transition:none;
  }
  .home-rail[data-compact="true"] .rail-caption{opacity:1}
}

/* Reduced motion, or no WebGL at all: the poster still shows the product —
   in normal flow (no .has-3d), so nothing pins over the text. */
@media (prefers-reduced-motion:reduce){
  .hero-3d{display:none}
}
.no-3d .hero-3d{display:none}
/* Keyboard focus must never land under the opaque shelf (WCAG 2.4.11). Scoped
   with :has so anchor jumps on shelf-less pages keep their exact positions. */
@media (max-width:63.99rem){
  html:has(.home-rail){scroll-padding-top:10rem}
}

/* ---------- Prototype viewer ----------
   Sticky canvas on the left, scrolling callouts on the right. On small screens
   it collapses to a normal stacked document. The callouts are the content; the
   render is an enhancement that can fail without loss. */
.viewer{margin-top:2rem}
.viewer-grid{display:grid;gap:2rem;grid-template-columns:minmax(0,1fr)}
.viewer-stage{
  position:relative;width:100%;aspect-ratio:1/1;max-height:66vh;
  background:var(--panel);border-top:1px solid var(--line);
}
/* Base rule must come first — a later `position:relative` would override sticky. */
@media (min-width:56rem){
  .viewer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3rem;align-items:start}
  .viewer-stage{position:sticky;top:14vh;height:64vh;aspect-ratio:auto;max-height:none}
}
.viewer-stage::before{content:"";position:absolute;top:-1px;left:0;width:2rem;height:2px;background:var(--acc)}
.viewer-stage canvas{width:100%;height:100%;display:block}
.viewer-stage::after{
  content:"";position:absolute;left:14%;right:14%;bottom:12%;height:9%;
  background:radial-gradient(ellipse 50% 50% at 50% 50%, rgba(20,14,8,.30), rgba(20,14,8,.10) 55%, transparent 75%);
  pointer-events:none;
}
.viewer-fallback{
  position:absolute;inset:0;display:grid;place-items:center;padding:2rem;
}
.viewer-fallback img{width:100%;height:auto;max-width:22rem}
.viewer-fallback[data-loaded="true"]{opacity:0;pointer-events:none;transition:opacity .6s ease}
.viewer-steps{display:grid;gap:0}
.viewer-step{padding:2.5rem 0;border-bottom:1px solid var(--line)}
.viewer-step:first-child{padding-top:.5rem}
.viewer-step:last-child{border-bottom:0}
@media (min-width:56rem){.viewer-step{min-height:52vh;display:flex;flex-direction:column;justify-content:center}}
.viewer-step h3{font-size:1.15rem;margin-bottom:.6rem}
.viewer-step .tag{
  font-family:var(--mono);font-size:.68rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--acc);display:block;margin-bottom:.5rem;
}
.viewer-step p{color:var(--dim);font-size:.98rem;max-width:38ch}
@media (prefers-reduced-motion:reduce){
  .viewer-stage{position:relative;top:auto;height:auto;aspect-ratio:1/1;max-height:60vh}
  .viewer-stage canvas{display:none}
  .viewer-fallback,.viewer-fallback[data-loaded="true"]{opacity:1;pointer-events:auto}
}

/* ---------- Product imagery ---------- */
.shots{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr);margin-top:1.6rem}
@media (min-width:44rem){.shots{grid-template-columns:repeat(2,minmax(0,1fr))}}
.shots img{width:100%;height:auto;display:block;border-radius:4px;background:#fff}
.shot{margin:0}
.shot figcaption{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--dim);margin-top:.6rem;
}
figure.product{margin:0}
figure.product figcaption{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--dim);margin-top:.9rem;line-height:1.6;
}

/* ---------- The introduction film (home, 23 Oct 2026) ----------
   Never autoplays (the accessibility page promises that); captions are a real track, on by default, and the
   transcript underneath describes what is on screen for anyone who can't see it. */
figure.film{margin:0}
figure.film video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:var(--panel);border-radius:4px;border:1px solid var(--line)}
figure.film figcaption{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--dim);margin-top:.9rem;line-height:1.6;
}
figure.film.intro-film{margin-top:clamp(1.5rem,4vw,2.5rem)}
details.transcript{margin-top:1rem;border-top:1px solid var(--line);padding-top:.4rem}
details.transcript summary{
  cursor:pointer;padding:.65rem 0;min-height:44px;
  font-family:var(--disp);font-weight:600;color:var(--acc);
}
details.transcript[open] summary{margin-bottom:.6rem}
details.transcript p{color:var(--dim);font-size:.98rem;margin-top:.7rem;max-width:var(--measure)}
details.transcript .scene{font-style:italic}
details.transcript b{color:var(--ink);font-weight:600}

/* ---------- Founder ---------- */
.founder{display:grid;gap:1.4rem;grid-template-columns:minmax(0,1fr);align-items:start;margin-top:1.4rem}
@media (min-width:36rem){.founder{grid-template-columns:9rem minmax(0,1fr)}}
.founder img{width:9rem;height:9rem;object-fit:cover;border-radius:4px;display:block;border:1px solid var(--line)}
.founder p{margin-top:0}

/* ---------- Small screens & touch ----------
   Targets sized for fingers (WCAG 2.5.5 / Apple HIG 44px), tighter vertical
   rhythm, and a smaller depth field so it doesn't eat half a phone screen. */
@media (max-width:40rem){
  nav a{padding:.7rem 0;min-height:44px;display:flex;align-items:center}
  nav ul{gap:0 1.25rem}
  .masthead .wrap{gap:.5rem 1.5rem}
  .field-fig svg{max-width:min(62vw,15rem);margin-inline:auto}
  .field-fig figcaption{text-align:center}
  .page-head{padding-top:2rem}
  section{padding:2.25rem 0}
  h2{margin-bottom:1.1rem}
  .note{padding:1.15rem 1.2rem}
  .status li{padding:.9rem 0}
  .next{gap:.75rem 1.5rem}
  .next a{min-height:44px;display:inline-flex;align-items:center}
  footer nav a{min-height:44px;display:flex;align-items:center}
  dl{margin-top:.5rem}
}
@media (pointer:coarse){
  .brand{display:inline-flex;align-items:center;min-height:44px}
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(10px);
    transition:opacity .45s cubic-bezier(.2,.6,.2,1),transform .45s cubic-bezier(.2,.6,.2,1)}
  .reveal.in{opacity:1;transform:none}
  .dot{opacity:0;animation:bloom .9s cubic-bezier(.2,.6,.2,1) forwards}
  @keyframes bloom{to{opacity:var(--o)}}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .dot{opacity:var(--o);animation:none}
  .skip{transition:none}
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
}

/* ---------- Countdown and progress bar (unlisted /v/ pages) ----------
   The ticking numbers come from a page script; without it only the
   sentence shows. */
.countdown{margin-top:1.1rem;padding-top:1rem;border-top:1px solid var(--line)}
.hero-ask .cd-label{font-family:var(--mono);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--acc);margin:0 0 .6rem}
.cd-units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;max-width:13rem}
.cd-units[hidden]{display:none}
.cd-units span{background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:.6rem .3rem .5rem;text-align:center}
.cd-units b{display:block;font-family:var(--disp);font-weight:700;font-size:clamp(1.55rem,4.6vw,2.2rem);line-height:1;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.cd-units i{display:block;font-style:normal;font-family:var(--mono);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin-top:.4rem}
.countdown.is-final .cd-units b{color:var(--acc)}
.countdown.is-final .cd-units span{border-color:var(--acc)}
.hero-ask .cd-when{font-family:var(--mono);font-size:.74rem;letter-spacing:.06em;color:var(--dim);margin:.65rem 0 0}
.hero-ask .cd-closed{font-weight:600;margin:.2rem 0 0}
.raised{margin-top:1.1rem;max-width:26rem}
.raised-bar{height:6px;background:var(--line);border-radius:3px;overflow:hidden}
.raised-bar span{display:block;height:100%;background:var(--acc);border-radius:3px}
.hero-ask .raised p{font-size:.92rem;color:var(--dim);margin:.5rem 0 0}
.hero-ask .raised p strong{color:var(--ink)}

/* Comparison table on the unlisted /v/ pages. Scrolls sideways on a phone. */
.cmp{overflow-x:auto;margin:1.4rem 0 1.4rem;border-top:1px solid var(--line)}
.cmp table{border-collapse:collapse;width:100%;min-width:44rem;font-size:.92rem}
.cmp th,.cmp td{text-align:left;vertical-align:top;padding:.7rem .8rem .7rem 0;border-bottom:1px solid var(--line);color:var(--dim)}
.cmp thead th{font-family:var(--mono);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;font-weight:500}
.cmp tbody th{color:var(--ink);font-weight:600;min-width:7.5rem}
.cmp tbody tr:first-child th,.cmp tbody tr:first-child td{color:var(--ink)}

/* ---------- Print ----------
   Reset every token explicitly: without this, a visitor whose OS is in dark
   mode prints dim-on-white text. And force revealed state, or unscrolled
   sections print blank. */
@media print{
  /* Matches the specificity of :root[data-theme] — without that, a visitor who
     toggled dark would get dim-on-white printouts again. */
  :root,:root[data-theme]{
    --bg:#fff; --panel:#f4f4f4; --ink:#000; --dim:#333;
    --acc:#7a4415; --acc-soft:#7a4415; --line:rgba(0,0,0,.3);
  }
  body{background:#fff;color:#000}
  .masthead nav,.skip,.next,.cta,.cta-row,.cta-note,.field-fig,.theme-toggle{display:none}
  a{color:#000;text-decoration:underline}
  .reveal,.reveal.in{opacity:1 !important;transform:none !important;transition:none !important}
  .dot{opacity:1 !important;animation:none !important}
  .prose p,.status p,.note p,dd,footer{color:#222}
  section{page-break-inside:avoid}
}
