/* Three Doors Apart website. Static, no build step.
   Pixel font (KenPixel, CC0) only for display text at multiples of 8px; body in Spectral (OFL).
   Pixel art is scaled by whole numbers with image-rendering: pixelated. */

@font-face { font-family: "KenPixel"; src: url("/assets/fonts/kenpixel.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Spectral"; src: url("/assets/fonts/spectral-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("/assets/fonts/spectral-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("/assets/fonts/spectral-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --night: #12141f;
  --night-deep: #0b0c14;
  --plum: #241a2c;
  --plum-light: #3b2741;
  --plum-high: #4a3352;
  --plum-accent: #b48cc0;
  --deep-green: #1f3b2f;
  --moss: #7fb89a;
  --teal: #9fe3d2;
  --candle: #f2b660;
  --candle-dim: #a47a3a;
  --parchment: #efe6d2;
  --wax: #f6efe2;
  --ghost: #c3d2e4;
  --muted: #cbc1cf;
  --outline: #7d6a82;
  --ink: #241608;

  --pixel: "KenPixel", ui-monospace, monospace;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--wax);
  font: 400 1.0625rem/1.55 var(--serif);
  overflow-x: hidden;
}
img, video, picture, svg { max-width: 100%; display: block; }
.px, .px img { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--candle); text-underline-offset: 3px; }
a:hover { color: var(--wax); }
:focus-visible { outline: 3px solid var(--candle); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--candle); color: var(--ink); padding: 8px 14px; font-family: var(--pixel); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, .pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: 0.02em; line-height: 1.15; text-transform: uppercase; }
h2 { font-size: 32px; color: var(--candle); margin: 0 0 16px; text-shadow: 4px 4px 0 var(--night-deep); }
h3 { font-size: 24px; color: var(--wax); margin: 0 0 8px; }
.eyebrow { font-family: var(--pixel); text-transform: uppercase; font-size: 16px; color: var(--teal); letter-spacing: 0.08em; margin: 0 0 10px; display: block; }
.lede { font-size: 1.15rem; color: var(--parchment); max-width: 40em; margin: 0 0 8px; }
@media (min-width: 760px) { h2 { font-size: 40px; } .lede { font-size: 1.25rem; } }

