/* ═══════════════════════════════════════════════════════════
   KAER LABS — design system
   palette: ivory / ink / deep teal / mint / sage / antique gold
   type: Instrument Serif (display) · Instrument Sans (text)
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-400-700-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-400-700-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}

:root {
  --ivory: #F2EFE6;
  --ivory-2: #ECE8DC;
  --paper: #F7F5EE;
  --ink: #23231E;
  --ink-soft: #4A4A42;
  --teal: #175C58;
  --teal-deep: #10403D;
  --mint: #CFE2DA;
  --mint-soft: #DDEAE3;
  --sage: #A9C3B7;
  --gold: #B98A2F;
  --gold-soft: #D9B96A;
  --line: rgba(35, 35, 30, 0.14);
  --line-light: rgba(247, 245, 238, 0.25);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, "Helvetica Neue", sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1440px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

::selection { background: var(--teal); color: var(--paper); }

/* ── type utilities ── */
.h-serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-serif-md {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h-serif-sm {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
}
.h-onteal { color: var(--paper); }
.micro {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.75;
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.45s var(--ease-out), background-color 0.3s ease,
              color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 0.1s; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--teal-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--mint-soft); }
.btn--small { font-size: 12.5px; padding: 8px 18px; }
.btn--small.btn--light { background: var(--paper); }
.btn--small:not(.btn--light) { background: var(--ink); color: var(--paper); }

