/* Start your brief (start.html): one question per screen, asked inside the studio's black box.
 *
 * Two grounds behind one attribute. <html data-stage="dark"> is the studio stage: black, a light cone from above onto
 * the black box (the studio's own Blender renders, assets/brief-stage/), a floor that catches its reflection, and
 * grain. Remove the attribute and the same brief sits on paper. Colours are role tokens (--bg, --surface, --text...)
 * set once per ground, so no rule below names a ground.
 *
 * Self-contained: loads no other site stylesheet. Values from the design system (Brand/design-system/project). The
 * accent is only ever var(--accent), so ?accent=orange or ?accent=cyan previews it as on index-v3.html.
 * Motion answers the visitor: the box turns when a question is answered, cards tilt and catch light under the
 * pointer. Nothing moves on its own, so nothing needs a pause control; under reduced motion nothing moves at all.
 * The previous paper-only version is in superseded/brief-paper-2026-11-29/. */

:root {
  --paper: #F3F3EF;
  --paper-2: #E8E8E3;
  --white: #FFFFFF;
  --black: #0B0B0B;
  --black-2: #171716;
  --black-3: #222220;
  --ink: #0B0B0B;
  --ink-2: #3A3A37;
  --ink-3: #64645E;
  --soft: #85857F;
  --on-dark: #FFFFFF;
  --on-dark-2: #C8C8C2;
  --on-dark-3: #8F8F88;
  --accent: #D2F53C;
  --accent-ink: #0B0B0B;
  --radius: 20px;
  --radius-m: 14px;
  --radius-s: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* The roles, on paper */
  --bg: var(--paper);
  --surface: var(--white);            /* raised: answer cards, the found cards, the review sheet */
  --field: #FCFCFA;                   /* the ground of a control */
  --well: var(--paper-2);             /* inset: quotes and fields inside a card */
  --text: var(--ink);
  --text-2: var(--ink-2);
  --text-3: var(--ink-3);
  --quiet: var(--soft);               /* the quiet half of a two-tone title */
  --line: rgba(11, 11, 11, 0.12);
  --line-2: rgba(11, 11, 11, 0.34);
  --pick: var(--ink);                 /* the edge of what the customer picked */
  --mark: var(--ink-3);               /* eyebrows and card labels */
  --focus: var(--ink);
  --prog: var(--ink);                 /* answered dashes */
  --prog-now: var(--ink-3);
  --chip-bg: var(--white);
  --glass: rgba(243, 243, 239, 0.82);
  --sheen: rgba(11, 11, 11, 0.035);   /* the light under the pointer on a card */
  --btn: var(--ink);
  --btn-ink: var(--white);
  --btn-hover: var(--black-3);
  --err: #B3261E;
  --ring: color-mix(in srgb, var(--accent) 45%, transparent);
  --ring-err: rgba(179, 38, 30, 0.18);
  --placeholder: #8F8F88;
}

/* The roles, on the studio stage. The error red is new for black (8.6:1 on black, 7.8:1 on black-2): the design
   system's error (#B3261E) is made for light grounds. */
