/* ============================================================
   Classical Chorale UG — design system
   Typeface: Arsenal (Google Fonts) · Palette: concert black,
   warm ivory, antique gold. Tokens first, components after.
   ============================================================ */

:root {
  /* -- colour tokens -- */
  --ink: #17130d;            /* near-black, warm */
  --ink-soft: #3a332a;
  --paper: #faf7f1;          /* warm ivory */
  --paper-raised: #ffffff;
  --gold: #b08d3e;           /* antique gold */
  --gold-bright: #d4af5e;
  --gold-soft: rgba(176, 141, 62, 0.12);
  --muted: #7c7466;
  --line: #e7e0d2;
  --success: #2e7d4f;
  --danger: #b3382c;

  /* -- typography -- */
  --font: "Arsenal", "Segoe UI", system-ui, sans-serif;
  --fs-hero: clamp(2.4rem, 6vw, 4.2rem);
  --fs-h2: clamp(1.7rem, 3.5vw, 2.4rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.04rem;
  --fs-small: 0.88rem;

  /* -- spacing scale -- */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2.5rem; --s-5: 4rem; --s-6: 6rem;

  /* -- radius / shadow / motion -- */
  --radius: 10px;
  --shadow-1: 0 2px 10px rgba(23, 19, 13, 0.07);
  --shadow-2: 0 12px 34px rgba(23, 19, 13, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 200ms; --t-med: 350ms; --t-slow: 650ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--ink); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; }

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---- section rhythm ---- */
.section { padding-block: var(--s-6); }
.section--tight { padding-block: var(--s-5); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .muted { color: #b9b1a2; }

.kicker {
  display: inline-block;
  font-size: var(--fs-small);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-1);
}
.kicker::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 42px; height: 1px; background: var(--gold); margin-left: 12px;
}
.section-title { font-size: var(--fs-h2); margin-bottom: var(--s-3); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- decorative page notation layer ---- */
main { position: relative; }
.page-notes { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.page-notes span {
  position: absolute; line-height: 1; color: var(--gold);
  opacity: 0.07; user-select: none;
}
/* keep real page content (and its section backgrounds) above the notation */
main > :not(.page-notes) { position: relative; z-index: 1; }
@media (max-width: 640px) { .page-notes span { font-size: 4rem !important; } }

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================ header ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 19, 13, 0.92);
  backdrop-filter: blur(10px);
  color: var(--paper);
  border-bottom: 1px solid rgba(212, 175, 94, 0.25);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--paper); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.04em; }
.brand:hover { color: var(--gold-bright); }
.brand .brand-note { color: var(--gold-bright); font-size: 1.5rem; }

.nav { display: flex; gap: var(--s-3); align-items: center; }
.nav a {
  color: var(--paper); font-size: 0.98rem; letter-spacing: 0.05em;
  padding: 6px 2px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--gold-bright); transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.nav a:hover { color: var(--gold-bright); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; background: none; border: 0; color: var(--paper); font-size: 1.7rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink); padding: var(--s-2) 6%;
    max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease);
  }
  .nav.open { max-height: 480px; border-bottom: 1px solid rgba(212,175,94,.25); }
  .nav a { padding: 12px 0; width: 100%; }
}

