/* ==========================================================================
   Plan B Capital — components
   No borders between sections, no divider lines, no glass, no gradients.
   Space and type do the separating.
   ========================================================================== */

/* ---- Header & navigation -------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-canvas);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: var(--header-h);
}

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: var(--space-7); }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, .2rem + 1.4vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  padding-block: var(--space-2);
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  text-decoration: none;
  color: var(--text-primary);
}
.nav-list a:hover { color: var(--accent); }
.nav-list a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
  text-decoration-color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-width: 48px;
  min-height: 48px;
  padding: 0 var(--space-2);
  margin-right: calc(var(--space-2) * -1);
  background: none;
  border: 0;
  font-size: var(--fs-small);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}
.nav-toggle__icon { position: relative; width: 22px; height: 12px; }
.nav-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-abyss);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), top var(--dur-base) var(--ease-out);
}
.nav-toggle__icon span:first-child { top: 0; }
.nav-toggle__icon span:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child { top: 5px; transform: rotate(-45deg); }

/* ---- Type components ------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--text-secondary);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  background: var(--accent);
  border-radius: 2px;
}

.display {
  font-size: var(--fs-display);
  line-height: .98;
  letter-spacing: var(--tracking-display);
  font-weight: var(--weight-semibold);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 40rem;
}
.lead--muted { color: var(--text-secondary); }

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 3.125rem);
  font-weight: var(--weight-medium);
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-wrap: pretty;
  font-variation-settings: "opsz" 96;
}
.statement .muted { color: var(--text-secondary); }

.body-copy { max-width: var(--measure); color: var(--text-secondary); }
.body-copy > * + * { margin-top: 1.1em; }
.body-copy strong { color: var(--text-primary); }

.label {
  font-size: var(--fs-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  font-size: var(--fs-label);
  font-weight: var(--weight-medium);
  letter-spacing: .04em;
  color: var(--text-secondary);
}
.meta > * + *::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: .75rem;
  vertical-align: middle;
  background: var(--color-silver);
  border-radius: 1px;
}

.sample-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-label);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  font-style: italic;
}

/* ---- Buttons & links ------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 52px;
  padding: 0 1.625rem;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--weight-semibold);
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.btn--primary { background: var(--color-abyss); color: var(--color-white); }
.btn--primary:hover { background: var(--color-lagoon); color: var(--color-white); }
.btn--small { min-height: 44px; padding: 0 1.25rem; }

.btn .arrow, .link-arrow .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  font-size: var(--fs-small);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  text-decoration: none;
}
.link-arrow span:first-child {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .3em;
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.link-arrow:hover { color: var(--text-primary); }
.link-arrow:hover span:first-child { text-decoration-color: var(--accent); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }

/* ---- Breadcrumb ------------------------------------------------------ */

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; margin: 0; padding: 0; list-style: none; font-size: var(--fs-small); font-weight: var(--weight-medium); color: var(--text-secondary); }
.breadcrumb a { text-decoration: none; color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--text-primary); text-decoration: underline; }
.breadcrumb li + li::before { content: ""; display: inline-block; width: .4375rem; height: .4375rem; margin-right: .625rem; background: var(--accent); border-radius: 2px; vertical-align: .1em; }
.breadcrumb [aria-current] { color: var(--text-primary); }

/* ---- Heroes ---------------------------------------------------------- */

.hero {
  padding-top: clamp(3rem, 1rem + 7vw, 8rem);
  padding-bottom: var(--section-space);
}
.hero__grid { align-items: end; row-gap: var(--space-8); }
.hero__text { grid-column: 1 / span 8; }
.hero__text .display { margin-top: 0; }
.hero__text .lead { margin-top: var(--space-6); color: var(--text-secondary); }
.hero__text .actions { margin-top: var(--space-7); }
.hero__art { grid-column: 9 / -1; }

.page-hero {
  padding-top: clamp(3rem, 1rem + 6vw, 7rem);
  padding-bottom: var(--section-space);
}
.page-hero h1 { margin-top: var(--space-6); max-width: 15ch; }
.page-hero .lead { margin-top: var(--space-6); color: var(--text-secondary); }
.page-hero .actions { margin-top: var(--space-7); }

