/* ==========================================================================
   HISTORY WEEK UK 2027 — Design system
   Warm, light, tactile, heritage-led. Sibling of Earthrise:Live, re-skinned
   to a warm parchment palette. Static HTML/CSS/JS — no build step.
   Cache version: v=20260607a
   --------------------------------------------------------------------------
   Architecture mirrors earthriselive/styles.css:
     1. Design tokens (:root)         11. .timeline / .day-card (signature)
     2. Reset / base + warm wash      12. .museum-card
     3. Buttons                       13. .object-card
     4. Header + scroll-progress      14. .route-card / .pathway-card
     5. Hero                          15. .partner-card
     6. Section base + .lead          16. .faq accordion
     7. Card grids (generic)          17. .cta-band / .sticky-cta
     8. Forms + .reg-tabs             18. Footer
     9. .legal long-form              19. Reveal + reduced-motion
    10. Section variants              20. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour — warm-light heritage palette (BRIEF §3) */
  --parchment:    #FBF6EC;   /* page base */
  --parchment-2:  #F3E9D6;   /* alt section band, soft warm */
  --parchment-3:  #F7EFDF;   /* very soft mid band */
  --card:         #FFFFFF;   /* cards / surfaces */
  --card-warm:    #FFFDF8;   /* warm white surface */

  --ink:          #2A2118;   /* primary text */
  --ink-soft:     #5B5043;   /* secondary text */
  --ink-mute:     #857a6b;   /* muted / meta text */
  --ink-inv:      #FFFDF8;   /* text on dark accent surfaces */

  --gold:         #C8962C;   /* heritage gold — primary accent */
  --gold-deep:    #A87722;   /* gold hover / deep — AA-safe small text on light */
  --gold-soft:    #EFD9A0;   /* gold tint surfaces / borders */
  --gold-wash:    #FBEFCF;   /* faint gold surface tint */

  --terracotta:   #C0532B;   /* warm accent / CTA family A */
  --terracotta-d: #9E3F1E;   /* terracotta deep — hover */
  --terracotta-s: #F4DCD0;   /* terracotta tint surface */

  --green:        #2F5D50;   /* museum green — secondary accent */
  --green-d:      #234A3F;
  --green-soft:   #DCE7E0;

  --blue:         #143A5A;   /* deep heritage blue — anchors/headers */
  --blue-d:       #0E2C46;
  --blue-soft:    #DBE3EC;

  --line:         rgba(42, 33, 24, 0.12);  /* hairlines/borders on light */
  --line-strong:  rgba(42, 33, 24, 0.20);
  --line-gold:    rgba(200, 150, 44, 0.30);

  /* Type */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale (fluid) */
  --t-hero:    clamp(2.75rem, 7vw + 0.5rem, 6.5rem);
  --t-h2:      clamp(2rem, 4vw + 0.5rem, 3.75rem);
  --t-h3:      clamp(1.25rem, 1vw + 0.875rem, 1.625rem);
  --t-lead:    clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  --t-body:    1.0625rem;
  --t-small:   0.875rem;
  --t-eyebrow: 0.75rem;

  /* Space */
  --sp-section: clamp(4.5rem, 9vw, 8rem);
  --sp-block:   clamp(2rem, 4vw, 4rem);
  --container:  1240px;
  --container-narrow: 880px;

  /* Other */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow-card: 0 18px 44px -22px rgba(42, 33, 24, 0.28);
  --shadow-card-hover: 0 26px 60px -24px rgba(42, 33, 24, 0.34);
  --shadow-soft: 0 6px 18px -10px rgba(42, 33, 24, 0.20);
  --t-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base + warm light wash
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

/* Global warm wash — replaces the Earthrise dark .sky starfield with a light
   parchment gradient bloom + a very faint grain. Fixed so content drifts over
   it. Deliberately faint so it never competes with text. Sections sit above
   it (z-index:1) with hairline dividers. */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--parchment);
  background-image:
    radial-gradient(ellipse 70% 55% at 82% 8%,  rgba(200, 150, 44, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(192, 83, 43, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 96%, rgba(47, 93, 80, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--parchment) 0%, #FAF3E6 50%, var(--parchment) 100%);
}

/* Faint parchment grain — a low-opacity SVG fractal-noise data-URI tile laid
   over the wash. Kept at very low opacity so it adds tactility without ever
   touching readability. */
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.035;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms var(--t-ease), opacity 200ms var(--t-ease), border-color 200ms var(--t-ease);
}
a:hover { color: var(--gold-deep); }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--gold-soft); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow { max-width: var(--container-narrow); }

