/* =============================================================
   Mill Neck Center for the Deaf — Design System
   Heritage / institutional aesthetic
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,300;8..60,400;8..60,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors */
  --navy: #1E3F8B;
  --navy-deep: #142A60;
  --navy-soft: #2E509B;
  --gold: #E8A53C;
  --gold-deep: #C58A28;
  --gold-soft: #F2C16B;

  /* Neutrals */
  --ink: #1a1d2e;
  --charcoal: #2c2f3f;
  --slate: #5a5e72;
  --stone: #8a8e9d;
  --parchment: #faf7f0;
  --parchment-warm: #f5efe2;
  --cream: #fbf9f3;
  --white: #ffffff;
  --rule: #d8d2c4;

  /* Typography */
  --serif-display: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --serif-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w: 1280px;
  --max-w-text: 720px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --easing: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Accessibility settings overrides */
[data-font-size="large"] { font-size: 112.5%; }
[data-font-size="xlarge"] { font-size: 125%; }
[data-contrast="high"] {
  --ink: #000000;
  --slate: #1a1a1a;
  --parchment: #ffffff;
  --cream: #ffffff;
  --rule: #000000;
}
[data-font="dyslexic"] {
  --serif-display: 'OpenDyslexic', Verdana, sans-serif;
  --serif-body: 'OpenDyslexic', Verdana, sans-serif;
  --sans: 'OpenDyslexic', Verdana, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 1rem;
  background: var(--navy); color: white; padding: 0.75rem 1.25rem;
  text-decoration: none; z-index: 1000; border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--serif-display); font-weight: 500; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }
.eyebrow {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--gold-soft); }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--slate); font-weight: 300; }
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--gold-deep); }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--max-w-text); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(3rem, 8vw, 7rem) 0; }
.section-cream { background: var(--cream); }
.section-parchment-warm { background: var(--parchment-warm); }
.section-navy { background: var(--navy-deep); color: white; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: white; }
.section-navy a { color: var(--gold-soft); }

/* Decorative rule */
.gold-rule {
  display: inline-block;
  width: 3rem; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 1rem;
}
.section-divider {
  display: flex; align-items: center; justify-content: center;
  margin: 2rem 0;
}
.section-divider::before, .section-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--rule); max-width: 4rem;
}
.section-divider-ornament {
  margin: 0 1.5rem; color: var(--gold);
  font-size: 1.25rem;
}

/* Top utility bar */
.utility-bar {
  background: var(--navy-deep); color: white;
  font-family: var(--sans); font-size: 0.8125rem;
  padding: 0.5rem 0;
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.utility-bar a { color: white; text-decoration: none; opacity: 0.9; }
.utility-bar a:hover { opacity: 1; color: var(--gold-soft); }
.utility-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.utility-cta {
  background: var(--gold); color: var(--navy-deep) !important;
  padding: 0.35rem 1rem; border-radius: 2px; font-weight: 600;
}
.utility-cta:hover { background: var(--gold-soft); color: var(--navy-deep) !important; }

/* Header / navigation */
header.site-header {
  background: white; border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter); max-width: var(--max-w); margin: 0 auto;
  gap: 2rem;
}
.brand-lockup {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: var(--ink);
}
.brand-lockup img { width: 64px; height: 64px; flex-shrink: 0; }
.brand-text { line-height: 1.1; }
.brand-text .brand-name {
  font-family: var(--serif-display); font-size: 1.4rem;
  font-weight: 600; color: var(--navy); letter-spacing: 0.01em;
  display: block;
}
.brand-text .brand-sub {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate);
  margin-top: 0.25rem; display: block;
}

nav.primary-nav { display: flex; align-items: center; gap: 0.25rem; }
nav.primary-nav > a, nav.primary-nav > .nav-item > button {
  font-family: var(--sans); font-size: 0.875rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 0.6rem 0.9rem; border-radius: 3px;
  background: none; border: none; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
nav.primary-nav > a:hover, nav.primary-nav > .nav-item > button:hover {
  color: var(--navy); background: var(--parchment-warm);
}
.nav-item { position: relative; }
.nav-item .nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: white; border: 1px solid var(--rule);
  min-width: 260px; padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(20,42,96,0.15);
  display: none; border-radius: 4px;
  z-index: 10;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 0.625rem 0.875rem;
  font-family: var(--sans); font-size: 0.875rem;
  color: var(--ink); text-decoration: none; border-radius: 3px;
}
.nav-dropdown a:hover { background: var(--parchment-warm); color: var(--navy); }
.nav-dropdown a small { display: block; color: var(--slate); font-size: 0.75rem; font-weight: 400; margin-top: 0.1rem; }

.mobile-menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 70vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.5);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,42,96,0.7), rgba(20,42,96,0.4) 40%, rgba(20,42,96,0.6));
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px;
  padding: 5rem var(--gutter);
  color: white;
}
.hero-content .eyebrow {
  color: var(--gold-soft);
}
.hero-content h1 {
  color: white; font-weight: 400;
  margin-bottom: 1.5rem;
}
.hero-content h1 em { font-style: italic; color: var(--gold-soft); }
.hero-content .lead {
  color: rgba(255,255,255,0.9); font-size: 1.375rem; max-width: 660px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 1rem 1.75rem; border-radius: 2px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: all 0.25s var(--easing);
  text-align: center;
}
.btn-gold {
  background: var(--gold); color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn-outline-light {
  background: transparent; color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }
.btn-navy {
  background: var(--navy); color: white;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-deep); color: white; }
