/* ============================================================
   KAVANA — styles.css
   Karnataka Arya Vysya Association of North America

   Design System : Heritage Luxury
   Palette       : Deep Indigo · Saffron Gold · Ivory Cream
   Fonts         : Cormorant Garamond (headings) · DM Sans (body)
   Layout        : CSS Grid + Flexbox · Mobile-first responsive
   ============================================================ */


/* ============================================================
   0. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');


/* ============================================================
   1. DESIGN TOKENS — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {

  /* — Core Palette — */
  --clr-navy-950 : #940f0a;
  --clr-navy-900 : #ca0707;
  --clr-navy-800 : #6b0707;
  --clr-navy-700 : #660b1e;
  --clr-navy-600 : #420b14; 

  --clr-gold-300 : #f0cc7a;
  --clr-gold-400 : #e4b655;
  --clr-gold-500 : #c8962e;
  --clr-gold-600 : #b07f20;
  --clr-saffron  : #d97630;

  --clr-cream-50 : #fffdf8;
  --clr-cream-100: #fdf8ee;
  --clr-cream-200: #f7efda;

  --clr-white    : #ffffff;
  --clr-ink-900  : #1c1612;
  --clr-ink-700  : #3d342a;
  --clr-ink-500  : #6b5b4e;
  --clr-ink-300  : #a89788;

  /*  --clr-navy-950 : #080f1f;
  --clr-navy-900 : #0d1628;
  --clr-navy-800 : #152035;
  --clr-navy-700 : #1c2d4a;
  --clr-navy-600 : #243358; 


  /* — Semantic aliases — */
  --bg-page       : var(--clr-cream-50);
  --bg-section-alt: var(--clr-cream-100);
  --bg-dark       : var(--clr-navy-900);
  --bg-darker     : var(--clr-navy-950);

  --text-primary      : var(--clr-ink-900);
  --text-secondary    : var(--clr-ink-700);
  --text-muted        : var(--clr-ink-500);
  --text-light        : rgba(255,255,255,0.82);
  --text-light-muted  : rgba(255,255,255,0.52);

  --accent        : var(--clr-gold-500);
  --accent-light  : var(--clr-gold-400);
  --accent-lighter: var(--clr-gold-300);

  /* — Gradients — */
  --grad-gold : linear-gradient(135deg, var(--clr-gold-400) 0%, var(--clr-saffron) 100%);
  --grad-navy : linear-gradient(160deg, var(--clr-navy-900) 0%, var(--clr-navy-700) 100%);
  --grad-hero : linear-gradient(155deg,
                  var(--clr-navy-950) 0%,
                  var(--clr-navy-800) 50%,
                  #1e1608 100%);

  /* — Typography — */
  --font-display : 'Cormorant Garamond', 'Georgia', serif;
  --font-body    : 'DM Sans', 'Segoe UI', sans-serif;

  /* — Spacing scale — */
  --sp-1  : 0.25rem;
  --sp-2  : 0.5rem;
  --sp-3  : 0.75rem;
  --sp-4  : 1rem;
  --sp-5  : 1.25rem;
  --sp-6  : 1.5rem;
  --sp-8  : 2rem;
  --sp-10 : 2.5rem;
  --sp-12 : 3rem;
  --sp-16 : 4rem;
  --sp-20 : 5rem;
  --sp-24 : 6rem;
  --sp-32 : 8rem;

  /* — Layout — */
  --container-max : 1180px;
  --container-pad : clamp(1.25rem, 5vw, 3rem);

  /* — Radii — */
  --radius-sm  : 4px;
  --radius-md  : 10px;
  --radius-lg  : 18px;
  --radius-xl  : 28px;
  --radius-pill: 999px;

  /* — Shadows — */
  --shadow-sm      : 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md      : 0 6px 24px rgba(0,0,0,0.11);
  --shadow-lg      : 0 16px 48px rgba(0,0,0,0.16);
  --shadow-xl      : 0 28px 72px rgba(0,0,0,0.22);
  --shadow-gold    : 0 8px 28px rgba(200,150,46,0.30);
  --shadow-gold-lg : 0 16px 48px rgba(200,150,46,0.36);

  /* — Transitions — */
  --ease-out : cubic-bezier(0.16, 1, 0.3, 1);
  --ease     : cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast : 180ms;
  --dur-base : 300ms;
  --dur-slow : 500ms;

  /* — Nav height — */
  --nav-h: 76px;
}


