:root {
  --paper: #f2efe7;
  --ink: #171713;
  --red: #d83a2e;
  --blue: #164a72;
  --soft-red: #e75b4f;
  --line: #aaa79f;
  --max-width: 1200px;
  color-scheme: light;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 2px solid var(--ink);
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  padding-block: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.utility-bar p {
  margin: 0;
}

.masthead-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding-block: 22px 18px;
}

.compact .masthead-row {
  align-items: center;
  padding-block: 16px;
}

.masthead,
.footer-title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.1em;
  text-decoration: none;
  white-space: nowrap;
}

.compact .masthead {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.masthead span,
.footer-title span {
  margin-right: 0.12em;
  color: var(--red);
  font-size: 0.44em;
  letter-spacing: 0;
  vertical-align: top;
}

.nav-list {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
}

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

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--red);
}

.issue-hero {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr 0.5fr;
  gap: clamp(30px, 6vw, 80px);
  min-height: 650px;
  padding-block: clamp(70px, 10vw, 130px);
  overflow: hidden;
}

.issue-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.issue-label p {
  margin-bottom: 0;
  color: var(--red);
}

.issue-copy {
  position: relative;
  z-index: 1;
}

.kicker,
.category {
  margin-bottom: 20px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.issue-copy h1,
.issue-page-header h1,
.page-heading h1 {
  margin-bottom: 38px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.dek {
  max-width: 660px;
  margin-bottom: 40px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-mark {
  position: absolute;
  right: -0.08em;
  bottom: -0.25em;
  margin: 0;
  color: rgb(216 58 46 / 11%);
  font-size: clamp(12rem, 28vw, 27rem);
  font-weight: 900;
  line-height: 0.68;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.arrow-link,
.text-link {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid currentcolor;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.arrow-link:hover,
.text-link:hover {
  color: var(--red);
}

.section-rule {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 14px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.section-rule h2,
.section-rule span {
  margin: 0;
}

.section-rule h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.3rem;
}

.section-rule span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.lead-story {
  padding-bottom: 120px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr 0.9fr;
  gap: clamp(30px, 5vw, 70px);
  padding-block: 60px;
  border-bottom: 1px solid var(--line);
}

.story-number,
.card-index {
  color: var(--red);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.lead-grid h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.byline {
  font-size: 0.73rem;
  font-weight: 700;
}

.story-summary {
  align-self: end;
}

.story-summary p {
  color: #4c4b46;
}

.contents {
  padding-bottom: 130px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.article-card {
  position: relative;
  min-height: 470px;
  padding: 30px;
  overflow: hidden;
}

.article-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 50px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.article-card .card-index {
  position: absolute;
  right: 20px;
  bottom: 20px;
  margin: 0;
  color: rgb(255 255 255 / 18%);
  font-size: 9rem;
}

.article-card .byline {
  position: absolute;
  bottom: 28px;
  left: 30px;
}

.article-card > a {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.article-card > a:focus-visible {
  outline-offset: -7px;
}

.card-red {
  background: var(--soft-red);
  color: white;
}

.card-blue {
  background: var(--blue);
  color: white;
}

.card-red .category,
.card-blue .category {
  color: white;
}

.card-paper {
  background: #ded8cc;
}

.manifesto {
  background: var(--ink);
  color: var(--paper);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 50px 1fr 0.8fr;
  gap: clamp(30px, 6vw, 90px);
  padding-block: clamp(90px, 14vw, 170px);
}

.vertical-label {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.manifesto h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.manifesto-copy {
  align-self: end;
}

.manifesto-copy p {
  color: #c9c5ba;
}

.light {
  color: var(--paper);
}

.site-footer {
  padding-top: 80px;
  background: var(--paper);
}

.footer-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 70px;
}

.footer-title {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 16px;
  border-top: 1px solid var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-bottom p {
  margin: 0;
}

.page-main {
  padding-block: clamp(80px, 12vw, 150px);
}

.page-heading,
.archive-heading {
  padding-bottom: 90px;
  border-bottom: 2px solid var(--ink);
}

.page-heading h1,
.archive-heading h1 {
  margin-bottom: 0;
}

.archive-heading h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -0.08em;
}

.editorial-body {
  max-width: 920px;
  margin-left: auto;
}

.editorial-body .intro {
  padding-block: 90px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.editorial-body section {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding-block: 55px;
  border-top: 1px solid var(--ink);
}

.section-number {
  color: var(--red);
  font-weight: 800;
}

.editorial-body h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.editorial-body section p:last-child {
  color: #4c4b46;
}

.issue-list {
  padding-bottom: 50px;
}

.issue-row {
  display: grid;
  grid-template-columns: 170px 1fr 70px;
  gap: 40px;
  align-items: center;
  padding-block: 65px;
  border-bottom: 1px solid var(--ink);
}

.issue-no {
  margin: 0;
  color: var(--red);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1;
}

.issue-row time {
  font-size: 0.75rem;
  font-weight: 800;
}

.issue-row h2 {
  margin-block: 10px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.issue-row p:last-child {
  margin: 0;
  color: #4c4b46;
}

.circle-link {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
}

.circle-link:hover {
  background: var(--red);
  color: white;
}

.coming-soon {
  display: flex;
  justify-content: space-between;
  padding-block: 35px;
  color: #6b6963;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.coming-soon p {
  margin: 0;
}

.issue-page-header {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 60px;
  padding-block: clamp(80px, 13vw, 160px);
}

.reading-area {
  padding-block: 110px;
  background: #fffdf8;
}

.story-header {
  max-width: 820px;
  margin-bottom: 80px;
}

.story-header h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.prose {
  width: min(calc(100% - 48px), 680px);
  margin-inline: auto;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  line-height: 2.2;
}

.prose p {
  margin-bottom: 2.2em;
}

.prose .opening {
  font-size: 1.3rem;
}

.prose hr {
  width: 40px;
  margin-block: 70px;
  border: 0;
  border-top: 1px solid var(--ink);
}

.production-note {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  max-width: 820px;
  margin-top: 100px;
  padding-top: 30px;
  border-top: 1px solid var(--ink);
}

.production-note h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.5rem;
}

.issue-navigation {
  display: flex;
  justify-content: space-between;
  padding-block: 40px;
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .container,
  .prose {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .utility-bar p:last-child {
    display: none;
  }

  .masthead-row,
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-list {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .issue-hero,
  .lead-grid,
  .manifesto-inner,
  .issue-page-header {
    grid-template-columns: 1fr;
  }

  .issue-hero {
    min-height: 720px;
  }

  .issue-label {
    display: flex;
    justify-content: space-between;
  }

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

  .article-card {
    min-height: 390px;
  }

  .vertical-label {
    display: none;
  }

  .issue-row {
    grid-template-columns: 1fr 60px;
  }

  .issue-no {
    grid-column: 1 / -1;
  }

  .coming-soon {
    gap: 16px;
    flex-wrap: wrap;
  }

  .editorial-body section,
  .production-note {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
