:root {
  --bg: #fcf8fa; --bg-2: #f5edf1; --card: #ffffff; --ink: #30232d; --mute: #71616b; --line: #e7dce2;
  --accent: #8b3459; --accent-ink: #ffffff; --accent-text: #8b3459; --accent-soft: #f7e7ee; --fill: #f2edf0; --field-line: #95818c; --ok: #2b8a3e; --bad: #c92a2a; --warn: #f59f00;
  --secondary: #416655; --secondary-soft: #edf4ef;
  --skin: #f6d2b5; --plinth: #e9dccf; --shadow: 0 1px 2px rgba(60,30,10,.06), 0 8px 24px rgba(60,30,10,.06); --shadow-float: 0 8px 24px rgba(60,30,10,.18);
  --radius: 18px; --gutter: clamp(16px, 3vw, 32px); --section-space: clamp(32px, 5vw, 64px); color-scheme: light;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #1c171b; --bg-2: #261e24; --card: #2b2229; --ink: #f7edf3; --mute: #c2acb9; --line: #493741;
  --accent: #eda9c4; --accent-ink: #30232d; --accent-text: #eda9c4; --accent-soft: #452535; --fill: #352831; --field-line: #a58c9a; --ok: #69db7c; --bad: #ff8787; --warn: #fcc419;
  --secondary: #b3d1bd; --secondary-soft: #23382c;
  --skin: #e7b996; --plinth: #3a2f25; --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-float: 0 8px 24px rgba(0,0,0,.5); color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #1c171b; --bg-2: #261e24; --card: #2b2229; --ink: #f7edf3; --mute: #c2acb9; --line: #493741;
  --accent: #eda9c4; --accent-ink: #30232d; --accent-text: #eda9c4; --accent-soft: #452535; --fill: #352831; --field-line: #a58c9a; --ok: #69db7c; --bad: #ff8787; --warn: #fcc419;
  --secondary: #b3d1bd; --secondary-soft: #23382c;
  --skin: #e7b996; --plinth: #3a2f25; --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-float: 0 8px 24px rgba(0,0,0,.5); color-scheme: dark; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
html { scroll-padding-top: 6rem; }
a { color: var(--accent-text); text-underline-offset: .2em; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
body:not(.bare) h1, body:not(.bare) main > section > h2, body:not(.bare) main > section > .wrap > h2, .lp h1 { font-family: var(--font-display); font-weight: 500; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 1.2em; }
h3 { font-size: 1.15rem; }
.wrap { width: 100%; max-width: 1184px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--mute); }
.small { font-size: .88rem; }
.eyebrow { color: var(--accent-text); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin: 0 0 .6em; }
.lede { font-size: 1.15rem; color: var(--mute); max-width: 60ch; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--field-line); text-align: center;
  background: var(--card); color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .12s, filter .12s; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.97); filter: brightness(.95); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (hover: hover) { .btn.primary:hover { filter: brightness(1.06); } }
