/* ---- self-hosted webfonts (SIL Open Font License 1.1) ----
   Fraunces, Inter — variable woff2, latin + latin-ext.
   Files live in /assets/fonts, shared by all four directions. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---- end webfonts */

/* ==========================================================================
   SPG Leaders — Design System
   Network. Learn. Grow.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — derived from the SPG arc mark */
  --blue-700: #14539f;
  --blue-600: #1b6ac9;
  --blue-500: #2b82e0;
  --blue-400: #59a1ee;
  --blue-100: #e3eefc;
  --blue-50:  #f1f7fe;

  --amber-500: #f2b01e;
  --amber-400: #ffc84a;
  --amber-100: #fdf1d6;

  --coral-500: #e4573d;
  --coral-100: #fbe6e1;

  /* Neutrals */
  --ink-900: #08111d;
  --ink-800: #0d1b2c;
  --ink-700: #14273d;
  --ink-600: #1e344f;
  --slate-700: #33475f;
  --slate-500: #5a6a80;
  --slate-400: #7d8ba0;
  --line: rgba(8, 17, 29, 0.10);
  --line-soft: rgba(8, 17, 29, 0.06);
  --paper: #ffffff;
  --sand: #f6f6f3;
  --sand-2: #eeeeea;

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--ink-900);
  --fg-muted: var(--slate-500);
  --accent: var(--blue-600);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1:  clamp(1.18rem, 1.1rem + 0.36vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.4vw, 2.7rem);
  --step-4:  clamp(2.2rem, 1.6rem + 2.6vw, 3.9rem);
  --step-5:  clamp(2.7rem, 1.7rem + 4.2vw, 5.4rem);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 8vw, 8.5rem);
  --container: 1240px;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-full: 999px;

  --shadow-xs: 0 1px 2px rgba(8, 17, 29, 0.06);
  --shadow-sm: 0 2px 8px rgba(8, 17, 29, 0.06), 0 1px 2px rgba(8, 17, 29, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(8, 17, 29, 0.18), 0 2px 6px rgba(8, 17, 29, 0.05);
  --shadow-lg: 0 30px 70px -30px rgba(8, 17, 29, 0.32), 0 4px 14px rgba(8, 17, 29, 0.06);
  --shadow-glow: 0 20px 60px -22px rgba(27, 106, 201, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Component display rules (.event, .card…) would otherwise beat the UA [hidden] rule. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: "cv02", "cv03", "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

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

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

::selection { background: var(--amber-400); color: var(--ink-900); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink-900);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section--flush-top { padding-top: 0; }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack { display: grid; gap: 1.25rem; justify-items: start; }
.cluster { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.center { text-align: center; }
.center .stack { justify-items: center; }

.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--amber-500));
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--slate-700);
  max-width: 62ch;
}

.muted { color: var(--fg-muted); }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }

/* Highlighter stroke. Uses text-decoration rather than a background gradient:
   the underline is anchored to the baseline, so the band stays correctly
   positioned through the glyphs at any font size and in any fallback face —
   a percentage gradient is anchored to the font's ascent/descent box instead,
   which shifts the band as soon as the metrics change. The decoration paints
   behind the glyph fill, so the letters stay legible on top of it. */
.underline-mark {
  text-decoration-line: underline;
  text-decoration-color: var(--amber-400);
  text-decoration-thickness: 0.28em;
  text-underline-offset: -0.17em;
  text-decoration-skip-ink: none;
}

.text-gradient {
  background: linear-gradient(100deg, var(--blue-400), var(--blue-100) 55%, var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  display: grid;
  gap: 1.1rem;
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  --btn-bg: var(--blue-600);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { --btn-bg: var(--blue-700); }

.btn--dark { --btn-bg: var(--ink-900); box-shadow: var(--shadow-md); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink-900);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--ink-900); background: var(--ink-900); --btn-fg: #fff; }

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.14); }

.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.86rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--blue-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-stuck { border-bottom-color: var(--line-soft); }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}
.brand__tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  /* slate-400 gives only 3.45:1 here, below the 4.5:1 AA floor for small text. */
  color: var(--slate-500);
  margin-top: 3px;
}

