/* ============================================================
   CENTURY VILLAGE MUSEUM, Geauga County Historical Society
   Premium design system · Phase 1 Foundation
   ------------------------------------------------------------
   1. Design tokens
   2. Reset & base
   3. Typography helpers
   4. Layout (container, section, grid)
   5. Components (buttons, eyebrow, cards, placeholders, lists)
   6. Top bar / Header / Navigation
   7. Footer
   8. Page sections (hero, events, membership, etc.)
   9. Motion / reveal
   10. Responsive
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand palette, heritage greens + antique bronze on warm paper */
  --cream:        #f7f3ea;
  --cream-2:      #efe7d7;
  --paper:        #fffdf8;
  --surface:      #ffffff;

  --ink:          #1c261f;
  --ink-soft:     #4d574e;
  --ink-faint:    #7a837a;

  --forest:       #203b2e;
  --forest-700:   #28493a;
  --forest-deep:  #142219;
  --moss:         #46664f;

  --gold:         #a8772e;   /* primary accent / button fill */
  --gold-deep:    #8d6222;
  --gold-ink:     #855b1f;   /* gold text on light surfaces */
  --gold-bright:  #c9a25c;   /* decorative gold on dark */
  --gold-soft:    #e7d3aa;

  --line:         rgba(28,38,31,.14);
  --line-2:       rgba(28,38,31,.08);
  --line-light:   rgba(255,255,255,.14);

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --text-xs:   .75rem;
  --text-sm:   .875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --text-2xl:  clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --text-3xl:  clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  --text-4xl:  clamp(2.3rem, 1.8rem + 2.4vw, 3.4rem);
  --text-5xl:  clamp(2.9rem, 2.1rem + 3.6vw, 4.4rem);
  --text-6xl:  clamp(3.4rem, 2.3rem + 5vw, 5.6rem);

  /* Spacing scale (8px base) */
  --space-1: .25rem;  --space-2: .5rem;   --space-3: .75rem;
  --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;    --space-8: 4rem;    --space-9: 6rem;
  --space-10: 8rem;

  /* Radius */
  --r-sm: 10px;  --r: 16px;  --r-lg: 24px;  --r-xl: 34px;  --pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20,34,25,.05), 0 3px 8px rgba(20,34,25,.05);
  --shadow:    0 8px 20px -8px rgba(20,34,25,.14), 0 2px 6px rgba(20,34,25,.06);
  --shadow-lg: 0 30px 60px -28px rgba(20,34,25,.34), 0 12px 26px -18px rgba(20,34,25,.22);
  --shadow-gold: 0 16px 32px -14px rgba(168,119,46,.55);

  /* Layout */
  --container: 1180px;
  --container-wide: 1320px;
  --container-narrow: 760px;
  --header-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}
p { text-wrap: pretty; }
.h1 { font-size: var(--text-5xl); }
.h2 { font-size: var(--text-4xl); }
.h3 { font-size: var(--text-2xl); }

/* ---------- 3. TYPOGRAPHY HELPERS ---------- */
.lead { font-size: var(--text-lg); color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }
.balance { text-wrap: balance; }
.serif { font-family: var(--font-display); }
.accent { color: var(--gold-ink); }

/* ---------- 4. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(4rem, 3rem + 6vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.section--cream  { background: var(--cream); }
.section--paper  { background: var(--paper); }
.section--white  { background: #fff; }
.section--forest { background: var(--forest); color: #e8efe7; }
.section--dark   { background: var(--forest-deep); color: #e8efe7; }

.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4,
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--forest .lead, .section--dark .lead,
.section--forest .muted, .section--dark .muted { color: rgba(255,255,255,.74); }

.section-head { max-width: 680px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--text-4xl); margin-top: .85rem; }
.section-head > p { margin-top: 1.1rem; font-size: var(--text-lg); color: var(--ink-soft); line-height: 1.7; }
.section--forest .section-head > p, .section--dark .section-head > p { color: rgba(255,255,255,.74); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.split--media-right { grid-template-columns: 1.02fr .98fr; }

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

/* ---------- 5. COMPONENTS ---------- */

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: calc(var(--text-xs) * 1.3);   /* eyebrows 30% larger, site-wide */
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.section-head--center .eyebrow { justify-content: center; }
.section--forest .eyebrow, .section--dark .eyebrow { color: var(--gold-bright); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: .01em;
  line-height: 1;
  padding: 1rem 1.55rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--sm { padding: .65rem 1.1rem; font-size: var(--text-sm); }
.btn--lg { padding: 1.15rem 2rem; font-size: var(--text-base); }
.btn--block { width: 100%; }

.btn--primary { background: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn--primary:hover { background: var(--gold-deep); transform: translateY(-2px); }

.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: var(--forest-deep); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--forest-deep); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--ghost-light { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.32); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); transform: translateY(-2px); }

