/* ═══════════════════════════════════════════════════════════════════════════
   CG3D — workshop theme: graphite build plate, faint layer lines, logo blue + gold paint
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;
  --bg: #0d0e10;
  --bg-2: #131418;
  --panel: #18191e;
  --panel-2: #1f2127;
  --line: #2a2c34;
  --line-2: #3a3d47;
  --text: #ede8df;
  --muted: #a5a097;
  --dim: #6f6b65;
  --blue: #5b8cf5;
  --blue-2: #3d6cc4;
  --gold: #e8b54c;
  --paint: #ff4d6d;
  --slate: #7d8597;
  --ok: #5fd39a;

  --radius: 16px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 5vw, 64px);
  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 92% -8%, rgba(91, 140, 245, .13), transparent 60%),
    radial-gradient(900px 520px at -12% 38%, rgba(232, 181, 76, .06), transparent 60%),
    var(--bg);
  overflow-x: hidden;
}
/* printed layer lines */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .022) 0 1px, transparent 1px 5px);
}
/* film grain */
body::after {
  content: '';
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── Buttons & chips ─────────────────────────────────────────────────────── */
.btn {
  --bh: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--bh); padding: 0 1.2em;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { --bh: 38px; font-size: .92rem; padding: 0 1em; }
.btn-lg { --bh: 56px; font-size: 1.05rem; padding: 0 1.6em; }
.btn-primary { background: var(--blue); color: #08142e; box-shadow: 0 8px 28px -10px rgba(91, 140, 245, .8); }
.btn-primary:hover { background: #7aa3ff; box-shadow: 0 10px 34px -8px rgba(91, 140, 245, .9); }
.btn-primary:disabled, .btn-primary:disabled:hover { background: var(--line-2); color: var(--muted); box-shadow: none; opacity: 1; cursor: not-allowed; }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .06); }
.btn-text { background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.btn-text:hover { color: var(--text); }
.btn[disabled] { opacity: .4; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .45em .9em; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--panel);
  font-size: .9rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--text); }
.chip.on, .chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: #08142e; }

/* ── Logo ────────────────────────────────────────────────────────────────── */
.logo {
  display: inline-flex; align-items: baseline;
  padding: .18em .5em .2em; border-radius: 7px;
  background: #f3f1ec; color: #141414;
  font: 500 1.35rem/1 var(--body); letter-spacing: .03em; text-decoration: none;
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .8);
}
.logo span { color: var(--blue-2); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50; min-height: 68px;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(13, 14, 16, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 900px) { .nav nav { display: none; } .nav-ig { margin-left: auto; } }

/* ── Top: headline + quote builder over the workshop photo ──────────────── */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font: 600 .78rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #d6d0c6; margin: 0 0 14px; }
.stars { color: var(--gold); letter-spacing: .08em; }
.top {
  margin-top: -68px; padding-top: 68px; /* run the photo up behind the sticky nav */
  background-image:
    linear-gradient(to bottom, rgba(13, 14, 16, .5) 0%, rgba(13, 14, 16, .8) 40%, var(--bg) 85%),
    url("../img/studio-printers.webp");
  background-size: cover; background-position: center 40%; background-repeat: no-repeat;
}
.top-inner { max-width: 1280px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 0; }
.top-head { margin-bottom: clamp(22px, 3vw, 34px); }
.top h1 { margin: 0; font: 900 clamp(2.6rem, 7vw, 5.4rem)/.9 var(--display); text-transform: uppercase; }
.ht-print {
  display: inline-block; color: transparent;
  background: repeating-linear-gradient(to bottom, #d8d4cc 0 4px, #8f8b85 4px 5px);
  -webkit-background-clip: text; background-clip: text;
}
@media (prefers-reduced-motion: no-preference) {
  .ht-print { animation: print 1.25s steps(14, end) .2s both; }
}
@keyframes print { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--gutter) 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section h2, .band h2 {
  margin: 0; font: 800 clamp(2.1rem, 4.2vw, 3.4rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .002em;
}
.sub { color: var(--muted); max-width: 40em; margin: 18px 0 0; font-size: 1.05rem; }
.link-out { color: var(--blue); font-weight: 600; text-decoration: none; }
.link-out:hover { text-decoration: underline; text-underline-offset: 4px; }

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Gallery ─────────────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
@media (max-width: 520px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 16px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters .chip { flex: none; }
}
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; } }
.g-item {
  display: block; width: 100%; aspect-ratio: 1; padding: 0; margin: 0;
  position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--panel); cursor: zoom-in;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item.out { display: none; }

/* ── Quote builder ───────────────────────────────────────────────────────── */
.q-note {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: -20px 0 22px; padding: 10px 16px; border-radius: 12px;
  background: rgba(91, 140, 245, .1); border: 1px solid rgba(91, 140, 245, .35); color: #cddbff; font-size: .95rem;
}
.q-note button { background: none; border: 0; color: var(--blue); text-decoration: underline; cursor: pointer; padding: 0; }
.q-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.q-main {
  border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: clamp(18px, 3vw, 34px);
}

/* progress = print bed with a moving nozzle */
.q-progress { list-style: none; margin: 0 0 30px; padding: 0 0 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; position: relative; }
.q-progress::before, .q-progress::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 4px; }
.q-progress::before { right: 0; background: var(--line); }
.q-progress::after {
  width: var(--pct, 0%); transition: width .5s var(--ease);
  background: repeating-linear-gradient(90deg, var(--blue) 0 6px, #7aa3ff 6px 8px);
}
.q-progress .nozzle {
  position: absolute; bottom: 6px; left: var(--pct, 0%); width: 14px; height: 12px; margin-left: -7px;
  background: var(--text); clip-path: polygon(0 0, 100% 0, 100% 45%, 65% 100%, 35% 100%, 0 45%);
  transition: left .5s var(--ease);
}
.q-progress button {
  width: 100%; background: none; border: 0; padding: 4px 2px; cursor: pointer; text-align: left;
  color: var(--dim); font-size: .82rem; font-weight: 600; line-height: 1.2;
}
.q-progress button b { display: block; font: 600 .7rem/1 var(--mono); margin-bottom: 4px; }
.q-progress button.done { color: var(--muted); }
.q-progress button.now { color: var(--text); }
.q-progress button.now b { color: var(--blue); }
.q-progress button:disabled { cursor: default; }
@media (max-width: 640px) { .q-progress button span { display: none; } .q-progress button.now span { display: inline; } }

.q-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-step legend { padding: 0; margin-bottom: 20px; font: 800 clamp(1.7rem, 3.4vw, 2.3rem)/1 var(--display); text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) { .q-step:not([hidden]) { animation: step-in .45s var(--ease); } }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile-img { aspect-ratio: 16 / 11; }
  .tile-label { padding: 8px 10px 10px; font-size: .86rem; }
  .q-main { padding: 14px; border-radius: 18px; }
}
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile-body {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--panel-2);
  transition: border-color .2s, transform .25s var(--ease), box-shadow .2s;
}
.tile-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-img .q-mark { font: 900 3rem/1 var(--display); color: var(--line-2); }
.tile-label { padding: 10px 12px 12px; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.tile:hover .tile-body { border-color: var(--text); transform: translateY(-2px); }
.tile input:checked + .tile-body { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue), 0 14px 30px -14px rgba(91, 140, 245, .7); }
.tile input:focus-visible + .tile-body { outline: 2px solid var(--blue); outline-offset: 3px; }

