/* =========================================================
   IMMULONGEVITY — Editorial Agency Monograph
   Aesthetic: Pentagram × Mother × Landor
   Direction: warm paper, emerald ink, typographic restraint,
              motion with intention, craft in every detail.
   ========================================================= */

/* ---------- Font imports ---------- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
}
body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--emerald); color: var(--paper); }

/* ---------- Design tokens ---------- */
:root {
  /* Palette — warm editorial */
  --paper: #F5F1E8;           /* warm cream paper */
  --paper-deep: #EDE6D3;      /* slightly darker cream */
  --ink: #141B19;             /* warm near-black */
  --ink-70: rgba(20, 27, 25, 0.72);
  --ink-50: rgba(20, 27, 25, 0.52);
  --ink-30: rgba(20, 27, 25, 0.32);
  --ink-15: rgba(20, 27, 25, 0.15);
  --ink-08: rgba(20, 27, 25, 0.08);
  --emerald: #0A2E2A;         /* deep emerald */
  --emerald-600: #143D38;
  --emerald-400: #1F5B52;
  --emerald-200: #4A8377;
  --sand: #E8DFC8;            /* aged paper */
  --sand-dark: #D4C8A8;
  --rust: #B85C38;            /* unexpected accent */
  --rust-deep: #8F3F1E;

  /* Typography */
  --serif: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --sans: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale */
  --container: 1440px;
  --gutter: clamp(24px, 5vw, 64px);
  --rule: 1px solid var(--ink-15);
  --rule-bold: 1px solid var(--ink);
  --rule-dark: 1px solid rgba(245, 241, 232, 0.18);
  --radius-sm: 2px;
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Grain / noise overlay (the "paper" feel) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.11 0 0 0 0 0.10 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- Typography scale ---------- */
.display-mono, .display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.95;
}
.display-mono {
  font-size: clamp(90px, 18vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.display-xl {
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display-lg {
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.96;
}
.display-md {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
}
.display-sm {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.06;
}

.body-xl, .body-lg, .body-md, .body-sm, .eyebrow {
  font-family: var(--sans);
}
.body-xl {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.body-lg {
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
}
.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-feature-settings: "ss01" 1;
}

/* Italic variant (Instrument Serif has italic) */
.italic { font-style: italic; }

/* Small caps tracking (no real smallcaps — approximate with tracking) */
.smcp {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85em;
  font-weight: 500;
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}
.section {
  padding-block: clamp(96px, 14vw, 192px);
  position: relative;
}
.section-sm { padding-block: clamp(64px, 8vw, 112px); }

.rule {
  display: block;
  width: 100%;
  border: none;
  border-top: var(--rule);
  margin: 0;
}
.rule-dark { border-top: var(--rule-dark); }

/* Grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-5 { grid-column: span 5; }
.col-span-4 { grid-column: span 4; }
.col-span-12 { grid-column: span 12; }
.col-start-2 { grid-column-start: 2; }
.col-start-3 { grid-column-start: 3; }
@media (max-width: 960px) {
  .grid-12 { grid-template-columns: 1fr; }
  .col-span-4, .col-span-5, .col-span-6, .col-span-7, .col-span-8 { grid-column: span 1; }
  .col-start-2, .col-start-3 { grid-column-start: 1; }
}

/* ---------- Running meta (top-bar above header) ---------- */
.meta-bar {
  position: sticky;
  top: 0;
  z-index: 45;
  background: var(--paper);
  border-bottom: var(--rule);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.meta-bar__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 10px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  white-space: nowrap;
  overflow: hidden;
}
.meta-bar__inner > span { display: inline-block; }
.meta-bar__inner .sep { color: var(--ink-30); margin-inline: 8px; }
@media (max-width: 720px) {
  .meta-bar__inner > span:nth-child(3),
  .meta-bar__inner > span:nth-child(4) { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 35px; /* below meta-bar */
  z-index: 44;
  background: var(--paper);
  border-bottom: var(--rule);
  transition: padding 300ms var(--ease);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 20px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.005em;
  color: var(--ink);
  transition: letter-spacing 400ms var(--ease);
}
.brand:hover { letter-spacing: 0.015em; }
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-self: center;
}
.nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-70);
  position: relative;
  padding-block: 6px;
  transition: color 200ms var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 400ms var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-cta { justify-self: end; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  justify-self: end;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 960px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav {
    display: flex;
    position: fixed;
    inset: 110px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 56px var(--gutter);
    gap: 32px;
    z-index: 42;
    animation: fadeUp 400ms var(--ease-out);
  }
  body.nav-open .nav a { font-size: 32px; color: var(--ink); font-family: var(--serif); text-transform: none; letter-spacing: 0; font-weight: 400; }
  body.nav-open .header-cta {
    display: block;
    position: fixed;
    bottom: 40px;
    left: var(--gutter);
    right: var(--gutter);
    z-index: 42;
  }
  body.nav-open .header-cta .btn { width: 100%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 400ms var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn__label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; }
.btn__arrow {
  display: inline-block;
  transition: transform 400ms var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(6px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--emerald);
  transform: translateY(100%);
  transition: transform 400ms var(--ease);
}
.btn-primary:hover::before { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 400ms var(--ease);
}
.btn-outline:hover { color: var(--paper); }
.btn-outline:hover::before { transform: translateY(0); }

.btn-cream {
  background: var(--paper);
  color: var(--emerald);
}
.btn-cream::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sand);
  transform: translateY(100%);
  transition: transform 400ms var(--ease);
}
.btn-cream:hover::before { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 16px 0;
  border: none;
}
.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 400ms var(--ease);
}
.btn-ghost:hover::after {
  transform: scaleX(0);
  transform-origin: left;
}
.btn-ghost .btn__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms 100ms var(--ease);
}
.btn-ghost:hover .btn__label::after {
  transform: scaleX(1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 10vw, 128px);
}
.hero__eyebrow-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  margin-bottom: clamp(48px, 8vw, 96px);
}
.hero__eyebrow-row .rule { width: auto; }
.hero__headline {
  max-width: 14ch;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.hero__headline .italic { font-family: var(--serif); font-style: italic; }
.hero__meta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding-top: clamp(32px, 5vw, 64px);
  border-top: var(--rule);
}
.hero__sub {
  max-width: 56ch;
  color: var(--ink-70);
}
.hero__ctas {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
@media (max-width: 720px) {
  .hero__meta-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__eyebrow-row { grid-template-columns: auto 1fr; }
  .hero__eyebrow-row > :nth-child(3) { display: none; }
}

/* ---------- Marquee (capabilities ticker) ---------- */
.marquee {
  overflow: hidden;
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding-block: 28px;
  background: var(--paper);
  font-family: var(--serif);
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}
.marquee__item em {
  font-style: italic;
  color: var(--ink-50);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Dark variant for section-dark marquee */
.section-dark .marquee { background: var(--emerald); border-color: rgba(245, 241, 232, 0.15); }
.section-dark .marquee__item { color: var(--paper); }
.section-dark .marquee__dot { background: var(--sand); }
.section-dark .marquee__item em { color: rgba(245, 241, 232, 0.55); }

/* ---------- Section labels ---------- */
.section-label {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(32px, 5vw, 64px);
  border-top: var(--rule);
}
.section-label__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-label__intro { max-width: 48ch; color: var(--ink-70); }
@media (max-width: 720px) {
  .section-label { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Services — editorial list ---------- */
.services {
  border-top: var(--rule);
}
.service-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 48px;
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(32px, 5vw, 56px);
  border-bottom: var(--rule);
  align-items: baseline;
  position: relative;
  cursor: default;
  transition: background 500ms var(--ease);
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper-deep);
  opacity: 0;
  transition: opacity 500ms var(--ease);
  z-index: -1;
}
.service-row:hover::before { opacity: 0.7; }
.service-row__number {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink-50);
  font-feature-settings: "tnum" 1;
}
.service-row__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
  transition: transform 500ms var(--ease), letter-spacing 500ms var(--ease);
  display: inline-block;
}
.service-row:hover .service-row__title {
  transform: translateX(-8px);
  letter-spacing: -0.01em;
}
.service-row__desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 40ch;
  padding-top: 12px;
}
.service-row__arrow {
  justify-self: end;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  padding-top: 4px;
}
.service-row:hover .service-row__arrow {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 880px) {
  .service-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 24px;
  }
  .service-row__number { grid-row: 1; grid-column: 1; }
  .service-row__title { grid-row: 1; grid-column: 2; font-size: 40px; }
  .service-row__desc { grid-row: 2; grid-column: 1 / -1; padding-top: 0; max-width: 100%; }
  .service-row__arrow { display: none; }
  .service-row:hover .service-row__title { transform: none; }
}

