/* GenX Party House: the front door (the public front page, inc/landing.php).
   One idea: the real party house at night. The front wall slides away and every room is lit in its
   own color. Quiet type, warm porch light, the rooms do the talking. */

:root {
  --night: #0d0720; --night2: #150b2c; --night3: #1d1238; --cream: #fff1dc; --soft: #cbbfdc; --dim: #9d90b6;
  --amber: #ffb547; --amber2: #ffc874; --onamber: #1d1230; --mint: #5be3b5; --line: rgba(255, 241, 220, .12);
  --f-display: "Poppins", "Archivo", system-ui, sans-serif; --f-body: "Archivo", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px); --max: 1280px;
  /* the house drawing's own colors (assets/house.css) */
  --hx-night: #0d0720; --hx-ink: #1d1530; --hx-cream: #fff1dc; --hx-lilac: #c9b6e4; --hx-sodium: #ffb547; --hx-mint: #5be3b5; --hx-red: #ff3b5c;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.fd { margin: 0; background: var(--night); color: var(--cream); font: 400 1.0625rem/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
.fd a { color: var(--amber2); text-underline-offset: 3px; }
.fd :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.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; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--amber); color: var(--onamber); padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.fd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 12px; border: 0;
  font: 750 1.02rem/1.15 var(--f-body); font-stretch: 105%; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease, color .2s ease; }
.fd a.fd-btn { text-decoration: none; }
.fd-btn-go { background: var(--amber); color: var(--onamber); }
.fd a.fd-btn-go { color: var(--onamber); }
.fd-btn-go:hover { background: var(--amber2); transform: translateY(-1px); }
.fd-btn-ghost { background: rgba(255, 241, 220, .08); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(255, 241, 220, .22); }
.fd a.fd-btn-ghost { color: var(--cream); }
.fd-btn-ghost:hover { background: rgba(255, 241, 220, .14); }
.fd-btn-sm { min-height: 44px; padding: 9px 16px; font-size: .95rem; border-radius: 10px; }
.fd-btn:disabled { opacity: .6; cursor: progress; }

