/* sitio.css — GENERADO por herramientas/hoja_sitio.sh. No editar a mano: el original es
   src/app/globals.css del sitio de AiNetworking-Canada (repo de Laura Gusoiu).
   Fuentes: los mismos archivos que sirve www.ainetworking.org (OFL), desde este servidor. Las «Fallback»
   son las que next/font calcula para que el texto no brinque mientras cargan. */
@font-face { font-family: "Instrument Sans"; src: url("/static/fuentes/instrument-sans-latin-oficial.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/static/fuentes/newsreader-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans Fallback"; src: local(Arial); ascent-override: 94.42%; descent-override: 24.33%; line-gap-override: 0%; size-adjust: 102.74%; }
@font-face { font-family: "Newsreader Fallback"; src: local("Times New Roman"); ascent-override: 69.68%; descent-override: 25.12%; line-gap-override: 0%; size-adjust: 105.48%; }
:root { --font-instrument: "Instrument Sans", "Instrument Sans Fallback"; --font-newsreader: "Newsreader", "Newsreader Fallback"; }

:root {
  --navy-950: #04142f;
  --navy-900: #071f4b;
  --navy-800: #0b2e69;
  --blue-700: #164bb8;
  --blue-600: #2364da;
  --blue-100: #e7efff;
  --aqua-500: #65d1c0;
  --aqua-200: #b9eee6;
  --signal-500: #f4c65f;
  --signal-300: #ffe6a4;
  --paper-100: #fbfaf6;
  --paper-200: #f3f0e8;
  --paper-300: #e9e3d7;
  --white: #ffffff;
  /* Semantic split: --navy-900 and --white each served as both a surface
     and a text colour, which cannot invert together. Surfaces that stay
     navy in both themes keep --navy-900; text uses --heading, cards use
     --surface, and only those two flip. */
  --heading: var(--navy-900);
  --surface: var(--white);
  --header-bg: rgba(251, 250, 246, 0.94);
  --header-line: rgba(7, 31, 75, 0.09);
  --outline-bg: rgba(255, 255, 255, 0.68);
  --outline-border: rgba(7, 31, 75, 0.35);
  --ink-950: #111827;
  --ink-800: #273348;
  --ink-600: #536079;
  --line: rgba(7, 31, 75, 0.14);
  --line-dark: rgba(255, 255, 255, 0.15);
  --shadow: 0 22px 70px rgba(7, 31, 75, 0.13);
  --shadow-small: 0 12px 36px rgba(7, 31, 75, 0.09);
  --radius-small: 10px;
  --radius: 16px;
  --radius-large: 22px;
  --container: 1220px;
  --font-sans: var(--font-instrument), "Avenir Next", sans-serif;
  /* Headings are set in the sans at 700, as in the source packages; the
     serif is kept for accents only (wordmark, numerals, taglines). */
  --font-display: var(--font-instrument), "Avenir Next", sans-serif;
  --font-accent: var(--font-newsreader), Georgia, serif;

  /* Type weights. Instrument Sans ships a 400-700 axis, so anything
     above 700 was silently clamped; four steps replace the 23 that
     were in use, following the restraint of the source packages. */
  --w-body: 400;
  --w-display: 700;
  --w-accent: 500;
  --w-medium: 600;
  --w-strong: 700;

  /* Heading rhythm, taken from the source packages: one tracking value
     for display headings instead of the ten that were in use. */
  --track-display: -0.035em;
  --track-tight: -0.02em;
  --lh-display: 1.15;
}

/* Surfaces whose colour does not change with the theme — the home hero's
   photograph and the pale signal/aqua notes, badges and chips. Text inside
   them must keep light-theme values, so they re-declare those tokens and
   every descendant inherits them. */
.hero-section,
.launch-note,
.legal-note,
.announcement--good,
.announcement-card__kind--hybrid,
.blog-card__category--international,
.blog-card__category--canada,
.blog-card__category--guide,
.result-pathway,
.join-complete__icon,
.member-avatar,
.pathway-review-notice,
.pathway-boundary__icon {
  --heading: #071f4b;
  --ink-950: #111827;
  --ink-800: #273348;
  --ink-600: #536079;
  --blue-100: #e7efff;
  --blue-600: #2364da;
  --blue-700: #164bb8;
  --surface: #ffffff;
  --paper-100: #fbfaf6;
  --paper-200: #f3f0e8;
  --paper-300: #e9e3d7;
  --line: rgba(7, 31, 75, 0.14);
  --outline-bg: rgba(255, 255, 255, 0.68);
  --outline-border: rgba(7, 31, 75, 0.35);
}

/* Accent line, as in the source packages ("Build or test an idea. /
   Start with purpose."): an <em> inside a heading switches to the serif
   in italic. */
h1 em,
h2 em,
h3 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: var(--w-body);
  letter-spacing: var(--track-tight);
  color: var(--blue-600);
}

/* ---------------------------------------------------------------
   Dark theme. Only the tokens are redefined; components keep taking
   their colours from them. Navy surfaces stay navy in both themes,
   so the pale-on-navy text already in use stays correct.

   --aqua-500 and --signal-500 are never text on a pale ground
   (1.76:1 and 1.54:1); they stay accents and fills in both themes.
   --------------------------------------------------------------- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper-100: #061227;
    --paper-200: #0a1c37;
    --paper-300: #102848;
    --surface: #0b1d3b;
    --heading: #f2f6fc;
    --ink-950: #f2f6fc;
    --ink-800: #ccd8ea;
    --ink-600: #93a6c4;
    --blue-100: #12305f;
    --blue-600: #5b93f0;
    --blue-700: #7fa9f5;
    --line: rgba(255, 255, 255, 0.14);
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
    --shadow-small: 0 12px 36px rgba(0, 0, 0, 0.35);
    --header-bg: rgba(6, 18, 39, 0.94);
    --header-line: rgba(255, 255, 255, 0.1);
    --outline-bg: rgba(11, 29, 59, 0.72);
    --outline-border: rgba(255, 255, 255, 0.28);
  }
}

/* An explicit choice from the theme toggle also sets the browser's own
   chrome (scrollbars, form controls) to match, whatever the OS prefers. */
:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper-100: #061227;
  --paper-200: #0a1c37;
  --paper-300: #102848;
  --surface: #0b1d3b;
  --heading: #f2f6fc;
  --ink-950: #f2f6fc;
  --ink-800: #ccd8ea;
  --ink-600: #93a6c4;
  --blue-100: #12305f;
  --blue-600: #5b93f0;
  --blue-700: #7fa9f5;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --shadow-small: 0 12px 36px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(6, 18, 39, 0.94);
  --header-line: rgba(255, 255, 255, 0.1);
  --outline-bg: rgba(11, 29, 59, 0.72);
  --outline-border: rgba(255, 255, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
  scroll-behavior: smooth;
  background: var(--paper-100);
}

body {
  margin: 0;
  color: var(--ink-950);
  background: var(--paper-100);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select {
  font-family: var(--font-sans);
}

button,
input,
select {
  font-size: inherit;
}

button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.coming-soon {
  align-items: center;
  background: #071f4b;
  color: var(--white);
  display: flex;
  isolation: isolate;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 48px 24px;
  position: relative;
  text-align: center;
}

.coming-soon__content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.coming-soon__logo {
  height: auto;
  margin: 0 auto 34px;
  width: 78px;
}

.coming-soon__eyebrow {
  color: var(--aqua-200);
  font-size: 0.75rem;
  font-weight: var(--w-strong);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.coming-soon h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-body);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
  margin-bottom: 28px;
}

.coming-soon__message {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  margin: 0 auto 34px;
  max-width: 550px;
}

.coming-soon__contact {
  border-bottom: 1px solid var(--aqua-500);
  color: var(--white);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: var(--w-strong);
  letter-spacing: 0.06em;
  padding: 0 2px 6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.coming-soon__contact:hover {
  border-color: var(--white);
  color: var(--aqua-200);
}

.coming-soon__grid {
  background-image: linear-gradient(rgba(185, 238, 230, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 238, 230, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  inset: 0;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.55;
  position: absolute;
  z-index: -2;
}

.coming-soon__glow {
  border-radius: 50%;
  filter: blur(8px);
  position: absolute;
  z-index: -1;
}

.coming-soon__glow--one {
  background: rgba(22, 75, 184, 0.7);
  height: min(62vw, 820px);
  right: -18%;
  top: -36%;
  width: min(62vw, 820px);
}

.coming-soon__glow--two {
  background: rgba(101, 209, 192, 0.19);
  bottom: -30%;
  height: min(52vw, 680px);
  left: -20%;
  width: min(52vw, 680px);
}

@media (max-width: 640px) {
  .coming-soon {
    padding: 40px 24px;
  }

  .coming-soon__logo {
    margin-bottom: 28px;
    width: 64px;
  }
}

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

:focus-visible {
  outline: 3px solid var(--signal-500);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 11.5px;
  font-weight: var(--w-strong);
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.kicker--light {
  color: var(--blue-700);
}

.kicker--signal {
  color: var(--signal-300);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua-500);
  box-shadow: 0 0 0 5px rgba(101, 209, 192, 0.14);
}

.live-dot--signal {
  background: var(--signal-500);
  box-shadow: 0 0 0 5px rgba(244, 198, 95, 0.14);
}

.eyebrow-label {
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 11.5px;
  font-weight: var(--w-strong);
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  font-weight: var(--w-strong);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}

.button--small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
}

.button--primary {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 10px 26px rgba(22, 75, 184, 0.24);
}

.button--primary:hover {
  background: var(--blue-600);
  box-shadow: 0 14px 30px rgba(22, 75, 184, 0.3);
}

.button--outline {
  color: var(--heading);
  border-color: var(--line);
  background: var(--outline-bg);
}

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

.button--signal {
  color: var(--navy-950);
  background: var(--signal-500);
  box-shadow: 0 12px 28px rgba(244, 198, 95, 0.19);
}

.button--signal:hover {
  background: #ffd376;
}

.button--on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.button--on-dark:hover {
  background: rgba(255, 255, 255, 0.11);
}

.button--text {
  min-height: auto;
  padding-inline: 0;
  color: var(--ink-600);
  background: transparent;
}

.button--text:hover {
  color: var(--heading);
  transform: translateX(-2px);
}

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

.text-link,
.pathway-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: var(--w-strong);
  text-decoration: none;
}

.text-link:hover,
.pathway-card > a:hover {
  gap: 12px;
}

.announcement {
  text-transform: uppercase;
  min-height: 38px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  background: var(--navy-950);
  font-size: 13px;
  text-decoration: none;
}

.announcement__date,
.announcement__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--w-strong);
}

.announcement__date {
  color: var(--signal-300);
}

.announcement__message {
  color: #c7d5eb;
}

.announcement__link {
  color: var(--white);
}

/* Second strip. Lighter tone so two stacked bars don't read as a wall of black. */
.announcement--good {
  color: var(--navy-950);
  background: var(--aqua-200);
  border-bottom: 1px solid rgba(7, 31, 75, 0.1);
}

.announcement--good .announcement__date {
  color: var(--blue-700);
}

.announcement--good .announcement__message {
  color: var(--ink-800);
}

.announcement--good .announcement__link {
  color: var(--navy-950);
}

/* Mobile stand-in for the hidden long message (see the 900px query below). */
.announcement__short {
  display: none;
  color: var(--ink-800);
  font-weight: var(--w-medium);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--header-line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  text-decoration: none;
}

.brand__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(7, 31, 75, 0.18);
}

.brand__type {
  display: flex;
  align-items: center;
  flex-direction: column;
  line-height: 0.94;
  text-align: center;
}

.brand__type strong {
  font-family: var(--font-accent);
  font-size: 23px;
  font-weight: var(--w-accent);
  letter-spacing: var(--track-tight);
  white-space: nowrap;
}

.brand__type span {
  margin-top: 5px;
  color: var(--blue-700);
  font-size: 17px;
  font-weight: var(--w-strong);
  letter-spacing: 0.18em;
  line-height: 0.9;
  text-transform: uppercase;
}

.desktop-nav {
  margin-left: auto;
  margin-right: 8px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.desktop-nav a {
  position: relative;
  color: var(--heading);
  font-size: 13.5px;
  font-weight: var(--w-strong);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-actions {
  display: flex;
  gap: 9px;
}

.mobile-nav {
  display: none;
  margin-left: auto;
}

.mobile-nav summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}

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

.mobile-nav__panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  padding: 22px 20px 26px;
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-100);
  box-shadow: var(--shadow-small);
}

.mobile-nav__panel > a:not(.button) {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: var(--w-strong);
  text-decoration: none;
}

.mobile-nav__panel .button {
  margin-top: 18px;
}



.hero-section {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-200);
}

.hero-section__background {
  position: absolute;
  z-index: 1;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.04);
}

.hero-section__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.99) 0%, rgba(251, 250, 246, 0.96) 36%, rgba(251, 250, 246, 0.56) 58%, rgba(251, 250, 246, 0.07) 100%),
    linear-gradient(180deg, rgba(251, 250, 246, 0.25), transparent 65%, rgba(251, 250, 246, 0.72));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 3;
  min-height: 700px;
  padding-block: 76px 88px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(100%, 610px);
}

.hero-copy h1 {
  max-width: 610px;
  margin: 20px 0 18px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.hero-motto {
  display: grid;
  gap: 4px;
  margin: -6px 0 22px;
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.2;
}

.hero-motto__code {
  color: #0f766e;
}

.hero-motto__purpose {
  color: #a16207;
}

.hero-motto__future {
  margin-top: 6px;
  font-size: 0.6em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading);
}

:root[data-theme="dark"] .hero-motto__code {
  color: var(--aqua-500);
}

:root[data-theme="dark"] .hero-motto__purpose {
  color: var(--signal-500);
}

:root[data-theme="dark"] .hero-motto__future {
  color: var(--aqua-200);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-motto__code {
    color: var(--aqua-500);
  }

  :root:not([data-theme="light"]) .hero-motto__purpose {
    color: var(--signal-500);
  }

  :root:not([data-theme="light"]) .hero-motto__future {
    color: var(--aqua-200);
  }
}

.hero-tagline {
  max-width: 570px;
  margin: 0 0 16px;
  color: var(--blue-700);
  font-family: var(--font-accent);
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: var(--lh-display);
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--ink-600);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.community-story {
  padding: 112px 0 128px;
  overflow: hidden;
  background: var(--paper-100);
}

.community-story__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 30px 64px;
}

.community-story__lead {
  position: relative;
  z-index: 2;
}

.community-story__lead h2 {
  margin: 17px 0 22px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.community-story__lead > p {
  max-width: 500px;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.75;
}

.community-story__lead > .eyebrow-label {
  margin: 24px 0 10px;
}

/* "Build understanding. Build leadership. Build solutions. Build impact." —
   four short statements from the organization's copy, set as one row. */
.build-pillars {
  max-width: 500px;
  margin: 22px 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.build-pillars li {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink-800);
  font-size: 15px;
  line-height: 1.3;
}

.build-pillars strong {
  color: var(--heading);
  font-weight: var(--w-strong);
}

.community-story__lead > .community-story__closing {
  color: var(--heading);
  font-weight: var(--w-medium);
}

.community-story__list {
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 11px;
  max-width: 500px;
  list-style: none;
}

.community-story__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-800);
  font-size: 15px;
  line-height: 1.5;
}

.community-story__list li svg {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--blue-700);
}

.community-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-200);
  box-shadow: 0 28px 70px rgba(7, 31, 75, 0.14);
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-photo--wide {
  height: 510px;
  border-radius: 10px 34px 10px 34px;
}

.community-photo--small {
  width: min(88%, 430px);
  height: 275px;
  grid-row: 2;
  grid-column: 2;
  justify-self: start;
  margin-top: -120px;
  margin-left: -54px;
  border: 9px solid var(--paper-100);
  border-radius: 26px 8px 26px 8px;
}

.community-story__logo {
  grid-row: 2;
  grid-column: 2;
  justify-self: end;
  align-self: center;
  width: clamp(120px, 14vw, 180px);
  height: auto;
  margin: -120px 24px 0 0;
}

.community-photo--small figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 16px;
  color: var(--white);
  background: rgba(4, 20, 47, 0.92);
  font-size: 12px;
  font-weight: var(--w-strong);
}

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

.resources-shell {
  padding: 58px;
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: 70px;
  border: 1px solid rgba(7, 31, 75, 0.1);
  border-radius: 8px 34px 8px 34px;
  background:
    linear-gradient(rgba(7, 31, 75, 0.026) 1px, transparent 1px),
    var(--paper-100);
  background-size: 100% 31px;
  box-shadow: var(--shadow-small);
}

