:root {
  --ivory: #f3efe6;
  --ivory-deep: #e7e1d4;
  --ink: #1b1a17;
  --ink-soft: #3c3933;
  --muted: #4e4a43;
  --line: rgba(27, 26, 23, 0.16);
  --brass: #8a6234;
  --studio: #868c94;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --text: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, p, figure, ol, ul {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection {
  background: #e4d2b4;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.75rem));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow a {
  text-decoration-color: var(--brass);
  text-underline-offset: 0.22em;
}

.site-nav {
  padding-top: 0.35rem;
}

body.page .site-nav {
  border-bottom: 1px solid var(--line);
}

body.page main > .wrap {
  padding-bottom: 3.5rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.site-menu a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-menu a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  color: inherit;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: center;
}

.hero figure {
  margin: 0;
}

.hero img {
  width: 100%;
  border: 1px solid rgba(27, 26, 23, 0.16);
}

.hero-copy h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.4rem, 7vw, 6.1rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0.35rem 0 0.7rem;
}

.role {
  font-family: var(--text);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--ink-soft);
}

.role::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  margin: 1.15rem 0 1.2rem;
  background: var(--brass);
}

.hero-copy p + p {
  margin-top: 0.95rem;
}

.hero-copy .lede,
.hero-copy > p {
  max-width: 38rem;
}

.facts {
  margin-top: 1.35rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.journal-preview {
  padding: clamp(2.2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 0.4rem;
}

.section-head h2,
.page-head h1,
.essay h1,
.group-label,
.role-panel h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
}

.text-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.3em;
}

.entry-list {
  border-top: 1px solid var(--line);
}

.journal-index {
  margin-top: 2rem;
}

.entry-list a {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.entry-index {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 0.55rem;
}

.entry-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.entry-title {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.entry-dek {
  display: block;
  max-width: 38rem;
  margin-top: 0.45rem;
  color: var(--ink-soft);
}

.entry-list a:hover .entry-title,
.entry-list a:focus-visible .entry-title {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1px;
}

.page-head {
  padding-top: clamp(2.2rem, 6vw, 4.2rem);
}

.page-head h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  line-height: 0.96;
  max-width: 11em;
  margin-top: 0.4rem;
}

.standfirst {
  max-width: 38rem;
  margin-top: 1.15rem;
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
  margin-top: 2.25rem;
}

.about-grid img {
  width: 100%;
  border: 1px solid rgba(27, 26, 23, 0.16);
}

.about-grid figcaption {
  margin-top: 0.55rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose {
  max-width: 40rem;
}

.prose p + p,
.chapter p + p,
.role-panel p + p,
.essay p + p {
  margin-top: 0.95rem;
}

.group-label {
  margin-top: 3.2rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.timeline {
  margin-top: 1.1rem;
  border-top: 1px solid var(--line);
  max-width: 52rem;
}

.timeline li,
.chapter {
  display: grid;
  grid-template-columns: minmax(11rem, 16.5rem) minmax(0, 1fr);
  gap: 1rem 2rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.when {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.4rem;
}

.timeline h3,
.chapter h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

.role-panel {
  margin-top: 2rem;
  padding: clamp(1.35rem, 3vw, 2.15rem);
  max-width: 46rem;
  background: #f7f4ee;
  color: var(--ink);
  border: 1px solid var(--line);
}

.role-panel .eyebrow {
  color: var(--muted);
}

.role-panel h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.08;
  margin: 0.45rem 0 0.95rem;
}

.chapters {
  max-width: 52rem;
}

.essay {
  width: min(40.5rem, 100%);
  padding: clamp(2.3rem, 6vw, 4rem) 0 4.5rem;
}

.essay h1 {
  font-size: clamp(2.45rem, 5vw, 3.7rem);
  line-height: 1.02;
  margin: 0.45rem 0 0.8rem;
}

.essay .byline {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.essay .lede {
  font-size: 1.28rem;
  line-height: 1.45;
}

.next-read {
  margin-top: 2.8rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.92rem;
}

.next-read a {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.15em;
}

.site-foot {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 1.7rem;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero-grid,
  .about-grid,
  .timeline li,
  .chapter {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-grid figure,
  .about-grid figure {
    max-width: 420px;
  }

  .when {
    padding-top: 0;
  }

  .page-head h1 {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(1120px, calc(100% - 2rem));
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .brand {
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .site-menu {
    display: none;
    flex: 1 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.15rem 0 0.85rem;
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 0.45rem 0;
  }

  .section-head {
    align-items: flex-end;
  }

  .entry-list a {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