/* ============================================================
   2. RESET & GLOBAL BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); border: none; background: none; cursor: pointer; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5rem);   font-weight: 700; }
h2 { font-size: clamp(2rem,    4.5vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 2rem);   }
h4 { font-size: 1.25rem; }

p {
  font-size: clamp(0.875rem, 1.1vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.78;
}

strong { font-weight: 600; color: var(--text-primary); }
em     { font-style: italic; color: var(--accent); }

/* Eyebrow / tag label */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Utility: decorative underline on headings */
.u-underline { position: relative; display: inline-block; }
.u-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 56px; height: 3px;
  background: var(--grad-gold);
  border-radius: var(--radius-pill);
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-pad {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-32));
}

/* Reusable section header */
.section-header            { margin-bottom: clamp(var(--sp-12), 5vw, var(--sp-20)); }
.section-header .label     { margin-bottom: var(--sp-3); }
.section-header h2         { margin-bottom: var(--sp-4); }
.section-header p          { max-width: 58ch; }
.section-header.centered   { text-align: center; }
.section-header.centered p { margin-inline: auto; }

/* Light text helpers for dark backgrounds */
.on-dark h2, .on-dark h3, .on-dark h4 { color: var(--clr-white); }
.on-dark p                              { color: var(--text-light-muted); }
.on-dark .label                         { color: var(--accent-light); }


/* ============================================================
   5. BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72em 1.8em;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background   var(--dur-base) var(--ease),
    color        var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    box-shadow   var(--dur-base) var(--ease),
    transform    var(--dur-fast) var(--ease-out),
    filter       var(--dur-base) var(--ease);
}

/* Sheen overlay on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
.btn:hover::before { opacity: 1; }
.btn:active        { transform: translateY(1px) !important; }

/* — Filled gold (primary) — */
.btn-primary {
  background: var(--grad-gold);
  color: var(--clr-white);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-lg);
  filter: brightness(1.06);
}

/* — Outlined on dark — */
.btn-outline-light {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-3px);
}

/* — Outlined gold on light — */
.btn-outline-gold {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-gold:hover {
  background: var(--grad-gold);
  color: var(--clr-white);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

/* — Text link — */
.btn-text {
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
  border: none;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
  letter-spacing: 0;
}
.btn-text:hover { border-color: var(--accent); }

/* Sizes */
.btn-sm { padding: 0.52em 1.3em; font-size: 0.72rem; }
.btn-lg { padding: 0.92em 2.4em; font-size: 1rem;    }


/* ============================================================
   6. STICKY NAVIGATION BAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition:
    background  var(--dur-slow) var(--ease),
    box-shadow  var(--dur-slow) var(--ease);
}

/* Applied by JS on scroll */
.site-header.is-scrolled {
  background: rgba(8, 15, 31, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(200,150,46,0.18),
    0 8px 32px rgba(0,0,0,0.28);
}

/* Inner flex row */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-8);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav-logo__emblem {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
  transition: box-shadow var(--dur-base) var(--ease);
}
.nav-logo:hover .nav-logo__emblem {
  box-shadow: 0 0 0 4px rgba(200,150,46,0.20);
}

.nav-logo__text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-white);
  line-height: 1;
}
.nav-logo__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 2px;
}