.resources-heading h2 {
  margin: 17px 0 19px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.resources-heading > p {
  color: var(--ink-600);
  line-height: 1.75;
}

.resources-list {
  display: grid;
}

.resources-list > article {
  min-height: 156px;
  padding: 25px 0;
  display: grid;
  grid-template-columns: 34px 36px 1fr auto;
  align-items: start;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.resources-list > article:first-child {
  padding-top: 0;
}

.resources-list > article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.resources-list__number {
  color: color-mix(in srgb, var(--heading) 36%, transparent);
  font-family: var(--font-accent);
  font-size: 18px;
}

.resources-list > article > svg {
  color: var(--blue-700);
}

.resources-list > article > div > p {
  margin: 0 0 3px;
  color: var(--blue-700);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resources-list h3 {
  margin: 0 0 5px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
}

.resources-list > article > div > span {
  color: var(--ink-600);
  font-size: 12px;
  line-height: 1.55;
}

.resources-list > article > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: var(--w-strong);
  text-decoration: none;
  white-space: nowrap;
}

.resources-list > article.resources-list__disclosure-row {
  grid-template-columns: 34px 36px minmax(0, 1fr);
}

.resource-disclosure {
  min-width: 0;
}

.resource-disclosure > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}

.resource-disclosure > summary::-webkit-details-marker {
  display: none;
}

.resource-disclosure > summary > span:first-child {
  min-width: 0;
  display: grid;
}

.resource-disclosure > summary small {
  margin-bottom: 3px;
  color: var(--blue-700);
  font-size: 10px;
  font-style: normal;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-disclosure > summary strong {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.resource-disclosure > summary em {
  margin-top: 7px;
  color: var(--ink-600);
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.resource-disclosure__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: var(--w-strong);
  white-space: nowrap;
}

.resource-disclosure__action svg {
  transition: transform 180ms ease;
}

.resource-disclosure[open] .resource-disclosure__action svg {
  transform: rotate(180deg);
}

.resource-disclosure__content {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.resource-disclosure__content--links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.resource-disclosure__content--links > a {
  min-height: 128px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--heading);
  background: var(--surface);
  text-decoration: none;
}

.resource-disclosure__content--links > a:hover {
  border-color: rgba(22, 75, 184, 0.35);
  box-shadow: var(--shadow-small);
}

.resource-disclosure__content--links svg {
  color: var(--blue-700);
}

.resource-disclosure__content--links span {
  display: grid;
  gap: 4px;
}

.resource-disclosure__content--links strong {
  font-size: 14px;
}

.resource-disclosure__content--links small {
  color: var(--ink-600);
  font-size: 11px;
  font-weight: var(--w-display);
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.resource-group-heading {
  margin-bottom: 13px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.resource-group-heading span {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: var(--w-medium);
}

.resource-group-heading strong {
  color: var(--blue-700);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-group-heading--grants {
  margin-top: 30px;
}

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

.funding-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.funding-card > p:first-child,
.grant-card > div > p {
  margin: 0 0 7px;
  color: var(--blue-700);
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.funding-card h4,
.grant-card h4 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--w-medium);
  line-height: var(--lh-display);
}

.funding-card dl,
.grant-card dl {
  margin: 15px 0;
  display: grid;
  gap: 8px;
}

.funding-card dl > div,
.grant-card dl > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
}

.funding-card dt,
.grant-card dt {
  color: var(--ink-600);
  font-size: 9px;
  font-weight: var(--w-strong);
  text-transform: uppercase;
}

.funding-card dd,
.grant-card dd {
  margin: 0;
  color: var(--ink-800);
  font-size: 10px;
  line-height: 1.45;
}

.funding-card__summary {
  color: var(--ink-600);
  font-size: 11px;
  line-height: 1.55;
}

.funding-card > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: var(--w-strong);
  text-decoration: none;
}

.grant-list {
  display: grid;
  gap: 8px;
}

.grant-card {
  padding: 16px 17px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.grant-card h4 {
  font-size: 17px;
}

.grant-card > div > span {
  display: block;
  margin-top: 6px;
  color: var(--ink-600);
  font-size: 10px;
  line-height: 1.45;
}

.grant-card dl {
  margin: 0;
}

.grant-card > a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--blue-100);
}

.resource-disclaimer {
  margin: 15px 0 0;
  color: var(--ink-600);
  font-size: 10px;
}

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

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

.contribute-grid article {
  position: relative;
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
}

.contribute-grid article:last-child {
  background:
    radial-gradient(circle at 100% 0, rgba(101, 209, 192, 0.22), transparent 36%),
    var(--paper-200);
}

.contribute-card__index {
  position: absolute;
  top: 28px;
  right: 30px;
  color: color-mix(in srgb, var(--heading) 25%, transparent);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.contribute-grid article > svg {
  margin-bottom: 48px;
  color: var(--blue-700);
}

.contribute-grid h3 {
  margin: 4px 0 12px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.contribute-grid article > p:not(.eyebrow-label) {
  max-width: 520px;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.72;
}

.contribute-grid .text-link {
  margin-top: auto;
}

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

.clinic-hero-callout {
  margin-bottom: 28px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
}

.clinic-hero-callout__tagline {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: var(--w-display);
  color: rgba(255, 255, 255, 0.92);
}

.clinic-hero-callout__tagline span {
  color: var(--aqua-500);
}

.clinic-hero-callout__tagline strong {
  color: var(--signal-500);
}

.clinic-hero-callout__sub {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aqua-200);
}

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

.clinic-card {
  position: relative;
  min-height: 380px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.clinic-card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0, rgba(101, 209, 192, 0.18), transparent 42%),
    var(--paper-100);
}

/* Decorative numerals: drawn from data-index so they stay out of the
   accessibility tree and out of contrast checks. */
.clinic-card__badge::before,
.contribute-card__index::before {
  content: attr(data-index);
}

.clinic-card__badge {
  position: absolute;
  top: 28px;
  right: 30px;
  color: color-mix(in srgb, var(--heading) 22%, transparent);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.clinic-card > svg {
  margin-bottom: 40px;
  color: var(--blue-700);
}

.clinic-card h3 {
  margin: 4px 0 12px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.clinic-card > p:not(.eyebrow-label) {
  max-width: 520px;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.clinic-card .button {
  margin-top: auto;
}

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

.blog-controls {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-200);
}

.blog-tab {
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-600);
  background: transparent;
  font-size: 13px;
  font-weight: var(--w-medium);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.blog-tab:hover {
  color: var(--heading);
}

.blog-tab.is-active {
  color: var(--heading);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.blog-tab__count {
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: var(--w-strong);
  background: var(--paper-300);
  color: var(--ink-800);
}

.blog-tab.is-active .blog-tab__count {
  background: var(--blue-100);
  color: var(--blue-700);
}

.blog-search {
  position: relative;
  min-width: 260px;
  display: flex;
  align-items: center;
}

.blog-search__icon {
  position: absolute;
  left: 14px;
  color: var(--ink-600);
  pointer-events: none;
}

.blog-search input {
  width: 100%;
  padding: 10px 36px 10px 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-950);
  font-size: 13px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.blog-search input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(35, 100, 218, 0.12);
}

.blog-search__clear {
  position: absolute;
  right: 10px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--ink-600);
  cursor: pointer;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-small);
  border-color: rgba(22, 75, 184, 0.3);
}

.blog-card--international {
  background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 88%, #b9eee6) 100%);
}

.blog-card--canada {
  background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 86%, #f4c65f) 100%);
}

.blog-card__header {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blog-card__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--blue-100);
  color: var(--blue-700);
}

/* Both forms: nested inside a card, and standalone on the article page. */
.blog-card--international .blog-card__category,
.blog-card__category--international {
  background: var(--aqua-200);
  color: var(--navy-950);
}

.blog-card--canada .blog-card__category,
.blog-card__category--canada {
  background: var(--signal-300);
  color: var(--navy-950);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--ink-600);
}

.blog-card__meta span {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card h3 {
  margin-bottom: 10px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.blog-card p {
  color: var(--ink-700, var(--ink-600));
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.blog-card__tags {
  margin-top: auto;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: var(--w-display);
  background: var(--paper-200);
  color: var(--ink-800);
}

.blog-card__footer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-card__author {
  display: flex;
  flex-direction: column;
}

.blog-card__author strong {
  font-size: 12px;
  color: var(--heading);
}

.blog-card__author small {
  font-size: 10px;
  color: var(--ink-600);
}

.blog-empty {
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Article page — /blog/[slug]. Replaced the old in-page reading modal, which
   had no URL and so was invisible to search engines and unshareable. */
.article-page {
  padding: 56px 0 96px;
}

.article-shell {
  width: min(100%, 720px);
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: var(--w-medium);
  color: var(--blue-700);
  text-decoration: none;
}

.article-back:hover {
  gap: 10px;
}

.article-header {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.article-meta {
  font-size: 12px;
  color: var(--ink-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: var(--lh-display);
  color: var(--heading);
  margin-bottom: 14px;
}

.article-byline {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.article-byline strong {
  color: var(--heading);
}

.article-byline span {
  color: var(--ink-600);
}

.article-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-800);
}

.article-body p {
  margin-bottom: 18px;
}

.article-lead {
  font-size: 18px;
  font-weight: var(--w-display);
  color: var(--navy-950);
  margin-bottom: 22px;
}

.article-body ul {
  margin: 0 0 22px 20px;
  padding: 0;
  list-style: disc;
}

.article-body li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.article-body h2 {
  margin: 34px 0 12px;
  color: var(--blue-700);
  font-size: 22px;
  line-height: 1.25;
}

.article-figure {
  margin: 0 0 26px;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-small);
}

.article-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.article-gallery img {
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 8px;
  color: var(--ink-600);
  font-size: 14px;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper-100);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: var(--w-medium);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.article-link:hover {
  border-color: rgba(22, 75, 184, 0.34);
  background: var(--blue-100);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-more {
  margin-top: 40px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-more h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--heading);
}

.article-more ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-more a {
  color: var(--blue-700);
  font-size: 14.5px;
  font-weight: var(--w-display);
  line-height: 1.45;
  text-decoration: none;
}

.article-more a:hover {
  text-decoration: underline;
}

.matcher-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(101, 209, 192, 0.17), transparent 32%),
    radial-gradient(circle at 95% 100%, rgba(35, 100, 218, 0.27), transparent 38%),
    var(--navy-950);
  scroll-margin-top: 76px;
}

.matcher-section__grid {
  position: absolute;
  inset: 0;
  opacity: 0.33;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to right, #000, transparent 74%);
}

.matcher-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 66px;
}

.matcher-intro {
  position: sticky;
  top: 120px;
  padding-top: 10px;
}

.matcher-intro h2 {
  margin: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.matcher-intro > p {
  color: #bdcce3;
  font-size: 17px;
  line-height: 1.7;
}

.matcher-promise {
  margin-top: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px 14px;
}

.matcher-promise > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(101, 209, 192, 0.38);
  border-radius: 50%;
  color: var(--aqua-200);
  font-size: 10px;
  font-weight: var(--w-strong);
}

.matcher-promise p {
  margin: 0;
  color: #93a7c5;
  font-size: 13px;
}

.matcher-promise strong {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-size: 14px;
}

.matcher-card {
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-large);
  color: var(--ink-950);
  background: var(--paper-100);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.32);
}

.matcher-form,
.match-result {
  padding: 40px;
}

.matcher-card__heading {
  margin-bottom: 30px;
  padding-bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.matcher-card__heading > span {
  color: var(--blue-700);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matcher-card__heading p {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
}

.matcher-form fieldset,
.join-form-card fieldset {
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.matcher-form legend,
.join-form-card legend {
  width: 100%;
  margin-bottom: 11px;
  color: var(--heading);
  font-size: 14px;
  font-weight: var(--w-strong);
}

.matcher-form legend em,
.join-form-card legend em {
  color: var(--ink-600);
  font-size: 12px;
  font-style: normal;
  font-weight: var(--w-display);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.choice-grid--roles {
  grid-template-columns: 1fr 1fr;
}

.choice {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-800);
  background: var(--surface);
  font-size: 13px;
  font-weight: var(--w-medium);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.choice:hover {
  border-color: rgba(22, 75, 184, 0.38);
}

.choice.is-selected {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: var(--blue-100);
  box-shadow: 0 0 0 3px rgba(22, 75, 184, 0.08);
}

.field-row,
.form-grid {
  display: grid;
  gap: 14px;
}

.field-row {
  grid-template-columns: 0.8fr 1.2fr;
  margin-bottom: 25px;
}

.form-grid--two {
  grid-template-columns: 1fr 1fr;
}

.field-row label,
.form-grid label,
.form-field,
.registration-form label {
  display: grid;
  gap: 7px;
  color: var(--heading);
  font-size: 13px;
  font-weight: var(--w-strong);
}

.field-row label span,
.form-grid label > span,
.form-field > span,
.registration-form label span {
  display: block;
}

.field-row label em {
  color: var(--ink-600);
  font-style: normal;
  font-weight: var(--w-display);
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-950);
  background: var(--surface);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input::placeholder {
  color: #929aaa;
}

input:focus,
select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(35, 100, 218, 0.1);
}

.matcher-note {
  margin: 12px 0 0;
  color: var(--ink-600);
  font-size: 12px;
  text-align: center;
}

.mapping-state {
  min-height: 600px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mapping-state h3 {
  max-width: 470px;
  margin: 14px 0 8px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
  line-height: var(--lh-display);
}

.mapping-state > p {
  color: var(--ink-600);
  font-size: 14px;
}

.mapping-orbit {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-900);
}

.mapping-orbit span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid var(--paper-100);
  border-radius: 50%;
  background: var(--aqua-500);
  animation: orbit 1.8s linear infinite;
}

.mapping-orbit span:nth-child(2) {
  animation-delay: -0.6s;
  background: var(--blue-600);
}

.mapping-orbit span:nth-child(3) {
  animation-delay: -1.2s;
  background: var(--signal-500);
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(74px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(74px) rotate(-360deg);
  }
}

.match-result__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.result-pathway {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--heading);
  background: var(--aqua-200);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 0;
  color: var(--ink-600);
  background: transparent;
  font-size: 12px;
  font-weight: var(--w-strong);
  cursor: pointer;
}

.match-result h3 {
  margin: 22px 0 11px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.match-result__summary {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.7;
}

.result-grid {
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.result-box {
  min-height: 155px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.result-box--primary {
  background: var(--blue-100);
}

.result-box > svg {
  margin-bottom: 17px;
  color: var(--blue-700);
}

.result-box > span {
  margin-bottom: 5px;
  color: var(--ink-600);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-box strong {
  color: var(--heading);
  font-size: 15px;
  line-height: 1.3;
}

.result-box p {
  margin: 7px 0 0;
  color: var(--ink-600);
  font-size: 11px;
}

.next-steps {
  margin-bottom: 24px;
}

.next-steps ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.next-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-800);
  font-size: 13px;
  font-weight: var(--w-medium);
}

.next-steps li span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 9px;
  font-weight: var(--w-strong);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 14px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 72px;
}

.section-heading--split > p {
  margin: 0;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.75;
}

.section-heading--center {
  max-width: 730px;
  margin-right: auto;
  margin-bottom: 56px;
  margin-left: auto;
  text-align: center;
}

.section-heading--center > p {
  max-width: 630px;
  margin: 18px auto 0;
  color: var(--ink-600);
}

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

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pathway-card {
  position: relative;
  min-height: 500px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pathway-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--blue-600);
}

.pathway-card--green::before {
  background: var(--aqua-500);
}

.pathway-card--orange::before {
  background: var(--signal-500);
}

.pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.pathway-card__top {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue-700);
}

.pathway-card--green .pathway-card__top {
  color: #168978;
}

.pathway-card--orange .pathway-card__top {
  color: #b77900;
}

.pathway-card__top > span {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.pathway-card h3 {
  margin: 0 0 13px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.pathway-card > p:not(.eyebrow-label) {
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.pathway-card ul,
.event-detail ul,
.trust-grid ul {
  margin: 8px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.pathway-card li,
.event-detail li,
.trust-grid li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-800);
  font-size: 13px;
}

.pathway-card li svg,
.event-detail li svg,
.trust-grid li svg {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--blue-700);
}

.pathway-card > a {
  margin-top: auto;
}

.hubs-preview {
  background: var(--paper-200);
}

.launch-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.launch-hub {
  position: relative;
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.launch-hub:hover {
  color: var(--white);
  background: var(--navy-900);
}

.launch-hub__index {
  position: absolute;
  top: 20px;
  right: 22px;
  color: color-mix(in srgb, var(--heading) 34%, transparent);
  font-size: 10px;
  font-weight: var(--w-strong);
}

.launch-hub:hover .launch-hub__index {
  color: rgba(255, 255, 255, 0.5);
}

.launch-hub > svg:first-of-type {
  margin-bottom: 34px;
  color: var(--blue-700);
}

.launch-hub:hover > svg:first-of-type {
  color: var(--aqua-500);
}

.launch-hub strong {
  max-width: 210px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--w-medium);
  line-height: var(--lh-display);
}

.launch-hub:hover strong {
  color: var(--white);
}

.launch-hub__status {
  margin-top: 9px;
  color: var(--ink-600);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-hub:hover .launch-hub__status {
  color: var(--aqua-200);
}

.launch-hub__arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.launch-hub:hover .launch-hub__arrow {
  opacity: 1;
  transform: translateX(0);
}

.hubs-preview__footer {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hubs-preview__footer p {
  max-width: 660px;
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
}

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

.webinar-card {
  position: relative;
  padding: 54px;
  display: grid;
  grid-template-columns: 150px 1fr 0.86fr;
  align-items: center;
  gap: 46px;
  overflow: hidden;
  border-radius: var(--radius-large);
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(101, 209, 192, 0.24), transparent 28%),
    radial-gradient(circle at 80% 120%, rgba(35, 100, 218, 0.36), transparent 42%),
    var(--navy-950);
  box-shadow: 0 30px 90px rgba(7, 31, 75, 0.2);
  scroll-margin-top: 100px;
}

.webinar-card::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -90px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.webinar-date {
  position: relative;
  width: 150px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.webinar-date span {
  color: var(--signal-300);
  font-size: 14px;
  font-weight: var(--w-strong);
  letter-spacing: 0.2em;
}

.webinar-date strong {
  font-family: var(--font-accent);
  font-size: 76px;
  font-weight: var(--w-accent);
  line-height: var(--lh-display);
}

.webinar-date small {
  margin-top: 8px;
  color: #96a9c7;
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.14em;
}

.webinar-copy {
  position: relative;
}

.webinar-copy h2 {
  margin: 16px 0 5px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.webinar-copy > p {
  max-width: 620px;
  color: #b6c5dc;
  font-size: 14px;
}

.webinar-copy .webinar-subtitle {
  color: var(--aqua-200);
  font-size: 15px;
  font-weight: var(--w-strong);
}

.webinar-meta,
.event-detail__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.webinar-meta span,
.event-detail__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d6e0ef;
  font-size: 12px;
  font-weight: var(--w-medium);
}

.webinar-form-wrap {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.webinar-form-wrap h3 {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
}

.webinar-form-wrap > p:not(.eyebrow-label) {
  margin-bottom: 17px;
  color: #aebed7;
  font-size: 12px;
}

.registration-form {
  display: grid;
  gap: 11px;
}

.registration-form label {
  color: inherit;
  font-size: 11px;
}

.registration-form input {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.registration-form input::placeholder {
  color: #95a6bf;
}

.registration-form input:focus {
  border-color: var(--aqua-500);
  box-shadow: 0 0 0 4px rgba(101, 209, 192, 0.1);
}

.registration-form .button {
  width: 100%;
  margin-top: 3px;
}

.registration-consent {
  margin: 0;
  color: #95a6bf;
  font-size: 9px;
  line-height: 1.45;
}

.registration-consent a {
  color: var(--aqua-200);
}

.registration-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
}

.registration-success > svg {
  flex: 0 0 auto;
  color: var(--aqua-500);
}

.registration-success strong {
  display: block;
  margin-bottom: 3px;
}

.registration-success p {
  margin: 0;
  color: #adbed8;
  font-size: 12px;
}

.registration-success a {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aqua-200);
  font-size: 12px;
  font-weight: var(--w-strong);
}

/* Sits directly under the events hero, so it needs less top padding than a
   normal .section or it reads as a second hero. */
.calendar-callout {
  padding: 44px 0 0;
}

.event-join-note {
  margin: 14px 0 0;
  color: var(--aqua-200);
  font-size: 12px;
  line-height: 1.6;
}

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

.journey-track {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  list-style: none;
}

.journey-track::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: var(--line);
}

.journey-track li {
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.journey-track li > span {
  position: relative;
  z-index: 1;
  width: 37px;
  height: 37px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--paper-100);
  font-size: 9px;
  font-weight: var(--w-strong);
}

.journey-track strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 20px;
}

.journey-track p {
  margin: 5px 0 0;
  color: var(--ink-600);
  font-size: 12px;
  line-height: 1.5;
}

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

.organization-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 86px;
}

