/* Co Labs — v3
   Base: v2 prototype styles, kept intact where unchanged.
   New: accent token, field canvases, people line, stage tag, and build page. */

/* Syne, self-hosted (assets/fonts/, SIL OFL 1.1). The same variable files
   Google Fonts serves, so rendering is identical, but no visitor request goes
   to Google. One file per character set covers weights 400-800: the range
   must include 500, the weight most headings use. Unicode ranges match
   Google's, so the latin-ext file only downloads if a page needs it. */
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./assets/fonts/syne-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./assets/fonts/syne-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #0a0e12;
  --ink: #111713;
  --bone: #f1efe7;
  --paper: #f7f5ee;
  --lime: #c8ff62;
  --blue: #4568ff;
  --coral: #ff675d;
  --muted: #767971;
  --line-dark: rgba(17, 23, 19, 0.18);
  --line-light: rgba(247, 245, 238, 0.22);
  --gutter: clamp(20px, 4vw, 64px);
  --page-edge: max(var(--gutter), calc((100vw - 1120px) / 2));
  --header-h: 72px;
  --section-radius: clamp(30px, 4vw, 58px);
  --section-overlap: clamp(24px, 2.8vw, 36px);
  --display: "Syne", "Syne Local", "Arial Black", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--night); color: var(--bone); font-family: var(--body); -webkit-font-smoothing: antialiased; }

/* Co Labs page palette. One accent, used at ~5%: the gathering point in the field,
   the kicker, the closing statement line, the stage-tag dot, the invite pill on hover. */
.co-page {
  --night: #111613;
  --ink: #182019;
  --bone: #eee9dc;
  --paper: #f3f0e7;
  --lime: #c7c1b3;
  --blue: #3f4640;
  --coral: #948f84;
  --muted: #5f685f;
  --accent: #d4a94a;      /* antique citron on night */
  --accent-ink: #847949;  /* olive brass on paper */
  --line-dark: rgba(24, 32, 25, .17);
  --line-light: rgba(238, 233, 220, .18);
}

/* Grain: a fixed, faint film over the whole page. It is what keeps the dark/cream
   system from reading as a screen; the texture on the boards, at 4%. */
.co-page::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px; mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
img, video, canvas { display: block; }
button, input, select, textarea { font: inherit; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-edge);
  color: var(--bone);
  /* Solid on dark sections so section copy never shows through behind the nav. */
  background: rgba(23, 27, 18, .97);
  transition: color .2s ease, background-color .2s ease;
}
/* Over the hero, a scrim that fades into the field instead of a hard bar. */
.site-header.is-over-hero { background: linear-gradient(to bottom, rgba(17, 22, 19, .97) 0%, rgba(17, 22, 19, .82) 50%, rgba(17, 22, 19, 0) 100%); }
.site-header.is-on-light { color: var(--ink); background: #f2f1ec; border-bottom: 1px solid rgba(26, 30, 21, .06); }
.co-wordmark { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .34em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-pill) { padding: 12px 0; }
.site-nav a:not(.nav-pill)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-pill { border: 1px solid currentColor; border-radius: 999px; padding: 10px 16px; transition: border-color .25s ease, color .25s ease; }
.co-page .nav-pill:hover, .co-page .nav-pill:focus-visible { border-color: var(--accent); color: var(--accent); }
.menu-button { display: none; border: 0; background: transparent; color: inherit; width: 44px; height: 44px; padding: 12px; }
.menu-button span { display: block; height: 1px; background: currentColor; margin: 6px 0; }

/* The field, persisting: one fixed canvas over the whole page, drawn in difference so the
   same strands read light on night and dark on paper. Alpha is set by scroll in app.js. */
.field-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; mix-blend-mode: difference; }
.belief-section > *, .shape-section > *, .principles-section > *, .co-block > *, .closing-section > *, .site-footer > *, .ensemble-bridge__content { position: relative; z-index: 4; }

/* ---------- Hero ---------- */
.resonance-hero { position: relative; height: 100svh; min-height: 680px; background: var(--night); }
.resonance-stage { position: relative; height: 100%; overflow: hidden; isolation: isolate; }
.resonance-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.resonance-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 14, 18, .08); pointer-events: none; }

