/* =================================================================
   Design tokens

   These six colors are the whole palette. The primary and accent
   colors can be overridden from the CMS (Settings → Theme), which
   writes a small <style> block into every page.

   Contrast note: marigold is a large-text and fill color only. Small
   text on marigold uses --ink on top of it, never the reverse.
   ================================================================= */

:root {
  --ink: #16233b;
  --paper: #faf7f2;
  --surface: #ffffff;
  --marigold: #e39b2c;
  --clover: #23604a;
  --slate: #5c6a7e;

  /* Soft washes derived from the two accent colors. The plain rgba line is
     a fallback for older browsers; the color-mix line below it wins wherever
     it is understood, which is what keeps tints in step with a color change
     made in the CMS. */
  --marigold-04: rgba(227, 155, 44, 0.04);
  --marigold-04: color-mix(in srgb, var(--marigold) 4%, transparent);
  --marigold-12: rgba(227, 155, 44, 0.14);
  --marigold-12: color-mix(in srgb, var(--marigold) 14%, transparent);
  --marigold-20: rgba(227, 155, 44, 0.2);
  --marigold-20: color-mix(in srgb, var(--marigold) 20%, transparent);
  --clover-08: rgba(35, 96, 74, 0.08);
  --clover-08: color-mix(in srgb, var(--clover) 8%, transparent);
  --clover-12: rgba(35, 96, 74, 0.12);
  --clover-12: color-mix(in srgb, var(--clover) 12%, transparent);
  --clover-25: rgba(35, 96, 74, 0.25);
  --clover-25: color-mix(in srgb, var(--clover) 25%, transparent);

  --band-line: rgba(92, 106, 126, 0.22);
  --band-line-strong: rgba(92, 106, 126, 0.4);
  --shadow: 0 2px 3px rgba(22, 35, 59, 0.04), 0 8px 24px rgba(22, 35, 59, 0.06);

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  --step-6: 3.5rem;
  --step-5: 2.5rem;
  --step-4: 1.75rem;
  --step-3: 1.25rem;
  --step-2: 1rem;
  --step-1: 0.875rem;

  --body-size: 1.0625rem;
  --body-leading: 1.65;

  --wrap: 1200px;
  --wrap-narrow: 780px;
  --gutter: 24px;
  --radius: 10px;
  --measure: 68ch;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --step-6: 2.25rem;
    --step-5: 1.875rem;
    --step-4: 1.375rem;
    --step-3: 1.125rem;
  }
}

/* =================================================================
   Reset and base
   ================================================================= */

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}

p {
  margin: 0 0 var(--space-3);
  max-width: var(--measure);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--clover);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

ul,
ol {
  margin: 0 0 var(--space-3);
  padding-left: 1.25em;
}

code {
  font-family: var(--font-body);
  background: rgba(92, 106, 126, 0.12);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

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

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

.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;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: var(--space-2);
  color: var(--paper);
}

/* =================================================================
   Layout
   ================================================================= */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: var(--space-7) 0;
}

.section--paper {
  background: var(--paper);
}

.section--surface {
  background: var(--surface);
}

.section--mission {
  background: linear-gradient(180deg, var(--marigold-12), var(--marigold-04));
  padding: var(--space-7) 0;
}

@media (max-width: 760px) {
  .section {
    padding: var(--space-6) 0;
  }
}

.section-head {
  margin-bottom: var(--space-5);
  max-width: var(--measure);
}

.section-title {
  font-size: var(--step-5);
  margin-bottom: var(--space-2);
}

.section-intro {
  color: var(--slate);
  font-size: var(--step-3);
  margin-bottom: 0;
}

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

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 var(--space-1);
}

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

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

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-size: var(--step-4);
  margin-top: var(--space-5);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: var(--step-3);
  margin-top: var(--space-4);
}

.prose li {
  margin-bottom: var(--space-1);
}

.prose--lead {
  font-size: var(--step-3);
  line-height: 1.6;
}

.note {
  color: var(--slate);
  font-size: var(--step-1);
  margin-top: var(--space-4);
  max-width: var(--measure);
}

.callout {
  background: var(--surface);
  border-left: 4px solid var(--marigold);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}

.callout--tight {
  padding: var(--space-2) var(--space-3);
}

.notice {
  background: var(--clover-08);
  border: 1px solid var(--clover-25);
  border-radius: var(--radius);
  padding: var(--space-4);
  font-size: var(--step-3);
  max-width: none;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
}

.inline-cta__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-4);
}

/* =================================================================
   Buttons and links
   ================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: var(--step-2);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.btn--primary {
  background: var(--marigold);
  color: var(--ink);
  border-color: var(--marigold);
}

.btn--primary:hover {
  background: #d18d21;
  border-color: #d18d21;
  color: var(--ink);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn:active {
  transform: translateY(1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--clover);
  text-decoration: none;
  border-bottom: 2px solid var(--marigold);
  padding-bottom: 2px;
  line-height: 1.3;
}

.text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.icon--inline {
  width: 1em;
  height: 1em;
}

.icon--chevron {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.15s ease;
}

/* =================================================================
   Announcement bar
   ================================================================= */