.organization-copy h2 {
  margin: 16px 0 22px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.organization-copy > p {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.75;
}

.organization-copy > p strong {
  color: var(--heading);
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.principle-card {
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-200);
}

.principle-card > svg {
  margin-bottom: 31px;
  color: var(--blue-700);
}

.principle-card strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.principle-card p {
  margin: 7px 0 0;
  color: var(--ink-600);
  font-size: 12px;
  line-height: 1.55;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  color: var(--white);
  background: var(--navy-900);
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(101, 209, 192, 0.2);
  border-radius: 50%;
}

.final-cta::before {
  top: -180px;
  left: -100px;
  width: 440px;
  height: 440px;
}

.final-cta::after {
  right: -170px;
  bottom: -300px;
  width: 620px;
  height: 620px;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.final-cta h2 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.final-cta p {
  max-width: 680px;
  margin: 0 auto 27px;
  color: #bdcce3;
  font-size: 17px;
}

.final-cta__inner > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}

.site-footer {
  padding: 68px 0 24px;
  color: #a8b8d0;
  background: #020814;
}

.site-footer__acknowledgement {
  max-width: 670px;
  margin-bottom: 46px;
  padding-bottom: 31px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__acknowledgement .footer-label {
  margin-bottom: 8px;
  color: var(--aqua-200) !important;
}

.site-footer__acknowledgement > p:last-child {
  margin: 0;
  color: #9cadc6;
  font-size: 13px;
  line-height: 1.65;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.8fr;
  gap: 58px;
}

.site-footer__identity {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.site-footer__logo {
  width: 98px;
  height: 98px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.site-footer__name {
  margin: 8px 0 7px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: var(--lh-display);
}

.site-footer__identity div > p:not(.site-footer__name),
.site-footer__newsletter > p {
  max-width: 320px;
  color: #8799b6;
  font-size: 12px;
  line-height: 1.65;
}

.site-footer__social {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b9c9df;
  font-size: 12px;
  font-weight: var(--w-strong);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__socials {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px 17px;
}

.site-footer__social > strong {
  font-size: 15px;
  line-height: 1;
}

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

.site-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.site-footer__links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-label {
  margin-bottom: 15px;
  color: var(--white) !important;
  font-size: 10px !important;
  font-weight: var(--w-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__links a {
  margin-bottom: 8px;
  color: #96a7c0;
  font-size: 12px;
  text-decoration: none;
}

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

.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.newsletter-form input {
  min-width: 0;
}

.newsletter-form button {
  min-height: 46px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 9px;
  color: var(--navy-950);
  background: var(--signal-500);
  font-weight: var(--w-strong);
  cursor: pointer;
}

.newsletter-form button:disabled {
  opacity: 0.6;
}

.newsletter-form--compact input {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.newsletter-form--compact input::placeholder {
  color: #71829d;
}

.form-error {
  margin: 8px 0 0;
  color: #ffab9f;
  font-size: 12px;
}

.newsletter-form .form-error {
  grid-column: 1 / -1;
}

.newsletter-consent {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #71829d;
  font-size: 9px;
  line-height: 1.45;
}

.newsletter-consent a {
  color: #9cb7e0;
}

.inline-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aqua-200);
  font-size: 13px;
  font-weight: var(--w-strong);
}

.site-footer__bottom {
  margin-top: 52px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom p {
  margin: 0;
  color: #6b7b96;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 46px;
  color: var(--heading);
  background: var(--paper-100);
  border-bottom: 1px solid var(--line);
}

.inner-hero::before {
  content: none;
}

.inner-hero::after {
  content: none;
}

.inner-hero--hubs {
  background: var(--paper-100);
}

.inner-hero--events {
  padding-bottom: 34px;
  background: var(--paper-100);
}

.inner-hero--about {
  background: var(--paper-100);
}

.inner-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.inner-hero h1 {
  max-width: 860px;
  margin: 14px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.inner-hero__grid > p,
.inner-hero__aside > p {
  max-width: 730px;
  margin: 0;
  color: var(--ink-600);
  font-size: 17.5px;
  line-height: 1.7;
}

.inner-hero__aside > .button {
  margin-top: 22px;
}

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

.pathway-detail-list {
  display: grid;
  gap: 20px;
}

.pathway-detail {
  position: relative;
  padding: 48px;
  display: grid;
  grid-template-columns: 90px 1fr 0.82fr;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-100);
  scroll-margin-top: 100px;
}

.pathway-detail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  border-radius: 28px 0 0 28px;
  background: var(--blue-600);
}

.pathway-detail--green::before {
  background: var(--aqua-500);
}

.pathway-detail--orange::before {
  background: var(--signal-500);
}

.pathway-detail__index {
  color: color-mix(in srgb, var(--heading) 24%, transparent);
  font-family: var(--font-accent);
  font-size: 50px;
  line-height: 1;
}

.pathway-detail__main > svg {
  margin-bottom: 28px;
  color: var(--blue-700);
}

.pathway-detail__main h2 {
  margin: 4px 0 17px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.pathway-detail__main p {
  color: var(--ink-600);
  font-size: 14px;
}

.pathway-detail__main .pathway-detail__lead {
  color: var(--ink-800);
  font-size: 17px;
}

.pathway-detail__outcomes {
  padding: 28px;
  border-radius: 19px;
  background: var(--surface);
}

.pathway-detail__outcomes ul {
  margin: 16px 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.pathway-detail__outcomes li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-800);
  font-size: 13px;
}

.pathway-detail__outcomes li svg {
  color: var(--blue-700);
}

.page-cta {
  padding: 75px 0;
  color: var(--white);
  background: var(--navy-900);
}

.page-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.page-cta h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.hub-directory {
  background: var(--paper-200);
}

.launch-note {
  margin-bottom: 34px;
  padding: 24px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--signal-300);
}

.launch-note > div {
  display: flex;
  align-items: center;
  gap: 17px;
}

.launch-note__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-900);
}

.launch-note strong {
  color: var(--heading);
}

.launch-note p {
  margin: 3px 0 0;
  color: #68531b;
  font-size: 13px;
}

.launch-note > .launch-note__actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
}

.launch-note__actions > span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy-900);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.launch-note__actions > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--heading);
  font-size: 11px;
  font-weight: var(--w-strong);
  text-decoration: none;
  white-space: nowrap;
}

.launch-note__actions > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-family-list {
  display: grid;
  gap: 16px;
}

.hub-family {
  padding: 34px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 50px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper-100);
}

.hub-family__heading {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 15px;
}

.hub-family__heading > span {
  color: color-mix(in srgb, var(--heading) 30%, transparent);
  font-size: 10px;
  font-weight: var(--w-strong);
}

.hub-family__heading > svg {
  color: var(--blue-700);
}

.hub-family__heading h2 {
  margin: 0 0 7px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  line-height: 1;
}

.hub-family__heading p {
  margin: 0;
  color: var(--ink-600);
  font-size: 12px;
  line-height: 1.6;
}

.hub-family__hubs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hub-row {
  min-height: 64px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-800);
  background: var(--surface);
  font-size: 12px;
  font-weight: var(--w-medium);
  line-height: 1.35;
  text-decoration: none;
}

.hub-row.is-active {
  border-color: rgba(22, 75, 184, 0.25);
  color: var(--heading);
  background: var(--blue-100);
}

a.hub-row.is-active {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

a.hub-row.is-active:hover {
  border-color: rgba(22, 75, 184, 0.55);
  box-shadow: 0 8px 18px rgba(7, 31, 75, 0.08);
  transform: translateY(-2px);
}

a.hub-row.is-active:focus-visible {
  outline: 3px solid var(--signal-500);
  outline-offset: 2px;
}

.hub-row strong,
.hub-row em {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-700);
  font-size: 8px;
  font-style: normal;
  font-weight: var(--w-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub-row em {
  color: var(--ink-600);
}

.hub-row__arrow {
  margin-left: 2px;
  transition: transform 160ms ease;
}

a.hub-row.is-active:hover .hub-row__arrow {
  transform: translateX(3px);
}

.events-feature {
  background: var(--paper-200);
}

/* Two-week calendar: whole Sun-Sat weeks, each day holding its own links. */
.week-grid-wrap {
  container-type: inline-size;
}

.week-grid__weekdays,
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.week-grid__weekdays {
  margin-bottom: 8px;
}

.week-grid__weekdays span {
  color: var(--ink-600);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.week-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.week-grid__cell {
  min-height: 128px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid rgba(7, 31, 75, 0.1);
  border-radius: 12px;
  background: var(--surface);
}

.week-grid__cell.is-empty {
  background: var(--paper-100);
}

.week-grid__cell.is-past {
  opacity: 0.45;
}

.week-grid__cell.is-today {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 1px var(--blue-700);
}

.week-grid__date {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--ink-600);
}

.week-grid__date em {
  display: none;
  font-size: 11px;
  font-style: normal;
  font-weight: var(--w-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.week-grid__date small {
  font-size: 10px;
  font-weight: var(--w-strong);
  text-transform: uppercase;
}

.week-grid__date strong {
  color: var(--heading);
  font-size: 15px;
  font-weight: var(--w-strong);
}

.week-grid__date i {
  margin-left: auto;
  color: var(--blue-700);
  font-size: 9px;
  font-style: normal;
  font-weight: var(--w-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.week-grid__events {
  display: grid;
  align-content: start;
  gap: 5px;
}

.week-grid__chip {
  padding: 6px 7px;
  display: grid;
  gap: 2px;
  border-radius: 8px;
  color: var(--heading);
  background: rgba(35, 100, 218, 0.09);
  font-size: 11px;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.16s ease;
}

.week-grid__chip:hover,
.week-grid__chip:focus-visible {
  background: rgba(35, 100, 218, 0.19);
}

.week-grid__chip.is-ours {
  color: var(--navy-950);
  background: var(--signal-500);
}

.week-grid__chip span {
  display: -webkit-box;
  overflow: hidden;
  font-weight: var(--w-medium);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.week-grid__chip small {
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0.72;
  font-size: 9px;
  font-weight: var(--w-strong);
  text-transform: uppercase;
}

/* Seven columns of links is unreadable on a phone: one day per row instead,
   with the weekday spelled out since the header row is hidden. */
@container (max-width: 720px) {
  .week-grid__weekdays {
    display: none;
  }

  .week-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .week-grid__cell {
    min-height: 0;
  }

  /* The stacked layout has no grid shape to hold, so days that are over or
     have nothing on them are just scroll between the reader and today. */
  .week-grid__cell.is-empty,
  .week-grid__cell.is-past {
    display: none;
  }

  .week-grid__date em {
    display: block;
  }
}

.event-detail {
  padding: 46px;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(35, 100, 218, 0.32), transparent 35%),
    var(--navy-950);
}

.event-poster {
  margin: -18px -18px 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: var(--navy-900);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.event-poster img {
  width: 100%;
  height: auto;
}

/* Portrait flyer: sits to the right of the event copy on wide screens. */
.event-poster--portrait {
  float: right;
  width: min(38%, 400px);
  margin: 0 0 28px 40px;
}

.event-detail .event-registration-card {
  clear: both;
}

@media (max-width: 760px) {
  .event-poster--portrait {
    float: none;
    width: 100%;
    margin: 0 0 28px;
  }
}

.event-detail h2 {
  margin: 20px 0 5px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.event-detail > p:not(.event-detail__subtitle) {
  max-width: 700px;
  color: #b4c4db;
}

.event-detail .event-detail__subtitle {
  margin-bottom: 16px;
  color: var(--aqua-200);
  font-weight: var(--w-strong);
}

.event-host {
  width: fit-content;
  margin: 24px 0 25px;
  padding: 9px 18px 9px 9px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.webinar-presenter {
  margin: -8px 0 4px;
  color: #9fb1ca;
  font-size: 13px;
}

.event-host--no-photo {
  padding: 11px 20px;
}

.event-partner {
  margin: -14px 0 22px;
  color: #9fb1ca;
  font-size: 13px;
}

.event-host img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.event-host > span {
  display: grid;
}

.event-host small {
  color: var(--aqua-200);
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-host strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--w-medium);
  line-height: var(--lh-display);
}

.event-host em {
  color: #9fb1ca;
  font-size: 10px;
  font-style: normal;
}

.event-detail__meta {
  margin-bottom: 25px;
}

.event-detail ul {
  margin-bottom: 30px;
}

.event-detail li {
  color: #d8e2f0;
}

.event-detail li svg {
  color: var(--aqua-500);
}

.event-registration-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.event-registration-card .registration-form {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.event-registration-card .button {
  min-width: 178px;
}

.event-program {
  background: var(--paper-100);
}

.event-program__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
}

.event-program__intro h2 {
  margin: 16px 0 21px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.event-program__intro > p {
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.75;
}

.event-program__intro > p + p {
  margin-top: 17px;
}

.event-program__content {
  display: grid;
  gap: 44px;
}

.event-unlocks,
.event-audience ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.event-unlocks {
  border-top: 1px solid var(--line);
}

.event-unlocks li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.event-unlocks li > span {
  color: var(--aqua-700);
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.12em;
}

.event-unlocks strong {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
}

.event-unlocks p {
  margin: 5px 0 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.6;
}

.event-audience {
  padding: 27px 30px;
  border-left: 3px solid var(--aqua-500);
  background: var(--paper-200);
}

.event-audience ul {
  display: grid;
  gap: 12px;
}

.event-audience li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-800);
  font-size: 14px;
  line-height: 1.5;
}

.event-audience li svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--blue-700);
}

.event-types {
  background: var(--paper-100);
}

.event-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.event-type-card {
  min-height: 245px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-200);
}

.event-type-card > svg {
  margin-bottom: 50px;
  color: var(--blue-700);
}

.event-type-card h3 {
  margin: 0 0 9px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
}

.event-type-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 13px;
}

.about-story {
  background: var(--paper-100);
}

.about-story__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.about-story h2 {
  margin: 16px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.about-story__copy > p {
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.8;
}

.about-story__copy > p strong {
  color: var(--heading);
}

.about-story blockquote {
  margin: 34px 0 0;
  padding: 28px 31px;
  border-left: 5px solid var(--aqua-500);
  color: var(--heading);
  background: var(--paper-200);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.35;
}

.about-visuals {
  overflow: hidden;
  background: var(--paper-100);
}

.about-visuals__intro {
  max-width: 720px;
  margin-bottom: 44px;
}

.about-visuals__intro h2 {
  margin: 16px 0 18px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.about-visuals__intro p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.75;
}

.about-visuals__grid {
  display: grid;
  gap: 30px;
}

.about-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 10px 36px 10px 36px;
  background: var(--paper-200);
  box-shadow: var(--shadow-small);
}

.about-visual:nth-child(2) {
  margin-left: 6%;
}

.about-visual:nth-child(3) {
  margin-right: 6%;
}

.about-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.about-visual figcaption {
  min-height: 96px;
  padding: 20px 28px;
  display: grid;
  align-content: center;
  gap: 4px;
  color: var(--white);
  background: var(--navy-950);
}

.about-visual figcaption span {
  color: var(--aqua-200);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-visual figcaption strong {
  font-family: var(--font-accent);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: var(--w-accent);
  line-height: var(--lh-display);
}

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

.director-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 86px;
}

.director-portrait {
  position: sticky;
  top: 125px;
  margin: 0;
}

.director-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 32px 8px 32px 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.director-portrait figcaption {
  margin: -25px 18px 0;
  padding: 18px 20px;
  position: relative;
  display: grid;
  border-radius: 15px;
  color: var(--white);
  background: var(--navy-950);
  box-shadow: var(--shadow-small);
}

.director-portrait figcaption strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-medium);
}

.director-portrait figcaption span {
  color: var(--aqua-200);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.director-copy h2 {
  max-width: 700px;
  margin: 17px 0 25px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.director-copy > p {
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.82;
}

.director-copy > p + p {
  margin-top: 20px;
}

.director-copy h3 {
  margin: 34px 0 14px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
}

.director-copy ul {
  margin: 16px 0 0;
  padding-left: 20px;
  list-style: disc;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.82;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.values-grid article {
  position: relative;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-100);
}

.values-grid article > span {
  position: absolute;
  top: 23px;
  right: 25px;
  color: color-mix(in srgb, var(--heading) 25%, transparent);
  font-size: 10px;
  font-weight: var(--w-strong);
}

.values-grid article > svg {
  margin-bottom: 75px;
  color: var(--blue-700);
}

.values-grid h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
}

.values-grid p {
  color: var(--ink-600);
  font-size: 12px;
}

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

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.trust-grid h2 {
  margin: 16px 0 17px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.trust-grid > div > p {
  color: var(--ink-600);
}

.trust-grid ul {
  margin: 0;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-200);
}

.trust-grid li {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.trust-grid li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.land-acknowledgement {
  padding: 68px 0;
  color: var(--white);
  background: var(--navy-950);
}

.land-acknowledgement .container {
  max-width: 960px;
}

.land-acknowledgement .eyebrow-label {
  color: var(--aqua-200);
}

.land-acknowledgement p:last-child {
  margin: 0;
  font-family: var(--font-accent);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.35;
}

.join-page {
  position: relative;
  padding: 72px 0 100px;
  background:
    radial-gradient(circle at 0 0, rgba(101, 209, 192, 0.15), transparent 28%),
    var(--paper-200);
}

.join-shell {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.join-aside {
  padding: 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(101, 209, 192, 0.2), transparent 30%),
    var(--navy-950);
}

.join-aside h1 {
  margin: 18px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.join-aside > p {
  color: #b2c2db;
  font-size: 14px;
}

.join-match-note {
  margin: 28px 0;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid rgba(101, 209, 192, 0.25);
  border-radius: 13px;
  background: rgba(101, 209, 192, 0.1);
}

.join-match-note > svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--aqua-500);
}

.join-match-note span {
  display: block;
  color: var(--aqua-200);
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-match-note strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
}

.join-steps {
  margin: 42px 0;
  padding: 0;
  display: grid;
  gap: 23px;
  list-style: none;
}

.join-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8396b3;
  font-size: 13px;
  font-weight: var(--w-strong);
}

.join-steps li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 10px;
}

.join-steps li.is-current {
  color: var(--white);
}

.join-steps li.is-current > span {
  border-color: var(--signal-500);
  color: var(--navy-950);
  background: var(--signal-500);
}

.join-steps li.is-complete {
  color: var(--aqua-200);
}

.join-steps li.is-complete > span {
  border-color: var(--aqua-500);
  color: var(--navy-950);
  background: var(--aqua-500);
}

.join-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #8092ad;
}

.join-privacy-note > svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.join-privacy-note p {
  margin: 0;
  font-size: 11px;
}

.join-form-card {
  position: relative;
  min-height: 770px;
  padding: 49px;
  display: flex;
  flex-direction: column;
  background: var(--paper-100);
}

.join-progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--paper-300);
}

.join-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--aqua-500));
  transition: width 240ms ease;
}

.join-step {
  flex: 1;
}

.join-step__heading {
  margin-bottom: 31px;
}