/* ── Desktop nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--dur-base) var(--ease);
}

/* Animated underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--grad-gold);
  border-radius: var(--radius-pill);
  transition:
    width var(--dur-base) var(--ease-out),
    left  var(--dur-base) var(--ease-out);
}
.nav-link:hover         { color: var(--accent-lighter); }
.nav-link:hover::after  { width: calc(100% - 2rem); left: 1rem; }
.nav-link.active-link   { color: var(--accent-lighter); }
.nav-link.active-link::after { width: calc(100% - 2rem); left: 1rem; }

/* CTA pill */
.nav-cta {
  margin-left: var(--sp-4);
  background: var(--grad-gold);
  color: var(--clr-white) !important;
  padding: 0.55em 1.4em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  transition:
    box-shadow var(--dur-base) var(--ease),
    transform  var(--dur-fast) var(--ease-out),
    filter     var(--dur-base) var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover  {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
  filter: brightness(1.06);
}

/* ── Hamburger button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    border-color var(--dur-base) var(--ease),
    background   var(--dur-base) var(--ease);
  flex-shrink: 0;
  z-index: 1100;
}
.nav-toggle:hover {
  border-color: var(--accent);
  background: rgba(200,150,46,0.08);
}

.nav-toggle__bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--clr-white);
  border-radius: var(--radius-pill);
  transform-origin: center;
  transition:
    transform var(--dur-base) var(--ease),
    opacity   var(--dur-base) var(--ease);
}

/* X state — toggled via aria-expanded by JS */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   7. MOBILE MENU DRAWER
   ============================================================ */
@media (max-width: 860px) {

  .nav-toggle { display: flex; }

  .nav-links {
    /* Full-viewport slide-in drawer */
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sp-3);
    background: rgba(8, 15, 31, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    /* Hidden: slid off-screen right */
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--dur-slow) var(--ease-out),
      opacity   var(--dur-slow) var(--ease);
    z-index: 1050;
  }

  /* JS adds this class to open the drawer */
  .nav-links.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
  }

  /* Large display-style links inside drawer */
  .nav-link {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    padding: var(--sp-3) var(--sp-6);
    letter-spacing: 0.04em;

    /* Staggered reveal (delay set by JS via CSS var --delay) */
    opacity: 0;
    transform: translateY(24px);
    transition:
      color     var(--dur-base) var(--ease),
      opacity   var(--dur-slow) var(--ease-out),
      transform var(--dur-slow) var(--ease-out);
    transition-delay: var(--delay, 0ms);
  }
  .nav-links.is-open .nav-link { opacity: 1; transform: translateY(0); }

  .nav-link::after { display: none; }
  .nav-link:hover  { color: var(--accent-light); }

  /* CTA inside drawer */
  .nav-cta {
    margin: var(--sp-4) 0 0;
    font-size: 1rem !important;
    font-family: var(--font-body) !important;
    padding: 0.8em 2.8em !important;
    font-weight: 600 !important;
  }
}


/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--sp-24);
  background: var(--grad-hero);
  overflow: hidden;
}

/* Ambient colour wash */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(200,150,46,0.17) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(217,118,48,0.12) 0%, transparent 55%);
  pointer-events: none;
}

/* Fine lattice texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient( 45deg, rgba(200,150,46,0.035) 0, rgba(200,150,46,0.035) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(200,150,46,0.035) 0, rgba(200,150,46,0.035) 1px, transparent 0, transparent 50%);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  text-align: center;  
  display: flex;     
  flex-direction: column;  
  align-items: center;  
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  animation: fadeSlideUp 0.8s var(--ease-out) both;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--accent);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.hero__eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--accent);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.hero__heading {
  font-size: clamp(3rem, 7.5vw, 5.6rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.08;
  margin-bottom: var(--sp-6);
  animation: fadeSlideUp 0.8s 0.12s var(--ease-out) both;
}
.hero__heading em { color: var(--accent-light); font-style: italic; }

.hero__body {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.68);
  max-width: 52ch;
  line-height: 1.8;
  margin-bottom: var(--sp-10);
  animation: fadeSlideUp 0.8s 0.22s var(--ease-out) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  animation: fadeSlideUp 0.8s 0.32s var(--ease-out) both;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: var(--container-pad);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  color: rgba(255,255,255,0.38);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: fadeSlideUp 1s 0.7s var(--ease-out) both;
}
.hero__scroll-line {
  width: 52px; height: 1px;
  background: linear-gradient(90deg, rgba(200,150,46,0.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; width: 36px; }
  50%       { opacity: 1;   width: 60px; }
}


/* ============================================================
   9. STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--clr-navy-900);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid rgba(200,150,46,0.14);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);

  /* scroll-reveal defaults */
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.stat-item:last-child { border-right: none; }
.stat-item.is-visible { opacity: 1; transform: translateY(0); }
.stat-item:nth-child(1) { transition-delay:   0ms; }
.stat-item:nth-child(2) { transition-delay:  80ms; }
.stat-item:nth-child(3) { transition-delay: 160ms; }
.stat-item:nth-child(4) { transition-delay: 240ms; }

