/* ==========================================================================
   Inter-Faith Aid Ministry International — main stylesheet
   --------------------------------------------------------------------------
   Contents
   01. Design tokens
   02. Reset and base elements
   03. Typography
   04. Layout helpers
   05. Buttons and links
   06. Site header and navigation
   07. Heroes
   08. Sections
   09. Cards
   10. Galleries
   11. Timeline
   12. Voices carousel
   13. FAQ accordion
   14. Call to action and donation
   15. Footer
   16. Forms
   17. Dialogs (lightbox, video)
   18. Page-specific
   19. Utilities
   20. Motion and reveal
   21. Print

   No framework, no build step. Everything is plain CSS.
   ========================================================================== */

/* 01. Design tokens -------------------------------------------------------- */
:root {
  /* Brand palette */
  --brand: #d26224;          /* decorative orange, large text only */
  --brand-strong: #b34e17;   /* AA-contrast orange for text and buttons */
  --brand-soft: #f8e5d7;
  --ink: #191c33;
  --ink-soft: #2a2f4d;
  --body: #3d4257;
  --muted: #5f6478;
  --cream: #fbf8f3;
  --sand: #f3ece1;
  --line: #e6ddcf;
  --line-strong: #d6caba;
  --white: #ffffff;
  --dark: #151830;
  --dark-soft: #1e2240;
  --on-dark: #f5f1e8;
  --on-dark-muted: #b9b7c4;
  --focus: #1f5fd0;

  /* Typography */
  --font-display: "Brygada 1918", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.07rem + 0.28vw, 1.25rem);
  --text-xl: clamp(1.35rem, 1.24rem + 0.5vw, 1.65rem);
  --text-2xl: clamp(1.75rem, 1.5rem + 1.1vw, 2.4rem);
  --text-3xl: clamp(2.1rem, 1.7rem + 2vw, 3.3rem);
  --text-4xl: clamp(2.6rem, 1.95rem + 3.3vw, 4.6rem);

  /* Spacing and shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 76rem;
  --header-h: 4.75rem;
  --radius-sm: 0.5rem;
  --radius: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(25, 28, 51, 0.06), 0 6px 18px rgba(25, 28, 51, 0.04);
  --shadow-md: 0 2px 6px rgba(25, 28, 51, 0.07), 0 18px 40px rgba(25, 28, 51, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 220ms var(--ease);
}

/* 02. Reset and base elements --------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
  background-color: var(--sand);
}

svg {
  flex-shrink: 0;
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

:target {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

::selection {
  background: var(--brand);
  color: var(--white);
}

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

/* 03. Typography ---------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-xl);
  line-height: 1.25;
}

h4 {
  font-size: var(--text-lg);
  line-height: 1.3;
}

p,
li {
  text-wrap: pretty;
}

p + p {
  margin-top: var(--space-4);
}

.lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--brand);
}

.prose {
  max-width: 68ch;
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
}

.prose h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-7);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: var(--space-2);
}

.prose blockquote {
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--brand);
  background: var(--sand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--ink);
}

/* 04. Layout helpers ------------------------------------------------------ */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (var(--gutter) * 2), 52rem);
}