.btn.ghost { background: var(--secondary-soft); border-color: var(--secondary); color: var(--secondary); }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.btn.big { padding: 16px 28px; font-size: 1.1rem; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 12px max(var(--gutter), calc((100% - 1120px) / 2));
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 800; line-height: 1.25; }
.mark { width: 28px; height: 28px; flex: none; }
.bare .top { justify-content: center; }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: var(--section-space); padding-bottom: var(--section-space); }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 3vw, 4.25rem); line-height: 1.08; letter-spacing: -.035em; }
.hero .lede { max-width: 48ch; }
.hero-art { border: 1px solid var(--line); border-radius: 48% 48% var(--radius) var(--radius); background: radial-gradient(ellipse at 50% 35%, var(--card), var(--bg-2)); padding: 24px; }
.hero-art .art { width: 100%; max-width: 360px; display: block; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(60,30,10,.12)); }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding-top: 32px; } .hero-art { width: 100%; max-width: 400px; margin-inline: auto; } .hero-art .art { max-width: 240px; } }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mute); font-weight: 600; font-size: .95rem; }
.gift-reassurance { color: var(--secondary); font-size: .9rem; max-width: 48ch; }
.gift-intro { background: var(--secondary-soft); border-block: 1px solid var(--line); padding-block: var(--section-space); }
.gift-intro .eyebrow { color: var(--secondary); }
.band { background: var(--bg-2); padding: var(--section-space) 0; margin: var(--section-space) 0; }
section.wrap:not(.hero):not(.final) { padding-block: 24px; }
.band h2:first-child, section.wrap > h2:first-child { margin-top: 0; }
main > section.wrap:first-child:not(.hero) { padding-top: var(--section-space); }
.final { text-align: center; padding: 48px 16px 64px; }
.crumbs { padding-top: 16px; font-size: .9rem; color: var(--mute); }
.prose p { max-width: 70ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card.occ { color: var(--ink); text-decoration: none; }
.card.occ .art { height: 150px; width: 100%; }
.card.occ .art, .style-card .art { background: var(--bg-2); border-radius: 12px; }
.card.occ p { color: var(--mute); margin-bottom: 0; }
.card.occ h2 { font-size: 1.35rem; margin-top: 20px; }
.card.occ:hover { border-color: var(--accent); }
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.size { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.size > .btn { margin-top: auto; width: 100%; }
.size .price { font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
@media (max-width: 860px) { .sizes { grid-template-columns: 1fr; } }
.size .price { font-size: 2rem; font-weight: 800; margin: 0; }
/* Order pipeline: a rail of numbered nodes; your steps and the makers' steps sit in two lanes on wide screens.
   The lane is also written on every card ("You" / "The makers"), so colour and side are never the only cue. */
.pipe-wrap { position: relative; --node: 44px; margin-top: 8px; }
.pipe { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pipe-rail { position: absolute; top: 8px; bottom: 56px; left: calc(var(--node) / 2 - 2px); width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pipe-fill { position: absolute; inset: 0; background: var(--secondary); transform-origin: top; }
.pipe-step { position: relative; display: grid; grid-template-columns: var(--node) 1fr; gap: 14px; align-items: start; }
.pipe-node { position: relative; z-index: 1; width: var(--node); height: var(--node); border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem;
  background: var(--card); border: 2px solid var(--line); color: var(--ink); }
.pipe-step.you .pipe-node { background: var(--accent-soft); border-color: var(--accent); }
.pipe-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow); }
.pipe-step.you .pipe-card { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pipe-card h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.pipe-card p { margin: 0; }
.pipe-card > p:last-child { color: var(--mute); font-size: .95rem; }
.pipe-meta { font-size: .85rem; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pipe-meta b { color: var(--ink); }
.pipe-n { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; border-radius: 99px; background: var(--fill); color: var(--ink); font-weight: 800; font-size: .8rem; }
.pipe-pay { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: 99px; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--ink); font-weight: 700; }
.pipe-lanes { display: none; }
.pipe-note { margin: 14px 0 0; }
@media (min-width: 860px) {
  .pipe-wrap { --node: 52px; }
  .pipe-lanes { display: grid; grid-template-columns: 1fr var(--node) 1fr; gap: 18px; margin: 0 0 8px; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
  .pipe-lanes span:first-child { text-align: right; }
  .pipe-lanes span:last-child { grid-column: 3; }
  .pipe-rail { left: calc(50% - 2px); top: 36px; }
  .pipe-step { grid-template-columns: 1fr var(--node) 1fr; gap: 18px; }
  .pipe-node { grid-column: 2; grid-row: 1; }
  .pipe-step.you .pipe-card { grid-column: 1; grid-row: 1; }
  .pipe-step.us .pipe-card { grid-column: 3; grid-row: 1; }
  .pipe { gap: 6px; }
}
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }
.ideas { columns: 2; padding-left: 1.2em; }
@media (max-width: 520px) { .ideas { columns: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; padding-block: 8px; }
.faq details[open] { border-color: var(--field-line); }
.faq details p { max-width: 70ch; color: var(--mute); margin-top: 8px; }
.table { border-collapse: collapse; width: 100%; max-width: 560px; }
.table td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.table td:last-child { text-align: right; font-weight: 700; }
.table .total td { font-size: 1.1rem; border-top: 2px solid var(--ink); }

.foot { border-top: 1px solid var(--line); padding: 32px 0 24px; margin-top: 48px; background: var(--bg-2); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot h2 { font-size: 1rem; margin-top: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.foot li { margin: 4px 0; }
.foot a { display: inline-block; padding-block: 6px; }
.foot ul + h2 { margin-top: 28px; }
.foot a { color: var(--ink); }
.foot .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } }

/* ---- portal: forms, wizard, tracker, chat ---- */
label { display: block; font-weight: 700; margin: 14px 0 6px; }
input, select, textarea { width: 100%; font: inherit; color: inherit; background: var(--card); border: 1.5px solid var(--field-line); border-radius: 10px; padding: 10px 12px; }
input, select, textarea { min-width: 0; }
input::placeholder, textarea::placeholder { color: var(--mute); opacity: 1; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--accent-text); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-text); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.choice label { margin: 0; font-weight: 600; display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { position: relative; padding-right: 32px; }
.choice label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice label:has(input:checked)::after { content: "✓"; position: absolute; top: 8px; right: 10px; font-weight: 800; color: var(--accent-text); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--accent-text); }
.progress { display: flex; gap: 6px; margin: 24px 0; }
.progress i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.progress i.on { background: var(--accent); }
.nav-btns { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--mute); cursor: pointer; background: var(--card); }
.drop.over { border-color: var(--accent); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
.thumbs figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 50%; width: 24px; height: 24px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.thumbs figcaption { position: absolute; inset: auto 0 0 0; font-size: 11px; background: rgba(0,0,0,.55); color: #fff; padding: 2px 6px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; }
.summary .tot { font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.err { color: var(--bad); font-weight: 600; }
.note { background: var(--bg-2); border-radius: 10px; padding: 12px 14px; font-size: .95rem; }

.track { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 20px; padding-top: 20px; padding-bottom: 40px; }
@media (max-width: 960px) { .track { grid-template-columns: 1fr; } }
.timeline { display: flex; align-items: center; gap: 4px; margin: 12px 0 20px; }
.timeline span { flex: 1; height: 8px; border-radius: 99px; background: var(--line); position: relative; }
.timeline span.done { background: var(--accent); }
.timeline span.now { background: var(--accent-text); height: 12px; }
.steps-now { margin: -8px 0 12px; }
.btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.status-line { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--fill); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .85rem; }
.badge.wait { background: var(--accent-soft); border-color: var(--accent); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.viewer { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 30%, var(--bg-2), var(--plinth)); touch-action: none; }
.viewer canvas { width: 100% !important; height: 100% !important; display: block; }
.viewer .hint { position: absolute; left: 10px; bottom: 10px; font-size: 12px; background: color-mix(in srgb, var(--card) 85%, transparent); padding: 4px 8px; border-radius: 8px; }
.viewer .tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.viewer .tools button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.viewer .tools button.on { background: var(--accent-soft); color: var(--ink); border-color: var(--accent); font-weight: 700; }
.viewer .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); }
.pin { position: absolute; transform: translate(-50%, -100%); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 12px; min-width: 22px; height: 22px;
  border-radius: 11px 11px 11px 0; display: grid; place-items: center; padding: 0 6px; pointer-events: auto; cursor: pointer; box-shadow: 0 2px 6px rgba(60,30,10,.3); }
.pin.hidden { opacity: .25; }

.edits h3 { margin-top: 16px; }
.edit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.edit-list li { display: flex; gap: 8px; align-items: center; }
.edit-list input[type=text] { flex: 1; }
.edit-list .x { border: 0; background: none; color: var(--mute); cursor: pointer; font-size: 18px; }
.parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.parts label { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; }
.parts input[type=color] { width: 32px; height: 26px; padding: 0; border: 0; background: none; flex: none; }
.parts label.changed { border-color: var(--accent); }
.prop-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.prop-chips button { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 99px; padding: 5px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
.prop-chips button.add { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--card)); }
.prop-chips button.remove { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, var(--card)); text-decoration: line-through; }

.chat { display: flex; flex-direction: column; height: min(78vh, 760px); }
.chat .log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px 12px; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; background: var(--fill); white-space: pre-wrap; word-wrap: break-word; font-size: .95rem; }
.msg.me { align-self: flex-end; background: var(--accent-soft); }
.msg.system { align-self: center; background: none; color: var(--mute); font-size: .85rem; text-align: center; max-width: 100%; }
.msg.note { background: color-mix(in srgb, var(--warn) 16%, var(--card)); border: 1px dashed var(--warn); }
.msg .who { display: block; font-size: .75rem; font-weight: 800; color: var(--mute); margin-bottom: 2px; }
.msg.demo { border: 2px solid var(--accent); background: var(--card); }
.msg .files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.msg .files img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
.msg .files a.file { font-size: .85rem; }
.msg .open-demo { margin-top: 8px; }
.composer { display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 10px; }
.composer textarea { min-height: 44px; max-height: 160px; }
.composer .attach { flex: none; }
.pending-files { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 6px; }
.pending-files span { background: var(--fill); border-radius: 8px; padding: 2px 8px; }