.nav__menu { display: flex; align-items: center; gap: 0.15rem; }
/* The in-menu CTA is a mobile-drawer affordance only — the header has its own. */
.nav__menu > li > .btn { display: none; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.78rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--r-full);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__link:hover { color: var(--ink-900); background: var(--sand); }
.nav__link[aria-current="page"] { color: var(--ink-900); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.78rem;
  right: 0.78rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-500);
}

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  /* flex, not grid: grid stretches the three rows and breaks the X transform */
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav__toggle span + span { margin-top: 4.5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }
  .nav__menu {
    position: fixed;
    inset: 82px 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1.5rem var(--gutter) 3rem;
    background: #fff;
    border-top: 1px solid var(--line-soft);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s var(--ease), visibility 0.28s;
    overflow-y: auto;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    display: block;
    padding: 1rem 0.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link:hover { background: transparent; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--blue-600); }
  .nav__menu > li > .btn { margin-top: 1.6rem; display: inline-flex; }
}

/* --------------------------------------------------------------------------
   7. Surfaces
   -------------------------------------------------------------------------- */
.surface-sand { background: var(--sand); }
.surface-blue { background: var(--blue-50); }

.surface-ink {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.78);
  --fg: #fff;
  --fg-muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.09);
}
.surface-ink h1, .surface-ink h2, .surface-ink h3, .surface-ink h4 { color: #fff; }
.surface-ink .eyebrow { color: var(--amber-400); }
.surface-ink .lede { color: rgba(255, 255, 255, 0.74); }
.surface-ink .muted { color: rgba(255, 255, 255, 0.58); }

.aurora { position: relative; overflow: hidden; isolation: isolate; }
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.aurora::before {
  width: 46vw; height: 46vw;
  top: -18vw; right: -12vw;
  background: radial-gradient(circle, var(--blue-500), transparent 68%);
}
.aurora::after {
  width: 38vw; height: 38vw;
  bottom: -20vw; left: -10vw;
  background: radial-gradient(circle, var(--coral-500), transparent 70%);
  opacity: 0.32;
}

.grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 7vw, 7rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title { font-size: var(--step-5); }
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem 0.42rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-700);
  backdrop-filter: blur(6px);
}
.pill__dot {
  display: grid;
  place-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-full);
  background: var(--blue-600);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.surface-ink .pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

/* Hero visual composition */
.hero__visual { position: relative; aspect-ratio: 1 / 1; }
.hero__orbit { position: absolute; inset: 0; animation: spin 60s linear infinite; }
/* The mark is a bitmap now, so it has to fill the square the SVG used to.
   object-fit keeps it square if the container is ever not. */
img.hero__orbit { width: 100%; height: 100%; object-fit: contain; }

/* The exported strokes run right to the edge of their square. Inset them so the
   ring keeps the breathing room the drawn version had and does not collide with
   the sides of the hero panel. */
.hero__orbit--mark { padding: 7%; box-sizing: border-box; }
.hero__orbit--reverse { animation-duration: 90s; animation-direction: reverse; }

/* The logo ring turns as one piece — its four strokes have to hold their
   positions relative to each other or it stops reading as the mark.
   50s per revolution (3x the original 150s). */
.hero__orbit--mark { animation-duration: 50s; }

/* A faint inner trace, turning the other way for a little depth. */
.hero__orbit--trace { animation-duration: 37s; animation-direction: reverse; }

@keyframes spin { to { transform: rotate(360deg); } }

.hero__panel {
  position: absolute;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(12px);
  display: grid;
  gap: 0.25rem;
  animation: float 7s var(--ease-in-out) infinite;
}
.hero__panel--a { top: 8%; left: -4%; width: 200px; }
.hero__panel--b { bottom: 14%; right: -2%; width: 220px; animation-delay: -2.4s; }
.hero__panel--c { bottom: -2%; left: 12%; width: 190px; animation-delay: -4.8s; }

.hero__panel .num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1;
}
.hero__panel .label {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--slate-500);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--slate-500); font-size: 0.95rem; }

