/* ============================================================
   TAU — landing page
   Editorial, warm-neutral, system-as-metaphor.
   Design language: oat paper · warm charcoal · clay accent.
   Type: Fraunces (display serif) + Hanken Grotesk (humanist sans).
   ============================================================ */

/* -------- 1 · Design tokens -------------------------------- */
:root {
  /* Palette — warm neutrals, earthier than ivory to avoid the
     ubiquitous "AI cream". Clay is the single accent. */
  --paper:        #F2EDE3;   /* warm oat — base */
  --paper-2:      #ECE5D8;   /* recessed warm panel */
  --ink:          #1F1C18;   /* warm near-black — primary text */
  --ink-soft:     #423D35;   /* secondary headings */
  --taupe:        #6E665A;   /* secondary text */
  --taupe-2:      #938A7B;   /* tertiary / metadata */
  --hair:         #D7CFC0;   /* hairlines on paper */
  --clay:         #A8552F;   /* accent — used sparingly */
  --clay-soft:    #C2734A;

  /* Night surfaces — the "system" + closing acts */
  --night:        #211E19;   /* deep warm charcoal */
  --night-2:      #2B2721;
  --night-ink:    #EDE6D8;   /* text on night */
  --night-soft:   #B7AC9A;   /* secondary on night */
  --night-hair:   #433D33;

  /* Type families */
  --serif: "Fraunces", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale (clamp: min, ideal, max) */
  --t-xs:   0.78rem;
  --t-sm:   0.92rem;
  --t-base: 1.05rem;
  --t-md:   clamp(1.18rem, 1.0rem + 0.7vw, 1.45rem);
  --t-lg:   clamp(1.5rem,  1.1rem + 1.7vw,  2.4rem);
  --t-xl:   clamp(2.1rem,  1.3rem + 3.4vw,  3.9rem);
  --t-2xl:  clamp(2.6rem,  1.2rem + 6.0vw,  6.2rem);

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

  --measure: 34rem;          /* readable prose width */
  --edge: clamp(1.25rem, 5vw, 6rem);  /* page side gutters */

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);  /* gentle ease-out */
}

/* -------- 2 · Reset & base --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -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(--sans);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* Fine paper grain — premium texture, no asset needed. */
  background-image: var(--grain);
  background-size: 220px 220px;
}

/* SVG noise as a CSS variable (data URI). Subtle. */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: var(--clay); color: var(--paper); }

/* -------- 3 · Shared typographic roles --------------------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-xl);
  line-height: 1.08;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0;
  color: var(--ink);
  text-wrap: balance;     /* even, orphan-free multi-line headings */
}
.display--xl { font-size: var(--t-2xl); line-height: 1.02; }

.prose {
  font-size: var(--t-md);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: var(--measure);
  font-weight: 400;
}
.prose--center { margin-inline: auto; text-align: center; }
.prose--light { color: var(--night-soft); }

.lead {
  font-family: var(--serif);
  font-size: var(--t-lg);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
}
.lead--center { text-align: center; max-width: 22ch; margin-inline: auto; }

.kicker {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-2);
  margin: 0 0 var(--s-3);
}
.kicker--light { color: var(--night-soft); }

/* -------- 4 · Reveal animation (driven by main.js) --------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* line-by-line hero reveal (mask wipe) */
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.reveal-line > span {
  display: block;
  white-space: nowrap;            /* keep each phrase on one line */
  transform: translateY(118%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--line-i, 0) * 130ms + 120ms);
}
.is-loaded .reveal-line > span { transform: none; }

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

/* ============================================================
   5 · NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2.4vw, 1.9rem) var(--edge);
  mix-blend-mode: normal;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), color 0.4s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
/* nav turns light while over night sections */
.nav.is-dark { color: var(--night-ink); }
.nav.is-dark.is-scrolled {
  background: color-mix(in srgb, var(--night) 70%, transparent);
  border-bottom-color: var(--night-hair);
}
.nav__mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.nav__tau { color: var(--clay); font-size: 1.15em; line-height: 0; position: relative; top: 0.06em; }
.nav.is-dark .nav__tau { color: var(--clay-soft); }
.nav__word { font-weight: 400; }
.nav__links { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 2.4rem); }
.nav__cta, .nav__link {
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.55em 0;
  position: relative;
}
.nav__cta::after, .nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0.3em;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__cta:hover::after, .nav__link:hover::after { transform: scaleX(1); }

