/* ============================================================
   INNER PAGES
   Components used by every page except the home page.
   Colour comes only from the brand tokens declared in css/index.css:
   --blue --blue-dark --blue-deep --yellow --lavender --lime --orange
   --white --cream --paper
   ============================================================ */

:root {
  /* tinted surfaces derived from the brand hues, no new hues introduced */
  --tint-blue: rgba(27, 75, 143, 0.1);
  --tint-yellow: rgba(254, 198, 41, 0.22);
  --tint-orange: rgba(238, 84, 34, 0.12);
  --tint-lavender: rgba(196, 180, 224, 0.28);
  --tint-lime: rgba(210, 232, 124, 0.34);
}

/* Accent cycle — every rhythmic component inherits --accent / --accent-tint
   from these five rules so the whole site stays inside the brand palette. */
.accent-cycle > *:nth-child(5n + 1) {
  --accent: var(--blue);
  --accent-tint: var(--tint-blue);
  --accent-ink: var(--white);
}
.accent-cycle > *:nth-child(5n + 2) {
  --accent: var(--yellow);
  --accent-tint: var(--tint-yellow);
  --accent-ink: var(--blue-deep);
}
.accent-cycle > *:nth-child(5n + 3) {
  --accent: var(--orange);
  --accent-tint: var(--tint-orange);
  --accent-ink: var(--white);
}
.accent-cycle > *:nth-child(5n + 4) {
  --accent: var(--lavender);
  --accent-tint: var(--tint-lavender);
  --accent-ink: var(--blue-deep);
}
.accent-cycle > *:nth-child(5n + 5) {
  --accent: var(--lime);
  --accent-tint: var(--tint-lime);
  --accent-ink: var(--blue-deep);
}

/* ---------- PAGE HERO
   A full-bleed photograph. Nothing is laid over the picture: the heading
   text sits directly on it and is kept legible with a text shadow, and the
   only other mark is the brand rule along the very bottom edge. ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  padding: 92px 0 54px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-deep);
}
.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* framed low so the darker foreground, not the sky, sits behind the heading */
  object-position: center 70%;
}
.hero-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--yellow) 25%,
    var(--orange) 25%,
    var(--orange) 50%,
    var(--lime) 50%,
    var(--lime) 75%,
    var(--lavender) 75%
  );
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-shadow:
    0 0 2px rgba(10, 27, 51, 0.95),
    0 1px 4px rgba(10, 27, 51, 0.95),
    0 2px 12px rgba(10, 27, 51, 0.9),
    0 5px 30px rgba(10, 27, 51, 0.85);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-hero h1 span {
  color: var(--yellow);
}
.page-hero-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--white);
  font-size: 17px;
}
.page-hero .eyebrow.light {
  color: var(--yellow);
  background-image: none;
  -webkit-text-fill-color: var(--yellow);
}
.page-hero .eyebrow.light::before {
  background: var(--yellow);
}
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.crumbs a {
  transition: color 0.18s ease;
}
.crumbs a:hover {
  color: var(--yellow);
}
.crumbs .lucide {
  width: 14px;
  height: 14px;
}
.crumbs span {
  color: var(--yellow);
}

/* Grid items default to min-width:auto, so a wide child can force a track
   wider than the container. Let every layout track shrink to its share, and
   let long unbroken strings (email addresses) wrap. */
.split-grid > *,
.message-grid > *,
.contact-grid > *,
.page-hero-grid > * {
  min-width: 0;
}
.contact-list div,
.contact-list a,
.prose {
  overflow-wrap: break-word;
}
.contact-list li > div {
  min-width: 0;
}
.contact-list a {
  overflow-wrap: anywhere;
}

