/* ═══════════════════════════════════════════
   BLUSIAST — main.css
   Sections:
   00. Tokens
   01. Reset
   02. Base
   03. Typography utilities
   04. Layout utilities
   05. Buttons
   06. Badges
   07. Header & Nav
   08. Footer
   09. Hero
   10. Stat Strip
   11. Mission
   12. Events Preview
   13. Photo Strip
   14. Spotlight
   15. Merch Preview
   16. Email Signup
   17. Inner Page Basics
   18. Animations
   19. Accessibility
═══════════════════════════════════════════ */


/* ── 00. TOKENS ─────────────────────────── */

:root {
  --red:          #CC0000;
  --red-hover:    #FF1A1A;
  --red-dim:      #8C0000;
  --red-tint:     rgba(204,0,0,.08);
  --red-border:   rgba(204,0,0,.3);

  --black:        #000000;
  --surface-0:    #0a0a0a;
  --surface-1:    #111111;
  --surface-2:    #1a1a1a;
  --surface-3:    #242424;
  --surface-4:    #2e2e2e;

  --gray-1:       #888888;
  --gray-2:       #aaaaaa;
  --gray-3:       #cccccc;
  --white:        #ffffff;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --ease-out:     cubic-bezier(.16,1,.3,1);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);

  --max-w:        1200px;
  --max-w-wide:   1400px;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-xl:    20px;
}


/* ── 01. RESET ──────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }


/* ── 02. BASE ───────────────────────────── */

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--red); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}
p { line-height: 1.7; }
::selection { background: var(--red); color: var(--white); }


/* ── 03. TYPOGRAPHY UTILITIES ───────────── */

.bl-display-xl {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.bl-display-lg {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
}
.bl-display-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}
.bl-display-sm {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.bl-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
}
.bl-body-lg { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--gray-2); }
.bl-body-md { font-size: 15px; font-weight: 400; line-height: 1.65; color: var(--gray-2); }
.bl-body-sm { font-size: 13px; color: var(--gray-2); }
.bl-text-red   { color: var(--red) !important; }
.bl-text-white { color: var(--white) !important; }
.bl-text-muted { color: var(--gray-2) !important; }


/* ── 04. LAYOUT ─────────────────────────── */

.container      { max-width: var(--max-w);      margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 24px; }
.section        { padding: 80px 0; }
.section-sm     { padding: 48px 0; }
.section-header { margin-bottom: 40px; }
.section-header--inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}


/* ── 05. BUTTONS ────────────────────────── */

.bl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease-out), border-color .2s, transform .2s var(--ease-out), color .15s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.bl-btn:hover { text-decoration: none; }
.bl-btn svg { flex-shrink: 0; width: 18px; height: 18px; }
.bl-btn--primary { background: var(--red); color: var(--white) !important; border-color: var(--red); }
.bl-btn--primary:hover { background: var(--red-hover); border-color: var(--red-hover); color: var(--white) !important; transform: translateY(-2px); }
.bl-btn--ghost { background: transparent; color: var(--white) !important; border-color: var(--surface-4); }
.bl-btn--ghost:hover { border-color: var(--gray-2); color: var(--white) !important; transform: translateY(-2px); }
.bl-btn--sm { font-size: 12px; padding: 9px 18px; }
.bl-btn--lg { font-size: 17px; padding: 17px 34px; }
[aria-disabled="true"].bl-btn { opacity: .45; pointer-events: none; cursor: not-allowed; }


/* ── 06. BADGES ─────────────────────────── */

.bl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.bl-badge--red   { background: var(--red-tint); color: #ff6666; border: 1px solid var(--red-border); }
.bl-badge--white { background: rgba(255,255,255,.07); color: var(--gray-3); border: 1px solid rgba(255,255,255,.12); }
.bl-badge--dot::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}


/* ── 07. HEADER & NAV ───────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  width: 100%;
  min-height: 80px;
  padding: 12px 0;
  background: rgba(0,0,0,.97); /* solid fallback for browsers without backdrop-filter */
  border-bottom: 1px solid var(--surface-2);
  transition: box-shadow .2s;
}
/* Progressive enhancement — translucent blur when supported */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.5); }
body.admin-bar .site-header { top: 32px; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}
/* flex gap fallback for Safari ≤13 */
.site-header__inner > * + * { margin-left: 32px; }
@supports (gap: 32px) { .site-header__inner > * + * { margin-left: 0; } }

.site-header__logo { flex-shrink: 0; display: flex; align-items: center; }
.site-header__logo:hover { color: var(--white); }
.custom-logo-link { display: flex; align-items: center; padding: 10px 0; }
.custom-logo,
.site-header__logo img,
.custom-logo-link img { max-height: 60px; width: auto; height: auto; display: block; }
.site-header__logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
}

