/* ------------------------------------------------------------
   SELF-HOSTED FONTS (Latin subset only)
   ------------------------------------------------------------ */

/* Playfair Display — Normal (variable, 400-800) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/playfair-display-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display — Italic (variable, 400-700) */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/playfair-display-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato — Light 300 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/lato-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato — Light 300 Italic */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/lato-300italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato — Regular 400 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato — Regular 400 Italic */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-400italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato — Bold 700 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Skip to content — accessibility */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  padding: 1rem 1.5rem;
  background: #293851;
  color: #f5f0e8;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-to-content:focus {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/* Global focus-visible indicators (accessibility) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.faq-question:focus-visible,
.kbyg-question:focus-visible,
.social-icon:focus-visible,
.board-card:focus-visible,
.gallery-item:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
  border-radius: 4px;
}

.form-field:focus-visible {
  outline: none;
  border-bottom-color: var(--brown);
}


/* ============================================================
   EQUUS CHARITIES OF THE LOWCOUNTRY
   Main Stylesheet

   Design: Elegant editorial — light, airy, luxurious
   Fonts:  Playfair Display (headings) + Lato (body)
   Stack:  Static HTML/CSS/JS, Bootstrap-free
   ============================================================ */


/* ------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */

:root {
  /* Brand Colors */
  --navy:           #293851;
  --navy-rgb:       41, 56, 81;
  --green:          #677749;
  --green-rgb:      103, 119, 73;
  --brown:          #ab9262;
  --brown-rgb:      171, 146, 98;
  --gray:           #bcbec0;
  --gray-rgb:       188, 190, 192;

  /* Extended Palette */
  --cream:          #f5f0e8;
  --cream-dark:     #ede6d8;
  --white-warm:     #faf8f4;
  --near-white:     #fefdfb;

  /* Functional Colors */
  --text-primary:   #293851;
  --text-body:      #3d4a5c;
  --text-muted:     rgba(41, 56, 81, 0.55);
  --text-light:     #f5f0e8;
  --border-light:   rgba(188, 190, 192, 0.4);
  --border-gold:    rgba(171, 146, 98, 0.35);

  /* Typography */
  --font-heading:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:      'Lato', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono:      'Courier New', Courier, monospace;

  /* Spacing Scale */
  --space-xs:       0.5rem;
  --space-sm:       1rem;
  --space-md:       1.5rem;
  --space-lg:       2.5rem;
  --space-xl:       4rem;
  --space-2xl:      6rem;
  --space-3xl:      8rem;

  /* Sizing */
  --container-max:  1100px;
  --container-narrow: 800px;
  --banner-height: 46px;
  --header-height:  106px;
  --border-radius:  4px;
  --border-radius-lg: 8px;

  /* Transitions */
  --ease-out:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out:    cubic-bezier(0.645, 0.045, 0.355, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-in-out);

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(41, 56, 81, 0.06);
  --shadow-md:      0 4px 16px rgba(41, 56, 81, 0.08);
  --shadow-lg:      0 8px 32px rgba(41, 56, 81, 0.12);
  --shadow-xl:      0 16px 48px rgba(41, 56, 81, 0.16);
  --shadow-gold:    0 4px 20px rgba(171, 146, 98, 0.2);
}


/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--near-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brown);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--navy);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: rgba(var(--brown-rgb), 0.2);
  color: var(--navy);
}


/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--space-xs);
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p {
  margin-bottom: 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

.label-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brown);
}

.small-caps {
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

.drop-cap::first-letter {
  font-family: var(--font-heading);
  font-size: 3.8em;
  float: left;
  line-height: 0.8;
  margin-right: 0.08em;
  margin-top: 0.05em;
  color: var(--brown);
  font-weight: 700;
}

.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-brown  { color: var(--brown); }
.text-green  { color: var(--green); }
.text-muted  { color: var(--text-muted); }
.text-cream  { color: var(--cream); }
.text-white  { color: #fff; }

.font-heading { font-family: var(--font-heading); }

.section-subtitle {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 1.1rem;
  text-align: center;
}


/* ------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

section {
  padding: var(--space-3xl) 0;
  position: relative;
  scroll-margin-top: 150px;
}

.section-cream      { background-color: var(--cream); }
.section-cream-dark { background-color: var(--cream-dark); }
.section-white      { background-color: var(--white-warm); }
.section-navy       { background-color: var(--navy); color: var(--cream); }
.section-navy h2,
.section-navy h3,
.section-navy h4    { color: var(--cream); }
.section-navy .label-text { color: var(--brown); }


/* ------------------------------------------------------------
   5. REVEAL ANIMATIONS
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* Gold Divider — animated width */
.gold-divider {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brown), transparent);
  margin: var(--space-md) auto;
  transition: width 1s var(--ease-in-out);
}