.stack > * + * {
  margin-top: var(--space-4);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split--wide-left {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .split--wide-right {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .split__media--order-1 {
    order: 1;
  }
}

/* 05. Buttons and links --------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--brand-strong);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
}

.button:hover {
  background: #973f10;
  color: var(--white);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 1.05em;
  height: 1.05em;
}

.button--secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--secondary:hover {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--light:hover {
  background: var(--sand);
  color: var(--ink);
}

.button--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.button--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
  transition: color var(--transition), border-color var(--transition);
}

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

.text-link:hover {
  color: var(--brand-strong);
  border-color: var(--brand-strong);
}

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

.text-link--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.text-link--light:hover {
  color: var(--white);
  border-color: var(--white);
}

/* 06. Site header and navigation ------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(25, 28, 51, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 2.65rem;
  height: 2.65rem;
  object-fit: contain;
  background: transparent;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand__tagline {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 1.6rem);
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.1rem;
  color: var(--ink-soft);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.site-nav__cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.nav-toggle__box {
  display: grid;
  gap: 5px;
  width: 1.15rem;
  margin-inline: auto;
}

.nav-toggle__bar {
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 59.9375rem) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    display: grid;
    align-content: start;
    gap: var(--space-5);
    padding: var(--space-6) var(--gutter) var(--space-8);
    overflow-y: auto;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: opacity var(--transition), transform var(--transition),
      visibility var(--transition);
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list li + li {
    border-top: 1px solid var(--line);
  }

  .site-nav__link {
    display: block;
    padding: 0.95rem 0;
    font-size: 1.125rem;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link[aria-current="page"] {
    color: var(--brand-strong);
  }

  .site-nav__cta {
    display: block;
    padding-top: var(--space-2);
  }

  .site-nav__cta .button {
    width: 100%;
  }
}

@media (min-width: 60rem) {
  .site-nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
  }

  .site-nav__cta {
    display: block;
    padding: 0;
  }

  .site-nav__cta .button {
    min-height: 2.75rem;
    padding: 0.65rem 1.25rem;
  }
}

/* 07. Heroes -------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(34rem, 78svh, 46rem);
  padding-block: clamp(5rem, 12vh, 8rem) clamp(3rem, 7vh, 5rem);
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  background: var(--dark);
}

/* Photo slideshow */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero__slider-bar {
  position: absolute;
  right: var(--gutter);
  bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.4rem 0.5rem 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(12, 14, 30, 0.55);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.45);
  transition: width var(--transition), background var(--transition);
}

.hero__dot.is-active {
  width: 1.35rem;
  background: var(--white);
}

.hero__count {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.8);
}

.hero__arrows {
  display: flex;
  gap: 0.25rem;
}

.hero__arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
}

.hero__arrow svg {
  width: 0.9rem;
  height: 0.9rem;
}

.hero__pause svg {
  width: 0.75rem;
  height: 0.75rem;
}

.hero__pause .icon-play {
  display: none;
}

.hero__pause.is-paused .icon-play {
  display: block;
}

.hero__pause.is-paused .icon-pause {
  display: none;
}

@media (max-width: 47.99rem) {
  .hero--slider {
    padding-bottom: 5.5rem;
  }

  .hero__slider-bar {
    left: var(--gutter);
    right: auto;
  }
}

/* Video feature (home page) */
.video-feature {
  margin: 0;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.video-feature video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.video-feature figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  color: var(--on-dark-muted);
  font-size: var(--text-sm);
}

.video-feature figcaption a {
  color: var(--white);
}

/* Video cards (gallery page) */
.video-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}

.video-card {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark-soft);
  color: var(--white);
  text-align: left;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 600ms var(--ease), opacity var(--transition);
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 14, 30, 0.82) 0%, transparent 60%);
}

.video-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(12, 14, 30, 0.5);
  transform: translate(-50%, -50%);
  transition: background var(--transition), transform var(--transition);
}

.video-card:hover .video-card__play {
  background: var(--brand-strong);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-card__play svg {
  width: 1rem;
  height: 1rem;
  margin-left: 2px;
}

.video-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.9rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.35;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 14, 30, 0.88) 0%, rgba(12, 14, 30, 0.66) 48%, rgba(12, 14, 30, 0.28) 100%),
    linear-gradient(0deg, rgba(12, 14, 30, 0.78) 0%, transparent 58%);
}

.hero h1 {
  color: var(--white);
  max-width: 18ch;
}

.hero p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero__content {
  max-width: 44rem;
}

.hero__actions {
  margin-top: var(--space-6);
}

.hero .eyebrow {
  color: #ffc9a5;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.hero--page {
  min-height: clamp(20rem, 46svh, 29rem);
  padding-block: clamp(7rem, 18vh, 10rem) clamp(2.5rem, 6vh, 4rem);
}