/* ---------- Pixel frames & buttons ---------- */
/* 4px stepped corners: the notch equals the 4px border, so frames read as pixel-rounded. */
.pbox, .btn, .badge {
  clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px),
    calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px 10px; white-space: nowrap;
  font-family: var(--pixel); font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
  color: var(--ink); background: var(--candle); border: 0; cursor: pointer; text-decoration: none;
  box-shadow: inset 0 -4px 0 var(--candle-dim), inset 0 4px 0 #f8d496;
}
.btn:hover { color: var(--ink); filter: brightness(1.08); }
.btn:active { transform: translateY(2px); }
.btn:focus-visible { outline: none; filter: brightness(1.12); box-shadow: inset 0 0 0 4px var(--wax); }
.btn-ghost { color: var(--wax); background: rgba(18, 20, 31, .72); box-shadow: inset 0 0 0 4px var(--plum-accent); }
.btn-ghost:hover { color: var(--wax); background: rgba(59, 39, 65, .9); }
.btn-ghost:focus-visible { box-shadow: inset 0 0 0 4px var(--wax); }
.btn-sm { min-height: 40px; padding: 10px 12px 8px; }
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.soon { font: 400 16px/1.3 var(--pixel); text-transform: uppercase; letter-spacing: .04em; color: var(--teal); margin: 0 0 14px; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; padding: 14px 0; }
.site-header.solid { position: relative; background: var(--night-deep); border-bottom: 4px solid var(--plum); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wax); }
.brand img { width: 40px; height: 40px; }
.brand span { font: 400 16px/1 var(--pixel); text-transform: uppercase; letter-spacing: .06em; text-shadow: 2px 2px 0 var(--night-deep); white-space: nowrap; }
.nav { display: none; gap: 22px; }
.nav a { font: 400 16px/1 var(--pixel); text-transform: uppercase; color: var(--wax); text-decoration: none; letter-spacing: .04em; text-shadow: 2px 2px 0 var(--night-deep); }
.nav a:hover { color: var(--candle); }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 359px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 80vh; min-height: 80svh; display: flex; align-items: flex-end; background: var(--night-deep); }
@media (min-width: 1000px) { .hero { min-height: min(92vh, 900px); } }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media video { opacity: 0; transition: opacity .8s ease; }
.hero-media video.on { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,20,.6) 0%, rgba(11,12,20,0) 18%, rgba(11,12,20,0) 42%, rgba(11,12,20,.78) 72%, var(--night) 100%);
}
@media (min-width: 1000px) {
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,12,20,.75) 0%, rgba(11,12,20,.35) 38%, rgba(11,12,20,0) 62%); }
}
.hero-content { padding-top: 120px; padding-bottom: 36px; }
.hero h1 { margin: 0 0 16px; }
/* The wordmark is a 63x17 pixel grid: show it at 5x, 8x and 10x only. */
.hero h1 img { width: 315px; height: 85px; filter: drop-shadow(0 0 24px rgba(242,182,96,.18)); }
@media (min-width: 600px) { .hero h1 img { width: 504px; height: 136px; } }
@media (min-width: 1000px) { .hero h1 img { width: 630px; height: 170px; } }
.tagline { font: italic 400 1.35rem/1.35 var(--serif); color: var(--wax); margin: 0 0 8px; max-width: 26em; text-shadow: 0 2px 10px rgba(0,0,0,.85); }
.support { margin: 0 0 22px; max-width: 34em; color: var(--parchment); text-shadow: 0 1px 8px #000; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 600px) { .tagline { font-size: 1.6rem; } }
@media (min-width: 1000px) { .hero-content { padding-bottom: 72px; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 72px 0; }
.section-head { margin-bottom: 36px; }
@media (min-width: 760px) { .section { padding: 104px 0; } }
.band { background: linear-gradient(180deg, var(--night) 0%, var(--plum) 16%, var(--plum) 84%, var(--night) 100%); }

/* ---------- Three phones (async explainer) ---------- */
.phones { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 0 auto 40px; }
.phones::before { /* dotted dumbwaiter line connecting the rooms */
  content: ""; position: absolute; left: 16%; right: 16%; top: 46%; height: 0;
  border-top: 4px dashed var(--candle-dim); z-index: 0;
}
.phone { position: relative; z-index: 1; margin: 0; text-align: center; }
.phone .body {
  background: #07080d; padding: 14px 5px 18px; border-radius: 18px;
  box-shadow: 0 0 0 3px #2a2d3d, 0 18px 40px rgba(0,0,0,.55);
}
.phone .body::before { content: ""; display: block; width: 26%; height: 4px; margin: 0 auto 8px; border-radius: 2px; background: #2a2d3d; } /* generic speaker slit */
.phone .screen { background: var(--night-deep); border-radius: 6px; overflow: hidden; }
.phone .bar { display: flex; justify-content: space-between; padding: 5px 7px 4px; font: 400 16px/1 var(--pixel); color: var(--candle); background: var(--plum); text-transform: uppercase; }
.phone .screen img.room { width: 100%; height: auto; aspect-ratio: 3 / 4; }
.phone .who { display: block; margin-top: 12px; font: 400 16px/1.2 var(--pixel); text-transform: uppercase; color: var(--candle); }
.phone .where { display: block; font-size: .9rem; color: var(--muted); }
.link-ico { position: absolute; z-index: 2; top: calc(46% - 22px); width: 44px; height: 44px; padding: 6px; background: var(--night); box-shadow: inset 0 0 0 3px var(--candle-dim); }
.link-ico.l1 { left: calc(33.3% - 22px); }
.link-ico.l2 { left: calc(66.6% - 22px); }
@media (max-width: 520px) {
  .phones { gap: 8px; }
  .phone .body { padding: 10px 3px 12px; border-radius: 12px; }
  .phone .bar { padding: 4px 4px 3px; justify-content: center; }
  .phone .where { font-size: .78rem; }
  .link-ico { width: 32px; height: 32px; padding: 4px; top: calc(46% - 16px); }
  .link-ico.l1 { left: calc(33.3% - 16px); } .link-ico.l2 { left: calc(66.6% - 16px); }
}
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: b; }
@media (min-width: 860px) { .beats { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.beats li { padding: 20px 20px 18px; background: rgba(36,26,44,.7); box-shadow: inset 0 0 0 4px var(--plum-light); }
.beats li::before { counter-increment: b; content: counter(b); display: block; font: 400 32px/1 var(--pixel); color: var(--candle); margin-bottom: 8px; text-shadow: 3px 3px 0 var(--night-deep); }
.beats b { display: block; font: 400 16px/1.35 var(--pixel); text-transform: uppercase; color: var(--wax); margin-bottom: 6px; letter-spacing: .02em; }
.beats p { margin: 0; color: var(--parchment); }
.req { margin: 22px 0 0; color: var(--muted); }
.req b { color: var(--teal); font-weight: 600; }

/* ---------- Agnes + phone-is-the-house ---------- */
.duo { display: grid; gap: 20px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo > div { display: grid; grid-template-columns: 128px 1fr; gap: 20px; align-items: center; padding: 24px; box-shadow: inset 0 0 0 4px var(--plum-light); background: rgba(36,26,44,.6); }
.duo .agnes { background: linear-gradient(150deg, rgba(31,59,47,.8), rgba(36,26,44,.7)); box-shadow: inset 0 0 0 4px var(--deep-green); }
.duo img { width: 128px; height: 128px; }
.duo h2 { font-size: 24px; margin-bottom: 8px; }
.duo p { margin: 0 0 8px; color: var(--parchment); }
.duo p:last-child { margin: 0; }
.duo q { font-style: italic; color: var(--ghost); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { font: 400 16px/1 var(--pixel); text-transform: uppercase; padding: 6px 8px 4px; background: var(--night-deep); color: var(--teal); box-shadow: inset 0 0 0 2px var(--deep-green); }
@media (max-width: 480px) { .duo > div { grid-template-columns: 1fr; } .duo img { width: 128px; } }

/* ---------- Feature list ---------- */
.features { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.feature { padding: 18px 20px; background: rgba(11,12,20,.55); box-shadow: inset 0 0 0 4px var(--plum-light); display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.feature img { width: 32px; height: 32px; margin-top: 2px; }
.feature p { margin: 0; color: var(--parchment); }
.feature b { display: block; font: 400 16px/1.35 var(--pixel); text-transform: uppercase; color: var(--candle); letter-spacing: .02em; margin-bottom: 4px; }

/* ---------- Levels (scroll-snap cards) ---------- */
.level-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 420px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 18px; margin: 0 calc(-1 * var(--gutter));
  scrollbar-color: var(--plum-accent) transparent;
}
@media (min-width: 1160px) { .level-row { margin: 0; padding: 4px 0 18px; } }
.level { scroll-snap-align: start; background: var(--night-deep); box-shadow: inset 0 0 0 4px var(--plum-light); display: flex; flex-direction: column; }
.level .media { position: relative; margin: 4px 4px 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.level .media img, .level .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.level .media video { opacity: 0; transition: opacity .6s ease; }
.level .media video.on { opacity: 1; }
.level .media .tap { position: absolute; inset: 0; z-index: 2; background: transparent; border: 0; cursor: pointer; display: grid; place-items: end start; padding: 10px; }
.level .media .tap span { display: inline-flex; gap: 8px; align-items: center; font: 400 16px/1 var(--pixel); text-transform: uppercase; color: var(--wax); background: rgba(11,12,20,.78); padding: 8px 10px 6px; box-shadow: inset 0 0 0 2px var(--plum-accent); }
.level .media .tap svg { width: 12px; height: 12px; fill: currentColor; }
.level .media .tap:focus-visible { outline: 3px solid var(--candle); outline-offset: -3px; }
.level.misted .media img, .level.misted .media video { filter: grayscale(.4) blur(1.5px) brightness(.85); transform: scale(1.05); }
.level.misted .media::after {
  content: ""; position: absolute; inset: -10%; z-index: 1; pointer-events: none;
  background: radial-gradient(55% 60% at 22% 30%, rgba(210,216,230,.55), transparent 70%), radial-gradient(50% 55% at 82% 78%, rgba(210,216,230,.5), transparent 70%), linear-gradient(180deg, rgba(18,20,31,.1), rgba(18,20,31,.45));
  animation: drift 12s ease-in-out infinite alternate;
}
.level.misted .media img.px { filter: grayscale(.4) blur(1px) brightness(.8); }
@keyframes drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
.level .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.level h3 { font-size: 24px; color: var(--candle); margin: 2px 0 0; }
.level p { margin: 0; color: var(--parchment); font-size: 1rem; }
.chip { align-self: flex-start; font: 400 16px/1 var(--pixel); text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px 5px; color: var(--ink); background: var(--moss); }
.chip.paid { background: var(--candle); }
.chip.later { background: var(--plum-high); color: var(--wax); }
.level .rooms { display: grid; grid-template-columns: repeat(4, 48px); gap: 6px; margin-top: auto; padding-top: 8px; }
.level .rooms img { width: 48px; height: 64px; box-shadow: 0 0 0 2px var(--plum-light); }
.row-hint { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .level.misted .media::after { animation: none; } }

.coast { margin-top: 48px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .coast { grid-template-columns: 384px 1fr; gap: 48px; } }
.map { position: relative; margin: 0; padding: 4px; background: var(--night-deep); box-shadow: inset 0 0 0 4px var(--plum-light); width: 100%; max-width: 392px; justify-self: center; }
.map img { width: 100%; height: auto; aspect-ratio: 3 / 4; }
.map .mist {
  position: absolute; inset: 4px; pointer-events: none;
  background: radial-gradient(55% 22% at 50% 12%, rgba(215,220,232,.55), transparent 70%), radial-gradient(40% 14% at 26% 42%, rgba(215,220,232,.45), transparent 72%), radial-gradient(40% 14% at 62% 50%, rgba(215,220,232,.4), transparent 72%);
  animation: drift 14s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) { .map .mist { animation: none; } }
.pin { position: absolute; transform: translate(-50%, -50%); font: 400 16px/1 var(--pixel); text-transform: uppercase; color: var(--wax); white-space: nowrap; background: rgba(18,20,31,.88); padding: 6px 8px 4px; box-shadow: inset 0 0 0 2px var(--plum-accent); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { padding: 22px 22px 20px; background: rgba(11,12,20,.6); box-shadow: inset 0 0 0 4px var(--plum-light); }
.step .num { font: 400 40px/1 var(--pixel); color: var(--candle); display: block; margin-bottom: 12px; text-shadow: 3px 3px 0 var(--night-deep); }
.step p { margin: 0; color: var(--parchment); }
.code-chip { display: inline-flex; gap: 4px; margin-top: 16px; }
.code-chip span, .code-tiles span { display: inline-grid; place-items: center; width: 32px; height: 40px; padding-top: 3px; font: 400 24px/1 var(--pixel); color: var(--ink); background: var(--parchment); box-shadow: inset 0 -4px 0 #c2b28c; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 18px; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price { padding: 26px 24px; background: var(--night-deep); box-shadow: inset 0 0 0 4px var(--plum-light); display: flex; flex-direction: column; }
.price.featured { background: linear-gradient(170deg, #2e2134, var(--night-deep) 70%); box-shadow: inset 0 0 0 4px var(--candle-dim); }
.price h3 { font-size: 24px; }
.amount { font: 400 48px/1 var(--pixel); color: var(--candle); margin: 6px 0 6px; text-shadow: 4px 4px 0 #000; }
.price .sub { color: var(--muted); margin: 0 0 14px; }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.price li { padding-left: 24px; position: relative; color: var(--parchment); }
.price li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--teal); box-shadow: 4px 4px 0 var(--deep-green); }
.price-note { margin-top: 22px; color: var(--parchment); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: rgba(36,26,44,.6); box-shadow: inset 0 0 0 4px var(--plum-light); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 16px 20px; position: relative; font: 400 16px/1.4 var(--pixel); text-transform: uppercase; color: var(--wax); letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--pixel); color: var(--candle); }
.faq details[open] summary::after { content: "-"; }
.faq details[open] { box-shadow: inset 0 0 0 4px var(--candle-dim); }
.faq .a { padding: 0 20px 18px; color: var(--parchment); }
.faq .a p { margin: 0 0 10px; } .faq .a p:last-child { margin: 0; }

/* ---------- Final CTA band ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding: 112px 0; text-align: center; }
.final > picture, .final > picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(18,20,31,.3) 28%, rgba(18,20,31,.45) 72%, var(--night) 100%); }
.final h2 { font-size: 40px; }
@media (min-width: 760px) { .final h2 { font-size: 56px; } }
.final p { margin: 0 auto 22px; max-width: 32em; color: var(--wax); text-shadow: 0 2px 8px #000; font-size: 1.15rem; }
.final .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-deep); border-top: 4px solid var(--plum); padding: 48px 0 40px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.site-footer h2 { font-size: 16px; color: var(--wax); text-shadow: none; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--parchment); text-decoration: none; }
.site-footer ul a:hover { color: var(--candle); text-decoration: underline; }
.footer-word { width: 252px; height: 68px; margin-bottom: 8px; }
.copy { margin-top: 32px !important; font-size: .88rem !important; color: #a99fae !important; }

/* ---------- Lightbox ---------- */
dialog.player { padding: 0; border: 0; background: #000; width: min(960px, 94vw); max-width: none; box-shadow: 0 0 0 4px var(--plum-accent), 0 20px 80px rgba(0,0,0,.8); overflow: visible; }
dialog.player::backdrop { background: rgba(6,6,10,.88); }
dialog.player video { width: 100%; height: auto; aspect-ratio: 16 / 9; }
dialog.player .close { position: absolute; top: -52px; right: 0; }

/* ---------- Simple pages ---------- */
.page-hero { padding: 64px 0 24px; }
.page-hero h1 { font-size: 40px; color: var(--candle); margin: 0 0 14px; text-shadow: 4px 4px 0 var(--night-deep); }
@media (min-width: 760px) { .page-hero h1 { font-size: 56px; } .page-hero { padding: 96px 0 32px; } }
.prose { max-width: 46em; }
.prose p, .prose li { color: var(--parchment); }
.facts { width: 100%; border-collapse: collapse; max-width: 820px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 2px solid var(--plum-light); }
.facts th { font: 400 16px/1.4 var(--pixel); text-transform: uppercase; color: var(--teal); width: 32%; letter-spacing: .03em; }
.facts td { color: var(--parchment); overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts th, .facts td { display: block; width: auto; padding: 6px 0; border: 0; } .facts tr { display: block; padding: 10px 0; border-bottom: 2px solid var(--plum-light); } }
.desc { display: grid; gap: 16px; }
.desc > div { padding: 18px 20px; background: rgba(11,12,20,.55); box-shadow: inset 0 0 0 4px var(--plum-light); }
.desc h3 { font-size: 16px; color: var(--teal); }
.desc p { margin: 0; color: var(--parchment); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.gallery.rooms-g { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery.rooms-g { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .gallery.rooms-g { grid-template-columns: repeat(8, 1fr); } }
.gallery figure { margin: 0; }
.gallery a { display: block; text-decoration: none; }
.gallery .frame { padding: 4px; background: var(--plum-light); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.gallery figcaption b { font: 400 16px/1.3 var(--pixel); text-transform: uppercase; color: var(--wax); display: block; }
.assets { display: grid; gap: 16px; }
@media (min-width: 700px) { .assets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .assets { grid-template-columns: repeat(3, 1fr); } }
.asset { background: var(--night-deep); box-shadow: inset 0 0 0 4px var(--plum-light); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.asset .thumb { background: var(--plum); display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; }
.asset .thumb img { max-height: 100%; width: auto; }
.asset .thumb img.cover, .asset .thumb video { width: 100%; height: 100%; object-fit: cover; }
.asset h3 { font-size: 16px; margin: 0; }
.asset p { margin: 0; color: var(--muted); font-size: .95rem; }
.asset .dl { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.asset .dl a { font: 400 16px/1.5 var(--pixel); text-transform: uppercase; }
.center-card { max-width: 620px; margin: 0 auto; padding: 36px 22px 32px; text-align: center; background: linear-gradient(180deg, rgba(36,26,44,.94), rgba(11,12,20,.96)); box-shadow: inset 0 0 0 4px var(--plum-accent); }
.center-card h1 { font-size: 32px; color: var(--candle); margin: 8px 0 12px; text-shadow: 3px 3px 0 var(--night-deep); }
@media (min-width: 600px) { .center-card h1 { font-size: 40px; } .center-card { padding: 44px 40px 36px; } }
.center-card p { color: var(--parchment); margin: 0 auto 14px; max-width: 30em; }
.code-tiles { display: flex; justify-content: center; gap: 6px; margin: 18px 0 22px; flex-wrap: wrap; }
.code-tiles span { width: 40px; height: 56px; font-size: 32px; }
@media (min-width: 600px) { .code-tiles span { width: 56px; height: 72px; font-size: 40px; } }
.stack { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { font-size: .95rem; color: var(--muted) !important; }
.night-page { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(18,20,31,.55) 0%, rgba(18,20,31,.85) 55%, var(--night) 100%), url("/assets/video/house-poster-640.webp") center 20% / cover no-repeat var(--night); }
.night-page main { flex: 1; display: flex; align-items: center; padding: 40px 0 56px; }
@media (max-width: 599px) { #hero-pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } #hero-pause { min-height: 48px; width: 48px; padding: 0; } }
.asset .thumb picture { height: 100%; width: 100%; display: flex; justify-content: center; }

/* ---------- Store badges & QR codes ---------- */
/* Badges: Apple first, same visual height, clear space >= 1/4 of badge height (12px at 48px). */
.store-badges { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 0 0 18px; }
.store-badge { display: inline-block; line-height: 0; padding: 0; border-radius: 9px; }
.store-badge img { display: block; height: 48px; width: auto; }
.store-badge:hover { filter: brightness(1.15); }
.store-badge:focus-visible { outline: 3px solid var(--candle); outline-offset: 4px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; margin: 0 0 14px; }
.store { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.store-qr { display: none; width: 140px; height: 140px; image-rendering: pixelated; box-shadow: 0 0 0 4px var(--plum-accent), 0 6px 24px rgba(0,0,0,.6); }
.store-hint { display: none; }
.final p.store-hint { font-size: .95rem; color: var(--muted); margin-top: 6px; }
@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .store-qr { display: block; }
  .final p.store-hint { display: block; }
}
.copy.tm { font-size: .78rem !important; margin-top: 8px !important; }
