:root {
  color-scheme: light;
  --ink: #181614;
  --muted: #665f58;
  --paper: #f5efe5;
  --paper-strong: #fffaf1;
  --line: #d8c8b7;
  --green: #1f6f63;
  --red: #9d3228;
  --blue: #345d8d;
  --gold: #b0762a;
  --wash: #edf3ef;
  --shadow: 0 20px 70px rgba(33, 27, 20, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(31, 111, 99, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #edf3ef 0%, #f7efe4 45%, #e8edf3 100%);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar,
main,
.footer {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(25, 23, 20, 0.14);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 14px;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 7px 7px, var(--red) 0 6px, transparent 6.5px),
    radial-gradient(circle at 23px 7px, var(--green) 0 6px, transparent 6.5px),
    radial-gradient(circle at 39px 7px, var(--blue) 0 6px, transparent 6.5px);
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.topnav a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.topnav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 740;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(42px, 9vh, 86px) 0 34px;
}

.hero-directory {
  padding-bottom: 20px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(3.25rem, 9vw, 7.4rem);
  line-height: 0.9;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.lead {
  margin: 0;
  max-width: 630px;
  color: #302b25;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.42;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #fffaf1;
  font-weight: 720;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 250, 241, 0.58);
  color: var(--ink);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(25, 23, 20, 0.12);
}

.section {
  padding: 36px 0;
  border-top: 1px solid rgba(25, 23, 20, 0.14);
}

.section.compact {
  padding: 28px 0 42px;
}

.section-heading {
  margin-bottom: 18px;
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.edition-card,
.issue-row {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(25, 23, 20, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.74);
  box-shadow: 0 14px 40px rgba(33, 27, 20, 0.08);
  text-decoration: none;
}

.edition-card strong,
.issue-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.edition-card span,
.issue-row span {
  color: var(--muted);
  line-height: 1.4;
}

.edition-kicker {
  color: var(--green) !important;
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.rule-line {
  max-width: 820px;
  margin: 0;
  color: #302b25;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.16;
}

.issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  padding: 44px 0 54px;
}

.article {
  max-width: 760px;
}

.article-header {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(25, 23, 20, 0.16);
}

.article-meta {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 740;
  text-transform: uppercase;
}

.article h1 {
  margin-bottom: 14px;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: 0.92;
}

.article-deck {
  margin: 0;
  color: #302b25;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.46;
}

.article-section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(25, 23, 20, 0.12);
}

.article-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.8vw, 2.65rem);
}

.article-section p,
.article-section li {
  color: #302b25;
  font-size: 1.04rem;
  line-height: 1.68;
}

.article-section p {
  margin: 0 0 14px;
}

.article-section ul {
  margin: 0;
  padding-left: 21px;
}

.article-section li + li {
  margin-top: 8px;
}

.quick-list {
  padding: 18px 18px 18px 38px;
  border-left: 4px solid var(--green);
  background: rgba(255, 250, 241, 0.68);
}

.source-list a {
  color: var(--blue);
}

.side-note {
  position: sticky;
  top: 22px;
  padding: 18px;
  border: 1px solid rgba(25, 23, 20, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
}

.side-note strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.side-note span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(25, 23, 20, 0.14);
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .topnav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .issue-layout {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.9rem);
  }

  .hero-media img {
    aspect-ratio: 16 / 11;
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 620px) {
  .topbar,
  main,
  .footer {
    width: min(100vw - 24px, 1120px);
  }

  .topnav,
  .footer,
  .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .edition-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
