:root {
  --night: #1d1626; --night-2: #2b2138; --line: #4a3a5c;
  --glow: #ffb347; --glow-2: #ff8a3d; --cream: #fff6e8; --paper: #fffaf2;
  --text: #f6eefc; --text-dim: #d7c8e4; --ink: #22182b; --ink-dim: #574862;
  --ad-bg: #ffe08a; --ad-ink: #3a2600;
  --r: 14px; --gutter: 16px;
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); line-height: 1.45; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--glow); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--cream); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }

.boxy-home { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.brand { color: var(--text); font-weight: 800; text-decoration: none; letter-spacing: .01em; padding: 12px 0; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--text-dim); text-decoration: none; padding: 12px 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; font-size: .95rem; }
.nav a[aria-current="page"] { color: var(--text); background: var(--night-2); }
main:focus { outline: none; }

/* Hero: Boxy + short-list title. Kept short so the first card's disclosure is on the first phone screen. */
.hero { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 4px 0 14px; }
.boxy-hero { width: 84px; height: auto; filter: drop-shadow(0 6px 14px #0008); }
h1 { font-size: clamp(1.6rem, 6vw, 2.6rem); line-height: 1.1; margin: 0 0 6px; letter-spacing: -.01em; }
.lede { margin: 0; color: var(--text-dim); font-size: .95rem; }

/* Product cards */
.shortlist { display: grid; gap: 14px; }
.card { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 12px; display: grid; grid-template-columns: 104px 1fr; column-gap: 12px; align-content: start; box-shadow: 0 0 0 1px #00000022, 0 8px 24px #0006; }
.card > .ad { grid-column: 1 / -1; }
.ad { display: inline-block; justify-self: start; margin: 0 0 8px; padding: 2px 8px; border-radius: 6px; background: var(--ad-bg); color: var(--ad-ink); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.card__img { width: 104px; height: 104px; object-fit: cover; border-radius: 10px; background: #000; }
.card__body { min-width: 0; display: flex; flex-direction: column; }
.card__title { font-size: 1.12rem; line-height: 1.2; margin: 0; }
.card__partner { margin: 2px 0 6px; font-size: .82rem; color: var(--ink-dim); }
.card__blurb { margin: 0 0 6px; font-size: .93rem; }
.card__caveat { margin: 0 0 10px; font-size: .86rem; color: var(--ink-dim); border-left: 3px solid var(--glow); padding-left: 8px; }
.ad--link { margin-top: auto; margin-bottom: 6px; }
.card__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border-radius: 12px; background: var(--glow-2); color: var(--night); font-weight: 800; text-decoration: none; align-self: stretch; text-align: center; }
.card__cta:hover { background: var(--glow); }
.card--video, .card--dialog { grid-template-columns: 1fr; }
.card--video .card__img, .card--dialog .card__img { width: 100%; height: auto; max-width: 320px; aspect-ratio: 1; margin: 0 auto 10px; }
.card--video .card__title { font-size: clamp(1.6rem, 6vw, 2.4rem); }

/* Room */
.room { margin: 34px 0 10px; }
.room h2 { font-size: clamp(1.3rem, 4.5vw, 2rem); margin: 0 0 4px; }
.room h2:focus { outline: none; }
.room__hint { margin: 0 0 12px; color: var(--text-dim); }
.scene { position: relative; border-radius: var(--r); overflow: hidden; background: #2a1d17; box-shadow: 0 10px 40px #0008; }
.scene__art { width: 100%; height: auto; aspect-ratio: 3 / 2; }
.boxy-slot { position: absolute; height: auto; pointer-events: none; filter: drop-shadow(0 10px 12px #0007); }
.spot { --s: clamp(48px, 5vw, 72px); position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); padding: 0; border-radius: 50%; border: 3px solid var(--glow); background: var(--night); cursor: pointer; box-shadow: 0 0 0 4px #ffb34755, 0 0 22px 6px #ffb347aa; overflow: hidden; animation: glow 2.4s ease-in-out infinite; }
.spot img { width: 100%; height: 100%; object-fit: cover; }
.spot:hover, .spot:focus-visible { transform: scale(1.12); }
@keyframes glow { 50% { box-shadow: 0 0 0 7px #ffb34733, 0 0 30px 10px #ffb347cc; } }
.spot-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spot-list button { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--night-2); color: var(--text); font: inherit; cursor: pointer; }
.spot-list button span { color: var(--text-dim); }

/* Scheduled shelf (build-time date gate) */
.shelf { margin: 30px 0 0; }
.shelf h2 { font-size: clamp(1.3rem, 4.5vw, 2rem); margin: 0 0 12px; }

/* Video landing and not found */
.kicker { color: var(--glow); font-weight: 700; margin: 4px 0 10px; }
.after { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0; }
.after a { min-height: 44px; display: inline-flex; align-items: center; }
#view-video .card { max-width: 560px; }

/* Dialog */
.dialog { border: 0; padding: 0; border-radius: var(--r); background: var(--paper); color: var(--ink); width: min(520px, calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - 32px); overflow: auto; }
.dialog::backdrop { background: #0b0710cc; }
.dialog__bar { display: flex; justify-content: flex-end; padding: 8px 8px 0; position: sticky; top: 0; background: var(--paper); }
.dialog__close { min-height: 44px; min-width: 44px; padding: 8px 14px; border-radius: 10px; border: 1px solid #00000033; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.dialog .card { box-shadow: none; }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 36px; padding: 18px 0 28px; color: var(--text-dim); font-size: .86rem; }
.foot p { margin: 0 0 10px; }
.follow a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.legal { display: flex; gap: 18px; }
.legal a { min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 760px) {
  :root { --gutter: 28px; }
  .hero { grid-template-columns: 120px 1fr; gap: 22px; padding: 18px 0 24px; }
  .boxy-hero { width: 120px; }
  .lede { font-size: 1.05rem; max-width: 60ch; }
  .shortlist { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
  .shortlist .card { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .shortlist .card__img { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .spot { animation: none; }
  .spot:hover, .spot:focus-visible { transform: none; }
  html { scroll-behavior: auto; }
}
