@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Caveat:wght@400;500&family=Dancing+Script:wght@400;500&family=Italiana&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Pacifico&family=Playfair+Display:ital,wght@0,400;1,400&family=Prata&family=Space+Mono:ital,wght@0,400;1,400&display=swap');

/* ── TOKENS ────────────────────────────────────────────────────────────────── */
:root {
  --bg: #f2f7fa;
  --bg-2: #ffffff;
  --bg-3: #e8f0f6;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(217,125,84,0.3);

  --gold: #d97d54;
  --gold-dim: #ba6440;
  --gold-glow: rgba(217,125,84,0.15);
  --cream: #1e2532;
  --muted: #798699;
  --muted-2: #4a5668;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NOISE TEXTURE OVERLAY ─────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.03;
}

/* ── TYPOGRAPHY ────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 500; }
p { color: var(--muted-2); }
a { color: var(--gold); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }

/* ── NAV ───────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(242,247,250,0.95) 0%, transparent 100%);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  fill: currentColor;
  vertical-align: -0.125em;
}
.nav-logo .kite-icon { width: 20px; height: 20px; color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--muted-2);
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--gold) !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 13px !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-glow) !important;
  color: var(--gold) !important;
  opacity: 1 !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  font-size: 22px;
  padding: 4px;
}
.nav-hamburger .icon { display: block; }

/* ── STARS BACKGROUND ──────────────────────────────────────────────────────── */
.stars-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-floating-el {
  position: absolute;
  animation: floatUp var(--duration, 20s) linear infinite;
  animation-delay: var(--delay, 0s);
  opacity: var(--max-opacity, 0.4);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}
@keyframes floatUp {
  0% { transform: translateY(110vh) translateX(0) rotate(-10deg); }
  100% { transform: translateY(-20vh) translateX(100px) rotate(10deg); }
}

/* ── AMBIENT GLOW ──────────────────────────────────────────────────────────── */
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.ambient-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,200,100,0.06) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.ambient-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(100,180,255,0.06) 0%, transparent 70%);
  bottom: -100px; left: -150px;
}

/* ── PAGE WRAPPER ──────────────────────────────────────────────────────────── */
.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ── CONTAINER ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── CARD ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.card:hover { border-color: rgba(217,125,84,0.2); box-shadow: 0 8px 30px rgba(0,0,0,0.04); }

/* ── FORM ELEMENTS ─────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-label .required { color: var(--gold); margin-left: 3px; }

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── QUESTION CARD ─────────────────────────────────────────────────────────── */
.question-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
}
.question-number {
  font-size: 11px;
  color: var(--gold-dim);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #c4643b 100%);
  color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(217,125,84,0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--gold);
}
.btn-outline:hover:not(:disabled) {
  background: var(--gold-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover:not(:disabled) { border-color: var(--border-hover); color: var(--cream); }

.btn-danger {
  background: transparent;
  color: #d97777;
  border: 1px solid rgba(217,119,119,0.3);
}
.btn-danger:hover:not(:disabled) { border-color: rgba(217,119,119,0.6); background: rgba(217,119,119,0.08); }

.btn-lg { padding: 16px 36px; font-size: 14px; }
.btn-full { width: 100%; }

/* ── SECTION HEADER ────────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid rgba(217,125,84,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { font-size: 15px; color: var(--muted-2); margin-top: 12px; max-width: 500px; }

/* ── DIVIDER ───────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.08), transparent);
  margin: 48px 0;
}

/* ── TOGGLE ────────────────────────────────────────────────────────────────── */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 0;
}
.toggle-input { display: none; }
.toggle-track {
  width: 44px; height: 24px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  transition: background var(--transition);
}
.toggle-input:checked + .toggle-label .toggle-track { background: var(--gold-dim); }
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: var(--muted);
  border-radius: 50%;
  transition: all var(--transition);
}
.toggle-input:checked + .toggle-label .toggle-thumb {
  left: 23px;
  background: var(--bg);
}
.toggle-text { font-size: 13px; color: var(--muted-2); }

