/* BUILD website: the one stylesheet for every page. */

/* Geist, served from this site (public/fonts, copied by `npm run vendor`),
   so no page asks another company's server for anything. */
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Colors: the template's palette (primary #035925, #002c11, #585858;
     secondary #ffffff, #fafafa, #ebebeb, #f5e197, #ffff7e, #eecbaa, #000000),
     with BUILD's flyer gold kept for the small diamond markers. Pure black
     text and fully opaque greens, so everything prints crisp.
     Nothing else in this file names a color directly. */
  --color-bg: #ffffff;
  --color-panel: #fafafa; /* soft cards */
  --color-band: #f3f4f6; /* the big rounded panels behind alternate sections: a light, slightly cool gray, clear against white without going heavy */
  --color-border-on-band: color-mix(in srgb, #585858 20%, #f3f4f6); /* rules inside a gray panel: the palette's gray text color thinned into the panel gray */
  --color-forest: #002c11; /* dark bands and cards */
  --color-forest-glass: rgb(0 44 17 / 0.84); /* the scrolled nav: deep green you can just see through */
  --color-primary: #035925; /* buttons, links, green cards */
  --color-primary-hover: #024a1f;
  --color-primary-light: #0b7a36; /* a lift inside green gradients (derived from the primary) */
  --color-gold: #c9a24a; /* the diamond markers and underlines, from the flyers */
  --color-sand: #f5e197; /* behind a "Coming 2026–27" chip */
  --color-yellow: #ffff7e; /* accents, not used yet */
  --color-peach: #eecbaa; /* accents, not used yet */
  --color-gold-ink: #6a4d10; /* text on sand */
  --color-black: #000000; /* the dark quote cards */
  --color-text: #000000;
  --color-muted: #585858;
  --color-border: #ebebeb;
  --color-on-dark: #ffffff;
  --color-on-dark-muted: rgb(255 255 255 / 0.9);
  --color-shade-rgb: 0 44 17; /* photo overlays, used as rgb(var(--color-shade-rgb) / 0.5) */

  /* Frosted white glass, for buttons sitting on a photo: see-through white,
     a blur of whatever is behind it, a faint grain and a thin white edge. */
  --glass-bg: rgb(255 255 255 / 0.22);
  --glass-bg-hover: rgb(255 255 255 / 0.32);
  --glass-edge: rgb(255 255 255 / 0.4);
  --glass-blur: blur(16px) saturate(160%);
  --glass-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .22 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Type */
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1rem; /* lead lines */
  --text-xl: 1.125rem;
  --text-display: clamp(2.25rem, 4.6vw, 3.75rem); /* the home hero headline */
  --text-heading: clamp(1.75rem, 3vw, 2.5rem); /* section headlines */
  --text-title: clamp(2rem, 4vw, 3.25rem); /* inner-page hero headlines */
  --text-subheading: clamp(1.375rem, 2.4vw, 1.875rem); /* intro rows, call-to-action bands */
  --text-card: 1.125rem; /* card titles */

  /* Space and shape. The grid and spacing system: the container is 1200px
     wide from 992px up and full width below; blocks have 120px above and
     below on desktop, 80px on tablets (under 992px) and 60px on phones
     (under 767px); inside a block, 40px sits between the headline and the
     content at every size. Breakpoints throughout this file are 992, 767
     and 479. */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-space: 120px;
  --block-space: 40px; /* between a section's header and its cards */
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --nav-height: 68px;

  /* Depth: two soft layers, tinted with the brand green rather than gray. */
  --shadow-sm:
    0 1px 2px rgb(var(--color-shade-rgb) / 0.04),
    0 10px 28px -14px rgb(var(--color-shade-rgb) / 0.14);
  --shadow-md:
    0 2px 4px rgb(var(--color-shade-rgb) / 0.05),
    0 28px 56px -20px rgb(var(--color-shade-rgb) / 0.26);
  --hairline: 1px solid rgb(var(--color-shade-rgb) / 0.06);

  /* Motion. --ease-out settles quickly; --ease-spring overshoots a touch,
     the elastic feel on cards, buttons and the hero's words. */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
}

@media (max-width: 991px) {
  :root {
    --section-space: 80px;
  }
}

@media (max-width: 766px) {
  :root {
    --section-space: 60px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Pictures can't be dragged off the page or long-pressed for a save menu
   (js/guard.js handles right-click). */
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

/* ---------- Shared pieces ---------- */

/* The small gold diamond used as a marker on buttons and labels,
   like the ornaments on BUILD's flyers. */
.mark {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--color-gold);
  transform: rotate(45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0; /* so a <button> looks the same as an <a> */
  border-radius: var(--radius-pill);
  font: inherit;
  cursor: pointer;
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -12px rgb(3 89 37 / 0.55);
  transition:
    background-color 0.2s,
    transform 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease-out);
}

.button:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px rgb(3 89 37 / 0.6);
}

/* A quick, springy press. */
.button:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

.button .mark {
  transition: transform 0.6s var(--ease-spring);
}

.button:hover .mark {
  transform: rotate(225deg);
}

.button--outline {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.button--outline:hover {
  background: var(--color-panel);
}

/* A white button for green and dark panels. */
.button--light {
  background: var(--color-bg);
  color: var(--color-primary);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.35);
}

