/* ============ Tokens ============ */
:root {
  --paper: #E7E1D2;
  --paper-2: #DED6C2;
  --ink: #1E2A22;
  --ink-soft: #3B4A40;
  --brass: #8B5A2B;
  --brass-light: #B98249;
  --rule: rgba(30, 42, 34, 0.15);

  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Source Serif 4", "Georgia", serif;
  --font-label: "IBM Plex Mono", monospace;

  --max: 1120px;
  --max-narrow: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.narrow { max-width: var(--max-narrow); }

.label {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brass);
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 0.4em;
  line-height: 1.15;
}

a { color: var(--brass); text-decoration-color: rgba(139, 90, 43, 0.4); }
a:hover { color: var(--ink); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(231, 225, 210, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--brass); }

.nav-toggle {
  display: none;
  font-family: var(--font-label);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 3px;
  cursor: pointer;
}

/* ============ Hero ============ */
.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-text .label { margin-bottom: 18px; }
.hero-text h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-style: normal;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--brass);
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 20px 0 28px;
}
.hero-link {
  font-family: var(--font-label);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 18px 40px -18px rgba(30, 42, 34, 0.4);
  border: 1px solid var(--rule);
  background: var(--paper-2);
}
.hero-portrait figcaption {
  margin-top: 12px;
  text-align: center;
}

/* ============ Sections ============ */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--rule);
}
.section-alt { background: var(--paper-2); }
.section-label { margin-bottom: 10px; }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 40px;
}

.prose p { margin: 0 0 1.25em; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }

.dropcap > p:first-of-type::first-letter {
  font-family: var(--font-head);
  font-size: 3.6em;
  float: left;
  line-height: 0.8;
  padding: 0.06em 0.08em 0 0;
  color: var(--brass);
  font-weight: 600;
}

.signoff {
  margin-top: 2em;
  font-style: italic;
  color: var(--ink-soft);
}
.signoff span { font-style: normal; color: var(--ink); }

/* ============ Cards ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brass);
  padding: 26px 24px;
  border-radius: 2px;
}
.section-alt .card { background: var(--paper-2); }
.card-num { margin-bottom: 10px; }
.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.card p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.card a { color: var(--brass); }

/* ============ Forthcoming ============ */
.essays {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.essays li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.essay-num {
  font-family: var(--font-label);
  color: var(--brass);
  width: 2ch;
}
.essay-title {
  font-family: var(--font-head);
  font-size: 20px;
  flex: 1;
}
.soon { white-space: nowrap; }

/* ============ Pillars ============ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar {
  padding: 28px 0 0;
  border-top: 1px solid var(--brass);
}
.pillar h3 { font-size: 22px; margin: 8px 0 10px; }
.pillar p { color: var(--ink-soft); margin: 0; }

/* ============ Closing ============ */
.closing {
  padding: 96px 0;
  text-align: center;
}
.closing blockquote {
  margin: 0;
}
.closing p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.4;
}
.closing footer { margin: 0; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
}
.footer-inner { text-align: center; }
.footer-brand {
  font-family: var(--font-head);
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--paper);
}
.site-footer .label { color: var(--brass-light); margin: 4px 0; }
.site-footer a { color: var(--paper); }
.site-footer .small { color: rgba(231, 225, 210, 0.5); margin-top: 16px; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-portrait { max-width: 340px; margin: 0 auto; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 0;
    padding: 8px 28px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .site-nav a:last-child { border-bottom: none; }

  body { font-size: 16.5px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 36px; }
  .essays li { flex-wrap: wrap; }
}
