:root {
  --paper: #f3f0e8;
  --ink: #171918;
  --muted: #666a66;
  --line: #cbc7bb;
  --accent: #315f57;
  --accent-soft: #d8e2dd;
  --white: #fbfaf6;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header,
.site-footer,
main { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font-size: .78rem; }
nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: .94rem; }
nav a:hover, nav a.active { color: var(--ink); }

.hero { min-height: 660px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 8vw; border-bottom: 1px solid var(--line); }
.hero h1, .page-intro h1, .not-found h1 { max-width: 850px; margin: 12px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 7.5vw, 7.2rem); line-height: .98; font-weight: 400; letter-spacing: -.055em; }
.lede { max-width: 720px; color: #444844; font-size: clamp(1.12rem, 2vw, 1.38rem); line-height: 1.65; }
.eyebrow, .meta { margin: 0; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.text-link { display: inline-block; margin-top: 22px; font-weight: 700; }

.hero-object { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid var(--ink); border-radius: 50%; }
.orbit-one { inset: 6%; }
.orbit-two { inset: 25%; border-color: var(--accent); }
.core { width: 30%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); font-family: Georgia, serif; font-size: clamp(1.5rem, 4vw, 3.2rem); }

.section { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section h2, .split-section h2, .project-card h2, .index-list h2, .prose h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; }
.section-heading h2, .split-section h2 { margin: 6px 0 0; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.08; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { min-height: 310px; padding: 30px; background: var(--white); display: flex; flex-direction: column; }
.card h3 { margin: 54px 0 16px; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1.15; font-weight: 400; }
.card h3 a { text-decoration: none; }
.card p:last-child { margin-top: auto; color: var(--muted); }

.split-section { padding: 110px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.theme-list p { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.theme-list span { display: inline-block; width: 54px; color: var(--accent); font-family: Georgia, serif; }

.page-intro { padding: 120px 0 90px; border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: clamp(3.2rem, 7vw, 6.6rem); }
.index-list article { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 36px; align-items: baseline; padding: 44px 0; border-bottom: 1px solid var(--line); }
.index-list h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; }
.index-list h2 a { text-decoration: none; }
.index-list article > p:last-child { color: var(--muted); }

.project-grid { padding: 80px 0 110px; display: grid; gap: 20px; }
.project-card { display: grid; grid-template-columns: 180px 1fr; gap: 48px; padding: 46px; background: var(--white); border: 1px solid var(--line); }
.project-number { margin: 0; color: var(--accent); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.project-card h2 { margin: 12px 0; font-size: 2.8rem; }
.project-card div > p:not(.meta) { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 0; list-style: none; }
.tag-list li { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; }

.about-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 10vw; padding: 90px 0 120px; }
.about-statement { font-family: Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.35; letter-spacing: -.02em; }
.about-statement p { margin-top: 0; }
.plain-list { padding: 14px 0 0; list-style: none; }
.plain-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }

.prose { max-width: 780px; padding: 120px 0; margin-inline: auto; }
.prose h1 { margin: 12px 0 24px; font-family: Georgia, serif; font-size: clamp(3rem, 6.5vw, 5.7rem); line-height: 1; font-weight: 400; letter-spacing: -.05em; }
.prose hr { margin: 58px 0; border: 0; border-top: 1px solid var(--line); }
.prose > p:not(.eyebrow, .lede, .meta) { font-family: Georgia, serif; font-size: 1.22rem; line-height: 1.82; }
.prose h2 { margin: 52px 0 12px; font-size: 2.2rem; }
blockquote { margin: 48px 0; padding: 28px 32px; border-left: 4px solid var(--accent); background: var(--accent-soft); font-family: Georgia, serif; font-size: 1.45rem; }
.not-found { min-height: 620px; display: flex; flex-direction: column; justify-content: center; }
.not-found h1 { font-size: clamp(4rem, 9vw, 8rem); }

.site-footer { min-height: 130px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.site-footer div { display: flex; gap: 24px; }

@media (max-width: 820px) {
  .site-header { padding: 22px 0; align-items: flex-start; }
  .brand span:last-child { display: none; }
  nav { gap: 16px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 88px 0 64px; }
  .hero-object { width: min(75vw, 420px); margin: 20px auto 0; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 270px; }
  .split-section, .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .index-list article { grid-template-columns: 1fr; gap: 10px; }
  .project-card { grid-template-columns: 1fr; padding: 30px; }
  .project-number { font-size: 3.6rem; }
}

@media (max-width: 520px) {
  .site-header, .site-footer, main { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 82px; }
  nav { gap: 12px; }
  nav a { font-size: .84rem; }
  .hero h1, .page-intro h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .section, .split-section, .page-intro, .prose { padding-top: 78px; padding-bottom: 78px; }
  .card { padding: 24px; }
  .site-footer { padding: 28px 0; align-items: flex-start; }
}

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