:root {
  --paper: #f3f0e9;
  --paper-raised: #faf8f3;
  --ink: #171714;
  --muted: #66645d;
  --line: rgba(23, 23, 20, 0.18);
  --accent: #2458e6;
  --accent-soft: rgba(36, 88, 230, 0.1);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(100% - 48px, 1440px);
  --gutter: clamp(24px, 5vw, 88px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

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

a { color: inherit; }

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  margin: auto;
  padding: 24px 0 18px;
  border-bottom: 1px solid transparent;
  transition: padding 250ms ease, background-color 250ms ease, border-color 250ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc((100vw - 100%) / -2);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  opacity: 0;
  backdrop-filter: blur(16px);
  transition: opacity 250ms ease;
}

.site-header.scrolled { padding-top: 16px; border-color: var(--line); }
.site-header.scrolled::before { opacity: 1; }

.monogram {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .1em;
  text-decoration: none;
}

.monogram span { color: var(--accent); }

nav { display: flex; gap: clamp(20px, 3vw, 48px); }

nav a {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  width: var(--page);
  margin: auto;
  padding: 132px 0 clamp(56px, 8vh, 100px);
  overflow: hidden;
}

.hero-meta {
  align-self: start;
  display: flex;
  align-items: center;
  width: min(420px, 42vw);
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.meta-rule { flex: 1; height: 1px; margin: 0 14px; background: var(--line); }

.hero-copy { align-self: end; position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(76px, 11.2vw, 180px);
  font-weight: 400;
  letter-spacing: -.062em;
  line-height: .75;
}

em { color: var(--accent); font-weight: 400; }

.hero-statement {
  max-width: 670px;
  margin: clamp(38px, 6vh, 64px) 0 0 clamp(20%, 18vw, 260px);
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 36px);
  letter-spacing: -.025em;
  line-height: 1.25;
}

.hero-orbit {
  position: absolute;
  top: 10%;
  right: -5%;
  width: min(47vw, 680px);
  aspect-ratio: 1;
  opacity: .75;
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one { animation: orbit 28s linear infinite; }
.orbit-one::before,
.orbit-two::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.orbit-two { inset: 17%; animation: orbit 19s linear infinite reverse; }

.orbit-core {
  position: absolute;
  inset: 44%;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px var(--accent-soft);
}

@keyframes orbit { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: clamp(58px, 8vh, 98px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue svg { width: 13px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.2; }

.section {
  display: grid;
  grid-template-columns: clamp(96px, 12vw, 180px) 1fr;
  width: var(--page);
  margin: auto;
  padding: clamp(100px, 14vw, 210px) 0;
  border-top: 1px solid var(--line);
}

.section-index {
  padding-top: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section-content { min-width: 0; }

.display-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 7.2vw, 112px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .65fr);
  gap: clamp(72px, 10vw, 160px) clamp(36px, 6vw, 96px);
}

.focus-grid .display-title { grid-column: 1 / -1; }

.focus-copy { max-width: 660px; }
.focus-copy p { margin: 0 0 24px; color: var(--muted); font-size: clamp(16px, 1.15vw, 19px); }
.focus-copy .lead { color: var(--ink); font-family: var(--display); font-size: clamp(25px, 2.3vw, 37px); letter-spacing: -.025em; line-height: 1.3; }

.principle {
  align-self: end;
  padding: 24px 0 0;
  border-top: 1px solid var(--ink);
}

.principle > span { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.principle blockquote { margin: 28px 0 0; font-family: var(--display); font-size: clamp(25px, 2.1vw, 34px); font-style: italic; letter-spacing: -.02em; line-height: 1.25; }

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .7fr);
  align-items: end;
  gap: clamp(48px, 8vw, 130px);
  margin-bottom: clamp(80px, 11vw, 160px);
}

.section-intro { max-width: 570px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.25vw, 20px); }

.path { margin: 0; padding: 0; list-style: none; }

.path-item {
  display: grid;
  grid-template-columns: 120px 52px 1fr;
  min-height: 170px;
}

.path-year {
  padding-top: 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.path-mark { position: relative; }
.path-mark::before { content: ""; position: absolute; top: 13px; bottom: -13px; left: 5px; width: 1px; background: var(--line); }
.path-item:last-child .path-mark::before { display: none; }
.path-mark span { position: absolute; top: 9px; left: 1px; z-index: 1; width: 9px; height: 9px; border: 2px solid var(--paper); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.path-copy { display: grid; grid-template-columns: minmax(230px, .7fr) 1fr; gap: clamp(32px, 5vw, 80px); padding: 0 0 64px; }
.path-copy h3 { margin: 0; font-family: var(--display); font-size: clamp(27px, 2.5vw, 40px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.path-copy p { max-width: 560px; margin: 0; color: var(--muted); }

.work { background: var(--ink); color: var(--paper); box-shadow: 50vw 0 0 var(--ink), -50vw 0 0 var(--ink); }
.work .section-index, .work .section-intro { color: #a7a59f; }
.work .display-title em { color: #7ea2ff; }
.work-heading { margin-bottom: clamp(60px, 8vw, 110px); }

.work-list { border-top: 1px solid rgba(243, 240, 233, .22); }

.work-item {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  gap: 28px;
  align-items: start;
  padding: clamp(30px, 4vw, 58px) 0;
  border-bottom: 1px solid rgba(243, 240, 233, .22);
  text-decoration: none;
  transition: color 220ms ease, padding 220ms ease;
}

.work-number, .work-kicker { color: #999790; font-size: 10px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.work-body { display: grid; grid-template-columns: minmax(240px, .75fr) 1fr; gap: 16px clamp(32px, 5vw, 80px); align-items: center; }
.work-kicker { grid-column: 1 / -1; }
.work-body strong { font-family: var(--display); font-size: clamp(31px, 3.2vw, 52px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.work-body > span:last-child { max-width: 550px; color: #aaa8a1; }
.arrow { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform 220ms ease; }
.work-item:hover, .work-item:focus-visible { color: #7ea2ff; padding-left: 12px; }
.work-item:hover .arrow, .work-item:focus-visible .arrow { transform: translate(4px, -4px); }

.text-link {
  display: inline-block;
  margin-top: 40px;
  color: #c4c2bc;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.writing-heading { margin-bottom: clamp(60px, 8vw, 110px); }
.writing-list { border-top: 1px solid var(--line); }
.writing-item { border-bottom: 1px solid var(--line); }
.writing-item a {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1fr auto;
  gap: 16px clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(34px, 4.5vw, 64px) 0;
  text-decoration: none;
  transition: padding 220ms ease;
}
.writing-meta {
  grid-column: 1 / -1;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.writing-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(31px, 3.4vw, 54px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.writing-item p { max-width: 590px; margin: 4px 0 0; color: var(--muted); }
.writing-read {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.writing-item a:hover, .writing-item a:focus-visible { padding-left: 12px; }
.writing-item a:hover .writing-read, .writing-item a:focus-visible .writing-read { color: var(--accent); }

.article-header { position: static; }
.article-header .monogram { flex-shrink: 0; }
.article-header nav a[aria-current="page"] { color: var(--ink); }
.article-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.article-main { width: var(--page); margin: auto; }
.article-hero {
  display: grid;
  grid-template-columns: clamp(96px, 12vw, 180px) minmax(0, 1fr);
  padding: clamp(80px, 10vw, 145px) 0 clamp(72px, 9vw, 130px);
  border-bottom: 1px solid var(--line);
}
.article-kicker {
  padding-top: 13px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.article-hero-copy { max-width: 1120px; }
.article-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 8.2vw, 126px);
  font-weight: 400;
  letter-spacing: -.058em;
  line-height: .88;
}
.article-subtitle {
  max-width: 800px;
  margin: clamp(36px, 5vw, 64px) 0 30px;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(22px, 2.1vw, 34px);
  letter-spacing: -.025em;
  line-height: 1.28;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) 0 clamp(100px, 14vw, 190px);
  font-family: var(--display);
  font-size: clamp(19px, 1.45vw, 23px);
  letter-spacing: -.012em;
  line-height: 1.72;
}
.article-body p { margin: 0 0 1.2em; }
.article-body .article-stack {
  margin: 1.35em 0;
}
.article-body .article-list {
  margin: 1.5em 0;
  padding-left: 1.7em;
}
.article-body .article-list li { margin: .35em 0; padding-left: .2em; }
.article-body .article-list li::marker { color: var(--accent); }
.article-body h2 {
  margin: clamp(52px, 5vw, 72px) 0 .75em;
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
  scroll-margin-top: 40px;
}
.article-body h2 a { text-decoration: none; }
.article-body h2 a:hover::after, .article-body h2 a:focus-visible::after { content: " #"; color: var(--accent); }
.article-body strong { font-weight: 700; }
.article-body em { color: inherit; font-weight: inherit; }
.article-body .sequence {
  margin: 2.2em 0;
  padding: 1.2em 1.4em;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .82em;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.article-footer { width: var(--page); }

.contact {
  position: relative;
  min-height: 84svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-inner { position: relative; z-index: 1; width: var(--page); margin: auto; padding: clamp(100px, 14vw, 200px) clamp(96px, 12vw, 180px); }
.contact h2 { font-size: clamp(70px, 10vw, 150px); }
.contact-copy { max-width: 570px; margin: clamp(40px, 5vw, 70px) 0 36px clamp(20%, 15vw, 220px); color: var(--muted); font-size: clamp(16px, 1.2vw, 20px); }
.contact-links { display: flex; gap: 10px; margin-left: clamp(20%, 15vw, 220px); }
.contact-links a { padding: 12px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.contact-links a:hover, .contact-links a:focus-visible { border-color: var(--accent); background: var(--accent); color: white; }

.contact-orbit {
  position: absolute;
  right: -12vw;
  bottom: -30vw;
  width: min(75vw, 1050px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.contact-orbit::before { inset: 18%; }
.contact-orbit::after { inset: 38%; background: var(--accent-soft); border-color: var(--accent); }

footer {
  display: flex;
  justify-content: space-between;
  width: var(--page);
  margin: auto;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

footer a { text-underline-offset: 4px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

@media (max-width: 800px) {
  :root { --page: min(100% - 36px, 1440px); }
  nav a:not(:last-child) { display: none; }
  .hero { padding-top: 112px; min-height: 780px; }
  .hero-meta { width: 100%; }
  .hero-orbit { top: 14%; right: -25%; width: 88vw; }
  .hero h1 { font-size: clamp(67px, 20vw, 108px); line-height: .8; }
  .hero-statement { max-width: 530px; margin-left: 8vw; font-size: clamp(21px, 5.4vw, 29px); }
  .scroll-cue { display: none; }
  .section { display: block; padding: 100px 0; }
  .section-index { margin-bottom: 44px; padding: 0; writing-mode: initial; }
  .focus-grid, .section-heading { grid-template-columns: 1fr; }
  .focus-grid { gap: 58px; }
  .focus-grid .display-title { grid-column: auto; }
  .principle { max-width: 420px; }
  .section-heading { align-items: start; gap: 46px; margin-bottom: 76px; }
  .section-intro { margin-left: 8vw; }
  .path-item { grid-template-columns: 82px 34px 1fr; min-height: 210px; }
  .path-copy { display: block; padding-bottom: 58px; }
  .path-copy h3 { margin-bottom: 16px; }
  .work-body { display: block; }
  .work-body strong { display: block; margin: 11px 0 17px; }
  .work-item { grid-template-columns: 40px 1fr 26px; gap: 12px; }
  .writing-item a { grid-template-columns: 1fr; }
  .writing-item h3, .writing-item p, .writing-read { grid-column: 1; }
  .article-hero { display: block; padding-top: 72px; }
  .article-kicker { margin-bottom: 38px; padding: 0; writing-mode: initial; }
  .article-body { width: min(100%, 680px); }
  .contact-inner { padding: 110px 0; }
  .contact h2 { font-size: clamp(66px, 18vw, 100px); }
  .contact-copy, .contact-links { margin-left: 8vw; }
  footer { flex-wrap: wrap; gap: 12px 24px; }
  footer span:nth-child(2) { display: none; }
}

@media (max-width: 520px) {
  .hero { min-height: 720px; }
  .eyebrow { max-width: 270px; line-height: 1.5; }
  .hero h1 { font-size: clamp(59px, 19vw, 90px); }
  .hero-statement { margin-left: 0; }
  .display-title { font-size: clamp(48px, 15vw, 72px); }
  .section-intro { margin-left: 0; }
  .path-item { grid-template-columns: 1fr; min-height: 0; padding: 0 0 64px 24px; border-left: 1px solid var(--line); }
  .path-item:last-child { padding-bottom: 0; }
  .path-year { position: relative; padding: 0 0 12px; }
  .path-year::before { content: ""; position: absolute; top: 4px; left: -29px; width: 9px; height: 9px; border: 2px solid var(--paper); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
  .path-mark { display: none; }
  .work-item { grid-template-columns: 28px 1fr 22px; }
  .work-number { padding-top: 4px; }
  .work-body strong { font-size: 31px; }
  .work-body > span:last-child { font-size: 14px; }
  .article-header nav a:not([aria-current="page"]) { display: none; }
  .article-header nav a[aria-current="page"] { display: block; }
  .article-hero h1 { font-size: clamp(50px, 15vw, 76px); }
  .article-body { font-size: 19px; line-height: 1.65; }
  .article-body .article-list { padding-left: 1.35em; }
  .article-body .sequence { padding: 1em; font-size: .72em; }
  .contact-copy { margin-left: 0; }
  .contact-links { margin-left: 0; flex-direction: column; align-items: flex-start; }
  .contact-links a { min-width: 150px; text-align: center; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121211;
    --paper-raised: #191918;
    --ink: #edebe5;
    --muted: #aaa8a1;
    --line: rgba(237, 235, 229, .18);
    --accent: #7ea2ff;
    --accent-soft: rgba(126, 162, 255, .1);
  }
  .work { background: #e9e6df; color: #171714; box-shadow: 50vw 0 0 #e9e6df, -50vw 0 0 #e9e6df; }
  .work .section-index, .work .section-intro, .work-number, .work-kicker, .work-body > span:last-child { color: #66645d; }
  .work .display-title em { color: #2458e6; }
  .work-list, .work-item { border-color: rgba(23, 23, 20, .2); }
  .text-link { color: #44433f; }
  .work-item:hover, .work-item:focus-visible { color: #2458e6; }
}

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