/* =========================================================
   Тайный Санта · Новая сцена
   ========================================================= */

@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0c0e;
  --bg-soft: #0e1013;
  --panel: #131519;
  --panel-2: #181b20;
  --panel-3: #1d2026;
  --cream: #f2ede3;
  --cream-dim: #d8d2c6;
  --muted: #a49e93;
  --muted-2: #746f67;
  --gold: #d3b478;
  --gold-light: #ecd6a8;
  --gold-dim: #8f784f;
  --wine: #7d1f2c;
  --wine-light: #a82b3f;
  --wine-dark: #3a0d14;
  --ok: #86b293;
  --danger: #d07878;
  --line: rgba(211, 180, 120, 0.18);
  --line-soft: rgba(255, 255, 255, 0.075);
  --serif: 'Cormorant', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
  --header: 86px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(125, 31, 44, 0.2), transparent 62%),
    radial-gradient(900px 520px at 4% 18%, rgba(211, 180, 120, 0.055), transparent 60%),
    var(--bg);
  font: 400 15px/1.65 var(--sans);
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.012em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--gold-light); }
::selection { background: rgba(211, 180, 120, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--gold);
  color: #111;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- typography helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--gold);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
  flex: none;
}
.eyebrow .eyebrow-line:last-child { margin-left: 0; }
.centered .eyebrow { justify-content: center; }
.centered h2 { margin-inline: auto; }

.lead {
  font: 400 19px/1.7 var(--serif);
  color: var(--cream-dim);
}

.muted { color: var(--muted) !important; }
.tiny-note { margin-top: 14px; color: var(--muted-2); font-size: 12px; line-height: 1.6; }
.block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 6px;
  color: var(--gold);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.block-label svg { width: 14px; height: 14px; }
.req { color: var(--wine-light); margin-left: 2px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 1px;
  background: none;
  color: var(--cream);
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(135deg, #e6cb93 0%, #d3b478 55%, #c19f61 100%);
  color: #17120a;
  box-shadow: 0 10px 34px -18px rgba(211, 180, 120, 0.8);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #f0d9a8 0%, #dfc188 55%, #cdaa6c 100%);
  box-shadow: 0 14px 40px -18px rgba(211, 180, 120, 0.95);
}
.btn-ghost {
  border-color: rgba(211, 180, 120, 0.32);
  background: rgba(255, 255, 255, 0.018);
  color: var(--cream);
}
.btn-ghost:hover { border-color: rgba(211, 180, 120, 0.65); background: rgba(211, 180, 120, 0.07); }
.btn-outline {
  border-color: rgba(211, 180, 120, 0.42);
  color: var(--gold-light);
  background: transparent;
}
.btn-outline:hover { background: rgba(211, 180, 120, 0.08); border-color: var(--gold); }
.btn-quiet {
  color: var(--muted);
  padding-inline: 4px;
  letter-spacing: 0.1em;
  background: none;
}
.btn-quiet:hover { color: var(--gold-light); }
.btn-danger {
  border-color: rgba(208, 120, 120, 0.4);
  background: rgba(125, 31, 44, 0.12);
  color: #e5aaaa;
}
.btn-danger:hover { background: rgba(125, 31, 44, 0.25); border-color: rgba(208, 120, 120, 0.7); }
.btn-sm { padding: 12px 18px; font-size: 9.5px; letter-spacing: 0.14em; }
.btn-block { display: flex; width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled,
body:not(.page-home) .site-header {
  background: rgba(9, 10, 12, 0.86);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(211, 180, 120, 0.42);
  transform: rotate(45deg);
  transition: border-color 0.25s, background 0.25s;
}
.brand-mark svg {
  width: 20px; height: 20px;
  transform: rotate(-45deg);
  fill: none; stroke: var(--gold);
  stroke-width: 1.1;
}
.brand:hover .brand-mark { border-color: var(--gold); background: rgba(211, 180, 120, 0.07); }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-title {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--cream);
}
.brand-sub {
  font: 500 8.5px/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-nav { display: flex; align-items: center; gap: 27px; }
.nav-link {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--cream); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-form { display: inline-flex; margin: 0; }
.nav-button { appearance: none; }
.nav-cta { margin-left: 3px; }
.nav-admin { color: var(--gold); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: rgba(15, 17, 20, 0.6);
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1px; background: var(--cream); transition: transform 0.25s, opacity 0.25s; }
.nav-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 940px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header) + 64px) 0 90px;
}
.hero-media, .hero-veil, .hero-curtain { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.hero-veil {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.97) 0%, rgba(8, 9, 11, 0.9) 26%, rgba(8, 9, 11, 0.42) 55%, rgba(8, 9, 11, 0.14) 76%, rgba(8, 9, 11, 0.4) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 11, 0) 26%, rgba(8, 9, 11, 0) 66%, rgba(8, 9, 11, 0.7) 100%);
}
.hero-curtain {
  width: 74px;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, rgba(72, 14, 24, 0.55), transparent);
  filter: blur(2px);
  opacity: 0.8;
}
.hero-curtain-right {
  inset: 0 0 0 auto;
  background: linear-gradient(270deg, rgba(72, 14, 24, 0.5), transparent);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: 70px;
}
.hero-copy { max-width: 700px; }
.hero-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(58px, 7.2vw, 102px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-wrap: balance;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}
.hero-lead {
  max-width: 580px;
  margin-bottom: 34px;
  color: #e2dcd0;
  font-size: 15.5px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 34px; }
