/* ── Variables ───────────────────────────────────────────── */
    :root {
      --stone:       #e8e2d9;
      --stone-dark:  #c9bfaf;
      --earth:       #5c4a32;
      --earth-light: #80684d;
      --moss:        #4a5c3a;
      --cream:       #f7f3ed;
      --ink:         #2a1f14;
      --ink-soft:    #4a3c2c;
      --gold:        #b8922a;
      --gold-light:  #d4a93c;
      --rule:        1px solid rgba(92,74,50,0.18);
    }

    /* ── Reset & Base ────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      background: var(--cream);
      color: var(--ink);
      font-family: 'Crimson Pro', Georgia, serif;
      font-size: 18px;
      line-height: 1.75;
      font-weight: 300;
    }

    /* Stone-grain texture overlay */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9999;
      opacity: 0.5;
    }

    img { max-width: 100%; display: block; }
    a { color: var(--earth); text-decoration: none; }
    a:hover { color: var(--gold); }

    /* ── Layout helpers ──────────────────────────────────────── */
    .wrap {
      max-width: 860px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    .wide-wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    /* ── Section spacing ─────────────────────────────────────── */
    section { padding: 5rem 0; }
    section + section { border-top: var(--rule); }

    /* ── Ornamental rule ─────────────────────────────────────── */
    .ornament {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin: 1.5rem 0 2.5rem;
    }
    .ornament::before, .ornament::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--stone-dark);
    }
    .ornament span {
      color: var(--gold);
      font-size: 1.4rem;
      line-height: 1;
    }

    /* ── Typography ──────────────────────────────────────────── */
    h1, h2, h3, h4 {
      font-family: 'Playfair Display', Georgia, serif;
      font-weight: 600;
      line-height: 1.2;
    }
    h2 {
      font-size: clamp(1.7rem, 4vw, 2.4rem);
      color: var(--earth);
      margin-bottom: 0.4rem;
    }
    h3 {
      font-size: 1.25rem;
      color: var(--earth);
    }
    .section-label {
      text-transform: uppercase;
      letter-spacing: 0.2em;
      font-size: 0.7rem;
      color: var(--earth-light);
      font-family: 'Crimson Pro', serif;
      font-weight: 600;
    }
    p { margin-bottom: 1.1em; }
    p:last-child { margin-bottom: 0; }

    /* ── NAV ─────────────────────────────────────────────────── */
    body > nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(247,243,237,0.94);
      backdrop-filter: blur(8px);
      border-bottom: var(--rule);
    }
    body > nav .inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.85rem 2rem;
      max-width: 1100px;
      margin: 0 auto;
    }
    .nav-brand {
      font-family: 'Playfair Display', serif;
      font-size: 1rem;
      font-weight: 600;
      color: var(--earth);
      letter-spacing: 0.02em;
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--ink-soft);
      font-weight: 400;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--gold); }

    /* Mobile nav toggle */
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      padding: 4px;
    }
    .nav-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--ink);
      transition: all 0.3s;
    }

    @media (max-width: 900px) {
      .nav-toggle { display: flex; }
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--cream);
        border-bottom: var(--rule);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.2rem;
      }
      .nav-links.open { display: flex; }
    }

    /* ── HERO ─────────────────────────────────────────────────── */
    #hero {
      position: relative;
      min-height: 92vh;
      min-height: 92svh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
      padding: 6rem 2rem;
      border-top: none;
    }

    /* Layered background: gradient + subtle pattern */
    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(
          to bottom,
          rgba(30, 20, 10, 0.45) 0%,
          rgba(20, 12, 5, 0.55) 100%
        ),
        var(--hero-image, url('images/church-hero.jpg')) center center / cover no-repeat;
      filter: blur(2px);
      transform: scale(1.05);
    }



    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 680px;
    }
    .hero-badge {
      display: inline-block;
      border: 1px solid var(--stone-dark);
      color: rgba(255,255,255,0.75);
      border-color: rgba(255,255,255,0.35); 
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.22em;
      padding: 0.4em 1.2em;
      margin-bottom: 2rem;
      font-weight: 600;
    }
    .hero-badge     { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.35); }
    .scroll-hint    { color: rgba(255,255,255,0.6); }

    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.4rem, 7vw, 4.2rem);
      font-weight: 800;
      color: #f9f8f7;
      line-height: 1.08;
      margin-bottom: 0.5rem;
    }
    .hero-title em {
      font-style: italic;
      color: #fff; 
    }
    .hero-sub {
      font-size: 1.15rem;
      color: rgba(255,255,255,0.8);
      margin: 1.5rem 0 2.5rem;
      font-weight: 300;
      font-style: italic;
    }

    /* Gold cross icon */
    .cross-icon {
      display: block;
      margin: 0 auto 2rem;
      width: 36px;
      height: 36px;
      position: relative;
    }
    .cross-icon::before, .cross-icon::after {
      content: '';
      position: absolute;
      background: var(--gold);
      border-radius: 2px;
    }
    .cross-icon::before { width: 4px; height: 100%; left: 50%; transform: translateX(-50%); }
    .cross-icon::after  { width: 100%; height: 4px; top: 30%; }

    .hero-cta {
      display: inline-block;
      background: var(--earth);
      color: var(--cream);
      padding: 0.75em 2.2em;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      font-weight: 400;
      transition: background 0.25s, color 0.25s;
      margin-right: 1rem;
    }
    .hero-cta:hover { background: var(--gold); color: var(--ink); }
    .hero-cta.outline {
      background: transparent;
      color: var(--cream);
      border: 1px solid var(--stone-dark);
      margin-right: 0;
    }
    .hero-cta.outline:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

    /* Scroll indicator */
    .scroll-hint {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      color: rgba(255,255,255,0.6); 
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }
    .scroll-hint .arrow {
      width: 1px;
      height: 36px;
      background: linear-gradient(to bottom, var(--earth-light), transparent);
      animation: scrollPulse 2s ease-in-out infinite;
    }
    @keyframes scrollPulse {
      0%, 100% { opacity: 0.4; transform: scaleY(1); }
      50% { opacity: 1; transform: scaleY(1.1); }
    }

    /* ── ABOUT ───────────────────────────────────────────────── */
    #about { background: var(--cream); }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
    }
    .about-image-frame {
      position: relative;
    }
    .about-image-frame::before {
      content: '';
      position: absolute;
      top: -12px; left: -12px;
      right: 12px; bottom: 12px;
      border: 1px solid var(--stone-dark);
      pointer-events: none;
      z-index: 0;
    }
    .about-image-frame .placeholder-img {
      position: relative;
      z-index: 1;
      width: 100%;
      aspect-ratio: 3/4;
      background: linear-gradient(135deg, #d9d1c4 0%, #c4b89e 50%, #b8a882 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      color: var(--earth-light);
    }
    .placeholder-img .church-svg { opacity: 0.5; }
    .placeholder-img p { font-size: 0.8rem; text-align: center; max-width: 80%; line-height: 1.4; font-style: italic; }

    @media (max-width: 700px) {
      .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    }

    /* ── MINUTES ─────────────────────────────────────────────── */

    .minute-card a {
  overflow-wrap: anywhere;
}
    #minutes { background: #f0ebe2; }

    .minutes-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 1px;
      background: var(--stone-dark);
      border: 1px solid var(--stone-dark);
      margin-top: 2rem;
    }
    .minute-card {
      background: var(--cream);
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      transition: background 0.2s;
    }
    .minute-card:hover { background: #fff; }
    .minute-card .date {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--earth-light);
      font-weight: 600;
    }
    .minute-card h3, .minute-card h4 { font-size: 1rem; }
    .minute-card a {
      display: inline-flex;
      align-items: center;
      gap: 0.4em;
      font-size: 0.8rem;
      color: var(--moss);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 600;
      margin-top: 0.5rem;
    }
    .minute-card a:hover { color: var(--gold); }
    .minute-card a::after { content: '↓'; }

    .minutes-note {
      margin-top: 1.5rem;
      font-size: 0.85rem;
      color: var(--earth-light);
      font-style: italic;
    }

    /* ── EVENTS ──────────────────────────────────────────────── */
    #events { background: var(--cream); }

    .events-list { margin-top: 2rem; }
    .event-item {
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: 1.5rem 2rem;
      padding: 2rem 0;
      border-bottom: var(--rule);
      align-items: start;
    }
    .event-item:first-child { border-top: var(--rule); }
    .event-date-block {
      text-align: center;
      background: var(--earth);
      color: var(--cream);
      padding: 0.6rem 0.5rem;
      line-height: 1;
    }
    .event-date-block .day {
      display: block;
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      font-weight: 800;
    }
    .event-date-block .month {
      display: block;
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-top: 0.2rem;
      opacity: 0.85;
    }
    .event-body h3, .event-body h4 { font-size: 1.15rem; margin-bottom: 0.3rem; }
    .event-meta {
      font-size: 0.8rem;
      color: var(--earth-light);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 0.6rem;
      font-weight: 600;
    }
    .event-body p { font-size: 0.95rem; color: var(--ink-soft); }

    .events-note {
      margin-top: 2rem;
      font-size: 0.9rem;
      color: var(--earth-light);
      font-style: italic;
    }

    .event-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem 1.1rem;
      margin-top: 0.85rem;
    }

    .event-links a {
      color: var(--moss);
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-decoration: underline;
      text-underline-offset: 0.2em;
    }

    .event-links a:hover { color: var(--gold); }


    /* ── TRUSTEES ────────────────────────────────────────────── */
    #trustees { background: #f0ebe2; }

    .trustees-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }
    .trustee-card {
      border: 1px solid var(--stone-dark);
      padding: 1.4rem 1.2rem;
      background: var(--cream);
    }
    .trustee-card h3, .trustee-card h4 { font-size: 1rem; margin-bottom: 0.2rem; }
    .trustee-card .role {
      font-size: 0.75rem;
      color: var(--earth-light);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 600;
    }
    .trustee-card .appointed {
      font-size: 0.7rem;
      color: rgba(92, 74, 50, 0.55);
      margin-top: 0.4rem;
    }

    .secretary-box {
      margin-top: 3rem;
      border-top: var(--rule);
      padding-top: 2.5rem;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 2rem;
      align-items: center;
    }
    .secretary-box h3 { margin-bottom: 0.4rem; }
    .secretary-box p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
    .contact-btn {
      display: inline-block;
      border: 1px solid var(--earth);
      color: var(--earth);
      padding: 0.65em 1.8em;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      white-space: nowrap;
      transition: all 0.2s;
    }
    .contact-btn:hover { background: var(--earth); color: var(--cream); }

    @media (max-width: 600px) {
      .secretary-box { grid-template-columns: 1fr; }
    }

    /* ── HISTORY ─────────────────────────────────────────────── */
    #history { background: var(--earth); color: var(--stone); }
    #history h2 { color: var(--stone); }
    #history .section-label { color: var(--stone-dark); opacity: 0.7; }
    #history .ornament::before, #history .ornament::after { background: rgba(201,191,175,0.3); }
    #history .ornament span { color: var(--gold-light); }
    #history p { color: rgba(232,226,217,0.85); }
    #history a { color: var(--gold-light); }
    #history a:hover { color: #fff; }

    .history-timeline {
      margin-top: 2.5rem;
      position: relative;
      padding-left: 2rem;
    }
    .history-timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.5rem; bottom: 0.5rem;
      width: 1px;
      background: rgba(201,191,175,0.25);
    }
    .timeline-item {
      position: relative;
      padding: 0 0 2.5rem 2rem;
    }
    .timeline-item::before {
      content: '';
      position: absolute;
      left: -4px;
      top: 0.5rem;
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--gold);
    }
    .timeline-item .year {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--gold-light);
      line-height: 1;
      margin-bottom: 0.4rem;
    }
    .timeline-item h4 { color: var(--stone); margin-bottom: 0.3rem; }
    .timeline-item p { font-size: 0.95rem; margin: 0; }

    .timeline-controls {
      margin-top: 0.25rem;
      padding-left: 4rem;
    }
    .timeline-toggle {
      border: 1px solid rgba(232,226,217,0.6);
      background: transparent;
      color: var(--stone);
      padding: 0.7em 1.35em;
      font: inherit;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }
    .timeline-toggle:hover {
      border-color: var(--gold-light);
      background: rgba(255,255,255,0.06);
      color: var(--gold-light);
    }

    /* Only collapse secondary milestones after JavaScript has enhanced the timeline.
       Without JavaScript, the complete historical record remains visible. */
    .history-timeline.timeline-enhanced .timeline-secondary {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      padding-bottom: 0;
      transform: translateY(-0.5rem);
      pointer-events: none;
      transition: max-height 0.45s ease, opacity 0.3s ease, padding-bottom 0.45s ease, transform 0.35s ease;
    }
    .history-timeline.timeline-enhanced.timeline-expanded .timeline-secondary {
      opacity: 1;
      padding-bottom: 2.5rem;
      transform: none;
      pointer-events: auto;
    }

    @media (max-width: 520px) {
      .timeline-controls { padding-left: 2rem; }
      .timeline-toggle { width: 100%; }
    }

    /* ── SUPPORT / DONATE ────────────────────────────────────── */
    #support { background: var(--cream); }

    .support-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 1.5rem;
      margin-top: 2.5rem;
    }
    .support-card {
      border: 1px solid var(--stone-dark);
      padding: 2rem 1.5rem;
      position: relative;
      overflow: hidden;
    }
    .support-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 3px;
      background: var(--gold);
    }
    .support-card .icon {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
    .support-card h4 { margin-bottom: 0.5rem; }
    .support-card p { font-size: 0.9rem; color: var(--ink-soft); }

    .support-card .text-link { margin-top: 0.75rem; }


    /* ── FOOTER ──────────────────────────────────────────────── */
    footer {
      background: var(--ink);
      color: var(--stone-dark);
      padding: 4rem 2rem 2.5rem;
    }
    .footer-inner {
      max-width: 860px;
      margin: 0 auto;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 3rem;
      padding-bottom: 2.5rem;
      border-bottom: 1px solid rgba(201,191,175,0.12);
    }
    .footer-col h5 {
      font-family: 'Playfair Display', serif;
      font-size: 0.95rem;
      color: var(--stone);
      margin-bottom: 1rem;
    }
    .footer-col p, .footer-col li {
      font-size: 0.85rem;
      line-height: 1.8;
      color: rgba(201,191,175,0.7);
    }
    .footer-col ul { list-style: none; }
    .footer-col a { color: rgba(201,191,175,0.7); transition: color 0.2s; }
    .footer-col a:hover { color: var(--gold-light); }
    .footer-bottom {
      padding-top: 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.75rem;
      color: rgba(201,191,175,0.4);
    }
    .footer-bottom .charity-no { font-size: 0.72rem; }

    @media (max-width: 620px) {
      .footer-top { grid-template-columns: 1fr; gap: 2rem; }
      .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    }

    /* ── Fade-in on scroll ───────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }

    .hero-photo-credit {
  position: absolute;
  bottom: 0.6rem;
  right: 0.8rem;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.3);
  padding: 0.2em 0.6em;
  border-radius: 2px;
  letter-spacing: 0.02em;
  z-index: 2;
}

.hero-photo-credit a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-photo-credit a:hover {
  color: rgba(255,255,255,0.95);
}

.photo-credit {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.35);
  padding: 0.2em 0.6em;
  border-radius: 2px;
  letter-spacing: 0.02em;
  z-index: 2;
}

.photo-credit a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-credit a:hover {
  color: rgba(255,255,255,0.95);
}

/* ── FACEBOOK LINK ───────────────────────────────────────────── */
.facebook-section {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid var(--stone-dark);
  background:
    linear-gradient(135deg, rgba(184,146,42,0.08), rgba(74,92,58,0.06)),
    var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.facebook-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
}

.facebook-section h3 {
  margin-bottom: 0.4rem;
}

.facebook-section p {
  max-width: 520px;
  margin: 0 auto 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.facebook-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  border: 1px solid var(--earth);
  background: var(--earth);
  color: var(--cream);
  padding: 0.7em 1.8em;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: all 0.2s;
}

.facebook-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

@media (max-width: 520px) {
  .hero-cta {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 0.9rem;
  }

  .hero-cta.outline {
    margin-right: auto;
  }
}

  

/* --- SEO/accessibility/performance additions --- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.nav-brand { display: inline-block; }
main > section:not(#hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
#resources { background: #f0ebe2; }
.resource-box {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--stone-dark);
  background: var(--cream);
}
.resource-box h3 { margin-bottom: 0.7rem; }
.resource-download {
  display: inline-block;
  color: var(--moss);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.resource-download::after { content: ' ↓'; }
@media (max-width: 520px) {
  .resource-box { padding: 1.5rem; }
  .resource-actions { align-items: flex-start; flex-direction: column; }
}

.resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.resource-card {
  border: 1px solid var(--stone-dark);
  background: var(--cream);
  padding: 2rem;
  position: relative;
}
.resource-card-featured {
  background: linear-gradient(135deg, rgba(184,146,42,0.09), rgba(74,92,58,0.06)), var(--cream);
}
.resource-card-featured::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}
.resource-kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--earth-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.resource-card h3 { margin-bottom: 0.7rem; }
.resource-card p { color: var(--ink-soft); font-size: 0.95rem; }
.resource-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; align-items: center; margin-top: 1.3rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.text-link:hover { color: var(--gold); }
@media (max-width: 760px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* Article page */
.article-page { background: var(--cream); }
.article-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(184,146,42,0.18), transparent 30%),
    linear-gradient(135deg, var(--ink), var(--earth));
  color: var(--stone);
  padding: 5.5rem 0 4.5rem;
  border-top: 0;
}
.article-hero .section-label { color: var(--gold-light); }
.article-hero h1 {
  max-width: 820px;
  margin-top: 0.5rem;
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 4rem);
}
.article-deck {
  max-width: 720px;
  margin-top: 1.4rem;
  color: rgba(255,255,255,0.82);
  font-size: 1.2rem;
}
.breadcrumbs {
  position: static;
  top: auto;
  z-index: auto;
  margin-bottom: 2rem;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.45rem; opacity: 0.55; }
