/* ============================================================
   Doctors with Disabilities UK
   style.css, Design system & shared components
   Forest & Gold palette | WCAG AAA | Astro-migration ready
   ============================================================ */

/* ── Google Fonts ── */
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Nunito:wght@400;500;600;700&display=swap");

/* ============================================================
   1. DESIGN TOKENS, change here, changes everywhere
   ============================================================ */
:root {
  /* Plum & Mauve palette */
  --plum-900: #1a0a24;
  --plum-800: #3d1f5c; /* primary, nav, card headers, footer */
  --plum-700: #5b2d82; /* hover states, active links */
  --plum-600: #7b4ba8; /* icons, section labels */
  --plum-500: #9b6ec4; /* lighter accent */
  --plum-400: #c4a0dc; /* borders, dividers */
  --plum-200: #dfc8ee; /* light borders */
  --plum-100: #efe0f7; /* light tints */
  --plum-50: #f5ecfb; /* card backgrounds */
  --plum-20: #faf5fd; /* page section alternates */

  /* Warm amber accent (replaces gold, same variable names, no HTML changes) */
  --gold-900: #3d2400;
  --gold-700: #7a5200; /* amber text on light bg, AAA */
  --gold-600: #b5821a; /* underlines, highlights */
  --gold-400: #d4a84a; /* borders */
  --gold-100: #f5e8c8; /* tint backgrounds */
  --gold-50: #fbf5e6; /* disclaimer bar bg */

  /* Neutrals, plum-tinted */
  --neutral-900: #1e1025;
  --neutral-700: #3d2650;
  --neutral-500: #6b4d80;
  --neutral-400: #9a7eb0;
  --neutral-200: #cebedd;
  --neutral-100: #ebe0f2;
  --neutral-50: #f7f3fa;

  /* Surfaces */
  --bg-page: #f8f4fa;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-section: #f3edf8;
  --bg-hero: #f2eaf8;

  /* Text, WCAG verified */
  --text-primary: #2a1a2e; /* 14.1:1 on --bg-hero ✅ AAA */
  --text-secondary: #4a2d5a; /* 9.1:1 on --bg-hero  ✅ AAA */
  --text-muted: #6b4880; /* 5.9:1 on white      ✅ AA normal / AAA large */
  --text-light: #8b6a9e; /* captions only */
  --text-gold: #7a5200; /* amber text          ✅ AAA */

  /* Borders */
  --border-light: rgba(91, 45, 130, 0.12);
  --border-mid: rgba(91, 45, 130, 0.24);
  --border-strong: rgba(61, 31, 92, 0.4);

  /* Shadows, plum-tinted */
  --shadow-sm: 0 1px 4px rgba(61, 31, 92, 0.07);
  --shadow-md: 0 4px 16px rgba(61, 31, 92, 0.09);
  --shadow-lg: 0 8px 32px rgba(61, 31, 92, 0.11);

  /* ── Everything below is unchanged ── */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Courier New", Courier, monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --transition: 0.18s ease;
  --max-width: 1080px;
  --nav-height: 68px;
  --section-pad-v: 4.5rem;
  --section-pad-h: 2rem;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--plum-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--plum-800);
  cursor: pointer;
}

a:focus-visible {
  outline: 2.5px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 3px;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
}

/* Skip to main, accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--plum-800);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-4);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
}
h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-sans);
}
h5 {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--plum-600);
}

p {
  margin-bottom: 0;
  max-width: 68ch;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 60ch;
}

.caption {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* Inline gold underline accent, used on key phrases */
.accent-underline {
  border-bottom: 2.5px solid var(--gold-600);
  padding-bottom: 1px;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-h);
}

.section {
  padding: var(--section-pad-v) var(--section-pad-h);
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-alt .section {
  margin: 0 auto;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

.grid-2-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-4 {
  gap: var(--space-4);
}
.gap-6 {
  gap: var(--space-6);
}

/* ============================================================
   5. DISCLAIMER BAR
   ============================================================ */
.disclaimer-bar {
  background: var(--gold-50);
  border-bottom: 1.5px solid rgba(200, 150, 10, 0.22);
  overflow: clip;
  transition:
    max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 100px;
  position: relative;
}

.disclaimer-bar.collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.disclaimer-bar__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 0.6rem var(--space-8) 0.6rem var(--space-5);
  max-width: 1200px;
  margin: 0 auto;
}

.disclaimer-bar__icon {
  flex-shrink: 0;
  color: var(--gold-600);
  margin-top: 2px;
}

.disclaimer-bar__text {
  font-size: 0.73rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.disclaimer-bar__text strong {
  color: var(--text-primary);
  font-weight: 700;
}
.disclaimer-bar__text a {
  color: var(--plum-700);
  font-weight: 600;
}
.disclaimer-bar__text a:hover {
  color: var(--plum-800);
}

.disclaimer-bar__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition:
    color var(--transition),
    background var(--transition);
}

.disclaimer-bar__close:hover {
  color: var(--text-primary);
  background: rgba(45, 92, 69, 0.08);
}

.disclaimer-bar__close:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 2px;
}