/* ═══════════ RIBBON ═══════════ */
.ribbon {
  position: fixed;
  top: 0;
  left: clamp(14px, 2.4vw, 34px);
  z-index: 60;
  width: 34px;
  height: 52px;
  background: var(--sage);
  color: var(--paper);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
  transition: height 0.4s var(--ease-out), background-color 0.3s ease;
}
.ribbon svg { width: 19px; height: 19px; }
.ribbon:hover { height: 62px; background: var(--teal); }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: transform 0.5s var(--ease-out), background-color 0.35s ease,
              box-shadow 0.35s ease;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  padding-left: calc(var(--gutter) + 52px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.nav__logo { display: flex; align-items: baseline; gap: 5px; }
.nav__wordmark {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.nav__labs {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.nav__links { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.25s ease;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero__halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(35, 35, 30, 0.16) 1px, transparent 1.1px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(90% 75% at 78% 30%, #000 0%, transparent 62%);
  mask-image: radial-gradient(90% 75% at 78% 30%, #000 0%, transparent 62%);
  opacity: 0.85;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(110px, 14vh, 160px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
  width: 100%;
}
.hero__kicker { margin-bottom: 26px; color: var(--teal); opacity: 1; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.3vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span { display: block; will-change: transform; }
.hero__sub {
  margin-top: 30px;
  max-width: 46ch;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-soft);
}
.hero__actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero__figure { position: relative; }
.hero__imgwrap {
  overflow: clip;
  border-radius: 2px;
  aspect-ratio: 4 / 4.4;
}
.hero__imgwrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  will-change: transform;
}
.hero__caption {
  margin-top: 14px;
  display: block;
  text-align: right;
  font-style: normal;
}

/* ═══════════ DOMAIN INDEX ═══════════ */
.domains {
  position: relative;
  padding: clamp(90px, 12vh, 160px) 0 clamp(110px, 14vh, 180px);
  background:
    linear-gradient(to bottom, var(--ivory) 0%, var(--ivory-2) 55%, var(--mint-soft) 100%);
}
.domains__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.domains__list { border-top: 1px solid var(--line); }
.domains__list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.domains__name {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}
.domains__desc { font-size: 13.5px; color: var(--ink-soft); }
.domains__statement {
  position: sticky;
  top: 28vh;
  padding-top: 8px;
}
.domains__statement .h-serif { margin-bottom: 30px; }

/* ═══════════ ECOSYSTEM ═══════════ */
.eco {
  background: linear-gradient(to bottom, var(--mint-soft), var(--mint) 30%, var(--mint));
  padding: clamp(90px, 12vh, 150px) 0 clamp(100px, 13vh, 170px);
}
.eco__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eco__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(36px, 5vh, 64px);
}
.eco__sub { max-width: 44ch; font-size: 15px; color: var(--ink-soft); justify-self: start; }
.eco__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.eco__card {
  position: relative;
  border-radius: 3px;
  overflow: clip;
  min-height: clamp(300px, 38vw, 460px);
  will-change: transform;
}
.eco__card--img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
  will-change: transform;
}
.eco__card--img:hover img { transform: scale(1.045); }
.eco__card--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 64, 61, 0.55), transparent 55%);
}
.eco__overlay {
  position: absolute;
  z-index: 2;
  inset: auto auto 26px 28px;
  color: var(--paper);
}
.eco__overlay .micro { margin-bottom: 10px; opacity: 0.85; }
.eco__card--text {
  background: var(--paper);
  padding: clamp(24px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eco__card--text .micro { color: var(--teal); opacity: 1; margin-bottom: auto; }
.eco__card--text h3 { margin: 18px 0 12px; }
.eco__card--mint { background: color-mix(in srgb, var(--sage) 55%, var(--paper)); }
.eco__body { font-size: 14.5px; color: var(--ink-soft); max-width: 40ch; margin-bottom: 22px; }
.eco__card--text .btn { margin-top: auto; }

/* ═══════════ METHOD (floating notes) ═══════════ */
.method {
  position: relative;
  padding: clamp(110px, 15vh, 190px) 0 clamp(130px, 18vh, 220px);
  overflow: clip;
  color: var(--paper);
}
.method__bg { position: absolute; inset: -12% 0; z-index: 0; }
.method__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.method::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(16, 64, 61, 0.82) 0%, rgba(16, 64, 61, 0.25) 55%, rgba(16, 64, 61, 0.05) 100%);
}
.method__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: clamp(160px, 20vw, 300px) clamp(160px, 20vw, 300px);
  opacity: 0.5;
  pointer-events: none;
}
.method__inner {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.method__head { max-width: 560px; margin-bottom: clamp(50px, 8vh, 110px); }
.method__sub { margin-top: 22px; font-size: 15px; color: rgba(247, 245, 238, 0.82); max-width: 46ch; }
.method__notes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.note {
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  padding: 22px 24px 26px;
  max-width: 320px;
  box-shadow: 0 24px 60px -24px rgba(16, 64, 61, 0.45);
  will-change: transform;
}
.note h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.note p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.note:nth-child(1) { grid-column: 2 / span 4; }
.note:nth-child(2) { grid-column: 8 / span 4; margin-top: -30px; }
.note:nth-child(3) { grid-column: 4 / span 4; margin-top: 60px; }
.note:nth-child(4) { grid-column: 9 / span 4; margin-top: 40px; }
.note:nth-child(5) { grid-column: 1 / span 4; margin-top: 50px; }

/* ═══════════ SCATTER ═══════════ */
.scatter { position: relative; }
.scatter__pin {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  background: var(--ivory);
}
.scatter__tiles { position: absolute; inset: 0; pointer-events: none; }
.scatter__tile {
  position: absolute;
  width: clamp(64px, 8.5vw, 150px);
  border-radius: 2px;
  box-shadow: 0 18px 44px -18px rgba(35, 35, 30, 0.35);
  will-change: transform;
}
.scatter__tile:nth-child(1)  { top: 8%;  left: 12%; }
.scatter__tile:nth-child(2)  { top: 16%; left: 72%; width: clamp(56px, 6.5vw, 110px); }
.scatter__tile:nth-child(3)  { top: 58%; left: 6%;  width: clamp(60px, 7vw, 120px); }
.scatter__tile:nth-child(4)  { top: 66%; left: 80%; }
.scatter__tile:nth-child(5)  { top: 4%;  left: 44%; width: clamp(56px, 6vw, 104px); }
.scatter__tile:nth-child(6)  { top: 74%; left: 30%; width: clamp(58px, 6.8vw, 116px); }
.scatter__tile:nth-child(7)  { top: 34%; left: 88%; width: clamp(52px, 5.8vw, 100px); }
.scatter__tile:nth-child(8)  { top: 78%; left: 58%; width: clamp(60px, 7vw, 122px); }
.scatter__tile:nth-child(9)  { top: 30%; left: 2%;  width: clamp(56px, 6.4vw, 110px); }
.scatter__tile:nth-child(10) { top: 6%;  left: 86%; width: clamp(58px, 6.6vw, 114px); }
.scatter__copy { position: relative; text-align: center; }
.scatter__line { display: block; }
.scatter__line--b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

/* ═══════════ NETWORK / STATS ═══════════ */
.network {
  background: var(--ivory);
  padding: clamp(100px, 13vh, 170px) 0;
}
.network__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.network__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(44px, 6vh, 80px);
}
.network__title { font-size: clamp(52px, 7vw, 108px); line-height: 0.98; }
.network__figure { overflow: clip; border-radius: 2px; }
.network__figure img { aspect-ratio: 16 / 10.5; object-fit: cover; width: 100%; will-change: transform; }
.network__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.stat {
  background: var(--mint);
  border-radius: 3px;
  padding: 26px 26px 24px;
  min-height: clamp(180px, 15vw, 230px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
}
.stat--mint { background: color-mix(in srgb, var(--mint) 55%, var(--paper)); }
/* staggered mosaic placement — deliberate gaps are part of the rhythm */
.stat--a { grid-column: 1 / 3; grid-row: 1; }
.stat--b { grid-column: 4 / 5; grid-row: 1; margin-top: clamp(20px, 3vw, 44px); }
.stat--c { grid-column: 5 / 7; grid-row: 1; }
.stat--d { grid-column: 2 / 4; grid-row: 2; margin-top: -14px; }
.stat--e { grid-column: 4 / 5; grid-row: 2; }
.stat--f { grid-column: 5 / 7; grid-row: 2; }
.stat--cta {
  background: var(--teal);
  color: var(--paper);
  align-items: flex-start;
  gap: 20px;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(38px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat__label { font-size: 13px; color: var(--ink-soft); max-width: 24ch; }
.stat--cta .stat__label { color: rgba(247, 245, 238, 0.9); }
.stat__label--lg {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  max-width: 18ch;
  color: var(--paper);
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  background: var(--ivory);
  padding: 0 0 clamp(90px, 12vh, 150px);
  overflow: clip;
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  align-items: stretch;
}
.marquee__cell {
  flex: 0 0 auto;
  width: clamp(200px, 21vw, 300px);
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: clip;
}
.marquee__cell--img img { width: 100%; height: 100%; object-fit: cover; }
.marquee__cell--mint {
  background: var(--mint);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
}
.marquee__cell--mint .micro { color: var(--teal); opacity: 1; }
.marquee__q {
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.15;
  max-width: 12ch;
}

/* ═══════════ FULL-BLEED ═══════════ */
.bleed {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: clip;
}
.bleed__img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
.bleed__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 30, 28, 0.72) 8%, rgba(10, 30, 28, 0.18) 60%, transparent 100%);
}
.bleed__copy {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.bleed__copy .h-serif { margin-bottom: 34px; }

/* ═══════════ THESIS SPLIT ═══════════ */
.thesis { background: var(--ivory); padding: clamp(110px, 14vh, 180px) 0; }
.thesis__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.thesis__figure { position: relative; overflow: clip; border-radius: 2px; max-width: 460px; }
.thesis__figure img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; will-change: transform; }
.thesis__figcap {
  position: absolute;
  left: 22px; bottom: 20px;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(16, 64, 61, 0.55);
}
.thesis__copy h2 { max-width: 15ch; margin-bottom: 24px; }
.thesis__copy p { max-width: 44ch; color: var(--ink-soft); font-size: 15.5px; }

