:root {
  --bg: #090909;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f1f1ed;
  --muted: #9a9a94;
  --line: #2c2c2b;
  --signal: #8da681;
  --max: 1120px;
  --reading: 760px;
}

* { box-sizing: border-box; }

html.home,
html.strength { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

body.home {
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.strength { text-rendering: optimizeLegibility; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-color: #656561; }
a:hover { color: #fff; text-decoration-color: #fff; }

.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.reading { width: min(calc(100% - 40px), var(--reading)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.9);
  backdrop-filter: blur(10px);
}

.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.13em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.hero { min-height: 76vh; display: grid; align-content: center; padding: 76px 0 84px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr); align-items: end; gap: 54px; }
.kicker { margin: 0 0 18px; color: var(--signal); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.home h1,
.home h2,
.home h3,
.home p { margin-top: 0; }

.home h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 8.2vw, 7.3rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.hero-copy { max-width: 690px; margin-bottom: 16px; color: #c3c3bd; font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.45; }
.hero-subcopy { max-width: 650px; margin-bottom: 34px; color: var(--muted); font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); color: var(--text); background: transparent; font-size: 0.92rem; font-weight: 650; text-decoration: none; transition: 150ms ease; }
.button:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.button.primary { border-color: var(--text); background: var(--text); color: var(--bg); }
.button.primary:hover { border-color: #cfcfc8; background: #cfcfc8; }
.portrait { justify-self: end; width: min(100%, 265px); }
.portrait img { display: block; width: 100%; height: 255px; object-fit: cover; object-position: 50% 32%; border: 1px solid var(--line); filter: grayscale(100%) contrast(1.05); }
.portrait figcaption { margin-top: 10px; color: var(--muted); font-size: 0.73rem; letter-spacing: 0.09em; text-transform: uppercase; }
.statement { padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.statement blockquote { margin: 0; color: #c3c3bd; font-size: clamp(1.12rem, 1.8vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.45; }
.statement cite { display: block; margin-top: 14px; color: var(--muted); font-size: 0.82rem; font-style: normal; }
section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(180px, 0.55fr) 1.45fr; gap: 36px; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; }
.section-head p { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.06rem; }
.notes-heading { display: flex; align-items: center; gap: 10px; }
.live-signal { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--signal); font-size: 0.7rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.live-signal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.departments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.department { min-height: 0; padding: 16px 18px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.department:hover { background: var(--surface-2); }
.department-index { color: var(--muted); font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.department h3 { max-width: 440px; margin: 8px 0 8px; font-size: 1.12rem; letter-spacing: -0.03em; line-height: 1.05; }
.department p { max-width: 480px; margin: 0; color: var(--muted); font-size: 0.95rem; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.home .note { display: flex; min-height: 280px; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: 150ms ease; }
.home .note.published { position: relative; border-top-color: var(--signal); }
.home .note.published::before { content: ""; position: absolute; top: -1px; left: 26px; width: 30px; height: 2px; background: var(--signal); }
.home .note:hover { border-color: #6e6e69; background: var(--surface-2); }
.home .note.muted { cursor: default; }
.home .note.muted:hover { border-color: var(--line); background: var(--surface); }
.note-meta { display: block; margin-top: 18px; color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.home .note h3 { margin: 0 0 12px; font-size: clamp(1.55rem, 2vw, 1.9rem); letter-spacing: -0.04em; line-height: 1.05; }
.home .note p { margin: 0; color: #c3c3bd; font-size: 1.05rem; line-height: 1.45; }
.note-arrow { margin-top: 26px; color: var(--text); font-size: 1.15rem; }

.fieldwork { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.experiment { min-height: 212px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.experiment:hover { background: var(--surface-2); }
.status { display: inline-block; margin-bottom: 32px; padding: 4px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.experiment h3 { margin-bottom: 10px; font-size: 1.43rem; letter-spacing: -0.035em; line-height: 1.08; }
.experiment p { max-width: 480px; margin: 0; color: var(--muted); font-size: 0.95rem; }
.method-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; }
.method-copy,
.method-list { padding: 30px; border: 1px solid var(--line); background: var(--surface); }
.method-copy h3 { margin-bottom: 12px; font-size: 1.8rem; letter-spacing: -0.04em; }
.method-copy p { margin-bottom: 0; color: var(--muted); }
.method-list { display: grid; gap: 0; }
.method-item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.method-item:first-child { padding-top: 0; }
.method-item:last-child { padding-bottom: 0; border-bottom: 0; }
.method-item b { font-size: 0.88rem; }
.method-item span { color: var(--muted); }
.elsewhere { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.place { min-height: 150px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.place:hover { background: var(--surface-2); }
.place small { display: block; margin-bottom: 38px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.place b { font-size: 1.2rem; letter-spacing: -0.02em; }
.contact { display: grid; grid-template-columns: minmax(180px, 0.55fr) 1.45fr; gap: 36px; }
.contact h2 { margin: 0; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-copy { max-width: 700px; }
.contact-copy p { margin-bottom: 16px; color: #c3c3bd; font-size: 1.14rem; }
.contact-copy p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.98rem; }
.site-footer { padding: 30px 0 48px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 0.86rem; }
.footer-row a { color: var(--muted); }

.article-header,
.page-header { padding: 80px 0 44px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow.memo { color: var(--signal); }

.doc h1,
.doc h2,
.doc p { margin-top: 0; }

.doc h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 750;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.dek { max-width: 650px; margin-bottom: 0; color: #bebeb7; font-size: clamp(1.13rem, 2.3vw, 1.43rem); line-height: 1.45; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 34px; color: var(--muted); font-size: 0.86rem; }
.doc article { padding: 58px 0 84px; }
.doc article p { margin-bottom: 1.45em; font-size: 1.13rem; }
.doc article h2 { margin: 2.25em 0 0.7em; font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -0.045em; line-height: 1.06; }
.doc article ul { margin: 0 0 1.65em; padding-left: 1.25em; font-size: 1.1rem; }
.doc article li { margin-bottom: 0.55em; }
.pullquote { margin: 2.3em 0; padding: 26px 0 26px 28px; border-left: 2px solid #bcbcb4; color: #deded7; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 560; letter-spacing: -0.04em; line-height: 1.18; }
.doc .note { margin: 2.4em 0; padding: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 0.95rem; }
.doc.privacy .note { margin: 2.2em 0; font-size: inherit; }
.doc .note b { display: block; margin-bottom: 8px; color: var(--text); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.end-mark { margin-top: 3em; color: var(--muted); letter-spacing: 0.2em; }
.article-footer { border-top: 1px solid var(--line); padding: 34px 0 64px; }
.article-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 0.9rem; }
.article-footer a { color: var(--text); }
.footer { border-top: 1px solid var(--line); padding: 34px 0 64px; color: var(--muted); font-size: 0.9rem; }
.footer a { color: var(--text); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .portrait { justify-self: start; width: min(72%, 275px); }
}

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

@media (max-width: 760px) {
  .wrap,
  .reading { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 60px; flex-wrap: wrap; row-gap: 10px; }
  .nav-links { gap: 13px; margin-left: auto; }
  .nav-links a { font-size: 0.82rem; }
  .hero { min-height: 66vh; padding: 58px 0; }
  .section-head,
  .contact { grid-template-columns: 1fr; gap: 12px; }
  .departments,
  .notes,
  .method-grid,
  .fieldwork,
  .elsewhere { grid-template-columns: 1fr; }
  .department { min-height: 0; }
  .home .note { min-height: 0; }
  .method-item { grid-template-columns: 90px 1fr; }
  .footer-row { flex-direction: column; }
  .portrait { width: min(100%, 245px); }
  .portrait img { height: 205px; }
  .article-header,
  .page-header { padding-top: 58px; }
  .doc article { padding-top: 42px; }
  .doc article p,
  .doc article ul { font-size: 1.05rem; }
}