.join-step__heading > span {
  color: var(--blue-700);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-step__heading h2 {
  margin: 6px 0 8px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.join-step__heading p {
  margin: 0;
  color: var(--ink-600);
  font-size: 13px;
}

.form-field {
  margin-top: 15px;
}

.contact-privacy-note {
  margin: 4px 0 16px;
  padding: 11px 13px;
  border-left: 3px solid var(--aqua-500);
  color: var(--ink-600);
  background: rgba(101, 209, 192, 0.1);
  font-size: 11px;
  line-height: 1.55;
}

.form-grid label small {
  color: var(--ink-600);
  font-size: 10px;
  font-weight: var(--w-display);
  line-height: 1.4;
}

.pathway-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.pathway-option {
  min-height: 130px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-800);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.pathway-option > svg:first-child {
  margin-bottom: 17px;
  color: var(--blue-700);
}

.pathway-option > svg:last-child {
  position: absolute;
}

.pathway-option span {
  display: grid;
  gap: 3px;
  font-size: 10px;
}

.pathway-option strong {
  color: var(--heading);
  font-size: 13px;
}

.pathway-option.is-selected {
  border-color: var(--blue-700);
  background: var(--blue-100);
  box-shadow: 0 0 0 3px rgba(22, 75, 184, 0.08);
}

.compact-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.compact-choice {
  min-height: 34px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-800);
  background: var(--surface);
  font-size: 10px;
  font-weight: var(--w-medium);
  cursor: pointer;
}

.compact-choice.is-selected {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: var(--blue-100);
}

.compact-choices--large .compact-choice {
  min-height: 39px;
  padding: 8px 12px;
  font-size: 11px;
}

.field-help {
  margin: 7px 0 0;
  color: var(--ink-600);
  font-size: 10px;
}

.consent-box {
  margin-top: 23px;
  padding: 17px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-200);
}

.consent-box label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-800);
  font-size: 11px;
  line-height: 1.5;
}

.consent-box input {
  width: 16px;
  min-height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--blue-700);
}

.consent-box a {
  color: var(--blue-700);
}

.join-form__actions {
  margin-top: 35px;
  padding-top: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.join-form__error {
  text-align: right;
}

.join-complete {
  max-width: 900px;
  margin-inline: auto;
  padding: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--paper-100);
  box-shadow: var(--shadow);
  text-align: center;
}

.join-complete__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--heading);
  background: var(--aqua-200);
}

.join-complete h1 {
  margin: 17px 0 13px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.join-complete > p {
  max-width: 650px;
  margin: 0 auto 32px;
  color: var(--ink-600);
}

.join-complete__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.join-complete__summary > div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.join-complete__summary > div:last-child {
  border-right: 0;
}

.join-complete__summary span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-600);
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-complete__summary strong {
  color: var(--heading);
  font-size: 13px;
}

.join-complete__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.legal-hero {
  padding: 84px 0;
  color: var(--white);
  background: var(--navy-900);
}

.legal-hero h1 {
  margin: 15px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.legal-hero p {
  margin: 0;
  color: #b8c7df;
}

.legal-content {
  background: var(--paper-200);
}

.legal-content__inner {
  max-width: 880px;
}

.legal-intro {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.4;
}

.legal-list {
  margin-top: 45px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.legal-list article {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.legal-list article > span {
  color: var(--blue-700);
  font-size: 10px;
  font-weight: var(--w-strong);
}

.legal-list h2,
.legal-prose h2 {
  margin: 0 0 6px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-medium);
}

.legal-list p,
.legal-prose p {
  margin: 0;
  color: var(--ink-600);
}

.legal-prose {
  display: grid;
  gap: 14px;
}

.legal-prose h2:not(:first-child) {
  margin-top: 25px;
}

.legal-prose a {
  color: var(--blue-700);
}

.legal-meta {
  margin-bottom: 10px !important;
  color: var(--blue-700) !important;
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-prose strong {
  color: var(--heading);
}

.legal-prose--spaced {
  margin-top: 52px;
}

.legal-facts {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-facts article {
  min-height: 150px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.legal-facts svg {
  margin-bottom: auto;
  color: var(--blue-700);
}

.legal-facts span {
  margin: 22px 0 5px;
  color: var(--ink-600);
  font-size: 10px;
  font-weight: var(--w-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-facts strong {
  color: var(--heading);
  overflow-wrap: anywhere;
}

.legal-contact {
  display: flex;
  align-items: center;
  gap: 9px;
}

.legal-contact svg {
  color: var(--blue-700);
}

.legal-note {
  margin-top: 35px !important;
  padding: 18px 20px;
  border-left: 4px solid var(--signal-500);
  color: var(--ink-800) !important;
  background: var(--signal-300);
  font-size: 13px;
}

.not-found {
  min-height: 100vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--navy-950);
  text-align: center;
}

.not-found > span {
  color: var(--aqua-500);
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.2em;
}

.not-found h1 {
  max-width: 720px;
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.not-found p {
  margin-bottom: 25px;
  color: #adbed7;
}

@media (min-width: 901px) {
  .hero-copy h1 {
    font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  }

  .community-story__lead h2,
  .section-heading h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  }

  .matcher-intro h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  }

  .resources-heading h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  }

  .final-cta h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  }

  .inner-hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.35rem);
  }

  .event-detail h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  }

  .event-program__intro h2,
  .about-story h2,
  .about-visuals__intro h2,
  .director-copy h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  }

  .trust-grid h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  }

  .page-cta h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  }

  .join-complete h1 {
    font-size: clamp(2.3rem, 4vw, 3.35rem);
  }

  .auth-story__copy h1 {
    font-size: clamp(2.3rem, 4vw, 3.35rem);
  }
}

/* The desktop nav sits on one line (as in the source packages) and needs
   ~1525px (with Tell your story) to fit with both header buttons, the language and theme toggles,
   plus ~15px for a vertical scrollbar; below that, switch to the menu
   instead of letting labels wrap onto two lines. */
@media (max-width: 1540px) {
  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  /* Only the brand, the theme toggle and the menu remain: push the last two
     to the right edge and keep them together. */
  .site-header__inner {
    gap: 10px;
  }

  .brand {
    margin-right: auto;
  }

  .mobile-nav {
    display: block;
    margin-left: 0;
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 17px;
  }

  .desktop-actions .button--outline {
    display: none;
  }

  .resources-shell {
    gap: 42px;
  }

  .matcher-layout {
    grid-template-columns: 0.65fr 1.35fr;
    gap: 40px;
  }

  .launch-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .webinar-card {
    grid-template-columns: 120px 1fr;
  }

  .webinar-date {
    width: 120px;
  }

  .webinar-form-wrap {
    grid-column: 1 / -1;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__newsletter {
    grid-column: 1 / -1;
    max-width: 520px;
  }

  .pathway-detail {
    grid-template-columns: 70px 1fr;
  }

  .pathway-detail__outcomes {
    grid-column: 2;
  }

  .hub-family {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .clinic-grid {
    grid-template-columns: 1fr;
  }

  .announcement__message {
    display: none;
  }

  .announcement__short {
    display: inline;
  }

  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-layout {
    padding-top: 70px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-copy h1 {
    max-width: 720px;
  }

  .community-story__grid,
  .resources-shell {
    grid-template-columns: 1fr;
  }

  .community-photo--small {
    grid-row: auto;
    grid-column: auto;
    margin-left: 42px;
  }

  .community-story__logo {
    display: none;
  }

  .community-story__lead {
    max-width: 650px;
  }

  .community-photo--small {
    margin-top: -100px;
  }

  .matcher-layout,
  .section-heading--split,
  .organization-grid,
  .inner-hero__grid,
  .about-story__grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .matcher-intro {
    position: static;
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    min-height: auto;
  }

  .pathway-card__top {
    margin-bottom: 25px;
  }

  .webinar-card {
    padding: 38px;
  }

  .journey-track {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px 0;
  }

  .journey-track::before {
    display: none;
  }

  .principle-grid {
    max-width: 760px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__newsletter {
    grid-column: auto;
  }

  .inner-hero__grid {
    gap: 28px;
  }

  .event-program__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .director-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .director-portrait {
    width: min(100%, 390px);
    position: static;
  }

  .event-type-grid {
    grid-template-columns: 1fr;
  }

  .event-type-card {
    min-height: auto;
  }

  .event-type-card > svg {
    margin-bottom: 28px;
  }

  .join-shell {
    grid-template-columns: 1fr;
  }

  .join-aside {
    padding: 37px;
  }

  .join-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .join-steps li {
    flex-direction: column;
    align-items: flex-start;
  }

  .join-privacy-note {
    display: none;
  }
}

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

  .blog-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-tabs {
    flex-wrap: wrap;
  }

  .blog-search {
    min-width: 100%;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .announcement {
    min-height: 42px;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
  }

  .announcement__link {
    font-size: 0;
  }

  .announcement__link svg {
    width: 17px;
    height: 17px;
  }

  .site-header__inner {
    min-height: 68px;
    gap: 14px;
  }

  .brand__logo {
    width: 44px;
    height: 44px;
  }

  .brand__type strong {
    font-size: 18px;
  }

  .hero-section,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    padding: 58px 0 55px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  }

  .hero-section__background {
    object-position: 73% center;
  }

  .hero-section__overlay {
    background:
      linear-gradient(90deg, rgba(251, 250, 246, 0.98), rgba(251, 250, 246, 0.88) 66%, rgba(251, 250, 246, 0.38)),
      linear-gradient(180deg, transparent 55%, rgba(251, 250, 246, 0.86));
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .community-story {
    padding: 78px 0 88px;
  }

  .community-photo--wide {
    height: 420px;
  }

  .resources-shell {
    padding: 38px;
  }

  .resources-list > article {
    grid-template-columns: 30px 30px 1fr;
  }

  .resources-list > article > a {
    grid-column: 3;
  }

  .resources-list > article.resources-list__disclosure-row {
    grid-template-columns: 30px 30px minmax(0, 1fr);
  }

  .resource-disclosure > summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .resource-disclosure__action {
    justify-self: start;
  }

  .resource-disclosure__content--links,
  .funding-card-grid {
    grid-template-columns: 1fr;
  }

  .grant-card {
    grid-template-columns: 1fr auto;
  }

  .grant-card dl {
    grid-column: 1;
  }

  .grant-card > a {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .contribute-grid {
    grid-template-columns: 1fr;
  }

  .contribute-grid article {
    min-height: auto;
  }

  .contribute-grid article > svg {
    margin-bottom: 38px;
  }

  .matcher-section {
    padding: 78px 0;
  }

  .matcher-intro h2 {
    font-size: 1.5rem;
  }

  .matcher-card {
    min-height: auto;
    border-radius: 25px;
  }

  .matcher-form,
  .match-result {
    padding: 24px;
  }

  .mapping-state {
    min-height: 520px;
    padding: 28px;
  }

  .choice-grid,
  .choice-grid--roles,
  .field-row,
  .result-grid,
  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .matcher-card__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

  .launch-hub-grid {
    grid-template-columns: 1fr;
  }

  .launch-hub {
    min-height: 180px;
  }

  .hubs-preview__footer,
  .page-cta__inner,
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .webinar-card {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .webinar-copy h2 {
    font-size: 1.5rem;
    line-height: 1.02;
  }

  .webinar-date {
    width: 100%;
    height: 118px;
    flex-direction: row;
    gap: 12px;
  }

  .webinar-date strong {
    font-size: 60px;
  }

  .journey-track {
    grid-template-columns: 1fr 1fr;
  }

  .organization-grid {
    gap: 52px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: auto;
  }

  .principle-card > svg {
    margin-bottom: 24px;
  }

  .site-footer__identity {
    flex-direction: column;
  }

  .site-footer__links {
    gap: 20px;
  }

  .inner-hero {
    padding: 78px 0 82px;
  }

  .inner-hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.35rem);
    line-height: 1;
  }

  .pathway-detail {
    padding: 31px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pathway-detail__index {
    font-size: 34px;
  }

  .pathway-detail__outcomes {
    grid-column: auto;
  }

  .launch-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .launch-note > .launch-note__actions {
    align-items: flex-start;
  }

  .hub-family {
    padding: 24px;
  }

  .hub-family__hubs {
    grid-template-columns: 1fr;
  }

  .event-detail {
    padding: 29px;
  }

  .event-poster {
    margin: -13px -13px 30px;
    border-radius: 14px;
  }

  .community-story__lead h2,
  .event-detail h2,
  .event-program__intro h2,
  .organization-copy h2,
  .final-cta h2,
  .about-story h2,
  .about-visuals__intro h2,
  .director-copy h2,
  .trust-grid h2,
  .page-cta h2 {
    font-size: 1.5rem;
    line-height: 1.02;
  }

  .event-audience {
    padding: 24px;
  }

  .event-registration-card .registration-form {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-grid article {
    min-height: auto;
  }

  .values-grid article > svg {
    margin-bottom: 38px;
  }

  .about-visuals__intro {
    margin-bottom: 30px;
  }

  .about-visuals__grid {
    gap: 18px;
  }

  .about-visual:nth-child(2),
  .about-visual:nth-child(3) {
    margin-right: 0;
    margin-left: 0;
  }

  .about-visual {
    border-radius: 8px 22px 8px 22px;
  }

  .about-visual figcaption {
    min-height: 72px;
    padding: 12px 18px;
  }

  .join-page {
    padding: 24px 0 70px;
  }

  .join-aside,
  .join-form-card {
    padding: 27px;
  }

  .join-form-card {
    min-height: 0;
  }

  .join-steps {
    margin-bottom: 8px;
  }

  .join-steps li {
    font-size: 10px;
  }

  .pathway-options {
    grid-template-columns: 1fr;
  }

  .pathway-option {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .pathway-option > svg:first-child {
    margin-bottom: 0;
  }

  .join-complete {
    padding: 37px 22px;
  }

  .join-complete__summary {
    grid-template-columns: 1fr;
  }

  .join-complete__summary > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .join-complete__summary > div:last-child {
    border-bottom: 0;
  }

  .legal-list article {
    grid-template-columns: 38px 1fr;
  }

  .legal-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .journey-track {
    grid-template-columns: 1fr;
  }

  .journey-track li {
    display: grid;
    grid-template-columns: 42px 1fr;
    text-align: left;
  }

  .journey-track li > span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .join-steps {
    grid-template-columns: 1fr;
  }

  .join-steps li {
    flex-direction: row;
    align-items: center;
  }
}

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

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

/* Member authentication and collaboration platform */

textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-950);
  background: var(--surface);
  font: inherit;
  line-height: 1.55;
  outline: none;
  resize: vertical;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea::placeholder {
  color: #929aaa;
}

textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(35, 100, 218, 0.1);
}

.spin {
  animation: member-spin 800ms linear infinite;
}

@keyframes member-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-page {
  position: relative;
  min-height: 100vh;
  padding: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 48%),
    var(--paper-200);
}

.auth-page__wash {
  position: absolute;
  top: -300px;
  right: -180px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(101, 209, 192, 0.28),
    rgba(101, 209, 192, 0) 67%
  );
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border: 1px solid rgba(7, 31, 75, 0.12);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 40px 120px rgba(7, 31, 75, 0.2);
}

.auth-shell--compact {
  min-height: 590px;
}

.auth-story {
  position: relative;
  padding: 48px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(101, 209, 192, 0.22), transparent 31%),
    radial-gradient(circle at 90% 100%, rgba(35, 100, 218, 0.38), transparent 45%),
    var(--navy-950);
}

.auth-story::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -190px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.018),
    0 0 0 140px rgba(255, 255, 255, 0.014);
}

.auth-brand,
.platform-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.auth-brand img,
.platform-brand img {
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.auth-brand > span,
.platform-brand > span {
  display: flex;
  flex-direction: column;
}

.auth-brand strong,
.platform-brand strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--w-medium);
  line-height: 1;
}

.auth-brand small,
.platform-brand small {
  margin-top: 5px;
  color: var(--aqua-200);
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.auth-brand {
  gap: 14px;
}

.auth-brand img {
  width: 74px;
  height: 74px;
}

.auth-brand strong {
  font-size: 24px;
}

.auth-brand small {
  font-size: 13px;
  letter-spacing: 0.18em;
}

.platform-brand img {
  width: 54px;
  height: 54px;
}

.platform-brand small {
  font-size: 9px;
}

.auth-story__copy {
  position: relative;
  z-index: 1;
  margin-block: auto;
  padding: 70px 0;
}

.auth-story__copy h1 {
  max-width: 560px;
  margin: 24px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.auth-story__copy p {
  max-width: 520px;
  margin: 0;
  color: #b8c9e2;
  font-size: 17px;
  line-height: 1.72;
}

.auth-story__proof {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.auth-story__proof div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d9e5f5;
  font-size: 12px;
  font-weight: var(--w-medium);
}

.auth-story__proof svg {
  color: var(--aqua-500);
}

.auth-card {
  width: min(100%, 480px);
  margin: auto;
  padding: 56px 50px;
}

.auth-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.auth-card h2 {
  margin: 8px 0 13px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.auth-card__intro {
  margin-bottom: 30px;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 17px;
}

.auth-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 24px 0 20px;
  padding: 4px;
  border: 1px solid rgba(7, 31, 75, 0.1);
  border-radius: 12px;
  background: var(--paper-100);
}

.auth-mode-switch button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  color: var(--slate-600);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: var(--w-strong);
  cursor: pointer;
}

.auth-mode-switch button.is-active {
  color: var(--heading);
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(7, 31, 75, 0.08);
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap > svg {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  color: var(--blue-600);
  transform: translateY(-50%);
  pointer-events: none;
}

.auth-input-wrap input {
  padding-left: 44px;
}

.auth-form label,
.opportunity-form label,
.onboarding-form > label,
.onboarding-form .form-grid label {
  display: grid;
  gap: 7px;
  color: var(--heading);
  font-size: 13px;
  font-weight: var(--w-strong);
}

.auth-code-input {
  min-height: 72px;
  font-size: 29px;
  font-weight: var(--w-strong);
  letter-spacing: 0.25em;
  text-align: center;
}

.auth-forgot-password {
  margin: -5px 0 1px;
  justify-self: end;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: var(--w-strong);
}

.auth-success {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(24, 140, 112, 0.22);
  border-radius: 12px;
  color: #116c57;
  background: rgba(101, 209, 192, 0.14);
  font-size: 14px;
  line-height: 1.6;
}

.auth-success svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.auth-success p {
  margin: 0;
}

.auth-back {
  margin: 2px auto 0;
  padding: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: var(--ink-600);
  background: transparent;
  font-size: 12px;
  font-weight: var(--w-strong);
  cursor: pointer;
}

.auth-card__legal {
  margin: 26px 0 0;
  color: var(--ink-600);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.auth-card__legal a {
  color: var(--blue-700);
}

.platform-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--ink-600);
  background: var(--paper-200);
}

.platform-loading > img {
  border-radius: 50%;
  box-shadow: var(--shadow-small);
}

.platform-loading > svg {
  margin-top: 10px;
  color: var(--blue-700);
}

.platform-loading p {
  margin: 0;
  font-size: 13px;
  font-weight: var(--w-medium);
}

.platform-shell {
  --platform-sidebar: 268px;
  --platform-context: 316px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--platform-sidebar) minmax(0, 1fr) var(
      --platform-context
    );
  color: var(--ink-950);
  background: #f7f6f1;
}

.platform-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 25px 18px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(101, 209, 192, 0.13), transparent 27%),
    var(--navy-950);
}

.platform-sidebar .platform-brand {
  margin: 0 9px 28px;
  color: var(--white);
}

.platform-main-nav {
  display: grid;
  gap: 6px;
}