/* ═══════════ FRAMED CTA ═══════════ */
.framed { position: relative; }
.framed__bar {
  height: clamp(30px, 3.8vw, 54px);
  background: url("../img/gilt-strip.jpg") repeat-x center / auto 100%;
  box-shadow: inset 0 -5px 12px rgba(50, 32, 6, 0.55), inset 0 5px 12px rgba(255, 238, 195, 0.3);
}
.framed__bar--bottom { transform: scaleY(-1); }
.framed__body {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: clip;
  background: var(--teal-deep);
}
.framed__img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0.55;
  will-change: transform;
}
.framed__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 90% at 50% 60%, rgba(16, 64, 61, 0.55) 0%, rgba(10, 40, 38, 0.88) 100%);
}
.framed__copy {
  position: relative;
  z-index: 2;
  color: var(--paper);
  padding: clamp(90px, 12vh, 140px) var(--gutter);
  max-width: 860px;
}
.framed__copy p {
  margin: 24px auto 34px;
  max-width: 52ch;
  color: rgba(247, 245, 238, 0.85);
  font-size: 15px;
}

/* ═══════════ FAQ ═══════════ */
.faq { background: var(--ivory); padding: clamp(100px, 13vh, 170px) 0 clamp(80px, 10vh, 130px); }
.faq__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 4px;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s ease;
}
.faq__item summary:hover { color: var(--teal); }
.faq__chev {
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out);
  margin-right: 4px;
}
.faq__item[open] .faq__chev { transform: rotate(225deg); }
.faq__body { overflow: hidden; }
.faq__body p {
  padding: 2px 4px 24px;
  max-width: 62ch;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ═══════════ BANNER ═══════════ */
.banner { background: var(--ivory); padding: 0 var(--gutter) clamp(90px, 12vh, 150px); }
.banner__card {
  position: relative;
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  margin: 0 auto;
  background: var(--mint);
  border-radius: 4px;
  text-align: center;
  padding: clamp(70px, 10vh, 130px) var(--gutter);
  overflow: clip;
}
.banner__halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 92, 88, 0.35) 1px, transparent 1.1px);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(70% 120% at 15% 20%, #000 0%, transparent 55%),
    radial-gradient(60% 100% at 90% 85%, #000 0%, transparent 50%);
  mask-image: radial-gradient(70% 120% at 15% 20%, #000 0%, transparent 55%),
    radial-gradient(60% 100% at 90% 85%, #000 0%, transparent 50%);
  -webkit-mask-composite: source-over;
  opacity: 0.6;
  pointer-events: none;
}
.banner__card > * { position: relative; }
.banner__card p {
  margin: 18px auto 30px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: clip;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 9vh, 110px) var(--gutter) 30px;
  text-align: center;
}
.footer__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.footer__logo .nav__wordmark { font-size: 34px; }
.footer__logo .nav__labs { font-size: 15px; }
.footer__tag { margin: 16px 0 26px; font-size: 13.5px; color: var(--ink-soft); }
.footer__social { display: flex; justify-content: center; gap: 18px; margin-bottom: 54px; }
.footer__social a {
  width: 16px; height: 16px;
  opacity: 0.7;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
}
.footer__social a:hover { opacity: 1; transform: translateY(-2px); }
.footer__social svg { width: 100%; height: 100%; fill: var(--ink); }
.footer__links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer__links a { font-size: 13px; font-weight: 500; opacity: 0.85; }
.footer__links a:hover { opacity: 1; }
.footer__strip { margin-top: clamp(40px, 6vh, 70px); }
.footer__strip img {
  width: 100%;
  aspect-ratio: 1920 / 430;
  object-fit: cover;
  object-position: 50% 20%;
  will-change: transform;
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  border-top: 1px solid var(--line);
}

/* ═══════════ REVEAL PRIMITIVES ═══════════
   initial hidden states are applied by JS (gsap.set) so the page
   stays fully visible without JS and in static QA mode */

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .method__notes { gap: 14px; }
  .note:nth-child(1) { grid-column: 1 / span 6; }
  .note:nth-child(2) { grid-column: 7 / span 6; }
  .note:nth-child(3) { grid-column: 2 / span 6; }
  .note:nth-child(4) { grid-column: 7 / span 6; }
  .note:nth-child(5) { grid-column: 1 / span 6; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__figure { order: -1; max-width: 420px; }
  .hero__imgwrap { aspect-ratio: 4 / 3.4; }
  .domains__inner, .eco__head, .faq__inner, .thesis__inner { grid-template-columns: 1fr; }
  .domains__statement { position: static; }
  .eco__grid { grid-template-columns: 1fr; }
  .eco__card { min-height: 340px; }
  .network__head { grid-template-columns: 1fr; }
  .network__grid { grid-template-columns: repeat(2, 1fr); }
  .stat--a, .stat--b, .stat--c, .stat--d, .stat--e, .stat--f {
    grid-column: auto; grid-row: auto; margin-top: 0;
  }
  .stat--cta { grid-column: span 2; }
  .scatter__tile { display: none; }
  .scatter__tile:nth-child(-n+6) { display: block; }
  .footer__links { justify-content: center; }
}
@media (max-width: 700px) {
  .h-serif { font-size: clamp(33px, 9vw, 78px); }
  .domains__statement br,
  .framed__copy h2 br,
  .bleed__copy h2 br,
  .method__head h2 br,
  .eco__head h2 br { display: none; }
}
@media (max-width: 560px) {
  .network__grid { grid-template-columns: 1fr; }
  .stat--cta { grid-column: span 1; }
  .stat { min-height: 150px; }
  .domains__list li { grid-template-columns: 96px 1fr; }
  .domains__name { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-card] { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   PHASE 2 — pixel effects · menu · sub pages
   ═══════════════════════════════════════════════════════════ */

/* ── dither dissolve edges (the video's pixel signature) ── */
.dither-fade { position: relative; }
.dither-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--px-bg, var(--ivory)) 1.1px, transparent 1.3px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 45%, #000 92%);
  mask-image: linear-gradient(to bottom, transparent 45%, #000 92%);
}
.dither-fade--coarse::after { background-size: 10px 10px; }
.dither-fade--top::after {
  -webkit-mask-image: linear-gradient(to top, transparent 45%, #000 92%);
  mask-image: linear-gradient(to top, transparent 45%, #000 92%);
}
.dither-band {
  height: clamp(46px, 6vw, 90px);
  background-image: radial-gradient(rgba(35, 35, 30, 0.5) 1.1px, transparent 1.3px);
  background-size: 8px 8px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
  opacity: 0.28;
}

/* ── pixel-block reveal (JS builds cell grid, GSAP dissolves it) ── */
.px-wrap { position: relative; overflow: clip; }
.px-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  pointer-events: none;
}
.px-overlay i { display: block; background: var(--px-bg, var(--ivory)); }

/* ── nav: burger + overlay menu ── */
.nav__cta { margin-left: auto; }
.nav__burger {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease-out);
}
.nav__burger span {
  display: block;
  width: 16px; height: 1.6px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), background-color 0.3s ease;
}
.nav__burger:hover { border-color: var(--ink); transform: scale(1.06); }
.nav__burger.is-open { background: var(--ink); border-color: var(--ink); }
.nav__burger.is-open span { background: var(--paper); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  visibility: hidden;
  pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 46, 43, 0.42);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.menu.is-open .menu__scrim { opacity: 1; }
.menu__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(560px, 94vw);
  background: var(--ivory);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform 0.65s var(--ease-inout);
  display: flex;
  flex-direction: column;
  padding: clamp(84px, 12vh, 120px) clamp(28px, 4vw, 56px) 30px;
  overflow-y: auto;
}
.menu__panel::before { /* dither edge inside panel */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42px;
  background-image: radial-gradient(rgba(35, 35, 30, 0.35) 1px, transparent 1.2px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent);
  mask-image: linear-gradient(to right, #000, transparent);
  opacity: 0.35;
  pointer-events: none;
}
.menu.is-open .menu__panel { transform: translateX(0); }
.menu__label { color: var(--teal); margin-bottom: 22px; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  transition: padding-left 0.35s var(--ease-out), color 0.25s ease;
}
.menu__links a:hover { padding-left: 14px; color: var(--teal); }
.menu__links .micro { width: 26px; flex: 0 0 auto; opacity: 0.5; }
.menu__links em { font-style: italic; }
.menu__foot { margin-top: auto; padding-top: 34px; display: grid; gap: 18px; }
.menu__mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 16px;
  font-size: 13px;
  color: var(--ink-soft);
}
.menu__mock .micro { color: var(--teal); opacity: 1; }
.menu__digest { display: flex; border-bottom: 1px solid var(--ink); }
.menu__digest input {
  flex: 1;
  border: 0; outline: 0;
  background: transparent;
  font: 500 13.5px var(--sans);
  color: var(--ink);
  padding: 10px 2px;
}
.menu__digest button {
  border: 0; background: transparent;
  font: 500 13px var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--teal);
}
.menu__meta { display: flex; justify-content: space-between; gap: 14px; }

