/* ==========================================================================
   Trillion Capital Partners — tcpcore.org
   A static, dependency-free corporate site.
   Design system: editorial serif, institutional green, warm paper and ink.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Typefaces (self-hosted, OFL)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  --paper: #f2eee5;
  --paper-raised: #eae4d7;
  --paper-deep: #e1d9c9;
  --ink: #13150f;
  --ink-soft: #4b4d42;
  --ink-faint: #5f6154;
  --line: rgba(19, 21, 15, 0.17);
  --line-soft: rgba(19, 21, 15, 0.09);
  --moss: #1e5b45;
  --moss-bright: #2c7659;
  --moss-wash: rgba(30, 91, 69, 0.08);

  --night: #0b0d0a;
  --night-raised: #121510;
  --night-line: rgba(242, 238, 229, 0.15);
  --cream: #f2eee5;
  --cream-soft: rgba(242, 238, 229, 0.68);
  --cream-faint: rgba(242, 238, 229, 0.6);
  --signal: #3ddc97;
  --amber: #d8a85e;

  --display: "Newsreader", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1280px;
  --gutter: clamp(20px, 4.6vw, 64px);
  --section-y: clamp(88px, 12.5vw, 168px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
blockquote,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 400;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--moss-bright);
  outline-offset: 4px;
}

.section--night :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--signal);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

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

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 18px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.kicker::before {
  content: "";
  width: clamp(24px, 3vw, 40px);
  height: 1px;
  background: currentColor;
  flex: none;
}

.kicker-num {
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

.kicker--night {
  color: var(--signal);
}

.kicker--night .kicker-num {
  color: var(--cream-faint);
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.19rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}

.section--night .lede {
  color: var(--cream-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link:hover {
  color: var(--moss);
  gap: 12px;
}

.section--night .text-link:hover {
  color: var(--signal);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 22px;
  border: 1px solid var(--ink);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.button svg {
  transition: transform 0.3s var(--ease);
}

.button:hover svg {
  transform: translateX(3px);
}

.button--solid {
  background: var(--ink);
  color: var(--paper);
}

.button--solid:hover {
  background: var(--moss);
  border-color: var(--moss);
}

.button--ghost {
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 238, 229, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(242, 238, 229, 0.94);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand .mark {
  color: var(--ink);
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.06rem;
  letter-spacing: -0.012em;
  line-height: 1.1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 16px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 12vh, 138px);
  padding-bottom: clamp(52px, 8vh, 96px);
  min-height: calc(100svh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 112px 112px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 72% 34%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 80% at 72% 34%, #000 0%, transparent 72%);
  opacity: 0.55;
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(30, 91, 69, 0.13), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-eyebrow {
  margin-bottom: clamp(30px, 4vh, 46px);
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.15rem, 9.6vw, 8.3rem);
  line-height: 0.94;
  letter-spacing: -0.036em;
  max-width: 15ch;
  margin-bottom: clamp(30px, 4.4vh, 48px);
  text-wrap: balance;
}

.hero-line {
  display: block;
}

.hero-title em {
  font-style: italic;
  color: var(--moss);
  padding-right: 0.04em;
}

.hero-lede {
  max-width: 57ch;
  font-size: clamp(1.02rem, 1.5vw, 1.21rem);
  line-height: 1.68;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 2.4vw, 30px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 4.6vh, 44px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 56px);
  margin-top: clamp(52px, 9vh, 90px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-fact dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 5px;
}

.hero-fact dd {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}

.hero-fact dd a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hero-fact dd a:hover {
  color: var(--moss);
  border-color: var(--moss);
}

.hero-fact--scroll {
  margin-left: auto;
}

.hero-side-note {
  position: absolute;
  top: 50%;
  right: max(14px, calc(var(--gutter) * 0.28));
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  z-index: 1;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.section--raised {
  background: var(--paper-raised);
}

.section--night {
  background: var(--night);
  color: var(--cream);
  border-top-color: var(--night-line);
}

.section--night ::selection,
.site-footer ::selection {
  background: var(--signal);
  color: var(--night);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-intro .display {
  max-width: 17ch;
  margin-bottom: 22px;
}

.section-intro-body {
  padding-top: 4px;
}

.section--night .display {
  color: var(--cream);
}

.side-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   Vision
   -------------------------------------------------------------------------- */

