/* Custom software with HeySheep (Wei) — site styles
   Art direction: "a sketch becoming software". Warm cream wall + oak, ink, one deep-sage accent. */

@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --wall: #D9CDB5;
  --cream: #F4EEE4;
  --cream-2: #ECE3D5;
  --paper: #FBF8F3;
  --ink: #1F1B16;
  --ink-2: #4A4239;
  --muted: #6E6355;
  --line: rgba(31, 27, 22, .12);
  --oak: #C99F6E;
  --sage: #2F4A3A;
  --sage-2: #3E6150;
  --mint: #9FC9AC;
  --warn: #A2421E;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 1px rgba(31,27,22,.04), 0 8px 24px -8px rgba(31,27,22,.18), 0 30px 60px -30px rgba(31,27,22,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--sage); color: var(--cream); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display, .h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: .98; margin: 0; text-wrap: balance; }
.display { font-size: clamp(46px, 7vw, 108px); }
.h2 { font-size: clamp(38px, 5.2vw, 76px); max-width: 17ch; }
.display em, .h2 em { font-style: italic; color: var(--sage); }
.h2-light { color: var(--cream); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-light { color: rgba(244,238,228,.86); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(47,74,58,.16); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47,74,58,.04); } }
.lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 42ch; margin: 26px 0 0; }
.body { color: var(--ink-2); max-width: 52ch; margin: 0 0 18px; }
.body-strong { color: var(--ink); font-weight: 500; }
.fine { font-size: 13px; color: var(--ink-2); margin: 18px 0 0; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: 0; }
.link { color: var(--sage); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--ink); }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; will-change: transform; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--cream); font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
  box-shadow: 0 10px 24px -12px rgba(31,27,22,.6);
}
.btn:hover { transform: translateY(-2px); background: var(--sage); border-color: var(--sage); box-shadow: 0 16px 30px -14px rgba(47,74,58,.8); }
.btn-ghost { background: rgba(251,248,243,.5); color: var(--ink); box-shadow: none; border-color: rgba(31,27,22,.22); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; box-shadow: none; white-space: nowrap; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- nav + progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--sage); transform-origin: 0 50%; transform: scaleX(0); }
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1120px); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(251,248,243,.74); border: 1px solid rgba(31,27,22,.08);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: transform .5s var(--ease), background .4s, border-color .4s, color .4s;
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav.is-dark { background: rgba(23,36,29,.62); border-color: rgba(244,238,228,.12); color: var(--cream); }
.nav.is-dark .btn-small { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 26px; line-height: 1; }
.brand-by { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.brand-by i { font-family: var(--serif); font-size: 15px; }
.nav.is-dark .brand-by { color: rgba(244,238,228,.82); }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 230vh; background: var(--wall); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--wall); }
/* Scene box keeps the plates' 7:3 aspect so both plates stay registered. Objects sit at x .34–.89, y .61–.91. */
.stage {
  --ar: 2.3333;
  --W: max(1.3 * 100vw, calc(78svh * var(--ar)));
  --H: calc(var(--W) / var(--ar));
  position: absolute; width: var(--W); height: var(--H); bottom: 0; left: 0;
  transform-origin: 50% 82%; will-change: transform;
  -webkit-mask-image: linear-gradient(transparent 0, #000 12%); mask-image: linear-gradient(transparent 0, #000 12%);
}
.layer { position: absolute; inset: 0; }
.layer img { width: 100%; height: 100%; object-fit: cover; }
.layer-built { opacity: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(240,233,220,.78) 0, rgba(240,233,220,.5) 30%, rgba(240,233,220,0) 58%); }

.hero-copy { position: absolute; z-index: 5; left: var(--pad); width: min(600px, 42vw); }
.hero-built-copy { position: absolute; z-index: 5; left: var(--pad); opacity: 0; pointer-events: none; }
.hero-built-copy { max-width: 44vw; }
.hero-built-copy .display { font-size: clamp(38px, min(4.8vw, 8.4vh), 76px); }

