/* =============================================================
   WOKING SPEAKERS CLUB — Stylesheet
   wokingspeakers.org.uk
   
   SECTIONS:
   1.  Variables & reset
   2.  Navigation
   3.  Banner
   4.  Hero
   5.  Section shared styles
   6.  About
   7.  Meetings & timeline
   8.  First visit
   9.  FAQ
   10. Join & pricing
   11. Testimonials
   12. Contact & form
   13. Footer
   14. Responsive (mobile)
   15. Animations
   ============================================================= */

  /* ── Palette ──────────────────────────────────────────────────
     The club's navy/gold scheme. Note this is NOT the Toastmasters
     International brand palette (Loyal Blue / True Maroon / Cool Gray /
     Happy Yellow) — that was trialled and set aside deliberately.
     Every colour is tokenised here, so swapping schemes is a change to
     this block plus the --accent-ink note below, not a site-wide edit.
     ───────────────────────────────────────────────────────────── */
  :root {
    --navy: #1a2744;
    --navy-mid: #253562;
    --navy-deep: #0f1928;
    --gold: #c8913a;
    --gold-light: #f0d49a;
    --gold-hover: #d9a24d;
    --gold-pale: #fdf6e7;
    /* accent-ink drives every accent that sits on a LIGHT surface: section
       eyebrows, the facts strip, timeline markers, inline links, the event
       band. Gold is only 2.78:1 on white, so using it here is below WCAG AA
       (4.5:1) — a long-standing issue, not a new one. Darkening this single
       token to ~#94671a (4.98:1) fixes all of them without touching the gold
       used for fills and for text on navy, which is fine at 5.34:1. */
    --accent-ink: #c8913a;
    --accent-ink-hover: #c8913a;
    --accent-line: rgba(200,145,58,0.35);
    --cream: #faf8f4;
    --warm-white: #ffffff;
    --text-main: #1a2744;
    --text-muted: #5a6480;
    --text-hint: #8a94a8;
    --border: rgba(26,39,68,0.12);
    --radius: 10px;
    --radius-lg: 18px;
  }

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

  html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

  /* Skip link — visible only on keyboard focus */
  .skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0 0 6px 6px;
    text-decoration: none;
    font-size: 0.9rem;
  }
  .skip-link:focus { top: 0; }

  /* Required field asterisk */
  .required-mark { color: var(--gold); margin-left: 2px; }

  /* Form label note */
  .form-required-note { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }

  /* Form validation error state */
  [aria-invalid="true"] {
    border-color: #f87171 !important;
    background: rgba(248,113,113,0.08) !important;
  }
  [aria-invalid="true"]:focus {
    outline-color: #f87171;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ─── NAV ─────────────────────────────────────────── */
  /* ─── BANNER ────────────────────────────────────────── */
  .next-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    letter-spacing: 0.01em;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .next-banner.dismissed {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
  .banner-spacer {
    width: 34px;
    flex-shrink: 0;
  }
  /* `display: flex` below would otherwise beat the hidden attribute, so the
     swap between the meeting and special-event banner needs this explicitly. */
  .banner-content[hidden] { display: none; }
  .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
    text-align: center;
    min-width: 0;
  }
  .banner-end {
    width: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .next-banner a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
    white-space: nowrap;
  }
  .next-banner a .cta-short { display: none; }
  .next-banner-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--navy);
    opacity: 0.35;
    display: inline-block;
    flex-shrink: 0;
  }
  @media (max-width: 500px) {
    .next-banner-dot { display: none; }
    .banner-content { gap: 5px; }
    /* Keep the CTA on mobile, but swap to a shorter label so it fits */
    .next-banner a .cta-full { display: none; }
    .next-banner a .cta-short { display: inline; }
  }
  .banner-countdown {
    background: rgba(0,0,0,0.12);
    border-radius: 4px;
    padding: 1px 7px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .banner-dismiss {
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(0,0,0,0.18);
    cursor: pointer;
    color: var(--navy);
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
    padding: 0;
  }
  .banner-dismiss:hover, .banner-dismiss:active { background: rgba(0,0,0,0.38); }
  .banner-dismiss svg { pointer-events: none; display: block; }

  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 150;
    transition: top 0.3s ease;
    background: rgba(250,248,244,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
  }
  .nav-logo img { height: 48px; width: auto; display: block; }
  .footer-logo-img { height: 28px; width: auto; opacity: 0.5; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
  }
  .nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links a:hover { color: var(--navy); background: rgba(26,39,68,0.06); }
  .nav-links a:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }

  .nav-cta {
    background: var(--navy) !important;
    color: var(--warm-white) !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s !important;
    margin-left: 0.5rem;
  }
  .nav-cta:hover { background: var(--navy-mid) !important; }

  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  /* ─── HERO ─────────────────────────────────────────── */
  #home {
    /* Well under a full screen so the practical details in the facts strip
       below sit properly in view, rather than only peeking past the fold.
       Top padding has to clear the fixed banner + nav (~101px combined). */
    min-height: 72vh;
    display: flex;
    align-items: center;
    /* Top padding is only the pre-JS fallback — applyLayout() in wsc-site.js
       overwrites it with (banner + nav + 40). Keep it matching the common case
       (44 + 64 + 40) so the hero doesn't jump on first paint. */
    padding: 148px 5vw 52px;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
    z-index: 0;
  }

  .hero-arc {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    z-index: 1;
  }

  .hero-dots {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle, #c8913a 1.5px, transparent 1.5px);
    background-size: 36px 36px;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Kept light: a heavier yellow wash lifts the local backdrop and eats into
       the contrast of the gold label sitting on it. */
    background: rgba(200,145,58,0.18);
    border: 1px solid rgba(200,145,58,0.35);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    display: block;
  }

  .hero-headline {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--warm-white);
    margin-bottom: 1.05rem;
  }
  .hero-headline em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
  }

  .hero-sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 540px;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
  .btn-primary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--warm-white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.18); }
  .btn-ghost:focus-visible { outline: 2px solid rgba(255,255,255,0.8); outline-offset: 3px; }

  .hero-meta {
    position: absolute;
    bottom: 90px;
    right: 5vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
  }
  .hero-stat {
    text-align: right;
  }
  .hero-stat-num {
    font-family: 'Fraunces', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
  }
  .hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .hero-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    align-self: center;
  }

  /* ─── SECTIONS ─────────────────────────────────────── */
  section { scroll-margin-top: 64px; }

  .section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 90px 5vw;
  }

  .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .section-label::after {
    content: '';
    flex: 1;
    max-width: 40px;
    height: 1.5px;
    background: currentColor;
    opacity: 0.5;
  }

  .section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 1rem;
  }

  .section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 3rem;
  }

  /* ─── WHY JOIN ─────────────────────────────────────── */
  #about { background: var(--warm-white); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1rem;
  }

  .about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.2rem;
  }

  .quote-block {
    border-left: 3px solid var(--accent-ink);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--gold-pale);
    border-radius: 0 var(--radius) var(--radius) 0;
  }
  .quote-block p {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin: 0 0 0.5rem !important;
  }
  .quote-block cite {
    font-size: 0.82rem;
    color: var(--text-hint);
    font-style: normal;
    font-weight: 500;
  }

  .benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 2rem;
  }
  .benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
    color: var(--text-muted);
  }
  .benefit-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
  }
  .benefit-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-ink);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Stats row */
  .stats-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .stat-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--border);
  }
  .stat-card-num {
    font-family: 'Fraunces', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
  }
  .stat-card-label {
    font-size: 0.875rem;
    color: var(--text-muted);
  }
  .stat-card-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* ─── HOW IT WORKS ─────────────────────────────────── */
  #meetings { background: var(--cream); }

  .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 2.5rem;
    margin-top: 1rem;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-ink) 0%, rgba(200,145,58,0.2) 100%);
  }

  .timeline-item {
    position: relative;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .timeline-item:last-child { border-bottom: none; }

  .timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 1.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--warm-white);
    border: 2px solid var(--accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-ink);
  }
  .timeline-dot svg {
    width: 11px;
    height: 11px;
    stroke: var(--accent-ink);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .timeline-dot svg {
    width: 11px;
    height: 11px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .timeline-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
  }
  .timeline-body {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .timeline-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--gold-pale);
    color: var(--accent-ink);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .meetings-aside {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--warm-white);
  }
  .meetings-aside h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gold-light);
  }
  .meetings-aside p {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin-bottom: 1rem;
  }
  .venue-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
  }
  .venue-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
  }
  .venue-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    margin-top: 2px;
  }
  .btn-venue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.65rem 1.2rem;
    border-radius: 7px;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .btn-venue:hover { background: var(--gold-hover); }

  .meetings-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
  }

  /* ─── First visit guest list ────────────────────────── */
  .guest-list {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .guest-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .guest-row-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(200,145,58,0.18);
    border: 1px solid rgba(200,145,58,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
  }
  .guest-row-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .guest-row-icon--time {
    font-family: 'Fraunces', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
  }
  .guest-row-text h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 0.4rem;
  }
  .guest-row-text p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    max-width: 640px;
  }

  /* ─── FIRST VISIT ────────────────────────────────────*/
  #firstvisit { background: var(--navy); }
  #firstvisit .section-label { color: var(--gold); }
  #firstvisit .section-title { color: var(--warm-white); }
  #firstvisit .section-sub { color: rgba(255,255,255,0.7); }

  /* ─── STORIES ────────────────────────────────────────*/
  #stories { background: var(--warm-white); }

  /* ─── FAQ ──────────────────────────────────────────── */
  #faq { background: var(--warm-white); }

  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .faq-item {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
  }
  .faq-item:hover { border-color: var(--accent-line); }

  .faq-q {
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }
  .faq-a {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .faq-a a {
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
  }
  .faq-a a:hover { text-decoration: underline; }

  /* ─── JOIN ─────────────────────────────────────────── */
  #join { background: var(--cream); }

  .join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .join-step {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    position: relative;
  }

  .join-step-num {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--gold-pale);
    line-height: 1;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    user-select: none;
  }

  .join-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
  }

  .join-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .join-step p a {
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
  }
  .join-step p a:hover { text-decoration: underline; }

  .price-box {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .price-item { color: var(--warm-white); }
  .price-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.35rem;
  }
  .price-item-value {
    font-family: 'Fraunces', serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
  }
  .price-item-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
  }
  .price-note {
    grid-column: 1 / -1;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.7);
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  /* Month picker inside the price box (see the cost for any joining month) */
  .fee-picker { grid-column: 1 / -1; }
  .fee-picker-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.65rem;
  }
  .fee-picker-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
  }
  .fee-picker select {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--warm-white);
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 0.55rem 2.2rem 0.55rem 0.9rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f0d49a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
  }
  .fee-picker select:hover { border-color: rgba(255,255,255,0.45); }
  .fee-picker select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .fee-picker select option { color: #1a2744; }  /* readable in the native dropdown */
  .fee-picker-result {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0;
  }
  .fee-picker-result strong { color: var(--gold-light); font-weight: 600; }

  /* ─── CONTACT ──────────────────────────────────────── */
  #contact { background: var(--navy); }
  #contact .section-title { color: var(--warm-white); }
  #contact .section-label { color: var(--gold); }
  #contact .section-sub { color: rgba(255,255,255,0.75); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 1rem;
  }

  .contact-form-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
  }

  .form-group {
    margin-bottom: 1.1rem;
  }
  .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    color: var(--warm-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
    transition: border-color 0.2s, background 0.2s;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
  }
  .form-group input:focus-visible,
  .form-group textarea:focus-visible,
  .form-group select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
  .form-group textarea { resize: vertical; min-height: 120px; }

  .form-group select option { background: var(--navy-mid); color: var(--warm-white); }

  .btn-submit {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
  }
  .btn-submit:hover { background: var(--gold-hover); }
  .btn-submit:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--warm-white);
    font-size: 0.93rem;
    transition: background 0.2s, border-color 0.2s;
  }
  .contact-link:hover { background: rgba(255,255,255,0.1); border-color: rgba(200,145,58,0.08); }
  .contact-link-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: rgba(200,145,58,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contact-link-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .contact-link strong { display: block; font-weight: 600; font-size: 0.9rem; }
  .contact-link span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

  /* Per-field validation message, injected under the input by wsc-site.js */
  .form-field-error {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    color: #f87171;
    line-height: 1.4;
  }

  .form-send-error {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #f87171;
    line-height: 1.5;
  }
  .form-send-error a { color: #f87171; text-decoration: underline; }

  .form-success {
    display: none;
    text-align: center;
    padding: 2rem;
    color: var(--warm-white);
  }
  .form-success h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
  }
  .form-success p {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.8);
  }

  /* ─── FOOTER ─────────────────────────────────────────*/
  footer {
    background: var(--navy-deep);
    padding: 2rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
  }
  .footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
  }
  .footer-links a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold); }
  .footer-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

  /* ─── RESPONSIVE ─────────────────────────────────────*/

  /* ─── STORY CARDS (member testimonials) ─────────────── */
  .story-grid-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .story-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
  }
  .story-card-body { padding: 1.75rem 1.75rem 1rem; }
  .story-card-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: center;
  }
  .story-card-name { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
  .story-card-role { font-size: 0.78rem; color: var(--text-hint); }
  .story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .story-before { background: rgba(200,145,58,0.08); border-radius: 8px; padding: 0.85rem; }
  .story-after  { background: rgba(26,39,68,0.05); border-radius: 8px; padding: 0.85rem; }
  .story-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-hint);
    margin-bottom: 0.4rem;
  }
  .story-quote-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
  .story-footer {
    border-top: 1px solid var(--border);
    padding: 1.25rem 1.75rem;
    background: var(--warm-white);
    flex: 1;
  }
  .story-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    font-style: italic;
  }

  /* ─── PERSONA CARDS ("Who comes here?") ─────────────── */
  .persona-panel {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 1rem;
  }
  .persona-panel-head { text-align: center; margin-bottom: 2rem; }
  .persona-panel-title {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--warm-white);
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
  }
  .persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .persona-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.25rem;
  }
  .persona-icon { margin-bottom: 0.6rem; }
  .persona-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .persona-title { font-weight: 600; font-size: 0.9rem; color: var(--warm-white); margin-bottom: 0.35rem; }
  .persona-desc { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.55; margin: 0; }

  /* ─── CLUB GALLERY ("Club in action") ───────────────── */
  .gallery-panel {
    background: var(--cream);
    border: 1px solid rgba(26,39,68,0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 1rem;
    text-align: center;
  }
  .gallery-panel-title {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
  }
  .gallery-panel-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0.5rem 0 2rem;
  }

  /* Carousel shell: track scrolls horizontally, arrows sit on top of it */
  .gallery-carousel { position: relative; }
  .gallery-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 0.25rem 1rem;
    margin: 0 -0.25rem;
    /* Hide the scrollbar — the arrow buttons and touch/trackpad swipe drive scrolling */
    scrollbar-width: none;
  }
  .gallery-track::-webkit-scrollbar { display: none; }
  .gallery-item {
    position: relative;
    flex: 0 0 auto;
    width: 260px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 20px -10px rgba(26,39,68,0.25);
    scroll-snap-align: start;
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 1.75rem 0.7rem 0.6rem;
    background: linear-gradient(transparent, rgba(26,39,68,0.9));
    color: var(--warm-white);
  }
  .gallery-caption-text {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    /* Clamp to two lines so a long description ellipsizes rather than
       creeping up over the photo. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .gallery-caption-text:empty { display: none; }
  .gallery-caption-date {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0.85;
  }
  .gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--warm-white);
    border: 1px solid rgba(26,39,68,0.12);
    box-shadow: 0 6px 16px -6px rgba(26,39,68,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--navy);
    z-index: 2;
  }
  .gallery-nav-btn:hover { background: var(--gold-pale); }
  .gallery-nav-btn.is-hidden { display: none; } /* nothing to scroll to in that direction */
  .gallery-nav-btn.prev { left: -18px; }
  .gallery-nav-btn.next { right: -18px; }
  @media (max-width: 700px) {
    .gallery-nav-btn { display: none; } /* touch/trackpad swipe covers mobile */
  }

  /* ─── MEMBER PHOTOS (testimonials) ──────────────────────────*/
  .member-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .member-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;           /* crop to circle neatly */
    object-position: center top; /* favour face over chest */
    border: 2px solid var(--border);
    display: block;
  }

  .member-initials {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--navy);
    display: flex;               /* shown only when photo missing */
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-light);
    border: 2px solid var(--border);
  }

  @media (max-width: 900px) {
    .about-grid,
    .meetings-layout,
    .contact-grid { grid-template-columns: 1fr; }
    .faq-grid,
    .join-grid { grid-template-columns: 1fr; }
    .price-box { grid-template-columns: 1fr 1fr; }
    .hero-meta { display: none; }
    .nav-links { display: none; flex-direction: column; position: absolute;
      top: 100%; left: 0; right: 0; background: var(--cream);
      border-bottom: 1px solid var(--border); padding: 1rem 5vw 1.5rem;
      gap: 0.25rem; }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 0.65rem 0.75rem; }
    .nav-hamburger { display: flex; }
  }

  @media (max-width: 600px) {
    .price-box { grid-template-columns: 1fr; }
    .stat-card-pair { grid-template-columns: 1fr; }
    .hero-headline { font-size: 2.4rem; }
    .join-grid { grid-template-columns: 1fr; }
  }


  /* ─── ANIMATIONS ─────────────────────────────────────*/
  @media (prefers-reduced-motion: no-preference) {
    .fade-up {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  @media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ── Add to Calendar ─────────────────────────────────────── */
.cal-wrap { position: relative; display: inline-block; }
.cal-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 600; font-family: 'Inter', sans-serif;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 5px;
  padding: 3px 8px; cursor: pointer; white-space: nowrap;
  transition: background 0.15s; line-height: 1.5;
}
.cal-btn:hover { background: rgba(255,255,255,0.22); color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.4); }
.cal-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 4px);
  background: #1a2b47; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; min-width: 170px; z-index: 9999;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45); overflow: hidden;
}
.cal-dropdown.open { display: block; }
.cal-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 13px; font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.85); text-decoration: none;
  transition: background 0.1s; white-space: nowrap;
}
.cal-dropdown a:hover { background: rgba(255,255,255,0.09); }

  /* ─────────────────────────────────────────────────────────────
     MEMBERS PAGE  (members.html)
     Members-only resources page listing files from a Google Drive
     folder. These styles are used only by members.html.
     ───────────────────────────────────────────────────────────── */
  body.members-page { background: var(--cream); }

  .members-back {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
  }
  .members-back:hover { color: var(--navy); background: rgba(26,39,68,0.06); }
  .members-back:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

  .members-header {
    /* top padding is set in JS to clear the fixed nav (measured, not hardcoded) */
    background: linear-gradient(160deg, var(--navy), var(--navy-deep));
    color: var(--warm-white);
    padding: 3.5rem 5vw 3rem;
    text-align: center;
  }
  .members-header-inner { max-width: 720px; margin: 0 auto; }
  .members-header .section-label { color: var(--gold); justify-content: center; }
  .members-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .members-welcome {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto;
  }

  .members-main { max-width: 1100px; margin: 0 auto; padding: 3.5rem 5vw 1rem; }

  .members-section { margin-bottom: 3rem; }
  .members-section-title {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1.5px solid var(--border);
  }

  .file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
  }

  .file-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: var(--navy);
    box-shadow: 0 8px 20px -14px rgba(26,39,68,0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  }
  .file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -16px rgba(26,39,68,0.35);
    border-color: var(--accent-line);
  }
  .file-card:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
  .file-card-icon { font-size: 1.7rem; line-height: 1; flex-shrink: 0; }
  .file-card-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; flex: 1; }
  .file-card-name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; word-break: break-word; }
  .file-card-meta { font-size: 0.78rem; color: var(--text-muted); }
  .file-card-arrow { color: var(--accent-ink); font-weight: 700; flex-shrink: 0; opacity: 0.7; }

  /* Callouts: setup notice, error, empty */
  .members-callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    max-width: 640px;
  }
  .members-callout--notice { background: var(--gold-pale); border-color: var(--accent-line); }
  .members-callout--error  { background: #fdece9; border-color: rgba(179,67,43,0.35); }
  .members-callout-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
  .members-callout-title {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
  }
  .members-callout p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
  .members-callout p:last-child { margin-bottom: 0; }
  .members-callout code {
    background: rgba(26,39,68,0.07);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.85em;
  }
  .members-callout a { color: var(--accent-ink); font-weight: 600; }

  /* Skeleton loading */
  .file-card--skeleton { pointer-events: none; }
  .skeleton-icon, .skeleton-line {
    display: block;
    background: linear-gradient(90deg, rgba(26,39,68,0.06) 25%, rgba(26,39,68,0.12) 37%, rgba(26,39,68,0.06) 63%);
    background-size: 400% 100%;
    border-radius: 6px;
    animation: members-shimmer 1.4s ease infinite;
  }
  .skeleton-icon { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; }
  .skeleton-line { height: 10px; }
  .skeleton-line--name { width: 70%; margin-bottom: 8px; }
  .skeleton-line--meta { width: 40%; }
  @keyframes members-shimmer {
    0%   { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .skeleton-icon, .skeleton-line { animation: none; }
  }

  .members-footer-note {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 5vw 3.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .members-footer-note p { margin-bottom: 0.75rem; }
  .members-footer-note strong { color: var(--navy); }
  .members-footer-note a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
  .members-footer-note a:hover { text-decoration: underline; }

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

  /* ─── GALLERY LIGHTBOX (click a photo to enlarge) ─── */
  .gallery-item img { cursor: zoom-in; }

  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vh 4vw;
    background: rgba(15, 25, 40, 0.9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }

  .lightbox-figure {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }
  .lightbox-img {
    max-width: 90vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
    background: #fff;
  }
  .lightbox-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-align: center;
    max-width: 90vw;
  }
  .lightbox-caption-text { font-size: 0.95rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
  .lightbox-caption-date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold-light);
  }
  .lightbox-close {
    position: absolute;
    top: max(1rem, 2vh);
    right: max(1rem, 3vw);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
  }
  .lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
  .lightbox-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

  @media (prefers-reduced-motion: reduce) {
    .lightbox { transition: none; }
  }

  /* ─── BACK TO TOP (floating button) ─── */
  .back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 140;                 /* under the fixed nav (150) and lightbox (2000) */
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px -6px rgba(26,39,68, 0.55);
    /* Hidden until scrolled down; JS toggles .visible */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.15s ease;
  }
  .back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
  .back-to-top:hover { background: var(--navy-mid); color: #fff; }
  .back-to-top:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

  @media (max-width: 600px) {
    .back-to-top { bottom: 1rem; right: 1rem; width: 42px; height: 42px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .back-to-top { transition: opacity 0.25s ease, visibility 0.25s ease; transform: none; }
  }

  /* ─── AT-A-GLANCE FACTS STRIP (under the hero) ──────── */
  .facts-strip {
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem 5vw;
  }
  .facts-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .fact { display: flex; gap: 0.85rem; align-items: flex-start; }
  .fact-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .fact-icon svg {
    width: 17px;
    height: 17px;
    stroke: var(--accent-ink);
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .fact-text { min-width: 0; }
  .fact-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 0.2rem;
  }
  .fact-main {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
    word-break: break-word;
  }
  .fact-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.15rem;
  }
  .fact a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent-line); }
  .fact a:hover { color: var(--accent-ink-hover); }
  .fact-sub a { color: var(--text-muted); font-weight: 500; }
  .fact-sub a:hover { color: var(--accent-ink-hover); }

  @media (max-width: 900px) {
    .facts-inner { grid-template-columns: 1fr; gap: 1.1rem; }
    .facts-strip { padding: 1.35rem 5vw; }
  }

  /* ─── SPECIAL EVENT PANEL (open house etc.) ─────────── */
  /* Shown only when a specialEvent is set in wsc-config.js. */
  .event-band {
    background: var(--gold-pale);
    border-top: 1px solid var(--accent-line);
    border-bottom: 1px solid var(--accent-line);
    padding: 2.5rem 5vw;
  }
  .event-band[hidden] { display: none; }   /* belt-and-braces with the hidden attr */

  .event-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .event-text { flex: 1; min-width: 260px; }

  .event-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 0.6rem;
  }
  .event-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-ink);
    box-shadow: 0 0 0 0 rgba(200,145,58,0.6);
    animation: event-pulse 2.2s ease-out infinite;
  }
  @keyframes event-pulse {
    70%  { box-shadow: 0 0 0 9px rgba(200,145,58,0); }
    100% { box-shadow: 0 0 0 0 rgba(200,145,58,0); }
  }

  .event-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin-bottom: 0.4rem;
  }
  .event-when {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-ink);
    margin-bottom: 0.6rem;
  }
  .event-blurb {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 60ch;
  }
  .event-blurb[hidden] { display: none; }

  .event-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    flex-shrink: 0;
  }
  /* The calendar button sits on a light panel here, so flip it to dark-on-light */
  .event-cal .cal-btn {
    background: rgba(26,39,68,0.06);
    border-color: rgba(26,39,68,0.2);
    color: var(--navy);
    font-size: 0.78rem;
    padding: 5px 10px;
  }
  .event-cal .cal-btn:hover {
    background: rgba(26,39,68,0.12);
    border-color: rgba(26,39,68,0.35);
    color: var(--navy);
  }
  .event-cal .cal-btn svg { stroke: var(--navy); }

  @media (max-width: 700px) {
    .event-band { padding: 2rem 5vw; }
    .event-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .event-actions { width: 100%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .event-pulse { animation: none; }
  }
