/* ==========================================================================
   Malcolm W. Martin Memorial Park — Design System & Stylesheet
   Pure Vanilla CSS · Zero Build Tools · Optimized for Bluehost Shared Hosting
   ========================================================================== */

:root {
  /* Brand & Architectural Palette */
  --river-deep: #0b1e31;
  --river-navy: #122d47;
  --river-blue: #1f5a93;
  --river-blue-hover: #174673;
  --river-sky: #4a91d8;
  --river-mist: #eaf1f8;
  --river-mist-strong: #d7e5f3;

  /* Warm Limestone & Metallic Accents */
  --stone-canvas: #f8f7f4;
  --stone-surface: #ffffff;
  --stone-alt: #f1efe9;
  --brass: #b87e2e;
  --brass-light: #f6ecdc;
  --brass-text: #7a4d11;

  /* Semantic Status Colors */
  --open-bg: #e7f6ee;
  --open-text: #14633a;
  --open-dot: #1f9d55;
  --closed-bg: #fef2f2;
  --closed-text: #991b1b;
  --warn-bg: #fff6ed;
  --warn-border: #f3c191;
  --warn-text: #7c2d0b;
  --warn-accent: #b54708;

  /* Typography & Ink (All pairs verified >= 4.5:1 WCAG 2.1 AA) */
  --ink-primary: #14202c;
  --ink-secondary: #3b4b5c;
  --ink-muted: #4e5e6e;
  --border-subtle: rgba(18, 45, 71, 0.13);
  --border-strong: rgba(18, 45, 71, 0.24);

  /* Type Families */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Radii */
  --container-max: 1180px;
  --container-narrow: 840px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(11, 30, 49, 0.05);
  --shadow-md: 0 10px 28px rgba(11, 30, 49, 0.08);
  --shadow-lg: 0 20px 48px rgba(11, 30, 49, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms var(--ease);
  --t-med: 320ms var(--ease);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-primary);
  background-color: var(--stone-canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--river-blue);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--river-blue-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-primary);
  line-height: 1.18;
  margin-top: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.85rem);
  margin-bottom: 0.65rem;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.15rem;
  color: var(--ink-secondary);
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--river-blue);
  outline-offset: 2px;
}

.site-footer :focus-visible,
.announcement-bar :focus-visible,
.section--dark :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.timeline-item--highlight :focus-visible {
  outline-color: #f3cc8c;
}

/* Visually hidden text for screen readers */
.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;
}

/* WCAG 1.4.1: Inline links in body text do not rely on color alone */
.prose a:not(.btn),
.callout a:not(.btn),
.support-banner a:not(.btn),
.faq-panel__content a:not(.btn),
.media-caption a:not(.btn),
p a:not(.btn):not(.card__link):not(.nav-link) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--river-deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 3.5vw, 2.25rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 5.75rem);
}

.section--tight {
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
}

.section--alt {
  background-color: var(--stone-alt);
}

.section--white {
  background-color: var(--stone-surface);
}

.section--dark {
  background: linear-gradient(155deg, var(--river-deep) 0%, var(--river-navy) 100%);
  color: #fff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brass-text);
  margin-bottom: 0.65rem;
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: #e9bf7d;
}

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-secondary);
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

/* ---------- Announcement Ribbon ---------- */
.announcement-bar {
  background: var(--river-deep);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding-block: 0.55rem;
  text-align: center;
}

.announcement-bar__link {
  color: #f3cc8c;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.announcement-bar__link:hover {
  color: #fff;
  text-decoration: underline;
}

.announcement-bar__sep {
  opacity: 0.35;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--t-fast), background-color var(--t-fast);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-primary);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.brand:hover {
  color: var(--river-blue);
}

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand__title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  font-weight: 600;
  color: var(--river-deep);
  letter-spacing: -0.01em;
}

.brand__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.2rem;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.nav-link:hover,
.nav-trigger:hover,
.nav-item.is-open > .nav-trigger {
  background: var(--river-mist);
  color: var(--river-blue);
}

.nav-link[aria-current="page"],
.nav-item--active > .nav-trigger {
  color: var(--river-blue);
  background: var(--river-mist);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--t-fast);
}

.nav-item.is-open > .nav-trigger .nav-chevron,
.nav-item:hover > .nav-trigger .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Panel */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 255px;
  background: var(--stone-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 950;
}

/* WCAG 1.4.13 hover bridge prevents dropdown collapse across gap */
.dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
  transition: background-color var(--t-fast), color var(--t-fast);
}

