/* ==========================================================================
   Pompadour Ventures : homepage
   Tokens first, then base, then components, then sections.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts : Untitled Serif + Untitled Sans (Klim), self-hosted
   -------------------------------------------------------------------------- */
@font-face { font-family: "Untitled Serif"; src: url("/assets/fonts/untitled-serif-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Untitled Serif"; src: url("/assets/fonts/untitled-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Untitled Serif"; src: url("/assets/fonts/untitled-serif-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Untitled Sans"; src: url("/assets/fonts/untitled-sans-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Untitled Sans"; src: url("/assets/fonts/untitled-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Untitled Sans"; src: url("/assets/fonts/untitled-sans-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Untitled Sans"; src: url("/assets/fonts/untitled-sans-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks so text doesn't jump while the webfonts load */
@font-face { font-family: "Untitled Serif Fallback"; src: local("Times New Roman"), local("Times"); ascent-override: 98%; descent-override: 25%; line-gap-override: 0%; size-adjust: 104%; }
@font-face { font-family: "Untitled Sans Fallback"; src: local("Helvetica Neue"), local("Arial"); ascent-override: 100%; descent-override: 25%; line-gap-override: 0%; size-adjust: 103%; }

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour : brand palette, light (default)
     primary: royal blue + gold | secondary: pink + ivory | accent: mint + slate | neutral: charcoal + taupe */
  --blue:     #4169E1;
  --gold:     #D4AF37;
  --pink:     #E6B8C1;
  --ivory:    #FFFFF0;
  --mint:     #98FF98;
  --slate:    #627585;
  --charcoal: #36454F;
  --taupe:    #DCD0C0;

  /* Roles */
  --paper:        #FAF9EE;   /* ivory, tempered a step towards white for long reading */
  --paper-2:      #EEE8DC;   /* taupe at 40% on ivory: placeholder blocks, quiet surfaces */
  --paper-3:      var(--taupe);   /* footer */
  --band:         var(--pink);    /* the one coloured band (Join) */
  --ink:          var(--charcoal);
  --ink-2:        #55687A;   /* slate, darkened to pass 4.5:1 on ivory */
  --ink-3:        #8494A0;   /* metadata */
  --line:         rgba(54, 69, 79, 0.16);
  --line-strong:  rgba(54, 69, 79, 0.36);
  --accent:       var(--blue);    /* actions: wordmark, focus, hover fill, active tab, inner ring */
  --accent-ink:   #FFFFF0;
  --accent-soft:  rgba(65, 105, 225, 0.12);
  --highlight:    var(--gold);    /* light: the sun in the Sunrise visual, the outer ring */
  --state:        var(--mint);    /* live / selected: status dot, pressed filter pills */
  --focus:        var(--accent);

  /* Type */
  --font-display: "Untitled Serif", "Untitled Serif Fallback", "Times New Roman", serif;
  --font-sans:    "Untitled Sans", "Untitled Sans Fallback", "Helvetica Neue", Arial, sans-serif;

  /* Type scale : fluid, clamps between 375px and 1440px viewports */
  --text-display: clamp(2.75rem, 1.5rem + 5.2vw, 5.75rem);   /* 44 → 92 */
  --text-h1:      clamp(2.125rem, 1.25rem + 3.2vw, 4rem);     /* 34 → 64 */
  --text-h2:      clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);    /* 26 → 40 */
  --text-h3:      clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);     /* 20 → 24 */
  --text-lead:    clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); /* 18 → 21 */
  --text-body:    1.0625rem;                                  /* 17 */
  --text-small:   0.9375rem;                                  /* 15 */
  --text-meta:    0.75rem;                                    /* 12, uppercase tracked */

  --leading-display: 0.98;
  --leading-heading: 1.08;
  --leading-body:    1.55;
  --tracking-display: -0.015em;
  --tracking-meta:    0.12em;

  /* Spacing : 4px base */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;
  --s-10: 8rem;
  --s-11: 10rem;

  --section-y: clamp(4.5rem, 6vw + 3rem, var(--s-11));   /* 72 → 160 */
  --gutter:    clamp(1.25rem, 4.5vw, 4rem);                   /* 20 → 64 */
  --container: 82rem;                                         /* 1312 */
  --measure:   36rem;                                         /* ~62ch at 17px */

  /* Shape : interactive = pill, surfaces = square */
  --radius-pill: 999px;
  --radius-surface: 0;

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   160ms;
  --dur-base:   320ms;
  --dur-reveal: 720ms;
  --dur-hero:   1000ms;
  --stagger:    80ms;
  --ring-spin:  90s;

  /* Layers */
  --z-nav: 20;
  --z-menu: 30;

  --nav-h: 4.5rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:       #222D35;   /* charcoal, one step darker */
    --paper-2:     #2C3A44;
    --paper-3:     #1B242B;
    --band:        #3C2F36;   /* pink, deep */
    --ink:         #F3F1E4;
    --ink-2:       #C5BEB0;   /* taupe, lifted */
    --ink-3:       #8E99A3;
    --line:        rgba(243, 241, 228, 0.14);
    --line-strong: rgba(243, 241, 228, 0.34);
    --accent:      #7B98F0;
    --accent-ink:  #1B242B;
    --accent-soft: rgba(123, 152, 240, 0.16);
    --highlight:   #E0C25A;
  }
}
:root[data-theme="dark"] {
  --paper:       #222D35;
  --paper-2:     #2C3A44;
  --paper-3:     #1B242B;
  --band:        #3C2F36;
  --ink:         #F3F1E4;
  --ink-2:       #C5BEB0;
  --ink-3:       #8E99A3;
  --line:        rgba(243, 241, 228, 0.14);
  --line-strong: rgba(243, 241, 228, 0.34);
  --accent:      #7B98F0;
  --accent-ink:  #1B242B;
  --accent-soft: rgba(123, 152, 240, 0.16);
  --highlight:   #E0C25A;
}

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

html {
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }   /* weights are set per class; never synthesise bold */
strong, b { font-weight: 500; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* Type utilities */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h1);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: var(--measure);
  text-wrap: pretty;
}
.body { color: var(--ink-2); max-width: var(--measure); text-wrap: pretty; }
.meta {
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.em { font-style: italic; }

/* --------------------------------------------------------------------------
   3. Components
   -------------------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--secondary:hover { border-color: var(--ink); background: var(--state); color: var(--charcoal); }
.btn--sm { min-height: 2.5rem; padding: 0 1.125rem; font-size: 0.875rem; }
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* Text link with underline that draws in */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 2px;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0.35);
  transition: transform var(--dur-base) var(--ease-out);
}
.link:hover::after { transform: scaleX(1); }
.link .arrow { transition: transform var(--dur-base) var(--ease-out); }
.link:hover .arrow { transform: translateX(3px); }

/* Hairline rule */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* --------------------------------------------------------------------------
   4. Header / nav
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.wordmark {
  display: block;
  color: var(--accent);
  width: 9.5rem;
  height: auto;
  transition: opacity var(--dur-base) var(--ease-out);
}
.wordmark:hover { opacity: 0.8; }
.wordmark svg { width: 100%; height: auto; }

.nav {
  display: none;
  align-items: center;
  gap: var(--s-6);
}
.nav__link {
  position: relative;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink-2);
  padding: var(--s-2) 0;
  transition: color var(--dur-base) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

/* Theme choice lives in the footer as plain text */
.theme { display: inline-flex; gap: var(--s-4); }
.theme__opt {
  position: relative;
  background: transparent; border: 0; padding: 0 0 2px; cursor: pointer;
  font-size: var(--text-small); color: var(--ink-3);
  transition: color var(--dur-base) var(--ease-out);
}
.theme__opt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.theme__opt:hover { color: var(--ink); }
.theme__opt[aria-pressed="true"] { color: var(--ink); }
.theme__opt[aria-pressed="true"]::after { transform: scaleX(1); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  background: transparent;
  border: 0;
  padding: var(--s-2) 0;
  font-size: var(--text-small);
  font-weight: 500;
  cursor: pointer;
}
.menu-toggle__icon {
  position: relative;
  width: 20px;
  height: 12px;
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out), top var(--dur-base) var(--ease-out);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after  { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after  { top: 5px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: var(--z-menu);
  background: var(--paper);
  padding: var(--s-7) var(--gutter) var(--s-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    visibility 0s linear var(--dur-base);
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.menu__list { display: grid; gap: var(--s-4); }
.menu__link {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: block;
  padding: var(--s-2) 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: calc(var(--stagger) * 1); }
.menu.is-open .menu__link:nth-child(2) { transition-delay: calc(var(--stagger) * 2); }
.menu.is-open .menu__link:nth-child(3) { transition-delay: calc(var(--stagger) * 3); }
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  color: var(--ink-2);
  font-size: var(--text-small);
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
body.menu-open { overflow: hidden; }

@media (min-width: 48em) {
  .nav { display: flex; }
  .menu-toggle, .menu { display: none; }
}

/* --------------------------------------------------------------------------
   5. Reveal system (scroll-linked)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.reveal.is-in { opacity: 1; transform: none; }

/* Line reveal: clip text upward, used for the hero headline */
/* clip-path instead of overflow: the region reaches 0.32em below the box so descenders (g, p, y) stay whole */
.line { display: block; clip-path: inset(-0.12em -0.1em -0.32em -0.1em); }
.line > span {
  display: block;
  transform: translateY(140%);
  transition: transform var(--dur-hero) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.is-loaded .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .line > span, .menu__link { opacity: 1; transform: none; transition: none; }
  .btn, .link::after, .nav__link::after { transition: none; }
}

/* --------------------------------------------------------------------------
   6. Hero : the X-ray and the rings
   Under the headline lies the X-ray of Boucher's portrait, c. 1750, multiplied
   onto the paper. Three large rings, the wordmark's tilted o, orbit the face.
   hero.js reads the geometry from the --ring-* variables below.
   -------------------------------------------------------------------------- */
:root {
  --ring-cx: 78%;   /* orbit centre, fraction of the hero box; phones override cy in hero.js */
  --ring-cy: 30%;
  --ring-rx: 30vw;  /* base radii, the wordmark's o is 4:5 */
  --ring-ry: 37vw;
  --ring-rot: -18;  /* degrees */
}
@media (min-width: 48em) {
  :root { --ring-cx: 70%; --ring-cy: 50%; --ring-rx: 23vw; --ring-ry: 28vw; }
}
@media (min-width: 64em) {
  :root { --ring-cx: 75%; --ring-cy: 52%; --ring-rx: 20vw; --ring-ry: 25vw; }
}
@media (min-width: 100em) {
  :root { --ring-rx: 19rem; --ring-ry: 23.5rem; }
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 1rem + 8vw, 8.75rem);        /* 45 → 140, two lines everywhere */
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
/* Brand tagline rule: "Enlightening" in the serif, "modern solutions" in the sans, matched on cap height */
.line--sans {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: 0.94em;
}

.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  position: relative;
  z-index: 1;
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  align-content: start;
  padding-top: var(--s-6);
  padding-bottom: var(--s-8);
}
.hero__title { color: var(--ink); position: relative; }
.hero__below { margin-top: var(--s-7); }
.hero__lead { max-width: 30rem; }
@media (max-width: 47.98em) {
  /* Phones: the orbit sits top right, bleeding off the corner; the headline
     starts inside its lower-left quadrant. Content-height, not screen-height. */
  .hero, .hero__inner { min-height: 0; }
  .hero__inner { padding-top: calc(var(--ring-ry) * 1.55); padding-bottom: var(--s-7); }
  .hero__below { margin-top: var(--s-6); }
  .hero__lead { max-width: 30rem; }
  .is-loaded .hero__xray { opacity: 0.66; }
  .hero__xray {
    -webkit-mask-image: radial-gradient(ellipse 46% 42% at 50% 34%, #000 30%, rgba(0,0,0,0.5) 62%, transparent 94%);
    mask-image: radial-gradient(ellipse 46% 42% at 50% 34%, #000 30%, rgba(0,0,0,0.5) 62%, transparent 94%);
  }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* X-ray layer: one frame, sized by hero.js so the face sits at the orbit centre */
.hero__xray {
  position: absolute;
  z-index: 0;
  left: var(--p-left, 0); top: var(--p-top, 0); width: var(--p-w, 100%); height: var(--p-h, 100%);
  object-fit: fill;
  transform-origin: 50% 30%;        /* between face and bow */
  mix-blend-mode: multiply;         /* the X-ray's whites dissolve into the paper, only the ghost stays */
  opacity: 0;
  filter: contrast(1.12) brightness(1.06);
  -webkit-mask-image: radial-gradient(ellipse 46% 35% at 50% 34%, #000 28%, rgba(0,0,0,0.5) 60%, transparent 96%);
  mask-image: radial-gradient(ellipse 46% 35% at 50% 34%, #000 28%, rgba(0,0,0,0.5) 60%, transparent 96%);
  transition: opacity 1600ms var(--ease-out);
  will-change: transform;
}
.is-loaded .hero__xray { opacity: 0.78; }

/* Geometry layer */
.hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.hero__ring {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;             /* drawn in on load, see below */
}
.hero__ring--accent { stroke: var(--accent); stroke-width: 1.25; }
.hero__ring--gold { stroke: var(--highlight); stroke-width: 1; }
.is-loaded .hero__ring { animation: ring-draw 1800ms var(--ease-out) forwards; }
.is-loaded .hero__ring:nth-child(1) { animation-delay: 300ms; }
.is-loaded .hero__ring:nth-child(2) { animation-delay: 550ms; }
.is-loaded .hero__ring:nth-child(3) { animation-delay: 800ms; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }

/* Scroll-linked exit: the X-ray zooms, the copy lifts. Progressive. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__inner {
      animation: hero-copy-exit linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
    .hero__xray.is-scroll {
      animation: hero-xray-exit linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }
}
@keyframes hero-copy-exit { to { transform: translateY(-6%); } }
@keyframes hero-xray-exit { to { transform: scale(1.18); opacity: 0.4; } }

@media (min-width: 64em) {
  .hero__inner { align-content: center; padding-top: var(--s-7); padding-bottom: var(--s-9); }
  .hero__below { margin-top: var(--s-7); max-width: 34rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__xray { opacity: 0.78; transition: none; }
  .hero__ring { stroke-dashoffset: 0; animation: none; }
  .is-loaded .hero__ring { animation: none; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__xray { mix-blend-mode: screen; filter: contrast(1.1); }
  :root:not([data-theme="light"]) .is-loaded .hero__xray { opacity: 0.42; }
}
:root[data-theme="dark"] .hero__xray { mix-blend-mode: screen; filter: contrast(1.1); }
:root[data-theme="dark"] .is-loaded .hero__xray { opacity: 0.42; }

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--s-9); }
.section + .section { border-top: 1px solid var(--line); }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4) var(--s-6);
  margin-bottom: var(--s-8);
}

/* Statement : editorial, headline plus two paragraphs */
.statement { text-align: left; }
.statement__title { max-width: 18ch; }
.statement__body {
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-5);
}
.statement__body p { max-width: var(--measure); }
@media (min-width: 64em) {
  .statement { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-9); align-items: start; }
  .statement__body { margin-top: 0; }
}

/* Ventures : asymmetric 7/5 pair, media block above text, hairline separators */
.ventures__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
.venture {
  display: grid;
  gap: var(--s-5);
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.venture__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  overflow: hidden;
  border-radius: var(--radius-surface);
  isolation: isolate;
}
.venture__media svg { width: 100%; height: 100%; }
.venture__media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.venture__body { display: grid; gap: var(--s-3); }
.venture__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
}
.venture__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h2);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.venture__title { font-weight: 500; }
.venture__desc { color: var(--ink-2); max-width: 34rem; }
.venture__link { margin-top: var(--s-2); }
.venture__media .drift { transition: transform calc(var(--dur-base) * 2) var(--ease-out); }
.venture:hover .venture__media .drift { transform: translateY(-3%); }
@media (min-width: 48em) {
  .ventures__grid { grid-template-columns: 7fr 5fr; gap: var(--s-7); align-items: start; }
  .venture--secondary { margin-top: var(--s-10); }
  .venture--secondary .venture__media { aspect-ratio: 1 / 1; }
}

/* Philosophy : 2x2 principle grid, top rules, no cards */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.principle {
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
  display: grid;
  gap: var(--s-3);
}
.principle__body { color: var(--ink-2); }
@media (min-width: 48em) {
  .principles { grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-7); }
}

/* Join : tinted band, big serif question, one CTA */
.join {
  background: var(--band);
  color: var(--charcoal);
  border-top: 1px solid var(--line);
}
.join .lead, .join .body { color: var(--charcoal); opacity: 0.82; }
.join .btn--primary { background: var(--charcoal); color: var(--ivory); }
.join .btn--primary:hover { background: var(--accent); color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .join, :root:not([data-theme="light"]) .join .lead { color: var(--ink); } }
:root[data-theme="dark"] .join, :root[data-theme="dark"] .join .lead { color: var(--ink); }
.join__inner {
  display: grid;
  gap: var(--s-6);
  padding-block: var(--section-y);
}
.join__title { max-width: 16ch; }
.join__body { max-width: 30rem; }
@media (min-width: 64em) {
  .join__inner { grid-template-columns: 7fr 5fr; align-items: end; gap: var(--s-9); }
  .join__aside { display: grid; gap: var(--s-5); justify-items: start; }
}

/* Newsletter */
.newsletter {
  display: grid;
  gap: var(--s-6);
  padding-block: var(--s-9);
}
.newsletter__title { max-width: 18ch; }
.form { display: grid; gap: var(--s-2); width: 100%; max-width: 30rem; }
.form__label { font-size: var(--text-small); font-weight: 500; }
.form__row {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 1.25rem;
  gap: var(--s-2);
  background: var(--paper);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.form__row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.5rem 0;
  outline: none;
}
.form__input::placeholder { color: var(--ink-3); }
.form__hint { font-size: var(--text-small); color: var(--ink-2); }
.form__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }   /* honeypot, never shown */
.form__msg { font-size: var(--text-small); color: var(--ink); min-height: 1.5em; }
.form__msg.is-error { color: #B4322A; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form__msg.is-error { color: #F08A82; }
}
:root[data-theme="dark"] .form__msg.is-error { color: #F08A82; }
@media (min-width: 64em) {
  .newsletter { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-9); }
  .form { justify-self: end; }
}

/* Footer */
.footer {
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  padding-block: var(--s-8) var(--s-7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7) var(--s-6);
}
.footer__brand { grid-column: 1 / -1; }
.footer__brand .wordmark { width: 8rem; }
.footer__col { display: grid; gap: var(--s-3); align-content: start; }
.footer__col .meta { margin-bottom: var(--s-1); }
.footer__link {
  color: var(--ink-2);
  font-size: var(--text-small);
  transition: color var(--dur-base) var(--ease-out);
}
.footer__link:hover { color: var(--ink); }
.footer__bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--text-small);
  color: var(--ink-3);
}
@media (min-width: 48em) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   8. Ventures overview (/ventures)
   -------------------------------------------------------------------------- */
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.page-head { padding-block: var(--s-8) var(--s-7); }
.page-head__lead { margin-top: var(--s-5); }
.page-head__body { margin-top: var(--s-4); }
@media (min-width: 48em) { .page-head { padding-block: var(--s-9) var(--s-8); } }