.platform-main-nav button,
.channel-nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  color: #aebfd8;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.platform-main-nav button {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: var(--w-strong);
}

.platform-main-nav button:hover,
.channel-nav button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.platform-main-nav button.is-active {
  color: var(--navy-950);
  background: var(--aqua-500);
}

.platform-sidebar__label {
  margin: 27px 10px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #768eaf;
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-sidebar__label small {
  font-size: inherit;
}

.channel-nav {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 2px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.channel-nav button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: var(--w-medium);
  line-height: 1.25;
}

.channel-nav button svg {
  flex: 0 0 auto;
  color: #6480a5;
}

.channel-nav button.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.channel-nav button.is-active svg {
  color: var(--aqua-500);
}

.channel-unread-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua-500);
  margin-left: auto;
  flex: 0 0 auto;
}

.platform-sidebar__member {
  margin-top: auto;
  padding: 14px 9px 2px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.platform-sidebar__member > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.platform-sidebar__member strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-sidebar__member small {
  overflow: hidden;
  color: #8299b8;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-sidebar__member button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #8299b8;
  background: transparent;
  cursor: pointer;
}

.platform-sidebar__member button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.member-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--heading);
  background: var(--aqua-200);
  font-size: 13px;
  font-weight: var(--w-strong);
}

.member-avatar--small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 10px;
}

.member-avatar--message {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 11px;
}

.member-avatar--tiny {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 9px;
}

.platform-stage {
  min-width: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-right: 1px solid var(--line);
}

.platform-topbar {
  min-height: 116px;
  padding: 25px 30px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.platform-topbar__eyebrow {
  color: var(--blue-700);
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-topbar h1 {
  margin: 4px 0 3px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.platform-topbar p {
  margin: 0;
  color: var(--ink-600);
  font-size: 11px;
}

.mobile-channel-picker {
  display: none;
}

.platform-topbar__actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-600);
  font-size: 10px;
  font-weight: var(--w-strong);
}

.live-status .live-dot {
  width: 7px;
  height: 7px;
}

.platform-site-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-600);
  font-size: 10px;
  font-weight: var(--w-strong);
  text-decoration: none;
}

.chat-panel {
  min-height: 0;
  height: calc(100vh - 116px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.message-list {
  min-height: 0;
  padding: 26px 30px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(7, 31, 75, 0.17) transparent;
}

.platform-inline-loading {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-600);
  font-size: 12px;
}

.empty-conversation,
.empty-board {
  min-height: 100%;
  max-width: 590px;
  margin: auto;
  padding: 50px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-conversation > span,
.empty-board > span {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.empty-conversation h2,
.empty-board h2 {
  margin: 8px 0 12px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1;
}

.empty-conversation > p:not(.eyebrow-label),
.empty-board > p:not(.eyebrow-label) {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.7;
}

.empty-conversation > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.empty-conversation button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--surface);
  font: inherit;
  font-size: 10px;
  font-weight: var(--w-strong);
  cursor: pointer;
}

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

.message + .message:not(.message--grouped) {
  margin-top: 23px;
}

.message--grouped {
  margin-top: 4px;
}

.message__time-rail {
  padding-top: 3px;
  color: transparent;
  font-size: 8px;
  text-align: center;
}

.message--grouped:hover .message__time-rail {
  color: #9aa3b2;
}

.message header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.message header strong {
  color: var(--heading);
  font-size: 12px;
}

.message header span {
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 8px;
  font-weight: var(--w-strong);
}

.message header time {
  margin-left: auto;
  color: #9aa3b2;
  font-size: 8px;
}

.message p {
  margin: 2px 0 0;
  color: var(--ink-800);
  font-size: 12px;
  line-height: 1.58;
  white-space: pre-wrap;
}

.mention-tag {
  display: inline-block;
  padding: 1px 6px;
  margin: 0 1px;
  border-radius: 6px;
  color: var(--blue-700);
  background: rgba(22, 75, 184, 0.09);
  font-weight: var(--w-strong);
  font-size: 11px;
}

.mention-tag--me {
  color: #b45309;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.message--mentioned {
  position: relative;
  background: rgba(245, 158, 11, 0.04);
  border-radius: 12px;
  padding: 8px 10px;
  margin-left: -10px;
  margin-right: -10px;
  box-shadow: inset 3px 0 0 #f59e0b;
}

.mention-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: min(340px, calc(100vw - 48px));
  max-height: min(320px, calc(100vh - 220px));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(7, 31, 75, 0.14);
  z-index: 50;
  overflow: hidden;
  animation: popoverFadeIn 0.15s ease-out;
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mention-popover__header {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper-200);
  color: var(--ink-700);
  font-size: 10px;
  font-weight: var(--w-strong);
}

.mention-popover__header span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-700);
}

.mention-popover__header small {
  color: #9aa3b2;
  font-size: 8px;
  font-weight: var(--w-display);
}

.mention-popover__list {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.mention-item {
  width: 100%;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}

.mention-item:hover,
.mention-item.is-selected {
  background: var(--blue-100);
}

.mention-item__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mention-item__info strong {
  color: var(--heading);
  font-size: 11px;
  font-weight: var(--w-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mention-item__info small {
  color: var(--ink-600);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-composer {
  position: relative;
  padding: 14px 24px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.message-composer > div {
  position: relative;
}

.message-composer textarea {
  min-height: 62px;
  max-height: 160px;
  padding-right: 56px;
  border-radius: 15px;
  background: #f9f9f7;
  resize: none;
}

.message-composer > div > span {
  position: absolute;
  right: 13px;
  bottom: 9px;
  color: #9aa3b2;
  font-size: 8px;
}

.message-composer > button {
  width: 46px;
  height: 46px;
  margin-bottom: 7px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue-700);
  cursor: pointer;
}

.message-composer > button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.message-composer .form-error {
  grid-column: 1 / -1;
  margin: -3px 0 0;
}

.platform-context {
  height: 100vh;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 13px;
  overflow-y: auto;
  background: var(--paper-200);
}

.context-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.context-card__heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.context-card__heading > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.context-card__heading strong {
  color: var(--heading);
  font-size: 12px;
}

.context-card__heading small {
  color: var(--ink-600);
  font-size: 9px;
  line-height: 1.35;
}

.profile-pathway {
  margin-top: 18px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.profile-pathway span {
  display: flex;
  flex-direction: column;
}

.profile-pathway small {
  font-size: 8px;
  font-weight: var(--w-strong);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-pathway strong {
  color: var(--heading);
  font-size: 10px;
}

.profile-hub {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--ink-600);
  font-size: 9px;
  font-weight: var(--w-medium);
  line-height: 1.35;
}

.context-card--profile > p {
  margin: 15px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-600);
  font-size: 10px;
  line-height: 1.55;
}

.context-card--webinar {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 100%, rgba(35, 100, 218, 0.46), transparent 50%),
    var(--navy-950);
  text-decoration: none;
}

.context-card--webinar::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.context-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--signal-300);
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
}

.context-card--webinar > strong {
  max-width: 220px;
  margin: 17px 0 7px;
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.context-card--webinar p {
  margin: 0 0 17px;
  color: #aebfd8;
  font-size: 9px;
  line-height: 1.55;
}

.context-card--webinar > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 9px;
  font-weight: var(--w-strong);
}

.context-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 13px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.context-card--norms > strong {
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 17px;
}

.context-card--norms ul {
  margin: 13px 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.context-card--norms li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--ink-600);
  font-size: 9px;
}

.context-card--norms li svg {
  margin-top: 2px;
  flex: 0 0 auto;
  color: #168978;
}

.context-card--norms a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-700);
  font-size: 9px;
  font-weight: var(--w-strong);
  text-decoration: none;
}

.collaboration-board {
  position: relative;
  min-height: 0;
  height: calc(100vh - 116px);
  padding: 24px;
  overflow-y: auto;
}

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

.opportunity-card {
  min-height: 340px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(7, 31, 75, 0.045);
}

.opportunity-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.opportunity-card__type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-700);
  font-size: 9px;
  font-weight: var(--w-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opportunity-card > header time {
  color: #9aa3b2;
  font-size: 9px;
}

.opportunity-card h2 {
  margin: 20px 0 9px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
  line-height: var(--lh-display);
}

.opportunity-card > p {
  color: var(--ink-600);
  font-size: 11px;
  line-height: 1.62;
}

.opportunity-card__hub {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--ink-800);
  font-size: 9px;
  font-weight: var(--w-strong);
}

.opportunity-card__tags {
  margin: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.opportunity-card__tags span {
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--ink-600);
  background: var(--paper-200);
  font-size: 8px;
  font-weight: var(--w-medium);
}

.opportunity-card > footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.opportunity-card > footer > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.opportunity-card > footer > div > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.opportunity-card footer small {
  color: #9aa3b2;
  font-size: 7px;
  text-transform: uppercase;
}

.opportunity-card footer strong {
  overflow: hidden;
  color: var(--heading);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opportunity-action {
  min-height: 34px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(22, 75, 184, 0.24);
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font: inherit;
  font-size: 9px;
  font-weight: var(--w-strong);
  cursor: pointer;
}

.opportunity-action.is-active {
  color: #116d60;
  border-color: rgba(22, 137, 120, 0.26);
  background: #def6f0;
}

.member-directory {
  position: relative;
  min-height: 0;
  height: calc(100vh - 116px);
  padding: 24px;
  overflow-y: auto;
}

.directory-search {
  margin-bottom: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-600);
}

.directory-search input {
  flex: 1;
  border: none;
  background: none;
  font: inherit;
  font-size: 12px;
  color: var(--heading);
  outline: none;
}

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

.member-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(7, 31, 75, 0.045);
}

.member-card > header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-card > header small {
  display: block;
  color: var(--ink-600);
  font-size: 9px;
  font-weight: var(--w-medium);
}

.member-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.member-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-800);
  font-size: 9px;
  font-weight: var(--w-strong);
}

.member-card__looking-for {
  color: var(--ink-600);
  font-size: 11px;
  line-height: 1.5;
}

.member-card__bio {
  color: var(--ink-700);
  font-size: 11px;
  line-height: 1.5;
}

.member-self-badge {
  color: var(--blue-700);
  font-size: 10px;
  font-weight: var(--w-medium);
}

.member-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.member-action-btn {
  min-height: 32px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  font-weight: var(--w-strong);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.member-action-btn--primary {
  color: var(--white);
  background: var(--blue-700);
  border: 1px solid var(--blue-700);
}

.member-action-btn--primary:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: var(--white);
}

.member-action-btn--secondary {
  color: var(--ink-800);
  background: var(--paper-200);
  border: 1px solid var(--line);
}

.member-action-btn--secondary:hover {
  color: var(--blue-700);
  border-color: rgba(22, 75, 184, 0.35);
  background: var(--blue-100);
}

.opportunity-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.opportunity-action--secondary {
  color: var(--ink-800);
  border-color: var(--line);
  background: var(--paper-200);
  text-decoration: none;
  transition: all 0.15s ease;
}

.opportunity-action--secondary:hover {
  color: var(--blue-700);
  border-color: rgba(22, 75, 184, 0.35);
  background: var(--blue-100);
}

.opportunity-action--quiet {
  color: var(--ink-600);
  border-color: var(--line);
  background: transparent;
}

.opportunity-action__count {
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-700);
  font-size: 7px;
}

.opportunity-form-wrap {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 30px;
  display: grid;
  place-items: center;
  background: rgba(4, 20, 47, 0.64);
  backdrop-filter: blur(8px);
}

.opportunity-form {
  width: min(100%, 680px);
  max-height: calc(100vh - 60px);
  padding: 30px;
  display: grid;
  gap: 17px;
  overflow-y: auto;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.3);
}

.opportunity-form > header {
  margin-bottom: 3px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.opportunity-form h2 {
  margin: 4px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
}

.opportunity-form > header > button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-600);
  background: var(--surface);
  cursor: pointer;
}

.opportunity-form label > small {
  color: var(--ink-600);
  font-size: 9px;
  font-weight: var(--w-display);
}

.opportunity-form > footer {
  padding-top: 5px;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.onboarding-page {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 10%, rgba(101, 209, 192, 0.17), transparent 26%),
    radial-gradient(circle at 100% 90%, rgba(35, 100, 218, 0.3), transparent 34%),
    var(--navy-950);
}

.onboarding-topbar {
  width: min(calc(100% - 56px), 1280px);
  min-height: 90px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.onboarding-topbar .platform-brand {
  color: var(--white);
}

.onboarding-topbar > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9fb1cc;
  font-size: 11px;
  font-weight: var(--w-medium);
}

.onboarding-layout {
  width: min(calc(100% - 56px), 1180px);
  margin-inline: auto;
  padding: 70px 0 90px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 76px;
}

.onboarding-intro {
  position: sticky;
  top: 48px;
  padding-top: 34px;
}

.onboarding-intro h1 {
  margin: 24px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.onboarding-intro > p {
  color: #aebfd8;
  font-size: 16px;
  line-height: 1.7;
}

.onboarding-progress {
  margin: 38px 0;
}

.onboarding-progress > div {
  margin-bottom: 9px;
  display: flex;
  justify-content: space-between;
  color: #8299b8;
  font-size: 10px;
  font-weight: var(--w-strong);
}

.onboarding-progress > div strong {
  color: var(--aqua-200);
}

.onboarding-progress > span {
  height: 5px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.onboarding-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--aqua-500);
  transition: width 220ms ease;
}

.onboarding-benefits {
  display: grid;
  gap: 18px;
}

.onboarding-benefits > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 12px;
}

.onboarding-benefits > div > svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  border: 1px solid rgba(101, 209, 192, 0.22);
  border-radius: 11px;
  color: var(--aqua-500);
}

.onboarding-benefits span {
  display: flex;
  flex-direction: column;
}

.onboarding-benefits strong {
  font-size: 12px;
}

.onboarding-benefits small {
  color: #8299b8;
  font-size: 10px;
}

.onboarding-form {
  padding: 38px;
  display: grid;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: var(--ink-950);
  background: var(--paper-100);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.28);
}