.hero--page h1 {
  font-size: var(--text-3xl);
  max-width: 22ch;
}

.hero--page p {
  font-size: var(--text-lg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.6;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

/* 08. Sections ------------------------------------------------------------ */
.section {
  padding-block: var(--section-y);
}

.section--tint {
  background: linear-gradient(180deg, var(--sand) 0%, #f7f1e8 100%);
}

.section--tight {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark .lede {
  color: var(--on-dark-muted);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head__text {
  max-width: 46rem;
}

.section-head h2 {
  margin-bottom: var(--space-3);
}

.section-head .lede {
  margin-top: var(--space-3);
}

.section-head__aside {
  padding-bottom: 0.35rem;
}

/* Stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-5);
  padding-block: var(--space-6);
}

@media (min-width: 48rem) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.stat__value--text {
  font-size: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem);
  line-height: 1.15;
  padding-top: 0.25rem;
}

.stat__label {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--muted);
}

/* 09. Cards --------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.card-grid--two {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 44rem) {
  .card-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

.focus-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.focus-card__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--space-3);
  border-radius: 0.8rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.focus-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.focus-card h3 {
  font-size: var(--text-lg);
}

.focus-card p {
  color: var(--muted);
  font-size: var(--text-sm);
}

.focus-card .text-link {
  margin-top: auto;
  padding-top: var(--space-3);
  align-self: flex-start;
}

/* Media card (programmes, projects, stories) */
.media-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

.media-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.media-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.media-card:hover .media-card__media img {
  transform: scale(1.04);
}

.media-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
}

.media-card__body p {
  color: var(--muted);
  font-size: var(--text-sm);
}

.media-card__kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.media-card--wide {
  display: grid;
}

@media (min-width: 40rem) {
  .media-card--wide {
    grid-template-columns: 1.1fr 1fr;
  }

  .media-card--wide .media-card__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 17rem;
  }
}

/* Feature / story block */
.feature {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .feature {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .feature--flip .feature__media {
    order: 2;
  }
}

.feature__media {
  position: relative;
}

.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.feature__media--portrait img {
  aspect-ratio: 4 / 5;
}

.feature__badge {
  position: absolute;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.85rem 1.1rem;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.feature__badge strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink);
}

.feature__badge span {
  max-width: 8rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* People */
.people-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
}

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

.person-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  aspect-ratio: 1;
}

.person-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
  transition: transform 600ms var(--ease), filter var(--transition);
}

.person-card:hover .person-card__media img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.person-card h3 {
  font-size: 1.2rem;
}

.person-card__role {
  margin-top: 0.15rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.person-card p {
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Members and companions */
.members-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

@media (min-width: 68rem) {
  .members-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.member-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.member-card img {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.member-card h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}

.member-card p {
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--muted);
}

.member-card__role {
  margin-top: 0.1rem;
  font-weight: 600;
  color: var(--brand-strong) !important;
}

/* Simple content card (mission, values, sectors) */
.info-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card h3 {
  font-size: 1.25rem;
}

.info-card p {
  color: var(--muted);
  font-size: var(--text-sm);
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-2);
  border-radius: 0.75rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.info-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Quote card */.quote-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote-card__mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--brand);
}

.quote-card blockquote {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--ink-soft);
}

.quote-card figcaption,
.quote-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.quote-card figcaption img,
.quote-card__author img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.quote-card figcaption strong,
.quote-card__author strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink);
}

.quote-card figcaption span,
.quote-card__author span {
  display: block;
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.4;
}