/* ---------- SECTION SHELL ---------- */
.block {
  padding: 76px 0;
}
.container.narrow {
  width: min(880px, calc(100% - 48px));
}
.tone-cream {
  background: var(--cream);
}
.tone-deep {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 10%, rgba(196, 180, 224, 0.2), transparent 52%),
    radial-gradient(circle at 4% 96%, rgba(254, 198, 41, 0.14), transparent 48%),
    var(--blue-deep);
}
.tone-deep h2,
.tone-deep h3 {
  color: var(--white);
}
.tone-deep p {
  color: rgba(255, 255, 255, 0.82);
}
.tone-lemon {
  background: linear-gradient(160deg, var(--tint-yellow), var(--cream) 72%);
}
.tone-lime {
  background: linear-gradient(160deg, var(--tint-lime), var(--paper) 78%);
}
.tone-lilac {
  background: linear-gradient(160deg, var(--tint-lavender), var(--paper) 78%);
}
.block-head {
  max-width: 780px;
  margin-bottom: 42px;
}
.block-head.is-center {
  margin-inline: auto;
  text-align: center;
}
.block-head.is-center .eyebrow {
  justify-content: center;
}
.block-head h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.block-lead {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}
.tone-deep .block-lead {
  color: rgba(255, 255, 255, 0.76);
}
.prose p {
  margin-bottom: 17px;
}
.prose p:last-child {
  margin-bottom: 0;
}

/* ---------- SPLIT (text + photo on a colour block) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 62px;
}
.split-grid.is-flipped .split-media {
  order: 2;
}
.split-media,
.contact-media {
  --sm-accent: var(--blue);
  position: relative;
  margin: 0;
  border-radius: 24px;
  background: var(--white);
}
.split-media.accent-yellow {
  --sm-accent: var(--yellow);
}
.split-media.accent-orange {
  --sm-accent: var(--orange);
}
.split-media.accent-lavender {
  --sm-accent: var(--lavender);
}
.split-media.accent-lime {
  --sm-accent: var(--lime);
}
.split-frame,
.contact-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--sm-accent);
  border-radius: 24px;
  opacity: 0.9;
}
.split-grid.is-flipped .split-frame {
  inset: 22px 22px -22px -22px;
}
.split-media img,
.contact-media img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}
.split-media:not(:has(figcaption)) img {
  border-radius: 24px;
}
.split-media figcaption,
.contact-media figcaption {
  position: relative;
  z-index: 1;
  padding: 14px 20px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 0 0 24px 24px;
  font-size: 14px;
}
.split-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 2.7vw, 35px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.split-copy p {
  margin-bottom: 15px;
}

/* ---------- CHECK LIST ---------- */
.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 14px;
  background: var(--paper);
  border-left: 3px solid var(--lime);
  border-radius: 0 10px 10px 0;
  font-size: 16px;
}
.tone-cream .check-list li {
  background: var(--white);
}
.check-list li:nth-child(4n + 2) {
  border-left-color: var(--yellow);
}
.check-list li:nth-child(4n + 3) {
  border-left-color: var(--lavender);
}
.check-list li:nth-child(4n + 4) {
  border-left-color: var(--orange);
}
.check-list .lucide {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  padding: 4px;
  color: var(--blue-deep);
  background: var(--lime);
  border-radius: 50%;
  stroke-width: 3;
}
.check-list li:nth-child(4n + 2) .lucide {
  background: var(--yellow);
}
.check-list li:nth-child(4n + 3) .lucide {
  background: var(--lavender);
}
.check-list li:nth-child(4n + 4) .lucide {
  color: var(--white);
  background: var(--orange);
}
.tone-deep .check-list li {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- CARD GRID ---------- */
.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card-grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}
.info-card {
  --accent: var(--blue);
  --accent-tint: var(--tint-blue);
  --accent-ink: var(--white);
  position: relative;
  padding: 30px 24px 28px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(10, 27, 51, 0.07);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}
