@font-face { font-family: "Newsreader";    src: url("/fonts/newsreader-400.woff2")    format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.62);
  --quiet: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.2);
  --pill-line: rgba(255, 255, 255, 0.48);
  --blue: #4ea6ea;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { font: inherit; }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; margin: 0; padding: 0; }
figure, blockquote, h1, h2, h3, p { margin: 0; }

a:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

/* ------------------------------------------------------------------ */
/* Container — identical measure on header, main sections, footer      */
/* ------------------------------------------------------------------ */

.site-header,
.page-head,
.chapter,
.site-footer {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

/* ------------------------------------------------------------------ */
/* Header — interior-page wordmark skin (flat ground, no text-shadow)  */
/* ------------------------------------------------------------------ */

.site-header {
  display: flex;
  align-items: center;
  min-height: 96px;
}

.wordmark {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wordmark-i { color: var(--blue); }

/* ------------------------------------------------------------------ */
/* Micro-type                                                          */
/* ------------------------------------------------------------------ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--quiet);
}

.eyebrow-rule {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 1px;
  background: var(--quiet);
}

/* ------------------------------------------------------------------ */
/* Page head                                                           */
/* ------------------------------------------------------------------ */

.page-head {
  padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 104px);
}

.page-head h1 {
  font-family: "Newsreader", serif;
  font-size: clamp(4rem, 7.2vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 24px 0 0;
}

/* ------------------------------------------------------------------ */
/* Chapter (section) shell                                             */
/* ------------------------------------------------------------------ */

.chapter {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 136px) 0;
}

.chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
}

.chapter-title {
  font-family: "Newsreader", serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 24px 0 0;
  text-wrap: balance;
}

/* The one split heading: plain text steps back, the emphasis holds white. */
.chapter-title--split { color: rgba(255, 255, 255, 0.72); }
.chapter-title em { font-style: normal; color: var(--white); }

.chapter-intro {
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.5;
  text-wrap: balance;
}

.tm {
  font-size: 0.36em;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--quiet);
}

/* ------------------------------------------------------------------ */
/* Entries                                                             */
/* ------------------------------------------------------------------ */

.entries { margin-top: clamp(48px, 6vw, 88px); }

.entry { border-top: 1px solid var(--line); }
.entry:last-child { border-bottom: 1px solid var(--line); }

.entry-link {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: clamp(34px, 4vw, 56px) 0;
}

.entry-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.entry-index {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--quiet);
  transition: color 180ms ease;
}

.entry-link:hover .entry-index,
.entry-link:focus-visible .entry-index { color: var(--white); }

.entry-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

.entry-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  animation: entry-live 2.6s ease-in-out infinite;
}

