/* ==========================================================================
   Sherman Oaks 100 — Centennial Site Styles
   --------------------------------------------------------------------------
   A single, premium stylesheet for a static, GitHub Pages-friendly site.
   Edit design tokens in the :root block to retheme the whole site.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Oak greens — sourced from California live oak canopy */
  --oak-950: #0e2620;
  --oak-900: #14322a;
  --oak-800: #1c4536;
  --oak-700: #265a47;
  --oak-600: #2f6e57;
  --oak-500: #3d8a6c;
  --oak-400: #5fa888;
  --oak-300: #8cc4ab;

  /* Centennial gold — warm, civic, ceremonial */
  --gold-800: #806524;
  --gold-700: #a0832f;
  --gold-600: #b8923f;
  --gold-500: #c9a55a;
  --gold-400: #d4b572;
  --gold-300: #e3c98f;
  --gold-200: #ecd9ae;

  /* Cream / paper / parchment */
  --cream-50:  #fefcf6;
  --cream-100: #faf4e2;
  --cream-200: #f3ebd1;
  --cream-300: #e8dcb8;

  /* Ink */
  --ink-950: #0a1814;
  --ink-900: #11211b;
  --ink-800: #1a2e25;
  --ink-700: #2a3d34;
  --ink-500: #506159;
  --ink-400: #6e7c75;
  --ink-300: #97a39d;
  --ink-200: #c1c9c4;
  --ink-100: #e3e7e5;

  /* Functional aliases */
  --bg:        var(--cream-50);
  --bg-alt:    var(--cream-100);
  --bg-deep:   var(--oak-900);
  --fg:        var(--ink-900);
  --fg-muted:  var(--ink-500);
  --fg-soft:   var(--ink-400);
  --border:    rgba(20, 50, 42, 0.10);
  --border-strong: rgba(20, 50, 42, 0.18);
  --accent:    var(--gold-600);
  --accent-soft: var(--gold-300);
  --primary:   var(--oak-700);
  --primary-deep: var(--oak-900);
  --primary-soft: var(--oak-300);

  /* Type families */
  --font-display: "Fraunces", "Cormorant Garamond", "Playfair Display",
                  Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
                  Consolas, monospace;

  /* Fluid type scale */
  --step--2: clamp(0.78rem, 0.74rem + 0.12vw, 0.85rem);
  --step--1: clamp(0.875rem, 0.83rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.3vw, 1.28rem);
  --step-2:  clamp(1.35rem, 1.25rem + 0.5vw, 1.6rem);
  --step-3:  clamp(1.6rem, 1.4rem + 0.8vw, 2.1rem);
  --step-4:  clamp(2rem, 1.65rem + 1.4vw, 3rem);
  --step-5:  clamp(2.5rem, 1.9rem + 2.4vw, 4.25rem);
  --step-6:  clamp(3rem, 2.2rem + 3.2vw, 5.5rem);

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;

  /* Layout widths */
  --container:        1200px;
  --container-narrow: 840px;
  --container-wide:   1400px;

  /* Radii */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   36px;
  --r-full: 999px;

  /* Shadows — soft, paper-like */
  --shadow-xs: 0 1px 2px rgba(20, 50, 42, 0.05);
  --shadow-sm: 0 1px 2px rgba(20, 50, 42, 0.05),
               0 2px 6px rgba(20, 50, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 50, 42, 0.08),
               0 14px 36px rgba(20, 50, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 50, 42, 0.12),
               0 36px 90px rgba(20, 50, 42, 0.10);
  --shadow-glow: 0 0 0 1px rgba(184, 146, 63, 0.30),
                 0 12px 40px rgba(184, 146, 63, 0.18);

  /* Motion */
  --t-fast: 150ms ease;
  --t-base: 260ms ease;
  --t-slow: 500ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Z-index */
  --z-base:    1;
  --z-raised:  10;
  --z-sticky:  50;
  --z-overlay: 100;
  --z-modal:   200;
}


