/* That Groovy Spot: the shared shell, "The Room". Always dark; components use only the semantic aliases.
   The pieces are documented in .claude/ROOM-SYSTEM.md. No inline style: the strict CSP forbids it. */

@font-face { font-family: "Big Shoulders Display"; src: url(/assets/fonts/big-shoulders-display-900.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(/assets/fonts/unbounded-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(/assets/fonts/space-grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Bagel Fat One"; src: url(/assets/fonts/bagel-fat-one.woff2) format("woff2"); font-weight: 400; font-display: swap; }
/* Fallbacks measured against the real fonts (.claude/tools/font-fallbacks.cjs), one face per local font so each gets its own size. */
@font-face { font-family: "Shoulders Fallback I"; src: local("Impact"); font-weight: 900; size-adjust: 95.7%; ascent-override: 104%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Shoulders Fallback H"; src: local("HelveticaNeue-CondensedBlack"); font-weight: 900; size-adjust: 88.3%; ascent-override: 112%; descent-override: 24.2%; line-gap-override: 0%; }
@font-face { font-family: "Shoulders Fallback A"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 900; size-adjust: 70%; ascent-override: 140.6%; descent-override: 30.4%; line-gap-override: 0%; }
@font-face { font-family: "Unbounded Fallback V"; src: local("Verdana Bold"), local("Verdana-Bold"); font-weight: 700; size-adjust: 109.3%; ascent-override: 91%; descent-override: 22.4%; line-gap-override: 0%; }
@font-face { font-family: "Unbounded Fallback A"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700; size-adjust: 124%; ascent-override: 80.2%; descent-override: 19.8%; line-gap-override: 0%; }
/* The reading font's fallback is sized per weight (measured on the pages' own sentences, .claude/shellfix/fontcls.mjs), so lines wrap alike before and after the web font. */
@font-face { font-family: "Grotesk Fallback"; src: local("Arial"), local("Helvetica"); font-weight: 300 400; size-adjust: 107.6%; ascent-override: 92%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Grotesk Fallback"; src: local("Arial"), local("Helvetica"); font-weight: 500; size-adjust: 111%; ascent-override: 92%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Grotesk Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"); font-weight: 600 700; size-adjust: 100.9%; ascent-override: 92%; descent-override: 27%; line-gap-override: 0%; }

:root {
  /* raw colours: the daylight names stay (tests and page styles read them) */
  --paper: #F5F0E6; --card: #FFFBF4; --peach: #FFE9D6;
  --ink: #1B0024; --plum: #2E003E; --muted: #5E4A66;
  --pink-ink: #C4005F; --rust: #B23A10; --line: #8C7A95;
  --ok: #1E7A46; --err: #B3261E;
  /* raw colours: the room at night */
  --night: #0B0214; --night-card: #170628; --cream: #F5F0E6; --muted-n: #B9A6C2;
  --pink: #FF007F; --pink-300: #FF4FA3; --orange: #FF7E5F; --gold: #FFC94D; --cyan: #35E0FF;
  --line-n: #9C7FA8; --mint: #7CE0A3; --err-n: #FF8A80; --violet: #6A0DAD;
  --night-band: #24093A; --well: #07010D;

  /* semantic aliases: the only names components use */
  --bg: var(--night); --surface: var(--night-card); --band: var(--night-band);
  --text: var(--cream); --head: var(--cream); --soft: var(--muted-n);
  --link: var(--pink-300); --btn: var(--pink); --btn-text: var(--ink);
  --date: var(--orange); --edge: var(--line-n); --good: var(--mint); --bad: var(--err-n);
  --focus: #FFFFFF; --shadow: none;
  /* accent pair: one per chapter. Prints pages are warm, Nights pages are pink and cyan (set on body below). */
  --accent: var(--orange); --accent-2: var(--gold); --h1-c: var(--gold); --h1-s: var(--pink);
  --off: 6px; /* the hard offset of a sticker shadow */
  --fs-label: max(.53rem, min(.706rem, 3.8vw)); /* small wide labels: 12px, growing with larger text without outgrowing a phone */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --f-display: "Big Shoulders Display", "Shoulders Fallback H", "Shoulders Fallback I", "Shoulders Fallback A", Impact, "Arial Narrow", sans-serif;
  --f-label: "Unbounded", "Unbounded Fallback V", "Unbounded Fallback A", Verdana, system-ui, sans-serif;
  --f-body: "Space Grotesk", "Grotesk Fallback", system-ui, -apple-system, sans-serif;
  --gutter: 16px; --pad-x: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right));
  --shell-w: max(1320px, 78vw); /* one width for header, page and footer */
  --sticky-h: 0px;
  color-scheme: dark;
}
/* One committed look: a dark OS setting changes nothing here, it only confirms the native controls are dark too. */
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; } }
@media (min-width: 64em) { :root { --gutter: 32px; } }
body.day { --accent: var(--orange); --accent-2: var(--gold); --h1-c: var(--gold); --h1-s: var(--pink); }
body.night { --accent: var(--pink); --accent-2: var(--cyan); --h1-c: var(--pink); --h1-s: var(--cyan); color-scheme: dark; }
@media (prefers-contrast: more) {
  :root, body.night { --soft: var(--text); --edge: var(--text); --link: var(--cream); }
}

/* Base. 1rem = 17px; on iOS it is the Dynamic Type body size. */
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-bottom: calc(var(--sticky-h) + 16px); scroll-padding-top: calc(var(--header-h, 72px) + var(--hold-h, 0px) + 8px); }
@supports (font: -apple-system-body) and (-webkit-touch-callout: none) { html { font: -apple-system-body; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 1rem; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; padding-bottom: var(--sticky-h); overflow-wrap: break-word; counter-reset: level; }
/* The floor of the room: a faint arcade grid and one neon glow from the top corner. Decoration only. */
body { background-image: radial-gradient(52rem 26rem at 88% -6rem, rgba(255, 0, 127, .2), transparent 70%), linear-gradient(rgba(53, 224, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(53, 224, 255, .055) 1px, transparent 1px); background-size: 100% 40rem, 3rem 3rem, 3rem 3rem; background-repeat: no-repeat, repeat, repeat; }
main { flex: 1 0 auto; outline: none; }
img, svg { max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--cream); }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: 8px; top: 0; transform: translateY(-160%); z-index: 100; background: var(--gold); color: var(--ink); font-weight: 700; padding: 12px 16px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--pink); }
.skip:hover { color: var(--ink); }
.skip:focus { transform: none; top: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 1.35rem; height: 1.35rem; flex: none; vertical-align: -.25em; }