.dropdown a:hover,
.dropdown a[aria-current="page"] {
  background: var(--river-mist);
  color: var(--river-blue);
}

.dropdown__title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.dropdown__desc {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--ink-secondary);
  background: transparent;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.nav-icon-btn:hover {
  background: var(--river-mist);
  color: var(--river-blue);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--stone-surface);
  color: var(--ink-primary);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 30, 49, 0.56);
  opacity: 0;
  transition: opacity var(--t-med);
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--stone-surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-med);
  overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--stone-canvas);
  color: var(--ink-primary);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mobile-drawer__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.mobile-group__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.mobile-group__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-group__links a {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
  font-weight: 600;
  font-size: 0.96rem;
}

.mobile-group__links a:hover,
.mobile-group__links a[aria-current="page"] {
  background: var(--river-mist);
  color: var(--river-blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--river-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 90, 147, 0.24);
}

.btn--primary:hover {
  background: var(--river-blue-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 90, 147, 0.3);
}

.btn--secondary {
  background: var(--stone-surface);
  color: var(--river-deep);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--river-mist);
  border-color: var(--river-blue);
  color: var(--river-blue);
  transform: translateY(-1px);
}

.btn--light {
  background: #fff;
  color: var(--river-deep);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.btn--light:hover {
  background: var(--river-mist);
  color: var(--river-deep);
  transform: translateY(-1px);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.btn--warm {
  background: var(--brass);
  color: #fff;
}

.btn--warm:hover {
  background: #9f6a22;
  color: #fff;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.52rem 0.95rem;
  font-size: 0.86rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: clamp(540px, 76vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--river-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 30, 49, 0.28) 0%, rgba(11, 30, 49, 0.42) 45%, rgba(11, 30, 49, 0.86) 100%),
    linear-gradient(90deg, rgba(11, 30, 49, 0.72) 0%, rgba(11, 30, 49, 0.25) 60%, rgba(11, 30, 49, 0.1) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 5.5vw, 4.5rem);
  max-width: 740px;
}

.hero h1 {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  font-size: clamp(1.08rem, 1.65vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 1.85rem;
  line-height: 1.6;
}

/* ---------- Quick Visitor Info Strip ---------- */
.info-strip {
  background: var(--stone-surface);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 5;
}

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

.info-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.35rem 1.25rem;
  border-right: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  transition: background-color var(--t-fast);
}

.info-strip__item:last-child {
  border-right: none;
}

a.info-strip__item:hover {
  background: var(--river-mist);
}

.info-strip__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--river-mist);
  color: var(--river-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-strip__label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.info-strip__value {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink-primary);
  line-height: 1.3;
}

.info-strip__sub {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  margin-top: 0.15rem;
}

/* Live Status Pill */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.22rem 0.62rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge--open {
  background: var(--open-bg);
  color: var(--open-text);
}

.status-badge--closed {
  background: var(--closed-bg);
  color: var(--closed-text);
}

.status-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Inner Page Hero ---------- */
.page-hero {
  position: relative;
  min-height: clamp(280px, 38vh, 410px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--river-deep);
  overflow: hidden;
}

.page-hero--compact {
  min-height: clamp(220px, 28vh, 300px);
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 49, 0.35) 0%, rgba(11, 30, 49, 0.84) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-block: 3rem 2.75rem;
  max-width: 780px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  margin-bottom: 0.55rem;
}

.page-hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.84);
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Editorial Split Section ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.split--balanced {
  grid-template-columns: 1fr 1fr;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--river-deep);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ---------- Cards & Grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.85rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--stone-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card--static:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--river-navy);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__body {
  padding: 1.5rem 1.6rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__body--lg {
  padding: clamp(1.65rem, 3vw, 2.25rem);
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--river-mist);
  color: var(--river-blue);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card__footer {
  margin-top: auto;
  padding-top: 1.15rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--river-blue);
}

.card__link svg {
  transition: transform var(--t-fast);
}

.card:hover .card__link svg {
  transform: translateX(4px);
}

/* ---------- Photo Gallery + Lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--river-deep);
  border: none;
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.gallery-item--wide {
  grid-column: span 7;
  aspect-ratio: 16 / 10;
}

.gallery-item--tall {
  grid-column: span 5;
  height: 100%;
  min-height: 260px;
}

.gallery-item--third {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.2rem 1.15rem 0.95rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 30, 49, 0.82) 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(8, 19, 31, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__stage {
  position: relative;
  max-width: 1080px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 1rem;
  font-size: 0.96rem;
  text-align: center;
}

.lightbox__btn {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 39, 64, 0.78);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color var(--t-fast);
}

.lightbox__btn:hover {
  background: var(--river-blue);
}

.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Quote Band ---------- */
.quote-band {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.quote-band blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.65rem, 3.3vw, 2.5rem);
  line-height: 1.28;
  color: #fff;
}