.hero-closed {
  color: var(--muted-2);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-meta-text {
  color: var(--muted);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--cream-dim);
  font: 500 9.5px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(211, 180, 120, 0.7); }
.status-pill.is-open .dot { background: #8fbf9b; box-shadow: 0 0 10px rgba(143, 191, 155, 0.7); }
.status-pill.is-drawn .dot { background: var(--wine-light); box-shadow: 0 0 10px rgba(168, 43, 63, 0.8); }
.status-pill.is-closed { color: var(--muted); }

.hero-panel {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(24, 26, 31, 0.94), rgba(12, 14, 17, 0.9));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.hero-facts { margin-top: 8px; }
.hero-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}
.hero-facts span {
  color: var(--muted-2);
  font: 500 9.5px/1.4 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-facts strong {
  color: var(--cream-dim);
  font: 500 13px/1.4 var(--sans);
  text-align: right;
}
.hero-panel-note { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.stamp {
  position: absolute;
  top: -18px; right: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(168, 43, 63, 0.75);
  background: rgba(61, 12, 19, 0.92);
  color: #e8b3b8;
  font: 600 9px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-5deg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.countdown { padding-bottom: 22px; }
.countdown-label {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font: 500 9.5px/1.4 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.countdown-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown-units div {
  padding: 10px 4px 8px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}
.countdown-units b {
  display: block;
  color: var(--gold-light);
  font: 500 27px/1 var(--serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.countdown-units span {
  color: var(--muted-2);
  font: 500 8px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.countdown-finished { display: block; color: var(--cream); font: 500 24px/1.2 var(--serif); }
.countdown-note { display: block; margin-top: 5px; color: var(--muted-2); font-size: 11px; }
.countdown-done { padding-bottom: 20px; }

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  width: 24px; height: 48px;
  transform: translateX(-50%);
  border: 1px solid rgba(211, 180, 120, 0.3);
  border-radius: 20px;
  z-index: 3;
}
.hero-scroll span {
  position: absolute;
  top: 9px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  background: var(--gold);
  border-radius: 3px;
  animation: scroll-dot 2.1s infinite;
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(17px); }
}

/* ---------- sections ---------- */

.section { position: relative; padding: 112px 0; }
.section-alt { background: rgba(255, 255, 255, 0.014); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 560px; }
.section-head h2 { font-size: clamp(40px, 4.6vw, 62px); color: var(--cream); }
.section-head.centered { max-width: 720px; margin-inline: auto; text-align: center; }
.section-note { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 400px; }
.section-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
  margin-bottom: 48px;
}
.section-count {
  color: var(--muted);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 8px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: start;
}
.prose-block p { margin-bottom: 20px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.prose-block .lead { color: var(--cream-dim); }
.signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  color: var(--gold);
  font: italic 500 19px/1.4 var(--serif);
}
.signature-line { width: 48px; height: 1px; background: var(--gold); opacity: 0.5; }

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}
.step {
  position: relative;
  padding: 36px 26px 42px;
  border-left: 1px solid var(--line-soft);
  transition: background 0.35s;
}
.step:first-child { border-left: 0; }
.step:hover { background: rgba(211, 180, 120, 0.035); }
.step-num {
  display: block;
  margin-bottom: 24px;
  color: var(--gold-dim);
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.22em;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  color: var(--gold);
  transform: rotate(45deg);
}
.step-icon svg { width: 20px; height: 20px; transform: rotate(-45deg); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-bottom: 12px; font-size: 27px; color: var(--cream); }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* participants */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.participant-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 18px;
  background: var(--bg);
  transition: background 0.3s;
}
.participant-card:hover { background: var(--panel); }
.monogram {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border: 1px solid rgba(211, 180, 120, 0.3);
  border-radius: 50%;
  color: var(--gold-light);
  font: 500 17px/1 var(--serif);
  letter-spacing: 0.04em;
  background: radial-gradient(circle at 32% 25%, rgba(211, 180, 120, 0.14), transparent 65%);
}
.monogram-sm { width: 38px; height: 38px; font-size: 14px; }
.participant-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.participant-info strong { font: 500 13.5px/1.3 var(--sans); color: var(--cream-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.participant-info span { color: var(--muted-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.participant-more { border: 1px dashed var(--line); background: transparent; justify-content: center; flex-direction: column; gap: 2px; color: var(--gold); }
.participant-more strong { font: 500 22px/1 var(--serif); }
.participant-more span { color: var(--muted-2); font-size: 11px; }

.empty-state {
  padding: 70px 30px;
  border: 1px dashed var(--line);
  text-align: center;
  background: rgba(255, 255, 255, 0.012);
}
.empty-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border: 1px solid var(--line); color: var(--gold); transform: rotate(45deg); }
.empty-icon svg { width: 22px; height: 22px; transform: rotate(-45deg); fill: none; stroke: currentColor; stroke-width: 1.2; }
.empty-state h3 { font-size: 30px; margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }
.empty-state-compact { padding: 34px; }

/* details */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.detail-card {
  position: relative;
  padding: 34px 32px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.004));
  transition: border-color 0.3s, transform 0.3s;
}
.detail-card:hover { border-color: var(--line); transform: translateY(-2px); }
.detail-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  color: var(--gold);
  border-radius: 50%;
}
.detail-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.detail-card h3 { margin-bottom: 8px; font: 500 10px/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.detail-value { margin-bottom: 14px; color: var(--gold-light); font: 500 30px/1.2 var(--serif); }
.detail-card p:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.address-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--gold-dim);
  background: rgba(211, 180, 120, 0.04);
  color: var(--muted);
  font-size: 13px;
}
.address-hint svg { width: 16px; height: 16px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }

/* faq */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  position: relative;
  padding: 23px 46px 23px 0;
  color: var(--cream-dim);
  font: 500 17px/1.45 var(--sans);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-light); }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font: 300 24px/1 var(--serif);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 46px 24px 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* cta */
