/* ==========================================================================
   Innovation Factory — "The Machine"
   A tactile, toy-industrial system lifted straight off the hero machine:
   putty-grey room, cream shell, cobalt crank, three indicator lights
   (mint / sun / coral) and birch trim. Buttons are keycaps that press.
   Type: Bricolage Grotesque (everything) + DM Mono (machine labels).
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-latin.woff2") format("woff2-variations");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2-variations");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400-latin-ext.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }

:root {
  /* room + materials */
  --paper: #EDEDEB;          /* the room the machine sits in (matches the video) */
  --paper-2: #E4E3DF;
  --shell: #F8F6F1;          /* cream machine body */
  --shell-edge: #D8D2C6;
  --ink: #1B1A18;
  --ink-2: #5F5C56;
  --ink-3: #6B675F;
  --line: rgba(27, 26, 24, 0.12);

  /* the machine's controls */
  --cobalt: #2C4FC4;
  --cobalt-deep: #1A338C;
  --cobalt-ink: #E9EDFB;
  --sun: #F4B63A;
  --sun-deep: #C58A12;
  --coral: #E5604B;
  --mint: #7DC5AA;
  --birch: #D8B58C;

  --sans: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --wrap: min(1320px, 100% - var(--gutter) * 2);
  --section: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--shell); padding: 12px 18px; border-radius: 12px;
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Shared bits: labels, lights, keycaps
   -------------------------------------------------------------------------- */

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}

.lights { display: inline-flex; gap: 5px; }
.lights i {
  --c: var(--mint);
  width: 10px; height: 10px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.85) 0 14%, rgba(255, 255, 255, 0) 42%),
    var(--c);
  box-shadow: inset 0 -1.5px 1.5px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(27, 26, 24, 0.08);
}
.lights .l-sun { --c: var(--sun); }
.lights .l-coral { --c: var(--coral); }
.is-running .lights i { animation: blink 1.2s steps(1) infinite; }
.is-running .lights .l-sun { animation-delay: 0.4s; }
.is-running .lights .l-coral { animation-delay: 0.8s; }
@keyframes blink { 0%, 60% { filter: none; } 30% { filter: brightness(1.25) saturate(1.2); box-shadow: 0 0 10px var(--c), inset 0 -1.5px 1.5px rgba(0,0,0,.18); } }

/* keycap buttons — they physically press */
.key {
  --face: var(--cobalt); --edge: var(--cobalt-deep); --text: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 54px; padding: 0 1.55rem;
  font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  color: var(--text); background: var(--face);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08),
    0 5px 0 var(--edge),
    0 12px 22px -10px rgba(27, 26, 24, 0.45);
  transform: translateY(0);
  transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease), background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.key:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.08), 0 6px 0 var(--edge), 0 16px 26px -10px rgba(27,26,24,.45); }
.key:active, .key.is-pressed { transform: translateY(5px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(0,0,0,.08), 0 0 0 var(--edge), 0 4px 8px -4px rgba(27,26,24,.4); }
.key-shell { --face: var(--shell); --edge: var(--shell-edge); --text: var(--ink); }
.key-ink { --face: #22211F; --edge: #000; --text: #fff; }
.key-sun { --face: var(--sun); --edge: var(--sun-deep); --text: var(--ink); }
.key-sm { min-height: 42px; padding: 0 1.1rem; font-size: 14.5px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 3px 0 var(--edge), 0 8px 14px -8px rgba(27,26,24,.5); }
.key-sm:active { transform: translateY(3px); }
.key-block { width: 100%; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.nav.is-stuck {
  background: rgba(237, 237, 235, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: var(--wrap); margin-inline: auto; height: 76px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: baseline; text-decoration: none;
  font-weight: 800; font-size: 21px; letter-spacing: -0.035em;
  color: var(--ink); line-height: 1; margin-right: auto;
  font-variation-settings: "opsz" 72;
  transition: opacity 0.2s var(--ease);
}
.brand:hover { opacity: 0.8; }
.brand-word { display: inline-flex; align-items: baseline; gap: 0.28em; }
.brand-word span {
  font-weight: 800; color: var(--ink); letter-spacing: -0.035em;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px; transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: rgba(27, 26, 24, 0.06); }
.nav-links-cta { display: none; }
.nav-end { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--shell); box-shadow: 0 3px 0 var(--shell-edge); position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-burger span:first-child { top: 18px; }
.nav-burger span:last-child { top: 25px; }
.nav.is-open .nav-burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav-burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero — the machine
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(660px, 100svh, 1080px);
  display: grid; align-items: center;
  padding: 110px 0 72px;
  isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--paper); }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 84% 58%; }
.hero-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(237,237,235,0.92) 0%, rgba(237,237,235,0.55) 30%, rgba(237,237,235,0) 50%),
    linear-gradient(0deg, var(--paper) 0%, rgba(237,237,235,0) 16%);
}