/* ---- studio ---- */
.studio { display: grid; grid-template-columns: 320px minmax(0, 1fr) 380px; height: calc(100vh - 57px); }
.studio > * { overflow-y: auto; min-height: 0; }
.studio .queue { border-right: 1px solid var(--line); padding: 12px; }
.studio .queue .o { display: block; width: 100%; text-align: left; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); margin-bottom: 6px; cursor: pointer; font: inherit; }
.studio .queue .o.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.studio .queue .o.wait { border-left: 4px solid var(--accent); }
.studio .center { padding: 16px; }
.studio .side { border-left: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; }
.studio .side .chat { height: auto; flex: 1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .92rem; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; }
@media (max-width: 1100px) { .studio { grid-template-columns: 1fr; height: auto; } .studio .queue, .studio .side { border: 0; } }

/* ---- storefront: announcement bar, mobile menu, style carousel, sticky CTA ---- */
.announce { margin: 0; padding: 6px 16px; text-align: center; font-size: .82rem; font-weight: 700; background: var(--bg-2); color: var(--ink); border-bottom: 1px solid var(--line); }
.top .desk { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: .9rem; }
.top .desk a { display: inline-flex; align-items: center; min-height: 44px; }
.top > .btn { flex-shrink: 0; }
.menu { flex-shrink: 0; }
.top .desk a { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.top .desk a:hover { color: var(--accent-text); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { content: ""; display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; }
.menu summary span::before { position: absolute; top: -7px; } .menu summary span::after { position: absolute; top: 7px; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 2px; padding: 8px var(--gutter) 16px; max-height: 70dvh; overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.menu nav a { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }
.menu nav .btn { margin-top: 10px; border-bottom: 1.5px solid var(--accent); color: var(--accent-ink); text-align: center; }
@media (max-width: 70rem) {
  .top .desk { display: none; }
  .top > .btn { margin-left: auto; }
  .menu { display: block; }
}
@media (max-width: 400px) { .top > .btn { display: none; } .menu { margin-left: auto; } }

.carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.style-card { flex: 0 0 min(220px, 62vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; padding: 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
@media (hover: hover) { .style-card:hover { transform: translateY(-2px); border-color: var(--accent); } }
.style-card .art { height: 150px; width: 100%; }
.style-card h3 { margin: 6px 0 0; }
.cards .card .style-card { flex: none; padding: 0; border: 0; box-shadow: none; }
.buy { margin: 1.5em 0; max-width: 460px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.buy label:first-child { margin-top: 0; }
.price-live { font-size: 1.6rem; font-weight: 800; margin: 14px 0; }
.buy .btn { width: 100%; }

.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; transform: translateY(160%); transition: transform .2s; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); box-shadow: var(--shadow-float); }
  .sticky-cta.show { transform: none; }
  body:not(.bare) { padding-bottom: 4.75rem; }
  .btn, .menu nav a, summary { min-height: 44px; }
  .cta .btn { flex: 1 1 100%; }
}
@media (pointer: coarse) {
  .btn, summary, .prop-chips button, .edit-list .x, .drop { min-height: 44px; }
  .thumbs button { width: 44px; height: 44px; top: 0; right: 0; border-radius: 0 0 0 12px; font-size: 20px; }
  .edit-list .x { min-width: 44px; }
}
@media (prefers-contrast: more) {
  :root { --field-line: CanvasText; --line: CanvasText; }
  input, select, textarea, .choice label { border-width: 2px; }
  :focus-visible { outline-width: 4px; }
}
@media (forced-colors: active) {
  :focus-visible, .choice label:has(input:focus-visible) { outline: 3px solid Highlight; outline-offset: 2px; }
  input, select, textarea, .choice label { border-color: CanvasText; }
  .choice label:has(input:checked) { border-color: Highlight; border-width: 3px; }
  .progress i { background: GrayText; }
  .progress i.on { background: Highlight; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:hover, .btn:active, .style-card:hover, .featured .card:hover, .promo-picks .card:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) { .top { background: var(--bg); backdrop-filter: none; } .viewer .hint { background: var(--card); } }
/* Grid children must shrink at narrow widths and when text is enlarged. */
:where(.hero, .row, .track, .studio, .cards, .sizes, .featured, .promo-picks, .why, .foot .cols, .pipe-step) > * { min-width: 0; }
.composer { flex-wrap: wrap; }
.composer textarea { flex: 1 1 160px; }
.price-bar, .nav-btns { flex-wrap: wrap; }
@media (max-width: 400px) { .buy { padding: 16px; } .top { gap: 12px; } }

.season { margin: 0; padding: 6px 16px; text-align: center; font-size: .85rem; font-weight: 700; background: color-mix(in srgb, var(--warn) 16%, var(--bg)); border-bottom: 1px solid var(--line); }
.season[data-state="closed"] { background: color-mix(in srgb, var(--bad) 12%, var(--bg)); }
.season[data-state="soon"] { background: color-mix(in srgb, var(--ok) 14%, var(--bg)); }
.ic { width: 1em; height: 1em; vertical-align: -.125em; flex: none; }
h3 .ic { margin-right: 2px; }
.step-label { margin: 16px 0 0; font-size: .9rem; font-weight: 700; color: var(--mute); }
.step-label + .progress { margin-top: 8px; }
h1[tabindex="-1"]:focus { outline: none; }
.field-err { color: var(--bad); font-weight: 600; font-size: .9rem; margin: 4px 0 0; min-height: 0; }
.field-err:empty { display: none; }
input[aria-invalid="true"] { border-color: var(--bad); }

/* ---- tracker: panels, progress photos, edit sections, chat jump link, lost-link form ---- */
.order-h { font-size: 1.6rem; margin: 0; }
.panel-h { margin: 0; font-size: 1.2rem; }
.chat-sub { margin: 2px 0 8px; }
#demo-panel, .progress-photos { margin-top: 16px; }
#viewer { margin-top: 10px; }
.progress-photos h2 { margin: 0 0 8px; font-size: 1.2rem; }
.shots { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.shots figure { margin: 0; flex: 0 0 150px; }
.shots img { width: 150px; height: 150px; object-fit: cover; border-radius: 10px; display: block; }
.sec { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 4px; }
.sec > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 700; padding: 8px 0; }
.sec .count { font-size: .8rem; font-weight: 700; background: var(--fill); border: 1px solid var(--line); border-radius: 99px; padding: 1px 10px; }
.other-prop { align-items: end; }
.prop-chips button[aria-pressed="true"] { font-weight: 700; }
.prop-chips button[data-filter][aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.chat-jump { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: max(12px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-float); }
.chat-jump[hidden] { display: none; }
.chat-jump .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-ink); }
.chat-jump .dot[hidden] { display: none; }
.lost { max-width: 420px; margin: 28px auto 0; text-align: left; border-top: 1px solid var(--line); padding-top: 16px; }
.lost h2 { font-size: 1.1rem; margin: 0 0 8px; }
.lost .btn { margin-top: 12px; }

/* ---- wizard: review rows, price bar ---- */
.review { margin-top: 16px; align-items: start; }
.review dd .thumbs { margin-top: 8px; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.linkish { background: none; border: 0; padding: 0 4px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--accent-text); text-decoration: underline; cursor: pointer; min-height: 24px; }
.price-bar { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
@media (max-width: 760px) {
  .wizard-foot { position: sticky; bottom: 0; z-index: 20; background: var(--bg); padding: 8px 0 max(8px, env(safe-area-inset-bottom)); margin-top: 16px; border-top: 1px solid var(--line); }
  .wizard-foot .price-bar { margin-top: 0; border: 0; padding: 0 0 8px; background: none; }
  .wizard-foot .nav-btns { margin-top: 0; }
}
@media (pointer: coarse) { .linkish { min-height: 44px; padding: 0 8px; } }
@media (forced-colors: active) { .chat-jump, .linkish { border: 1px solid ButtonText; } }

/* ---- style page: real photos and the 3D sample ---- */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--bg-2); }
.gallery { display: flex; gap: 12px; overflow-x: auto; }
.gallery figure { margin: 0; flex: 0 0 min(280px, 70%); }
.sample { min-height: 360px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: grid; place-items: center; padding: 16px; text-align: center; }
.sample.viewer { display: block; padding: 0; }

/* ---- home: featured use cases, Christmas promo, hero "print" ---- */
.featured, .promo-picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .featured, .promo-picks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .featured, .promo-picks { grid-template-columns: 1fr; } }
.featured .card, .promo-picks .card { display: flex; flex-direction: column; gap: 2px; transition: transform .15s, border-color .15s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .featured .card:hover, .promo-picks .card:hover { transform: translateY(-2px); } }
.featured h3, .promo-picks h3 { margin: 4px 0 2px; }
.featured .eyebrow { margin: 8px 0 0; }
.more-h { margin: 28px 0 10px; font-size: 1rem; }
.promo { background: var(--bg-2); border-block: 1px solid var(--line); padding: var(--section-space) 0; margin: 24px 0; }
.promo h2 { margin-top: 0; }
.promo .eyebrow { display: flex; align-items: center; gap: 6px; }
.hero-art { position: relative; }
@media (forced-colors: active) { .pipe-fill { background: Highlight; } .pipe-node { border-color: CanvasText; } }
