:root {
  --paper: #f3efe6;
  --ink: #171717;
  --muted: #6e6a63;
  --line: rgba(23, 23, 23, 0.16);
  --page-pad: clamp(20px, 2vw, 40px);
  --content-max: 1800px;
  --image-height: clamp(230px, 26vw, 390px);
  --gap: clamp(20px, 2.6vw, 42px);
  --section-gap: clamp(58px, 7vw, 108px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.site-shell {
  width: min(calc(100% - (2 * var(--page-pad))), var(--content-max));
  margin-inline: auto;
}

.site-header {
  padding-top: clamp(28px, 5vw, 72px);
  text-align: center;
}

.brand {
  display: inline-block;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  padding: 8px 0;
  font: inherit;
  cursor: pointer;
}

.home-main {
  padding-block: clamp(54px, 7vw, 100px) 100px;
}

.featured-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--gap);
  overflow: visible;
}

.feature-card {
  display: block;
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
}

.feature-card img,
.editorial-image img {
  display: block;
  height: var(--image-height);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.editorial-image img {
  height: var(--editorial-image-height);
  max-width: none;
  object-position: center top;
}

.caption {
  margin-top: 12px;
}

.caption h2,
.editorial-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 400;
}

.date-range {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.secondary-row {
  --editorial-image-height: var(--image-height);
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: center;
  gap: var(--gap);
  margin-top: var(--section-gap);
  align-items: start;
}

.editorial-block {
  text-decoration: none;
  display: grid;
  grid-template-columns: max-content clamp(150px, 13vw, 240px);
  align-items: start;
  gap: clamp(18px, 1.5vw, 24px);
}

.editorial-copy {
  padding-top: 3px;
}

.feature-card,
.editorial-block {
  outline: 1px solid transparent;
  outline-offset: -1px;
  transition: transform 180ms ease, outline-color 180ms ease;
}

.feature-card:focus-visible,
.editorial-block:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

@media (hover: hover) {
  .feature-card:hover,
  .editorial-block:hover {
    transform: translateY(-3px);
    outline-color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .editorial-block,
  .feature-card:hover,
  .editorial-block:hover {
    transition: none;
    transform: none;
  }
}

.editorial-copy p {
  max-width: 30ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.content-page {
  padding-block: clamp(60px, 8vw, 120px);
}

.page-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.page-intro {
  max-width: 58ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.placeholder-panel {
  margin-top: 70px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  max-width: 62ch;
}

.site-footer {
  padding-block: 28px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .featured-row {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
  }

  .feature-card {
    scroll-snap-align: start;
  }

  .secondary-row {
    grid-template-columns: 1fr;
  }

  .editorial-block {
    grid-template-columns: max-content minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  :root {
    --image-height: auto;
  }

  .header-row {
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 14px;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .header-row {
    flex-wrap: wrap;
  }

  .featured-row {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 44px;
  }

  .feature-card {
    width: 100%;
  }

  .feature-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .secondary-row {
    --editorial-image-height: min(60vw, 250px);
    margin-top: 52px;
  }

  .editorial-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .editorial-copy p {
    max-width: 100%;
  }
}
