/* =========================================================================
   THE HANGOUT CLUB — by Circulr Entertainment
   Dark theme: navy (#070129) is now the page's own background colour, with
   ivory (#fff7e8) carrying all foreground text/content and orange (#ec5100)
   staying the one accent that pops on top of both. Frosted glass panels use
   low-opacity ivory/white tints + blur, tuned to read clearly against the
   dark navy backdrop, matching the site's reference design.
   ========================================================================= */

:root {
  --navy: #070129;
  --navy-soft: #0d0538;   /* a hair lighter — for subtle layering on top of navy */

  --ivory: #fff7e8;
  --ivory-warm: #f5ead2;
  --white: #ffffff;

  /* Foreground (ivory) at reduced opacity — the muted-text ladder. Kept under
     the old --navy-* names so every existing rule that reaches for "the
     muted foreground tone" still gets the right colour for a dark page,
     with no per-rule renaming needed. */
  --navy-80: rgba(255, 247, 232, 0.85);
  --navy-60: rgba(255, 247, 232, 0.66);
  --navy-40: rgba(255, 247, 232, 0.48);
  --navy-faint: rgba(255, 247, 232, 0.32);
  --navy-16: rgba(255, 247, 232, 0.16);
  --navy-08: rgba(255, 247, 232, 0.08);

  --orange: #ec5100;
  --orange-lift: #ff6a1f;
  --orange-ink: #ff8a4d;      /* orange as small text on dark navy (bright enough for AA) */
  --orange-wash: rgba(236, 81, 0, 0.16);

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --container: 1080px;

  /* ---- glass design system --------------------------------------- */
  /* Everything sits on the dark navy page now, so this is one unified,
     dark-tuned set — low-opacity ivory/white + blur + a soft top highlight,
     the classic frosted-glass-over-a-dark-surface technique. */
  --glass-bg: rgba(255, 247, 232, 0.09);          /* primary surfaces */
  --glass-bg-strong: rgba(255, 247, 232, 0.14);   /* logo card / ticket panel, highest emphasis */
  --glass-bg-soft: rgba(255, 247, 232, 0.06);     /* secondary/nested surfaces */
  --glass-border: rgba(255, 247, 232, 0.22);
  --glass-border-soft: rgba(255, 247, 232, 0.14);
  --glass-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.55);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --glass-blur: blur(20px) saturate(1.3);
  --glass-blur-soft: blur(14px) saturate(1.15);

  /* Header/footer glass — an orange-tinted frosted fill (explicitly orange
     per brand direction, but still blurred/translucent to stay part of the
     same glass language as everything else). */
  --glass-bar-bg: linear-gradient(180deg, rgba(255, 106, 31, 0.92), rgba(236, 81, 0, 0.92));
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  color: var(--ivory);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--navy);
  position: relative;
  overflow-x: hidden;
}

/* Soft ambient glow across the dark page — orange + a whisper of ivory,
   blurred, so the frosted panels have something to catch light from. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vw 52vw at 12% -6%, rgba(236, 81, 0, 0.22), transparent 62%),
    radial-gradient(48vw 44vw at 96% 12%, rgba(236, 81, 0, 0.14), transparent 60%),
    radial-gradient(56vw 50vw at 78% 92%, rgba(255, 247, 232, 0.05), transparent 64%),
    radial-gradient(40vw 40vw at 22% 74%, rgba(236, 81, 0, 0.10), transparent 60%),
    var(--navy);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ivory);
}
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- cursor glow ---------- */
/* A small, soft ivory glow that trails the pointer with a ~0.2s lag (the
   transform transition IS the delay — simpler and more precise than a manual
   easing loop). Pointer-events:none so it never blocks a click; skipped
   entirely on touch devices and for reduced-motion. */
#cursorGlow {
  position: fixed;
  top: 0; left: 0;
  width: 160px; height: 160px;
  margin: -80px 0 0 -80px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 247, 232, 0.30), rgba(255, 247, 232, 0.10) 45%, transparent 72%);
  transition: opacity .35s ease, transform .2s linear;
  will-change: transform;
}
body.cursor-on #cursorGlow { opacity: 1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  #cursorGlow { display: none !important; }
}