.quote-band cite {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9bf7d;
}

/* ---------- Advisory / Callout Banner ---------- */
.callout {
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.callout--warn {
  background: var(--warn-bg);
  border: 1.5px solid var(--warn-border);
  color: var(--warn-text);
}

.callout--warn h2,
.callout--warn h3 {
  color: var(--warn-text);
}

.callout--warn p {
  color: #6b2e0e;
}

.callout--info {
  background: var(--river-mist);
  border: 1px solid var(--river-mist-strong);
}

.callout__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.callout--warn .callout__icon {
  background: rgba(200, 85, 25, 0.14);
  color: var(--warn-accent);
}

.callout--info .callout__icon {
  background: rgba(31, 90, 147, 0.12);
  color: var(--river-blue);
}

/* ---------- Timeline (July 3 & 4 Schedule & Malcolm Milestones) ---------- */
.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 1.5rem;
  padding: 1.45rem 1.65rem;
  background: var(--stone-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: start;
}

.timeline-item--compact {
  grid-template-columns: 130px 1fr;
  padding: 1.1rem 1.4rem;
}

.timeline-item--highlight {
  background: linear-gradient(135deg, #102a45 0%, #1c4775 100%);
  border-color: transparent;
  color: #fff;
}

.timeline-item--highlight h3 {
  color: #fff;
}

.timeline-item--highlight p {
  color: rgba(255, 255, 255, 0.86);
}

.timeline-item__time {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--river-blue);
  background: var(--river-mist);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-align: center;
}

.timeline-item--highlight .timeline-item__time {
  background: rgba(243, 204, 140, 0.2);
  color: #f6d59c;
}

/* ---------- Permitted vs Prohibited Lists ---------- */
.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.rule-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.96rem;
  color: var(--ink-secondary);
}

.rule-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 800;
  font-size: 0.78rem;
}

.rule-dot--yes {
  background: var(--open-bg);
  color: var(--open-text);
}

.rule-dot--no {
  background: var(--closed-bg);
  color: var(--closed-text);
}

/* ---------- FAQ Accordions ---------- */
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--stone-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-primary);
  transition: background-color var(--t-fast);
}

.faq-trigger:hover {
  background: var(--stone-canvas);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--river-mist);
  color: var(--river-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--t-fast), background-color var(--t-fast);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--river-blue);
  color: #fff;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel__inner {
  overflow: hidden;
}

.faq-panel__content {
  padding: 0 1.5rem 1.35rem;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

/* ---------- Partner Logos (Illinois Expansion) ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.partner-card {
  background: var(--stone-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partner-card img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

/* ---------- Stats Row ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: var(--stone-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--river-blue);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-card__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* ---------- Map Frame ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: var(--river-mist);
  min-height: 360px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ---------- Support / Nonprofit Banner ---------- */
.support-banner {
  background: var(--river-mist);
  border-top: 1px solid var(--river-mist-strong);
  border-bottom: 1px solid var(--river-mist-strong);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.support-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.support-banner__text {
  max-width: 720px;
}

.support-banner__text h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 0.45rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--river-deep);
  color: rgba(255, 255, 255, 0.8);
  padding-top: clamp(3.25rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.footer-brand__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: #e9bf7d;
}

.footer-col h2,
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact {
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a:hover {
  color: #f3cc8c;
}

.footer-bottom {
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.84);
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: #f3cc8c;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--river-deep);
  color: #fff;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 1600;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Subtle Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Editorial Prose ---------- */
.prose p {
  font-size: 1.03rem;
  line-height: 1.78;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose h2:first-child {
  margin-top: 0;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1040px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .info-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-strip__item:nth-child(2) {
    border-right: none;
  }
  .info-strip__item:nth-child(1),
  .info-strip__item:nth-child(2) {
    border-bottom: 1px solid var(--border-subtle);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .split,
  .split--balanced,
  .grid-2,
  .grid-3,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .gallery-item--wide,
  .gallery-item--tall,
  .gallery-item--third {
    grid-column: span 12;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .info-strip__grid {
    grid-template-columns: 1fr;
  }
  .info-strip__item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .info-strip__item:last-child {
    border-bottom: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .callout {
    flex-direction: column;
  }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .announcement-bar,
  .site-header,
  .mobile-drawer,
  .support-banner,
  .site-footer,
  .btn {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