/* ---------- Approach (numbered steps with vertical rules) ---------- */
.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--rule);
}
.approach__step {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 48px);
  border-right: var(--rule);
  position: relative;
}
.approach__step:last-child { border-right: none; }
.approach__number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: 40px;
  font-feature-settings: "tnum" 1;
}
.approach__step h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--ink);
}
.approach__step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 32ch;
}
@media (max-width: 880px) {
  .approach { grid-template-columns: 1fr; }
  .approach__step {
    border-right: none;
    border-bottom: var(--rule);
  }
  .approach__step:last-child { border-bottom: none; }
}

/* ---------- Dark sections ---------- */
.section-dark {
  background: var(--emerald);
  color: var(--paper);
}
.section-dark .rule, .section-dark .section-label { border-color: rgba(245, 241, 232, 0.18); }
.section-dark .section-label__intro { color: rgba(245, 241, 232, 0.72); }
.section-dark .eyebrow { color: rgba(245, 241, 232, 0.55); }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 48px);
  border-right: var(--rule-dark);
}
.stat:last-child { border-right: none; }
.stat__display {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.9;
  margin-bottom: 24px;
  color: var(--paper);
}
.stat__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 241, 232, 0.6);
  margin-bottom: 16px;
  display: block;
}
.stat__desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 241, 232, 0.75);
  max-width: 24ch;
}
@media (max-width: 880px) {
  .stats-band { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: var(--rule-dark); }
  .stat:last-child { border-bottom: none; }
}