/* Visually-hidden utility (honeypot, screen-reader labels) */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.05em 1.85em;
  font-family: var(--f-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 280ms var(--t-ease), box-shadow 280ms var(--t-ease), background 280ms var(--t-ease), color 280ms var(--t-ease), border-color 280ms var(--t-ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

/* Primary — gold gradient. Text is --ink (not white): #2A2118 on the lighter
   end of the gold gradient clears AA for normal text, whereas white on gold
   does not. Verified contrast-safe. */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  color: var(--ink);
  box-shadow: 0 10px 26px -10px rgba(168, 119, 34, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(168, 119, 34, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* Secondary — terracotta. White text on terracotta (#C0532B) passes AA. */
.btn-secondary {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-d) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 26px -10px rgba(158, 63, 30, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(158, 63, 30, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Ghost — transparent, ink text, strong hairline, gold on hover. */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--gold-wash);
}

/* Green tertiary (museum green) — used for some venue/CTA contexts */
.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 26px -10px rgba(35, 74, 63, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-green:hover { color: #FFFFFF; transform: translateY(-2px); }

.btn-sm { padding: 0.7em 1.35em; font-size: 0.875rem; }
.btn-block { width: 100%; padding: 1.1em; font-size: 1rem; }

/* --------------------------------------------------------------------------
   4. Header + scroll-progress + nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 300ms var(--t-ease), padding 300ms var(--t-ease), border-color 300ms var(--t-ease), backdrop-filter 300ms var(--t-ease), box-shadow 300ms var(--t-ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(251, 246, 236, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -16px rgba(42, 33, 24, 0.4);
  padding: 0.7rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--gold-deep); }
.brand-mark { display: inline-flex; align-items: baseline; }
.brand-divider {
  color: var(--gold);
  margin: 0 0.05em;
  font-weight: 800;
}
/* Optional gold dot accent after the wordmark */
.brand-dot {
  display: inline-block;
  width: 0.42em; height: 0.42em;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 0.3em;
  transform: translateY(-0.05em);
}

.primary-nav {
  display: flex;
  gap: 1.65rem;
  align-items: center;
}
.primary-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--t-ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); }
/* Scroll-spy / current page: persistent gold underline + darker label */
.primary-nav a.is-active,
.primary-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.primary-nav a.is-active::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Scroll-progress — thin gold line at the very top that fills as you scroll. */
.scroll-progress {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--terracotta));
  z-index: 120;
  transition: width 120ms linear;
  border-radius: 0 2px 2px 0;
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 40px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 250ms var(--t-ease), opacity 250ms var(--t-ease);
  margin: 0 auto;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(251, 246, 236, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1.25rem 1.5rem 2.25rem;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(42, 33, 24, 0.35);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 0.9rem 0.25rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover,
.mobile-nav a.is-active,
.mobile-nav a[aria-current="page"] { color: var(--gold-deep); }
.mobile-nav .mobile-cta {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  color: var(--ink);
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  border-bottom: 0;
}
.mobile-nav .mobile-cta:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
}

/* Hero background visual — warm radial blooms + a tasteful gold timeline-arc
   SVG motif. No photo dependency. */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bloom {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 78% 22%, rgba(200, 150, 44, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 88% 70%, rgba(192, 83, 43, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 8% 80%, rgba(47, 93, 80, 0.08) 0%, transparent 60%);
  filter: blur(8px);
}
/* Decorative SVG strata / timeline-arc motif sits top-right behind content. */
.hero-motif {
  position: absolute;
  top: 0; right: 0;
  width: min(58vw, 760px);
  height: 100%;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 95%);
  mask-image: linear-gradient(to left, #000 35%, transparent 95%);
}
.hero-motif svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-eyebrow {
  font-size: clamp(0.7rem, 0.1vw + 0.68rem, 0.8125rem);
  letter-spacing: 0.28em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: clamp(1.1rem, 1.5vw, 1.75rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55rem 1.05rem;
  background: var(--gold-wash);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
}

.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 7.5vw + 0.125rem, 6.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: clamp(1.1rem, 1.5vw, 1.75rem);
  font-variation-settings: "opsz" 144;
}
.hero-headline .accent {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
  padding-right: 0.08em;
}

.hero-sub {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1.4vw + 0.85rem, 2rem);
  color: var(--gold-deep);
  margin-bottom: clamp(1rem, 1.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  font-variation-settings: "opsz" 60;
}

.hero-body {
  font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.3125rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
  max-width: 680px;
}

/* Hero dates block — prominent, tactile */
.hero-dates {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.5rem;
  background: var(--card-warm);
  border: 1px solid var(--line-gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: clamp(1.75rem, 2.5vw, 2.5rem);
}
.hero-dates .dates-main {
  font-family: var(--f-display);
  font-size: clamp(1.125rem, 1vw + 0.75rem, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-dates .dates-second {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-dates .dates-second strong { color: var(--terracotta-d); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.hero-ctas .btn {
  font-size: clamp(0.9375rem, 0.25vw + 0.85rem, 1.0625rem);
  padding: clamp(0.95em, 0.3vw + 0.9em, 1.1em) clamp(1.5em, 0.5vw + 1.4em, 1.95em);
}

/* --------------------------------------------------------------------------
   6. Section base + .lead
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  z-index: 1;                 /* sit above the fixed .sky wash */
  padding: var(--sp-section) 0;
  border-top: 1px solid var(--line);
}
/* Alternating warm band for rhythm (apply to alternate sections) */
.section-alt   { background: var(--parchment-2); }
.section-soft  { background: var(--parchment-3); }
.section-plain { background: transparent; }

.section-eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-headline {
  font-family: var(--f-display);
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.75rem;
  max-width: 940px;
  font-variation-settings: "opsz" 144;
}
.section-headline .accent { font-style: italic; color: var(--terracotta); }

.section-intro {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  margin-bottom: 3rem;
  max-width: 740px;
  line-height: 1.65;
}
.section-intro strong { color: var(--ink); font-weight: 600; }

.section-headline-center,
.section-eyebrow-center { text-align: center; }
.section-headline-center { margin-left: auto; margin-right: auto; }
.section-eyebrow-center { justify-content: center; }
.section-intro-center { margin-left: auto; margin-right: auto; text-align: center; }

.lead {
  font-family: var(--f-display);
  font-size: var(--t-lead);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  font-variation-settings: "opsz" 40;
}

/* Generic prose block inside sections */
.prose p { font-size: 1.0625rem; color: var(--ink-soft); margin-bottom: 1.25rem; line-height: 1.7; max-width: 720px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .lead { font-size: clamp(1.25rem, 1.5vw + 0.75rem, 1.625rem); color: var(--ink); margin-bottom: 1.75rem; max-width: 820px; }

/* Reassurance / flexibility line — warm italic display, centred */
.note-line {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.3vw + 0.85rem, 1.625rem);
  font-weight: 400;
  color: var(--green-d);
  max-width: 760px;
  line-height: 1.45;
  font-variation-settings: "opsz" 60;
}
.note-line-center { text-align: center; margin-left: auto; margin-right: auto; }

.section-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.section-cta-left { justify-content: flex-start; }

/* --------------------------------------------------------------------------
   7. Generic card grids
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Base card — white/warm surface, hairline, soft shadow, hover lift */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--t-ease), border-color 320ms var(--t-ease), box-shadow 320ms var(--t-ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card-hover);
}
.card-icon {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 1rem;
}
.card h3 {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.55rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 40;
}
.card p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6; }
.card p + p { margin-top: 0.75rem; }

/* Numbered card (e.g. "why history matters" rationale points) */
.card-num {
  font-family: var(--f-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  display: block;
}

/* Simple list with gold tick marks (route lists, offer lists) */
.tick-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.tick-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.15em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold-wash);
  border: 1px solid var(--line-gold);
}
.tick-list li::after {
  content: '';
  position: absolute;
  left: 7px; top: 0.42em;
  width: 5px; height: 9px;
  border: solid var(--gold-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Boxed accent panel (e.g. lists of "what you can do" inside a section) */
.panel {
  background: var(--card-warm);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}
.panel-green { border-color: var(--green-soft); background: var(--green-soft); }

/* --------------------------------------------------------------------------
   8. The 5-day gold TIMELINE — the signature element
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
/* The gold spine running through the day numbers */
.timeline::before {
  content: '';
  position: absolute;
  top: 27px;            /* aligns through the centre of the day markers */
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold) 50%, var(--terracotta));
  border-radius: 3px;
  z-index: 0;
}

.day-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--t-ease), border-color 320ms var(--t-ease), box-shadow 320ms var(--t-ease);
}
.day-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card-hover);
}
/* Day marker — a gold dot on the spine, numbered */
.day-marker {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-soft) 0%, var(--gold) 70%, var(--gold-deep) 100%);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 16px -8px rgba(168, 119, 34, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 3px solid var(--card);
  flex-shrink: 0;
}
.day-name {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--terracotta-d);
  margin-bottom: 0.4rem;
}
.day-card h3 {
  font-family: var(--f-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 40;
}
.day-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   9. Museum-label card (small uppercase tag + title + caption)
   -------------------------------------------------------------------------- */
.museum-card {
  background: var(--card-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--t-ease), border-color 320ms var(--t-ease), box-shadow 320ms var(--t-ease);
  position: relative;
}
.museum-card::before {
  /* hairline "label pin" accent at top-left, museum-label feel */
  content: '';
  position: absolute;
  top: 1.75rem; left: 0;
  width: 3px; height: 1.6rem;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}
.museum-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card-hover);
}
.museum-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.85rem;
}
.museum-card h3 {
  font-family: var(--f-display);
  font-size: 1.3125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 40;
}
.museum-caption {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Object card (image slot top + body, with styled onerror placeholder)
   -------------------------------------------------------------------------- */
.object-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--t-ease), border-color 320ms var(--t-ease), box-shadow 320ms var(--t-ease);
}
.object-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card-hover);
}
/* The media slot. <img> lives here; on error it hides itself and the parent
   gets .img-pending, painting a styled warm placeholder (mirrors Earthrise's
   founder-photo pattern). */