.site-nav { flex: 1; }
.nav__list { display: flex; align-items: center; gap: 4px; }
/* flex gap fallback for Safari ≤13 */
.nav__list > * + * { margin-left: 4px; }
@supports (gap: 4px) { .nav__list > * + * { margin-left: 0; } }
.nav__item { position: relative; }
.nav__link {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--gray-2);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav__link:hover,
.nav__link--active { color: var(--white); background: var(--surface-2); }

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-md);
  padding: 6px;
  z-index: 100;
}
.nav__item--has-children:hover .nav__dropdown { display: block; }
.nav__dropdown .nav__link { color: var(--gray-2); font-size: 13px; border-radius: var(--radius-sm); }
.nav__dropdown .nav__link:hover { color: var(--white); background: var(--surface-2); }

.nav__chevron {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 4px;
  vertical-align: middle;
}

.site-header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* flex gap fallback for Safari ≤13 */
.site-header__actions > * + * { margin-left: 8px; }
@supports (gap: 8px) { .site-header__actions > * + * { margin-left: 0; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle__bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .25s;
}
.nav-toggle.active .nav-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .site-nav, .site-header__actions .bl-btn--ghost { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.is-open {
    display: block;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: var(--surface-0);
    border-bottom: 1px solid var(--surface-2);
    padding: 16px;
    z-index: 199;
  }
  .site-nav.is-open .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav.is-open .nav__link { padding: 12px 16px; font-size: 16px; }
  .site-nav.is-open .nav__dropdown { position: static; border: none; background: transparent; padding: 0 0 0 16px; }
  /* Member portal link in mobile nav */
  .site-nav.is-open .nav__item--portal { border-top: 1px solid var(--surface-2); margin-top: 4px; padding-top: 4px; }
  .site-nav.is-open .nav__link--portal { color: var(--red); font-weight: 700; }
}


/* ── 08. FOOTER ─────────────────────────── */

.site-footer { background: var(--surface-0); border-top: 1px solid var(--surface-2); }

.site-footer__top {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--surface-2);
  display: flex;
  justify-content: center;
}
.site-footer__logo { text-align: center; }
.site-footer__logo img { max-height: 80px; width: auto; height: auto; display: block; margin: 0 auto; }
.site-footer__logo-text { font-family: var(--font-display); font-size: 32px; font-weight: 900; letter-spacing: .04em; color: var(--white); }

.site-footer__main { padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .bl-label { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--gray-1); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-brand__logo { display: block; margin-bottom: 10px; }
.footer-brand__logo img { max-width: 180px; width: 100%; height: auto; display: block; }
.footer-brand__title { display: block; margin-bottom: 12px; }

.footer-col__title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 16px;
}
.footer-col__links { display: flex; flex-direction: column; gap: 10px; }
.footer-col__links a { font-size: 14px; color: var(--gray-2); transition: color .15s; }
.footer-col__links a:hover { color: var(--white); }

.social-links { display: flex; gap: 10px; margin-top: 10px; }
.social-link {
  width: 40px; height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  color: var(--gray-2);
  transition: background .15s, border-color .15s, color .15s, transform .15s;
  text-decoration: none;
}
.social-link svg { width: 18px; height: 18px; fill: var(--white); }
.social-link:hover { transform: translateY(-2px); }
.social-link[href*="instagram"]:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); border-color: transparent; }
.social-link[href*="facebook"]:hover  { background: #1877f2; border-color: transparent; color: var(--white) !important; }
.social-link:not([href*="instagram"]):not([href*="facebook"]):hover { background: var(--red); border-color: var(--red); color: var(--white) !important; }

.site-footer__bottom { border-top: 1px solid var(--surface-2); padding: 20px 0; }
.site-footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__copy,
.site-footer__tagline,
.site-footer__credit { font-size: 12px; color: var(--gray-1); }
.site-footer__credit { opacity: .7; margin-top: 4px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }


/* ── 09. HERO ───────────────────────────── */

.hero {
  position: relative;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.55) 35%, rgba(20,0,0,.35) 80%);
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

.hero__grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.hero__eyebrow { margin-bottom: 20px; }
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 108px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.hero__headline-1 { display: block; color: var(--white); }
.hero__headline-2 { display: block; color: var(--red); }
.hero__headline-3 { display: block; color: var(--gray-1); font-style: italic; }
.hero__body { font-size: 18px; font-weight: 300; color: var(--gray-2); line-height: 1.7; max-width: 480px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* flex gap fallback for Safari ≤13 */
.hero__actions > * { margin-right: 12px; margin-bottom: 12px; }
.hero__actions > *:last-child { margin-right: 0; }
@supports (gap: 12px) { .hero__actions > * { margin-right: 0; margin-bottom: 0; } }

.hero__stats { display: flex; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--surface-3); }
.hero__stat { flex: 1; padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--surface-3); }
.hero__stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero__stat-num { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 4px; }
.hero__stat-label { font-size: 11px; color: var(--gray-1); }

