:root {
  --ink: #1c1a16;
  --ink-2: #57534b;
  --ink-3: #8c8880;
  --line: #e6e6e4;
  --paper: #ffffff;
  --porcelain: #f4f4f0;
  --dot: #c8c4be;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1312px;
}

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

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

[id] { scroll-margin-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 50;
  width: auto; height: auto; clip: auto;
  background: var(--paper); padding: 12px 14px;
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

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

.brand {
  display: inline-block;
  font-family: var(--serif); font-size: 22px; letter-spacing: -.01em;
  text-decoration: none;
}


.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; }

.nav-links a { text-decoration: none; color: var(--ink); }
.nav-links a:hover, .nav-links a[aria-current="page"] {
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}

.dot { display: inline-block; width: .13em; height: .13em; background: currentColor; margin-left: .06em; }

.cta { display: inline-flex; align-items: center; gap: 10px; }
.cta::after { content: ""; width: 8px; height: 8px; background: var(--ink); }

@media (max-width: 640px) {
  .nav-links { gap: 20px; }
  .nav-links .hide-sm { display: none; }
}

/* Type */

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0;
}

.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  margin: 0;
}

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 28px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--ink); }

.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0;
  max-width: 24em;
  text-wrap: pretty;
}
.statement em { font-style: italic; }

/* Hero */

.hero {
  background: var(--porcelain);
  margin: 0 12px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
  min-height: min(78vh, 760px);
  padding-top: clamp(72px, 12vh, 140px);
  padding-bottom: clamp(48px, 8vh, 88px);
}

.hero .lede { margin-top: 32px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px;
  font-size: 15px; text-decoration: none;
  border: 1px solid var(--ink);
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #000; }
.btn-ghost:hover { background: var(--paper); }

.field { width: 100%; height: auto; color: var(--dot); }
.field .on { fill: var(--ink); }
.field .link { stroke: var(--ink); stroke-width: 1; opacity: .55; }
.field .bridge { opacity: .3; }

.space { margin: 0; }
.space canvas { display: block; width: 100%; aspect-ratio: 11 / 10; cursor: grab; touch-action: pan-y; }
.space canvas:active { cursor: grabbing; }
.space figcaption { font-size: 13px; line-height: 1.45; color: var(--ink-3); margin-top: 12px; max-width: 36em; }
:root[data-js] .space .field { display: none; }
:root:not([data-js]) .space canvas { display: none; }

@media (max-width: 860px) {
  .hero { margin: 0; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .field { max-width: 420px; }
}

/* Sections */

.section { padding: clamp(88px, 13vw, 168px) 0; }
.section + .section { padding-top: 0; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Products */

.products { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--ink); }

.product {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr);
  gap: 32px;
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
}

.product-kicker { font-size: 14px; color: var(--ink-3); margin: 10px 0 0; }

.product-body p { margin: 0 0 16px; color: var(--ink-2); max-width: 36em; }
.product-body p:last-child { margin-bottom: 0; }


.product-link { justify-self: end; align-self: start; font-size: 15px; white-space: nowrap; margin-top: 10px; }
.product-link a { text-underline-offset: 4px; text-decoration-thickness: 1px; }

.small-products {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px;
  border-top: 1px solid var(--ink); margin-top: 40px; padding-top: 32px;
}
.small-intro {
  margin: 0; font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.015em; max-width: 14em;
}
.small-list { border-top: 1px solid var(--line); }
.small-list .also { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr); }

@media (max-width: 860px) {
  .small-products { grid-template-columns: 1fr; }
}
.also {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: 8px 32px; align-items: baseline;
  padding: 20px 0; color: var(--ink-2); font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.also strong { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); letter-spacing: -.01em; }
.also a { justify-self: end; white-space: nowrap; text-underline-offset: 4px; text-decoration-thickness: 1px; color: var(--ink); }

@media (max-width: 860px) {
  .also { grid-template-columns: 1fr; }
  .also a { justify-self: start; }
}

@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 16px; }
  .product-link { justify-self: start; margin-top: 0; }
}

/* Approach */

.principles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px; margin-top: 40px;
}
.principle { border-top: 1px solid var(--ink); padding-top: 20px; }
.principle-n { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.principle h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; margin: 28px 0 12px; }
.principle p { margin: 0; color: var(--ink-2); }

@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; gap: 40px; }
}

/* About */

.page-head { padding-top: clamp(72px, 11vw, 144px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-head .lede { margin-top: 28px; }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: clamp(24px, 4vw, 56px); }

@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.person-photo {
  width: 100%; max-width: 240px;
  aspect-ratio: 4 / 5; background: var(--porcelain);
  display: grid; place-items: center; overflow: hidden;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); }
.person-photo .initials { font-family: var(--serif); font-weight: 300; font-size: 64px; color: var(--dot); }
.person h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.015em; margin: 24px 0 4px; }
.person-role { color: var(--ink-3); margin: 0 0 16px; font-size: 15px; }
.person p { color: var(--ink-2); margin: 0 0 16px; max-width: 32em; }
.person a { text-underline-offset: 4px; text-decoration-thickness: 1px; font-size: 15px; }