/* --------------------------------------------------------------------------
   2. Base / Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  background-image:
    radial-gradient(at 15% -10%, rgba(184, 146, 63, 0.06) 0%, transparent 50%),
    radial-gradient(at 95% 5%,  rgba(38, 90, 71, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  font-feature-settings: "ss01", "ss02", "cv01", "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--primary-deep);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}

h1 { font-size: var(--step-5); font-weight: 500; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }
h5 { font-size: var(--step-1); }
h6 { font-size: var(--step-0); letter-spacing: 0.05em; text-transform: uppercase; }

p {
  margin: 0 0 var(--space-4);
  max-width: 70ch;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(38, 90, 71, 0.35);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: 1.25rem;
}

::selection {
  background: var(--gold-300);
  color: var(--ink-900);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--ink-900);
  color: var(--cream-50);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  z-index: var(--z-modal);
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
}


/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 clamp(1rem, 4vw, 2rem);
  margin: 0 auto;
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.section--tight { padding: clamp(2rem, 5vw, 4rem) 0; }
.section--hero  { padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem); }
.section--alt   { background: var(--bg-alt); }
.section--deep  {
  background: linear-gradient(180deg, var(--oak-900) 0%, var(--oak-800) 100%);
  color: var(--cream-100);
}
.section--deep h1,
.section--deep h2,
.section--deep h3,
.section--deep h4 { color: var(--cream-50); }
.section--deep a:not(.btn) { color: var(--gold-300); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.flow > * + * { margin-top: var(--space-4); }
.flow-lg > * + * { margin-top: var(--space-6); }

.center { text-align: center; }
.eyebrow-row { display: flex; justify-content: center; }


/* --------------------------------------------------------------------------
   4. Typographic accents
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: 0.7;
}
.eyebrow--center::before,
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.display em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.lede {
  font-size: var(--step-2);
  line-height: 1.45;
  color: var(--ink-700);
  font-family: var(--font-display);
  font-weight: 400;
  max-width: 60ch;
}

.subtle {
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.divider {
  display: block;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: var(--space-6) 0;
}
.divider--gold {
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}


/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: transform var(--t-fast), box-shadow var(--t-base),
              background var(--t-base), color var(--t-base),
              border-color var(--t-base);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--oak-800);
  color: var(--cream-50);
  border-color: var(--oak-800);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--oak-700);
  border-color: var(--oak-700);
  color: var(--cream-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--gold-600);
  color: var(--ink-900);
  border-color: var(--gold-600);
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--ink-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--primary-deep);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--oak-900);
  color: var(--cream-50);
  border-color: var(--oak-900);
}

.btn--ghost-light {
  background: transparent;
  color: var(--cream-50);
  border-color: rgba(255, 255, 255, 0.30);
}
.btn--ghost-light:hover {
  background: var(--cream-50);
  color: var(--oak-900);
  border-color: var(--cream-50);
}

.btn--small {
  padding: 0.55rem 1.1rem;
  font-size: var(--step--1);
}

.btn--icon::after {
  content: "→";
  display: inline-block;
  transition: transform var(--t-fast);
}
.btn--icon:hover::after {
  transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   6. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(254, 252, 246, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(254, 252, 246, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--primary-deep); }
.brand__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__text small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__menu a:hover {
  color: var(--primary-deep);
  background: rgba(38, 90, 71, 0.06);
}
.nav__menu a[aria-current="page"] {
  color: var(--primary-deep);
  background: rgba(184, 146, 63, 0.14);
}

.nav__cta {
  display: inline-flex;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary-deep);
}
.nav__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav__toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 960px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav--open .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream-50);
    border-top: 1px solid var(--border);
    padding: var(--space-4) clamp(1rem, 4vw, 2rem) var(--space-6);
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav--open .nav__menu a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--r-md);
  }
  .nav--open .nav__cta {
    display: flex;
    margin-top: var(--space-3);
  }
  .nav--open .nav__cta .btn { width: 100%; }
}


/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(at 80% 0%, rgba(184, 146, 63, 0.16) 0%, transparent 55%),
    radial-gradient(at 5% 100%, rgba(38, 90, 71, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.10;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><path fill='none' stroke='%23265a47' stroke-width='1' d='M0 60 Q30 30 60 60 T120 60 M0 30 Q30 0 60 30 T120 30 M0 90 Q30 60 60 90 T120 90'/></svg>");
  background-size: 220px 220px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero__title {
  font-size: var(--step-6);
  font-weight: 400;
  margin-bottom: var(--space-5);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--ink-700);
  margin-bottom: var(--space-6);
  max-width: 36ch;
  line-height: 1.4;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__meta {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-6);
  font-size: var(--step--1);
  color: var(--fg-muted);
}
.hero__meta dt {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.72rem;
}
.hero__meta dd {
  margin: 0.15rem 0 0;
  color: var(--ink-800);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hero__seal-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__seal {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 22px 40px rgba(20, 50, 42, 0.18));
  animation: sealFloat 9s ease-in-out infinite;
}
@keyframes sealFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}


/* --------------------------------------------------------------------------
   8. Section headings
   -------------------------------------------------------------------------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-7);
}
.section-head--left { text-align: left; margin-left: 0; }
.section-head__title {
  font-size: var(--step-4);
  margin-bottom: var(--space-3);
}
.section-head__sub {
  font-size: var(--step-1);
  color: var(--fg-muted);
  max-width: 60ch;
  margin: 0 auto;
}
.section-head--left .section-head__sub { margin: 0; }


/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base),
              border-color var(--t-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}
.card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.card__title {
  font-size: var(--step-2);
  margin: 0;
  font-weight: 500;
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.88rem;
  color: var(--fg-muted);
}
.card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card__body {
  color: var(--ink-700);
  font-size: 0.97rem;
  line-height: 1.6;
}
.card__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
}
.card a.card__link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-size: 0.92rem;
}
.card a.card__link:hover { color: var(--accent); }


/* Event card with date badge */
.event-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-5);
  align-items: start;
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  transition: transform var(--t-base), box-shadow var(--t-base),
              border-color var(--t-base);
  box-shadow: var(--shadow-sm);
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}
.event-card__date {
  background: linear-gradient(180deg, var(--oak-800), var(--oak-900));
  color: var(--cream-50);
  border-radius: var(--r-md);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  position: relative;
}
.event-card__date::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(212, 181, 114, 0.30);
  border-radius: calc(var(--r-md) - 4px);
  pointer-events: none;
}
.event-card__date strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--gold-300);
  font-weight: 500;
}
.event-card__date span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.event-card__body { display: flex; flex-direction: column; gap: 0.4rem; }
.event-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184, 146, 63, 0.10);
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-full);
}
.event-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0.1rem 0 0.3rem;
  color: var(--primary-deep);
}
.event-card__meta {
  font-size: 0.88rem;
  color: var(--fg-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.event-card__cta {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
}
.event-card__cta::after {
  content: "→";
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform var(--t-fast);
}
.event-card__cta:hover { color: var(--accent); }
.event-card__cta:hover::after { transform: translateX(4px); }

@media (max-width: 520px) {
  .event-card { grid-template-columns: 72px 1fr; padding: var(--space-4); }
  .event-card__date { min-height: 80px; }
  .event-card__date strong { font-size: 1.5rem; }
}


/* --------------------------------------------------------------------------
   10. Filter chips
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 var(--space-6);
  padding: 0;
}
.filter-bar__chip {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-700);
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-bar__chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-bar__chip[aria-pressed="true"] {
  background: var(--oak-800);
  border-color: var(--oak-800);
  color: var(--cream-50);
}


/* --------------------------------------------------------------------------
   11. Timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  margin: var(--space-8) 0;
  padding-left: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--gold-400) 8%,
    var(--gold-500) 50%,
    var(--gold-400) 92%,
    transparent 100%);
  transform: translateX(-1px);
}
.timeline__item {
  position: relative;
  width: 50%;
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-5);
}
.timeline__item:nth-child(odd)  { left: 0; padding-right: var(--space-7); text-align: right; }
.timeline__item:nth-child(even) { left: 50%; padding-left: var(--space-7); }

.timeline__item::before {
  content: "";
  position: absolute;
  top: var(--space-5);
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  background: var(--gold-500);
  box-shadow: 0 0 0 4px var(--cream-50),
              0 0 0 5px var(--gold-500);
  z-index: 1;
}
.timeline__item:nth-child(odd)::before  { right: -10px; }
.timeline__item:nth-child(even)::before { left: -10px; }

.timeline__year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 0.25rem;
}
.timeline__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-deep);
  margin: 0 0 0.4rem;
}
.timeline__body {
  font-size: 0.95rem;
  color: var(--ink-700);
  margin: 0;
}

@media (max-width: 760px) {
  .timeline::before { left: 16px; }
  .timeline__item,
  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: var(--space-3) var(--space-2) var(--space-3) var(--space-7);
  }
  .timeline__item::before,
  .timeline__item:nth-child(odd)::before,
  .timeline__item:nth-child(even)::before {
    left: 7px;
    right: auto;
  }
}


/* --------------------------------------------------------------------------
   12. Image placeholders
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-200);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media--tall  { aspect-ratio: 3 / 4; }
.media--wide  { aspect-ratio: 16 / 9; }
.media--square{ aspect-ratio: 1 / 1; }

.placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    linear-gradient(135deg, rgba(184, 146, 63, 0.18), rgba(38, 90, 71, 0.18)),
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 2px,
      transparent 2px,
      transparent 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.placeholder::before,
.placeholder::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(20, 50, 42, 0.25);
  border-radius: var(--r-md);
  pointer-events: none;
}
.placeholder::before { inset: 12px; }
.placeholder::after  { inset: 18px; border: none; background: none; }
.placeholder__label {
  position: relative;
  background: rgba(254, 252, 246, 0.85);
  backdrop-filter: blur(6px);
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-800);
  text-align: center;
  max-width: 80%;
  z-index: 1;
}
.placeholder__label small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 2px;
  font-weight: 700;
}

.placeholder--photo  { background-image: linear-gradient(135deg, rgba(38, 90, 71, 0.25), rgba(184, 146, 63, 0.25)); }
.placeholder--event  { background-image: linear-gradient(135deg, rgba(184, 146, 63, 0.30), rgba(212, 181, 114, 0.20)); }
.placeholder--logo   { background-image: linear-gradient(135deg, rgba(243, 235, 209, 0.5), rgba(184, 146, 63, 0.12)); }
.placeholder--map    { background-image: linear-gradient(135deg, rgba(38, 90, 71, 0.18), rgba(140, 196, 171, 0.20)); }


/* --------------------------------------------------------------------------
   13. Stats / impact band
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-5);
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--cream-100), var(--cream-50));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.stat {
  text-align: center;
  padding: 0 var(--space-3);
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  color: var(--primary-deep);
  line-height: 1;
  display: block;
}
.stat__num em {
  font-style: normal;
  color: var(--accent);
}
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
}
@media (max-width: 760px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--border); padding-bottom: var(--space-4); }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
}


/* --------------------------------------------------------------------------
   14. Sponsors
   -------------------------------------------------------------------------- */
.tier {
  margin-bottom: var(--space-7);
}
.tier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.tier__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  margin: 0;
}
.tier__desc {
  font-size: var(--step--1);
  color: var(--fg-muted);
  max-width: 40ch;
}
.tier__grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.tier--presenting .tier__grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tier--community  .tier__grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tier--supporting .tier__grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tier--in-kind    .tier__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.sponsor {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--cream-50);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4);
  transition: transform var(--t-fast), border-color var(--t-fast),
              box-shadow var(--t-fast);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--fg-muted);
}
.sponsor:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-400);
}
.sponsor__name {
  font-weight: 500;
}
.sponsor__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}