.info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--accent);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(10, 27, 51, 0.13);
}
.card-grid > .info-card:nth-child(5n + 1) {
  --accent: var(--blue);
  --accent-tint: var(--tint-blue);
  --accent-ink: var(--white);
}
.card-grid > .info-card:nth-child(5n + 2) {
  --accent: var(--yellow);
  --accent-tint: var(--tint-yellow);
  --accent-ink: var(--blue-deep);
}
.card-grid > .info-card:nth-child(5n + 3) {
  --accent: var(--orange);
  --accent-tint: var(--tint-orange);
  --accent-ink: var(--white);
}
.card-grid > .info-card:nth-child(5n + 4) {
  --accent: var(--lavender);
  --accent-tint: var(--tint-lavender);
  --accent-ink: var(--blue-deep);
}
.card-grid > .info-card:nth-child(5n + 5) {
  --accent: var(--lime);
  --accent-tint: var(--tint-lime);
  --accent-ink: var(--blue-deep);
}
.tone-deep .info-card {
  background: rgba(255, 255, 255, 0.07);
}
.tone-deep .info-card h3 {
  color: var(--white);
}
.tone-deep .info-card p {
  color: rgba(255, 255, 255, 0.76);
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 17px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 15px;
}
.info-icon .lucide {
  width: 23px;
  height: 23px;
}
.info-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.info-card h3 a {
  color: var(--blue);
}
.info-card h3 a {
  transition: color 0.18s ease;
}
.info-card h3 a:hover {
  color: var(--orange);
}
.info-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  text-align: left;
}
.mini-list {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.mini-list li {
  padding: 6px 12px;
  color: var(--blue-deep);
  background: var(--accent-tint);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- PILL GRID ---------- */
.pill-grid {
  --accent: var(--blue);
  --accent-ink: var(--white);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 26px 16px;
  text-align: center;
  background: var(--white);
  border-radius: 18px;
  border-bottom: 5px solid var(--accent);
  box-shadow: 0 10px 26px rgba(10, 27, 51, 0.07);
  transition: transform 0.22s ease;
}
.pill:hover {
  transform: translateY(-4px);
}
.pill-grid > .pill:nth-child(5n + 1) {
  --accent: var(--blue);
  --accent-ink: var(--white);
}
.pill-grid > .pill:nth-child(5n + 2) {
  --accent: var(--yellow);
  --accent-ink: var(--blue-deep);
}
.pill-grid > .pill:nth-child(5n + 3) {
  --accent: var(--orange);
  --accent-ink: var(--white);
}
.pill-grid > .pill:nth-child(5n + 4) {
  --accent: var(--lavender);
  --accent-ink: var(--blue-deep);
}
.pill-grid > .pill:nth-child(5n + 5) {
  --accent: var(--lime);
  --accent-ink: var(--blue-deep);
}
.pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 50%;
}
.pill-icon .lucide {
  width: 24px;
  height: 24px;
}
.pill strong {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.pill small {
  color: var(--ink-soft);
  font-size: 13px;
}
.tone-deep .pill {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}
.tone-deep .pill strong {
  color: var(--white);
}

/* ---------- FEATURE ROWS ---------- */
.feature-rows {
  --accent: var(--blue);
  --accent-ink: var(--white);
  display: grid;
  gap: 14px;
  counter-reset: frow;
}
.feature-row {
  counter-increment: frow;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
  background: var(--accent-tint);
  border-radius: 18px;
}
.feature-rows > .feature-row:nth-child(5n + 1) {
  --accent: var(--blue);
  --accent-tint: var(--tint-blue);
  --accent-ink: var(--white);
}
.feature-rows > .feature-row:nth-child(5n + 2) {
  --accent: var(--yellow);
  --accent-tint: var(--tint-yellow);
  --accent-ink: var(--blue-deep);
}
.feature-rows > .feature-row:nth-child(5n + 3) {
  --accent: var(--orange);
  --accent-tint: var(--tint-orange);
  --accent-ink: var(--white);
}
.feature-rows > .feature-row:nth-child(5n + 4) {
  --accent: var(--lavender);
  --accent-tint: var(--tint-lavender);
  --accent-ink: var(--blue-deep);
}
.feature-rows > .feature-row:nth-child(5n + 5) {
  --accent: var(--lime);
  --accent-tint: var(--tint-lime);
  --accent-ink: var(--blue-deep);
}
.feature-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 20px;
}
.feature-mark .lucide {
  width: 26px;
  height: 26px;
}
.feature-mark::after {
  content: counter(frow, decimal-leading-zero);
  position: absolute;
  right: -9px;
  bottom: -9px;
  padding: 2px 7px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 7px;
  font-family: "Sora", sans-serif;
  font-size: 11px;
  font-weight: 800;
}
.feature-row h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
}
.feature-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  text-align: left;
}