html[data-stage="dark"] {
  color-scheme: dark;
  --bg: var(--black);
  --surface: var(--black-2);
  --field: var(--black-2);
  --well: var(--black-3);
  --text: var(--on-dark);
  --text-2: var(--on-dark-2);
  --text-3: var(--on-dark-3);
  --quiet: var(--on-dark-3);
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.36);
  --pick: var(--accent);
  --mark: var(--accent);
  --focus: var(--accent);
  --prog: var(--accent);
  --prog-now: var(--on-dark);
  --chip-bg: rgba(255, 255, 255, 0.06);
  --glass: rgba(11, 11, 11, 0.74);
  --sheen: rgba(255, 255, 255, 0.08);
  --btn: var(--paper);
  --btn-ink: var(--ink);
  --btn-hover: var(--white);
  --err: #FF8A7A;
  --ring: color-mix(in srgb, var(--accent) 26%, transparent);
  --ring-err: rgba(255, 138, 122, 0.22);
}
html[data-accent="orange"] { --accent: #FF6B2C; }
html[data-accent="cyan"] { --accent: #5ADCF5; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text-2); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }
::placeholder { color: var(--placeholder); opacity: 1; }

/* ---------- The stage: a light cone from above, and grain (the studio stage only) ---------- */
.st-stage { display: none; }
html[data-stage="dark"] .st-stage { display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
/* The cone is clipped sharp, then its parent blurs it soft (a filter applies before a clip, so they sit on two boxes) */
.st-light { position: absolute; top: 0; left: 50%; width: min(1240px, 170vw); height: min(94vh, 880px); translate: -50% 0; filter: blur(30px); }
.st-light::before { content: ""; position: absolute; inset: 0; clip-path: polygon(43% 0, 57% 0, 93% 100%, 7% 100%); background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06) 36%, rgba(255, 255, 255, 0.014) 76%, rgba(255, 255, 255, 0)); }
.st-light::after { content: ""; position: absolute; top: 34px; left: 50%; width: 20%; height: 14px; translate: -50% 0; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.st-grain { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.075 0 0 0 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E"); }

/* ---------- Top bar: home, progress by part (a glass dock), the package picked ---------- */
.st-top { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 68px; padding: 10px 24px; }
/* The frost sits on a pseudo-element, and only once the page scrolls (a backdrop filter on the bar itself would
   also trap the fixed children of a phone layout) */
.st-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .25s; }
.st-top.is-scrolled::before { opacity: 1; }
.st-home { justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.025em; }
.st-mark { width: 26px; height: 26px; fill: currentColor; overflow: visible; }
.st-mark__key { fill: var(--accent); }
/* Top right: the package picked and its price, as plain type. Proportional figures: the font's tabular comma is a
   full figure wide ("$3, 970"). */
.st-chip { justify-self: end; display: inline-flex; align-items: baseline; gap: 12px; margin: 0; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.st-chip__name { color: var(--text-2); }
.st-chip__price { color: var(--text); }

.st-phases { display: flex; gap: 20px; margin: 0; padding: 11px 22px 12px; list-style: none; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ph { display: grid; gap: 7px; min-width: 84px; }
.ph__label { font-size: 12.5px; font-weight: 500; color: var(--text-3); white-space: nowrap; transition: color .3s var(--ease); }
.ph.is-done .ph__label { color: var(--text-2); }
.ph.is-now .ph__label { color: var(--text); }
/* One line a part, out of focus until the part is finished, so nobody can count the questions left (the founder,
   2026-11-30). start.js sets --fill: how far the part in progress has come, eased so it moves most at first. A finished
   part comes into focus: a clean line in the answered colour. */
.ph__line { position: relative; display: block; height: 3px; border-radius: 2px; background: var(--line); filter: blur(1.5px); transition: filter .6s var(--ease); }
.ph__line i { position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--fill, 0) * 100%); border-radius: inherit; background: var(--prog-now); transition: width .7s var(--ease), background-color .4s var(--ease); }
.ph.is-done .ph__line { filter: none; }
.ph.is-done .ph__line i { background: var(--prog); }

/* ---------- The stage's centre: the black box on its floor ---------- */
.st-main { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 24px 96px; }
/* One size through the whole brief, every question and the thank-you screen alike, so only the tree in it grows (the
   founder, 2026-11-30: it must not change size). It is the largest that keeps every question's answers and button in
   view on laptops from 1280x650 to 1512x982 (measured; "what we read" and the review scroll, as before). It paints
   under the text (z-index -1 inside .st-main), so a title may overlap its floor. */
.st-box { --size: min(168px, 19vh); position: relative; z-index: -1; width: var(--size); aspect-ratio: 1; margin: 0 auto calc(var(--size) * -0.06); } /* it stands still: no drift with the pointer (the founder, 2026-11-30) */
.st-box__img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
/* the tree's canvas fades in on its first frame rather than popping in */
canvas.st-box__img { opacity: 0; transition: opacity .5s var(--ease); }
.st-box.is-drawn canvas.st-box__img { opacity: 1; }
/* The floor: a pool of the light where the box stands, and the box mirrored in it, fading within a quarter */
.st-box::before { content: ""; position: absolute; left: -14%; right: -14%; top: 79%; height: 26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035) 58%, rgba(255, 255, 255, 0)); }
.st-box__echo { position: absolute; left: 0; top: 86%; width: 100%; height: 100%; transform: scaleY(-1); opacity: 0.17; -webkit-mask-image: linear-gradient(to top, #000, transparent 28%); mask-image: linear-gradient(to top, #000, transparent 28%); }
html:not([data-stage="dark"]) .st-box::before, html:not([data-stage="dark"]) .st-box__echo { display: none; }
/* While the site is read: a viewfinder's four corners round the box */
.st-box__scan { --c: var(--mark); --l: 22px; --w: 2px; position: absolute; inset: 9% 5% 4%; z-index: 2; opacity: 0; transition: opacity .35s var(--ease);
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) left top / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) right top / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) left bottom / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) right bottom / var(--w) var(--l) no-repeat; }
.st-box.is-reading .st-box__scan { opacity: 1; }
.st-box.is-reading { margin-bottom: 12px; } /* the corners never touch the line below */