/* ── page hero (sub pages) ── */
.phero {
  padding: clamp(150px, 20vh, 210px) 0 clamp(50px, 7vh, 90px);
  position: relative;
}
.phero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.phero__kicker { color: var(--teal); opacity: 1; margin-bottom: 20px; }
.phero__title { max-width: 14ch; }
.phero__lede {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(15.5px, 1.25vw, 18px);
  color: var(--ink-soft);
}
.phero--center { text-align: center; }
.phero--center .phero__title, .phero--center .phero__lede { margin-inline: auto; }

/* ── research page ── */
.pillars {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) var(--gutter) clamp(90px, 12vh, 150px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(24px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
  min-height: clamp(320px, 30vw, 420px);
}
.pillar .micro { color: var(--teal); opacity: 1; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); margin: 16px 0 12px; }
.pillar p { font-size: 14.5px; color: var(--ink-soft); }
.pillar__foot { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.human {
  background: var(--teal-deep);
  color: var(--paper);
  padding: clamp(100px, 14vh, 170px) 0;
  position: relative;
  overflow: clip;
}
.human__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.human h2 { margin-bottom: 26px; }
.human p { color: rgba(247, 245, 238, 0.85); max-width: 50ch; font-size: 15.5px; }
.human__list { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.human__list span {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 27px);
  padding: 10px 20px;
  border: 1px solid rgba(247, 245, 238, 0.35);
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease-out);
}
.human__list span:hover { background: var(--paper); color: var(--teal-deep); transform: translateY(-3px); }
.pubs { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 12vh, 150px) var(--gutter); }
.pubs__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.pubs__list { border-top: 1px solid var(--line); }
.pub {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 44px);
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, padding-left 0.35s var(--ease-out);
}
.pub:hover { background: var(--paper); padding-left: 14px; }
.pub__date { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.pub__title { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 26px); line-height: 1.2; }
.pub__tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── atlas page ── */
.axes { background: linear-gradient(to bottom, var(--ivory), var(--mint-soft)); padding: clamp(80px, 11vh, 140px) 0; }
.axes__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.axes__head { text-align: center; max-width: 620px; margin: 0 auto clamp(40px, 6vh, 70px); }
.axes__head p { margin-top: 16px; color: var(--ink-soft); font-size: 15px; }
.axes__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.axis {
  background: color-mix(in srgb, var(--mint) 70%, var(--paper));
  border-radius: 3px;
  padding: 24px 24px 22px;
  min-height: clamp(190px, 16vw, 250px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.axis h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.12; }
.axis p { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }
.axis .micro { color: var(--teal); opacity: 1; }
.axis--a { grid-column: 1 / 3; }
.axis--b { grid-column: 4 / 6; margin-top: clamp(18px, 2.6vw, 40px); }
.axis--c { grid-column: 2 / 4; }
.axis--d { grid-column: 4 / 6; margin-top: -12px; }
.axis--e { grid-column: 1 / 3; margin-top: -26px; }
.axis--f { grid-column: 5 / 7; grid-row: 1; }
.bench {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 12vh, 150px) var(--gutter);
  text-align: center;
}
.bench__card {
  position: relative;
  max-width: 780px;
  margin: clamp(36px, 5vh, 60px) auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 40px 90px -40px rgba(35, 35, 30, 0.35);
}
.bench__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.bench__shot { border-radius: 3px; overflow: clip; aspect-ratio: 4/3; position: relative; }
.bench__shot img { width: 100%; height: 100%; object-fit: cover; }
.bench__shot figcaption {
  position: absolute; left: 10px; bottom: 10px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--paper); border-radius: 999px; padding: 5px 12px;
}
.bench__bar {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 9px 9px 20px;
  font-size: 13.5px; color: var(--ink-soft);
  max-width: 480px; margin: 0 auto;
}
.bench__bar b { margin-left: auto; }
.bench__chip {
  position: absolute;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.03em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: 0 12px 28px -14px rgba(35, 35, 30, 0.35);
  white-space: nowrap;
}

