/* Odd Layer. Tokens from brand/Odd Layer website build brief.pdf (section 2): Fraunces + Hanken
   Grotesk, warm stone and paper, ink, coral. Phone first: base styles are for a 375 px screen,
   wider screens add to them. */
:root {
  --coral: #C8452F;
  --coral-dark: #B83C27;
  --coral-soft: #F1D2C5;
  --coral-light: #F5A99F;
  --ink: #191614;
  --ink-2: #2A2421;
  --stone: #EDEAE4;
  --paper: #F4F1EC;
  --white: #FFFFFF;
  --sand: #E6DCCD;
  --muted: #57514A;
  --muted-2: #8F877D;
  --body: #3A3530;
  --line: rgba(25, 22, 20, 0.14);
  --line-strong: rgba(25, 22, 20, 0.24);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-big: 16px;
  --r-img: 12px;
  --r-btn: 10px;
  --gutter: clamp(16px, 4vw, 44px);
  --inset: clamp(8px, 1.2vw, 16px);
  --max: 1360px;
  --top: 58px; /* the sticky header's height */
  --lift: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 18px 40px -22px rgba(25, 22, 20, .45);
  --lift-sm: 0 1px 0 rgba(25, 22, 20, .06), 0 8px 20px -12px rgba(25, 22, 20, .4);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; } /* rotated cards and photos never cause sideways scroll; sticky still works */
body:has(.buybar:not([hidden])) .footer { margin-bottom: 84px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; margin: 0; font-variation-settings: "SOFT" 50; }
em { font-style: italic; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .mk-panel :focus-visible, .dragons :focus-visible, .page-head-ink :focus-visible, .page-head-coral :focus-visible, .footer :focus-visible, .banner-coral:focus-visible { outline-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); }
.skip:focus { top: 16px; }
[hidden] { display: none !important; }

/* The two shops in one page (build.mjs regional()): <html data-region="gb"> is the UK shop, anything
   else the US shop. .r-us / .r-gb hold one shop's words and make no box of their own, so the page
   lays out exactly as it would with those words alone. .gb-off: hidden in the UK shop. .gb-only:
   hidden in the US shop. */
.r-us, .r-gb { display: contents; }
html:not([data-region="gb"]) .r-gb, html[data-region="gb"] .r-us, html[data-region="gb"] .gb-off, html:not([data-region="gb"]) .gb-only { display: none !important; }

/* ---------- brand pieces ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; font: italic 400 23px/1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
.brand .mark { flex: none; width: 27px; height: auto; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; opacity: .32; pointer-events: none; }
.bands { position: absolute; top: 0; bottom: 0; display: flex; pointer-events: none; }
.bands span:nth-child(1) { width: 44px; background: rgba(200, 69, 47, .78); }
.bands span:nth-child(2) { width: 28px; background: rgba(200, 69, 47, .56); }
.bands span:nth-child(3) { width: 52px; background: rgba(200, 69, 47, .36); }
.bands span:nth-child(4) { width: 18px; background: rgba(200, 69, 47, .22); }
.bands span:nth-child(5) { width: 36px; background: rgba(200, 69, 47, .10); }
.bands-mirrored { right: 0; flex-direction: row-reverse; }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 14px; height: 2px; background: var(--coral); border-radius: 2px; }
.kicker-light { color: rgba(255, 255, 255, .82); }
.kicker-light::before { background: currentColor; }
.display { font-size: clamp(44px, 9.5vw, 104px); line-height: .96; letter-spacing: -0.04em; }
.display-sm { font-size: clamp(40px, 7vw, 68px); line-height: 1; }
.display em, .display-sm em, .split-head h2 em, .page-head h1 em { color: var(--coral-dark); }
.lede { font-size: clamp(17px, 2.1vw, 19px); line-height: 1.6; color: var(--body); max-width: 560px; }
.fine { font-size: 14px; color: var(--muted); }
.desc { color: var(--body); }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); border: 1px solid var(--ink); font: 600 15px/1.1 var(--sans); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(25, 22, 20, .9); }
.btn-ink:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.btn-coral { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 12px 26px -14px rgba(184, 60, 39, .95); }
.btn-coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 14px 30px -16px rgba(25, 22, 20, .7); }
.btn-white:hover { background: var(--paper); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 16px; padding: 0 26px; }
.btn[disabled] { opacity: .5; cursor: progress; }
.arr { display: inline-block; transition: transform .2s; }
a:hover .arr, button:hover .arr { transform: translateX(4px); }
.link-underline { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid currentColor; font-weight: 600; background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 16px/1 var(--sans); border-bottom: 1.5px solid var(--ink); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-btn); cursor: pointer; font-size: 18px; }
.icon-btn:hover { background: rgba(25, 22, 20, .06); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.more-row { padding-top: 28px; }

/* Stickers: the "Fits ..." badges. Small, tactile, a little crooked. */
.sticker { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 8px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 13px/1.25 var(--sans); box-shadow: var(--lift-sm); }
.sticker .ic { width: 16px; height: 16px; color: var(--coral); }
.sticker-sm { padding: 5px 9px 5px 6px; gap: 5px; font-size: 11px; }
.sticker-sm .ic { width: 13px; height: 13px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks .ic { color: var(--coral); }
.callout { padding: 14px 16px; border-radius: var(--r-img); background: rgba(200, 69, 47, .08); border: 1px solid rgba(200, 69, 47, .22); font-size: 15px; color: var(--body); }

/* ---------- announcement + header ---------- */
.announce { background: var(--coral); color: #fff; font-size: 13px; line-height: 1.35; }
.announce p { max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter); text-align: center; }
.announce a { text-decoration: underline; text-underline-offset: 2px; }
.xmas-more { display: none; }
.announce-link { display: none; margin-left: 10px; font-weight: 600; }
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(237, 234, 228, .9); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: var(--max); margin: 0 auto; height: var(--top); padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px 32px; }
.nav { display: flex; align-items: center; gap: 0 26px; font: 500 14px/1 var(--sans); letter-spacing: .005em; }
.nav-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border-bottom: 1.5px solid transparent; color: inherit; white-space: nowrap; transition: border-color .2s; }
.nav-link:hover { border-bottom-color: var(--line-strong); }
.nav-link.is-current { border-bottom-color: var(--coral); }
.tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tool { position: relative; display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 0; border-radius: 999px; background: none; color: inherit; font: 500 14px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background .2s; }
.tool:hover { background: rgba(25, 22, 20, .06); }
.tool .ic { width: 19px; height: 19px; }
.tool-bag { display: inline-flex; align-items: center; padding: 0 6px 0 8px; }
.tool-count { position: absolute; top: 3px; right: 2px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 10px; line-height: 15px; text-align: center; }
@media (max-width: 759px) {
  :root { --top: 96px; }
  .topbar-in { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 54px 42px; height: auto; gap: 0 8px; padding: 0 var(--gutter); }
  .tools { grid-column: 2; grid-row: 1; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0 12px; border-top: 1px solid var(--line); font-size: 14px; }
  .nav-link { min-height: 42px; }
}

/* "Ships to: US | UK" (src/app.js switches it). The shop that's on is filled before any script
   runs, from <html data-region>. Phones: in the coral strip; wider screens: in the top bar. */