/* Arrow text link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--forest);
}
.section--forest .arrow-link, .section--dark .arrow-link { color: var(--gold-bright); }
.arrow-link svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* Pills / badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .45rem .85rem;
  border-radius: var(--pill);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .04em;
  background: rgba(168,119,46,.12);
  color: var(--gold-ink);
}
.badge--light { background: rgba(255,255,255,.1); color: #fff; }
.badge svg { width: 1em; height: 1em; }

/* Tick list */
.ticklist { display: grid; gap: var(--space-3); }
.ticklist li {
  position: relative;
  padding-left: 2.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .05em;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background-color: rgba(168,119,46,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23855b1f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: .95rem;
  background-position: center;
  background-repeat: no-repeat;
}
.ticklist li strong { color: var(--ink); font-weight: 600; }
.section--forest .ticklist li, .section--dark .ticklist li { color: rgba(255,255,255,.78); }
.section--forest .ticklist li strong, .section--dark .ticklist li strong { color: #fff; }
.section--forest .ticklist li::before, .section--dark .ticklist li::before {
  background-color: rgba(201,162,92,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7d3aa' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(168,119,46,.16), rgba(168,119,46,.06));
  color: var(--gold-ink);
  margin-bottom: var(--space-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--text-xl); margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.65; }

.section--dark .card, .section--forest .card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.section--dark .card p, .section--forest .card p { color: rgba(255,255,255,.72); }
.section--dark .card__icon, .section--forest .card__icon {
  background: rgba(201,162,92,.14); color: var(--gold-bright);
}

/* Image placeholders */
.ph {
  --ph-grad: linear-gradient(150deg, #2c4d3c 0%, #1c3528 55%, #14241b 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: var(--space-6);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(120% 85% at 50% -15%, rgba(201,162,92,.28), transparent 55%),
    var(--ph-grad);
}
.ph::before {                       /* engraved texture */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  opacity: .6;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 10px);
}
.ph::after {                        /* archival inset frame */
  content: "";
  position: absolute; inset: 14px; z-index: 1;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: calc(var(--r-lg) - 9px);
  pointer-events: none;
}
.ph__icon { width: 44px; height: 44px; color: var(--gold-bright); }
.ph__icon svg { width: 100%; height: 100%; }
.ph__label { font-family: var(--font-display); font-size: var(--text-xl); color: #fff; line-height: 1.15; }
.ph__tag {
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.ph--gold  { --ph-grad: linear-gradient(150deg, #6f5527, #3f3015 60%, #221a0c); }
.ph--gold .ph__icon { color: var(--gold-soft); }
.ph--moss  { --ph-grad: linear-gradient(150deg, #3a5a45, #25402f 60%, #182a20); }
.ph--slate { --ph-grad: linear-gradient(150deg, #33433f, #22302c 60%, #161f1c); }
.ph--wide  { aspect-ratio: 16 / 10; }
.ph--tall  { aspect-ratio: 3 / 4; }
.ph--square{ aspect-ratio: 1 / 1; }
.ph--hero  { aspect-ratio: 5 / 4; border-radius: var(--r-xl); }
.ph--banner{ aspect-ratio: 21 / 8; }
.ph--flush { border-radius: 0; }
.ph--flush::after { border-radius: 0; inset: 12px; }

/* Real photo replacing a .ph placeholder in a split/media slot */
.ph-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
/* Logo (e.g. a sponsor mark) in a media slot: contained on white, never cropped */
.ph-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .ph--banner { aspect-ratio: 4 / 3; }
}

/* ---------- 6. TOP BAR / HEADER / NAV ---------- */
.topbar {
  background: var(--forest-deep);
  color: rgba(255,255,255,.82);
  font-size: var(--text-xs);
  letter-spacing: .02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 40px;
  padding-block: .35rem;
  text-align: center;
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: var(--gold-bright); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.topbar__inner > span { white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,243,234,.8);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247,243,234,.94);
  box-shadow: 0 10px 30px -22px rgba(20,34,25,.6);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(155deg, var(--forest-700), var(--forest-deep));
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand__text span {
  display: block;
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}

.nav__menu { display: flex; align-items: center; gap: var(--space-6); }
.nav__links { display: flex; align-items: center; gap: 1.45rem; }
.nav__links a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .35rem 0;
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }
.nav__links a.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; border-radius: 2px;
  background: var(--gold);
}
.nav__cta { display: flex; align-items: center; gap: .75rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. FOOTER ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,.72);
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .brand__text strong { color: #fff; }
.footer__brand .brand__text span { color: rgba(255,255,255,.55); }
.footer__brand p { margin-top: var(--space-4); font-size: var(--text-sm); line-height: 1.7; max-width: 34ch; }
.footer__social { display: flex; gap: .6rem; margin-top: var(--space-5); }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #fff;
  transition: background .25s, transform .25s;
}
.footer__social a:hover { background: var(--gold); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--space-4);
}
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a { font-size: var(--text-sm); color: rgba(255,255,255,.72); transition: color .2s; }
.footer__col a:hover { color: #fff; }

.footer__visit address { font-style: normal; display: grid; gap: .85rem; }
.footer__visit .row { display: flex; gap: .65rem; font-size: var(--text-sm); line-height: 1.5; }
.footer__visit .row svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold-bright); }
.footer__visit a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-5);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
}

/* ---------- 8. PAGE SECTIONS ---------- */

/* Hero (home) */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  padding-bottom: clamp(3.5rem, 2.5rem + 5vw, 6rem);
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(168,119,46,.1), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(32,59,46,.08), transparent 55%),
    var(--cream);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(28,38,31,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,38,31,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-size: var(--text-6xl);
  letter-spacing: -.025em;
  margin-top: var(--space-5);
}
.hero__title em { font-style: italic; color: var(--gold-ink); }
.hero__lead { margin-top: var(--space-5); font-size: var(--text-lg); color: var(--ink-soft); max-width: 46ch; line-height: 1.7; }
.hero__ctas { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.hero__kicker .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero__media { position: relative; }
.hero__media .ph { box-shadow: var(--shadow-lg); }
/* Full-bleed image hero (home page) */
.hero--bg {
  display: grid;
  align-items: center;
  min-height: min(74vh, 700px);
  background:
    linear-gradient(92deg, rgba(16,32,23,.9) 0%, rgba(16,32,23,.66) 40%, rgba(16,32,23,.34) 72%, rgba(16,32,23,.5) 100%),
    url("../assets/gallery/home-page-hero.webp") 50% 50% / cover no-repeat;
  border-bottom: 3px solid var(--gold);
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6rem);
}
.hero--bg::before { display: none; }
.hero--bg .hero__inner { display: block; }
.hero--bg .hero__content { max-width: 600px; }
.hero--bg .hero__kicker { color: var(--gold-bright); }
.hero--bg .hero__kicker .sep { background: var(--gold-bright); }
.hero--bg .hero__title { color: #fff; }
.hero--bg .hero__title em { color: var(--gold-bright); }
.hero--bg .hero__lead { color: rgba(255,255,255,.92); max-width: 48ch; }
.hero__chip {
  position: absolute;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .75rem;
  max-width: 230px;
}
.hero__chip svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; }
.hero__chip strong { display: block; font-size: var(--text-sm); color: var(--ink); font-family: var(--font-display); }
.hero__chip span { font-size: var(--text-xs); color: var(--ink-faint); }
.hero__chip--tl { top: 1.4rem; left: -1.4rem; }
.hero__chip--br { bottom: 1.4rem; right: -1.4rem; }

.hero__stats {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--forest);
  line-height: 1;
}
.hero__stat span { font-size: var(--text-sm); color: var(--ink-soft); margin-top: .35rem; display: block; }

/* Generic page hero (interior pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(168,119,46,.1), transparent 60%),
    var(--cream);
  padding-block: clamp(3rem, 2.4rem + 4vw, 5.5rem);
  border-bottom: 1px solid var(--line-2);
}
.page-hero__inner { max-width: 720px; }
.page-hero h1 { font-size: var(--text-5xl); margin-top: var(--space-4); }
.page-hero p { margin-top: var(--space-4); font-size: var(--text-lg); color: var(--ink-soft); max-width: 56ch; line-height: 1.7; }
.page-hero .hero__ctas { margin-top: var(--space-6); }
.breadcrumb { font-size: var(--text-sm); color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--gold-ink); }
.breadcrumb span { margin-inline: .4rem; opacity: .6; }

/* Intro statement */
.intro-statement { font-size: var(--text-3xl); font-family: var(--font-display); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); max-width: 22ch; }
.intro-points { display: grid; gap: var(--space-5); }
.intro-point { display: flex; gap: var(--space-4); }
.intro-point__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(32,59,46,.07); color: var(--forest); }
.intro-point__icon svg { width: 24px; height: 24px; }
.intro-point h3 { font-size: var(--text-lg); margin-bottom: .25rem; }
.intro-point p { font-size: var(--text-sm); color: var(--ink-soft); }