.btn-outline-navy {
  background: transparent; color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: white; }

/* Card grid */
.cards-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) { .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid-4 { grid-template-columns: 1fr; } }
.card {
  background: white; border: 1px solid var(--rule);
  padding: 2rem; border-radius: 3px;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20,42,96,0.08);
}
.card-icon { width: 48px; height: 48px; margin-bottom: 1rem; color: var(--gold-deep); }
.card h3 { margin-bottom: 0.75rem; color: var(--navy); }
.card p { color: var(--slate); margin-bottom: 1.5rem; flex: 1; }
.card-link {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.card-link::after { content: '→'; transition: transform 0.2s; }
.card-link:hover::after { transform: translateX(3px); }
.card-link:hover { color: var(--gold-deep); }

/* Subsidiary card variant */
.subsidiary-card {
  background: white; border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  overflow: hidden; border-radius: 3px;
  position: relative;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
}
.subsidiary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20,42,96,0.1);
}
.subsidiary-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: white; padding: 2rem 2rem 1.5rem; position: relative;
}
.subsidiary-card-header::after {
  content: ''; position: absolute; bottom: 0; left: 2rem; right: 2rem; height: 1px;
  background: var(--gold);
}
.subsidiary-card-header h3 { color: white; }
.subsidiary-card-header .eyebrow { color: var(--gold-soft); margin-bottom: 0.5rem; }
.subsidiary-card-body { padding: 1.5rem 2rem 2rem; flex: 1; display: flex; flex-direction: column; }
.subsidiary-card-body p { color: var(--slate); margin-bottom: 1.5rem; flex: 1; }
.subsidiary-card-body .card-link { color: var(--navy); }

/* Mission band */
.mission-band {
  background: var(--navy-deep); color: white;
  padding: 4rem var(--gutter); text-align: center;
  position: relative;
}
.mission-band::before {
  content: ''; display: block; width: 60px; height: 1px;
  background: var(--gold); margin: 0 auto 2rem;
}
.mission-band blockquote {
  max-width: 800px; margin: 0 auto;
  font-family: var(--serif-display); font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic; font-weight: 400; line-height: 1.4;
  color: white;
}
.mission-band cite {
  font-family: var(--sans); font-style: normal;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-soft);
  display: block; margin-top: 1.5rem;
}

/* Story split layout */
.story-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.story-split.reverse { direction: rtl; }
.story-split.reverse > * { direction: ltr; }
.story-img {
  position: relative;
}
.story-img img { width: 100%; height: auto; display: block; border-radius: 2px; }
.story-img::before {
  content: ''; position: absolute; top: 1rem; left: 1rem; right: -1rem; bottom: -1rem;
  border: 1px solid var(--gold); border-radius: 2px; z-index: -1;
}
.story-text h2 { margin-bottom: 1.5rem; color: var(--navy-deep); }
.story-text p { color: var(--charcoal); margin-bottom: 1rem; }

/* Timeline */
.timeline { position: relative; padding: 1rem 0 3rem; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--rule);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 2rem; margin-bottom: 4rem; align-items: flex-start;
}
.timeline-item:last-child { margin-bottom: 0; }
/* Default: content right, image left (odd items) */
.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .timeline-img { grid-column: 3; text-align: left; }
/* Alternating: content left, image right (even items) */
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; text-align: left; }
.timeline-item:nth-child(even) .timeline-img { grid-column: 1; text-align: right; }
.timeline-item:nth-child(even) .timeline-img img { margin-left: auto; }
.timeline-marker {
  grid-column: 2; width: 16px; height: 16px;
  background: var(--gold); border: 3px solid var(--parchment);
  border-radius: 50%; box-shadow: 0 0 0 1px var(--gold);
  margin-top: 0.5rem; position: relative; z-index: 2;
}
.timeline-year {
  font-family: var(--serif-display); font-size: 2.5rem;
  color: var(--navy); font-weight: 600; line-height: 1;
  margin-bottom: 0.5rem;
}
.timeline-content h4 { color: var(--ink); font-family: var(--serif-display); font-size: 1.4rem; margin-bottom: 0.75rem; font-weight: 600; }
.timeline-content p { color: var(--slate); font-size: 0.95rem; }
.timeline-img img { width: 100%; height: auto; border-radius: 2px; max-width: 320px; }