.onboarding-form__heading {
  margin-bottom: 5px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.onboarding-form__heading h2 {
  margin: 5px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
}

.onboarding-form__heading > span {
  margin-top: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #116d60;
  font-size: 9px;
  font-weight: var(--w-strong);
}

.onboarding-form label > span small {
  color: var(--ink-600);
  font-size: 10px;
  font-weight: var(--w-display);
}

.onboarding-form label > small {
  color: var(--ink-600);
  font-size: 9px;
  font-weight: var(--w-display);
}

.pathway-choice {
  margin: 0;
  padding: 0;
  border: 0;
}

.pathway-choice legend {
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 13px;
  font-weight: var(--w-strong);
}

.pathway-choice > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pathway-choice button {
  min-height: 112px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink-800);
  background: var(--surface);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pathway-choice button > span {
  margin-bottom: auto;
  color: #9aa3b2;
  font-size: 8px;
  font-weight: var(--w-strong);
}

.pathway-choice button strong {
  color: var(--heading);
  font-size: 11px;
}

.pathway-choice button small {
  color: var(--ink-600);
  font-size: 8px;
  line-height: 1.3;
}

.pathway-choice button.is-selected {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: var(--blue-100);
  box-shadow: 0 0 0 3px rgba(22, 75, 184, 0.08);
}

@media (max-width: 1220px) {
  .platform-shell {
    --platform-sidebar: 236px;
    --platform-context: 278px;
  }

  .opportunity-grid,
  .member-directory-grid {
    grid-template-columns: 1fr;
  }

  .platform-context {
    padding: 14px;
  }
}

@media (max-width: 1000px) {
  .auth-page {
    padding: 20px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-story {
    min-height: 410px;
  }

  .auth-story__copy {
    padding: 60px 0;
  }

  .platform-shell {
    --platform-sidebar: 224px;
    grid-template-columns: var(--platform-sidebar) minmax(0, 1fr);
  }

  .platform-context {
    display: none;
  }

  .platform-stage {
    border-right: 0;
  }

  .onboarding-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .onboarding-intro {
    position: static;
    max-width: 700px;
  }
}

@media (max-width: 720px) {
  .auth-page {
    padding: 0;
    place-items: stretch;
  }

  .auth-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .auth-story {
    min-height: 340px;
    padding: 28px;
  }

  .auth-story__copy {
    padding: 55px 0 35px;
  }

  .auth-story__copy h1 {
    font-size: clamp(2.3rem, 4vw, 3.35rem);
  }

  .auth-story__copy p {
    font-size: 14px;
  }

  .auth-story__proof {
    display: none;
  }

  .auth-card {
    padding: 44px 28px 60px;
  }

  .platform-shell {
    display: block;
  }

  .platform-sidebar {
    position: sticky;
    z-index: 30;
    width: 100%;
    height: auto;
    min-height: 74px;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .platform-sidebar .platform-brand {
    margin: 0;
  }

  .platform-sidebar .platform-brand > span,
  .platform-sidebar__label,
  .channel-nav,
  .platform-sidebar__member > span:nth-child(2) {
    display: none;
  }

  .platform-main-nav {
    display: flex;
    justify-content: center;
  }

  .platform-main-nav button {
    width: auto;
    min-height: 40px;
  }

  .platform-sidebar__member {
    margin: 0;
    padding: 0;
    display: flex;
    border: 0;
  }

  .platform-sidebar__member .member-avatar {
    display: none;
  }

  .platform-stage {
    min-height: calc(100vh - 74px);
  }

  .platform-topbar {
    min-height: 146px;
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

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

  .mobile-channel-picker {
    max-width: 100%;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--blue-700);
  }

  .mobile-channel-picker select {
    min-height: 38px;
    padding: 7px 34px 7px 10px;
    font-size: 11px;
    font-weight: var(--w-medium);
  }

  .chat-panel {
    height: calc(100vh - 274px);
  }

  .collaboration-board {
    height: calc(100vh - 220px);
  }

  .message-list {
    padding: 22px 17px;
  }

  .message-composer {
    padding: 11px 13px 15px;
  }

  .collaboration-board {
    padding: 15px;
  }

  .opportunity-form-wrap {
    padding: 0;
    place-items: end stretch;
  }

  .opportunity-form {
    width: 100%;
    max-height: 92vh;
    padding: 25px 20px 32px;
    border-radius: 24px 24px 0 0;
  }

  .onboarding-topbar,
  .onboarding-layout {
    width: min(calc(100% - 32px), 1180px);
  }

  .onboarding-topbar > span {
    display: none;
  }

  .onboarding-layout {
    padding: 42px 0 65px;
  }

  .onboarding-intro {
    padding-top: 0;
  }

  .onboarding-intro h1 {
    font-size: clamp(2.3rem, 4vw, 3.35rem);
  }

  .onboarding-form {
    padding: 25px 20px;
  }

  .pathway-choice > div {
    grid-template-columns: 1fr;
  }

  .pathway-choice button {
    min-height: 86px;
  }
}

/* ── Latest-news popup ───────────────────────────────────────────────────── */

.news-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 20, 47, 0.62);
  backdrop-filter: blur(6px);
  animation: news-popup-fade 220ms ease both;
}

.news-popup {
  position: relative;
  width: min(100%, 560px);
  max-height: min(88vh, 860px);
  overflow-y: auto;
  border-radius: var(--radius-large);
  color: var(--white);
  background:
    radial-gradient(
      120% 90% at 100% 0%,
      rgba(22, 75, 184, 0.55) 0%,
      transparent 58%
    ),
    var(--navy-950);
  box-shadow: 0 34px 90px rgba(4, 20, 47, 0.45);
  animation: news-popup-rise 260ms cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.news-popup__grip {
  display: none;
}

.news-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.news-popup__close:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
}

.news-popup__header {
  padding: 30px 30px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.news-popup__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid rgba(244, 198, 95, 0.4);
  border-radius: 999px;
  color: var(--signal-500);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.news-popup__headline {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.news-popup__date {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  align-content: center;
  width: 74px;
  padding: 10px 0 12px;
  border: 1px solid rgba(244, 198, 95, 0.35);
  border-radius: 18px;
  background: rgba(244, 198, 95, 0.1);
}

.news-popup__date span {
  color: var(--signal-500);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.14em;
}

.news-popup__date strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.news-popup h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.news-popup__headline p {
  margin: 7px 0 0;
  color: #b7c6de;
  font-size: 14px;
  line-height: 1.5;
}

.news-popup__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.news-popup__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d6e0ef;
  font-size: 12px;
  font-weight: var(--w-medium);
}

.news-popup__meta svg {
  color: var(--aqua-500);
}

.news-popup__body {
  padding: 24px 30px 28px;
}

.news-popup__lead {
  margin: 0 0 20px;
  color: #c3d1e6;
  font-size: 13px;
  line-height: 1.6;
}

.news-popup__body .eyebrow-label {
  margin-bottom: 10px;
  color: var(--signal-300);
}

.news-popup__actions {
  margin-top: 18px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-popup__actions .text-link {
  color: var(--aqua-200);
  font-size: 13px;
}

.news-popup__later {
  padding: 6px 2px;
  border: 0;
  color: #93a4bd;
  background: none;
  font-size: 13px;
  font-weight: var(--w-medium);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-popup__later:hover {
  color: var(--white);
}

@keyframes news-popup-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes news-popup-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes news-popup-sheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

/* Phones get a bottom sheet — a centred modal puts the close button and the
   submit button out of thumb reach. */
@media (max-width: 640px) {
  .news-popup-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .news-popup {
    width: 100%;
    max-height: 90vh;
    border-radius: 26px 26px 0 0;
    animation-name: news-popup-sheet;
  }

  .news-popup__grip {
    position: sticky;
    top: 0;
    z-index: 1;
    display: block;
    width: 42px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
  }

  .news-popup__header {
    padding: 18px 20px 20px;
  }

  .news-popup__body {
    padding: 20px 20px 26px;
  }

  .news-popup h2 {
    font-size: 1.2rem;
  }

  .news-popup__date {
    width: 62px;
  }

  .news-popup__date strong {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-popup-overlay,
  .news-popup {
    animation-duration: 1ms;
    animation-name: news-popup-fade;
  }
}

/* ── Consulting sessions (home) ─────────────────────────────────────────── */

.home-events {
  padding: 84px 0;
  background: var(--paper-100);
}

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

.consulting-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  gap: 18px;
}

.consulting-host {
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(101, 209, 192, 0.18), transparent 46%),
    var(--paper-100);
}

.consulting-host img {
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-small);
}

.consulting-host h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.consulting-host__role {
  margin: 4px 0 20px;
  color: var(--ink-600);
  font-size: 13px;
}

.consulting-host ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.consulting-host li {
  display: flex;
  gap: 10px;
  color: var(--ink-800);
  font-size: 14px;
  line-height: 1.55;
}

.consulting-host li svg {
  flex: none;
  margin-top: 3px;
  color: var(--blue-700);
}

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

.booking-card {
  position: relative;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.booking-card__duration {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 26px;
  color: var(--blue-700);
}

.booking-card__duration strong {
  font-family: var(--font-accent);
  font-size: 46px;
  font-weight: var(--w-accent);
  line-height: var(--lh-display);
}

.booking-card__duration small {
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-card h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.booking-card p {
  margin: 0 0 26px;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.booking-card .button {
  margin-top: auto;
}

/* ── Job and volunteer announcements (/events) ──────────────────────────── */

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

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

.announcement-card {
  min-width: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.announcement-card__kind {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.announcement-card__kind--collaboration {
  background: rgba(101, 209, 192, 0.22);
  color: #0d6b5d;
}

.announcement-card__kind--online {
  background: rgba(101, 209, 192, 0.22);
  color: #0d6b5d;
}

.announcement-card__kind--hybrid {
  background: var(--signal-300);
  color: var(--navy-950);
}

/* .announcement-card__kind--in-person keeps the blue default. */

/* --- Canada AI calendar ------------------------------------------------- */

.ai-calendar-day + .ai-calendar-day {
  margin-top: 40px;
}

.ai-calendar-day__heading {
  margin: 0 0 16px;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
}

.ai-calendar-day__heading small {
  color: var(--ink-600);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Facts read as rows, not pills: these are sentences ("Exact hours not
   confirmed; check the organizer's program"), and a pill around a sentence
   reads as broken. */
.ai-calendar-card__facts {
  margin: 16px 0 24px;
  display: grid;
  gap: 8px;
}

.ai-calendar-card__facts > div {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
}

.ai-calendar-card__facts dt {
  padding-top: 2px;
  color: var(--blue-700);
}

.ai-calendar-card__facts dd {
  margin: 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.6;
}

.ai-calendar-more {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.ai-calendar-more > summary {
  cursor: pointer;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: var(--w-strong);
}

/* Closed calls stay reachable for reference, visibly not on offer. */
.funding-archive {
  margin-top: 34px;
}

.funding-archive[open] > summary {
  margin-bottom: 18px;
}

.funding-archive .funding-card,
.funding-archive .grant-card {
  opacity: 0.62;
}

.funding-archive .grant-list {
  margin-top: 14px;
}

.ai-calendar-more[open] > summary {
  margin-bottom: 30px;
}

.ai-calendar-note,
.ai-calendar-empty {
  margin: 34px 0 0;
  max-width: 78ch;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.75;
}

/* City listings: an internal-linking block on the calendar and city pages. */
.ai-calendar-cities {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.ai-calendar-cities h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ai-calendar-cities > p {
  margin: 0 0 20px;
  max-width: 78ch;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.ai-calendar-cities__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-calendar-cities__list a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--heading);
  font-size: 14px;
  font-weight: var(--w-medium);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-calendar-cities__list a:hover,
.ai-calendar-cities__list a:focus-visible {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-small);
}

.ai-calendar-cities__list svg {
  flex: none;
  color: var(--blue-700);
}

.ai-calendar-cities__list span {
  flex: 1;
  min-width: 0;
}

.ai-calendar-cities__list small {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: var(--w-strong);
}

.announcement-card h3 {
  margin: 18px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.announcement-card__meta {
  margin: 8px 0 0;
  color: var(--ink-600);
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.02em;
}

.announcement-card > p:not(.announcement-card__meta) {
  margin: 14px 0 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.announcement-card__needs {
  margin: 18px 0 26px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.announcement-card__needs li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-100);
  color: var(--ink-800);
  font-size: 12px;
  font-weight: var(--w-medium);
}

.announcement-card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.announcement-submit {
  margin-top: 22px;
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-100);
}

.announcement-submit p:last-of-type {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-600);
  font-size: 14px;
}

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

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

  .consulting-host,
  .booking-card,
  .announcement-card {
    padding: 26px;
  }

  .announcement-submit {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

@media (max-width: 359px) {
  .brand__badge {
    display: none;
  }
}

/* ============================================================
   Pathway learning experience
   /pathways/[pathway]/[area]/[stage]
   Built from the existing brand tokens only. Note that
   --aqua-500 and --signal-500 fail contrast as text on paper,
   so they appear here only on dark surfaces or as fills.
   ============================================================ */

.inner-hero--pathways {
  background: var(--paper-100);
}

.back-link,
.pathway-crumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--ink-600);
  font-size: 13.5px;
}

.back-link {
  width: fit-content;
  text-decoration: none;
}

.back-link:hover,
.pathway-crumbs a:hover {
  color: var(--heading);
}

.pathway-crumbs a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pathway-crumbs a:hover {
  text-decoration: underline;
}

.pathway-crumbs [aria-current="page"] {
  color: var(--ink-600);
}

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

.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Draft-content notice ------------------------------------ */

.pathway-review-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 18px 22px;
  border: 1px solid rgba(244, 198, 95, 0.55);
  border-radius: var(--radius-small);
  background: var(--signal-300);
}

.pathway-review-notice__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--signal-500);
  color: var(--heading);
}

.pathway-review-notice p {
  margin: 0;
  color: var(--heading);
  font-size: 14.5px;
  line-height: 1.7;
}

/* --- Area grid ------------------------------------------------ */

.pathway-area-grid,
.pathway-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pathway-area-card,
.pathway-stage-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.pathway-area-card h3,
.pathway-stage-card h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
  line-height: var(--lh-display);
}

.pathway-area-card p,
.pathway-stage-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.7;
}

.pathway-area-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-small);
  background: var(--blue-100);
  color: var(--blue-700);
}

.pathway-area-card__person {
  color: var(--ink-800);
  font-size: 14px;
  font-style: italic;
}

.pathway-area-card .text-link,
.pathway-stage-card .text-link {
  margin-top: auto;
  padding-top: 8px;
}

.pathway-stage-card__num {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: var(--w-medium);
  letter-spacing: 0.14em;
}

.pathway-stage-card__q {
  color: var(--navy-800) !important;
  font-size: 15.5px !important;
  font-weight: var(--w-medium);
}

.pathway-stage-card__takeaway {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-800) !important;
  font-size: 14px !important;
}

/* --- Scope / boundary note ------------------------------------ */

.pathway-boundary {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--aqua-500);
  border-radius: var(--radius-small);
  background: var(--paper-200);
}

.pathway-boundary__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--aqua-200);
  color: var(--heading);
}

.pathway-boundary strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 15px;
}

.pathway-boundary p {
  margin: 0;
  color: var(--ink-600);
  font-size: 14.5px;
  line-height: 1.7;
}

/* --- Stage layout --------------------------------------------- */

.pathway-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 60px;
}

.pathway-stage-main {
  min-width: 0;
}

.pathway-block {
  margin-bottom: 52px;
}

.pathway-block h2 {
  margin: 14px 0 22px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.pathway-lesson {
  margin: 14px 0 0;
  color: var(--ink-800);
  font-size: 18.5px;
  line-height: 1.75;
}

.pathway-concepts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pathway-concepts li {
  padding-top: 16px;
  border-top: 2px solid var(--blue-600);
}

.pathway-concepts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 15px;
}

.pathway-concepts p {
  margin: 0;
  color: var(--ink-600);
  font-size: 14.5px;
  line-height: 1.7;
}

/* --- Worked example ------------------------------------------- */

.pathway-story {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-200);
}

.pathway-story__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 14px 0 18px;
}

.pathway-story__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 19px;
}

.pathway-story__head strong {
  display: block;
  color: var(--heading);
  font-size: 15.5px;
}

.pathway-story__head span {
  color: var(--ink-600);
  font-size: 13.5px;
}

.pathway-story > p {
  margin: 0;
  color: var(--ink-800);
  font-size: 16px;
  line-height: 1.75;
}

.pathway-source {
  margin: 20px 0 0;
  padding: 20px 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink-800);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.pathway-fiction-note {
  margin: 16px 0 0 !important;
  color: var(--ink-600) !important;
  font-size: 13.5px !important;
  font-style: italic;
}

/* --- Steps ----------------------------------------------------- */

.pathway-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pathway-steps > li {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.pathway-steps > li:last-child {
  border-bottom: 1px solid var(--line);
}

.pathway-steps__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 13.5px;
  font-weight: var(--w-medium);
}

.pathway-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 17px;
}

.pathway-steps > li > div > p {
  margin: 0;
  color: var(--ink-800);
  font-size: 15.5px;
  line-height: 1.7;
}