.stat-item__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-item__number sup {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--accent);
}

.stat-item__label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  margin: 0;
  line-height: 1.5;
}


/* ============================================================
   10. ABOUT SECTION
   ============================================================ */
.about {
  background: var(--bg-page);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: center;
}

/* Left decorative column */
.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.9) translateX(-20px);
  transition:
    opacity   0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.about__visual.is-visible { opacity: 1; transform: scale(1) translateX(0); }

.about__ornament {
  position: relative;
  width: clamp(240px, 30vw, 340px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(200,150,46,0.3);
}
.about__ring--outer { animation: spin 32s linear infinite;         border-style: dashed; }
.about__ring--mid   { inset: 22px; animation: spin 22s linear infinite reverse; }
.about__ring--inner { inset: 52px; border-color: rgba(200,150,46,0.6); }

.about__glyph {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  user-select: none;
  text-shadow: 0 4px 40px rgba(200,150,46,0.20);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Floating accent squares */
.about__deco-a,
.about__deco-b {
  position: absolute;
  border-radius: var(--radius-md);
  background: var(--grad-gold);
  opacity: 0.12;
}
.about__deco-a { width: 80px; height: 80px; top: 0;     right: -20px; transform: rotate(24deg);  }
.about__deco-b { width: 50px; height: 50px; bottom: 10px; left: -14px; transform: rotate(-18deg); }

/* Right content column */
.about__content {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity   0.7s 0.15s var(--ease-out),
    transform 0.7s 0.15s var(--ease-out);
}
.about__content.is-visible { opacity: 1; transform: translateY(0); }
.about__content .label     { margin-bottom: var(--sp-3); }
.about__content h2         { margin-bottom: var(--sp-6); }

/* Italic pull-quote style intro */
.about__lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: var(--sp-5);
  border-left: 3px solid var(--accent);
  padding-left: var(--sp-5);
}
.about__content p { margin-bottom: var(--sp-4); }

/* Value pillars */
.about__pillars {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.pillar {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5) var(--sp-6);
  background: var(--clr-cream-100);
  border: 1px solid var(--clr-cream-200);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  transition:
    box-shadow var(--dur-base) var(--ease),
    opacity    0.5s var(--ease-out),
    transform  0.5s var(--ease-out);

  opacity: 0;
  transform: translateX(-16px);
}
.pillar.is-visible { opacity: 1; transform: translateX(0); }
.pillar:nth-child(1) { transition-delay: 0.05s; }
.pillar:nth-child(2) { transition-delay: 0.15s; }
.pillar:nth-child(3) { transition-delay: 0.25s; }
.pillar:hover { box-shadow: var(--shadow-md); }

.pillar__icon  { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.pillar__title { display: block; font-weight: 600; color: var(--text-primary); font-size: 1rem; margin-bottom: 2px; }
.pillar p      { font-size: 0.875rem; margin: 0; }


/* ============================================================
   11. EVENTS SECTION
   ============================================================ */
.events { background: var(--bg-section-alt); }

.events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--sp-6);
}