/* The lift: ascending rounded squares drawn from the logo */
.lift { width: 100%; max-width: 440px; margin-left: auto; overflow: visible; }
.lift rect { transform-box: fill-box; transform-origin: center; }
.lift .sq-lagoon { fill: var(--color-lagoon); }
.lift .sq-abyss { fill: var(--color-abyss); }
.lift .sq-silver { fill: var(--color-silver); }

/* ---- Section structure ---------------------------------------------- */

.split { row-gap: var(--space-6); }
.split__label { grid-column: 1 / span 3; }
.split__main { grid-column: 4 / -1; }
.split__main--narrow { grid-column: 4 / span 7; }
.split__main > h2 + * { margin-top: var(--space-6); }
.split__label .eyebrow { position: sticky; top: calc(var(--header-h) + var(--space-5)); }

.section-intro { max-width: 52rem; }
.section-intro > * + * { margin-top: var(--space-5); }
.section-intro p { color: var(--text-secondary); font-size: var(--fs-lead); line-height: 1.5; }


/* ---- Features: numbered columns ------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8) var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--weight-semibold);
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.feature h3 { margin-top: var(--space-4); }
.feature p { margin-top: var(--space-3); color: var(--text-secondary); max-width: 30rem; }

/* ---- Rows: large editorial list ------------------------------------ */

.rows { margin: 0; padding: 0; list-style: none; }
.row { padding-block: var(--space-6); row-gap: var(--space-3); align-items: baseline; }
.row:first-child { padding-top: 0; }
.row__num {
  grid-column: 1 / span 1;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--weight-semibold);
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.row__title { grid-column: 2 / span 5; }
.row__title h3 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; }
.row__text { grid-column: 7 / -1; color: var(--text-secondary); max-width: 34rem; }
.row__text .meta { margin-top: var(--space-3); }

/* ---- Statistics ------------------------------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-7) var(--grid-gap);
  margin: 0;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: var(--weight-medium);
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 96;
}
.stat__label { margin-top: var(--space-4); color: var(--text-secondary); font-size: var(--fs-small); max-width: 16rem; }

/* ---- Steps ----------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  gap: var(--space-7) var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  font-weight: var(--weight-medium);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: var(--space-5); font-size: var(--fs-h4); font-family: var(--font-body); font-weight: var(--weight-semibold); letter-spacing: -0.005em; }
.step p { margin-top: var(--space-3); color: var(--text-secondary); font-size: var(--fs-small); }
.step .meta { margin-top: var(--space-3); }

/* ---- Timeline (program structure) ---------------------------------- */

.timeline { margin: 0; padding: 0; list-style: none; }
.timeline__item { padding-block: var(--space-6); row-gap: var(--space-3); }
.timeline__item:first-child { padding-top: 0; }
.timeline__when { grid-column: 1 / span 3; }
.timeline__when .label { color: var(--accent-text); }
.timeline__what { grid-column: 4 / span 4; }
.timeline__detail { grid-column: 8 / -1; color: var(--text-secondary); }

/* ---- Terms / key facts ---------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-7) var(--grid-gap);
  margin: 0;
}
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact dt { font-size: var(--fs-label); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-secondary); }
.fact dd {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.375rem);
  font-weight: var(--weight-medium);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fact dd small { display: block; margin-top: var(--space-2); font-family: var(--font-body); font-size: var(--fs-small); letter-spacing: 0; color: var(--text-secondary); font-weight: var(--weight-regular); line-height: 1.5; }

/* ---- Checklist ------------------------------------------------------- */

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); }
.checklist li { position: relative; padding-left: 1.75rem; color: var(--text-secondary); }
.checklist li strong { color: var(--text-primary); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .5rem;
  height: .5rem;
  background: var(--accent);
  border-radius: 2px;
}
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--grid-gap); }

/* ---- Quote ----------------------------------------------------------- */

.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.75rem);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.quote figcaption { margin-top: var(--space-6); }