.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 4.7fr) minmax(0, 7.3fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.vision-side .display {
  max-width: 13ch;
}

.vision-side {
  position: sticky;
  top: 118px;
}

.essay p {
  font-size: clamp(1.04rem, 1.32vw, 1.18rem);
  line-height: 1.72;
  color: #35372e;
  max-width: 60ch;
}

.essay p + p {
  margin-top: 1.45em;
}

.pullquote {
  margin: clamp(44px, 6vw, 68px) 0;
  padding: 6px 0 6px clamp(20px, 2.6vw, 34px);
  border-left: 1px solid var(--moss);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.55rem, 2.9vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
}

.pullquote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.beliefs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 56px);
}

.belief {
  padding: 20px 22px 0 0;
  border-right: 1px solid var(--line);
}

.belief:last-child {
  border-right: 0;
  padding-right: 0;
}

.belief + .belief {
  padding-left: 22px;
}

.belief-num {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--moss);
  margin-bottom: 12px;
}

.belief p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Studio
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 30px clamp(18px, 2.1vw, 30px) 36px 0;
  border-right: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--moss);
  transition: width 0.55s var(--ease);
}

.step:hover::before {
  width: 100%;
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step + .step {
  padding-left: clamp(18px, 2.1vw, 30px);
}

.step-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--moss);
}

.step h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.9vw, 1.8rem);
  letter-spacing: -0.02em;
  margin: 22px 0 12px;
}

.step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.studio-note {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(40px, 5.5vw, 64px);
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.24);
}

.studio-note-copy {
  max-width: 68ch;
}

.studio-note-copy strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.studio-note-copy p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Ventures (dark)
   -------------------------------------------------------------------------- */

.section--ventures {
  overflow: hidden;
}

.section--ventures::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.1), transparent 60%);
  pointer-events: none;
}

.section--ventures .shell {
  position: relative;
  z-index: 1;
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--night-line);
  border: 1px solid var(--night-line);
}

.venture {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  min-height: 322px;
  padding: clamp(26px, 3.2vw, 44px);
  background: var(--night);
  color: var(--cream);
  transition: background-color 0.4s var(--ease);
}

a.venture:hover {
  background: var(--night-raised);
}

a.venture:hover .venture-arrow {
  color: var(--signal);
  transform: translate(3px, -3px);
}

a.venture:hover .venture-name {
  color: var(--signal);
}

.venture--feature {
  grid-column: 1 / -1;
  min-height: 370px;
  padding: clamp(30px, 3.6vw, 50px);
}

.venture--feature .venture-main {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
}

.venture--feature .venture-name {
  grid-column: 1;
}

.venture--feature .venture-desc {
  grid-column: 1;
}

.venture--feature .venture-flow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  justify-self: end;
}

.venture-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--night-line);
}

.venture-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--signal);
}

.venture-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cream-faint);
  text-align: right;
}

.venture-main {
  flex: 1;
}

.venture-name {
  font-family: var(--display);
  font-size: clamp(2rem, 2.9vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  transition: color 0.3s var(--ease);
}

.venture--feature .venture-name {
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  margin-bottom: 18px;
}

.venture-desc {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--cream-soft);
  max-width: 52ch;
}

.venture--feature .venture-desc {
  max-width: 58ch;
  font-size: 15.5px;
}

.venture-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.venture-flow > span {
  padding: 9px 12px;
  border: 1px solid var(--night-line);
}

.venture-flow-kernel {
  border-color: rgba(61, 220, 151, 0.5) !important;
  color: var(--signal);
}

.venture-flow-arrow {
  border: 0 !important;
  padding: 0 !important;
  color: var(--cream-faint);
}

.venture-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  flex: none;
}

.status--dev {
  color: var(--amber);
}