/* --------------------------------------------------------------------------
   15. Map
   -------------------------------------------------------------------------- */
.map-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--oak-700), var(--oak-900));
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-strong);
}
.map-wrap__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 30% 40%, rgba(184, 146, 63, 0.20), transparent 40%),
    repeating-linear-gradient(0deg, rgba(254, 252, 246, 0.06) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(254, 252, 246, 0.06) 0 1px, transparent 1px 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
}
.map-wrap__msg {
  background: rgba(254, 252, 246, 0.95);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--r-lg);
  max-width: 380px;
  box-shadow: var(--shadow-md);
}
.map-wrap__pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  background: var(--gold-500);
  border: 3px solid var(--cream-50);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast);
}
.map-wrap__pin::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(212, 181, 114, 0.45);
  border-radius: var(--r-full);
  animation: pinPulse 2.2s ease-out infinite;
}
.map-wrap__pin:hover { transform: translate(-50%, -50%) scale(1.2); }
@keyframes pinPulse {
  0%   { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.map-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.map-legend__item {
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
}
.map-legend__swatch {
  width: 14px;
  height: 14px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   16. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gallery__item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--t-base);
}
.gallery__item:hover { transform: scale(1.02); }
.gallery__item .placeholder { aspect-ratio: 4 / 3; }
.gallery__item--tall .placeholder  { aspect-ratio: 3 / 4; }
.gallery__item--wide .placeholder  { aspect-ratio: 16 / 10; }


/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--space-4);
  max-width: 640px;
}
.form__row { display: grid; gap: var(--space-4); }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form__row--2 { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-800);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--cream-50);
  color: var(--ink-900);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 146, 63, 0.18);
}
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}
.field--check label { font-weight: 400; font-size: 0.92rem; }