.surface-ink .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.surface-ink .card:hover { background: rgba(255, 255, 255, 0.07); }
.surface-ink .card p { color: rgba(255, 255, 255, 0.62); }

.card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 0.4rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card__icon--amber { background: var(--amber-100); color: #a4720a; }
.card__icon--coral { background: var(--coral-100); color: #b83a24; }
.surface-ink .card__icon { background: rgba(255, 255, 255, 0.08); color: var(--amber-400); }

.card__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: 0.04em;
}

/* Pillar cards (Network / Learn / Grow) */
.pillar {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar .link-arrow { margin-top: auto; padding-top: 0.6rem; }
.pillar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--accent-bar, var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar:hover::after { transform: scaleX(1); }
.pillar__index {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.85;
  color: var(--sand-2);
  letter-spacing: -0.05em;
}
.pillar--blue  { --accent-bar: var(--blue-500); }
.pillar--amber { --accent-bar: var(--amber-500); }
.pillar--coral { --accent-bar: var(--coral-500); }

/* Feature row (alternating) */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(3.5rem, 6vw, 6rem); }
.feature-row:nth-child(even) > *:first-child { order: 2; }

.feature-visual {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--blue-50), var(--sand));
  border: 1px solid var(--line-soft);
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 2rem;
  overflow: hidden;
}
.feature-visual::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(27, 106, 201, 0.25);
  animation: spin 40s linear infinite;
}

/* People */
.person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person__avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  background: linear-gradient(140deg, var(--blue-500), var(--blue-700));
}
.person__avatar--amber { background: linear-gradient(140deg, var(--amber-400), #c98a06); }
.person__avatar--coral { background: linear-gradient(140deg, #f07a63, var(--coral-500)); }
.person__avatar--slate { background: linear-gradient(140deg, #64748b, var(--ink-700)); }
.person__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.02em; }
.person__role { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue-600); }
.person__bio { font-size: 0.92rem; color: var(--slate-500); }
.person__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.3rem; }

.tag {
  padding: 0.28rem 0.66rem;
  border-radius: var(--r-full);
  background: var(--sand);
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--slate-700);
  border: 1px solid var(--line-soft);
}
.surface-ink .tag { background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.12); }

/* Posts */
.post {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post .link-arrow { margin-top: auto; padding-top: 0.4rem; }
.post__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--blue-100), var(--sand));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.post__thumb span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(27, 106, 201, 0.28);
  letter-spacing: -0.04em;
}
.post__meta { display: flex; gap: 0.6rem; font-size: 0.78rem; color: var(--slate-400); font-weight: 500; }
.post__title { font-size: 1.16rem; line-height: 1.28; }

/* Events */
.event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.event__date {
  display: grid;
  place-items: center;
  gap: 0.1rem;
  width: 92px;
  padding: 0.9rem 0.5rem;
  border-radius: var(--r-md);
  background: var(--ink-900);
  color: #fff;
  text-align: center;
}
.event__date .q {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.event__date .y { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.event__date--amber { background: var(--amber-500); color: var(--ink-900); }
.event__date--amber .y { color: rgba(8, 17, 29, 0.6); }
.event__date--coral { background: var(--coral-500); }
.event__body { display: grid; gap: 0.5rem; }
.event__title { font-size: 1.32rem; }
.event__facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.85rem; color: var(--slate-500); }
.event__facts span { display: inline-flex; align-items: center; gap: 0.4rem; }
.event__facts svg { width: 15px; height: 15px; color: var(--blue-600); flex-shrink: 0; }

.event--featured {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.8);
}
.event--featured:hover { transform: none; }
.event--featured .event__body { padding: clamp(2rem, 4vw, 3.4rem); align-content: center; gap: 1.1rem; }
.event--featured .event__title { color: #fff; font-size: var(--step-3); }
.event--featured .event__facts { color: rgba(255, 255, 255, 0.66); }
.event--featured .event__facts svg { color: var(--amber-400); }
.event__aside {
  position: relative;
  display: grid;
  place-content: center;
  gap: 0.6rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(150deg, var(--blue-700), var(--ink-800));
  text-align: center;
  overflow: hidden;
}
.event__aside::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: spin 34s linear infinite;
}
.event__aside .big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.9;
  color: #fff;
  letter-spacing: -0.04em;
}
.event__aside .small { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }

/* --------------------------------------------------------------------------
   10. Stats, marquee, quote
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  /* auto-fit so the block reflows to 2×2 inside a half-width column */
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: #fff; padding: clamp(1.4rem, 2.6vw, 2.2rem); display: grid; gap: 0.35rem; }
.surface-ink .stats { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.12); }
.surface-ink .stat { background: var(--ink-900); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-900);
}
.surface-ink .stat__num { color: #fff; }
.stat__label { font-size: 0.86rem; color: var(--slate-500); }

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.4rem;
  border-block: 1px solid var(--line-soft);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 3.5rem; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--slate-400);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
}
.marquee__item::after { content: "◆"; font-size: 0.5rem; color: var(--amber-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

.quote {
  display: grid;
  gap: 1.8rem;
  padding: clamp(2rem, 4vw, 3.4rem);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.quote__text {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.quote__by { display: flex; align-items: center; gap: 0.9rem; }
.quote__mark { font-family: var(--font-display); font-size: 3.5rem; line-height: 0.6; color: var(--amber-500); }

/* --------------------------------------------------------------------------
   11. Accordion, tabs, table
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 0.75rem; }
.acc {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.acc.is-open { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 1.4rem;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-900);
  text-align: left;
  cursor: pointer;
}
.acc__icon {
  position: relative;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  transition: background-color 0.3s ease, transform 0.35s var(--ease);
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute;
  background: var(--ink-900);
  border-radius: 2px;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}
.acc__icon::before { width: 11px; height: 1.8px; }
.acc__icon::after { width: 1.8px; height: 11px; }
.acc.is-open .acc__icon { background: var(--blue-600); transform: rotate(90deg); }
.acc.is-open .acc__icon::before { background: #fff; }
.acc.is-open .acc__icon::after { opacity: 0; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner > div { padding: 0 1.4rem 1.4rem; color: var(--slate-500); font-size: 0.96rem; max-width: 68ch; }

/* flex-wrap + max-width: without them the pill group grows past a phone
   viewport and drags the whole page into horizontal scroll. These are
   filter controls, so wrapping beats scrolling — no option gets hidden. */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 0.3rem;
  padding: 0.35rem;
  background: var(--sand);
  border-radius: var(--r-lg);
}

/* Single row is the common case; keep the full pill there. */
@media (min-width: 561px) {
  .tabs { border-radius: var(--r-full); }
}
.tab {
  padding: 0.6rem 1.15rem;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.tab:hover { color: var(--ink-900); }
.tab.is-active { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-xs); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
}
.plan--featured {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.76);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__list li { color: rgba(255, 255, 255, 0.72); }
.plan--featured .plan__list svg { color: var(--amber-400); }
.plan__price { font-family: var(--font-display); font-size: 2.3rem; letter-spacing: -0.04em; line-height: 1; color: var(--ink-900); }
.plan__price small { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500; color: var(--slate-400); letter-spacing: 0; }
.plan__list { display: grid; gap: 0.7rem; }
.plan__list li { display: flex; gap: 0.65rem; font-size: 0.92rem; color: var(--slate-700); align-items: flex-start; }
.plan__list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--blue-600); }
.plan .btn { margin-top: auto; }
.plan__badge {
  align-self: flex-start;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-full);
  background: var(--amber-500);
  color: var(--ink-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--slate-700); }