.cta-band {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 85% 20%, rgba(211, 180, 120, 0.14), transparent 60%),
    linear-gradient(120deg, #4c1019 0%, #6e1b27 52%, #3a0c13 100%);
  border-top: 1px solid rgba(211, 180, 120, 0.22);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.4;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.cta-inner h2 { max-width: 620px; font-size: clamp(36px, 4vw, 54px); color: #fbf4e8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }
.cta-band .btn-quiet { color: rgba(251, 244, 232, 0.7); }
.cta-band .btn-quiet:hover { color: #fff; }

/* ---------- forms ---------- */

.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select,
.inline-form select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1px;
  background: rgba(8, 9, 11, 0.55);
  color: var(--cream);
  font: 400 15px/1.5 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); opacity: 0.85; }
.field input:focus, .field textarea:focus, .field select:focus, .inline-form select:focus {
  outline: none;
  border-color: rgba(211, 180, 120, 0.7);
  box-shadow: 0 0 0 3px rgba(211, 180, 120, 0.07);
  background: rgba(8, 9, 11, 0.8);
}
.field.has-error input, .field.has-error textarea { border-color: rgba(208, 120, 120, 0.65); }
.field-hint { margin-top: 7px; color: var(--muted-2); font-size: 11.5px; line-height: 1.55; }
.field-error { margin-top: 7px; color: var(--danger); font-size: 12px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.char-count { color: var(--muted-2); font: 500 10px/1 var(--sans); letter-spacing: 0.05em; white-space: nowrap; margin-top: 8px; }
.char-count.is-near { color: var(--gold); }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 88px; }
.password-toggle {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  padding: 8px 10px;
  border: 0;
  background: none;
  color: var(--gold);
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.password-toggle:hover { color: var(--gold-light); }

.form-errors {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-left: 2px solid var(--danger);
  background: rgba(125, 31, 44, 0.16);
  color: #e6c3c3;
  font-size: 13px;
}
.form-errors strong { display: block; margin-bottom: 6px; color: #f0d4d4; font-weight: 600; }
.form-errors ul { list-style: disc; padding-left: 18px; }
.form-errors li { margin: 4px 0; }
.form-errors p { margin: 0; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
.form-actions-note { color: var(--muted-2); font-size: 11.5px; }
.form-alt { margin-top: 20px; color: var(--muted); font-size: 13px; text-align: center; }
.form-alt a { color: var(--gold); border-bottom: 1px solid rgba(211, 180, 120, 0.35); }
.form-alt a:hover { color: var(--gold-light); }
.stack-form { margin: 0; }
.inline-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.inline-form select { width: auto; min-width: 210px; flex: 1 1 210px; }
.inline-form-x { color: var(--gold-dim); }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; margin: 6px 0 18px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track {
  position: relative;
  width: 42px; height: 23px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  transition: background 0.25s, border-color 0.25s;
  flex: none;
}
.switch-track span {
  position: absolute;
  top: 3px; left: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.25s, background 0.25s;
}
.switch input:checked + .switch-track { background: rgba(211, 180, 120, 0.18); border-color: rgba(211, 180, 120, 0.6); }
.switch input:checked + .switch-track span { transform: translateX(19px); background: var(--gold); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--gold); outline-offset: 2px; }
.switch-text { color: var(--cream-dim); font-size: 13px; }

.flash-stack { display: grid; gap: 8px; margin: 0 0 26px; }
.flash {
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(211, 180, 120, 0.07);
  color: var(--cream-dim);
  font-size: 13px;
  animation: flash-in 0.4s var(--ease);
}
.flash-ok { border-left-color: var(--ok); background: rgba(134, 178, 147, 0.08); }
.flash-error { border-left-color: var(--danger); background: rgba(208, 120, 120, 0.08); }
.flash-info { border-left-color: var(--gold-dim); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- auth pages ---------- */

.auth-section {
  padding: calc(var(--header) + 76px) 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 70px;
  align-items: center;
}
.auth-grid-narrow { max-width: 1000px; }
.auth-card {
  padding: 48px 46px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(23, 26, 31, 0.9), rgba(12, 14, 17, 0.8));
  position: relative;
}
.auth-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.028);
  pointer-events: none;
}
.auth-card h1 { margin-bottom: 16px; font-size: clamp(38px, 4vw, 54px); }
.auth-intro { margin-bottom: 30px; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 430px; }
.auth-form { position: relative; z-index: 1; }
.auth-aside { padding: 10px 0 10px 34px; border-left: 1px solid var(--line); }
.auth-aside h2 { margin-bottom: 28px; font-size: clamp(32px, 3.4vw, 46px); }
.tick-list { display: grid; gap: 16px; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.tick-list svg {
  width: 16px; height: 16px;
  flex: none;
  margin-top: 2px;
  fill: none; stroke: var(--gold);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.tick-list-sm { gap: 12px; }
.tick-list-sm li { font-size: 12.5px; }
.mini-facts { margin-top: 34px; border-top: 1px solid var(--line-soft); }
.mini-facts div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.mini-facts dt { color: var(--muted-2); font: 500 9.5px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.mini-facts dd { margin: 0; color: var(--cream-dim); font-size: 12.5px; text-align: right; }
.auth-closed { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- dashboard ---------- */

.dash-head {
  padding: calc(var(--header) + 58px) 0 46px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(125, 31, 44, 0.18), transparent 65%),
    rgba(255, 255, 255, 0.01);
}
.dash-greeting { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.dash-greeting h1 { font-size: clamp(42px, 5vw, 66px); }
.dash-sub { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 620px; }
.dash-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 6px; }
.section-dash { padding: 62px 0 96px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; }
.dash-main { display: grid; gap: 28px; min-width: 0; }
.dash-aside { display: grid; gap: 20px; position: sticky; top: 108px; }
.panel {
  padding: 34px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, rgba(23, 26, 31, 0.85), rgba(12, 14, 17, 0.7));
}
.panel-quiet { background: rgba(255, 255, 255, 0.015); }
.panel-danger { border-color: rgba(208, 120, 120, 0.28); background: rgba(90, 22, 30, 0.12); }
.panel-danger .eyebrow { color: #cf8a8a; }
.panel-danger .eyebrow-line { background: #cf8a8a; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.panel-head .eyebrow { margin-bottom: 12px; }
.panel-head h2 { font-size: 32px; }
.panel-text { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.aside-card {
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  background: rgba(20, 22, 27, 0.7);
}
.aside-card .eyebrow { margin-bottom: 18px; }
.aside-card h2 { font-size: 26px; }
.aside-accent {
  border-color: rgba(211, 180, 120, 0.28);
  background:
    radial-gradient(300px 160px at 90% 0%, rgba(211, 180, 120, 0.12), transparent 70%),
    linear-gradient(160deg, rgba(125, 31, 44, 0.2), rgba(18, 20, 24, 0.85));
}
.aside-accent-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gold);
  font: 500 9.5px/1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.aside-accent-label svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.aside-accent-text { margin-bottom: 18px; color: var(--cream-dim); font: 400 19px/1.55 var(--serif); }
.aside-text { color: var(--muted); font-size: 13px; line-height: 1.7; }
.aside-text + .aside-text { margin-top: 10px; }
.aside-date { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold); font: 500 10px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.aside-date svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.aside-facts li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.aside-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-facts span { color: var(--muted-2); font: 500 9px/1.4 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; }
.aside-facts strong { color: var(--cream-dim); font: 500 12.5px/1.4 var(--sans); text-align: right; }
.gift-links { margin-top: 8px; }
.gift-links ul { display: grid; gap: 8px; }
.gift-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}
.gift-links a:hover { border-color: var(--line); background: rgba(211, 180, 120, 0.05); }
.gift-link-domain { color: var(--gold-light); font: 500 12px/1 var(--sans); white-space: nowrap; }
.gift-link-url { flex: 1; min-width: 0; color: var(--muted-2); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-links svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.5; flex: none; }
.gift-links .gift-link-url + svg { margin-left: auto; }

/* ---------- santa ---------- */

.santa-hero {
  padding: calc(var(--header) + 70px) 0 62px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 300px at 78% 10%, rgba(211, 180, 120, 0.13), transparent 65%),
    radial-gradient(600px 280px at 10% 0%, rgba(125, 31, 44, 0.24), transparent 70%);
  position: relative;
  overflow: hidden;
}
.santa-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -120px;
  width: 420px; height: 420px;
  border: 1px solid rgba(211, 180, 120, 0.12);
  transform: rotate(45deg);
  pointer-events: none;
}
.santa-kicker { margin-bottom: 8px; color: var(--gold); font: 500 11px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; }
.santa-hero h1 { font-size: clamp(54px, 7vw, 92px); line-height: 0.98; }
.santa-nick { margin-top: 10px; color: var(--muted); font: 500 15px/1.4 var(--sans); letter-spacing: 0.02em; }
.santa-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; color: var(--muted); font: 500 10px/1.4 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; }
.section-santa { padding: 56px 0 90px; }
.santa-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.santa-main { display: grid; gap: 22px; min-width: 0; }
.santa-aside { display: grid; gap: 20px; position: sticky; top: 108px; }
.wish-panel {
  padding: 36px 38px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-dim);
  background: linear-gradient(160deg, rgba(24, 27, 32, 0.8), rgba(12, 14, 17, 0.65));
}
.wish-panel-negative { border-left-color: var(--wine-light); }
.wish-panel .eyebrow { margin-bottom: 14px; }
.wish-panel h2 { margin-bottom: 22px; font-size: clamp(30px, 3.4vw, 44px); }
.wish-text {
  color: var(--cream-dim);
  font: 400 24px/1.6 var(--serif);
  letter-spacing: 0.002em;
  overflow-wrap: anywhere;
}
.wish-panel-negative .wish-text { color: #cfb2b2; font-size: 20px; }
.empty-inline {
  padding: 22px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.hint-panel { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border: 1px dashed var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; }
.hint-panel svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.2; }
.given-note { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--ok); font-size: 11.5px; }
.given-note svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.santa-footer-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 70px; flex-wrap: wrap; }
.santa-footer-note { color: var(--muted-2); font-size: 12px; }