.hero__visual { position: relative; }
.hero__badge-wrap {
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  /* aspect-ratio fallback for Safari ≤14 */
  position: relative;
  width: 100%;
  padding-top: 100%;
  height: 0;
  display: block;
}
@supports (aspect-ratio: 1) {
  .hero__badge-wrap {
    aspect-ratio: 1;
    padding-top: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.hero__badge-img { max-width: 420px; width: 100%; height: auto; }
.hero__badge-placeholder { font-family: var(--font-display); font-size: 48px; font-weight: 900; color: var(--surface-4); letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.hero__float-tag { position: absolute; font-family: var(--font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 8px 14px; border-radius: var(--radius-md); z-index: 2; }
.hero__float-tag--red  { bottom: 20px; left: -16px; background: var(--red); color: var(--white); }
.hero__float-tag--dark { top: 20px; right: -12px; background: var(--surface-2); border: 1px solid var(--surface-4); color: var(--gray-2); font-size: 11px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero { padding: 56px 0 64px; }
}


/* ── 10. STAT STRIP ─────────────────────── */

.stat-strip { background: var(--red); }
.stat-strip__inner { display: flex; align-items: stretch; }
.stat-strip__item { flex: 1; padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.15); text-align: center; }
.stat-strip__item:last-child { border-right: none; }
.stat-strip__num { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-strip__label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 3px; }
@media (max-width: 640px) {
  .stat-strip__inner { flex-wrap: wrap; }
  .stat-strip__item  { min-width: 50%; }
}


/* ── 11. MISSION ────────────────────────── */

.mission { background: var(--surface-0); }
.mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.mission__content .bl-label { margin-bottom: 16px; }
.mission__quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.mission__quote em { color: var(--red); font-style: normal; }

.value-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.value-list__item { display: flex; align-items: flex-start; gap: 18px; }
.value-list__icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--red); margin-top: 2px; }
.value-list__icon svg { width: 32px; height: 32px; }
.value-list__text { display: flex; flex-direction: column; gap: 4px; }
.value-list__text strong { font-family: var(--font-display); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--white); }
.value-list__text span { font-size: 15px; color: var(--gray-2); line-height: 1.6; }

.mission__visual { position: relative; }
.mission__img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-3);
  /* aspect-ratio fallback for Safari ≤14 */
  display: block;
  padding-top: 125%; /* 4/5 */
  height: 0;
}
@supports (aspect-ratio: 4/5) {
  .mission__img { aspect-ratio: 4/5; padding-top: 0; height: auto; }
}
.mission__img-placeholder {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-xl);
  /* aspect-ratio fallback for Safari ≤14 */
  padding-top: 125%;
  height: 0;
}
@supports (aspect-ratio: 4/5) {
  .mission__img-placeholder { aspect-ratio: 4/5; padding-top: 0; height: auto; }
}
.mission__float-card { position: absolute; bottom: -24px; left: -28px; background: var(--red); border-radius: var(--radius-lg); padding: 20px 24px; min-width: 160px; }
.mission__float-num { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 900; color: var(--white); line-height: 1; }
.mission__float-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 4px; }

@media (max-width: 900px) {
  .mission__grid { grid-template-columns: 1fr; gap: 40px; }
  .mission__visual { padding-bottom: 32px; }
  .mission__float-card { left: 0; bottom: 0; }
}


/* ── 12. EVENTS PREVIEW ─────────────────── */

.events-preview { background: var(--black); }
.events-list { display: flex; flex-direction: column; gap: 12px; }

.event-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.event-card:hover { border-color: var(--red-dim); transform: translateY(-2px); }

.event-card__img-wrap { display: block; position: relative; overflow: hidden; background: var(--surface-2); text-decoration: none; }
.event-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease-out); }
.event-card:hover .event-card__img { transform: scale(1.04); }
.event-card__img-placeholder { width: 100%; height: 100%; min-height: 200px; background: var(--surface-2); }

.event-card__date {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--red);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  text-align: center;
  min-width: 52px;
  z-index: 2;
  pointer-events: none;
}
.event-card__month { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); line-height: 1; }
.event-card__day   { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 900; line-height: 1.1; color: var(--white); }

.event-card__sold-out-banner { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.event-card__sold-out-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.event-card__sold-out-banner span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 0;
  width: 200%;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.event-card__info { padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.event-card__badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.event-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--white); line-height: 1.05; margin: 0; }
.event-card__title a { color: inherit; }
.event-card__title a:hover { color: var(--red); }
.event-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.event-card__meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--gray-1); }
.event-card__meta-item svg { width: 13px; height: 13px; opacity: .6; flex-shrink: 0; }
.event-card__meta-item--price { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--red); }
.event-card__meta-sep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--surface-4); flex-shrink: 0; }
.event-card__excerpt { font-size: 14px; color: var(--gray-2); line-height: 1.6; margin: 0; }
.event-card__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }

@media (max-width: 700px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card__img-wrap {
    height: 0;
    padding-top: 56.25%; /* 16:9 fallback */
    position: relative;
  }
  @supports (aspect-ratio: 16/9) {
    .event-card__img-wrap { aspect-ratio: 16/9; height: auto; padding-top: 0; }
  }
  .event-card__info { padding: 20px; }
}


/* ── 13. PHOTO STRIP ────────────────────── */

.photo-strip { background: var(--surface-0); padding: 80px 0; overflow: hidden; }
.photo-strip__header { margin-bottom: 24px; }
.photo-strip__header .bl-label { margin-bottom: 8px; }
.photo-strip__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3px; }
.photo-strip__cell {
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
  transition: opacity .2s;
  /* aspect-ratio fallback for Safari ≤14 */
  padding-top: 100%;
  height: 0;
}
@supports (aspect-ratio: 1) {
  .photo-strip__cell { aspect-ratio: 1; padding-top: 0; height: auto; }
}
.photo-strip__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-strip__cell:hover { opacity: .85; }
.photo-strip__cell--tall { padding-top: 0; height: auto; grid-row: span 2; }
@supports (aspect-ratio: 1) {
  .photo-strip__cell--tall { aspect-ratio: unset; }
}
.photo-strip__cell--placeholder { display: flex; align-items: center; justify-content: center; }
.photo-strip__cell--placeholder span { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--surface-4); }
@media (max-width: 640px) {
  .photo-strip__grid { grid-template-columns: 1fr 1fr; }
  .photo-strip__cell--tall { grid-row: span 1; aspect-ratio: 1; }
}


/* ── 14. SPOTLIGHT ──────────────────────── */

.spotlight { background: var(--black); }
.spotlight .bl-label { margin-bottom: 24px; }
.spotlight__card { display: grid; grid-template-columns: 1fr 2fr; background: var(--surface-1); border: 1px solid var(--surface-3); border-radius: var(--radius-xl); overflow: hidden; }
.spotlight__img-wrap { position: relative; min-height: 360px; }
.spotlight__img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__img-placeholder { width: 100%; height: 100%; min-height: 360px; background: var(--surface-2); }
.spotlight__img-wrap::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 60px; background: linear-gradient(to right, transparent, var(--surface-1)); }
.spotlight__body { padding: 40px; }
.spotlight__kicker { display: inline-block; background: var(--red); color: var(--white); font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.spotlight__name { margin-bottom: 8px; }
.spotlight__subtitle { font-size: 14px; color: var(--gray-2); margin-bottom: 16px; }
.spotlight__quote { font-style: italic; font-size: 16px; color: var(--gray-2); line-height: 1.65; border-left: 3px solid var(--red); padding-left: 16px; margin-bottom: 28px; }
.spotlight__excerpt { font-size: 15px; color: var(--gray-2); line-height: 1.65; margin-bottom: 28px; }
.spotlight__stats { display: flex; gap: 28px; margin-bottom: 28px; flex-wrap: wrap; }
.spotlight__stat-num { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 2px; }
.spotlight__stat-num--sm { font-size: 18px; }
.spotlight__stat-label { font-size: 11px; color: var(--gray-1); }
@media (max-width: 760px) {
  .spotlight__card { grid-template-columns: 1fr; }
  .spotlight__img-wrap { min-height: 240px; }
  .spotlight__img-wrap::after { display: none; }
  .spotlight__body { padding: 24px; }
}


/* ── 15. MERCH PREVIEW ──────────────────── */

.merch-preview { background: var(--surface-0); }
.merch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.merch-card { background: var(--surface-1); border: 1px solid var(--surface-3); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s, transform .2s var(--ease-out); }
.merch-card:hover { border-color: var(--red-dim); transform: translateY(-3px); }
.merch-card__img-wrap {
  display: block;
  background: var(--surface-2);
  overflow: hidden;
  /* aspect-ratio fallback for Safari ≤14 */
  position: relative;
  padding-top: 100%;
  height: 0;
}
@supports (aspect-ratio: 1) {
  .merch-card__img-wrap { aspect-ratio: 1; padding-top: 0; height: auto; }
}
.merch-card__img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease-out); }
.merch-card:hover .merch-card__img-wrap img { transform: scale(1.04); }
.merch-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.merch-card__body { padding: 16px; }
.merch-card__title { font-family: var(--font-display); font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.merch-card__title a { color: inherit; }
.merch-card__title a:hover { color: var(--red); }
.merch-card__desc { font-size: 12px; color: var(--gray-1); margin-bottom: 14px; }
.merch-card__footer { display: flex; justify-content: space-between; align-items: center; }
.merch-card__price { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--red); }
.merch-card__price .woocommerce-Price-currencySymbol { font-size: .8em; }
@media (max-width: 760px) { .merch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .merch-grid { grid-template-columns: 1fr; } }