/* Re-open tab (visible when collapsed) */
.disclaimer-tab {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-50);
  border: 1.5px solid rgba(200, 150, 10, 0.22);
  border-top: none;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 1rem;
  border-radius: 0 0 6px 6px;
  cursor: pointer;
  font-family: var(--font-sans);
  z-index: 300;
  transition: color var(--transition);
  z-index: 199;
}

.disclaimer-tab:hover {
  color: var(--text-primary);
}
.disclaimer-bar.collapsed ~ .disclaimer-tab {
  display: block;
}

/* ============================================================
   6. NAVIGATION
   ============================================================ */
.main-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}

.main-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo__mark {
  width: 37px;
  height: 37px;
  background: var(--plum-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo__svg {
  width: 30px;
  height: 30px;
  fill: var(--plum-800);
}

.nav-logo__text-primary {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: block;
}

.nav-logo__text-secondary {
  font-size: 0.59rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-links__item {
  position: relative;
}

.nav-links__link {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.42rem 0.82rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
  white-space: nowrap;
}

.nav-links__link:hover {
  color: var(--text-primary);
  background: var(--plum-50);
}

.nav-links__link[aria-current="page"] {
  color: var(--plum-700);
  background: var(--plum-50);
}

/* CTA in nav */
.nav-links__cta {
  background: var(--plum-800);
  color: var(--bg-white) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  margin-left: var(--space-2);
  transition: background var(--transition) !important;
}

.nav-links__cta:hover {
  background: var(--plum-700) !important;
  color: var(--bg-white) !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-2);
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* Mobile nav open */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-4) var(--space-6);
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
  align-items: flex-start;
}

/* ============================================================
   7. TEXT LINK STYLE (no buttons)
   ============================================================ */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-600);
  color: var(--text-primary);
  padding-bottom: 0.15rem;
  transition:
    gap var(--transition),
    color var(--transition),
    border-color var(--transition);
  width: fit-content;
}

.text-link:hover {
  gap: 0.7rem;
  color: var(--plum-700);
}

.text-link--muted {
  color: var(--text-muted);
  border-bottom-color: var(--plum-200);
  font-weight: 600;
}

.text-link--muted:hover {
  color: var(--text-primary);
  border-bottom-color: var(--plum-400);
}

.text-link--arrow::after {
  content: "→";
  transition: transform var(--transition);
  display: inline-block;
}

.text-link--arrow:hover::after {
  transform: translateX(3px);
}
.text-link:focus-visible::after {
  transform: translateX(3px);
}

/* ============================================================
   8. SECTION LABELS & HEADINGS
   ============================================================ */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-600);
  margin-bottom: var(--space-3);
  display: block;
}

.section-heading {
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 56ch;
  margin-bottom: var(--space-8);
}

/* ============================================================
   9. HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

/* Subtle geometric texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: radial-gradient(
    circle,
    rgba(91, 45, 130, 0.07) 1px,
    transparent 1px
  );

  background-size: 30px 30px;

  pointer-events: none;
  z-index: 0;
}

/* Soft gradient orb */
.hero::after {
  content: "";
  position: absolute;

  top: -120px;
  right: -60px;

  width: 480px;
  height: 480px;

  background: radial-gradient(
    circle,
    rgba(155, 110, 196, 0.14) 0%,
    transparent 68%
  );

  pointer-events: none;
  z-index: 0;
}

/* Main content */
.hero__inner {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-12);
  align-items: center;

  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-20) var(--space-8);
}

/* Background SVG */
.hero-bg__svg {
  position: absolute;

  width: 65%;
  height: 65%;

  top: 20%;
  left: 17%;

  opacity: 0.1;

  z-index: 1;

  pointer-events: none;
}

.hero-bg__svg .hero-svg {
  width: 100%;
  height: 110%;
  fill: var(--plum-400);
}
/* ============================================================
   10. INTRO STRIP, "Are you disabled?"
   ============================================================ */