/* ---------- admin ---------- */

.admin-head {
  padding: calc(var(--header) + 54px) 0 34px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(760px 300px at 85% 0%, rgba(125, 31, 44, 0.2), transparent 65%),
    rgba(255, 255, 255, 0.012);
}
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; }
.admin-title-row h1 { font-size: clamp(42px, 5vw, 64px); }
.admin-title-actions { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.admin-title-actions form { margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.stat-card {
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  background: rgba(16, 18, 22, 0.72);
}
.stat-card > span { display: block; color: var(--muted-2); font: 500 9px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.stat-card strong { display: block; margin: 8px 0 4px; color: var(--gold-light); font: 500 34px/1 var(--serif); }
.stat-card small { color: var(--muted-2); font-size: 10.5px; }
.admin-password-warning { margin-top: 24px; }
.admin-anchor-nav {
  display: flex;
  gap: 26px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.admin-anchor-nav a { color: var(--muted); font: 500 10px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.admin-anchor-nav a:hover { color: var(--gold); }
.section-admin { padding: 54px 0; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: 28px; align-items: start; }
.admin-side { display: grid; gap: 20px; }
.admin-foot { padding: 10px 0 60px; color: var(--muted-2); font-size: 11.5px; }
.temp-password {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 20px 24px;
  border: 1px solid rgba(211, 180, 120, 0.45);
  background: rgba(211, 180, 120, 0.07);
}
.temp-password .eyebrow { margin-bottom: 5px; }
.temp-password p:last-child { color: var(--muted); font-size: 12px; }
.temp-password-value { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.temp-password code {
  padding: 10px 16px;
  border: 1px dashed rgba(211, 180, 120, 0.5);
  color: var(--gold-light);
  font-size: 20px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.copy-field { display: flex; gap: 8px; }
.copy-field input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(8, 9, 11, 0.55);
  color: var(--muted);
  font-size: 12px;
}
.table-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font: 500 9px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.data-table td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; font-size: 12.5px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td strong { color: var(--cream-dim); font-weight: 500; }
.data-table .nick { color: var(--muted-2); font-size: 11.5px; }
.data-table .date-cell { color: var(--muted-2); font-size: 11.5px; white-space: nowrap; }
.th-actions { text-align: right; }
.td-actions { text-align: right; white-space: nowrap; }
.td-actions form { display: inline; margin-left: 10px; }
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
}
.link-button:hover { border-bottom-color: currentColor; }
.link-danger { color: #cf8a8a; }
.arrow-cell { color: var(--gold-dim); width: 34px; }
.arrow-cell svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid var(--line-soft);
  color: var(--muted-2);
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.badge-ok { color: var(--ok); border-color: rgba(134, 178, 147, 0.3); background: rgba(134, 178, 147, 0.06); }
.badge svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; }
.person-details summary {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  list-style: none;
}
.person-details summary::-webkit-details-marker { display: none; }
.person-details summary span:last-child { display: flex; flex-direction: column; gap: 2px; }
.person-details summary small { color: var(--muted-2); font-size: 9px; letter-spacing: 0.1em; }
.person-extra {
  margin: 14px 0 4px 50px;
  padding: 14px 16px;
  border-left: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  max-width: 480px;
}
.person-extra p { margin: 0 0 4px; overflow-wrap: anywhere; }
.person-extra .block-label:first-child { margin-top: 0; }
.mini-links { display: grid; gap: 3px; }
.mini-links a { color: var(--gold); font-size: 11.5px; }
.exclusion-list { margin-top: 18px; border-top: 1px solid var(--line-soft); }
.exclusion-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 12.5px; }
.exclusion-list em { color: var(--muted-2); font-style: normal; font-size: 11px; }
.exclusion-list form { margin: 0; }

/* ---------- error ---------- */

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header) + 60px) 0 80px;
  text-align: center;
}
.error-inner { max-width: 640px; margin-inline: auto; }
.error-code { color: var(--gold-dim); font: 500 100px/1 var(--serif); opacity: 0.6; }
.error-inner h1 { margin: 10px 0 18px; font-size: clamp(38px, 5vw, 58px); }
.error-inner > p { color: var(--muted); }
.error-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); background: rgba(0, 0, 0, 0.22); position: relative; z-index: 2; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 0;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.brand-mark-sm { width: 32px; height: 32px; }
.brand-mark-sm svg { width: 16px; height: 16px; }
.footer-title { color: var(--cream-dim); font: 600 11px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.footer-sub { color: var(--muted-2); font-size: 10.5px; margin-top: 3px; }
.footer-note { color: var(--muted-2); font-size: 11.5px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font: 500 9.5px/1 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }

/* ---------- snow & reveal ---------- */

.snowfall { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.snowflake {
  position: absolute;
  top: -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  animation: snow-fall linear infinite;
  will-change: transform;
}
@keyframes snow-fall {
  0% { transform: translate3d(0, -5vh, 0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.5; }
  100% { transform: translate3d(var(--drift, 30px), 105vh, 0); opacity: 0; }
}

.will-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.will-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; }
  .hero h1 { font-size: clamp(54px, 7vw, 82px); }
  .split { gap: 60px; }
  .participants-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-grid, .santa-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
  .admin-grid { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 960px) {
  :root { --header: 74px; }
  .hero-media img { opacity: 0.72; object-position: 66% center; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0.82) 34%, rgba(8, 9, 11, 0.94) 78%, var(--bg) 100%),
      linear-gradient(90deg, rgba(8, 9, 11, 0.55), rgba(8, 9, 11, 0.2));
  }
  .container { width: calc(100% - 40px); }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 28px;
    background: rgba(9, 10, 12, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    max-height: calc(100vh - var(--header));
    overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .nav-link { padding: 13px 0; font-size: 12px; border-bottom: 1px solid var(--line-soft); }
  .nav-link::after { display: none; }
  .nav-form { display: block; }
  .nav-button { width: 100%; text-align: left; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { margin: 16px 0 0; justify-content: center; }
  .hero { min-height: 0; padding-top: calc(var(--header) + 54px); padding-bottom: 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 640px; }
  .hero-panel { max-width: 480px; }
  .hero-scroll { display: none; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .section { padding: 84px 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .participants-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .auth-grid { grid-template-columns: 1fr; gap: 42px; }
  .auth-aside { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .auth-card { padding: 38px 34px; }
  .dash-greeting { flex-direction: column; align-items: flex-start; gap: 22px; }
  .dash-grid, .santa-grid { grid-template-columns: 1fr; }
  .dash-aside, .santa-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-aside .aside-accent, .santa-aside .aside-accent { grid-column: span 2; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-title-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { justify-content: flex-start; gap: 20px 40px; }
  .footer-note { order: 3; flex-basis: 100%; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero-lead { font-size: 14.5px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-panel { padding: 26px 22px; }
  .section { padding: 70px 0; }
  .section-head h2 { font-size: clamp(34px, 9vw, 46px); }
  .section-head.row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 34px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line-soft); padding: 30px 6px 34px; }
  .step:first-child { border-top: 0; }
  .participants-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .participant-card { padding: 14px; gap: 11px; min-height: 78px; }
  .monogram { width: 40px; height: 40px; font-size: 15px; }
  .participant-info strong { font-size: 12.5px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { padding: 28px 24px; }
  .cta-band { padding: 64px 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .auth-section { padding-top: calc(var(--header) + 46px); }
  .auth-card { padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .dash-head, .santa-hero, .admin-head { padding-top: calc(var(--header) + 40px); }
  .dash-greeting h1 { font-size: clamp(36px, 10vw, 48px); }
  .dash-aside, .santa-aside { grid-template-columns: 1fr; }
  .dash-aside .aside-accent, .santa-aside .aside-accent { grid-column: auto; }
  .panel { padding: 26px 20px; }
  .panel-head { flex-direction: column; gap: 10px; }
  .panel-head h2 { font-size: 27px; }
  .wish-panel { padding: 28px 22px; }
  .wish-text { font-size: 21px; }
  .santa-footer-nav { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat-card { padding: 16px; }
  .stat-card strong { font-size: 28px; }
  .admin-password-warning { margin-top: 24px; }
.admin-anchor-nav { gap: 16px; }
  .temp-password { flex-direction: column; align-items: flex-start; }
  .temp-password-value { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.temp-password code { width: 100%; text-align: center; }
  .copy-field { flex-direction: column; }
  .copy-field .btn { width: 100%; }
  .inline-form { flex-direction: column; align-items: stretch; }
  .inline-form select { width: 100%; }
  .inline-form-x { display: none; }
  .exclusion-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
}

@media (max-width: 430px) {
  .participants-grid { grid-template-columns: 1fr; }
  .countdown-units { gap: 5px; }
  .countdown-units b { font-size: 23px; }
  .eyebrow { letter-spacing: 0.18em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .will-reveal { opacity: 1; transform: none; }
  .snowfall { display: none; }
}