/* ── ALERT ─────────────────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
}
.alert.show { display: block; }
.alert-error { background: rgba(180,60,60,0.1); border: 1px solid rgba(180,60,60,0.2); color: #e87070; }
.alert-success { background: rgba(70,160,90,0.1); border: 1px solid rgba(70,160,90,0.2); color: #70c880; }

/* ── KITE FLYING ANIMATION ─────────────────────────────────────────────────── */
.kite-float {
  animation: kiteFloat 4s ease-in-out infinite;
  display: inline-block;
}
@keyframes kiteFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

/* ── STATUS BADGE ──────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-flying {
  background: rgba(217,125,84,0.08);
  border: 1px solid rgba(217,125,84,0.25);
  color: var(--gold);
}
.badge-caught {
  background: rgba(70,160,90,0.08);
  border: 1px solid rgba(70,160,90,0.25);
  color: #3b9c52;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 260px; }
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand .logo span { color: var(--gold); }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; }

.footer-col h5 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--muted-2); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-heart { color: var(--gold); }

/* ── PAGE HERO (inner pages) ───────────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
}
.page-hero .section-title { font-size: clamp(32px, 5vw, 52px); }

/* ── LOADING SPINNER ───────────────────────────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(7,7,13,0.3);
  border-top-color: #07070d;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── SCROLLBAR ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ── FADE IN ANIMATION ─────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.25s; }
.fade-in-3 { animation-delay: 0.4s; }
.fade-in-4 { animation-delay: 0.55s; }

/* ── PROSE (for legal pages) ───────────────────────────────────────────────── */
.prose h2 { font-family: var(--font-display); font-size: 24px; color: var(--cream); margin: 40px 0 16px; font-weight: 400; }
.prose h3 { font-size: 16px; color: var(--cream); margin: 28px 0 10px; }
.prose p { color: var(--muted-2); margin-bottom: 16px; line-height: 1.8; font-size: 14px; }
.prose ul { color: var(--muted-2); margin-bottom: 16px; padding-left: 20px; font-size: 14px; }
.prose ul li { margin-bottom: 8px; line-height: 1.7; }
.prose strong { color: var(--cream); font-weight: 600; }

/* Hide nav-close on desktop by default */
.nav-close { display: none !important; }

.nav-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50vh; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; max-width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 200;
    animation: popIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  @keyframes popIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
  }
  .nav-links.open a { font-size: 18px !important; }
  .nav-hamburger { display: block; z-index: 201; }
  .nav-close { display: none; }
  .nav-links.open ~ .nav-actions { display: none; }
  .nav-links.open .nav-close { display: block !important; position: absolute; top: 16px; right: 20px; font-size: 24px; color: var(--muted-2); background: none; border: none; cursor: pointer; z-index: 202; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }

  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .card { padding: 20px; }
  .container { padding: 0 24px; }
  .container-sm { padding: 0 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 24px; }
}

/* Premium theme overrides */
:root {
  --bg: #f6f3e4;
  --bg-2: #fffdf7;
  --bg-3: #eee8d7;
  --bg-card: rgba(255, 253, 247, 0.72);
  --border: rgba(48, 5, 14, 0.16);
  --border-hover: rgba(77, 12, 18, 0.42);
  --gold: #30050e;
  --gold-dim: #4d0c12;
  --gold-glow: rgba(77, 12, 18, 0.14);
  --cream: #1e100f;
  --muted: #7d6f67;
  --muted-2: #4b3934;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --glass-shadow: 0 18px 45px rgba(48, 5, 14, 0.12), 0 2px 8px rgba(48, 5, 14, 0.08);
}

