/* Vinculum
   One family (Archivo, variable width) and the logo's colours: forest ink
   and the green-to-teal bar. The bar (the vinculum) is the only ornament:
   logo, funding-gap chart, contact. Teal is decorative on light grounds;
   --accent is the text-safe green for links and labels.

   Images: every .ph block is a placeholder. Drop a file with the name in
   its data-ph attribute into /images and it replaces the placeholder. */

:root {
  --paper: #f3f5f3;
  --paper-2: #e7ece8;
  --ink: #1e2f1c;
  --ink-2: #4e5d50;
  --rule: #cbd3cd;
  --deep: #152d1a;
  --deepest: #0e1f12;
  --teal: #4fae99;
  --teal-light: #a9d8cb;
  --accent: #2b6b57;
  --bar: linear-gradient(90deg, var(--deep), var(--teal));
  --bar-on-dark: linear-gradient(90deg, var(--teal), var(--teal-light));
  --band-debt: #8fa597;
  --on-dark: #e6ede8;
  --on-dark-2: #b4c4b8;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step-0: clamp(1.0625rem, 0.3vw + 1rem, 1.125rem);
  --step-1: clamp(1.1875rem, 0.4vw + 1.05rem, 1.3125rem);
  --step-2: clamp(2.125rem, 2.6vw + 1.2rem, 3.5rem);
  --step-3: clamp(2.75rem, 5.2vw + 1rem, 6.25rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 82rem;
  --section-y: clamp(5rem, 10vw, 9.5rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  font-variation-settings: "wdth" 100;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); font-weight: 380; line-height: 0.98; letter-spacing: -0.042em; }
h2 { font-size: var(--step-2); }
h3 {
  font-size: 1.3125rem;
  font-weight: 560;
  font-variation-settings: "wdth" 104;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .section-dark :focus-visible, .contact :focus-visible,
.site-footer :focus-visible, .over-hero :focus-visible { outline-color: var(--teal); }

.muted { color: var(--ink-2); }
.section-lede { font-size: var(--step-1); line-height: 1.5; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

/* Image placeholders */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #d6ded8 0%, #bfccc3 100%);
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.ph::after {
  content: "Image: " attr(data-ph);
  position: absolute;
  left: 1rem;
  bottom: 0.875rem;
  font-size: 0.8125rem;
  color: rgb(30 47 28 / 0.6);
}
.ph-dark { background: linear-gradient(150deg, #1b3a24 0%, var(--deep) 45%, #2a5c4b 100%); }
.ph-dark::after { color: rgb(255 255 255 / 0.45); left: auto; right: var(--gutter); bottom: 1rem; }

/* Logo: wordmark under its own vinculum */
.logo {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  font-variation-settings: "wdth" 108;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  line-height: 1;
}
.logo span {
  display: inline-block;
  padding-top: 0.14em;
  border-top: 0.2em solid;
  border-image: var(--bar) 1;
}

/* Buttons and links */
.button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 540;
  padding: 0.95rem 1.5rem;
  border-radius: 2px;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.button:hover { background: var(--accent); }
.button-small { padding: 0.65rem 1.1rem; font-size: 0.9375rem; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--teal); color: var(--deepest); }

.text-link {
  font-weight: 540;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* Header: transparent over the hero photo, solid afterwards */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgb(243 245 243 / 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}
.nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  font-size: 0.9375rem;
}
.nav a { text-decoration: none; color: var(--ink-2); transition: color 0.2s ease; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 560; }

.site-header.over-hero {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: rgb(255 255 255 / 0.16);
  color: #fff;
}
.over-hero .nav a { color: rgb(255 255 255 / 0.78); }
.over-hero .nav a:hover { color: #fff; }
.over-hero .logo span { border-image: var(--bar-on-dark) 1; }
.over-hero .button { background: #fff; color: var(--ink); }
.over-hero .button:hover { background: var(--teal); color: var(--deepest); }

@media (max-width: 1000px) {
  .nav { display: none; }
  .header-inner .button { margin-left: auto; }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(38rem, min(100svh, 62rem));
  padding-block: calc(var(--header-h) + 4rem) clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(14 31 18 / 0.55) 0%, rgb(14 31 18 / 0) 26%),
    linear-gradient(0deg, rgb(14 31 18 / 0.88) 0%, rgb(14 31 18 / 0.35) 45%, rgb(14 31 18 / 0) 70%);
}
.hero h1 { max-width: 22ch; font-size: clamp(2.375rem, 3.6vw + 1rem, 5rem); line-height: 1.02; }
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem 3rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.28);
}
.hero-foot p { color: rgb(255 255 255 / 0.86); max-width: 56ch; font-size: var(--step-1); line-height: 1.45; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
}

/* Sections */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--deep); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* Intro and funding-gap chart */
.intro-grid, .fit-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.statement {
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.25rem);
  font-weight: 380;
  line-height: 1.3;
  letter-spacing: -0.018em;
  max-width: 34ch;
}
.fit-head .section-lede { max-width: 48ch; padding-top: 0.5rem; }
@media (max-width: 900px) {
  .intro-grid, .fit-head { grid-template-columns: minmax(0, 1fr); }
}

.gap { margin-top: clamp(4rem, 8vw, 7rem); }
.gap-grid {
  position: relative;
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  grid-template-rows: 2rem 2.75rem 5rem 2.75rem auto;
  gap: 0.75rem 1.5rem;
  align-items: center;
}
.gap-grid > :nth-child(1), .gap-grid > :nth-child(2) { grid-row: 1; }
.gap-grid > :nth-child(3), .gap-grid > :nth-child(4) { grid-row: 2; }
.gap-grid > :nth-child(5), .gap-grid > :nth-child(6) { grid-row: 4; }
.gap-grid > :nth-child(7), .gap-grid > :nth-child(8) { grid-row: 5; }
.gap-label, .gap-axis-spacer { grid-column: 1; }
.gap-track, .gap-axis { grid-column: 2; }

.gap-label { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.2; }
.gap-label-v { color: var(--accent); font-weight: 600; }

.gap-track {
  position: relative;
  height: 100%;
  background-image:
    linear-gradient(var(--rule), var(--rule)),
    linear-gradient(var(--rule), var(--rule)),
    linear-gradient(var(--rule), var(--rule));
  background-size: 1px 100%;
  background-repeat: no-repeat;
  background-position: 25% 0, 50% 0, 75% 0;
  z-index: 1;
}
.band, .gap-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.band { height: 1.375rem; }
.band-vc {
  left: 0;
  width: 66%;
  background: linear-gradient(90deg, var(--ink) 0 52%, rgb(30 47 28 / 0) 100%);
}
.band-debt {
  left: 44%;
  width: 56%;
  background: linear-gradient(90deg, rgb(143 165 151 / 0) 0, var(--band-debt) 48% 100%);
}
.gap-bar {
  left: 25%;
  width: 50%;
  height: 0.75rem;
  background: var(--bar);
  transform-origin: left center;
}
.js .gap .gap-bar { transform: translateY(-50%) scaleX(0); }
.js .gap.in-view .gap-bar { animation: draw 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both; }
@keyframes draw {
  from { transform: translateY(-50%) scaleX(0); }
  to { transform: translateY(-50%) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .js .gap .gap-bar, .js .gap.in-view .gap-bar { animation: none; transform: translateY(-50%); }
}

.gap-zone {
  grid-column: 2;
  grid-row: 2 / 5;
  align-self: stretch;
  position: relative;
}
.gap-zone::before {
  content: "";
  position: absolute;
  inset: 0 30% 0 40%;
  background: repeating-linear-gradient(-45deg, rgb(30 47 28 / 0.1) 0 1px, transparent 1px 7px);
}
.gap-zone span {
  position: absolute;
  left: 40%;
  right: 30%;
  top: 50%;
  transform: translateY(-50%);
  padding-inline: 0.25rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 500;
  z-index: 2;
}
.gap-axis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: 0.9375rem;
  color: var(--ink-2);
  padding-top: 0.875rem;
  border-top: 1px solid var(--ink);
}
.gap-axis li { text-align: center; line-height: 1.2; }
.gap figcaption {
  margin-top: 2rem;
  margin-left: calc(11rem + 1.5rem);
  max-width: 54ch;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .gap-grid {
    grid-template-columns: 5.25rem minmax(0, 1fr);
    grid-template-rows: 1.5rem 2.25rem 4rem 2.25rem auto;
    gap: 0.5rem 0.75rem;
  }
  .band { height: 1.1rem; }
  .gap-label { font-size: 0.78rem; }
  .gap-axis { font-size: 0.75rem; }
  .gap-zone::before { inset: 0 25% 0 37%; }
  .gap-zone span { left: 37%; right: 25%; font-size: 0.72rem; }
  .gap figcaption { margin-left: 0; font-size: 0.95rem; }
}


/* Services: wide photo, one panel of three services overlapping it,
   joined by a single vinculum bar across the top */
.services-section { padding-top: 0; }
.services-head {
  border-top: 1px solid var(--rule);
  padding-top: var(--section-y);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services-head .section-lede { max-width: 40ch; }
.services-media { height: clamp(18rem, 34vw, 30rem); }
.services-media img { object-position: 58% 42%; }
.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(-9rem, -8vw, -4rem) clamp(1rem, 4vw, 3.5rem) 0;
  background: #fff;
  border-top: 0.375rem solid;
  border-image: var(--bar) 1;
}
.service {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.service + .service { border-left: 1px solid var(--rule); }
.service h3 { font-size: clamp(1.375rem, 0.8vw + 1rem, 1.625rem); font-weight: 480; letter-spacing: -0.02em; }
.service-meta { margin: 0.4rem 0 1rem; color: var(--accent); font-weight: 520; font-size: 1rem; }
.service > p:not(.service-meta) { color: var(--ink-2); font-size: 1rem; }
.service-list {
  margin-top: auto;
  padding-top: 1.5rem;
}
.service-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 0.55rem;
  height: 2px;
  background: var(--teal);
}
@media (max-width: 900px) {
  .services-head { grid-template-columns: minmax(0, 1fr); }
  .services-grid { grid-template-columns: minmax(0, 1fr); margin-inline: 0.75rem; }
  .service + .service { border-left: 0; border-top: 1px solid var(--rule); }
}

/* Process: a real sequence, so it is numbered */
.process-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.process-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem clamp(1.5rem, 3vw, 2.75rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 250;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 0.75rem; }
.steps p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .process-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

/* Track record: list beside a preview image */
.deals-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.deals-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  align-items: start;
}
/* The photo runs from the left edge of the screen to just past the start of
   the list, exactly as tall as the list, and fades into the page colour. */