.object-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 35% 30%, rgba(200, 150, 44, 0.18) 0%, transparent 60%),
    linear-gradient(150deg, var(--parchment-2) 0%, var(--gold-wash) 100%);
  overflow: hidden;
}
.object-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.object-media.img-pending::after {
  content: "Image to follow";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.object-body { padding: 1.5rem 1.5rem 1.6rem; }
.object-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-d);
  margin-bottom: 0.7rem;
}
.object-card h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 40;
}
.object-body p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6; }

/* --------------------------------------------------------------------------
   11. Route card (the 4 participation routes)
   -------------------------------------------------------------------------- */
.route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.85rem;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--t-ease), border-color 320ms var(--t-ease), box-shadow 320ms var(--t-ease);
  overflow: hidden;
}
.route-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
}
.route-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card-hover);
}
.route-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 0.35rem 0.8rem;
  background: var(--gold-wash);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}
.route-card h3 {
  font-family: var(--f-display);
  font-size: 1.4375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.55rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 40;
}
.route-card p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6; }

/* --------------------------------------------------------------------------
   12. Pathway card (the 3-way register chooser)
   -------------------------------------------------------------------------- */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pathway-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--t-ease), border-color 320ms var(--t-ease), box-shadow 320ms var(--t-ease);
  position: relative;
  overflow: hidden;
}
.pathway-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card-hover);
}
.pathway-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--gold-wash);
  border: 1px solid var(--line-gold);
  color: var(--gold-deep);
}
.pathway-card.is-venue .pathway-icon  { background: var(--terracotta-s); border-color: rgba(192,83,43,0.3); color: var(--terracotta-d); }
.pathway-card.is-partner .pathway-icon { background: var(--green-soft); border-color: rgba(47,93,80,0.3); color: var(--green-d); }
.pathway-card h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.55rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 40;
}
.pathway-card p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 1.5rem; flex-grow: 1; }
.pathway-card .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   13. Partner card (partner-type cards: founding / cultural / supporters)
   -------------------------------------------------------------------------- */