/* ── Event Card ── */
.event-card {
  display: flex;
  gap: var(--sp-5);
  background: var(--clr-gold-300);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  border: 1px solid rgba(200,150,46,0.10);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition:
    transform   var(--dur-base) var(--ease-out),
    box-shadow  var(--dur-base) var(--ease),
    opacity     var(--dur-slow) var(--ease-out);

  opacity: 1;
  transform: translateY(22px);
}
.event-card.is-visible { opacity: 1; transform: translateY(0); }
.event-card:nth-child(1) { transition-delay:   0ms; }
.event-card:nth-child(2) { transition-delay:  80ms; }
.event-card:nth-child(3) { transition-delay: 160ms; }
.event-card:nth-child(4) { transition-delay: 240ms; }

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Gold line reveal on hover */
.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.event-card:hover::before { transform: scaleX(1); }

/* Featured — dark navy card */
.event-card--featured {
  grid-column: 1 / -1;
  background: var(--grad-navy);
  border-color: rgba(200,150,46,0.25);
  box-shadow: var(--shadow-lg);
}
.event-card--featured .event-card__title { color: var(--clr-white); }
.event-card--featured .event-card__cat   { color: var(--accent-light); }
.event-card--featured .event-card__body  { color: var(--text-light); }
.event-card--featured .event-card__loc   { color: var(--text-light); }
.event-card--featured .event-card__date  {
  background: rgba(200,150,46,0.12);
  border-color: rgba(200,150,46,0.35);
}
.event-card--featured .event-card__month { color: var(--accent-light); }
.event-card--featured .event-card__day   { color: var(--clr-white); }

/* Badge */
.event-card__badge {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  background: var(--grad-gold);
  color: var(--clr-navy-600);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28em 0.9em;
  border-radius: var(--radius-pill);
}

/* Date block */
.event-card__date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px; min-height: 70px;
  border: 1.5px solid var(--clr-cream-200);
  border-radius: var(--radius-md);
  background: var(--clr-cream-100);
  text-align: center;
  padding: var(--sp-2);
  gap: 2px;
}
.event-card__month {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}
.event-card__day {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-navy-800);
  line-height: 1;
}

/* Card content */
.event-card__body-wrap { flex: 1; min-width: 0; }

.event-card__cat {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rrgba(214, 179, 24, 0.25);
  margin-bottom: var(--sp-2);
}
.event-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: var(--sp-2);
}
.event-card__body {
  font-size: 0.875rem;
  color: var(--clr-navy-900);
  margin-bottom: var(--sp-3);
  line-height: 1.6;
}
.event-card__loc {  
  font-size: 0.75rem;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

/* Events footer note */
.events__footer {
  margin-top: var(--sp-10);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-primary);
}


/* ============================================================
   12. MEMBERSHIP SECTION
   ============================================================ */
.membership {
  position: relative;
  background: var(--grad-navy);
  overflow: hidden;
}

/* Ambient glows */
.membership::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 95%  5%, rgba(200,150,46,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at  5% 95%, rgba(200,150,46,0.09) 0%, transparent 50%);
  pointer-events: none;
}

.membership__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Tier Card ── */
.tier-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,150,46,0.18);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform     var(--dur-base) var(--ease-out),
    box-shadow    var(--dur-base) var(--ease),
    border-color  var(--dur-base) var(--ease),
    opacity       var(--dur-slow) var(--ease-out);

  opacity: 0;
  transform: translateY(28px);
}
.tier-card.is-visible { opacity: 1; transform: translateY(0); }
.tier-card:nth-child(1) { transition-delay:   0ms; }
.tier-card:nth-child(2) { transition-delay: 100ms; }
.tier-card:nth-child(3) { transition-delay: 200ms; }

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.35);
  border-color: rgba(200,150,46,0.40);
}

/* Featured — lifted with gold border */
.tier-card--featured {
  border-color: var(--accent);
  background: rgba(200,150,46,0.07);
  box-shadow: 0 0 0 1px rgba(200,150,46,0.4), var(--shadow-xl);
  transform: translateY(-12px);
}
.tier-card--featured.is-visible { transform: translateY(-12px); }
.tier-card--featured:hover       { transform: translateY(-18px); }

/* Badge */
.tier-card__badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: var(--clr-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35em 1.4em;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  white-space: nowrap;
}