.gold-divider.revealed {
  width: 80px;
}

/* Heading letter-spacing animation */
.heading-animate {
  letter-spacing: 0.15em;
  transition: letter-spacing 0.8s var(--ease-in-out);
}

.heading-animate.revealed {
  letter-spacing: -0.01em;
}

/* Gold Underline — ::after width grows */
.gold-underline {
  position: relative;
  display: inline-block;
}

.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brown);
  transition: width 0.8s var(--ease-in-out) 0.3s;
}

.gold-underline.revealed::after {
  width: 60%;
}

/* Flourish — diamond with child divs for lines */
.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: var(--space-lg) auto;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.flourish.revealed {
  opacity: 1;
}

.flourish-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brown));
  transition: width 0.8s var(--ease-in-out) 0.3s;
}

.flourish-line:last-child {
  background: linear-gradient(90deg, var(--brown), transparent);
}

.flourish.revealed .flourish-line {
  width: 60px;
}

.flourish-diamond {
  width: 8px;
  height: 8px;
  background: var(--brown);
  transform: rotate(45deg);
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 14px 36px;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  line-height: 1.2;
}

.btn-gold {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}

.btn-gold:hover {
  background: transparent;
  color: var(--brown);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  color: #fff;
  border-color: var(--brown);
  background: var(--brown);
}

.btn-outline-dark {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}

.btn-outline-dark:hover {
  background: var(--brown);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: transparent;
  color: var(--navy);
}

.btn-large {
  padding: 18px 48px;
  font-size: 0.85rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.7rem;
}


/* ------------------------------------------------------------
   6b. EVENT ANNOUNCEMENT BANNER
   ------------------------------------------------------------ */

.has-banner .nav {
  /* top set dynamically by JS */
  margin-top: -1px;
}

.has-banner .hero {
  margin-top: calc(var(--header-height) + var(--banner-height));
}


.event-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--brown);
  text-align: center;
  transition: transform 0.3s ease;
}


.event-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 6px var(--space-md);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: background var(--transition-base);
}

.event-banner a:hover {
  background: rgba(0, 0, 0, 0.1);
}

.event-banner-cta {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .event-banner a {
    flex-direction: column;
    gap: 0;
    padding: 5px var(--space-sm);
    font-size: 0.7rem;
  }

  .event-banner-cta {
    font-size: 0.6rem;
  }

  :root {
    --banner-height: 42px;
  }
}


/* ------------------------------------------------------------
   7. HEADER & NAVIGATION
   ------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 3px 0;
  transition: all var(--transition-base);
  background: #fff;
  border-bottom: none;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  padding: 2px 0;
  box-shadow: 0 2px 20px rgba(41, 56, 81, 0.08);
  border-bottom-color: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  max-height: 100px;
  width: auto;
  transition: max-height var(--transition-base);
}

.nav.scrolled .nav-logo {
  max-height: 70px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-desktop a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--brown);
  transition: width var(--transition-base);
}

.nav-desktop a:hover {
  color: var(--brown);
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Nav CTA button */
.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.7rem;
  background: var(--brown);
  color: #fff !important;
  border: 2px solid var(--brown);
  border-radius: var(--border-radius);
  transition: all var(--transition-base) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: transparent;
  color: var(--brown) !important;
  box-shadow: var(--shadow-gold);
}

/* Hamburger / Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ------------------------------------------------------------
   8. MOBILE MENU
   ------------------------------------------------------------ */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: rgba(var(--navy-rgb), 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1005;
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-base);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

/* Mobile menu close button (X with two spans) */
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-close span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transition: background var(--transition-fast);
}

.mobile-menu-close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu-close:hover span {
  background: var(--brown);
}

/* Mobile menu links — direct child <a> elements */
.mobile-menu > a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.mobile-menu > a:first-of-type {
  margin-top: var(--space-xl);
}

.mobile-menu > a:hover {
  color: var(--brown);
  padding-left: 8px;
}

.mobile-menu-donate {
  margin-top: var(--space-lg) !important;
  align-self: center;
  background: var(--brown);
  color: #fff !important;
  text-align: center;
  border-radius: 50px;
  padding: 0.75rem 3rem !important;
  border-bottom: none !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.15em;
  width: auto;
  transition: background var(--transition-base), transform var(--transition-base);
}

.mobile-menu-donate:hover {
  background: #c4a872;
  padding-left: 3rem !important;
  transform: scale(1.03);
}

/* Body overlay when mobile menu is open */
body.mobile-menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1004;
  opacity: 0;
  animation: fadeIn 0.3s var(--ease-out) forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

body.mobile-menu-open {
  overflow: hidden;
}


