:root {
  --paper: #f3efe5;
  --ink: #171512;
  --muted: #6f6a60;
  --line: #cfc8b8;
  --red: #c7382b;
  --blue: #294f66;
  --cream: #e8dfcb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Outfit", "PingFang SC", sans-serif;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  background: var(--red);
  font-family: "Noto Serif SC", serif;
  font-size: 23px;
  font-weight: 900;
  border-radius: 50% 46% 48% 44%;
  transform: rotate(-4deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: 0.16em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.26em;
}

nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: 670px;
  grid-template-columns: 1.05fr 0.95fr;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 8vw;
}

.eyebrow {
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

h1,
h2,
h3,
blockquote {
  font-family: "Noto Serif SC", serif;
}

h1 {
  margin: 22px 0 28px;
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-intro {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.button-red:hover,
.button-dark:hover {
  filter: brightness(1.12);
}

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

.arrow-link {
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}

.arrow-link span {
  margin-left: 8px;
  color: var(--red);
}

.hero-art {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--blue);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1) contrast(1.15);
}

.hero-gallery {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(86%, 560px);
  gap: 18px;
  transform: translate(-50%, -50%);
}

.hero-gallery img {
  display: block;
  width: calc(50% - 9px);
  aspect-ratio: 1;
  border: 9px solid var(--paper);
  object-fit: cover;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 35, 49, 0.05), rgba(15, 35, 49, 0.5)),
    linear-gradient(90deg, rgba(41, 79, 102, 0.2), transparent 62%);
}

.tile-grid {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 52px 52px;
  z-index: 1;
}

.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(31vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%, -46%);
  box-shadow: 0 0 70px rgba(199, 56, 43, 0.18);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.steam {
  position: absolute;
  bottom: -30%;
  width: 34%;
  height: 105%;
  border: 2px solid rgba(243, 239, 229, 0.95);
  border-radius: 50%;
  z-index: 2;
}

.steam-one {
  left: 17%;
  transform: rotate(-16deg);
}

.steam-two {
  left: 36%;
  bottom: -42%;
  transform: rotate(12deg);
}

.steam-three {
  right: 4%;
  bottom: -32%;
  transform: rotate(-11deg);
}

.vertical-copy {
  position: absolute;
  top: 40px;
  right: 34px;
  color: var(--paper);
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
  z-index: 3;
}

.issue {
  position: absolute;
  bottom: 36px;
  left: 38px;
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  z-index: 3;
}

.ticker {
  overflow: hidden;
  padding: 15px 0;
  color: var(--paper);
  background: var(--ink);
  font-size: 12px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.ticker div {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 760px;
}

.ticker i {
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
}

.visual-intro {
  display: grid;
  padding: 90px 6vw 20px;
  grid-template-columns: 1.35fr 0.85fr 0.8fr;
  gap: 18px;
}

.visual-card {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.visual-card:hover img {
  transform: scale(1.035);
}

.visual-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(12, 11, 9, 0.88));
  content: "";
}

.visual-card figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: white;
}

.visual-card figcaption span,
.visual-card figcaption strong {
  display: block;
}