.research-head { font-size: 13px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin: 28px 0 12px; }
.research { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.research li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.research li > a, .research .t { color: var(--ink); }
.research li > span:last-child { font-size: 13px; color: var(--ink-3); }

.team { align-items: start; }

@media (max-width: 640px) { .team { grid-template-columns: 1fr; gap: 56px; } }

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px;
  border-top: 1px solid var(--ink); padding-top: 32px;
}
.contact-grid dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; font-size: 15px; }
.contact-grid dt { color: var(--ink-3); }
.contact-grid dd { margin: 0; }
.contact-grid a { text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */

.site-footer { padding: 72px 0 40px; font-size: 14px; color: var(--ink-3); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 72px; }
.footer-top nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-top a { text-decoration: none; color: var(--ink); }
.footer-top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-word {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(64px, 15vw, 216px); line-height: .9; letter-spacing: -.035em;
  margin: 0 0 32px;
}
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }

/* Reveal */

:root[data-js] .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
:root[data-js] .reveal.in { opacity: 1; transform: none; }
:root[data-js] .field .p { opacity: 0; transition: opacity .6s ease; }
:root[data-js] .field.in .p { opacity: 1; }
:root[data-js] .field .link { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1s ease; }
:root[data-js] .field.in .link { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  :root[data-js] .reveal, :root[data-js] .field .p, :root[data-js] .field .link {
    opacity: 1; transform: none; transition: none; stroke-dashoffset: 0;
  }
}

/* Team strip */

.team-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px; margin-top: 40px; border-top: 1px solid var(--ink); padding-top: 32px;
}
.member { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto 1fr; column-gap: 20px; align-items: start; text-decoration: none; }
.member img { grid-row: 1 / span 3; width: 96px; height: 120px; object-fit: cover; filter: grayscale(1) contrast(1.02); }
.member-name { font-family: var(--serif); font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.member-role { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.member-bio { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-top: 12px; }
.member:hover .member-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.more { margin: 40px 0 0; font-size: 15px; }
.more a { text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (max-width: 860px) { .team-strip { grid-template-columns: 1fr; gap: 24px; } }

/* Publications */

.pubs-head { margin-top: 72px; }
.pubs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.pubs li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 8px 32px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4;
}
.pubs li > a, .pubs .t { color: var(--ink); }
.pubs li > a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pubs li > span:last-child { font-size: 14px; color: var(--ink-3); }

@media (max-width: 860px) { .pubs li { grid-template-columns: 1fr; } }

/* Browser surfaces */

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

/* Stealth landing */

.landing {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  background: var(--porcelain);
}

.field-bg {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse min(48vw, 700px) min(42vh, 380px) at 50% 50%, transparent 62%, #000 135%);
  mask-image: radial-gradient(ellipse min(48vw, 700px) min(42vh, 380px) at 50% 50%, transparent 62%, #000 135%);
}

.landing > header, .landing > main, .landing > footer { position: relative; z-index: 1; }

.site-header--bare {
  position: relative;
  background: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}

.stealth {
  display: grid; place-items: center;
  padding: clamp(40px, 8vh, 96px) var(--gutter);
}

.stealth-inner {
  display: grid; justify-items: center;
  text-align: center;
  max-width: 1040px;
}

.stealth-word {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 10vw, 136px);
  line-height: .95; letter-spacing: -.035em;
  margin: 0;
}
.stealth .lede { margin-top: 36px; max-width: 34em; text-wrap: pretty; }
.stealth .lede + .lede { margin-top: 16px; text-wrap: balance; }
.stealth .lede strong { display: block; margin-bottom: 8px; font-weight: 500; color: var(--ink); }
.site-header--bare .nav { justify-content: flex-end; }

.stealth-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.landing .btn-ghost { background: var(--porcelain); }
.landing .btn-ghost:hover { background: var(--paper); }
.btn { transition: background-color .2s ease; }

.stealth-foot { padding: 20px 0 24px; font-size: 14px; color: var(--ink-2); }
.stealth-legal { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.stealth-legal a { text-underline-offset: 4px; text-decoration-thickness: 1px; }

:root[data-js] .stealth .reveal:nth-child(2) { transition-delay: .12s; }
:root[data-js] .stealth .reveal:nth-child(3) { transition-delay: .2s; }
:root[data-js] .stealth .reveal:nth-child(4) { transition-delay: .28s; }

@media (max-width: 640px) {
  .field-bg {
    -webkit-mask-image: linear-gradient(#000 0, transparent 24%, transparent 78%, #000 100%);
    mask-image: linear-gradient(#000 0, transparent 24%, transparent 78%, #000 100%);
  }
  .stealth-legal { justify-content: center; text-align: center; }
}