/* ── 16. EMAIL SIGNUP ───────────────────── */

.email-signup { background: var(--surface-1); border-top: 1px solid var(--surface-3); border-bottom: 1px solid var(--surface-3); padding: 64px 0; }
.email-signup__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.email-signup__text .bl-label { margin-bottom: 10px; }
.email-signup__text .bl-display-sm { margin-bottom: 6px; }
.email-signup__field-wrap { display: flex; }
.email-signup__input { flex: 1; background: var(--surface-2); border: 1px solid var(--surface-4); border-right: none; color: var(--white); font-size: 14px; padding: 13px 18px; border-radius: var(--radius-sm) 0 0 var(--radius-sm); outline: none; min-width: 0; transition: border-color .15s; }
.email-signup__input::placeholder { color: var(--gray-1); }
.email-signup__input:focus { border-color: var(--red); }
.email-signup__submit { background: var(--red); color: var(--white); border: 1px solid var(--red); font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 13px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; white-space: nowrap; transition: background .15s; }
.email-signup__submit:hover { background: var(--red-hover); border-color: var(--red-hover); }
.email-signup__disclaimer { font-size: 11px; color: var(--gray-1); margin-top: 8px; }
@media (max-width: 760px) {
  .email-signup__inner { flex-direction: column; align-items: flex-start; }
  .email-signup__field-wrap { width: 100%; }
}


/* ── 17. INNER PAGE BASICS ──────────────── */

.page-hero { background: var(--surface-0); padding: 144px 0 64px; border-bottom: 1px solid var(--surface-2); }
.page-hero .bl-label { margin-bottom: 12px; }
.page-content { padding: 64px 0; }
.entry-content h2, .entry-content h3 { font-family: var(--font-display); text-transform: uppercase; color: var(--white); margin: 32px 0 12px; }
.entry-content p { color: var(--gray-2); margin-bottom: 16px; }
.entry-content a { color: var(--red); }
.entry-content ul, .entry-content ol { padding-left: 24px; color: var(--gray-2); margin-bottom: 16px; }
.entry-content li { margin-bottom: 6px; }
.entry-content img { border-radius: var(--radius-md); margin: 24px 0; }


/* ── 18. ANIMATIONS ─────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bl-animate { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.bl-animate.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .bl-animate { opacity: 1; transform: none; transition: none; }
}

/* Issue 4 — Safari ≤14 ignores scrollIntoView({ behavior:'smooth' }).
   These elements animate in on their own so they're always visually
   noticeable regardless of whether the scroll animated. */
@keyframes bl-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bl-form-error,
.bl-modal__success,
.bl-signup-success {
  animation: bl-fade-in .3s var(--ease-out) both;
}
@media (prefers-reduced-motion: reduce) {
  .bl-form-error,
  .bl-modal__success,
  .bl-signup-success { animation: none; }
}


/* ── 19. ACCESSIBILITY ──────────────────── */

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.55) 35%, rgba(20,0,0,.35) 80%);
  pointer-events: none;
  z-index: 1;
}
.hero {
  position: relative;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 80px;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  width: 100%;
  min-height: 80px;
  padding: 12px 0;
  background: rgba(0,0,0,.97); /* solid fallback */
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(0,0,0,.70);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
.site-header.scrolled {
  background: rgba(0,0,0,.97);
  border-bottom-color: var(--surface-2);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
  border-bottom:1px solid #CC0000;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.scrolled {
    background: rgba(0,0,0,.92);
  }
}

/* ── 20. EVENT SIGN-UP MODAL ────────────── */

.bl-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .92); /* solid fallback */
  cursor: pointer;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .bl-modal__backdrop {
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
}

.bl-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--surface-1);
  border: 1px solid var(--surface-4);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  outline: none;
  animation: bl-modal-in .25s var(--ease-out) both;
}

@keyframes bl-modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.bl-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.bl-modal__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin-top: 6px;
}

.bl-modal__subtitle {
  font-size: 13px;
  color: var(--gray-1);
  margin-top: 4px;
}

.bl-modal__close {
  background: var(--surface-3);
  border: 1px solid var(--surface-4);
  border-radius: 50%;
  color: var(--gray-2);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, color .15s;
  margin-top: 2px;
}
.bl-modal__close:hover { background: var(--surface-4); color: var(--white); }

/* Form */
.bl-modal__form { display: flex; flex-direction: column; gap: 16px; }

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

.bl-form-field { display: flex; flex-direction: column; gap: 6px; }

.bl-form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-2);
}
.bl-form-label span[aria-hidden] { color: var(--red); margin-left: 2px; }
.bl-form-optional { font-weight: 400; color: var(--gray-1); text-transform: none; letter-spacing: 0; margin-left: 4px; }

.bl-form-input {
  background: var(--surface-2);
  border: 1px solid var(--surface-4);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
.bl-form-input::placeholder { color: var(--gray-1); }
.bl-form-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-tint);
}