.pathway-steps__meta {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.pathway-steps__meta > div {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 12px;
}

.pathway-steps__meta dt {
  color: var(--ink-600);
  font-size: 12.5px;
  font-weight: var(--w-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pathway-steps__meta dd {
  margin: 0;
  color: var(--ink-800);
  font-size: 14.5px;
  line-height: 1.65;
}

/* --- Activity --------------------------------------------------- */

.pathway-activity {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.pathway-activity .eyebrow-label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.pathway-activity h3 {
  margin: 12px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
}

.pathway-activity__prompt {
  margin: 12px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--aqua-500);
  color: var(--ink-800);
  font-size: 15.5px;
  line-height: 1.7;
}

.pathway-activity__question {
  margin: 20px 0 16px;
  color: var(--heading);
  font-size: 16.5px;
  font-weight: var(--w-medium);
}

.pathway-activity__options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pathway-activity__option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper-100);
  color: var(--ink-800);
  font-size: 15.5px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.pathway-activity__option:hover {
  border-color: var(--blue-600);
  background: var(--surface);
}

.pathway-activity__option[aria-pressed="true"] {
  border-color: var(--blue-600);
  background: var(--blue-100);
  color: var(--heading);
}

.pathway-activity__marker {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-600);
  font-size: 12.5px;
  font-weight: var(--w-medium);
}

.pathway-activity__option[aria-pressed="true"] .pathway-activity__marker {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.pathway-activity__feedback {
  margin: 10px 0 4px;
  padding: 16px 18px;
  border-radius: var(--radius-small);
  background: var(--paper-200);
  color: var(--ink-800);
  font-size: 14.5px;
  line-height: 1.75;
}

.pathway-activity__note {
  margin: 18px 0 0;
  color: var(--ink-600);
  font-size: 13.5px;
}

/* --- Sidebar ---------------------------------------------------- */

.pathway-stage-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.pathway-side-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pathway-side-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 15.5px;
}

.pathway-side-card p {
  margin: 0 0 12px;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.pathway-side-card p:last-child {
  margin-bottom: 0;
}

.pathway-side-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
}

.pathway-side-card--dark {
  border-color: transparent;
  background: var(--navy-900);
}

.pathway-side-card--dark h3 {
  margin: 10px 0 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
  line-height: var(--lh-display);
}

.pathway-side-card--dark .eyebrow-label {
  color: var(--aqua-500);
}

.pathway-side-card--dark p {
  color: #bdcce3;
}

/* --- Responsive -------------------------------------------------- */

@media (max-width: 1080px) {
  .pathway-stage-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .pathway-stage-side {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .pathway-area-grid,
  .pathway-stage-grid,
  .pathway-concepts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .pathway-area-grid,
  .pathway-stage-grid,
  .pathway-concepts,
  .pathway-stage-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .pathway-area-card,
  .pathway-stage-card,
  .pathway-activity,
  .pathway-story {
    padding: 22px;
  }

  .pathway-steps__meta > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .pathway-steps > li {
    gap: 12px;
  }

  .page-cta__actions {
    width: 100%;
  }

  .page-cta__actions .button {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.pathway-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

/* ============================================================
   Theme toggle — one SVG that morphs sun <-> moon.
   The icon's state follows the <html> theme in CSS (not React state),
   so it is already correct before hydration.
   ============================================================ */

.theme-toggle {
  --toggle-ink: #b86f00;            /* sun: amber, 3.4:1 on white */
  --toggle-halo: rgba(244, 198, 95, 0.28);
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--toggle-ink);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    color 400ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: transparent;
  box-shadow: 0 0 0 4px var(--toggle-halo);
}

.theme-toggle:active {
  transform: translateY(0) scale(0.94);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
}

.theme-toggle__icon {
  overflow: visible;
}

.theme-toggle__disc,
.theme-toggle__shadow,
.theme-toggle__rays {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform 520ms cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity 320ms ease;
}

/* The shadow circle waits just off the top-right corner... */
.theme-toggle__shadow {
  transform: translate(0, 0);
}

/* ...and the rays turn slowly on hover while it is day. */
.theme-toggle:hover .theme-toggle__rays {
  transform: rotate(45deg);
}

/* Night: the disc swells, the shadow slides in to leave a crescent,
   the rays retract and spin away. */
:root[data-theme="dark"] .theme-toggle {
  --toggle-ink: #dbe6f7;
  --toggle-halo: rgba(127, 169, 245, 0.22);
}

:root[data-theme="dark"] .theme-toggle__disc {
  transform: scale(1.75);
}

:root[data-theme="dark"] .theme-toggle__shadow {
  transform: translate(-7px, 3.5px);
}

:root[data-theme="dark"] .theme-toggle__rays {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

/* Same night state when following a dark OS with no explicit choice. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle {
    --toggle-ink: #dbe6f7;
    --toggle-halo: rgba(127, 169, 245, 0.22);
  }

  :root:not([data-theme="light"]) .theme-toggle__disc {
    transform: scale(1.75);
  }

  :root:not([data-theme="light"]) .theme-toggle__shadow {
    transform: translate(-7px, 3.5px);
  }

  :root:not([data-theme="light"]) .theme-toggle__rays {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
  }
}

/* The page reveal: the new theme expands as a circle from the button.
   The coordinates are set on <html> by the toggle just before the switch. */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: theme-reveal 620ms cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes theme-reveal {
  from {
    clip-path: circle(0 at var(--theme-reveal-x, 50%) var(--theme-reveal-y, 0));
  }
  to {
    clip-path: circle(var(--theme-reveal-r, 150%) at var(--theme-reveal-x, 50%) var(--theme-reveal-y, 0));
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle__disc,
  .theme-toggle__shadow,
  .theme-toggle__rays {
    transition: none;
  }

  ::view-transition-new(root) {
    animation: none;
  }
}

/* ---------------------------------------------------------------
   Sponsorship page
   --------------------------------------------------------------- */

.inner-hero--sponsorship {
  background:
    radial-gradient(circle at 92% 0, rgba(101, 209, 192, 0.18), transparent 38%),
    var(--paper-100);
}

.sponsor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.sponsor-reasons {
  padding: 48px 0;
  background: var(--paper-100);
}

.sponsor-reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sponsor-reasons article {
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.sponsor-reasons article > svg {
  color: var(--blue-700);
}

.sponsor-reasons h2 {
  margin: 18px 0 8px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
  line-height: var(--lh-display);
}

.sponsor-reasons p {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.sponsor-tiers {
  background: var(--paper-200);
}

.sponsor-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.sponsor-tier {
  position: relative;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
}

.sponsor-tier--featured {
  border-color: var(--blue-700);
  box-shadow: var(--shadow);
}

.sponsor-tier__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-700);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sponsor-tier h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
  line-height: var(--lh-display);
}

.sponsor-tier__summary {
  min-height: 3.4em;
  margin: 10px 0 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.65;
}

.sponsor-tier__price {
  margin: 22px 0 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.sponsor-tier__price strong {
  color: var(--heading);
  font-family: var(--font-accent);
  font-size: 2.6rem;
  font-weight: var(--w-accent);
  letter-spacing: var(--track-tight);
  line-height: 1;
}

.sponsor-tier__price span {
  color: var(--ink-600);
  font-size: 13px;
  font-weight: var(--w-medium);
}

.sponsor-tier__limit {
  margin: 8px 0 0;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.04em;
}

.sponsor-tier ul {
  margin: 22px 0 26px;
  padding: 20px 0 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.sponsor-tier li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink-800);
  font-size: 14px;
  line-height: 1.55;
}

.sponsor-tier li > svg {
  margin-top: 3px;
  color: var(--blue-700);
}

.sponsor-tier .button {
  margin-top: auto;
}

.sponsor-tiers__note {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.7;
}

.sponsor-inline-link {
  padding: 0;
  border: 0;
  color: var(--blue-700);
  background: none;
  font: inherit;
  font-weight: var(--w-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.sponsor-inquiry {
  background: var(--paper-100);
  scroll-margin-top: 80px;
}

.sponsor-inquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 64px;
}

.sponsor-inquiry__intro h2 {
  margin: 14px 0 12px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.sponsor-inquiry__intro > p {
  margin: 0;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.7;
}

.sponsor-steps {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
  counter-reset: sponsor-step;
}

.sponsor-steps li {
  position: relative;
  padding-left: 46px;
  display: grid;
  gap: 3px;
  counter-increment: sponsor-step;
}

.sponsor-steps li::before {
  content: counter(sponsor-step);
  position: absolute;
  top: -2px;
  left: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 13px;
  font-weight: var(--w-strong);
}

.sponsor-steps strong {
  color: var(--heading);
  font-size: 15px;
}

.sponsor-steps span {
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.6;
}

.sponsor-form {
  padding: 34px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  scroll-margin-top: 90px;
}

.sponsor-form textarea {
  min-height: 110px;
}

.sponsor-form__optional {
  margin-left: 4px;
  color: var(--ink-600);
  font-size: 12px;
  font-style: normal;
  font-weight: var(--w-body);
}

.sponsor-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sponsor-form__error {
  margin: 0;
  padding: 10px 13px;
  border-radius: 10px;
  color: #9b1c1c;
  background: #fdecec;
  font-size: 13px;
  font-weight: var(--w-medium);
}

.sponsor-form__privacy {
  margin: -4px 0 0;
  color: var(--ink-600);
  font-size: 12px;
  text-align: center;
}

.sponsor-form__privacy a {
  color: var(--blue-700);
}

.sponsor-form--done {
  justify-items: start;
  gap: 12px;
}

.sponsor-form__done-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--aqua-500);
}

.sponsor-form--done h3 {
  margin: 8px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
}

.sponsor-form--done p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.7;
}

.sponsor-faq {
  background: var(--paper-200);
}

.sponsor-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.sponsor-faq h2 {
  margin: 14px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.sponsor-faq__list {
  display: grid;
  gap: 10px;
}

.sponsor-faq details {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.sponsor-faq summary {
  color: var(--heading);
  font-size: 15px;
  font-weight: var(--w-strong);
  cursor: pointer;
}

.sponsor-faq details p {
  margin: 10px 0 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sponsor-form__error {
    color: #ffc2b8;
    background: rgba(255, 120, 100, 0.12);
  }
}

:root[data-theme="dark"] .sponsor-form__error {
  color: #ffc2b8;
  background: rgba(255, 120, 100, 0.12);
}

@media (max-width: 1000px) {
  .sponsor-tier-grid,
  .sponsor-reasons__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sponsor-tier-grid {
    gap: 26px;
  }

  .sponsor-tier__summary {
    min-height: 0;
  }

  .sponsor-inquiry__grid,
  .sponsor-faq__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .sponsor-form {
    padding: 22px 18px;
  }

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

  .sponsor-tier {
    padding: 30px 22px 22px;
  }
}

/* ============================================================
   Language toggle — EN / FR segmented switch in the header.
   ============================================================ */

.language-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  height: 42px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-toggle__option {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 100%;
  padding: 0 4px;
  border-radius: 7px;
  color: var(--heading);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

a.language-toggle__option:hover {
  background: var(--line);
  color: inherit;
}

a.language-toggle__option:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.language-toggle__option.is-active {
  background: var(--blue-600);
  color: #fff;
}


/* ---------------------------------------------------------------
   Dark theme fixes for surfaces that hard-code light-theme colours:
   primary buttons (white on --blue-700 is 2.4:1 once that token turns
   pale), the home hero's cream overlay, and text set in navy.
   --------------------------------------------------------------- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .button--primary,
  :root:not([data-theme="light"]) .language-toggle__option.is-active {
    background: #2a5fcf;
  }

  :root:not([data-theme="light"]) .button--primary:hover {
    background: #3a6edc;
  }

  :root:not([data-theme="light"]) .hero-section {
    --heading: #f2f6fc;
    --ink-950: #f2f6fc;
    --ink-800: #ccd8ea;
    --ink-600: #b4c3da;
    --blue-100: #12305f;
    --blue-600: #5b93f0;
    --blue-700: #7fa9f5;
    --surface: #0b1d3b;
    --paper-100: #061227;
    --paper-200: #0a1c37;
    --paper-300: #102848;
    --line: rgba(255, 255, 255, 0.14);
    --outline-bg: rgba(11, 29, 59, 0.72);
    --outline-border: rgba(255, 255, 255, 0.28);
    background: var(--paper-100);
  }

  :root:not([data-theme="light"]) .hero-section__background {
    filter: brightness(0.82);
  }

  :root:not([data-theme="light"]) .hero-section__overlay {
    background:
      linear-gradient(90deg, rgba(6, 18, 39, 0.97) 0%, rgba(6, 18, 39, 0.92) 36%, rgba(6, 18, 39, 0.5) 58%, rgba(6, 18, 39, 0.08) 100%),
      linear-gradient(180deg, rgba(6, 18, 39, 0.25), transparent 65%, rgba(6, 18, 39, 0.7));
  }

  :root:not([data-theme="light"]) .article-lead {
    color: var(--heading);
  }

  :root:not([data-theme="light"]) .pathway-stage-card__q {
    color: var(--ink-800) !important;
  }

  :root:not([data-theme="light"]) .announcement-card__kind--collaboration,
  :root:not([data-theme="light"]) .announcement-card__kind--online {
    color: #7fe0cf;
  }
}

:root[data-theme="dark"] .button--primary,
:root[data-theme="dark"] .language-toggle__option.is-active {
  background: #2a5fcf;
}

:root[data-theme="dark"] .button--primary:hover {
  background: #3a6edc;
}

:root[data-theme="dark"] .hero-section {
  --heading: #f2f6fc;
  --ink-950: #f2f6fc;
  --ink-800: #ccd8ea;
  --ink-600: #b4c3da;
  --blue-100: #12305f;
  --blue-600: #5b93f0;
  --blue-700: #7fa9f5;
  --surface: #0b1d3b;
  --paper-100: #061227;
  --paper-200: #0a1c37;
  --paper-300: #102848;
  --line: rgba(255, 255, 255, 0.14);
  --outline-bg: rgba(11, 29, 59, 0.72);
  --outline-border: rgba(255, 255, 255, 0.28);
  background: var(--paper-100);
}

:root[data-theme="dark"] .hero-section__background {
  filter: brightness(0.82);
}

:root[data-theme="dark"] .hero-section__overlay {
  background:
    linear-gradient(90deg, rgba(6, 18, 39, 0.97) 0%, rgba(6, 18, 39, 0.92) 36%, rgba(6, 18, 39, 0.5) 58%, rgba(6, 18, 39, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 18, 39, 0.25), transparent 65%, rgba(6, 18, 39, 0.7));
}

:root[data-theme="dark"] .article-lead {
  color: var(--heading);
}

:root[data-theme="dark"] .pathway-stage-card__q {
  color: var(--ink-800) !important;
}

:root[data-theme="dark"] .announcement-card__kind--collaboration,
:root[data-theme="dark"] .announcement-card__kind--online {
  color: #7fe0cf;
}

@media (max-width: 700px) {
  :root[data-theme="dark"] .hero-section__overlay {
    background:
      linear-gradient(90deg, rgba(6, 18, 39, 0.96), rgba(6, 18, 39, 0.86) 66%, rgba(6, 18, 39, 0.4)),
      linear-gradient(180deg, transparent 55%, rgba(6, 18, 39, 0.86));
  }
}

@media (max-width: 700px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-section__overlay {
    background:
      linear-gradient(90deg, rgba(6, 18, 39, 0.96), rgba(6, 18, 39, 0.86) 66%, rgba(6, 18, 39, 0.4)),
      linear-gradient(180deg, transparent 55%, rgba(6, 18, 39, 0.86));
  }
}

/* ---------------------------------------------------------------
   International opportunities page
   --------------------------------------------------------------- */

.intl-summary h2,
.intl-list h2 {
  margin: 0 0 16px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.intl-summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-600);
  line-height: 1.7;
}

.intl-updated,
.intl-source {
  margin: 18px 0 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.7;
}

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

.intl-list article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.intl-list__deadline {
  margin: 0;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: var(--w-strong);
}

.intl-list h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: var(--w-display);
  line-height: var(--lh-display);
}

.intl-list article > p:not(.intl-list__deadline) {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.7;
}

.intl-list dl {
  display: grid;
  gap: 6px;
  margin: 4px 0;
  font-size: 13px;
}

.intl-list dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
}

.intl-list dt {
  color: var(--ink-600);
}

.intl-list dd {
  margin: 0;
  color: var(--heading);
}

.intl-list .text-link {
  margin-top: auto;
}

.intl-upcoming__title {
  margin: 36px 0 10px;
  color: var(--heading);
  font-family: var(--font-display);
}

.intl-upcoming {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-600);
  line-height: 1.8;
}

@media (max-width: 760px) {
  .intl-list__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------
   Oct 2026 update: hero proportions, paginated matcher, and the
   guided Plan → Action → Need help pages (/pathways/<slug>/plan).
   --------------------------------------------------------------- */

.hero-section .hero-copy .kicker {
  font-size: clamp(14px, 1.45vw, 19px);
  letter-spacing: 0.1em;
  gap: 10px;
}

.hero-section .hero-copy h1 {
  font-size: clamp(2.9rem, 5.6vw, 5.2rem);
  max-width: 760px;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .hero-section .hero-copy .kicker {
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .hero-section .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 3.3rem);
  }
}

.matcher-steps,
.guide-progress {
  display: flex;
  gap: 6px;
}

.matcher-steps span,
.guide-progress span {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
}

.matcher-steps span.is-done,
.guide-progress span.is-done {
  background: var(--blue-600);
}

.matcher-step-count,
.guide-step-count {
  margin: 8px 0 14px;
  color: var(--ink-600);
  font-size: 13px;
  font-weight: var(--w-medium);
}

.matcher-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.matcher-nav .button--wide {
  flex: 1;
}

/* Guide */
.inner-hero--pathways .inner-hero__grid .button {
  margin-top: 18px;
}

.guide-section {
  padding-top: 40px;
}

.guide {
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.guide-journey {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-journey li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: var(--w-medium);
  text-decoration: none;
}

.guide-journey li a span {
  font-family: var(--font-accent);
  font-style: italic;
}

.guide-journey li + li::before {
  content: none;
}

.guide-journey li.is-current a {
  border-color: var(--blue-600);
  background: var(--blue-100);
  color: var(--blue-700);
}

.guide-layout {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .guide-layout--example {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .guide-example {
    position: sticky;
    top: 110px;
  }
}

.guide-card,
.guide-plan,
.guide-help {
  padding: clamp(20px, 3.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.guide-card fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.guide-card legend {
  margin-bottom: 6px;
  color: var(--heading);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-tight);
  line-height: 1.2;
}

.guide-hint {
  margin: 4px 0 0;
  color: var(--ink-600);
}

.guide-areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.guide-area,
.guide-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-100);
  color: var(--ink-950);
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.guide-area:hover,
.guide-option:hover {
  border-color: var(--blue-600);
}

.guide-area.is-selected,
.guide-option.is-selected {
  border-color: var(--blue-600);
  background: var(--blue-100);
}

.guide-area {
  flex-direction: column;
  align-items: flex-start;
  min-height: 108px;
}

.guide-area__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
}

.guide-area__check {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--blue-600);
}

.guide-options {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.guide-option__dot {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--outline-border);
  border-radius: 50%;
  color: #fff;
}

.guide-option.is-selected .guide-option__dot {
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.guide-title-field {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  color: var(--ink-800);
  font-size: 14px;
  font-weight: var(--w-medium);
}

.guide-title-field input {
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper-100);
  color: var(--ink-950);
  font: inherit;
  font-size: 16px;
}

.guide-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.guide-nav .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.guide-privacy {
  margin: 16px 0 0;
  color: var(--ink-600);
  font-size: 12.5px;
}

.guide-example {
  padding: 22px;
  border: 1px dashed var(--blue-600);
  border-radius: var(--radius-large);
  background: var(--blue-100);
}

.guide-example__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-example p {
  margin: 10px 0;
  color: var(--ink-950);
  font-family: var(--font-accent);
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
}

.guide-example small {
  color: var(--ink-600);
}

/* Plan */
.guide-plan {
  display: grid;
  gap: 24px;
}

.guide-plan h2 {
  margin: 6px 0 4px;
  color: var(--heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.guide-plan h2 em {
  display: block;
  font-size: 0.8em;
}

.guide-plan h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1.3rem;
}

.guide-plan__start,
.guide-plan__muted {
  margin: 0;
  color: var(--ink-600);
}

.guide-plan__goal {
  padding: 22px;
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
  background: var(--blue-100);
}

.guide-plan__label {
  color: var(--blue-700);
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-plan__goal p {
  margin: 8px 0;
  color: var(--ink-950);
  font-size: 1.15rem;
  line-height: 1.45;
}

.guide-plan__date {
  color: var(--ink-600);
  font-size: 14px;
}

.guide-actions {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: act;
}

.guide-actions li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.guide-actions__when {
  color: var(--blue-700);
  font-weight: var(--w-strong);
}

.guide-actions p {
  margin: 0;
  color: var(--ink-800);
}

@media (max-width: 600px) {
  .guide-actions li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.guide-plan__choices summary {
  color: var(--heading);
  font-weight: var(--w-medium);
  cursor: pointer;
}

.guide-plan__choices dl {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.guide-plan__choices dt {
  color: var(--ink-600);
  font-size: 14px;
}

.guide-plan__choices dd {
  margin: 2px 0 0;
  color: var(--ink-950);
}

.guide-plan__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.guide-help h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--heading);
  font-size: 1.4rem;
}

.guide-help > p {
  color: var(--ink-600);
}

.guide-help__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0 22px;
}

.guide-help__card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-100);
  color: var(--ink-800);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.guide-help__card:hover {
  border-color: var(--blue-600);
  transform: translateY(-2px);
}

.guide-help__card svg {
  color: var(--blue-600);
}

.guide-help__card strong {
  color: var(--heading);
}

.guide-help__card span {
  font-size: 14px;
}

.guide-help__card em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--blue-700);
  font-size: 14px;
  font-style: normal;
  font-weight: var(--w-medium);
}

@media print {
  .site-header,
  .site-footer,
  .inner-hero,
  .guide-journey,
  .no-print {
    display: none !important;
  }

  .guide-plan {
    border: 0;
    box-shadow: none;
  }
}

/* Oct 11: Laura's community line is the hero headline. */
.hero-section .hero-copy h1.hero-title--community {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 820px;
}

@media (max-width: 600px) {
  .hero-section .hero-copy h1.hero-title--community {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }
}

/* Oct 11: "Canada" in the wordmark takes the flyer's red. */
:root {
  --canada-red: #d42a36;
}

:root[data-theme="dark"] {
  --canada-red: #ff5c66;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canada-red: #ff5c66;
  }
}

.site-header .brand__type span {
  color: var(--canada-red);
}

/* Laura's mission line: a short readable statement, not a giant headline */
.community-story .community-story__lead h2 {
  max-width: 34ch;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}

/* Understand AI plan: tailored lines, area ideas, self check */
.guide-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.guide-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-700, var(--heading));
  line-height: 1.5;
}
.guide-list svg {
  margin-top: 4px;
  color: var(--canada-red, #d42a36);
}
.guide-list__box {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  opacity: 0.6;
}
.guide-watch {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--canada-red, #d42a36);
  border-radius: 6px;
  background: color-mix(in srgb, var(--canada-red, #d42a36) 7%, transparent);
  line-height: 1.5;
}

.announcement-submit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Finished events leave the live listings by date and are archived here. */
.ai-calendar-past {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.ai-calendar-past > p {
  max-width: 70ch;
  color: var(--ink-600);
  font-size: 14px;
}

.ai-calendar-past .ai-calendar-more {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}

.auth-input-wrap--password input {
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--blue-600);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  background: var(--paper-100);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

/* "Our events" month calendar on /events: AiNetworking-Canada's own events. */
.our-calendar__nav {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.our-calendar__nav h3 {
  margin: 0;
  color: var(--heading);
  text-transform: capitalize;
}

.our-calendar__arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 31, 75, 0.16);
  border-radius: 999px;
  color: var(--heading);
  background: var(--surface);
  cursor: pointer;
}

.our-calendar__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.our-calendar__grid .week-grid__cell {
  min-height: 96px;
}

.our-calendar__grid .week-grid__cell.is-outside {
  visibility: hidden;
}

.our-calendar__grid .week-grid__chip.is-ours {
  color: #fff;
  background: #d42a36;
}

.our-calendar__grid .week-grid__chip.is-ours:hover,
.our-calendar__grid .week-grid__chip.is-ours:focus-visible {
  background: #b01f2a;
}

.our-calendar__empty {
  margin: 14px 0 0;
  color: var(--ink-600);
}

/* Stacked phone layout: keep a day that has one of our events, even once it
   is over, so the month never looks blank when it is not. */
@container (max-width: 720px) {
  .our-calendar__grid .week-grid__cell.is-past:not(.is-empty) {
    display: flex;
  }

  .our-calendar__grid .week-grid__cell.is-outside {
    display: none;
  }
}

.blog-card--guide .blog-card__category,
.blog-card__category--guide {
  background: var(--signal-300);
  color: var(--navy-950);
}

.inner-hero__guide-link {
  display: block;
  margin-top: 0.85rem;
  color: inherit;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.community-numbers__grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.community-numbers__grid > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.community-numbers__grid dd {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
}

.community-numbers__grid .is-accent dd {
  color: var(--canada-red, #d42a36);
}

.community-numbers__grid dt {
  color: var(--heading);
  opacity: 0.72;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .community-numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .community-numbers__grid > div {
    padding: 16px;
  }
}

/* Nov 2: /events view switch. "Our events" hides the Canada-wide calendar;
   "All AI events" brings it to the top. Sections opt in with data-scope. */
.events-switch-bar {
  position: sticky;
  top: var(--events-switch-top, 82px);
  z-index: 40;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.events-switch-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.events-switch-bar__label {
  color: var(--ink-600);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-200);
}

.events-switch__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 0;
  border-radius: 12px;
  color: var(--ink-600);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.events-switch__option:hover {
  color: var(--heading);
}

.events-switch__option:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.events-switch__option.is-active {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 8px 22px rgba(7, 31, 75, 0.22);
}

.events-switch__option.is-active svg {
  color: var(--signal-500);
}

.events-switch__text {
  display: grid;
  line-height: 1.2;
}

.events-switch__text strong {
  font-size: 14px;
  font-weight: var(--w-strong);
}

.events-switch__text small {
  font-size: 12px;
  opacity: 0.75;
}

.events-views {
  display: flex;
  flex-direction: column;
}

.events-views[data-view="ours"] [data-scope="all"],
.events-views[data-view="all"] [data-scope="ours"] {
  display: none;
}

.events-views[data-view="all"] #two-week-calendar {
  order: -1;
}

/* Up next: one card per upcoming own event, right under the switch. */
.events-upnext {
  padding-bottom: 24px;
}

.events-upnext__heading {
  margin-bottom: 26px;
}

.events-upnext__heading h2 {
  margin-top: 10px;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
}

.events-upnext__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.upnext-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(35, 100, 218, 0.32), transparent 40%),
    var(--navy-950);
  box-shadow: 0 24px 60px rgba(7, 31, 75, 0.18);
}

.upnext-card__poster {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-900);
}

.upnext-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 300ms ease;
}