.visual-card figcaption span {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.visual-card figcaption strong {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
}

.visual-card-guide::after {
  background: linear-gradient(transparent, rgba(3, 18, 51, 0.94));
}

.section {
  padding: 110px 6vw;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 58px;
}

.section-heading h2,
.archive-header h2 {
  margin: 18px 0 0;
  font-size: clamp(40px, 5vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.section-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  line-height: 1.8;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.guide-card {
  position: relative;
  min-height: 285px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-featured {
  display: flex;
  min-height: 370px;
  grid-row: span 2;
  align-items: flex-end;
  color: var(--paper);
  background: var(--red);
}

.card-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.guide-featured .card-number {
  color: rgba(255, 255, 255, 0.65);
}

.card-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.guide-card h3 {
  margin: 18px 0 15px;
  font-size: 25px;
}

.guide-card p {
  max-width: 320px;
  color: var(--muted);
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  line-height: 1.8;
}

.guide-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.guide-featured a {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.archive-section {
  background: #e8e1d3;
}

.archive-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.search-box label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.search-box > div {
  display: flex;
  align-items: center;
  width: min(360px, 75vw);
  border-bottom: 1px solid var(--ink);
}

.search-box input {
  width: 100%;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.search-box span {
  font-size: 22px;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin: 48px 0 32px;
  overflow-x: auto;
}

.filter {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid #aaa292;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.filter:hover,
.filter.active {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #aaa292;
  border-left: 1px solid #aaa292;
}

.article-card {
  display: flex;
  width: 100%;
  min-height: 420px;
  padding: 0;
  color: inherit;
  border-right: 1px solid #aaa292;
  border-bottom: 1px solid #aaa292;
  border-top: 0;
  border-left: 0;
  flex-direction: column;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.article-image {
  height: 185px;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue), #7794a4);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.article-card:hover .article-image img {
  transform: scale(1.04);
}

.article-image-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Noto Serif SC", serif;
  font-size: 42px;
  letter-spacing: 0.12em;
}

.article-body {
  display: flex;
  min-height: 235px;
  padding: 26px 28px;
  flex-direction: column;
}

.article-card:hover {
  color: var(--paper);
  background: var(--blue);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.article-card:hover .article-meta,
.article-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.article-card h3 {
  margin: 24px 0 12px;
  font-size: 23px;
  line-height: 1.45;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  line-height: 1.8;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.article-footer span:last-child {
  color: var(--red);
  font-size: 18px;
}

.article-card:hover .article-footer span:last-child {
  color: var(--paper);
}

.empty-state {
  display: none;
  padding: 70px 20px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
}

.manifesto {
  display: grid;
  padding: 110px 6vw;
  grid-template-columns: 0.65fr 2fr 0.85fr;
  gap: 6vw;
  align-items: start;
  color: var(--paper);
  background: var(--blue);
}

.manifesto-label span,
.manifesto-label small {
  display: block;
}

.manifesto-label span {
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
  letter-spacing: 0.15em;
}

.manifesto-label small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  letter-spacing: 0.2em;
}

blockquote {
  margin: 0;
  font-size: clamp(26px, 3vw, 45px);
  font-weight: 600;
  line-height: 1.65;
}

.manifesto-note {
  color: rgba(255, 255, 255, 0.64);
  font-family: "Noto Serif SC", serif;
  font-size: 12px;
  line-height: 1.8;
}

.manifesto-note span {
  display: block;
  margin-top: 28px;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.1em;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  padding: 35px 6vw;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--paper);
  background: var(--ink);
}

footer p {
  color: #8d887f;
  font-size: 11px;
}

footer > div {
  display: flex;
  gap: 24px;
  font-size: 12px;
}

.footer-brand .brand-seal {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.footer-brand strong {
  font-size: 15px;
}

.age-gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 21, 18, 0.92);
  backdrop-filter: blur(8px);
}

.age-gate.is-hidden {
  display: none;
}

.age-card {
  position: relative;
  width: min(500px, 100%);
  padding: 55px;
  text-align: center;
  background: var(--paper);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.age-mark {
  margin: 22px 0 10px;
  color: var(--red);
  font-family: "Noto Serif SC", serif;
  font-size: 88px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.age-mark span {
  font-size: 34px;
}

.age-card h2 {
  margin: 12px 0;
  font-size: 28px;
}

.age-card p {
  margin: 0 auto;
  max-width: 360px;
  color: var(--muted);
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  line-height: 1.8;
}

.age-actions {
  display: flex;
  align-items: center;
  margin-top: 30px;
  flex-direction: column;
  gap: 15px;
}

.text-button {
  border: 0;
  border-bottom: 1px solid var(--muted);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.article-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 21, 18, 0.86);
  backdrop-filter: blur(7px);
}

.article-modal.is-open {
  display: flex;
}

.article-modal-panel {
  position: relative;
  width: min(820px, 100%);
  max-height: min(820px, 92vh);
  padding: 66px 70px;
  overflow-y: auto;
  background: var(--paper);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.article-modal h2 {
  margin: 18px 0 8px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.3;
}

.modal-date {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.modal-content {
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
  line-height: 2;
}

.article-lead {
  margin: 0 0 34px !important;
  color: #34302a;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.9;
}

.fact-grid {
  display: grid;
  margin: 0 0 48px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
}

.fact-grid > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-grid dt {
  margin-bottom: 7px;
  color: var(--red);
  font-family: "Outfit", "PingFang SC", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.fact-grid dd {
  margin: 0;
  color: #4d4942;
  font-size: 13px;
  line-height: 1.7;
}

.article-section {
  position: relative;
  padding: 8px 0 30px 52px;
}

.article-section + .article-section {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article-section h3 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.4;
}

.article-section p {
  color: #4d4942;
}

.section-index {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.article-section + .article-section .section-index {
  top: 37px;
}

.article-section ul {
  margin: 20px 0 0;
  padding: 18px 22px 18px 42px;
  background: #e8e1d3;
}

.article-section li {
  margin: 8px 0;
  color: #4d4942;
  line-height: 1.75;
}

.modal-image {
  display: none;
  width: 100%;
  max-height: 390px;
  margin: 0 0 30px;
  object-fit: cover;
}

.modal-image.has-image {
  display: block;
}

.modal-content p {
  margin: 0 0 18px;
}

.modal-disclaimer {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .site-header {
    height: 76px;
  }

  nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 28px 5vw;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    background: var(--paper);
  }

  nav.is-open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

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

  .hero-copy {
    min-height: 580px;
    padding: 80px 7vw;
  }

  .hero-art {
    min-height: 480px;
  }

  .hero-gallery {
    width: min(82%, 560px);
  }

  .sun {
    width: 55vw;
  }

  .guide-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-intro {
    grid-template-columns: 1fr 1fr;
  }

  .visual-card-wide {
    grid-column: span 2;
  }

  .guide-featured {
    grid-row: auto;
  }

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

@media (max-width: 620px) {
  h1 {
    font-size: 56px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: 530px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 390px;
  }

  .hero-gallery {
    width: 90%;
    gap: 10px;
  }

  .hero-gallery img {
    width: calc(50% - 5px);
    border-width: 6px;
  }

  .sun {
    width: 64vw;
  }

  .section {
    padding: 80px 5vw;
  }

  .section-heading,
  .archive-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

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

  .guide-card,
  .guide-featured {
    min-height: 275px;
  }

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

  .visual-intro {
    padding: 70px 5vw 0;
    grid-template-columns: 1fr;
  }

  .visual-card,
  .visual-card-wide {
    min-height: 360px;
    grid-column: auto;
  }

  .manifesto {
    padding: 80px 6vw;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .age-card {
    padding: 40px 24px;
  }

  .article-modal {
    padding: 12px;
  }

  .article-modal-panel {
    padding: 54px 25px 35px;
  }

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

  .article-lead {
    font-size: 16px;
  }

  .article-section {
    padding-left: 36px;
  }
}