.button--light:hover {
  background: var(--color-panel);
  box-shadow: 0 16px 32px -14px rgb(0 0 0 / 0.4);
}

/* A small category tag, like "Event" or "Training". */
.chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* A course's status, on white. */
.chip--offered {
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
  color: var(--color-primary);
}

.chip--upcoming {
  background: var(--color-sand);
  color: var(--color-gold-ink);
}

.chip--planned {
  background: var(--color-border);
  color: var(--color-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Cards rise a little on hover. `--lift` is folded into the reveal
   transform below, so the two never fight over `transform`. */
.lift {
  transform: translateY(var(--lift, 0px));
  transition:
    transform 0.6s var(--ease-spring),
    box-shadow 0.6s var(--ease-out);
}

.lift:hover {
  --lift: -4px;
  box-shadow: var(--shadow-md);
}

/* Sections run edge to edge and alternate white and tinted, so each one
   stands apart: add section--tint to every other section. */
.section {
  padding-block: var(--section-space);
}

/* A tinted section is a big rounded panel set in from the edges of the
   window, a little wider than the content, in a flat, plainly visible gray
   with a hairline and a soft shadow: it reads as one more card on the white
   page rather than a stripe across it. Inside it, borders and rules use a
   darker gray so they still show. */
.section--tint {
  --color-border: var(--color-border-on-band);
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--container) + 2 * var(--gutter)));
  margin-inline: auto;
  border: 1px solid rgb(var(--color-shade-rgb) / 0.08);
  border-radius: 32px;
  background: var(--color-band);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 766px) {
  .section--tint {
    border-radius: 24px;
  }
}

/* ---------- Nav bar ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--color-on-dark);
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* Once scrolled, the bar is deep green frosted glass with a thin bright
   edge: dark enough to stay crisp, with the page blurring through it. */
.site-nav.is-solid,
.site-nav.is-open {
  background: var(--color-forest-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08), var(--shadow-sm);
}

/* The light bar, for pages that open on white: dark text, and once
   scrolled a frosted white glass that the page shows through. */
.site-nav--light {
  color: var(--color-forest);
}

.site-nav--light.is-solid,
.site-nav--light.is-open {
  background: rgb(255 255 255 / 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.06);
}

/* A thin gold line along the bottom that shows how far down the page you are. */
.site-nav__progress {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.3s;
}

.site-nav.is-solid .site-nav__progress {
  opacity: 1;
}

.site-nav__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.logo__word {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.logo__ladder {
  width: 14px;
  height: 26px;
}

.site-nav__links {
  display: flex;
  gap: 36px;
  margin-inline: auto;
}

.site-nav__links a {
  position: relative;
  font-size: var(--text-base);
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current='page'] {
  opacity: 1;
}

/* A gold underline that draws in from the left. */
.site-nav__links a::after {
  content: '';
  position: absolute;
  inset: auto 0 -8px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

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

/* Frosted glass, for things sitting on a photo: the nav buttons, the
   "Featured" badge on the lead story and the label on a banner hero. */
.site-nav__cta,
.site-nav__toggle,
.story__badge,
.eyebrow--glass {
  border: 1px solid var(--glass-edge);
  background: var(--glass-grain), var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    0 6px 20px rgb(0 0 0 / 0.08);
  transition: background-color 0.2s;
}

.site-nav__cta:hover,
.site-nav__toggle:hover {
  background-color: var(--glass-bg-hover);
}

.site-nav__cta {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

/* On the light bar there is no photo to frost, so the pill is a green button. */
.site-nav--light .site-nav__cta {
  border-color: transparent;
  background: var(--color-primary);
  color: var(--color-on-dark);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 10px 24px -12px rgb(3 89 37 / 0.55);
}

.site-nav--light .site-nav__cta:hover {
  background-color: var(--color-primary-hover);
}

.site-nav__toggle {
  display: none;
}

@media (max-width: 991px) {
  .site-nav__cta {
    display: none;
  }

  .site-nav__toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border-radius: var(--radius-pill);
    color: inherit;
    cursor: pointer;
  }

  /* Three bars that turn into an X when the menu is open. */
  .site-nav__toggle-bars,
  .site-nav__toggle-bars::before,
  .site-nav__toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s, background-color 0.2s;
  }

  .site-nav__toggle-bars {
    position: relative;
  }

  .site-nav__toggle-bars::before,
  .site-nav__toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .site-nav__toggle-bars::before {
    top: -6px;
  }

  .site-nav__toggle-bars::after {
    top: 6px;
  }

  .is-open .site-nav__toggle-bars {
    background: transparent;
  }

  .is-open .site-nav__toggle-bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .is-open .site-nav__toggle-bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav__links {
    display: none;
    position: absolute;
    inset: var(--nav-height) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--color-forest);
  }

  .is-open .site-nav__links {
    display: flex;
  }

  .site-nav__links a {
    padding-block: 14px;
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
    font-size: var(--text-lg);
  }

  .site-nav__links a[aria-current='page'] {
    color: var(--color-gold);
  }

  .site-nav__links a::after {
    display: none;
  }

  /* The light bar's menu: white, with dark text. */
  .site-nav--light .site-nav__toggle {
    border-color: var(--color-border);
    background: var(--color-panel);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .site-nav--light .site-nav__links {
    background: var(--color-bg);
    box-shadow: var(--shadow-md);
  }

  .site-nav--light .site-nav__links a {
    border-bottom-color: var(--color-border);
  }

  .site-nav--light .site-nav__links a[aria-current='page'] {
    color: var(--color-primary);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: max(100svh, 560px); /* the full screen */
  overflow: hidden;
  background: var(--color-forest);
  color: var(--color-on-dark);
}

/* The photo sits in a wrapper: the wrapper plays the entrance (scale and
   blur settle), and motion.js moves the photo itself for the parallax. */
.hero__media {
  position: absolute;
  inset: 0;
  will-change: transform, filter, opacity;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  will-change: transform;
}

/* A fine grain over the photo hides compression and reads as film. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--glass-grain);
  mix-blend-mode: soft-light;
  opacity: 0.45;
  pointer-events: none;
}

/* Darkens the top for the nav and the bottom for the text, and tints the
   photo green so it sits with the brand. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgb(var(--color-shade-rgb) / 0.6) 0%,
      rgb(var(--color-shade-rgb) / 0.2) 30%,
      rgb(var(--color-shade-rgb) / 0.35) 60%,
      rgb(var(--color-shade-rgb) / 0.85) 100%),
    rgb(3 89 37 / 0.15);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 36px;
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 28px;
}

.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: end;
  gap: 36px;
}

.hero__values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.hero__values li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

/* The white badge with two cut corners, holding a small icon. */
.hero__value-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--color-on-dark);
  color: var(--color-forest);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
}