.float-cards { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.fcard {
  position: absolute; transform: translate(-50%, -50%); width: 220px;
  padding: 14px 16px; border-radius: 14px; background: rgba(251,248,243,.9);
  border: 1px solid rgba(31,27,22,.08); box-shadow: var(--shadow); font-size: 13px; color: var(--ink-2); will-change: transform;
}
.fc-1 { left: 63%; top: 24%; }
.fc-2 { left: 86%; top: 19%; width: 200px; }
.fc-3 { left: 82%; top: 45%; width: 200px; }
.fc-4 { left: 61%; top: 50%; width: 180px; }
/* wireframe and built states are stacked; JS (or reduced motion) decides which one shows */
.fcard { display: grid; }
.fcard .wire, .fcard .built { grid-area: 1 / 1; display: grid; gap: 7px; align-content: start; }
.fcard .built { clip-path: inset(0 100% 0 0); }
.wire i { display: block; height: 9px; border-radius: 5px; border: 1.5px dashed rgba(31,27,22,.35); width: 100%; }
.wire .w40 { width: 40%; } .wire .w60 { width: 60%; } .wire .w80 { width: 80%; }
.wire .btnw { width: 44%; height: 22px; border-radius: 999px; }
.wire .bars { height: 38px; border-radius: 6px; }
.wire .circ { width: 26px; height: 26px; border-radius: 50%; }
.fcard b { color: var(--ink); font-weight: 600; font-size: 13px; }
.fcard .row { display: flex; gap: 8px; white-space: nowrap; }
.fcard .row em { font-style: normal; font-family: var(--mono); color: var(--sage); min-width: 38px; }
.fcard .pill { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 500; font-size: 12px; }
.fcard .spark { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.fcard .spark i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(var(--sage-2), var(--mint)); }
.fc-4 .built { grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.fc-4 .built::before { content: "✓"; grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); color: var(--cream); font-size: 13px; }

.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); font: 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); display: grid; justify-items: center; gap: 10px; }
.scroll-cue span { width: 1px; height: 42px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- PROBLEM ---------- */
.problem { position: relative; height: 250vh; background: var(--paper); }
/* the desk dissolves into the next section's paper colour, so there is no photo edge or brown band */
.hero-sticky::after { content: ""; position: absolute; inset: auto 0 0 0; height: 16vh; z-index: 3; pointer-events: none;
  background: linear-gradient(rgba(251,248,243,0), var(--paper)); opacity: var(--fade, 0); }
.problem-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4vw; padding: 0 var(--pad); max-width: 1440px; margin: 0 auto; }
.problem-copy { position: relative; z-index: 1; }
.problem-copy .h2 { margin-bottom: 28px; }
.glue { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.glue-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.glue-lines .mess { fill: none; stroke: rgba(162,66,30,.35); stroke-width: 1.4; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.glue-lines .to-core { fill: none; stroke: var(--sage); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.chip { position: absolute; left: var(--cx); top: var(--cy); transform: translate(-50%, -50%); padding: 9px 14px; border-radius: 999px; background: var(--paper); border: 1px solid rgba(31,27,22,.14); box-shadow: 0 6px 18px -10px rgba(31,27,22,.4); font-size: 14px; white-space: nowrap; will-change: transform; }
.glue-you { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 16px; border-radius: 14px; background: var(--paper); border: 1px dashed rgba(31,27,22,.4); font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.glue-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.7); opacity: 0; display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 18px; background: var(--ink); color: var(--cream); font-family: var(--serif); font-size: 30px; box-shadow: var(--shadow); white-space: nowrap; }
.led { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

/* ---------- BUILD (horizontal) ---------- */
.build { position: relative; background: linear-gradient(var(--paper), var(--cream) 30vh); padding-top: 16vh; }
.build-head { padding: 0 var(--pad); max-width: var(--max); margin: 0 auto 4vh; }
.build-head .h2 { max-width: 19ch; }
.build-pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%); }
.build-track { display: flex; gap: 6vw; padding: 0 var(--pad); width: max-content; flex-shrink: 0; will-change: transform; }
.panel-b { position: relative; flex: 0 0 auto; width: min(1000px, 86vw); display: grid; grid-template-columns: 1fr 1.05fr; gap: 4vw; align-items: center; min-height: 62vh; }
.panel-num { position: absolute; left: -1vw; top: -12vh; font-family: var(--serif); font-size: clamp(120px, 18vw, 280px); line-height: 1; color: rgba(47,74,58,.11); pointer-events: none; will-change: transform; }
.panel-text { position: relative; z-index: 1; }
.panel-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 50px); line-height: 1.02; margin: 0 0 16px; letter-spacing: -.01em; }
.panel-text p { color: var(--ink-2); margin: 0; max-width: 40ch; }
.panel-end { width: min(820px, 80vw); grid-template-columns: 1fr; margin-right: calc((100vw - min(820px, 80vw)) / 2 - var(--pad) * 2); }
.panel-end .display { font-size: clamp(42px, 5.6vw, 88px); }