.announcement {
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step-1);
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: 10px;
  padding-bottom: 10px;
}

.announcement__text {
  margin: 0;
  max-width: none;
}

.announcement a {
  color: var(--marigold);
}

.announcement__close {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =================================================================
   Header and navigation
   ================================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--band-line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 76px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}

.wordmark__glyph {
  color: var(--marigold);
  flex: none;
}

.header__toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  background: none;
  border: 1.5px solid var(--band-line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__group {
  display: inline-flex;
  align-items: center;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
}

.nav__link:hover {
  background: var(--marigold-12);
  color: var(--ink);
}

.nav__link.is-current {
  border-bottom-color: var(--marigold);
  font-weight: 600;
}

.nav__disclosure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 44px;
  padding: 0 2px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.nav__disclosure[aria-expanded='true'] .icon--chevron {
  transform: rotate(180deg);
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: var(--space-1);
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 50;
}

.nav__submenu[hidden] {
  display: none;
}

.nav__sublink {
  display: block;
  padding: 10px 14px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.nav__sublink:hover {
  background: var(--clover-12);
  color: var(--ink);
}

@media (max-width: 960px) {
  .header__toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-3);
    margin: 0;
    padding: 96px var(--gutter) var(--space-6);
    background: var(--paper);
    overflow-y: auto;
    z-index: 45;
  }

  .nav.is-open {
    display: flex;
  }

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

  .nav__item {
    border-bottom: 1px solid var(--band-line);
  }

  .nav__group {
    justify-content: space-between;
    width: 100%;
  }

  .nav__link {
    flex: 1;
    font-size: var(--step-3);
    padding: 14px 4px;
    min-height: 56px;
  }

  .nav__disclosure {
    min-width: 56px;
    min-height: 56px;
  }

  .nav__submenu {
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 var(--space-2) var(--space-2);
    border-left: 2px solid var(--marigold);
    margin-left: 4px;
  }

  .nav__cta .btn {
    width: 100%;
  }
}

/* =================================================================
   Hero and the greeting wall
   ================================================================= */

.hero {
  padding: var(--space-7) 0 var(--space-6);
  background:
    radial-gradient(60% 90% at 85% 10%, var(--marigold-20), transparent 70%),
    radial-gradient(50% 80% at 5% 90%, var(--clover-12), transparent 70%),
    var(--paper);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-6);
  align-items: center;
}

.hero__headline {
  font-size: var(--step-6);
  margin-bottom: var(--space-3);
}

.hero__subhead {
  font-size: var(--step-3);
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero__photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-3);
  aspect-ratio: 5 / 3;
}

.hero__photo .figure-img,
.hero__photo .illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.greeting-wall__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.greeting {
  --bubble-bg: var(--surface);
  --bubble-fg: var(--ink);
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px 14px;
  background: var(--bubble-bg);
  color: var(--bubble-fg);
  border: 1px solid var(--band-line);
  border-radius: 16px 16px 16px 4px;
  box-shadow: var(--shadow);
  animation: bubble-in 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  animation-delay: calc(var(--i) * 60ms);
}

.greeting--a {
  --bubble-bg: var(--marigold);
  --bubble-fg: var(--ink);
  border-color: transparent;
}

.greeting--b {
  --bubble-bg: var(--clover);
  --bubble-fg: #ffffff;
  border-color: transparent;
}

.greeting--c {
  --bubble-bg: var(--surface);
  --bubble-fg: var(--ink);
}

.greeting__word {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.2;
}

.greeting__lang {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.greeting--b .greeting__lang {
  opacity: 0.85;
}

.greeting:nth-child(3n + 1) {
  animation-name: bubble-in, drift-a;
  animation-duration: 0.5s, 9s;
  animation-delay: calc(var(--i) * 60ms), 1s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1), ease-in-out;
  animation-direction: normal, alternate;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift-a {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-5px);
  }
}

/* =================================================================
   Page headers
   ================================================================= */

.page-header {
  padding: var(--space-6) 0 var(--space-5);
  background:
    radial-gradient(70% 120% at 90% 0%, var(--marigold-12), transparent 70%),
    var(--paper);
}

.page-title {
  font-size: var(--step-6);
  margin-bottom: var(--space-2);
}

.page-lead {
  font-size: var(--step-3);
  color: var(--slate);
}

.mission {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.35;
  margin: 0;
  max-width: 46ch;
}

/* =================================================================
   Cards
   ================================================================= */

