/* Hallmark · genre: editorial · macrostructure: Marquee Hero (hero + pitch row) · layout source: Claude Design homepage (user-supplied)
 * theme: custom (brand-locked) · vibe: "founder-minded, dark, confident, one cream breath" · paper: oklch(23.4% 0.006 107) · accent: oklch(58.5% 0.164 42)
 * display: Work Sans 700 (large Claude scale, by user choice) · body: Work Sans 300/400 · axes: dark / geometric-sans / warm
 * nav: N1b-style links + pill CTA (kept by user choice) · footer: Ft1 mast-headed
 * order: hero (+ mark) · intro on cream (lede + facts) · paths as two panels · ventures (numbered rows + studio list) · advising cards · close · footer
 * colour roles: dark first; cream band = introduction only; orange = hero stop, mark, link underlines, one filled CTA, "Let's talk" stop; teal = bullets, hover
 * contrast: pass (40–41) · tokens: pass (48) · honest: pass (46) · mobile: verified 320/375/414/768
 * Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4
 * Requires tokens.css, linked before this file.
 */

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

html {
  overflow-x: clip;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-style: normal;
  overflow-wrap: anywhere;
  min-width: 0;
}
p { text-wrap: pretty; }
ul { list-style: none; }

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

/* ---------- Shared affordances ---------- */

:where(a, button):focus-visible {
  outline: var(--rule-strong) solid var(--color-focus);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-md);
  z-index: var(--z-skip);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-ink);
  color: var(--color-paper);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

/* Inline links: cream text, orange underline that thickens on hover */
.link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: var(--rule-strong);
  text-underline-offset: 5px;
  white-space: nowrap;
  transition: text-decoration-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { color: var(--color-house); text-decoration-color: var(--color-house); }
}
.link:active { opacity: 0.8; }

/* Pill CTA: cream fill on dark, orange ring on hover */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 2.75rem;
  padding-inline: 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-paper);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.pill__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
}
@media (hover: hover) and (pointer: fine) {
  .pill:hover { box-shadow: 0 0 0 3px var(--color-accent); }
}
.pill:active { transform: translateY(1px); }
.pill--lg {
  min-height: 3.5rem;
  padding-inline: 1.75rem;
  font-size: var(--text-lg);
}

/* The one filled orange CTA. Label stays >= 24px: ink on accent is 3.95:1, large text only. */
.cta-big {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  min-height: 4.5rem;
  padding-inline: 2.25rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cta-big:hover { background: var(--color-ink); color: var(--color-paper); transform: translateY(-2px); }
}
.cta-big:active { transform: translateY(0); }

/* Small round bullet used before kickers and service names */
.bullet {
  flex: 0 0 auto;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--color-house);
}

.kicker {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--color-faint);
}

.display {
  font-size: var(--text-section);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: var(--tracking-display);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-paper);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: var(--nav-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-ink);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.brand svg { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.brand:active { opacity: 0.8; }
.nav__right {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__links {
  display: none;
  gap: 2rem;
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.nav__links a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-micro) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 5px; }
}
.nav__links a:active { color: var(--color-house); }

.mark-dot    { fill: var(--color-ink); }
.mark-accent { fill: var(--color-accent); }
.mark-rule   { fill: var(--color-accent); }
.mark-word   { fill: var(--color-ink); font-family: var(--font-display); font-weight: 700; }
.mark-house  { fill: var(--color-house); font-family: var(--font-display); font-weight: 400; }

/* ---------- Hero ---------- */

.hero {
  background-color: var(--color-paper);
  background-image: radial-gradient(var(--color-texture) 1.3px, transparent 1.8px);
  background-size: 28px 28px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--hero-gap);
  padding-block: var(--hero-pad-top) clamp(3.5rem, 1.5rem + 5vw, 6.5rem);
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--color-muted);
}
.hero__eyebrow .bullet { width: 0.625rem; height: 0.625rem; background: var(--color-accent); }
.hero__title {
  font-size: var(--hero-title);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: var(--tracking-hero);
}
.hero__line { display: block; }
.stop { color: var(--color-accent); }
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.hero__pitch {
  flex: 1 1 26rem;
  max-width: 35rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero__lede {
  font-size: var(--text-lede-lg);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) 1.75rem;
}
.hero__actions .link { font-weight: 400; font-size: var(--text-md); color: var(--color-ink-2); }

/* The mark, filled: frame dots cream, interior dim, two orange accents */
.hero__mark {
  flex: 0 1 auto;
  width: var(--hero-mark);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.625rem, 1.4vw, 1.25rem);
}
.hero__mark span {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-ink);
}
.hero__mark .is-dim { background: var(--color-dot-dim); }
.hero__mark .is-accent { background: var(--color-accent); }
@media (prefers-reduced-motion: no-preference) {
  .hero__mark span:not(.is-dim) {
    animation: pop var(--dur-pop) var(--ease-pop) both;
    animation-delay: var(--d, 0ms);
  }
}
/* With JS, hold the build until the mark is in view (see the observer in index.html). */
.js .hero__mark:not(.is-in) span:not(.is-dim) { animation-play-state: paused; }
@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ---------- Introduction: the one cream band ---------- */