.ui { position: relative; z-index: 1; background: var(--paper); border: 1px solid rgba(31,27,22,.08); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; font-size: 14px; }
.ui-label { margin: 0; font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; background: #fff; }
.ui-btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ui-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ui-bar { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 13px; color: var(--ink); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.ui-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--sage); color: var(--cream); font: 600 12px/1 var(--sans); }
.ui-live { margin-left: auto; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); padding: 5px 8px; border-radius: 999px; background: rgba(47,74,58,.1); }
/* browser */
.ui-browser { padding: 0; overflow: hidden; }
.ui-chrome { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.ui-chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(31,27,22,.18); }
.ui-url { margin-left: 10px; flex: 1; padding: 5px 12px; border-radius: 999px; background: var(--paper); font: 12px/1.2 var(--mono); color: var(--ink-2); }
.ui-body { padding: 20px; display: grid; gap: 14px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots span { padding: 10px 0; text-align: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 14px/1 var(--mono); }
.slots .is-taken { color: rgba(31,27,22,.3); text-decoration: line-through; background: transparent; }
.slots .is-pick { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.ui-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* phone */
.ui-phone { background: none; border: 0; box-shadow: none; padding: 0; display: grid; place-items: center; }
.phone { width: 270px; padding: 34px 20px 22px; border-radius: 40px; background: var(--paper); border: 8px solid var(--ink); box-shadow: var(--shadow); display: grid; gap: 12px; position: relative; }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 80px; height: 18px; margin-left: -40px; border-radius: 999px; background: var(--ink); }
.phone-title { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1; }
.track-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 0; }
.track-steps li { position: relative; padding: 0 0 14px 26px; color: var(--muted); font-size: 14px; }
.track-steps li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(31,27,22,.25); background: var(--paper); }
.track-steps li::after { content: ""; position: absolute; left: 9px; top: 18px; bottom: 2px; width: 2px; background: rgba(31,27,22,.12); }
.track-steps li:last-child::after { display: none; }
.track-steps .is-done { color: var(--ink-2); }
.track-steps .is-done::before { background: var(--sage); border-color: var(--sage); }
.track-steps .is-now { color: var(--ink); font-weight: 500; }
.track-steps .is-now::before { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(47,74,58,.15); }
/* table */
.ui-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ui-table td { padding: 11px 6px; border-top: 1px solid var(--line); }
.ui-table tr:first-child td { border-top: 0; }
.ui-table td:first-child { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.ui-table td:last-child { text-align: right; }
.ui-table td.warn { color: var(--warn); }
/* mvp path */
.ui-mvp { padding: 28px 24px; }
.mvp-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.mvp-path::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 30px; width: 2px; background: linear-gradient(var(--sage) var(--fill, 100%), rgba(31,27,22,.12) var(--fill, 100%)); }
.mvp-path li { position: relative; display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; padding-bottom: 22px; }
.mvp-path li:last-child { padding-bottom: 0; }
.mvp-dot { grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--sage); position: relative; z-index: 1; }
.mvp-path li.is-on .mvp-dot { background: var(--sage); box-shadow: 0 0 0 5px rgba(47,74,58,.14); }
.mvp-path b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; }
.mvp-path small { color: var(--muted); font-size: 14px; }