/* ---------- Manifesto CTA (dark, edge-to-edge) ---------- */
.manifesto {
  padding-block: clamp(120px, 18vw, 240px);
  text-align: center;
  position: relative;
  border-top: var(--rule-dark);
}
.manifesto h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 16ch;
  margin: 0 auto 48px;
  color: var(--paper);
}
.manifesto h2 .italic { font-style: italic; color: rgba(245, 241, 232, 0.72); }
.manifesto__sub {
  max-width: 54ch;
  margin: 0 auto 56px;
  color: rgba(245, 241, 232, 0.72);
}

/* ---------- Service detail page ---------- */
.service-detail {
  padding-block: clamp(72px, 10vw, 128px);
  border-bottom: var(--rule);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail__grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
@media (max-width: 880px) {
  .service-detail__grid { grid-template-columns: 1fr; gap: 32px; }
}
.service-detail__number {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 144px);
  line-height: 0.85;
  color: var(--ink-30);
  font-feature-settings: "tnum" 1;
}
.service-detail h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 18ch;
}
.service-detail__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-70);
  max-width: 64ch;
  margin-bottom: 40px;
}
.service-detail__delivery {
  border-top: var(--rule);
  padding-top: 32px;
  margin-bottom: 32px;
}
.service-detail__delivery h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-50);
  font-weight: 500;
  margin-bottom: 20px;
}
.service-detail__delivery ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  max-width: 64ch;
}
.service-detail__delivery li {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: var(--rule);
}
@media (max-width: 720px) {
  .service-detail__delivery ul { grid-template-columns: 1fr; }
}
.service-detail__callout {
  padding: 24px 32px;
  border-left: 2px solid var(--emerald);
  background: var(--paper-deep);
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-70);
}
.service-detail__callout strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; }