/* ============================ buttons ============================ */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--font); font-size: 1rem; letter-spacing: 0.08em;
  padding: 0.8rem 2rem; border-radius: 3px; border: 1.5px solid transparent;
  transition: all var(--t-fast) var(--ease);
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-bright); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-outline-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }
.btn-lg { padding: 1rem 2.6rem; font-size: 1.08rem; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ============================== hero ============================== */
.hero {
  position: relative; min-height: 86vh; display: grid; place-items: center;
  color: var(--paper); text-align: center; overflow: hidden; background: var(--ink);
}
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1200ms var(--ease); transform: scale(1.04);
}
.hero-slide.active { opacity: 1; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.0); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,13,.55), rgba(23,19,13,.75)); }
.hero-content { position: relative; z-index: 2; padding: var(--s-5) 5%; max-width: 880px; }
.hero-content h1 { font-size: var(--fs-hero); margin-bottom: var(--s-2); text-wrap: balance; }
.hero-content p { font-size: 1.2rem; color: #e8e2d5; margin-bottom: var(--s-3); }
.hero-actions { display: flex; gap: var(--s-2); justify-content: center; flex-wrap: wrap; }

/* ============================== cards ============================== */
.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card-body { padding: var(--s-3); }
.card-media { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* event card */
.event-date {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--ink); color: var(--gold-bright); border-radius: var(--radius);
  padding: 10px 16px; line-height: 1.15; min-width: 70px;
}
.event-date .day { font-size: 1.6rem; font-weight: 700; }
.event-date .mon { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; }
.event-meta { color: var(--muted); font-size: var(--fs-small); display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.badge { display: inline-block; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; }
.badge-gold { background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold); }
.badge-muted { background: #efeae0; color: var(--muted); }
.badge-danger { background: #f9e5e2; color: var(--danger); }

/* =========================== ticket tiers =========================== */
.tier {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: var(--s-3); text-align: center; background: var(--paper-raised);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.tier:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tier .tier-name { letter-spacing: 0.2em; text-transform: uppercase; font-size: var(--fs-small); color: var(--gold); }
.tier .tier-price { font-size: 1.9rem; font-weight: 700; margin: var(--s-1) 0; }
.tier .tier-desc { color: var(--muted); font-size: var(--fs-small); min-height: 2.4em; }
.qty-control { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: var(--s-2); }
.qty-control button {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold);
  background: none; color: var(--gold); font-size: 1.2rem; cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.qty-control button:hover { background: var(--gold); color: #fff; }
.qty-control input { width: 52px; text-align: center; font-family: var(--font); font-size: 1.1rem; border: 1px solid var(--line); border-radius: 6px; padding: 7px 0; }

.order-summary {
  position: sticky; top: 90px;
  background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: var(--s-3);
}
.order-summary .total { font-size: 1.7rem; color: var(--gold-bright); font-weight: 700; }

/* payment methods */
.pay-methods { display: grid; gap: 10px; margin-top: var(--s-2); }
.pay-method {
  position: relative; display: flex; gap: 14px; align-items: center;
  border: 1.5px solid var(--line); border-left-width: 5px;
  border-radius: var(--radius); padding: 14px 16px;
  cursor: pointer; background: var(--paper-raised);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.pay-method:hover { border-color: var(--gold); transform: translateX(3px); }
.pay-method input { accent-color: var(--gold); }
.pay-method .pm-logo {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px; font-size: 1.3rem; background: var(--gold-soft);
}
.pay-method .pm-text { flex: 1; min-width: 0; }
.pay-method .pm-name { font-weight: 700; display: block; }
.pay-method .pm-desc { font-size: var(--fs-small); color: var(--muted); }
.pay-method .pm-check {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line); color: transparent; font-weight: 700; flex-shrink: 0;
  transition: all var(--t-fast) var(--ease);
}
.pay-method:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.pay-method:has(input:checked) .pm-check { background: var(--gold); border-color: var(--gold); color: #fff; }
/* brand accents on the left edge + logo tile */
.pay-method[data-brand="mtn_momo"]   { border-left-color: #ffcc08; }
.pay-method[data-brand="mtn_momo"] .pm-logo   { background: #fff8dc; }
.pay-method[data-brand="airtel"]     { border-left-color: #e40000; }
.pay-method[data-brand="airtel"] .pm-logo     { background: #fdeaea; }
.pay-method[data-brand="pesapal"]    { border-left-color: #67b32e; }
.pay-method[data-brand="pesapal"] .pm-logo    { background: #ecf6e4; }
.pay-method[data-brand="flutterwave"]{ border-left-color: #1a1f71; }  /* shown as generic card option */
.pay-method[data-brand="flutterwave"] .pm-logo{ background: #e8eaf6; }
.pay-method[data-brand="paypal"]     { border-left-color: #009cde; }
.pay-method[data-brand="paypal"] .pm-logo     { background: #e5f5fc; }
.pay-method[data-brand="demo"]       { border-left-color: var(--gold); }
/* not yet integrated */
.pay-method.pm-soon { cursor: not-allowed; opacity: .62; }
.pay-method.pm-soon:hover { transform: none; border-color: var(--line); }
.pm-soon-chip {
  flex-shrink: 0; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px; background: #efeae0; color: var(--muted);
}

/* checkout layout */
.checkout-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s-4); align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } .order-summary { position: static; } }
.co-section { margin-bottom: var(--s-4); }
.co-heading { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; }
.co-heading span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 1rem; flex-shrink: 0;
}

/* progress steps */
.steps { display: flex; list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.steps .step { flex: 1; display: flex; align-items: center; gap: 10px; position: relative; }
.steps .step:not(:last-child)::after {
  content: ""; flex: 1; height: 2px; background: var(--line); margin-inline: 10px;
  transition: background var(--t-med) var(--ease);
}
.steps .st-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--line); color: var(--muted); font-weight: 700; flex-shrink: 0;
  transition: all var(--t-med) var(--ease);
}
.steps .st-label { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
.steps .step.done .st-num { background: var(--gold); border-color: var(--gold); color: #fff; }
.steps .step.done .st-label { color: var(--ink); font-weight: 700; }
.steps .step.done:not(:last-child)::after { background: var(--gold); }
@media (max-width: 640px) { .steps .st-label { display: none; } }

/* featured / selected tiers */
.tier { position: relative; }
.tier--featured { border-color: var(--gold); box-shadow: var(--shadow-1); }
.tier-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 99px; white-space: nowrap;
}
.tier--selected { border-color: var(--gold); background: var(--gold-soft); }

/* live summary lines */
.summary-lines { border-top: 1px solid rgba(212,175,94,.25); margin-top: var(--s-1); padding-top: var(--s-1); }
.summary-lines .sl-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; color: #ddd6c8; }
.summary-lines .sl-empty { color: #8d8574; font-size: var(--fs-small); padding: 8px 0; font-style: italic; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid rgba(212,175,94,.4); margin-top: var(--s-1); padding-top: var(--s-1);
}
.trust-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  margin-top: var(--s-2); font-size: .74rem; color: #b9b1a2; letter-spacing: .03em;
}

/* contact quick actions */
.contact-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--s-2); }
.cq-item {
  display: flex; gap: 14px; align-items: center;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-2) var(--s-3); color: var(--ink);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.cq-item:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-2); color: var(--ink); }
.cq-item .cq-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold-soft); border: 1.5px solid var(--gold); font-size: 1.25rem; flex-shrink: 0;
}
.cq-item small { color: var(--muted); }

/* ============================== forms ============================== */
.form-grid { display: grid; gap: var(--s-2); }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; font-family: var(--font); font-size: 1rem;
  padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper-raised); color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-row-2 { display: grid; gap: var(--s-2); grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }

/* messages */
.flash { padding: 14px 18px; border-radius: var(--radius); margin-bottom: var(--s-2); font-weight: 600; }
.flash-success { background: #e5f3ea; color: var(--success); border: 1px solid var(--success); }
.flash-error, .flash-danger { background: #f9e5e2; color: var(--danger); border: 1px solid var(--danger); }
.flash-info { background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold); }

/* ===================== early-bird & tier value styling ===================== */
.eb-banner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--gold-soft), rgba(212,175,94,.22));
  border: 1.5px dashed var(--gold); border-radius: var(--radius);
  padding: 12px 18px; margin-top: var(--s-2); font-size: .98rem;
}
.admits-badge {
  display: inline-block; margin: 4px 0 6px;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px;
  background: #efeae0; color: var(--ink-soft);
}
.usd-eq { font-size: .86rem; color: var(--muted); margin-top: -6px; letter-spacing: .03em; }
.tier--lux .usd-eq { color: #b9b1a2; }
.summary-usd { text-align: right; font-size: .88rem; color: #b9b1a2; min-height: 1.2em; margin-top: 2px; }
.eb-was { font-size: .88rem; color: var(--muted); margin-top: -4px; }
.eb-was s { opacity: .8; }
.eb-chip {
  display: inline-block; margin: 6px 0;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 99px;
  background: #e5f3ea; color: var(--success); border: 1px solid var(--success);
}
/* premium (VVIP) card — dark & gold */
.tier--lux { background: var(--ink); border-color: var(--gold); color: var(--paper); }
.tier--lux .tier-price { color: var(--gold-bright); }
.tier--lux .tier-desc, .tier--lux .tier-left, .tier--lux .eb-was { color: #b9b1a2; }
.tier--lux .admits-badge { background: rgba(212,175,94,.16); color: var(--gold-bright); }
.tier--lux .qty-control input { background: rgba(255,255,255,.08); color: var(--paper); border-color: rgba(212,175,94,.4); }
.tier--lux.tier--selected { background: #241d12; }
.tier-flag--lux { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }

/* ============ printable ticket — compact, one phone screen ============ */
.tix {
  width: min(400px, 100%);
  border-radius: 14px; overflow: hidden;
  background: #fdf9ef;
  box-shadow: 0 14px 40px rgba(23,19,13,.25);
  border: 1px solid var(--line);
}
.tix-head {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 9px 14px;
}
.tix-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tix-brand { font-size: .66rem; line-height: 1.25; color: var(--gold-bright); letter-spacing: .06em; flex: 1; }
.tix-brand b { font-size: .74rem; }
.tix-title { font-size: 1.2rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tix-body { padding: 12px 16px 14px; }
.tix-rule { border: 0; border-top: 1px solid #e3dccb; margin: 9px 0; }
.tix-row { display: flex; justify-content: space-between; gap: 12px; }
.tix-field label {
  display: block; font-size: .6rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1px;
}
.tix-field strong { font-size: .95rem; color: var(--ink); }
.tix-field .tix-lg { font-size: 1.08rem; line-height: 1.25; }
.tix-sub { font-size: .78rem; color: var(--ink-soft); margin-top: 2px; line-height: 1.45; }
.tix-right { text-align: right; }
.tix-statusline {
  font-size: .78rem; color: var(--ink-soft);
  border-top: 1px solid #e3dccb; margin-top: 9px; padding-top: 7px;
}
.tix-valid { color: var(--success) !important; letter-spacing: .05em; }
.tix-used { color: var(--danger) !important; letter-spacing: .03em; }
.tix-qr-wrap { display: flex; justify-content: center; margin-top: 10px; }
.tix-qr {
  background: #fff; padding: 8px 8px 4px; text-align: center;
  /* Uganda-flag frame: black / yellow / red */
  box-shadow: 0 0 0 2px #fcdc04, 0 0 0 4px #d90000, 0 0 0 6px #1a1a1a;
  border-radius: 3px; margin: 6px;
}
.tix-qr img { width: 148px; height: 148px; display: block; margin-inline: auto; }
.tix-qr-note { font-size: .68rem; font-weight: 700; color: var(--ink-soft); padding: 4px 0 1px; }
@media print {
  .tix { box-shadow: none; border: 1.5px solid #999; break-inside: avoid; }
}

/* ============================ ticket stub ============================ */
.ticket-stub {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-2);
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-1); position: relative;
}
.ticket-stub::before { content: ""; position: absolute; inset-block: 0; left: 0; width: 6px; background: var(--gold); }
.ticket-stub .stub-main { padding: var(--s-3) var(--s-3) var(--s-3) calc(var(--s-3) + 6px); }
.ticket-stub .stub-qr { display: grid; place-items: center; padding: var(--s-2); border-left: 1.5px dashed var(--line); }
.ticket-stub .stub-qr img { width: 140px; height: 140px; }
.ticket-number { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.08em; }
.stub-status-valid { color: var(--success); font-weight: 700; }
.stub-status-used { color: var(--danger); font-weight: 700; }

/* ============================ media pages ============================ */
.audio-row {
  display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-2) var(--s-3); transition: box-shadow var(--t-med) var(--ease);
}
.audio-row:hover { box-shadow: var(--shadow-1); }
.audio-row audio { flex: 1 1 320px; height: 40px; }

.video-frame { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-1); }

.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-tab {
  font-family: var(--font); font-size: .9rem; letter-spacing: .08em; cursor: pointer;
  padding: 9px 20px; border-radius: 99px; border: 1.5px solid var(--line);
  background: var(--paper-raised); color: var(--ink-soft);
  transition: all var(--t-fast) var(--ease);
}
.gallery-tab:hover { border-color: var(--gold); color: var(--gold); }
.gallery-tab.active { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 700; }

.gallery-grid { columns: 3 280px; column-gap: var(--s-2); }
.gallery-item {
  position: relative; margin: 0 0 var(--s-2); border-radius: var(--radius);
  overflow: hidden; break-inside: avoid; box-shadow: var(--shadow-1);
}
.gallery-item.hidden { display: none; }
.gallery-item img {
  width: 100%; display: block;
  transition: transform 600ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 32px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(23,19,13,.85));
  color: var(--paper); opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  display: flex; flex-direction: column; gap: 2px;
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-item .gc-cat { color: var(--gold-bright); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.gallery-item .gc-title { font-weight: 700; }

/* ===================== nav dropdown (Resources) ===================== */
.nav-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop .caret { font-size: .7rem; transition: transform var(--t-fast) var(--ease); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 220px; background: var(--ink);
  border: 1px solid rgba(212, 175, 94, 0.35); border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0,0,0,.5); padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
  z-index: 60;
}
.drop-menu::before { /* hover bridge */
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.drop-menu a {
  display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap;
}
.drop-menu a::after { display: none; }
.drop-menu a:hover { background: rgba(212,175,94,.12); }
.drop-sep {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px 4px;
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.drop-sep::before, .drop-sep::after { content: ""; flex: 1; height: 1px; background: rgba(212,175,94,.3); }
@media (min-width: 861px) {
  .nav-drop:hover .drop-menu, .nav-drop.open .drop-menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
  }
  .nav-drop:hover .caret { transform: rotate(180deg); }
}
@media (max-width: 860px) {
  .nav-drop { width: 100%; }
  .nav-drop-toggle { width: 100%; padding: 12px 0; }
  .drop-menu {
    position: static; transform: none; min-width: 0; box-shadow: none;
    border: 0; border-left: 2px solid rgba(212,175,94,.35); border-radius: 0;
    padding: 0 0 0 14px; margin: 0 0 6px; display: none; opacity: 1; visibility: visible;
  }
  .nav-drop.open .drop-menu { display: block; }
  .nav-drop.open .caret { transform: rotate(180deg); display: inline-block; }
}

/* ============================== footer ============================== */
.site-footer { background: var(--ink); color: #cfc7b8; padding: var(--s-5) 0 var(--s-3); position: relative; overflow: hidden; }
.footer-notes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.footer-notes span {
  position: absolute; color: var(--gold-bright); opacity: 0.06; line-height: 1;
  user-select: none;
}

/* newsletter band */
.newsletter-band {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-2) var(--s-4); align-items: center;
  background: rgba(212,175,94,.08); border: 1px solid rgba(212,175,94,.3);
  border-radius: var(--radius); padding: var(--s-3); margin-bottom: var(--s-4);
}
.newsletter-band h4 { color: var(--gold-bright); letter-spacing: .12em; text-transform: uppercase; font-size: var(--fs-small); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 240px; min-width: 0; font-family: var(--font); font-size: 1rem;
  padding: .8rem 1.1rem; border-radius: 99px; border: 1.5px solid rgba(212,175,94,.4);
  background: rgba(255,255,255,.06); color: var(--paper);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.newsletter-form input::placeholder { color: #9a917e; }
.newsletter-form input:focus { outline: none; border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(212,175,94,.2); }
.newsletter-form .btn { border-radius: 99px; white-space: nowrap; }
.newsletter-msg { grid-column: 1 / -1; font-size: var(--fs-small); min-height: 1.2em; }
.newsletter-msg.ok { color: #7fc79a; }
.newsletter-msg.err { color: #e08a80; }
@media (max-width: 720px) { .newsletter-band { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold-bright); letter-spacing: 0.15em; text-transform: uppercase; font-size: var(--fs-small); margin-bottom: var(--s-2); }
.site-footer a { color: #cfc7b8; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-bottom { border-top: 1px solid rgba(212,175,94,.2); margin-top: var(--s-4); padding-top: var(--s-2); font-size: var(--fs-small); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-1); }

/* ============================== scanner ============================== */
.scanner-shell { max-width: 560px; margin-inline: auto; }
#qr-reader { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); }
.scan-result { border-radius: var(--radius); padding: var(--s-3); text-align: center; margin-top: var(--s-2); font-size: 1.15rem; font-weight: 700; transition: background var(--t-fast) var(--ease); }
.scan-result.valid { background: #e5f3ea; color: var(--success); border: 2px solid var(--success); }
.scan-result.used, .scan-result.void, .scan-result.invalid { background: #f9e5e2; color: var(--danger); border: 2px solid var(--danger); }
.scan-detail { font-weight: 400; font-size: var(--fs-body); margin-top: 8px; }

/* ========================== core values ========================== */
.values-band { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.values-band::before {
  content: "♪"; position: absolute; right: -3rem; top: -6rem;
  font-size: 26rem; line-height: 1; color: rgba(212, 175, 94, 0.05); pointer-events: none;
}
.values-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.value-card {
  position: relative; overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 94, 0.22);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--s-3) var(--s-2) var(--s-2);
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.value-card:hover {
  transform: translateY(-8px);
  background: rgba(212, 175, 94, 0.08);
  border-top-color: var(--gold-bright);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.value-card .v-num {
  position: absolute; top: -14px; right: 6px;
  font-size: 4.6rem; font-weight: 700; font-style: italic;
  color: rgba(212, 175, 94, 0.13); line-height: 1; pointer-events: none;
  transition: color var(--t-med) var(--ease);
}
.value-card:hover .v-num { color: rgba(212, 175, 94, 0.28); }
.value-card .v-name {
  color: var(--gold-bright); letter-spacing: 0.22em; text-transform: uppercase;
  font-size: var(--fs-small); font-weight: 700;
}
.value-card .v-name::after {
  content: ""; display: block; width: 34px; height: 1.5px;
  background: var(--gold); margin-top: 10px; margin-bottom: 12px;
  transition: width var(--t-med) var(--ease);
}
.value-card:hover .v-name::after { width: 64px; }
.value-card p { color: #c9c1b1; font-size: 0.97rem; margin: 0; }
/* staggered entrance */
.values-grid .reveal:nth-child(2) { transition-delay: 90ms; }
.values-grid .reveal:nth-child(3) { transition-delay: 180ms; }
.values-grid .reveal:nth-child(4) { transition-delay: 270ms; }
.values-grid .reveal:nth-child(5) { transition-delay: 360ms; }

/* =========================== page hero =========================== */
.page-hero {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: 46vh; color: var(--paper); background: var(--ink);
  background-size: cover; background-position: center 30%; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,19,13,.5), rgba(23,19,13,.82));
}
.page-hero .ph-content { position: relative; z-index: 2; padding: var(--s-5) 6%; max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-top: var(--s-1); text-wrap: balance; }
.page-hero p { color: #ddd6c8; font-size: 1.12rem; margin-top: var(--s-1); }

/* two-column split that stacks on mobile */
.split { display: grid; gap: var(--s-5); align-items: center; grid-template-columns: 1.15fr 0.85fr; }
.split--rev { grid-template-columns: 0.85fr 1.15fr; }
@media (max-width: 820px) {
  .split, .split--rev { grid-template-columns: 1fr; gap: var(--s-3); }
  .photo-frame img { max-height: 340px !important; width: 100%; }
}

/* gold offset photo frame */
.photo-frame { position: relative; display: inline-block; }
.photo-frame img { border-radius: var(--radius); box-shadow: var(--shadow-2); position: relative; z-index: 1; }
.photo-frame::before {
  content: ""; position: absolute; inset: 0;
  transform: translate(14px, 14px);
  border: 1.5px solid var(--gold); border-radius: var(--radius);
  transition: transform var(--t-med) var(--ease);
}
.photo-frame:hover::before { transform: translate(8px, 8px); }

/* mission / vision panels */
.mv-panel {
  position: relative; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 94, 0.25); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: var(--s-3);
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.mv-panel:hover { transform: translateY(-5px); background: rgba(212, 175, 94, 0.07); }
.mv-panel .mv-label {
  color: var(--gold-bright); letter-spacing: 0.26em; text-transform: uppercase;
  font-size: var(--fs-small); font-weight: 700; margin-bottom: var(--s-1);
}
.mv-panel .mv-mark {
  position: absolute; top: 4px; right: 16px; font-size: 4rem; line-height: 1;
  color: rgba(212, 175, 94, 0.16); font-style: italic; pointer-events: none;
}
.mv-panel p { color: #d8d1c2; margin: 0; font-size: 1.05rem; }

/* CTA banner with photo background */
.cta-banner {
  position: relative; display: grid; place-items: center; text-align: center;
  padding: var(--s-6) 6%; color: var(--paper);
  background-size: cover; background-position: center 25%;
}
.cta-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,13,.72), rgba(23,19,13,.85)); }
.cta-banner > * { position: relative; z-index: 2; }

/* repertoire cards */
.rep-card { text-align: center; }
.rep-card .rep-glyph {
  font-size: 2.2rem; color: var(--gold); display: inline-grid; place-items: center;
  width: 72px; height: 72px; border: 1.5px solid var(--gold); border-radius: 50%;
  margin-bottom: var(--s-2); transition: all var(--t-med) var(--ease);
}
.rep-card:hover .rep-glyph { background: var(--gold); color: #fff; transform: rotate(-8deg) scale(1.06); }

/* ========================= event cards v2 ========================= */
.event-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.event-card .ec-media {
  position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink);
}
.event-card .ec-media img, .event-card .ec-media .ec-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  background-size: cover; background-position: center 30%;
  transition: transform 700ms var(--ease);
}
.event-card:hover .ec-media img, .event-card:hover .ec-media .ec-fallback { transform: scale(1.06); }
.event-card .ec-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(23,19,13,.78));
}
.event-card .ec-date {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  background: rgba(23,19,13,.88); backdrop-filter: blur(4px);
  border: 1px solid var(--gold); border-radius: var(--radius);
  color: var(--gold-bright); padding: 8px 14px; line-height: 1.1;
}
.event-card .ec-date .day { font-size: 1.5rem; font-weight: 700; }
.event-card .ec-date .mon { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.event-card .ec-badge { position: absolute; top: 14px; right: 14px; z-index: 2; }
.event-card .ec-title {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px; color: var(--paper);
}
.event-card .ec-title h3 { font-size: 1.25rem; text-wrap: balance; }
.event-card .ec-title h3 a { color: var(--paper); }
.event-card .ec-title h3 a:hover { color: var(--gold-bright); }
.event-card .ec-body { padding: var(--s-2) var(--s-3) var(--s-3); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.event-card .ec-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: var(--fs-small); }
.event-card .ec-tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.tier-chip {
  font-size: .78rem; letter-spacing: .06em; padding: 4px 12px; border-radius: 99px;
  border: 1px solid var(--gold); color: var(--gold); background: var(--gold-soft);
}
.tier-chip.sold { border-color: var(--line); color: var(--muted); background: #efeae0; text-decoration: line-through; }
.event-card .ec-actions { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.price-from { font-size: var(--fs-small); color: var(--muted); }
.price-from strong { color: var(--ink); font-size: 1.05rem; }

/* ====================== audio free/paid cards ====================== */
.track-card {
  display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap;
  background: var(--paper-raised); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: var(--s-2) var(--s-3);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.track-card:hover { transform: translateX(4px); box-shadow: var(--shadow-1); }
.track-card .tc-art {
  width: 58px; height: 58px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.5rem; color: var(--gold);
  background: var(--gold-soft); border: 1px solid var(--gold);
  overflow: hidden;
}
.track-card .tc-art img { width: 100%; height: 100%; object-fit: cover; }
.track-card .tc-info { flex: 1 1 180px; min-width: 0; }
.track-card .tc-info strong { display: block; }
.track-card audio { flex: 2 1 300px; height: 40px; }
.track-actions { display: flex; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-family: var(--font); font-size: .85rem; letter-spacing: .04em;
  padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--gold);
  color: var(--gold); background: transparent; text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

.locked-card {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  border: 1px solid rgba(212,175,94,.3); border-radius: var(--radius);
  padding: var(--s-3);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.locked-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.locked-card::before {
  content: "♬"; position: absolute; right: -14px; bottom: -34px;
  font-size: 8rem; color: rgba(212,175,94,.07); pointer-events: none;
}
.locked-card .lk-lock {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-bright);
  font-size: 1.2rem; margin-bottom: var(--s-1);
}
.locked-card .lk-title { font-size: 1.15rem; font-weight: 700; }
.locked-card .lk-sub { color: #b9b1a2; font-size: var(--fs-small); margin-top: 2px; }
.locked-card .lk-price {
  display: inline-block; margin-top: var(--s-2);
  font-size: 1.15rem; font-weight: 700; color: var(--gold-bright);
}
.locked-card .lk-actions { margin-top: var(--s-2); }
.section-divider {
  display: flex; align-items: center; gap: var(--s-2); margin: var(--s-5) 0 var(--s-3);
}
.section-divider::before, .section-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-divider span { color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: var(--fs-small); }

/* ========================= video cards v2 ========================= */
.video-card {
  background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.video-card .vc-thumb {
  position: relative; aspect-ratio: 16/9; background: var(--ink); cursor: pointer; overflow: hidden;
}
.video-card .vc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.video-card .vc-thumb:hover img { transform: scale(1.05); }
.video-card .vc-play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.video-card .vc-play span {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(23,19,13,.75); border: 2px solid var(--gold-bright);
  color: var(--gold-bright); font-size: 1.4rem; padding-left: 4px;
  transition: all var(--t-fast) var(--ease);
}
.video-card .vc-thumb:hover .vc-play span { background: var(--gold); color: #fff; transform: scale(1.1); }
.video-card .vc-body { padding: var(--s-2) var(--s-3); }
.video-card .vc-body h3 { font-size: 1.02rem; }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.yt-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #c4302b; color: #fff; padding: .75rem 1.6rem; border-radius: 3px;
  letter-spacing: .05em; transition: all var(--t-fast) var(--ease);
}
.yt-cta:hover { background: #a02622; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }

/* ======================= audition form page ======================= */
.audition-shell { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); }
.audition-side {
  position: relative; background: var(--ink) url() center/cover; min-height: 420px;
  background-position: center 20%; background-size: cover;
}
.audition-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,13,.35), rgba(23,19,13,.88)); }
.audition-side .as-content { position: absolute; z-index: 2; bottom: 0; padding: var(--s-3); color: var(--paper); }
.audition-side .as-content h3 { color: var(--gold-bright); }
.audition-form { background: var(--paper-raised); padding: var(--s-4); }
@media (max-width: 860px) { .audition-shell { grid-template-columns: 1fr; } .audition-side { min-height: 260px; } }

.voice-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.voice-picker > span { position: relative; display: block; }
.voice-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.voice-picker label {
  text-align: center; padding: 10px 6px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: .9rem; letter-spacing: .06em;
  transition: all var(--t-fast) var(--ease);
}
.voice-picker label:hover { border-color: var(--gold); }
.voice-picker input:checked + label { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 700; }

.upload-tile { position: relative; }
.upload-tile input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-tile .ut-box {
  display: flex; gap: 14px; align-items: center;
  border: 1.5px dashed var(--gold); border-radius: var(--radius);
  background: var(--gold-soft); padding: 16px;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.upload-tile:hover .ut-box { background: rgba(176,141,62,.2); }
.upload-tile.has-file .ut-box { border-style: solid; background: #e5f3ea; border-color: var(--success); }
.upload-tile .ut-icon { font-size: 1.7rem; }
.upload-tile .ut-label strong { display: block; }
.upload-tile .ut-label small { color: var(--muted); }
.upload-tile .ut-filename { color: var(--success); font-weight: 700; font-size: var(--fs-small); }

/* ======================= floating action buttons ======================= */
.float-btn {
  position: fixed; bottom: 26px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font); font-size: 1rem; font-weight: 700; letter-spacing: .03em;
  padding: 14px 18px; border-radius: 99px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.float-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.float-chat { left: 22px; background: var(--ink); color: var(--gold-bright); border: 1.5px solid var(--gold); }
.float-chat:hover { color: var(--gold-bright); }
.float-wa { right: 22px; background: #25d366; color: #fff; }
.float-wa:hover { color: #fff; background: #1fb457; }
.float-btn .fb-label { font-size: .92rem; }
@media (max-width: 640px) {
  .float-btn .fb-label { display: none; }
  .float-btn { padding: 14px; }
}

/* ============================ chat panel ============================ */
.chat-panel {
  position: fixed; left: 22px; bottom: 92px; z-index: 95;
  width: min(360px, calc(100vw - 44px));
  background: var(--paper-raised); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4); border: 1px solid var(--line);
  animation: chatIn 240ms var(--ease);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(14px); } }
.cp-head {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper); padding: 14px 16px;
}
.cp-avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 1.2rem; flex-shrink: 0;
}
.cp-status { font-size: .74rem; color: #7fc79a; }
.cp-close {
  margin-left: auto; background: none; border: 0; color: #b9b1a2;
  font-size: 1rem; cursor: pointer; padding: 6px;
}
.cp-close:hover { color: #fff; }
.cp-body { padding: var(--s-2); display: grid; gap: 12px; max-height: 60vh; overflow-y: auto; }
.cp-bubble {
  background: #f3eee3; border-radius: 12px 12px 12px 4px;
  padding: 12px 14px; font-size: .95rem;
}
.cp-bubble--me { background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 12px; }
.cp-form { display: grid; gap: 10px; }
.cp-form input, .cp-form textarea {
  font-family: var(--font); font-size: .95rem;
  padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
}
.cp-form input:focus, .cp-form textarea:focus { outline: none; border-color: var(--gold); }

/* =========================== consent banner =========================== */
.consent-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: var(--s-3); flex-wrap: wrap;
  background: rgba(23,19,13,.97); color: #ddd6c8;
  padding: 16px 6%; border-top: 1px solid rgba(212,175,94,.4);
  box-shadow: 0 -12px 30px rgba(0,0,0,.3);
}
.consent-banner p { margin: 0; font-size: .93rem; max-width: 720px; }
.consent-banner a { color: var(--gold-bright); text-decoration: underline; }
.consent-banner .btn { white-space: nowrap; }
.consent-banner[hidden] { display: none; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ========================= sponsor page ========================= */
.support-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s-2); }
.support-card { position: relative; }
.support-card input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.support-card .sc-box {
  height: 100%; display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper-raised);
  padding: var(--s-3) var(--s-2);
  transition: all var(--t-fast) var(--ease);
}
.support-card:hover .sc-box { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-1); }
.support-card input:checked + .sc-box {
  border-color: var(--gold); background: var(--gold-soft); box-shadow: var(--shadow-2);
}
.support-card .sc-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold-soft); border: 1.5px solid var(--gold); font-size: 1.4rem;
}
.support-card input:checked + .sc-box .sc-icon { background: var(--gold); color: #fff; }
.support-card .sc-name { font-weight: 700; }
.support-card .sc-desc { font-size: var(--fs-small); color: var(--muted); }

.tier-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tier-chip-btn {
  font-family: var(--font); font-size: .9rem; cursor: pointer;
  padding: 10px 18px; border-radius: 99px; border: 1.5px solid var(--gold);
  background: transparent; color: var(--gold); letter-spacing: .04em;
  transition: all var(--t-fast) var(--ease);
}
.tier-chip-btn:hover, .tier-chip-btn.active { background: var(--gold); color: #fff; }

.impact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-2); }
.impact-card {
  text-align: center; padding: var(--s-3) var(--s-2);
  background: rgba(255,255,255,.03); border: 1px solid rgba(212,175,94,.25);
  border-radius: var(--radius);
}
.impact-card .ic-icon { font-size: 2rem; margin-bottom: 8px; }
.impact-card h3 { color: var(--gold-bright); font-size: 1.05rem; }
.impact-card p { color: #b9b1a2; font-size: var(--fs-small); margin-top: 6px; }

/* ========================= privacy page ========================= */
.policy-body { max-width: 780px; }
.policy-body h3 { color: var(--gold); margin: var(--s-4) 0 var(--s-1); font-size: 1.2rem; }
.policy-body ul { margin: var(--s-1) 0 0 1.2rem; display: grid; gap: 6px; }
.policy-toc {
  background: var(--paper-raised); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: var(--s-2) var(--s-3); margin: var(--s-3) 0;
}
.policy-toc a { display: inline-block; margin: 3px 12px 3px 0; font-size: var(--fs-small); }

/* ========================= members' area ========================= */
.gate-card {
  width: min(430px, 92vw); text-align: center;
  background: var(--paper-raised); border: 1px solid var(--line);
  border-top: 4px solid var(--gold); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: var(--s-4) var(--s-3);
}
.gate-card .gate-lock {
  display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto var(--s-2);
  border-radius: 50%; background: var(--gold-soft); border: 1.5px solid var(--gold);
  font-size: 1.9rem;
}

.member-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap;
  background: var(--ink); color: #cfc7b8; border-radius: var(--radius);
  padding: 10px 16px;
}
.member-bar .mb-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.member-bar .mb-tabs a {
  color: #cfc7b8; padding: 8px 14px; border-radius: 8px; font-size: .92rem;
  transition: all var(--t-fast) var(--ease);
}
.member-bar .mb-tabs a:hover { color: var(--gold-bright); background: rgba(212,175,94,.1); }
.member-bar .mb-tabs a.active { background: var(--gold); color: #fff; font-weight: 700; }
.member-bar .mb-user { font-size: var(--fs-small); }
.member-bar .mb-user strong { color: var(--gold-bright); }
.member-bar .mb-user a { color: var(--gold-bright); text-decoration: underline; }

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s-2); }
.member-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.member-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-1); }
.member-card .mc-photo {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 700;
  background: var(--gold-soft); color: var(--gold); border: 1.5px solid var(--gold);
}
.member-card .mc-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-card .mc-info { min-width: 0; }
.member-card .mc-line { font-size: var(--fs-small); color: var(--muted); }
.member-card .mc-voice {
  display: inline-block; margin-top: 4px; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold);
  border-radius: 99px; padding: 2px 10px;
}

.sheet-row {
  display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap;
  background: var(--paper-raised); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: var(--s-2) var(--s-3);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.sheet-row:hover { transform: translateX(4px); box-shadow: var(--shadow-1); }
.sheet-row .sheet-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px;
  background: var(--gold-soft); border: 1px solid var(--gold); font-size: 1.4rem; flex-shrink: 0;
}
.sheet-row .sheet-info { flex: 1 1 220px; min-width: 0; }

.rehearsal-row {
  display: flex; gap: var(--s-2); align-items: flex-start;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-2) var(--s-3);
}
.rehearsal-next { border-color: var(--gold); box-shadow: var(--shadow-1); }
.rehearsal-notes {
  margin-top: 8px; font-size: var(--fs-small); color: var(--ink-soft);
  background: var(--gold-soft); border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 8px 12px;
}

/* ============================== misc ============================== */
.leader-photo { aspect-ratio: 1; object-fit: cover; border-radius: 50%; width: 150px; margin-inline: auto; }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-3); text-align: center; }
.stat-strip .stat-num { font-size: 2.2rem; font-weight: 700; color: var(--gold-bright); }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
}
