:root {
  --ink: #191b25;
  --muted: #676979;
  --paper: #f5f1e9;
  --paper-deep: #ebe4d8;
  --accent: #6c4cff;
  --accent-soft: #ded8ff;
  --night: #0e1020;
  --line: rgba(25, 27, 37, 0.14);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(108, 76, 255, 0.11), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header {
  height: 84px;
  border-bottom: 1px solid var(--line);
}

.site-name {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-decoration: none;
}

.site-note,
.site-footer { color: var(--muted); font-size: 0.82rem; }

main { padding: 68px 20px 0; }

.article-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.article-header { margin-bottom: 66px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.dek {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.65;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin: 24px 0 40px;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--night);
  box-shadow: 0 24px 70px rgba(21, 21, 46, 0.23);
}

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

.article-body {
  width: min(700px, 100%);
  margin: 0 auto;
}

.article-body p,
.sources p {
  margin: 0 0 1.45em;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 2;
  letter-spacing: 0.012em;
}

.article-body h2,
.sources h2 {
  margin: 3.2em 0 1.15em;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.article-body h2::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.sources {
  width: min(760px, 100%);
  margin: 88px auto 0;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.sources h2 { margin-top: 0; }
.sources p { color: var(--muted); font-size: 0.94rem; line-height: 1.85; }

.sources ol {
  margin: 26px 0 0;
  padding-left: 1.4em;
}

.sources li {
  margin: 0.8em 0;
  padding-left: 0.35em;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.sources a {
  color: var(--ink);
  text-decoration-color: rgba(108, 76, 255, 0.45);
  text-underline-offset: 0.2em;
}

.site-footer {
  margin-top: 90px;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
}

.home-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 110px;
}

.home-intro { max-width: 820px; }

.home-intro h1 { font-size: clamp(3.4rem, 9vw, 7.6rem); }

.home-intro p {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.8;
}

.story-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-top: 72px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--night);
  color: #f7f4ef;
  text-decoration: none;
  box-shadow: 0 24px 70px rgba(21, 21, 46, 0.2);
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
}

.story-copy .eyebrow { color: #a99aff; }

.story-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.story-copy p {
  margin: 24px 0 0;
  color: rgba(247, 244, 239, 0.72);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.75;
}

.story-copy span {
  margin-top: 40px;
  color: #b9afff;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header { height: 68px; }
  .site-note { display: none; }
  main { padding-top: 44px; }
  h1 { letter-spacing: -0.045em; }
  .article-header { margin-bottom: 48px; }
  .hero { border-radius: 16px; }
  .article-body p { font-size: 1.02rem; line-height: 1.92; }
  .article-body h2 { margin-top: 2.6em; }
  .sources { margin-top: 64px; padding: 28px 22px; border-radius: 16px; }
  .site-footer { align-items: flex-start; gap: 18px; flex-direction: column; }
  .home-main { padding-top: 50px; }
  .story-card { grid-template-columns: 1fr; }
  .story-card img { min-height: 260px; aspect-ratio: 16 / 9; }
  .story-copy { padding: 30px 26px 34px; }
}

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