/* While the site is read: one quiet line under the box, no pill */
.st-reading { width: fit-content; margin: 0 auto 14px; font-size: 13.5px; color: var(--text-3); }
.st-reading[data-state="done"] { color: var(--text-2); }
.st-reading[data-state="failed"] { color: var(--err); }
.st-noscript { text-align: center; font-size: 17px; color: var(--text); }

/* ---------- One question ---------- */
.q { text-align: center; animation: st-in .5s var(--ease) both; }
.q__title { max-width: 17ch; margin: 0 auto 14px; font-size: clamp(32px, 4.3vw, 56px); font-weight: 500; line-height: 1.02; letter-spacing: -0.04em; color: var(--text); text-wrap: balance; }
.q__title:focus { outline: none; }
.q--wide .q__title { max-width: 24ch; }
/* Two-tone: the question, then its quiet half on a line of its own */
.q--two .q__title { max-width: none; font-size: clamp(30px, 3.6vw, 46px); }
.q__soft { display: block; color: var(--quiet); }
.q__lede { max-width: 52ch; margin: 0 auto 28px; font-size: 17px; color: var(--text-2); text-wrap: pretty; }
.q__title + .opts { margin-top: 30px; }
.q__fine { margin: 16px auto 0; font-size: 13.5px; color: var(--text-3); }
.q__err { max-width: 60ch; margin: 14px auto 0; font-size: 14.5px; font-weight: 500; color: var(--err); }
.q__err:empty { display: none; }
.q__nav { display: flex; justify-content: center; margin-top: 26px; }
.q__nav--col { flex-direction: column; align-items: center; gap: 14px; }
.q__sub { display: block; max-width: 560px; margin: 22px auto 8px; font-size: 14px; font-weight: 500; color: var(--text-2); text-align: left; }
.pair { max-width: 520px; margin: 0 auto; text-align: left; }
.pair .q__sub { margin: 18px 0 8px; }
.pair .q__sub:first-child { margin-top: 0; }
/* On wider screens the fields of a pair stand side by side, each label over its field */
@media (min-width: 721px) {
  .pair { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: minmax(0, 1fr); column-gap: 12px; max-width: 680px; }
  .pair .q__sub { margin-top: 0; }
  [data-step="signoff"] .pair { max-width: 820px; }
}
@keyframes st-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Typing ---------- */
.bar { display: flex; align-items: center; gap: 8px; max-width: 600px; margin: 0 auto; padding: 6px 6px 6px 24px; border-radius: 999px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.bar:focus-within { box-shadow: inset 0 0 0 1px var(--pick), 0 0 0 4px var(--ring); }
.bar input { flex: 1; min-width: 0; height: 52px; padding: 0; border: 0; background: none; font-size: 18px; color: var(--text); }
.bar input:focus { outline: none; }
.big, .field, .line, .ref-row input, .card textarea, .card input[type="url"], .card input[type="text"]:not(.card__name) { display: block; width: 100%; border: 1px solid var(--line); background: var(--field); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.big, .field { max-width: 640px; margin: 0 auto; padding: 16px 20px; border-radius: var(--radius); text-align: left; resize: vertical; }
.big { min-height: 124px; font-size: 19px; line-height: 1.45; }
.field { max-width: 560px; font-size: 16px; }
.line, .ref-row input { height: 52px; padding: 0 18px; border-radius: var(--radius-m); font-size: 16px; }
.q > .line { max-width: 560px; margin: 0 auto; }
/* Who is it for: the line Other opens */
.q__other { max-width: 560px; margin: 0 auto; }
.q__other .q__sub { margin-top: 26px; }
.big:focus, .field:focus, .line:focus, .ref-row input:focus, .card input:not([type="file"]):not(.card__name):focus, .card textarea:focus { outline: none; border-color: var(--pick); box-shadow: 0 0 0 4px var(--ring); }
[aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 4px var(--ring-err) !important; }
.bar input[aria-invalid="true"] { box-shadow: none !important; }
.bar:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 1px var(--err), 0 0 0 4px var(--ring-err); }
input[type="file"] { max-width: 100%; font-size: 14.5px; color: var(--text-2); }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: 500 14.5px var(--font); cursor: pointer; }
input[type="file"]::file-selector-button:hover { background: var(--well); }
html[data-stage="dark"] input:-webkit-autofill, html[data-stage="dark"] textarea:-webkit-autofill { -webkit-text-fill-color: var(--on-dark); caret-color: var(--on-dark); -webkit-box-shadow: 0 0 0 1000px var(--black-2) inset; transition: background-color 9999s; }

