:root {
  --ink: #181816;
  --muted: #6b6b64;
  --paper: #f7f6f2;
  --white: #ffffff;
  --line: #d8d7d0;
  --accent: #b83b2d;
  --forest: #244a3a;
  --sans: 'DM Sans', 'Noto Sans JP', sans-serif;
  --serif: 'Noto Serif JP', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.wrapper {
  width: min(calc(100% - 64px), 1240px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-sub {
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a,
.issue-link,
.mobile-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 21px;
  height: 1px;
  background: var(--accent);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.issue-link {
  justify-self: end;
  color: var(--accent);
}

.issue-link span {
  margin-left: 8px;
}

.mobile-nav {
  display: none;
}

.lead-story {
  position: relative;
  min-height: clamp(580px, calc(100vh - 82px), 820px);
  color: var(--white);
  overflow: hidden;
}

.lead-story > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.lead-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.27);
}

.lead-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 74px;
}

.kicker,
.eyebrow,
.article-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.kicker span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 10px;
}

.lead-content h1 {
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 600;
  line-height: 1.32;
}

.lead-copy {
  max-width: 590px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 2;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
}

.story-link span,
.text-link span {
  transition: transform 180ms ease;
}

.story-link:hover span,
.text-link:hover span {
  transform: translateX(4px);
}

.story-link-light {
  margin-top: 30px;
}

.photo-note {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 1px;
}

.editors-picks {
  padding-top: 104px;
  padding-bottom: 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  align-items: end;
  gap: 80px;
  margin-bottom: 46px;
}

.eyebrow {
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading h2,
.column-heading h2 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.5;
}

.section-heading > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.image-link {
  display: block;
  overflow: hidden;
}

.image-link img {
  transition: transform 550ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.image-link:hover img {
  transform: scale(1.025);
}

.pick-item .image-link {
  aspect-ratio: 4 / 3;
}

.pick-item img {
  height: 100%;
  object-fit: cover;
}

.article-index {
  margin-top: 20px;
  color: var(--accent);
}

.pick-item h3 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
}

.pick-item h3 a:hover,
.feature-body h3 a:hover {
  color: var(--accent);
}

.article-summary {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.rule {
  border-top: 1px solid var(--ink);
}

.journal-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(290px, 0.85fr);
  gap: clamp(54px, 7vw, 100px);
  padding-top: 94px;
  padding-bottom: 128px;
}

.column-heading {
  margin-bottom: 42px;
}

.feature-article {
  padding-bottom: 72px;
  margin-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.feature-image {
  aspect-ratio: 16 / 9;
}

.feature-image img {
  height: 100%;
  object-fit: cover;
}

.feature-body {
  padding: 27px 6% 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
}

.article-meta span:first-child {
  color: var(--accent);
}

.feature-body h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.55;
}

.feature-body > p {
  max-width: 670px;
  margin-top: 18px;
  color: #51514c;
  line-height: 2;
}

.compact-feature {
  margin-bottom: 0;
}

.side-column {
  min-width: 0;
}

.editor-profile {
  border-top: 4px solid var(--ink);
  padding-top: 30px;
}

.editor-profile > img {
  aspect-ratio: 1 / 1;
  margin-top: 24px;
  object-fit: cover;
  object-position: center 35%;
}

.editor-profile h2,
.ranking h2,
.newsletter h2 {
  margin-top: 21px;
  font-family: var(--serif);
  font-size: 21px;
}

.editor-role {
  margin-top: 2px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.editor-profile > p:not(.eyebrow):not(.editor-role) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
}

.ranking {
  margin-top: 76px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.ranking h2 {
  margin-top: 0;
  margin-bottom: 22px;
}

.ranking ol {
  list-style: none;
}

.ranking li {
  border-top: 1px solid var(--line);
}

.ranking li:last-child {
  border-bottom: 1px solid var(--line);
}

.ranking a {
  display: grid;
  grid-template-columns: 88px 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
}

.ranking img {
  width: 88px;
  height: 70px;
  object-fit: cover;
}

.rank-no {
  align-self: start;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 16px;
}

.rank-copy {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.65;
}

.rank-copy small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.6px;
}