.upnext-card:hover .upnext-card__poster img {
  transform: scale(1.03);
}

.upnext-card__body {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px 26px 8px;
}

.upnext-card__date {
  display: grid;
  place-items: center;
  align-content: center;
  height: 72px;
  border: 1px solid rgba(244, 198, 95, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.upnext-card__date span {
  color: var(--signal-500);
  font-size: 12px;
  font-weight: var(--w-strong);
  letter-spacing: 0.12em;
}

.upnext-card__date strong {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.upnext-card__kind {
  color: var(--signal-300);
  font-size: 11px;
  font-weight: var(--w-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upnext-card h3 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: var(--w-display);
  letter-spacing: var(--track-display);
  line-height: 1.15;
}

.upnext-card__meta {
  color: #b4c4db;
  font-size: 14px;
}

.upnext-card__actions {
  margin-top: auto;
  padding: 18px 26px 26px;
}

@media (max-width: 760px) {
  .events-switch-bar {
    top: var(--events-switch-top, 68px);
    padding: 10px 0;
  }

  .events-switch-bar__label {
    display: none;
  }

  .events-switch {
    width: 100%;
  }

  .events-switch__option {
    padding: 8px 10px;
    gap: 8px;
  }

  .events-switch__option svg {
    display: none;
  }

  .events-switch__text strong {
    font-size: 13px;
  }

  .events-switch__text small {
    font-size: 11px;
  }

  .upnext-card__body {
    padding: 20px 20px 6px;
  }

  .upnext-card__actions {
    padding: 16px 20px 22px;
  }
}

.events-upnext + .our-events {
  padding-top: 64px;
}

/* Anchors (#nov-12-conference) land below the sticky header and switch. */
.events-views section {
  scroll-margin-top: 160px;
}

/* Nov 8 prototype: Tell your story (home teaser + /tell-your-story). */
:root {
  --st-understanding: var(--blue-600);
  --st-leadership: var(--canada-red, #d42a36);
  --st-project: var(--navy-800);
  --st-community: #1f9e8a;
}
.st-hero, .st-teaser {
  position: relative; overflow: hidden; overflow: clip; color: var(--white);
  background:
    radial-gradient(600px 400px at 90% 110%, rgba(212, 42, 54, 0.32), transparent 70%),
    radial-gradient(500px 360px at 0% -10%, rgba(35, 100, 218, 0.35), transparent 70%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.st-hero { padding: 88px 0 96px; }
.st-hero__grid, .st-teaser__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.st-kicker { color: var(--signal-300) !important; }
.st-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.03; letter-spacing: -0.02em; margin: 18px 0; color: var(--white); }
.st-teaser h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; margin: 16px 0 12px; color: var(--white); }
.st-hero p, .st-teaser p { color: rgba(255, 255, 255, 0.82); font-size: 1.12rem; max-width: 540px; }
.st-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.st-social { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.st-social strong { color: var(--white); }
.st-stack { display: flex; }
.st-stack .st-avatar { margin-left: -10px; box-shadow: 0 0 0 3px var(--navy-900); }
.st-stack .st-avatar:first-child { margin-left: 0; }

.st-avatar {
  display: inline-grid; place-items: center; flex: none; border-radius: 50%;
  color: var(--white); font-weight: 700; letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--st-c, var(--navy-800)), color-mix(in srgb, var(--st-c, var(--navy-800)) 55%, #000));
}
.st-avatar--sm { width: 34px; height: 34px; font-size: 0.72rem; }
.st-avatar--md { width: 42px; height: 42px; font-size: 0.85rem; }
.st-avatar--lg { width: 56px; height: 56px; font-size: 1rem; }
.st-avatar--understanding, .st-chip--understanding, .st-card--understanding, .st-theme--understanding, .st-modal--understanding, .st-fan__card--understanding { --st-c: var(--st-understanding); }
.st-avatar--leadership, .st-chip--leadership, .st-card--leadership, .st-theme--leadership, .st-modal--leadership, .st-fan__card--leadership { --st-c: var(--st-leadership); }
.st-avatar--project, .st-chip--project, .st-card--project, .st-theme--project, .st-modal--project, .st-fan__card--project { --st-c: var(--st-project); }
.st-avatar--community, .st-chip--community, .st-card--community, .st-theme--community, .st-modal--community, .st-fan__card--community { --st-c: var(--st-community); }

.st-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--st-c); background: color-mix(in srgb, var(--st-c) 11%, transparent);
}
.st-pending { font-size: 0.74rem; font-weight: 600; background: var(--signal-300); color: var(--navy-950); padding: 4px 10px; border-radius: 999px; }

/* Featured story */
.st-feature {
  position: relative; background: var(--surface); color: var(--ink-950);
  border-radius: 28px; padding: 34px 34px 28px;
  box-shadow: 16px 16px 0 var(--canada-red), 0 40px 90px rgba(0, 0, 0, 0.35);
  transform: rotate(1.2deg);
}

.st-feature__label { display: inline-flex; gap: 6px; align-items: center; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--canada-red); }
.st-feature__mark { color: var(--canada-red); opacity: 0.18; margin-top: 10px; }
.st-feature__quote { font-size: clamp(1.4rem, 2.4vw, 1.85rem) !important; line-height: 1.25; font-weight: 700; color: var(--heading) !important; margin: 4px 0 10px; letter-spacing: -0.01em; }
.st-feature__title { color: var(--ink-600) !important; font-size: 1rem !important; margin: 0 0 22px; }
.st-feature__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.st-feature .text-link { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; }

.st-author { display: flex; gap: 12px; align-items: center; min-width: 0; }
.st-author strong { display: block; color: var(--heading); font-size: 0.95rem; }
.st-author small { display: inline-flex; align-items: center; gap: 3px; flex-wrap: wrap; color: var(--ink-600); font-size: 0.82rem; }

/* Gallery */
.st-gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.st-gallery h2, .st-share h2 { color: var(--heading); font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.02em; margin: 0; }
.st-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--paper-200); border: 1px solid var(--line); }
.st-tab {
  display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--ink-800);
  border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.st-tab:hover { background: var(--surface); }
.st-tab[aria-pressed="true"] { background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-small); }
.st-tab__count { font-size: 0.72rem; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: rgba(7, 31, 75, 0.08); }
.st-tab[aria-pressed="true"] .st-tab__count { background: rgba(255, 255, 255, 0.18); }

.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.st-grid > div { display: flex; }
.st-grid__wide { grid-column: span 2; }
.st-grid__wide .st-card__quote { font-size: 1.55rem; }

.st-card {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px;
  box-shadow: var(--shadow-small); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  overflow: hidden;
}
.st-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--st-c); }
.st-card:hover, .st-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--st-c) 40%, transparent); }
.st-card--pending { border-style: dashed; }
.st-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.st-card__quote { position: relative; margin: 0; font-size: 1.2rem; line-height: 1.32; font-weight: 700; color: var(--heading); letter-spacing: -0.01em; }
.st-card__mark { color: var(--st-c); display: block; margin-bottom: 8px; }
.st-card__title { margin: 0; font-size: 0.95rem; font-weight: 500; }
.st-card__open { all: unset; cursor: pointer; color: var(--ink-600); }
.st-card__open::after { content: ""; position: absolute; inset: 0; }
.st-card__open:focus-visible { outline: none; }
.st-card:has(.st-card__open:focus-visible) { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.st-card .st-author { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.st-card__more {
  position: absolute; right: 22px; bottom: 30px; display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.82rem; font-weight: 600; color: var(--st-c); opacity: 0; transform: translateX(-6px); transition: 0.25s;
}
.st-card:hover .st-card__more { opacity: 1; transform: none; }

/* Modal */
.st-modal {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0;
  border-radius: 28px; background: var(--surface); color: var(--ink-950); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}
.st-modal::backdrop { background: rgba(4, 20, 47, 0.62); backdrop-filter: blur(4px); }
.st-modal[open] { animation: st-pop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
@keyframes st-pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.st-modal__inner { padding: 30px 34px 28px; border-top: 6px solid var(--st-c); }
.st-modal__bar { display: flex; justify-content: space-between; align-items: center; }
.st-modal__mark { color: var(--st-c); opacity: 0.25; margin-top: 18px; }
.st-modal__quote { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25; font-weight: 700; color: var(--heading); margin: 4px 0 16px; letter-spacing: -0.01em; }
.st-modal h2 { font-size: 1.05rem; color: var(--ink-600); font-weight: 600; margin: 0 0 10px; }
.st-modal__body { font-size: 1.05rem; line-height: 1.65; color: var(--ink-800); margin: 0 0 26px; }
.st-modal__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.st-modal__nav { display: flex; gap: 8px; }
.st-icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer; transition: 0.2s;
}
.st-icon-btn:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* Share wizard */
.st-share { background: var(--paper-200); }
.st-share__head { max-width: 620px; margin-bottom: 34px; }
.st-share__head h2 { margin: 12px 0 10px; }
.st-share__head p { color: var(--ink-800); margin: 0; }
.st-wizard { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 32px; align-items: start; }
.st-form {
  display: grid; gap: 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; padding: 30px; box-shadow: var(--shadow);
}
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.st-steps button { all: unset; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--ink-600); }
.st-steps button:disabled { cursor: default; }
.st-steps__dot {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  border: 2px solid var(--line); font-size: 0.82rem; transition: 0.2s;
}
.st-steps .is-current button { color: var(--heading); }
.st-steps .is-current .st-steps__dot { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }
.st-steps .is-done .st-steps__dot { border-color: var(--st-community); background: var(--st-community); color: var(--white); }
.st-progress { height: 4px; border-radius: 4px; background: var(--paper-300); overflow: hidden; margin-top: -8px; }
.st-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-800), var(--canada-red)); transition: width 0.4s ease; }

.st-fields { display: grid; gap: 18px; animation: st-fade 0.3s ease; }
@keyframes st-fade { from { opacity: 0; transform: translateX(10px); } }
.st-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-field { display: grid; gap: 7px; }
.st-field > span, .st-themes legend { font-weight: 600; font-size: 0.92rem; color: var(--heading); }
.st-field input, .st-field textarea {
  font: inherit; padding: 13px 15px; width: 100%; border-radius: 14px; resize: vertical;
  border: 1.5px solid var(--line); background: var(--paper-100); color: var(--ink-950); transition: 0.2s;
}
.st-field input:focus, .st-field textarea:focus { outline: none; border-color: var(--blue-600); background: var(--surface); box-shadow: 0 0 0 4px rgba(35, 100, 218, 0.14); }

.st-switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; color: var(--heading); font-size: 0.92rem; }
.st-switch input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.st-switch__track { width: 44px; height: 26px; border-radius: 999px; background: var(--paper-300); position: relative; transition: 0.2s; flex: none; }
.st-switch__track span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: 0.2s; }
.st-switch input:checked + .st-switch__track { background: var(--navy-800); }
.st-switch input:checked + .st-switch__track span { transform: translateX(18px); }
.st-switch input:focus-visible + .st-switch__track { outline: 3px solid var(--blue-600); outline-offset: 2px; }

.st-themes { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.st-themes legend { margin-bottom: 10px; }
.st-theme {
  position: relative; display: grid; gap: 10px; padding: 14px; border-radius: 16px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper-100); color: var(--ink-800); font-size: 0.86rem; font-weight: 600; line-height: 1.3; transition: 0.2s;
}
.st-theme svg { color: var(--st-c); }
.st-theme input { position: absolute; opacity: 0; }
.st-theme:hover { border-color: color-mix(in srgb, var(--st-c) 50%, transparent); }
.st-theme:has(input:checked) { border-color: var(--st-c); background: color-mix(in srgb, var(--st-c) 9%, var(--surface)); color: var(--heading); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-c) 16%, transparent); }
.st-theme:has(input:focus-visible) { outline: 3px solid var(--blue-600); outline-offset: 2px; }

.st-sparks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--signal-500); }
.st-sparks button {
  border: 1px dashed var(--outline-border); background: transparent; color: var(--ink-800);
  border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 0.8rem; cursor: pointer; transition: 0.2s;
}
.st-sparks button:hover { border-style: solid; border-color: var(--canada-red); color: var(--canada-red); }
.st-count { display: flex; align-items: center; gap: 10px; }
.st-count__bar { flex: 1; height: 3px; background: var(--paper-300); border-radius: 3px; overflow: hidden; }
.st-count__bar span { display: block; height: 100%; background: var(--blue-600); transition: width 0.2s; }
.st-count small { color: var(--ink-600); font-size: 0.78rem; }

.st-review .st-card { box-shadow: none; }
.st-consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--paper-100); border: 1px solid var(--line); cursor: pointer; color: var(--ink-800); font-size: 0.92rem; }
.st-consent input { width: 18px !important; height: 18px !important; min-height: 0 !important; padding: 0 !important; box-shadow: none !important; margin-top: 2px; accent-color: var(--navy-800); flex: none; }
.st-form__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.st-form__actions .button:disabled { opacity: 0.45; cursor: not-allowed; }
.st-note { font-size: 0.8rem; color: var(--ink-600); margin: -6px 0 0; }

.st-live { position: sticky; top: 110px; display: grid; gap: 12px; }
.st-live__label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-600); }
.st-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--canada-red); animation: st-pulse 1.6s infinite; }
@keyframes st-pulse { 50% { opacity: 0.3; } }
.st-live .st-card { pointer-events: none; }

.st-done { text-align: center; max-width: 560px; margin: 0 auto; padding: 48px 32px; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); animation: st-pop 0.35s ease; }
.st-done__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, var(--st-community) 14%, transparent); color: var(--st-community); }
.st-done h3 { font-size: 1.6rem; color: var(--heading); margin: 18px 0 8px; }
.st-done p { color: var(--ink-800); margin: 0; }
.st-done__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Home teaser fan */
.st-teaser { padding: 96px 0; }
.st-fan { list-style: none; margin: 0; padding: 0; position: relative; min-height: 480px; }
.st-fan__card {
  position: absolute; width: min(400px, 88%); background: var(--surface); color: var(--ink-950);
  border-radius: 22px; padding: 22px 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  border-top: 5px solid var(--st-c); transition: transform 0.35s ease;
}
.st-fan__card:nth-child(1) { top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.st-fan__card:nth-child(2) { top: 155px; right: 0; transform: rotate(3deg); z-index: 2; }
.st-fan__card:nth-child(3) { top: 310px; left: 8%; transform: rotate(-1.5deg); z-index: 3; }
.st-fan:hover .st-fan__card:nth-child(1) { transform: rotate(-6deg) translateY(-8px); }
.st-fan:hover .st-fan__card:nth-child(2) { transform: rotate(5deg) translateX(8px); }
.st-fan__mark { color: var(--st-c); }
.st-fan__card p { margin: 8px 0 12px !important; font-size: 1.08rem !important; font-weight: 700; line-height: 1.32; color: var(--heading) !important; }
.st-fan__card span { display: inline-flex; align-items: center; gap: 4px; font-size: 0.84rem; color: var(--ink-600); }
.st-fan__card strong { color: var(--heading); margin-right: 4px; }

@media (max-width: 1000px) {
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-wizard { grid-template-columns: 1fr; }
  .st-live { position: static; }
  .st-themes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .st-hero__grid, .st-teaser__grid { grid-template-columns: 1fr; gap: 44px; }
  .st-hero { padding: 60px 0 72px; }
  .st-feature { transform: none; margin-right: 16px; }
}
@media (max-width: 640px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-grid__wide { grid-column: auto; }
  .st-grid__wide .st-card__quote { font-size: 1.2rem; }
  .st-row { grid-template-columns: 1fr; }
  .st-form { padding: 22px 18px; border-radius: 22px; }
  .st-steps__label { display: none; }
  .st-steps .is-current .st-steps__label { display: inline; }
  .st-steps { grid-template-columns: auto auto 1fr; }
  .st-tabs { border-radius: 18px; }
  .st-fan { min-height: 0; display: grid; gap: 14px; }
  .st-fan__card { position: static; width: auto; transform: none !important; }
  .st-modal__inner { padding: 24px 20px; }
  .st-modal__foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .st-card, .st-fan__card, .st-modal[open], .st-fields, .st-live__dot { transition: none; animation: none; }
}

/* Red notice when an own event's time changed after launch. */
.time-change-notice {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.85rem;
  border-left: 4px solid var(--canada-red);
  border-radius: 6px;
  background: color-mix(in srgb, var(--canada-red) 12%, transparent);
  color: var(--canada-red);
  font-weight: 700;
  line-height: 1.4;
}

/* Tell your story: empty state (no published stories yet). */
.st-feature--prompts { display: grid; gap: 18px; }
.st-hero-prompts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-hero-prompts li {
  display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 1.12rem; font-weight: 700; color: var(--heading); line-height: 1.3;
}
.st-hero-prompts li:last-child { border-bottom: 0; }
.st-hero-prompts li span { font-size: 0.8rem; font-weight: 700; color: var(--canada-red); letter-spacing: 0.06em; }
.st-feature--prompts .button { justify-self: start; }
.st-empty {
  display: grid; justify-items: center; text-align: center; gap: 12px;
  padding: 56px 24px; border: 2px dashed var(--line); border-radius: 28px; background: var(--surface);
}
.st-empty__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--canada-red) 12%, transparent); color: var(--canada-red); }
.st-empty h3 { margin: 6px 0 0; font-size: 1.5rem; color: var(--heading); }
.st-empty p { margin: 0 0 8px; color: var(--ink-800); max-width: 460px; }
.st-teaser .st-fan__card p { font-size: 1.2rem !important; }
.st-hint { color: var(--ink-600); font-size: 0.8rem; }
.st-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--canada-red) 10%, transparent); color: var(--canada-red); font-size: 0.9rem; font-weight: 600; }
.st-error a { color: inherit; }