/* ---------- Buttons: pills, with an arrow in an accent disc ---------- */
.btn, .bar__go { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s var(--ease), filter .2s; }
.btn:hover, .bar__go:hover { background: var(--btn-hover); }
.btn:active, .bar__go:active { transform: scale(0.98); }
.btn:has(.btn__disc), .bar__go:has(.btn__disc) { padding-right: 8px; }
.btn__disc { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 16px/1 var(--font); }
.bar__go { min-height: 52px; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--chip-bg); }
.btn--send { min-height: 58px; padding-left: 30px; background: var(--accent); color: var(--accent-ink); font-size: 17px; }
.btn--send:hover { background: var(--accent); filter: brightness(1.07); }
.btn--send .btn__disc { background: var(--accent-ink); color: var(--accent); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.link { padding: 2px 0; border: 0; background: none; color: var(--text); font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; cursor: pointer; }
.link:hover { text-decoration-color: var(--pick); }
.link--s { font-size: 13px; }
/* Back sits top left of the stage, beside the box, so it never covers a long question's cards */
.st-nav { position: absolute; top: 10px; left: 24px; z-index: 3; }
.st-back { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 14px; border: 0; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 14.5px; font-weight: 500; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color .2s, box-shadow .2s; }
.st-back:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- Answer cards: they tilt toward the pointer and catch its light (set by start.js) ---------- */
.opts { display: grid; gap: 12px; margin: 0 auto; text-align: left; }
.opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1000px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 780px; }
/* four in the width of three, under a row of three (the voice's age under its gender), and the label above them */
.opts--4.opts--row3 { max-width: 780px; } /* two classes: stays the gender row's width where .opts--4 narrows */
.q__sub--row { max-width: 780px; margin-top: 30px; }
/* What "Your own voice" means, under the voice cards: always there, so it is clear before they pick it */
.q__own { max-width: 780px; margin: 14px auto 0; font-size: 14px; line-height: 1.5; color: var(--text-3); text-align: left; text-wrap: pretty; transition: color .3s var(--ease); }
.q__own.is-on { color: var(--text-2); }
/* Lengths: a centred row that wraps, so a last short row sits in the middle */
.opts--auto { display: flex; flex-wrap: wrap; justify-content: center; max-width: 940px; }
.opts--auto .opt { flex: 0 1 176px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: box-shadow .2s, transform .5s var(--ease); }
.opt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -30%), var(--sheen), rgba(255, 255, 255, 0) 62%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.opt:hover::after { opacity: 1; }
.opt:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.opt.is-on { box-shadow: inset 0 0 0 1.5px var(--pick); }
.opt input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
/* The number keys still pick options (1 to 9, in order); no badge shows them */
.opt__name { font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; color: var(--text); }
/* Explainer+: a bold, upright plus in the name's own colour (white on the dark cards), drawn as two bars, the same
   as on the home page (v3.css, which says why this size). The real "+" stays in the text for screen readers and copying;
   it is only hidden from view. */