/* ---------- STEP LIST ---------- */
.step-list {
  --accent: var(--blue);
  --accent-ink: var(--white);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 18px;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 28px 30px 28px 92px;
  background: var(--white);
  border-radius: 20px;
  border-left: 6px solid var(--accent);
  box-shadow: 0 12px 30px rgba(10, 27, 51, 0.07);
}
.step-list > li:nth-child(5n + 1) {
  --accent: var(--blue);
  --accent-ink: var(--white);
}
.step-list > li:nth-child(5n + 2) {
  --accent: var(--yellow);
  --accent-ink: var(--blue-deep);
}
.step-list > li:nth-child(5n + 3) {
  --accent: var(--orange);
  --accent-ink: var(--white);
}
.step-list > li:nth-child(5n + 4) {
  --accent: var(--lavender);
  --accent-ink: var(--blue-deep);
}
.step-list > li:nth-child(5n + 5) {
  --accent: var(--lime);
  --accent-ink: var(--blue-deep);
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 26px;
  top: 28px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 14px;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 800;
}
.step-list h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}
.step-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}
.step-list a {
  color: var(--blue);
  font-weight: 700;
}
.step-list a {
  transition: color 0.18s ease;
}
.step-list a:hover {
  color: var(--orange);
}

/* ---------- RULE STACK ---------- */
.rule-stack {
  --accent: var(--blue);
  --accent-ink: var(--white);
  display: grid;
  gap: 16px;
}
.rule-item {
  padding: 28px 30px;
  background: var(--white);
  border-radius: 18px;
  border-top: 5px solid var(--accent);
  box-shadow: 0 12px 30px rgba(10, 27, 51, 0.07);
}
.rule-stack > .rule-item:nth-child(5n + 1) {
  --accent: var(--blue);
  --accent-ink: var(--white);
}
.rule-stack > .rule-item:nth-child(5n + 2) {
  --accent: var(--yellow);
  --accent-ink: var(--blue-deep);
}
.rule-stack > .rule-item:nth-child(5n + 3) {
  --accent: var(--orange);
  --accent-ink: var(--white);
}
.rule-stack > .rule-item:nth-child(5n + 4) {
  --accent: var(--lavender);
  --accent-ink: var(--blue-deep);
}
.rule-stack > .rule-item:nth-child(5n + 5) {
  --accent: var(--lime);
  --accent-ink: var(--blue-deep);
}
.rule-item h3 {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}
.rule-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 12px;
}
.rule-icon .lucide {
  width: 19px;
  height: 19px;
}
.rule-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}
.rule-item .check-list {
  margin-top: 16px;
}

/* ---------- TABLE ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(10, 27, 51, 0.08);
}
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15.5px;
}
.data-table th,
.data-table td {
  padding: 16px 22px;
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  color: var(--white);
  background: linear-gradient(100deg, var(--blue-deep), var(--blue));
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody tr:nth-child(even) {
  background: var(--cream);
}
.data-table tbody tr {
  transition: background 0.18s ease;
}
.data-table tbody tr:hover {
  background: var(--tint-yellow);
}
.data-table tbody th {
  width: 1%;
  color: var(--blue-dark);
  font-weight: 700;
  white-space: nowrap;
  border-left: 4px solid var(--yellow);
}
.data-table tbody tr:nth-child(3n + 2) th {
  border-left-color: var(--lime);
}
.data-table tbody tr:nth-child(3n + 3) th {
  border-left-color: var(--lavender);
}
.data-table tbody td {
  color: var(--ink-soft);
}
.table-note {
  margin: 18px auto 0;
  max-width: 720px;
  padding: 13px 20px;
  background: var(--tint-lavender);
  border-radius: 12px;
  color: var(--blue-dark);
  font-size: 14px;
  text-align: center;
}
.table-note a {
  color: var(--blue);
  font-weight: 700;
}

/* ---------- MESSAGE ---------- */
/* The leader's photo carries this page, so it is sized as a feature portrait -
   a tall framed image with the name plate hung beneath it, not an avatar
   dropped on top of a card. */
.message-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}
.message-card {
  position: relative;
}
/* Only sticks where the whole portrait fits on screen - on shorter viewports
   pinning it would park the name plate permanently out of view. */
