:root {
  color-scheme: light;
  --paper: #fcfbfd;
  --paper-deep: #f5f0f7;
  --ink: #211b23;
  --muted: #6d6470;
  --purple: #6b238e;
  --lilac: #d6b2f0;
  --track: #b64d2d;
  --line: #ded5e1;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--purple);
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--purple);
  transform: translateY(-180%);
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 24px;
}

.header-note {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.74fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: end;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 88px 0 72px;
}

.eyebrow,
.issue-kicker,
.section-label,
.article-meta,
.fact-label {
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 9em;
  margin: 18px 0 28px;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 108px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 31em;
  margin: 0;
  color: #3f3541;
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 38px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  color: #fff;
  background: var(--purple);
  font-weight: 650;
  text-decoration: none;
}

.primary-link:hover {
  color: #fff;
  background: #551c71;
}

.quiet-link {
  color: var(--muted);
  font-size: 14px;
}

.hero-photo {
  margin: 0;
}

.hero-photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #8e3e27;
}

.hero-photo-frame::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgb(255 255 255 / 36%);
  content: "";
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo figcaption,
.story-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.trust-item {
  min-height: 170px;
  padding: 34px 36px 34px 0;
}

.trust-item + .trust-item {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 23px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.archive-section,
.method-section {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  margin: 14px 0 48px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.issue-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

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

.issue-number {
  color: var(--purple);
  font-family: var(--serif);
  font-size: 38px;
}

.issue-row h3 {
  margin: 7px 0 8px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.25;
}

.issue-row p {
  max-width: 48em;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.issue-arrow {
  color: var(--purple);
  font-size: 28px;
}

.coming-soon {
  margin-top: 42px;
  padding-left: 28px;
  border-left: 3px solid var(--lilac);
}

.coming-soon strong {
  display: block;
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 25px;
}

.coming-soon p {
  max-width: 42em;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.method-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.method-copy {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 31px);
  line-height: 1.8;
}

.method-copy p:first-child {
  margin-top: 0;
}

.method-copy p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Article */
.article-header {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 94px 0 62px;
}

.back-link {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--muted);
  font-size: 13px;
}

.article-title {
  max-width: 10.5em;
  margin: 18px 0 26px;
  font-family: var(--serif);
  font-size: clamp(48px, 7.6vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.article-dek {
  max-width: 32em;
  margin: 0 0 30px;
  color: #4a404c;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.75;
}

.article-meta {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.11em;
}

.story-figure {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto 78px;
}

.story-figure img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: center 58%;
}

.diary-gallery,
.diary-photo {
  width: min(1060px, calc(100vw - 48px));
  margin: 2.8em 50% 3.1em;
  font-family: var(--sans);
  transform: translateX(-50%);
}

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

.diary-gallery img,
.diary-photo img {
  width: 100%;
  height: auto;
  background: var(--paper-deep);
}

.diary-gallery img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.diary-photo {
  width: min(900px, calc(100vw - 48px));
}

.diary-gallery figcaption,
.diary-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.article-body {
  width: min(680px, calc(100% - 48px));
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 2.02;
}

.article-body p {
  margin: 0 0 1.52em;
}

.article-body blockquote {
  margin: 2.25em 0;
  padding: 0.25em 0 0.25em 1.35em;
  border-left: 3px solid var(--purple);
  color: #382d3a;
  font-size: 1.09em;
  line-height: 1.9;
}

.article-body blockquote p {
  margin: 0 0 0.7em;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body .question {
  margin: 2.3em 0;
  font-size: clamp(25px, 3.5vw, 35px);
  line-height: 1.55;
}

.editor-note {
  width: min(760px, calc(100% - 48px));
  margin: 96px auto 0;
  padding: 44px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.editor-note h2 {
  margin: 10px 0 18px;
  font-family: var(--serif);
  font-size: 28px;
}

.editor-note p {
  margin: 0 0 1em;
  color: #4f4551;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
}

.editor-note p:last-child {
  margin-bottom: 0;
}

.next-story {
  width: min(900px, calc(100% - 48px));
  margin: 96px auto 110px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.next-story h2 {
  max-width: 14em;
  margin: 10px 0;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.2;
}

.next-story p {
  max-width: 42em;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 820px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 62px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-photo {
    order: 2;
    width: min(520px, 100%);
  }

  .trust-strip-inner,
  .method-section {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: auto;
    padding: 28px 0;
  }

  .trust-item + .trust-item {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .method-section {
    gap: 34px;
  }

  .issue-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .issue-arrow {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header,
  .home-hero,
  .trust-strip-inner,
  .archive-section,
  .method-section,
  .site-footer,
  .article-header,
  .story-figure,
  .article-body,
  .editor-note,
  .next-story {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 68px;
  }

  .header-note {
    display: none;
  }

  .brand {
    font-size: 15px;
  }

  .home-hero {
    padding: 50px 0 48px;
  }

  .hero-title {
    font-size: clamp(50px, 16.5vw, 68px);
  }

  .hero-lead {
    font-size: 20px;
  }

  .archive-section,
  .method-section {
    padding: 78px 0;
  }

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

  .issue-number {
    font-size: 24px;
  }

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

  .article-header {
    padding-top: 60px;
  }

  .back-link {
    margin-bottom: 56px;
  }

  .article-title {
    font-size: clamp(44px, 14vw, 60px);
  }

  .story-figure {
    margin-bottom: 56px;
  }

  .story-figure img {
    min-height: 440px;
    object-fit: cover;
  }

  .diary-gallery,
  .diary-photo {
    width: calc(100vw - 32px);
    margin-top: 2.3em;
    margin-bottom: 2.6em;
  }

  .diary-gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-body {
    font-size: 18px;
    line-height: 1.98;
  }

  .article-body blockquote {
    padding-left: 1em;
  }

  .editor-note {
    padding: 32px 24px;
  }
}

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

@media (forced-colors: active) {
  .primary-link {
    border: 1px solid ButtonText;
  }

  .hero-photo-frame::after {
    display: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .next-story,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
  }

  .article-body {
    width: 100%;
    font-size: 12pt;
  }
}