:root[data-theme='dark'] {
  --bg: #1e100f;
  --bg-2: #2a1515;
  --bg-3: #30050e;
  --bg-card: rgba(77, 12, 18, 0.62);
  --border: rgba(246, 243, 228, 0.18);
  --border-hover: rgba(215, 165, 138, 0.64);
  --gold: #f6f3e4;
  --gold-dim: #d7a58a;
  --gold-glow: rgba(215, 165, 138, 0.16);
  --cream: #f6f3e4;
  --muted: #cdbeb2;
  --muted-2: #e3d6cc;
  --glass-shadow: 0 20px 52px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 0, 0, 0.22);
}

body {
  background: var(--bg);
  color: var(--cream);
  letter-spacing: -0.01em;
  transition: background-color 180ms ease, color 180ms ease;
}
body::before, .stars-bg, .ambient, .hero-bg-glow { display: none !important; }
body * { animation: none !important; }
.fade-in, .kite-float, .bg-floating-el, .lost-kite, .big-kite, .success-kite, .ticket-kite, .message-reveal-icon, .cta-kite { opacity: 1; transform: none; }

.nav {
  --nav-top-gap: 16px;
  --nav-side-gap: 24px;
  top: var(--nav-top-gap);
  left: 50%;
  right: auto;
  width: min(calc(100% - 48px), 1100px);
  transform: translateX(-50%);
  border-radius: 24px;
  justify-content: flex-start;
  background: color-mix(in srgb, var(--bg-card) 62%, transparent);
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(48, 5, 14, 0.16), 0 2px 8px rgba(48, 5, 14, 0.08);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
}
:root[data-theme='dark'] .nav { background: color-mix(in srgb, var(--bg-card) 68%, transparent); }
html { background: var(--bg); }
.nav-safe-mask {
  position: fixed;
  z-index: 99;
  inset: 0 0 auto;
  height: 16px;
  background: var(--bg);
  pointer-events: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  order: 3;
}
.nav-logo, .nav-links a { color: var(--cream); }
.nav-links { margin-left: auto; }
.nav-links a:hover { color: var(--gold-dim); }
.theme-toggle {
  width: 82px;
  height: 36px;
  display: block;
  position: relative;
  margin: 0;
  color: var(--cream);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 5px 14px rgba(48, 5, 14, 0.1);
  cursor: pointer;
}
.theme-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-dim);
  box-shadow: 0 2px 6px rgba(48, 5, 14, 0.24);
  transition: transform 180ms ease;
}
:root[data-theme='dark'] .theme-toggle::before { transform: translateX(48px); }
.theme-toggle:focus-visible { outline: 3px solid var(--gold-dim); outline-offset: 3px; }
.theme-toggle .icon { position: absolute; top: 10px; width: 15px; height: 15px; z-index: 1; }
.theme-icon-sun { left: 9px; color: #f6f3e4; }
.theme-icon-moon { display: block; right: 9px; color: var(--cream); }
:root[data-theme='dark'] .theme-icon-sun { color: var(--cream); }
:root[data-theme='dark'] .theme-icon-moon { color: #1e100f; }

/* One compact, glass dropdown menu for every viewport. */
.nav-hamburger {
  min-width: 82px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  color: var(--cream);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(48, 5, 14, 0.1);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-hamburger .menu-chevron { width: 14px; height: 14px; transition: transform 180ms ease; }
.nav-hamburger[aria-expanded='true'] .menu-chevron { transform: rotate(180deg); }
.nav-hamburger:focus-visible { outline: 3px solid var(--gold-dim); outline-offset: 3px; }
.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 32px;
  width: min(260px, calc(100vw - 32px));
  margin: 0;
  padding: 10px;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  z-index: 210;
}
.nav-links.open { display: flex; }
.nav-links li, .nav-links a { width: 100%; }
.nav-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--cream);
}
.nav-links a:hover { background: var(--gold-glow); opacity: 1; }
.nav-links .nav-close, .nav-backdrop { display: none !important; }
.nav-links.open ~ .nav-actions { display: flex; }