/* ---------- scroll reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.reveal-in { opacity: 1; transform: translateY(0); }
.reveal-zoom { opacity: 0; transform: scale(.94); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal-zoom.reveal-in { opacity: 1; transform: scale(1); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal-left.reveal-in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal-right.reveal-in { opacity: 1; transform: translateX(0); }
/* No JS or reduced motion: never leave content permanently hidden */
.no-js .reveal, .no-js .reveal-zoom, .no-js .reveal-left, .no-js .reveal-right {
  opacity: 1 !important; transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-zoom, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- glass surface (base) ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--navy-soft); }
}

/* ---------- three-dot motif ---------- */
.dots { display: inline-flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--orange); }
.dots i:nth-child(2) { background: var(--ivory); opacity: .45; }
.dots i:nth-child(3) { background: var(--ivory); opacity: .2; }

/* ---------- top bar ---------- */
/* Explicitly orange per brand direction, kept in the glass language via a
   translucent tint + blur rather than a flat opaque fill. Grid (not flex
   space-between) is what lets the logo lockup sit at the true horizontal
   centre of the bar regardless of how wide the Register button is. */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--glass-bar-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 247, 232, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: var(--orange); }
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px; padding: 10px 24px; max-width: var(--container); margin: 0 auto;
}
.topbar-spacer { grid-column: 1; }
.topbar-logos {
  grid-column: 2;
  display: flex; align-items: center; gap: 14px;
}
.topbar .mark { height: 40px; width: auto; display: block; }
.topbar .mark-circulr { height: 24px; } /* ~60% of the THC mark's height */
/* Ivory fill, navy text — the one button on the orange bar that needs to
   read as a distinct, tappable chip rather than blend into it. */
.topbar-cta {
  grid-column: 3; justify-self: end;
  background: var(--ivory); color: var(--navy);
  font-weight: 700; font-size: .85rem;
  padding: 11px 22px; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background .16s ease, color .16s ease, filter .16s ease, transform .16s ease;
  white-space: nowrap;
}
.topbar-cta:hover { background: var(--white); transform: translateY(-1px); }

/* ---------- hero ---------- */
/* Part of the same continuous dark navy page now (no separate gradient
   banner) — the shared body::before glow is what gives it depth. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  text-align: center;
  color: var(--ivory);
}
.hero .container { position: relative; z-index: 1; }

.hero-logo {
  display: block;
  width: fit-content;
  margin: 0 auto 30px;
}
.hero-logo img { width: clamp(340px, 84vw, 860px); height: auto; display: block; }

.hero .eyebrow {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  font-size: .86rem; font-weight: 600; color: var(--navy-60);
  margin-bottom: 22px;
}

/* ---------- event ticket panel (date / time / venue) ---------- */
.event-ticket {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 4px;
  max-width: 780px;
  margin: 0 auto 30px;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 30px);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .event-ticket { background: var(--navy-soft); }
}
.et-item { padding: 6px 10px; }
.et-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 8px;
}
.et-value { font-size: clamp(1.05rem, 2vw, 1.32rem); font-weight: 800; letter-spacing: -.01em; color: var(--ivory); line-height: 1.28; }
.et-sep { width: 1px; align-self: stretch; min-height: 54px; background: var(--navy-16); justify-self: center; }

.hero .activities {
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 500; color: var(--navy-80);
  max-width: 42ch; margin: 34px auto 10px;
}
.hero .activities b { font-weight: 800; color: var(--ivory); }
.hero .activities .amp { color: var(--orange-ink); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  min-height: 52px;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, filter .16s ease;
}
/* solid ivory — the strong secondary action on a dark page */
.btn-primary { background: var(--ivory); color: var(--navy); }
.btn-primary:hover { background: var(--white); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
/* orange fill with ivory text — the primary conversion action */
.btn-accent { background: var(--orange); color: var(--ivory); }
.btn-accent:hover { background: var(--orange-lift); filter: brightness(1.03); transform: translateY(-1px); }
/* translucent glass, ivory border/text — tertiary action on the dark page */
.btn-outline { background: rgba(255,247,232,.07); color: var(--ivory); border-color: rgba(255,247,232,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--orange-lift); color: var(--orange-lift); background: rgba(255,247,232,.12); }
/* kept as an alias of btn-outline's look, for any legacy references */
.btn-ghost { background: rgba(255,247,232,.07); color: var(--ivory); border-color: rgba(255,247,232,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--orange-lift); color: var(--orange-lift); background: rgba(255,247,232,.12); }
.btn-ivory { background: var(--ivory); color: var(--navy); }
.btn-ivory:hover { background: var(--white); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--navy-60); font-size: 1.04rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; color: var(--orange-ink);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px;
}