.bl-form-select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.bl-form-field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.bl-form-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid var(--surface-4);
  border-radius: 4px;
  background: var(--surface-2);
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.bl-form-check-label { font-size: 13px; color: var(--gray-2); line-height: 1.5; cursor: pointer; }

.bl-form-note {
  background: var(--red-tint);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--gray-2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}
.bl-form-note svg { flex-shrink: 0; color: var(--red); margin-top: 1px; }
.bl-form-note strong { color: var(--white); }

.bl-form-error {
  background: rgba(204,0,0,.1);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-md);
  color: #ff6666;
  font-size: 13px;
  padding: 10px 14px;
}

.bl-modal__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 8px;
}
.bl-modal__fine-print {
  font-size: 11px;
  color: var(--gray-1);
  text-align: center;
}

/* Btn large */
.bl-btn--lg { padding: 14px 24px; font-size: 16px; }
.bl-btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: bl-spin .6s linear infinite;
}
@keyframes bl-spin { to { transform: rotate(360deg); } }

/* Success state */
.bl-modal__success {
  text-align: center;
  padding: 24px 0;
}
.bl-modal__success-icon { margin-bottom: 20px; display: flex; justify-content: center; }
.bl-modal__success-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.bl-modal__success-body { font-size: 15px; color: var(--gray-2); line-height: 1.6; margin-bottom: 12px; }
.bl-modal__success-note { font-size: 13px; color: var(--gray-1); }

@media (max-width: 480px) {
  .bl-modal__panel { padding: 24px 20px; }
  .bl-form-row--two { grid-template-columns: 1fr; }
}


/* ── 21. EVENT SINGLE PAGE LAYOUT ──────── */

.event-single-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 56px;
}

.event-single__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

/* Quick-facts strip */
.event-single__meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.event-meta-fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  flex: 1 1 200px;
  border-right: 1px solid var(--surface-3);
}
.event-meta-fact:last-child { border-right: none; }

.event-meta-fact__icon {
  width: 24px;
  height: 24px;
  color: var(--gray-1);
  flex-shrink: 0;
}

.event-meta-fact__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-1);
  margin-bottom: 4px;
}

.event-meta-fact__value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.event-single__body .entry-content {
  color: var(--gray-2);
  font-size: 16px;
  line-height: 1.75;
  max-width: 720px;
}
.event-single__body .entry-content p { margin-bottom: 1.2em; }
.event-single__body .entry-content h2,
.event-single__body .entry-content h3 {
  color: var(--white);
  margin: 1.5em 0 .6em;
}

/* Sign-up section */
.event-signup-section {
  border-top: 1px solid var(--surface-3);
  padding-top: 56px;
  margin-bottom: 0;
}

.event-signup-section__sold-out {
  text-align: center;
  padding: 48px 0;
}

.event-signup-box {
  max-width: 600px;
}

.event-signup-box__header {
  margin-bottom: 36px;
}

/* Signup form */
.bl-signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Success state (inline) */
.bl-signup-success {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  max-width: 600px;
}
.bl-signup-success__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .event-single__meta-strip { flex-direction: column; }
  .event-meta-fact { border-right: none; border-bottom: 1px solid var(--surface-3); }
  .event-meta-fact:last-child { border-bottom: none; }
  .event-signup-box { max-width: 100%; }
}


/* ── 22. REVIEW CAROUSEL ──────────────── */

.review-carousel { background: var(--surface-0); }
.review-carousel__track-wrap {
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}
.review-carousel__track {
  display: flex;
  gap: 20px;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.review-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s;
}
.review-card:hover { border-color: var(--red-dim); }
.review-card__header {}
.review-card__coaster {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}
.review-card__park { font-size: 12px; color: var(--gray-1); margin-top: 2px; }
.review-card__rating { display: flex; align-items: center; gap: 10px; }
.review-card__score {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.review-card__score small { font-size: 13px; color: var(--gray-1); }
.review-card__thrill { font-size: 12px; color: var(--gray-2); }
.review-card__text { font-size: 13px; color: var(--gray-2); line-height: 1.6; flex: 1; }
.review-card__author { font-size: 11px; color: var(--gray-1); font-style: italic; }
.review-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .15s, border-color .15s;
}
.review-carousel__btn:hover { background: var(--red); border-color: var(--red); }
.review-carousel__btn--prev { left: -20px; }
.review-carousel__btn--next { right: -20px; }

/* ── 23. PORTAL REVIEW ROWS ───────────── */
.review-row {
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-md);
  transition: border-color .15s;
}
.review-row:hover { border-color: var(--red-dim); }

/* ── 24. RATING BAR ──────────────────── */
.bl-rating-bar {
  display: inline-block;
  width: 80px;
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  vertical-align: middle;
  overflow: hidden;
}
.bl-rating-bar__fill {
  display: block;
  height: 100%;
  background: var(--red);
  border-radius: 3px;
}
.bl-rating-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  vertical-align: middle;
}
.bl-rating-num small { font-size: 11px; color: var(--gray-1); }