/* ---- Filters --------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.filter {
  min-height: 44px;
  padding: 0 1.125rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.filter:hover { color: var(--text-primary); }
.filter[aria-pressed="true"] { background: var(--color-abyss); color: var(--color-white); }
.filter__count { margin-left: .375rem; font-variant-numeric: tabular-nums; opacity: .7; }

.filter-status { margin-top: var(--space-5); font-size: var(--fs-small); color: var(--text-secondary); }

/* ---- Portfolio companies -------------------------------------------- */

.companies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-9) var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.companies--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8) var(--grid-gap); }

.company { display: flex; flex-direction: column; }
.company__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--color-abyss);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.04em;
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.company:hover .company__mark { transform: translateY(-4px); background: var(--color-lagoon); }
.company h3 { margin-top: var(--space-6); font-size: var(--fs-h3); }
.company p { margin-top: var(--space-3); color: var(--text-secondary); max-width: 26rem; }
.company .meta { margin-top: var(--space-4); }
.company.is-hidden { display: none; }

/* ---- People ---------------------------------------------------------- */

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-9) var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.people--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8) var(--grid-gap); }

.person__portrait {
  display: grid;
  place-items: end start;
  aspect-ratio: 4 / 5;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-silver);
  color: var(--color-abyss);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.05em;
  line-height: .9;
  overflow: hidden;
}
.person__portrait--abyss { background: var(--color-abyss); color: var(--color-white); }
.person__portrait--lagoon { background: var(--color-lagoon); color: var(--color-white); }

.person__avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--color-silver);
  color: var(--color-abyss);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.03em;
}
.person h3 { margin-top: var(--space-5); font-size: var(--fs-h3); }
.people--4 .person h3 { font-size: var(--fs-h4); font-family: var(--font-body); letter-spacing: -0.005em; }
.person__role { margin-top: var(--space-1); font-weight: var(--weight-medium); color: var(--accent-text); font-size: var(--fs-small); }
.person p { margin-top: var(--space-3); color: var(--text-secondary); font-size: var(--fs-small); max-width: 26rem; }

/* ---- Articles -------------------------------------------------------- */

.articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-9) var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.article { display: flex; flex-direction: column; align-items: flex-start; }
.article h3 { margin-top: var(--space-4); }
.article > p { margin-top: var(--space-3); color: var(--text-secondary); }
.article .link-arrow { margin-top: var(--space-4); }
.article.is-hidden { display: none; }
.article__body { display: none; }

.featured { row-gap: var(--space-7); align-items: end; }
.featured__title { grid-column: 1 / span 7; }
.featured__title h2 { margin-top: var(--space-5); font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.02; }
.featured__aside { grid-column: 9 / -1; }
.featured__aside p { color: var(--text-secondary); }
.featured__aside .link-arrow { margin-top: var(--space-4); }

.article h3 a, .featured__title h2 a { text-decoration: none; }
.article h3 a:hover, .featured__title h2 a:hover { color: var(--accent); }

/* Article pages: same canvas, one reading column aligned with the title */
.article-hero { padding-bottom: var(--space-8); }
.article-hero .article-hero__section { margin-top: var(--space-6); }
.article-hero h1 { margin-top: var(--space-5); max-width: 22ch; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); letter-spacing: -0.035em; line-height: 1.04; }
.article-hero .article-hero__meta { margin-top: var(--space-5); }
.article-hero .sample-note { margin-top: var(--space-4); }
.prose { max-width: 44rem; font-size: 1.125rem; line-height: 1.75; color: var(--text-primary); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2em; font-size: var(--fs-h3); letter-spacing: -0.015em; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .5em; }
.prose-end { max-width: 44rem; margin-top: var(--space-8); padding-bottom: var(--section-space-sm); }

/* ---- Topics ---------------------------------------------------------- */

.topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-7) var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.topic button {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
}
.topic h3 { transition: color var(--dur-fast) var(--ease-out); }
.topic button:hover h3 { color: var(--accent); }
.topic p { margin-top: var(--space-3); color: var(--text-secondary); font-size: var(--fs-small); }
.topic .meta { margin-top: var(--space-4); }

/* ---- Forms ----------------------------------------------------------- */

.form { display: grid; gap: var(--space-6); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--grid-gap); }