@media (min-height: 860px) {
  .message-card {
    position: sticky;
    top: 118px;
  }
}
.message-frame {
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--yellow);
  border-radius: 26px;
  opacity: 0.9;
}
.message-portrait {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  overflow: hidden;
  background: var(--blue-deep);
  border-radius: 26px;
  border-bottom: 7px solid var(--yellow);
  box-shadow: var(--shadow-photo);
}
.message-photo {
  grid-area: 1 / 1;
  width: 100%;
  /* the portraits are square, so a 4:5 box trims the sides and keeps every
     bit of the subject's height - nobody gets cropped at the forehead */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: var(--ice);
}
.message-quote-mark {
  /* sits in the photo's cell and is pulled down by half its own height so it
     straddles the seam with the name plate - no magic offsets to keep in sync */
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  align-self: end;
  justify-self: end;
  margin: 0 22px -29px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--blue-deep);
  background: var(--yellow);
  border: 4px solid var(--blue-deep);
  border-radius: 50%;
}
.message-quote-mark .lucide {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke-width: 0;
}
.message-ident {
  grid-area: 2 / 1;
  padding: 24px 26px 26px;
  text-align: center;
  background: linear-gradient(155deg, var(--blue-deep), var(--blue));
  color: var(--white);
}
.message-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}
.message-quals {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  text-align: center;
}
.message-role {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
.message-body h2 {
  margin: 0 0 22px;
  font-size: clamp(25px, 2.7vw, 35px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.message-body .prose p:first-child {
  padding: 18px 22px;
  background: var(--tint-yellow);
  border-left: 5px solid var(--yellow);
  border-radius: 0 14px 14px 0;
  color: var(--blue-dark);
  font-size: 18.5px;
  font-weight: 500;
}
.message-sign {
  display: inline-block;
  margin: 26px 0 0;
  padding: 11px 20px;
  background: var(--blue-deep);
  border-radius: 12px;
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  text-align: left;
}

/* ---------- QUOTE PANEL ---------- */
.quote-panel {
  position: relative;
  margin: 0;
  padding: 46px 48px;
  background: var(--white);
  border-radius: 26px;
  border-left: 8px solid var(--orange);
  box-shadow: 0 18px 44px rgba(10, 27, 51, 0.1);
}
.quote-mark {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  padding: 10px;
  color: var(--white);
  background: var(--orange);
  border-radius: 14px;
}
.quote-panel p {
  margin: 0;
  color: var(--blue-dark);
  font-family: "Sora", sans-serif;
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.quote-panel cite {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px dashed var(--line);
  font-style: normal;
}
.quote-panel cite strong {
  font-family: "Sora", sans-serif;
  font-size: 16px;
}
.quote-panel cite span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- HIGHLIGHT STRIP ---------- */
.highlight-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 40px 46px;
  background: var(--white);
  border-radius: 24px;
  border-bottom: 7px solid var(--lime);
  box-shadow: 0 16px 40px rgba(10, 27, 51, 0.09);
}
.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  color: var(--blue-deep);
  background: var(--lime);
  border-radius: 24px;
}
.highlight-icon .lucide {
  width: 33px;
  height: 33px;
}
.highlight-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 800;
}
.highlight-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  text-align: left;
}