/* ------------------------------------------------------------
   9. HERO SECTION
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 75vh;
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Background image layer (div with inline background-image) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
  z-index: 0;
  contain: layout style paint;
}

/* Overlay layer */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--navy-rgb), 0.65) 0%,
    rgba(var(--navy-rgb), 0.5) 40%,
    rgba(var(--navy-rgb), 0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: var(--space-xl) var(--space-md);
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--cream);
  margin-bottom: var(--space-sm);
  display: inline-block;
  background: rgba(var(--navy-rgb), 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 20px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}


.hero h1 {
  color: #fff;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

/* Hero buttons wrapper */
.hero-btns {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero button base */
.hero-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 14px 36px;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  line-height: 1.2;
}

.hero-btn-primary {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}

.hero-btn-primary:hover {
  background: transparent;
  color: var(--brown);
  box-shadow: var(--shadow-gold);
}

.hero-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-btn-secondary:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* Parallax decorative ornaments */
.hero-ornament {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  font-size: 2rem;
  color: rgba(var(--brown-rgb), 0.2);
}

.hero-ornament-1 {
  left: 12%;
  top: 30%;
}

.hero-ornament-2 {
  right: 10%;
  bottom: 25%;
}


/* ------------------------------------------------------------
   10. ABOUT SECTION
   ------------------------------------------------------------ */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.intro-text p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  padding: var(--space-md) 0 var(--space-md) var(--space-md);
  border-left: 3px solid var(--brown);
  margin: var(--space-md) 0;
}

.pull-quote blockquote {
  margin: 0;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  margin-top: var(--space-sm);
}

/* Stats counters */
.about-stats {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
}

.stat-item {
  text-align: center;
}

.counter {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stat-inline .stat-label {
  display: inline;
  margin-top: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}


/* ------------------------------------------------------------
   11. EVENTS SECTION
   ------------------------------------------------------------ */

.events {
  background-color: var(--navy);
  color: var(--cream);
}

.events h2,
.events h3,
.events h4 {
  color: var(--cream);
}

.events .label-text {
  color: var(--brown);
}

.events-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.event-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  display: flex;
  gap: var(--space-md);
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(var(--brown-rgb), 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Stacked date display */
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: var(--space-sm);
  background: rgba(var(--brown-rgb), 0.15);
  border-radius: var(--border-radius);
  flex-shrink: 0;
}

.event-month {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brown);
}

.event-day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.event-year {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.event-details {
  flex: 1;
}

.event-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

/* Event meta (time, location with inline SVGs) */
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.event-meta-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.event-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* Event buttons */
.event-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.event-btns .btn {
  font-size: 0.7rem;
  padding: 10px 22px;
}

/* Event charity beneficiary */
.event-charity {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.event-charity-logo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.event-charity-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.event-charity-logo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.event-charity-visit {
  font-size: 0.7rem;
  color: var(--brown);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.event-charity-visit:hover {
  color: var(--cream);
}

.event-charity-info {
  flex: 1;
}

.event-charity-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 4px;
}

.event-charity-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.event-charity-name a {
  color: var(--cream);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.event-charity-name a:hover {
  color: var(--brown);
}

.event-charity-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.events-charity-note {
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--space-lg);
}

/* Events venue info */
.events-venue {
  text-align: center;
  margin-top: var(--space-xl);
}

.venue-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.venue-text strong {
  color: rgba(255, 255, 255, 0.85);
}


/* ------------------------------------------------------------
   11b. KNOW BEFORE YOU GO
   ------------------------------------------------------------ */

.kbyg {
  margin-top: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: calc(70px + 42px + 4rem);
  border: 1px solid rgba(var(--brown-rgb), 0.3);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.04);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
}

.kbyg-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.kbyg-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.kbyg-ticket-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-lg);
}

.kbyg-ticket-note svg {
  flex-shrink: 0;
  color: var(--brown);
  margin-top: 2px;
}

.kbyg-ticket-note p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--cream);
  opacity: 0.85;
  margin: 0;
}

.kbyg-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kbyg-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kbyg-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.kbyg-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--cream);
  text-align: left;
  transition: color var(--transition-base);
}

.kbyg-question:hover {
  color: var(--brown);
}

.kbyg-icon-wrap {
  flex-shrink: 0;
  color: var(--brown);
  display: flex;
  align-items: center;
}

.kbyg-chevron {
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.kbyg-item.active .kbyg-chevron {
  transform: rotate(180deg);
}

.kbyg-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.kbyg-item.active .kbyg-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

.kbyg-answer p,
.kbyg-answer li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.85;
}

.kbyg-answer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kbyg-answer li {
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
}

.kbyg-answer li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--brown);
  border-radius: 50%;
}