.form__hint {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.form__status {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  display: none;
}
.form__status.is-visible { display: block; }
.form__status--ok {
  background: rgba(38, 90, 71, 0.08);
  color: var(--oak-800);
  border: 1px solid rgba(38, 90, 71, 0.20);
}


/* --------------------------------------------------------------------------
   18. Newsletter band
   -------------------------------------------------------------------------- */
.newsletter {
  background: linear-gradient(135deg, var(--oak-800) 0%, var(--oak-900) 100%);
  color: var(--cream-100);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(at 90% 10%, rgba(184, 146, 63, 0.25), transparent 50%);
  pointer-events: none;
}
.newsletter__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: var(--space-6);
}
@media (max-width: 800px) {
  .newsletter__inner { grid-template-columns: 1fr; }
}
.newsletter h2 { color: var(--cream-50); margin: 0 0 0.5rem; }
.newsletter p  { color: rgba(254, 252, 246, 0.85); max-width: 44ch; margin: 0; }
.newsletter form {
  display: flex;
  gap: 0.5rem;
  background: rgba(254, 252, 246, 0.08);
  border: 1px solid rgba(254, 252, 246, 0.18);
  padding: 0.4rem;
  border-radius: var(--r-full);
}
.newsletter input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--cream-50);
  padding: 0.65rem 1rem;
  font-size: 0.96rem;
  font-family: var(--font-body);
}
.newsletter input::placeholder { color: rgba(254, 252, 246, 0.55); }
.newsletter input:focus { outline: none; }
.newsletter button { white-space: nowrap; }