/* Events */
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.event-card--hover:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.event-card__media { position: relative; }
.event-card__media .ph { aspect-ratio: 4 / 3.1; }
.event-card__date {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #fff; color: var(--forest-deep);
  border-radius: 12px;
  padding: .5rem .65rem;
  text-align: center;
  min-width: 58px;
  box-shadow: var(--shadow);
  line-height: 1;
}
.event-card__date strong { display: block; font-family: var(--font-display); font-size: 1.35rem; }
.event-card__date span { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-top: 3px; }
.event-card__body { display: flex; flex-direction: column; gap: .55rem; padding: var(--space-5); flex: 1; }
.event-card__cat { font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.event-card__title { font-size: var(--text-xl); line-height: 1.2; }
.event-card__desc { font-size: var(--text-sm); color: var(--ink-soft); flex: 1; }
.event-card__foot { margin-top: .5rem; }
.event-card__poster { display: block; width: 100%; height: auto; }   /* full event poster fills the card */

/* Membership tiers */
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tier--featured { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.tier--featured::before {
  content: "Most Popular";
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em;
  padding: .35rem .9rem; border-radius: var(--pill);
  white-space: nowrap;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tier__name { font-size: var(--text-lg); font-weight: 600; font-family: var(--font-display); }
.tier__price { font-family: var(--font-display); font-size: var(--text-4xl); color: var(--forest); margin-top: .35rem; line-height: 1; }
.tier__price span { font-size: var(--text-sm); color: var(--ink-faint); font-family: var(--font-body); }
.tier__desc { font-size: var(--text-sm); color: var(--ink-soft); margin-top: .65rem; }
.tier .ticklist { margin: var(--space-5) 0; gap: .65rem; }
.tier .ticklist li { font-size: var(--text-sm); padding-left: 1.9rem; }
.tier .ticklist li::before { width: 1.3rem; height: 1.3rem; background-size: .8rem; }
.tier .btn { margin-top: auto; }

/* Donation amount choices */
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.amount {
  text-align: center;
  padding: 1.1rem .5rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--ink);
  transition: border-color .2s, background .2s, transform .2s;
}
.amount:hover, .amount--active { border-color: var(--gold); background: rgba(168,119,46,.07); transform: translateY(-2px); }
.amount small { display: block; font-family: var(--font-body); font-size: var(--text-xs); color: var(--ink-faint); margin-top: .2rem; }

/* Impact stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); text-align: center; }
.stat-band__item strong { display: block; font-family: var(--font-display); font-size: var(--text-4xl); color: #fff; line-height: 1; }
.stat-band__item span { display: block; margin-top: .5rem; font-size: var(--text-sm); color: rgba(255,255,255,.72); }

/* CTA closing band */
.cta-band { position: relative; overflow: hidden; background: var(--forest-deep); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 15% 10%, rgba(201,162,92,.18), transparent 55%),
    radial-gradient(60% 70% at 90% 90%, rgba(70,102,79,.4), transparent 55%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 12px);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: var(--text-5xl); color: #fff; }
.cta-band .hero__ctas { justify-content: center; }

/* Contact form */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: var(--text-sm);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168,119,46,.15);
}
.form__note {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1.1rem;
  border-radius: var(--r-sm);
  background: rgba(32,59,46,.08);
  color: var(--forest);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form__note svg { width: 18px; height: 18px; flex: none; }
.form__note[hidden] { display: none; }   /* keep the success note hidden until submit */

/* Info card (contact details) */
.info-card { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.info-card__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(32,59,46,.07); color: var(--forest); }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: var(--text-base); font-family: var(--font-body); font-weight: 700; margin-bottom: .2rem; }
.info-card p, .info-card address { font-size: var(--text-sm); color: var(--ink-soft); font-style: normal; line-height: 1.6; }
.info-card a:hover { color: var(--gold-ink); }