.kbyg-answer p {
  margin: 0.5rem 0;
}

.kbyg-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem !important;
}

.kbyg-location svg {
  flex-shrink: 0;
  color: var(--brown);
}

.kbyg-venue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: var(--space-lg);
  text-align: center;
}

.kbyg-venue svg {
  flex-shrink: 0;
  color: var(--brown);
}

.venue-br,
.mobile-br-footer {
  display: none;
}

@media (max-width: 768px) {
  .venue-br {
    display: block;
  }
}

@media (max-width: 480px) {
  .mobile-br-footer {
    display: block;
  }
}

.kbyg-venue p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--cream);
  margin: 0;
}

.venue-address-link {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.venue-address-link:hover {
  color: var(--cream);
}

/* ------------------------------------------------------------
   12. HISTORY SECTION
   ------------------------------------------------------------ */

.history {
  background-color: var(--cream);
}

.history-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.history-image {
  margin-bottom: var(--space-xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 350px;
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.history-image-placeholder {
  width: 100%;
  height: 300px;
  background: var(--cream-dark);
  border: 2px dashed var(--border-light);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.history-text {
  font-size: 1.05rem;
  line-height: 1.85;
}

/* History sidebar with timeline milestones */
.history-sidebar {
  position: relative;
}

.history-milestone {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.history-milestone:last-child {
  border-bottom: none;
}

.history-sidebar-image {
  margin-top: var(--space-md);
  width: 100%;
  height: 200px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}
.history-sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

.milestone-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  min-width: 60px;
  flex-shrink: 0;
}

.milestone-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}


/* ------------------------------------------------------------
   12b. EVENT MAP MODAL
   ------------------------------------------------------------ */

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-modal.active {
  opacity: 1;
  visibility: visible;
  overscroll-behavior: contain;
}

.map-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  touch-action: none;
}

.map-modal-content {
  position: relative;
  max-width: 750px;
  max-height: 90vh;
}

.map-modal-content img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  touch-action: manipulation;
}

.map-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
  z-index: 1;
}

.map-modal-close:hover {
  background: var(--brown);
}

/* ------------------------------------------------------------
   13. GALLERY SECTION
   ------------------------------------------------------------ */

.gallery-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px 240px;
  gap: 12px;
}

/* Bento layout — featured large image + asymmetric wide accent */
.gallery-grid .gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-grid .gallery-item:nth-child(7) {
  grid-column: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Gallery overlay on hover */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(var(--navy-rgb), 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 2;
}

.gallery-item-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(8px);
  transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item-overlay span {
  transform: translateY(0);
}

/* Image Placeholders */
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e3d9 0%, #f2ede5 100%);
  border: 1px dashed rgba(var(--gray-rgb), 0.5);
  border-radius: var(--border-radius);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.3) 100%);
  pointer-events: none;
}

.placeholder-label {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-md);
  text-align: center;
  line-height: 1.6;
}

.placeholder-label small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(var(--navy-rgb), 0.4);
  margin-top: 4px;
}

/* Placeholder color variants */
.placeholder-warm {
  background: linear-gradient(135deg, #e8ddd0 0%, #f5efe6 100%);
}

.placeholder-cool {
  background: linear-gradient(135deg, #d8dee8 0%, #e8eef5 100%);
}

.placeholder-sage {
  background: linear-gradient(135deg, #dbe4d4 0%, #ecf2e6 100%);
}

.placeholder-earth {
  background: linear-gradient(135deg, #e8dfc8 0%, #f5f0e0 100%);
}

.placeholder-navy {
  background: linear-gradient(135deg, #d4d8e0 0%, #e0e4ec 100%);
}

.placeholder-brown {
  background: linear-gradient(135deg, #ddd5c8 0%, #ece6da 100%);
}

.placeholder-green {
  background: linear-gradient(135deg, #d5dece 0%, #e4ece0 100%);
}

.placeholder-sponsor {
  background: linear-gradient(135deg, #e8e3d9 0%, #f2ede5 100%);
}

/* Aspect ratio variants */
.img-placeholder--16x9 { aspect-ratio: 16 / 9; }
.img-placeholder--4x3  { aspect-ratio: 4 / 3; }
.img-placeholder--1x1  { aspect-ratio: 1 / 1; }
.img-placeholder--3x4  { aspect-ratio: 3 / 4; }


/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.75rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 2001;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: #fff;
}


/* ------------------------------------------------------------
   14. SPONSORS SECTION
   ------------------------------------------------------------ */

.sponsors {
  background-color: var(--cream-dark);
}

.sponsors-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.sponsors-grid .sponsor-card {
  flex: 0 1 calc(33.333% - var(--space-md));
}

.sponsor-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  aspect-ratio: 3 / 2;
  transition: all var(--transition-base);
}

.sponsor-card:hover {
  border-color: var(--brown);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sponsor-card img {
  max-height: 110px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-base);
}

.sponsor-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.sponsor-card-forged img {
  max-height: 150px;
}

.sponsors-hint {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
}
.sponsors-hint-mobile {
  display: none;
}
@media (max-width: 1023px) {
  .sponsors-hint-desktop { display: none; }
  .sponsors-hint-mobile { display: inline; }
}

.sponsors-cta {
  text-align: center;
  margin-top: var(--space-lg);
}


/* ------------------------------------------------------------
   15a. FAQ SECTION
   ------------------------------------------------------------ */

.faq {
  background-color: var(--white-warm);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(var(--brown-rgb), 0.2);
}

.faq-item:first-child {
  border-top: 1px solid rgba(var(--brown-rgb), 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  text-align: left;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--brown);
}

.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.85;
}

/* ------------------------------------------------------------
   15b. BOARD OF DIRECTORS SECTION
   ------------------------------------------------------------ */

.board {
  background-color: var(--cream);
}

.board-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.board-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.board-grid-top {
  margin-bottom: var(--space-lg);
}

.board-card {
  width: 250px;
  flex: 0 0 250px;
  text-align: center;
  padding: var(--space-lg);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.board-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--brown-rgb), 0.2);
}

.board-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  overflow: hidden;
  border: 3px solid var(--cream-dark);
  transition: border-color var(--transition-base);
}

.board-card:hover .board-photo {
  border-color: var(--brown);
}

.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Initials placeholder */
.board-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark) 0%, #ddd8cc 100%);
}