/* Type. Headlines: giant condensed capitals. Labels: small and wide. Reading: Space Grotesk. */
h1, h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: .005em; color: var(--head); overflow-wrap: break-word; text-wrap: balance; margin: 0 0 .4em; }
h1 { font-size: max(2rem, min(clamp(3.4rem, 2rem + 6.5vw, 7.5rem), 20vw)); line-height: .9; color: var(--h1-c); }
/* The h2 floor, base and cap each sit below every h1's (the shell's, the product title's and the home hero's), so a title is never smaller than a heading under it at any width or text size. */
h2 { font-size: max(1.3rem, min(clamp(1.95rem, 1.2rem + 3.2vw, 4rem), 13vw)); line-height: .95; text-shadow: .045em .045em 0 var(--accent); }
h3 { font-size: max(1.118rem, min(1.294rem, 9.4vw)); line-height: 1.25; font-weight: 700; margin: 0 0 .35em; }
/* The neon headline shadow: a thin ink edge, a hard offset in a second neon, then ink again. Sizes follow the letter size. */
h1, .neon, .neon-gold, .neon-pink, .neon-orange { text-shadow: .013em 0 0 var(--well), -.013em 0 0 var(--well), 0 .013em 0 var(--well), 0 -.013em 0 var(--well), .05em .05em 0 var(--neon-s, var(--h1-s)), .066em .066em 0 var(--well); }
.neon-gold { color: var(--gold); --neon-s: var(--pink); }
.neon-pink { color: var(--pink); --neon-s: var(--cyan); }
.neon-orange { color: var(--orange); --neon-s: var(--cyan); }
@media (prefers-contrast: more) { h1, h2, .neon, .neon-gold, .neon-pink, .neon-orange { text-shadow: none; } }
.sub, .lead { font-size: max(1rem, min(1.176rem, 8.4vw)); line-height: 1.45; max-width: 66ch; font-weight: 500; }
p, li { max-width: 66ch; }
.eyebrow { font-family: var(--f-label); font-size: .706rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin: 0 0 .75rem; line-height: 1.35; font-weight: 700; text-shadow: none; }
.spec, .hint, .note, .signup-status, .form-status { font-size: .882rem; line-height: 1.45; color: var(--soft); }
.ready { font-size: .882rem; font-weight: 500; color: var(--date); margin: .15rem 0 0; }
.amount, .card-price, .line-total { font-family: var(--f-display); font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: .01em; }
.amount { font-size: max(1.5rem, min(2.4rem, 12vw)); margin: .25rem 0; color: var(--gold); }
table, .amount, .card-price, .line-total, input[type=number] { font-variant-numeric: tabular-nums; }

/* Layout */
.wrap { width: 100%; max-width: calc(var(--shell-w) + 2 * var(--pad-x)); margin: 0 auto; padding: 24px var(--pad-x) 64px; }
.wrap.narrow { width: auto; } /* with nights.css's margin, never wider than the window */
@media (min-width: 64em) { .wrap { padding-top: 40px; padding-bottom: 112px; } }
.wrap > section, .wrap > .form { margin-block: 40px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 16px; padding: 0; font-size: .882rem; }
.crumbs li { display: flex; align-items: center; gap: 8px; max-width: none; }
.crumbs li + li::before { content: "\203A"; color: var(--gold); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--text); }
.announce { --focus: var(--ink); --link: var(--ink); position: relative; background: var(--gold); color: var(--ink); padding: 10px var(--pad-x); font-size: .882rem; font-weight: 600; text-align: center; border-bottom: 3px solid var(--well); }
.announce p { margin: 0 auto; }
.announce a:hover { color: var(--ink); text-decoration-thickness: .14em; }