.surface-ink .field label { color: rgba(255, 255, 255, 0.72); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.field textarea { resize: vertical; min-height: 110px; }
.form__note { font-size: 0.8rem; color: var(--slate-400); }
.surface-ink .form__note { color: rgba(255, 255, 255, 0.5); }

.form-card {
  padding: clamp(1.75rem, 3vw, 2.6rem);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, var(--blue-700), var(--ink-900) 62%);
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 176, 30, 0.35), transparent 62%);
  pointer-events: none;
}
.cta-band__actions { display: grid; gap: 0.75rem; justify-items: start; position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   14. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}
.page-hero__inner { display: grid; gap: 1.4rem; max-width: 820px; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.82rem; color: var(--slate-400); }
.breadcrumb a:hover { color: var(--blue-600); }
.surface-ink .breadcrumb { color: rgba(255, 255, 255, 0.5); }
.surface-ink .breadcrumb a:hover { color: var(--amber-400); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.62); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand { display: grid; gap: 1.1rem; align-content: start; max-width: 34ch; }
.footer__brand .brand__name { color: #fff; }
.footer__list { display: grid; gap: 0.65rem; margin-top: 1.1rem; }
.footer__list a { font-size: 0.92rem; transition: color 0.2s ease, padding-left 0.25s var(--ease); }
.footer__list a:hover { color: #fff; padding-left: 4px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  font-size: 0.83rem;
}
.social { display: flex; gap: 0.5rem; }
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}
.social a:hover { background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; color: #fff; }

/* --------------------------------------------------------------------------
   16. Reveal animation
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .event--featured { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) > *:first-child { order: 0; }
  .event { grid-template-columns: auto minmax(0, 1fr); }
  .event > .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  /* Stack the event row: a centred date chip beside a tall text column reads badly. */
  .event { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .event__date {
    width: auto;
    justify-self: start;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
  }
  .event__date .q { font-size: 1.35rem; }

  .hero__panel--a { left: -2%; width: 168px; }
  .hero__panel--b { right: -2%; width: 180px; }
  .hero__panel--c { left: 8%; width: 165px; }
  .hero__panel { padding: 0.9rem 1rem; }
  .hero__panel .num { font-size: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .cluster > .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   v2 — imagery & scroll storytelling
   Skins the shared structural components in /assets/css/scroll.css.
   ========================================================================== */

/* Contour texture washed behind the hero, drifting on scroll */
.hero__texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  mask-image: radial-gradient(ellipse 75% 70% at 62% 42%, #000 20%, transparent 72%);
}
.hero__texture img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------- pinned story section */
.story { background: var(--sand); }
.story__stage { width: 100%; }
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}
.story__kicker { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.5rem; }
.story__num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: .8;
  letter-spacing: -.05em;
  color: var(--blue-600);
}
/* slate-400 is 3.19:1 on the sand surface; slate-500 reaches 5.1:1. */
.story__of { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-500); }
.story .step h3 { font-size: var(--step-3); margin-bottom: .9rem; }
.story .step p { color: var(--slate-600); font-size: var(--step-1); line-height: 1.55; max-width: 46ch; }

.story__vis {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.story__vis .layer img,
.story__vis .layer object { width: 100%; height: 100%; object-fit: cover; display: block; }
.story .pinbar { color: var(--ink-900); }

/* ------------------------------------------------------------- scrub band */
.scrubsec { background: var(--ink-900); color: #fff; }
.scrubsec .scrub__stage { background: var(--ink-900); }
/* Scrim between the scrubbing canvas and the copy, so the headline stays
   readable over whichever contours happen to be under it. */
.scrubsec .scrub__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,17,29,.95) 0%, rgba(8,17,29,.82) 34%, rgba(8,17,29,.15) 62%, transparent 80%),
    linear-gradient(0deg, rgba(8,17,29,.6), transparent 45%);
}
.scrubsec__inner { width: 100%; }
.scrubsec h2 { color: #fff; max-width: 18ch; }
.scrubsec p { color: rgba(255, 255, 255, .72); max-width: 46ch; }
.scrubsec__readout {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--amber-400);
}
.scrubsec__readout b {
  font-size: 3.2rem;
  line-height: .85;
  letter-spacing: -.04em;
  font-weight: 600;
}
.scrubsec__hint {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  opacity: calc(1 - var(--p, 0) * 3);
}

/* --------------------------------------------------------- parallax band */
.bandimg {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  aspect-ratio: 21 / 9;
}
.bandimg__cap {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 2;
  max-width: 34ch;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: -.02em;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(8, 17, 29, .5);
}

/* --------------------------------------------------- imagery inside cards */
.post__thumb { padding: 0; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .story__vis { aspect-ratio: 16 / 10; }
  .story__num { font-size: 2.6rem; }
}