/* Filters: search, status tabs, tag pills */
.filters { display: grid; gap: var(--s-5); }
.search { max-width: 24rem; }
.search .form__row { padding-left: 1rem; padding-block: 4px; }
.search .form__input { min-height: 2.25rem; }
.search__clear {
  background: transparent; border: 0; padding: 0 0.75rem; cursor: pointer;
  color: var(--ink-2); font-size: var(--text-small); font-weight: 500;
}
.search__clear[hidden] { display: none; }

.filters__row { display: grid; gap: var(--s-5); }
.tabs {
  display: flex;
  gap: var(--s-5);
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  flex: 0 0 auto;
  background: transparent; border: 0; padding: var(--s-3) 0 var(--s-4); cursor: pointer;
  font-size: var(--text-small); font-weight: 500; color: var(--ink-2);
  transition: color var(--dur-base) var(--ease-out);
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab__count { color: var(--ink-3); margin-left: 0.35em; font-variant-numeric: tabular-nums; }
@media (min-width: 48em) { .tabs { margin-inline: 0; padding-inline: 0; } }
@media (min-width: 64em) {
  .filters__row {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: var(--s-6);
    border-bottom: 1px solid var(--line);
  }
  .filters__row .tabs { border-bottom: 0; }
  .filters__row .search { width: 20rem; margin-bottom: var(--s-3); }
}
@media (max-width: 63.98em) { .filters__row .search { order: -1; } }

.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag {
  display: inline-flex; align-items: center; min-height: 2rem; padding: 0 0.875rem;
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer;
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.tag:hover { color: var(--ink); border-color: var(--ink); }
.tag[aria-pressed="true"] { background: var(--state); color: var(--charcoal); border-color: var(--state); }
.tag--static { cursor: default; min-height: 1.75rem; padding: 0 0.75rem; font-size: 0.8125rem; border-color: var(--line); }
.tag--static:hover { color: var(--ink-2); border-color: var(--line); }

/* Status: text label with one small dot that carries real state */
.status { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--text-small); font-weight: 500; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.status--active::before { background: var(--state); box-shadow: inset 0 0 0 1px rgba(54, 69, 79, 0.35); }
.status--exploring::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.status--paused::before { background: var(--ink-3); }
.status--stopped::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.status--stopped, .status--paused { color: var(--ink-2); }

/* List */
.vlist { margin-top: var(--s-7); border-top: 1px solid var(--line); }
.vlist__meta { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-4); }
.vrow {
  display: grid;
  gap: var(--s-4);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--line);
}
.vrow__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.vrow__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--text-h2); line-height: 1.1; letter-spacing: -0.01em;
}
.vrow__name a { transition: color var(--dur-base) var(--ease-out); }
.vrow__name a:hover { color: var(--accent); }
.vrow__title { font-weight: 500; }
.vrow__desc { color: var(--ink-2); max-width: var(--measure); }
.vrow__note { color: var(--ink-2); font-size: var(--text-small); max-width: var(--measure); }
.vrow__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-2); }
.vrow__side { display: grid; gap: var(--s-3); align-content: start; }
@media (min-width: 64em) {
  .vrow { grid-template-columns: 4fr 6fr 2fr; gap: var(--s-7); padding-block: var(--s-7); }
  .vrow__head { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .vrow__side { justify-items: end; text-align: right; }
}

/* View switch: plain text, like the theme choice */
.view { display: inline-flex; gap: var(--s-4); }
.view__opt {
  position: relative; background: transparent; border: 0; padding: 0 0 2px; cursor: pointer;
  font-size: var(--text-small); font-weight: 500; color: var(--ink-3);
  transition: color var(--dur-base) var(--ease-out);
}
.view__opt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.view__opt:hover, .view__opt[aria-pressed="true"] { color: var(--ink); }
.view__opt[aria-pressed="true"]::after { transform: scaleX(1); }

/* Tiles: generated mark on top, hairline, text below. No cards. */
.vgrid { display: grid; grid-template-columns: 1fr; gap: var(--s-7) var(--s-6); padding-block: var(--s-6); }
.vtile { display: grid; gap: var(--s-4); align-content: start; }
.vtile__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--paper-2);
}
.vtile__media svg { width: 100%; height: 100%; display: block; }
.vtile__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.vtile__media .drift { transition: transform calc(var(--dur-base) * 2) var(--ease-out); }
.vtile:hover .vtile__media .drift { transform: translateY(-3%); }
.vtile__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.vtile__name { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h3); line-height: 1.15; letter-spacing: -0.01em; }
.vtile__name a { transition: color var(--dur-base) var(--ease-out); }
.vtile__name a:hover { color: var(--accent); }
.vtile__title { color: var(--ink-2); font-size: var(--text-small); }
.vtile__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
@media (min-width: 30em) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .vgrid { grid-template-columns: repeat(3, 1fr); gap: var(--s-8) var(--s-7); } }