/* Divider rule */
.rule { height: 1px; background: var(--line); border: 0; }

/* Prose */
.prose p { color: var(--ink-soft); line-height: 1.8; }
.prose p + p { margin-top: var(--space-4); }
.prose h3 { font-size: var(--text-2xl); margin: var(--space-6) 0 var(--space-3); }

/* ---------- 9. MOTION / REVEAL ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal-group.is-in > * { opacity: 1; transform: none; }
  .js .reveal-group.is-in > *:nth-child(2) { transition-delay: .08s; }
  .js .reveal-group.is-in > *:nth-child(3) { transition-delay: .16s; }
  .js .reveal-group.is-in > *:nth-child(4) { transition-delay: .24s; }
  .js .reveal-group.is-in > *:nth-child(5) { transition-delay: .32s; }
  .js .reveal-group.is-in > *:nth-child(6) { transition-delay: .4s; }
}

/* ---------- 10. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .amount-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: var(--space-7); }
  .hero__chip { display: none; }
}

@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--space-5) var(--space-6);
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: .95rem .25rem; border-bottom: 1px solid var(--line-2); font-size: 1rem; }
  .nav__links a.is-active::after { display: none; }
  .nav__cta { margin-top: var(--space-5); }
  .nav__cta .btn { width: 100%; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split--media-right { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split--keep-order .split__media { order: 0; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 540px; margin-inline: auto; width: 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-7) var(--space-6); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: var(--space-4); text-align: left; }
  .hero__stat { display: flex; align-items: baseline; gap: .75rem; }
  .hero__stat strong { font-size: var(--text-2xl); }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .topbar__inner .hide-sm { display: none; }
  .btn { padding: .9rem 1.3rem; }
}

/* ---------- 11. MEMBERSHIP CHECKOUT (additive, used by membership-checkout.html) ---------- */
.checkout { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: start; }
.checkout__main { display: grid; gap: var(--space-5); min-width: 0; }