/* ── blog ── */
.blog { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(100px, 13vh, 160px); }
.blog__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  background: var(--mint);
  border-radius: 4px;
  overflow: clip;
  margin-bottom: 44px;
}
.blog__feature figure { position: relative; height: 100%; min-height: 340px; }
.blog__feature figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog__feature-copy { padding: clamp(28px, 4vw, 60px); }
.blog__feature-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; margin: 14px 0 14px; }
.blog__feature-copy p { color: var(--ink-soft); font-size: 15px; max-width: 46ch; }
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: clip;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(35, 35, 30, 0.3); }
.post-card figure { aspect-ratio: 16/10; overflow: clip; position: relative; }
.post-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover figure img { transform: scale(1.05); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.15; }
.post-card__body p { font-size: 13.5px; color: var(--ink-soft); }
.post-card__meta { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }

/* ── article ── */
.article { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 11vh, 130px); }
.article__meta { display: flex; gap: 18px; justify-content: center; margin-bottom: 26px; }
.article__hero { max-width: 1040px; margin: 0 auto clamp(44px, 7vh, 80px); padding: 0 var(--gutter); }
.article__hero figure { border-radius: 4px; overflow: clip; position: relative; }
.article__hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article p { font-size: 16.5px; line-height: 1.72; color: var(--ink-soft); margin-bottom: 26px; }
.article p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--ink);
}
.article h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(25px, 2.4vw, 32px);
  margin: 44px 0 18px;
  color: var(--ink);
}
.article blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  color: var(--teal);
  border-left: 2px solid var(--teal);
  padding: 6px 0 6px 26px;
  margin: 38px 0;
}
.article__end {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 50px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
}