/* Header: a flat ink band with a pink rule under it */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 3px solid var(--pink); padding-top: env(safe-area-inset-top); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; max-width: calc(var(--shell-w) + 2 * var(--pad-x)); margin: 0 auto; padding: 4px var(--pad-x); }
.mark { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; min-width: 44px; color: var(--cream); text-decoration: none; }
.mark:hover { color: var(--gold); }
.mark img { width: 38px; height: auto; }
.wordmark { display: none; font-family: var(--f-label); font-weight: 700; font-size: .8rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
@media (min-width: 30em) { .wordmark { display: inline; } }
.main-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 0 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li { max-width: none; }
.main-nav a, .menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; min-width: 44px; padding: 0 9px; font-family: var(--f-label); font-size: var(--fs-label); font-weight: 700; letter-spacing: .04em; line-height: 1.2; text-transform: uppercase; color: var(--text); text-decoration: none; background: none; border: 0; border-radius: 0; cursor: pointer; }
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -4px 0 var(--gold); }
.main-nav .desk { display: none; }
.main-nav .pill.reserve { min-height: 44px; margin: 0 6px 0 10px; padding: 0 16px; font-size: var(--fs-label); color: var(--btn-text); box-shadow: 4px 4px 0 var(--gold); }
/* The Menu button is the phone's arcade button: pink, ink edge, gold drop. */
.main-nav .menu-btn { min-height: 44px; margin: 0 4px 0 6px; padding: 0 14px; justify-content: center; background: var(--btn); color: var(--btn-text); border: 2px solid var(--well); box-shadow: 3px 3px 0 var(--gold); }
.main-nav .menu-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--gold); }
@media (min-width: 64em) { .main-nav .desk { display: block; } .main-nav .menu-btn { display: none; } .main-nav a { padding: 0 8px; } .main-nav .pill.reserve { margin-right: 4px; transform: rotate(-1.5deg); } .main-nav .pill.reserve:active { transform: rotate(-1.5deg) translate(3px, 3px); } }
/* Narrow laptops: the whole bar, cart link included, stays on one line. */
@media (min-width: 64em) and (max-width: 74.99em) { .bar { gap: 4px 8px; } .wordmark { font-size: .706rem; } .main-nav a { padding: 0 5px; font-size: .706rem; letter-spacing: 0; } .main-nav .pill.reserve { margin: 0 4px 0 6px; padding: 0 12px; } .cart-link [data-cart-label] { display: none; } }
.cart-link { font-variant-numeric: tabular-nums; }
@media (max-width: 29.99em) { .cart-link [data-cart-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .main-nav a, .menu-btn { padding: 0 6px; } .main-nav .menu-btn { padding: 0 10px; } .bar { flex-wrap: nowrap; gap: 4px 8px; } }
/* Phones up to 387px: the bar, with the cart link showing, still fits on one line; Prints and Nights keep a 12px gap. */
@media (max-width: 24.24em) { .main-nav .fold ~ .fold, .plain li + li { margin-left: 8px; } .bar { gap: 2px; padding-inline: max(8px, env(safe-area-inset-left), env(safe-area-inset-right)); } .main-nav a, .menu-btn { font-size: max(.5rem, min(.706rem, 3.75vw)); } .main-nav a { padding: 0 2px; letter-spacing: 0; gap: 3px; } .main-nav .menu-btn { margin: 0 3px 0 2px; padding: 0 5px; letter-spacing: 0; box-shadow: 2px 2px 0 var(--gold); } .main-nav ul { gap: 0; } }
/* Very large text on a phone (under 17em wide, so never at normal size): Prints and Nights fold into the Menu sheet so the bar stays one line. */
@media (max-width: 17em) { .main-nav li.fold { display: none; } .site-header.plain { position: static; } .site-header.plain .bar, .site-header.plain .main-nav ul { flex-wrap: wrap; } .site-header.plain .main-nav a { padding: 0 6px; } }
.cart-link [data-cart-count]:not(:empty)::before { content: "("; } .cart-link [data-cart-count]:not(:empty)::after { content: ")"; }

/* Buttons. .pill is the arcade button: square, hard offset drop, pressed state. */
.pill, .link-btn, .chip, .seg, .stepper button, .gal-controls button, .nudge button { font: inherit; }
.pill { --drop: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 6px 20px; border-radius: 0; border: 2px solid var(--cream); background: var(--surface); color: var(--cream); font-family: var(--f-label); font-size: .735rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; text-decoration: none; cursor: pointer; box-shadow: var(--lift, 4px) var(--lift, 4px) 0 var(--drop); transition: transform 90ms ease-out, translate 90ms ease-out, box-shadow 90ms ease-out; text-align: center; }
.pill:hover { color: var(--cream); }
/* Mouse over: the button brightens; with motion allowed it also lifts off its drop. Pressing still pushes it in. */
@media (hover: hover) {
  :is(.pill, .menu-btn):not([disabled], [aria-disabled="true"]):hover { --btn: var(--pink-300); --pink: var(--pink-300); --surface: var(--band); }
  @media (prefers-reduced-motion: no-preference) { .pill:not(:active, [disabled], [aria-disabled="true"]):hover { translate: -2px -2px; --lift: 6px; } }
}
.pill.primary, .pill.reserve, .signup .pill { --drop: var(--gold); background: var(--btn); border-color: var(--well); color: var(--btn-text); }
.pill:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--drop); }
.pill:focus-visible { outline-offset: 6px; } /* clear of the hard drop */
.pill[disabled], .pill[aria-disabled="true"] { opacity: .6; cursor: not-allowed; box-shadow: none; transform: none; border-style: dashed; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; background: none; border: 0; color: var(--link); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.link-btn:hover { color: var(--cream); }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

/* Menu sheet: a real modal dialog, full screen on phones */
.menu { border: 0; box-shadow: none; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: var(--bg); color: var(--text); overflow-y: auto; padding: env(safe-area-inset-top) var(--pad-x) env(safe-area-inset-bottom); }
/* the dog from the footer sits at the end of the sheet, by the contact lines */
.menu { background-image: url(/assets/room/dog.svg), linear-gradient(rgba(53, 224, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(53, 224, 255, .055) 1px, transparent 1px); background-size: 64px auto, 3rem 3rem, 3rem 3rem; background-repeat: no-repeat, repeat, repeat; background-position: right 16px bottom 16px, 0 0, 0 0; background-attachment: local, scroll, scroll; }
.menu::backdrop { background: rgba(7, 1, 13, .82); }
@media (min-width: 40em) { .menu { width: 440px; margin: 0 0 0 auto; padding-inline: 28px; border-left: 3px solid var(--pink); box-shadow: -8px 0 0 var(--gold); } }
.menu-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 72px; padding-block: 8px; }
.menu-title { margin: 0; font-size: max(1.5rem, min(2.6rem, 13vw)); color: var(--gold); text-shadow: .05em .05em 0 var(--pink); }
.menu-close { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; font-family: var(--f-label); font-size: var(--fs-label); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text); background: var(--surface); border: 2px solid var(--cream); border-radius: 0; box-shadow: 3px 3px 0 var(--pink); cursor: pointer; }
.menu-close:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pink); }
.menu nav h3 { font-family: var(--f-label); font-weight: 700; font-size: .706rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 20px 0 4px; padding-bottom: 6px; border-bottom: 2px solid var(--edge); }
.menu nav ul { list-style: none; margin: 0; padding: 0; }
.menu nav a { display: flex; align-items: center; min-height: 48px; font-family: var(--f-display); font-size: max(1.3rem, min(1.9rem, 9.5vw)); font-weight: 900; line-height: 1; text-transform: uppercase; color: var(--text); text-decoration: none; }
.menu nav a:hover { color: var(--pink-300); }
.menu-contact { margin: 24px 0 80px; font-size: .882rem; line-height: 2; }
.menu-contact a { display: inline-block; min-height: 44px; padding: 8px 0; overflow-wrap: anywhere; }