.intro-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.intro-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-8);
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.intro-strip__icon {
  width: 44px;
  height: 44px;
  background: var(--plum-50);
  border: 1.5px solid var(--plum-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intro-strip__text {
  flex: 1;
  min-width: 200px;
}

.intro-strip__text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

.intro-strip__text p strong {
  color: var(--text-primary);
}

/* ============================================================
   11. CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-6);
  text-align: left;
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-color var(--transition);
}
.card--invite {
  border: 1px dashed var(--plum-200);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-mid);
}

.card__icon {
  width: 44px;
  height: 44px;
  background: var(--plum-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 1.3rem;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  max-width: none;
}

/* Story card variant */
.card--story {
  border-left: 3px solid var(--plum-400);
}

.card--story:hover {
  border-left-color: var(--plum-600);
}

/* Definition/info card */
.card--info {
  background: var(--plum-50);
  border-color: var(--plum-200);
  border-left: 4px solid var(--plum-600);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.card--info:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--plum-200);
  border-left-color: var(--plum-600);
}

/* Gold highlight card */
.card--gold {
  background: var(--gold-50);
  border-color: rgba(200, 150, 10, 0.22);
}

/* ============================================================
   12. TAGS & BADGES
   ============================================================ */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}

.tag--plum {
  background: var(--plum-50);
  color: var(--plum-700);
  border: 1px solid var(--plum-200);
}
.tag--gold {
  background: var(--gold-100);
  color: var(--gold-700);
  border: 1px solid rgba(200, 150, 10, 0.3);
}
.tag--story {
  background: var(--plum-100);
  color: var(--plum-700);
  border: 1px solid var(--plum-200);
}

/* ============================================================
   13. DEFINITION BOX
   ============================================================ */
.definition-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--plum-600);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6);
}

.definition-box__quote {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.definition-box__source {
  font-size: 0.75rem;
  color: var(--plum-600);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  max-width: none;
}

/* ============================================================
   14. CHECKLIST
   ============================================================ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checklist__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}

.checklist__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1.5px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-700);
  flex-shrink: 0;
  margin-top: 1px;
}

.checklist__num--tick {
  background: var(--plum-50);
  border-color: var(--plum-400);
  color: var(--plum-700);
}

.checklist__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* ============================================================
   15. CONTACT FORM
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-page);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  width: 100%;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--plum-500);
  box-shadow: 0 0 0 3px rgba(74, 148, 112, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* ============================================================
   16. STORY CARD
   ============================================================ */

.story-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

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

.story-card__top {
  background: var(--plum-800);
  padding: var(--space-5) var(--space-6) var(--space-4);
}

.story-card__quote {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.story-card__body {
  padding: var(--space-5) var(--space-6);
}

.story-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.35;
}

.story-card__excerpt {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: var(--space-4);
  max-width: none;
}

.story-card__meta {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-light);
}

/* ============================================================
   17. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1.5px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(30, 58, 47, 0.09);
  padding: var(--space-5) var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  z-index: 500;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}

.cookie-banner__text {
  flex: 1;
  min-width: 220px;
}

.cookie-banner__text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

.cookie-banner__text strong {
  color: var(--text-primary);
}
.cookie-banner__text a {
  color: var(--plum-700);
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn--accept {
  background: var(--plum-800);
  color: white;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.cookie-btn--accept:hover {
  background: var(--plum-700);
}

.cookie-btn--essential {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-mid);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.52rem 1.1rem;
  border-radius: var(--radius-md);
  transition:
    color var(--transition),
    border-color var(--transition);
}

.cookie-btn--essential:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.cookie-btn--manage {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.cookie-btn--manage:hover {
  color: var(--text-muted);
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.main-footer {
  background: var(--plum-800);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-12) var(--space-8) var(--space-8);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__top {
  /* display: grid;
   grid-template-columns: 1.5fr repeat(3, 1fr); 
  gap: var(--space-10); */
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-3);
}