.tier-card__icon   { font-size: 2rem; display: block; margin-bottom: var(--sp-4); }
.tier-card__name   {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.tier-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-6);
}
.tier-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}
.tier-card__period { font-size: 0.875rem; color: rgba(255,255,255,0.45); }

/* Perk list */
.tier-card__perks {
  text-align: left;
  margin-bottom: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.tier-card__perks li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.5;
}
.tier-card__perks li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.membership__note {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-12);
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.30);
  max-width: 64ch;
  margin-inline: auto;
}


/* ============================================================
   13. FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-navy-950);
  padding-top: var(--sp-20);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  gap: clamp(var(--sp-8), 4vw, var(--sp-16));
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand column */
.footer__brand .nav-logo { margin-bottom: var(--sp-5); }
.footer__tagline {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
  line-height: 1.7;
}
.footer__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.85;
}

/* Column headings */
.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
}

/* Nav links */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  display: inline-block;
  transition:
    color        var(--dur-base) var(--ease),
    padding-left var(--dur-base) var(--ease);
}
.footer__links a:hover { color: var(--accent-light); padding-left: var(--sp-2); }

/* Contact items */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
}
.footer__contact-item .icon { color: var(--accent); flex-shrink: 0; }
.footer__contact-item a { transition: color var(--dur-base) var(--ease); }
.footer__contact-item a:hover { color: var(--accent-light); }

/* Social buttons */
.footer__social { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--dur-base) var(--ease);
}
.social-btn:hover {
  background: var(--grad-gold);
  border-color: transparent;
  color: var(--clr-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* Bottom bar */
.footer__bottom {
  padding-block: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.footer__bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.24);
  margin: 0;
  line-height: 1.8;
}


/* ============================================================
   14. GENERIC SCROLL-REVEAL
   (JS adds .is-visible; elements opt in with class="reveal")
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity   0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   15. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── Large tablets / small desktops ── */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { display: none; }

  .membership__tiers {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .tier-card--featured         { transform: none; }
  .tier-card--featured.is-visible { transform: none; }
  .tier-card--featured:hover   { transform: translateY(-6px); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Tablets ── */
@media (max-width: 768px) {
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .events__grid { grid-template-columns: 1fr; }
  .event-card--featured { grid-column: auto; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ── Mobile phones ── */
@media (max-width: 480px) {
  :root { --nav-h: 68px; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .event-card { flex-direction: column; }
  .event-card__date {
    width: 100%;
    flex-direction: row;
    min-height: auto;
    padding: var(--sp-3) var(--sp-5);
  }
  .event-card__day { font-size: 1.4rem; }
}


/* ============================================================
   16. PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .hero__scroll,
  .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  a[href]::after { content: ' (' attr(href) ')'; }
}
/* ═══════════════════════════════════════
   ABOUT US OVERRIDES (Color & Visibility Fix)
═══════════════════════════════════════ */
.about {
  /* Force a light background just in case */
  background-color: #ffffff; 
  /* Force the default text color to your dark navy */
  color: var(--clr-navy-900, #0d1628); 
}

.about__content h2,
.about__content p,
.about__content strong,
.pillar__title,
.pillar p {
  /* Ensure headings and paragraphs don't inherit white */
  color: var(--clr-navy-900, #0d1628) !important;
}

/* Failsafe: Just in case the animation is still hiding it */
.about__content.is-visible,
.about__visual.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* 🚨 ULTIMATE FAILSAFE FOR ABOUT US 🚨 */

/* 1. Force the section to ignore the broken JS animation */
.about__content, 
.about-content,
.about__visual, 
.about-visual,
.pillar {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* 2. Force the background to be light */
.about {
  background-color: #fdf8ee !important; 
}

/* 3. Force all text inside to be Dark Navy (overriding the white) */
.about h2, 
.about p, 
.about strong, 
.about .label,
.pillar__title {
  color: #0d1628 !important; 
}

/* Keep the gold underline accent gold */
.about .u-underline::after {
  background: linear-gradient(135deg, #e4b655 0%, #d97630 100%) !important;
}