/* Footer */
.site-footer { position: relative; background: var(--well); border-top: 4px solid var(--pink); box-shadow: inset 0 4px 0 var(--gold), inset 0 8px 0 var(--cyan); margin-top: 48px; padding: 44px var(--pad-x) calc(24px + env(safe-area-inset-bottom)); }
.foot-grid { max-width: var(--shell-w); margin: 0 auto; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 44em) { .foot-grid { grid-template-columns: minmax(0, min(26rem, 100% - 9rem - 56px)) minmax(0, 1fr); gap: 32px 56px; } .foot-grid > .contact, .foot-grid > .lighting, .foot-grid > .legal { grid-column: 1 / -1; } }
.foot-h { font-size: max(1.3rem, min(2.2rem, 13vw)); text-shadow: none; color: var(--gold); margin-bottom: .2em; }
@media (max-width: 22.49em) { .foot-h { text-wrap: wrap; } }
.signup { display: grid; gap: 8px; max-width: 26rem; background: var(--surface); border: 2px solid var(--pink); box-shadow: var(--off) var(--off) 0 var(--cyan); padding: 20px; align-self: start; }
.signup .signup-note { margin: 0 0 4px; color: var(--soft); }
.topics { margin: 4px 0; } .topics .check { padding: 4px 0; align-items: center; }
.signup label, .form label { font-weight: 600; }
.signup .pill { justify-self: start; margin-top: 4px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 24px; }
.foot-cols h3 { display: inline-block; margin-bottom: 10px; padding: 5px 14px; border: 2px solid var(--gold); border-radius: 999px; font-family: var(--f-label); font-weight: 700; font-size: .706rem; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; color: var(--gold); }
.foot-cols div:nth-child(2) h3 { border-color: var(--pink); color: var(--pink-300); } .foot-cols div:nth-child(3) h3 { border-color: var(--cyan); color: var(--cyan); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--text); font-weight: 600; text-decoration: none; }
.foot-cols a:hover { color: var(--pink-300); text-decoration: underline; }
.contact a { display: inline; overflow-wrap: anywhere; } /* inline links in a sentence: WCAG 2.5.8 inline exception, so taps never overlap */
.contact, .lighting, .legal { font-size: .882rem; color: var(--soft); margin: 0; max-width: none; }
.contact a { margin-inline: 2px; }
/* The name as the neon sign (the old logo picture stays, unloaded); the dog on the rule, the ball hanging. */
.legal img { display: none; }
.legal::before, .not-found::before { content: "That Groovy Spot"; content: "That Groovy Spot" / ""; display: block; font-family: var(--f-display); font-weight: 900; font-size: max(1.6rem, min(8.5rem, 11.6vw)); line-height: .95; letter-spacing: .01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: .02em var(--pink-300); text-shadow: 0 0 .09em rgba(255, 0, 127, .95), 0 0 .32em rgba(255, 0, 127, .6); }
.legal::before { margin: 8px 0 20px; }
.site-footer::before, .site-footer::after { content: ""; position: absolute; pointer-events: none; background: center / contain no-repeat; }
.site-footer::before { bottom: calc(100% + 3px); right: max(calc(var(--pad-x) + 96px), 12%); width: 76px; height: 68px; background-image: url(/assets/room/dog.svg); }
@media (min-width: 64em) { .site-footer::after { top: 0; right: max(4px, calc((100% - var(--shell-w)) / 2 - 20px)); width: 60px; height: 150px; background-image: url(/assets/room/ball.svg); background-position: center top; } }
@media (max-width: 43.99em) { .site-footer::before { right: var(--pad-x); width: 62px; height: 56px; } }

/* Forms */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 34rem; }
.form input, .form select, .form textarea { min-width: 0; max-width: 100%; }
input:not([type=checkbox], [type=radio], [type=range], [type=file], [type=hidden]), select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--text); background: var(--well); border: 2px solid var(--edge); border-radius: 0; }
input:not([type=checkbox], [type=radio], [type=range], [type=file], [type=hidden]):hover, select:hover, textarea:hover { border-color: var(--cream); }
input::placeholder, textarea::placeholder { color: var(--soft); opacity: 1; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); border-style: double; border-width: 4px; }
input:disabled, select:disabled, textarea:disabled { opacity: .55; border-style: dashed; cursor: not-allowed; }
textarea { min-height: 96px; }
input[type=file] { width: 100%; min-height: 48px; padding: 6px 0; font: inherit; color: var(--text); }
input[type=file]::file-selector-button { min-height: 40px; margin: 0 12px 4px 0; padding: 0 14px; font: inherit; font-weight: 600; color: var(--cream); background: var(--surface); border: 2px solid var(--cream); border-radius: 0; box-shadow: 3px 3px 0 var(--accent-2); cursor: pointer; }
.form label:not(.check, .seg) { margin-top: 8px; }
.check { display: flex; align-items: flex-start; min-height: 44px; gap: 12px; padding: 8px 0; font-weight: 400; }
.check:has(> .spec) { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 12px; } .check > .spec { grid-column: 2; } /* the proof page's small print sits under its words */
.wrap > details.acc { max-width: 34rem; }
input[type=checkbox], input[type=radio] { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--btn); }
/* Drawn tick boxes: a square well with a cream edge; ticked is pink with an ink tick (shape, not colour alone). */
@supports (appearance: none) {
  input[type=checkbox], input[type=radio] { appearance: none; display: inline-grid; place-content: center; background: var(--well); border: 2px solid var(--cream); border-radius: 0; cursor: pointer; }
  input[type=radio] { border-radius: 50%; }
  input[type=checkbox]:checked { background: var(--btn); }
  input[type=checkbox]:checked::before { content: ""; width: 13px; height: 7px; border: solid var(--ink); border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg); }
  input[type=radio]:checked::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--btn); }
  input[type=checkbox]:disabled, input[type=radio]:disabled { border-style: dashed; cursor: not-allowed; }
}
fieldset { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.45em; margin: 4px 0 0; }
.form-status[data-state="error"], .signup-status[data-state="error"], .err { color: var(--bad); font-weight: 600; }
.form-status[data-state="error"]::before, .signup-status[data-state="error"]::before, .err::before { content: "\26A0\FE0E\00a0"; content: "\26A0\FE0E\00a0" / ""; }
.err { margin: 6px 0 8px; }
.err:empty { display: none; }
picture { display: contents; }
.nw { white-space: nowrap; }
.form-done { font-weight: 600; color: var(--good); }
.form button[type=submit] { margin-top: 12px; justify-self: start; }

/* Chips and segmented controls */
.chips, .types { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0; padding: 0; }
.types li { max-width: none; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--cream); background: var(--bg); color: var(--text); font-weight: 600; cursor: pointer; transition: background-color 150ms ease-out; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"]::before { content: "\2713\00a0"; content: "\2713\00a0" / ""; }
.opts, .amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.opts legend, .amounts legend { width: 100%; }
.seg { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--cream); border-radius: 999px; background: var(--bg); font-weight: 600; cursor: pointer; transition: background-color 150ms ease-out; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg:has(input:checked) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.seg:has(input:checked) span::before { content: "\2713\00a0"; content: "\2713\00a0" / ""; }
.seg:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.seg:has(input:disabled) { opacity: .55; cursor: not-allowed; border-style: dashed; }

