/* BriseStream Studio: a full-screen, calm app on Nuit. One thing at a time, the work (the screens) as the hero.
   Self-contained on purpose: it reads no other stylesheet of the site, so a redesign elsewhere cannot break it.
   Charter v1.0 tokens: Nuit grounds, Brise-clair for the one action, Inter. Motion is short and stops under
   prefers-reduced-motion. */

:root {
  --bg: #0B1726;
  --bg-deep: #07111D;
  --panel: #102238;
  --panel-2: #152B44;
  --line: #1F3A57;
  --line-soft: #172F49;
  --line-strong: #2F4E6F;
  --text: #F4F8FB;
  --muted: #A9B8C9;
  --faint: #8499AF;
  --accent: #2DD4BF;
  --accent-hover: #5EE6D4;
  --accent-ink: #06141F;
  --accent-soft: rgba(45, 212, 191, .13);
  --stream: #8FA4FF;
  --warn: #FFC46B;
  --err: #FF9A8F;
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar-h: 56px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; overflow: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ol, ul, figure, dl { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
[hidden] { display: none !important; }
::selection { background: #2DD4BF55; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

/* ---- Shell ---- */
.shell { height: 100dvh; display: grid; grid-template-rows: var(--bar-h) minmax(0, 1fr); }
.bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 0 24px; border-bottom: 1px solid var(--line-soft); background: var(--bg); position: relative; z-index: 5; }
.brand img { height: 24px; width: auto; }
#app { min-height: 0; overflow: auto; position: relative; outline: none; }
.who { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.who a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.who a:hover { color: var(--text); }
.who a svg { width: 18px; height: 18px; }
.who .me { display: flex; align-items: center; gap: 10px; color: var(--text); }
.who .me img, .who .mono { width: 28px; height: 28px; border-radius: 50%; }
.who .mono { display: grid; place-items: center; background: var(--panel-2); font-style: normal; font-weight: 600; font-size: 13px; }
.who .me span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The progress, in the bar: the brief's six steps, then the design's three stages. */
.progress { display: flex; justify-content: center; min-width: 0; }
.steps { display: flex; align-items: center; gap: 4px; }
.steps button, .steps .stage { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px; background: none; border: 0; color: var(--faint); font: 500 13px/1 "Inter", sans-serif; white-space: nowrap; }
.steps button:hover { color: var(--text); background: var(--panel); }
.steps .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; flex: none; }
.steps .n svg { width: 12px; height: 12px; }
.steps .done { color: var(--muted); }
.steps .done .n, .steps .stage.done .n { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.steps [aria-current] { color: var(--text); background: var(--panel); }
.steps [aria-current] .n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.stages .stage { cursor: default; }
@media (max-width: 1180px) { .steps button:not([aria-current]) .name, .steps .stage:not([aria-current]) .name { display: none; } .steps button, .steps .stage { padding: 0 6px; } .steps [aria-current] { padding-right: 12px; } }

/* ---- Buttons and controls ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 600 15px/1 "Inter", sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { border-color: var(--muted); background: var(--panel); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.primary:focus-visible { outline-color: #fff; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.icon-only { width: 44px; padding: 0; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #06141F55; border-top-color: #06141F; animation: spin .8s linear infinite; }
.btn:not(.primary) .spin { border-color: #ffffff44; border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #2DD4BF66; }
.link:hover { text-decoration-color: currentColor; }
.link:disabled { color: var(--faint); text-decoration: none; cursor: default; }
.loader { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; margin: 0 auto 8px; }
.row { display: flex; gap: 10px; align-items: center; }
.row .input { flex: 1; }
.row-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.grow { flex: 1; }
.tag { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 600 11px/1.6 "Inter", sans-serif; letter-spacing: .02em; vertical-align: 2px; }
.tag svg { width: 11px; height: 11px; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--panel-2); color: var(--muted); font-size: 12px; font-weight: 600; }
.badge.now, .badge.done, .badge.paid { background: var(--accent-soft); color: var(--accent); }
.error { color: var(--err); font-size: 14px; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-m); background: #FFC46B1c; color: var(--warn); font-size: 14px; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.fine { color: var(--faint); font-size: 13px; line-height: 1.5; }
.fine a { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--line-strong); padding: 12px 20px; border-radius: 999px; font-size: 14px; z-index: 50; animation: rise .3s var(--ease); box-shadow: 0 12px 40px #0008; }

.input, .textarea { width: 100%; background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: 13px 14px; font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; }
.input.xl { font-size: 24px; font-weight: 600; letter-spacing: -.02em; padding: 16px 18px; border-radius: var(--r-m); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .textarea:hover { border-color: var(--muted); }
.input:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #2DD4BF33; }
.field { display: grid; gap: 8px; }
.field > label, .legend { font: 600 16px/1.35 "Inter", sans-serif; letter-spacing: -.005em; }
.legend.big { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; line-height: 1.2; }
.legend.small { font-size: 14px; }
.field > label.sub { font-weight: 500; font-size: 14px; color: var(--muted); }
.hint { color: var(--muted); font-size: 15px; line-height: 1.5; }
.hint svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.why { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.why svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--accent); }
.group { display: grid; gap: 10px; align-content: start; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.counter { color: var(--muted); font-size: 14px; }
.counter b { color: var(--text); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.big { gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: transparent; border: 1px solid var(--line-strong); font: 500 15px/1 "Inter", sans-serif; transition: background .15s, border-color .15s, color .15s, transform .15s var(--ease); }
.chips.big .chip { min-height: 54px; padding: 0 24px; font-size: 18px; }
.chip:hover { border-color: var(--muted); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"], .chip[aria-checked="true"], .chip.on { background: var(--accent-soft); border-color: var(--accent); color: #fff; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip.add { border-style: dashed; color: var(--muted); }
.chip.add input, .chip.on input { background: none; border: 0; outline: none; width: 110px; padding: 0; color: inherit; }
.chip.add:focus-within { border-style: solid; border-color: var(--accent); color: var(--text); }
.chip.pick { padding-left: 12px; }
.chip.pick .mark { display: grid; width: 16px; height: 16px; flex: none; }
.chip.pick .mark svg { grid-area: 1 / 1; transition: opacity .15s, transform .15s var(--ease); }
.chip.pick .mark svg:first-child { opacity: .55; }
.chip.pick .mark svg:last-child { opacity: 0; transform: scale(.5); color: var(--accent); }
.chip.pick[aria-pressed="true"] .mark svg:first-child { opacity: 0; transform: rotate(90deg) scale(.5); }
.chip.pick[aria-pressed="true"] .mark svg:last-child { opacity: 1; transform: none; }
.chip.decide { color: var(--muted); border-style: dashed; }
.chip.decide svg { color: var(--accent); }
.chip.decide[aria-pressed="true"] { border-style: solid; color: #fff; }
.link-chip { justify-content: space-between; flex: 1; overflow: hidden; }
.link-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

details { border-top: 1px solid var(--line-soft); }
details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text); }
details summary::-webkit-details-marker { display: none; }
details summary small { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; margin-top: 2px; }
details summary > svg { width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease); flex: none; }
details[open] > summary > svg { transform: rotate(180deg); }
details[open] { display: grid; gap: 14px; padding-bottom: 18px; }

/* Switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--muted); }
.switch input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; margin: 0; cursor: pointer; transition: background .2s; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(16px); background: var(--accent-ink); }
.switch b { font-weight: 600; color: var(--text); }

/* ---- Pages: welcome, home, packs, payment wait, stopped ---- */
.page { min-height: 100%; display: grid; place-items: center; padding: 48px 24px; }
.page-col { width: min(620px, 100%); display: grid; gap: 20px; align-content: start; }
.page.centered .page-col { text-align: center; justify-items: center; }
.page h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; outline: none; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--muted); }
.pack-list { display: grid; gap: 10px; }
.pack-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line-soft); color: var(--text); text-decoration: none; transition: border-color .15s, transform .2s var(--ease); }
.pack-row:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.pack-row > span:first-child { flex: 1; display: grid; }
.pack-row small { color: var(--muted); font-size: 13px; }
.pack-row svg { width: 18px; height: 18px; color: var(--faint); }

