:root {
  --paper: #f3f0e8;
  --ink: #17201e;
  --muted: #69706a;
  --line: #c9c6bb;
  --moss: #6d7c58;
  --clay: #c46f4b;
  --night: #1d2825;
  --cream: #fffdf7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(23, 32, 30, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 4rem;
}

a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
}

.site-header nav,
footer nav { display: flex; gap: 30px; }

.site-header nav a,
footer a {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a.active,
footer a:hover,
footer a:focus-visible { color: var(--ink); }

.site-header nav a.active { border-bottom: 1px solid var(--ink); }

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 104px;
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  column-gap: 8%;
  align-items: end;
}

.eyebrow,
.meta {
  margin: 0 0 24px;
  color: var(--clay);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow { grid-column: 1 / -1; }

h1, h2, blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.5rem, 10vw, 9.2rem);
  line-height: .83;
}

.hero-copy {
  margin: 0 0 38px;
  color: #47504c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span { color: var(--clay); font-size: 1.2rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.feature-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.feature {
  min-height: 420px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
  border: 1px solid var(--line);
}

.feature-main {
  grid-row: span 2;
  min-height: 864px;
}

.feature-art {
  min-height: 410px;
  margin-bottom: 52px;
  overflow: hidden;
  background: #d9d9ca;
}

.art-grid {
  padding: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
  background: var(--moss);
  transform: translateZ(0);
}

.art-grid span {
  border: 1px solid rgba(255,255,255,.62);
  background: rgba(255,255,255,.08);
}

.art-grid span:nth-child(2),
.art-grid span:nth-child(4) { border-radius: 50% 50% 0 0; }

.art-grid span:nth-child(3),
.art-grid span:nth-child(5) { background: var(--paper); border-color: var(--paper); }

.art-circle {
  min-height: 205px;
  display: grid;
  place-items: center;
  background: #e5d6c7;
}

.art-circle span {
  width: 138px;
  height: 138px;
  border: 24px solid var(--clay);
  border-radius: 50%;
  box-shadow: 38px 26px 0 rgba(23,32,30,.12);
}

.feature-copy { max-width: 610px; }
.feature-copy .meta { margin-bottom: 14px; color: var(--moss); }

.feature h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.03;
}

.feature:not(.feature-main) h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.feature h2 a { text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: .12em; }
.feature h2 a:hover { text-decoration-color: currentColor; }

.feature p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}

.feature-dark {
  position: relative;
  color: var(--paper);
  background: var(--night);
  border-color: var(--night);
  overflow: hidden;
}

.feature-dark .meta { color: #d69b80; }
.feature-dark p:last-child { color: #bac1bd; }

.feature-number {
  position: absolute;
  right: -12px;
  bottom: -50px;
  color: rgba(255,255,255,.06);
  font-family: Georgia, serif;
  font-size: 13rem;
  line-height: 1;
}

.manifesto {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0;
  text-align: center;
}

.manifesto blockquote {
  margin: 0 0 32px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.06;
}

.manifesto > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  line-height: 1.75;
}

footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

footer p:first-child { color: var(--ink); font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.page-shell {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.page-intro {
  max-width: 760px;
  padding: 112px 0 96px;
}

.page-intro.wide { max-width: 920px; }

.page-intro h1,
.not-found h1 {
  margin: 0 0 28px;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .9;
}

.page-intro > p:last-child,
.not-found > p:not(.eyebrow):not(.error-code) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.6;
}

.note {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 46px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 32px;
}

.note aside span {
  display: block;
  margin-bottom: 20px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 4rem;
}

.note aside p {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.7;
  text-transform: uppercase;
}

.note-body { max-width: 690px; }
.note-body h2, .prose h2 { margin: 0 0 28px; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.02; }

.note-body p,
.prose p {
  color: #3e4743;
  font-family: Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.82;
}

.note-body .lead { color: var(--ink); font-size: 1.38rem; line-height: 1.62; }
.note-body .note-end,
.prose .note-end { margin-top: 34px; color: var(--moss); font-family: inherit; font-size: .73rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }

.about-grid {
  padding: 0 0 130px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 9%;
}

.about-art {
  min-height: 610px;
  position: relative;
  background: var(--moss);
  overflow: hidden;
}

.about-art span { position: absolute; display: block; border: 1px solid rgba(255,255,255,.7); }
.line-one { width: 70%; height: 70%; top: 15%; left: 15%; border-radius: 50%; }
.line-two { width: 85%; height: 1px; top: 46%; left: 8%; transform: rotate(-28deg); }
.line-three { width: 30%; height: 46%; right: 14%; bottom: 0; background: var(--paper); border-color: var(--paper) !important; }

.prose h2 { margin-top: 70px; font-size: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.legal-page { min-height: calc(100vh - 242px); }
.legal-copy { max-width: 700px; padding-bottom: 120px; }

.not-found {
  width: min(780px, calc(100% - 48px));
  min-height: calc(100vh - 242px);
  margin: 0 auto;
  padding: 96px 0;
}

.error-code {
  margin: 0 0 -22px;
  color: rgba(109,124,88,.15);
  font-family: Georgia, serif;
  font-size: clamp(8rem, 24vw, 18rem);
  line-height: .8;
}

.not-found .text-link { margin-top: 42px; }

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .site-header nav { width: 100%; gap: 20px; justify-content: space-between; }
  .site-header nav a { font-size: .73rem; }

  .hero {
    width: min(100% - 28px, 1180px);
    padding: 72px 0;
    display: block;
  }

  .hero h1 { margin-bottom: 40px; font-size: clamp(3.8rem, 21vw, 6.5rem); }
  .hero-copy { font-size: 1.13rem; }

  .feature-grid {
    width: min(100% - 28px, 1180px);
    display: block;
  }

  .feature { min-height: 430px; margin-bottom: 16px; }
  .feature-main { min-height: 720px; }
  .feature-art { min-height: 300px; }
  .art-grid { padding: 28px; gap: 10px; }

  .manifesto { width: min(100% - 28px, 850px); padding: 100px 0; }

  footer {
    width: min(100% - 28px, 1180px);
    padding: 34px 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-shell { width: min(100% - 28px, 1080px); }
  .page-intro { padding: 78px 0 70px; }
  .page-intro h1, .not-found h1 { font-size: clamp(3.6rem, 18vw, 6rem); }

  .note { padding: 62px 0; grid-template-columns: 1fr; gap: 16px; }
  .note aside { display: flex; align-items: baseline; gap: 20px; }
  .note aside span { margin: 0; font-size: 2.7rem; }
  .note aside p { margin: 0; }

  .about-grid { grid-template-columns: 1fr; padding-bottom: 90px; }
  .about-art { min-height: 380px; }
  .prose { padding-top: 48px; }
  .not-found { width: min(100% - 28px, 780px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .text-link span { transition: none; }
}