/* Shop grid */
.grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
@media (min-width: 64em) { .grid { grid-template-columns: repeat(4, 1fr); gap: 28px 20px; } }
.card { max-width: none; background: var(--surface); border: 2px solid var(--accent); border-radius: 0; box-shadow: 5px 5px 0 var(--accent-2); overflow: hidden; }
.card a { display: block; height: 100%; color: var(--text); text-decoration: none; padding-bottom: 14px; }
.card-photo { display: block; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; border-bottom: 2px solid var(--accent); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-name { font-size: 1.118rem; margin: 12px 14px 2px; }
.card-price { font-size: 1.5rem; margin: 2px 14px 0; color: var(--gold); }
.card .spec, .card .ready { margin-inline: 14px; }
.card a:hover .card-name { text-decoration: underline; }
.card[hidden] { display: none; }
.order-by { background: var(--band); border-left: 6px solid var(--accent); padding: 16px 20px; margin: 24px 0; }
.order-by p { margin: 4px 0; font-weight: 600; }
.proof-strip ol, .steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.proof-strip li, .steps li { counter-increment: s; max-width: none; background: var(--surface); border: 2px solid var(--edge); padding: 16px; }
.proof-strip li::before, .steps li::before { content: counter(s); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--f-label); font-size: .824rem; font-weight: 700; margin-bottom: 10px; }
.faq ul { list-style: none; padding: 0; margin: 0; }
.faq a { display: flex; align-items: center; min-height: 48px; border-bottom: 2px solid var(--edge); color: var(--text); text-decoration: none; font-weight: 600; }
.faq a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Product page */
.product { display: grid; gap: 24px 48px; grid-template-columns: minmax(0, 1fr); }
.product > .crumbs { grid-column: 1 / -1; }
@media (min-width: 56em) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .gallery { position: sticky; top: 88px; } }
.gallery { margin: 0; }
@media (max-width: 55.99em) { .product { row-gap: 16px; } .product > .crumbs, .product > .gallery { margin-block: 0; } .gal-controls { margin-top: 4px; } }
.product h1 { font-size: max(1.8rem, min(clamp(2.8rem, 1.6rem + 4vw, 5rem), 17vw)); }
html:not(.js) .slide[data-held] > picture { display: none; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 0; gap: 0; border-radius: 0; border: 2px solid var(--accent); background: var(--paper); scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; max-width: none; scroll-snap-align: center; aspect-ratio: 4 / 5; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.gal-controls button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; background: var(--surface); border: 2px solid var(--cream); border-radius: 0; color: var(--text); font-weight: 600; cursor: pointer; }
.dots { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.dots li { max-width: none; }
.dot { display: block; width: 12px; height: 12px; border-radius: 0; border: 2px solid var(--cyan); transform: rotate(45deg); }
.dot[aria-current="true"] { background: var(--gold); border-color: var(--gold); transform: rotate(45deg) scale(1.3); }
.voice { font-size: 1.118rem; margin: .25rem 0 .5rem; }
.qty { margin: 20px 0 8px; }
.qty > label { display: block; font-weight: 600; margin-bottom: 4px; }
.stepper { display: inline-flex; flex-wrap: wrap; justify-content: center; max-width: 100%; box-sizing: border-box; align-items: center; border: 2px solid var(--edge); border-radius: 24px; overflow: hidden; background: var(--surface); }
.stepper button { flex: 0 0 48px; min-width: 44px; border-radius: 999px; width: 48px; min-height: 48px; height: 48px; align-self: center; display: grid; place-items: center; line-height: 1; padding: 0; font-size: 1.4rem; background: none; border: 0; color: var(--text); cursor: pointer; }
.stepper button:focus-visible, .stepper input:focus-visible { outline-offset: -5px; }
.stepper input { width: clamp(2.75rem, 20vw, 4.2rem) !important; min-width: 44px; flex: 0 1 auto; min-height: 48px !important; border: 0 !important; border-radius: 0 !important; text-align: center; background: transparent !important; -moz-appearance: textfield; padding-inline: 4px !important; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.stepper .qty-n { min-width: 3rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.bulk-wrap { overflow-x: auto; margin: 16px 0 4px; }
.bulk-wrap .bulk { margin: 0; min-width: 100%; width: max-content; }
.bulk-ask { font-weight: 600; margin: 16px 0; }
.bulk { width: 100%; border-collapse: collapse; margin: 16px 0 4px; font-size: .882rem; background: var(--surface); border: 2px solid var(--edge); }
.bulk caption { text-align: left; font-weight: 700; padding: 4px 0 6px; font-size: 1rem; }
.bulk th, .bulk td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--edge); }
.bulk thead th { font-family: var(--f-label); font-size: .647rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border-bottom-width: 2px; }
.bulk [data-current] { background: var(--band); font-weight: 700; box-shadow: inset 4px 0 0 var(--gold); }
.bulk [data-current] .icon { width: 1.1em; height: 1.1em; margin-right: 4px; }
.next-break { font-weight: 600; margin: 4px 0 16px; }
.add-image, .cart-line { position: relative; }
.add-image { background: var(--surface); border: 2px dashed var(--cyan); border-radius: 0; padding: 16px; margin: 20px 0; overflow-wrap: break-word; max-width: 100%; container-type: inline-size; }
.line-foot > .add-image { flex: 1 1 100%; min-width: 0; }
.add-image .check > *, .badge > * { min-width: 0; }
.add-image h2 { font-family: var(--f-label); font-size: .765rem; font-weight: 700; letter-spacing: .12em; line-height: 1.35; color: var(--gold); text-shadow: none; margin-bottom: 8px; }
.add-image .note-needs { margin: 8px 0; }
.delivery { border-top: 2px solid var(--edge); border-bottom: 2px solid var(--edge); margin: 20px 0; padding: 8px 0; }
.delivery p { margin: 8px 0; }
.acc { border-bottom: 2px solid var(--edge); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding-block: 14px; font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; }
.acc summary:hover { color: var(--gold); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; content: "+" / ""; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 2px solid var(--gold); color: var(--gold); font-size: 1.3rem; line-height: 1; }
.acc[open] summary::after { content: "\2212"; content: "\2212" / ""; background: var(--gold); color: var(--ink); }
.acc[open] { border-bottom-color: var(--gold); }
.acc-body { padding-bottom: 12px; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px var(--pad-x) calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 3px solid var(--pink); }
.sticky-bar .pill { width: 100%; max-width: 30rem; flex-wrap: wrap; }
@media (min-width: 56em) { .sticky-bar { display: none !important; } }
.sticky-msg { margin: 0; font-weight: 600; font-size: .941rem; text-align: center; max-width: 30rem; }
.sticky-msg:empty { display: none; }
.up-prompt { margin: 8px 0 0; font-weight: 600; }
.up-prompt:empty { display: none; }
.add-status { min-height: 1.45em; font-weight: 600; margin: 8px 0 0; }
.add-status a { font-weight: 700; }

/* Upload widget */
input.up-file[type=file] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.up-name { font-size: .882rem; color: var(--soft); margin: 8px 0 0; overflow-wrap: anywhere; }
.up-preview { margin-top: 16px; max-width: 22rem; }
.clip { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--paper); border: 2px solid var(--edge); touch-action: pan-y; }
.clip[data-shape="round"] { border-radius: 50%; }
.clip[data-shape="square"], .clip[data-shape="rect"] { border-radius: 12px; }
.clip:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.clip img { position: absolute; left: 50%; top: 50%; max-width: none; width: 100%; height: 100%; object-fit: cover; transform-origin: center; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.clip .safe { position: absolute; inset: 7%; border: 2px dotted var(--text); border-radius: inherit; opacity: .7; pointer-events: none; mix-blend-mode: difference; }
.clip[data-shape="round"] .safe { border-radius: 50%; }
.up-controls { display: grid; gap: 8px; margin-top: 12px; }
.up-controls label { font-weight: 600; }
.up-controls input[type=range] { width: 100%; min-height: 44px; accent-color: var(--btn); }
.nudge { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nudge button, .up-controls .pill { min-height: 44px; padding: 0 12px; border: 2px solid var(--cream); border-radius: 0; background: var(--bg); color: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: none; }
.badge { display: flex; overflow-wrap: break-word; max-width: 100%; align-items: center; gap: 8px; margin: 12px 0 0; padding: 8px 14px; border-radius: 0; border: 2px solid var(--edge); font-weight: 600; font-size: .941rem; line-height: 1.3; }
.badge[data-level="great"] { color: var(--good); border-color: var(--good); }
.badge[data-level="soft"] { color: var(--bad); border-color: var(--bad); }
.badge[data-level="ok"], .badge[data-level="unknown"] { color: var(--text); }
.badge:empty { display: none; }
.up-error { overflow-wrap: anywhere; color: var(--bad); font-weight: 600; font-size: .882rem; margin: 8px 0 0; }
.up-error:empty { display: none; }

/* Cart */
.cart-lines { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 20px; }
.cart-line { max-width: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 16px; background: var(--surface); border: 2px solid var(--edge); padding: 16px; }
.thumb { width: 88px; aspect-ratio: 1; background: var(--paper); border: 2px solid var(--edge); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; color: var(--muted); }
.thumb[data-shape="round"] { border-radius: 50%; } .thumb[data-shape="square"], .thumb[data-shape="rect"] { border-radius: 12px; }
.thumb img { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; object-fit: cover; max-width: none; transform-origin: center; }
.line-main { min-width: 0; }
.line-main h3 { margin: 0; font-size: 1.118rem; }
.line-opt { margin: 0; color: var(--soft); font-size: .882rem; }
.needs { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: 6px; font-weight: 600; font-size: .882rem; color: var(--date); margin: 4px 0 0; }
.line-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.line-total { font-size: 1.6rem; color: var(--gold); }
.line-actions { display: flex; flex-wrap: wrap; gap: 0 4px; }
.cart-line.out { opacity: .6; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 48px; }
@media (min-width: 56em) { .cart-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.how { display: grid; gap: 12px; margin: 8px 0 24px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 2px solid var(--edge); border-radius: 0; padding: 14px 16px; cursor: pointer; font-weight: 400; margin: 0; }
.radio-card > * { min-width: 0; }
.radio-card:has(input:checked) { border-color: var(--gold); box-shadow: 4px 4px 0 var(--gold); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.radio-card strong { display: block; font-size: 1.05rem; }
.radio-card .rc-sub { display: block; font-size: .882rem; color: var(--soft); }
.nudge-ship { background: var(--band); border-left: 6px solid var(--gold); padding: 8px 14px; font-weight: 600; margin: 0 0 16px; }
.gift-opts { margin: 8px 0 16px; padding-left: 36px; display: grid; gap: 4px; }
.summary { background: var(--surface); border: 2px solid var(--accent); box-shadow: var(--off) var(--off) 0 var(--accent-2); padding: 20px; }
.summary h2 { font-size: max(1.3rem, min(1.95rem, 13vw)); text-shadow: none; color: var(--gold); }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-variant-numeric: tabular-nums; }
.summary dt { color: var(--soft); } .summary dd { margin: 0; text-align: right; font-weight: 600; }
@media (max-width: 15em) { .cart-line { grid-template-columns: minmax(0, 1fr); } /* cart.css relies on this one-column line */ .cart-grid .summary dl { grid-template-columns: minmax(0, 1fr); } .cart-grid .summary dd { text-align: left; } .cart-grid .summary dd.sum-total-row { border-top: 0; padding-top: 0; }
  .cart-line .add-image { border-inline: 0; border-radius: 0; padding: 12px 0; } }
/* ONE narrow rule for every page (under 15em: 320px at 200% text): words get room, never cut. 'body' lifts it over nights.css.
   Heading sizes are not lowered here (titles would shrink into larger text); the base rules' vw caps do that. */
@media (max-width: 15em) {
  :root { --gutter: 12px; --off: 4px; }
  body h1, body .hero h1 { line-height: 1; }
  body h2, body .summary h2, body .gift-band h2 { line-height: 1.05; }
  body .grid { grid-template-columns: minmax(0, 1fr); }
  body .door-prints { grid-template-columns: minmax(0, 1fr); }
  body .door, body .tile, body .glance, body .radio-card, body .cart-grid .summary { padding: 12px; }
  body .radio-card { gap: 8px; }
  body .actions .pill { max-width: 100%; flex-wrap: wrap; height: auto; padding-block: 6px; }
  body .ticket { padding: 16px 12px; }
  body .wrap > :is(.find, .prints-band, .gift-band, .quotes) { padding-inline: 0; } /* the page already has the gutter */
  body .wrap :is(ul, ol):not([class]) { padding-inline-start: 0; list-style-position: inside; }
  body .steps li, body .proof-strip li { padding: 12px; }
  body .know-row { grid-template-columns: 20px minmax(0, 1fr); gap: 8px; } body .know-row .icon { width: 20px; height: 20px; }
  body .facts-dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body .price-table .amt { overflow-wrap: break-word; }
  body .pill { padding-inline: 12px; letter-spacing: .02em; }
  body .sticker, body .signup { padding: 12px; }
}
/* The uploader picks its layout from its own width, so the product page and the cart box follow one rule. */
@container (max-width: 15em) { .nudge { grid-template-columns: minmax(0, 1fr); } .nudge button, .up-controls .pill, .add-image .pill { min-width: 0; max-width: 100%; flex-wrap: wrap; height: auto; padding: 6px 12px; } .badge { flex-wrap: wrap; padding: 8px; gap: 4px 8px; } .add-image .check { flex-wrap: wrap; gap: 0 12px; } }
.summary .sum-total-row { border-top: 2px solid var(--edge); padding-top: 12px; font-size: 1.118rem; }
.summary .sum-total-row dt { color: var(--text); font-weight: 700; }
.summary .pill { width: 100%; margin-top: 16px; }
.pay-note { font-size: .882rem; color: var(--soft); margin: 12px 0 0; }
.undo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; background: var(--band); border-left: 6px solid var(--gold); padding: 4px 8px 4px 16px; margin: 12px 0; font-weight: 600; }

/* Thanks, gift ticket, proof */
.ticket { position: relative; max-width: 28rem; background: var(--band); padding: 24px 28px; margin: 24px 0; border-radius: 0; border-top: 6px solid var(--gold); border-bottom: 6px solid var(--pink); -webkit-mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket h2 { font-family: var(--f-label); font-size: .941rem; font-weight: 700; line-height: 1.35; text-shadow: none; letter-spacing: .08em; color: var(--gold); }
.proof-art { max-width: 28rem; background: var(--paper); border: 2px solid var(--accent); box-shadow: var(--off) var(--off) 0 var(--accent-2); overflow: hidden; margin: 16px 0 24px; }
.proof-art img { display: block; width: 100%; height: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0; }
.recap { background: var(--band); border-left: 6px solid var(--accent); padding: 16px 20px; max-width: 34rem; }
.done-line { color: var(--good); font-weight: 700; font-size: 1.118rem; }

/* ---- The Room's reusable pieces (see .claude/ROOM-SYSTEM.md) ---- */
/* Sticker card: square, 2px neon edge, hard drop in a second neon. Colour pairs: .c-prints .c-nights .c-gold .c-cyan. */
.sticker { position: relative; background: var(--surface); color: var(--text); border: 2px solid var(--c1, var(--accent)); box-shadow: var(--off) var(--off) 0 var(--c2, var(--accent-2)); padding: 20px; }
.c-prints { --c1: var(--orange); --c2: var(--pink); }
.c-nights { --c1: var(--pink); --c2: var(--cyan); }
.c-gold { --c1: var(--gold); --c2: var(--pink); }
.c-cyan { --c1: var(--cyan); --c2: var(--pink); }
/* A tilt of 1 to 2 degrees, on roomy screens only and never on anything that holds a form control. */
@media (min-width: 64em) {
  .tilt-l { transform: rotate(-1.5deg); } .tilt-r { transform: rotate(1.3deg); }
  form.tilt-l, form.tilt-r, .tilt-l:has(input, select, textarea, button), .tilt-r:has(input, select, textarea, button) { transform: none; }
}
/* Level pill: a numbered round badge and a wide label. The number comes from a counter, so no digits are typed into the page. */
.level { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0 0 16px; padding: 4px 16px 4px 4px; border: 2px solid var(--gold); border-radius: 999px; background: var(--bg); color: var(--text); font-family: var(--f-label); font-size: .706rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; text-shadow: none; counter-increment: level; }
.level::before { content: counter(level, decimal-leading-zero); content: counter(level, decimal-leading-zero) / ""; flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--gold); color: var(--ink); letter-spacing: 0; }
/* Marquee band: a tilted strip of giant capitals. The outer box clips it, so it never widens the page. */
.marquee { overflow: hidden; padding: 28px 0 34px; margin-inline: calc(-1 * var(--pad-x)); }
.marquee-band { width: 110%; max-width: none; margin: 0 -5%; padding: .12em 0 .08em; background: var(--gold); color: var(--ink); border-block: 3px solid var(--well); box-shadow: 0 8px 0 var(--pink); font-family: var(--f-display); font-size: max(2rem, min(4.2rem, 13vw)); font-weight: 900; line-height: 1; text-transform: uppercase; text-align: center; white-space: nowrap; transform: rotate(-2deg); }
.marquee-band i { font-style: normal; color: var(--pink-ink); margin: 0 .3em; }
/* Scrim: a dark panel for words that sit over the 3D stage. Everything on it is cream, so contrast never depends on the picture. */
.scrim { --soft: var(--cream); --link: var(--cream); position: relative; background: rgba(11, 2, 20, .92); color: var(--cream); padding: 20px; }
/* Notice: a flat band for a status or a heads-up. */
.notice { background: var(--band); border-left: 6px solid var(--gold); padding: 12px 16px; margin: 16px 0; font-weight: 600; }
.notice[data-tone="good"] { border-left-color: var(--good); } .notice[data-tone="bad"] { border-left-color: var(--bad); }
/* A dialog with no class of its own gets the sticker look. */
dialog:not([class]) { color: var(--text); background: var(--surface); border: 2px solid var(--accent); box-shadow: 8px 8px 0 var(--accent-2); padding: 20px; max-width: min(34rem, calc(100% - 32px)); }
dialog::backdrop { background: rgba(7, 1, 13, .82); }
/* The 3D stage (assets/js/room.mjs; ROOM-SYSTEM.md 5): never in the layout flow; its stop's still shows first, the canvas joins it (.room-live). */
.has-stage { position: relative; isolation: isolate; }
.room-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); container-type: size; }
.room-stage.is-fixed { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; }
/* One still only: a boxed stage picks by its box's shape, a fixed one by the window's (as the preload and the engine do). */
.room-stage::before { content: ""; position: absolute; inset: 0; background: none center var(--still-desk-y, center) / cover no-repeat; }
@container (min-aspect-ratio: 1001/1000) { .room-stage:not(.is-fixed, .page-art)::before { background-image: var(--still-desk, none); } }
@container (max-aspect-ratio: 1/1) { .room-stage:not(.is-fixed, .page-art)::before { background-image: var(--still-phone, none); background-position: center top; } }
@container (max-aspect-ratio: 1/1) and (min-aspect-ratio: 58/100) { .room-stage:not(.is-fixed, .page-art)::before { background-position: center 19%; } }
@media (min-aspect-ratio: 1001/1000) { .room-stage.is-fixed::before { background-image: var(--still-desk, none); } }
@media (max-aspect-ratio: 1/1) { .room-stage.is-fixed::before { background-image: var(--still-phone, none); background-position: center top; } }
@media (max-aspect-ratio: 1/1) and (min-aspect-ratio: 58/100) { .room-stage.is-fixed::before { background-position: center 19%; } }
/* Page art: a still-only band of the room behind a page head; the words start on its dark part. */
.room-stage.page-art { bottom: auto; height: max(17rem, 46vh); container-type: normal; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.room-stage.page-art::before { background-image: var(--still-phone, none); background-position: center var(--art-y, top); }
.room-stage.page-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 2, 20, .06) 0, rgba(11, 2, 20, .06) 34%, rgba(11, 2, 20, .88) 50%, rgba(11, 2, 20, .94) 100%); }
.page-art[data-stop="top"] { --art-y: 0%; --art-desk-y: 4%; } .page-art[data-stop="ball"] { --art-y: 2%; --art-desk-y: 10%; } .page-art[data-stop="sign"] { --art-y: 42%; --art-desk-y: 37%; } .page-art[data-stop="table"] { --art-y: 30%; --art-desk-y: 30%; } .page-art[data-stop="posters"] { --art-y: 6%; --art-desk-y: 30%; }
@media (min-width: 48em) {
  .room-stage.page-art::before { background-image: var(--still-desk, none); background-position: center var(--art-desk-y, 30%); }
  .page-art:is([data-stop="table"], [data-stop="posters"])::after { background: linear-gradient(to bottom, rgba(11, 2, 20, 0) 44%, rgba(11, 2, 20, .9) 84%), linear-gradient(90deg, rgba(11, 2, 20, .9) 0, rgba(11, 2, 20, .84) 32%, rgba(11, 2, 20, 0) 58%); }
}
main:has(> .page-art) { position: relative; } /* not its own layer: a fixed bar inside main stays above the footer */
.page-art ~ .wrap { padding-top: max(7.5rem, 23vh); }
.room-stage[data-stop="hero"] { --still-desk: url(/assets/room/hero-desk.webp); --still-phone: url(/assets/room/hero-phone.webp); --still-desk-y: top; }
.room-stage[data-stop="table"] { --still-desk: url(/assets/room/table-desk.webp); --still-phone: url(/assets/room/table-phone.webp); }
.room-stage[data-stop="posters"] { --still-desk: url(/assets/room/posters-desk.webp); --still-phone: url(/assets/room/posters-phone.webp); }
.room-stage[data-stop="top"] { --still-desk: url(/assets/room/top-desk.webp); --still-phone: url(/assets/room/top-phone.webp); }
.room-stage[data-stop="ball"] { --still-desk: url(/assets/room/ball-desk.webp); --still-phone: url(/assets/room/ball-phone.webp); }
.room-stage[data-stop="sign"] { --still-desk: url(/assets/room/sign-desk.webp); --still-phone: url(/assets/room/sign-phone.webp); }
.room-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.room-stage.room-live canvas { opacity: 1; }
/* Once the room is live the still is let go, so walking to other stops does not download their stills. */
.room-stage.room-live::before { background-image: none; }