/* ---------- About page ---------- */
.about-story {
  max-width: 64ch;
  margin: 0 auto;
  padding-block: clamp(64px, 10vw, 128px);
}
.about-story__lead {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  margin-bottom: 48px;
  color: var(--ink);
}
.about-story__lead .italic { font-style: italic; color: var(--ink-70); }
.about-story p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-70);
  margin-bottom: 24px;
}
.about-story p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 5em;
  float: left;
  line-height: 0.85;
  padding: 8px 16px 0 0;
  color: var(--ink);
  font-weight: 400;
}

.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(48px, 8vw, 96px);
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
  padding-block: clamp(64px, 10vw, 128px);
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.founder__monogram {
  width: 100%;
  aspect-ratio: 1;
  background: var(--emerald);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(180px, 22vw, 240px);
  line-height: 0.9;
  font-weight: 400;
  position: relative;
  overflow: hidden;
}
.founder__monogram::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(245, 241, 232, 0.15);
}

/* Founder photo — editorial treatment */
.founder__photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: var(--emerald);
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.02) brightness(0.98);
  transition: transform 1200ms var(--ease);
}
.founder__photo::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  pointer-events: none;
  z-index: 2;
}
.founder__photo::after {
  content: "Founder";
  position: absolute;
  top: 32px;
  left: 32px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 241, 232, 0.7);
  z-index: 2;
}
.founder:hover .founder__photo img { transform: scale(1.02); }
@media (max-width: 880px) {
  .founder__photo { max-width: 320px; }
}
.founder__role {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-50);
  margin-bottom: 20px;
}
.founder h3 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 400;
  margin-bottom: 12px;
}
.founder__title { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-70); margin-bottom: 32px; }
.founder__bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-70);
  max-width: 50ch;
}
@media (max-width: 880px) {
  .founder { grid-template-columns: 1fr; gap: 48px; text-align: left; }
  .founder__monogram { max-width: 240px; }
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule);
}
.value {
  padding: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 48px);
  border-right: var(--rule);
}
.value:last-child { border-right: none; }
.value__number {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-50);
  margin-bottom: 24px;
  font-feature-settings: "tnum" 1;
}
.value h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 16px;
}
.value p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 28ch;
}
@media (max-width: 880px) {
  .values { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: var(--rule); }
  .value:last-child { border-bottom: none; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(48px, 8vw, 128px);
  padding-block: clamp(64px, 10vw, 128px);
  border-top: var(--rule);
}
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 64px; }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 24px;
  border-bottom: var(--rule);
  padding-bottom: 16px;
  transition: border-color 300ms var(--ease);
}
.field:focus-within { border-bottom-color: var(--ink); }
.field label {
  position: absolute;
  top: 24px;
  left: 0;
  font-size: 14px;
  color: var(--ink-50);
  pointer-events: none;
  transition: all 300ms var(--ease);
  font-family: var(--sans);
}
.field:focus-within label,
.field.has-value label {
  top: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.field input, .field textarea {
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  padding: 0;
  outline: none;
  width: 100%;
  resize: vertical;
  line-height: 1.5;
}
.field textarea { min-height: 120px; padding-top: 4px; }
.field__hidden { position: absolute; left: -9999px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 24px;
}
.contact-block { border-bottom: var(--rule); padding-bottom: 20px; }
.contact-block:last-child { border-bottom: none; }
.contact-block h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-50);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-block p, .contact-block address {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  font-style: normal;
  color: var(--ink);
}
.contact-block a { color: var(--ink); border-bottom: 1px solid transparent; transition: border-color 300ms var(--ease); }
.contact-block a:hover { border-bottom-color: var(--ink); }