/* ── contact ── */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(100px, 13vh, 160px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.contact__aside { position: sticky; top: 120px; display: grid; gap: 28px; }
.contact__block h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 8px; }
.contact__block p, .contact__block a { font-size: 14.5px; color: var(--ink-soft); }
.contact__block a:hover { color: var(--teal); }
.form { display: grid; gap: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: 400 16px var(--sans);
  color: var(--ink);
  padding: 8px 2px 12px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.form__foot { display: flex; align-items: center; gap: 20px; }
.form__note { font-size: 12.5px; color: var(--ink-soft); max-width: 34ch; }
.form__done {
  display: none;
  background: var(--mint);
  border-radius: 3px;
  padding: 34px;
}
.form__done h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 8px; }
.form__done p { color: var(--ink-soft); font-size: 14.5px; }
.form.is-done .form__fields, .form.is-done .form__foot { display: none; }
.form.is-done .form__done { display: block; }
.form__fields { display: grid; gap: 30px; }

/* ── blog filters ── */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 clamp(30px, 4vh, 46px);
}
.filters button {
  font: 500 13px var(--sans);
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.35s var(--ease-out);
}
.filters button:hover { border-color: var(--ink); transform: translateY(-1px); }
.filters button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters button .count { opacity: 0.55; margin-left: 6px; font-size: 11px; }
.post-card.is-hidden { display: none; }
.blog__feature.is-hidden { display: none; }
.cat-chip {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── atlas: release band ── */
.release {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: clamp(34px, 5vh, 54px) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.release div { text-align: center; }
.release b {
  display: block;
  font: 400 clamp(26px, 2.6vw, 38px) var(--serif);
  letter-spacing: -0.01em;
}
.release span { font-size: 12px; color: var(--ink-soft); }

/* ── atlas: domain table ── */
.dwrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 11vh, 140px) var(--gutter); }
.dwrap__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.dwrap__head p { color: var(--ink-soft); font-size: 14px; max-width: 52ch; margin-top: 10px; }
.dtable-scroll { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 820px; }
.dtable th {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  padding: 0 14px 12px;
  border-bottom: 1px solid var(--ink);
}
.dtable td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable td:first-child { font-family: var(--serif); font-size: 17.5px; white-space: nowrap; }
.dtable .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable .note { color: var(--ink-soft); font-size: 12.5px; max-width: 40ch; }
.dtable tbody tr { transition: background-color 0.2s ease; }
.dtable tbody tr:hover { background: var(--paper); }
.dtable__foot { margin-top: 14px; font-size: 12px; color: var(--ink-soft); }