/* Filmography grid */
.film-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.film-card {
  background: white; border: 1px solid var(--rule);
  padding: 1.5rem; border-radius: 3px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.film-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.film-card .film-type {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 0.5rem;
}
.film-card h4 {
  font-family: var(--serif-display); font-size: 1.25rem;
  color: var(--navy); margin-bottom: 0.25rem;
  font-weight: 600;
}
.film-card .film-year {
  font-family: var(--sans); font-size: 0.875rem;
  color: var(--slate);
}

/* Footer */
footer.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.85);
  padding: 4rem 0 1rem;
  font-family: var(--sans); font-size: 0.875rem;
}
.footer-grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer-brand .brand-lockup img { width: 56px; height: 56px; filter: brightness(1.5); }
.footer-brand .brand-text .brand-name { color: white; }
.footer-brand .brand-text .brand-sub { color: var(--gold-soft); }
.footer-brand p { margin-top: 1.25rem; color: rgba(255,255,255,0.6); max-width: 320px; line-height: 1.55; }
.footer-col h5 {
  color: var(--gold-soft); font-family: var(--sans); font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: var(--max-w); margin: 3rem auto 0;
  padding: 1.5rem var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  color: rgba(255,255,255,0.55); font-size: 0.8125rem;
}
.footer-bottom a { color: rgba(255,255,255,0.7); margin-left: 1.5rem; }
.dba-line {
  font-style: italic; color: var(--gold-soft);
  margin-top: 0.75rem; font-size: 0.85rem;
}

/* Pop-ups */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(20,42,96,0.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 2rem;
  animation: fadeIn 0.3s var(--easing);
}
.popup-overlay.active { display: flex; }
.popup {
  background: white; max-width: 540px; width: 100%;
  border-radius: 4px; overflow: hidden;
  position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: slideUp 0.4s var(--easing);
}
.popup-header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: white; padding: 2rem 2rem 1.5rem;
  position: relative;
}
.popup-header .eyebrow { color: var(--gold-soft); margin-bottom: 0.5rem; }
.popup-header h3 { color: white; font-size: 1.75rem; }
.popup-body { padding: 2rem; }
.popup-body p { color: var(--slate); margin-bottom: 1rem; }
.popup-body .popup-meta {
  font-family: var(--sans); font-size: 0.875rem;
  color: var(--ink); padding: 1rem; background: var(--parchment-warm);
  border-radius: 3px; margin: 1rem 0;
}
.popup-body .popup-meta strong { color: var(--navy); }
.popup-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.popup-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.15); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  color: white; cursor: pointer; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.popup-close:hover { background: rgba(255,255,255,0.3); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Accessibility toolbar */
.a11y-toolbar {
  position: fixed; right: 1rem; bottom: 1rem;
  z-index: 90;
}
.a11y-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: white; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(20,42,96,0.4);
  transition: transform 0.2s;
}
.a11y-toggle:hover { transform: scale(1.05); }
.a11y-toggle svg { width: 26px; height: 26px; }
.a11y-panel {
  position: absolute; bottom: 68px; right: 0;
  background: white; padding: 1.5rem;
  border-radius: 4px; box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  width: 280px; display: none;
  border: 1px solid var(--rule);
}
.a11y-panel.open { display: block; }
.a11y-panel h5 {
  font-family: var(--serif-display); font-size: 1.1rem;
  color: var(--navy); margin-bottom: 1rem;
}
.a11y-option {
  display: block; margin-bottom: 0.75rem;
}
.a11y-option-label {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  color: var(--slate); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.a11y-buttons { display: flex; gap: 0.25rem; }
.a11y-btn {
  flex: 1; background: var(--parchment); border: 1px solid var(--rule);
  padding: 0.5rem; font-family: var(--sans); font-size: 0.85rem;
  cursor: pointer; border-radius: 2px; color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}
.a11y-btn:hover { background: var(--parchment-warm); }
.a11y-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

/* Responsive */
@media (max-width: 900px) {
  nav.primary-nav {
    position: fixed; inset: 64px 0 0 0;
    background: white; flex-direction: column; align-items: stretch;
    padding: 1rem; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.3s var(--easing);
    border-top: 1px solid var(--rule);
  }
  nav.primary-nav.open { transform: translateX(0); }
  nav.primary-nav > a, nav.primary-nav > .nav-item > button {
    padding: 1rem; border-bottom: 1px solid var(--rule); border-radius: 0;
    text-align: left; width: 100%;
  }
  .nav-item .nav-dropdown {
    position: static; box-shadow: none; border: none;
    padding-left: 1rem; padding-top: 0;
  }
  .nav-item:hover .nav-dropdown { display: none; }
  .nav-item.expanded .nav-dropdown { display: block; }
  .mobile-menu-toggle {
    display: flex; background: none; border: none; cursor: pointer;
    padding: 0.5rem; color: var(--navy);
  }
  .mobile-menu-toggle svg { width: 28px; height: 28px; }

  .story-split { grid-template-columns: 1fr; }
  .story-split.reverse { direction: ltr; }

  .timeline::before { left: 28px; }
  .timeline-item { grid-template-columns: 28px 1fr; gap: 1.5rem; }
  .timeline-item .timeline-marker { grid-column: 1; grid-row: 1; }
  .timeline-item .timeline-content,
  .timeline-item .timeline-img {
    grid-column: 2 !important; text-align: left !important;
  }
  .timeline-item .timeline-img { margin-top: 1rem; }
  .timeline-item .timeline-img img { max-width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .header-inner { padding: 0.875rem var(--gutter); }
  .brand-lockup img { width: 48px; height: 48px; }
  .brand-text .brand-name { font-size: 1.125rem; }
  .brand-text .brand-sub { font-size: 0.625rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
}

/* Page hero (smaller than homepage hero) */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: white;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-bg);
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumbs {
  font-family: var(--sans); font-size: 0.8rem;
  color: rgba(255,255,255,0.7); margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.page-hero .breadcrumbs a { color: var(--gold-soft); text-decoration: none; }
.page-hero .breadcrumbs a:hover { color: white; }
.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,0.88); max-width: 720px; font-size: 1.25rem; }
.page-hero .eyebrow { color: var(--gold-soft); }

/* Drop cap for narrative paragraphs */
.dropcap::first-letter {
  font-family: var(--serif-display);
  font-size: 4.5rem;
  float: left;
  line-height: 0.85;
  padding: 0.3rem 0.6rem 0 0;
  color: var(--navy);
  font-weight: 600;
}

/* Pull quote */
.pullquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 2.5rem 0;
  font-family: var(--serif-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--navy-deep);
}
.pullquote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}