.venture-arrow {
  font-size: 20px;
  line-height: 1;
  color: var(--cream-faint);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.lab {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 30px;
  border-top: 1px solid var(--night-line);
}

.lab-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.lab-label-note {
  color: var(--cream-faint);
}

.lab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.lab-list a {
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--night-line);
  transition: border-color 0.3s var(--ease);
}

.lab-list a:hover {
  border-color: var(--signal);
}

.lab-name {
  display: block;
  font-family: var(--display);
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 6px;
}

.lab-desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cream-faint);
}

.ventures-footnote {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* --------------------------------------------------------------------------
   Principles
   -------------------------------------------------------------------------- */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(10px, 1.6vw, 22px);
  padding: 34px clamp(24px, 4vw, 56px) 36px 0;
  border-bottom: 1px solid var(--line);
}

.principle:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.principle:nth-child(even) {
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: 0;
}

.principle-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--moss);
  padding-top: 2px;
}

.principle h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.principle p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   Company
   -------------------------------------------------------------------------- */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.company-side .display {
  max-width: 12ch;
  margin-bottom: 30px;
}

.company-copy p {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 50ch;
}

.company-copy p + p {
  margin-top: 1.2em;
}

.company-aside {
  max-width: 46ch;
  margin-top: clamp(32px, 4.4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.company-aside-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}

.company-aside p + p {
  margin-top: 0;
}

.company-aside-text {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.record {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
  padding: clamp(24px, 2.6vw, 34px);
}

.record-title {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 10px;
}

.record-list > div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.record-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.record-list dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 2px;
}

.record-list dd {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

.timeline {
  margin-top: clamp(30px, 4vw, 44px);
}

.timeline li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--moss);
  padding-top: 2px;
}

.timeline h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 5px;
}

.timeline p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.contact-grid .display {
  max-width: 13ch;
}

.contact-body .lede {
  margin-bottom: clamp(30px, 4vw, 44px);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.7vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-email svg {
  flex: none;
  transition: transform 0.3s var(--ease);
}

.contact-email:hover {
  color: var(--moss);
  border-color: var(--moss);
}

.contact-email:hover svg {
  transform: translate(4px, -4px);
}

.contact-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 3vw, 32px);
  margin-top: clamp(30px, 4vw, 42px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-links a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.contact-links a:hover {
  color: var(--moss);
}

/* --------------------------------------------------------------------------
   Interior pages (privacy, 404)
   -------------------------------------------------------------------------- */

.page {
  min-height: 68svh;
  padding-block: clamp(52px, 8vw, 92px) clamp(76px, 11vw, 132px);
}

.page .brand {
  margin-bottom: clamp(44px, 7vw, 76px);
}

.page-title {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  max-width: 20ch;
  margin-top: 28px;
  margin-bottom: 18px;
}

.page-updated {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.prose {
  max-width: 68ch;
}

.prose p {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.35em;
}

.prose h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 2.2em 0 0.55em;
}

.prose strong {
  font-weight: 500;
  color: var(--ink);
}

.prose a {
  color: var(--moss);
  border-bottom: 1px solid rgba(30, 91, 69, 0.35);
  transition: border-color 0.2s var(--ease);
}

.prose a:hover {
  border-color: var(--moss);
}

.page-back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(44px, 6vw, 64px);
}

.page--error {
  display: flex;
  align-items: center;
}

.page--error .shell {
  width: 100%;
}

.error-code {
  font-family: var(--display);
  font-size: clamp(5.5rem, 19vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: #857c69;
  margin-top: clamp(20px, 5vw, 40px);
}

.page--error .page-title {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  max-width: 16ch;
  margin-top: 0;
}

.page--error .lede {
  margin-top: 18px;
}

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

.site-footer {
  position: relative;
  background: var(--night);
  color: var(--cream);
  padding-top: clamp(56px, 7vw, 84px);
  padding-bottom: 30px;
  border-top: 1px solid var(--night-line);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr);
  gap: clamp(40px, 7vw, 100px);
  padding-bottom: clamp(50px, 7vw, 80px);
}

.brand--footer .brand-name {
  color: var(--cream);
}

.footer-brand p {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cream-faint);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-head {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 16px;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--cream-soft);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--signal);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-top: 22px;
  border-top: 1px solid var(--night-line);
}