.x-plus {
  position: relative; display: inline-block; width: 0.6em; height: 0.6em; margin-left: 0.06em; vertical-align: 0.02em;
  overflow: hidden; line-height: 0.6em; -webkit-text-fill-color: transparent;
}
.x-plus::before, .x-plus::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 0.015em; background: currentColor; transform: translate(-50%, -50%); }
.x-plus::before { width: 100%; height: 0.12em; }
.x-plus::after { width: 0.12em; height: 100%; }
.opt__price { font-size: 15px; font-weight: 500; color: var(--text-2); }
.opt__note { font-size: 14px; line-height: 1.45; color: var(--text-3); }
.opt--row { flex-direction: row; align-items: center; gap: 12px; padding: 16px 18px; }
.opt--row .opt__name { font-size: 17px; }

/* A package card: the studio's render of one example on a black-3 well (the kit's poster is composited on that same
   colour, so it meets the well with no seam). Pointing at it, or picking it, cuts the example open. */
.opt--pkg { padding: 8px 8px 18px; }
.opt--pkg .opt__name, .opt--pkg .opt__price, .opt--pkg .opt__note { padding-left: 10px; padding-right: 10px; }
.opt__media { position: relative; display: block; aspect-ratio: 16 / 10; margin: 0 0 10px; overflow: hidden; border-radius: var(--radius-m); background: var(--black-3); }
/* The four cards are the black box from one camera (Brand/3d/blackbox/blackbox.py --pkg), so one framing serves all four
   and the box keeps its size and place from card to card. Opaque bounds, measured 2026-11-30: the fully open box (Launch
   kit) is 0.92 of the still tall, its middle 0.49 across and 0.49 down; the sealed box is 0.60 tall, 0.54 down. At 96 %
   with its middle at 0.51 the open box clears the edges by about 1 % even with the hover zoom (1.06). */
.opt__media img { position: absolute; left: 50%; top: 50%; width: auto; height: 96%; aspect-ratio: 1; translate: -49% -51%; transition: scale .7s var(--ease); }
.opt--pkg:hover .opt__media img, .opt--pkg.is-on .opt__media img { scale: 1.06; }

/* A shape: an empty screen in that ratio, turned in space; it faces you when picked */
.shape { --w: 96px; --h: 54px; display: block; flex: none; width: var(--w); height: var(--h); margin: calc((92px - var(--h)) / 2) 0 calc((92px - var(--h)) / 2 + 2px) 4px; border-radius: 7px; background: var(--black-3); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55), inset 0 12px 18px -12px rgba(255, 255, 255, 0.35); transform: perspective(420px) rotateY(-26deg) rotateX(10deg); transform-origin: 30% 50%; transition: transform .6s var(--ease), box-shadow .3s; }
.shape--tall { --w: 44px; --h: 78px; }
.shape--square { --w: 64px; --h: 64px; }
.opt:hover .shape, .opt.is-on .shape { transform: perspective(420px) rotateY(-6deg) rotateX(3deg); }
.opt.is-on .shape { box-shadow: inset 0 0 0 2px var(--accent), inset 0 12px 18px -12px rgba(255, 255, 255, 0.35); }