/* generic option cards */
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.choices.four { grid-template-columns: repeat(4, 1fr); }
.choices.finishes { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .choices.four, .choices.finishes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .choices, .choices.four, .choices.finishes { grid-template-columns: 1fr; } }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.c-body {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: 14px 16px 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--panel-2);
  transition: border-color .2s, background .2s;
}
.c-body b { font-weight: 600; }
.c-body small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.c-body .tier { font: 600 .78rem/1 var(--mono); color: var(--gold); letter-spacing: .06em; margin-top: 6px; }
.c-body .tier i { color: var(--line-2); font-style: normal; }
.choice:hover .c-body { border-color: var(--text); }
.choice input:checked + .c-body { border-color: var(--blue); background: rgba(91, 140, 245, .1); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + .c-body { outline: 2px solid var(--blue); outline-offset: 3px; }
.c-body .default-tag { font: 600 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }

.src-panel { margin-top: 4px; }
.drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 34px 20px; border: 1.5px dashed var(--line-2); border-radius: 16px; cursor: pointer;
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 255, 255, .015) 12px 24px);
  transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop.over { border-color: var(--blue); background-color: rgba(91, 140, 245, .07); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 1.2rem; margin-bottom: 6px; }
.drop small { color: var(--muted); max-width: 32em; }
.drop.has-file { padding: 14px 20px; flex-direction: row; justify-content: center; }
.drop.has-file .drop-icon, .drop.has-file small { display: none; }

.model { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 14px; }
@media (max-width: 700px) { .model { grid-template-columns: 1fr; } }
.viewer {
  position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 35%, #2a2d35, #111216 75%);
  touch-action: none;
}
.viewer canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.viewer-msg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font: 500 .85rem var(--mono); }
.viewer-tag { position: absolute; left: 10px; bottom: 8px; font: 600 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); pointer-events: none; }
.readout {
  margin: 0; display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 10px 14px;
  padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: #0f1013;
  font: 400 .88rem/1.3 var(--mono);
}
.readout dt { color: var(--dim); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; padding-top: 2px; }
.readout dd { margin: 0; color: var(--text); }
.readout .warn { grid-column: 1 / -1; color: var(--gold); font-family: var(--body); font-size: .85rem; }