.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--card-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--t-ease), border-color 320ms var(--t-ease), box-shadow 320ms var(--t-ease);
  border-top: 4px solid var(--gold);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.partner-card.is-cultural { border-top-color: var(--terracotta); }
.partner-card.is-supporter { border-top-color: var(--green); }
.partner-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.partner-status .pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200, 150, 44, 0.6);
  animation: hwPulse 2.2s ease-out infinite;
}
.partner-card h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.65rem;
  line-height: 1.2;
  font-variation-settings: "opsz" 40;
}
.partner-card p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.65; }

/* --------------------------------------------------------------------------
   14. FAQ accordion
   -------------------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 880px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 240ms var(--t-ease), box-shadow 240ms var(--t-ease);
}
.faq-item.is-open {
  border-color: var(--line-gold);
  box-shadow: var(--shadow-soft);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.4rem;
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  font-variation-settings: "opsz" 40;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform 280ms var(--t-ease);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold-deep);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after  { width: 2px; height: 14px; transition: transform 280ms var(--t-ease); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--t-ease);
}
.faq-a-inner {
  padding: 0 1.4rem 1.35rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.faq-a-inner p + p { margin-top: 0.85rem; }

/* --------------------------------------------------------------------------
   15. CTA band (full-width warm CTA strip)
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(200, 150, 44, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(192, 83, 43, 0.14) 0%, transparent 55%),
    linear-gradient(135deg, var(--parchment-2) 0%, var(--gold-wash) 100%);
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  text-align: center;
}
.cta-band-inner { max-width: 760px; margin: 0 auto; }
.cta-band .section-eyebrow { justify-content: center; }
.cta-band h2 {
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 3.5vw + 0.5rem, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.1rem;
  font-variation-settings: "opsz" 144;
}
.cta-band h2 .accent { font-style: italic; color: var(--terracotta); }
.cta-band p {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.cta-band .section-cta { margin-top: 0; }

/* --------------------------------------------------------------------------
   16. Sticky CTA (floating bottom-right pill)
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 320ms var(--t-ease), transform 320ms var(--t-ease), visibility 320ms;
}
.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sticky-cta .btn {
  box-shadow: 0 14px 34px -12px rgba(168, 119, 34, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   17. Register page — tabs + forms
   -------------------------------------------------------------------------- */
