/* Option A — Instrument.
 * Archivo carries both display and body: one superfamily, two widths. The display
 * is set expanded (125%), which is the opposite move from the old Arial Narrow
 * fallback and reads as equipment signage rather than sports poster.
 * Geist Mono is the instrumentation voice and the tie back to Pierre's own system.
 * Both are SIL OFL and self-hosted. 109 KB total. */
@font-face {
  font-family: Archivo;
  src: url("/assets/fonts/archivo-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --obsidian: #090d0b;
  --mineral: #171c19;
  --ink: #121513;
  --ink-soft: var(--mineral);
  --bone: #ece9e1;
  --paper: #f6f3ec;
  --line: #cbc9c1;        /* decorative rules only — 1.50:1 on paper */
  --border: #6b7671;      /* interactive control borders — 4.25:1 on paper, 4.15:1 on obsidian */
  --muted: #5d655f;
  --muted-dark: #a8b0aa;
  --signal-mint: #9bffe0;
  --signal-magenta: #ff7ad7;
  --signal-gold: #e2be59;
  --focus: #a52c7b;
  --danger: #b42318;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1440px;
  --pad: clamp(1rem, 3vw, 3rem);
  --radius: 2px;
  --ease: 220ms cubic-bezier(.22, .8, .2, 1);
  --ease-cinematic: cubic-bezier(.22, .72, .18, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(4.5rem + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
body::before { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 2000; top: calc(.5rem + env(safe-area-inset-top, 0px)); left: .5rem; transform: translateY(-200%); background: var(--signal-mint); color: var(--ink); padding: .7rem 1rem; font-weight: 800; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: calc(4.5rem + env(safe-area-inset-top, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: env(safe-area-inset-top, 0px) var(--pad) 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: background-color var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease); }
.site-header.is-scrolled { background: rgba(246,243,236,.94); color: var(--ink); border-color: var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header nav { display: none; gap: 1.7rem; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.site-header nav a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; }
/* Mesh-cell mark beside the wordmark, set in the display face so the logo speaks
 * the same language as every heading. Optical sizing: the mark runs a little taller
 * than the cap height so the two read as one object. */
.brand-mark { flex: 0 0 auto; width: auto; height: 1.5rem; fill: none; stroke: currentColor; }
.brand-word { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 1.18rem; letter-spacing: -.012em; line-height: 1; text-transform: uppercase; }
.brand-large .brand-mark { height: 2rem; }
.brand-large .brand-word { font-size: 1.6rem; }

.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid currentColor; border-radius: var(--radius); padding: .85rem 1.1rem; text-decoration: none; text-transform: uppercase; font-family: var(--mono); font-size: .72rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; transition: transform var(--ease), background var(--ease), color var(--ease); }
.button-small { min-height: 2.4rem; padding: .55rem .7rem; font-size: .62rem; }
.button-accent { background: var(--signal-mint); border-color: var(--signal-mint); color: var(--ink); }
.button-dark { background: var(--ink); border-color: var(--ink); color: white; }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-ghost { background: transparent; border-color: var(--border); }

.eyebrow, .image-label, .section-note, figcaption, .step-number, .meta-line { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.eyebrow { margin: 0 0 1.25rem; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: -.025em; line-height: .94; text-wrap: balance; }
h1 { max-width: 16ch; margin-bottom: 1.5rem; font-size: clamp(2.3rem, 4.7vw, 5.4rem); }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4.8vw, 3.9rem); }

.hero { min-height: 100svh; position: relative; display: grid; align-items: end; overflow: hidden; background: var(--obsidian); color: white; padding: calc(7rem + env(safe-area-inset-top, 0px)) var(--pad) calc(8.5rem + env(safe-area-inset-bottom, 0px)); }
.hero-copy { position: relative; z-index: 3; max-width: 68rem; }
.hero-deck { max-width: 38rem; margin-bottom: 2rem; font-size: clamp(1.05rem, 2.2vw, 1.55rem); line-height: 1.4; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.meta-line { display: flex; align-items: center; gap: .6rem; margin: 0; font-weight: 700; }
.status-dot { width: .55rem; height: .55rem; background: var(--signal-magenta); border-radius: 50%; box-shadow: 0 0 0 .28rem rgba(255,122,215,.14); }
@property --hero-scale { syntax: "<number>"; inherits: false; initial-value: 1; }
.hero-media { position: absolute; inset: 0; margin: 0; opacity: .52; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,13,11,.94) 0%, rgba(9,13,11,.6) 42%, rgba(9,13,11,.08) 80%), linear-gradient(0deg, rgba(9,13,11,.88), transparent 55%); }
.hero-media img { position: absolute; top: -3%; left: 0; width: 100%; height: 106%; object-fit: cover; object-position: 62% 28%; transform: translateY(var(--hero-shift, 0)) scale(var(--hero-scale, 1)); }
.hero-spec { position: absolute; z-index: 4; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); left: var(--pad); right: var(--pad); display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; border-top: 1px solid rgba(255,255,255,.25); padding-top: .8rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .07em; }
.hero-spec span:nth-child(odd) { color: var(--signal-gold); }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 8vw, 8rem) var(--pad); }
.section[id] { scroll-margin-top: 5.5rem; }
.section-heading { margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.section-heading h2 { max-width: 15ch; }
.section-heading h2 span { color: #aaa; }
.heading-row { display: flex; flex-direction: column; gap: 1.5rem; }
.section-note { max-width: 24rem; color: var(--muted); }

/* Illustration marks. One weight, no fills, drawn on when their step becomes active.
 * stroke-dashoffset is an inherited SVG property, so setting it on the <svg> reaches
 * every path inside the referenced <symbol>. */
.tab-mark, .step-mark { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; overflow: visible; }
.tab-mark { width: 1.05rem; height: 1.05rem; }
.step-mark { width: 2.1rem; height: 2.1rem; color: var(--muted); }
.step-intro { display: flex; align-items: flex-start; gap: .9rem; margin: 1rem 0 2.5rem; }
.step-intro .step-help { margin: 0; padding-top: .2rem; }

@keyframes draw-mark { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.motion-ready .form-step.is-active .step-mark { animation: draw-mark 720ms var(--ease-cinematic) both; }
.motion-ready .sequence-tabs button[aria-selected="true"] .tab-mark { animation: draw-mark 560ms var(--ease-cinematic) both; }

.step-number { color: var(--muted); }
.body-copy { max-width: 38rem; color: var(--muted); }
.logic-note { margin: 0; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .07em; font-size: .64rem; }

/* Build sequence — one product, three sets of decisions. */
.sequence { max-width: none; background: var(--bone); border-block: 1px solid var(--line); }
.sequence > * { max-width: var(--max); margin-inline: auto; }
.sequence-layout { display: grid; gap: 1.75rem clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.sequence-rail { min-width: 0; }
.sequence-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.sequence-tabs button { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: .7rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; font-family: var(--mono); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: background var(--ease), border-color var(--ease), color var(--ease); }
.sequence-tabs button span { color: var(--muted); transition: color var(--ease); }
.sequence-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sequence-tabs button[aria-selected="true"] span { color: var(--signal-mint); }
.sequence-panel { animation: step-in 320ms var(--ease-cinematic) both; }
.sequence-panel h3 { max-width: 20ch; margin-bottom: .75rem; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.05; }
.sequence-rows { margin: 1.5rem 0 1rem; border-top: 1px solid var(--ink); }
.sequence-rows > div { display: grid; grid-template-columns: minmax(6rem, .32fr) minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.sequence-rows span { color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .07em; font-size: .64rem; }
.sequence-rows strong { font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.3; }

.work { max-width: none; background: var(--obsidian); color: white; }
.work .section-note { color: var(--muted-dark); }
/* Gallery — a horizontal scroll track, one slide per build.
 * Slides share a height and keep their natural width, so portrait and landscape
 * builds sit in one strip without cropping either. Native scroll-snap does the
 * swipe; the buttons are for pointer and keyboard. Adding a build is one <figure>. */
.gallery { position: relative; margin-inline: calc(var(--pad) * -1); }
.gallery-track { display: flex; gap: clamp(1rem, 2.5vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: var(--pad); padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
/* Each build is its own exhibit: the object cut out, standing upright on a plinth,
 * with real space around it. Cutouts are never cropped — contain, never cover. */
.gallery-item { position: relative; flex: 0 0 auto; height: clamp(22rem, 48vw, 34rem); aspect-ratio: 10 / 13; margin: 0; padding: clamp(1rem, 2.4vw, 2rem) clamp(1rem, 2.4vw, 2rem) 0; overflow: hidden; scroll-snap-align: start; background: var(--mineral); border: 1px solid #242b26; }
.gallery-item picture { display: block; height: 100%; }
.gallery-item video { width: 100%; height: 100%; object-fit: cover; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(.26rem .5rem .7rem rgba(0,0,0,.42)) drop-shadow(.6rem 1.35rem 1.7rem rgba(0,0,0,.26)); transition: transform 650ms var(--ease-cinematic); }
/* Contact shadow on the plinth — sells the float without a visible box. */
.gallery-item picture { position: relative; z-index: 1; display: block; height: 100%; }
.gallery-motion { cursor: pointer; }
.gallery-motion:focus-visible { outline: 3px solid var(--signal-mint); outline-offset: -3px; }
.gallery-motion-media { height: 100%; }
.gallery-motion-media picture { position: relative; z-index: 1; height: 100%; transition: opacity 260ms var(--ease-cinematic); }
.gallery-motion-media video { position: absolute; inset: 0; z-index: 2; opacity: 0; background: var(--mineral); transition: opacity 260ms var(--ease-cinematic); }
.gallery-motion.is-playing picture { opacity: 0; }
.gallery-motion.is-playing video { opacity: 1; }
.gallery-motion-cue { position: absolute; z-index: 2; right: .75rem; bottom: .75rem; padding: .42rem .55rem; background: rgba(9,13,11,.84); color: #d8e2db; border: 1px solid #435048; font-family: var(--mono); font-size: .55rem; font-weight: 700; letter-spacing: .08em; line-height: 1; }

.gallery-controls { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; max-width: var(--max); margin: 1.25rem auto 0; padding-inline: var(--pad); }
.gallery-controls button { display: grid; place-items: center; width: 3rem; height: 3rem; background: transparent; color: inherit; border: 1px solid #39423c; border-radius: var(--radius); font-size: 1rem; cursor: pointer; transition: background var(--ease), border-color var(--ease), color var(--ease); }
.gallery-controls button:disabled { opacity: .3; cursor: default; }
.gallery-controls button:not(:disabled):hover { background: var(--signal-mint); border-color: var(--signal-mint); color: var(--ink); }
.gallery-count { margin: 0 auto 0 0; font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; color: var(--muted-dark); }

.service-feature { display: grid; gap: 2rem; background: var(--obsidian); color: white; padding: clamp(1.5rem, 4vw, 3.5rem); }
.service-title h3 { margin: 1rem 0 .75rem; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; }
.service-title > p:last-child { max-width: 28rem; color: var(--muted-dark); }
.service-badge { width: max-content; padding: .35rem .5rem; background: var(--signal-magenta); color: var(--ink); font-family: var(--mono); font-size: .62rem; font-weight: 800; letter-spacing: .07em; }
.price { margin: 0; font-size: clamp(3.2rem, 7.5vw, 6rem); font-weight: 700; font-stretch: 125%; letter-spacing: -.03em; line-height: .85; }
.price span { font-family: var(--mono); font-size: .25em; vertical-align: top; letter-spacing: 0; }
.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #3b3d3b; }
.check-list li { padding: .7rem 0; border-bottom: 1px solid #3b3d3b; }
.check-list li::before { content: "+"; margin-right: .8rem; color: var(--signal-gold); font-family: var(--mono); }
.service-list { margin-top: 1rem; border-top: 1px solid var(--ink); }
.service-list article { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .7rem 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.service-list article > div { display: flex; gap: 1rem; align-items: baseline; }
.service-list article p { margin: 0; color: var(--muted); font-size: .82rem; }
.service-list article > p { grid-column: 1; }
.service-list h3 { margin: 0; font-size: 1.05rem; }
.service-list strong { grid-column: 2; grid-row: 1 / span 2; font-family: var(--mono); font-size: .75rem; }
.special-services { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.special-services-heading { display: flex; flex-direction: column; gap: .25rem; }
.special-services-heading .eyebrow, .special-services-heading p { margin-bottom: 0; }
.special-services-heading > p:last-child { max-width: 30rem; color: var(--muted); }
.service-list-special { margin-top: 1.5rem; border-color: var(--line); }
.service-list-special h3 { font-weight: 650; }

.profile-section { display: grid; background: var(--bone); border-top: 1px solid var(--line); }
.profile-intro { padding: clamp(5rem, 10vw, 8rem) var(--pad) 3rem; }
.profile-intro > p:not(.eyebrow) { max-width: 34rem; color: var(--muted); font-size: 1.08rem; }
.profile-preview { display: grid; grid-template-columns: 1fr 1fr; max-width: 36rem; margin-top: 3rem; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.profile-preview p { min-height: 5.2rem; margin: 0; display: flex; flex-direction: column; justify-content: space-between; padding: .8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-preview span { font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; }
.profile-preview strong { font-size: 1.08rem; }

.profile-form { min-width: 0; background: var(--paper); padding: clamp(2rem, 5vw, 4rem) var(--pad) 0; }
.form-progress { position: sticky; z-index: 15; top: calc(4.5rem + env(safe-area-inset-top, 0px)); margin: calc(clamp(2rem, 5vw, 4rem) * -1) calc(var(--pad) * -1) 2.5rem; padding: 1rem var(--pad); background: rgba(246,243,236,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.form-progress p { display: flex; justify-content: space-between; margin-bottom: .65rem; font-family: var(--mono); font-size: .65rem; letter-spacing: .07em; }
.progress-track { height: 3px; background: var(--line); }
.progress-note { margin: .6rem 0 0; color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.progress-track span { display: block; width: 14.28%; height: 100%; background: var(--ink); transition: width 320ms var(--ease-cinematic); }
.form-alert { margin-bottom: 1.5rem; padding: .8rem 1rem; border-left: 3px solid var(--danger); background: #fff1ef; color: #711b14; font-size: .9rem; }
.form-step { display: none; min-width: 0; margin: 0; padding: 0 0 2rem; border: 0; animation: step-in 280ms var(--ease-cinematic) both; }
.form-step.is-active { display: block; }
.form-step legend { width: 100%; padding: 0; font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; }
.step-help { max-width: 40rem; margin: 1rem 0 2.5rem; color: var(--muted); }
.step-intro .step-help { max-width: 38rem; }
.field-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.2rem; border: 1px solid var(--border); border-radius: 0; background: white; color: var(--ink); padding: .8rem; font-family: var(--sans); font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--focus); outline-offset: 0; }
.choice-group { margin-top: 2rem; }
.field-label { margin-bottom: .65rem; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.choice-row, .choice-grid { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { min-height: 3.2rem; display: flex; align-items: center; padding: .75rem 1rem; border: 1px solid var(--border); background: white; font-weight: 600; transition: border var(--ease), background var(--ease); }
.choice span::before { content: ""; width: .7rem; height: .7rem; flex: 0 0 auto; margin-right: .7rem; border: 1px solid #8a8d88; }
.choice input:checked + span { border-color: var(--ink); background: var(--signal-mint); }
.choice input:checked + span::before { background: var(--ink); box-shadow: inset 0 0 0 2px var(--signal-mint); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input:disabled + span { opacity: .4; cursor: not-allowed; }
.selection-count { margin: 1rem 0 0; color: var(--muted); font-family: var(--mono); font-size: .65rem; }
.option-list { display: grid; gap: .5rem; }
.range-field { display: grid; grid-template-columns: 1fr auto; gap: .65rem; padding: 1.25rem 0 2rem; border-top: 1px solid var(--line); font-weight: 700; }
.range-field output { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--ink); color: white; font-family: var(--mono); }
.range-field input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); }
.range-field small { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--muted); font-family: var(--mono); font-weight: 400; text-transform: uppercase; }
.service-options { display: grid; gap: .6rem; }
.service-group-label { margin: .25rem 0 0; font-family: var(--mono); font-size: .68rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.service-group-label-special { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }
.service-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; min-height: 4.5rem; padding: .8rem; border: 1px solid var(--border); background: white; cursor: pointer; }
.service-option:has(input:checked) { border-color: var(--ink); background: var(--signal-mint); }
.service-option input { accent-color: var(--ink); }
.service-option span { display: grid; }
.service-option small { color: var(--muted); }
.service-option b { font-family: var(--mono); font-size: .72rem; }
.review-card { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; border-top: 1px solid var(--ink); }
.review-card p { min-height: 4.7rem; margin: 0; display: grid; align-content: space-between; gap: .6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.review-card p:nth-child(odd) { padding-right: .7rem; border-right: 1px solid var(--line); }
.review-card p:nth-child(even) { padding-left: .7rem; }
.review-card span { font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; }
.review-card strong { font-size: .88rem; }
.privacy-note { margin-top: 1rem; color: var(--muted); font-size: .78rem; }
.privacy-note a { color: var(--ink); text-underline-offset: .18em; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sms-consent { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--border); background: white; color: var(--muted); font-size: .78rem; line-height: 1.5; cursor: pointer; }
.sms-consent input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--ink); }
.sms-consent:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-actions { position: sticky; z-index: 20; bottom: 0; display: flex; justify-content: space-between; gap: .75rem; margin: 0 calc(var(--pad) * -1); padding: 1rem var(--pad) calc(1rem + env(safe-area-inset-bottom, 0px)); background: rgba(246,243,236,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.form-actions .button:last-child { margin-left: auto; }
.success-panel { grid-column: 1 / -1; align-self: center; padding: clamp(5rem, 10vw, 8rem) var(--pad); background: var(--paper); }
.success-panel h2 { max-width: 15ch; margin-bottom: 1.5rem; }
.success-panel h2 span { color: var(--focus); }
.success-copy > p:not(.eyebrow) { max-width: 40rem; margin-bottom: 2rem; color: var(--muted); }
.success-layout { width: min(100%, var(--max)); margin: 0 auto; display: grid; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.result-spec { display: grid; grid-template-columns: 1fr 1fr; margin: 2rem 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.result-spec p { min-height: 5rem; margin: 0; display: grid; align-content: space-between; gap: .6rem; padding: .75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-spec span, .product-stage-meta, .product-stage figcaption, .product-callout { font-family: var(--mono); font-size: .58rem; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.result-spec strong { font-size: .86rem; line-height: 1.25; }
/* Product Stage — reusable instrument frame. The frame never resizes between views. */
.product-stage { --stage-rx: 0deg; --stage-ry: 0deg; position: relative; min-width: 0; margin: 0; padding: 1rem; overflow: hidden; background: var(--mineral); color: #eef0e9; border: 1px solid #2b332e; box-shadow: 0 2rem 5rem rgba(9,13,11,.16); perspective: 1100px; }
.product-stage-meta { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; color: #aeb9b1; border-bottom: 1px solid #313a34; }
.product-stage-canvas { position: relative; height: clamp(22rem, 48vw, 36rem); display: flex; align-items: center; justify-content: center; transform: rotateX(var(--stage-rx)) rotateY(var(--stage-ry)); transform-style: preserve-3d; transition: transform 520ms var(--ease-cinematic); }
.product-stage.is-tilting .product-stage-canvas { transition-duration: 140ms; }
.product-stage-frame { position: relative; flex: 0 0 auto; height: 100%; width: auto; max-width: 100%; min-height: 0; aspect-ratio: var(--stage-ratio, 900 / 1200); transform: translateZ(14px); transition: opacity 200ms var(--ease-cinematic), transform 200ms var(--ease-cinematic); }
.product-stage-frame picture { display: block; height: 100%; }
.product-stage img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1.75rem 2.25rem rgba(0,0,0,.36)); animation: stage-drift 9s ease-in-out infinite alternate; }
.product-stage.is-swapping .product-stage-frame { opacity: 0; transform: translateZ(14px) translateX(var(--swap-shift, 8px)); }

@keyframes stage-drift { from { transform: translateY(-1%); } to { transform: translateY(1%); } }

.product-hotspots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.product-callout { position: absolute; left: var(--hx); top: var(--hy); width: 0; height: 0; opacity: 0; transform: translateZ(30px) translateX(var(--enter, -7px)); transition: opacity 320ms var(--ease-cinematic), transform 320ms var(--ease-cinematic); transition-delay: var(--callout-delay, 0ms); }
.product-callout.is-shown { opacity: 1; transform: translateZ(30px) translateX(0); }
.product-callout::before { content: ""; position: absolute; left: -.28rem; top: -.28rem; width: .56rem; height: .56rem; border-radius: 50%; background: var(--signal-mint); box-shadow: 0 0 0 .3rem rgba(155,255,224,.16); }
.product-callout::after { content: ""; position: absolute; top: 0; width: 1.6rem; height: 1px; background: linear-gradient(90deg, rgba(155,255,224,.75), rgba(155,255,224,.15)); }
.product-callout b { position: absolute; top: -.8rem; padding: .3rem .5rem; white-space: nowrap; background: rgba(11,18,14,.9); color: #dce7dd; border: 1px solid #4a5a4f; font-weight: 700; }
.product-callout[data-align="right"] { --enter: -7px; }
.product-callout[data-align="right"]::after { left: .3rem; }
.product-callout[data-align="right"] b { left: 2rem; }
.product-callout[data-align="left"] { --enter: 7px; }
.product-callout[data-align="left"]::after { right: .3rem; }
.product-callout[data-align="left"] b { right: 2rem; }

.product-stage-views { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid #313a34; }
.product-stage-views button { min-height: 2.25rem; padding: .4rem .6rem; background: transparent; color: #aeb9b1; border: 1px solid #38423b; border-radius: var(--radius); font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease); }
.product-stage-views button[aria-pressed="true"] { background: var(--signal-mint); color: var(--ink); border-color: var(--signal-mint); }
.product-stage-views button:focus-visible { outline: 3px solid var(--signal-mint); outline-offset: 2px; }

/* Pocket Profile spec card.
 * The result draws the player's own answers rather than repeating a photograph.
 * It is deliberately a diagram: it cannot be mistaken for a picture of their pocket,
 * and unlike a photo it is different for every submission. */
.spec-card { position: relative; min-width: 0; margin: 0; padding: 1rem; background: var(--mineral); color: #eef0e9; border: 1px solid #2b332e; box-shadow: 0 2rem 5rem rgba(9,13,11,.16); }
.spec-card figcaption { padding-top: .9rem; color: #93a198; border-top: 1px solid #313a34; font-family: var(--mono); font-size: .58rem; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.spec-card-body { display: grid; gap: 1.5rem; align-items: center; padding: 1.75rem 0; }

.spec-head { width: 100%; max-width: 19rem; height: auto; margin: 0 auto; display: block; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* The shell is a filled ring exported from Figma, not a stroked outline. */
.spec-shell { fill: #8e9c92; stroke: none; }
.spec-lattice { stroke: #3f4a43; stroke-width: 2.4; }
.spec-pocket { transform: translateY(var(--pocket-shift, 0px)); transition: transform 520ms var(--ease-cinematic); }
.spec-sling { stroke: var(--signal-mint); stroke-width: 7; }
.spec-ball { fill: var(--signal-mint); stroke: none; }

.spec-readout { display: grid; gap: .75rem; }
.gauge { display: grid; grid-template-columns: 3.2rem 1fr 1.6rem; align-items: center; gap: .6rem; }
.gauge span, .spec-line span { color: #93a198; font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.gauge b, .spec-line b { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-align: right; }
.gauge-track { display: flex; gap: 2px; }
.gauge-track i { flex: 1; height: .5rem; background: #2f3a33; }
.gauge-track i.is-on { background: var(--signal-mint); }
.spec-line { display: grid; grid-template-columns: 3.2rem 1fr; align-items: baseline; gap: .6rem; margin: 0; padding-top: .55rem; border-top: 1px solid #2b332e; }
.spec-line b { text-align: left; }


.local-cta { padding: clamp(5rem, 10vw, 9rem) var(--pad); background: var(--obsidian); color: white; text-align: center; }
.local-cta h2 { max-width: 16ch; margin: 0 auto 1.5rem; }
.local-cta > p:not(.eyebrow) { max-width: 40rem; margin: 0 auto 2.5rem; color: var(--muted-dark); }
.local-cta .button { margin: auto; }
/* The footer used to be four blocks stacked flush left with nothing to sit
 * against, which on a phone reads as leftover copy rather than a footer. The
 * fix is a spine, not centring: a lockup and the navigation, then a labelled
 * detail row, then the legal line, each separated by a hairline. Left alignment
 * is kept — centred body copy is harder to scan, and mixing the two is worse. */
footer { display: grid; gap: 0; padding: 3rem var(--pad) calc(3.25rem + env(safe-area-inset-bottom, 0px)); background: var(--obsidian); color: white; border-top: 1px solid #303230; font-size: .75rem; }
footer p { margin: 0; color: var(--muted-dark); }
.footer-top { display: grid; gap: 1.6rem; padding-bottom: 1.5rem; border-bottom: 1px solid #262b28; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-nav a { display: block; min-height: 2.75rem; padding: .85rem 0 .35rem; color: var(--muted-dark); text-decoration: none; transition: color var(--ease); }
.footer-nav a:last-child { color: var(--signal-mint); }
.footer-detail { display: grid; gap: 1.6rem; padding: 1.75rem 0; border-bottom: 1px solid #262b28; }
.footer-detail p { display: grid; gap: .5rem; line-height: 1.55; }
.footer-detail span { font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; color: #8f9c93; }
.footer-policies { border-bottom: 1px solid #262b28; }
.footer-policies details { border-top: 1px solid #262b28; }
.footer-policies details:first-child { border-top: 0; }
.footer-policies summary { min-height: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted-dark); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.footer-policies summary::after { content: "+"; color: var(--signal-mint); font-size: 1rem; }
.footer-policies details[open] summary::after { content: "−"; }
.footer-policies details > div { max-width: 48rem; padding: 0 0 1.5rem; }
.footer-policies details p + p { margin-top: .8rem; }
.footer-legal { padding-top: 1.6rem; font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.profile-form { scroll-margin-top: calc(4.5rem + env(safe-area-inset-top, 0px)); }
.form-step { scroll-margin-top: 9.5rem; }

@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.motion-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease-cinematic), transform 560ms var(--ease-cinematic); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .reveal.reveal-media { transform: translateY(12px); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
.motion-ready .hero-media img { animation: hero-settle 1100ms var(--ease-cinematic) both; }

@keyframes hero-settle { from { --hero-scale: 1.025; } to { --hero-scale: 1; } }

.utility-page { min-height: 100svh; background: var(--bone); color: var(--ink); }
.utility-shell { width: min(100% - 2rem, 58rem); margin: 0 auto; padding: 3rem 0 6rem; }
.utility-shell > .brand { margin-bottom: clamp(4rem, 10vw, 8rem); }
.utility-shell h1 { max-width: 18ch; margin: 1rem 0 2rem; font-size: clamp(2.5rem, 7vw, 5.5rem); }
.utility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.utility-grid p { min-height: 5rem; display: grid; align-content: space-between; gap: .6rem; margin: 0; padding: .8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.utility-grid span { font: 700 .62rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.utility-grid strong { font-size: .95rem; overflow-wrap: anywhere; }
.utility-note, .utility-notice { max-width: 42rem; margin-top: 2rem; color: var(--muted); }
.utility-notice { padding: 1rem; border-left: 3px solid var(--focus); background: var(--paper); }
.utility-form { display: grid; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ink); }
.utility-form label { display: grid; gap: .45rem; font: 700 .68rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.utility-form input, .utility-form select { min-height: 3.25rem; padding: .8rem; border: 1px solid var(--border); background: white; color: var(--ink); font: 400 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.utility-form .button { width: max-content; margin-top: 1rem; }

@media (hover: hover) {
  .button:hover { transform: translateY(-1px); }
  .gallery-item:hover img { transform: scale(1.02); }
}

@media (min-width: 640px) {
  .site-header nav { display: flex; }
  .hero-actions { flex-direction: row; align-items: center; }
  .heading-row { flex-direction: row; align-items: end; justify-content: space-between; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .choice-row { grid-template-columns: repeat(3, 1fr); }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid.compact { grid-template-columns: repeat(3, 1fr); }
  .profile-preview { grid-template-columns: repeat(3, 1fr); }
  .result-spec { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: auto 1fr; align-items: center; gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(4, auto); justify-content: end; gap: 0 1.75rem; }
  .footer-nav a { padding: .35rem 0; min-height: 0; }
  .footer-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
}

@media (max-width: 639px) {
  /* Smoked instrument glass keeps the navigation visually attached to StringLab
   * after the hero without masking the section beneath it in an opaque paper bar. */
  .site-header.is-scrolled { background: rgba(9,13,11,.82); color: #fff; border-color: rgba(255,255,255,.14); box-shadow: 0 .75rem 2rem rgba(9,13,11,.16); -webkit-backdrop-filter: blur(20px) saturate(125%); backdrop-filter: blur(20px) saturate(125%); }
  .site-header.is-scrolled .button-small { background: var(--signal-mint); border-color: var(--signal-mint); color: var(--ink); }
  .gallery-item { height: auto; width: calc(100vw - 3rem); aspect-ratio: 10 / 13; }
  .product-stage { padding: .75rem; }
  .product-stage-canvas { height: 22rem; }
  .product-callout b { font-size: .52rem; padding: .25rem .4rem; }
  .product-callout[data-align="right"] b { left: 1.4rem; }
  .product-callout[data-align="left"] b { right: 1.4rem; }
  .utility-grid { grid-template-columns: 1fr; }
  .product-callout::after { width: 1.1rem; }
  .product-stage-views button { padding: .35rem .45rem; font-size: .54rem; letter-spacing: .05em; }
  /* On a phone the three stages were loose pills that wrapped to two rows, and
   * the head they control sat two screens further down behind the copy — so
   * nothing suggested they were there to be tapped. Mounting them as a segmented
   * control on the top edge of the stage makes the panel one instrument: the
   * control and the thing it changes are the same object, and the read-out
   * follows underneath rather than in front. */
  .sequence-layout { gap: 0; }
  .sequence-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: .3rem .3rem 0; background: var(--mineral); border: 1px solid #2b332e; border-bottom: 0; }
  .sequence-tabs button { justify-content: center; gap: .3rem; min-height: 2.9rem; padding: .6rem .3rem; border: 0; border-radius: var(--radius) var(--radius) 0 0; color: #aeb9b1; font-size: .6rem; letter-spacing: .04em; }
  .sequence-tabs button span { color: #8f9c93; }
  .sequence-tabs button[aria-selected="true"] { background: var(--signal-mint); color: var(--ink); }
  .sequence-tabs button[aria-selected="true"] span { color: var(--ink); opacity: .7; }
  .sequence-tabs .tab-mark { width: .9rem; height: .9rem; }
  .product-stage-sequence { border-top: 0; box-shadow: 0 1.5rem 3.5rem rgba(9,13,11,.14); }
  .product-stage-sequence .product-stage-canvas { height: 19rem; }
  .sequence-rail { margin-top: 1.75rem; }
  .sequence-panel h3 { max-width: 24ch; }
  .sequence-rows { margin-top: 1.25rem; }
  .sequence-rows > div { grid-template-columns: minmax(5rem, .34fr) minmax(0, 1fr); gap: .75rem; padding: .8rem 0; }

  /* A simpler header over the panel: the stage title carries the sequence, so the
   * heading does not need to be the biggest thing on the screen as well. */
  .sequence { padding-top: clamp(3.25rem, 9vw, 4.5rem); }
  .sequence .section-heading { margin-bottom: 1.5rem; }
  .sequence .section-heading h2 { font-size: 1.85rem; }
  .sequence .heading-row { gap: .85rem; }
  .sequence .section-note { font-size: .64rem; }
  .sequence-panel h3 { font-size: 1.45rem; }

  /* The five reference views are a second control cluster wrapping to two rows
   * right under the first. On a phone this section is the three-step overview and
   * nothing else — looking through other builds is what the gallery is for. */
  .product-stage-sequence .product-stage-views { display: none; }
}

@media (min-width: 640px) and (max-width: 899px) {
}

@media (max-width: 899px) and (min-height: 621px) {
  html { scroll-snap-type: y proximity; }
  .hero, .work, .sequence, .services, .profile-section { min-height: 100svh; scroll-snap-align: start; }
  .work { scroll-snap-stop: always; }
}

@media (min-width: 900px) {
  .site-header { height: calc(5rem + env(safe-area-inset-top, 0px)); }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(28rem, .9fr); padding-bottom: 8rem; }
  .hero-copy { grid-column: 1; }
  .hero-media { left: 48%; opacity: 1; }
  .hero-media::after { background: linear-gradient(90deg, var(--obsidian) 0%, rgba(9,13,11,.94) 18%, rgba(9,13,11,.25) 58%, transparent 90%), linear-gradient(0deg, rgba(9,13,11,.55), transparent 40%); }
  .hero-spec { grid-template-columns: repeat(6, auto); justify-content: start; gap: .8rem 1rem; }
  .section-heading h2 { max-width: 18ch; }
  /* The stage moved ahead of the panels in the DOM for the phone layout, so the
   * desktop two-column reading is restored by placement rather than order. */
  .sequence-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); row-gap: 2.25rem; }
  .sequence-tabs { grid-column: 1; grid-row: 1; }
  .sequence-rail { grid-column: 1; grid-row: 2; padding-right: clamp(1rem, 3vw, 3rem); }
  .product-stage-sequence { grid-column: 2; grid-row: 1 / span 2; }
  .service-feature { grid-template-columns: 1.2fr .6fr 1fr; align-items: end; }
  .service-feature .button { grid-column: 3; width: 100%; }
  .service-feature .check-list { grid-column: 1 / 3; }
  .service-list article { grid-template-columns: minmax(19rem, 1fr) 1fr auto; }
  .service-list article > p { grid-column: 2; }
  .service-list article strong { grid-column: 3; grid-row: 1; }
  .profile-section { grid-template-columns: minmax(22rem, .78fr) minmax(0, 1.22fr); }
  .profile-intro { position: sticky; top: 0; height: 100svh; align-self: start; display: flex; flex-direction: column; justify-content: center; }
  .profile-form { min-height: 100svh; padding-left: clamp(2rem, 5vw, 6rem); padding-right: clamp(2rem, 5vw, 6rem); }
  .form-progress { top: 5rem; margin-left: calc(clamp(2rem, 5vw, 6rem) * -1); margin-right: calc(clamp(2rem, 5vw, 6rem) * -1); padding-left: clamp(2rem, 5vw, 6rem); padding-right: clamp(2rem, 5vw, 6rem); }
  .form-step { min-height: calc(100svh - 15rem); }
  .form-actions { margin-left: calc(clamp(2rem, 5vw, 6rem) * -1); margin-right: calc(clamp(2rem, 5vw, 6rem) * -1); padding-left: clamp(2rem, 5vw, 6rem); padding-right: clamp(2rem, 5vw, 6rem); }
  .success-panel { min-height: 100svh; display: grid; align-content: center; }
  .success-layout { grid-template-columns: minmax(0, 1fr) minmax(22rem, .85fr); }
  .spec-card-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tab-mark, .step-mark { animation: none !important; stroke-dashoffset: 0 !important; }
  .hero-media img { transform: none !important; }
  .gallery-track { scroll-behavior: auto; }
  .gallery-item video { display: none; }
  .gallery-item.gallery-motion { background: url('/assets/motion-detail-poster.jpg') center/cover; }
  .product-stage-canvas { transform: none !important; }
  .product-stage img { animation: none !important; }
  .product-stage.is-swapping .product-stage-frame { opacity: 1; transform: none; }
  .product-callout { opacity: 0; transform: none; }
  .product-callout.is-shown { opacity: 1; transform: none; }
}