.breadcrumbs a { color: rgba(255,255,255,0.75); }
.article-main { padding: 4.5rem 0 5.5rem; }
.article-shell { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.article-intro { font-size: 1.18rem; color: var(--ink-soft); }
.article-main h2 { margin-top: 3.2rem; margin-bottom: 1rem; }
.article-main h3 { margin-top: 1.8rem; margin-bottom: 0.55rem; }
.download-panel {
  margin: 2.5rem 0 3rem;
  padding: 2rem;
  border: 1px solid var(--stone-dark);
  border-left: 5px solid var(--gold);
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 14px 40px rgba(42,31,20,0.07);
}
.download-panel h2 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.download-panel p { margin: 0; color: var(--ink-soft); }
.download-button {
  display: inline-block;
  white-space: nowrap;
  background: var(--earth);
  color: var(--cream);
  padding: 0.8em 1.35em;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.download-button:hover { background: var(--gold); color: var(--ink); }
.tour-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0 0;
  border: 1px solid var(--stone-dark);
  background: var(--stone-dark);
}
.tour-fact { padding: 1.25rem; background: #fff; }
.tour-fact strong { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; color: var(--earth); }
.tour-fact span { display: block; margin-top: 0.25rem; color: var(--earth-light); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.6rem; }
.highlight-card { border: 1px solid var(--stone-dark); background: #fff; padding: 1.4rem; }
.highlight-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.highlight-card p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }
.route-steps { counter-reset: route; list-style: none; margin-top: 1.4rem; }
.route-steps li { position: relative; padding: 0 0 1.5rem 3rem; }
.route-steps li::before {
  counter-increment: route;
  content: counter(route);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--earth);
  color: var(--cream);
  font-weight: 600;
}
.visit-box { margin-top: 3rem; padding: 1.7rem; background: #f0ebe2; border: 1px solid var(--stone-dark); }
.visit-box h2 { margin-top: 0; }
.related-links { margin-top: 3rem; border-top: var(--rule); padding-top: 2rem; }
.related-links ul { margin-left: 1.2rem; }
.related-links li { margin: 0.45rem 0; }
@media (max-width: 680px) {
  .download-panel { grid-template-columns: 1fr; }
  .download-button { text-align: center; }
  .tour-facts, .highlight-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Governance page */
.governance-page #trustees,
.governance-page #minutes {
  background: transparent;
}

.governance-page .governance-block {
  padding: 0;
  margin-top: 3rem;
}

.governance-page .governance-block + .governance-block {
  border-top: var(--rule);
  padding-top: 3rem;
}

.governance-page .governance-block h2 {
  margin-top: 0;
}

.governance-page .governance-summary {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--stone-dark);
  background: #f0ebe2;
}

.governance-page .governance-summary p {
  margin: 0;
  color: var(--ink-soft);
}