.intro {
  background: var(--color-cream);
  color: var(--color-cream-ink);
  --color-focus: var(--color-cream-ink);
}
.intro__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 1.5rem + 4vw, 5.5rem);
  padding-block: var(--section-y);
}
.intro__lede {
  max-width: 73.75rem;
  font-size: var(--text-intro);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.intro__mark {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}
.intro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(28.75rem, 100%), 1fr));
  gap: 3rem clamp(3rem, 1rem + 6vw, 7.5rem);
  align-items: start;
}
.intro__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 35rem;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-cream-body);
}
.facts__row {
  display: grid;
  grid-template-columns: 8.25rem minmax(0, 1fr);
  gap: var(--space-md);
  padding-block: 1.125rem;
  border-top: var(--rule-strong) dotted var(--color-rule-cream);
}
.facts__row:last-child { border-bottom: var(--rule-strong) dotted var(--color-rule-cream); }
.facts dt {
  padding-top: 3px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--color-cream-muted);
}
.facts dd { font-size: var(--text-lg); line-height: 1.45; }
/* Teal fails on cream (2.1:1), so links in the cream band thicken their underline instead */
@media (hover: hover) and (pointer: fine) {
  .intro .link:hover { color: inherit; text-decoration-color: var(--color-accent); text-decoration-thickness: 4px; }
}

/* ---------- Who I work with ---------- */

.work { background: var(--color-paper); }
.work__inner,
.ventures__inner,
.now__inner {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-block: var(--section-y);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
}
.section-head__aside { color: var(--color-muted); }
.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(32.5rem, 100%), 1fr));
  gap: 1.25rem;
}
.panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--panel-pad);
  background: var(--color-paper-2);
}
.panel__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.panel__num {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-accent-text);
}
.panel--studios .panel__num { color: var(--color-house); }
.panel__title {
  font-size: var(--text-panel);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.panel__lede {
  max-width: 35rem;
  font-size: var(--text-lede);
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-ink-2);
}
.panel__item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-block: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.panel__item h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
}
.panel__item p { color: var(--color-muted); }
.work__note {
  max-width: 52ch;
  font-size: var(--text-lede-lg);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-ink-2);
}
.work__note strong { font-weight: 600; color: var(--color-ink); }

/* ---------- Ventures ---------- */

.ventures { background: var(--color-paper-2); }
.ventures__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(32.5rem, 100%), 1fr));
  gap: var(--space-lg) var(--space-2xl);
  align-items: end;
}
.ventures__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 32.5rem;
  font-size: var(--text-lede);
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-ink-2);
}
.venture {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(32.5rem, 100%), 1fr));
  gap: var(--space-lg) var(--space-2xl);
  padding-block: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.venture:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.venture__title {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
.venture__num {
  min-width: 1.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-faint);
}
.venture__name {
  font-size: var(--text-venture);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: var(--tracking-hero);
}
.venture__text {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 37.5rem;
}
.venture__text .kicker { color: var(--color-muted); }
.venture__text .bullet { width: 0.5rem; height: 0.5rem; }
.venture__body { font-size: var(--text-lg); line-height: 1.6; color: var(--color-ink-2); }

/* Studio list, inside the Studios & publishers panel */
.panel__studios {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  container-type: inline-size;
}
.studios__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-sm);
  font-size: clamp(1.125rem, 0.9rem + 0.9vw, 1.625rem);         /* fallback */
  font-size: clamp(1.125rem, 4.6cqi, 1.625rem);                /* sized to the panel, so the five names share one line */
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.studios__sep {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-faint);
}

/* ---------- Advising now ---------- */

.now { background: var(--color-paper); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr));
  gap: var(--space-md);
}
.cards li { display: flex; }
.card {
  flex: 1 1 0;
  min-height: 18.75rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-xl);
  border: 1.5px solid var(--color-rule-strong);
  color: var(--color-ink);
  text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.card__arrow {
  align-self: flex-end;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: var(--text-lg);
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.card__name {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.card__desc { font-size: 1rem; line-height: 1.55; color: var(--color-muted); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { background: var(--color-paper-2); border-color: var(--color-house); }
  .card:hover .card__arrow { background: var(--color-accent); border-color: var(--color-accent); }
}
.card:active { background: var(--color-paper-2); }


/* ---------- Close ---------- */

.close { background: var(--color-paper-2); }
.close__inner {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-block: clamp(5rem, 2rem + 7vw, 10rem);
}
.close__title {
  font-size: var(--text-close);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.055em;
}
.close__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(28.75rem, 100%), 1fr));
  gap: var(--space-xl) clamp(3rem, 1rem + 6vw, 7.5rem);
  align-items: end;
  padding-top: var(--space-xl);
  border-top: var(--rule-strong) dotted var(--color-rule-strong);
}
.close__lede {
  max-width: 38.75rem;
  font-size: var(--text-lede-lg);
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-ink-2);
}
.close__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}
.close__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) 1.75rem;
  font-size: var(--text-lg);
}