/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq__item {
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq__item:hover { border-color: var(--gold-400); }
.faq__item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-400);
}
.faq__item summary {
  list-style: none;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-deep);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.faq__item[open] summary::after { content: "−"; }
.faq__body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--ink-700);
  font-size: 0.97rem;
  line-height: 1.65;
}


/* --------------------------------------------------------------------------
   20. People grid (Steering Committee)
   -------------------------------------------------------------------------- */
.people {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.person {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.person__avatar {
  aspect-ratio: 1;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--cream-200), var(--gold-300));
  border: 3px solid var(--cream-50);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--oak-800);
  margin: 0 auto;
  width: 75%;
  max-width: 180px;
}
.person__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-deep);
  margin: 0.6rem 0 0;
}
.person__role {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   21. Pull quote
   -------------------------------------------------------------------------- */
.pullquote {
  margin: var(--space-7) 0;
  padding: var(--space-6);
  border-left: 4px solid var(--gold-500);
  background: var(--cream-100);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--primary-deep);
  font-style: italic;
  line-height: 1.4;
}
.pullquote cite {
  display: block;
  margin-top: var(--space-3);
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   22. Page header (interior pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
  background:
    radial-gradient(at 85% 20%, rgba(184, 146, 63, 0.12) 0%, transparent 55%),
    radial-gradient(at 0% 100%, rgba(38, 90, 71, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header__crumbs {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
}
.page-header__crumbs a {
  color: var(--fg-muted);
  text-decoration: none;
}
.page-header__crumbs a:hover { color: var(--accent); }
.page-header__title {
  font-size: var(--step-5);
  font-weight: 400;
  margin: 0 0 var(--space-3);
}
.page-header__sub {
  font-size: var(--step-1);
  color: var(--ink-700);
  max-width: 60ch;
  margin: 0;
}


/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--oak-950);
  color: var(--cream-200);
  padding: var(--space-9) 0 var(--space-5);
  margin-top: var(--space-9);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 100% 0%, rgba(184, 146, 63, 0.08) 0%, transparent 50%),
    radial-gradient(at 0% 100%, rgba(38, 90, 71, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.site-footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(254, 252, 246, 0.10);
}
@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

.site-footer h4 {
  color: var(--gold-300);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.site-footer a {
  color: var(--cream-200);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color var(--t-fast);
}
.site-footer a:hover { color: var(--gold-300); }

.site-footer__brand .brand { color: var(--cream-50); }
.site-footer__brand p {
  color: rgba(254, 252, 246, 0.65);
  font-size: 0.92rem;
  margin-top: var(--space-3);
  max-width: 32ch;
}

.site-footer__bottom {
  position: relative;
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.82rem;
  color: rgba(254, 252, 246, 0.55);
}
.site-footer__bottom a { color: rgba(254, 252, 246, 0.65); }
.site-footer__bottom a:hover { color: var(--gold-300); }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-4);
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  border: 1px solid rgba(254, 252, 246, 0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-200);
  transition: all var(--t-fast);
}
.socials a:hover {
  background: var(--gold-500);
  color: var(--oak-950);
  border-color: var(--gold-500);
}
.socials svg { width: 16px; height: 16px; }


/* --------------------------------------------------------------------------
   24. Long-form / prose
   -------------------------------------------------------------------------- */
.prose {
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--ink-800);
  max-width: 68ch;
}
.prose h2 { margin-top: var(--space-7); font-size: var(--step-3); }
.prose h3 { margin-top: var(--space-6); font-size: var(--step-2); }
.prose p { margin: 0 0 var(--space-4); }
.prose ul, .prose ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.4rem;
}
.prose ul li, .prose ol li { margin-bottom: 0.45rem; }
.prose blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-3) var(--space-5);
  border-left: 3px solid var(--gold-500);
  color: var(--ink-700);
  font-style: italic;
}
.prose code {
  background: var(--cream-200);
  padding: 0.1rem 0.35rem;
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-size: 0.92em;
}
.prose hr {
  border: 0;
  height: 1px;
  background: var(--border-strong);
  margin: var(--space-6) 0;
}