/* ── 25. PORTAL / PROFILE SHARED ─────── */

.portal-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--red); color: var(--white); font-family: var(--font-display); font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 3px solid var(--surface-3); flex-shrink: 0; }
.portal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.portal-card { background: var(--surface-1); border: 1px solid var(--surface-3); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.portal-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--white); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.portal-card__title-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ── 26. MEMBER GALLERY ───────────────── */

.member-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.member-gallery__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  /* aspect-ratio fallback for Safari ≤14 */
  position: relative;
  padding-top: 100%;
  height: 0;
}
@supports (aspect-ratio: 1) {
  .member-gallery__item { aspect-ratio: 1; padding-top: 0; height: auto; }
}
.member-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease-out); }
.member-gallery__item:hover img { transform: scale(1.05); }
.member-gallery__caption { font-size: 11px; color: var(--gray-1); padding: 6px 0 0; }


/* ══════════════════════════════════════════
   MOBILE RESPONSIVE — comprehensive pass
   Target breakpoints:
   • 768px  tablet
   • 480px  large phone
   • 375px  small phone
══════════════════════════════════════════ */

/* ── Global spacing tightening on mobile ── */
@media (max-width: 768px) {
  .container, .container-wide { padding: 0 16px; }
  .section  { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
  .page-hero { padding: 110px 0 40px; }
  .page-content { padding: 40px 0; }
  .bl-display-xl { font-size: clamp(48px, 12vw, 80px); }
  .bl-display-lg { font-size: clamp(32px, 9vw, 56px); }
  .bl-display-md { font-size: clamp(24px, 6vw, 36px); }
}

/* ── Hero ── */
@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__media { display: none; }
  .hero__ctas { flex-wrap: wrap; }
}

/* ── Stat strip ── */
@media (max-width: 600px) {
  .stat-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-strip__item { padding: 24px 12px; }
  .stat-strip__item:nth-child(2) { border-right: none; }
}
@media (max-width: 380px) {
  .stat-strip__inner { grid-template-columns: 1fr; }
  .stat-strip__item { border-right: none !important; }
}

/* ── Events list cards ── */
@media (max-width: 640px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card__img-wrap { max-height: 180px; }
  .event-card__info { padding: 16px; }
  .events-list--full .event-card { grid-template-columns: 1fr; }
}

/* ── Event single page ── */
@media (max-width: 640px) {
  .event-single__meta-strip { flex-direction: column; }
  .event-meta-fact { border-right: none; border-bottom: 1px solid var(--surface-3); padding: 14px 16px; }
  .event-meta-fact:last-child { border-bottom: none; }
  .event-signup-box { max-width: 100%; }
  .event-signup-section { padding-top: 36px; }
  .bl-form-row--two { grid-template-columns: 1fr; }
}

/* ── Archive filters ── */
@media (max-width: 600px) {
  .archive-filters { flex-wrap: wrap; gap: 6px; }
}

/* ── Member portal sidebar → horizontal on mobile ── */
@media (max-width: 768px) {
  .portal-sidebar {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
  }
  .portal-sidebar__member {
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-right: 1px solid var(--surface-3);
    border-bottom: none;
    min-width: 100px;
  }
  .portal-sidebar__email { display: none; }
  .portal-nav {
    padding: 6px 0;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
  }
  .portal-nav__item { padding: 8px 14px; font-size: 13px; gap: 8px; }
}
@media (max-width: 480px) {
  /* Sidebar collapses to full-width stacked layout */
  .portal-sidebar {
    grid-template-columns: 1fr;
  }
  .portal-sidebar__member {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--surface-3);
    padding: 10px 16px;
    gap: 12px;
    text-align: left;
    align-items: center;
  }
  /* Tab nav row — sticky below member info */
  .portal-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 0;
    flex-wrap: nowrap;
    scrollbar-width: none; /* momentum scrolling is default in iOS 13+ */
  }
  .portal-nav::-webkit-scrollbar { display: none; }
  .portal-nav__item { white-space: nowrap; flex-shrink: 0; font-size: 12px; padding: 10px 14px; }
  .portal-nav__icon { display: none; }
  /* Log out link — hide on tiny screens */
  .portal-nav a[href*="logout"] { display: none; }
  /* Give portal main breathing room so card isn't flush under sticky bar */
  .portal-main { padding-top: 8px; }
}

/* ── Portal panels ── */
@media (max-width: 768px) {
  .portal-card { padding: 18px; }
  .portal-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .portal-stat { padding: 12px; }
  .portal-stat__num { font-size: 28px; }
  .portal-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .portal-stats { grid-template-columns: 1fr; }
  .portal-event-item { flex-wrap: wrap; gap: 10px; }
}