/* ---------- upcoming events ---------- */
.event-card {
  padding: 34px;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.event-card .tag {
  display: inline-block; font-size: .72rem; font-weight: 800;
  background: var(--orange); color: var(--ivory);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.event-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 800; margin-bottom: 14px; }
.event-card .blurb { color: var(--navy-60); font-size: .98rem; margin-bottom: 20px; }
.event-card .side { text-align: center; }
.event-card .price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: var(--ivory); }
.event-card .price small { display: block; font-size: .78rem; font-weight: 500; color: var(--navy-60); letter-spacing: 0; }

.more-soon {
  margin-top: 18px; padding: 18px 24px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-radius: var(--r-md);
  background: var(--orange-wash);
  border: 1px dashed rgba(236, 81, 0, 0.4);
  font-size: .94rem; color: var(--navy-80);
}

/* ---------- event detail facts ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fact-item { padding: 20px 24px 20px 0; border-top: 2px solid var(--orange); }
.fact-item + .fact-item { padding-left: 24px; border-left: 1px solid var(--navy-16); }
.fact-item .k { font-size: .75rem; font-weight: 800; color: var(--orange-ink); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .03em; }
.fact-item .v { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; color: var(--ivory); }
.fact-item .n { font-size: .85rem; color: var(--navy-60); margin-top: 2px; }

/* ---------- photo placeholders (currently unused in markup) ---------- */
.photo-ph {
  background: var(--glass-bg-soft);
  border: 1px dashed var(--navy-16);
  color: var(--navy-40);
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: .8rem; font-weight: 600; padding: 16px;
  border-radius: var(--r-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.gallery .photo-ph { aspect-ratio: 1/1; }

/* ---------- form ---------- */
.form-card { padding: 40px; }
@media (max-width: 640px) { .form-card { padding: 22px 18px; border-radius: var(--r-md); } }

.steps { display: flex; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; }
.step-pill {
  flex: 1; min-width: 112px; text-align: center; padding: 9px 8px;
  border-radius: 999px; font-size: .77rem; font-weight: 700;
  background: var(--glass-bg-soft); color: var(--navy-40);
  border: 1px solid var(--glass-border-soft);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  transition: background .2s ease, color .2s ease;
}
.step-pill.done { background: var(--orange-wash); color: var(--orange-ink); border-color: rgba(236, 81, 0, 0.4); }
.step-pill.active { background: var(--orange); color: var(--ivory); border-color: var(--orange); }

.form-step { display: none; }
.form-step.active { display: block; }
.form-step > h3 { margin-bottom: 18px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--ivory); }
.field .hint { font-size: .82rem; color: var(--navy-60); margin-top: 5px; }
/* Inputs stay on a light, near-opaque face regardless of theme — typed text
   and placeholders need to stay unambiguous, so this is the one place that
   deliberately doesn't flip to the dark palette. */
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; padding: 14px 16px; min-height: 52px;
  border-radius: var(--r-sm); border: 1.5px solid rgba(255, 247, 232, 0.3);
  background: rgba(255, 247, 232, 0.92); color: var(--navy);
  font-family: var(--font); font-size: 1rem; font-weight: 500;
  transition: border-color .15s ease, background .15s ease;
}
.field input::placeholder { color: rgba(7, 1, 41, 0.62); font-weight: 400; }
.field input:focus, .field select:focus { border-color: var(--orange); background: var(--white); outline: none; }
.field.has-error input, .field.has-error select { border-color: #ff5449; }
.field-error { color: #ff8983; font-size: .84rem; font-weight: 500; margin-top: 6px; display: none; }
.field.has-error .field-error { display: block; }

.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-card {
  flex: 1; min-width: 140px; padding: 18px; cursor: pointer;
  border: 1.5px solid var(--glass-border-soft); border-radius: var(--r-md);
  background: var(--glass-bg-soft);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  font-weight: 700; font-size: 1rem; color: var(--ivory);
  transition: border-color .15s ease, background .15s ease;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:hover { border-color: var(--navy-40); }
.radio-card.selected { border-color: var(--orange); background: var(--orange-wash); }
.radio-card .small { display: block; font-weight: 400; font-size: .84rem; color: var(--navy-60); margin-top: 3px; }

.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

.note-box {
  background: var(--orange-wash);
  border-left: 3px solid var(--orange);
  border-radius: var(--r-sm);
  padding: 15px 17px; font-size: .93rem; margin-bottom: 20px;
  color: var(--navy-80);
}
.note-box strong { color: var(--ivory); }

.team-size {
  display: inline-block; font-weight: 700; font-size: .84rem;
  padding: 8px 15px; border-radius: 999px;
  background: var(--orange); color: var(--ivory); margin-bottom: 16px;
}

.member-card {
  border: 1px solid var(--glass-border-soft); border-radius: var(--r-md);
  padding: 18px; margin-bottom: 14px; background: var(--glass-bg-soft);
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
}
.member-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.member-head h4 { margin: 0; font-size: .97rem; font-weight: 700; color: var(--ivory); }
.remove-member {
  background: none; border: none; color: #ff8983; font-family: var(--font);
  font-weight: 600; font-size: .84rem; cursor: pointer; padding: 4px 6px; border-radius: 6px;
}
.remove-member:hover { background: rgba(255,137,131,.12); }
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.member-grid .field { margin-bottom: 0; }
@media (max-width: 560px) { .member-grid { grid-template-columns: 1fr; } }

.add-member {
  width: 100%; padding: 15px; border-radius: var(--r-md);
  border: 1.5px dashed var(--orange); background: transparent;
  color: var(--orange-ink); font-family: var(--font); font-weight: 700; font-size: .95rem;
  cursor: pointer; margin-bottom: 8px; transition: background .15s ease;
}
.add-member:hover:not(:disabled) { background: var(--orange-wash); }
.add-member:disabled { opacity: .45; cursor: not-allowed; border-color: var(--navy-16); color: var(--navy-40); }

.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }

.review-block { border-top: 1px solid var(--navy-16); padding: 13px 0; }
.review-block dt { font-size: .75rem; font-weight: 800; color: var(--navy-40); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .03em; }
.review-block dd { margin: 0; font-weight: 600; color: var(--ivory); }
.privacy-note { font-size: .84rem; color: var(--navy-60); margin-top: 20px; }

.alert { border-radius: var(--r-sm); padding: 15px 17px; margin-bottom: 20px; font-size: .93rem; font-weight: 500; }
.alert.error { background: rgba(220, 38, 38, 0.14); color: #ffb4b0; border: 1px solid rgba(220, 38, 38, 0.4); }

/* ---------- community ---------- */
.community { padding: 30px 0 84px; }
.community .inner { padding: 48px 34px; text-align: center; }
.community p { color: var(--navy-60); max-width: 46ch; margin: 0 auto 26px; }

/* ---------- footer ---------- */
/* Same brand system as the header: a centred THC + Circulr lockup, Circulr
   at ~60% of the THC mark, on the same orange glass fill as the header. */
footer {
  background: var(--glass-bar-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: rgba(7, 1, 41, 0.82);
  padding: 40px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 -12px 30px -18px rgba(0, 0, 0, 0.4);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  footer { background: var(--orange); }
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; text-align: center; font-size: .85rem;
}
.footer-logos { display: flex; align-items: center; gap: 14px; }
.footer-logos img.thc { height: 40px; }
.footer-logos img.circulr { height: 24px; } /* ~60% of the THC mark's height */

/* ---------- floating WhatsApp button ---------- */
/* Fixed to the viewport (not the page), so it holds its position on the
   side of the screen no matter how far the user has scrolled. */
.whatsapp-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover, .whatsapp-float:focus-visible {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48);
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-50%); }
}
@media (max-width: 820px) {
  .whatsapp-float {
    top: auto; bottom: 96px; right: 14px; transform: none;
    width: 46px; height: 46px;
  }
  .whatsapp-float:hover, .whatsapp-float:focus-visible { transform: scale(1.08); }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* ---------- sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgba(7, 1, 41, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--navy-08);
}
@media (max-width: 820px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 82px; }
  .topbar-cta { display: none; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 54px 0; }
  .hero-logo { margin-bottom: 22px; }
  .event-card { grid-template-columns: 1fr; gap: 22px; }
  .event-card .side { text-align: left; }
  .fact-item + .fact-item { padding-left: 0; border-left: none; }
  .cta-row .btn { width: 100%; }

  .event-ticket {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
    padding: 22px 20px;
  }
  .et-sep { width: 100%; height: 1px; min-height: 0; align-self: auto; margin: 6px 0; }
  .et-item { padding: 10px 6px; }
}