.footer__brand-desc,
.footer__attribution {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 26ch;
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer__disclaimer {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 62ch;
  margin: 0;
}

.footer__legal-links {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer__legal-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.footer__legal-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   19. RESPONSIVE, MOBILE FIRST
   Base styles = mobile (320px+)
   sm  = 480px+
   md  = 680px+
   lg  = 900px+
   xl  = 1100px+
   ============================================================ */

/* ── Base (mobile) overrides for desktop-assumed components ── */

/* Nav: hide links, show toggle on mobile */
.nav-links {
  display: none;
}
.nav-toggle {
  display: flex;
}

/* Grid layouts: single column on mobile */
.grid-2,
.grid-3,
.grid-2-1 {
  grid-template-columns: 1fr;
}

/* Hero: single column, tighter padding */
.hero__inner {
  grid-template-columns: 1fr;
  padding: var(--space-12) var(--space-5);
  gap: var(--space-6);
}
.hero__panel {
  display: none;
}

/* Section padding tighter on mobile */
:root {
  --section-pad-v: 2.5rem;
  --section-pad-h: 1.1rem;
}

/* Footer: single column */
.footer__top {
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.footer__brand-desc,
.footer__attribution {
  max-width: none;
}

/* Cookie banner: stacked */
.cookie-banner {
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-5);
  gap: var(--space-4);
}

/* Disclaimer bar: tighter */
.disclaimer-bar__inner {
  padding: 0.5rem var(--space-4);
}

/* Nav inner padding */
.main-nav__inner {
  padding: 0 var(--space-4);
}

/* Intro strip: stacked */
.intro-strip__inner {
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
}

/* ── sm: 480px+ ── */
@media (min-width: 480px) {
  :root {
    --section-pad-v: 3rem;
    --section-pad-h: 1.5rem;
  }

  .main-nav__inner {
    padding: 0 var(--space-5);
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
  }

  .intro-strip__inner {
    flex-direction: row;
    padding: var(--space-5) var(--space-6);
  }
}

/* ── md: 680px+ ── */
@media (min-width: 680px) {
  :root {
    --section-pad-v: 3.5rem;
    --section-pad-h: 2rem;
  }

  /* Grid: two columns */
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card--invite {
    display: flex;
    flex-direction: column;
  }
  .card--invite .card__icon {
    margin-bottom: var(--space-8);
  }

  .card--invite .card__desc {
    flex: 1;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--space-4);
    margin-bottom: 0;
  }

  .card--invite .text-link {
    margin-top: auto;
    padding-top: var(--space-4);
  }

  /* Footer: two columns */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  /* Hero: more padding */
  .hero__inner {
    padding: var(--space-16) var(--space-8);
    gap: var(--space-8);
  }
  .stories-section-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .stories-section-layout .stories-intro-grid {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  /* Div 2 (invite card) — spans right column, row 1 */
  .stories-section-layout .stories-intro-grid > div:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  /* Div 3 — spans full width, row 2 */
  .stories-section-layout .stories-grid {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .story-invite {
    height: 100%;
  }
  /* Cookie banner row */
  .cookie-banner {
    padding: var(--space-5) var(--space-8);
  }

  /* Disclaimer bar */
  .disclaimer-bar__inner {
    padding: 0.6rem var(--space-8) 0.6rem var(--space-5);
  }
}

/* ── lg: 900px+ ── */
@media (min-width: 900px) {
  :root {
    --section-pad-v: 4.5rem;
    --section-pad-h: 2rem;
  }

  /* Nav: show links, hide toggle */
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }

  .main-nav__inner {
    padding: 0 var(--space-8);
  }

  /* Three-column grid */
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Two-one grid (content + sidebar) */
  .grid-2-1 {
    grid-template-columns: 1fr 1fr;
  }

  /* Hero: show right panel */

  .hero__panel {
    display: block;
  }
  .hero__inner--text-only .hero__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
  }
  .section {
    padding: var(--space-10) var(--space-8);
  }
  .section,
  .section-intro {
    text-align: center;
  }
  .section-intro {
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
  }
  .section-alt {
    padding: var(--space-10) var(--space-8);
  }
  .story-card {
    text-align: left;
  }
}
/* Resource rows, slightly more padding on larger screens */
.resource-row {
  padding: var(--space-5) var(--space-6);
}

/* Resource list, more breathing room between rows */
.resource-list {
  gap: var(--space-4);
}

/* Sub-headings inside content sections */
.content-section__body {
  max-width: 66ch;
}
.hidden-disability_desc {
  text-align: left;
}
/* Callout, constrain width to match prose */
.callout {
  max-width: 66ch;
}
.get-involved {
  text-align: left;
}
/* ── xl: 1100px+ ── */
@media (min-width: 1100px) {
  .hero__inner {
    padding: var(--space-20) var(--space-8);
  }
}

/* ── Mobile nav open state ── */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-4) var(--space-5);
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
  align-items: flex-start;
  z-index: 199;
}

.nav-open .nav-links__link {
  width: 100%;
  padding: var(--space-3) var(--space-4);
}

.nav-open .nav-links__cta {
  margin-left: 0 !important;
  margin-top: var(--space-2);
}

/* ============================================================
   20. UTILITY CLASSES
   ============================================================ */
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.mb-6 {
  margin-bottom: var(--space-6);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mb-10 {
  margin-bottom: var(--space-10);
}

.text-center {
  text-align: center;
}
.text-muted {
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--space-8) 0;
}

/* ============================================================
   21. INNER PAGE SHARED COMPONENTS
   ============================================================ */

/* Page hero, lighter than homepage hero, used on all inner pages */
.page-hero {
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-10) var(--section-pad-h);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(45, 92, 69, 0.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: var(--space-5);
  transition:
    color var(--transition),
    gap var(--transition);
}