.hero__value-icon svg {
  width: 18px;
  height: 18px;
}

.hero__lead {
  max-width: 30ch;
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.3;
}

.hero__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 240px);
  margin-top: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-weight: 500;
  text-decoration: none;
}

.hero__link svg,
.hero__scroll svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.hero__link:hover svg {
  transform: translateX(4px);
}

.hero__title {
  font-size: var(--text-display);
  text-align: right;
  text-wrap: balance;
}

.hero__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-on-dark);
  font-weight: 500;
  text-decoration: none;
}

.hero__scroll svg {
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(4px);
  }
}

@media (max-width: 766px) {
  .hero__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__title {
    order: -1;
    text-align: left;
  }
}

/* A shorter hero for inner pages, with everything in the middle. */
.hero--banner {
  min-height: max(52svh, 440px);
}

.hero--banner .hero__inner {
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-bottom: 40px;
  text-align: center;
}

.eyebrow--glass {
  color: var(--color-on-dark);
}

.hero--banner .hero__title {
  max-width: 20ch;
  font-size: var(--text-title);
  text-align: center;
}

.hero--banner .hero__lead {
  max-width: 62ch;
  color: var(--color-on-dark-muted);
  font-size: var(--text-lg);
  font-weight: 400;
  text-align: center;
}

/* ---------- Vision ---------- */

.vision__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; /* the photo is cropped to 4:3, not stretched to the text's height */
  gap: clamp(40px, 6vw, 96px);
}

.vision__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: clamp(0px, 2vw, 24px);
}

.vision__text h2 {
  margin-top: 16px;
  font-size: var(--text-heading);
  text-wrap: balance;
}

.vision__statement {
  max-width: 48ch;
  margin-top: 14px;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.vision__list {
  width: 100%;
  margin: 20px 0 24px;
}

.vision__list div {
  padding-block: 10px;
  border-bottom: 1px solid var(--color-border);
}

.vision__list div:first-child {
  padding-top: 0;
}

.vision__list dt {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.vision__list dd {
  margin: 2px 0 0;
  color: var(--color-muted);
}

.vision__text .button {
  margin-top: auto;
}

.vision__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

@media (max-width: 991px) {
  .vision__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Centered section header (focus areas, partners) ---------- */

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.section-header h2 {
  font-size: var(--text-heading);
  text-wrap: balance;
}

.section-header p {
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.section-header .button {
  margin-top: 6px;
}

/* ---------- Focus areas ---------- */

.focus__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: var(--block-space) 0 0;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--color-bg); /* a white tray on the gray band */
  box-shadow: var(--shadow-sm);
  list-style: none;
}

@media (max-width: 991px) {
  .focus__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 478px) {
  .focus__grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

.focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-forest);
  color: var(--color-on-dark);
  isolation: isolate;
}

.focus-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* A soft shade at the bottom so the white text reads on bright photos.
   Covers the whole card when open. */
.focus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgb(var(--color-shade-rgb) / 0) 45%,
    rgb(var(--color-shade-rgb) / 0.55) 100%);
  transition: background-color 0.3s;
}

.focus-card.is-open::before {
  background-color: rgb(var(--color-shade-rgb) / 0.6);
}

/* Frosted glass behind the text: the photo is blurred under a faint white
   haze, and the mask fades the blur out upward so it melts into the image.
   Grows to fill the card when open. */
.focus-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 58%;
  background: linear-gradient(0deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.03));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-mask-image: linear-gradient(0deg, #000 45%, transparent 100%);
  mask-image: linear-gradient(0deg, #000 45%, transparent 100%);
  transition: height 0.3s ease;
}

.focus-card.is-open::after {
  height: 100%;
}

/* No photo yet for climate action: a sea-to-forest gradient with wave lines. */
.focus-card--climate {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='48' viewBox='0 0 160 48'%3E%3Cpath d='M0 24c20-12 40-12 60 0s40 12 60 0 30-10 40-6' fill='none' stroke='white' stroke-opacity='.12' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 160px 48px,
    radial-gradient(120% 80% at 20% 10%, var(--color-primary-light) 0%, transparent 60%),
    linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-forest) 100%);
}