.form__success {
  padding: 48px 40px;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}
.form__success h4 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 16px;
}
.form__success p { color: var(--ink-70); font-size: 16px; line-height: 1.6; }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 72ch;
  margin: 0 auto;
  padding-block: clamp(72px, 10vw, 128px);
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.legal .meta {
  display: block;
  color: var(--ink-50);
  font-size: 13px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: var(--rule);
}
.legal h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.05;
  font-weight: 400;
  margin-top: 56px;
  margin-bottom: 20px;
}
.legal p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-70);
  margin-bottom: 20px;
}
.legal strong { color: var(--ink); font-weight: 500; }
.legal code {
  font-family: var(--sans);
  background: var(--paper-deep);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.94em;
  color: var(--ink);
}
.legal a { color: var(--ink); border-bottom: 1px solid var(--ink-30); }
.legal a:hover { border-bottom-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.site-footer__grid {
  padding: clamp(80px, 10vw, 128px) 0 clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .site-footer__grid { grid-template-columns: 1fr; gap: 40px; } }
.site-footer__lead {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 32px;
  max-width: 16ch;
}
.site-footer .eyebrow { color: rgba(245, 241, 232, 0.5); margin-bottom: 20px; display: block; }
.site-footer ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer ul a {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(245, 241, 232, 0.75);
  position: relative;
  transition: color 300ms var(--ease), padding-left 300ms var(--ease);
}
.site-footer ul a:hover { color: var(--paper); padding-left: 12px; }
.site-footer ul a::before {
  content: "→";
  position: absolute;
  left: -4px;
  opacity: 0;
  transition: opacity 300ms var(--ease), left 300ms var(--ease);
}
.site-footer ul a:hover::before { opacity: 1; left: 0; }
.site-footer address {
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.75);
}
.site-footer address a { color: inherit; border-bottom: 1px solid rgba(245, 241, 232, 0.3); }
.site-footer address a:hover { border-bottom-color: var(--paper); color: var(--paper); }

/* Massive wordmark footer (Pentagram-style) */
.footer-wordmark {
  display: block;
  width: 100%;
  padding-block: clamp(24px, 4vw, 56px);
  border-top: var(--rule-dark);
  border-bottom: var(--rule-dark);
  overflow: hidden;
  position: relative;
}
.footer-wordmark svg {
  display: block;
  width: 100%;
  height: auto;
}
.footer-wordmark text {
  font-family: var(--serif);
  font-size: 220px;
  fill: var(--paper);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.footer-bottom {
  max-width: var(--container);
  margin-inline: auto;
  padding: 32px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.5);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"].is-visible { transition-delay: 100ms; }
[data-reveal-delay="2"].is-visible { transition-delay: 200ms; }
[data-reveal-delay="3"].is-visible { transition-delay: 300ms; }
[data-reveal-delay="4"].is-visible { transition-delay: 400ms; }
[data-reveal-delay="5"].is-visible { transition-delay: 500ms; }

/* Line-by-line text reveal */
.reveal-lines > span {
  display: block;
  overflow: hidden;
  position: relative;
}
.reveal-lines > span > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1200ms var(--ease-out);
}
.reveal-lines.is-visible > span > span { transform: none; }
.reveal-lines.is-visible > span:nth-child(1) > span { transition-delay: 0ms; }
.reveal-lines.is-visible > span:nth-child(2) > span { transition-delay: 100ms; }
.reveal-lines.is-visible > span:nth-child(3) > span { transition-delay: 200ms; }
.reveal-lines.is-visible > span:nth-child(4) > span { transition-delay: 300ms; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.flex { display: flex; }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }
.mt-8 { margin-top: 32px; }
.mt-16 { margin-top: 64px; }
.text-center { text-align: center; }
.text-ink-70 { color: var(--ink-70); }
.max-w-64 { max-width: 64ch; }

/* Focus states */
:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 4px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 6px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-lines > span > span { transform: none; }
}