/* ---------- What we read ---------- */
.found__wait { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 16px; margin: 0 auto; font-size: 15px; color: var(--text-2); }
.found { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 1000px; margin: 0 auto; text-align: left; }
.card { min-width: 0; padding: 20px 20px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.card--company { grid-column: 1 / -1; }
.card__label { margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mark); }
.card__name { display: block; width: 100%; padding: 2px 0 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--text); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; }
.card__name:focus { outline: none; border-bottom-color: var(--pick); }
.card__sub { display: block; margin: 16px 0 7px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.card__hint { margin: 10px 0 0; font-size: 13px; color: var(--text-3); }
.card__empty { margin: 0 0 4px; font-size: 14.5px; color: var(--text-3); }
.card textarea, .card input[type="url"], .card input[type="text"]:not(.card__name) { padding: 12px 14px; border-radius: var(--radius-s); background: var(--well); font-size: 15.5px; resize: vertical; }
.says { margin: 18px 0 0; }
.says__label { margin: 0 0 8px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.quotes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.quote { padding: 14px 16px; border-radius: var(--radius-s); background: var(--well); }
.quote__text { margin: 0 0 8px; font-size: 17px; line-height: 1.45; color: var(--text); }
.quote__src { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: 13px; color: var(--text-3); }
.quote__where::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--accent); vertical-align: 0; }
/* A logo on a plate: a light checkerboard, so a dark logo reads and a transparent one shows as transparent */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.logo-opt { position: relative; display: grid; gap: 8px; padding: 8px; border-radius: var(--radius-s); background: var(--well); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s; }
.logo-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.logo-opt.is-on { box-shadow: inset 0 0 0 1.5px var(--pick); }
.logo-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.logo-opt__well { display: grid; place-items: center; height: 76px; overflow: hidden; border-radius: 8px; background: repeating-conic-gradient(#DCDCD6 0 25%, #CBCBC4 0 50%) 0 0 / 12px 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.2); color: var(--ink-3); font-size: 18px; }
.logo-opt--none .logo-opt__well { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-3); }
.logo-opt__well img { display: block; max-width: 88%; max-height: 58px; object-fit: contain; }
.logo-opt__cap { font-size: 12.5px; line-height: 1.3; color: var(--text-3); }
.logo-opt.is-on .logo-opt__cap { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; max-width: 100%; padding: 5px 14px 5px 6px; border: 1px dashed var(--line-2); border-radius: 999px; background: transparent; color: var(--text-3); font-size: 14px; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
/* Kept: a solid edge in the text colour. The accent edge stays for the one answer picked, so the read's many
   colours and fonts don't turn the card lime. */
.chip[aria-pressed="true"] { border: 1px solid var(--line-2); background: var(--chip-bg); color: var(--text); }
.chip--font { padding-left: 14px; }
/* A colour as a lit bead: its face is the true colour, the rim catches light above and falls into shade below */
.chip__sw { flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 3px 4px rgba(255, 255, 255, 0.22), inset 0 -4px 6px rgba(0, 0, 0, 0.3); }
.chip[aria-pressed="false"] .chip__sw { opacity: 0.45; }
.chip__hex { font-weight: 500; font-variant-numeric: tabular-nums; }
/* On a narrow screen the role text gives way, never the font's name */
.chip__name { flex: 0 0 auto; max-width: 100%; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.chip__role { min-width: 0; overflow: hidden; color: var(--text-3); text-overflow: ellipsis; white-space: nowrap; }
/* Pictures, 3D and video from their site: each on the logo's light plate, with its type, page and own words in plain
   type, and a Remove link. A row of icons shows as one item, its icons side by side. */
.card--media { grid-column: 1 / -1; }
.card__lede { max-width: 62ch; margin: -4px 0 14px; font-size: 14.5px; color: var(--text-2); }
.media { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.media__item { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 8px 8px 12px; border-radius: var(--radius-s); background: var(--well); box-shadow: inset 0 0 0 1px var(--line); }
.media__well { display: grid; place-items: center; height: 128px; overflow: hidden; border-radius: 8px; background: repeating-conic-gradient(#DCDCD6 0 25%, #CBCBC4 0 50%) 0 0 / 12px 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.2); }
.media__well img { display: block; max-width: 94%; max-height: 116px; object-fit: contain; }
.media__well--set { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: 10px; }
.media__well--set img { width: 36px; height: 36px; }
.media__well--word { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-3); font-size: 15px; font-weight: 500; }
.media__body { flex: 1; min-width: 0; padding: 0 4px; }
.media__type { margin: 0 0 2px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.media__where, .media__words, .media__note { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--text-3); overflow-wrap: anywhere; }
.media__where a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.media__words { color: var(--text-2); }
.media__rm { align-self: flex-start; margin: 0 4px; }
.media__bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--text); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pick); cursor: pointer; }
.consent + .card__hint { margin-left: 28px; }
.review__note { color: var(--text-3); }
.films, .missing { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--text-2); }
.films li + li, .missing li + li { margin-top: 6px; }
.films a { overflow-wrap: anywhere; }

/* ---------- Files and references ---------- */
.drop { max-width: 560px; margin: 0 auto; padding: 28px 20px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }
.drop input[type="file"] { display: block; margin: 0 auto 12px; }
.drop__hint { margin: 0; font-size: 14px; color: var(--text-3); overflow-wrap: anywhere; }
.refs { display: grid; gap: 10px; max-width: 700px; margin: 0 auto 12px; text-align: left; }
.ref-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }

