:root {
  --paper: #ece2c8;
  --paper-deep: #d8c79d;
  --ink: #171512;
  --muted: #625b4d;
  --rule: #1d1a15;
  --red: #a63e2f;
  --blue: #24536a;
  --green: #526641;
  --shadow: rgba(23, 21, 18, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.05)),
    radial-gradient(circle at 18% 12%, rgba(166, 62, 47, 0.12), transparent 28%),
    radial-gradient(circle at 80% 6%, rgba(36, 83, 106, 0.1), transparent 26%),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.45;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.42;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 0;
}

.issue-strip,
.nav,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 3px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issue-strip {
  min-height: 38px;
}

.masthead {
  position: relative;
  display: block;
  margin: 24px 0 10px;
}

.masthead img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.22) sepia(0.14);
}

.nav {
  justify-content: center;
  flex-wrap: wrap;
  min-height: 42px;
  border-top-width: 1px;
}

.nav a {
  padding: 10px 12px;
  text-decoration: none;
}

.nav a:hover,
.article-card a:hover {
  background: var(--ink);
  color: var(--paper);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 36px;
}

.cover {
  /* display: grid; */
  /* grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr); */
  /* gap: clamp(18px, 4vw, 44px); */
  align-items: end;
  /* min-height: min(790px, calc(100vh - 164px)); */
  padding: 32px 0 26px;
  border-bottom: 5px solid var(--rule);
}

.cover-copy {
  align-self: center;
  border-top: 10px solid var(--rule);
  padding-top: 18px;
}

.kicker,
.section-label,
.article-meta {
  margin: 0 0 10px;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(3.2rem, 10vw, 7.8rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 .light {
  font-weight: 300;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 0.95;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1;
}

.cover-copy p:not(.kicker),
.editorial p,
.archive p,
.article-card p {
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.photo-card {
  margin: 0;
  border: 3px solid var(--rule);
  background: #f6edd4;
  box-shadow: 8px 8px 0 var(--shadow);
}

.photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-bottom: 3px solid var(--rule);
  background: #fff;
}

.cover-photo .photo-frame {
  aspect-ratio: 4 / 3;
}

.halftone {
  isolation: isolate;
  filter: contrast(100%) brightness(0.94);
}

.halftone::before {
  position: absolute;
  inset: -18%;
  z-index: 0;
  content: "";
  background: radial-gradient(circle at center, #2f2f2f, #fff);
  background-size: 0.13rem 0.13rem;
  transform: rotate(18deg);
  transform-origin: center;
  pointer-events: none;
}

.halftone img {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter:
    grayscale(1)
    brightness(92%)
    contrast(145%)
    blur(0.7px);
  mix-blend-mode: hard-light;
  transform: scale(1.012);
}

.halftone::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(rgba(216, 199, 157, 0.16), rgba(166, 62, 47, 0.07));
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}

figcaption {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

figcaption strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

figcaption span {
  color: var(--muted);
  font-size: 0.96rem;
}

.page-band {
  margin: 34px 0;
  padding: clamp(22px, 4vw, 42px);
  border-top: 3px solid var(--rule);
  border-bottom: 3px solid var(--rule);
  background: rgba(246, 237, 212, 0.68);
}

.editorial {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
}

.editorial article {
  column-count: 2;
  column-gap: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--rule);
}

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

.gallery-section {
  padding: 14px 0 28px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.gallery .photo-card {
  grid-column: span 3;
}

.gallery .feature {
  grid-column: span 3;
}

.gallery .tall {
  grid-column: span 2;
}

.gallery .feature .photo-frame,
.gallery .tall .photo-frame {
  aspect-ratio: 3 / 4;
}

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

.article-card {
  min-height: 295px;
  padding: 22px;
  border: 3px solid var(--rule);
  background:
    linear-gradient(90deg, rgba(82, 102, 65, 0.12), transparent 42%),
    rgba(255, 250, 235, 0.62);
}

.article-card a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 10px;
  padding: 0 12px;
  border: 2px solid var(--rule);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.archive {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
  align-items: stretch;
  margin-top: 28px;
}

.archive-card,
.notice {
  padding: 24px;
  border: 3px solid var(--rule);
  background: rgba(246, 237, 212, 0.8);
}

.notice {
  display: grid;
  align-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

.notice strong {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  max-width: 1180px;
  min-height: 54px;
  margin: 0 auto;
  padding: 0 18px;
  justify-content: center;
}

footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .cover,
  .editorial,
  .archive {
    grid-template-columns: 1fr;
  }

  .cover {
    min-height: 0;
  }

  .cover-photo {
    max-width: 680px;
  }

  .editorial article {
    column-count: 1;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery .photo-card,
  .gallery .feature,
  .gallery .tall {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .site-header,
  main {
    padding-inline: 12px;
  }

  .issue-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 8px 0;
  }

  .masthead {
    border-width: 2px;
    box-shadow: 5px 5px 0 var(--shadow);
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    padding: 9px 8px;
  }

  .cover {
    padding-top: 22px;
  }

  .gallery,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .page-band {
    padding: 20px 14px;
  }

  .photo-card {
    box-shadow: 5px 5px 0 var(--shadow);
  }
}