/* ── atlas: behaviour profiles ── */
.profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.profile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(22px, 2.2vw, 32px);
}
.profile h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; margin: 12px 0 4px; }
.profile .micro { color: var(--teal); opacity: 1; }
.profile__class { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 16px; }
.profile dl { display: grid; gap: 12px; font-size: 13px; }
.profile dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.profile dd { color: var(--ink-soft); }
.profile dd b { color: var(--ink); font-weight: 500; }

/* ── atlas: changelog ── */
.changelog { border-top: 1px solid var(--line); margin-top: 34px; }
.change {
  display: grid;
  grid-template-columns: 92px 110px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 40px);
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.change b { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.change .micro { padding-top: 4px; }
.change p { color: var(--ink-soft); font-size: 13.5px; }

/* ── alignment criteria (atlas) ── */
.crits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.crit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(24px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
}
.crit .micro { color: var(--teal); opacity: 1; }
.crit h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.12;
  margin: 12px 0 14px;
}
.crit p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 12px; }
.crit p b { color: var(--ink); font-weight: 600; }
.crit ul { margin: -4px 0 12px 18px; }
.crit ul li { font-size: 13px; color: var(--ink-soft); list-style: disc; margin-bottom: 4px; }
.crit__fleet {
  margin-top: auto !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: 0 !important;
}
.crit--wide {
  grid-column: 1 / -1;
  background: var(--teal-deep);
  border-color: transparent;
}
.crit--wide h3 { color: var(--paper); margin-top: 0; }
.crit--wide p { color: rgba(247, 245, 238, 0.85); max-width: 76ch; }
@media (max-width: 860px) {
  .crits { grid-template-columns: 1fr; }
}