/* ==========================================================================
   v2 media pass 3 — real photography
   The imagery is now photographs rather than soft washes, so it is shown
   rather than blended away. Legibility comes from a directional scrim instead
   of from hiding the picture.
   ========================================================================== */

/* Scroll video: shown at near-full strength, slightly desaturated so it sits
   inside the palette rather than fighting it. */
.scrubsec .scrub__stage > video {
  opacity: .92;
  mix-blend-mode: normal;
  filter: saturate(.82) contrast(1.02);
}
/* Copy sits on the left; the scrim is heaviest there and clears to reveal the
   footage on the right. */
.scrubsec .scrub__stage::after {
  background:
    linear-gradient(100deg, rgba(8,17,29,.94) 0%, rgba(8,17,29,.86) 34%, rgba(8,17,29,.42) 60%, rgba(8,17,29,.12) 82%),
    linear-gradient(0deg, rgba(8,17,29,.55), transparent 40%);
}

/* Hero photograph stays atmospheric — it is a backdrop, not the subject. */
.hero__texture { opacity: .34; filter: blur(2px) saturate(.85); }

/* Focus-area photography (About → "Where we go deep") */
.focusmedia { position: relative; overflow: hidden; display: block; padding: 0; border: 0; }
.focusmedia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-visual.focusmedia { min-height: 0; aspect-ratio: 4/3; border-radius: var(--r-xl); background: none; padding: 0; }
.feature-visual.focusmedia::before { display: none; }

/* ==========================================================================
   Journey map — site structure and primary user journeys
   ========================================================================== */
.jm-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.jm-node {
  position: relative;
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.jm-node--built { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.jm-node--planned { background: transparent; border-style: dashed; }
.jm-node__n {
  font-family: var(--font-display); font-size: .85rem; font-weight: 600;
  letter-spacing: .04em; color: var(--slate-400);
}
.jm-node h3 { font-size: 1.06rem; letter-spacing: -.02em; }
.jm-node p { font-size: .86rem; color: var(--slate-500); }
.jm-badge {
  align-self: flex-start; margin-top: .15rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  padding: .22rem .55rem; border-radius: var(--r-full);
}
.jm-badge--built { background: var(--blue-100); color: var(--blue-700); }
.jm-badge--planned { background: var(--sand-2); color: var(--slate-500); }
.jm-badge--parked { background: var(--coral-100); color: #b83a24; }

/* Journeys — numbered steps joined by a rule */
.jm-journey { border-top: 1px solid var(--line); padding-top: clamp(1.5rem,3vw,2.25rem); }
.jm-journey + .jm-journey { margin-top: clamp(2rem,4vw,3rem); }
.jm-journey__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.jm-journey__n {
  font-family: var(--font-display); font-size: 2.6rem; line-height: .8;
  letter-spacing: -.05em; color: var(--blue-600);
}
.jm-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .75rem; }
.jm-step {
  position: relative;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--sand);
  display: grid; gap: .3rem; align-content: start;
}
.jm-step__k {
  font-size: .66rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-600);
}
.jm-step__t { font-family: var(--font-display); font-size: 1rem; letter-spacing: -.02em; color: var(--ink-900); }
.jm-step p { font-size: .8rem; color: var(--slate-500); }
.jm-step::after {
  content: "";
  position: absolute; right: -.55rem; top: 50%;
  width: .5rem; height: 1px; background: var(--line-strong, var(--line));
}
.jm-step:last-child::after { display: none; }

.jm-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .84rem; color: var(--slate-500); }
.jm-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.jm-key { width: 22px; height: 10px; border-radius: 3px; border: 1px solid var(--line); }
.jm-key--built { background: var(--blue-100); border-color: var(--blue-100); }
.jm-key--planned { background: transparent; border-style: dashed; }
.jm-key--parked { background: var(--coral-100); border-color: var(--coral-100); }

@media (max-width: 1080px) { .jm-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .jm-steps { grid-template-columns: repeat(2, minmax(0,1fr)); } .jm-step::after { display: none; } }
@media (max-width: 620px) { .jm-grid { grid-template-columns: 1fr; } .jm-steps { grid-template-columns: 1fr; } }