/* ---------- Radar page ---------- */

.nav__links a[aria-current="page"] { color: var(--color-ink); }
.radar-hero {
  background-color: var(--color-paper);
  background-image: radial-gradient(var(--color-texture) 1.3px, transparent 1.8px);
  background-size: 28px 28px;
}
.radar-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--hero-gap);
  padding-block: var(--hero-pad-top) clamp(3rem, 1.5rem + 4vw, 5.5rem);
}
.radar-hero__title { font-size: var(--hero-title); line-height: 0.9; letter-spacing: var(--tracking-hero); }
.radar-hero__lede {
  max-width: 40ch;
  font-size: var(--text-lede-lg);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-ink-2);
}
.radar-feed { background: var(--color-paper-2); }
.radar-feed__inner { padding-block: var(--section-y); }
.radar-feed__status { font-size: var(--text-lg); color: var(--color-muted); }
.radar-week + .radar-week { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.radar-week__label {
  margin-bottom: var(--space-lg);
  font-size: var(--text-panel);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.radar-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr));
  gap: var(--space-md) var(--space-2xl);
  padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.radar-week .radar-item:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.radar-item__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.radar-item__title {
  font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.radar-item__link {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .radar-item__link:hover { color: var(--color-house); }
}
.radar-item__link:active { opacity: 0.8; }
.radar-item__meta { color: var(--color-faint); }
.radar-item__take {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 60ch;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-ink-2);
}
.radar-cta { background: var(--color-paper); }
.radar-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
}
.radar-cta__text {
  font-size: var(--text-section);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: var(--tracking-display);
  max-width: 14ch;
}

/* ---------- Policy pages ---------- */

.doc-hero {
  background-color: var(--color-paper);
  background-image: radial-gradient(var(--color-texture) 1.3px, transparent 1.8px);
  background-size: 28px 28px;
}
.doc-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--hero-gap);
  padding-block: var(--hero-pad-top) clamp(3rem, 1.5rem + 4vw, 5.5rem);
}
.doc-hero__lede {
  max-width: 40ch;
  font-size: var(--text-lede-lg);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-ink-2);
}
.doc { background: var(--color-paper-2); }
.doc__body {
  max-width: 44rem;
  padding-block: var(--section-y);
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-muted);
}
.doc__body h2 {
  margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
  font-size: var(--text-panel);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}
.doc__body h2:first-child { margin-top: 0; }
.doc__body p + p,
.doc__body ul + p { margin-top: var(--space-md); }
.doc__body ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block: var(--space-md);
}
.doc__body li {
  position: relative;
  padding-left: 1.5rem;
}
.doc__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-house);
}
.doc__body strong { color: var(--color-ink); font-weight: 600; }
.doc__body .link { white-space: normal; }
.doc__date {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
  color: var(--color-faint);
}

/* ---------- 404 ---------- */

.notfound {
  background-color: var(--color-paper);
  background-image: radial-gradient(var(--color-texture) 1.3px, transparent 1.8px);
  background-size: 28px 28px;
}
.notfound__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--hero-gap);
  min-height: clamp(28rem, 70svh, 48rem);
  padding-block: var(--hero-pad-top) clamp(3.5rem, 1.5rem + 5vw, 6.5rem);
}
.notfound__title {
  font-size: var(--hero-title);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: var(--tracking-hero);
}
.notfound__lede {
  max-width: 34ch;
  font-size: var(--text-lede-lg);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-ink-2);
}
.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) 1.75rem;
}

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

.foot { background: var(--color-paper); }
.foot__inner {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem) var(--space-xl);
}
.foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
}
.foot__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-xl);
}
.foot__logo { width: 8.5rem; height: auto; display: block; }
.foot__about {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-bottom: var(--space-xs);
}
.foot__partners {
  font-size: 1rem;
  color: var(--color-muted);
}
.foot__partners .link { color: var(--color-ink); }
.foot__tagline {
  max-width: 21.25rem;
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-ink-2);
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) 1.75rem;
  font-size: 1rem;
}
.foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: var(--rule-strong);
  text-underline-offset: 5px;
  white-space: nowrap;
  transition: color var(--dur-micro) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .foot__links a:hover { color: var(--color-house); }
}
.foot__links a:active { opacity: 0.8; }
.foot__legal {
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
  font-size: 0.875rem;
  color: var(--color-faint);
}

/* ---------- Breakpoints ---------- */

@media (max-width: 23.99rem) {
  .brand__name { display: none; }
}
@media (min-width: 64rem) {
  /* Links + pill need ~950px; below that the pill carries the nav alone */
  .nav__links { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .pill, .cta-big, .card, .card__arrow, .link, .nav__links a, .foot__links a, .radar-item__link {
    transition-property: color, background-color, border-color, box-shadow, text-decoration-color;
  }
  .pill:active, .cta-big:hover, .cta-big:active { transform: none; }
}