.deals-preview {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((100% - 100vw) / 2);
  width: calc((100vw - 100%) / 2 + 60%);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.deals-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, var(--deep) 0%, rgb(21 45 26 / 0) 12%, rgb(21 45 26 / 0) 88%, var(--deep) 100%),
    linear-gradient(90deg,
    rgb(21 45 26 / 0.15) 0%,
    rgb(21 45 26 / 0.2) 40%,
    rgb(21 45 26 / 0.65) 56%,
    rgb(21 45 26 / 0.93) 69%,
    var(--deep) 78%);
}
.deals { grid-column: 2; position: relative; z-index: 1; }
.deals-preview-img {
  position: absolute;
  inset: 0 12% 0 0;
  background: var(--deep);
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.5s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.deals-preview-img.is-active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .deals-preview-img { transition: none; transform: none; }
}

.deals { border-bottom: 1px solid var(--rule); }
.deal {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 0.5rem 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
  cursor: default;
  outline: none;
}
.deal::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 3px;
  background: var(--bar);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.deal.is-active::before { transform: scaleX(1); }
.deal:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .deal::before { transition: none; }
}
.deal-thumb { display: none; }
.deal-year { margin: 0; color: var(--ink-2); font-size: 0.9375rem; padding-top: 0.3rem; font-variant-numeric: tabular-nums; }
.deal-status { margin: 0; font-size: 0.9375rem; padding-top: 0.3rem; color: var(--ink-2); }
.deal h3 {
  font-size: clamp(1.375rem, 0.9vw + 1rem, 1.75rem);
  font-weight: 460;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.deal.is-active h3 { color: var(--accent); }
.deal-body > p { color: var(--ink-2); font-size: 1rem; max-width: 50ch; }
.deal-facts { display: flex; gap: 2.5rem; margin: 1rem 0 0; }
.deal-facts dt { font-size: 0.8125rem; color: var(--ink-2); }
.deal-facts dd { margin: 0; font-weight: 520; font-size: 0.9375rem; }
.status { white-space: nowrap; }
.status-open { color: var(--accent); font-weight: 560; }
.status-open::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.1em;
}