.page-hero__back:hover {
  color: var(--text-primary);
  gap: var(--space-3);
}

.page-hero__back svg {
  transition: transform var(--transition);
}
.page-hero__back:hover svg {
  transform: translateX(-3px);
}

.page-hero__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-600);
  margin-bottom: var(--space-3);
  display: block;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.page-hero__intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 58ch;
}

/* Content body, prose sections */
.content-body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-h);
}

.content-section {
  padding: var(--space-10);
  border-bottom: 1px solid var(--border-light);
}

.content-section:last-child {
  border-bottom: none;
}

.content-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.content-section__body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 66ch;
}

.content-section__body p {
  margin-bottom: var(--space-4);
}
.content-section__body p:last-child {
  margin-bottom: 0;
}

.content-section__body strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Step list, numbered process steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.step-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--plum-800);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
  margin: 0;
}

/* Alert / callout box */
.callout {
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}

.callout--green {
  background: var(--plum-50);
  border: 1px solid var(--plum-200);
  border-left: 4px solid var(--plum-600);
}

.callout--gold {
  background: var(--gold-50);
  border: 1px solid rgba(200, 150, 10, 0.2);
  border-left: 4px solid var(--gold-600);
}

.callout--info {
  background: #eef6ff;
  border: 1px solid #c5ddf8;
  border-left: 4px solid #3b82c4;
}

.callout__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.callout__body {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: none;
}

.callout__body a {
  color: var(--plum-700);
  font-weight: 600;
}

/* Resource link row, for listing external links */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.resource-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  text-decoration: none;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.resource-row:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
  transform: translateY(-1px);
  text-decoration: none;
}

.resource-row__icon {
  width: 40px;
  height: 40px;
  background: var(--plum-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.resource-row__body {
  flex: 1;
}

.resource-row__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.resource-row__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

.resource-row__source {
  font-size: 0.7rem;
  color: var(--plum-600);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: var(--space-2);
  display: block;
}

.resource-row__arrow {
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform var(--transition);
}

.resource-row:hover .resource-row__arrow {
  transform: translateX(3px);
  color: var(--plum-700);
}

/* Video embed container, 16:9 responsive */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  background: var(--plum-50);
  border: 1px solid var(--border-light);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Print styles */
@media print {
  .main-nav,
  .cookie-banner,
  .disclaimer-tab {
    display: none !important;
  }
  .disclaimer-bar {
    position: static;
  }
  body {
    font-size: 14px;
  }
}

/* ── Dropdown nav ──────────────────────────────── */

.nav-dropdown-parent {
  position: relative;
}

/* Trigger button, matches existing nav link style */
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.42rem 0.82rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
  white-space: nowrap;
}

.nav-dropdown-trigger:hover {
  color: var(--text-primary);
  background: var(--plum-50);
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 2px;
}

/* Chevron rotates when open */
.nav-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel, hidden by default */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2) 0;
  list-style: none;
  z-index: 300;
}

.nav-dropdown.is-open {
  display: block;
}

/* Individual dropdown links, simple, no description line */
.nav-dropdown__link {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
  white-space: nowrap;
}

.nav-dropdown__link:hover {
  background: var(--plum-50);
  color: var(--plum-700);
}

.nav-dropdown__link:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}

/* Divider between items, optional, remove if you prefer clean */
.nav-dropdown li + li .nav-dropdown__link {
  border-top: 1px solid var(--border-light);
}

/* Mobile: dropdown stacks inline rather than floating */
@media (max-width: 679px) {
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 var(--space-4);
    border-left: 2px solid var(--border-light);
    margin-top: var(--space-2);
  }

  .nav-dropdown__link {
    padding: var(--space-2) var(--space-3);
    font-size: 0.82rem;
  }

  .nav-dropdown li + li .nav-dropdown__link {
    border-top: none;
  }
}
/* ══ NEW: index.html additions ══ */

/* Site header, sticky wrapper for nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* Hero text-only variant */
.hero__inner--text-only {
  grid-template-columns: 1fr;
  max-width: 780px;
  padding: var(--space-20) var(--space-8);
}

.hero__inner--text-only .hero__opening {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  max-width: 62ch;
}

.hero__inner--text-only .hero__sub {
  max-width: 56ch;
}

.hero__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Gold rule under hero opening */
.hero__rule {
  width: 150px;
  height: 1px;
  background: var(--gold-600);
  margin: var(--space-5) 0 var(--space-2);
  border: none;
}

/* Card icon tinted variant, replaces style="background: var(--plum-100)" */
.card__icon--tint {
  background: var(--plum-100);
}

/* Invite card */
.card--invite {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--plum-20);
  border: 1.5px dashed var(--plum-200);
}