/* ============================================================
   6 · HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: var(--s-8) var(--edge) var(--s-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* a soft directional light across the paper */
  background:
    radial-gradient(120% 90% at 78% 18%, color-mix(in srgb, #fff 55%, transparent), transparent 60%),
    radial-gradient(110% 80% at 12% 100%, color-mix(in srgb, var(--clay) 8%, transparent), transparent 55%);
}
.hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: min(92vw, 56rem); }
.hero__folio {
  font-family: var(--sans);
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-2);
  margin: 0 0 var(--s-4);
}
.hero__line {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 5.8rem);  /* sized so it holds one line on desktop */
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
}
.hero__line span span { will-change: transform; }
.hero__sub {
  margin-top: var(--s-4);
  font-size: var(--t-md);
  color: var(--taupe);
  max-width: none;       /* one line on desktop; wraps only when the viewport is narrow */
  line-height: 1.5;
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: var(--edge);
  bottom: clamp(1.5rem, 4vh, 3rem);
  display: flex; align-items: center; gap: 0.9rem;
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-2);
}
.hero__rule {
  width: clamp(40px, 8vw, 90px); height: 1px;
  background: linear-gradient(to right, var(--taupe-2), transparent);
  position: relative; overflow: hidden;
}
.hero__rule::after {
  content: ""; position: absolute; inset: 0;
  background: var(--clay);
  transform: translateX(-100%);
  animation: scrollcue 2.6s var(--ease) infinite;
}
@keyframes scrollcue { 0% { transform: translateX(-100%);} 55%,100% { transform: translateX(100%);} }
@media (prefers-reduced-motion: reduce) { .hero__rule::after { animation: none; } }

/* ============================================================
   7 · RECOGNITION
   ============================================================ */
.recog {
  padding: var(--s-9) var(--edge);
  max-width: 76rem;
  margin-inline: auto;
}
.recog .lead { color: var(--taupe); margin-bottom: var(--s-6); max-width: 22ch; }
.recog__list { border-top: 1px solid var(--hair); }
.recog__item {
  border-bottom: 1px solid var(--hair);
  padding: clamp(1.4rem, 3.4vw, 2.6rem) 0;
}
.recog__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-lg);
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "opsz" 80, "SOFT" 0, "WONK" 0;
  display: block;
  max-width: 26ch;
}

/* desktop: the lead anchors the left; the statements stack on the right.
   On mobile this stays a simple single column (which already reads well). */
@media (min-width: 861px) {
  .recog {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .recog .lead { margin-bottom: 0; padding-top: var(--s-3); position: sticky; top: 5rem; }
  .recog__quote { max-width: none; }
}

/* ============================================================
   8 · FRAGMENTATION
   ============================================================ */
.frag {
  padding: var(--s-9) var(--edge) var(--s-8);
  background: var(--paper-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.frag__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 80rem;
  margin-inline: auto;
}
.frag__text { max-width: 38rem; }
.frag__text .display { margin-bottom: var(--s-4); }

/* floating chips — a dense, disconnected cluster (tight gaps = fragmentation) */
.frag__scatter {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 1.15rem 0.9rem;     /* roomier so it reads scattered, not crammed */
  padding: 0.5rem 0;
}
.frag__chip {
  font-family: var(--serif);
  font-size: clamp(0.92rem, 1.15vw, 1.18rem);
  line-height: 1;
  color: var(--taupe);
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 0.5em 0.9em;
  border-radius: 999px;
  white-space: nowrap;
  font-variation-settings: "opsz" 30;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 4%, transparent);
}

/* ============================================================
   9 · SYSTEM (night, cinematic)
   ============================================================ */
.system {
  background: var(--night);
  color: var(--night-ink);
  padding: var(--s-10) var(--edge);
  position: relative;
  background-image:
    radial-gradient(80% 60% at 80% 10%, color-mix(in srgb, var(--clay) 16%, transparent), transparent 60%),
    var(--grain);
  background-size: auto, 220px 220px;
}
.system__inner { max-width: 80rem; margin-inline: auto; }
.system .display { color: var(--night-ink); }
.system .display--xl { max-width: 16ch; margin-bottom: var(--s-7); }
.system__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.system__copy { display: flex; flex-direction: column; gap: var(--s-5); }
.system__tau {
  font-family: var(--serif);
  font-size: var(--t-md);
  line-height: 1.5;
  color: var(--night-ink);
  max-width: 32rem;
  font-variation-settings: "opsz" 40;
  padding-top: var(--s-4);
  border-top: 1px solid var(--night-hair);
}
.system__tausym { color: var(--clay-soft); font-size: 1.25em; }
.system__taunote { display: block; color: var(--night-soft); margin-top: 0.4em; }

/* constellation */
.constellation { margin: 0; color: var(--night-soft); }
.constellation svg { width: 100%; height: auto; overflow: visible; }
.constellation__links path {
  stroke: var(--night-soft);
  opacity: 0.55;
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.4s var(--ease);
}
.constellation.is-in .constellation__links path { stroke-dashoffset: 0; }
.constellation__nodes circle {
  fill: var(--clay-soft);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  transition-delay: 0.5s;
}
.constellation.is-in .constellation__nodes circle { opacity: 1; }
.constellation__nodes text {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--night-soft);
  transform: translate(10px, 4px);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  transition-delay: 0.7s;
}
.constellation.is-in .constellation__nodes text { opacity: 0.9; }
/* leftmost node: label sits to the left so it isn't covered by links */
.constellation__nodes text.lbl-left { transform: translate(-10px, 4px); text-anchor: end; }
@media (prefers-reduced-motion: reduce) {
  .constellation__links path { stroke-dashoffset: 0; }
  .constellation__nodes circle, .constellation__nodes text { opacity: 1; }
}