@keyframes entry-live {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* Product marks are normalised white-on-black, as the partner logo row is. */
.entry-mark img {
  height: 26px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 180ms ease;
}

.entry-mark--invert img { filter: grayscale(100%) invert(1); }

.entry-link:hover .entry-mark img,
.entry-link:focus-visible .entry-mark img { opacity: 0.95; }

.entry-name {
  font-family: "Newsreader", serif;
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.entry-tld { color: var(--quiet); }

.entry-tagline {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.4;
}

.entry-desc {
  margin-top: 14px;
  max-width: 590px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.entry-url { color: var(--white); }

.entry-cta { margin-top: 28px; }

/* ------------------------------------------------------------------ */
/* Pill — border + translucent black + blur, inverts to solid white    */
/* ------------------------------------------------------------------ */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.35rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.entry-link:hover .pill,
.entry-link:focus-visible .pill,
a.pill:hover,
a.pill:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.pill-arrow { transition: transform 180ms ease; }

.entry-link:hover .pill-arrow,
.entry-link:focus-visible .pill-arrow,
a.pill:hover .pill-arrow,
a.pill:focus-visible .pill-arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/* Pipeline / schematic                                                */
/* ------------------------------------------------------------------ */

.pipeline-head { max-width: 900px; }

.chapter--pipeline .chapter-intro { margin-top: 32px; }

.schematic {
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(28px, 3.5vw, 48px);
  border-top: 1px solid var(--line);
}

.schematic-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.sch-col {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, 0.38);
}

.sch-tick { stroke: var(--line); stroke-width: 1; }

.sch-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  fill: rgba(255, 255, 255, 0.62);
  dominant-baseline: middle;
}

.sch-label--out { fill: #fff; font-weight: 700; }

.sch-label-tm {
  font-size: 0.55em;
  baseline-shift: super;
  fill: rgba(255, 255, 255, 0.38);
}

.sch-node { fill: rgba(255, 255, 255, 0.55); }

.sch-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
  stroke-linecap: round;
}

.sch-bus {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
  stroke-linecap: round;
}

.sch-pulse {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 7 100;
  animation: sch-pulse 5.6s linear infinite;
}

.sch-pulse--mid   { stroke-width: 1.8; animation-duration: 4.4s; }
.sch-pulse--short { stroke-width: 1.8; animation-duration: 3.2s; stroke-dasharray: 5 100; }

@keyframes sch-pulse {
  0%   { stroke-dashoffset: 7;    opacity: 0; }
  6%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}

.sch-core-ring {
  transform-box: fill-box;
  transform-origin: center;
}

.sch-core-ring--outer {
  stroke: rgba(255, 255, 255, 0.5);
  animation: sch-spin 220s linear infinite;
}

.sch-core-ring--inner {
  stroke: rgba(255, 255, 255, 0.28);
  animation: sch-spin-rev 320s linear infinite;
}

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

.sch-core-label {
  font-family: "Newsreader", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
  fill: #fff;
}

.sch-core-tm {
  font-size: 10px;
  baseline-shift: super;
  fill: rgba(255, 255, 255, 0.38);
}

/* ------------------------------------------------------------------ */
/* Giving back                                                         */
/* ------------------------------------------------------------------ */

.giving-body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(48px, 6vw, 88px);
  align-items: start;
}

.giving-quote blockquote {
  font-family: "Newsreader", serif;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.accent-dot { color: var(--quiet); }

.giving-quote figcaption {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 290px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--quiet);
}

.giving-copy p {
  max-width: 590px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.giving-copy p + p { margin-top: 18px; }

.giving-copy strong { color: var(--white); font-weight: 700; }

.giving-cta { margin-top: 32px; }

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
}

.footer-copy,
.footer-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--quiet);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-nav a { transition: color 180ms ease; }
.footer-nav a:hover,
.footer-nav a:focus-visible { color: var(--white); }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 980px) {
  .chapter-head {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

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

  .schematic { overflow-x: auto; }
  .schematic-svg { min-width: 760px; }
}

@media (max-width: 700px) {
  .site-header,
  .page-head,
  .chapter,
  .site-footer { width: min(100% - 32px, 1320px); }

  .site-header { min-height: 76px; }

  .page-head { padding: 48px 0 56px; }
  .page-head h1 { font-size: clamp(3.35rem, 15vw, 5rem); }

  .chapter { padding: 56px 0; }
  .chapter-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }

  .entries { margin-top: 36px; }

  .entry-link {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 0;
  }

  .entry-rail {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .entry-mark img { height: 22px; }

  .entry-name { font-size: clamp(1.7rem, 8vw, 2.2rem); }

  .giving-quote blockquote { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .giving-quote figcaption { max-width: none; }

  .site-footer { padding: 32px 0 48px; }
}

@media (max-width: 420px) {
  .entry-rail { gap: 14px; }
  .pill { font-size: 0.7rem; padding: 0.5rem 0.9rem; }
}

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

  .sch-pulse { opacity: 0.5; stroke-dashoffset: -50; }
  .entry-status-dot { opacity: 1; }
}