.card--invite:hover {
  border-color: var(--plum-400);
  background: var(--plum-50);
  transform: translateY(-2px);
}

/* Invite card responsive, 680px+ */
@media (min-width: 680px) {
  .card--invite {
    justify-content: flex-start;
  }

  .card--invite .card__desc {
    flex: 1;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--space-4);
    margin-bottom: 0;
  }

  .card--invite .text-link {
    margin-top: auto;
    padding-top: var(--space-4);
  }
}

/* Hidden disability section, replaces inline paragraph styles */
.hidden-disability__body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: var(--space-6);
  max-width: 52ch;
}

/* Hidden disability cards column, replaces inline div styles */
.hidden-disability__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* Card sub-headings, replaces inline h4 styles */
.card__subheading {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

.card__subheading--gold {
  color: var(--gold-700);
}

/* Card detail text, replaces inline p styles */
.card__detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: none;
  line-height: 1.62;
}

.card__detail--secondary {
  color: var(--text-secondary);
}

/* Small text link variant, replaces style="font-size: 0.84rem" */
.text-link--sm {
  font-size: 0.84rem;
}

/* CTA grid, replaces inline style */
.cta-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

/* Get involved body text, replaces inline p style */
.get-involved__body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: var(--space-6);
  max-width: 42ch;
}

/* Contact ways */
.contact-ways {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-way {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}

.contact-way__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-way__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
  text-align: left;
}

.contact-way__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: none;
  text-align: left;
}

/* ══ END index.html additions ══ */

/* ══ NEW: stories.html additions ══ */

/* Content body with top/bottom padding, replaces inline padding style */
.content-body--padded {
  padding-top: var(--space-10);
  padding-bottom: var(--space-16);
}
.stories-section-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
/* Stories intro grid */
.stories-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

@media (min-width: 680px) {
  .stories-intro-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* More stories section spacing */
.more-stories {
  margin-top: var(--space-8);
}

/* More stories heading, replaces inline h2 styles */
.more-stories__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-4);
}

/* More stories intro paragraph, replaces inline p styles */
.more-stories__intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 52ch;
}

/* Featured story card */
.story-featured {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin-bottom: var(--space-8);
}

.story-featured__banner {
  background: var(--plum-800);
  padding: var(--space-6) var(--space-6) var(--space-5);
}

.story-featured__label {
  display: inline-block;
  background: rgba(212, 168, 74, 0.18);
  border: 1px solid rgba(212, 168, 74, 0.35);
  color: var(--gold-100);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}

.story-featured__quote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.62;
  margin: 0;
  max-width: 62ch;
}

.story-featured__body {
  padding: var(--space-6);
}

.story-featured__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

/* Tags row in featured story, replaces inline div styles */
.story-featured__tags {
  margin-left: auto;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.story-featured__author {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.story-featured__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.story-featured__title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.38;
  margin-bottom: var(--space-4);
}

.story-featured__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: var(--space-5);
  max-width: none;
}

.story-featured__footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  background: var(--plum-20);
}

.story-featured__footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
  max-width: none;
}

/* Story grid */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 680px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Placeholder story cards, replaces all inline opacity/colour styles */
.story-card--placeholder {
  opacity: 0.5;
}

.story-card__top--muted {
  background: var(--neutral-200);
}

.story-card__quote--muted {
  color: var(--neutral-500);
  font-style: italic;
  font-size: 0.85rem;
}

.story-card__title--muted {
  color: var(--text-muted);
}
/* Single card in grid — don't stretch full width */
.stories-grid:has(> article:only-child) {
  grid-template-columns: 1fr;
  max-width: 360px;
}
/* Consent notice */
.consent-notice {
  background: var(--gold-50);
  border: 1px solid rgba(200, 150, 10, 0.2);
  border-left: 4px solid var(--gold-600);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-8);
}

.consent-notice__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.consent-notice__body {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin: 0;
  max-width: none;
}

