@font-face { font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap; src: url("/advent/fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url("/advent/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap; src: url("/advent/fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 800; font-display: swap; src: url("/advent/fonts/montserrat-800.woff2") format("woff2"); }
@font-face { font-family: Oswald; font-style: normal; font-weight: 500; font-display: swap; src: url("/advent/fonts/oswald-500.woff2") format("woff2"); }
@font-face { font-family: Oswald; font-style: normal; font-weight: 600; font-display: swap; src: url("/advent/fonts/oswald-600.woff2") format("woff2"); }
@font-face { font-family: Allura; font-style: normal; font-weight: 400; font-display: swap; src: url("/advent/fonts/allura-400.woff2") format("woff2"); }

:root {
  --bg: #050505;
  --gold: #d6a763;
  --gold-2: #edc489;
  --ink: #2c241c;
  --paper: #f4eadc;
  --paper-2: #fffaf3;
  --wine: #8f3a42;
  --cream: #f6efe4;
  --muted: #d9cfc3;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--cream); }
body { font-family: Montserrat, "Segoe UI", sans-serif; font-weight: 500; min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.frame { min-height: 100dvh; display: flex; flex-direction: column; }
.frame main { flex: 1; }

/* Same bar as the salon */
.left-border {
  position: fixed; left: 96px; top: 0; width: 1px; height: 100vh;
  background: rgba(255,255,255,0.12); z-index: 30;
}
.social {
  position: fixed; left: 34px; top: 365px; z-index: 40;
  display: flex; flex-direction: column; align-items: center;
}
.social-text {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; letter-spacing: 5px; font-weight: 600; text-transform: uppercase;
  color: #e4ddd6; margin-bottom: 38px;
}
.social a {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.55);
  display: grid; place-items: center; margin-bottom: 14px; color: #fff;
}
.social a svg { width: 14px; height: 14px; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #050505; }
.header {
  position: sticky; top: 0; z-index: 30;
  height: 96px;
  display: flex; align-items: center;
  padding: 0 78px 0 138px;
  background: #050505;
  border-bottom: 1px solid rgba(214,167,99,0.22);
}
.logo { min-width: 210px; display: block; }
.logo-main {
  display: block; font-size: 28px; line-height: 1; font-weight: 400;
  letter-spacing: 4.5px; color: #fff; text-align: center; padding-right: 4.5px;
}
.logo-sub {
  display: block; margin-top: 11px; font-size: 10px; line-height: 1;
  letter-spacing: 8px; font-weight: 500; color: #bbb4ad; text-align: center; padding-right: 8px;
}
.nav {
  position: absolute; left: 50%; top: 0; height: 96px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 22px;
}
.nav a {
  position: relative; font-size: 11px; line-height: 1; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase; color: #fff; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--gold); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; bottom: -19px; width: 36px; height: 1px; background: var(--gold);
}
.mobile-cta, .burger { display: none; }

.hero { max-width: 1120px; margin: 0 auto; padding: 54px 28px 8px; }
.eyebrow {
  color: var(--gold); letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 12px; font-weight: 700; margin: 0 0 8px;
}
.script {
  font-family: Allura, cursive; color: var(--gold-2);
  font-size: clamp(46px, 7vw, 78px); line-height: 0.85; margin: 0; font-weight: 400;
}
h1 {
  font-family: Oswald, sans-serif; font-weight: 600; letter-spacing: 0.04em;
  font-size: clamp(40px, 6vw, 68px); line-height: 0.95; margin: 6px 0 16px; text-transform: uppercase; color: #fff;
}
.lead { max-width: 68ch; color: #efe6da; font-size: 17px; line-height: 1.75; margin: 0 0 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.facts li {
  border: 1px solid rgba(214,167,99,0.4); color: var(--cream);
  padding: 10px 14px; border-radius: 999px; font-size: 13px; background: rgba(214,167,99,0.06);
}
.facts strong { color: var(--gold-2); }
.lights { width: min(880px, 92%); height: 72px; display: block; margin: 10px auto 0; overflow: visible; }
.lights .bulbs circle {
  fill: #fff4df;
  filter: drop-shadow(0 0 4px rgba(255, 214, 150, 0.95)) drop-shadow(0 0 10px rgba(255, 176, 90, 0.45));
}

.grid-wrap { max-width: 1120px; margin: 0 auto; padding: 22px 28px 48px; }
.doors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.door {
  appearance: none; cursor: pointer; text-align: center;
  min-height: 196px; padding: 18px 14px 16px;
  color: #f6efe6;
  background: linear-gradient(180deg, rgba(255,244,226,0.045), rgba(255,244,226,0.015));
  border: 1px solid rgba(214,167,99,0.22);
  border-radius: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px;
}
.door:hover, .door:focus-visible { border-color: rgba(237,196,137,0.7); outline: none; transform: translateY(-1px); }
.num { font-family: Oswald, sans-serif; font-size: 22px; font-weight: 500; letter-spacing: 0.14em; color: rgba(246,239,228,0.72); }
.mark, .letter-logo { display: block; object-fit: contain; background: #fff; }
.mark { width: 78px; height: 78px; border-radius: 20px; padding: 8px; margin-top: 2px; box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.mark.tiny { width: 40px; height: 40px; border-radius: 12px; padding: 4px; box-shadow: none; }
.mark.is-empty, .letter-logo.is-empty {
  display: grid; place-items: center; color: #8a7358; font-family: Oswald, sans-serif; letter-spacing: 0.04em; background: #f7f1e8;
}
.door small { color: rgba(237,196,137,0.85); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.door .who { color: #f6efe6; font-size: 13px; font-weight: 600; min-height: 1.2em; }
.door .count { color: rgba(246,239,228,0.62); font-size: 12px; }
.door.is-today { border-color: rgba(237,196,137,0.85); background: linear-gradient(180deg, rgba(214,167,99,0.16), rgba(214,167,99,0.04)); }
.door.is-won { border-color: rgba(246,239,228,0.45); }

.sheet { border: 0; padding: 0; background: transparent; width: min(640px, calc(100vw - 28px)); }
.sheet::backdrop { background: rgba(5, 5, 5, 0.74); }
.letter {
  position: relative;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(214,167,99,0.28), transparent 42%),
    linear-gradient(180deg, #fffaf3 0%, #f4e6d2 100%);
  color: var(--ink);
  border-radius: 28px;
  border: 1px solid rgba(214,167,99,0.55);
  border-top: 4px solid #d6a763;
  padding: 22px 22px 20px;
  max-height: min(88dvh, 860px);
  overflow: auto;
  text-align: left;
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
}
.letter h2, .letter p, .letter label, .letter .check { color: var(--ink); }
.letter h2 { font-family: Oswald, sans-serif; font-weight: 500; letter-spacing: 0.01em; text-transform: none; font-size: 30px; margin: 4px 0 0; line-height: 1.05; }
.letter .eyebrow { color: #8a7358; }
.letter .muted { color: #6d5e52; }
img.letter-logo {
  width: min(280px, 78%);
  height: min(280px, 62vw);
  margin: 4px auto 12px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(214,167,99,0.45);
  box-shadow: 0 18px 40px rgba(44,36,28,0.12);
}
span.letter-logo { width: min(280px, 78%); height: 180px; margin: 4px auto 12px; border-radius: 28px; }
.letter-logo.is-empty { font-size: 64px; }
.sheet-head { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
img.letter-logo.sheet-logo, span.letter-logo.sheet-logo {
  width: 112px; height: 112px; margin: 0; padding: 12px; border-radius: 24px;
}
span.letter-logo.sheet-logo { font-size: 42px; }
.sheet-num {
  margin: 0; font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #8b6225; font-weight: 600;
}
.sheet-status {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(214,167,99,0.18); color: #6d4e22;
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.sheet-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}
.sheet-status.is-open { background: rgba(143, 98, 32, 0.12); }
.sheet-status.is-live { background: #2c241c; color: #f6e7c8; }
.sheet-status.is-live::before { background: #e23b3b; box-shadow: 0 0 0 4px rgba(226,59,59,0.28); animation: liveBlink 1.2s ease infinite; }
.sheet-status.is-won, .sheet-status.is-drawn { background: rgba(143,58,66,0.1); color: #8f3a42; }
.sheet-date { margin: 6px 0 0; color: #8a7358; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }
.prize-card {
  margin-top: 16px; padding: 16px 16px 14px; border-radius: 18px; text-align: left;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(214,167,99,0.38);
  box-shadow: 0 12px 28px rgba(44,36,28,0.05);
}
.prize-card h3 {
  font-family: Oswald, sans-serif; font-weight: 500; font-size: 28px; line-height: 1.1;
  margin: 4px 0 8px; color: #2c241c;
}
.prize-card p { margin: 0; line-height: 1.55; }
.prize-card.is-sealed { background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.55), rgba(255,255,255,0.55) 8px, rgba(243,230,210,0.9) 8px, rgba(243,230,210,0.9) 16px); }
.prize-quote {
  margin-top: 12px; padding: 2px 0 2px 12px;
  border-left: 3px solid #d6a763; color: #5c4e43; font-style: italic;
}
.prize-value {
  display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px;
  background: #2c241c; color: #f6e7c8; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; font-style: normal;
}
.sheet-block { text-align: left; margin-top: 14px; padding-top: 0; border-top: 0; }
.sheet-kicker, .sheet-facts dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8a7358; font-weight: 700; margin: 0; }
.sheet-facts { margin: 0; }
.sheet-facts div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 8px 0; }
.sheet-facts dd { margin: 0; }
.sheet-count { color: #5c4e43; }
.sheet-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-stat {
  margin: 0; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,0.62); border: 1px solid rgba(44,36,28,0.08);
}
.sheet-stat b {
  display: block; font-family: Oswald, sans-serif; font-weight: 500; font-size: 32px; line-height: 1; color: #2c241c;
}
.sheet-stat span {
  display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a7358; font-weight: 800;
}
.sheet-hint { margin: 10px 0 0; line-height: 1.5; }
.sheet-block .actions .btn, .sheet-block #enter { width: 100%; }
.live-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: min(720px, calc(100% - 56px)); margin: 18px auto 0;
  background: #1a140f; color: #f6e7c8; border: 1px solid rgba(214,167,99,0.55); border-radius: 999px;
  min-height: 52px; padding: 0 22px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e23b3b;
  box-shadow: 0 0 0 4px rgba(226,59,59,0.28); animation: liveBlink 1.2s ease infinite;
}
.stage {
  margin: 16px 0 0; padding: 16px 14px 14px; border-radius: 22px; text-align: center;
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(214,167,99,0.24), transparent 58%),
    #1a140f;
  color: #f6efe6;
  box-shadow: inset 0 0 0 1px rgba(214,167,99,0.35);
}
.letter .stage p { color: #fff8ee; }
.stage .sheet-kicker { color: #d6a763; }
.stage-clock { margin: 6px 0 0; color: #fff8ee; letter-spacing: 0; line-height: 1.45; min-height: 2.6em; font-size: 15px; }
.reel {
  min-height: 76px; margin: 10px 0; display: grid; place-items: center;
  padding: 8px 12px; border-radius: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(214,167,99,0.55);
  font-family: Oswald, sans-serif; font-size: clamp(28px, 6vw, 42px); letter-spacing: 0.03em; color: #fff8ee;
}
.letter .stage .reel { color: #fff8ee; }
.reel.is-spin { animation: reelPulse 0.12s steps(2, end) infinite; }
.reel.is-winner, .letter .stage .reel.is-winner {
  color: #f3d7a1; font-size: clamp(26px, 5vw, 36px); animation: none;
  background: rgba(214,167,99,0.16); border-color: #d6a763;
}
.stage-steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin: 0; padding: 0;
}
.stage-steps li {
  padding: 8px 4px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(246,239,228,0.55);
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.stage-steps li.is-done { color: #f6e7c8; border-color: rgba(214,167,99,0.7); background: rgba(214,167,99,0.12); }
.stage-steps li.is-on { color: #1a1208; background: #d6a763; border-color: #d6a763; }
.winner, .letter .stage .winner { margin: 8px 0 0; font-weight: 700; color: #f3d7a1; }
@keyframes reelPulse { 50% { opacity: 0.45; } }
@keyframes liveBlink { 50% { opacity: 0.35; } }
.close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(44,36,28,0.12); background: #fff; color: var(--ink);
}
.frame-45 {
  width: min(280px, 100%); aspect-ratio: 4 / 5; margin: 14px 0;
  border-radius: 14px; background: #efe2d1 center/cover no-repeat;
  box-shadow: 0 10px 24px rgba(44,36,28,0.12);
}
.statline { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.letter .statline span, .panel .statline span {
  border: 1px solid rgba(44,36,28,0.14); background: rgba(255,250,243,0.8);
  color: var(--ink); border-radius: 999px; padding: 8px 12px; font-size: 13px;
}
.letter label, .panel label { display: block; font-size: 13px; font-weight: 700; margin: 14px 0 6px; }
.letter input, .letter textarea, .panel input, .panel textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: var(--paper-2); color: var(--ink); border: 1px solid rgba(44,36,28,0.18);
}
.letter textarea, .panel textarea { min-height: 110px; resize: vertical; }
.letter .check input, .panel .check input { width: 20px; min-height: 20px; padding: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 12px 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.letter a, .panel a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--gold); color: #1a1208; font-weight: 800; letter-spacing: 0.03em;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(44,36,28,0.28); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.note {
  background: rgba(143,58,66,0.08); border-left: 3px solid var(--wine);
  color: var(--ink); padding: 12px 14px; margin: 12px 0; border-radius: 0 12px 12px 0;
}
.hero .note, .hero .muted { color: #efe6da; }
.hero .btn.ghost { color: var(--cream); border-color: rgba(246,239,228,0.35); }

.panel {
  max-width: 920px; margin: 28px auto 48px; padding: 28px;
  background: linear-gradient(180deg, #fffaf3, #f3e7d6);
  color: var(--ink); border-radius: 22px;
}
.panel h1, .panel h2, .panel p, .panel label, .panel summary { color: var(--ink); }
.panel .eyebrow { color: var(--wine); }
.panel .muted, .panel .lead { color: #5c4e43; }
.panel .btn.ghost { color: var(--ink); }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 36px 1fr 64px; gap: 8px; align-items: center; font-size: 13px; color: var(--ink); }
.bar { height: 8px; background: rgba(44,36,28,0.08); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--wine), var(--gold)); }
.admin-door { border-top: 1px solid rgba(44,36,28,0.1); padding: 14px 0; }
.admin-door summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; }
.work-head, .work-grid { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.work-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: start; margin-top: 8px; }
.work-card { background: #fffaf3; border-radius: 18px; padding: 18px; margin-top: 14px; }
.work-card h2 { font-family: Oswald, sans-serif; font-size: 22px; font-weight: 500; letter-spacing: 0.04em; margin: 0 0 8px; text-transform: none; }
.log-card { max-height: 280px; overflow: auto; }
.log-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.log-list li { font-size: 12px; line-height: 1.45; color: #3c322b; border-bottom: 1px solid rgba(44,36,28,0.08); padding-bottom: 6px; }
.log-list time { color: #8a7358; margin-right: 6px; }
.log-list code { display: block; white-space: pre-wrap; word-break: break-word; color: #5c4e43; }
.door-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.door-row {
  display: grid; grid-template-columns: 36px 36px 1fr; gap: 10px; align-items: center;
  text-align: left; padding: 8px 10px; border-radius: 14px; cursor: pointer;
  background: rgba(255,250,243,0.45); border: 1px solid transparent; color: inherit;
}
.door-row small { display: block; color: #6d5e52; font-size: 12px; letter-spacing: 0; text-transform: none; }
.door-row.is-on { border-color: rgba(214,167,99,0.8); background: #fff; }
.crop {
  width: min(220px, 100%); aspect-ratio: 1; overflow: hidden; border-radius: 28px;
  background: #fff; margin: 8px auto 12px; touch-action: none; position: relative;
  box-shadow: 0 10px 24px rgba(44,36,28,0.08);
}
.crop img { width: 100%; height: 100%; object-fit: contain; background: #f7f1e8; user-select: none; pointer-events: none; }
.bad { color: var(--wine); }

.toast {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  background: #2c241c; color: #fff8ee; border: 1px solid var(--gold);
  padding: 14px 16px; border-radius: 14px;
}

:root {
  --hl-gold-1: #c9974a;
  --hl-gold-2: #b9823a;
  --hl-gold-3: #8b6225;
  --hl-line-dark: rgba(185, 130, 58, 0.18);
  --hl-line-vert: rgba(185, 130, 58, 0.12);
}
.footer-cta, .footer, .footer-bottom, .footer-credit-row { width: 100%; align-self: stretch; box-sizing: border-box; }
.footer-cta { max-width: 1700px; margin: 64px auto 0; padding: 44px 138px; position: relative; }
.footer-cta-box {
  position: relative;
  background: radial-gradient(circle at 92% 12%, rgba(201, 151, 74, 0.18), transparent 36%), linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border: 1px solid var(--hl-line-dark);
  padding: 56px 64px; min-height: 280px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; overflow: hidden;
}
.footer-cta-box::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 3px 3px; pointer-events: none; mix-blend-mode: overlay;
}
.footer-cta-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 6px; text-transform: uppercase; color: var(--hl-gold-1); margin-bottom: 18px; }
.footer-cta-h {
  font-family: Montserrat, system-ui, sans-serif; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.05;
  letter-spacing: 4px; text-transform: uppercase; color: #fff; margin: 0 0 18px; font-weight: 700;
}
.footer-cta-h em { color: var(--hl-gold-1); font-style: normal; }
.footer-cta-text p { color: #b8b1a7; font-size: 14px; line-height: 1.7; max-width: 620px; margin: 0; }
.footer-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 64px; min-width: 220px; padding: 0 30px;
  background: linear-gradient(180deg, var(--hl-gold-1) 0%, var(--hl-gold-2) 100%); color: #0a0a0a; text-transform: uppercase;
  font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-decoration: none; border: 1px solid var(--hl-gold-2);
  box-shadow: 0 12px 32px rgba(185, 130, 58, 0.18);
}
.footer-cta-btn:hover { background: linear-gradient(180deg, #d8a55a, var(--hl-gold-1)); transform: translateY(-2px); }
.footer-cta-btn svg { width: 18px; height: 18px; }
.footer { max-width: 1700px; margin: 0 auto; padding: 56px 138px 0; position: relative; }
.footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 4px 4px; pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 0; padding-bottom: 56px; border-bottom: 1px solid var(--hl-line-dark); }
.footer-col { padding: 0 36px; border-right: 1px solid var(--hl-line-vert); }
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child { padding-right: 0; border-right: none; }
.footer-brand .f-brand-name { font-size: 32px; font-weight: 800; letter-spacing: 6px; color: #fff; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.footer-brand .f-brand-stack { display: inline-block; width: max-content; margin-bottom: 22px; }
.footer-brand .f-brand-loc { font-size: 11px; letter-spacing: 9px; color: #cfcab2; text-transform: uppercase; margin-bottom: 14px; text-align: center; transform: translateX(-3%); }
.footer-brand .f-brand-divider { width: 36px; height: 1px; background: var(--hl-gold-1); margin: 0 auto; }
.footer-brand p { color: #a8a098; font-size: 12.5px; line-height: 1.65; max-width: 320px; margin: 0 0 26px; }
.footer-socials { display: inline-flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hl-gold-2); display: grid; place-items: center; color: var(--hl-gold-1); }
.footer-socials a:hover { background: var(--hl-gold-1); color: #0a0a0a; }
.footer-socials svg { width: 14px; height: 14px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--hl-gold-1); text-transform: uppercase; margin: 0 0 14px; line-height: 1; }
.footer-col h4 + .f-line { width: 30px; height: 1px; background: var(--hl-gold-2); margin-bottom: 22px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { display: inline-flex; align-items: center; gap: 10px; color: #c4bcb1; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500; }
.footer-list a:hover { color: var(--hl-gold-1); }
.footer-list a::before { content: "›"; color: var(--hl-gold-1); font-size: 14px; font-weight: 700; }
.footer-contact, .footer-hours { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 12.5px; color: #c4bcb1; line-height: 1.55; }
.footer-contact li:first-child { padding-top: 0; }
.footer-contact li:last-child { border-bottom: 0; padding-bottom: 0; }
.footer-contact .f-icon { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; color: var(--hl-gold-1); border: 1px solid var(--hl-line-dark); background: rgba(185, 130, 58, 0.04); }
.footer-contact .f-icon svg { width: 14px; height: 14px; }
.footer-contact a { color: #c4bcb1; }
.footer-contact a:hover { color: var(--hl-gold-1); }
.footer-contact address { font-style: normal; }
.footer-hours li { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-hours li:first-child { padding-top: 0; }
.footer-hours li:last-child { border-bottom: 0; }
.footer-hours li > span:first-child { color: #cfcab2; font-weight: 600; }
.footer-hours li > span:last-child { color: var(--hl-gold-1); font-weight: 600; letter-spacing: 1px; }
.footer-hours li.is-closed > span:last-child { color: #8a8378; font-weight: 500; }
.footer-bottom { max-width: 1700px; margin: 0 auto; padding: 22px 138px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.footer-bottom-tag, .footer-bottom-legal { display: inline-flex; align-items: center; gap: 12px; margin: 0; }
.footer-bottom-tag .f-since { color: var(--hl-gold-1); }
.footer-bottom-tag .f-tagline, .footer-bottom-legal a { color: #b8b1a7; }
.footer-bottom-legal a:hover { color: var(--hl-gold-1); }
.footer-bottom .f-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--hl-gold-1); display: inline-block; }
.footer-credit-row { max-width: 1700px; margin: 0 auto; padding: 10px 138px 24px; text-align: center; border-top: 1px dashed rgba(255,255,255,0.04); }
.footer-credit-row .credit { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; color: #5d574e; letter-spacing: 1px; margin: 0; }
.credit a { font-weight: 700; letter-spacing: 0.04em; background: linear-gradient(90deg, #f9d27a, #fff8e1, #d9aa6b, #fff8e1, #f9d27a); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.credit-heart { color: #ff5c7a; }
.credit-spark { color: var(--hl-gold-1); }

.prose { max-width: 76ch; margin: 0 auto; padding: 42px 22px 72px; }
.prose h1 { font-size: clamp(36px, 5vw, 58px); }
.prose h2 { font-family: Oswald, sans-serif; font-weight: 500; font-size: 28px; margin-top: 32px; color: #fff; }
.prose p, .prose li { color: #f3eadf; line-height: 1.75; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1100px) {
  .doors { grid-template-columns: repeat(4, 1fr); }
  .nav { gap: 14px; }
  .footer-cta { padding: 36px 28px; }
  .footer-cta-box { padding: 40px 32px; grid-template-columns: 1fr; }
  .footer-cta-btn { width: 100%; }
  .footer { padding: 48px 28px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col { border-right: 0; border-bottom: 1px solid var(--hl-line-vert); padding-bottom: 32px; margin-bottom: 32px; }
  .footer-col:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .footer-bottom, .footer-credit-row { padding-left: 28px; padding-right: 28px; }
}
.legal-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: flex-start; justify-content: center; padding: 60px 20px;
  background: rgba(0,0,0,0.85); overflow-y: auto;
}
.legal-modal.is-open { display: flex; }
.legal-modal-card {
  position: relative; background: #0a0a0a; border: 1px solid rgba(214,167,99,0.32);
  max-width: 760px; width: 100%; padding: 48px 48px 40px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
}
.legal-modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(214,167,99,0.32); color: #c8c0b6; cursor: pointer;
}
.legal-modal h2 {
  font-family: Montserrat, sans-serif; font-size: 36px; letter-spacing: 4px; text-transform: uppercase;
  color: #fff; margin: 0 0 8px; line-height: 1; font-weight: 400;
}
.legal-modal h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin: 12px 0 28px; }
.legal-modal h3 { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 28px 0 10px; }
.legal-modal p, .legal-modal address { color: #cbc4ba; font-size: 14px; line-height: 1.7; margin: 0 0 14px; font-style: normal; }
.legal-modal strong { color: #fff; }
.legal-modal a { color: var(--gold); border-bottom: 1px solid rgba(214,167,99,0.3); }
.legal-modal-meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12px; color: #6f685f; }

@media (max-width: 768px) {
  .left-border, .social { display: none; }
  .nav { display: none !important; }
  .header { height: 76px; padding: 0 16px; gap: 10px; }
  .logo { min-width: 0; margin-right: auto; }
  .logo-main { font-size: 22px; letter-spacing: 3.5px; text-align: left; padding-right: 3.5px; }
  .logo-sub { font-size: 8.5px; letter-spacing: 6px; margin-top: 6px; text-align: left; padding-right: 6px; }
  .mobile-cta {
    display: inline-flex; align-items: center; height: 44px; padding: 0 14px;
    background: var(--gold); color: #1a1208; font-size: 10.5px; font-weight: 900;
    letter-spacing: 1.4px; text-transform: uppercase; border-radius: 999px;
  }
  .burger {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 44px; height: 44px; padding: 0; background: rgba(20,18,15,0.55);
    border: 1px solid rgba(214,167,99,0.45); cursor: pointer;
  }
  .burger span { display: block; width: 16px; height: 1.5px; background: var(--gold); transition: transform .22s, opacity .18s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .nav.is-open {
    display: flex !important; position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(320px, 86vw); height: 100vh; flex-direction: column; align-items: stretch;
    gap: 0; padding: 92px 28px 28px; transform: none; z-index: 55;
    background: rgba(8,7,7,0.98); border-left: 1px solid rgba(214,167,99,0.28); overflow-y: auto;
  }
  .nav.is-open a { padding: 16px 0; font-size: 13px; letter-spacing: 3px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav.is-open a.active::after { display: none; }
  body.is-nav-open .header { z-index: 60; }
  body.is-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(20,12,8,0.55); z-index: 40; }
  .doors { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .door { min-height: 156px; }
  .hero, .grid-wrap { padding-left: 16px; padding-right: 16px; }
  .work-grid, .work-head, .door-pick { grid-template-columns: 1fr; display: grid; }
  .work-head { align-items: start; }
  .footer-cta { padding: 28px 22px; margin-top: 28px; }
  .footer-cta-box { padding: 36px 24px; min-height: 0; grid-template-columns: 1fr; gap: 20px; }
  .footer-cta-h { font-size: 26px; letter-spacing: 2.5px; }
  .footer-cta-btn { width: 100%; height: 56px; }
  .footer { padding: 40px 24px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { padding: 0 0 22px; margin: 0 0 22px; border-right: 0; border-bottom: 1px solid rgba(185,130,58,0.14); }
  .footer-col:last-child { border-bottom: 0; margin-bottom: 8px; }
  .footer-bottom { padding: 20px 22px 18px; flex-direction: column; text-align: center; justify-content: center; letter-spacing: 1.5px; }
  .footer-bottom-tag, .footer-bottom-legal { justify-content: center; flex-wrap: wrap; }
  .footer-credit-row { padding: 14px 22px 22px; }
  .sheet { width: 100vw; height: 100dvh; max-height: 100dvh; }
  .letter { height: 100%; max-height: none; border-radius: 0; border-left: 0; border-right: 0; }
  .sheet-head { grid-template-columns: 88px 1fr; gap: 12px; }
  img.letter-logo.sheet-logo, span.letter-logo.sheet-logo { width: 88px; height: 88px; }
  .stage-steps { grid-template-columns: 1fr 1fr; }
  .live-banner { width: calc(100% - 32px); border-radius: 18px; text-align: left; padding: 12px 16px; }
  .foot { padding: 32px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .door:hover { transform: none; }
  .reel.is-spin, .live-dot, .sheet-status.is-live::before { animation: none; }
}