.field label, .field legend {
  display: block;
  margin-bottom: var(--space-2);
  padding: 0;
  font-size: var(--fs-small);
  font-weight: var(--weight-semibold);
}
.field label .optional { font-weight: var(--weight-regular); color: var(--text-secondary); }
.field__hint { margin-top: var(--space-2); font-size: var(--fs-label); color: var(--text-secondary); }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: .75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--color-graphite);
  border-radius: 0;
  font-size: 1.0625rem;
  color: var(--text-primary);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select {
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230B2A33' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .25rem center;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-secondary); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-lagoon);
  box-shadow: 0 1.5px 0 0 var(--color-lagoon);
}

.field--error input, .field--error select, .field--error textarea { border-bottom-color: var(--color-error); }
.field__error { display: none; margin-top: var(--space-2); font-size: var(--fs-label); font-weight: var(--weight-medium); color: var(--color-error); }
.field--error .field__error { display: block; }

.check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-small); color: var(--text-secondary); }
.field .check { display: flex; margin: 0; font-weight: var(--weight-regular); }
.check input { flex: none; width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--color-abyss); }
.field .check input { -webkit-appearance: auto; appearance: auto; display: inline-block; width: 20px; min-height: 0; height: 20px; padding: 0; border: 0; box-shadow: none; }

fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.choice { position: relative; }
.choice input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.125rem;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--color-graphite);
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.choice input:checked + span { background: var(--color-abyss); color: var(--color-white); box-shadow: inset 0 0 0 1.5px var(--color-abyss); }
.choice input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.form__footer p { font-size: var(--fs-label); color: var(--text-secondary); max-width: 28rem; }

.form-status { display: none; }
.form-status.is-visible { display: block; }
.form-status h3 { display: flex; align-items: center; gap: .75rem; }
.form-status h3::before { content: ""; width: .75rem; height: .75rem; background: var(--accent); border-radius: 3px; flex: none; }
.form-status p { margin-top: var(--space-3); color: var(--text-secondary); max-width: 34rem; }
.form-status .link-arrow { margin-top: var(--space-3); }

.inline-form { display: flex; gap: var(--space-4); align-items: flex-end; max-width: 36rem; }
.inline-form .field { flex: 1; }

/* ---- Contact details -------------------------------------------------- */

.contact-list { display: grid; gap: var(--space-6); margin: 0; }
.contact-list dt { font-size: var(--fs-label); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-secondary); }
.contact-list dd { margin-top: var(--space-2); font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: var(--weight-medium); letter-spacing: -0.02em; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.contact-list dd small { display: block; margin-top: var(--space-1); font-family: var(--font-body); font-size: var(--fs-small); letter-spacing: 0; font-weight: var(--weight-regular); color: var(--text-secondary); }

/* ---- Closing call to action ------------------------------------------ */

.cta { padding-block: var(--section-space); }
.cta h2 { margin-top: var(--space-6); font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); max-width: 16ch; }
.cta p { margin-top: var(--space-6); font-size: var(--fs-lead); color: var(--text-secondary); max-width: 38rem; line-height: 1.5; }
.cta .actions { margin-top: var(--space-7); }

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

.site-footer { padding-top: var(--section-space-sm); padding-bottom: var(--space-7); }
.footer-grid { row-gap: var(--space-8); }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand img { width: 168px; height: auto; }
.footer-brand p { margin-top: var(--space-6); color: var(--text-secondary); max-width: 22rem; font-size: var(--fs-small); }
.footer-col { grid-column: span 2; }
.footer-col:first-of-type { grid-column: 6 / span 2; }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-label); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-secondary); }
.footer-col ul { margin: var(--space-5) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.footer-col a { display: inline-block; padding-block: 2px; font-size: var(--fs-small); font-weight: var(--weight-medium); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-9);
  font-size: var(--fs-label);
  color: var(--text-secondary);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---- Entrance animation ---------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .lift rect { opacity: 0; transform: translateY(24px) scale(.9); }
.js .lift.is-visible rect {
  opacity: 1;
  transform: none;
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---- Spacing utilities (last, so they win over component resets) ---- */
.block-gap { margin-top: var(--space-9); }
.block-gap-sm { margin-top: var(--space-7); }
.mt-5 { margin-top: var(--space-5); }