/* Story invite card */
.story-invite {
  background: var(--plum-20);
  border: 1.5px dashed var(--plum-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: auto;
}

.story-invite__icon {
  width: 48px;
  height: 48px;
  background: var(--plum-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.story-invite__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.story-invite__body {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: none;
}

.story-invite__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.story-invite__point {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  line-height: 1.5;
}

.story-invite__point::before {
  content: "✓";
  color: var(--plum-600);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* mt-2 utility */
.mt-2 {
  margin-top: var(--space-2);
}

/* ══ END stories.html additions ══ */

/* ══ NEW: contact.html additions ══ */

/* Contact page layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-10) var(--section-pad-h) var(--space-16);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 320px;
    gap: var(--space-12);
    align-items: start;
  }
}

/* Ways section spacing, replaces inline section style */
.ways-section {
  margin-bottom: var(--space-8);
}

/* Ways heading, replaces inline h2 styles */
.ways-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

/* Ways list */
.ways-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.way-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  cursor: pointer;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.way-item:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-sm);
}

.way-item__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.way-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.way-item__body {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

/* Form card */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 480px) {
  .form-card {
    padding: var(--space-8);
  }
}

.form-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-card__intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: none;
}

/* Reason tabs */
.reason-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.reason-tab {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-page);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.reason-tab:hover,
.reason-tab.active {
  background: var(--plum-800);
  color: white;
  border-color: var(--plum-800);
}

/* Form required asterisk, replaces inline span styles */
.form-required {
  color: var(--plum-600);
}

/* Form optional label text, replaces inline span styles */
.form-optional {
  color: var(--text-muted);
  font-weight: 400;
}

/* Hidden form group, replaces style="display: none" */
.form-group.form-group--hidden {
  display: none !important;
}

/* Honeypot field, hidden from all users */
.honeypot-field {
  display: none !important;
}

/* Form checkbox */
.form-checkbox {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-2);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--plum-700);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--plum-700);
  font-weight: 600;
}

/* GDPR notice */
.gdpr-notice {
  background: var(--gold-50);
  border: 1px solid rgba(200, 150, 10, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-5);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.gdpr-notice__icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 1px;
}

.gdpr-notice__text {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

.gdpr-notice__text a {
  color: var(--plum-700);
  font-weight: 600;
}

/* Form submit button */
.form-submit {
  background: var(--plum-800);
  color: white;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  transition: background var(--transition);
  margin-top: var(--space-6);
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .form-submit {
    width: auto;
  }
}

.form-submit:hover {
  background: var(--plum-700);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form success state */
.form-success {
  display: none;
  background: var(--plum-50);
  border: 1.5px solid var(--plum-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  background: var(--plum-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: 1.5rem;
}

.form-success__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.form-success__body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 42ch;
  margin: 0 auto;
}

/* ══ END contact.html additions ══ */

.form-error {
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}

/* ══ NEW: hidden_disability.html additions ══ */

/* Conditions grid, mobile first */
.conditions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

@media (min-width: 480px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 680px) {
  .conditions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .conditions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.condition-tag {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  line-height: 1.3;
}

.condition-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plum-500);
  flex-shrink: 0;
}

/* Stats strip, mobile first */
.stats-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  background: var(--plum-800);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

@media (min-width: 480px) {
  .stats-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-block {
  text-align: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-block:last-child {
  border-bottom: none;
}

@media (min-width: 480px) {
  .stat-block {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 var(--space-4);
  }
  .stat-block:last-child {
    border-right: none;
  }
}

.stat-block__number {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-block__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* Lanyard card, mobile first */
.lanyard-card {
  background: var(--bg-white);
  border: 1.5px solid var(--plum-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-6) 0;
}

.lanyard-card__header {
  background: var(--plum-50);
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--plum-200);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.lanyard-card__icon {
  width: 48px;
  height: 48px;
  background: var(--plum-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lanyard-card__header-text h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.lanyard-card__header-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

.lanyard-card__body {
  padding: var(--space-6);
}

.lanyard-card__body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: var(--space-4);
  max-width: none;
}

.lanyard-card__body p:last-child {
  margin-bottom: 0;
}

/* Video section */
.video-section {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

.video-section__header {
  margin-bottom: var(--space-5);
}

.video-section__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.video-section__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin: 0;
  max-width: 60ch;
}

.video-section__source {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-3);
  font-style: italic;
}

.video-section__source a {
  color: var(--plum-700);
  font-weight: 600;
}

/* Colleagues grid, mobile first */
.colleagues-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

@media (min-width: 680px) {
  .colleagues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.colleague-tip {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.colleague-tip__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.colleague-tip__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.colleague-tip__body {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

/* ARM note */
.arm-note {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 480px) {
  .arm-note {
    flex-direction: row;
    align-items: flex-start;
  }
}

.arm-note__icon {
  width: 40px;
  height: 40px;
  background: var(--plum-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.arm-note__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.arm-note__body {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

.arm-note__body a {
  color: var(--plum-700);
  font-weight: 600;
}

/* ══ END hidden_disability.html additions ══ */

/* ══ NEW: workplace.html additions ══ */

/* Content section subheading, replaces all inline h3 styles */
.content-section__subheading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: var(--space-8) 0 var(--space-3);
  line-height: 1.35;
}

/* Content section body with bottom spacing, replaces inline margin-bottom */
.content-section__body--spaced {
  margin-bottom: var(--space-5);
}

/* ══ END workplace.html additions ══ */

/* ══ NEW: training.html additions ══ */

/* Tight grid variant, replaces style="gap: var(--space-3)" */
.grid-2--tight {
  gap: var(--space-3);
}

/* ══ END training.html additions ══ */

/* ══ NEW: adjustments.html additions ══ */

/* Compact card, replaces style="padding: var(--space-4)" */
.card--compact {
  padding: var(--space-4);
}

/* Card label, replaces inline h4 styles */
.card__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-family: var(--font-sans);
}

/* Grid with bottom margin, replaces style="margin-bottom: var(--space-6)" */
.grid-2--mb {
  margin-bottom: var(--space-6);
}

/* ══ END adjustments.html additions ══ */

/* ══ NEW: sick-leave.html additions ══ */

/* Grid with vertical margin, replaces style="margin: var(--space-5) 0" */
.grid-2--mv {
  margin: var(--space-5) 0;
}

/* ══ END sick-leave.html additions ══ */

/* ══ NEW: privacy.html additions ══ */

/* Legal body, prose container */
.legal-body {
  max-width: 72ch;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--text-primary);
  margin: var(--space-8) 0 var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-light);
}

.legal-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-body h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-5) 0 var(--space-3);
}

.legal-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: var(--space-4);
  max-width: none;
}

.legal-body ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-body ul li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.legal-body a {
  color: var(--plum-700);
  font-weight: 600;
}

.legal-body strong {
  color: var(--text-primary);
}

/* Legal meta strip */
.legal-meta {
  background: var(--plum-50);
  border: 1px solid var(--plum-200);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-8);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.legal-meta strong {
  color: var(--text-primary);
}

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  margin: var(--space-5) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.data-table th {
  background: var(--plum-800);
  color: white;
  font-weight: 700;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: 0.8rem;
}

.data-table td {
  padding: var(--space-3) var(--space-4);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  line-height: 1.5;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: var(--plum-20);
}

/* ══ END privacy.html additions ══ */

/* ══ NEW: accessibility.html additions ══ */

/* Compliance badge */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--plum-800);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-6);
}

/* Known issue item */
.issue-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
}