@media (max-width: 768px) {
  .nav-safe-mask { height: calc(9px + env(safe-area-inset-top)); }
  .nav {
    --nav-top-gap: calc(7px + env(safe-area-inset-top));
    --nav-side-gap: 10px;
    left: var(--nav-side-gap);
    right: var(--nav-side-gap);
    width: auto;
    transform: none;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 20px;
  }
  .nav-logo { gap: 6px; font-size: 20px; }
  .nav-logo .kite-icon { width: 18px; height: 18px; }
  .nav-actions { gap: 6px; }
  .theme-toggle { width: 64px; height: 34px; }
  .theme-toggle::before { width: 26px; height: 26px; }
  :root[data-theme='dark'] .theme-toggle::before { transform: translateX(30px); }
  .theme-toggle .icon { top: 9px; width: 14px; height: 14px; }
  .theme-icon-sun { left: 8px; }
  .theme-icon-moon { right: 8px; }
  .nav-hamburger { min-width: 70px; height: 34px; padding: 0 9px; font-size: 11px; }
  .nav-links.open {
    position: absolute;
    top: calc(100% + 10px);
    left: auto;
    right: 16px;
    width: min(280px, calc(100vw - 32px));
    padding: 10px;
    transform: none;
    justify-content: flex-start;
    gap: 2px;
  }
  .nav-links.open a { font-size: 13px !important; }
}

@media (max-width: 360px) {
  .nav { --nav-side-gap: 6px; padding-inline: 12px; }
  .nav-logo { font-size: 18px; }
  .theme-toggle { width: 58px; }
  :root[data-theme='dark'] .theme-toggle::before { transform: translateX(24px); }
  .nav-hamburger { min-width: 64px; }
  .container, .container-sm { padding-inline: 20px; }
}

.card, .nav-links.open, .report-card, .kite-result, .ticket-card, .safety-card, .how-card, .feature-card, .sky-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(125%);
}
.card:hover, .report-card:hover, .kite-result:hover, .how-card:hover, .feature-card:hover, .step:hover, .sky-kite:hover { transform: none !important; }
.form-input, .form-textarea, .form-select, .message-body, .message-box { background: var(--bg-2) !important; color: var(--cream) !important; border-color: var(--border) !important; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 3px var(--gold-glow); }
.btn, .nav-cta, .social-link {
  background: color-mix(in srgb, var(--bg-card) 72%, var(--gold-dim) 28%) !important;
  color: var(--cream) !important;
  border: 1px solid var(--border-hover) !important;
  box-shadow: 0 10px 24px rgba(48, 5, 14, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}
.btn-primary, .btn-outline, .btn-ghost { background: color-mix(in srgb, var(--bg-card) 68%, var(--gold-dim) 32%) !important; }
.btn-danger { background: color-mix(in srgb, var(--bg-card) 68%, #8a2730 32%) !important; }
.btn:hover:not(:disabled), .nav-cta:hover, .social-link:hover {
  background: color-mix(in srgb, var(--bg-card) 52%, var(--gold-dim) 48%) !important;
  color: var(--cream) !important;
  transform: none !important;
  box-shadow: 0 12px 28px rgba(48, 5, 14, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
}
.btn:focus-visible, .nav-cta:focus-visible, .social-link:focus-visible {
  outline: 3px solid var(--gold-dim);
  outline-offset: 3px;
}
.footer { position: relative; border-top: 0; }
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), 1100px);
  height: 1px;
  background: var(--border);
  transform: translateX(-50%);
}
.footer-brand .logo, .footer-col ul li a, .prose strong { color: var(--cream); }
.footer-bottom { border-color: var(--border); }

/* Neutralize route-level decorative gradients and legacy shadows. */
[class*='hero']::before, [class*='hero']::after { box-shadow: none !important; }
.hero, .hero-actions, .cta-section, .how-section, .features-section, .ticket-top { background: transparent !important; }
* { scrollbar-color: var(--gold-dim) var(--bg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