.reg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--parchment-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 2.5rem;
  max-width: 620px;
}
.reg-tab {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  transition: background 240ms var(--t-ease), color 240ms var(--t-ease), box-shadow 240ms var(--t-ease);
}
.reg-tab:hover { color: var(--ink); }
.reg-tab.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.reg-tab[aria-selected="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.reg-panel { display: none; }
.reg-panel.is-active { display: block; }

/* Form shell */
.reg-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form-row { display: flex; flex-direction: column; gap: 0.45rem; }
.form-row-wide { grid-column: 1 / -1; }

.form-row label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-row .req { color: var(--terracotta); margin-left: 0.15em; }

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--f-sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  background: var(--card-warm);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 200ms var(--t-ease), background 200ms var(--t-ease), box-shadow 200ms var(--t-ease);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--ink-mute); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(200, 150, 44, 0.18);
}
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23A87722' d='M5.5 7l4.5 5 4.5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.form-row textarea { resize: vertical; min-height: 96px; line-height: 1.5; }

/* Honeypot — visually hidden but present in the DOM */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Fieldset of checkboxes (interest / offer groups) */
.checkbox-group {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--parchment-3);
}
.checkbox-group > legend,
.checkbox-group > .group-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
  padding: 0;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem 1.25rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.5;
}
.checkbox-row input {
  width: 18px; height: 18px;
  margin: 0; margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

/* Consent checkbox row sits full-width */
.form-consent { grid-column: 1 / -1; margin-top: 0.25rem; }

.reg-form > button[type="submit"],
.reg-form .form-submit {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.55;
}
.form-note a { color: var(--gold-deep); border-bottom: 1px dashed var(--line-gold); }
.form-note a:hover { border-bottom-color: var(--gold); }

/* Success panel */
.form-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.75rem 1.5rem;
  background: var(--gold-wash);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  margin-top: 0.5rem;
}
.form-success h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 60;
}
.form-success p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* Inline error message (appended by JS) */
.form-error {
  grid-column: 1 / -1;
  color: var(--terracotta-d);
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  padding: 0.85rem 1rem;
  background: var(--terracotta-s);
  border: 1px solid rgba(192, 83, 43, 0.35);
  border-radius: var(--radius-sm);
}
.form-error a { color: var(--terracotta-d); text-decoration: underline; }