/* Empty state */
.empty { padding-block: var(--s-9); display: grid; gap: var(--s-3); justify-items: start; }
.empty[hidden] { display: none; }
.empty p { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   9. Artwork : Madame de Pompadour imagery
   Rule: paintings sit in the system as duotone (greyscale, multiplied onto
   the paper) and come into colour on hover or when scrolled into view.
   -------------------------------------------------------------------------- */
.art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  mix-blend-mode: multiply;
  transition: filter 900ms var(--ease-out), opacity var(--dur-reveal) var(--ease-out);
}
.art--colour, .art:hover, a:hover > .art, .art-hover:hover .art, .art-hover.is-colour .art { filter: none; }
/* Page-head portraits de-grey on load, like the hero */
.art--reveal { transition-delay: 500ms; }
.is-loaded .art--reveal { filter: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .art { mix-blend-mode: normal; opacity: 0.88; }
}
:root[data-theme="dark"] .art { mix-blend-mode: normal; opacity: 0.88; }
@media (prefers-reduced-motion: reduce) { .art { transition: none; } }

/* Statement with a painted detail on the left */
.statement__media {
  display: none;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
@media (min-width: 64em) {
  .statement { grid-template-columns: 4fr 8fr; align-items: start; }
  .statement__media { display: block; max-width: 22rem; }
  .statement__text { display: grid; gap: var(--s-6); }
}
@media (max-width: 63.98em) {
  .statement__media { display: block; aspect-ratio: 4 / 3; margin-bottom: var(--s-6); }
  .statement__media .art { object-position: 50% 30%; }
}
@media (min-width: 48em) and (max-width: 63.98em) {
  .statement__media { max-width: 24rem; aspect-ratio: 4 / 5; }
}

/* Join band with the bracelet detail bleeding in from the right */
.join { position: relative; overflow: hidden; isolation: isolate; }
.join__art {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-inline: calc(var(--gutter) * -1);
  overflow: hidden;
  background: transparent;
}
.join__art .art { -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
@media (min-width: 64em) {
  .join__art {
    position: absolute;
    inset: 0 0 0 auto;
    width: 46%;
    aspect-ratio: auto;
    margin: 0;
    z-index: -1;
  }
  .join__art .art {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
    mask-image: linear-gradient(to right, transparent, #000 35%);
  }
  .join__inner { position: relative; grid-template-columns: minmax(0, 54%); gap: var(--s-6); }
  .join__inner .join__aside { justify-items: start; }
  .join__art .art { opacity: 0.78; }
}

/* Page head with a portrait on the right (philosophy, join) */
.page-head--visual { display: grid; gap: var(--s-7); align-items: end; }
.page-head__art { aspect-ratio: 4 / 5; max-width: 18rem; overflow: hidden; background: var(--paper-2); }
@media (min-width: 64em) {
  .page-head--visual { grid-template-columns: 7fr 5fr; gap: var(--s-9); }
  .page-head__art { max-width: 24rem; justify-self: end; }
}

/* Gallery strip : horizontal scroll-snap, captions below, never on the image */
.gallery {
  display: flex;
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: var(--s-2);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 min(72vw, 20rem); scroll-snap-align: start; display: grid; gap: var(--s-3); }
.gallery__frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.gallery__caption { font-size: var(--text-small); color: var(--ink-2); }
.gallery__caption strong { display: block; font-weight: 500; color: var(--ink); }
@media (min-width: 48em) { .gallery__item { flex-basis: 20rem; } }
@media (min-width: 64em) { .gallery { margin-inline: 0; padding-inline: 0; } }

/* Long-form prose (philosophy) */
.prose { display: grid; gap: var(--s-7); max-width: var(--measure); }
.prose h2 { margin-bottom: var(--s-3); }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: var(--s-4); }
.prose .signoff { color: var(--ink); font-family: var(--font-display); font-style: italic; font-size: var(--text-lead); }

/* Textarea in the join form */
.form__area {
  width: 100%;
  min-height: 9rem;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: var(--paper);
  padding: 0.875rem 1.25rem;
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.form__area:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form__area::placeholder { color: var(--ink-3); }
.form--stack { max-width: 34rem; gap: var(--s-5); justify-self: start; }
.form-block { display: grid; gap: var(--s-6); }
@media (min-width: 64em) { .form-block { grid-template-columns: 4fr 8fr; gap: var(--s-9); align-items: start; } }
.form__field { display: grid; gap: var(--s-2); }
.form__field .form__row { padding-left: 1.25rem; }
.form__field .form__input { min-height: 2.5rem; }

/* --------------------------------------------------------------------------
   10. Philosophy page head : a different portrait on every load, with caption
   -------------------------------------------------------------------------- */
.portrait { display: grid; gap: var(--s-3); max-width: 18rem; }
.portrait .page-head__art { max-width: none; }
.portrait__caption { display: grid; gap: 2px; font-size: var(--text-small); color: var(--ink-2); line-height: 1.4; }
.portrait__title { font-family: var(--font-display); font-style: italic; font-size: var(--text-body); color: var(--ink); }
.portrait__source { color: var(--ink-3); }
/* the radiograph reads as a plate on the paper, not a photo */
.art--xray { filter: contrast(1.08) brightness(1.04); mix-blend-mode: multiply; }
.art--xray:hover, .art-hover:hover .art--xray, .art-hover.is-colour .art--xray { filter: contrast(1.08) brightness(1.04); }
@media (min-width: 64em) {
  .portrait { max-width: 24rem; justify-self: end; }
}

/* --------------------------------------------------------------------------
   11. Venture detail pages (/ventures/<slug>)
   -------------------------------------------------------------------------- */
.detail-head { padding-block: var(--s-8) var(--s-7); }
.detail-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-5); }
.detail-head__name { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h2); line-height: 1.1; letter-spacing: -0.01em; }
.detail-head__title { margin-top: var(--s-3); }
.detail-head__lead { margin-top: var(--s-5); }
@media (min-width: 48em) { .detail-head { padding-block: var(--s-9) var(--s-8); } }