/* ---------- PEOPLE / PORTRAIT CARDS ---------- */
.people-grid {
  --accent: var(--blue);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.person-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: 20px;
  border-bottom: 5px solid var(--accent);
  box-shadow: 0 12px 30px rgba(10, 27, 51, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}
.people-grid > .person-card:nth-child(5n + 2) {
  --accent: var(--yellow);
}
.people-grid > .person-card:nth-child(5n + 3) {
  --accent: var(--orange);
}
.people-grid > .person-card:nth-child(5n + 4) {
  --accent: var(--lavender);
}
.people-grid > .person-card:nth-child(5n + 5) {
  --accent: var(--lime);
}
.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(10, 27, 51, 0.14);
}
.person-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.person-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
  text-align: center;
}
.person-card h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}
.person-quals {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 12.5px;
  text-align: center;
}
.person-role {
  margin: auto 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- ROSTER ---------- */
.roster-group + .roster-group {
  margin-top: 44px;
}
.roster-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.roster-title span {
  padding: 9px 18px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 999px;
}
.roster-title small {
  padding: 7px 14px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}
.roster-title::after {
  content: "";
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--lavender), transparent);
  border-radius: 3px;
}
.roster-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 22px;
}
.roster-list.is-wide {
  grid-template-columns: repeat(3, 1fr);
}
.roster-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 12px;
  border-left: 4px solid var(--blue);
  box-shadow: 0 6px 18px rgba(10, 27, 51, 0.05);
}
.roster-list > li:nth-child(5n + 2) {
  border-left-color: var(--yellow);
}
.roster-list > li:nth-child(5n + 3) {
  border-left-color: var(--orange);
}
.roster-list > li:nth-child(5n + 4) {
  border-left-color: var(--lavender);
}
.roster-list > li:nth-child(5n + 5) {
  border-left-color: var(--lime);
}
.roster-name {
  font-size: 15.5px;
  font-weight: 600;
}
.roster-name em {
  color: var(--ink-soft);
  font-size: 13px;
  font-style: normal;
}
.roster-role {
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- STAT TILES ---------- */
.stat-band {
  padding: 0;
  background: var(--blue-deep);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 34px 0;
}
.stat {
  --accent: var(--yellow);
  --accent-ink: var(--blue-deep);
  padding: 24px 20px;
  text-align: center;
  background: var(--accent);
  border-radius: 20px;
}
.stat-row > .stat:nth-child(4n + 2) {
  --accent: var(--lime);
}
.stat-row > .stat:nth-child(4n + 3) {
  --accent: var(--lavender);
}
.stat-row > .stat:nth-child(4n + 4) {
  --accent: var(--orange);
  --accent-ink: var(--white);
}
.stat strong {
  display: block;
  color: var(--accent-ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 7px;
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.78;
}

/* ---------- PHOTO GRID (caption bar, no dark wash over the picture) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.photo-tile {
  --accent: var(--blue);
  --accent-ink: var(--white);
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(10, 27, 51, 0.1);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}
.photo-grid > .photo-tile:nth-child(5n + 2) {
  --accent: var(--yellow);
  --accent-ink: var(--blue-deep);
}
.photo-grid > .photo-tile:nth-child(5n + 3) {
  --accent: var(--orange);
  --accent-ink: var(--white);
}
.photo-grid > .photo-tile:nth-child(5n + 4) {
  --accent: var(--lavender);
  --accent-ink: var(--blue-deep);
}
.photo-grid > .photo-tile:nth-child(5n + 5) {
  --accent: var(--lime);
  --accent-ink: var(--blue-deep);
}
.photo-tile img {
  width: 100%;
  height: 208px;
  /* when a sibling tile's caption wraps to two lines the grid row grows;
     let the photo take up the slack so every caption bar stays flush */
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.42s ease;
}
.photo-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(10, 27, 51, 0.16);
}
.photo-tile:hover img {
  transform: scale(1.05);
}
.photo-tile span {
  flex: 0 0 auto;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  color: var(--accent-ink);
  background: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
}
.photo-tile span .lucide {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.photo-tile.is-hidden {
  display: none;
}

/* ---------- GALLERY FILTERS ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-chip {
  padding: 11px 22px;
  color: var(--blue-dark);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.filter-chip:hover {
  border-color: var(--blue);
}
.filter-chip.is-active {
  color: var(--blue-deep);
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: start;
  gap: 56px;
}
.contact-copy h2 {
  margin: 0 0 6px;
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.contact-sub {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15px;
}
.contact-list {
  --accent: var(--blue);
  --accent-ink: var(--white);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 21px 24px;
  background: var(--white);
  border-radius: 16px;
  border-left: 5px solid var(--accent);
  box-shadow: 0 10px 26px rgba(10, 27, 51, 0.06);
}
.contact-list > li:nth-child(4n + 2) {
  --accent: var(--yellow);
  --accent-ink: var(--blue-deep);
}
.contact-list > li:nth-child(4n + 3) {
  --accent: var(--orange);
  --accent-ink: var(--white);
}
.contact-list > li:nth-child(4n + 4) {
  --accent: var(--lime);
  --accent-ink: var(--blue-deep);
}
.contact-list li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 14px;
}
.contact-list li > span .lucide {
  width: 21px;
  height: 21px;
}
.contact-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-dark);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-list div {
  font-size: 15.5px;
  line-height: 1.7;
}
.contact-list a {
  transition: color 0.18s ease;
}
.contact-list a:hover {
  color: var(--orange);
}
/* Same component as .split-media; only the accent colour differs. */
.contact-media {
  --sm-accent: var(--lime);
}

/* ---------- FORM ---------- */
.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  text-align: left;
}
.form-note.is-center {
  margin-top: 16px;
  text-align: center;
}
/* ---------- HOSTED FORM EMBEDS (Zoho) ---------- */
.form-embed {
  padding: 14px;
  background: var(--white);
  border-radius: 24px;
  border-top: 7px solid var(--blue);
  box-shadow: 0 18px 46px rgba(10, 27, 51, 0.1);
}
.form-embed iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  border-radius: 14px;
  background: var(--cream);
}
/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: var(--btn-pad);
  border: 0;
  border-radius: var(--btn-radius);
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn .lucide {
  width: 18px;
  height: 18px;
}
.btn-yellow {
  color: var(--blue-deep);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--blue);
}
.btn-yellow:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--blue);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .card-grid.cols-5,
  .pill-grid,
  .people-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .message-grid {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 44px;
  }
  .roster-list.is-wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .block {
    padding: 62px 0;
  }
  .page-hero {
    min-height: 330px;
    padding: 70px 0 42px;
  }
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .split-grid.is-flipped .split-media {
    order: 0;
  }
  .split-frame,
  .split-grid.is-flipped .split-frame {
    inset: 16px -16px -16px 16px;
  }
  .contact-media::before {
    inset: 16px -16px -16px 16px;
  }
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  /* The portrait keeps its own column right down to the phone breakpoint -
     narrowing it beats stacking, which would either strand the photo beside
     empty space or shrink it back to a thumbnail. */
  .message-grid {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 34px;
  }
  .message-frame {
    inset: 18px -18px -18px 18px;
  }
  .message-quote-mark {
    width: 50px;
    height: 50px;
    margin: 0 16px -25px 0;
  }
  .message-quote-mark .lucide {
    width: 21px;
    height: 21px;
  }
  .message-ident {
    padding: 20px 18px 22px;
  }
  .message-card h3 {
    font-size: 19px;
  }
  .highlight-inner {
    grid-template-columns: 1fr;
    padding: 40px 34px;
  }
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-panel {
    padding: 34px 30px;
  }
}