/* Invalid field state (set by JS) */
.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid,
.checkbox-row input.is-invalid { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(192, 83, 43, 0.15); }

/* --------------------------------------------------------------------------
   18. Legal (readable long-form: privacy / terms)
   -------------------------------------------------------------------------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
}
.legal h2 {
  font-family: var(--f-display);
  font-size: clamp(1.375rem, 1.5vw + 0.9rem, 1.875rem);
  font-weight: 600;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--f-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.75rem 0 0.6rem;
}
.legal p { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.1rem; }
.legal ul, .legal ol { margin: 0 0 1.1rem 1.4rem; }
.legal li { font-size: 1rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 0.5rem; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--gold-deep); border-bottom: 1px dashed var(--line-gold); }
.legal a:hover { border-bottom-color: var(--gold); }
.legal .legal-meta {
  font-size: 0.875rem;
  color: var(--ink-mute);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.legal .legal-callout {
  padding: 1.25rem 1.4rem;
  background: var(--gold-wash);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.legal .legal-callout p { margin-bottom: 0; color: var(--ink); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--blue);
  color: var(--blue-soft);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--line-gold);
}
.site-footer a { color: var(--blue-soft); }
.site-footer a:hover { color: var(--gold-soft); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand-mark {
  font-family: var(--f-sans);
  font-size: 1.375rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}
.footer-brand .brand-divider { color: var(--gold-soft); }
.footer-brand p { color: var(--blue-soft); font-size: 0.9375rem; line-height: 1.6; max-width: 360px; margin-bottom: 1rem; }
.footer-dates {
  font-size: 0.875rem;
  color: #FFFFFF;
  line-height: 1.6;
}
.footer-dates strong { color: var(--gold-soft); font-weight: 600; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2.5rem;
}
.footer-nav h2 {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-nav a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  color: var(--blue-soft);
}
.footer-nav a:hover { color: var(--gold-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(219, 227, 236, 0.75); max-width: 760px; line-height: 1.55; }
.footer-copy { white-space: nowrap; color: #FFFFFF; }

/* --------------------------------------------------------------------------
   20. Reveal animations + reduced motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms var(--t-ease), transform 800ms var(--t-ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hwPulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 150, 44, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(200, 150, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 150, 44, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .partner-status .pulse { animation: none !important; }
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; }
}

/* --------------------------------------------------------------------------
   21. Skip link + focus
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 1.5rem;
  z-index: 200;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .timeline { grid-template-columns: 1fr; gap: 1rem; }
  .timeline::before { display: none; }
  .day-card { flex-direction: row; align-items: flex-start; gap: 1.1rem; }
  .day-marker { margin-bottom: 0; }
  .day-card .day-body { flex: 1; }

  .card-grid-3,
  .pathway-grid { grid-template-columns: repeat(2, 1fr); }

  .reg-form { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Low-height laptops — compress hero so CTAs sit above the fold */
@media (max-height: 820px) and (min-width: 900px) {
  .hero { min-height: auto; padding-top: clamp(6rem, 9vh, 7rem); padding-bottom: 2rem; }
  .hero-eyebrow { margin-bottom: 0.875rem; }
  .hero-headline { font-size: clamp(2.5rem, 6.5vw + 0.125rem, 5rem); margin-bottom: 0.875rem; }
  .hero-body { margin-bottom: 1rem; }
  .hero-dates { margin-bottom: 1.25rem; padding: 0.9rem 1.25rem; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-ctas .btn { width: 100%; }

  .card-grid-3,
  .pathway-grid { grid-template-columns: 1fr; }

  .reg-tabs { max-width: 100%; }
  .reg-tab { min-width: 0; flex: 1 1 100%; }

  .checkbox-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-copy { white-space: normal; }
}