/* The whole card opens the related course: the link's own box is the
   "See the course" line, and ::before stretches it over the card. The "+"
   button sits above it, so it still just opens the extra text. */
.focus-card__link {
  display: block;
  margin-top: 10px;
  color: inherit;
  text-decoration: none;
}

.focus-card__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.focus-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.focus-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.focus-card:hover .focus-card__cta svg {
  transform: translateX(4px);
}

.focus-card__toggle {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-on-dark);
  color: var(--color-forest);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring);
}

.focus-card__toggle:hover {
  transform: scale(1.1);
}

.focus-card__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}

.focus-card.is-open .focus-card__toggle svg {
  transform: rotate(45deg);
}

.focus-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.focus-card h3,
.focus-card p {
  text-shadow: 0 1px 10px rgb(var(--color-shade-rgb) / 0.35);
}

.focus-card p {
  margin-top: 6px;
  color: var(--color-on-dark-muted);
}

.focus-card__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.focus-card__more > div {
  overflow: hidden;
}

.focus-card.is-open .focus-card__more {
  grid-template-rows: 1fr;
}

.focus-card__more p {
  color: var(--color-on-dark);
}

/* ---------- Projects and highlights ---------- */

.stories__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 48px;
  margin-bottom: var(--block-space);
}

.stories__header h2 {
  margin-top: 14px;
  font-size: var(--text-heading);
  text-wrap: balance;
}

.stories__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.stories__intro p {
  max-width: 40ch;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

/* The featured story on the left; the other three stack on the right and
   share its height. */
.stories {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
}

.stories__list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stories__list li {
  display: flex;
}

@media (max-width: 991px) {
  .stories__header,
  .stories {
    grid-template-columns: 1fr;
  }

  .stories__list {
    grid-template-rows: none;
  }
}

.story {
  position: relative;
  flex: 1;
  padding: 12px;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-sm);
}

.story__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.story__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story:hover .story__photo img {
  transform: scale(1.04);
}

/* For a story with no photo yet: its topic set in gold on green. */
.story__photo--type {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-forest) 100%);
  color: var(--color-gold);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.story__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--color-on-dark);
  font-size: var(--text-sm);
  font-weight: 500;
}

.story__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.story__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.story__excerpt {
  max-width: 56ch;
  color: var(--color-muted);
}

.story__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}

/* Makes the whole card clickable, not just the words. */
.story__link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.story__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.story:hover .story__link svg {
  transform: translateX(4px);
}

.story--featured {
  display: flex;
  flex-direction: column;
}

.story--featured .story__photo {
  aspect-ratio: 16 / 10;
}

.story--featured .story__body {
  flex: 1;
  gap: 10px;
  padding: 18px 14px 10px;
}

.story--featured h3 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  text-wrap: balance;
}

.story--featured .story__link {
  padding-top: 6px;
}

.story--compact {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
}

.story--compact .story__photo {
  min-height: 120px;
}

.story--compact .story__body {
  padding: 4px 4px 4px 0;
}

.story--compact h3 {
  font-size: var(--text-card);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

/* One card in solid green breaks up the row, like a highlighter. */
.story--accent {
  background: var(--color-primary);
  color: var(--color-on-dark);
}

.story--accent .story__meta {
  color: var(--color-on-dark-muted);
}

.story--accent .chip {
  background: rgb(255 255 255 / 0.14);
  color: var(--color-on-dark);
}

@media (max-width: 478px) {
  .story--compact {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .story--compact .story__photo {
    min-height: 96px;
  }
}

/* ---------- Looking ahead (the agenda timeline) ---------- */

/* Three stages side by side on a rail; each stage has a marker on the
   rail, a heading and a stack of cards. */
.agenda {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: var(--block-space) 0 0;
  padding: 0;
  list-style: none;
}

.agenda::before {
  content: '';
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--color-border);
}

.agenda__stage {
  position: relative;
}

.agenda__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 26px;
}

/* The marker: outlined for what is still to come, filled green for what is
   here, and gold with a sand halo for the stage we are in. */
.agenda__marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
}

.agenda__stage--done .agenda__marker {
  background: var(--color-primary);
}

.agenda__stage--current .agenda__marker {
  border-color: var(--color-gold);
  background: var(--color-gold);
  box-shadow: 0 0 0 6px var(--color-sand);
}