@media (max-width: 900px) {
  .deals-layout { grid-template-columns: minmax(0, 1fr); }
  .deals-preview { display: none; }
  .deals { grid-column: 1; }
  .deal {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    grid-template-areas:
      "thumb year"
      "thumb body"
      "thumb status";
    align-items: start;
    column-gap: 1.25rem;
    row-gap: 0.25rem;
  }
  .deal::before { display: none; }
  .deal-thumb { display: block; grid-area: thumb; aspect-ratio: 1; }
  .deal-thumb::after { display: none; }
  .deal-year { grid-area: year; padding-top: 0; }
  .deal-body { grid-area: body; }
  .deal-status { grid-area: status; padding-top: 0.5rem; }
  .deal.is-active h3 { color: var(--ink); }
  .deal h3 { font-size: 1.25rem; }
  .deal-facts { gap: 1.5rem; }
}

/* Mandates: collapsible details; pinned and scroll-linked on large screens */
.deals-pin-inner { padding-block: var(--section-y); }
.deal-more {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.deal-more > div { overflow: hidden; min-height: 0; transition: opacity 0.4s ease; }
@media (min-width: 901px) and (min-height: 640px) {
  .js .deals-scroll { height: 200vh; }
  .js .deals-pin-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(1.5rem, 4vh, 3rem);
  }
  .js .deals-head { margin-bottom: clamp(1.5rem, 4vh, 3rem); }
  .js .deal { padding-block: clamp(1rem, 2.4vh, 1.5rem); cursor: pointer; }
  .js .deal.is-active { cursor: default; }
  .js .deal-more { grid-template-rows: 0fr; }
  .js .deal-more > div { opacity: 0; }
  .js .deal.is-active .deal-more { grid-template-rows: 1fr; }
  .js .deal.is-active .deal-more > div { opacity: 1; transition-delay: 0.15s; }
  .js .deal::before, .js .deal.is-active::before { transform: scaleX(var(--p, 0)); transition: none; }
  .js #deals .deal:not(.is-active) h3 { color: rgb(255 255 255 / 0.72); }
}
@media (prefers-reduced-motion: reduce) {
  .deal-more, .deal-more > div { transition: none; }
}