@media (max-width: 480px) {
  .topbar .mark { height: 32px; }
  .topbar .mark-circulr { height: 19px; }
  .topbar-logos { gap: 10px; }
  .footer-logos img.thc { height: 34px; }
  .footer-logos img.circulr { height: 20px; }
}

/* Heavy blur is costly on low-powered mobile GPUs — ease it back rather
   than dropping the glass effect altogether. */
@media (max-width: 640px) {
  :root {
    --glass-blur: blur(12px) saturate(1.2);
    --glass-blur-soft: blur(9px) saturate(1.1);
  }
}

/* ---------- success ---------- */
.success { max-width: 640px; margin: 0 auto; padding: 72px 24px 90px; text-align: center; }
.success .inner { padding: 44px 32px; }
.success .dots { margin-bottom: 22px; }
.success h1 { font-size: clamp(1.9rem, 4.6vw, 2.7rem); margin-bottom: 12px; }
.success .lead { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--ivory); }
.success p { color: var(--navy-60); margin-left: auto; margin-right: auto; }
.success .actions { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 30px; }

/* ---------- admin ---------- */
.admin-body { background: var(--navy); color: var(--ivory); }
.admin-wrap { max-width: 1120px; margin: 0 auto; padding: 26px 20px 80px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-top img { height: 40px; border-radius: 8px; }
.admin-wrap h1 { font-size: 1.4rem; margin-bottom: 20px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(152px, 1fr)); gap: 12px; margin-bottom: 26px; }
.admin-stat { padding: 18px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur-soft); -webkit-backdrop-filter: var(--glass-blur-soft); }
.admin-stat .value { font-size: 1.75rem; font-weight: 800; color: var(--orange-ink); letter-spacing: -.02em; line-height: 1.1; }
.admin-stat .label { font-size: .77rem; color: var(--navy-60); margin-top: 2px; }
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-filters input, .admin-filters select {
  padding: 10px 13px; border-radius: var(--r-sm); border: 1.5px solid rgba(255, 247, 232, 0.3);
  background: rgba(255, 247, 232, 0.92); color: var(--navy); font-family: var(--font); font-size: .9rem;
}
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--glass-border-soft); border-radius: var(--r-md); background: var(--glass-bg-soft); backdrop-filter: var(--glass-blur-soft); -webkit-backdrop-filter: var(--glass-blur-soft); }
table.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.admin-table th, table.admin-table td {
  padding: 11px 13px; border-bottom: 1px solid var(--navy-08); text-align: left; white-space: nowrap;
}
table.admin-table th { background: var(--orange); color: var(--ivory); font-weight: 700; position: sticky; top: 0; }
table.admin-table tr:last-child td { border-bottom: none; }
.admin-id { font-weight: 800; color: var(--orange-ink); }

.login-shell { max-width: 370px; margin: 88px auto; padding: 32px; }
.login-shell img { height: 42px; margin-bottom: 20px; border-radius: 8px; }
.login-shell h2 { font-size: 1.15rem; }
.login-shell input {
  width: 100%; padding: 13px 15px; margin-bottom: 14px; min-height: 50px;
  border-radius: var(--r-sm); border: 1.5px solid rgba(255, 247, 232, 0.3);
  background: rgba(255, 247, 232, 0.92); color: var(--navy); font-family: var(--font); font-size: 1rem;
}