.card {
  background: var(--surface);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.card__title {
  font-size: var(--step-4);
  margin: 0;
}

.card--option .card__title,
.card--value .card__title,
.card--story .story__name {
  font-size: var(--step-3);
}

.card__body {
  margin: 0;
  color: var(--ink);
}

.card__meta {
  margin: 0;
  color: var(--slate);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--marigold-20);
  color: var(--ink);
}

.card__icon .icon {
  width: 26px;
  height: 26px;
}

.card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.card__media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: var(--clover-08);
}

.card__media .illustration,
.card__media .figure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-list {
  margin: 0;
  display: grid;
  gap: var(--space-2);
}

.detail-list--tight {
  gap: var(--space-1);
}

.detail__label {
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0;
}

.detail__value {
  margin: 0;
  max-width: var(--measure);
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--band-line);
  border-left: 4px solid var(--clover);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.detail-card__title {
  font-size: var(--step-4);
}

.card--person {
  align-items: flex-start;
}

.person__avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--clover);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.person__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person__initials {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
}

.person__role {
  margin: 0;
  color: var(--slate);
  font-weight: 600;
  font-size: var(--step-1);
}

/* Story cards */

.card--story {
  padding: 0;
  overflow: hidden;
}

.story__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.story__link:hover .story__more {
  border-bottom-color: var(--ink);
}

.story__media {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--marigold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
}

.story__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.story__role {
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.story__name {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
}

.story__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--clover);
  border-bottom: 2px solid var(--marigold);
  align-self: flex-start;
  padding-bottom: 2px;
}

.story-hero__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-3);
}

/* Resource cards */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--clover-12);
  color: var(--clover);
  padding: 4px 10px;
  border-radius: 999px;
}

.card--resource .card__title a {
  color: var(--ink);
  text-decoration: none;
}

.card--resource .card__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--marigold);
  text-decoration-thickness: 3px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.filter {
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--band-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

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

.card--resource[hidden] {
  display: none;
}

.grade-group + .grade-group {
  margin-top: var(--space-6);
}

.grade-group__title {
  font-size: var(--step-4);
  padding-bottom: var(--space-1);
  border-bottom: 3px solid var(--marigold);
  display: inline-block;
  margin-bottom: var(--space-4);
}

/* Events */

.event__meta {
  margin: 0;
  color: var(--slate);
  font-weight: 600;
  font-size: var(--step-1);
}

/* =================================================================
   Steps, bands, quote, stats, partners
   ================================================================= */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  counter-reset: step;
}

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

.step__marker {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
}

.step__marker--icon {
  background: var(--clover-12);
  color: var(--clover);
}

.step__title {
  font-size: var(--step-3);
  margin-bottom: 4px;
}

.step__body {
  margin: 0;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-5) 0;
}

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

.band--flipped .band__media {
  order: 2;
}

.band__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--clover-08);
}

.band__media .illustration,
.band__media .figure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.band__title {
  font-size: var(--step-5);
}

.band__body {
  font-size: var(--step-3);
  margin-bottom: var(--space-3);
}

@media (max-width: 820px) {
  .band {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .band--flipped .band__media {
    order: 0;
  }
}

.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--space-4) var(--space-5);
  align-items: start;
}

.quote__portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--clover);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote__initials {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 600;
}

.quote__body {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.55;
}

.quote__body p {
  max-width: 62ch;
}

.quote__caption {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--band-line);
  padding-top: var(--space-3);
}

.quote__signature {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
}

.quote__email {
  font-size: var(--step-1);
  font-weight: 600;
}

@media (max-width: 700px) {
  .quote {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }

  .quote__caption {
    grid-column: 1;
  }
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 3px solid var(--marigold);
  padding-top: var(--space-2);
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--step-6);
  font-weight: 700;
  line-height: 1;
}

.stat__label {
  font-weight: 600;
}

.stat__explanation {
  color: var(--slate);
  font-size: var(--step-1);
}

.partner-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}

.partner img {
  max-height: 56px;
  width: auto;
}

.partner-row__name {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--slate);
}

.cta-band {
  background: var(--clover);
  color: #ffffff;
  padding: var(--space-7) 0;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.cta-band__title {
  font-size: var(--step-5);
  margin: 0;
  color: #ffffff;
}

.cta-band__body {
  margin: 0;
  font-size: var(--step-3);
  color: rgba(255, 255, 255, 0.92);
}

/* =================================================================
   Location table — table on wide screens, cards on a phone
   ================================================================= */

.location-group + .location-group {
  margin-top: var(--space-5);
}

.location-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step-4);
  margin-bottom: var(--space-2);
}

.icon--pin {
  color: var(--clover);
}

.location-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.location-table th,
.location-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--band-line);
  vertical-align: top;
}