.footer-bottom p {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.js [data-delay="1"] {
  --d: 1;
}

.js [data-delay="2"] {
  --d: 2;
}

.js [data-delay="3"] {
  --d: 3;
}

.js [data-delay="4"] {
  --d: 4;
}

.js [data-delay="5"] {
  --d: 5;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .hero-side-note {
    display: none;
  }

  .section-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .section-intro .display {
    max-width: 20ch;
  }

  .vision-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .vision-side {
    position: static;
  }

  .vision-side .display {
    max-width: 18ch;
  }

  .essay p {
    max-width: 66ch;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step {
    border-bottom: 1px solid var(--line);
    padding-bottom: 30px;
  }

  .step:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .step:nth-child(odd) {
    padding-left: 0;
  }

  .step:nth-child(-n + 2) {
    padding-top: 30px;
  }

  .step:nth-last-child(-n + 2) {
    border-bottom: 0;
    padding-top: 30px;
  }
}

@media (max-width: 960px) {
  /* The backdrop filter would become the containing block for the fixed
     navigation panel, clipping it to the header. Use a solid bar instead. */
  .site-header,
  .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 0;
    z-index: 55;
    display: none;
    background: var(--paper);
    padding: clamp(28px, 5vw, 48px) var(--gutter) 40px;
    overflow-y: auto;
    border-top: 1px solid var(--line-soft);
  }

  html.nav-open .site-nav {
    display: block;
  }

  html.nav-open {
    overflow: hidden;
  }

  html.nav-open .nav-toggle-bar:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  html.nav-open .nav-toggle-bar:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: block;
    padding: 22px 0;
    font-family: var(--display);
    font-size: clamp(1.7rem, 4.4vw, 2.3rem);
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ink);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 28px;
    padding: 15px 22px;
    font-size: 11px;
  }

  .hero {
    min-height: calc(100svh - 76px);
  }

  .venture--feature .venture-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .venture--feature .venture-flow {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 22px;
  }

  .venture--feature .venture-name {
    font-size: clamp(2.4rem, 5vw, 3rem);
  }

  .company-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .company-side .display,
  .contact-grid .display {
    max-width: 18ch;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-y: clamp(72px, 13vw, 110px);
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .hero-title {
    font-size: clamp(2.9rem, 12.4vw, 4.6rem);
    max-width: 16ch;
  }

  .hero-lede {
    border-left: 0;
    padding-left: 0;
  }

  .hero-facts {
    gap: 20px 32px;
  }

  .hero-fact--scroll {
    display: none;
  }

  .beliefs {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }

  .belief {
    padding: 16px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
  }

  .belief + .belief {
    padding-left: 0;
  }

  .belief-num {
    margin-bottom: 0;
    padding-top: 3px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step,
  .step:nth-child(odd),
  .step:nth-child(2n),
  .step:nth-child(-n + 2),
  .step:nth-last-child(-n + 2) {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .step:first-child {
    padding-top: 26px;
  }

  .studio-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .ventures-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .venture--feature {
    grid-column: auto;
  }

  .venture {
    min-height: 0;
    gap: 26px;
    padding: 26px 22px;
  }

  .venture--feature {
    padding: 26px 22px;
  }

  .venture--feature .venture-name {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
  }

  .venture-flow {
    flex-wrap: wrap;
  }

  .lab {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .lab-label {
    flex-direction: row;
    gap: 10px;
  }

  .lab-label-note::before {
    content: "/";
    margin-right: 10px;
    color: var(--cream-faint);
  }

  .lab-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .principle,
  .principle:nth-child(odd),
  .principle:nth-child(even) {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 26px 0;
    border-right: 0;
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .record-list > div {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    gap: 18px 28px;
  }

  .hero-fact dd {
    font-size: 12.5px;
  }

  .record {
    padding: 22px 18px;
  }

  .contact-email {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Reduced motion & print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-field,
  .hero-side-note,
  .hero-actions,
  .footer-nav,
  .contact-links,
  .hero-facts {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding-block: 28px;
    border-color: #ccc;
  }

  .section--night,
  .site-footer {
    background: #fff;
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