/* ── Member profile public page ── */
@media (max-width: 768px) {
  .page-content .container > div[style*="grid-template-columns:1fr 340px"] {
    display: flex !important;
    flex-direction: column;
  }
}

/* ── Member directory list ── */
@media (max-width: 480px) {
  .portal-member-card { padding: 12px 14px; }
}

/* ── Photo upload zone ── */
@media (max-width: 480px) {
  .portal-upload-zone { padding: 24px 16px; }
}

/* ── Review carousel ── */
@media (max-width: 600px) {
  .review-card { min-width: 240px; max-width: 240px; padding: 18px; }
  .review-carousel__btn--prev { left: -10px; }
  .review-carousel__btn--next { right: -10px; }
}

/* ── Sign-up gate (login/register) ── */
@media (max-width: 480px) {
  .portal-gate { padding: 0 4px; }
  .portal-input { font-size: 16px; } /* prevents iOS zoom on focus */
}

/* ── Buttons full-width on smallest screens ── */
@media (max-width: 380px) {
  .bl-btn--lg { width: 100%; justify-content: center; }
}

/* ── Section header inline → stacked ── */
@media (max-width: 600px) {
  .section-header--inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ── Spotlight ── */
@media (max-width: 640px) {
  .spotlight__card { grid-template-columns: 1fr; }
  .spotlight__img-wrap { max-height: 260px; }
}

/* ── Photo strip ── */
@media (max-width: 480px) {
  .photo-strip__grid { grid-template-columns: 1fr 1fr; }
}

/* ── Footer ── */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom .container { flex-direction: column; text-align: center; gap: 6px; }
}

/* ── Membership tiers ── */
@media (max-width: 640px) {
  .membership-tiers { grid-template-columns: 1fr; }
}

/* ── Inner page event detail sidebar ── */
@media (max-width: 640px) {
  .event-detail-grid { grid-template-columns: 1fr; }
  .event-sidebar-card { position: static; }
}

/* ── Admin bar offset when present on mobile ── */
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 46px; }
}

/* ── Inputs don't zoom on iOS (font-size >= 16px) ── */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}


/* ═══════════════════════════════════════════
   MOBILE MEMBER BAR
   ═══════════════════════════════════════════ */

.mobile-member-bar {
    display:          none; /* hidden on desktop */
    position:         fixed;
    bottom:           0;
    left:             0;
    right:            0;
    z-index:          999;
    background:       #0d0d0d;
    border-top:       1px solid #2a2a2a;
    padding:          0 0 constant(safe-area-inset-bottom, 0); /* iOS 11 */
    padding:          0 0 env(safe-area-inset-bottom, 0);      /* iOS 12+ */
    box-shadow:       0 -4px 20px rgba(0,0,0,.6);
}

.mobile-member-bar__item {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            4px;
    padding:        10px 0 8px;
    color:          #888;
    text-decoration: none;
    font-size:      10px;
    font-weight:    600;
    text-transform: uppercase;
    letter-spacing: .06em;
    flex:           1;
    transition:     color .15s;
}

.mobile-member-bar__item:hover,
.mobile-member-bar__item:focus {
    color: #fff;
}

.mobile-member-bar__item--card {
    color:      #cc0000;
    background: rgba(204,0,0,.08);
    border-top: 2px solid #cc0000;
}

.mobile-member-bar__item--card:hover {
    color:      #ff2222;
    background: rgba(204,0,0,.16);
}

/* Show bar + add body padding on mobile */
@media (max-width: 900px) {
    .mobile-member-bar {
        display: flex;
    }
    /* Prevent content being hidden behind bar */
    .site-main,
    .site-footer {
        padding-bottom: calc(68px + constant(safe-area-inset-bottom, 0)); /* iOS 11 */
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0));      /* iOS 12+ */
    }
}


/* ═══════════════════════════════════════════
   ADD TO HOME SCREEN PROMPT
   ═══════════════════════════════════════════ */

.bl-homescreen-prompt {
    display:       flex;
    align-items:   center;
    gap:           14px;
    background:    linear-gradient(135deg, #1a0a0a 0%, #1a1a1a 100%);
    border:        1px solid #cc0000;
    border-radius: 10px;
    padding:       14px 16px;
    margin:        16px 0 0;
}

.bl-homescreen-prompt__icon {
    flex-shrink: 0;
}

.bl-homescreen-prompt__text {
    display:       flex;
    flex-direction: column;
    gap:           3px;
    flex:          1;
    min-width:     0;
}

.bl-homescreen-prompt__text strong {
    color:     #fff;
    font-size: 13px;
}

.bl-homescreen-prompt__text span {
    color:     #999;
    font-size: 12px;
    line-height: 1.4;
}

.bl-ios-instructions {
    background:    #1a1a1a;
    border:        1px solid #333;
    border-radius: 10px;
    padding:       16px;
    margin:        16px 0 0;
}