.hero-copy { position: relative; }
.hero-title {
  margin: 26px 0 28px;
  font-weight: 700; font-size: clamp(3.3rem, 7.6vw, 8.6rem);
  line-height: 0.9; letter-spacing: -0.034em;
  font-variation-settings: "opsz" 96;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-title em {
  font-style: normal; position: relative; white-space: nowrap;
  background: linear-gradient(var(--cobalt), var(--cobalt)) left 92% / 0% 0.11em no-repeat;
  transition: background-size 0.9s var(--ease), color 0.4s;
}
.hero-title em.is-out { background-size: 100% 0.11em; }

.hero-sub { max-width: 30rem; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.5; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-specs { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 52px; font-size: 14px; color: var(--ink-2); }
.hero-specs b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }

.reveal-now { animation: fadeUp 0.9s var(--ease) both; }
.hero-copy .label.reveal-now { animation-delay: 0.05s; }
.hero-sub.reveal-now { animation-delay: 0.3s; }
.hero-actions.reveal-now { animation-delay: 0.42s; }
.hero-specs.reveal-now { animation-delay: 0.55s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* replay crank */
.crank {
  position: absolute; left: 50%; bottom: 36px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--shell); color: var(--ink);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 3px 0 var(--shell-edge), 0 10px 20px -10px rgba(27,26,24,.45);
  transition: transform 0.14s var(--ease), box-shadow 0.14s, opacity 0.4s;
}
.crank[hidden] { display: inline-flex; opacity: 0; pointer-events: none; }
.crank:active { transform: translateY(3px); box-shadow: 0 0 0 var(--shell-edge), 0 4px 8px -4px rgba(27,26,24,.4); }
.crank svg { width: 36px; height: 36px; border-radius: 50%; background: var(--cobalt); padding: 2px; }
.crank-hub { fill: #fff; }
.crank-arm { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.crank-grip { fill: var(--sun); }
.crank svg { transition: transform 0.9s var(--spring); }
.crank:hover svg { transform: rotate(-180deg); }

/* --------------------------------------------------------------------------
   Clients belt
   -------------------------------------------------------------------------- */

.clients {
  display: flex; align-items: center; gap: 40px;
  width: var(--wrap); margin: 0 auto;
  padding: 26px 0; border-block: 1px solid var(--line);
}
.clients-label { flex: none; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.belt {
  flex: 1; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.belt-run { flex: none; display: flex; align-items: center; gap: 56px; padding-right: 56px; animation: belt 46s linear infinite; }
.belt-run li { font-size: 23px; font-weight: 700; letter-spacing: -0.03em; color: #8A857D; white-space: nowrap; transition: color 0.3s; }
.belt:hover .belt-run { animation-play-state: paused; }
.belt:hover .belt-run li { color: var(--ink-2); }
@keyframes belt { to { transform: translateX(-100%); } }

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

.section { padding: var(--section) 0 0; }
.sec-head { margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px 64px; flex-wrap: wrap; }
.sec-title {
  margin-top: 20px;
  font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 5.1rem);
  line-height: 0.96; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 96;
}
.sec-lead { max-width: 25rem; color: var(--ink-2); font-size: 17px; }

/* scroll reveals (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: space-between;
  gap: clamp(24px, 3vw, 48px);
  counter-reset: step;
}
.step { position: relative; }
.step:nth-child(2) { transition-delay: 0.1s; }
.step:nth-child(3) { transition-delay: 0.2s; }
.step-shot {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 28px;
  background: #E9E9E7;
  box-shadow: inset 0 0 0 1px rgba(27, 26, 24, 0.05);
}
.step-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step-shot img { transform: scale(1.04); }
.step-part { display: flex; align-items: center; gap: 10px; margin: 24px 0 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.step-part span { display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--shell); letter-spacing: 0.04em; }
.step h3 { font-size: clamp(26px, 2.3vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 10px; }
.step p:last-child { color: var(--ink-2); max-width: 34ch; }


/* --------------------------------------------------------------------------
   Stations — the control panel
   -------------------------------------------------------------------------- */

.panel {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--shell); border-radius: 40px; padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(27,26,24,.05), 0 40px 70px -48px rgba(40,34,24,.5);
}
.station { position: relative; padding: clamp(28px, 3.4vw, 48px) clamp(24px, 3vw, 44px) clamp(34px, 3.6vw, 52px); }
.station + .station::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(90deg, rgba(27,26,24,0.1) 50%, rgba(255,255,255,0.9) 50%);
}
.bulb {
  --c: var(--mint);
  display: block; width: 46px; height: 46px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,0.9) 0 9%, rgba(255,255,255,0) 34%),
    var(--c);
  box-shadow:
    inset 0 -5px 7px rgba(0, 0, 0, 0.16),
    0 0 0 6px #fff, 0 0 0 7px rgba(27, 26, 24, 0.07),
    0 0 0 0 var(--c);
  transition: box-shadow 1s var(--ease), filter 1s;
  filter: saturate(0.75) brightness(0.97);
}
.bulb-sun { --c: var(--sun); }
.bulb-coral { --c: var(--coral); }
.panel.is-in .bulb { filter: none; box-shadow: inset 0 -5px 7px rgba(0,0,0,.16), 0 0 0 6px #fff, 0 0 0 7px rgba(27,26,24,.07), 0 10px 34px 2px var(--c); }
.panel.is-in .station:nth-child(2) .bulb { transition-delay: 0.25s; }
.panel.is-in .station:nth-child(3) .bulb { transition-delay: 0.5s; }
.station-no { margin: 34px 0 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.station h3 { font-size: clamp(36px, 3.6vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.station-line { margin-top: 14px; font-size: 18px; line-height: 1.4; max-width: 26ch; }
.station-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; max-width: 34ch; }
.station-list li { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding: 5px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(27,26,24,.08), 0 2px 0 rgba(27,26,24,.06); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.billing { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; }
.billing-opt { color: var(--ink-3); transition: color 0.25s; }
.billing-opt.is-on { color: var(--ink); }
.billing-opt em { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; background: var(--mint); color: var(--ink); padding: 4px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.switch {
  position: relative; width: 72px; height: 38px; border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 2px 5px rgba(27,26,24,.14), inset 0 0 0 1px rgba(27,26,24,.08), 0 1px 0 rgba(255,255,255,.9);
  transition: background-color 0.3s;
}
.switch-knob {
  position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.5) 0 12%, rgba(255,255,255,0) 40%), var(--cobalt);
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.2), 0 2px 4px rgba(27,26,24,.3);
  transition: transform 0.45s var(--spring);
}
.switch[aria-checked="true"] { background: #DDE3F8; }
.switch[aria-checked="true"] .switch-knob { transform: translateX(34px); }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.plan {
  display: flex; flex-direction: column;
  background: var(--shell); border-radius: 40px; padding: clamp(30px, 3.4vw, 48px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(27,26,24,.05), 0 40px 70px -48px rgba(40,34,24,.5);
}
.plan:nth-child(2) { transition-delay: 0.1s; }
.plan-hot {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,0.14), rgba(255,255,255,0) 60%),
    var(--cobalt);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 0 var(--cobalt-deep), 0 50px 80px -40px rgba(26,51,140,.7);
}
.plan-tag { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.plan-hot .plan-tag { color: rgba(255,255,255,.7); }
.plan-name { margin-top: 14px; font-size: clamp(34px, 3.4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan-for { margin-top: 14px; color: var(--ink-2); max-width: 36ch; }
.plan-hot .plan-for { color: rgba(255,255,255,.82); }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 36px 0 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.plan-hot .plan-price { border-color: rgba(255,255,255,.2); }
.amount { font-size: clamp(64px, 6.6vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.85; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 96; }
.amount::before { content: "$"; font-size: 0.42em; vertical-align: 0.95em; margin-right: 0.06em; letter-spacing: 0; font-weight: 600; }
.amount.is-ticking { animation: tick 0.5s var(--ease); }
@keyframes tick { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-14px); opacity: 0; } 55% { transform: translateY(14px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.amount { display: inline-block; }
.per { font-family: var(--mono); font-size: 14px; color: var(--ink-3); }
.plan-hot .per { color: rgba(255,255,255,.7); }
.plan-list { display: grid; gap: 12px; margin-bottom: 40px; flex: 1; }
.plan-list li { position: relative; padding-left: 32px; font-size: 16.5px; line-height: 1.4; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%231B1A18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.plan-hot .plan-list li::before { background-color: var(--sun); }

.plan-foot {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px;
  margin-top: 28px; padding: 24px 30px; border-radius: 24px;
  border: 1.5px dashed rgba(27, 26, 24, 0.18);
  color: var(--ink-2); font-size: 15.5px;
}
.plan-foot b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.fine { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: 120px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 64px 26px 0;
  font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  background: var(--shell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%231B1A18' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 2px 0 var(--shell-edge);
  transition: transform 0.4s var(--spring), background-color 0.3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); box-shadow: 0 2px 0 var(--sun-deep); }
.faq-list summary:hover::after { background-color: #fff; }
.faq-list details p { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 60ch; }

/* --------------------------------------------------------------------------
   Start — feed the machine
   -------------------------------------------------------------------------- */

.start {
  margin: var(--section) auto 0; width: min(1440px, 100% - 24px);
  border-radius: clamp(32px, 4vw, 56px);
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(255,255,255,0.16), rgba(255,255,255,0) 60%),
    var(--cobalt);
  color: #fff;
  padding: clamp(64px, 8vw, 120px) 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 0 var(--cobalt-deep);
  overflow: hidden;
}
.start-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px 72px; align-items: center; }
.label-light { color: rgba(255, 255, 255, 0.8); }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(125,197,170,.7); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(125,197,170,.7); } 70% { box-shadow: 0 0 0 12px rgba(125,197,170,0); } 100% { box-shadow: 0 0 0 0 rgba(125,197,170,0); } }
.start-title {
  margin: 22px 0 24px;
  font-size: clamp(3.4rem, 8vw, 8.4rem); font-weight: 700; line-height: 0.88; letter-spacing: -0.038em;
  font-variation-settings: "opsz" 96;
}
.start-sub { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,0.85); max-width: 30rem; }
.start-alt { margin-top: 30px; color: rgba(255,255,255,0.7); font-size: 15.5px; max-width: 30rem; }
.start-alt a { color: #fff; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.start-alt a:hover { text-decoration-color: var(--sun); }
.start :focus-visible { outline-color: var(--sun); }

.hopper {
  position: relative; color: var(--ink);
  background: var(--shell); border-radius: 36px;
  padding: 34px clamp(24px, 3vw, 38px) 30px;
  box-shadow: inset 0 1px 0 #fff, 0 8px 0 var(--shell-edge), 0 40px 60px -30px rgba(10,20,60,.55);
  margin-top: 64px;
}
/* the clear acrylic hopper on top of the form */
.hopper-lip { position: absolute; left: 6%; width: 88%; top: -66px; height: 70px; overflow: visible; }
.lip-glass { fill: rgba(255, 255, 255, 0.16); }
.lip-shine { stroke: rgba(255, 255, 255, 0.75); stroke-width: 3; vector-effect: non-scaling-stroke; }
.lip-edge { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.lip-trim { fill: var(--birch); }
.hopper-lip { transform-origin: 50% 100%; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 0; border-radius: 18px; padding: 15px 18px;
  box-shadow: inset 0 2px 4px rgba(27,26,24,.08), inset 0 0 0 1.5px rgba(27,26,24,.1);
  resize: vertical; transition: box-shadow 0.2s;
}
.field textarea { min-height: 128px; line-height: 1.45; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231B1A18' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 18px center / 12px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #A9A59D; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 2px 4px rgba(27,26,24,.08), inset 0 0 0 2px var(--cobalt), 0 0 0 4px rgba(44,79,196,.15); }
.field.is-bad input, .field.is-bad textarea { box-shadow: inset 0 2px 4px rgba(27,26,24,.08), inset 0 0 0 2px var(--coral); }
.hopper .key { margin-top: 8px; }
.hopper-error { margin: -4px 0 12px; color: #B8402E; font-size: 15px; font-weight: 500; }
.hopper-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.hopper.is-fed .hopper-lip { animation: gulp 0.7s var(--ease); }
@keyframes gulp { 40% { transform: scaleY(0.8) translateY(8px); } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot { padding: 56px 0 48px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; }
.foot-credit { max-width: 52ch; color: var(--ink-2); font-size: 15.5px; }
.foot-credit a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.foot-links { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); }
.foot-legal address { font-style: normal; }

/* --------------------------------------------------------------------------
   Work page — output fresh off the line
   Each project is printed out of a machine slot as it scrolls into view.
   -------------------------------------------------------------------------- */

.work-hero { padding: 132px 0 0; }
.work-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.work-title { margin-bottom: 26px; }
.work-title em { background-size: 0% 0.11em; animation: drawline 0.9s var(--ease) 0.6s forwards; }
@keyframes drawline { to { background-size: 100% 0.11em; } }
.work-hero .hero-sub { max-width: 32rem; }
.work-hero-art {
  justify-self: end; width: min(100%, 440px); aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 40px; background: #E9E9E7; transform: rotate(2.5deg);
  box-shadow: inset 0 0 0 1px rgba(27,26,24,.05), 0 40px 70px -40px rgba(40,34,24,.55);
  animation-delay: 0.25s;
}
.work-hero-art img { width: 100%; height: 100%; object-fit: cover; }

.work-list { padding-top: clamp(80px, 9vw, 130px); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: clamp(56px, 6vw, 88px); }
.filters-label { margin-right: 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.filter { --face: var(--shell); --edge: var(--shell-edge); --text: var(--ink); gap: 10px; }
.filter.is-on { --face: #22211F; --edge: #000; --text: #fff; transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 0 var(--edge), 0 6px 10px -8px rgba(27,26,24,.5); }
.filter-n { font-family: var(--mono); font-size: 12px; opacity: 0.55; }
.tok { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 -2px 2px rgba(0,0,0,.18); }
.tok-coral { background: var(--coral); border-radius: 3px; }
.tok-sun { background: var(--sun); }

.projects { display: grid; gap: clamp(96px, 11vw, 168px); }
.proj { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(40px, 5vw, 80px); align-items: center; }
.proj:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.proj:nth-child(even) .proj-out { order: 2; }
.proj[hidden] { display: none; }
.js .proj.reveal { transform: none; }

/* the slot the screen prints out of */
.proj-out { position: relative; padding-top: 14px; }
.proj-slot {
  position: absolute; left: 1.5%; right: 1.5%; top: 0; z-index: 3; height: 30px; border-radius: 16px;
  background: linear-gradient(180deg, #0F0E0D, #2A2825);
  box-shadow: inset 0 5px 8px rgba(0,0,0,.75), 0 0 0 7px var(--birch), 0 0 0 8px rgba(27,26,24,.12), 0 14px 22px -10px rgba(40,34,24,.5);
}
.proj-slot::after { content: ""; position: absolute; left: 14px; right: 14px; top: 3px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); }
.proj-paper { position: relative; z-index: 1; margin: 0 4.5%; clip-path: inset(0 -80px -120px -80px); }
.proj-card {
  display: block; width: 100%; text-align: left; cursor: zoom-in; position: relative;
  background: var(--shell); border-radius: 4px 4px 28px 28px; padding: 18px 10px 10px;
  box-shadow: inset 0 -1px 0 rgba(27,26,24,.08), 0 0 0 1px rgba(27,26,24,.05), 0 36px 56px -34px rgba(40,34,24,.6);
}
.proj-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 16px; background: #E3E1DB; box-shadow: inset 0 0 0 1px rgba(27,26,24,.06); }
.js .proj .proj-card { transform: translateY(-101%); }
.js .proj.is-in .proj-card { transform: none; transition: transform 1.4s cubic-bezier(0.25, 0.85, 0.3, 1) 0.25s; }
.js .proj.is-printed .proj-card { transition: transform 0.45s var(--ease); }
.js .proj.is-printed .proj-card:hover { transform: translateY(8px) rotate(-0.5deg); }
.proj-count {
  position: absolute; left: 22px; bottom: 22px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(248, 246, 241, 0.94); color: var(--ink); padding: 6px 10px; border-radius: 999px;
}

.proj-wo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.proj-wo span { flex: none; white-space: nowrap; display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--ink); color: var(--shell); letter-spacing: 0.04em; }
.proj-title { margin: 16px 0 18px; font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; font-variation-settings: "opsz" 96; }
.sticker {
  position: relative; display: inline-block; transform: rotate(-2.5deg);
  padding: 9px 16px 10px; border-radius: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); background: var(--sun);
  box-shadow: 0 2px 0 rgba(27,26,24,.14), 0 10px 18px -12px rgba(27,26,24,.5);
}
.sticker::before { /* a bit of tape */
  content: ""; position: absolute; left: 50%; top: -9px; width: 46px; height: 16px; margin-left: -23px; transform: rotate(4deg);
  background: rgba(255, 255, 255, 0.55); box-shadow: 0 1px 2px rgba(27,26,24,.1);
}
.proj:nth-child(even) .sticker { transform: rotate(2deg); }
.sticker-mint { background: var(--mint); }
.sticker-coral { background: var(--coral); }
.sticker-cobalt { background: var(--cobalt); color: #fff; }
.proj-desc { margin-top: 24px; color: var(--ink-2); max-width: 46ch; }
.proj-spec { margin-top: 24px; max-width: 30rem; }
.proj-spec > div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-top: 1.5px dashed rgba(27,26,24,.14); }
.proj-spec > div:last-child { border-bottom: 1.5px dashed rgba(27,26,24,.14); }
.proj-spec dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.proj-spec dd { font-size: 15.5px; }
.proj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.proj-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--cobalt); }
.proj-link:hover { color: var(--cobalt); }
.projects-empty { padding: 40px 0; color: var(--ink-2); font-weight: 600; }

.start-short { padding: clamp(56px, 7vw, 96px) 0; }
.start-short-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.start-short .start-title { margin-bottom: 0; }
.start-short .hero-actions { margin-top: 28px; }

/* screen viewer */
.viewer { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: rgba(24, 23, 21, 0.95); animation: fadeIn 0.3s var(--ease); }
.viewer[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--gutter); }
.viewer-cap { color: #fff; font-weight: 600; font-size: 16px; }
.viewer-cap span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: rgba(255,255,255,.6); margin-left: 12px; }
.viewer-controls { display: flex; gap: 10px; flex: none; }
.viewer.is-single .viewer-prev, .viewer.is-single .viewer-next { display: none; }
.viewer-stage { flex: 1; min-height: 0; overflow: auto; display: flex; padding: 0 var(--gutter) 28px; overscroll-behavior: contain; }
.viewer-stage img { margin: auto; width: auto; max-width: min(1400px, 100%); height: auto; border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.viewer-stage img.is-tall { max-width: min(1100px, 100%); }
.viewer :focus-visible { outline-color: var(--sun); }

@media (max-width: 860px) {
  .work-hero { padding-top: 112px; }
  .work-hero-grid { grid-template-columns: 1fr; }
  .work-hero-art { justify-self: start; width: min(100%, 320px); order: -1; }
  .proj, .proj:nth-child(even) { grid-template-columns: 1fr; }
  .proj:nth-child(even) .proj-out { order: 0; }
  .start-short-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .work-hero-art { width: 220px; border-radius: 28px; }
  .proj-card { padding: 14px 8px 8px; border-radius: 4px 4px 22px 22px; }
  .proj-card img { border-radius: 12px; }
  .proj-count { left: 16px; bottom: 16px; }
  .viewer-bar { flex-wrap: wrap; }
  .viewer-stage { padding: 0 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .proj .proj-card, .js .proj.is-in .proj-card { transform: none; }
  .work-title em { background-size: 100% 0.11em; }
}

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

@media (max-width: 1100px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 64px 0 8px; }
  .hero-stage { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 11; }
  .hero-video { object-position: 100% 62%; }
  .hero-stage::after { background: linear-gradient(180deg, var(--paper) 0%, rgba(237,237,235,0) 16%, rgba(237,237,235,0) 84%, var(--paper) 100%); }
  .hero-copy { margin-top: -8px; }
  .hero-title { margin-top: 18px; }
  .hero-specs { margin-top: 40px; }
  .crank { bottom: 20px; left: var(--gutter); }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed; inset: 76px 12px auto; z-index: -1;
    display: grid; gap: 2px; padding: 12px;
    background: var(--shell); border-radius: 28px;
    box-shadow: 0 0 0 1px rgba(27,26,24,.06), 0 30px 60px -20px rgba(27,26,24,.35);
    opacity: 0; transform: translateY(-10px) scale(0.98); transform-origin: top right; pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); padding: 14px 16px; border-radius: 18px; }
  .nav-links .nav-links-cta { display: block; margin-top: 6px; text-align: center; background: var(--cobalt); color: #fff; box-shadow: 0 4px 0 var(--cobalt-deep); }
  .nav-links .nav-links-cta:hover { background: var(--cobalt); color: #fff; }
  .nav-burger { display: block; }
  .nav.is-open { background: rgba(237, 237, 235, 0.95); }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .step-shot { aspect-ratio: 4 / 3; }
  .panel { grid-template-columns: 1fr; }
  .station + .station::before { left: 28px; right: 28px; top: 0; bottom: auto; width: auto; height: 2px; background: linear-gradient(180deg, rgba(27,26,24,.1) 50%, rgba(255,255,255,.9) 50%); }
  .plans { grid-template-columns: 1fr; }
  .plan-foot { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-head { position: static; }
  .start-grid { grid-template-columns: 1fr; }
  .clients { flex-direction: column; align-items: stretch; gap: 16px; }
  .clients-label { max-width: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-end .key { display: none; }
  .nav-end .lights { display: none; }
  .hero { padding-top: 60px; }
  .hero-stage { aspect-ratio: 1 / 0.86; }
  .hero-copy .label { font-size: 11px; letter-spacing: 0.08em; }
  .hero-copy .label .lights { display: none; }
  .hero-actions { gap: 12px; margin-top: 28px; }
  .hero-actions .key { flex: 1 1 100%; }
  .hero-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; font-size: 12.5px; line-height: 1.35; }
  .hero-specs b { font-size: 14px; margin-bottom: 2px; }
  br.d { display: none; }
  .belt-run li { font-size: 19px; }
  .belt-run { gap: 40px; padding-right: 40px; }
  .faq-list summary { padding-right: 52px; }
  .faq-list details p { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .crank span { display: none; }
  .crank { padding: 6px; left: 16px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .belt-run { animation: none; }
  .belt { overflow-x: auto; }
}