/* ============================================================
   10 · TAU (the reveal)
   ============================================================ */
.tau {
  padding: var(--s-10) var(--edge);
  text-align: center;
  max-width: 66rem;
  margin-inline: auto;
}
.tau__name {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--s-4);
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.tau__say {
  font-family: var(--serif);
  font-size: var(--t-lg);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  max-width: 24ch;
  margin: 0 auto var(--s-8);
  font-variation-settings: "opsz" 60, "SOFT" 20;
}
/* the five steps, as a horizontal process strip on desktop */
.tau__loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hair);
  text-align: left;
}
.tau__loop li {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4) clamp(1rem, 1.5vw, 1.6rem);
}
.tau__loop li + li { border-left: 1px solid var(--hair); }
.tau__num {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--clay);
}
.tau__step {
  font-family: var(--serif);
  font-size: var(--t-md);
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: "opsz" 40;
}
/* stack the steps on phones/tablets (number inline with the label) */
@media (max-width: 700px) {
  .tau__loop { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .tau__loop li {
    flex-direction: row; align-items: baseline; gap: var(--s-3);
    padding: var(--s-3) 0; border-bottom: 1px solid var(--hair);
  }
  .tau__loop li + li { border-left: none; }
  .tau__num { min-width: 2.4ch; }
}

/* ============================================================
   11 · CONTACT FORM (lives in the closing act)
   ============================================================ */
.form { max-width: 30rem; margin: var(--s-6) auto 0; text-align: left; }
.form__grid {
  display: grid;
  grid-template-columns: 1fr;   /* fields fill downwards — natural to complete */
  gap: var(--s-4);
}
.form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.form__label {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}
.form__input {
  font-family: var(--sans);
  font-size: var(--t-base);
  color: var(--ink);
  background: color-mix(in srgb, #ffffff 55%, var(--paper));
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 0.85em 0.9em;
  width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form__input::placeholder { color: var(--taupe-2); }
.form__input:focus {
  outline: none;
  border-color: var(--clay);
  background: #fffdf8;
}
.form__input:user-invalid { border-color: color-mix(in srgb, var(--clay) 55%, var(--hair)); }
.form__submit { margin-top: var(--s-4); width: 100%; justify-content: center; }
.form__note {
  margin-top: var(--s-3);
  text-align: center;
  font-size: var(--t-sm);
  color: var(--taupe);
  min-height: 1.2em;
}
.form__note.is-error { color: var(--clay); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   12 · CLOSING
   ============================================================ */
.close {
  background:
    radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--clay) 8%, transparent), transparent 55%),
    var(--paper);
  color: var(--ink);
  padding: var(--s-9) var(--edge);
  text-align: center;
  border-top: 1px solid var(--hair);
}
.close__inner { max-width: 52rem; margin-inline: auto; }
.close .display--xl { color: var(--ink); margin-bottom: var(--s-5); }
.close .prose--center { color: var(--taupe); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-size: var(--t-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: var(--ink);
  padding: 1.05em 1.8em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover { background: var(--clay); color: var(--paper); }
.btn:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.close__where a {
  color: var(--night-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease);
}
.close__where a:hover { color: var(--clay-soft); }
.close__where {
  font-size: var(--t-sm);
  letter-spacing: 0.04em;
  color: var(--night-soft);
}

/* ============================================================
   13 · FOOTER (light)
   ============================================================ */
.foot {
  background: var(--paper-2);
  color: var(--taupe);
  border-top: 1px solid var(--hair);
  padding: var(--s-4) var(--edge);
}
.foot__inner {
  max-width: 80rem;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-2) var(--s-6);
  flex-wrap: wrap;
}
.foot__brand { max-width: 32rem; }
.foot__mark {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.foot__line {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--taupe);
  max-width: 30ch;
}
.foot__meta {
  font-size: var(--t-sm);
  letter-spacing: 0.01em;
  color: var(--taupe-2);
  white-space: nowrap;
}
.foot__meta a {
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease);
}
.foot__meta a:hover { color: var(--clay); }
.foot__dot { margin: 0 0.6em; }

/* ============================================================
   14 · Responsive
   ============================================================ */
@media (max-width: 860px) {
  .frag__grid { grid-template-columns: 1fr; }
  /* chips sit ABOVE the text on stacked layouts, with room to breathe */
  .frag__scatter { gap: 1rem; justify-content: flex-start; order: -1; margin-bottom: var(--s-4); }
  .system__body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__inner { max-width: 100%; }
  /* bigger hero type on phones; allow the single line to wrap to two */
  .hero__line { font-size: clamp(2.5rem, 13vw, 3.8rem); text-wrap: balance; }
  .hero__line .reveal-line > span { white-space: normal; }
  .hero__sub { max-width: 30ch; }
  .frag__scatter { gap: 1.15rem 0.7rem; }
  .frag__chip { font-size: 0.9rem; padding: 0.45em 0.8em; }
  .display { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  /* form is already single-column; nothing extra needed */
  .foot__inner { align-items: flex-start; }
  .foot__meta { white-space: normal; }
}

/* ============================================================
   16 · ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: calc(var(--s-8) + 3rem) var(--edge) var(--s-7);
  max-width: 58rem;
  margin-inline: auto;
}
.about-tau {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  color: var(--clay);
  margin-bottom: var(--s-3);
  font-variation-settings: "opsz" 144, "WONK" 1;
}
.about-hero .display--xl { color: var(--ink); margin-bottom: var(--s-5); }

.about-section { padding: var(--s-8) var(--edge); }
.about-section > .about-inner,
.about-section:not(.about-section--tint) { max-width: 76rem; margin-inline: auto; }
.about-section--tint { background: var(--paper-2); border-block: 1px solid var(--hair); }
.about-inner { max-width: 76rem; margin-inline: auto; }

/* heading-left / body-right editorial split */
.about-split { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-head h2 { font-family: var(--serif); font-weight: 400; font-size: var(--t-xl); letter-spacing: -0.015em; line-height: 1.08; color: var(--ink); text-wrap: balance; }
.about-head .prose { margin-top: var(--s-3); }
.about-section > .about-head { margin-bottom: var(--s-6); }

/* team */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6) var(--s-4);
  list-style: none;
}
.member__photo { margin: 0 0 var(--s-3); aspect-ratio: 4 / 5; }
.member__name { font-family: var(--serif); font-weight: 400; font-size: var(--t-lg); letter-spacing: -0.01em; color: var(--ink); font-variation-settings: "opsz" 48; }
.member__role { font-family: var(--sans); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-top: 0.5rem; }
.member__bio { font-size: var(--t-sm); line-height: 1.5; color: var(--taupe); margin-top: var(--s-2); }

/* partners */
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); list-style: none; }
.partner {
  aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--s-3);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe-2);
}
@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; gap: var(--s-3); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-3); }
  .partners__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Print — keep the warm world (and reveal content on paper)
   ============================================================ */
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .reveal, .reveal-line > span { opacity: 1 !important; transform: none !important; }
  .constellation__links path { stroke-dashoffset: 0 !important; }
  .constellation circle, .constellation text { opacity: 1 !important; }
  .nav, .hero__scroll { position: static; }
  .hero { min-height: auto; }
}

/* ============================================================
   15 · Swap-ready editorial image slot
   Drop a real documentary photo in later:
     <figure class="plate" style="--img:url('assets/img/hands.jpg')"></figure>
   It inherits a warm duotone treatment automatically. Until a
   photo is set, an atmospheric warm panel renders in its place.
   ============================================================ */
.plate {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--clay) 14%, var(--paper-2)), var(--paper-2));
}
.plate::before {            /* the photo, warm-toned */
  content: "";
  position: absolute; inset: 0;
  background-image: var(--img, none);
  background-size: cover; background-position: center;
  filter: sepia(0.18) saturate(0.9) contrast(1.02) brightness(0.98);
  mix-blend-mode: multiply;
}
.plate::after {             /* unifying warm wash + grain */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--ink) 22%, transparent)),
    var(--grain);
  background-size: auto, 220px 220px;
  pointer-events: none;
}