/* 10. Galleries ----------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-6);
}

.filter {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-soft);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition);
}

.filter:hover {
  background: var(--white);
  border-color: var(--ink);
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
  gap: var(--space-3);
}

@media (min-width: 48rem) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  }
}

.gallery-item {
  position: relative;
  background: var(--sand);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  color: var(--white);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item__link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), opacity var(--transition);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 14, 30, 0.72) 0%, transparent 52%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item__caption {
  position: absolute;
  left: 1rem;
  right: 3rem;
  bottom: 0.9rem;
  z-index: 1;
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item::before {
  content: "+";
  position: absolute;
  right: 0.9rem;
  bottom: 0.75rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.04);
}

.gallery-item:hover::after,
.gallery-item:focus-within::after,
.gallery-item:hover::before,
.gallery-item:focus-within::before,
.gallery-item:hover .gallery-item__caption,
.gallery-item:focus-within .gallery-item__caption {
  opacity: 1;
}

.gallery-item:focus-within .gallery-item__caption {
  transform: none;
}

.gallery-note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--muted);
}

/* 11. Timeline ------------------------------------------------------------ */
.timeline {
  position: relative;
  display: grid;
  gap: var(--space-6);
  padding-left: var(--space-6);
  border-left: 1px solid var(--line-strong);
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-6) - 5px);
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--cream);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.timeline__item p {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
}

/* 12. Voices carousel ----------------------------------------------------- */
.carousel-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background var(--transition), border-color var(--transition),
    color var(--transition), opacity var(--transition);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.voices {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(17rem, 21rem);
  gap: var(--space-4);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 0;
  padding-bottom: var(--space-3);
  scrollbar-width: none;
}

.voices::-webkit-scrollbar {
  display: none;
}

.voices > * {
  scroll-snap-align: start;
}

/* 13. FAQ accordion ------------------------------------------------------- */
.faq {
  display: grid;
  gap: var(--space-3);
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--brand-strong);
  transition: transform var(--transition), background var(--transition);
}

.faq details[open] summary::after {
  content: "−";
  background: var(--brand-soft);
  transform: rotate(180deg);
}

.faq__body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--muted);
  font-size: var(--text-sm);
}

.faq__body ul {
  padding-left: 1.15rem;
  margin-top: var(--space-2);
  list-style: disc;
}

.faq__body li + li {
  margin-top: var(--space-1);
}