.board-silhouette {
  width: 55%;
  height: 55%;
  color: rgba(var(--navy-rgb), 0.2);
}

.board-name {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.board-card .board-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  min-height: 2.4em;
}

/* Board Bio Modal */
.board-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.board-modal.active {
  opacity: 1;
  visibility: visible;
}

.board-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.board-modal-content {
  background: var(--navy);
  color: var(--cream);
  max-width: 600px;
  width: 100%;
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  position: relative;
  z-index: 1;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-base);
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
}

.board-modal.active .board-modal-content {
  transform: translateY(0) scale(1);
}

.board-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.board-modal-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  transition: background var(--transition-fast);
}

.board-modal-close span:nth-child(1) {
  transform: rotate(45deg);
}

.board-modal-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.board-modal-close:hover span {
  background: var(--brown);
}

.board-modal-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  overflow: hidden;
  border: 3px solid rgba(var(--brown-rgb), 0.4);
  background: var(--cream-dark);
}

.board-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-modal-photo img[src*="elizabeth-lieberman"] {
  object-fit: contain;
  object-position: center calc(100% + 10px);
}

/* Image position utility classes */
.img-pos-riders-racing { object-position: center 75%; }
.img-pos-up { object-position: center calc(50% - 20px); }
.board-photo .img-pos-elizabeth { object-fit: contain; object-position: center calc(100% + 5px); }

.board-modal-name {
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.board-modal-title {
  text-align: center;
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  margin-bottom: var(--space-md);
}

.board-modal-bio {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}


/* ------------------------------------------------------------
   16. DONATE / TICKETS SECTION
   ------------------------------------------------------------ */

.donate {
  text-align: center;
  background: var(--white-warm);
  color: var(--text-body);
}

.donate h2,
.donate h3 {
  color: var(--navy);
}

.donate .label-text {
  color: var(--brown);
}

.donate .section-subtitle {
  color: var(--text-muted);
}

.donate .gold-divider {
  background: linear-gradient(90deg, transparent, var(--brown), transparent);
}

.donate-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.donate-btns {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.donate-btns .btn-large {
  min-width: 220px;
}

.donate-note {
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Ticketbud Inline Widget */
.ticketbud-widget .button.primary,
.ticketbud-widget button.primary {
  background-color: #293851 !important;
  border-color: #293851 !important;
  color: #fff !important;
}

.ticketbud-widget .button.primary:hover,
.ticketbud-widget button.primary:hover {
  background-color: #1e2c40 !important;
  border-color: #1e2c40 !important;
}

.ticketbud-widget {
  max-width: 700px;
  margin: var(--space-lg) auto;
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
}


/* ------------------------------------------------------------
   17. CONTACT SECTION
   ------------------------------------------------------------ */

.contact {
  background-color: var(--navy);
  color: var(--cream);
}

.contact h2 {
  color: #fff;
}

.contact .label-text {
  color: var(--brown);
}

.contact-subtitle {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form-display {
  max-width: 100%;
}

.form-row {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xs);
}

.form-field {
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
  outline: none;
  transition: border-color var(--transition-base);
}

.form-field:focus {
  border-bottom-color: var(--brown);
}

.form-field::placeholder {
  color: var(--gray);
  font-style: italic;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
  min-height: 1em;
}

/* Cloudflare Turnstile widget */
#turnstile-widget {
  display: flex;
  justify-content: center;
}

#turnstile-widget iframe {
  max-width: 100%;
}

@media (max-width: 400px) {
  #turnstile-widget {
    transform: scale(0.85);
    transform-origin: center;
  }
}