/* Archival document card */
.archive-card {
  background: white;
  border: 1px solid var(--rule);
  padding: 0.5rem;
  border-radius: 2px;
  box-shadow: 0 6px 24px rgba(20,42,96,0.08);
  display: inline-block;
  max-width: 100%;
  transform: rotate(-1.5deg);
  transition: transform 0.3s var(--easing);
}
.archive-card:hover { transform: rotate(0); }
.archive-card img {
  width: 100%; height: auto; display: block;
  filter: sepia(0.05);
}
.archive-card .archive-caption {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--slate);
  text-align: center;
  padding: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Founder spotlight */
.founder-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  background: var(--parchment-warm);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  border-radius: 4px;
  position: relative;
}
.founder-spotlight::before {
  content: '"';
  position: absolute;
  top: -2rem; right: 2rem;
  font-family: var(--serif-display);
  font-size: 12rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.2;
  font-weight: 700;
}
.founder-portrait {
  position: relative;
}
.founder-portrait img {
  width: 100%;
  border-radius: 2px;
  filter: sepia(0.08);
}
.founder-portrait .founder-caption {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.founder-text h2 { color: var(--navy-deep); margin-bottom: 1.25rem; }
.founder-text .eyebrow { margin-bottom: 0.75rem; }
.founder-text p { margin-bottom: 1.1rem; line-height: 1.65; color: var(--charcoal); }
.founder-text p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .founder-spotlight { grid-template-columns: 1fr; gap: 2rem; }
}

/* Sticky decade nav for timeline */
.timeline-nav {
  position: sticky;
  top: 88px;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  z-index: 30;
  padding: 0.75rem 0;
  margin-bottom: 2rem;
}
.timeline-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.timeline-nav-inner::-webkit-scrollbar { display: none; }
.timeline-nav a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-decoration: none;
  padding: 0.4rem 0.875rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.2s;
}
.timeline-nav a:hover { color: var(--navy); background: var(--parchment-warm); }
.timeline-nav a.active { color: var(--navy); background: var(--parchment-warm); }

/* Era header — standalone block between timeline blocks */
.era-header {
  text-align: center;
  margin: 4rem 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.era-header:first-of-type { margin-top: 0; }
.era-header .era-decade {
  font-family: var(--serif-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-deep);
  font-weight: 500;
  letter-spacing: 0.02em;
  display: block;
}
.era-header .era-title {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--slate);
  margin-top: 0.5rem;
}

/* Big stat blocks */
.big-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  margin: 3rem 0;
}
.big-stat {
  padding: 1.5rem;
}
.big-stat .num {
  font-family: var(--serif-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--gold-deep);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.big-stat .label {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

/* Animation: fade-up on scroll */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--easing), transform 0.8s var(--easing); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* === Identity card (DBA / legal info display) === */
.identity-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 3px;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20,42,96,0.06);
}
.identity-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.identity-row:last-child { border-bottom: none; }
.identity-row:nth-child(even) { background: var(--cream); }
.identity-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}
.identity-value {
  font-family: var(--serif-body);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 400;
}
@media (max-width: 700px) {
  .identity-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.1rem 1.5rem;
  }
}

/* === Leadership page: Featured chair card === */
.featured-chair {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
  background: white;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: 0 12px 36px rgba(20,42,96,0.08);
  position: relative;
}
.featured-chair::before {
  content: '';
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  width: 32px; height: 1px;
  background: var(--gold);
}
.featured-chair-img {
  position: relative;
}
.featured-chair-img img {
  width: 100%;
  display: block;
  border-radius: 2px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.featured-chair-img::after {
  content: '';
  position: absolute;
  top: 1rem; left: 1rem;
  right: -1rem; bottom: -1rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
}
.featured-chair-text .role-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.featured-chair-text h2 {
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.featured-chair-text .role-title {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.featured-chair-text p {
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.featured-chair-text p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .featured-chair { grid-template-columns: 1fr; gap: 2rem; }
  .featured-chair-img { max-width: 320px; margin: 0 auto; }
}

/* === Person grid (board members, executives) === */
.person-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.person-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.person-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
  .person-grid, .person-grid.cols-3, .person-grid.cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .person-grid, .person-grid.cols-3, .person-grid.cols-5 {
    grid-template-columns: 1fr;
    max-width: 320px; margin: 0 auto;
  }
}

.person-card {
  background: white;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  text-align: center;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
}
.person-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20,42,96,0.08);
}

