:root {
  --paper: #f4f3ef;
  --paper-deep: #e9e8e3;
  --ink: #0b0b0b;
  --muted: #64635f;
  --line: #c9c7c0;
  --white: #ffffff;
  --page-padding: clamp(1rem, 4vw, 4rem);
  --content-width: 90rem;
  --sans: "Helvetica Neue", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Times New Roman", "Songti SC", "Noto Serif SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  min-height: 5rem;
  padding: 0.8rem var(--page-padding);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 239, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  font-family: "Arial Black", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__initial {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65em;
  font-style: italic;
  font-weight: 900;
  line-height: 0.72;
  -webkit-text-stroke: 0.025em currentColor;
  text-shadow: 0.055em 0 0 rgb(11 11 11 / 24%);
  transform: skew(-20deg, -3deg) scaleX(1.04);
  transform-origin: center;
}

.brand__initial::before {
  position: absolute;
  top: 38%;
  right: calc(100% + 0.08em);
  width: 0.58em;
  height: 0.08em;
  border-radius: 999px 0 0 999px;
  background: currentColor;
  box-shadow:
    0 -0.18em 0 rgb(11 11 11 / 45%),
    0 0.2em 0 rgb(11 11 11 / 68%);
  content: "";
  transform: skewX(-24deg);
}

.category-nav {
  min-width: 0;
}

.category-nav ul {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1rem, 2.5vw, 2.8rem);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.category-nav ul::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.category-nav a:hover,
.category-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.hero {
  position: relative;
  min-height: min(49rem, calc(100svh - 5rem));
  overflow: hidden;
  background: #1a1a18;
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.16) 42%,
    rgba(0, 0, 0, 0.82) 100%
  );
  content: "";
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.08);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: end;
  width: 100%;
  max-width: var(--content-width);
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) var(--page-padding) clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 100%;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 7.2vw, 7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero__summary {
  width: min(100%, 25rem);
  margin-bottom: 0;
  margin-left: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.75;
}

.story-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) var(--page-padding);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: clamp(3.5rem, 9vw, 7rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-number {
  padding-top: 0.4rem;
  border-top: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.section-heading h2 {
  margin-bottom: 0.65rem;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(19rem, 0.94fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.section-grid--reverse .section-image {
  order: 2;
}

.section-grid--reverse .article-list {
  order: 1;
}

.section-image {
  min-height: 31rem;
  margin: 0;
  background: var(--paper-deep);
}

.section-image img {
  width: 100%;
  height: 100%;
  min-height: 31rem;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

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

.article-list article {
  padding: clamp(1.4rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}

.article-list h3 {
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.article-list h3 a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.article-list h3 a:hover,
.article-list h3 a:focus-visible {
  text-decoration: underline;
}

.article-list p {
  max-width: 38rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.article-list time {
  font-size: 0.74rem;
  font-weight: 700;
}

.ad-slot-shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--page-padding);
  border-bottom: 1px solid var(--line);
}

.ad-slot-shell:has(.ad-slot__mount:empty) {
  display: none;
}

.ad-slot {
  display: grid;
  gap: 0.5rem;
}

.ad-slot__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.ad-slot__mount {
  display: block;
  width: 100%;
  overflow: hidden;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto;
  gap: 2rem clamp(2rem, 7vw, 7rem);
  align-items: start;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-padding);
}

.footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  font-family: "Arial Black", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.5rem;
}

.site-footer nav a {
  font-size: 0.86rem;
  font-weight: 600;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.copyright {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-page {
  min-height: 70svh;
}

.legal-header {
  padding: clamp(4rem, 10vw, 8rem) var(--page-padding) clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--white);
}

.legal-header__inner,
.legal-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.legal-header h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
}

.legal-content {
  max-width: 52rem;
  padding: clamp(3rem, 7vw, 6rem) var(--page-padding) clamp(4rem, 8vw, 7rem);
}

.legal-content h2 {
  margin: 3rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #333330;
}

.legal-content ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.article-image {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--page-padding) 0;
}

.article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.article-image--lower img {
  object-position: center 65%;
}

.article-content {
  max-width: 52rem;
  padding-top: clamp(2rem, 5vw, 4rem);
}

.article-content p {
  margin-bottom: 1.5rem;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.85;
}

.article-content p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  line-height: 1.7;
}

.article-date {
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-top: 0.8rem;
    padding-bottom: 0.6rem;
  }

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

  .hero__content,
  .section-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero__content {
    gap: 2rem;
  }

  .hero__summary {
    margin-left: 0;
  }

  .section-grid--reverse .section-image,
  .section-grid--reverse .article-list {
    order: initial;
  }

  .section-image,
  .section-image img {
    min-height: 25rem;
  }

  .site-footer nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 7.5rem;
  }

  .site-header {
    min-height: auto;
  }

  .brand {
    font-size: 1.05rem;
  }

  .category-nav ul {
    gap: 1.2rem;
  }

  .category-nav a {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 41rem;
  }

  .hero__content {
    padding-top: 7rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .section-number {
    width: 3.5rem;
  }

  .section-image,
  .section-image img {
    min-height: 19rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

}

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