.location-table thead th {
  background: var(--clover-08);
  font-size: var(--step-1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.location-table tbody tr:last-child td {
  border-bottom: 0;
}

.location__name {
  display: block;
  font-weight: 700;
}

.location__address {
  display: block;
  color: var(--slate);
  font-size: var(--step-1);
}

@media (max-width: 720px) {
  .location-table,
  .location-table tbody,
  .location-table tr,
  .location-table td {
    display: block;
    width: 100%;
  }

  .location-table thead {
    display: none;
  }

  .location-table {
    border: 0;
    background: transparent;
  }

  .location-table tr {
    background: var(--surface);
    border: 1px solid var(--band-line);
    border-radius: var(--radius);
    padding: var(--space-2);
    margin-bottom: var(--space-3);
  }

  .location-table td {
    border-bottom: 0;
    padding: 6px 8px;
  }

  .location-table td:empty {
    display: none;
  }

  .location-table td::before {
    content: attr(data-label) ': ';
    font-weight: 700;
    color: var(--slate);
  }

  .location-table td[data-label='Place']::before {
    content: '';
  }
}

/* =================================================================
   Plain-language page
   ================================================================= */

.page-plain {
  --body-size: 1.1875rem;
  --body-leading: 1.7;
  --measure: 56ch;
}

.page-plain p,
.page-plain li {
  font-size: var(--body-size);
  line-height: var(--body-leading);
}

.page-header--plain .page-lead {
  color: var(--ink);
  font-size: var(--step-4);
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.fact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  padding: var(--space-3);
  font-size: var(--step-3);
}

.icon--fact {
  color: var(--marigold);
  width: 1.5em;
  height: 1.5em;
  margin-top: 2px;
}

.plain-block + .plain-block {
  margin-top: var(--space-5);
}

.plain-block__title {
  font-size: var(--step-4);
}

.plain-block__body {
  font-size: var(--step-3);
}

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-1);
}

.download-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.download-list a:hover {
  border-color: var(--clover);
}

/* =================================================================
   FAQ accordion
   ================================================================= */

.faq {
  border-top: 1px solid var(--band-line);
}

.faq__item {
  border-bottom: 1px solid var(--band-line);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 18px 4px;
  min-height: 56px;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--clover);
}

.faq__item[open] .icon--chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 4px 20px;
}

/* =================================================================
   Forms
   ================================================================= */

.form {
  display: grid;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
}

.form--simple {
  max-width: 520px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-weight: 600;
}

.field__required,
.field__optional {
  font-weight: 400;
  color: var(--slate);
  font-size: var(--step-1);
}

.field__input {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--band-line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
}

.field__input:focus-visible {
  border-color: var(--clover);
}

.field__input--area {
  min-height: 130px;
  resize: vertical;
}

.field__input[aria-invalid='true'] {
  border-color: #a3311f;
  background: rgba(163, 49, 31, 0.04);
}

.field__error {
  color: #8e2b1b;
  font-size: var(--step-1);
  font-weight: 600;
}

.field__error:empty {
  display: none;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note,
.form__privacy {
  color: var(--slate);
  font-size: var(--step-1);
  margin: 0;
}

.form__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
}

.form__status:empty {
  display: none;
}

.form__status {
  color: #8e2b1b;
  font-weight: 600;
}

.form-confirmation {
  background: var(--surface);
  border: 1px solid var(--clover);
  border-left: 5px solid var(--clover);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
}

.form-confirmation__title {
  font-size: var(--step-4);
  margin-bottom: var(--space-2);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list .icon {
  color: var(--clover);
}

/* =================================================================
   Breadcrumb
   ================================================================= */

.breadcrumb {
  padding: var(--space-3) 0 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--step-1);
  color: var(--slate);
}

.breadcrumb__list li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--band-line-strong);
}

/* =================================================================
   Footer
   ================================================================= */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: var(--space-6) 0 var(--space-4);
  margin-top: auto;
}

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

.footer .wordmark {
  color: #ffffff;
}

.footer__tagline {
  margin: var(--space-2) 0 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 34ch;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-2);
}

.footer__links,
.footer__contact,
.footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  color: var(--marigold);
  text-decoration: underline;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__contact .icon {
  color: var(--marigold);
  flex: none;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.7);
}

.footer__legal p {
  margin: 0;
}

.footer__ein {
  margin-left: 8px;
}

@media (max-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* =================================================================
   Motion preferences
   ================================================================= */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .greeting {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* =================================================================
   Print
   ================================================================= */

@media print {
  .header,
  .footer,
  .announcement,
  .skip-link,
  .cta-band,
  .form {
    display: none;
  }

  body {
    background: #ffffff;
  }
}


/* =================================================================
   Small structural rules
   ================================================================= */

.card > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.steps--plain {
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.hero__aside {
  display: flex;
  flex-direction: column;
}

.footer__brand {
  max-width: 34ch;
}

.detail {
  margin: 0;
}