.newsletter {
  margin-top: 76px;
  padding: 32px;
  color: var(--white);
  background: var(--forest);
}

.newsletter .eyebrow {
  color: #d9b55b;
}

.newsletter h2 {
  margin-top: 0;
  font-size: 23px;
}

.newsletter > p:not(.eyebrow) {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.8;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr 44px;
  margin-top: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.newsletter input {
  min-width: 0;
  padding: 11px 0;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 11px;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter button {
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 19px;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
  padding: 76px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 70px;
}

.footer-brand .brand-name {
  font-size: 34px;
}

.footer-brand > p:last-child {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-nav div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav p {
  margin-bottom: 10px;
  color: #d9b55b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.8px;
}

@media (max-width: 900px) {
  .wrapper {
    width: min(calc(100% - 40px), 1240px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 20px 12px;
    border-top: 1px solid var(--line);
    scrollbar-width: none;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav a {
    white-space: nowrap;
  }

  .lead-story {
    min-height: calc(100svh - 113px);
    max-height: 760px;
  }

  .lead-content {
    padding-bottom: 54px;
  }

  .lead-content h1 {
    font-size: clamp(39px, 8vw, 62px);
  }

  .editors-picks {
    padding-top: 78px;
    padding-bottom: 84px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pick-grid {
    gap: 20px;
  }

  .pick-item h3 {
    font-size: 17px;
  }

  .journal-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
    gap: 46px;
  }

  .feature-body {
    padding-inline: 0;
  }

  .feature-body h3 {
    font-size: 24px;
  }

  .newsletter {
    padding: 24px;
  }
}

@media (max-width: 680px) {
  .wrapper {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 64px;
    gap: 14px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-sub {
    display: none;
  }

  .issue-link {
    font-size: 10px;
  }

  .mobile-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .lead-story {
    min-height: 630px;
    max-height: calc(100svh - 105px);
  }

  .lead-story > img {
    object-position: 57% center;
  }

  .lead-overlay {
    background: rgba(0, 0, 0, 0.34);
  }

  .lead-content {
    padding-bottom: 44px;
  }

  .kicker {
    margin-bottom: 16px;
  }

  .lead-content h1 {
    font-size: 37px;
    line-height: 1.4;
  }

  .lead-copy {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.9;
  }

  .story-link-light {
    margin-top: 22px;
  }

  .photo-note {
    display: none;
  }

  .editors-picks {
    padding-top: 66px;
    padding-bottom: 72px;
  }

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

  .section-heading h2,
  .column-heading h2 {
    font-size: 26px;
  }

  .section-heading > p {
    font-size: 12px;
  }

  .pick-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .pick-item .image-link {
    aspect-ratio: 16 / 10;
  }

  .pick-item h3 {
    font-size: 19px;
  }

  .journal-layout {
    grid-template-columns: 1fr;
    gap: 84px;
    padding-top: 66px;
    padding-bottom: 84px;
  }

  .feature-article {
    padding-bottom: 52px;
    margin-bottom: 52px;
  }

  .feature-image {
    aspect-ratio: 4 / 3;
  }

  .feature-body {
    padding-top: 22px;
  }

  .article-meta {
    gap: 8px 14px;
  }

  .feature-body h3 {
    font-size: 23px;
  }

  .feature-body > p {
    font-size: 13px;
  }

  .side-column {
    display: grid;
    gap: 64px;
  }

  .editor-profile > img {
    aspect-ratio: 4 / 3;
    object-position: center 36%;
  }

  .ranking,
  .newsletter {
    margin-top: 0;
  }

  .ranking a {
    grid-template-columns: 104px 28px 1fr;
  }

  .ranking img {
    width: 104px;
    height: 78px;
  }

  .newsletter {
    padding: 30px 24px;
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-bottom: 54px;
  }

  .footer-brand .brand-name {
    font-size: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}

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

  .image-link img,
  .story-link span,
  .text-link span {
    transition: none;
  }
}
