/* The Space: site styles */
@font-face { font-family: "Titan One"; src: url("assets/fonts/titan-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("assets/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("assets/fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #090c1d;
  --navy: #121a38;
  --navy2: #1c2752;
  --navy3: #26336a;
  --gold: #f2b13a;
  --gold2: #d98a1c;
  --cream: #f8eed8;
  --paper: #fbf6ea;
  --slate: #8fa7c9;
  --slate-dim: #6d8bb3;
  --red: #e2574c;
  --ok: #7fd1a3;
  --line: rgba(248, 238, 216, .12);
  --radius: 18px;
  --wrap: 1160px;
  --display: "Titan One", "Fredoka", system-ui, sans-serif;
  --body: "Fredoka", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", cursive;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* anything marked hidden stays hidden, whatever else styles it */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--ink); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* starfield */
.stars { position: relative; isolation: isolate; }
.stars::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, #fff9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 64%, #f2b13a 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 48%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 86%, #fff6 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 56% 34%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 82%, #f2b13a99 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 52%, #fff6 50%, transparent 51%);
  background-size: 340px 300px, 410px 380px, 520px 460px, 300px 260px, 380px 420px, 260px 240px, 600px 520px, 450px 330px;
}

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 5vw, 56px); color: var(--gold); }
h3 { font-size: 22px; }
.eyebrow { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--slate); margin: 0 0 12px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: #e9e0cc; max-width: 34em; }
.hand { font-family: var(--hand); font-weight: 700; }
section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.section-head p { margin: 0; max-width: 30em; color: #d8d0bf; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 17px; padding: 15px 26px; border-radius: 999px; transition: transform .15s ease, background .15s, box-shadow .15s;
}
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 0 var(--gold2); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--gold2); }
.btn-gold:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--gold2); }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 0 6px 0 var(--gold2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9, 12, 29, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand img { height: 40px; width: auto; }
.brand span { font-family: var(--display); font-size: 22px; color: var(--gold); line-height: 1; }
.brand small { display: block; font-family: var(--body); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-links a:hover { color: var(--gold); }
.nav-links .btn { padding: 10px 20px; font-size: 15px; box-shadow: 0 4px 0 var(--gold2); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); padding: 8px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; padding: 14px; }
}

/* hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); background: radial-gradient(1200px 600px at 75% 30%, #1c2752 0%, transparent 60%), var(--ink); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(48px, 8vw, 96px); color: var(--cream); }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero .lede { margin: 22px 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.hero-facts li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 15px; color: #e3dac7; background: rgba(28, 39, 82, .5); }
.hero-facts b { color: var(--gold); }
.porthole { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 10px rgba(28, 39, 82, .45); }
.porthole video, .porthole img { width: 100%; height: 100%; object-fit: cover; }
.porthole .tag { position: absolute; left: 18px; bottom: 18px; background: rgba(9,12,29,.75); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--cream); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .porthole { max-width: 420px; width: 100%; margin: 0 auto; order: -1; aspect-ratio: 1; }
}

/* features */
.features { background: var(--navy); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, var(--navy2), #18214a); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(242, 177, 58, .12); color: var(--gold); margin-bottom: 18px; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { color: var(--cream); margin-bottom: 8px; }
.card p { margin: 0; color: #d6cebd; font-size: 16px; }
.card .note { margin-top: 14px; font-family: var(--hand); font-size: 22px; color: var(--gold); line-height: 1.1; }

/* flash cheat strip */
.flash { margin-top: 24px; display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(9,12,29,.45); }
.flash > div { padding: 18px 20px; border-left: 1px solid var(--line); }
.flash > div:first-child { border-left: 0; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.flash b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--gold); line-height: 1.1; }
.flash span { font-size: 14px; color: #cfc7b5; }
@media (max-width: 760px) { .flash { grid-template-columns: 1fr 1fr; } .flash > div:first-child { grid-column: 1 / -1; } .flash > div:nth-child(n+2) { border-top: 1px solid var(--line); } .flash > div:nth-child(2n) { border-left: 0; } }

/* booking */
.book { background: var(--ink); }
.booker { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .booker { grid-template-columns: 1fr; } }
.panel { background: var(--navy); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 28px); }
.step-label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 0 0 16px; }
.step-label i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 14px; letter-spacing: 0; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h3 { font-size: 26px; color: var(--cream); }
.cal-nav { display: flex; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--navy2); color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover:not([disabled]) { border-color: var(--gold); color: var(--gold); }
.icon-btn[disabled] { opacity: .3; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--slate-dim); padding: 4px 0 6px; }
.day {
  position: relative; aspect-ratio: 1; min-height: 44px; border-radius: 12px; border: 1px solid transparent; background: var(--navy2);
  color: var(--cream); font-weight: 600; font-size: 16px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0;
}
.day small { font-size: 11px; font-weight: 500; color: var(--ok); line-height: 1; }
.day.few small { color: var(--gold); }
.day:hover:not([disabled]) { border-color: var(--gold); }
.day[disabled] { background: transparent; color: #4b5578; cursor: default; }
.day[disabled] small { color: #4b5578; }
.day.other { visibility: hidden; }
.day.today::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); }
.day.sel { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.day.sel small { color: var(--ink); }
@media (max-width: 560px) {
  .cal { gap: 4px; }
  .day { border-radius: 10px; font-size: 15px; }
  .day small { font-size: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
  .day.few small { background: var(--gold); }
  .day.sel small { background: var(--ink); }
  .day.today::after { top: 4px; right: 4px; width: 5px; height: 5px; }
}
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--slate); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--ok); vertical-align: 1px; }
.legend .l-few::before { background: var(--gold); }
.legend .l-none::before { background: #4b5578; }

.slots-wrap { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.slots-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.slots-title h4 { margin: 0; font-size: 18px; }
.slots-title span { font-size: 13px; color: var(--slate); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--line); background: var(--navy2); color: var(--cream); border-radius: 12px; padding: 11px 6px; font-weight: 600; font-size: 15px; cursor: pointer; }
.slot:hover:not([disabled]) { border-color: var(--gold); }
.slot[disabled] { background: transparent; color: #4b5578; text-decoration: line-through; cursor: default; }
.slot.in { background: rgba(242, 177, 58, .2); border-color: var(--gold); color: var(--gold); }
.slot.sel { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.empty { color: var(--slate); font-size: 15px; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; }

.dur { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(9,12,29,.5); border: 1px solid var(--line); }
.dur[hidden] { display: none; }
.dur .icon-btn { width: 40px; height: 40px; font-size: 22px; }
.dur output { font-family: var(--display); font-size: 24px; color: var(--gold); min-width: 3.4em; text-align: center; }
.dur p { margin: 0; font-size: 14px; color: var(--slate); flex: 1; }

.summary { border-radius: 18px; padding: 20px; background: var(--paper); color: var(--ink); margin-bottom: 20px; position: relative; overflow: hidden; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 16px; }
.summary .row + .row { border-top: 1px dashed #d8ccb0; }
.summary .total { font-family: var(--display); font-size: 30px; color: var(--navy); }
.summary .muted { color: #6a6152; }
.summary .placeholder { text-align: center; color: #7d725f; padding: 12px 0; }
.summary .placeholder .hand { font-size: 28px; color: var(--navy2); display: block; }

form .field { margin-bottom: 14px; }
form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #e3dac7; }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { form .two { grid-template-columns: 1fr; } }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--cream); background: var(--ink); border: 1px solid #36426e; border-radius: 12px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,177,58,.2); }
textarea { resize: vertical; min-height: 70px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #e3dac7; margin: 6px 0 18px; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--gold); }
.form-error { display: none; background: rgba(226, 87, 76, .14); border: 1px solid rgba(226, 87, 76, .5); color: #ffc9c3; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-bottom: 14px; }
.form-error.show { display: block; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--slate); text-align: center; }
.pay-btn { width: 100%; }
.demo-badge { display: inline-block; margin-left: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(143,167,201,.18); color: var(--slate); padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }

/* rates */
.rates { background: var(--navy); }
.rate-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .rate-grid { grid-template-columns: 1fr; } }
.rate-main { background: var(--gold); color: var(--ink); border-radius: 24px; padding: 32px; position: relative; overflow: hidden; }
.rate-main .big { font-family: var(--display); font-size: clamp(64px, 9vw, 104px); line-height: .95; color: var(--ink); }
.rate-main .big small { font-size: .35em; }
.rate-main p { margin: 12px 0 0; font-weight: 600; font-size: 18px; }
.rate-main .moon { position: absolute; right: -30px; bottom: -40px; width: 190px; opacity: .22; transform: rotate(-12deg); }
.rate-card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: var(--navy2); }
.rate-card b { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--gold); display: block; line-height: 1.05; }
.rate-card h3 { margin: 6px 0 10px; color: var(--cream); font-size: 20px; }
.rate-card p { margin: 0; color: #d6cebd; font-size: 16px; }
.math { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.math span { background: rgba(9,12,29,.5); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.math b { color: var(--gold); }

/* rules */
.rules { background: var(--ink); }
.rules-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .rules-layout { grid-template-columns: 1fr; } }
.rule-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: r; }
@media (max-width: 640px) { .rule-list { grid-template-columns: 1fr; } }
.rule-list li { counter-increment: r; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: 16px; background: var(--navy); border: 1px solid var(--line); }
.rule-list li::before { content: counter(r); width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--display); font-size: 22px; display: grid; place-items: center; }
.rule-list b { display: block; color: var(--cream); font-size: 18px; margin-bottom: 2px; }
.rule-list span { color: #cfc7b5; font-size: 15px; }
.phone-video { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 0 0 8px var(--navy2); aspect-ratio: 9 / 16; max-width: 320px; margin: 0 auto; }
.phone-video video { width: 100%; height: 100%; object-fit: cover; }
.video-cap { text-align: center; font-family: var(--hand); font-size: 24px; color: var(--gold); margin-top: 14px; }

/* wall */
.wall { background: radial-gradient(900px 500px at 50% 0%, var(--navy2), transparent 70%), var(--navy); text-align: center; }
.wall h2 { color: var(--cream); }
.wall .lede { margin: 16px auto 0; }
.board { margin: 48px auto 0; max-width: 980px; padding: 42px 24px; border-radius: 22px; background: #2a2016 repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px); border: 10px solid #4a3622; box-shadow: inset 0 0 40px rgba(0,0,0,.55); display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 22px; }
.polaroid { width: 170px; background: #fffdf8; padding: 10px 10px 0; position: relative; box-shadow: 0 10px 18px rgba(0,0,0,.45); transform: rotate(var(--r, 0deg)); transition: transform .25s ease; }
.polaroid:hover { transform: rotate(0deg) scale(1.04); z-index: 2; }
.polaroid::before { content: ""; position: absolute; top: -7px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd77a, #d98a1c 60%, #8a5410); box-shadow: 0 2px 3px rgba(0,0,0,.5); }
.polaroid .ph { aspect-ratio: 1; background: #1c2752; overflow: hidden; display: grid; place-items: center; }
.polaroid .ph img { width: 100%; height: 100%; object-fit: cover; }
.polaroid .ph.empty-ph { background: repeating-linear-gradient(135deg, #1c2752 0 10px, #202c5a 10px 20px); color: var(--slate); font-size: 13px; }
.polaroid .cap { font-family: var(--hand); font-weight: 700; color: var(--navy); font-size: 22px; height: 42px; line-height: 42px; white-space: nowrap; overflow: hidden; }
.wall-foot { margin-top: 34px; font-size: 19px; }
.wall-foot b { color: var(--gold); }

/* faq */
.faq { background: var(--ink); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 28px; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: #d6cebd; max-width: 40em; }

/* footer */
.foot { background: var(--navy); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 34px; align-items: start; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot img.wm { width: 230px; height: auto; }
.foot h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--cream); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.qr { background: var(--paper); padding: 10px; border-radius: 14px; width: 128px; }
.qr p { margin: 6px 0 0; color: var(--navy); font-size: 12px; text-align: center; font-weight: 600; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--slate-dim); }

/* mobile sticky book bar */
.book-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; }
@media (max-width: 860px) { .book-bar.show { display: block; } }
.book-bar .btn { width: 100%; box-shadow: 0 6px 0 var(--gold2), 0 12px 30px rgba(0,0,0,.6); }

/* confirmation + demo checkout pages */
.page-center { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.ticket { width: 100%; max-width: 520px; background: var(--paper); color: var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px -10px rgba(0,0,0,.8); }
.ticket-top { background: var(--navy); color: var(--cream); padding: 30px 30px 26px; text-align: center; position: relative; }
.ticket-top img { width: 96px; margin: 0 auto 12px; }
.ticket-top h1 { font-size: 40px; color: var(--gold); }
.ticket-top p { margin: 8px 0 0; color: #d6cebd; }
.ticket-body { padding: 26px 30px 30px; }
.ticket-body .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #d8ccb0; }
.ticket-body .row span:first-child { color: #6a6152; }
.ticket-body .row span:last-child { font-weight: 600; text-align: right; }
.ticket-body h3 { font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); margin: 24px 0 10px; }
.ticket-body ol { margin: 0; padding-left: 20px; }
.ticket-body li { margin-bottom: 8px; }
.ticket-body a { color: var(--navy2); font-weight: 600; }
.ticket-notch { height: 0; border-top: 3px dashed #d8ccb0; margin: 0 20px; position: relative; }
.ticket .btn { margin-top: 22px; width: 100%; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.status-paid { background: #d6f2e2; color: #145a34; }
.status-pending { background: #fbe7c0; color: #7a4a06; }
.status-bad { background: #f8d6d2; color: #7c1f16; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid rgba(242,177,58,.25); border-top-color: var(--gold); animation: spin 1s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.fakecard { border: 1px solid #d8ccb0; border-radius: 12px; padding: 14px; background: #fff; color: #6a6152; font-size: 15px; display: flex; justify-content: space-between; margin-top: 8px; }
.demo-note { background: #eef2fa; color: #26336a; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }

/* reveal on scroll */
/* Content is visible at rest; JS adds .pre only to things still below the fold, then lifts them in. */
.reveal.pre { opacity: .001; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* owner dashboard */
    .admin { max-width: 1100px; margin: 0 auto; padding: 28px 20px 80px; }
    .admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
    .admin-top h1 { font-size: 34px; color: var(--gold); }
    .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
    @media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
    .stat { background: var(--navy); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
    .stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 36px; color: var(--gold); line-height: 1.1; }
    .stat span { color: var(--slate); font-size: 14px; }
    .cols { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
    @media (max-width: 960px) { .cols { grid-template-columns: 1fr; } }
    .bk { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
    .bk:last-child { border-bottom: 0; }
    .bk h3 { font-family: var(--body); font-weight: 700; font-size: 17px; color: var(--cream); }
    .bk .when { color: var(--gold); font-weight: 600; }
    .bk .meta { color: #cfc7b5; font-size: 14px; grid-column: 1 / -1; }
    .bk .meta a { color: #cfc7b5; }
    .bk .acts { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; margin-top: 6px; }
    .mini { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--navy2); color: var(--cream); cursor: pointer; }
    .mini:hover { border-color: var(--gold); color: var(--gold); }
    .mini.danger:hover { border-color: var(--red); color: #ffb3ab; }
    .day-h { margin: 22px 0 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
    .day-h:first-child { margin-top: 0; }
    .warn { background: rgba(226, 87, 76, .16); color: #ffc9c3; border-radius: 10px; padding: 6px 10px; font-size: 13px; grid-column: 1 / -1; }
    .login { max-width: 380px; margin: 12vh auto; }
    .feed { word-break: break-all; font-size: 13px; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: #cfc7b5; }
    .blk { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* demo build: overlays + banner */
.demo-banner { background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 600; }
.demo-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-block: 8px; }
.demo-banner button { font: inherit; font-size: 13px; font-weight: 700; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.demo-banner button.solid { background: var(--ink); color: var(--gold); }
.demo-banner .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-ov { position: fixed; inset: 0; z-index: 100; background: rgba(5, 7, 18, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.demo-ov .page-center { min-height: 100%; }
.demo-ov .admin { background: var(--ink); min-height: 100%; }
.demo-x { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(9,12,29,.6); color: var(--cream); font-size: 24px; line-height: 1; cursor: pointer; }
.demo-link { display: block; width: 100%; margin-top: 14px; background: none; border: 0; color: var(--navy2); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.code-preview { margin-top: 8px; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #e3dac7; }
.confirm-row { grid-column: 1 / -1; }
.new-tag { display: inline-block; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.bk.is-new { background: rgba(242,177,58,.06); border-radius: 12px; padding-inline: 10px; }