.checkout-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.checkout-card__head { display: flex; align-items: center; gap: .7rem; }
.checkout-card__head h2 { font-size: var(--text-xl); font-family: var(--font-display); }
.checkout-step {
  width: 1.9rem; height: 1.9rem; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--forest); color: #fff;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700;
}
.checkout-card .form { margin-top: var(--space-5); }
.field--full { grid-column: 1 / -1; }
.field-hint { font-size: var(--text-xs); color: var(--ink-faint); margin-top: .1rem; }
.checkbox { display: flex; align-items: center; gap: .55rem; font-size: var(--text-sm); color: var(--ink-soft); cursor: pointer; }
.checkbox input { width: auto; accent-color: var(--gold); }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Payment panel */
.pay-head { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.pay-brands { display: flex; gap: .3rem; align-items: center; margin-left: auto; color: var(--ink-faint); }
.pay-brands svg { width: 34px; height: 22px; }
.secure-note {
  display: flex; gap: .7rem; align-items: flex-start;
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--r-sm);
  background: rgba(32,59,46,.06);
  border: 1px solid var(--line-2);
  font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.55;
}
.secure-note svg { width: 20px; height: 20px; flex: none; color: var(--forest); margin-top: 2px; }
.secure-note a { color: var(--gold-ink); font-weight: 600; }