/* ---------- HOW (pinned) ---------- */
.how { position: relative; height: 300vh; background: var(--cream); }
.how-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 6vw; padding: 0 var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); transition: color .4s; max-width: 48ch; }
.steps li b { display: block; color: inherit; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin-bottom: 2px; }
.steps li span { font: 500 12px/2.6 var(--mono); }
.steps li.is-on { color: var(--ink-2); }
.steps li.is-on b, .steps li.is-on span { color: var(--sage); }
.steps li.is-on b { color: var(--ink); }
.proj { position: relative; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid rgba(31,27,22,.08); padding: 22px; will-change: transform; }
.proj-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.proj-tag { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.proj-status { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: #F2E3CC; color: #7A4E17; transition: background .4s, color .4s; }
.proj-status.is-live { background: rgba(47,74,58,.14); color: var(--sage); }
.proj-screen { display: grid; grid-template-columns: 22% 1fr; gap: 12px; aspect-ratio: 16 / 10; padding: 12px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.ps-side, .ps-top i, .ps-cards i, .ps-chart { border-radius: 8px; border: 1.5px dashed rgba(31,27,22,.3); transition: background .6s, border-color .6s; }
.ps-main { display: grid; grid-template-rows: auto auto 1fr; gap: 12px; min-width: 0; }
.ps-top { display: flex; justify-content: space-between; gap: 12px; }
.ps-top i { display: block; height: 18px; width: 46%; }
.ps-top .ps-btn { width: 20%; border-radius: 999px; }
.ps-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ps-cards i { display: block; height: 54px; }
.ps-chart { position: relative; overflow: hidden; }
.ps-chart svg { position: absolute; inset: 12% 6%; width: 88%; height: 76%; }
.ps-line { fill: none; stroke: var(--sage); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
/* designed state (step 2+) */
.proj.s-design .ps-side, .proj.s-design .ps-top i, .proj.s-design .ps-cards i, .proj.s-design .ps-chart { border-style: solid; border-color: rgba(31,27,22,.12); background: #fff; }
/* built state (step 3+) */
.proj.s-build .ps-side { background: var(--sage); border-color: var(--sage); }
.proj.s-build .ps-top .ps-btn { background: var(--ink); border-color: var(--ink); }
.proj.s-build .ps-cards i:nth-child(1) { background: linear-gradient(90deg, #fff 0 18%, var(--sage) 18% 60%, #fff 60%); background-size: 100% 22%; background-repeat: no-repeat; background-position: 0 70%; background-color: #fff; }
.proj.s-build .ps-cards i:nth-child(2) { background: linear-gradient(90deg, #fff 0 18%, var(--mint) 18% 50%, #fff 50%); background-size: 100% 22%; background-repeat: no-repeat; background-position: 0 70%; background-color: #fff; }
.proj.s-build .ps-cards i:nth-child(3) { background: linear-gradient(90deg, #fff 0 18%, #C98B5B 18% 70%, #fff 70%); background-size: 100% 22%; background-repeat: no-repeat; background-position: 0 70%; background-color: #fff; }
.proj-bar { height: 6px; border-radius: 999px; background: var(--cream-2); margin-top: 18px; overflow: hidden; }
.proj-bar span { display: block; height: 100%; width: 100%; background: var(--sage); transform-origin: 0 50%; transform: scaleX(.25); transition: transform .6s var(--ease); }
.proj-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); min-height: 1.5em; }

/* ---------- TEAM ---------- */
.team { position: relative; background: var(--sage); color: var(--cream); padding: 20vh var(--pad); overflow: hidden; }
.team-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4vw; margin-top: 9vh; align-items: start; }
.office { border-top: 1px solid rgba(244,238,228,.25); padding-top: 22px; }
.office-time { margin: 0 0 10px; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--cream); }
.office h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.office p:last-child { margin: 0; color: rgba(244,238,228,.86); max-width: 34ch; }
.team-facts { display: grid; gap: 22px; border-top: 1px solid rgba(244,238,228,.25); padding-top: 22px; }
.team-facts p { margin: 0; display: grid; }
.team-facts b { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5vw, 76px); line-height: 1; }
.team-facts small { color: rgba(244,238,228,.86); font-size: 15px; }

/* ---------- WAYS ---------- */
.ways { background: var(--paper); padding: 20vh var(--pad) 16vh; }
.ways-inner { max-width: var(--max); margin: 0 auto; }
.way-list { margin-top: 8vh; border-top: 1px solid var(--line); }
.way { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr auto; gap: 4vw; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .3s, padding .4s var(--ease); }
.way:hover { background: var(--cream); padding-left: 18px; padding-right: 18px; }
.way h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.way p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.way-for { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); white-space: nowrap; }

/* ---------- ENQUIRE ---------- */
.enquire { background: var(--cream); padding: 18vh var(--pad); }
.enquire-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 6vw; align-items: start; }
.enquire-copy { position: sticky; top: 18vh; }
.enquire-copy .h2 { margin-bottom: 24px; }
.sig { font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--ink); }
.sig .link { font-family: var(--sans); font-size: 16px; }
.form { display: grid; gap: 16px; padding: 32px; border-radius: 22px; background: var(--paper); border: 1px solid rgba(31,27,22,.07); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; font: 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid rgba(31,27,22,.3); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(47,74,58,.14); }
.field [aria-invalid="true"] { border-color: var(--warn); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: start; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--sage); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--warn); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: var(--sage); font-weight: 500; }
.form-status.err { color: var(--warn); }
.field-err { margin: 0; font-size: 13px; line-height: 1.4; color: var(--warn); }
.consent + .field-err { margin-top: -6px; padding-left: 34px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 10vh var(--pad) 40px; overflow: hidden; }
.footer-big { font-family: var(--serif); font-size: clamp(80px, 13vw, 230px); line-height: .9; letter-spacing: -.03em; color: rgba(244,238,228,.34); white-space: nowrap; will-change: transform; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 6vh; padding-top: 24px; border-top: 1px solid rgba(244,238,228,.14); font-size: 14px; color: rgba(244,238,228,.78); }
.footer-row p { margin: 0; }
.footer-row a { text-decoration: none; border-bottom: 1px solid rgba(244,238,228,.3); }

/* ---------- JS-only initial states (content stays visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------- desktop hero: copy sits under the nav, in the clear wall above the desk ---------- */
@media (min-width: 761px) {
  .hero-copy { top: 96px; bottom: 6vh; display: flex; flex-direction: column; justify-content: center; }
  .hero .display { font-size: clamp(42px, min(6.2vw, 10.4vh), 100px); }
  .hero-built-copy { top: 112px; }
}
@media (min-width: 961px) and (max-height: 760px) {
  .how .h2 { font-size: clamp(34px, 7.4vh, 60px); }
  .how .steps { margin-top: 20px; }
  .how .steps li { padding: 10px 0; }
  .how .steps li b { font-size: 22px; }
}
@media (min-width: 761px) and (max-height: 700px) {
  .hero-copy { justify-content: flex-start; padding-top: 2vh; }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-copy .lede { margin-top: 14px; }
  .hero-copy .cta-row { margin-top: 20px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .fc-2 { left: 84%; top: 15%; }
  .fc-1 { left: 66%; top: 26%; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .problem-sticky, .how-sticky, .enquire-inner { grid-template-columns: 1fr; }
  .problem-sticky, .how-sticky { align-content: center; gap: 4vh; }
  .glue { width: min(84vw, 380px); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-facts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .way { grid-template-columns: 1fr; gap: 10px; }
  .enquire-copy { position: static; }
  .fc-3, .fc-4 { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand-by { font-size: 12px; }
  .brand-by i { font-size: 14px; }
  .hero { height: 170vh; }
  .stage { --W: calc(64svh * var(--ar)); left: calc(50vw - .505 * var(--W)); }
  .hero-scrim { background: linear-gradient(rgba(240,233,220,.82) 0, rgba(240,233,220,.6) 52%, rgba(240,233,220,0) 72%); }
  .hero-copy { top: max(10svh, 88px); left: var(--pad); right: var(--pad); width: auto; }
  .hero .display { font-size: clamp(40px, 11.6vw, 52px); }
  .hero-copy .btn-ghost { display: none; }
  .hero-built-copy { top: max(11svh, 92px); right: var(--pad); max-width: none; }
  .hero-built-copy .display { font-size: 38px; }
  .float-cards, .scroll-cue { display: none; }
  .problem, .how { height: auto; }
  .problem-sticky, .how-sticky { position: relative; height: auto; padding-top: 14vh; padding-bottom: 12vh; overflow: visible; }
  .glue { width: min(84vw, 330px); }
  .build { padding-top: 8vh; }
  .team, .ways, .enquire { padding-top: 12vh; padding-bottom: 12vh; }
  .way { padding: 22px 0; }
  .way-for { order: -1; }
  .chip { font-size: 12px; padding: 7px 10px; }
  .glue-you { font-size: 13px; padding: 9px 12px; }
  .glue-core { font-size: 24px; padding: 12px 18px; }
  .build { overflow-x: clip; }
  .build-pin { display: block; height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .build-track { flex-direction: column; width: auto; max-width: 100%; flex-shrink: 1; gap: 10vh; padding-bottom: 10vh; }
  .panel-b { grid-template-columns: 1fr; width: 100%; max-width: 100%; min-width: 0; gap: 22px; min-height: 0; }
  .panel-b > * { min-width: 0; }
  .panel-num { position: relative; display: inline-block; top: auto; left: auto; font-size: 72px; margin: 0 0 -10px; }
  .panel-end { margin-right: 0; width: 100%; }
  .phone { width: min(270px, 100%); }
  .proj { transform: none !important; }
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-facts { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
}
@media (max-width: 420px) {
  .nav { gap: 8px; padding-left: 14px; padding-right: 6px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 22px; }
  .brand-by { font-size: 11px; }
  .nav .btn-small { padding: 0 12px; font-size: 13px; }
}
@media (max-width: 520px) { .bb-long { display: none; } }

/* ---------- reduced motion: no pinning, no scrub, everything visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero { height: auto; }
  .hero-sticky { position: relative; }
  .hero-built-copy { display: none; }
  .layer-built { opacity: 1; }
  .fcard .wire { visibility: hidden; }
  .fcard .built { clip-path: none; }
  .problem, .how { height: auto; }
  .problem-sticky, .how-sticky { position: relative; height: auto; padding-top: 16vh; padding-bottom: 16vh; }
  .build-pin { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .build-track { flex-direction: column; width: auto; gap: 12vh; padding-bottom: 12vh; }
  .panel-b { width: auto; max-width: 1000px; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .glue-core { opacity: 1; transform: translate(-50%, -50%); }
  .glue-you { display: none; }
}