.hero-thesis { position: absolute; z-index: 2; left: var(--page-edge); right: var(--page-edge); bottom: clamp(92px, 10vh, 112px); width: min(640px, calc(100vw - (var(--page-edge) * 2))); text-align: left; opacity: 1; transform: translateY(8px); transform-origin: left bottom; pointer-events: none; }
.hero-thesis h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 3.8vw, 60px); line-height: .98; letter-spacing: -.045em; }
.hero-thesis h1 span { display: block; will-change: transform; }
.hero-dek { max-width: 650px; margin: 16px 0 0; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.48; color: rgba(241, 239, 231, .82); }
.hero-thesis h1 { animation: hero-head-in .7s cubic-bezier(.22, 1, .36, 1) both; }
.hero-thesis .hero-dek { animation: hero-copy-in .8s .14s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes hero-head-in { from { opacity: .72; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-copy-in { from { opacity: .64; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Sections ---------- */
.section-index { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.light-section { background: var(--paper); color: var(--ink); }
.belief-section { padding: 58px var(--page-edge) 64px; overflow: hidden; }
.co-page .belief-section { position: relative; margin-top: calc(var(--section-overlap) * -1); border-radius: var(--section-radius) var(--section-radius) 0 0; }
.belief-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .7fr); gap: clamp(42px, 4.5vw, 68px); align-items: start; margin-top: clamp(28px, 2.6vw, 36px); }
.belief-layout h2 { max-width: 660px; margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(36px, 2.85vw, 46px); line-height: 1.06; letter-spacing: -.04em; }
.belief-copy { max-width: 490px; margin-top: .1em; font-size: clamp(16.5px, 1vw, 17px); line-height: 1.55; }
.belief-copy p { margin-top: 0; }
.belief-copy .belief-lead { margin-bottom: .35em; font-family: var(--display); font-size: clamp(18px, 1.2vw, 21px); font-weight: 600; line-height: 1.3; letter-spacing: -.018em; }
.belief-section--combined { padding-bottom: calc(62px + var(--section-overlap)); }
.collective-argument { position: relative; margin-top: clamp(52px, 5vw, 70px); padding-top: clamp(28px, 3vw, 38px); }
.collective-argument::before { content: ""; position: absolute; top: 0; left: 0; width: clamp(48px, 5vw, 72px); height: 1px; background: var(--accent-ink); opacity: .72; }
/* The diagram spans the full width beneath the two text columns, so the block reads as a
   balanced unit instead of leaving the lower-left empty. */
.collective-argument .relational-system--open { grid-column: 1 / -1; margin-top: clamp(18px, 2vw, 28px); }

.shape-section { position: relative; margin-top: calc(var(--section-overlap) * -1); padding: calc(58px + var(--section-overlap)) var(--page-edge) calc(88px + var(--section-overlap)); overflow: hidden; border-radius: var(--section-radius) var(--section-radius) 0 0; background: var(--night); color: var(--bone); }
.shape-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr); gap: clamp(42px, 4.5vw, 68px); align-items: start; margin-top: clamp(28px, 2.6vw, 36px); }
.shape-grid h2 { max-width: 640px; margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(33px, 2.55vw, 42px); line-height: 1.08; letter-spacing: -.036em; }

/* The relational ripple: people as light. Each person has a reach (the ring); ties make both
   reaches larger; the reader is the accent and contact goes both ways. */
.relational-system { margin-top: 18px; }
.relation-panel { margin-top: 24px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.relation-panel { position: relative; height: clamp(250px, 32vh, 310px); overflow: hidden; }
.relational-canvas { position: absolute; inset: 46px 0 0; width: 100%; height: calc(100% - 46px); }
.relational-system--open .relation-panel { margin: 0; border: 0; height: clamp(200px, 17vw, 260px); }
.relational-system--open .relational-canvas { inset: 0; width: 100%; height: 100%; }

.principles-section { padding: calc(58px + var(--section-overlap)) var(--page-edge) calc(72px + var(--section-overlap)); }
.co-page .principles-section { position: relative; margin-top: calc(var(--section-overlap) * -1); border-radius: var(--section-radius) var(--section-radius) 0 0; }
.principles-header { display: grid; grid-template-columns: 1.08fr .72fr; gap: clamp(42px, 4.5vw, 68px); align-items: start; margin: clamp(28px, 2.6vw, 36px) 0 clamp(32px, 3vw, 42px); }
.principles-header h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(33px, 2.55vw, 42px); line-height: 1.08; letter-spacing: -.036em; }
.principles-header p { max-width: 480px; margin-top: .1em; font-size: clamp(16.5px, 1vw, 17px); line-height: 1.55; }
.principle-row { display: grid; grid-template-columns: 48px minmax(220px, .72fr) minmax(340px, 1fr); gap: 20px clamp(24px, 2.5vw, 42px); align-items: start; padding: 20px 0; border-top: 1px solid var(--line-dark); transition: color .25s ease, padding .25s ease; }
.principle-row:last-child { border-bottom: 1px solid var(--line-dark); }
.principle-row > span { font-size: 14px; letter-spacing: .12em; }
.principle-row h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.2vw, 20px); line-height: 1.25; letter-spacing: -.015em; }
.principle-row p { max-width: 620px; margin: 0; color: #40473e; font-size: 16px; line-height: 1.42; }
.principle-row:hover { padding-left: 12px; }
.founder-side .section-index { display: block; margin-bottom: 26px; }
.founder-name { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; letter-spacing: -.03em; }
.founder-name a { color: inherit; text-decoration: none; }
.founder-name a:hover { color: var(--accent-ink); }
.founder-name span { display: block; margin-top: 12px; font-family: var(--body); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
/* PEOPLE reads as the closing beat of "How we build": a sub-block on the same card,
   set apart by a divider rather than promoted to its own section. */
.co-block { position: relative; display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: clamp(42px, 4.5vw, 68px); margin: clamp(44px, 5vw, 68px) 0 0; padding: clamp(40px, 4vw, 52px) 0 0; border-top: 1px solid var(--line-dark); color: var(--ink); }
.co-copy { max-width: 700px; }
.co-copy > p { margin: 0 0 18px; font-size: clamp(17px, 1.05vw, 18px); line-height: 1.5; }
.co-fields { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
.co-fields li { position: relative; padding: 0 0 0 18px; font-family: var(--display); font-weight: 500; font-size: clamp(16px, 1.05vw, 17px); line-height: 1.25; letter-spacing: -.01em; }
.co-fields li::before { content: ""; position: absolute; left: 0; top: .48em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-ink); box-shadow: 0 0 0 4px rgba(95, 90, 16, .08); }

/* ---------- Ensemble bridge: the street breaks through, the field lies over it ---------- */
.ensemble-bridge { position: relative; min-height: clamp(600px, 76vh, 820px); margin-top: calc(var(--section-overlap) * -1); display: grid; place-items: end start; overflow: hidden; border-radius: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 72px) 0 0; background: #11160f; }
.ensemble-bridge__media, .ensemble-bridge__veil { position: absolute; inset: 0; margin: 0; }
.ensemble-bridge__media picture { position: absolute; inset: 0; display: block; }
.ensemble-bridge__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ensemble-bridge__veil { background: linear-gradient(90deg, rgba(8,12,10,.82) 0%, rgba(8,12,10,.66) 48%, rgba(8,12,10,.26) 78%, transparent 100%); }
.ensemble-bridge__content { width: min(600px, calc(100vw - (var(--page-edge) * 2))); margin-left: var(--page-edge); padding: calc(74px + var(--section-overlap)) 0 86px; }
.ensemble-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px 26px; margin: 42px 0 28px; font-family: var(--display); font-size: clamp(26px, 2.8vw, 42px); letter-spacing: -.055em; }
.ensemble-name { align-items: center; }
.ensemble-lockup { display: inline-flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }
.ensemble-mark { height: clamp(28px, 3vw, 44px); width: auto; filter: brightness(0) invert(1); opacity: .96; }
.ensemble-logo { height: clamp(24px, 2.7vw, 40px); width: auto; filter: brightness(0) invert(1); display: block; }
.stage-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 10px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: rgba(238, 233, 220, .72); }
.stage-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(212,169,74,.12); }
.ensemble-bridge__content h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(33px, 2.55vw, 42px); line-height: 1.08; letter-spacing: -.036em; }
.ensemble-bridge__content > p:not(.ensemble-name) { max-width: 540px; font-size: clamp(16.5px, 1vw, 17px); line-height: 1.55; }
.arrow-link { display: inline-flex; align-items: center; gap: 70px; margin-top: 28px; padding: 16px 0 10px; border-bottom: 1px solid currentColor; font-size: 15px; }
.arrow-link span { transition: transform .25s ease; }
.arrow-link:hover span { transform: translate(5px, -5px); }
/* Inline waitlist: one pill holding the email field and the button. */
.waitlist-form { max-width: 480px; margin-top: 38px; }
.waitlist-field { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid rgba(237,235,227,.45); border-radius: 999px; background: rgba(9,12,8,.35); transition: border-color .2s ease; }
.waitlist-field:focus-within { border-color: var(--accent); }
.waitlist-field input { flex: 1; min-width: 0; padding: 10px 14px; border: 0; outline: 0; background: transparent; color: var(--bone); font-size: 15px; }
.waitlist-field input::placeholder { color: rgba(237,235,227,.5); }
.waitlist-field button { display: inline-flex; align-items: center; gap: 22px; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--bone); color: var(--night); font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.waitlist-field button span:last-child { transition: transform .25s ease; }
.waitlist-field button:hover span:last-child { transform: translate(4px, -4px); }
.waitlist-form.is-success .waitlist-field { display: none; }
.waitlist-form .form-status { color: rgba(237,235,227,.82); }
.waitlist-form .form-status.is-error { color: #e9a58f; }
.waitlist-form.is-success .form-status { margin-top: 0; font-size: 17px; color: var(--bone); }

/* Shared form states */
.form-status { margin: 12px 0 0; font-size: 14px; line-height: 1.45; }
.form-status:empty { display: none; }
.is-sending button[type="submit"] { opacity: .6; cursor: progress; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.closing-section { padding: calc(54px + var(--section-overlap)) var(--page-edge) 58px; background: #f6f3ea; color: var(--ink); text-align: left; }
.co-page .closing-section { position: relative; margin-top: calc(var(--section-overlap) * -1); border-radius: var(--section-radius) var(--section-radius) 0 0; background: #f6f3ea; color: var(--ink); }
.closing-kicker { margin: 0 0 18px; font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.co-page .closing-kicker { color: var(--accent-ink); }
.closing-section h2 { margin: 0; max-width: 18ch; font-family: var(--display); font-weight: 500; font-size: clamp(33px, 2.55vw, 42px); line-height: 1.08; letter-spacing: -.036em; }
.closing-composition { display: grid; grid-template-columns: minmax(0, .94fr) minmax(400px, 1.06fr); gap: clamp(48px, 5vw, 76px); align-items: center; }
.outcome-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.outcome-list li { position: relative; margin: 0; padding: 0 0 0 20px; font-size: clamp(16px, 1vw, 17px); line-height: 1.45; }
.outcome-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-ink); box-shadow: 0 0 0 4px rgba(95, 90, 16, .08); }
.closing-field { position: relative; height: 274px; overflow: hidden; border-bottom: 1px solid rgba(24,32,25,.12); background: transparent; isolation: isolate; }
.closing-field canvas { position: absolute; inset: 0 0 48px; width: 100%; height: calc(100% - 48px); }
.closing-control { --progress: 0%; position: absolute; z-index: 2; inset: auto 14px 0; display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; align-items: center; gap: 12px; color: rgba(24,32,25,.66); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.closing-control input { width: 100%; height: 44px; margin: 0; appearance: none; -webkit-appearance: none; cursor: ew-resize; background: transparent; }
.closing-control input::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--accent-ink) 0 var(--progress), rgba(24,32,25,.2) var(--progress) 100%); }
.closing-control input::-moz-range-track { height: 1px; border: 0; background: rgba(24,32,25,.2); }
.closing-control input::-moz-range-progress { height: 1px; background: var(--accent-ink); }
.closing-control input::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -5.5px; appearance: none; -webkit-appearance: none; border: 1px solid rgba(95,90,16,.72); border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px rgba(95,90,16,.08); transition: transform .2s ease, box-shadow .2s ease; }
.closing-control input::-moz-range-thumb { width: 12px; height: 12px; border: 1px solid rgba(95,90,16,.72); border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px rgba(95,90,16,.08); transition: transform .2s ease, box-shadow .2s ease; }
.closing-control input:hover::-webkit-slider-thumb,
.closing-control input:focus-visible::-webkit-slider-thumb { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(95,90,16,.1); }
.closing-control input:hover::-moz-range-thumb,
.closing-control input:focus-visible::-moz-range-thumb { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(95,90,16,.1); }
.closing-control input:focus-visible { outline: 1px solid rgba(95,90,16,.5); outline-offset: 2px; border-radius: 999px; }
.invitation-row { display: flex; justify-content: flex-end; align-items: center; margin-top: 26px; padding-top: 18px; }
.invitation-row p { max-width: 580px; margin: 0 0 10px; font-size: clamp(16px, 1vw, 18px); line-height: 1.45; color: rgba(24,32,25,.8); }
.arrow-link--dark { justify-self: end; gap: 24px; margin-top: 0; padding: 8px 0 6px; font-size: 14px; }
.co-page .arrow-link--dark { color: var(--ink); }