.detail-media {
  aspect-ratio: 16 / 7;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
}
.detail-media svg { width: 100%; height: 100%; }
.detail-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }

.detail { display: grid; gap: var(--s-8); }
.detail__facts { display: grid; gap: var(--s-4); align-content: start; border-top: 1px solid var(--line); padding-top: var(--s-5); }
.fact { display: grid; gap: 2px; }
.fact__label { font-size: var(--text-meta); letter-spacing: var(--tracking-meta); text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.fact__value { font-size: var(--text-small); color: var(--ink); }
.detail__body { display: grid; gap: var(--s-8); max-width: var(--measure); }
.detail__section { border-top: 1px solid var(--line); padding-top: var(--s-5); display: grid; gap: var(--s-3); }
.detail__section .h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h2); line-height: 1.15; letter-spacing: -0.01em; }
.detail__section .sub { font-weight: 500; }
.detail__section p, .detail__section li { color: var(--ink-2); }
.detail__section .list { display: grid; gap: var(--s-2); padding-left: 1.1em; list-style: disc; margin-top: var(--s-2); }
.detail__section .list li::marker { color: var(--ink-3); }
.pull {
  margin: var(--s-4) 0 0;
  padding-left: var(--s-5);
  border-left: 1px solid var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-h3);
  line-height: 1.3;
  color: var(--ink);
}
.trio { display: grid; gap: var(--s-6); }
.trio__item { border-top: 1px solid var(--line); padding-top: var(--s-4); display: grid; gap: var(--s-2); }
.trio__item p { color: var(--ink-2); font-size: var(--text-small); }
@media (min-width: 48em) { .trio { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); } }
@media (min-width: 64em) {
  .detail { grid-template-columns: 3fr 9fr; gap: var(--s-9); }
  .detail__facts { position: sticky; top: calc(var(--nav-h) + var(--s-6)); }
}

/* Next venture */
.next { border-top: 1px solid var(--line); padding-block: var(--s-8); display: grid; gap: var(--s-3); }
.next__name { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h2); line-height: 1.1; letter-spacing: -0.01em; }
.next__name a:hover { color: var(--accent); }