.form-submit {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 14px 48px;
  background: var(--brown);
  color: #fff;
  border: 2px solid var(--brown);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-base);
}

.form-submit:hover {
  background: transparent;
  color: var(--brown);
  box-shadow: var(--shadow-gold);
}

.form-success {
  text-align: center;
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(var(--green-rgb), 0.08);
  border-radius: var(--border-radius);
  color: var(--green);
}

.form-success svg {
  margin: 0 auto var(--space-xs);
  display: block;
  color: var(--green);
}

.form-success p {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.contact-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brown);
}

.contact-info-item a {
  color: var(--brown);
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* Contact social links */
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: var(--space-sm);
}


/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */

.footer {
  background-color: #fff;
  color: var(--text-body);
  padding: var(--space-md) 0 var(--space-sm);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.footer .container {
  text-align: center;
}

.footer .gold-divider {
  margin-bottom: var(--space-sm);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-xs);
}

.footer-logo {
  max-height: 100px;
  margin: 0 auto;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.footer-nonprofit {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-xs);
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brown);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-xs);
}

.footer-legal {
  margin-bottom: var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-light);
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--brown);
}

.footer-divider {
  display: inline-block;
  margin: 0 6px;
  color: var(--gray);
  font-size: 0.8rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.footer-credit {
  font-size: 0.75rem;
  color: var(--navy);
}

.footer-credit a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--brown);
}


/* ------------------------------------------------------------
   19. SOCIAL ICONS
   ------------------------------------------------------------ */

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--brown-rgb), 0.4);
  color: var(--brown);
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Light variant for dark backgrounds */
.footer-social .social-icon {
  border-color: var(--border-light);
  color: var(--navy);
  width: 36px;
  height: 36px;
}

.footer-social .social-icon:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}


/* ------------------------------------------------------------
   20. LEGAL PAGES
   ------------------------------------------------------------ */

.legal-page {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--space-lg)) var(--space-md) var(--space-xl);
}

.legal-page h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.25rem;
}

.legal-page .legal-effective {
  font-size: 0.85rem;
  color: var(--brown);
  margin-bottom: 1.5rem;
}

.legal-page .legal-section {
  margin: 0;
  padding: 0;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page h3 {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.8em;
}

.legal-page ul,
.legal-page ol {
  padding-left: var(--space-md);
}

.legal-page ul li {
  list-style: disc;
  margin-bottom: 0.5em;
}

.legal-page ol li {
  list-style: decimal;
  margin-bottom: 0.5em;
}

.legal-page a {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: var(--navy);
}

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  margin-bottom: var(--space-lg);
  text-decoration: none;
}

.back-to-home:hover {
  color: var(--navy);
}

.back-to-home svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.back-to-home:hover svg {
  transform: translateX(-3px);
}


/* ------------------------------------------------------------
   21. 404 PAGE
   ------------------------------------------------------------ */

.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  padding: var(--space-xl) var(--space-md);
}

.page-404-content {
  max-width: 500px;
}

.page-404 h1 {
  font-size: clamp(5rem, 12vw, 8rem);
  color: rgba(var(--brown-rgb), 0.15);
  line-height: 1;
  margin-bottom: var(--space-sm);
  animation: gentle404 3s var(--ease-in-out) infinite;
}

@keyframes gentle404 {
  0%, 100% { opacity: 0.8; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-5px); }
}

.page-404 h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.page-404 p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}