/* ---------- top bar ---------- */
.fd-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter);
  background: rgba(13, 7, 32, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fd-brand { font: 700 1.25rem/1 var(--f-display); color: var(--cream) !important; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.fd-nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; justify-content: flex-end; }
.fd-nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
.fd-nav a:hover { color: var(--cream); }
.fd-nav .fd-nav-cta { color: var(--onamber); background: var(--amber); padding: 9px 16px; border-radius: 10px; font-weight: 750; }
.fd-nav .fd-nav-cta:hover { color: var(--onamber); background: var(--amber2); }
.fd-flash { margin: 0; padding: 12px var(--gutter); background: rgba(91, 227, 181, .14); color: var(--cream); font-weight: 650; }

/* ---------- the hero: copy on the left, the house on the right ---------- */
.fd-hero { position: relative; display: grid; grid-template-columns: minmax(340px, 31%) minmax(0, 1fr); align-items: center; gap: 0 clamp(16px, 2vw, 32px);
  max-width: 1680px; margin: 0 auto; padding: clamp(18px, 3vw, 40px) var(--gutter) 24px; min-height: min(calc(100svh - 64px), 780px); }
.fd-copy, .fd-panel { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
.fd-kicker { margin: 0 0 14px; font-weight: 750; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.fd-h1 { margin: 0 0 18px; font: 700 clamp(2.3rem, 4vw, 3.9rem)/1.06 var(--f-display); letter-spacing: -.025em; text-wrap: balance; }
.fd-lede { margin: 0 0 26px; max-width: 34em; font-size: clamp(1.05rem, 1.25vw, 1.18rem); color: var(--soft); }
.fd-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fd-ctas[hidden] { display: none; }
.fd-heroform { margin-top: 4px; }
.fd-heroform[hidden] { display: none; }
.fd-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 0; font-size: .92rem; color: var(--soft); }
.fd-trust li { display: flex; align-items: center; gap: 7px; }
.fd-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.fd-proof { margin: 18px 0 0; font-size: .95rem; color: var(--dim); }
.fd-proof strong { color: var(--cream); font-size: 1.15em; }
.fd-clock { display: block; margin-top: 6px; font-variant-numeric: tabular-nums; }
.fd-clock b { color: var(--cream); font-weight: 700; }
.fd-clock .clock-label { margin-right: 4px; }

.fd-house { grid-column: 2; grid-row: 1; position: relative; min-width: 0; }
.fd-house .hx-svg { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1600 / 920; overflow: visible;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent); mask-composite: intersect; }
/* Rooms with nobody in them yet still look lit (they're lit for the party, not empty-dim). */
.fd .hx-room:not(.is-lit):not(.is-locked) { filter: none; }
.fd .hx-room[data-room="basement"], .fd .hx-room[data-room="backroom"] { filter: brightness(1.25) saturate(1.1); }
.fd-house-hint { margin: 8px 0 0; text-align: center; font-size: .9rem; color: var(--dim); }
.fd-house-hint .hint-open { display: none; }
.fd-house.is-open .fd-house-hint .hint-open { display: inline; }
.fd-house.is-open .fd-house-hint .hint-closed { display: none; }
.no-js .fd-house-hint .hint-closed { display: none; }
.no-js .fd-house-hint .hint-open { display: inline; }

/* The drawing, calmer than inside the house: slower lights, no strobing dance floor. */
.fd .hx-floor { animation-duration: 4s; }
.fd .hx-beams { animation-duration: 10s; }
.fd .hx-cone { animation: none; }
.fd .hx-sign rect { stroke-width: 1.5; }
.fd .hx-edge { stroke: #0d0720; stroke-width: 6; }
.fd a.hx-room:hover .hx-edge, .fd a.hx-room:focus-visible .hx-edge, .fd .hx-room.is-peek .hx-edge { stroke: var(--cream); stroke-width: 4; }
.fd .hx-svg .hx-room[style] { animation: none; }
.fd .fd-house.is-open .hx-room[style] { animation: hxLightsOn .8s steps(5) backwards; animation-delay: calc(var(--d, 0s) * .7 + .55s); }
.hx-spot { cursor: pointer; }
.hx-spot-ring { fill: none; stroke: var(--cream); stroke-width: 3; opacity: 0; transition: opacity .2s; }
.hx-spot:hover .hx-spot-ring, .hx-spot:focus-visible .hx-spot-ring { opacity: .9; }
.hx-spot:focus { outline: none; }
.fd .hx-svg:has(.hx-spot:hover) .hx-room { filter: brightness(.6) saturate(.7); }

/* The front wall. Only with scripts on (otherwise the rooms just show). */
.hx-facade { cursor: pointer; }
.no-js .hx-facade { display: none; }
.hx-fa { transform-box: view-box; transition: opacity .9s cubic-bezier(.4, 0, .2, 1), transform 1s cubic-bezier(.4, 0, .2, 1); }
.hx-fa-garage { transition-delay: .12s; }
.hx-fa-ground { transition-delay: .22s; }
.fd-house.is-open .hx-facade { pointer-events: none; }
.fd-house.is-open .hx-fa { opacity: 0; transform: translateY(-34px); }
.fd-house.is-open .hx-fa-ground { transform: translateY(26px); }
.hx-fwin rect:nth-child(3) { animation: fdWin 6s ease-in-out infinite; }
.hx-fwin.w-living rect:nth-child(3) { animation-duration: 2.6s; }
@keyframes fdWin { 50% { opacity: .78; } }
.hx-fdoorlight, .hx-fporch { animation: fdWin 5s ease-in-out infinite; }
.fd-house:not(.is-open) .hx-facade:hover .hx-fa-main { filter: brightness(1.12); }

/* ---------- the room panel (desktop: where the hero copy was) ---------- */
.fd-panel[hidden] { display: none; }
.fd-panel { outline: none; }
.fd-panel .fd-room-pic { display: none; }
.fd-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.fd-back { background: none; border: 0; padding: 8px 0; color: var(--soft); font: 700 .95rem var(--f-body); cursor: pointer; }
.fd-back:hover { color: var(--cream); }
.fd-step { display: flex; gap: 6px; }
.fd-step button { width: 44px; height: 44px; border-radius: 10px; border: 0; background: rgba(255, 241, 220, .08); color: var(--cream); font-size: 1.1rem; cursor: pointer; }
.fd-step button:hover { background: rgba(255, 241, 220, .16); }
.fd-panel .fd-room-name { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.fd-panel .fd-room-body { padding: 0; }
.fd-panel .fd-room-body { animation: fdIn .35s ease both; }
@keyframes fdIn { from { opacity: 0; transform: translateY(8px); } }
.fd-panel .fd-status-inline { display: inline-block; margin-bottom: 12px; }

/* ---------- section basics ---------- */
.fd-rooms, .fd-arcade, .fd-roll, .fd-pass, .fd-faq, .fd-last, .fd-on { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.fd-sec-head { max-width: 46em; margin-bottom: 30px; }
.fd-sec-head p { color: var(--soft); margin: 0; }
.fd-k { margin: 0 0 10px !important; font-weight: 750; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber) !important; }
.fd-h2 { margin: 0 0 14px; font: 700 clamp(2rem, 3.6vw, 3rem)/1.06 var(--f-display); letter-spacing: -.015em; text-wrap: balance; }

/* ---------- every room ---------- */
.fd-floors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fd-room { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; background: var(--night2);
  box-shadow: 0 1px 0 rgba(255, 241, 220, .05) inset; scroll-margin-top: 90px; }
.fd-room:target { box-shadow: 0 0 0 2px var(--c); }
.fd-floor { position: absolute; left: 14px; top: 12px; z-index: 2; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(13, 7, 32, .78); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.fd-room-pic { position: relative; aspect-ratio: 4 / 3; background: #0b061a; overflow: hidden; }
.fd-pic { display: block; width: 100%; height: 100%; pointer-events: none; transition: filter 1.2s ease; }
.js .fd-room:not(.is-lit) .fd-pic { filter: brightness(.22) saturate(.3); }
.fd-room-pic::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, var(--night2)); pointer-events: none; }
.fd-status { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(13, 7, 32, .78); font-size: .78rem; font-weight: 700; color: var(--soft); }
.fd-status.is-open { color: #0d2a1f; background: var(--mint); }
.fd-room-body { padding: 4px 22px 22px; }
.fd-room-line { margin: 0 0 4px; font-weight: 750; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.fd-room-name { margin: 0 0 10px; font: 700 1.65rem/1.08 var(--f-display); letter-spacing: -.01em; }
.fd-room-what { margin: 0 0 14px; color: var(--soft); font-size: 1rem; }
.fd-has { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.fd-has li { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--cream); font-size: .85rem; font-weight: 600; }
.fd-room-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.fd-room-acts:empty { display: none; }

/* ---------- the arcade ---------- */
.arcade-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cab { position: relative; min-height: 560px; border-radius: 16px; overflow: hidden; background: #0b0718; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.cab iframe { display: block; width: 100%; height: 1000px; border: 0; }
.cab-coin { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; cursor: pointer; border: 0; padding: 24px; text-align: center;
  background: radial-gradient(60% 50% at 50% 42%, rgba(79, 227, 255, .16), transparent 70%), #0b0718; color: var(--cream); font: inherit; }
.cab-coin-big { font: 400 clamp(2rem, 4vw, 3rem)/1 "VT323", monospace; letter-spacing: .08em; color: #4fe3ff; }
.cab-coin-small { color: var(--soft); max-width: 32ch; }
.board { background: var(--night2); border-radius: 16px; padding: 20px 18px 18px; }
.board h3 { margin: 0 0 14px; font: 700 1.4rem var(--f-display); }
.board-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.board-tabs button { min-height: 40px; border-radius: 8px; border: 0; background: rgba(255, 241, 220, .07); color: var(--soft); font: 700 .9rem var(--f-body); cursor: pointer; }
.board-tabs button[aria-selected="true"] { background: var(--amber); color: var(--onamber); }
.board-list { list-style: none; margin: 0 0 12px; padding: 0; min-height: 260px; }
.board-list li { display: grid; grid-template-columns: 2.2ch 4ch 1fr auto; gap: 10px; align-items: baseline; padding: 3px 6px; border-radius: 6px; font: 400 1.6rem/1.15 "VT323", monospace; }
.board-list li:nth-child(odd) { background: rgba(255, 255, 255, .03); }
.board-list .rk { color: var(--dim); }
.board-list .in { color: #4fe3ff; }
.board-list .cy { color: var(--dim); font-size: 1.15rem; }
.board-list .sc { color: var(--amber); text-align: right; font-variant-numeric: tabular-nums; }
.board-list .board-empty { display: block; font: 400 1.3rem/1.3 "VT323", monospace; color: var(--soft); padding: 16px 6px; background: none; }
.board-foot { margin: 0; font-size: .88rem; color: var(--dim); }

/* ---------- the Roll Call ---------- */
.fd-roll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 48px; align-items: start; }
.fd-roll-body p { margin: 0 0 12px; color: var(--soft); font-size: 1.08rem; }
.fd-roll-n { color: var(--cream) !important; }
.fd-roll-n strong { font: 700 2.2rem var(--f-display); color: var(--amber); margin-right: 6px; }

/* ---------- the Hall Pass ---------- */
.fd-pass { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 32px 56px; align-items: start; }
.fd-pass-main > p { color: var(--soft); }
.fd-form { margin: 8px 0 0; }
.fd-label { display: block; margin: 0 0 8px; font-weight: 700; font-size: .92rem; color: var(--soft); }
.fd-heroform .fd-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fd-form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fd-form input[type=email] { flex: 1 1 240px; min-width: 0; min-height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 241, 220, .24);
  background: rgba(255, 241, 220, .06); color: var(--cream); font: 500 1.05rem var(--f-body); }
.fd-form input[type=email]::placeholder { color: var(--dim); }
.fd-form input[type=email]:focus { outline: none; border-color: var(--amber); background: rgba(255, 241, 220, .1); }
.fd-form .fd-btn { min-height: 54px; }
.signup-msg { margin: 10px 0 0; font-weight: 650; }
.signup-msg:empty { display: none; }
.signup-msg.is-error { color: #ffb3c1; }
.fd-form.is-done .fd-form-row { display: none; }
.fd-form.is-done .signup-msg { font-size: 1.1rem; color: var(--mint); }
.fd-fine { margin: 12px 0 0; font-size: .9rem; color: var(--dim); }
.fd-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.fd-steps li { position: relative; padding-left: 46px; color: var(--soft); counter-increment: s; }
.fd-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 181, 71, .16); color: var(--amber); font-weight: 800; }
.fd-steps b { color: var(--cream); }
/* The details, on a permission slip. */
.fd-slip { margin: 0; padding: 24px 24px 20px; border-radius: 6px; background: #f4ead0; color: #2a2238; transform: rotate(1.2deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.fd-slip-h { margin: 0 0 12px; font: 700 1.3rem var(--f-display); color: #1d1230; }
.fd-slip div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(42, 34, 56, .14); }
.fd-slip dt { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b5f80; padding-top: 2px; }
.fd-slip dd { margin: 0; font-weight: 600; }
.fd-slip-sig { margin: 14px 0 0; font-size: .85rem; color: #6b5f80; }
.fd-slip .scrawl { font: 400 1.15rem "Permanent Marker", cursive; color: #1f3fae; margin-left: 6px; }

/* ---------- already on the calendar (bookings strip) ---------- */
.fd-on ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; }
.fd-on li { flex: 0 0 auto; }
.fd-on a { display: grid; gap: 2px; min-width: 220px; max-width: 290px; padding: 12px 16px; border-radius: 12px; background: var(--night2); color: var(--cream); text-decoration: none; }
.fd-on .bk-when { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.fd-on .bk-who { font-size: .88rem; color: var(--soft); }

/* ---------- questions ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.5rem var(--f-body); color: var(--amber); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--soft); max-width: 58ch; }

/* ---------- last call + footer ---------- */
.fd-last { text-align: center; padding-bottom: clamp(56px, 8vw, 96px); }
.fd-last p { color: var(--soft); margin: 0 0 22px; }
.fd-foot { padding: 28px var(--gutter) 96px; border-top: 1px solid var(--line); color: var(--dim); font-size: .9rem; text-align: center; }
.fd-foot p { margin: 0 auto 8px; max-width: 64em; }

/* ---------- after a signup: open your email, then bring somebody ---------- */
.fd-mailapps { margin-top: 12px; padding: 16px; border-radius: 12px; background: rgba(255, 181, 71, .08); }
.fd-mailapps-h { margin: 0 0 10px; font-weight: 750; }
.fd-mailapps .sa-btn { background: rgba(255, 181, 71, .16); color: var(--amber2) !important; }
.share-after { margin-top: 14px; padding: 16px; border-radius: 12px; background: rgba(91, 227, 181, .08); }
.sa-head { margin: 0 0 10px; font-weight: 750; color: var(--cream); }
.sa-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sa-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: rgba(91, 227, 181, .16); color: var(--mint) !important; font: 750 .95rem var(--f-body); cursor: pointer; text-decoration: none; }
.sa-btn:hover { background: rgba(91, 227, 181, .26); }
.sa-note { margin: 10px 0 0; font-size: .86rem; color: var(--dim); }

/* ---------- score dialog, toast, phone bar, bottom sheet ---------- */
.score-dlg { width: min(520px, calc(100% - 32px)); padding: 28px 24px 22px; border: 0; border-radius: 18px; background: var(--night3); color: var(--cream); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.score-dlg::backdrop { background: rgba(8, 4, 20, .72); backdrop-filter: blur(3px); }
.score-close { position: absolute; right: 8px; top: 4px; margin: 0; }
.score-close button { font-size: 2rem; line-height: 1; background: none; border: 0; color: var(--soft); cursor: pointer; padding: 6px 10px; }
.score-num { margin: 0; font: 400 3.2rem/1 "VT323", monospace; color: var(--amber); }
.score-roast { margin: 8px 0 16px; color: var(--soft); }
.score-form label { display: block; margin-bottom: 10px; }
.score-init { color: #4fe3ff; font-family: "VT323", monospace; font-size: 1.3em; font-weight: 400; }
.score-row { display: flex; flex-wrap: wrap; gap: 10px; }
.score-row input { flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 241, 220, .24); background: rgba(255, 241, 220, .06); color: var(--cream); font: inherit; }
.score-msg { margin: 10px 0 0; font-weight: 650; }
.score-msg:empty { display: none; }
.score-msg.is-error { color: #ffb3c1; }
.score-msg.is-good { color: var(--mint); }
.score-fine { margin: 12px 0 0; font-size: .88rem; color: var(--dim); }
.lp-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 70; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 12px; background: var(--mint); color: #0d2a1f; font-weight: 750; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.lp-toast[hidden] { display: none; }
.fd-sticky { display: none; }
.fd-sheet { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; background: rgba(8, 4, 20, .6); }
.fd-sheet[hidden] { display: none; }
.fd-sheet-card { position: relative; max-height: 86svh; overflow-y: auto; border-radius: 20px 20px 0 0; background: var(--night2); padding: 0 0 calc(18px + env(safe-area-inset-bottom, 0px)); animation: fdUp .3s ease both; }
@keyframes fdUp { from { transform: translateY(40px); opacity: 0; } }
.fd-sheet-x { position: absolute; right: 10px; top: 10px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(13, 7, 32, .78); color: var(--cream); font-size: 1.6rem; cursor: pointer; }
.fd-sheet .fd-room-pic { aspect-ratio: 16 / 9; }
.fd-sheet .fd-status { right: auto; left: 12px; }
.fd-sheet .fd-pic { filter: none !important; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .fd-floors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-hero { grid-template-columns: minmax(300px, 38%) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .fd-nav a:not(.fd-nav-cta) { display: none; }
  .fd-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 22px; }
  .fd-copy { grid-row: 1; }
  .fd-panel { display: none !important; }
  .fd-house { grid-column: 1; grid-row: 2; margin: 18px calc(var(--gutter) * -1) 0; }
  .fd-house .hx-svg { aspect-ratio: 1600 / 920; }
  .fd-house-hint { padding: 0 var(--gutter); }
  .arcade-grid, .fd-roll, .fd-pass { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .fd-slip { transform: none; }
}
/* Phones: the rooms become the house, one floor at a time, top to bottom. */
@media (max-width: 640px) {
  body.fd { font-size: 1rem; }
  .fd-top { padding: 10px 16px; }
  .fd-brand { font-size: 1.12rem; }
  .fd-nav .fd-nav-cta { padding: 8px 12px; font-size: .88rem; }
  .fd-h1 { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
  .fd-ctas .fd-btn { flex: 1 1 100%; }
  .fd-house { margin-top: 12px; }
  .fd-house .hx-svg { width: 150%; margin-left: -25%; aspect-ratio: auto; }
  /* Picture right under the headline, so the first screen has the house in it. */
  .fd-copy { display: contents; }
  .fd-kicker { order: 1; } .fd-h1 { order: 2; } .fd-house { order: 3; grid-row: auto; margin-bottom: 14px; }
  .fd-lede { order: 4; } .fd-ctas { order: 5; } .fd-heroform { order: 5; } .fd-trust { order: 6; } .fd-proof { order: 7; }
  .fd-h1 { margin-bottom: 4px; }
  .fd-house-hint { margin-top: 0; }
  .fd-house { overflow: hidden; }
  .fd-floors { grid-template-columns: 1fr; gap: 0; margin: 0 -16px; }
  .fd-room { border-radius: 0; background: transparent; }
  .fd-room + .fd-room { border-top: 1px solid var(--line); }
  .fd-room-pic { aspect-ratio: 16 / 10; }
  .fd-room-pic::after { background: linear-gradient(transparent, var(--night)); }
  .fd-room-body { padding: 0 16px 28px; }
  .fd-room-name { font-size: 1.9rem; }
  .fd-room-acts .fd-btn { flex: 1 1 auto; }
  .cab { min-height: 520px; }
  .fd-sticky { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center;
    min-height: 54px; border-radius: 14px; background: var(--amber); color: var(--onamber) !important; text-decoration: none; font: 750 1.02rem var(--f-body); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
  .fd-sticky[hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fd .hx-svg *, .fd .hx-svg { animation: none !important; }
  .hx-fa, .fd-pic { transition: none; }
  .fd .fd-house.is-open .hx-room[style] { animation: none; }
  .hx-fwin rect, .hx-fdoorlight, .hx-fporch { animation: none; }
  .fd-panel .fd-room-body, .fd-sheet-card { animation: none; }
}

/* ---------- party night: live tag, the night's schedule, your invite link ---------- */
.fd-live { display: inline-flex; align-items: center; gap: 8px; color: #ff8aa0; }
.fd-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff3b5c; animation: fdPulse 1.4s ease-in-out infinite; }
@keyframes fdPulse { 50% { opacity: .3; } }
.fd-night { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.fd-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-width: 760px; }
.fd-tl li { display: grid; grid-template-columns: 6.5em 1fr auto; gap: 14px; align-items: baseline; padding: 12px 14px; border-radius: 10px; background: var(--night2); }
.fd-tl li.is-past { opacity: .5; }
.fd-tl time { font-weight: 750; color: var(--amber); font-variant-numeric: tabular-nums; }
.fd-tl-what { font-weight: 600; }
.fd-tl-where { font-size: .82rem; font-weight: 700; color: var(--c); white-space: nowrap; }
.fd-invite { margin-top: 12px; }
.fd-invite input { flex: 1 1 240px; min-width: 0; min-height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 241, 220, .24); background: rgba(255, 241, 220, .06); color: var(--cream); font: 600 1rem var(--f-body); }
@media (max-width: 640px) {
  .fd-tl li { grid-template-columns: 5.6em 1fr; }
  .fd-tl-where { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .fd-live::before { animation: none; } }