@media (max-width: 720px) {
  .form-embed {
    padding: 8px;
    border-radius: 18px;
  }
  .form-embed iframe {
    height: 900px;
  }
  .container.narrow {
    width: min(100% - 28px, 880px);
  }
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4,
  .card-grid.cols-5 {
    grid-template-columns: 1fr;
  }
  .pill-grid,
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-tile img {
    height: 132px;
  }
  .photo-tile span {
    padding: 11px 12px;
    font-size: 12.5px;
  }
  .roster-list,
  .roster-list.is-wide {
    grid-template-columns: 1fr;
  }
  .roster-title {
    flex-wrap: wrap;
  }
  .step-list li {
    padding: 24px 22px;
  }
  .step-list li::before {
    position: static;
    margin-bottom: 15px;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 22px;
  }
  .highlight-inner {
    padding: 30px 24px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Below this a side-by-side portrait would squeeze the message into a column
   too narrow to read, so the photo goes on top at full width and leads the page. */
@media (max-width: 620px) {
  .message-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .message-card {
    /* relative, not static: cancels the sticky pin (stacked, it would hover
       over the message it introduces) while still anchoring the offset frame */
    position: relative;
    max-width: 420px;
    /* full-bleed here, so hold back the frame's overhang - otherwise the yellow
       runs flush into the screen edge */
    margin-right: 14px;
  }
  .message-frame {
    inset: 14px -14px -14px 14px;
  }
  .message-quote-mark {
    width: 54px;
    height: 54px;
    margin: 0 20px -27px 0;
  }
  .message-quote-mark .lucide {
    width: 22px;
    height: 22px;
  }
  .message-ident {
    padding: 22px 22px 24px;
  }
  .message-card h3 {
    font-size: 21px;
  }
}