/* 14. Call to action and donation ---------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 3rem + 4vw, 5.5rem);
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  right: -8rem;
  top: -14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 98, 36, 0.34) 0%, transparent 68%);
}

.cta__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 56rem) {
  .cta__inner {
    grid-template-columns: 1.4fr 0.6fr;
  }

  .cta__actions {
    justify-content: flex-end;
  }
}

.cta h2 {
  color: var(--white);
  font-size: var(--text-2xl);
  max-width: 24ch;
}

.cta p {
  margin-top: var(--space-3);
  color: var(--on-dark-muted);
  max-width: 52ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.donate-card {
  display: grid;
  gap: var(--space-4);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.donate-card h3 {
  font-size: var(--text-xl);
}

.detail-list {
  display: grid;
  gap: var(--space-3);
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.detail-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-list dt {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* 15. Footer -------------------------------------------------------------- */
.site-footer {
  background: #10132a;
  color: var(--on-dark-muted);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  font-size: var(--text-sm);
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer__top {
  display: grid;
  gap: var(--space-7) var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .site-footer__top {
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1.2fr;
  }
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-brand .brand:hover {
  color: var(--white);
}

.footer-brand .brand__tagline {
  color: var(--on-dark-muted);
}

.footer-brand p {
  max-width: 32ch;
  font-size: var(--text-sm);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-links {
  display: grid;
  gap: var(--space-2);
}

.footer-links a {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-contact {
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-style: normal;
}

.footer-contact a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact address {
  font-style: normal;
  line-height: 1.6;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-xs);
  color: rgba(245, 241, 232, 0.62);
}

.site-footer__bottom a {
  color: inherit;
}

.site-footer__bottom a:hover {
  color: var(--white);
}

/* 16. Forms --------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--space-4);
}

.form__row {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 40rem) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.field .hint {
  font-size: var(--text-xs);
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: var(--text-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-strong);
  box-shadow: 0 0 0 3px rgba(210, 98, 36, 0.18);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #b3261e;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.form__note {
  font-size: var(--text-xs);
  color: var(--muted);
  max-width: 34ch;
}

.form-status {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: #6b2f0c;
  font-size: var(--text-sm);
}

.form-status:empty {
  display: none;
}

/* 17. Dialogs ------------------------------------------------------------- */
dialog {
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}

dialog::backdrop {
  background: rgba(9, 11, 24, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox {
  width: min(96vw, 72rem);
  max-width: none;
  max-height: 96dvh;
  margin: auto;
}

.lightbox__inner {
  display: grid;
  gap: var(--space-3);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.lightbox__figure {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  display: grid;
  place-items: center;
  min-height: 12rem;
}

.lightbox__image {
  max-width: 100%;
  max-height: calc(96dvh - 9rem);
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  background: var(--dark-soft);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.85);
}

.lightbox__count {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.6);
}

.dialog-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(21, 24, 48, 0.86);
  color: var(--white);
}

.dialog-close:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.dialog-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(21, 24, 48, 0.72);
  color: var(--white);
  transform: translateY(-50%);
}

.dialog-nav:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.dialog-nav--prev {
  left: 0.6rem;
}

.dialog-nav--next {
  right: 0.6rem;
}

@media (min-width: 60rem) {
  .dialog-nav--prev {
    left: 1rem;
  }

  .dialog-nav--next {
    right: 1rem;
  }

  .dialog-close {
    top: 1rem;
    right: 1rem;
  }
}

.video-dialog {
  width: min(96vw, 60rem);
  max-width: none;
}

.video-dialog__inner {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--dark);
  border-radius: var(--radius);
}

.video-dialog video {
  width: 100%;
  max-height: calc(96dvh - 7rem);
  border-radius: var(--radius-sm);
  background: #000;
}

.video-dialog__title {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
}

.video-dialog .lightbox__bar {
  align-items: center;
}

.video-dialog .dialog-close {
  position: static;
  flex-shrink: 0;
  transform: none;
}

/* 18. Page-specific ------------------------------------------------------- */
/* Intro band under an inner hero */
.intro {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.intro__inner {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 56rem) {
  .intro__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.intro p {
  color: var(--muted);
}

/* Contact layout */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 60rem) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.contact-list {
  display: grid;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-item__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.contact-item__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  font-size: var(--text-sm);
  color: var(--ink);
  text-decoration: none;
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}

.form-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Policies page */
.policy-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
}

@media (min-width: 60rem) {
  .policy-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: start;
  }

  .policy-toc {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    max-height: calc(100dvh - var(--header-h) - 4rem);
    overflow-y: auto;
  }
}

.policy-toc {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-toc h2 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.policy-toc ol {
  counter-reset: toc;
  display: grid;
  gap: 0.35rem;
  padding-left: 0;
  list-style: none;
  font-size: var(--text-sm);
}

.policy-toc a {
  color: var(--ink-soft);
  text-decoration: none;
}

.policy-toc a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}

.policy-body > section + section {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
}

.policy-body h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.policy-body h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.policy-body p,
.policy-body li {
  color: var(--muted);
}

.policy-body ul {
  margin-top: var(--space-3);
}

.notice {
  padding: var(--space-4) var(--space-5);
  background: var(--sand);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

/* 404 */
.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--space-9);
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 11rem);
  line-height: 0.9;
  color: var(--brand);
}

.error-page h1 {
  font-size: var(--text-2xl);
  margin-top: var(--space-4);
}

.error-page p {
  margin-inline: auto;
  max-width: 42ch;
  color: var(--muted);
}

/* 19. Utilities ----------------------------------------------------------- */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.nowrap {
  white-space: nowrap;
}

/* 20. Motion and reveal --------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  [data-reveal].is-reveal-pending {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 21. Print --------------------------------------------------------------- */
@media print {
  .site-header,
  .site-nav,
  .skip-link,
  .cta,
  .site-footer,
  .filters,
  .carousel-head,
  .dialog-close,
  .dialog-nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .section {
    padding-block: 1rem;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    word-break: break-all;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}