.field { display: block; margin: 0 0 18px; }
.field > span:first-child { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; }
.field small { color: var(--muted); font-weight: 400; }
.input, .field input[type="text"], .field input[type="url"], .field textarea, .date, .stepper input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #0f1013; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea, textarea.input { resize: vertical; min-height: 72px; }
.src-panel > .input { display: block; margin-bottom: 12px; }
.input:focus, .field input:focus, .field textarea:focus, .date:focus, .stepper input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91, 140, 245, .25); }
.hint { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.hint b { color: var(--text); font-weight: 600; }
.link-badge { margin: -8px 0 14px; font-size: .9rem; color: var(--ok); }
.link-badge.bad { color: var(--gold); }
.browse { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }


/* size */
.size { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: center; }
@media (max-width: 640px) { .size { grid-template-columns: 1fr; } .compare { max-width: 340px; margin: 0 auto; } }
.size-value { margin: 0 0 6px; font: 900 3.4rem/1 var(--display); }
.size-value small { font: 500 .85rem var(--body); color: var(--muted); margin-left: 4px; }
.size-value.auto output { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.compare { width: 100%; height: auto; }
.compare text { font: 600 9px var(--mono); fill: var(--muted); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill, 50%), var(--line) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--text); border: 4px solid var(--blue); box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 4px solid var(--blue); }

.sub-opts { margin-top: 8px; padding: 18px; border-radius: 14px; border: 1px dashed var(--line-2); }
.slider output { color: var(--gold); font-family: var(--mono); margin-left: 6px; }