/* Mandates on dark green */
#deals .muted { color: var(--on-dark-2); }
#deals .deals { border-bottom-color: rgb(255 255 255 / 0.14); }
#deals .deal { border-top-color: rgb(255 255 255 / 0.14); }
#deals .deal::before { background: var(--bar-on-dark); }
#deals .deal-year, #deals .deal-status, #deals .deal-facts dt { color: var(--on-dark-2); }
#deals .deal-body > p { color: var(--on-dark-2); }
#deals .deal h3, #deals .deal-facts dd { color: #fff; }
#deals .deal.is-active h3 { color: var(--teal-light); }
#deals .status-open { color: var(--teal); }
#deals .status-open::before { background: var(--teal); }
@media (max-width: 900px) {
  #deals .deal.is-active h3 { color: #fff; }
}

/* Sectors: pinned while scrolling on desktop; each stretch of scroll opens
   the next panel. On phones the panels simply stack. */
.sectors-pin-inner { padding-block: var(--section-y); }
.sector { cursor: pointer; }
.sector.is-open { cursor: default; }

/* Shared pinning for scroll-linked sections (needs the script, and room) */
@media (min-width: 901px) and (min-height: 640px) {
  .js .pin-stage {
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    display: flex;
    align-items: stretch;
  }
  .js .sectors-scroll { height: 250vh; }
  .js .sectors-pin-inner {
    display: flex;
    flex-direction: column;
    padding-block: clamp(1.75rem, 5vh, 3.5rem) clamp(1.25rem, 3.5vh, 2.5rem);
  }
  .js .sectors-pin-inner .sectors { flex: 1 1 auto; height: auto; min-height: 18rem; margin-top: clamp(1.5rem, 4vh, 3rem); }
}