.legal-meta {
  background: var(--cream-100);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4) var(--space-5);
  font-size: 0.9rem;
  color: var(--ink-700);
  margin-bottom: var(--space-6);
}
.legal-meta strong { color: var(--primary-deep); }


/* --------------------------------------------------------------------------
   25. Callouts / boxes
   -------------------------------------------------------------------------- */
.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--cream-100);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--r-md);
  margin: var(--space-5) 0;
}
.callout__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--gold-500);
  color: var(--oak-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}
.callout h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.callout p  { margin: 0; font-size: 0.95rem; color: var(--ink-700); }


/* --------------------------------------------------------------------------
   26. Tags / pills
   -------------------------------------------------------------------------- */
.pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  background: rgba(184, 146, 63, 0.12);
  color: var(--gold-700);
}
.pill--green   { background: rgba(38, 90, 71, 0.10); color: var(--oak-700); }
.pill--gold    { background: rgba(184, 146, 63, 0.12); color: var(--gold-700); }
.pill--cream   { background: var(--cream-200); color: var(--ink-800); }


/* --------------------------------------------------------------------------
   27. Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}


/* --------------------------------------------------------------------------
   Preview access gate
   -------------------------------------------------------------------------- */
html.auth-required body {
  min-height: 100vh;
  overflow: hidden;
}

html.auth-required body > :not(.auth-gate) {
  display: none !important;
}

.auth-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 5vw, 3rem);
  background:
    radial-gradient(at 82% 8%, rgba(184, 146, 63, 0.14) 0%, transparent 44%),
    radial-gradient(at 10% 100%, rgba(38, 90, 71, 0.10) 0%, transparent 48%),
    linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
}

.auth-gate::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.11;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><path fill='none' stroke='%23265a47' stroke-width='1' d='M0 60 Q30 30 60 60 T120 60 M0 30 Q30 0 60 30 T120 30 M0 90 Q30 60 60 90 T120 90'/></svg>");
  background-size: 220px 220px;
  pointer-events: none;
}

.auth-gate__panel {
  position: relative;
  width: min(100%, 560px);
  background: rgba(254, 252, 246, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 5vw, 2.5rem);
}

.auth-gate__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-deep);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.auth-gate__brand small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.auth-gate__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--oak-900);
  color: var(--gold-300);
  border: 1px solid rgba(201, 165, 90, 0.6);
  font-family: var(--font-display);
  font-size: 1rem;
}

.auth-gate h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  margin-bottom: var(--space-4);
}

.auth-gate p {
  color: var(--ink-700);
}

.auth-gate__form {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.auth-gate__form label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.auth-gate__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
}

.auth-gate__password {
  position: relative;
  min-width: 0;
}