/* Order summary */
.summary {
  position: sticky; top: calc(var(--header-h) + 1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 2vw, 2rem);
  box-shadow: var(--shadow);
}
.summary > h2 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 700; }
.summary__level {
  margin-top: var(--space-4); padding: var(--space-4);
  border-radius: var(--r);
  background: rgba(168,119,46,.08);
  border: 1px solid rgba(168,119,46,.2);
}
.summary__level-name { font-family: var(--font-display); font-size: var(--text-xl); color: var(--forest-deep); line-height: 1.1; }
.summary__level-who { font-size: var(--text-sm); color: var(--ink-soft); margin-top: .2rem; }
.summary__incl { margin-top: var(--space-5); }
.summary__incl > span { font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.summary .ticklist { margin-top: var(--space-3); gap: .5rem; }
.summary .ticklist li { font-size: var(--text-sm); padding-left: 1.8rem; }
.summary .ticklist li::before { width: 1.2rem; height: 1.2rem; background-size: .75rem; }
.summary__rows { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.summary__row { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--ink-soft); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .5rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.summary__total span { font-weight: 600; color: var(--ink); }
.summary__total strong { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--forest); }
.summary__total strong small { font-family: var(--font-body); font-size: var(--text-sm); color: var(--ink-faint); font-weight: 400; }

@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__aside { order: -1; }
  .summary { position: static; }
}

/* ---------- 12. SPONSORSHIP (additive, sponsorship.html) ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem var(--space-6); }
@media (max-width: 680px) { .cols-2 { grid-template-columns: 1fr; } }

/* ---------- 13. MAP (additive, contact.html) ---------- */
.map-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--cream-2);
  aspect-ratio: 21 / 8;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3; } }

/* ---------- 14. ADD-TO-CALENDAR DROPDOWN (additive, event pages) ---------- */
.addcal { position: relative; display: inline-flex; }
.addcal .addcal__caret { transition: transform .2s var(--ease); }
.addcal.is-open .addcal__caret { transform: rotate(180deg); }
.addcal__menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 232px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: .4rem;
  z-index: 40;
  display: grid;
  gap: 2px;
}
.addcal__menu[hidden] { display: none; }
.addcal__menu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .8rem;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.addcal__menu a:hover { background: rgba(32,59,46,.07); }
.addcal__menu a svg { width: 18px; height: 18px; flex: none; color: var(--gold-ink); }
@media (max-width: 640px) { .addcal__menu { right: 0; left: auto; } }

/* ---------- 15. RAFFLE TICKET SELECTION (additive, raffle-checkout.html) ---------- */
.ticket-row { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; border-top: 1px solid var(--line-2); }
.ticket-row:first-of-type { border-top: 0; padding-top: 0; }
.ticket-row__info { flex: 1; min-width: 0; }
.ticket-row__info strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); }
.ticket-row__info span { display: block; font-size: var(--text-sm); color: var(--ink-soft); margin-top: .15rem; }
.ticket-row__price { font-family: var(--font-display); font-size: var(--text-xl); color: var(--forest); white-space: nowrap; }
.ticket-qty { width: 76px; text-align: center; font: inherit; font-size: var(--text-base); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem .4rem; }
.ticket-qty:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,119,46,.15); }
@media (max-width: 520px) { .ticket-row { flex-wrap: wrap; } .ticket-row__info { flex-basis: 100%; } }