.sectors-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.sp-step {
  position: relative;
  appearance: none;
  background: none;
  border: 0;
  padding: 0.85rem 0 0;
  text-align: left;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.3s ease;
}
.sp-step::before, .sp-fill {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
}
.sp-step::before { right: 0; background: var(--rule); }
.sp-fill {
  width: 100%;
  background: var(--bar);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}
.sp-step.is-active { color: var(--ink); font-weight: 560; }
.sp-step:hover { color: var(--ink); }
@media (max-width: 760px) {
  .sectors-progress { display: none; }
}

/* Sectors: expanding photo panels */
.sectors {
  display: flex;
  gap: 0.75rem;
  height: clamp(30rem, 44vw, 38rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.sector {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  outline: none;
  transition: flex-grow 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sector.is-open { flex-grow: 2.4; }
.sector:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sector-media { position: absolute; inset: 0; z-index: -2; }
.sector-media img {
  transform: scale(1.06);
  filter: brightness(0.72) saturate(0.85);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease;
}
.sector.is-open .sector-media img { transform: none; filter: none; }
.sector-media[data-ph$="sector-mobility.jpg"] img { object-position: 40% 50%; }
.sector-media[data-ph$="sector-deeptech.jpg"] img { object-position: 50% 38%; }
/* placeholder label sits top-left so it never collides with the panel text */
.sector-media::after { top: 1rem; bottom: auto; left: 1rem; right: auto; color: rgb(255 255 255 / 0.55); }
.sector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(14 31 18 / 0.9) 0%, rgb(14 31 18 / 0.45) 38%, rgb(14 31 18 / 0) 65%);
}
/* the vinculum bar draws across the open panel */
.sector::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.3125rem;
  background: var(--bar-on-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
}
.sector.is-open::after { transform: scaleX(1); }
.sector-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.sector h3 {
  color: #fff;
  font-size: clamp(1.5rem, 1.1vw + 1rem, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 14ch;
}
.sector-list {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sector.is-open .sector-list { grid-template-rows: 1fr; }
.sector-list ul {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sector.is-open .sector-list ul {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
  padding-top: 1.25rem;
}
.sector-list li {
  position: relative;
  padding-left: 1rem;
  white-space: nowrap;
  color: rgb(255 255 255 / 0.88);
}
.sector-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.5rem;
  height: 2px;
  background: var(--teal);
}
@media (prefers-reduced-motion: reduce) {
  .sector, .sector-media img, .sector::after, .sector-list, .sector-list ul { transition: none; }
}
@media (max-width: 760px) {
  .sectors { flex-direction: column; height: auto; }
  .sector { flex: none; height: 24rem; }
  .sector-media img { transform: none; filter: none; }
  .sector::after { transform: scaleX(1); }
  .sector-list { grid-template-rows: 1fr; }
  .sector-list ul { opacity: 1; transform: none; padding-top: 1rem; }
  .sector-list li { white-space: normal; }
}

/* About: portrait beside the name; three sides of the table
   grouped under one vinculum bar */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.portrait { aspect-ratio: 4 / 5; }
.portrait img { object-position: 50% 30%; }
/* On wide screens the portrait stretches to the full height of the text */
@media (min-width: 901px) {
  .about { align-items: stretch; }
  .portrait { aspect-ratio: auto; height: 100%; min-height: 28rem; }
}
.about-name {
  font-size: clamp(2.75rem, 4.6vw, 5rem);
  font-weight: 360;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-top: -0.08em;
}
.about-role {
  margin: 1.25rem 0 0;
  color: var(--accent);
  font-weight: 560;
}
.about-body .section-lede { margin-top: 1.5rem; max-width: 46ch; }

.sides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.sides-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sides-line {
  flex: 1;
  height: 0.5rem;
  background: var(--bar);
  transform-origin: left center;
}
.js .sides .sides-line { transform: scaleX(0); }
.js .sides.in-view .sides-line { transform: scaleX(1); transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1); }
@media (prefers-reduced-motion: reduce) {
  .js .sides .sides-line { transform: none; transition: none; }
}
.side h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.side p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.about-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  max-width: 58ch;
}
.about-foot strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 24rem; }
}
@media (max-width: 600px) {
  .sides { grid-template-columns: minmax(0, 1fr); }
  .side { padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
  .side:last-child { border-bottom: 0; }
  .sides-bar { margin-bottom: 0.25rem; }
}

/* Homepage strip linking to the Articles page */
.writing-strip { background: var(--paper-2); padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.writing-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.writing-strip h2 { font-size: clamp(1.625rem, 1.6vw + 1rem, 2.25rem); }
.writing-strip p { margin-top: 0.6rem; color: var(--ink-2); }
.writing-strip em { font-style: normal; color: var(--ink); font-weight: 520; }

/* Articles page: white, so the mostly-white Substack covers sit in the page */
.page-articles { background: #fff; }
.page-articles .site-header { background: rgb(255 255 255 / 0.96); border-bottom-color: #e6ebe7; }
.page-articles main { padding-top: var(--header-h); }
.articles-hero { padding-block: clamp(4rem, 9vw, 7.5rem) clamp(2.5rem, 5vw, 4rem); }
.articles-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.articles-hero h1 { max-width: 12ch; }
.articles-hero .section-lede { margin-bottom: 1rem; max-width: 42ch; }
.articles { padding-bottom: var(--section-y); }

.article-link { display: block; color: inherit; text-decoration: none; }
.article-cover { overflow: hidden; background: #fff; border: 1px solid #e6ebe7; }
/* Substack covers are often charts and market maps: show them whole */
.article-cover img { object-fit: contain; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.article-link:hover .article-cover img { transform: scale(1.03); }
.article-cover::after { display: none; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.article-meta span:first-child:not(:only-child) { color: var(--accent); font-weight: 560; }
.article-cta {
  display: inline-block;
  font-weight: 540;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  white-space: nowrap;
}
.article-link:hover .article-cta { text-decoration-thickness: 2px; color: var(--accent); }
.article-link:hover h2, .article-link:hover h3 { color: var(--accent); }
.article-link h2, .article-link h3 { transition: color 0.2s ease; }

.article-feature {
  border-top: 0.375rem solid;
  border-image: var(--bar) 1;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.article-feature .article-link {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.article-cover-feature { aspect-ratio: 2096 / 956; }
.article-feature h2 { font-size: clamp(2rem, 2.4vw + 1rem, 3.25rem); margin-bottom: 1rem; }
.article-feature .article-body > p:not(.article-meta) { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; margin-bottom: 1.5rem; }

.article-list { margin-top: clamp(3.5rem, 7vw, 5.5rem); border-bottom: 1px solid var(--rule); }
.article-row {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr) auto;
  gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: 1.75rem;
  border-top: 1px solid var(--rule);
}
.article-row .article-cover { aspect-ratio: 3 / 2; }
.article-row h3 { font-size: clamp(1.25rem, 0.8vw + 1rem, 1.625rem); font-weight: 460; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.article-row .article-body > p:not(.article-meta) { color: var(--ink-2); font-size: 1rem; max-width: 60ch; }

.articles-subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
}
.articles-subscribe p { font-size: var(--step-1); }

@media (max-width: 900px) {
  .articles-hero-grid, .article-feature .article-link { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .article-row { grid-template-columns: 7rem minmax(0, 1fr); align-items: start; }
  .article-row .article-cta { grid-column: 2; }
}

/* Funding estimator */
button.button { border: 0; font: inherit; font-weight: 540; cursor: pointer; }
.button-ghost {
  display: inline-block;
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  font: inherit;
  font-weight: 540;
  padding: calc(0.95rem - 1px) 1.5rem;
  border-radius: 2px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.button-ghost:hover { background: var(--paper-2); }

.estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.estimator-intro .section-lede { margin: 1.25rem 0 1rem; max-width: 40ch; }
.estimator-intro .muted { font-size: 0.9375rem; max-width: 44ch; }
@media (min-width: 901px) {
  .estimator-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.est-card {
  background: #fff;
  border-top: 0.375rem solid;
  border-image: var(--bar) 1;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.est-meter { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.est-counter { margin: 0 0 0.6rem; font-size: 0.875rem; color: var(--ink-2); }
.est-bar { height: 3px; background: var(--rule); overflow: hidden; }
.est-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--bar);
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) { .est-bar span { transition: none; } }

#estimator-form { min-height: 17rem; display: flex; flex-direction: column; }
#estimator-form .est-actions { margin-top: auto; }
.estimator .est-question, .estimator legend.est-question {
  display: block;
  margin-bottom: 1.25rem;
  font-size: clamp(1.3rem, 0.8vw + 1rem, 1.625rem);
  font-weight: 440;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.est-q .field-hint { margin-top: -0.5rem; margin-bottom: 1rem; }
.est-q .choice span { padding: 0.75rem 1.15rem; font-size: 1rem; }
.estimator .est-raise { margin-bottom: 1.75rem; }
.estimator .est-raise > label { margin-bottom: 0; }

.estimator fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.estimator .field { margin-bottom: 1.75rem; }
.estimator .field > label, .estimator legend {
  display: block;
  padding: 0;
  margin-bottom: 0.75rem;
  font-weight: 560;
  font-size: 1.0625rem;
}
.field-hint { margin: -0.25rem 0 0.5rem; color: var(--ink-2); font-size: 0.9375rem; }
.field-hint-inline { font-weight: 400; color: var(--ink-2); font-size: 0.9375rem; }

.estimator select {
  width: 100%;
  appearance: none;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2f1c' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.estimator select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.9375rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.choice span:hover { border-color: var(--ink-2); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.money-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid #edf0ee;
}
.money-row label { font-size: 0.9375rem; }
.estimator .money-row-total { border-bottom: 0; padding-block: 0; }
.estimator .money-row-total > label { margin-bottom: 0; }
.money {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #fff;
}
.money:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.money input {
  width: 6.5rem;
  border: 0;
  padding: 0.65rem 0.5rem 0.65rem 0.75rem;
  font: inherit;
  text-align: right;
  background: transparent;
  color: var(--ink);
  outline: none;
  -moz-appearance: textfield;
}
.money input::-webkit-outer-spin-button, .money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.money > span { padding-right: 0.75rem; color: var(--ink-2); font-size: 0.9375rem; }

.est-split {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-left: 3px solid var(--teal);
}
.est-split-title { margin: 0 0 0.5rem; font-weight: 560; }
.est-split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.35rem;
}
.est-split-row label { font-size: 0.9375rem; }
.est-split-eur { color: var(--ink-2); font-size: 0.875rem; min-width: 3.5rem; text-align: right; }
.est-split-row .money input { width: 4.5rem; }
.est-split-total { margin: 0.5rem 0 0; font-size: 0.9375rem; color: var(--ink-2); text-align: right; }
.est-split-total strong { color: var(--ink); }
.est-split-total.is-off strong { color: #9b2c22; }

.est-error { min-height: 1.5em; margin: 0 0 0.75rem; color: #9b2c22; font-size: 0.9375rem; }
.est-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
#estimator-form .est-actions { justify-content: space-between; }
#estimator-form .est-actions .button { margin-left: auto; }

.est-result h3 { font-size: 1.5rem; font-weight: 460; outline: none; }
.est-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin: 1.5rem 0 1.75rem;
}
.est-figures > div { border-top: 1px solid var(--ink); padding-top: 1rem; }
.est-label { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }
.est-figure {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  font-weight: 380;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--accent);
}
.est-why { color: var(--ink-2); font-size: 0.9375rem; }
.est-why strong { color: var(--ink); font-weight: 560; }
.est-runway { margin: -0.25rem 0 1.75rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.est-runway-figure { margin: 0.35rem 0 0.4rem; font-size: 1.625rem; font-weight: 420; letter-spacing: -0.02em; color: var(--ink); }
.est-notes { margin-bottom: 1.75rem; }
.est-notes li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.25rem;
  border-top: 1px solid #edf0ee;
  font-size: 0.9375rem;
}
.est-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 0.55rem;
  height: 2px;
  background: var(--teal);
}
.est-send {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}
.est-send h4, .est-sent h4 { margin: 0; font-size: 1.25rem; font-weight: 520; letter-spacing: -0.01em; outline: none; }
.est-closing { margin: 0 0 1.5rem; font-size: var(--step-1); line-height: 1.5; max-width: 52ch; }
.est-send-lede { margin: 0.35rem 0 1.25rem; color: var(--ink-2); font-size: 0.9375rem; }
.est-send-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.est-input-wide { grid-column: 1 / -1; }
.est-input label { display: block; margin-bottom: 0.4rem; font-size: 0.9375rem; font-weight: 540; }
.est-input input, .est-input textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.est-input textarea { resize: vertical; min-height: 5.5rem; }
.est-input input:focus-visible, .est-input textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.est-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.est-send-status { min-height: 1.5em; margin: 0.75rem 0; font-size: 0.9375rem; }
.est-send-status.is-error { color: #9b2c22; }
.est-send .est-actions button[disabled] { opacity: 0.6; cursor: progress; }
.est-privacy { margin-top: 1rem; color: var(--ink-2); font-size: 0.8125rem; }
.est-privacy a { color: var(--accent); }
.est-sent {
  margin-top: 0.5rem;
  padding: 1.5rem;
  background: var(--paper);
  border-left: 3px solid var(--teal);
}
.est-sent h4 { margin-bottom: 1.25rem; }
@media (max-width: 560px) {
  .est-send-grid { grid-template-columns: minmax(0, 1fr); }
}

.est-disclaimer { margin-top: 1.25rem; color: var(--ink-2); font-size: 0.8125rem; }

@media (max-width: 900px) {
  .estimator-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .est-figures { grid-template-columns: minmax(0, 1fr); }
  .money-row { grid-template-columns: minmax(0, 1fr); }
}

/* Contact: full-bleed photograph */
.contact {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding-block: clamp(6rem, 12vw, 11rem);
}
.contact-media { position: absolute; inset: 0; z-index: -2; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(14 31 18 / 0.9) 0%, rgb(14 31 18 / 0.72) 60%, rgb(14 31 18 / 0.55) 100%);
}
.contact h2 {
  display: inline-block;
  font-size: var(--step-3);
  font-weight: 380;
  letter-spacing: -0.04em;
  padding-top: 0.32em;
  border-top: 0.12em solid;
  border-image: var(--bar-on-dark) 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem clamp(2rem, 7vw, 7rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.contact-lede { font-size: var(--step-1); line-height: 1.5; color: rgb(255 255 255 / 0.86); }
.contact-email {
  display: inline-block;
  margin-top: 2rem;
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.contact-email:hover { color: var(--teal-light); }
.contact-checklist { border-top: 1px solid rgb(255 255 255 / 0.4); padding-top: 1.25rem; }
.contact-checklist h3 { font-size: 1.0625rem; margin-bottom: 0.75rem; }
.contact-checklist li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
  color: rgb(255 255 255 / 0.8);
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
}
.contact-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 0.7rem;
  height: 2px;
  background: var(--teal);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Footer */
.site-footer {
  background: var(--deepest);
  color: var(--on-dark-2);
  padding-block: 4rem;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 1.25rem; }
.site-footer .logo span { border-image: var(--bar-on-dark) 1; }
.site-footer .muted { color: var(--band-debt); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: start;
}
.footer-name p { max-width: 46ch; }
.math {
  font-style: italic;
  font-family: "Times New Roman", serif;
  text-decoration: overline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  padding-inline: 0.1em;
}
address { font-style: normal; }
.footer-links li + li { margin-top: 0.35rem; }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}