/* Avatar: photo or initials */
.person-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
  border: 3px solid white;
  box-shadow: 0 0 0 1px var(--rule);
  position: relative;
}
.person-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.person-name {
  font-family: var(--serif-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.person-role {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.person-role-chair {
  color: var(--gold-deep);
  font-weight: 600;
}
.person-bio {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.55;
}

/* Cross-board service badge — shows additional board memberships under primary role */
.person-also {
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px dotted var(--rule);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--slate);
  font-style: italic;
  line-height: 1.45;
}
.person-also strong {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.65rem;
  display: block;
  margin-bottom: 0.2rem;
}

/* Board section heading — for stacked boards on leadership page */
.board-section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--rule);
}
.board-section:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.board-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.board-section-header .board-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}
.board-section-header h2 {
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}
.board-section-header .board-subtitle {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--slate);
}

/* Governing-board emphasis — used to set LFD apart */
.board-section.governing {
  background: white;
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(20,42,96,0.06);
  position: relative;
}
.board-section.governing::before {
  content: 'GOVERNING ENTITY';
  position: absolute;
  top: -0.65rem; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  padding: 0.3rem 1rem;
  border-radius: 2px;
}

/* === About page: Values grid === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  background: white;
}
@media (max-width: 1100px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--rule);
  background: white;
  position: relative;
  transition: background 0.25s var(--easing);
}
.value-card:last-child { border-right: none; }
.value-card:hover { background: var(--cream); }
@media (max-width: 1100px) {
  .value-card:nth-child(3n) { border-right: none; }
  .value-card:last-child { border-right: 1px solid var(--rule); }
  .value-card:nth-child(n+4) { border-top: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .value-card { border-right: none !important; border-top: 1px solid var(--rule); }
  .value-card:first-child { border-top: none; }
}
.value-card .value-num {
  font-family: var(--serif-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}
.value-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.value-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* === Impact stats grid (navy background) === */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 1.5rem;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .impact-grid { grid-template-columns: 1fr; } }
.impact-stat {
  padding: 0.5rem 1rem;
  position: relative;
}
.impact-stat::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -1.5rem;
  transform: translateX(-50%);
  width: 32px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
/* Hide rule on the last row */
.impact-stat:nth-last-child(-n+3)::after { display: none; }
@media (max-width: 900px) {
  .impact-stat:nth-last-child(-n+3)::after { display: block; }
  .impact-stat:nth-last-child(-n+2)::after { display: none; }
}
.impact-num {
  font-family: var(--serif-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 500;
  color: var(--gold-soft);
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.impact-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* === Governance grid === */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.gov-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) {
  .gov-grid, .gov-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gov-grid, .gov-grid-3 { grid-template-columns: 1fr; }
}
.gov-block {
  background: white;
  padding: 2rem 1.75rem;
  border-radius: 3px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.gov-icon {
  width: 56px; height: 56px;
  background: var(--parchment-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.gov-icon svg { width: 28px; height: 28px; }
.gov-block h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.gov-block p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}
.gov-block .card-link {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

@media (max-width: 720px) {
  .impact-grid { gap: 2rem 1rem; }
}

/* ========================================================== */
/* MANOR HOUSE PAGE                                            */
/* ========================================================== */

/* Section nav (sticky) for in-page anchors */
.section-nav {
  position: sticky;
  top: 88px;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  z-index: 30;
  padding: 0.75rem 0;
}
.section-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-decoration: none;
  padding: 0.4rem 0.875rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.2s;
}
.section-nav a:hover { color: var(--navy); background: var(--parchment-warm); }

/* Architectural stat band */
.arch-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  background: white;
}
.arch-stat {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--rule);
  background: white;
}
.arch-stat:last-child { border-right: none; }
.arch-stat-num {
  font-family: var(--serif-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: -0.01em;
}
.arch-stat-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate);
  font-weight: 600;
}
@media (max-width: 720px) {
  .arch-stats { grid-template-columns: repeat(2, 1fr); }
  .arch-stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .arch-stat:nth-child(2n) { border-right: none; }
  .arch-stat:nth-child(2n-1) { border-right: 1px solid var(--rule); }
  .arch-stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* Filmography column lists */
.film-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
@media (max-width: 880px) { .film-cols { grid-template-columns: 1fr; gap: 2.5rem; } }
.film-col h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold);
  font-weight: 700;
}
.film-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.film-list li {
  font-family: var(--serif-display);
  font-size: 1.125rem;
  color: var(--ink);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  padding-left: 1.5rem;
}
.film-list li::before {
  content: '●';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.film-list li:last-child { border-bottom: none; }
.film-list li em {
  font-style: italic;
  color: var(--slate);
  font-size: 0.85rem;
  display: block;
  font-family: var(--sans);
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

/* National Register badge */
.nrhp-callout {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: white;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nrhp-callout::before {
  content: '';
  position: absolute;
  top: 1rem; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0.3;
}
.nrhp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.nrhp-callout h2 {
  color: white;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
.nrhp-callout p {
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}
.nrhp-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.nrhp-meta div {
  text-align: center;
}
.nrhp-meta .nrhp-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 0.35rem;
}
.nrhp-meta .nrhp-value {
  font-family: var(--serif-display);
  font-size: 1.05rem;
  color: white;
}

/* Inquiry card */
.inquiry-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 32px rgba(20,42,96,0.06);
}
.inquiry-card .eyebrow { margin-bottom: 1rem; }
.inquiry-card h3 {
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}
.inquiry-card p {
  color: var(--slate);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.inquiry-contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.inquiry-contact a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.inquiry-contact a:hover { color: var(--gold-deep); }

/* Manor gallery (3-col image grid for archive interiors) */
.manor-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .manor-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .manor-gallery { grid-template-columns: 1fr; } }
.manor-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(20,42,96,0.08);
  aspect-ratio: 4/3;
}
.manor-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--easing);
}
.manor-gallery-item:hover img { transform: scale(1.04); }
.manor-gallery-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,42,96,0.85), transparent);
  color: white;
  padding: 1.5rem 1rem 0.875rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Matterport 3D virtual tour embed */