/* segmented radios */
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--panel-2); font-size: .93rem; font-weight: 500; transition: all .2s;
}
.seg span small { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }
.seg label:hover span { border-color: var(--text); }
.seg input:checked + span { background: var(--blue); border-color: var(--blue); color: #08142e; }
.seg input:checked + span small { color: #13244d; }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.date { max-width: 220px; margin-top: 10px; color-scheme: dark; }

/* quantity */
.qty { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 22px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: #0f1013; }
.stepper button { width: 48px; height: 48px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; }
.stepper button:hover { background: var(--panel-2); }
.stepper input { width: 70px; border: 0 !important; border-radius: 0; text-align: center; font: 600 1.2rem var(--mono); padding: 10px 0; box-shadow: none !important; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.ladder { margin: 0; font: 400 .86rem/1.5 var(--mono); color: var(--muted); }
.ladder b { color: var(--gold); font-weight: 600; }

/* send */
.send-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .send-grid { grid-template-columns: 1fr; } }
.preview-label { margin: 0 0 8px; font-weight: 600; font-size: .95rem; }
.preview {
  margin: 0; padding: 14px 16px; max-height: 300px; overflow: auto; white-space: pre-wrap; word-break: break-word;
  border-radius: 12px; border: 1px solid var(--line); background: #0f1013; font: 400 .8rem/1.55 var(--mono); color: #cfc9bf;
}
.attach { padding: 12px 14px; border-radius: 12px; background: rgba(232, 181, 76, .08); border: 1px solid rgba(232, 181, 76, .35); color: #f0d79f; font-size: .9rem; margin: 0; }
.send-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 22px 0 14px; }
.send-btn {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; cursor: pointer; text-align: left;
  border: 1px solid var(--line-2); background: var(--panel-2); text-decoration: none; font-weight: 600;
  transition: transform .2s var(--ease), border-color .2s, background .2s;
}
.send-btn:hover { transform: translateY(-2px); border-color: var(--text); }
.send-btn small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.send-btn .ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; font-weight: 700; }
.send-btn.ig .ico { background: radial-gradient(circle at 30% 110%, #fdd36b 0%, #f56040 35%, #c13584 65%, #5851db 100%); }
.send-btn.fb .ico { background: #1877f2; }
.send-btn.mail .ico { background: var(--gold); color: #1b1407; }
.send-btn.wa .ico { background: #25d366; color: #052e16; }
.send-btn.sms .ico { background: var(--ok); color: #082015; }
.send-btn.primary { border-color: var(--blue); background: rgba(91, 140, 245, .12); }
.send-extra { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.q-nav:has(#next[hidden]) { justify-content: flex-start; }
.q-count { font: 600 .78rem var(--mono); color: var(--dim); letter-spacing: .1em; }

/* "I have a picture" checkbox card */
.check {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel-2); transition: border-color .2s, background .2s;
}
.check:hover { border-color: var(--text); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 2px solid var(--line-2); display: grid; place-items: center; cursor: pointer; }
.check input::after { content: '✓'; font-size: .8rem; font-weight: 700; color: #08142e; opacity: 0; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { opacity: 1; }
.check:has(input:checked) { border-color: var(--blue); background: rgba(91, 140, 245, .1); }
.check span { display: flex; flex-direction: column; gap: 2px; }
.check small { color: var(--muted); font-size: .86rem; }
.hint a { color: var(--blue); font-weight: 600; text-decoration: none; }
.hint a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* details step */
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 640px) { .details-grid { grid-template-columns: 1fr; } }
.details-grid .qty { margin-bottom: 0; }
.ladder { margin-top: 10px; font-size: .78rem; }
.ladder span, .ladder b { white-space: nowrap; }
.send-note { margin: -4px 0 14px; font-size: .85rem; color: var(--muted); }
.msg-details { margin-bottom: 12px; }
.msg-details summary { cursor: pointer; color: var(--muted); font-size: .9rem; font-weight: 600; width: max-content; }
.msg-details summary:hover { color: var(--text); }
.msg-details .preview { margin-top: 10px; }

/* custom sizes beyond the presets */
.size-custom { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; }
.size-custom .input { width: 110px; font: 600 1.05rem var(--mono); }
.lt-num { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: var(--muted); font: 400 .9rem var(--mono); }
.lt-num input {
  width: 72px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: #0f1013;
  color: var(--gold); font: 600 .9rem var(--mono); -moz-appearance: textfield;
}
.lt-num input:focus { outline: none; border-color: var(--blue); }

/* ── Job ticket ──────────────────────────────────────────────────────────── */
.ticket { position: sticky; top: 92px; }
.ticket-body {
  position: relative; padding: 22px 22px 20px; border-radius: 18px;
  background: #f1ede6; color: #18171a;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
  /* perforated stub edge */
  -webkit-mask: radial-gradient(circle 7px at 0 47px, transparent 98%, #000), radial-gradient(circle 7px at 100% 47px, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.ticket-head {
  display: flex; justify-content: space-between; padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 2px dashed #c9c3b8; font: 600 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6c665c;
}
.ticket-rows { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: .9rem; }
.ticket-rows dt { font: 600 .68rem/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8a8378; }
.ticket-rows dd { margin: 0; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ticket-rows dd.empty { color: #b3ac9f; font-weight: 400; }
.ticket-rows dd small { display: block; font: 400 .74rem/1.4 var(--mono); color: #7b7468; }
.ticket-price { margin: 18px -22px 0; padding: 16px 22px; background: #18171a; color: var(--text); }
.tk-label { margin: 0 0 6px; font: 600 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8a8378; }
.ticket-price .tk-label { color: var(--muted); }
.tk-price { margin: 0; font: 900 2.5rem/1 var(--display); color: var(--gold); transition: transform .25s var(--ease); }
.tk-price.empty { font: 600 1.05rem/1.3 var(--body); color: var(--muted); }
.tk-price.bump { transform: scale(1.05); }
.tk-unit { margin: 6px 0 0; font: 400 .8rem/1.3 var(--mono); color: var(--muted); }
.tk-unit:empty { display: none; }
.breakdown { margin-top: 16px; }
.bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #ddd7cc; }
.bar span { height: 100%; transition: width .5s var(--ease); }
.legend { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: .78rem; color: #4d4840; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.legend b { margin-left: auto; font: 600 .74rem var(--mono); color: #6c665c; }
.k-material { background: var(--blue-2); }
.k-machine { background: var(--slate); }
.k-paint { background: var(--paint); }
.k-design { background: var(--gold); }
.disclaimer { margin: 16px 0 0; font-size: .78rem; line-height: 1.45; color: #5d574e; }
.disclaimer b { color: #18171a; }
.ticket-peek { display: none; }

@media (max-width: 960px) {
  .q-layout { grid-template-columns: minmax(0, 1fr); } /* minmax(0,…) stops wide rows (chips) stretching the page */
  .ticket {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; top: auto;
    transform: translateY(calc(100% - 64px)); transition: transform .45s var(--ease);
    max-height: 82svh; display: flex; flex-direction: column;
    pointer-events: none;
  }
  .ticket.live { pointer-events: auto; }
  .ticket:not(.live) { transform: translateY(110%); }
  .ticket.open { transform: none; }
  .ticket-peek {
    display: flex; align-items: center; gap: 12px; width: 100%; height: 64px; padding: 0 20px; flex: none;
    border: 0; border-radius: 18px 18px 0 0; cursor: pointer;
    background: #18171a; color: var(--text); box-shadow: 0 -10px 40px rgba(0, 0, 0, .6); border-top: 1px solid var(--line-2);
  }
  .tp-label { font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .tp-price { font: 900 1.6rem/1 var(--display); color: var(--gold); }
  .tp-toggle { margin-left: auto; color: var(--muted); transition: transform .3s; }
  .ticket.open .tp-toggle { transform: rotate(180deg); }
  .ticket-body { border-radius: 0; overflow: auto; -webkit-mask: none; mask: none; }
  .quote { padding-bottom: 40px; }
}

/* ── Custom lettering ────────────────────────────────────────────────────── */
.lt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
@media (max-width: 900px) {
  /* phones: preview first so it's visible while typing, then controls, then price + send */
  .lt-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lt-side { display: contents; }
  .lt-viewer { order: -1; }
  .lt-summary, .lt-note, .lt-actions, .lt-send { order: 1; }
  .lt-summary { margin: 0; }
  .lt-note { margin: -8px 0 0; }
  .lt-send { margin-top: 0; }
}
.lt-controls { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.lt-controls .field:last-child { margin-bottom: 0; }
.lt-fonts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 420px) { .lt-fonts { grid-template-columns: repeat(2, 1fr); } }
.lt-font {
  padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2);
  font-size: .95rem; line-height: 1.15; cursor: pointer; transition: border-color .2s, background .2s;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.lt-font:hover { border-color: var(--text); }
.lt-font[aria-checked="true"] { border-color: var(--blue); background: rgba(91, 140, 245, .12); box-shadow: inset 0 0 0 1px var(--blue); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); background: var(--c); cursor: pointer; padding: 0; }
.swatch[aria-checked="true"] { outline: 2px solid var(--blue); outline-offset: 3px; }
.swatch.metal { box-shadow: inset 0 1px 2px rgba(255, 255, 255, .7), inset 0 -2px 3px rgba(0, 0, 0, .35), 0 0 10px -2px var(--c); }
.lt-viewer { aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 42%, #50545e, #24262c 70%, #18191d); }
.lt-summary { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0 4px; }
.lt-summary .tk-label { color: var(--muted); }
.lt-dims { margin: 0; font: 500 1rem/1.3 var(--mono); }
.lt-price { margin: 0; font: 900 2.2rem/1 var(--display); color: var(--gold); text-align: right; }
.lt-note { margin: 4px 0 16px; font-size: .8rem; color: var(--dim); }
.lt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lt-send { margin-top: 16px; padding: 18px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); }
.lt-status { margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.lt-status:empty { display: none; }
.lt-status.ok { color: var(--ok); }
.lt-status.err { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tile-link { text-decoration: none; color: inherit; }
.lt-tile-art { font: 400 2.6rem/1 'Pacifico', 'Brush Script MT', cursive; color: var(--gold); background: radial-gradient(circle at 50% 40%, #2a2d35, #15161a); }

/* ── Model browser (search + tap a model, or paste a MakerWorld link) ───── */
.mb-search { display: flex; gap: 8px; margin-bottom: 10px; }
.mb-search .input { flex: 1; min-width: 0; }
.mb-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 12px; }
.mb-chips::-webkit-scrollbar { display: none; }
.mb-chips .chip { flex: none; font-size: .85rem; padding: .35em .85em; }
.mb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mb-card {
  display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel-2);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.mb-card:hover { border-color: var(--text); transform: translateY(-2px); }
.mb-card[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.mb-img { display: block; aspect-ratio: 4 / 3; background: #f4f3f0; overflow: hidden; }
.mb-img img { width: 100%; height: 100%; object-fit: cover; }
.mb-name {
  padding: 8px 10px 10px; font-size: .82rem; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2.5em + 18px);
}
.mb-card[aria-pressed="true"] .mb-name::before { content: '✓ '; color: var(--blue); }
.mb-card.skeleton { aspect-ratio: 1 / 1; border-color: var(--line); background: linear-gradient(90deg, var(--panel-2) 30%, #2a2d35 50%, var(--panel-2) 70%) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.mb-more { display: flex; margin: 12px auto 0; }
.mb-msg { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.mb-alt { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.mb-alt p { margin: 0 0 8px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.mb-paste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-radius: 14px; transition: box-shadow .3s, background .3s, padding .3s; }
.mb-paste .mb-link { flex: 1 1 180px; min-width: 0; padding: 9px 12px; }
.mb-paste.nudge { padding: 8px; background: rgba(232, 181, 76, .07); box-shadow: 0 0 0 2px var(--gold); }
@media (max-width: 520px) {
  .mb-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mb-paste > .btn-ghost { flex: 1 1 100%; }
}

/* model preview dialog */
.mp {
  width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: min(860px, calc(100svh - 32px));
  padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--panel); color: var(--text); overflow: hidden;
}
.mp[open] { display: flex; flex-direction: column; }
.mp::backdrop { background: rgba(6, 6, 8, .8); backdrop-filter: blur(4px); }
.mp-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-content: start; overflow: auto; }
.mp-media { display: flex; flex-direction: column; min-width: 0; background: #f4f3f0; }
.mp-main-wrap { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.mp-main { width: 100%; height: 100%; object-fit: contain; }
.mp-main-wrap { position: relative; }
.mp-3d { position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, #2a2d35, #111216 75%); }
.mp-3d canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.mp-3d-btn { justify-self: start; margin: 4px 0 14px; }
.mp-status {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(13, 14, 16, .85); color: #fff; font-size: .85rem; display: grid; gap: 6px;
}
.mp-bar-track { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.mp-bar-track i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .2s; }
.mp-files { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: var(--panel-2); scrollbar-width: none; }
.mp-files .chip { flex: none; font-size: .78rem; padding: .3em .75em; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-drop {
  display: block; margin-top: 10px; padding: 12px; border: 1.5px dashed var(--line-2); border-radius: 12px; cursor: pointer;
  text-align: center; color: var(--muted); font-size: .88rem; transition: border-color .2s, background .2s;
}
.mb-drop:hover, .mb-drop.over { border-color: var(--blue); background: rgba(91, 140, 245, .07); color: var(--text); }
.mp-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: var(--panel-2); scrollbar-width: none; }
.mp-thumbs:empty { display: none; }
.mp-thumb { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.mp-thumb[aria-pressed="true"] { border-color: var(--blue); }
.mp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mp-info { padding: 22px 24px 24px; overflow: auto; }
.mp-name { margin: 0 0 6px; padding-right: 36px; font: 800 1.7rem/1.05 var(--display); text-transform: uppercase; }
.mp-meta { margin: 0 0 14px; color: var(--muted); font: 400 .82rem var(--mono); }
.mp-desc { white-space: pre-wrap; overflow-wrap: anywhere; color: #d6d0c6; font-size: .92rem; line-height: 1.55; }
.mp-more { margin-top: 8px; padding: 0; }
.mp-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg-2); }
.mp-ext { margin-right: auto; color: var(--muted); font-size: .85rem; text-decoration: none; }
.mp-ext:hover { color: var(--text); }
.mp-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(13, 14, 16, .75); color: #fff; font-size: 1rem; cursor: pointer;
}
@media (max-width: 720px) {
  .mp { width: 100vw; height: 100svh; max-height: 100svh; margin: 0; border: 0; border-radius: 0; }
  .mp-body { grid-template-columns: minmax(0, 1fr); } /* minmax(0,…): a long row of file chips scrolls instead of stretching the column */
  .mp-info { overflow: visible; }
  .mp-back { display: none; }
  .mp-select { flex: 1 1 auto; }
}

/* the chosen model, shown above the browser */
.picked {
  display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 14px;
  border: 1px solid var(--blue); border-radius: 14px; background: rgba(91, 140, 245, .1);
}
.picked img, .picked-ph { flex: none; width: 72px; height: 54px; border-radius: 8px; object-fit: cover; background: #f4f3f0; }
.picked-ph { display: grid; place-items: center; background: var(--blue); color: #08142e; font-weight: 700; }
.picked-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.picked-info small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.picked-info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picked-info a { color: var(--blue); font-size: .85rem; text-decoration: none; }

/* "Pick a model" section */
.pick-steps { list-style: none; margin: -12px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.pick-steps li { display: flex; align-items: center; gap: 8px; }
.pick-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font: 600 .78rem var(--mono); color: var(--gold); }
.pick-steps li.on { color: var(--text); }
.pick-steps li.on b { background: var(--blue); border-color: var(--blue); color: #08142e; }
#pick-browser { padding: clamp(14px, 3vw, 24px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }

/* Finish step: describe the paint job, optional AI preview */
.paint-desc { margin-top: 16px; padding: 18px; border-radius: 14px; border: 1px dashed var(--line-2); }
.paint-desc .chips { margin-top: 0; }
.paint-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .paint-row { grid-template-columns: 1fr; } }
.ai-try summary { width: max-content; max-width: 100%; cursor: pointer; color: var(--blue); font-weight: 600; font-size: .92rem; }
.ai-try summary small { color: var(--muted); font-weight: 400; }
.ai-try .preview { margin: 10px 0; font-size: .78rem; }
.ai-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* Instagram links (top of the page + nav) */
.top-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.top-meta .eyebrow { margin: 0; }
.ig-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(13, 14, 16, .45); backdrop-filter: blur(6px);
  color: var(--text); font-weight: 600; font-size: .88rem; text-decoration: none; transition: background .2s;
}
.ig-link:hover { background: rgba(255, 255, 255, .12); }
.ig-ico {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='4.5' y='4.5' width='15' height='15' rx='4.5'/%3E%3Ccircle cx='12' cy='12' r='3.4'/%3E%3Ccircle cx='16.6' cy='7.4' r='.7' fill='white' stroke='none'/%3E%3C/svg%3E") center / 70% no-repeat, radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 95%);
}
.nav-ig { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s; }
.nav-ig:hover { background: rgba(255, 255, 255, .08); }
.nav-ig .ig-ico { width: 28px; height: 28px; border-radius: 9px; }

/* ── Photo band: paint it yourself ───────────────────────────────────────── */
.band { margin-top: clamp(72px, 10vw, 130px); background-size: cover; background-position: center; background-repeat: no-repeat; }
.band-inner { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.band-paint {
  background-image:
    linear-gradient(to bottom, var(--bg) 0%, rgba(13, 14, 16, .5) 25%, rgba(13, 14, 16, .5) 75%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13, 14, 16, .92) 0%, rgba(13, 14, 16, .65) 55%, rgba(13, 14, 16, .35) 100%),
    url("../img/studio-paint.webp");
}
.band-paint .sub { color: #d6d0c6; max-width: 30em; }
.band-paint .btn { margin-top: 24px; }

/* ── Reviews (redacted Marketplace screenshots) ──────────────────────────── */
.review-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.review-shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.review-shots img:nth-child(2) { transition-delay: .08s; }
.review-shots img:nth-child(3) { transition-delay: .16s; }
@media (max-width: 820px) {
  .review-shots {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .review-shots::-webkit-scrollbar { display: none; }
  .review-shots img { flex: 0 0 82%; scroll-snap-align: center; }
}
.link-out .stars { margin-right: 4px; }

/* ── Makers ──────────────────────────────────────────────────────────────── */
.makers-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px 40px; align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: 24px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(120deg, var(--blue), var(--gold), var(--paint)) border-box;
  border: 1.5px solid transparent;
}
.makers-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.mk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mk-steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.mk-steps b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); font: 600 .85rem var(--mono); color: var(--gold); }
.mk-ctas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) { .makers-card { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  max-width: 1280px; margin: clamp(80px, 10vw, 130px) auto 0; padding: 36px var(--gutter) 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; border-top: 1px solid var(--line);
}
.footer p { margin: 0; font-size: .92rem; }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Floating CTA (mobile) ───────────────────────────────────────────────── */
.fab {
  position: fixed; z-index: 55; right: 16px; bottom: 16px; display: none;
  padding: 14px 20px; border-radius: 999px; background: var(--blue); color: #08142e; font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(91, 140, 245, .8);
  transition: transform .35s var(--ease), opacity .3s;
}
@media (max-width: 900px) { .fab { display: block; } }
.fab.hide, .fab.at-top, .fab.in-tool { transform: translateY(120px); opacity: 0; pointer-events: none; }

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.lightbox {
  width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 6, 8, .94); color: var(--text);
}
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-height: 78svh; max-width: 100%; width: auto; border-radius: 10px; }
.lightbox figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; text-align: center; max-width: 720px; padding: 0 12px; }
.lightbox figcaption b { font: 800 1.4rem/1.1 var(--display); text-transform: uppercase; flex-basis: 100%; }
.lightbox figcaption span { color: var(--muted); }
.lightbox figcaption a { color: var(--blue); text-decoration: none; font-weight: 600; }
.lb-nav, .lb-close { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.lb-nav { width: 48px; height: 48px; font-size: 1.8rem; justify-self: center; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; font-size: 1.1rem; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 640px) { .lightbox[open] { grid-template-columns: 1fr; } .lb-nav { display: none; } }

/* ── Toast ───────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px));
  padding: 12px 18px; border-radius: 12px; background: var(--text); color: #141414; font-weight: 600; font-size: .95rem;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .8); max-width: calc(100vw - 32px); text-align: center;
  visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease); }
@media (max-width: 960px) { .toast { bottom: 84px; } }

/* Email app chooser */
.mail-pick {
  border: 1px solid var(--line, #333); border-radius: 18px; padding: 20px; width: min(340px, calc(100vw - 32px));
  background: var(--panel, #17171b); color: inherit; display: none;
}
.mail-pick[open] { display: grid; gap: 10px; }
.mail-pick::backdrop { background: rgb(0 0 0 / .55); }
.mail-pick-title { margin: 0 0 4px; font-weight: 600; }
.mail-pick .btn { justify-content: center; text-align: center; }

/* Lettering colours in the quote's Finish step */
.lt-colour-notes { margin-top: 16px; }

/* Picked option: picture blurs and an arrow appears; tapping it again (or Next) moves on */
.tile-img, .c-body { position: relative; }
.tile-img img { transition: filter .3s, transform .3s var(--ease); }
.tile input:checked + .tile-body .tile-img img { filter: blur(4px) brightness(.55); transform: scale(1.06); }
.go-arrow {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #08142e; font: 700 1.35rem/1 var(--body); border: 0; padding: 0;
  box-shadow: 0 8px 24px -8px rgba(91, 140, 245, .9);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.tile-img .go-arrow { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); }
.tile input:checked + .tile-body .go-arrow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.c-body { padding-right: 52px; }
.c-body .go-arrow { right: 10px; top: 50%; width: 34px; height: 34px; font-size: 1.05rem; transform: translateY(-50%) scale(.6); }
.choice input:checked + .c-body .go-arrow { opacity: 1; transform: translateY(-50%) scale(1); }
.picked { position: relative; }
.picked-go { position: static; opacity: 1; pointer-events: auto; cursor: pointer; flex: none; margin-left: auto; }
#size-presets .chip.on:not([data-size="custom"])::after { content: ' →'; }
.model-next { margin-top: 14px; }

/* Reference photos for "Photo or idea" */
.photo-drop { margin-top: 12px; position: relative; }
.photo-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.photo-thumbs:empty { display: none; }
.photo-thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); }
.photo-thumbs.small .photo-thumb { width: 52px; height: 52px; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(13, 14, 16, .8); color: #fff; font-size: .7rem; line-height: 22px; padding: 0;
}
#share-photos { margin: 4px 0 12px; }

/* Changes to their own file */
.modify .check { margin-top: 14px; }
.modify .check small { display: block; color: var(--muted); font-weight: 400; }
#modify-notes { margin-top: 10px; }

/* Jumping to the lettering tool lands with its heading just under the menu bar */
#lettering { scroll-margin-top: -64px; }

.lt-width-hint { color: var(--muted); font-weight: 400; font-size: .82rem; }

.lt-plate-curve { margin-top: 12px; }
.lt-plate-curve small { display: block; color: var(--muted); font-weight: 400; }

/* Picked model: thumbnail · name with its links underneath · arrow on the right (fits a phone) */
#picked { margin: 0 0 14px; }
.picked-links { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.picked-remove { border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }

/* Sending a request straight from the quote */
.send-card { margin-top: 22px; padding: 18px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel-2); display: grid; gap: 14px; }
.reply-seg { flex-wrap: wrap; }
.reply-to { margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send-files .hint { margin: 6px 0 0; }
.btn-send { width: 100%; justify-content: center; font-size: 1.05rem; padding-block: 15px; }
.send-progress { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.send-error { margin: 0; color: #ff9a8f; font-size: .92rem; }
.sent { margin-top: 22px; padding: 26px 20px; border: 1px solid var(--blue); border-radius: 16px; background: rgba(91, 140, 245, .08); text-align: center; }
.sent-mark { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #08142e; font-size: 1.6rem; font-weight: 700; }
.sent h3 { margin: 0 0 4px; font: 900 1.8rem/1.1 var(--display); text-transform: uppercase; }
.sent-id { margin: 0 0 10px; color: var(--muted); font-family: var(--mono); }
.sent-id b { color: var(--text); }
.sent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.other-ways { margin-top: 18px; }
.other-ways > summary { cursor: pointer; color: var(--muted); font-weight: 600; padding: 6px 0; }
.other-ways[open] > summary { margin-bottom: 10px; }
.start-over { margin-top: 10px; }

/* Customer status page */
.status-wrap { max-width: 560px; margin: 0 auto; padding: 28px 16px 60px; }
.status-card { padding: 24px 20px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); }
.status-card h1 { margin: 2px 0 4px; font: 900 2.6rem/1 var(--display); letter-spacing: .02em; }
.status-what { margin: 0 0 20px; color: var(--muted); }
.status-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 0; }
.status-steps li { position: relative; padding: 0 0 16px 30px; color: var(--muted); }
.status-steps li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--panel); }
.status-steps li:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 18px; bottom: 0; width: 2px; background: var(--line-2); }
.status-steps li.done, .status-steps li.now { color: var(--text); }
.status-steps li.done::before { background: var(--blue); border-color: var(--blue); }
.status-steps li.done::after { background: var(--blue); }
.status-steps li.now::before { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(91, 140, 245, .25); }
.status-steps b { display: block; font-weight: 600; }
.status-steps small { color: var(--muted); font-family: var(--mono); font-size: .75rem; }
.status-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 16px; padding: 14px 0; border-block: 1px solid var(--line); }
.status-facts dt { color: var(--muted); font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.status-facts dd { margin: 0; font-weight: 600; }
.status-note { margin: 0 0 16px; }
.status-loading, .status-missing { text-align: center; color: var(--muted); padding: 60px 0; }

/* Costa's inbox */
.inbox-page .nav { gap: 12px; }
.ib-title { font: 800 1.2rem var(--display); text-transform: uppercase; letter-spacing: .04em; margin-right: auto; }
.ib-wrap { max-width: 760px; margin: 0 auto; padding: 22px 16px 60px; }
.ib-login { max-width: 360px; margin: 40px auto; display: grid; gap: 14px; }
.ib-login h1 { margin: 0; font: 900 2.2rem var(--display); text-transform: uppercase; }
.ib-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.ib-tabs b { font-weight: 600; }
#ib-refresh { margin-left: auto; }
.ib-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ib-item { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); color: inherit; text-decoration: none; }
.ib-item:hover { border-color: var(--text); }
.ib-item.s-new { border-color: var(--blue); box-shadow: inset 4px 0 0 var(--blue); }
.ib-item-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ib-item-sub { color: var(--text); font-size: .92rem; }
.ib-item-meta { color: var(--muted); font: .75rem var(--mono); }
.ib-status { flex: none; font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: var(--line); color: var(--muted); }
.ib-status.s-new { background: var(--blue); color: #08142e; }
.ib-status.s-quoted, .ib-status.s-accepted { background: rgba(240, 191, 79, .18); color: var(--gold); }
.ib-status.s-printing, .ib-status.s-painting, .ib-status.s-ready { background: rgba(91, 140, 245, .18); color: #9db8ff; }
.ib-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.ib-back { display: inline-block; margin-bottom: 12px; color: var(--muted); text-decoration: none; }
.ib-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ib-head h1 { margin: 2px 0 0; font: 900 2rem/1.05 var(--display); text-transform: uppercase; }
.ib-card { padding: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); margin-bottom: 12px; display: grid; gap: 12px; }
.ib-card .tk-label { margin: 0; }
.ib-contact { margin: 0; }
.ib-contact a { color: var(--blue); }
.ib-quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ib-reply { font: inherit; }
.ib-reply-btns, .ib-links, .ib-status-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ib-links a { color: var(--blue); font-size: .9rem; }
.ib-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.ib-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.ib-model { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; }
.ib-model span { margin-right: auto; }
.ib-message { white-space: pre-wrap; max-height: 320px; overflow: auto; }
.ib-delete { color: #ff9a8f; }

/* Lettering tool inside the quote's Design step: one column, preview on top */
.lt-step .lt-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lt-step .lt-side { display: contents; }
.lt-step .lt-viewer { order: -1; }
.lt-step .lt-controls { padding: 0; border: 0; background: none; }
#q-progress li[hidden] { display: none; }

/* Send on WhatsApp / by email */
.send-title { margin: 0; font: 900 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.send-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .send-two { grid-template-columns: 1fr; } }
.send-two .send-btn { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.send-two .send-btn.wa { border-color: #25d366; background: rgba(37, 211, 102, .08); }
.send-two .send-btn:disabled { opacity: .55; cursor: progress; }
.sent #sent-new { margin-top: 12px; }
.sent .sent-id { margin: 10px 0 0; }
.send-card + .sent, .sent + .msg-details { margin-top: 18px; }