.agenda__label {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.agenda__note {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* The Agenda page's paragraph of context under each stage heading. */
.agenda__description {
  max-width: 44ch;
  margin-top: 10px;
  color: var(--color-muted);
}

/* Two buttons side by side, for example "Partner with us" and "See the full agenda". */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agenda__items {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.agenda-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  padding: 18px;
  border: var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: inherit;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.agenda-item h3 {
  font-size: var(--text-card);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

.agenda-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.agenda-item__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.agenda-item:hover .agenda-item__link svg {
  transform: translateX(4px);
}

/* Stacked, the rail runs down the left instead. */
@media (max-width: 991px) {
  .agenda {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .agenda::before {
    top: 8px;
    right: auto;
    bottom: 8px;
    left: 7px;
    width: 2px;
    height: auto;
  }

  .agenda__stage {
    padding-left: 32px;
  }

  .agenda__head {
    padding-top: 0;
  }

  .agenda__marker {
    top: 4px;
  }
}

/* ---------- Partners ---------- */

/* A slow, endless ticker of partner names, fading out at both edges.
   home.js adds a second copy of the list so the loop has no gap.
   Hovering pauses it. */
.marquee {
  display: flex;
  margin-top: var(--block-space);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 60s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* A gold diamond between names, like the flyers' ornaments. */
.marquee__track li::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

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

@media (max-width: 991px) {
  .partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 478px) {
  .partners__grid {
    grid-template-columns: 1fr;
  }
}

/* White cards on the gray band, with one dark and one green card for rhythm. */
.partner-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 220px;
  padding: 20px;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

/* Stands in for the partner's logo: their initials on a tile. */
.partner-card__mono {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-panel);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.partner-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.partner-card .chip {
  background: var(--color-panel);
}

.partner-card h3 {
  font-size: var(--text-card);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.partner-card--forest,
.partner-card--green {
  color: var(--color-on-dark);
}

.partner-card--forest {
  background: var(--color-forest);
}

.partner-card--green {
  background: var(--color-primary);
}

.partner-card--forest p,
.partner-card--green p {
  color: var(--color-on-dark-muted);
}

.partner-card--forest .chip,
.partner-card--green .chip,
.partner-card--forest .partner-card__mono,
.partner-card--green .partner-card__mono {
  background: rgb(255 255 255 / 0.12);
  color: var(--color-on-dark);
}

.partner-card--forest .partner-card__mono,
.partner-card--green .partner-card__mono {
  color: var(--color-gold);
}

/* ---------- Footer ---------- */

/* The footer is deep green with white text, so it reads as its own block
   at the end of every page rather than more of the white. */
.site-footer {
  margin-top: var(--block-space);
  padding-block: clamp(48px, 7vw, 72px) 28px;
  background: var(--color-forest);
  color: var(--color-on-dark);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 40px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .logo {
  color: var(--color-on-dark);
}

.site-footer .logo__word {
  font-size: 1.75rem;
}

.site-footer .logo__ladder {
  width: 15px;
  height: 28px;
}

.site-footer__tagline {
  margin-top: 20px;
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.35;
}

.site-footer__name {
  max-width: 30ch;
  margin-top: 8px;
  color: var(--color-on-dark-muted);
  font-size: var(--text-sm);
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.06);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}

.site-footer__socials a:hover {
  background: rgb(255 255 255 / 0.14);
}

.site-footer__socials svg {
  width: 16px;
  height: 16px;
  color: var(--color-sand);
}

.site-footer__columns {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.4fr 1fr;
  gap: 32px;
}

.site-footer__columns h2 {
  margin-bottom: 10px;
  color: var(--color-sand);
  font-size: var(--text-base);
  letter-spacing: 0;
}

.site-footer__columns ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-on-dark-muted);
  font-size: var(--text-sm);
}

.site-footer__columns a {
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__columns a:hover {
  color: var(--color-sand);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: var(--color-on-dark-muted);
  font-size: var(--text-sm);
}

.site-footer__bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-on-dark);
  font-weight: 500;
  text-decoration: none;
}

.site-footer__bottom svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.site-footer__bottom a:hover svg {
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 766px) {
  .site-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
}

/* ---------- Intro row (Training page) ---------- */

/* A label on the left, the headline on the right, and a rule beneath. */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 16px 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.intro h2 {
  font-size: var(--text-subheading);
  text-wrap: balance;
}

/* A paragraph under the intro's headline (the Agenda page). */
.intro__text {
  max-width: 60ch;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

@media (max-width: 766px) {
  .intro {
    grid-template-columns: 1fr;
  }
}

/* ---------- Course list (Training page) ---------- */

.course-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: var(--block-space);
}

/* The whole item is one link: photo on the left, words on the right. */
.course {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  text-decoration: none;
}

.course__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.course__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course:hover .course__thumb img {
  transform: scale(1.05);
}

.course__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.course__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.course h3 {
  font-size: var(--text-card);
  letter-spacing: -0.02em;
}

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

.course__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-weight: 600;
}

.course__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.course:hover .course__link svg {
  transform: translateX(4px);
}

@media (max-width: 766px) {
  .course-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 478px) {
  .course {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .course__thumb {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Call-to-action band ---------- */

/* A rounded green panel with a headline and one white button. */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 40px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--color-primary-light) 0%, transparent 55%),
    linear-gradient(160deg, var(--color-primary), var(--color-forest));
  color: var(--color-on-dark);
  box-shadow: var(--shadow-md);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-grain);
  mix-blend-mode: soft-light;
  opacity: 0.5;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  font-size: var(--text-subheading);
  text-wrap: balance;
}

.cta-band p {
  max-width: 56ch;
  margin-top: 8px;
  color: var(--color-on-dark-muted);
  font-size: var(--text-lg);
}

@media (max-width: 766px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

/* ---------- Course page: split hero ---------- */

/* Four columns: a flexible gutter, two halves of the container, another
   gutter. The words sit in the left half; the photo takes the right half
   and the gutter beyond it, so it runs to the edge of the window. */
.detail-hero {
  display: grid;
  grid-template-columns:
    minmax(var(--gutter), 1fr)
    minmax(0, calc(var(--container) / 2 - var(--gutter)))
    minmax(0, calc(var(--container) / 2 - var(--gutter)))
    minmax(var(--gutter), 1fr);
  padding-top: var(--nav-height);
  background: var(--color-bg);
}

.detail-hero__text {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 48px) clamp(32px, 5vw, 60px) 0;
}

.detail-hero__text h1 {
  margin-top: 14px;
  font-size: var(--text-title);
  text-wrap: balance;
}

.detail-hero__lead {
  max-width: 48ch;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: var(--text-xl);
  line-height: 1.4;
}

.detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-hero__media {
  grid-column: 3 / 5;
  position: relative;
  min-height: clamp(320px, 60vh, 600px);
  overflow: hidden;
  border-bottom-left-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.detail-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}

/* Who it's for, format, status, partner. */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  width: 100%;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.facts dt {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.facts dd {
  margin: 2px 0 0;
  font-weight: 500;
}

@media (max-width: 991px) {
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-hero__text {
    grid-column: 1;
    padding-inline: var(--gutter);
  }

  .detail-hero__media {
    grid-column: 1;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }
}

/* ---------- Course page: body ---------- */

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
}

.prose h2 {
  font-size: var(--text-heading);
  text-wrap: balance;
}

.prose p {
  max-width: 64ch;
  margin-top: 14px;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.prose h2 + p {
  margin-top: 16px;
}

.prose h3 {
  margin-top: 28px;
  font-size: var(--text-card);
  letter-spacing: -0.02em;
}

/* Bullet points with the gold diamond as the marker. */
.learn {
  display: grid;
  gap: 8px;
  max-width: 64ch;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.learn li {
  position: relative;
  padding-left: 24px;
}

.learn li::before {
  content: '';
  position: absolute;
  top: 0.6em;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

.aside h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

/* The other courses: a small photo, the title and a line, in one link. */
.mini-list {
  display: grid;
  gap: 4px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mini {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s;
}

.mini:hover {
  background: var(--color-panel);
}

.mini img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.mini__title {
  display: block;
  font-weight: 600;
}

.mini__short {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: var(--text-sm);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini svg {
  width: 18px;
  height: 18px;
  color: var(--color-muted);
  transition: transform 0.2s;
}

.mini:hover svg {
  transform: translateX(3px);
}

.aside-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--color-forest);
  color: var(--color-on-dark);
  box-shadow: var(--shadow-md);
}

.aside-card h3 {
  font-size: var(--text-card);
  letter-spacing: -0.02em;
}

.aside-card p {
  margin-top: 6px;
  color: var(--color-on-dark-muted);
}

.aside-card .button {
  margin-top: 16px;
}

@media (max-width: 991px) {
  .detail-body {
    grid-template-columns: 1fr;
  }
}

/* ---------- Projects page ---------- */

/* Glass tags in the corner of the split hero's photo. */
.detail-hero__tags {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

/* A green tile with a few words, where a story has no photo. */
.type-tile {
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-forest) 100%);
  color: var(--color-gold);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.detail-hero__media .type-tile {
  position: absolute;
  inset: 0;
  font-size: 1.5rem;
}

.type-tile--small {
  aspect-ratio: 4 / 3;
  padding: 6px;
  border-radius: 8px;
  font-size: var(--text-sm);
}

/* Filter pills: one is pressed at a time. */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--block-space);
}

.chip-button {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.chip-button:hover {
  background: var(--color-panel);
}

.chip-button[aria-pressed='true'] {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-on-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
  margin-top: 24px;
}

/* A story card: the photo, with the category as a pill sitting over its
   bottom-left corner; then the date, the title and a line. All one link. */
.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

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

.project-card__photo {
  position: relative;
  width: 100%;
  margin-bottom: 22px;
}

.project-card__frame {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.project-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__frame img {
  transform: scale(1.04);
}

.project-card__photo .eyebrow {
  position: absolute;
  bottom: -12px;
  left: 10px;
}

.project-card__meta {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.project-card h3 {
  margin-top: 6px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.2s;
}

.project-card:hover h3 {
  color: var(--color-primary);
}

.project-card p {
  margin-top: 6px;
  color: var(--color-muted);
}

/* More photos on a story page. */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 64ch;
  margin-top: 28px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 766px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 478px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* ---------- About page ---------- */

/* Dr. Zabaneh: quote, name and a few lines on the left; portrait on the right. */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.founder__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.founder__quote-mark {
  width: 32px;
  height: 24px;
  color: var(--color-gold);
}

.founder__quote {
  max-width: 30ch;
  margin: 20px 0 0;
  font-size: var(--text-subheading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-wrap: balance;
}

.founder__source {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.founder__name {
  margin-top: 36px;
  font-size: var(--text-title);
}

.founder__role {
  margin-top: 6px;
  color: var(--color-muted);
}

.founder__bio {
  max-width: 52ch;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.founder__photo {
  margin: 0;
}

.founder__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  object-position: top;
}

@media (max-width: 991px) {
  .founder {
    grid-template-columns: 1fr;
  }

  .founder__photo {
    order: -1;
    max-width: 420px;
  }
}

/* Our story: a date down the left, the event on the right, a rule between rows. */
.milestones {
  margin: var(--block-space) 0 0;
  padding: 0;
  list-style: none;
}

.milestones li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 8px 32px;
  padding-block: 18px;
  border-top: 1px solid var(--color-border);
}

.milestones li:last-child {
  border-bottom: 1px solid var(--color-border);
}

.milestones__when {
  color: var(--color-primary);
  font-weight: 600;
}

.milestones h3 {
  font-size: var(--text-card);
  letter-spacing: -0.02em;
}

.milestones p {
  max-width: 64ch;
  margin-top: 4px;
  color: var(--color-muted);
}

@media (max-width: 766px) {
  .milestones li {
    grid-template-columns: 1fr;
  }
}

/* The book reader: a bar with the page count and controls, then the pages
   in a scrolling box. Nothing in it can be selected. */
.reader {
  margin-top: var(--block-space);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-sm);
  user-select: none;
  -webkit-user-select: none;
}

.reader:fullscreen {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.reader__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 12px 12px 20px;
  border-bottom: 1px solid var(--color-border);
}

.reader__title {
  font-weight: 600;
}

.reader__counter {
  margin-left: auto;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.reader__controls {
  display: flex;
  gap: 8px;
}

.reader__pages {
  height: min(78vh, 900px);
  margin: 0;
  padding: 16px;
  overflow-y: auto;
  list-style: none;
  scroll-snap-type: y proximity;
}

.reader:fullscreen .reader__pages {
  flex: 1;
  height: auto;
}

.reader__page {
  width: min(100%, 860px);
  margin: 0 auto 16px;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}

.reader__page canvas {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.reader__status {
  padding: 24px;
  color: var(--color-muted);
  text-align: center;
}

.reader.is-empty .reader__pages,
.reader.is-empty .reader__controls,
.reader.is-empty .reader__counter {
  display: none;
}

/* On paper, the book is not there. */
@media print {
  .reader__pages {
    display: none;
  }

  .reader::after {
    content: 'This book can be read on the website only.';
    display: block;
    padding: 24px;
    text-align: center;
  }
}

/* ---------- Contact page ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.contact__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__text h2 {
  margin-top: 14px;
  font-size: var(--text-heading);
  text-wrap: balance;
}

.contact__text > p {
  max-width: 44ch;
  margin-top: 14px;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.contact__prompt {
  margin-top: 28px;
  font-size: var(--text-card);
  letter-spacing: -0.02em;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* The form sits on a soft card. */
.form-card {
  padding: 24px;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field--full {
  grid-column: 1 / -1;
}

.field[hidden] {
  display: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.field :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

/* The select's own arrow, replaced with a thin chevron in the secondary gray. */
.field select {
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23585858' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.form-card .button {
  justify-content: center;
  width: 100%;
  margin-top: 16px;
}

.form-note {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: var(--text-sm);
  text-align: center;
}

@media (max-width: 991px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 478px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */

.testimonials__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.testimonials__header h2 {
  max-width: 20ch;
  margin-top: 14px;
  font-size: var(--text-heading);
  text-wrap: balance;
}

.testimonials__nav {
  display: flex;
  flex: none;
  gap: 8px;
}

.arrow-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.arrow-button:hover:not(:disabled) {
  background: var(--color-panel);
}

.arrow-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.arrow-button svg {
  width: 18px;
  height: 18px;
}

/* The cards sit in a row that scrolls sideways and snaps to each card.
   A sliver of the next card shows, so people know there are more. */
.testimonials__track {
  --cols: 3.3;
  --gap: 16px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  gap: var(--gap);
  margin: var(--block-space) 0 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.testimonials__track > li {
  display: flex;
  scroll-snap-align: start;
}

@media (max-width: 991px) {
  .testimonials__track {
    --cols: 2.2;
  }
}

@media (max-width: 766px) {
  .testimonials__track {
    --cols: 1.15;
  }
}

/* One quote: the words at the top, who said it at the bottom. */
.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  min-height: 240px;
  margin: 0;
  padding: 24px;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-sm);
}

/* On a gray band the light cards go white so they still stand out. */
.section--tint .quote-card--light {
  background: var(--color-bg);
}

.quote-card blockquote {
  margin: 0;
  padding-right: 56px; /* room for the Sample chip */
  font-size: var(--text-card);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.quote-card__sample {
  position: absolute;
  top: 14px;
  right: 14px;
}

.quote-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-card__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-size: var(--text-sm);
  font-weight: 600;
}

.quote-card__name {
  display: block;
  font-weight: 600;
}

.quote-card__role {
  display: block;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.quote-card--dark,
.quote-card--green {
  color: var(--color-on-dark);
}

.quote-card--dark {
  background: var(--color-black);
}

.quote-card--green {
  background: var(--color-primary);
}

.quote-card--dark .quote-card__role,
.quote-card--green .quote-card__role {
  color: var(--color-on-dark-muted);
}

.quote-card--dark .quote-card__avatar,
.quote-card--green .quote-card__avatar {
  background: rgb(255 255 255 / 0.14);
  color: var(--color-gold);
}

/* Testimonials page: one big quote that changes, and a grid of all of them. */
.featured-quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.featured-quote blockquote {
  margin: 0;
  font-size: var(--text-subheading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-wrap: balance;
}

.featured-quote blockquote,
.featured-quote figcaption {
  transition: opacity 0.25s;
}

.featured-quote.is-changing :is(blockquote, figcaption) {
  opacity: 0;
}

.featured-quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  text-align: left;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--color-border);
  cursor: pointer;
  transition: background-color 0.2s;
}

.dots button[aria-current='true'] {
  background: var(--color-primary);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: var(--block-space);
}

@media (max-width: 991px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 766px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Page not found ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: max(70svh, 480px);
  padding: calc(var(--nav-height) + var(--section-space)) 0 var(--section-space);
}

.not-found h1 {
  font-size: var(--text-heading);
  text-wrap: balance;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

/* ---------- Toast ---------- */

/* A short message that springs up from the bottom of the screen (js/toast.js). */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 460px);
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-forest);
  color: var(--color-on-dark);
  box-shadow: var(--shadow-md);
  font-weight: 500;
  opacity: 0;
  transform: translate(-50%, 24px);
  transition: transform 0.6s var(--ease-spring), opacity 0.3s;
  pointer-events: none;
}

.toast.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Motion ---------- */
/* All of it is off for visitors who ask for reduced motion. The inline
   script in each page's <head> adds `has-js`, so things are only hidden
   when motion.js is there to show them again. */

@media (prefers-reduced-motion: no-preference) {
  /* Reveal on scroll. An element with data-reveal starts low and soft, and
     settles when motion.js sees it on screen; it hides again when it
     leaves. Children of a data-reveal-group arrive one after another;
     motion.js sets each one's delay. */
  .has-js [data-reveal] {
    --reveal-y: 28px;
    opacity: 0;
    transform: translateY(var(--reveal-y)) translateY(var(--lift, 0px));
    filter: blur(10px);
    transition:
      opacity 0.45s var(--ease-out),
      transform 0.45s var(--ease-out),
      filter 0.45s var(--ease-out);
  }

  .has-js [data-reveal].is-visible {
    --reveal-y: 0px;
    opacity: 1;
    filter: blur(0);
    transition:
      opacity 0.8s var(--ease-out),
      transform 0.9s var(--ease-spring),
      filter 0.8s var(--ease-out),
      box-shadow 0.6s var(--ease-out);
  }

  /* Hero entrance. Everything starts hidden and arrives in order once the
     fonts and the photo are ready (motion.js adds `is-loaded`): the photo
     sharpens and settles, the nav drops in, the headline's words rise one
     by one, then the badges, the lead, the link and the footer row. */
  .has-js .hero__media {
    opacity: 0;
    transform: scale(1.12);
    filter: blur(18px);
  }

  .has-js .site-nav__bar,
  .has-js .hero__eyebrow,
  .has-js .hero__values li,
  .has-js .hero__lead,
  .has-js .hero__link,
  .has-js .hero__foot {
    opacity: 0;
  }

  .has-js .word > span {
    transform: translateY(115%);
  }

  .is-loaded .hero__media {
    animation: hero-media 1.8s var(--ease-out) forwards;
  }

  /* No blur here: a filter on the bar would stop the glass pill inside it
     from frosting the photo behind. */
  .is-loaded .site-nav__bar {
    animation: drop 1s var(--ease-out) 0.3s forwards;
  }

  .is-loaded .hero__eyebrow {
    animation: rise 0.9s var(--ease-out) 0.35s forwards;
  }

  .is-loaded .word > span {
    animation: word-up 1.2s var(--ease-spring) forwards;
    animation-delay: calc(0.45s + var(--i, 0) * 110ms);
  }

  .is-loaded .hero__values li {
    animation: rise 0.9s var(--ease-out) forwards;
    animation-delay: calc(1s + var(--i, 0) * 100ms);
  }

  .is-loaded .hero__lead {
    animation: rise 0.9s var(--ease-out) 1.3s forwards;
  }

  .is-loaded .hero__link {
    animation: rise 0.9s var(--ease-out) 1.45s forwards;
  }

  .is-loaded .hero__foot {
    animation: rise 0.9s var(--ease-out) 1.6s forwards;
  }

  .hero__values li:nth-child(2) {
    --i: 1;
  }

  .hero__values li:nth-child(3) {
    --i: 2;
  }

  /* Each word of a data-split headline rises out of its own clipped box. The
     padding leaves room for ascenders, descenders and the spring's overshoot. */
  .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0.16em 0.04em 0.14em;
    margin: -0.16em -0.04em -0.14em;
  }

  .word > span {
    display: inline-block;
  }

  @keyframes hero-media {
    to {
      opacity: 1;
      transform: none;
      filter: blur(0);
    }
  }

  @keyframes drop {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(20px);
      filter: blur(8px);
    }

    to {
      opacity: 1;
      transform: none;
      filter: blur(0);
    }
  }

  @keyframes word-up {
    to {
      transform: none;
    }
  }
}

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

  /* No ticker: the names wrap onto centered lines instead. */
  .marquee {
    padding-inline: var(--gutter);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__track {
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    animation: none;
  }

  .marquee__track[aria-hidden='true'] {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