.room-hot { cursor: pointer; } /* a poster in the room that leads somewhere (room.mjs) */

/* Motion: only with no reduce preference. Nothing loops, nothing moves by itself. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 250ms; animation-timing-function: ease-out; }
  .ticket { animation: stub-in 300ms ease-out 1 both; }
  .slides { scroll-behavior: smooth; }
  .site-header, .bar { transition: padding 200ms ease-out; }
  /* The canvas fades in over the still; the still leaves only after the fade (where the browser can time that). */
  @supports (transition-behavior: allow-discrete) { .room-stage canvas { transition: opacity 600ms ease-out; } .room-stage.room-live::before { transition: background-image 0s 700ms; transition-behavior: allow-discrete; } }
  .menu-btn, .menu-close { transition: transform 90ms ease-out, box-shadow 90ms ease-out; }
}
@keyframes stub-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation: none !important; scroll-behavior: auto !important; } }

/* Forced colors: shadows and gradients drop; system colors take over */
@media (forced-colors: active) {
  body, .menu { background-image: none; }
  .card, .summary, .cart-line, .ticket, .proof-strip li, .steps li, .sticker, .signup, .proof-art { box-shadow: none; border: 1px solid CanvasText; }
  .site-footer { box-shadow: none; border-top: 1px solid CanvasText; }
  .site-header { border-bottom: 1px solid CanvasText; }
  .pill, .menu-btn, .menu-close, .marquee-band, .level, .skip { box-shadow: none; border: 2px solid ButtonText; }
  .chip[aria-pressed="true"], .seg:has(input:checked), .pill.primary { background: Highlight; color: HighlightText; border-color: Highlight; forced-color-adjust: none; }
  /* the white ring would vanish on white; controls that keep their own colours (above) would keep it, so every ring takes a system colour */
  :focus-visible, .seg:has(input:focus-visible), .radio-card:has(input:focus-visible) { outline-color: Highlight !important; }
  .badge, .radio-card, .clip { border-color: CanvasText; }
  .radio-card:has(input:checked) { box-shadow: none; border-color: Highlight; }
  .icon { color: CanvasText; }
  .room-stage { display: none; }
  .page-art ~ .wrap { padding-top: 24px; }
  .scrim { background: Canvas; }
  .legal::before, .not-found::before { color: CanvasText; -webkit-text-stroke: 0; text-shadow: none; }
  .site-footer::before, .site-footer::after { display: none; }
}

/* Until the pages are rebuilt: headings that nights.css and reserve.css set in the reading font stay in sentence case.
   Page builders: delete this line when .includes, .set-card, .cal-sub and .notices-h are restyled. (The home doors are done.) */
.includes h2, .set-card h2, .cal-sub h2, .notices-h { text-transform: none; letter-spacing: 0; }

/* 404 and privacy (static pages on the shared shell) */
.not-found { text-align: center; }
.not-found .nf-logo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.not-found::before { font-size: max(1.6rem, min(4.2rem, 10.4vw)); margin: 0 0 28px; }
.not-found .lead { margin-inline: auto; }
.not-found .cta-row { justify-content: center; }
.privacy .updated { font-size: 0.8rem; opacity: 0.75; margin-bottom: 24px; }
.privacy code { overflow-wrap: anywhere; }