.matterport-section {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.matterport-section .container { position: relative; z-index: 2; }
.matterport-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  color: white;
}
.matterport-header .eyebrow {
  color: var(--gold-soft);
}
.matterport-header h2 {
  color: white;
  margin: 0.5rem 0 1rem;
}
.matterport-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}
.matterport-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(232, 165, 60, 0.2);
  background: #000;
  max-width: 1240px;
  margin: 0 auto;
}
.matterport-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.matterport-meta {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.matterport-meta-item {
  text-align: center;
  min-width: 120px;
}
.matterport-meta-num {
  font-family: var(--serif-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 0.35rem;
  display: block;
}
.matterport-meta-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.matterport-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
@media (max-width: 600px) {
  .matterport-frame { aspect-ratio: 4 / 3; }
  .matterport-meta { gap: 1.5rem; }
}

/* Anchored sections should account for sticky nav heights */
section[id] { scroll-margin-top: 160px; }

/* ========================================================== */
/* EVENTS PAGE                                                 */
/* ========================================================== */

/* Featured event card — big, photo-led */
.featured-event {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(20,42,96,0.10);
  margin-bottom: 3rem;
}
.featured-event.reverse {
  grid-template-columns: 1fr 1.1fr;
}
.featured-event.reverse .featured-event-img { order: 2; }
.featured-event.reverse .featured-event-text { order: 1; }
.featured-event-img {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
}
.featured-event-img.has-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.featured-event-text {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-date-block {
  display: inline-block;
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
  background: rgba(232, 165, 60, 0.06);
}
.event-date-block.urgent {
  background: var(--gold);
  color: var(--navy-deep);
}
.featured-event-text h3 {
  font-family: var(--serif-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  line-height: 1.15;
  font-weight: 500;
}
.featured-event-text .event-tagline {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
}
.featured-event-text p {
  color: var(--charcoal);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.event-meta-item {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--slate);
}
.event-meta-item strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.2rem;
}
.featured-event-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
@media (max-width: 880px) {
  .featured-event, .featured-event.reverse {
    grid-template-columns: 1fr;
  }
  .featured-event.reverse .featured-event-img { order: 0; }
  .featured-event.reverse .featured-event-text { order: 0; }
  .featured-event-img { min-height: 280px; }
}

/* Standard event card (annual signature events grid) */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.event-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20,42,96,0.10);
}
.event-card-header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: white;
  padding: 1.5rem;
  position: relative;
}
.event-card-month {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}
.event-card-header h3 {
  color: white;
  font-family: var(--serif-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}
.event-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-card-body p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}
.event-card-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.08em;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  margin-top: auto;
}
.event-card-link:hover { color: var(--gold-deep); }
.event-card-link::after { content: ' →'; color: var(--gold); }

/* Recurring program strip */
.recurring-list {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.recurring-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.recurring-row:last-child { border-bottom: none; }
.recurring-row:nth-child(even) { background: var(--cream); }
.recurring-frequency {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.recurring-detail h4 {
  font-family: var(--serif-display);
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.recurring-detail p {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0;
}
.recurring-action a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.recurring-action a:hover { color: var(--gold-deep); }
@media (max-width: 720px) {
  .recurring-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
  }
  .recurring-action { margin-top: 0.5rem; }
}

/* ========================================================== */
/* GIVE PAGE                                                   */
/* ========================================================== */

/* Giving tier cards */
.gift-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: white;
}
.gift-tier {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--rule);
  background: white;
  position: relative;
  transition: background 0.25s var(--easing);
}
.gift-tier:last-child { border-right: none; }
.gift-tier:hover { background: var(--cream); }
.gift-tier.featured {
  background: linear-gradient(180deg, var(--parchment-warm) 0%, white 100%);
}
.gift-tier.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  padding: 0.25rem 0.875rem;
  border-radius: 0 0 2px 2px;
}
.gift-amount {
  font-family: var(--serif-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 0.25rem;
  display: block;
  letter-spacing: -0.01em;
}
.gift-frequency {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  display: block;
}
.gift-impact {
  font-family: var(--serif-body);
  font-style: italic;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 4.5rem;
}
@media (max-width: 880px) {
  .gift-tiers { grid-template-columns: repeat(2, 1fr); }
  .gift-tier:nth-child(2n) { border-right: none; }
  .gift-tier:nth-child(2n-1) { border-right: 1px solid var(--rule); }
  .gift-tier:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .gift-tiers { grid-template-columns: 1fr; }
  .gift-tier { border-right: none !important; border-top: 1px solid var(--rule); }
  .gift-tier:first-child { border-top: none; }
}

/* Giving options grid (planned giving, stock, matching, etc.) */
.giving-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.giving-option {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
}
.giving-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20,42,96,0.08);
}
.giving-option-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--parchment-warm);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.giving-option-icon svg { width: 24px; height: 24px; }
.giving-option h4 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.giving-option p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}
.giving-option .card-link { margin-top: auto; padding-top: 0; border-top: none; }