.auth-gate__password input {
  min-width: 0;
  width: 100%;
  font: inherit;
  color: var(--ink-900);
  background: var(--cream-50);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  padding: 0.85rem 4.75rem 0.85rem 1rem;
}

.auth-gate__password input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.auth-gate__toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  min-height: 36px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: var(--r-full);
  background: rgba(38, 90, 71, 0.10);
  color: var(--oak-800);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-gate__toggle:hover,
.auth-gate__toggle:focus-visible {
  background: var(--oak-800);
  color: var(--cream-50);
  outline: none;
}

.auth-gate__caps {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--gold-800);
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-gate__caps.is-visible {
  display: flex;
}

.auth-gate__caps-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-full);
  background: var(--gold-500);
  color: var(--oak-950);
  font-size: 0.85rem;
  animation: capsFlash 900ms ease-in-out infinite;
}

@keyframes capsFlash {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.92); }
}

.auth-gate__status {
  min-height: 1.4em;
  margin: 0;
  color: #9f2d20;
  font-size: 0.92rem;
}

@media (max-width: 560px) {
  .auth-gate {
    align-items: stretch;
  }

  .auth-gate__panel {
    align-self: center;
    border-radius: var(--r-md);
  }

  .auth-gate__row {
    grid-template-columns: 1fr;
  }

  .auth-gate__row .btn {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   Email CTA group
   -------------------------------------------------------------------------- */
.email-cta {
  display: grid;
  gap: var(--space-4);
  max-width: 640px;
}

.email-cta__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.email-cta__grid .btn,
.email-cta__primary {
  min-height: 44px;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}

.newsletter__cta {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .mobile-stack {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section--tight {
    padding: 2rem 0;
  }

  .section--hero,
  .hero {
    padding: 2.5rem 0 2rem;
  }

  .grid,
  .hero__inner,
  .newsletter__inner,
  .site-footer__top {
    gap: var(--space-4);
  }

  .page-header {
    padding: 2.4rem 0 1.9rem;
  }

  .page-header__crumbs {
    margin-bottom: var(--space-2);
  }

  .page-header__title,
  .hero__title {
    font-size: clamp(2.25rem, 12vw, 3rem);
    line-height: 1.04;
  }

  .page-header__sub,
  .hero__sub,
  .section-head__sub {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__sub {
    margin-bottom: var(--space-5);
    max-width: none;
  }

  .hero__meta {
    margin-top: var(--space-5);
    gap: var(--space-4);
  }

  .section-head {
    margin-bottom: var(--space-5);
  }

  .section-head__title {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .lede {
    font-size: clamp(1.2rem, 6vw, 1.35rem);
    line-height: 1.42;
  }

  .eyebrow {
    gap: 0.45rem;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-2);
  }

  .eyebrow::before,
  .eyebrow--center::before,
  .eyebrow--center::after {
    width: 18px;
  }

  .btn {
    min-height: 44px;
    padding: 0.8rem 1.1rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }

  .hero__cta .btn,
  .section--deep .grid > .reveal .btn {
    width: 100%;
  }

  .card,
  .event-card,
  .callout {
    padding: var(--space-5);
    border-radius: var(--r-md);
  }

  .card {
    gap: var(--space-2);
  }

  .card__title {
    font-size: clamp(1.25rem, 6vw, 1.45rem);
  }

  .card__body,
  .event-card__meta,
  .faq__body,
  .callout p {
    font-size: 0.94rem;
  }

  .newsletter {
    padding: var(--space-5);
    border-radius: var(--r-lg);
  }

  .newsletter h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .newsletter p {
    max-width: none;
  }

  .pullquote {
    margin: var(--space-5) 0;
    padding: var(--space-5);
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  }

  .callout {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .faq__item summary {
    padding: var(--space-4);
    font-size: 1.08rem;
  }

  h1, h2, h3, h4, p, li, a, dd, dt,
  .brand__text,
  .placeholder__label,
  .sponsor__name {
    overflow-wrap: break-word;
  }
}

@media (min-width: 561px) {
  .email-cta__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 560px) {
  .email-cta-layout {
    grid-template-columns: 1fr !important;
  }

  .contact-cta {
    order: -1;
  }

  .email-cta__grid .btn,
  .email-cta__primary,
  .newsletter__cta {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   28. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .newsletter, .nav__toggle, .btn { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