.hero { min-height: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(24px, 4vw, 56px) clamp(24px, 5vw, 72px) 0; max-width: 1480px; margin: 0 auto; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; outline: none; }
.note { color: var(--muted); font-size: 14px; }
.note.closed { padding: 14px 16px; border-radius: var(--r-m); background: var(--panel); font-size: 15px; }
.showcase { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: var(--bg-deep); box-shadow: 0 40px 90px -30px #000c, 0 0 0 1px #ffffff14; }
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: cycle 20s infinite; animation-delay: calc(var(--i) * 5s); }
.showcase img:first-child { opacity: 1; }
.showcase p { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; font-size: 13px; color: #fff; background: linear-gradient(transparent, #060E18d0); }
@keyframes cycle { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
.path { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 28px 0 32px; margin-top: 32px; border-top: 1px solid var(--line-soft); counter-reset: p; }
.path li { counter-increment: p; display: grid; gap: 4px; align-content: start; font-size: 14px; color: var(--muted); }
.path li b { color: var(--text); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.path li b::before { content: counter(p); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 12px; flex: none; }
.path li span { padding-left: 34px; line-height: 1.45; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 32px; padding-top: 28px; align-content: start; }
  .path { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
}
@media (max-width: 520px) { .path { grid-template-columns: 1fr; } }

/* ---- The brief ---- */
.brief { display: grid; grid-template-columns: minmax(0, 1fr) 380px; height: 100%; }
.b-main { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.b-scroll { overflow: auto; }
.b-col { width: min(720px, 100%); margin: 0 auto; padding: clamp(28px, 5vh, 64px) clamp(20px, 3vw, 40px) 56px; display: grid; box-sizing: border-box; }
.step { display: grid; gap: 36px; }
.step.enter { animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sheet-head { display: grid; gap: 10px; }
.sheet-head .count { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sheet-head h1 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; outline: none; text-wrap: balance; }
.dock { display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 32px); padding-bottom: max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); background: var(--bg); }
.saved { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; }
.saved i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.saved.busy i { background: var(--warn); animation: pulse 1s infinite; }
.saved.off i { background: var(--err); }
.empty-hint { color: var(--muted); font-size: 14px; }
.sum-open { display: none; }
aside.summary { border-left: 1px solid var(--line-soft); background: var(--bg-deep); padding: clamp(24px, 4vh, 48px) 28px; overflow: auto; display: grid; gap: 14px; align-content: start; }
.brief[data-step="5"] { grid-template-columns: 1fr; }
.brief[data-step="5"] aside.summary { display: none; }
.summary h2 { font-size: 18px; letter-spacing: -.02em; font-weight: 650; }
.meter { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .5s var(--ease); }
.meter-text { color: var(--muted); font-size: 13px; margin-top: -6px; }
.sum-list { display: grid; gap: 2px; margin: 6px -10px 0; }
.sum-list button { width: 100%; display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; row-gap: 2px; text-align: left; background: none; border: 0; padding: 10px; border-radius: var(--r-s); color: var(--text); }
.sum-list button:hover { background: var(--panel); }
.sum-list .dot { grid-row: 1 / 3; width: 20px; height: 20px; border-radius: 50%; border: 1.5px dashed var(--line-strong); display: grid; place-items: center; margin-top: 2px; }
.sum-list .set .dot { border: 0; background: var(--accent); color: var(--accent-ink); }
.sum-list .dot svg { width: 12px; height: 12px; }
.sum-list .k { color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.sum-list .v { font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; }
.summary em { font-style: normal; color: var(--faint); }
.sum-tip { display: flex; gap: 8px; padding: 12px; border-radius: var(--r-m); background: var(--accent-soft); font-size: 13.5px; color: var(--text); }
.sum-tip svg { width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: 2px; }
.sws { display: inline-flex; gap: 5px; }
.sws i, .sw { width: 18px; height: 18px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px #ffffff33; vertical-align: -4px; }
.mini { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: var(--panel-2); }
.sheet-body { padding: 20px; display: grid; gap: 14px; }

@media (max-width: 1100px) {
  .brief { grid-template-columns: minmax(0, 1fr); }
  aside.summary { display: none; }
  .sum-open { display: inline-flex; }
}

/* Platforms */
.platforms { display: grid; gap: 10px; }
.platform { display: flex; align-items: center; gap: 12px; }
.platform .logo { width: 22px; height: 22px; background: var(--muted); flex: none; }
.platform .tag { margin: 0; flex: none; }
.rm { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; background: none; color: var(--faint); display: grid; place-items: center; }
.rm:hover { background: var(--panel); color: var(--text); }
.rm svg { width: 16px; height: 16px; }

/* Pictures: one drop target per slot */
.drops { display: grid; gap: 16px; }
.drops.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drops.one { grid-template-columns: 1fr; }
.drop { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line-soft); }
.drop h3 { font-size: 16px; letter-spacing: -.01em; }
.drop.is-none { opacity: .55; }
.zone { position: relative; display: grid; place-items: center; gap: 8px; min-height: 140px; padding: 20px; text-align: center; border-radius: var(--r-m); border: 1.5px dashed var(--line-strong); color: var(--muted); font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.zone:hover, .zone.over { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.zone.over { border-style: solid; }
.zone svg { width: 28px; height: 28px; color: var(--accent); }
.zone b { color: var(--text); }
.zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.zone:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.drop.has .zone { min-height: 72px; padding: 12px; }
.drop.has .zone svg { display: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { position: relative; width: 96px; height: 96px; border-radius: var(--r-m); overflow: hidden; background: repeating-conic-gradient(#14283f 0% 25%, #0f2034 0% 50%) 50% / 16px 16px; }
.drop.has .thumb:only-child { width: 100%; height: 150px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.loading { opacity: .5; }
.thumb button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: #060E18d0; color: #fff; display: grid; place-items: center; }
.thumb button:hover { background: #000; }
.thumb button svg { width: 14px; height: 14px; }
.drop-error { color: var(--err); font-size: 14px; }
.none { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; cursor: pointer; }
.none input { accent-color: var(--accent); width: 16px; height: 16px; }
.avatar-offer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-m); border: 1px solid var(--line-strong); background: var(--panel-2); text-align: left; width: 100%; color: var(--text); }
.avatar-offer img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-offer span { flex: 1; display: grid; font-size: 14px; }
.avatar-offer small { color: var(--muted); font-size: 12.5px; }
.avatar-offer > svg { width: 18px; height: 18px; color: var(--accent); }
button.avatar-offer:hover { border-color: var(--accent); }
.avatar-offer.used { border-color: transparent; }
.paste-tip { display: flex; gap: 8px; align-items: center; color: var(--faint); font-size: 13.5px; margin-top: -18px; }
.paste-tip svg { width: 16px; height: 16px; flex: none; }
.links { display: grid; gap: 8px; }

/* Colours */
.dimmed { opacity: .4; pointer-events: none; }
#colour-tools { display: grid; gap: 16px; }
.slots { display: flex; gap: 10px; }
.slot { width: 40px; height: 40px; border-radius: 50%; border: 1.5px dashed var(--line-strong); display: grid; place-items: center; padding: 0; }
.slots.big .slot { width: 64px; height: 64px; }
.slot.filled { border: 0; box-shadow: inset 0 0 0 1px #ffffff33; color: #fff; }
.slot.filled svg { width: 16px; height: 16px; opacity: 0; filter: drop-shadow(0 0 2px #000); transition: opacity .15s; }
.slot.filled:hover svg, .slot.filled:focus-visible svg { opacity: 1; }
.palette { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px #ffffff33; transition: transform .15s var(--ease); position: relative; }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.from-logo { display: grid; gap: 8px; }
.from-logo .swatch { width: 44px; height: 44px; }
.color-target { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-soft); justify-self: start; }
.color-target button { height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.color-target button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); }
.custom-color { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.custom-color input { width: 36px; height: 36px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }

/* Option cards: camera, shape, screens */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.options.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.option { position: relative; display: grid; gap: 10px; align-content: start; text-align: left; padding: 14px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line-soft); transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--line-strong); }
.option .pic { width: 100%; height: 64px; color: var(--muted); }
.scenes .option .pic { height: auto; aspect-ratio: 16 / 9; color: var(--text); }
.option > span:last-child { display: grid; gap: 2px; font-size: 15px; }
.option small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.option .tick { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.option .tick svg { width: 13px; height: 13px; }
.option[aria-pressed="true"], .option[aria-checked="true"] { border-color: var(--accent); background: var(--panel-2); }
.option[aria-pressed="true"] .tick, .option[aria-checked="true"] .tick { opacity: 1; transform: none; }
.option[aria-pressed="true"] .pic, .option[aria-checked="true"] .pic { color: var(--accent); }
.scenes .option[aria-pressed="false"] { opacity: .55; }

/* Moods */
.moods { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.mood { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; border: 0; padding: 0; background: var(--bg-deep); }
.mood img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mood:hover img { transform: scale(1.04); }
.mood .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; text-align: left; font-weight: 600; font-size: 14px; color: #fff; background: linear-gradient(transparent, #060E18e8); }
.mood .tick { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.mood .tick svg { width: 14px; height: 14px; }
.mood[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.mood[aria-pressed="true"] .tick { opacity: 1; transform: none; }
.mood[aria-disabled="true"] { opacity: .45; }
.scales { display: grid; gap: 20px; }
.scale .ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.scale .row { gap: 14px; }
.scale input[type=range] { flex: 1; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line) var(--p)); }
.scale.unset input[type=range] { background: var(--line); }
.scale input[type=range]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px #0008; cursor: pointer; }
.scale input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; cursor: pointer; }
.scale .reset { font-size: 13px; min-width: 70px; text-align: right; }

/* Recap and checkout */
.recap { border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line-soft); overflow: hidden; }
.recap li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 20px; }
.recap li + li { border-top: 1px solid var(--line-soft); }
.recap .k { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.recap .v { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.recap em { font-style: normal; color: var(--faint); }
.checkout { display: grid; gap: 18px; padding: 28px; border-radius: var(--r-l); background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price .num { font-size: 48px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price small { color: var(--muted); font-size: 14px; }
.checkout ul { display: grid; gap: 8px; }
.checkout li { display: flex; gap: 10px; font-size: 15px; }
.checkout li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.waiver { display: flex; gap: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.waiver input { accent-color: var(--accent); width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* ---- Live screens ---- */
.live { position: absolute; inset: 0; background: #07080c; overflow: hidden; }
.live .poster { width: 100%; height: 100%; object-fit: cover; }
.live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s; background: #07080c; }
.live.on iframe { opacity: 1; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000; box-shadow: 0 30px 70px -30px #000d, 0 0 0 1px #ffffff12; }
.player .frame { position: absolute; inset: 0; }
.tools { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 4; align-items: center; }
.tool { display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 14px; justify-content: center; border-radius: 999px; background: #060E18c4; backdrop-filter: blur(10px); border: 1px solid #ffffff24; color: #fff; font: 600 13px/1 "Inter", sans-serif; transition: background .15s; }
.tool:hover { background: #060E18f0; }
.tool svg { width: 18px; height: 18px; flex: none; }
.tool[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.versions { display: inline-flex; padding: 3px; border-radius: 999px; background: #060E18c4; backdrop-filter: blur(10px); border: 1px solid #ffffff24; }
.versions button { height: 32px; padding: 0 14px; border-radius: 999px; border: 0; background: none; color: #fff; font-weight: 600; font-size: 13px; }
.versions button[aria-pressed="true"] { background: #fff; color: #06141F; }
.pins, .catch { position: absolute; inset: 0; z-index: 3; }
.pins { pointer-events: none; }
.catch { cursor: crosshair; background: #2DD4BF0a; box-shadow: inset 0 0 0 2px #2DD4BF88; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 14px/30px "Inter", sans-serif; text-align: center; box-shadow: 0 0 0 3px #06141F, 0 6px 16px #000a; animation: pop .3s var(--ease); }
@keyframes pop { from { transform: translate(-50%, -50%) scale(.3); opacity: 0; } }
.player:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; display: grid; place-items: center; container-type: size; box-shadow: none; }
.player:fullscreen .frame { position: relative; inset: auto; width: min(100cqw, 100cqh * 16 / 9); height: auto; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .fit { container-type: size; }
  .fit .player { width: 100%; height: 100%; aspect-ratio: auto; display: grid; place-items: center; container-type: size; background: transparent; box-shadow: none; overflow: visible; border-radius: 0; }
  .fit .player .frame { position: relative; inset: auto; width: min(100cqw, 100cqh * 16 / 9); height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000; box-shadow: 0 30px 70px -30px #000d, 0 0 0 1px #ffffff12; }
  .fit .player .tools { right: max(12px, calc((100cqw - 100cqh * 16 / 9) / 2 + 12px)); bottom: max(12px, calc((100cqh - 100cqw * 9 / 16) / 2 + 12px)); }
}
.live-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r-s); overflow: hidden; background: #000; }
.viewer { border: 0; padding: 0; background: #000; width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
.viewer::backdrop { background: #000; }
.viewer .v-body { width: 100%; height: 100%; }
.viewer .player { aspect-ratio: auto; width: 100%; height: 100%; display: grid; place-items: center; container-type: size; border-radius: 0; box-shadow: none; }
.viewer .player .frame { position: relative; inset: auto; width: min(100cqw, 100cqh * 16 / 9); aspect-ratio: 16 / 9; height: auto; }
.viewer > .close { position: absolute; top: 14px; right: 14px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff30; background: #060E18cc; color: #fff; display: grid; place-items: center; }
.close svg { width: 18px; height: 18px; }
.sheet { border: 0; padding: 0; width: min(560px, 100vw); max-width: 100vw; max-height: 86dvh; margin: auto auto 0; border-radius: var(--r-l) var(--r-l) 0 0; background: var(--bg-deep); color: var(--text); }
.sheet::backdrop { background: #000a; }
.sheet-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--bg-deep); border-bottom: 1px solid var(--line-soft); font-weight: 650; }
.sheet .close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--text); display: grid; place-items: center; }

/* ---- The designer speaks ---- */
.say { display: flex; gap: 14px; align-items: flex-start; }
.say .av { width: 38px; height: 38px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.say .av img { width: 18px; height: 18px; }
.say p { display: grid; gap: 4px; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.say .who { color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* ---- The designer at work ---- */
.work { min-height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 20px; padding: clamp(20px, 3vh, 36px) clamp(16px, 3vw, 40px) 20px; max-width: 1360px; margin: 0 auto; }
.work-copy { display: grid; gap: 8px; max-width: 880px; }
.work-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 #2DD4BF66; } 50% { box-shadow: 0 0 0 8px #2DD4BF00; } }
.work h1 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; outline: none; text-wrap: balance; }
.w-line { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; max-width: 760px; }
.w-line.quote { color: var(--text); }
.swap { animation: fade .6s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.work-stage { min-height: min(44vh, 440px); position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; }
.work-stage .caption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.sketch { width: 100%; max-width: 760px; margin: auto; }
.sketch .frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); background: var(--panel); color: var(--faint); overflow: hidden; border: 1px solid var(--line); }
.sketch .pic { width: 100%; height: 100%; }
.scan { position: absolute; top: 0; bottom: 0; width: 30%; left: -30%; background: linear-gradient(90deg, transparent, #2DD4BF22, transparent); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { to { left: 100%; } }
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { display: grid; gap: 8px; min-width: 0; align-content: start; }
.tile .face { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border-radius: var(--r-s); overflow: hidden; border: 1px solid var(--line); background: var(--panel); color: var(--faint); transition: border-color .15s, transform .2s var(--ease); }
.tile button.face:hover { border-color: var(--muted); transform: translateY(-2px); }
.tile .face img, .tile .face .pic { width: 100%; height: 100%; object-fit: cover; }
.tile .cap { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; min-width: 0; }
.tile .cap > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .tag { margin: 0; padding: 0; background: none; color: var(--faint); font-size: 12px; font-weight: 500; flex: none; letter-spacing: 0; display: inline-flex; gap: 4px; align-items: center; }
.tile.drawn .tag { color: var(--warn); }
.tile.approved .tag { color: var(--accent); }
.tile.approved .face { border-color: #2DD4BF77; }
.tile.retouch .tag { color: var(--stream); }
.tile.todo .face { border-style: dashed; }
.tile.current .face { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.work-foot { display: grid; gap: 4px; color: var(--muted); font-size: 14px; padding-top: 8px; }
.work-foot p:first-child { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.work-foot svg { width: 18px; height: 18px; flex: none; }
.notify-form { display: grid; gap: 8px; max-width: 520px; }
.notify-form label { display: flex; gap: 10px; align-items: center; }
.notify-form label svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .work-stage .player { height: 100%; } }

/* ---- Cards ---- */
.card { height: 100%; }
.card-count { color: var(--faint); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card.kind-question, .card.kind-reply { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-content: center; align-items: start; max-width: 1240px; margin: 0 auto; padding: clamp(28px, 7vh, 88px) clamp(20px, 4vw, 48px); height: auto; min-height: 100%; }
.q-left { display: grid; gap: 28px; position: sticky; top: 24px; }
.q-left .say p { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; letter-spacing: -.02em; }
.q-shown { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.q-shown figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.q-right { display: grid; gap: 22px; align-content: start; min-width: 0; }
.q-progress { display: flex; gap: 6px; }
.q-progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.q-progress i.ok { background: #2DD4BF66; }
.q-progress i.on { background: var(--accent); }
.q-field { min-height: 180px; animation: rise .35s var(--ease); }
.qfield { display: grid; gap: 14px; }
.qfield .legend { outline: none; }
.qfield.decided .body { opacity: .4; }
.qfield .body { display: grid; gap: 14px; }
.qfield .textarea { min-height: 120px; font-size: 18px; }

.card.kind-directions { display: grid; grid-template-columns: minmax(0, 1fr) 400px; height: 100%; }
.d-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; padding: 20px clamp(16px, 2.5vw, 32px); min-height: 0; min-width: 0; }
.d-main .say p { font-size: 17px; }
.d-stage { min-height: 0; position: relative; }
.d-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
.d-thumbs button { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 8px; border-radius: var(--r-m); border: 1px solid var(--line-soft); background: var(--panel); transition: border-color .15s; }
.d-thumbs button[aria-selected="true"] { border-color: var(--accent); background: var(--panel-2); }
.d-thumbs img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.d-thumbs span { display: grid; font-size: 14px; min-width: 0; }
.d-thumbs b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-thumbs small { color: var(--accent); font-size: 12.5px; }
.d-panel { border-left: 1px solid var(--line-soft); background: var(--bg-deep); padding: 28px; display: grid; gap: 18px; align-content: start; overflow: auto; }
.d-panel h2 { font-size: 30px; line-height: 1.1; letter-spacing: -.03em; }
.d-note { color: var(--muted); font-size: 16px; line-height: 1.55; }
.none-block { display: grid; gap: 12px; justify-items: start; }

.card.kind-review { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
.card.kind-review.retouching { grid-template-columns: minmax(0, 1fr) 400px; }
.rv-main { display: flex; flex-direction: column; gap: 14px; padding: 18px clamp(16px, 2.5vw, 32px) 10px; min-height: 0; min-width: 0; }
.rv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.rv-top .say p { font-size: 16px; line-height: 1.45; max-width: 780px; }
.rv-count { color: var(--muted); font-size: 14px; white-space: nowrap; padding-top: 4px; }
.rv-stage { flex: 1; min-height: 0; position: relative; }
.strip.small { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.strip.small .cap { font-size: 12px; }
.rv-panel { display: none; border-left: 1px solid var(--line-soft); background: var(--bg-deep); padding: 24px; overflow: auto; gap: 18px; align-content: start; }
.retouching .rv-panel { display: grid; }
.rv-panel h2 { font-size: 22px; letter-spacing: -.02em; }
.pins-list { display: grid; gap: 10px; }
.pins-list li { display: flex; gap: 10px; align-items: center; }
.pins-list .n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.card.kind-review .dock { grid-column: 1 / -1; flex-wrap: wrap; }
.dock-nav { display: flex; gap: 8px; }
.validated { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.validated svg { width: 16px; height: 16px; color: var(--accent); }
.dock .error { flex-basis: 100%; }

@media (max-width: 899px) {
  .card.kind-directions, .card.kind-review, .card.kind-review.retouching { display: block; height: auto; }
  .d-main, .rv-main { padding: 16px; }
  .d-thumbs { grid-template-columns: 1fr; }
  .d-panel { border-left: 0; border-top: 1px solid var(--line-soft); }
  .card.kind-question, .card.kind-reply { grid-template-columns: 1fr; gap: 28px; padding: 24px 18px 48px; }
  .q-left { position: static; }
  .rv-panel { border-left: 0; border-top: 1px solid var(--line-soft); }
  .card.kind-review .dock { position: sticky; bottom: 0; z-index: 5; }
  .strip.small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-top { flex-direction: column; gap: 6px; }
}

/* ---- Delivery ---- */
.done { max-width: 1240px; margin: 0 auto; padding: clamp(24px, 5vh, 56px) clamp(16px, 3vw, 40px) 80px; display: grid; gap: 36px; }
.done-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.done-head > div { flex: 1; min-width: 260px; display: grid; gap: 6px; }
.done-head h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.04; outline: none; }
.done .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.done .ok svg { width: 28px; height: 28px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery figure { display: grid; gap: 10px; }
.gallery .hero-shot { grid-column: 1 / -1; }
.gallery figcaption { font-weight: 600; font-size: 15px; }
.how h2 { font-size: 22px; margin-bottom: 16px; letter-spacing: -.02em; }
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: h; }
.howto li { counter-increment: h; padding: 20px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line-soft); display: grid; gap: 10px; color: var(--muted); align-content: start; }
.howto li::before { content: counter(h); width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.history ol { display: grid; gap: 14px; padding: 4px 0 8px; }
.history li { display: grid; gap: 6px; padding-left: 14px; border-left: 2px solid var(--line); font-size: 14.5px; }
.history .q { font-weight: 600; }
.history .a { color: var(--muted); }
.history .shots { display: flex; gap: 8px; flex-wrap: wrap; }
.history .shots img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
@media (max-width: 800px) { .gallery, .howto { grid-template-columns: 1fr; } }

/* ---- Small screens ---- */
@media (max-width: 760px) {
  .bar { padding: 0 14px; gap: 10px; }
  .brand img { height: 20px; }
  .who { gap: 10px; }
  .who .packs-link span, .who .out, .who .me span { display: none; }
  .drops.two { grid-template-columns: minmax(0, 1fr); }
  .steps button:not([aria-current]) { display: none; }
  .options, .options.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recap li { grid-template-columns: 1fr auto; row-gap: 4px; }
  .recap .v { grid-column: 1 / -1; grid-row: 2; }
  .dock { gap: 8px; padding: 10px 14px; }
  .dock .btn { padding: 0 14px; gap: 6px; }
  .dock > * { min-width: 0; }
  .dock .saved span, .dock .empty-hint { display: none; }
  .tool span { display: none; }
  .tool { padding: 0; width: 40px; }
  .checkout { padding: 20px; }
  .input.xl { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .showcase img:not(:first-child) { display: none; }
}
.work-stage > .fit { min-height: 0; }

.drop, .drops > *, .thumbs { min-width: 0; }
.thumb { max-width: 100%; }