/* ── research log ── */
.rlog { border-top: 1px solid var(--line); }
.rentry {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 44px);
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, padding-left 0.35s var(--ease-out);
}
.rentry:hover { background: var(--paper); padding-left: 14px; }
.rentry__id { font-family: var(--serif); font-size: 21px; color: var(--teal); }
.rentry__id small { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; }
.rentry h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.18; }
.rentry h3 a:hover { color: var(--teal); }
.rentry__abs { font-size: 13.5px; color: var(--ink-soft); max-width: 68ch; margin-top: 9px; }
.rentry__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }

/* ── article extras ── */
.article ul { margin: 0 0 26px 22px; }
.article ul li { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 10px; list-style: disc; }
.article ol { margin: 0 0 26px 22px; }
.article ol li { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 10px; list-style: decimal; }
.article table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 0 0 30px; }
.article th { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); text-align: left; padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); }
.article td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.article code {
  font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 6px;
}
.article__note {
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  padding: 16px 20px;
  margin: 0 0 26px;
}

/* ── phase-2 responsive ── */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .axes__grid { grid-template-columns: repeat(2, 1fr); }
  .axis--a, .axis--b, .axis--c, .axis--d, .axis--e, .axis--f { grid-column: auto; grid-row: auto; margin-top: 0; }
}
@media (max-width: 860px) {
  .human__inner, .contact, .blog__feature { grid-template-columns: 1fr; }
  .contact__aside { position: static; order: 2; }
  .blog__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .pub { grid-template-columns: 74px 1fr; }
  .pub__tag { display: none; }
  .bench__row { grid-template-columns: 1fr; }
  .bench__chip { display: none; }
  .profiles { grid-template-columns: 1fr; }
  .release { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .rentry { grid-template-columns: 64px 1fr; }
  .rentry__meta { display: none; }
  .change { grid-template-columns: 78px 1fr; }
  .change .micro { display: none; }
  .dwrap__head { flex-direction: column; align-items: flex-start; }
}