.issue-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.issue-item__body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

.issue-item__status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
}

.status-known {
  background: var(--gold-100);
  color: var(--gold-700);
}

.status-none {
  background: var(--plum-50);
  color: var(--plum-700);
}

/* ══ END accessibility.html additions ══ */

/* ══ NEW: 404.html additions ══ */

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--section-pad-h);
  text-align: center;
}

.not-found__inner {
  max-width: 480px;
}

.not-found__code {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 600;
  color: var(--plum-100);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.04em;
}

.not-found__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.not-found__body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: none;
}

.not-found__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

@media (min-width: 480px) {
  .not-found__links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ══ END 404.html additions ══ */

/* ── Story page layout ── */

/* Narrow prose column for reading comfort */
.story-prose {
  max-width: 68ch;
}

.story-prose p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: var(--space-5);
  max-width: none;
}

.story-prose p:last-child {
  margin-bottom: 0;
}

.story-prose strong {
  color: var(--text-primary);
}

.story-prose h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: var(--space-8) 0 var(--space-4);
  line-height: 1.35;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid var(--gold-600);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--gold-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.62;
  margin: 0;
  max-width: none;
}

/* Story header card */
.story-header {
  background: var(--plum-800);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  margin-bottom: var(--space-8);
}

.story-header__tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.story-header__tag {
  display: inline-block;
  background: rgba(232, 201, 122, 0.16);
  border: 1px solid rgba(232, 201, 122, 0.32);
  color: var(--gold-100);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.story-header__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 600;
  color: white;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-5);
}

.story-header__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.story-header__author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(232, 201, 122, 0.2);
  border: 2px solid rgba(232, 201, 122, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.story-header__author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 2px;
}

.story-header__author-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.story-header__published {
  margin-left: auto;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

/* Related resources sidebar */
.story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-8);
}

@media (min-width: 900px) {
  .story-layout {
    grid-template-columns: 1fr 260px;
    gap: var(--space-12);
    align-items: start;
  }
}

/* BMA original notice */
.bma-notice {
  background: var(--plum-50);
  border: 1px solid var(--plum-200);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-8);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.bma-notice__icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
}

.bma-notice__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

.bma-notice__text a {
  color: var(--plum-700);
  font-weight: 600;
}

/* Recommendations section */
.story-recs {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-8);
}

.story-recs__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}

.story-recs__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.story-rec-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.story-rec-item__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--plum-800);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.story-rec-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

.story-rec-item p strong {
  color: var(--text-primary);
}
/* Footer attribution */
.footer__attribution {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}