/* Donor designation table */
.designation-table {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.designation-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 2rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.designation-row:last-child { border-bottom: none; }
.designation-row:nth-child(even) { background: var(--cream); }
.designation-name {
  font-family: var(--serif-display);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
}
.designation-desc {
  color: var(--slate);
  font-size: 0.9rem;
}
.designation-action a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.designation-action a:hover { color: var(--gold-deep); }
@media (max-width: 720px) {
  .designation-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1rem 1.5rem;
  }
}

/* ========================================================== */
/* CONTACT PAGE                                                */
/* ========================================================== */

/* Quick contact band — three columns: phone, email, visit */
.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.quick-contact-item {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--rule);
  background: white;
}
.quick-contact-item:last-child { border-right: none; }
.quick-contact-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--parchment-warm);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.quick-contact-icon svg { width: 22px; height: 22px; }
.quick-contact-item h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.quick-contact-item .value {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  color: var(--navy-deep);
  font-weight: 500;
  margin-bottom: 0.35rem;
  display: block;
}
.quick-contact-item .value a { color: inherit; text-decoration: none; }
.quick-contact-item .value a:hover { color: var(--gold-deep); }
.quick-contact-item p {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 720px) {
  .quick-contact { grid-template-columns: 1fr; }
  .quick-contact-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .quick-contact-item:last-child { border-bottom: none; }
}

/* Department routing list — directs different inquiries to right team */
.dept-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 720px) { .dept-list { grid-template-columns: 1fr; } }
.dept-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.dept-card:hover {
  box-shadow: 0 10px 28px rgba(20,42,96,0.08);
  transform: translateY(-2px);
}
.dept-eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.dept-card h4 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.dept-card p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}
.dept-contacts {
  font-family: var(--sans);
  font-size: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.dept-contacts a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.dept-contacts a:hover { color: var(--gold-deep); }

/* Contact form */
.contact-form {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 12px 32px rgba(20,42,96,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-row.single { grid-template-columns: 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--serif-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 3px rgba(232,165,60,0.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-required { color: var(--gold-deep); }

/* Visit / directions block */
.visit-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 880px) { .visit-block { grid-template-columns: 1fr; } }
.visit-info h3 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.visit-info p { color: var(--charcoal); line-height: 1.7; margin-bottom: 1rem; }
.visit-info .visit-detail {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.visit-info .visit-detail:last-child { border-bottom: none; }
.visit-info .visit-detail strong {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

/* ========================================================== */
/* CAREERS PAGE                                                */
/* ========================================================== */

/* Why-work-here pillars */
.why-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 880px) { .why-work-grid { grid-template-columns: 1fr; } }
.why-work {
  text-align: center;
  padding: 2rem 1.5rem;
}
.why-work-num {
  font-family: var(--serif-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}
.why-work h3 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.why-work p {
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 0.97rem;
}

/* Job listing rows */
.job-list {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.job-row {
  display: grid;
  grid-template-columns: 1fr 220px 180px auto;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  background: white;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.job-row:hover { background: var(--cream); }
.job-row:last-child { border-bottom: none; }
.job-title {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.15rem;
  font-weight: 600;
}
.job-title-sub {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--slate);
  margin-top: 0.2rem;
  font-weight: 500;
}
.job-meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--slate);
}
.job-meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.2rem;
  display: block;
}
.job-action {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  text-transform: uppercase;
  white-space: nowrap;
}
.job-action::after { content: ' →'; }
@media (max-width: 880px) {
  .job-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.25rem 1.5rem;
  }
  .job-action { margin-top: 0.4rem; }
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-item {
  background: white;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.benefit-icon {
  width: 44px; height: 44px;
  background: var(--parchment-warm);
  color: var(--navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-item h4 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.benefit-item p {
  color: var(--slate);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* Application process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 880px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--rule);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step-num {
  font-family: var(--serif-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: block;
}
.process-step h4 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.process-step p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* ========================================================== */
/* SUBSIDIARY MINI-SITES                                       */
/* ========================================================== */

/* Subsidiary header — slightly different from main */
.subsidiary-header .brand-name {
  font-size: 1.05rem;
}
.subsidiary-nav a.active {
  color: var(--gold-deep);
  font-weight: 700;
}
.subsidiary-nav a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--gold);
  margin-top: 0.3rem;
  border-radius: 1px;
}
.subsidiary-nav .back-to-family {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  transition: all 0.2s;
}
.subsidiary-nav .back-to-family:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--parchment-warm);
}

/* Program cards — used across all 3 mini-sites */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.program-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
  text-decoration: none;
  color: inherit;
}
.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20,42,96,0.10);
}
.program-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  position: relative;
  overflow: hidden;
}
.program-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.program-card-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
}
.program-card-icon svg { width: 56px; height: 56px; }
.program-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-card .program-age {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.45rem;
}
.program-card h3 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.program-card p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}
.program-card .program-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-transform: uppercase;
  margin-top: auto;
}
.program-card .program-link::after { content: ' →'; color: var(--gold); }