/* ---------- 16. EVENTS NAV DROPDOWN ---------- */
.nav__dd { position: relative; display: flex; align-items: center; align-self: stretch; gap: .05rem; }
.nav__dd-toggle { display: inline-flex; align-items: center; justify-content: center; padding: .35rem .1rem; color: var(--ink-soft); cursor: pointer; }
.nav__dd-toggle:hover { color: var(--ink); }
.nav__caret { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav__dd:hover .nav__caret, .nav__dd.is-open .nav__caret { transform: rotate(180deg); }
.nav__dd-menu {
  position: absolute; top: 100%; left: -.4rem;
  min-width: 192px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: .4rem;
  display: grid; gap: 2px;
  z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__dd:hover .nav__dd-menu, .nav__dd:focus-within .nav__dd-menu, .nav__dd.is-open .nav__dd-menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav__dd-menu a { display: block; padding: .6rem .8rem; border-radius: var(--r-sm); font-size: .92rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.nav__dd-menu a::after { display: none !important; }
.nav__dd-menu a:hover { background: rgba(32,59,46,.07); color: var(--ink); }
.nav__dd-menu a.is-active { color: var(--gold-ink); background: rgba(168,119,46,.08); }

@media (max-width: 960px) {
  .nav__dd { flex-wrap: wrap; align-self: auto; justify-content: space-between; border-bottom: 1px solid var(--line-2); }
  .nav__dd-link { flex: 1; border-bottom: 0 !important; }
  .nav__dd-toggle { padding: .95rem .4rem; }
  .nav__caret { width: 18px; height: 18px; }
  .nav__dd-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    flex-basis: 100%; min-width: 0;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    padding: 0 0 .4rem .9rem;
    display: none;
  }
  .nav__dd.is-open .nav__dd-menu { display: grid; }
  .nav__dd-menu a { padding: .7rem .25rem; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 1rem; }
}

/* ---------- 17. HISTORY (long-form article) ---------- */
/* Image hero (history feature page) */
.page-hero--image {
  --hero-overlay: linear-gradient(90deg, rgba(18,34,25,.86) 0%, rgba(18,34,25,.56) 45%, rgba(18,34,25,.24) 100%);
  background-size: cover;
  background-position: 50% 42%;
  background-repeat: no-repeat;
  border-bottom: 3px solid var(--gold);
  padding-block: clamp(4.5rem, 3rem + 9vw, 9rem);
}
.page-hero--history { background-image: var(--hero-overlay), url("../assets/gallery/History-page-Hero.webp"); }
.page-hero--events  { background-image: var(--hero-overlay), url("../assets/gallery/Events-page-hero.webp"); background-position: 50% 52%; }
.page-hero--volunteer { background-image: var(--hero-overlay), url("../assets/gallery/volunteer-page-hero.webp"); background-position: 50% 55%; }
.page-hero--sponsor { background-image: var(--hero-overlay), url("../assets/gallery/sponsor-page-hero.webp"); background-position: 50% 48%; }
.page-hero--vendor { background-image: var(--hero-overlay), url("../assets/gallery/vendor-page-hero.webp"); background-position: 50% 50%; }
.page-hero--about { background-image: var(--hero-overlay), url("../assets/gallery/about-page-hero.webp"); background-position: 50% 48%; }
.page-hero--venue { background-image: var(--hero-overlay), url("../assets/gallery/venue-rentals-page-hero.webp"); background-position: 50% 52%; }
.page-hero--membership { background-image: var(--hero-overlay), url("../assets/gallery/membership-page-hero.webp"); background-position: 50% 52%; }
.page-hero--contact { background-image: var(--hero-overlay), url("../assets/gallery/contact-page-hero.webp"); background-position: 50% 40%; }
.page-hero--image .breadcrumb,
.page-hero--image .breadcrumb a { color: rgba(255,255,255,.78); }
.page-hero--image .breadcrumb a:hover { color: var(--gold-soft); }
.page-hero--image .eyebrow { color: var(--gold-bright); }
.page-hero--image h1 { color: #fff; }
.page-hero--image p { color: rgba(255,255,255,.9); }

.hist { max-width: var(--container-narrow); margin-inline: auto; }

/* Reading column */
.hist-prose > p { margin-top: 1.1rem; color: var(--ink-soft); line-height: 1.8; font-size: 1.05rem; }
.hist-prose > p:first-child { margin-top: 0; }
.hist-prose strong { color: var(--ink); font-weight: 600; }
.hist-prose em { font-style: italic; }

/* Chapters */
.hist-chapter { padding-block: clamp(2.6rem, 2rem + 3vw, 4rem); border-top: 1px solid var(--line); }
.hist-chapter:first-of-type { border-top: 0; padding-top: var(--space-6); }
.hist-chapter > h2 { font-size: var(--text-3xl); margin-top: .55rem; line-height: 1.18; }
.hist-chapter > h2 em { font-style: italic; font-weight: 400; color: var(--gold-ink); }

/* Editor's note */
.hist-note {
  background: var(--forest); color: rgba(255,255,255,.85);
  border-left: 4px solid var(--gold-bright);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm); line-height: 1.75;
}
.hist-note strong { color: var(--gold-soft); font-family: var(--font-display); font-weight: 500; }
.hist-note em { color: #fff; font-style: italic; }

/* Fact box */
.hist-fact {
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--space-5);
  margin-top: var(--space-5);
}
.hist-fact__body strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--forest); margin-bottom: .25rem; }
.hist-fact__body p { color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.7; }
.hist-fact__body em { font-style: italic; }