.region-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line-strong); border-radius: 999px; font: 600 12px/1 var(--sans); white-space: nowrap; vertical-align: middle; }
.region-label { padding: 0 5px 0 8px; font-weight: 500; color: var(--muted); }
.region-opt { min-width: 34px; min-height: 28px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: inherit; letter-spacing: .04em; cursor: pointer; transition: background-color .15s, color .15s; }
.region-opt:hover { background: rgba(25, 22, 20, .08); }
html:not([data-region="gb"]) .region-opt[data-region-set="us"], html[data-region="gb"] .region-opt[data-region-set="gb"] { background: var(--ink); color: #fff; }
.region-announce { margin-left: 10px; border-color: rgba(255, 255, 255, .55); text-decoration: none; }
.region-announce .region-label { color: rgba(255, 255, 255, .88); }
.region-announce .region-opt { min-height: 24px; }
.region-announce .region-opt:hover { background: rgba(255, 255, 255, .18); }
html:not([data-region="gb"]) .region-announce .region-opt[data-region-set="us"], html[data-region="gb"] .region-announce .region-opt[data-region-set="gb"] { background: #fff; color: var(--coral-dark); }
.region-foot { margin-left: auto; border-color: rgba(255, 255, 255, .22); }
.region-foot .region-label { color: rgba(237, 234, 228, .6); }
.region-foot .region-opt:hover { background: rgba(255, 255, 255, .1); }
html:not([data-region="gb"]) .region-foot .region-opt[data-region-set="us"], html[data-region="gb"] .region-foot .region-opt[data-region-set="gb"] { background: var(--coral); color: #fff; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 128px) var(--gutter) 0; }
.section-tight { padding-top: 28px; }
.section.narrow { max-width: 800px; }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; padding-bottom: clamp(24px, 4vw, 44px); }
.split-head h2 { margin-top: 12px; font-size: clamp(38px, 6.4vw, 76px); line-height: .98; max-width: 760px; }
.split-head .lede { max-width: 440px; }

/* ---------- homepage hero: make anything ----------
   Phone: the coral panel with the "Make it" ticket first, then the examples, a stack of polaroids
   you can swipe. Wide screens: side by side, the polaroids on a sand table. */
.mk { padding: var(--inset); }
.mk-in { position: relative; max-width: calc(var(--max) + 48px); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.mk-panel { position: relative; isolation: isolate; border-radius: var(--r-big); overflow: hidden; background: var(--coral); color: #fff; box-shadow: 0 30px 60px -30px rgba(120, 40, 25, .6); }
.mk-panel > .grain { z-index: -1; }
.mk-copy { position: relative; padding: 26px 14px 20px; display: flex; flex-direction: column; gap: 16px; }
.mk-copy > .kicker, .mk-copy > h1, .mk-lede, .mk-rules { margin-left: 4px; margin-right: 4px; }
.mk-copy h1 { font-size: clamp(44px, 12.6vw, 92px); line-height: .93; letter-spacing: -0.045em; }
.mk-copy h1 span, .mk-copy h1 em { white-space: nowrap; }
.mk-copy h1 em { display: block; }
.mk-lede { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .9); max-width: 470px; }

/* The ticket: an index card to write the idea on, and its stub (the January waitlist). */
.ask-ticket { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 26px 50px -26px rgba(70, 18, 8, .85), 0 2px 6px rgba(70, 18, 8, .18); transition: box-shadow .2s; }
.ask-ticket:has(textarea:focus) { box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 26px 50px -26px rgba(70, 18, 8, .85), 0 0 0 3px rgba(255, 255, 255, .95); }
.mk-panel .ask-ticket :focus-visible { outline-color: var(--ink); }
.ask { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; }
.ask-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ask-label { display: inline-flex; align-items: center; gap: 7px; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ask-label .ic { width: 15px; height: 15px; color: var(--coral); }
.ask-tag { padding: 5px 9px; border-radius: 999px; background: rgba(200, 69, 47, .1); color: var(--coral-dark); font: 600 12px/1 var(--sans); white-space: nowrap; }
.ask textarea { display: block; width: 100%; min-height: 84px; margin: 0; padding: 0 2px; border: 0; border-radius: 0; resize: none; font: italic 300 20px/28px var(--serif); font-variation-settings: "SOFT" 50; letter-spacing: -0.01em; color: var(--ink); background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(25, 22, 20, .1) 27px 28px) local; }
.ask textarea::placeholder { color: var(--muted-2); opacity: 1; }
.ask textarea:focus { outline: none; background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(200, 69, 47, .4) 27px 28px); }
.ask-photo { display: flex; align-items: center; gap: 16px; padding: 4px 0 2px 4px; }
.ask-thumb { position: relative; flex: none; margin: 0; padding: 4px 4px 12px; background: #fff; border-radius: 3px; box-shadow: 0 10px 20px -12px rgba(25, 22, 20, .6), 0 1px 3px rgba(25, 22, 20, .15); transform: rotate(-4deg); }
.ask-thumb img { display: block; width: 58px; height: 58px; object-fit: cover; border-radius: 2px; background: var(--stone); }
.ask-thumb-x { position: absolute; top: -10px; right: -10px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; }
.ask-thumb-x::after { content: ""; position: absolute; inset: -9px; }
.ask-kind { min-width: 0; margin: 0; padding: 0; border: 0; }
.ask-kind legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ask-kind-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-kind label { position: relative; cursor: pointer; }
.ask-kind input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ask-kind span { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; }
.ask-kind .maker-beta { margin-left: 0; }
.ask-kind input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.ask-kind input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.ask-actions { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.ask-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 14px; border: 1.5px dashed rgba(25, 22, 20, .38); border-radius: var(--r-btn); background: #fff; color: var(--ink); font: 600 14.5px/1.1 var(--sans); white-space: nowrap; cursor: pointer; transition: border-color .15s, background-color .15s; }
.ask-add:hover, .ask-add.has-photo { border-style: solid; border-color: var(--ink); }
.ask-add .ic { color: var(--coral); }
.ask-add.is-wanted { border-color: var(--coral); background: rgba(200, 69, 47, .06); }
.ask-go { flex: 1 1 auto; min-height: 50px; padding: 0 18px; }
.ask .form-msg { margin: -2px 2px 0; }
.ask .form-msg:empty, .wait .form-msg:empty, .wait-page .form-msg:empty { display: none; }

.wait { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 14px 12px; border-top: 2px dashed var(--line-strong); background: linear-gradient(180deg, rgba(200, 69, 47, .08), rgba(200, 69, 47, 0) 60%), #fff; }
.wait::before, .wait::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); }
.wait::before { left: -11px; }
.wait::after { right: -11px; }
.wait-x { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; font-size: 14px; color: var(--muted); }
.wait-head { display: flex; align-items: flex-start; gap: 14px; padding-right: 28px; }
.wait-stamp { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--coral); color: var(--coral-dark); font: 700 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transform: rotate(-12deg); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px rgba(200, 69, 47, .45); }
.wait-stamp b { margin-top: 3px; font: italic 400 23px/1 var(--serif); letter-spacing: -0.02em; text-transform: none; }
.wait-title { font: 400 22px/1.1 var(--serif); letter-spacing: -0.02em; }
.wait-sub { margin-top: 5px; font-size: 15px; color: var(--body); }
.wait-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wait-row input[type="email"] { flex: 1 1 190px; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(25, 22, 20, .22); border-radius: var(--r-btn); background: #fff; font: 16px var(--sans); color: var(--ink); }
.wait-row input[type="email"]:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.wait-row .btn { flex: 1 0 auto; min-height: 50px; }
.wait-done { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-btn); background: rgba(46, 107, 63, .09); font: 400 18px/1.3 var(--serif); letter-spacing: -0.01em; }
.wait-done .ic { width: 22px; height: 22px; margin-top: 2px; color: #2E6B3F; }
.wait-links { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 14.5px; font-weight: 600; }
.wait-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .wait:not([hidden]) { animation: stub-in .45s cubic-bezier(.2, .7, .2, 1); } }
@keyframes stub-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Idea chips: stickers on the coral. A row to swipe on phones, wrapped on wide screens. */
.chips { display: flex; align-items: center; gap: 8px; margin: -4px -14px 0; padding: 6px 18px 8px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips-label { flex: none; margin-right: 2px; font: italic 400 17px/1 var(--serif); color: rgba(255, 255, 255, .85); }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px 0 11px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 var(--sans); white-space: nowrap; cursor: pointer; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 10px 18px -12px rgba(70, 18, 8, .9); transition: transform .18s cubic-bezier(.2, .7, .2, 1), background-color .15s, color .15s; }
.chip:nth-of-type(odd) { transform: rotate(-1.5deg); }
.chip:nth-of-type(even) { transform: rotate(1.2deg); }
.chip:hover { transform: translateY(-2px); }
.chip:active { transform: translateY(1px); }
.chip .ic { width: 16px; height: 16px; color: var(--coral); }
.chip .maker-beta { margin-left: 0; }
.chip.is-on { background: var(--ink); color: #fff; }
.chip.is-on .ic { color: var(--coral-light); }
.mk-rules { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.mk-rules a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mk-rules a:hover { text-decoration-color: #fff; }
.mk-rules strong { color: #fff; font-weight: 600; }
.mk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .24); }
.mk-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, .94); }
.mk-steps li { display: inline-flex; align-items: center; gap: 6px; }
.mk-steps li + li::before { content: "→"; margin-right: 1px; font-weight: 400; color: rgba(255, 255, 255, .6); }
.mk-steps span { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .2); font: italic 400 12px/1 var(--serif); }
.mk-price { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 13.5px/1 var(--sans); white-space: nowrap; transform: rotate(-2deg); box-shadow: 0 10px 18px -12px rgba(70, 18, 8, .9); }

/* The examples: a stack of polaroids. Each one is what went in (the words they typed, or their
   photo with its notes) and the statue that came out, with a caption strip underneath. */
.mk-media { position: relative; min-width: 0; }
.show { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 8px 0; }
.show-stack { position: relative; width: 100%; max-width: 460px; }
.show-stack::before, .show-stack::after { content: ""; position: absolute; inset: 0; border-radius: 6px; box-shadow: 0 18px 40px -24px rgba(25, 22, 20, .6), 0 1px 3px rgba(25, 22, 20, .08); }
.show-stack::before { background: #F6F2EC; transform: rotate(-3.5deg) translate(-4px, 6px); }
.show-stack::after { background: #FBF9F5; transform: rotate(2.4deg) translate(6px, 2px); }
.show-track { position: relative; z-index: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 6px; background: #fff; box-shadow: 0 30px 60px -30px rgba(25, 22, 20, .65), 0 2px 6px rgba(25, 22, 20, .12); outline-offset: 4px; }
.show-track::-webkit-scrollbar { display: none; }
.show-slide { flex: 0 0 100%; min-width: 0; margin: 0; padding: 12px 10px 0; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; }
.show-img { position: relative; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: var(--tone, var(--sand)); }
.show-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The test pictures (used only until a product photo exists) are square: they sit at the bottom. */
.is-concept .show-img > img { object-fit: contain; object-position: 50% 100%; }
.is-concept .show-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 85% at 50% 62%, transparent 58%, rgba(25, 22, 20, .12)); }
.show-cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 74px; margin-top: auto; padding: 10px 2px 12px 4px; }
.show-what { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.show-kind { font: 600 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.show-kind i { font-style: normal; color: var(--coral); }
.show-name { font: italic 400 19px/1.1 var(--serif); letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.show-buy { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: 600 13.5px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.show-buy:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.show-buy-ghost { background: transparent; color: var(--ink); }
.show-buy-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
/* What goes in: a speech bubble over the photo, its tail pointing at the statue. */
.prompt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 80px; margin: 0 0 14px; padding: 10px 14px 11px; border-radius: 14px 14px 14px 4px; background: var(--stone); }
.prompt::after { content: ""; position: absolute; left: 20px; bottom: -6px; width: 13px; height: 13px; background: var(--stone); transform: rotate(45deg); border-radius: 0 0 3px 0; }
.prompt-body { display: flex; flex-direction: column; min-width: 0; }
.prompt-label { display: flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.prompt-label .ic { width: 13px; height: 13px; color: var(--coral); }
.prompt-label b { font-weight: 600; color: var(--muted-2); }
.prompt-text { display: grid; margin-top: 7px; font: italic 400 19px/1.22 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.prompt-text > span { grid-area: 1 / 1; }
.prompt-ghost { visibility: hidden; }
.prompt-live.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--coral); animation: caret .7s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* The photo you send: the dog on the phone in the picture below. */
.prompt-thumb { flex: none; width: 44px; height: 56px; border-radius: 7px; background-color: var(--sand); background-size: 333% auto; background-position: 14% 64%; box-shadow: 0 0 0 2px #fff, 0 6px 12px -6px rgba(25, 22, 20, .5); transform: rotate(-3deg); }
.show-ui { display: flex; align-items: center; gap: 6px; }
.show-dots { display: flex; align-items: center; }
.show-dot { display: grid; place-items: center; width: 30px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.show-dot i { position: relative; display: block; width: 8px; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(25, 22, 20, .24); transition: width .3s cubic-bezier(.2, .7, .2, 1); }
.show-dot.is-on i { width: 26px; }
.show-dot.is-on i::after { content: ""; position: absolute; inset: 0; background: var(--coral); transform-origin: left; }
.show.is-playing .show-dot.is-on i::after { animation: dotfill var(--show-ms, 6s) linear both; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.show-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.show-btn:hover { border-color: var(--ink); }
.show-pause .ic-play, .show-pause[aria-pressed="true"] .ic-pause { display: none; }
.show-pause[aria-pressed="true"] .ic-play { display: block; }

/* "What we can't make": a sheet (from the bottom on phones). */
.rules-sheet { width: min(560px, calc(100% - 24px)); max-height: min(86vh, 720px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: var(--r-big); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(12, 10, 9, .7); }
.rules-sheet::backdrop { background: rgba(12, 10, 9, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.rules-sheet-in { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px calc(24px + env(safe-area-inset-bottom)); }
.rules-sheet h2 { font-size: 32px; font-weight: 400; letter-spacing: -0.02em; padding-right: 40px; }
.rules-sheet h3 { font: 700 14px/1.3 var(--sans); letter-spacing: 0; margin-top: 6px; }
.rules-sheet ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--body); }
.rules-x { position: absolute; top: 10px; right: 10px; }
@media (max-width: 639px) { .rules-sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: var(--r-big) var(--r-big) 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .mk-panel { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .05s both; }
  .show-stack { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .note { animation: fade .8s ease-out .7s both; }
  .rules-sheet[open] { animation: rise .35s cubic-bezier(.2, .7, .2, 1); }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* The hand-drawn notes on the photo example. */
.note { position: absolute; z-index: 2; display: flex; flex-direction: column; color: #fff; font: italic 400 19px/1 var(--serif); letter-spacing: -0.01em; text-shadow: 0 1px 12px rgba(25, 22, 20, .55); pointer-events: none; }
.note svg { width: 46px; height: 38px; filter: drop-shadow(0 1px 6px rgba(25, 22, 20, .45)); }
.note-photo { left: 6%; top: 4%; }
.note-photo svg { margin: 4px 0 0 34px; }
.note-statue { right: 5%; top: 17%; align-items: flex-end; }
.note-statue svg { margin: 4px 22px 0 0; }

/* ---------- "Pets are our favorite" ---------- */
.pets-in { position: relative; display: grid; gap: 26px; padding: 12px 12px 30px; border-radius: var(--r-big); background: var(--coral-soft); }
.pets-media { position: relative; }
.pets-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); background: var(--sand); }
.pets-polaroid { position: absolute; width: 40%; max-width: 210px; right: -2px; bottom: -20px; transform: rotate(5deg); }
.pets-copy { display: flex; flex-direction: column; gap: 16px; padding: 14px 8px 0; }
.pets-copy h2 { font-size: clamp(40px, 7vw, 80px); line-height: .96; }
.pets-copy h2 em { display: block; color: var(--coral-dark); }
.pets .cta-row .btn { flex: 1 1 auto; }

.polaroid { margin: 0; padding: 10px 10px 12px; background: #fff; border-radius: 4px; box-shadow: 0 24px 50px -22px rgba(25, 22, 20, .6), 0 2px 6px rgba(25, 22, 20, .12); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 60%; border-radius: 2px; }
.polaroid figcaption { padding-top: 8px; font: italic 400 15px/1.2 var(--serif); color: var(--ink); text-align: center; }

/* ---------- marquee ---------- */
.marquee { margin-top: clamp(40px, 6vw, 64px); background: var(--ink); color: var(--stone); overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 16px 0; font: italic 300 clamp(19px, 2.6vw, 26px)/1 var(--serif); white-space: nowrap; }
.marquee-track i { display: inline-flex; }
.marquee-track .mark { width: 18px; height: auto; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: marquee 48s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- collectors ---------- */
.frail { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
.frail::-webkit-scrollbar { display: none; }
.fcard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-big); overflow: hidden; background: var(--tone, var(--sand)); scroll-snap-align: start; box-shadow: var(--lift); isolation: isolate; }
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.fcard:hover img { transform: scale(1.04); }
.fcard .sticker { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); transform: rotate(-1.5deg); }
.fcard-tag { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: var(--r-img); background: rgba(244, 241, 236, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--lift-sm); }
.fcard-kicker { font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fcard-name { font: 400 21px/1.1 var(--serif); letter-spacing: -0.02em; }
.fcard-price { font-size: 14px; font-weight: 600; }
.fcard-price i { font-style: normal; font-weight: 500; color: var(--muted); }

/* ---------- dragons ---------- */
.dragons { padding: clamp(64px, 10vw, 128px) var(--inset) 0; }
.dragons-in { position: relative; max-width: calc(var(--max) + 48px); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter); border-radius: var(--r-big); overflow: hidden; color: #fff; background: radial-gradient(ellipse at 80% 10%, #5A4535 0%, #2A211B 45%, #15110E 100%); }
.dragons-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; padding-bottom: clamp(28px, 5vw, 52px); }
.dragons-head h2 { font-size: clamp(40px, 7vw, 80px); line-height: .96; }
.dragons-head h2 em { color: var(--coral-light); }
.dragons-head p:last-child { color: rgba(255, 255, 255, .78); max-width: 460px; }
.dragons-pair { display: grid; gap: 28px; }
.dragon { display: flex; flex-direction: column; gap: 16px; }
.dragon-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-img); overflow: hidden; background: var(--sand); }
.dragon-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dragon:hover .dragon-img img { transform: scale(1.04); }
.dragon-img .sticker { position: absolute; left: 12px; bottom: 12px; transform: rotate(-1.5deg); max-width: calc(100% - 24px); }
.dragon-text { display: flex; flex-direction: column; gap: 6px; }
.dragon-job { font: italic 300 clamp(24px, 3.2vw, 34px)/1.05 var(--serif); color: var(--coral-light); }
.dragon-name { font-weight: 600; }
.dragon-meta { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .8); }
.dragon-img { background: var(--tone, var(--sand)); }
/* More than the two dragons (the ready-made figurines): a row to swipe on phones, a grid when wide. */
.dragons-pair.figs-many { grid-auto-flow: column; grid-auto-columns: 76%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.dragons-pair.figs-many::-webkit-scrollbar { display: none; }
.figs-many .dragon { scroll-snap-align: start; min-width: 0; }
.figs-many .dragon-job { font-size: clamp(22px, 2.4vw, 28px); }
.dragons .more-row { padding-top: 30px; }
.link-arrow-light { color: #fff; border-bottom-color: rgba(255, 255, 255, .7); }

/* ---------- how it works ---------- */
.how-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.how-grid li { padding-top: 18px; border-top: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.how-n { font: italic 300 44px/1 var(--serif); color: var(--coral-dark); }
.how-grid h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.how-grid p { color: var(--body); max-width: 360px; }

/* ---------- Christmas ticket ---------- */
.ticket { position: relative; display: grid; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); overflow: hidden; }
.ticket-main { padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.ticket-main h2 { font-size: clamp(32px, 5.4vw, 58px); line-height: 1; }
.ticket-main h2 em { color: var(--coral-dark); }
.ticket-sub { color: var(--body); }
.ticket-stub { position: relative; list-style: none; margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 14px; border-top: 2px dashed var(--line-strong); background: linear-gradient(180deg, rgba(200, 69, 47, .06), rgba(200, 69, 47, 0)); }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--stone); border: 1px solid var(--line); }
.ticket-stub::before { left: -13px; }
.ticket-stub::after { right: -13px; }
.ticket-stub li { display: grid; grid-template-columns: 88px 1fr; align-items: baseline; gap: 12px; }
.stub-date { font: 400 28px/1 var(--serif); letter-spacing: -0.02em; }
.stub-what { font-size: 15px; color: var(--body); }
.stub-what a { border-bottom: 1px solid currentColor; font-weight: 600; }
.ticket-stub li.is-past .stub-date { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted-2); }
.ticket-stub li.is-past .stub-what { color: var(--muted-2); }
.ticket-stub li.is-now .stub-date { color: var(--coral-dark); }

/* ---------- gift card art ---------- */
.giftcard { position: relative; isolation: isolate; width: 100%; max-width: 480px; aspect-ratio: 1.586; padding: 6% 6.5%; border-radius: 18px; overflow: hidden; background: var(--coral); color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 0 rgba(255, 255, 255, .3) inset, 0 30px 60px -28px rgba(120, 40, 25, .75), 0 4px 12px rgba(25, 22, 20, .12); container-type: inline-size; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.giftcard .grain { z-index: -1; }
.giftcard-bands { position: absolute; top: 0; bottom: 0; right: 0; display: flex; flex-direction: row-reverse; z-index: -1; }
.giftcard-bands span { width: 7cqw; }
.giftcard-bands span:nth-child(1) { background: rgba(25, 22, 20, .22); width: 9cqw; }
.giftcard-bands span:nth-child(2) { background: rgba(25, 22, 20, .14); width: 5cqw; }
.giftcard-bands span:nth-child(3) { background: rgba(25, 22, 20, .09); width: 10cqw; }
.giftcard-bands span:nth-child(4) { background: rgba(25, 22, 20, .05); width: 3.5cqw; }
.giftcard-bands span:nth-child(5) { background: rgba(25, 22, 20, .025); width: 7cqw; }
.giftcard-top { display: flex; align-items: center; gap: 2.4cqw; font: italic 400 max(14px, 5cqw)/1 var(--serif); }
.giftcard-top .mark { width: max(22px, 7.5cqw); height: auto; }
.giftcard-title { font: 300 max(22px, 10.5cqw)/.95 var(--serif); letter-spacing: -0.04em; max-width: 76%; }
.giftcard-title em { display: block; }
.giftcard-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2cqw; }
.giftcard-value { font: 600 max(9px, 2.6cqw)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9); max-width: 48%; }
.giftcard-code { padding: 1.4cqw 2.4cqw; border-radius: 1.6cqw; background: rgba(255, 255, 255, .94); color: var(--ink); font: 700 max(11px, 4cqw)/1 var(--sans); letter-spacing: .1em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.giftcard-sm { max-width: 220px; border-radius: 12px; }

/* ---------- gift band (homepage) ---------- */
.giftband-in { display: grid; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 56px); border-radius: var(--r-big); background: var(--sand); }
.giftband-art { position: relative; min-height: 300px; display: grid; place-items: center; padding: 10px 0 20px; }
.giftband-art .polaroid { position: absolute; width: 46%; max-width: 240px; left: 2%; top: 0; transform: rotate(-6deg); }
.giftband-art .giftcard { position: relative; width: 84%; margin: 90px 0 0 14%; transform: rotate(3deg); }
.giftband-copy { display: flex; flex-direction: column; gap: 18px; }
.giftband-copy h2 { font-size: clamp(38px, 6vw, 70px); line-height: .98; }
.giftband-copy h2 em { color: var(--coral-dark); }

/* ---------- page heads ---------- */
.page-head { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) 8px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { margin-top: 4px; }
.page-head-ink, .page-head-coral { margin: var(--inset); max-width: calc(var(--max) + 48px); padding: clamp(40px, 7vw, 96px) var(--gutter); border-radius: var(--r-big); overflow: hidden; color: #fff; isolation: isolate; }
.page-head-ink { background: var(--ink); }
.page-head-coral { background: var(--coral); }
.page-head-ink h1 em, .page-head-coral h1 em { color: #fff; }
.page-head-ink h1 em { color: var(--coral-light); }
.page-head-ink .lede, .page-head-coral .lede { color: rgba(255, 255, 255, .88); }
.page-head-ink .bands, .page-head-coral .bands { display: none; }
.page-head-coral .grain { z-index: -1; }
.page-head-coral a, .page-head-ink a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .page-head-ink > *:not(.bands), .page-head-coral > *:not(.bands):not(.grain) { max-width: 760px; } }

/* ---------- shop filters and cards ---------- */
.filters { position: sticky; top: var(--top); z-index: 20; display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 10px var(--gutter); background: rgba(237, 234, 228, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font: 600 14px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.filters button span { font-size: 12px; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
.pcard { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pcard[hidden] { display: none; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-img); overflow: hidden; background: var(--tone, var(--sand)); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.pcard-img-alt { opacity: 0; }
@media (hover: hover) {
  .pcard-media:hover .pcard-img-alt { opacity: 1; }
  .pcard-media:hover img { transform: scale(1.03); }
}
.pcard-media .sticker { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
.pcard-flag { position: absolute; top: 8px; left: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(244, 241, 236, .95); font: italic 400 13px/1 var(--serif); }
.pcard-flag-coral { background: var(--coral); color: #fff; }
.pcard-body { display: flex; flex-direction: column; gap: 4px; }
.pcard-kicker { font: 600 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard-name { font-size: 19px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; }
.pcard-tag { display: none; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.pcard-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding-top: 2px; font-size: 15px; font-weight: 600; }
.dots { display: inline-flex; align-items: center; gap: 4px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
.dots b { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.dragons .dots i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.empty { padding: 40px 0; font: 300 28px/1.2 var(--serif); }
.banner { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 20px; padding: 26px 24px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); }
.banner .kicker { grid-column: 1 / -1; }
.banner-title { font: 300 clamp(26px, 3.6vw, 40px)/1.05 var(--serif); letter-spacing: -0.03em; }
.banner-title em { color: var(--coral-dark); }
.banner .arr { font-size: 28px; }
.banner-coral { background: var(--coral); border-color: var(--coral); color: #fff; margin-bottom: 28px; }
.banner-coral .grain { z-index: -1; }
.banner-coral .banner-title em { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- product page ---------- */
.crumbs { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter) 10px; display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.product { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 24px; align-items: start; }
.product-media { position: relative; min-width: 0; }
.gallery { position: relative; margin: 0 calc(-1 * var(--gutter)); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: -3px; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: center; background: var(--tone, var(--sand)); }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; }
.gal-count { position: absolute; top: 12px; right: calc(var(--gutter) + 0px); padding: 6px 11px; border-radius: 999px; background: rgba(25, 22, 20, .72); color: #fff; font: 600 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; }
.gal-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gal-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(25, 22, 20, .12); transition: width .2s, background .2s; }
.gal-dots i.is-on { width: 18px; border-radius: 4px; background: #fff; }
.buy-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.buy-col h1 { font-weight: 400; font-size: clamp(36px, 5vw, 54px); letter-spacing: -0.03em; line-height: 1; }
.tagline { font: italic 300 20px/1.35 var(--serif); color: var(--body); }
.price-lg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 24px; font-weight: 600; }
.unit { font-size: 15px; font-weight: 500; color: var(--muted); }
.fits { display: flex; flex-wrap: wrap; gap: 8px; }
.fits .sticker:nth-child(odd) { transform: rotate(-1deg); }
.fits .sticker:nth-child(even) { transform: rotate(.8deg); }
.size-line { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--body); }
.size-line .ic { margin-top: 2px; color: var(--muted); }
.size-line strong { color: var(--ink); margin-right: 6px; }
.swatches { border: 0; margin: 0; padding: 0; min-width: 0; }
.swatches legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch > span:not(.sr-only) { display: block; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16), inset 0 -6px 10px rgba(0, 0, 0, .12), inset 0 4px 8px rgba(255, 255, 255, .25); }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16), 0 0 0 2px var(--stone), 0 0 0 4px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 6px; }
.plate { border: 0; margin: 0; padding: 14px 16px; min-width: 0; display: flex; flex-direction: column; gap: 10px; border-radius: var(--r-img); background: var(--paper); border: 1px solid var(--line); }
.plate legend { float: left; width: 100%; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.plate-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.plate-toggle input { width: 20px; height: 20px; accent-color: var(--ink); }
.plate-fields { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.plate-fields .fine { flex-basis: 100%; margin: 0; }
.plate-fields input { text-transform: uppercase; width: 100%; min-width: 0; }
.plate-fields .field { flex: 1 1 160px; min-width: 0; }
.plate-fields .field:last-of-type { flex: 0 1 100px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-btn); background: var(--paper); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.stepper output { min-width: 32px; text-align: center; font-weight: 600; }
.soon-box { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-img); background: var(--paper); border: 1px solid var(--line); }
.delivery { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: var(--r-img); background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; color: var(--body); }
.delivery-xmas { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--coral-dark); }
.delivery-xmas a { border-bottom: 1px solid currentColor; }
.accordions { border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; list-style: none; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; font: 300 24px/1 var(--serif); }
.accordions details[open] summary::after { content: "–"; }
.accordions details > :not(summary) { padding-bottom: 18px; color: var(--body); }
.accordions dl { display: grid; grid-template-columns: 70px 1fr; gap: 8px 14px; margin: 0; }
.accordions dt { font-weight: 600; color: var(--ink); }
.accordions dd { margin: 0; }
.timeline { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 241, 236, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(25, 22, 20, .5); }
.buybar-name { font: 400 17px/1.15 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.buybar .btn { flex: none; }

/* Spin it: the product, drag to turn (src/make-viewer.js). */
.spin { position: relative; margin: 0 calc(-1 * var(--gutter)); background: radial-gradient(ellipse at 50% 35%, #FFFFFF 0%, var(--stone) 75%); }
.spin-stage { position: relative; min-height: 240px; cursor: grab; }
.spin-stage:active { cursor: grabbing; }
.spin-stage canvas { display: block; }
.spin-stage > p { padding: 40px 20px; text-align: center; color: var(--muted); }
.spin-close { position: absolute; top: 10px; right: calc(var(--gutter) - 4px); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(25, 22, 20, .75); color: #fff; cursor: pointer; }
.spin-note { padding: 0 var(--gutter) 14px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* The gift card's own page. */
.gift-stage { position: relative; padding: 10px 0 40px; }
.gift-stage .giftcard { max-width: 560px; margin: 0 auto; transform: rotate(-2deg); }
.gift-polaroid { position: relative; width: 52%; max-width: 260px; margin: -40px 4% 0 auto; transform: rotate(5deg); z-index: 2; }
.gift-photos { display: none; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mini-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--body); }
.mini-steps li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: italic 400 15px/1 var(--serif); }

/* ---------- forms ---------- */
.card-form { display: flex; flex-direction: column; gap: 18px; padding: 22px 18px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
.field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 200px; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.field-sm { flex: 1 1 90px; }
.field label { font-size: 14px; font-weight: 600; }
.req { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select, .inline-form input[type="email"], .gift-redeem input { min-height: 50px; padding: 12px 14px; border: 1px solid rgba(25, 22, 20, .22); border-radius: var(--r-btn); background: #fff; font: 16px var(--sans); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.field input[type="file"] { padding: 12px; }
.field input:focus, .field textarea:focus, .field select:focus, .inline-form input:focus, .gift-redeem input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.card-form .btn { align-self: flex-start; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form input[type="email"] { flex: 1 1 200px; width: auto; }
.form-msg { flex-basis: 100%; font-size: 14px; min-height: 1em; color: var(--muted); }
.form-msg.is-error, .form-error { color: var(--coral-dark); font-size: 14px; }

/* ---------- order pages ---------- */
.order-page { display: flex; flex-direction: column; gap: 22px; }
.order-page .display-sm { margin-top: -6px; }
.order-box { padding: 22px 20px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); display: flex; flex-direction: column; gap: 10px; }
.order-box h2 { font-weight: 400; font-size: 32px; letter-spacing: -0.02em; }
.order-box ul { margin: 0; padding-left: 20px; }
.order-status { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.order-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0; }
.order-steps span { height: 6px; border-radius: 3px; background: var(--line); }
.order-steps span.is-on { background: var(--coral); }
.order-keep { padding: 12px 14px; border-radius: var(--r-img); background: rgba(200, 69, 47, .08); font-size: 14.5px; }
.codes { display: grid; gap: 14px; }
.code-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-img); border: 2px dashed var(--coral); background: #fff; }
.code-value { font: 700 clamp(24px, 7vw, 34px)/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; user-select: all; }
.code-state { font-size: 13px; font-weight: 600; color: var(--muted); }
.code-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.warn-box { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--r-img); background: var(--ink); color: #fff; }
.warn-box strong { font: 400 22px/1.15 var(--serif); letter-spacing: -0.01em; }
.warn-box p { color: rgba(255, 255, 255, .85); font-size: 15px; }
.order-timeline { color: var(--body); }

/* ---------- gift card sheet (/gift/<code>/) ---------- */
.gift-sheet { display: flex; flex-direction: column; gap: 26px; }
.gift-sheet-head { display: flex; flex-direction: column; gap: 14px; }
.postcard { display: grid; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: var(--lift); outline: 1.5px dashed var(--line-strong); outline-offset: 8px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.postcard-front { padding: 18px; background: var(--paper); display: grid; place-items: center; }
.postcard-front .giftcard { max-width: none; }
.postcard-back { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; border-top: 1.5px dotted var(--line-strong); }
.postcard-to { display: flex; align-items: flex-end; gap: 10px; font: italic 400 17px/1 var(--serif); }
.postcard-to i { flex: 1; border-bottom: 1px solid var(--line-strong); height: 22px; }
.postcard-head { margin-top: 6px; font: 400 22px/1.15 var(--serif); letter-spacing: -0.02em; }
.postcard-back ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--body); font-size: 14.5px; }
.postcard-code { white-space: nowrap; letter-spacing: .06em; }
.postcard-fine { margin-top: auto; font-size: 12px; color: var(--muted); }
.gift-sample { text-align: center; }

/* ---------- make anything ---------- */
.make-hero { padding: var(--inset); max-width: calc(var(--max) + 48px); margin: 0 auto; display: flex; flex-direction: column; }
.make-hero-media { order: -1; aspect-ratio: 5 / 4; border-radius: var(--r-big); overflow: hidden; background: var(--sand); }
.make-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.make-hero-panel { position: relative; isolation: isolate; z-index: 2; margin: -44px 10px 0; border-radius: var(--r-big); overflow: hidden; background: var(--coral); color: #fff; }
.make-hero-panel .grain { z-index: -1; }
.make-hero-panel > .bands { display: none; }
.make-hero-copy { padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; }
.make-hero-copy h1 { font-size: clamp(40px, 10vw, 80px); line-height: .96; letter-spacing: -0.04em; }
.make-hero-copy h1 em { display: block; }
.make-hero-copy p:last-child { color: rgba(255, 255, 255, .9); max-width: 480px; }
.make-steps { list-style: none; max-width: var(--max); margin: 22px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.make-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-img); background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.make-steps span, .step-n { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: italic 400 14px/1 var(--serif); }
.step-n { margin-right: 10px; vertical-align: 2px; }
.maker { display: grid; gap: 32px; align-items: start; }
.maker-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.maker-card { padding: 22px 18px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
.maker-soon { display: flex; flex-direction: column; gap: 14px; padding: 24px 20px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
.maker-soon h2 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.02; }
.maker-soon-gift { display: grid; gap: 16px; align-items: center; margin-top: 8px; padding: 16px; border-radius: var(--r-img); background: var(--sand); }
.maker-soon-gift > div { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.wait-page { display: flex; flex-direction: column; gap: 14px; }
.wait-thumb { align-self: flex-start; display: flex; align-items: center; gap: 12px; padding: 4px 14px 4px 4px; transform: rotate(-1.5deg); }
.wait-thumb figcaption { font: italic 400 15px/1.2 var(--serif); color: var(--body); }
.maker-form, .maker-choose { display: flex; flex-direction: column; gap: 22px; }
.maker-cats, .maker-sizes { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.maker-cats legend, .maker-choose h2 { font: 400 24px/1.15 var(--serif); letter-spacing: -0.02em; margin-bottom: 12px; }
.maker-sizes legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.maker-form .field > label:first-child { font: 400 24px/1.15 var(--serif); letter-spacing: -0.02em; }
.maker-form .field > label:first-child .fine { font: 400 14px var(--sans); letter-spacing: 0; }
.maker-cat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.maker-cat { position: relative; cursor: pointer; }
.maker-cat input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.maker-cat > span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 600; }
.maker-cat input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.maker-cat input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.maker-beta { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.maker-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.maker-example { min-height: 36px; padding: 6px 12px; border: 1px dashed rgba(25, 22, 20, .3); border-radius: var(--r-btn); background: transparent; font-size: 13px; color: var(--muted); cursor: pointer; text-align: left; }
.maker-example:hover { border-style: solid; color: var(--ink); }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 110px; padding: 18px; border: 1.5px dashed rgba(25, 22, 20, .3); border-radius: var(--r-img); background: #fff; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover { border-color: var(--ink); background: var(--stone); }
.drop-title { font: 400 20px/1.2 var(--serif); }
.drop-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field:has(.drop-input:focus-visible) .drop { outline: 2px solid var(--ink); outline-offset: 3px; }
.maker-photo-preview { width: 120px; height: 120px; object-fit: cover; border-radius: var(--r-img); border: 1px solid var(--line); }
.maker-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.maker-rounds { display: flex; flex-direction: column; gap: 20px; }
.maker-rounds:empty { display: none; }
.maker-round { padding: 18px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.maker-round-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.maker-round-head strong { font: 400 20px/1 var(--serif); }
.maker-concepts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.maker-concept { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 2px solid transparent; border-radius: var(--r-img); background: none; cursor: pointer; text-align: center; font-size: 14px; font-weight: 600; }
.maker-concept img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r-img) - 2px); background: var(--stone); }
.maker-concept span { padding-bottom: 8px; }
.maker-concept.is-picked { border-color: var(--coral); }
.maker-concept.is-picked span { color: var(--coral-dark); }
.maker-concepts-small { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.maker-concept-pick { position: relative; cursor: pointer; }
.maker-concept-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.maker-concept-pick img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-btn); border: 2px solid transparent; }
.maker-concept-pick input:checked + img { border-color: var(--ink); }
.maker-concept-pick input:focus-visible + img { outline: 2px solid var(--ink); outline-offset: 2px; }
.maker-warn { margin: 0; padding: 10px 14px 10px 30px; border-radius: var(--r-btn); background: rgba(200, 69, 47, .08); font-size: 14px; color: var(--body); }
.maker-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.maker-spinner { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--coral); }
@media (prefers-reduced-motion: no-preference) { .maker-spinner { animation: maker-spin .9s linear infinite; } }
@keyframes maker-spin { to { transform: rotate(360deg); } }
.maker-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.maker-sizes legend { grid-column: 1 / -1; }
.maker-size { position: relative; display: flex; cursor: pointer; }
.maker-size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.maker-size > span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-img); background: #fff; font-size: 13px; text-align: center; }
.maker-size strong { font: 400 19px/1.1 var(--serif); }
.maker-size b { font-size: 14px; }
.size-bar { display: block; position: relative; width: 26px; height: 52px; margin-bottom: 4px; }
.size-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 13px 13px 6px 6px; background: var(--sand); box-shadow: inset 0 -6px 10px rgba(25, 22, 20, .08); }
.maker-size input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.maker-size input:checked + span .size-bar::after { background: var(--coral); }
.maker-size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.gift-redeem { border-radius: var(--r-img); border: 1px solid var(--line); background: #fff; }
.gift-redeem summary { min-height: 50px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; list-style: none; }
.gift-redeem summary::-webkit-details-marker { display: none; }
.gift-redeem summary::after { content: "+"; font: 300 24px/1 var(--serif); }
.gift-redeem[open] summary::after { content: "–"; }
.gift-redeem > :not(summary) { padding: 0 16px 14px; }
.gift-redeem-row { display: flex; gap: 8px; }
.gift-redeem input { text-transform: uppercase; letter-spacing: .06em; flex: 1; }
.gift-redeem .is-ok { color: #2E6B3F; font-weight: 600; }
.ship-form { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r-img); background: #fff; border: 1px solid var(--line); }
.ship-form-head { font-size: 15px; color: var(--body); }
.maker-rules { padding: 22px 20px; border-radius: var(--r-big); background: var(--sand); display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.maker-rules h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.maker-rules h3 { font: 700 14px/1.3 var(--sans); letter-spacing: 0; margin-top: 8px; }
.maker-rules ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--body); }
.maker-proof { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.maker-proof-title { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.maker-viewer { position: relative; width: 100%; border-radius: var(--r-img); background: radial-gradient(ellipse at 50% 35%, #FFFFFF 0%, var(--stone) 75%); overflow: hidden; cursor: grab; }
.maker-viewer:active { cursor: grabbing; }
.maker-viewer canvas { display: block; }
.maker-viewer > p, .maker-viewer > img { padding: 14px; }
.maker-proof-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* The on-page "are you sure?" (no pop-ups: in-app browsers block them). */
.proof-confirm { margin-top: 14px; padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; display: grid; gap: 12px; }
.proof-confirm p { margin: 0; font-size: 15px; line-height: 1.45; }
.proof-confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.maker-redo { display: flex; flex-direction: column; gap: 10px; }
.maker-offer { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: var(--r-btn); background: rgba(200, 69, 47, .08); }
.maker-offer .link-underline { align-self: flex-start; font: inherit; font-weight: 600; }

/* ---------- prose ---------- */
.prose { display: flex; flex-direction: column; }
.prose .display-sm { margin: 12px 0 24px; }
.prose h2 { font-size: 28px; font-weight: 400; letter-spacing: -0.02em; margin: 36px 0 10px; }
.prose p, .prose ul { max-width: 64ch; margin: 0 0 14px; color: var(--body); }
.prose .lede { margin-bottom: 20px; }
.prose li { margin-bottom: 6px; }
.prose a.link-underline { min-height: 0; }
.lost { display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; }

/* ---------- footer ---------- */
.footer { margin: clamp(72px, 10vw, 128px) var(--inset) var(--inset); padding: 44px var(--gutter) 24px; border-radius: var(--r-big); background: var(--ink); color: rgba(237, 234, 228, .78); font-size: 15px; }
.foot-top { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.foot-word { display: flex; align-items: center; gap: 12px; font: italic 400 40px/1 var(--serif); color: #fff; letter-spacing: -0.02em; }
.foot-word .mark { width: 40px; height: auto; }
.foot-line { color: rgba(237, 234, 228, .78); }
.foot-form input[type="email"] { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff; }
.foot-form input::placeholder { color: rgba(255, 255, 255, .5); }
.foot-form .btn-ink { background: var(--coral); border-color: var(--coral); }
.foot-form .form-msg { color: rgba(237, 234, 228, .8); }
.foot-form .form-msg.is-error { color: var(--coral-light); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.foot-col { display: flex; flex-direction: column; }
.foot-col h2 { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(237, 234, 228, .5); margin-bottom: 10px; }
.foot-col a { min-height: 36px; display: inline-flex; align-items: center; color: #fff; }
.foot-col a:hover { color: var(--coral-light); }
.foot-ship { max-width: var(--max); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.flag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(200, 69, 47, .25); }
.legal { max-width: var(--max); margin: 12px auto 0; font-size: 13px; color: rgba(237, 234, 228, .55); }
.legal a { color: rgba(237, 234, 228, .8); }

/* ---------- bag drawer ---------- */
.bag-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(12, 10, 9, .45); }
.bag { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0, 0, 0, .25); }
@media (prefers-reduced-motion: no-preference) { .bag:not([hidden]) { animation: slide-in .3s cubic-bezier(.2, .7, .2, 1); } }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-weight: 400; font-size: 30px; letter-spacing: -0.02em; }
.bag-lines { flex: 1; overflow-y: auto; padding: 8px 20px; }
.bag-empty { padding: 32px 0; color: var(--muted); }
.bag-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-thumb { width: 72px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; }
.bag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-info { display: flex; flex-direction: column; gap: 6px; font-size: 14px; min-width: 0; }
.bag-name { font: 400 18px/1.15 var(--serif); }
.bag-colour { color: var(--muted); }
.bag-line .stepper button { width: 36px; height: 36px; }
.bag-remove { background: none; border: 0; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; justify-self: start; min-height: 32px; }
.bag-price { font-weight: 600; }
.bag-unavail { color: var(--coral-dark); font-size: 13px; font-weight: 600; }
.bag-foot { padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.bag-row { display: flex; justify-content: space-between; font-weight: 600; }
.bag-ship, .bag-note { font-size: 14px; color: var(--muted); }

/* ---------- homepage: the floating hero (src/hero3d.js) ---------- */
.h3d { position: relative; margin: var(--inset) var(--inset) 0; height: calc(100svh - var(--top) - 20px); min-height: 700px; max-height: 980px; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 50% 54%, #FBF9F5 0%, #EFEAE2 46%, #E2DACD 100%); }
.h3d::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); }
.h3d-stage { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; cursor: grab; }
.h3d-stage:active { cursor: grabbing; }
.h3d-stage canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.h3d-ready .h3d-stage canvas { opacity: 1; }
.h3d.h3d-cramped .h3d-stage canvas, .h3d.h3d-cramped .h3d-tag { opacity: 0; pointer-events: none; }
.h3d-copy { position: relative; z-index: 0; padding: clamp(26px, 5vh, 56px) var(--gutter) 0; text-align: center; pointer-events: none; }
.h3d-copy .kicker { color: var(--coral); }
.h3d-split { position: absolute; z-index: 0; left: 0; right: 0; top: var(--obj-mid, 42%); transform: translateY(-50%); margin: 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr var(--obj-w, 360px) 1fr; align-items: center; font-size: clamp(44px, 5.6vw, 92px); letter-spacing: -0.035em; line-height: .98; pointer-events: none; }
.h3d-split .l { text-align: right; }
.h3d-split .r { grid-column: 3; text-align: left; }
.h3d-split em { color: var(--coral); }
.h3d-tag { position: absolute; z-index: 2; left: 50%; bottom: calc(var(--dock-h, 220px) + 6px); transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: opacity .3s; }
.h3d-tag b { color: var(--ink); font-weight: 600; }
.h3d-tag i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.h3d-tag.is-swapping { opacity: 0; }
.h3d-tag.is-empty { opacity: 0; }
.h3d-dock { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(14px, 3vh, 32px); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 var(--gutter); pointer-events: none; }
.h3d-dock > * { pointer-events: auto; }
.h3d-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 820px; }
.h3d-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.h3d-chip:hover { background: #fff; }
.h3d-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.h3d-chip .ic { width: 15px; height: 15px; }
.h3d-askwrap { width: min(740px, 100%); }
.h3d-ask { padding: 16px 14px 12px 20px; background: #fff; border-radius: 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 1px rgba(25, 22, 20, .07), 0 30px 70px -30px rgba(25, 22, 20, .55), 0 10px 24px -16px rgba(25, 22, 20, .25); }
.h3d-ask textarea { display: block; width: 100%; min-height: 27px; max-height: 140px; padding: 0; border: 0; outline: 0; resize: none; background: transparent; font: 400 18px/1.4 var(--sans); color: var(--ink); field-sizing: content; }
.h3d-ask textarea::placeholder { color: #8C857D; }
.h3d-ask .ask-photo { margin-top: 12px; }
.h3d-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.h3d-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.h3d-add { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; }
.h3d-add .ic { width: 17px; height: 17px; }
.h3d-add.has-photo { background: var(--ink); border-color: var(--ink); color: #fff; }
.h3d-add.is-wanted { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(200, 69, 47, .18); }
.h3d-free { padding: 6px 10px; border-radius: 999px; background: #F8E3DC; color: var(--coral-dark); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.h3d-go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; transition: transform .15s, background .2s; }
.h3d-go:hover { background: var(--coral); }
.h3d-go:disabled { opacity: .5; cursor: progress; }
.h3d-go .ic { width: 20px; height: 20px; }
.h3d-ask .form-msg:empty { display: none; }
.h3d-ask .form-msg { margin: 8px 0 0; font-size: 14px; }
.h3d-job { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.h3d-job-q { margin: 0 0 8px; font: 400 18px/1.2 var(--serif); letter-spacing: -0.01em; }
.h3d-job-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.h3d-job-row button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.h3d-job-row button:hover, .h3d-job-row button:focus-visible { border-color: var(--ink); background: #fff; }
.h3d-job-row b { font-size: 14.5px; font-weight: 600; }
.h3d-job-row span { font-size: 12.5px; color: var(--muted); }
.h3d-fine { margin: 0; max-width: 720px; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; }
.h3d-fine b { color: var(--ink); font-weight: 600; }
.h3d .wait { margin-top: 10px; }
.h3d-off .h3d-split { position: relative; top: auto; transform: none; display: block; padding-top: 18px; text-align: center; }
.h3d-off .h3d-split .l, .h3d-off .h3d-split .r { text-align: center; }
.h3d-off .h3d-split br, .h3d-off .h3d-tag { display: none; }
@media (max-width: 720px) {
  .h3d { height: calc(100svh - var(--top) - 64px); min-height: 600px; }
  .h3d-split { position: relative; top: auto; transform: none; display: block; padding-top: 10px; text-align: center; font-size: clamp(38px, 10.5vw, 54px); }
  .h3d-split .l, .h3d-split .r { display: block; text-align: center; }
  .h3d-split br { display: none; }
  .h3d-tag { display: block; width: calc(100% - 2 * var(--gutter)); white-space: normal; text-align: center; font-size: 13px; }
  .h3d-tag i { display: inline-block; margin-right: 8px; vertical-align: middle; }
  .h3d-chips { flex-wrap: nowrap; justify-content: flex-start; width: calc(100% + 2 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .h3d-chips::-webkit-scrollbar { display: none; }
  .h3d-chip { flex: none; }
  .h3d-ask { padding: 14px 12px 10px 16px; border-radius: 22px; }
  .h3d-ask textarea { font-size: 16px; }
  .h3d-free { display: none; }
  .h3d-job-row { grid-template-columns: 1fr; }
  .h3d-job-row button { flex-direction: row; align-items: baseline; justify-content: space-between; }
}

/* ---------- save hearts on product cards (src/account.js) ---------- */
.pcard { position: relative; }
.pcard-save { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .86); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px -8px rgba(25, 22, 20, .5); transition: transform .15s, color .2s; }
.pcard-save:hover { transform: scale(1.06); }
.pcard-save .ic { width: 18px; height: 18px; }
.pcard-save[aria-pressed="true"], .pcard-save.is-saved { color: var(--coral); }
.pcard-save[aria-pressed="true"] path, .pcard-save.is-saved path { fill: currentColor; }

/* ---------- homepage: from the hero to the rest, the logo's layers draw across ---------- */
.layers-break { display: grid; gap: 7px; max-width: var(--max); margin: clamp(36px, 6vw, 72px) auto clamp(4px, 2vw, 16px); padding: 0 var(--gutter); }
.layers-break span { display: block; height: 9px; border-radius: 2px; background: var(--ink); transform-origin: left center; transform: scaleX(.001); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.layers-break span:nth-child(1) { width: 100%; }
.layers-break span:nth-child(2) { width: 100%; transition-delay: .08s; }
.layers-break .odd { width: 88%; margin-left: 12%; background: var(--coral); transform-origin: right center; transition-delay: .32s; }
.layers-break span:nth-child(4) { width: 100%; transition-delay: .16s; }
.layers-break span:nth-child(5) { width: 100%; transition-delay: .24s; }
.layers-break.is-in span, .no-js .layers-break span { transform: none; }
@media (prefers-reduced-motion: reduce) { .layers-break span { transform: none; transition: none; } }

/* ---------- homepage: what we design ---------- */
.ways-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ways-grid::-webkit-scrollbar { display: none; }
.way { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-big); background: var(--paper); box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; scroll-snap-align: start; transition: transform .25s, box-shadow .25s; }
.way-img { display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--stone); }
.way-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.way-text { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.way-title { font: 300 clamp(25px, 2.2vw, 30px)/1.05 var(--serif); letter-spacing: -0.025em; font-variation-settings: "SOFT" 50; }
.way-title em { color: var(--coral); }
.way-copy { color: var(--body); font-size: 15px; line-height: 1.5; }
.way-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.way-go { color: var(--coral-dark); white-space: nowrap; }
.way-dark { background: var(--ink); color: #F4F1EC; box-shadow: none; }
.way-dark .kicker { color: rgba(255, 255, 255, .7); }
.way-dark .way-copy { color: rgba(255, 255, 255, .78); }
.way-dark .way-title em, .way-dark .way-go { color: var(--coral-light); }
.way-dark .way-meta { border-top-color: rgba(255, 255, 255, .16); }
@media (hover: hover) { .way:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-strong), var(--lift); } .way:hover .way-img img { transform: scale(1.04); } }
@media (min-width: 900px) { .ways-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; overflow: visible; } }

/* ---------- custom design and for business ---------- */
.kinds { display: grid; gap: 12px; max-width: var(--max); margin: 0 auto; }
.kind { position: relative; padding: 22px 22px 24px; border-radius: var(--r-big); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.kind h3 { margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 30px); }
.kind p { margin: 0; color: var(--body); line-height: 1.5; }
.kind-link { color: inherit; text-decoration: none; background: var(--coral-soft); }
.kind-go { position: absolute; top: 20px; right: 22px; color: var(--coral-dark); font-size: 20px; }
@media (min-width: 760px) { .kinds { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; } }
.brief-wrap { display: grid; gap: 28px; max-width: var(--max); margin: 0 auto; align-items: start; }
.brief-side h2 { margin: 12px 0 18px; font-size: clamp(34px, 4vw, 54px); }
.brief-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.brief-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.brief-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 400 18px/1 var(--serif); }
.brief-steps h3 { margin: 2px 0 4px; font-size: 22px; }
.brief-steps p { margin: 0; color: var(--body); line-height: 1.5; }
.brief-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #E7F0E4; color: #24452A; font-size: 14.5px; }
.brief-note .ic { flex: none; width: 18px; height: 18px; color: #3D7A47; margin-top: 1px; }
.field-help { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
@media (min-width: 960px) { .brief-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } .brief-side { position: sticky; top: calc(var(--top) + 24px); } }

/* ---------- the Studio (src/studio.js) ---------- */
body.studio-open { overflow: hidden; }
.h3d.is-studio { position: fixed; z-index: 90; top: 0; left: 0; width: 100vw; height: 100dvh; min-height: 0; max-height: none; margin: 0; border-radius: 0;
  transition: top .55s cubic-bezier(.2, .8, .2, 1), left .55s cubic-bezier(.2, .8, .2, 1), width .55s cubic-bezier(.2, .8, .2, 1), height .55s cubic-bezier(.2, .8, .2, 1), border-radius .55s; }
.h3d.is-studio.is-entering { top: var(--st-top); left: var(--st-left); width: var(--st-width); height: var(--st-height); border-radius: 18px; }
.h3d.is-studio .h3d-copy, .h3d.is-studio .h3d-split, .h3d.is-studio .h3d-dock, .h3d.is-studio .h3d-resume { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility 0s .25s; }
.h3d.is-studio .h3d-stage { top: 64px; right: min(44%, 560px); bottom: 0; left: 0; transition: right .55s cubic-bezier(.2, .8, .2, 1); }
.h3d.is-studio .h3d-tag { left: calc((100% - min(44%, 560px)) / 2); bottom: 26px; }
.h3d.is-studio.has-designs .h3d-tag { opacity: 0; }
.studio { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.studio > * { pointer-events: auto; }
.studio-top { position: absolute; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(251, 249, 245, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.studio-brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font: italic 400 21px/1 var(--serif); letter-spacing: -0.02em; }
.studio-brand svg { width: 26px; height: auto; }
.studio-title { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; font: 400 17px/1.2 var(--serif); letter-spacing: -0.01em; }
.studio-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; }
.studio-x:hover { border-color: var(--ink); }
.studio-panel { position: absolute; top: 64px; right: 0; bottom: 0; width: min(44%, 560px); display: flex; flex-direction: column; border-left: 1px solid var(--line); background: rgba(251, 249, 245, .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: st-panel .5s .15s cubic-bezier(.2, .8, .2, 1) both; }
.studio-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.studio-thread:focus { outline: none; } /* focused by script (a link from an email), never by Tab */
.studio-ask { margin: 6px 14px 14px; padding: 12px 12px 10px 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(25, 22, 20, .08), 0 20px 50px -28px rgba(25, 22, 20, .5); }
.studio-ask textarea { display: block; width: 100%; max-height: 140px; padding: 2px 0; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); font: 400 16.5px/1.4 var(--sans); }
.studio-ask textarea::placeholder { color: #8C857D; }
.studio-bar { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.studio-bar .h3d-add { min-height: 36px; }
.studio-hint { flex: 1; color: var(--muted); font-size: 12px; text-align: right; }
.studio-bar .h3d-go { width: 40px; height: 40px; }
.studio-tray { display: flex; gap: 8px; margin-bottom: 10px; }
.studio-tray figure { position: relative; margin: 0; }
.studio-tray img { display: block; width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.studio-tray button { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; cursor: pointer; }
.h3d-resume { position: absolute; z-index: 3; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 500 14px/1 var(--sans); cursor: pointer; box-shadow: var(--lift-sm); }

/* the conversation */
.st-msg { display: flex; align-items: flex-end; gap: 10px; max-width: 92%; animation: st-in .35s cubic-bezier(.2, .8, .2, 1) both; }
.st-customer { align-self: flex-end; flex-direction: row-reverse; }
.st-ava { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.st-ava svg { width: 18px; height: auto; }
.st-body { padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: #fff; box-shadow: 0 0 0 1px rgba(25, 22, 20, .06), 0 8px 20px -16px rgba(25, 22, 20, .4); font-size: 15.5px; line-height: 1.45; }
.st-customer .st-body { border-radius: 18px 18px 6px 18px; background: var(--ink); color: #F4F1EC; box-shadow: none; }
.st-text { margin: 0; white-space: pre-wrap; }
.st-pics { display: flex; gap: 6px; margin-bottom: 8px; }
.st-pics img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.st-dots { display: inline-flex; gap: 4px; align-items: center; height: 18px; }
.st-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: st-dot 1s infinite ease-in-out both; }
.st-dots i:nth-child(2) { animation-delay: .15s; }
.st-dots i:nth-child(3) { animation-delay: .3s; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 40px; animation: st-in .35s .2s both; }
.st-chip { padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font: 500 14px/1.2 var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.st-chip:hover { background: #fff; border-color: var(--ink); }
.st-card { margin-left: 40px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgba(25, 22, 20, .45); animation: st-in .4s cubic-bezier(.2, .8, .2, 1) both; }
.st-card h4 { margin: 6px 0 8px; font: 400 22px/1.12 var(--serif); letter-spacing: -0.02em; }
.st-card p { margin: 0 0 8px; color: var(--body); line-height: 1.5; }
.st-card-kicker { margin: 0; color: var(--coral) !important; font: 600 11.5px/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; }
.st-sum { font-size: 14.5px; }
.st-fine { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.st-card .form-error:empty { display: none; }
.st-steps { display: grid; gap: 9px; margin: 12px 0; padding: 0; list-style: none; }
.st-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.st-steps li::before { content: ""; flex: none; width: 10px; height: 10px; border: 1.5px solid var(--line-strong); border-radius: 50%; }
.st-steps li.is-on { color: var(--ink); font-weight: 600; }
.st-steps li.is-on::before { border-color: var(--coral); background: var(--coral); animation: st-pulse 1.2s infinite; }
.st-steps li.is-done::before { border-color: var(--ink); background: var(--ink); }
.st-bar { height: 4px; overflow: hidden; border-radius: 4px; background: var(--stone); }
.st-bar i { display: block; width: 8%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--coral), #FF7A55); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.st-bar.is-busy i { width: 35%; animation: st-slide 1.6s infinite ease-in-out; }
.st-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.st-seg button { flex: 1 1 0; min-width: 76px; display: flex; flex-direction: column; gap: 3px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); color: var(--ink); font: 500 14px/1.2 var(--sans); text-align: left; cursor: pointer; }
.st-seg button b { font-size: 14px; }
.st-seg button span { font-size: 12.5px; opacity: .75; }
.st-seg button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.st-sizes { margin: 12px 0 4px; }
.st-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.st-swatches button { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 13.5px/1 var(--sans); cursor: pointer; }
.st-swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.st-swatches button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.st-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.st-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.st-field i { color: var(--muted); font-style: normal; font-weight: 500; }
.st-field input { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px; font: 500 16px/1.2 var(--sans); }
.st-field input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.st-field small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.35; }
.st-opt { margin: 10px 0; }
.st-opt > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.st-measure { margin: 10px 0; }
.st-measure summary { color: var(--coral-dark); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.st-measure ul { margin: 6px 0 0; padding-left: 18px; color: var(--body); font-size: 13.5px; line-height: 1.5; }
.st-qty { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; font-size: 13px; font-weight: 600; }
.st-stepper { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.st-stepper button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.st-stepper output { min-width: 26px; font-weight: 600; text-align: center; }
.st-buyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.st-price { display: block; font: 400 26px/1.1 var(--serif); letter-spacing: -0.02em; }
.st-warn { margin: 10px 0 0; padding: 10px 12px 10px 28px; border-radius: 10px; background: #FFF4E5; color: #6B4A12; font-size: 13.5px; line-height: 1.45; }
.st-rows { display: grid; gap: 9px; margin: 12px 0; }
.st-row { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.st-row input, .st-row textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); font: 400 15px/1.4 var(--sans); resize: vertical; }
.st-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 12px 0; }
.st-brief-pics { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.st-brief-pics img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.st-link { padding: 0; border: 0; background: none; color: var(--coral-dark); font: 600 13.5px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.st-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.st-confirm { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--paper); }
.st-changes { display: grid; gap: 8px; margin-top: 12px; }
.st-changes textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px; font: 400 15px/1.4 var(--sans); }
.st-loading { display: flex; align-items: center; gap: 10px; margin: 6px 0 0 !important; color: var(--muted) !important; }
.st-sent { background: linear-gradient(160deg, #fff 0%, #FBF3EF 100%); }
.st-jobs { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.st-jobs a { display: block; padding: 9px 12px; border-radius: 10px; background: var(--paper); color: inherit; text-decoration: none; font-size: 14.5px; }
.st-jobs a:hover { background: var(--stone); }
.st-sent .btn { margin-top: 6px; }

/* the designs, as cards floating on the stage */
.studio-designs { position: absolute; z-index: 2; top: 64px; left: 0; right: min(44%, 560px); bottom: 64px; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 44px); padding: 24px; perspective: 1200px; }
.st-design { position: relative; width: min(36%, 300px); padding: 10px 10px 42px; border: 0; border-radius: 6px; background: #fff; cursor: pointer; box-shadow: 0 34px 60px -30px rgba(25, 22, 20, .6), 0 2px 6px rgba(25, 22, 20, .12);
  rotate: calc(var(--i) * 7deg - 3.5deg); animation: st-deal .7s cubic-bezier(.2, .8, .2, 1) both, st-float 4.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * .14s), calc(.7s + var(--i) * .4s); transition: scale .5s cubic-bezier(.2, .8, .2, 1), rotate .5s, opacity .4s, filter .4s; }
.st-design img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: var(--stone); }
.st-design span { position: absolute; right: 0; bottom: 11px; left: 0; font: italic 400 18px/1 var(--serif); text-align: center; }
.st-design:hover { scale: 1.03; }
.st-design.is-picked { z-index: 2; scale: 1.14; rotate: 0deg; }
.st-design.is-dimmed { opacity: .38; filter: saturate(.5); scale: .9; }
/* only ever inside the open Studio; and not to be picked while the checkout for one is open */
.h3d:not(.is-studio) .studio-designs { display: none; }
.h3d.is-paying .studio-designs { pointer-events: none; }

/* Stripe's checkout, inside the Studio */
.studio-pay { position: absolute; top: 64px; right: 0; bottom: 0; z-index: 5; width: min(44%, 560px); padding: 14px; overflow-y: auto; background: rgba(251, 249, 245, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.studio-pay-in { position: relative; min-height: 100%; padding: 52px 6px 6px; border-radius: 18px; background: #fff; }
.studio-pay-in .studio-x { position: absolute; top: 8px; right: 8px; }

/* Custom design and For business: start in the Studio */
.studio-launch { padding: 26px 24px; border-radius: var(--r-big); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -36px rgba(25, 22, 20, .5); }
.studio-launch h3 { margin: 10px 0 14px; font-size: clamp(28px, 3vw, 38px); }
.studio-launch h3 em { color: var(--coral); }
.studio-launch textarea { display: block; width: 100%; margin-bottom: 14px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 14px; font: 400 17px/1.45 var(--sans); resize: vertical; }
.studio-launch .fine { margin: 12px 0 0; }
.form-fallback { margin-top: 18px; }
.form-fallback summary { color: var(--muted); font-size: 14px; cursor: pointer; }
.form-fallback .brief-form { margin-top: 14px; }

@keyframes st-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes st-panel { from { opacity: 0; transform: translateX(24px); } }
@keyframes st-deal { from { opacity: 0; transform: translateY(50px) scale(.85); } }
@keyframes st-float { to { translate: 0 -10px; } }
@keyframes st-dot { 0%, 80%, 100% { transform: scale(.55); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@keyframes st-pulse { 50% { box-shadow: 0 0 0 5px rgba(200, 69, 47, .18); } }
@keyframes st-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) {
  .h3d.is-studio, .st-msg, .st-card, .st-chips, .studio-panel, .st-design { transition: none; animation: none; }
}
@media (hover: none) { .studio-hint { display: none; } }
@media (max-width: 860px) {
  .h3d.is-studio .h3d-stage { top: 56px; right: 0; bottom: auto; height: 36dvh; }
  .h3d.is-studio .h3d-tag { top: calc(56px + 36dvh - 30px); bottom: auto; left: 50%; }
  .studio-top { height: 56px; padding: 0 12px; gap: 10px; }
  .studio-brand span { display: none; }
  .studio-panel { top: calc(56px + 36dvh); width: 100%; border-top: 1px solid var(--line); border-left: 0; border-radius: 20px 20px 0 0; animation-name: st-in; }
  .studio-thread { padding: 16px 14px 8px; }
  .studio-ask { margin: 6px 10px calc(10px + env(safe-area-inset-bottom)); }
  .studio-designs { top: 56px; right: 0; bottom: auto; height: 36dvh; padding: 14px; }
  .st-design { width: 40%; padding: 6px 6px 30px; }
  .st-design span { bottom: 8px; font-size: 15px; }
  .studio-pay { top: 0; width: 100%; }
  .st-card { margin-left: 0; }
  .st-chips { padding-left: 0; }
  .st-msg { max-width: 96%; }
  .st-fields, .st-contact { grid-template-columns: 1fr; }
}

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .xmas-more { display: inline; }
  .announce-link { display: inline; }
  .brand { font-size: 26px; gap: 10px; }
  .brand .mark { width: 30px; }
  .announce-link { display: inline; }
  .pgrid { gap: 40px 20px; }
  .pcard-name { font-size: 22px; }
  .pcard-tag { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sticker-sm { font-size: 12px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .dragons-pair { grid-template-columns: 1fr 1fr; gap: 24px; }
  .dragons-pair.figs-many { grid-template-columns: none; grid-auto-columns: 44%; }
  .mk-copy { padding: 32px 26px 24px; }
  .chips { margin: -4px -26px 0; padding: 6px 30px 8px; }
  .ask { padding: 16px 18px 14px; }
  .wait { padding: 22px 18px 14px; }
  .pets-in { padding: 16px 16px 36px; }
  .card-form { padding: 30px 28px; }
  .maker-card, .maker-soon { padding: 30px 28px; }
  .make-steps { grid-template-columns: repeat(4, 1fr); }
  .maker-soon-gift { grid-template-columns: 220px 1fr; }
  .codes { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .postcard { grid-template-columns: 1fr 1fr; }
  .postcard-back { border-top: 0; border-left: 1.5px dotted var(--line-strong); }
  .ticket-stub li { grid-template-columns: 96px 1fr; }
}

@media (min-width: 900px) {
  :root { --top: 68px; }
  .announce { font-size: 13.5px; }
  .section-tight { padding-top: 36px; }

  /* Hero: the coral panel with the ticket beside the polaroids, which sit on a sand table. */
  .mk-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 0; min-height: clamp(620px, 80vh, 780px); }
  .mk-panel { border-radius: var(--r-big) 0 0 var(--r-big); box-shadow: none; display: flex; align-items: center; }
  .mk-copy { width: 100%; padding: 48px 44px 40px; gap: 18px; }
  .mk-copy h1 { font-size: clamp(56px, 5.6vw, 92px); }
  .mk-lede { font-size: 18px; }
  .ask-ticket, .mk-rules { max-width: 600px; }
  .ask { padding: 18px 20px 16px; }
  .ask textarea { font-size: 22px; }
  .wait { padding: 24px 20px 16px; }
  .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; max-width: 640px; -webkit-mask-image: none; mask-image: none; }
  .mk-media { display: flex; align-items: center; justify-content: center; padding: 36px 32px 26px; border-radius: 0 var(--r-big) var(--r-big) 0; background: radial-gradient(ellipse at 50% 28%, #F2EBE0 0%, var(--sand) 72%); }
  .show { width: 100%; padding: 0; gap: 18px; }
  .show-stack { max-width: 400px; }
  .show-name { font-size: 21px; }

  .pets-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; padding: 22px 56px 22px 22px; }
  .pets-polaroid { width: 36%; right: -38px; bottom: 7%; }
  .pets-copy { padding: 20px 0; }
  .pets .cta-row .btn { flex: 0 0 auto; }

  .dragons-pair.figs-many { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 40px 24px; }
  .dragons-pair.figs-many:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .frail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .fcard-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .fcard-big .fcard-name { font-size: 30px; }
  .fcard-big .fcard-tag { left: 20px; bottom: 20px; right: auto; max-width: 70%; padding: 16px 20px; }
  .fcard-big .sticker { top: 20px; left: 20px; font-size: 14px; }

  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 24px; }
  .how-grid { grid-template-columns: repeat(4, 1fr); }
  .ticket { grid-template-columns: 1.35fr 1fr; }
  .ticket-main { padding: 44px 44px; justify-content: center; }
  .ticket-stub { padding: 40px 36px; border-top: 0; border-left: 2px dashed var(--line-strong); justify-content: center; }
  .ticket-stub::before, .ticket-stub::after { left: -13px; right: auto; }
  .ticket-stub::before { top: -13px; }
  .ticket-stub::after { top: auto; bottom: -13px; }
  .giftband-in { grid-template-columns: 1fr 1fr; gap: 56px; }
  .giftband-art { min-height: 460px; }

  .product { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: clamp(32px, 4vw, 64px); }
  .gallery { margin: 0; }
  .gal-track { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; }
  .gal-slide { border-radius: var(--r-img); overflow: hidden; }
  .gal-slide:first-child { grid-column: span 2; }
  .gal-slide:nth-child(n + 6) { display: none; } /* the rest are a colour away: picking one shows it big */
  .gal-slide.is-flash { animation: flash .9s ease-out; }
  .gal-count, .gal-dots { display: none; }
  .buy-col { position: sticky; top: calc(var(--top) + 20px); }
  .buybar { display: none; }
  .spin { position: sticky; top: calc(var(--top) + 20px); z-index: 5; margin: 0 0 10px; border-radius: var(--r-img); overflow: hidden; box-shadow: var(--lift); }
  .spin-close { right: 10px; }
  .gift-media { position: sticky; top: calc(var(--top) + 20px); }
  .gift-stage { padding: 30px 30px 40px; border-radius: var(--r-big); background: var(--sand); }
  .gift-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .gift-photos img { border-radius: var(--r-img); aspect-ratio: 4 / 5; object-fit: cover; }

  .make-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .make-hero-media { order: 0; height: 520px; aspect-ratio: 4 / 5; border-radius: 0 var(--r-big) var(--r-big) 0; }
  .make-hero-media img { object-position: center; }
  .make-hero-panel { margin: 0; border-radius: var(--r-big) 0 0 var(--r-big); display: flex; align-items: center; }
  .make-hero-panel > .bands { display: flex; }
  .make-hero-copy { padding: 48px 180px 48px 56px; }
  .maker { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .maker-rules { position: sticky; top: calc(var(--top) + 20px); }
  .maker-concepts { gap: 16px; }

  .foot-top { grid-template-columns: 1.1fr 1fr; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@keyframes flash { from { box-shadow: 0 0 0 4px var(--coral); } to { box-shadow: 0 0 0 4px transparent; } }

@media (min-width: 1200px) {
  .mk-copy { padding: 56px 64px 44px; }
  .show-stack { max-width: 420px; }
  .pcard-name { font-size: 24px; }
}

@media (max-width: 399px) {
  .brand { font-size: 19px; gap: 6px; }
  .brand .mark { width: 23px; }
  .topbar-in { gap: 6px; }
}
@media (max-width: 359px) {
  .topbar-in { padding: 0 12px; gap: 8px; }
  .brand { font-size: 19px; gap: 7px; }
  .brand .mark { width: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard-media img, .fcard img, .dragon-img img { transition: none; }
}

/* ---------- on paper: only the gift card ---------- */
@media print {
  @page { size: landscape; margin: 10mm; }
  body { background: #fff; }
  .announce, .topbar, .footer, .bag, .bag-backdrop, .skip, .no-paper, .buybar { display: none !important; }
  .gift-sheet { padding: 0; max-width: none; }
  .postcard { width: 210mm; height: 148mm; margin: 0 auto; grid-template-columns: 1fr 1fr; box-shadow: none; border-radius: 0; outline: 0.3mm dashed #999; outline-offset: 0; }
  .postcard-front { padding: 8mm; }
  .postcard-back { padding: 9mm 8mm; border-top: 0; border-left: 0.3mm dotted #999; }
  .giftcard { box-shadow: none; transform: none; }
}

/* ---------- accounts: the account page (/account/, lib/account-page.mjs) and the saved hearts on
   every page (src/account.js). Appended to styles.css at build, so it uses its tokens. Phone first,
   like styles.css: wider screens add to these. */

/* ---------- saved hearts, site-wide ---------- */
.save-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--lift-sm); cursor: pointer; transition: transform .15s, color .15s, background-color .15s; -webkit-tap-highlight-color: transparent; }
.save-btn .ic { width: 20px; height: 20px; }
.save-btn .ic path, .save-wide .ic path { fill: transparent; transition: fill .15s; }
.save-btn:hover { transform: scale(1.06); }
.save-btn:active { transform: scale(.96); }
.save-btn.is-saved { color: var(--coral); }
.save-btn.is-saved .ic path, .save-wide.is-saved .ic path { fill: currentColor; }
/* The shop cards' own hearts (.pcard-save in styles.css) get the same little pop. */
.save-btn.is-popping .ic, .save-wide.is-popping .ic, .pcard-save.is-popping .ic { animation: acct-pop .42s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes acct-pop { 0% { transform: scale(1); } 40% { transform: scale(1.32); } 100% { transform: scale(1); } }
/* On a product page: a full-width button under Add to bag. */
.btn.save-wide { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn.save-wide:hover { border-color: var(--ink); }
.btn.save-wide.is-saved { border-color: var(--coral); color: var(--coral-dark); }
/* The header: a filled heart when something is saved, and a coral dot when signed in. */
.tool.has-saved .ic path { fill: var(--coral); stroke: var(--coral); }
.tool.is-signed-in::after { content: ""; position: absolute; right: 7px; bottom: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--stone); }

/* ---------- the page and its three states ---------- */
.acct { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 0; }
.acct [data-account-out], .acct [data-account-in], .acct [data-account-loading] { display: none; }
.acct.is-out [data-account-out], .acct.is-in [data-account-in], .acct.is-loading [data-account-loading] { display: grid; }

.acct-card { padding: 22px 20px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
.acct-card h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.acct-card h3 .ic { width: 20px; height: 20px; color: var(--coral-dark); }
.acct-inline-btn { min-height: 0; font: inherit; font-weight: 600; color: var(--ink); }

/* the status pill and the order's four steps */
.acct-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 11px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; background: var(--sand); color: var(--ink); }
.acct-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.acct-pill-making { background: var(--coral-soft); color: var(--coral-dark); }
.acct-pill-shipped { background: var(--coral); color: #fff; }
.acct-pill-done { background: var(--ink); color: #fff; }
.acct-pill-action { background: #fff; color: var(--coral-dark); box-shadow: inset 0 0 0 1.5px var(--coral); }
.acct-pill-action::before { opacity: 1; animation: acct-blink 1.6s ease-in-out infinite; }
.acct-pill-off { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.acct-pill-gift { background: var(--coral-soft); color: var(--ink); }
@keyframes acct-blink { 50% { opacity: .25; } }
.acct-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 100%; max-width: 220px; }
.acct-progress i { height: 5px; border-radius: 3px; background: rgba(25, 22, 20, .1); }
.acct-progress[data-step="1"] i:nth-child(-n+1), .acct-progress[data-step="2"] i:nth-child(-n+2),
.acct-progress[data-step="3"] i:nth-child(-n+3), .acct-progress[data-step="4"] i:nth-child(-n+4) { background: var(--coral); }
.acct-steps { display: flex; justify-content: space-between; max-width: 420px; margin-top: 6px; font-size: 12px; color: var(--muted-2); }
.acct-steps span.is-on { color: var(--ink); font-weight: 600; }

/* a product photo or, when there isn't one, the mark on sand */
.acct-thumb { position: relative; display: grid; place-items: center; flex: none; width: 56px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--tone, var(--sand)); }
.acct-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acct-thumb-mark .mark { width: 26px; height: auto; }
.acct-ref { display: inline-flex; align-items: center; flex: none; padding: 6px 9px; border-radius: 8px; background: var(--ink); color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .08em; }

/* ---------- loading ---------- */
.acct-loading { grid-template-columns: 1fr; gap: 18px; }
.acct-skel { border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.acct-skel-side { display: none; }
.acct-skel-avatar { width: 56px; height: 56px; border-radius: 50%; }
.acct-skel-line { height: 14px; border-radius: 7px; width: 70%; }
.acct-skel-short { width: 45%; }
.acct-skel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acct-skel-row span { height: 92px; border-radius: 12px; }
.acct-skel-avatar, .acct-skel-line, .acct-skel-row span { background: linear-gradient(90deg, rgba(25, 22, 20, .06), rgba(25, 22, 20, .11), rgba(25, 22, 20, .06)); background-size: 200% 100%; animation: acct-shimmer 1.4s linear infinite; }
@keyframes acct-shimmer { to { background-position: -200% 0; } }
.acct-loading-msg { display: flex; align-items: center; gap: 10px; font: 400 22px/1.2 var(--serif); letter-spacing: -0.02em; }
.acct-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(25, 22, 20, .15); border-top-color: var(--coral); animation: acct-spin .8s linear infinite; }
@keyframes acct-spin { to { transform: rotate(360deg); } }
.acct-loading .btn { align-self: flex-start; }

/* ---------- signed out ---------- */
.acct-out { grid-template-columns: 1fr; gap: 16px; }
.acct-signin { display: flex; flex-direction: column; gap: 18px; padding: 26px 20px 24px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
.acct-signin .display-sm { font-size: clamp(36px, 6vw, 58px); }
.acct-signin .lede { font-size: 17px; }
.acct-form { display: flex; flex-direction: column; gap: 14px; }
.acct-form .btn .ic { width: 18px; height: 18px; }
.acct-note { padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.acct-note-warn { background: #F6E6DE; border: 1px solid #EBCFC2; color: var(--ink); }
.acct-sent { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.acct-sent h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 6px; }
.acct-sent p + p { margin-top: 8px; }
.acct-sent-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff; box-shadow: 0 10px 22px -12px rgba(184, 60, 39, .9); }
.acct-sent-ic .ic { width: 22px; height: 22px; }
.acct-perks { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--body); }
.acct-perks li { display: flex; align-items: center; gap: 10px; }
.acct-perks .ic { color: var(--coral-dark); }

.acct-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; min-height: 340px; padding: 26px 22px 28px; border-radius: var(--r-big); background: var(--ink); color: #fff; }
.acct-hero > *:not(.bands) { position: relative; z-index: 1; max-width: 520px; }
/* Phones: the bands are a thin strip down the right edge; full width on wider screens. */
.acct-hero .bands span:nth-child(1) { width: 18px; }
.acct-hero .bands span:nth-child(2) { width: 11px; }
.acct-hero .bands span:nth-child(3) { width: 21px; }
.acct-hero .bands span:nth-child(4) { width: 7px; }
.acct-hero .bands span:nth-child(5) { width: 14px; }
.acct-hero h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.04; }
.acct-hero h2 em { color: var(--coral-light); }
.acct-preview { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-right: 40px; }
.acct-ticket { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .8); }
.acct-ticket-a { transform: rotate(-1.6deg); }
.acct-ticket-b { transform: rotate(1.2deg) translateX(14px); }
.acct-ticket-c { transform: rotate(-.8deg) translateX(4px); align-self: flex-start; }
.acct-ticket-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.acct-ticket-k { font: 600 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.acct-ticket-t { font: 400 18px/1.15 var(--serif); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-ticket .acct-thumb { width: 42px; }
.acct-ticket .acct-progress { max-width: 120px; }
.acct-heart-big { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); }
.acct-heart-big .ic path { fill: currentColor; }
.acct-ticket-b .acct-pill, .acct-ticket-a .acct-pill { display: none; }

/* ---------- signed in ---------- */
.acct-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.acct-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.acct-me { display: flex; align-items: center; gap: 14px; min-width: 0; }
.acct-avatar { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--coral); color: #fff; font: italic 400 25px/1 var(--serif); box-shadow: 0 0 0 3px var(--stone), 0 0 0 4px rgba(200, 69, 47, .35), 0 12px 24px -14px rgba(184, 60, 39, .9); overflow: hidden; }
.acct-avatar::after { content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 9%; background: rgba(25, 22, 20, .16); }
.acct-me-text { min-width: 0; }
.acct-hi { font: 400 24px/1.1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-email { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Phones: the sidebar is a row of tabs that scrolls sideways. */
.acct-nav { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.acct-nav::-webkit-scrollbar { display: none; }
.acct-group { display: none; }
.acct-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--ink); font: 500 14px/1 var(--sans); white-space: nowrap; cursor: pointer; scroll-snap-align: start; transition: background-color .15s, color .15s, border-color .15s; }
.acct-tab .ic { width: 17px; height: 17px; }
.acct-tab:hover { border-color: var(--ink); }
.acct-tab.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.acct-count { min-width: 22px; padding: 4px 7px; border-radius: 999px; background: rgba(25, 22, 20, .08); font: 700 11.5px/1 var(--sans); text-align: center; }
.acct-tab.is-current .acct-count { background: var(--coral); color: #fff; }
.acct-signout { color: var(--muted); }

.acct-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.acct-head { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.acct-head .display-sm { font-size: clamp(38px, 6.4vw, 64px); }
.acct-since { font-size: 14px; color: var(--muted); }

.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.acct-stat { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 14px 14px 12px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--lift-sm); transition: transform .2s, box-shadow .2s; }
.acct-stat:hover { transform: translateY(-2px); box-shadow: var(--lift); }
.acct-stat-paper { background: var(--paper); }
.acct-stat-sand { background: var(--sand); }
.acct-stat-coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.acct-stat-ic { position: absolute; top: 12px; right: 12px; opacity: .55; }
.acct-stat-coral .acct-stat-ic { opacity: .9; }
.acct-stat-coral .acct-stat-ic .ic path { fill: currentColor; }
.acct-stat-n { font: 300 40px/1 var(--serif); letter-spacing: -0.03em; font-variation-settings: "SOFT" 50; }
.acct-stat-label { font: 600 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

/* the latest order, or a welcome when there's none */
.acct-latest:empty { display: none; }
.acct-latest-card { position: relative; display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-big); background: #fff; border: 1px solid var(--line); box-shadow: var(--lift); overflow: hidden; }
.acct-latest-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--coral); }
.acct-latest-card .acct-thumb { width: 76px; }
.acct-latest-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.acct-latest-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.acct-kicker { font: 600 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.acct-latest-no { font: 400 24px/1.05 var(--serif); letter-spacing: -0.02em; }
.acct-latest-what { font-size: 14.5px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-latest-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.acct-welcome { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-big); background: var(--sand); border: 1px solid var(--line); }
.acct-welcome h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.acct-welcome .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.btn.acct-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.acct-btn-sm .ic { width: 16px; height: 16px; }

/* sections */
.acct-panel { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; scroll-margin-top: calc(var(--top) + 16px); }
.acct-panel-head { display: flex; flex-direction: column; gap: 4px; }
.acct-panel-head h2 { font-size: clamp(28px, 4vw, 36px); }
.acct-panel-head p { color: var(--muted); font-size: 15px; }
.acct-panel-foot { margin-top: 2px; }
.acct-list { display: flex; flex-direction: column; gap: 12px; }
.acct-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 20px; border-radius: var(--r-big); border: 1.5px dashed var(--line-strong); background: rgba(244, 241, 236, .6); }
.acct-empty-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--coral-dark); box-shadow: var(--lift-sm); }
.acct-empty h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.acct-empty p { color: var(--muted); font-size: 15px; max-width: 460px; }

/* an order */
.acct-order { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
.acct-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acct-order-no { font: 400 24px/1.05 var(--serif); letter-spacing: -0.02em; }
.acct-meta { margin-top: 4px; font-size: 14px; color: var(--muted); }
.acct-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acct-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acct-line-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct-line-name { font: 400 18px/1.2 var(--serif); letter-spacing: -0.01em; }
.acct-line-sub { font-size: 14px; color: var(--muted); }
.acct-order-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.acct-total { font-weight: 700; }
.acct-total span { font-weight: 400; color: var(--muted); margin-right: 6px; }
.acct-order-links { display: flex; flex-wrap: wrap; gap: 8px; }

.acct-track { display: flex; flex-direction: column; gap: 6px; }
.acct-track .acct-progress { max-width: 420px; }
.acct-latest-date { margin-left: 10px; font: 400 14px/1 var(--sans); letter-spacing: 0; color: var(--muted); }
.acct-design-id { display: inline-flex; align-items: center; gap: 10px; }

/* saved */
.acct-saved-grid.is-empty { display: block; }
.acct-saved-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.acct-mini { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.acct-mini-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-img); overflow: hidden; background: var(--tone, var(--sand)); box-shadow: var(--lift-sm); }
.acct-mini-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.acct-mini-media:hover img { transform: scale(1.04); }
.acct-mini-media .mark { position: absolute; left: 50%; top: 50%; width: 40px; height: auto; transform: translate(-50%, -50%); }
.acct-mini > .save-btn { position: absolute; top: 8px; right: 8px; z-index: 2; }
.acct-mini-name { font: 400 17px/1.15 var(--serif); letter-spacing: -0.01em; }
.acct-mini-price { font-size: 14.5px; font-weight: 600; }

/* a design */
.acct-design { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
.acct-design-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.acct-design-idea { font: italic 300 19px/1.35 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.acct-design-idea::before { content: "\201C"; color: var(--coral); }
.acct-design-idea::after { content: "\201D"; color: var(--coral); }
.acct-design .btn { align-self: flex-start; }

/* details */
.acct-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.acct-details-form, .acct-prefs { display: flex; flex-direction: column; gap: 16px; }
.acct-details-form .btn { align-self: flex-start; }
.acct-label { font-size: 14px; font-weight: 600; }
.acct-email-box { padding: 13px 14px; border-radius: var(--r-btn); background: var(--stone); border: 1px solid var(--line); font-size: 16px; overflow-wrap: anywhere; }
.acct-prefs { scroll-margin-top: calc(var(--top) + 16px); }
.acct-prefs.is-flash { animation: acct-flash 1.4s ease-out; }
@keyframes acct-flash { 0% { box-shadow: 0 0 0 3px var(--coral), var(--lift); } 100% { box-shadow: 0 0 0 0 transparent, var(--lift); } }
.acct-switch { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.acct-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.acct-switch-ui { position: relative; flex: none; width: 48px; height: 28px; margin-top: 2px; border-radius: 999px; background: rgba(25, 22, 20, .18); transition: background-color .2s; }
.acct-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(25, 22, 20, .3); transition: transform .2s cubic-bezier(.3, .8, .3, 1.2); }
.acct-switch input:checked + .acct-switch-ui { background: var(--coral); }
.acct-switch input:checked + .acct-switch-ui::after { transform: translateX(20px); }
.acct-switch input:focus-visible + .acct-switch-ui { outline: 2px solid var(--ink); outline-offset: 3px; }
.acct-switch-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); }
.acct-switch-text strong { color: var(--ink); font-size: 16px; }

/* privacy */
.acct-privacy { display: flex; flex-direction: column; gap: 18px; }
.acct-kept { margin: 0; display: grid; gap: 16px; }
.acct-kept dt { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.acct-kept dt .ic { color: var(--coral-dark); }
.acct-kept dd { margin: 4px 0 0 26px; color: var(--body); font-size: 15px; line-height: 1.55; }
.acct-privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* a short message at the bottom of the screen (src/account.js notice()) */
.acct-toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font: 500 14.5px/1.4 var(--sans); box-shadow: 0 18px 36px -18px rgba(25, 22, 20, .9); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.acct-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body:has(.buybar:not([hidden])) .acct-toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .acct-saved-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
  .acct-stat { padding: 18px 18px 16px; }
  .acct-stat-n { font-size: 52px; }
  .acct-order, .acct-design { padding: 20px 22px; }
  .acct-latest-card { padding: 18px 20px 18px 22px; }
  .acct-latest-card .acct-thumb { width: 92px; }
  .acct-thumb { width: 60px; }
  .acct-ticket-b .acct-pill, .acct-ticket-a .acct-pill { display: inline-flex; }
}
@media (min-width: 900px) {
  .acct { padding-top: 40px; }
  .acct.is-loading [data-account-loading] { grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
  .acct-skel-side { display: flex; }
  .acct-out { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
  .acct-signin { padding: 38px 36px 34px; }
  .acct-hero { padding: 36px 34px; min-height: 560px; }
  .acct-preview { padding-right: 120px; }
  .acct-hero .bands span:nth-child(1) { width: 44px; }
  .acct-hero .bands span:nth-child(2) { width: 28px; }
  .acct-hero .bands span:nth-child(3) { width: 52px; }
  .acct-hero .bands span:nth-child(4) { width: 18px; }
  .acct-hero .bands span:nth-child(5) { width: 36px; }
  .acct-in { grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
  .acct-side { position: sticky; top: calc(var(--top) + 20px); gap: 14px; }
  .acct-me { padding: 20px; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
  .acct-avatar { width: 60px; height: 60px; font-size: 29px; }
  /* the sidebar's groups */
  .acct-nav { flex-direction: column; gap: 2px; margin: 0; padding: 12px; overflow: visible; border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
  .acct-group { display: block; margin: 12px 10px 6px; font: 600 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
  .acct-group:first-child { margin-top: 4px; }
  .acct-tab { width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; }
  .acct-tab:hover { background: rgba(25, 22, 20, .05); }
  .acct-tab-label { flex: 1; text-align: left; }
  .acct-tab.is-current { background: var(--ink); }
  .acct-signout { position: relative; margin-top: 12px; }
  .acct-signout::before { content: ""; position: absolute; left: 10px; right: 10px; top: -7px; height: 1px; background: var(--line); }
  .acct-main { gap: 20px; }
  .acct-head { padding-top: 0; }
  .acct-stats { gap: 14px; }
  .acct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .acct-card { padding: 26px 24px; }
}
@media (min-width: 1200px) {
  .acct-saved-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .save-btn, .acct-stat, .acct-mini-media img, .acct-switch-ui, .acct-switch-ui::after, .acct-toast { transition: none; }
  .save-btn.is-popping .ic, .save-wide.is-popping .ic, .pcard-save.is-popping .ic, .acct-pill-action::before, .acct-skel-avatar, .acct-skel-line, .acct-skel-row span, .acct-spinner, .acct-prefs.is-flash { animation: none; }
}