/* ------------------------------------------------------------
   22. MISCELLANEOUS COMPONENTS
   ------------------------------------------------------------ */

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--cream);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--brown);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* Decorative horizontal rule */
hr.fancy {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin: var(--space-xl) 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading state */
.skeleton {
  background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream) 50%, var(--cream-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ------------------------------------------------------------
   23. RESPONSIVE — 1440px (Large Desktops)
   ------------------------------------------------------------ */

@media (max-width: 1440px) {
  :root {
    --space-3xl: 7rem;
  }
}


/* ------------------------------------------------------------
   24. RESPONSIVE — 1024px (Hamburger Breakpoint)
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 4rem;
    --space-xl: 3rem;
  }

  /* Show hamburger, hide desktop nav */
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Gallery adjustments */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 220px 220px 200px 200px;
  }

  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .gallery-grid .gallery-item:nth-child(7) {
    grid-column: span 2;
  }

  /* Board grid */
  .board-card {
    flex: 0 1 calc(50% - var(--space-lg));
  }

  /* Sponsors */
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* History */
  .history-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .history-sidebar {
    order: -1;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-info {
    align-items: center;
    text-align: center;
  }

  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .contact-social {
    justify-content: center;
  }
}


/* ------------------------------------------------------------
   25. RESPONSIVE — 768px (Tablet)
   ------------------------------------------------------------ */

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
    --space-xl: 2.5rem;
    --space-lg: 2rem;
  }

  body {
    font-size: clamp(14px, 2vw, 16px);
  }

  /* About grid stacks */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .pull-quote {
    font-size: 1.2rem;
  }

  /* Stats */
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  /* Events */
  .events-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    gap: var(--space-xs);
    min-width: unset;
    padding: var(--space-xs) var(--space-sm);
    width: fit-content;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: clamp(240px, 42vw, 340px);
  }

  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: span 2;
  }

  .gallery-grid .gallery-item:nth-child(7) {
    grid-column: span 1;
  }

  /* Board */
  .board-grid {
    gap: var(--space-md);
  }

  .board-card {
    flex: 0 1 calc(50% - var(--space-md));
    padding: var(--space-md);
  }

  .board-photo {
    width: 100px;
    height: 100px;
  }



  /* Donate buttons stack */
  .donate-btns {
    flex-direction: column;
    align-items: center;
  }

  .donate-btns .btn-large {
    width: 100%;
    max-width: 300px;
  }

  /* Board modal */
  .board-modal-content {
    padding: var(--space-lg);
  }

  .board-modal-photo {
    width: 110px;
    height: 110px;
  }

  /* FAQ */
  .faq-question {
    font-size: 1rem;
    padding: 1rem 0;
  }

  .faq-list {
    max-width: 100%;
  }

  /* Know Before You Go */
  .kbyg {
    padding: var(--space-md);
  }

  .kbyg-title {
    font-size: 1.3rem;
  }

  .kbyg-question {
    font-size: 0.95rem;
    padding: 0.9rem 0;
  }

  .kbyg-ticket-note {
    padding: 0.75rem 1rem;
  }

  .kbyg-ticket-note p {
    font-size: 0.85rem;
  }

  .kbyg-venue p {
    font-size: 1rem;
  }

  /* Map modal */
  .map-modal-content {
    max-width: 95vw;
  }

  .map-modal-close {
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
  }

  /* Contact info centered on tablet + mobile */
  .contact-info {
    align-items: center;
    text-align: center;
  }

  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .contact-social {
    justify-content: center;
  }

  /* Sponsors - Forged logo */
  .sponsor-card-forged a {
    display: flex;
    justify-content: center;
  }

  .sponsor-card-forged img {
    max-width: 80%;
    max-height: 110px;
  }

  /* Nav — no shrink on mobile/tablet */
  .nav {
    padding: 2px 0;
  }

  .nav-logo {
    max-height: 70px;
    transition: none;
  }

  .nav.scrolled {
    padding: 2px 0;
  }

  .nav.scrolled .nav-logo {
    max-height: 70px;
  }

  /* Hero */
  .hero-ornament {
    display: none;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
  }
}


/* ------------------------------------------------------------
   26. RESPONSIVE — 600px (Small Tablet / Large Phone)
   ------------------------------------------------------------ */

@media (max-width: 600px) {
  :root {
    --space-3xl: 3rem;
    --space-2xl: 2.5rem;
  }

  /* Sponsors */
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .sponsor-card {
    min-height: 80px;
    padding: var(--space-sm);
  }

  /* Sponsors */
  .sponsor-card-forged a {
    display: flex;
    justify-content: center;
  }

  .sponsor-card-forged img {
    max-width: 75%;
    max-height: 100px;
  }

  /* Board */
  .board-card {
    flex: 0 1 100%;
    max-width: 380px;
  }

  /* Stats */
  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: clamp(240px, 42vw, 300px);
  }

  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: span 1;
  }

  /* Hero */
  .hero {
    min-height: 60vh;
  }

  /* Contact */
  .contact-form-display {
    max-width: 100%;
  }
}


/* ------------------------------------------------------------
   27. RESPONSIVE — 480px (Small Mobile)
   ------------------------------------------------------------ */