/* Pull quote */
.hist-quote { border-left: 4px solid var(--gold); padding: var(--space-1) 0 var(--space-1) var(--space-5); margin-top: var(--space-6); }
.hist-quote p { font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); line-height: 1.45; color: var(--ink); }
.hist-quote cite { display: block; margin-top: .7rem; font-style: normal; font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }

/* Timeline (left rail) */
.hist-timeline { position: relative; margin-top: var(--space-6); margin-left: 6px; padding-left: 30px; border-left: 2px solid var(--cream-2); }
.hist-tl { position: relative; }
.hist-tl + .hist-tl { margin-top: var(--space-5); }
.hist-tl::before {
  content: ""; position: absolute; left: -37px; top: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--paper);
}
.hist-tl--mark::before { background: var(--forest); }
.hist-tl__year { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); letter-spacing: .05em; color: var(--gold-ink); }
.hist-tl--mark .hist-tl__year { color: var(--forest); }
.hist-tl__body { margin-top: .45rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--space-4) var(--space-5); box-shadow: var(--shadow-sm); }
.hist-tl__body strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); margin-bottom: .3rem; }
.hist-tl__body strong em { font-style: italic; font-weight: 600; }
.hist-tl__body p { color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.65; }
.hist-tl--mark .hist-tl__body { background: linear-gradient(180deg, var(--forest-700), var(--forest)); border-color: var(--forest); }
.hist-tl--mark .hist-tl__body strong { color: var(--gold-soft); }
.hist-tl--mark .hist-tl__body p { color: rgba(255,255,255,.8); }

/* Name / people cards */
.hist-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: var(--space-4); margin-top: var(--space-5); }
.hist-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--space-5); box-shadow: var(--shadow-sm); }
.hist-card__name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--ink); }
.hist-card__role { display: block; margin-top: .2rem; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.hist-card__desc { margin-top: .7rem; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.65; }
.hist-card__desc a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }

/* Township / place cards */
.hist-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-3); margin-top: var(--space-5); }
.hist-place { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--space-4); text-align: center; }
.hist-place__name { font-family: var(--font-display); font-weight: 600; color: var(--forest); }
.hist-place__note { margin-top: .3rem; font-size: var(--text-xs); color: var(--ink-soft); line-height: 1.5; }

/* Stat banner */
.hist-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: var(--space-6); }
.hist-stat { background: var(--paper); padding: var(--space-5); text-align: center; }
.hist-stat__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl); color: var(--forest); line-height: 1; }
.hist-stat__label { display: block; margin-top: .5rem; font-size: var(--text-xs); letter-spacing: .03em; color: var(--ink-soft); line-height: 1.5; }

/* Two-column trade list */
.hist-list { columns: 2; column-gap: var(--space-7); margin-top: var(--space-5); }
.hist-list li { break-inside: avoid; position: relative; padding-left: 1.4rem; margin-bottom: .7rem; color: var(--ink-soft); font-size: var(--text-sm); }
.hist-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); }
@media (max-width: 560px) {
  .hist-list { columns: 1; }
  .hist-timeline { margin-left: 3px; padding-left: 24px; }
  .hist-tl::before { left: -31px; }
}