/* At-a-glance stats — for subsidiary landing pages */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.at-a-glance-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.at-a-glance-item:last-child { border-right: none; }
.at-a-glance-num {
  font-family: var(--serif-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.at-a-glance-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate);
  font-weight: 600;
}
@media (max-width: 720px) {
  .at-a-glance { grid-template-columns: repeat(2, 1fr); }
  .at-a-glance-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .at-a-glance-item:nth-child(2n) { border-right: none; }
  .at-a-glance-item:nth-child(2n-1) { border-right: 1px solid var(--rule); }
  .at-a-glance-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* Service feature row — large illustrated rows for service detail pages */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-img { order: 1; }
@media (max-width: 880px) {
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-row.reverse .feature-text,
  .feature-row.reverse .feature-img { order: 0; }
}
.feature-text .eyebrow { margin-bottom: 0.75rem; }
.feature-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20,42,96,0.10);
  position: relative;
}
.feature-img img {
  width: 100%; display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Detail list — for FAQ-style content */
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
}
.detail-list li:last-child { border-bottom: none; }
.detail-list .detail-icon {
  width: 28px; height: 28px;
  background: var(--parchment-warm);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
}
.detail-list .detail-body strong {
  display: block;
  color: var(--navy-deep);
  font-family: var(--serif-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.detail-list .detail-body p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================================== */
/* SERVICES MINI-SITE — additional components                  */
/* ========================================================== */

/* Big testimonial / spotlight block */
.spotlight-block {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  box-shadow: 0 16px 48px rgba(20,42,96,0.10);
}
.spotlight-block.reverse { grid-template-columns: 1.3fr 1fr; }
.spotlight-block.reverse .spotlight-img { order: 2; }
.spotlight-block.reverse .spotlight-text { order: 1; }
.spotlight-img {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotlight-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.spotlight-icon-fallback {
  width: 120px; height: 120px;
  color: var(--gold);
  opacity: 0.4;
}
.spotlight-text {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spotlight-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.spotlight-text h3 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.spotlight-text p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.spotlight-quote {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0 1rem;
}
.spotlight-attribution {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--slate);
}
@media (max-width: 880px) {
  .spotlight-block, .spotlight-block.reverse {
    grid-template-columns: 1fr;
  }
  .spotlight-block.reverse .spotlight-img { order: 0; }
  .spotlight-block.reverse .spotlight-text { order: 0; }
  .spotlight-img { min-height: 280px; }
}

/* Partner logo band */
.partner-band {
  background: var(--cream);
  padding: 2.5rem 0;
  text-align: center;
}
.partner-band-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.partner-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-family: var(--serif-display);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 500;
}
.partner-list .partner-name {
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: white;
  color: var(--navy-deep);
  font-style: italic;
}

/* Service location/area summary */
.service-area {
  background: var(--navy-deep);
  color: white;
  padding: 3rem 2.5rem;
  border-radius: 6px;
  text-align: center;
}
.service-area h3 {
  font-family: var(--serif-display);
  color: white;
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.service-area p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}
.service-areas-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.service-areas-list span {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(232,165,60,0.3);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gold-soft);
}

/* ========================================================== */
/* BOARD / LEADERSHIP PAGES                                    */
/* ========================================================== */

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.board-member {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.board-member-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--parchment-warm), var(--cream));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.board-member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.board-member-photo .placeholder-initials {
  font-family: var(--serif-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.4;
}
.board-member-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.board-member-role {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.board-member-name {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.board-member-title {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.45;
  font-style: italic;
}

/* Featured Chair (larger card at top of board page) */
.board-chair-feature {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: white;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 2rem 2.25rem;
  align-items: center;
  box-shadow: 0 8px 24px rgba(20,42,96,0.06);
}
@media (max-width: 720px) {
  .board-chair-feature {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .board-chair-feature .board-member-photo {
    max-width: 220px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
  }
}
.board-chair-feature .board-member-photo {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}
.board-chair-feature .board-member-role {
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}
.board-chair-feature .board-member-name {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.board-chair-feature .board-member-title {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.board-chair-feature p {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Roster placeholder block */
.roster-placeholder {
  padding: 2.5rem;
  background: var(--parchment-warm);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  text-align: center;
}
.roster-placeholder .placeholder-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.roster-placeholder h3 {
  font-family: var(--serif-display);
  color: var(--navy-deep);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.roster-placeholder p {
  color: var(--charcoal);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}