:where(#worldview, #principles, #ensemble, #waitlist) { scroll-margin-top: calc(var(--header-h) + 24px); }
.site-footer { min-height: 120px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 0 var(--page-edge); background: var(--night); color: var(--bone); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer > :nth-child(2) { text-align: center; }
.site-footer > :last-child { text-align: right; }

/* ---------- Building together page ---------- */
.build-page { background: var(--night); }
.build-page .site-header { background: var(--night); -webkit-mask-image: none; mask-image: none; }
.build-section { min-height: 100svh; display: grid; grid-template-columns: 1fr .85fr; gap: 10vw; padding: calc(var(--header-h) + 80px) var(--gutter) 120px; background: var(--paper); color: var(--ink); }
.build-copy h1 { margin: 4vh 0 24px; font-family: var(--display); font-weight: 500; font-size: clamp(33px, 2.9vw, 46px); line-height: 1.06; letter-spacing: -.04em; }
.build-copy > p { max-width: 520px; font-size: clamp(16.5px, 1.1vw, 18px); line-height: 1.55; }
.build-form { align-self: end; }
.build-form label:not(.consent-check) { display: block; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.build-form label > span { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.build-form input, .build-form select, .build-form textarea { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: clamp(17px, 1.3vw, 20px); resize: vertical; }
.build-form select { appearance: none; cursor: pointer; }
.build-form button { width: 100%; display: flex; justify-content: space-between; margin-top: 28px; padding: 18px 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bone); cursor: pointer; }
.build-form .form-note { margin-top: 14px; font-size: 12px; line-height: 1.45; color: var(--muted); text-align: left; }
.build-form .form-success { display: none; margin-top: 24px; font-size: 16px; line-height: 1.45; color: var(--accent-ink); }
.build-form.is-success .form-success { display: block; }
.build-form .form-success:focus { outline: none; }
.build-form .form-success p { margin: 0; }
.build-form .form-success .arrow-link { margin-top: 18px; font-weight: 400; }
.build-form.is-success button { display: none; }
.build-form .form-status.is-error { color: #a34a35; }
.build-form input:focus-visible, .build-form select:focus-visible, .build-form textarea:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 6px;
  border-radius: 2px;
}

.form-note { font-size: 11px; color: var(--muted); text-align: center; }
.form-success { display: none; margin-top: 24px; color: #2b6537; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--gutter) 24px; background: var(--paper); color: var(--ink); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 48px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-pill { border: 0; border-radius: 0; }
  .menu-button { display: block; }
}

@media (max-width: 900px) {
  .hero-thesis h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-dek { font-size: 16px; }
  .co-block, .belief-layout, .shape-grid, .principles-header, .build-section { grid-template-columns: 1fr; }
  .belief-section { padding-top: 54px; padding-bottom: 60px; }
  .belief-section--combined { padding-bottom: calc(58px + var(--section-overlap)); }
  .principles-section { padding-top: calc(54px + var(--section-overlap)); padding-bottom: calc(66px + var(--section-overlap)); }
  .shape-section { padding-top: calc(54px + var(--section-overlap)); padding-bottom: calc(76px + var(--section-overlap)); }
  .belief-layout, .shape-grid, .principles-header { margin-top: 32px; }
  .belief-copy { margin-left: 18vw; }
  .collective-argument { grid-template-columns: 1fr; gap: 30px; margin-top: 56px; }
  .shape-grid h2 { font-size: clamp(32px, 6vw, 40px); line-height: 1.08; }
  .relational-system { margin-top: 18px; }
  .relation-panel { height: clamp(280px, 44vh, 380px); }
  .relational-system--open .relation-panel { height: clamp(220px, 34vh, 280px); }
  .principle-row { grid-template-columns: 38px 1fr; }
  .principle-row p { grid-column: 2; }
  .co-block { margin-top: clamp(36px, 5vw, 52px); padding: clamp(32px, 5vw, 44px) 0 0; }
  .co-fields { grid-template-columns: 1fr 1fr; }
  .ensemble-bridge__content { width: min(560px, calc(100vw - (var(--page-edge) * 2))); margin-left: var(--page-edge); padding: calc(54px + var(--section-overlap)) 0 60px; }
  .ensemble-bridge__content h2 { font-size: clamp(32px, 6vw, 40px); }
  .closing-section h2 { font-size: clamp(32px, 6vw, 40px); }
  .closing-composition { grid-template-columns: 1fr; gap: 40px; }
  .closing-field { height: min(310px, 72vw); }
  .arrow-link--dark { justify-self: start; }
  .build-form { margin-top: 6vh; }
}

@media (max-width: 760px) {
  .invitation-row { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .waitlist-field { flex-direction: column; align-items: stretch; padding: 6px; border-radius: 26px; }
  .waitlist-field input { padding: 12px 14px; }
  .waitlist-field button { justify-content: space-between; padding: 13px 18px; }
  .belief-copy { margin-left: 0; }
  .principles-header h2 { font-size: clamp(32px, 8vw, 40px); }
  .principle-row { padding: 20px 0; }
  .co-block { margin-top: clamp(32px, 6vw, 44px); padding: clamp(28px, 6vw, 40px) 0 0; gap: 32px; }
  .co-fields { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .ensemble-bridge__content > p:not(.ensemble-name) { font-size: 17px; }
  .closing-section { padding-top: calc(50px + var(--section-overlap)); padding-bottom: 54px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 34px; padding-bottom: 34px; }
  .site-footer > :nth-child(2) { display: none; }
  .site-footer > :last-child { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .resonance-hero { height: 100svh; }
  .hero-thesis { opacity: 1 !important; transform: none !important; }
}

/* ---------- Copy update: additions (structure-matched to existing design) ---------- */
.hero-thesis .hero-dek { font-size: clamp(17px, 1.15vw, 19px); line-height: 1.5; }

/* TECHNOLOGY: two-paragraph body in the right column of the grid */
.shape-body { max-width: 600px; }
.shape-body p { margin: 0 0 1em; font-size: clamp(16.5px, 1vw, 17px); line-height: 1.55; letter-spacing: -.005em; }
.shape-body p:last-child { margin-bottom: 0; }

/* ---------- Cohesion: the page reads as one deliberate stack of cards ----------
   Each section already overlaps and rounds over the one before. A soft upward shadow
   draws that lip so the layering reads even when two neighbours share a tone (the
   light principles -> people -> closing run, and the dark technology -> ensemble pair).
   Dark cards also get a hairline top rim so their edge catches light. */
.co-page .belief-section,
.co-page .shape-section,
.co-page .ensemble-bridge,
.co-page .principles-section,
.co-page .closing-section {
  box-shadow: 0 -20px 44px -28px rgba(9, 12, 7, .5);
}
.co-page .shape-section {
  box-shadow: 0 -20px 44px -28px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(238, 233, 220, .08);
}
/* Ensemble sits over the (lighter) Technology card: a deep shadow + bright rim so the
   two dark sections read as distinct, clearly-rounded cards. */
.co-page .ensemble-bridge {
  box-shadow: 0 -30px 56px -20px rgba(0, 0, 0, .92), inset 0 1.5px 0 rgba(244, 240, 228, .3);
}
