:root {
  --paper: #ede8de;
  --paper-deep: #e4ded2;
  --ink: #0f0f0f;
  --dim: #6a6458;
  --line: #cfc8b8;
  --amber: #f28a1a;
  --wood: #1b4332;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1180px, calc(100vw - 48px));
  --reading: min(780px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-color: var(--amber); }
::selection { background: var(--amber); color: var(--ink); }
.shell { width: var(--shell); margin-inline: auto; }
.reading-shell { width: var(--reading); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img { color: var(--amber); }
.brand-dot { color: var(--amber); }
nav { display: flex; gap: 32px; }

nav a {
  color: var(--dim);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.eyebrow {
  margin: 0 0 24px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  min-height: 680px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 8vw 96px 0;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em { color: var(--amber); font-weight: 500; }

.hero-intro {
  max-width: 650px;
  margin: 38px 0 24px;
  color: var(--dim);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.4;
}

.text-link {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  color: var(--amber);
  transition: transform 160ms ease;
}

.text-link:hover span { transform: translateX(4px); }

.hero-mark {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 40px 0 40px 40px;
  border-left: 1px solid var(--line);
}

.hero-mark span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  line-height: 1.6;
}

.hero-mark img { align-self: center; width: 100%; opacity: 0.9; }

.featured, .latest {
  padding-block: 112px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-heading .eyebrow { margin-bottom: 8px; }

.section-heading h2, .page-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading > a { color: var(--dim); font-size: 13px; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.story-card {
  min-height: 460px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(28px, 4vw, 50px);
  text-decoration: none;
  transition: background 180ms ease;
}

.story-card a:hover { background: rgba(255, 255, 255, 0.24); }

.story-index, .story-footer {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.story-index span:first-child { color: var(--amber); }

.story-card h3 {
  max-width: 610px;
  margin: 78px 0 24px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 49px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.story-card p {
  max-width: 580px;
  margin: 0 0 58px;
  color: var(--dim);
  line-height: 1.55;
}

.story-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.manifesto {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 8vw;
  align-items: center;
  padding-block: 104px;
  border-bottom: 1px solid var(--line);
}

.manifesto-number {
  margin: 0;
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(90px, 14vw, 180px);
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.manifesto-number span {
  display: block;
  margin-top: 20px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manifesto blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3.3vw, 43px);
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.story-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.story-list li { border-bottom: 1px solid var(--line); }

.story-list a {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 25px 0;
  text-decoration: none;
}

.story-list time {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-list span { font-family: var(--serif); font-size: 22px; }
.story-list b { color: var(--amber); font-weight: 500; }

.page-header {
  padding-block: 120px 80px;
  border-bottom: 1px solid var(--ink);
}

.page-header > p:last-child {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--dim);
  font-family: var(--serif);
  font-size: 23px;
}

.archive { padding-bottom: 100px; }

.archive article {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 48px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.archive-meta {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

.archive-meta span { display: block; }

.archive h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.09;
}

.archive h2 a { text-decoration: none; }
.archive article p { max-width: 720px; margin: 14px 0 0; color: var(--dim); }
.archive-arrow { color: var(--amber); font-size: 24px; text-decoration: none; }
.post-header { padding-block: 88px 0; }

.back-link {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.post-header .eyebrow { color: var(--amber); }

.post-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.post-dek {
  margin: 36px 0 0;
  color: var(--dim);
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.4;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-cover, .post-signal { margin: 56px 0 72px; }

.post-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.post-cover img { width: 100%; height: auto; }

.post-signal {
  position: relative;
  display: grid;
  grid-template-columns: auto repeat(5, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 180px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.post-signal::after {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: var(--line);
  content: "";
}

.post-signal span {
  position: relative;
  z-index: 1;
  padding-right: 18px;
  background: var(--paper-deep);
  color: var(--amber);
  font-family: var(--serif);
  font-size: 72px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.post-signal i {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  justify-self: center;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 7px var(--paper-deep);
}

.post-signal i:nth-child(3), .post-signal i:nth-child(5) { background: var(--amber); }

.prose {
  color: #22201c;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.82;
}

.prose > :first-child { margin-top: 0; }

.prose p, .prose ul, .prose ol, .prose blockquote,
.prose pre, .prose table, .prose figure { margin-block: 1.45em; }

.prose h2, .prose h3, .prose h4 {
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.prose h2 {
  margin: 2.25em 0 0.7em;
  padding-top: 0.8em;
  border-top: 1px solid var(--line);
  font-size: clamp(31px, 4vw, 44px);
}

.prose h3 { margin: 2em 0 0.7em; font-size: 27px; }
.prose h4 { font-size: 22px; }

.prose hr {
  width: 72px;
  margin: 64px auto;
  border: 0;
  border-top: 2px solid var(--amber);
}

.prose blockquote {
  margin-inline: 0;
  padding: 0.1em 0 0.1em 1.35em;
  border-left: 3px solid var(--amber);
  color: var(--dim);
  font-size: 1.12em;
  font-style: italic;
}

.prose code {
  padding: 0.12em 0.3em;
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.82em;
}

.prose pre {
  overflow-x: auto;
  padding: 25px;
  border-radius: 2px;
  background: #0a0a0f;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.65;
}

.prose pre code { padding: 0; background: transparent; }

.prose img {
  width: auto;
  max-height: 780px;
  margin: 2.2em auto 0.6em;
  border: 1px solid var(--line);
}

.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

.prose th, .prose td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th { background: var(--paper-deep); }

.post-end {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 90px;
  padding-block: 36px 90px;
  border-top: 1px solid var(--ink);
}

.post-end p { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.5; }
.post-end a { font-size: 13px; font-weight: 700; text-decoration: none; }
.about { padding-block: 112px; }
.about header { max-width: 980px; padding-bottom: 80px; }

.about h1, .not-found h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 9vw;
  padding-top: 72px;
  border-top: 1px solid var(--ink);
}

.about-mark img { width: min(100%, 360px); }

.about-mark p {
  margin-top: 28px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.about-copy { width: auto; margin: 0; }

.about-copy .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.35em;
  line-height: 1.5;
}

.not-found { min-height: 68vh; padding-block: 13vh; }

.not-found > p:not(.eyebrow) {
  margin: 34px 0 22px;
  color: var(--dim);
  font-family: var(--serif);
  font-size: 22px;
}

.site-footer { background: #0a0a0f; color: #e0e0e0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.6fr 0.8fr;
  gap: 60px;
  align-items: end;
  padding-block: 72px;
}

.footer-brand { color: #e0e0e0; }

.footer-grid > div:first-child p, .footer-meta {
  max-width: 430px;
  margin: 16px 0 0;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.6;
}

.footer-links { display: grid; gap: 9px; }
.footer-links a { font-size: 13px; text-decoration: none; }

.footer-meta {
  justify-self: end;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  :root { --shell: min(680px, calc(100vw - 32px)); --reading: min(680px, calc(100vw - 32px)); }
  body { font-size: 16px; }
  .header-inner { min-height: 70px; }
  nav { gap: 18px; }
  .hero { display: block; min-height: 0; }
  .hero-copy { min-height: 600px; padding: 72px 0; }
  .hero-mark { display: none; }
  .featured, .latest, .about { padding-block: 76px; }
  .section-heading { align-items: start; }
  .section-heading > a { margin-top: 8px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 410px; }
  .manifesto { grid-template-columns: 1fr; gap: 58px; }
  .story-list a { grid-template-columns: 1fr auto; }
  .story-list time { grid-column: 1 / -1; }
  .archive article { grid-template-columns: 1fr auto; gap: 18px; }
  .archive-meta { grid-column: 1 / -1; }
  .archive-arrow { grid-column: 2; grid-row: 2; }
  .post-header { padding-top: 60px; }
  .back-link { margin-bottom: 50px; }
  .prose { font-size: 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-mark img { width: 250px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-meta { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

@media (max-width: 520px) {
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 28px; height: 28px; }
  nav a { font-size: 12px; }
  .hero-copy { min-height: 530px; }
  .hero h1 br { display: none; }
  .section-heading { display: block; }
  .section-heading > a { display: inline-block; margin-top: 20px; }
  .story-card a { padding: 26px; }
  .story-card h3 { margin-top: 58px; }
  .post-signal { min-height: 130px; padding: 22px; }
  .post-signal span { font-size: 48px; }
  .post-end { grid-template-columns: auto 1fr; }
  .post-end a { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