/* ---------- Review ---------- */
.review { max-width: 820px; margin: 0 auto; padding: 6px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.review__row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.review__row:first-child { border-top: 0; }
.review dt { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.review dd { margin: 0; font-size: 15.5px; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.review dd.is-empty { color: var(--text-3); }
.review__line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.review__line + .review__line { margin-top: 4px; }
.review__sw { display: inline-block; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 2px 3px rgba(255, 255, 255, 0.22), inset 0 -3px 4px rgba(0, 0, 0, 0.3); }
.review__logo { display: block; max-width: 120px; max-height: 40px; padding: 4px 6px; border-radius: 6px; background: repeating-conic-gradient(#DCDCD6 0 25%, #CBCBC4 0 50%) 0 0 / 10px 10px; object-fit: contain; }
.review__edit { font-size: 14px; }

/* ---------- Sent ---------- */
.done { max-width: 680px; margin: 0 auto; text-align: center; animation: st-in .6s var(--ease) both; }
.done:focus { outline: none; }
.done__eyebrow { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: var(--text-2); }
.done__title { margin: 0 0 14px; font-size: clamp(36px, 5vw, 60px); font-weight: 500; line-height: 1.02; letter-spacing: -0.04em; color: var(--text); }
.done__text { margin: 0 auto; max-width: 52ch; font-size: 18px; color: var(--text-2); }
.done__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 30px; }
.done__tool { margin: 18px 0 0; font-size: 13.5px; color: var(--text-3); }
.placeholder-note { max-width: 580px; margin: 22px auto 0; padding: 10px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius-s); font-size: 13.5px; color: var(--text-3); text-align: center; }

/* ---------- Touch, smaller screens, reduced motion ---------- */
@media (max-width: 960px) {
  .opts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
}

@media (max-width: 720px) {
  .st-top { grid-template-columns: 1fr auto; grid-template-areas: "home chip" "phases phases"; gap: 8px 14px; min-height: 0; padding: 10px 16px 12px; }
  .st-home { grid-area: home; font-size: 16px; }
  .st-mark { width: 24px; height: 24px; }
  .st-chip { grid-area: chip; gap: 8px; font-size: 13px; }
  .st-phases { grid-area: phases; gap: 10px; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ph { flex: 1 1 0; min-width: 0; gap: 6px; }
  .ph__label { overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; }
  .st-main { padding: 0 16px 56px; }
  .st-box { --size: min(104px, 13vh); }
  .q__title { max-width: none; margin-bottom: 10px; font-size: 31px; }
  .q--two .q__title { font-size: 27px; }
  .q__lede { margin-bottom: 20px; font-size: 16px; }
  .big { min-height: 104px; font-size: 18px; }
  .opts--3 { grid-template-columns: 1fr; max-width: 520px; }
  .opts--4.opts--row3, .q__sub--row, .q__own { max-width: 520px; } /* the voice's age keeps to the voice row's width */
  .opts--auto .opt { flex: 1 1 150px; } /* two lengths a row */
  .found { grid-template-columns: 1fr; }
  .card__name { font-size: 26px; }
  .review { padding: 2px 16px; }
  .review__row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .review dt { grid-column: 1 / -1; }
  .ref-row { grid-template-columns: 1fr; }
  .st-nav { top: 4px; left: 16px; }
  .st-back { padding: 7px 13px 7px 11px; font-size: 14px; }
  /* Ratio cards sit side by side as rows: the screen on the left */
  .opts--3 .opt:has(.shape) { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; align-items: center; padding: 10px 16px 10px 10px; }
  .opt:has(.shape) .shape { grid-row: 1 / 3; justify-self: center; margin: 0; }
  .opt:has(.shape) .opt__name { align-self: end; }
  .opt:has(.shape) .opt__note { align-self: start; }
}

@media (max-width: 520px) {
  /* Package cards become rows: the render on the left, the words on the right */
  .opts--4 { grid-template-columns: 1fr; }
  .opts--4.opts--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* short answers two a row: the lengths, the voice's age */
  .opt--pkg { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 12px; padding: 8px 12px 12px 8px; }
  .opt--pkg .opt__media { grid-row: 1 / 4; aspect-ratio: 1; margin: 0; align-self: start; }
  .opt--pkg .opt__name, .opt--pkg .opt__price, .opt--pkg .opt__note { grid-column: 2; padding-left: 0; padding-right: 0; }
  .opt--pkg .opt__name { padding-top: 6px; }
  .opt__note { font-size: 13.5px; }
  /* Pictures two a row, on smaller plates */
  .media { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .media__well { height: 96px; }
  .media__well img { max-height: 86px; }
  .media__well--set { gap: 6px; padding: 6px; }
  .media__well--set img { width: 26px; height: 26px; }
  /* A narrower button leaves the field room for "yourcompany.com" (the field stays 17px, so iOS doesn't zoom) */
  .bar { gap: 6px; padding-left: 18px; }
  .bar input { font-size: 17px; }
  .bar__go { gap: 8px; padding-left: 15px; }
  .bar__go:has(.btn__disc) { padding-right: 7px; }
  .bar__go .btn__disc { width: 32px; height: 32px; }
}

/* Short windows. A laptop browser is often 650-720px tall: the box gives way first, then spacing, so each question's
   answers and its button stay in view. The long screens (what we read, the review) scroll. */
@media (min-width: 721px) and (max-height: 820px) {
  .drop { padding: 18px 18px 16px; }
  [data-step="assets"] .field { height: 76px; }
}
@media (min-width: 721px) and (max-height: 720px) {
  .st-box { --size: min(168px, 14vh); }
  .q--two .q__title { font-size: clamp(30px, 3.2vw, 40px); }
  .q__lede { margin-bottom: 20px; }
  .big { min-height: 104px; }
}
@media (max-width: 720px) and (max-height: 700px) {
  .st-box { --size: min(104px, 10vh); }
  .opt--row { padding-top: 12px; padding-bottom: 12px; }
  .drop { padding: 18px 16px 16px; }
  [data-step="assets"] .field { height: 76px; }
  .line, .ref-row input { height: 48px; }
  .pair .q__sub { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .q, .done { animation: none; }
  *, *::before, *::after { transition: none !important; }
  .opt { transform: none; }
}