@media (max-width: 480px) {
  :root {
    --space-3xl: 2.5rem;
    --space-2xl: 2rem;
    --space-xl: 1.75rem;
    --space-lg: 1.5rem;
    --space-md: 1.25rem;
  }

  body {
    font-size: clamp(13px, 1.8vw, 15px);
  }

  .container,
  .container-narrow {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2.25rem); }
  h3 { font-size: clamp(1.2rem, 3.5vw, 1.5rem); }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  /* Gallery single column for very small */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: clamp(200px, 55vw, 280px);
  }

  .gallery-grid .gallery-item:nth-child(1),
  .gallery-grid .gallery-item:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Event cards */
  .event-card {
    padding: var(--space-md);
  }

  .event-btns {
    flex-direction: column;
  }

  .event-btns .btn {
    width: 100%;
    text-align: center;
  }

  /* Footer */
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-sm);
    justify-items: center;
    text-align: center;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Contact info centered + stacked on mobile */
  .contact-info {
    align-items: center;
    text-align: center;
  }
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .contact-info-item a {
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .contact-info-item svg {
    margin-top: 0;
  }
  .contact-social {
    justify-content: center;
  }

  /* Board modal full width */
  .board-modal-content {
    padding: var(--space-md);
    border-radius: 0;
    max-height: 100vh;
  }

  .board-modal-photo {
    width: 90px;
    height: 90px;
  }

  /* Hero buttons full width */
  .hero {
    min-height: 55vh;
  }

  .hero-label {
    font-size: 0.55rem;
    padding: 5px 14px;
    letter-spacing: 0.2em;
    line-height: 1.6;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
  }

  /* Event charity - stack on mobile */
  .event-charity {
    flex-direction: column;
    text-align: center;
  }

  .event-charity-logo-wrap {
    align-self: center;
  }

  .event-charity-info {
    text-align: center;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.95rem;
    padding: 0.85rem 0;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  /* Know Before You Go */
  .kbyg {
    padding: var(--space-sm) var(--space-sm) var(--space-xs);
  }

  .kbyg-title {
    font-size: 1.15rem;
  }

  .kbyg-question {
    font-size: 0.9rem;
    gap: 0.5rem;
    padding: 0.8rem 0;
  }

  .kbyg-icon-wrap svg {
    width: 16px;
    height: 16px;
  }

  .kbyg-chevron {
    width: 16px;
    height: 16px;
  }

  .kbyg-answer li,
  .kbyg-answer p {
    font-size: 0.85rem;
  }

  .kbyg-ticket-note {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
  }

  .kbyg-ticket-note p {
    font-size: 0.8rem;
  }

  .kbyg-venue {
    flex-direction: column;
    gap: 0.25rem;
  }

  .kbyg-venue p {
    font-size: 0.9rem;
  }

  .kbyg-bottom-ctas {
    flex-direction: column !important;
    align-items: center;
  }

  .kbyg-bottom-ctas .btn {
    width: 100%;
  }

  /* Map modal */
  .map-modal-content {
    max-width: 95vw;
    margin: 0 var(--space-xs);
  }

  .map-modal-close {
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  /* Footer legal */
  .footer-legal {
    width: 100%;
    white-space: nowrap;
  }

  .footer-legal a {
    font-size: 0.7rem;
  }

  .footer-divider {
    font-size: 0.7rem;
  }

  /* Contact centered */
  .contact-grid {
    text-align: center;
  }

  .form-label {
    text-align: left;
  }

  /* Board silhouette */
  .board-silhouette {
    width: 50%;
    height: 50%;
  }

  /* Sponsors */
  .sponsor-card-forged a {
    display: flex;
    justify-content: center;
  }

  .sponsor-card-forged img {
    max-width: 78%;
    max-height: 90px;
  }

  /* Touch-friendly tap targets */
  .nav-desktop a,
  .mobile-menu > a,
  .footer-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}


/* ------------------------------------------------------------
   28. PRINT STYLES
   ------------------------------------------------------------ */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .nav,
  .mobile-menu-btn,
  .mobile-menu,
  .scroll-top,
  .hero-ornament,
  .lightbox,
  .board-modal {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-bg,
  .hero-overlay {
    display: none;
  }

  .hero h1,
  .hero-subtitle {
    color: #000 !important;
  }

  section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }

  .container,
  .container-narrow {
    max-width: 100%;
    padding: 0 1rem;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }

  .btn,
  .hero-btn {
    border: 1px solid #000;
    padding: 4px 12px;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .gallery-grid .gallery-item:nth-child(1),
  .gallery-grid .gallery-item:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
  }

  .board-card {
    flex: 0 1 calc(33.333% - var(--space-lg));
  }

  .footer {
    padding: 1rem 0;
  }

  .footer-credit {
    font-size: 0.7rem;
  }
}


/* ------------------------------------------------------------
   29. REDUCED MOTION
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .gold-divider {
    width: 80px;
  }

  .heading-animate {
    letter-spacing: -0.01em;
  }

  .gold-underline::after {
    width: 60%;
  }
}
