:root {
  color-scheme: light;
  --ink: #111a16;
  --muted: #5d6b64;
  --line: #d7dfd8;
  --paper: #f6f8f3;
  --mist: #e8efe9;
  --forest: #12241f;
  --moss: #2d6a4f;
  --jade: #4eb28b;
  --silver: #dfe7e3;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(17, 26, 22, 0.16);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(18, 36, 31, 0.12);
  background: rgba(246, 248, 243, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: 1180px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, var(--paper) 0 10%, transparent 11%),
    radial-gradient(circle at 58% 42%, var(--paper) 0 10%, transparent 11%),
    radial-gradient(circle at 50% 60%, var(--paper) 0 9%, transparent 10%),
    linear-gradient(135deg, var(--moss), var(--forest));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.nav-links a,
.menu-button {
  border-radius: 999px;
  padding: 9px 12px;
  color: #35443e;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--forest);
  color: var(--white);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 36, 31, 0.96), rgba(18, 36, 31, 0.62) 52%, rgba(18, 36, 31, 0.18));
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  min-height: 720px;
  margin: 0 auto;
  padding: 88px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
  gap: 44px;
  align-items: center;
}

.hero-copy h1,
.article-hero h1 {
  max-width: 880px;
  margin: 14px 0 18px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead,
.article-summary {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.update-pill,
.section-label,
.back-link {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(78, 178, 139, 0.48);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(78, 178, 139, 0.13);
  color: #c8f7e4;
  font-size: 12px;
  font-weight: 800;
}

.section-label {
  background: #dcefe6;
  border-color: rgba(45, 106, 79, 0.22);
  color: var(--moss);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.site-disclaimer {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.status-panel {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.status-panel div {
  padding: 20px;
  background: rgba(18, 36, 31, 0.72);
}

.status-panel span,
.fact-grid span,
.timeline span,
.intent-card span,
.cluster-list span,
.next-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-panel span {
  color: rgba(255, 255, 255, 0.58);
}

.status-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.1;
}

.trailer-section,
.intent-section,
.cluster-section,
.timeline-section,
.sources,
.article-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 24px;
}

.trailer-section h2,
.intent-section h2,
.cluster-section h2,
.timeline-section h2,
.sources h2,
.article-body h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.trailer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.trailer-copy p {
  max-width: 520px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--moss);
  font-weight: 850;
}

.trailer-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 36, 31, 0.14);
  border-radius: 18px;
  background: var(--forest);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.intent-card,
.cluster-list a,
.next-grid a {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.intent-card:hover,
.cluster-list a:hover,
.next-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 106, 79, 0.45);
  box-shadow: 0 14px 36px rgba(17, 26, 22, 0.08);
}

.intent-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.intent-card span,
.cluster-list span,
.next-grid span {
  margin-top: 14px;
}

.intent-card p,
.cluster-section p,
.timeline p,
.sources p,
.article-body p {
  color: var(--muted);
}

.cluster-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.cluster-list,
.next-grid {
  display: grid;
  gap: 12px;
}

.cluster-list a strong,
.next-grid a strong {
  display: block;
  margin-top: 6px;
  line-height: 1.25;
}

.timeline-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--line);
}

.timeline div {
  min-height: 220px;
  padding: 24px;
  background: var(--mist);
}

.timeline strong {
  display: block;
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.1;
}

.sources {
  padding-top: 52px;
}

.sources ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.sources a {
  color: var(--moss);
  font-weight: 800;
}

.article-hero {
  background:
    linear-gradient(90deg, rgba(18, 36, 31, 0.96), rgba(18, 36, 31, 0.76)),
    url("/assets/hero.png") center / cover;
  color: var(--white);
}

.article-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 24px 62px;
}

.article-hero h1 {
  max-width: 980px;
}

.trend-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: #c8f7e4;
  font-weight: 800;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 960px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
}

.fact-grid div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.fact-grid span {
  color: rgba(255, 255, 255, 0.58);
}

.fact-grid strong {
  display: block;
  margin-top: 6px;
  line-height: 1.15;
}

.article-body {
  max-width: 920px;
}

.article-body section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.article-body h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.faq-block details {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 10px 0;
  background: var(--white);
}

.faq-block summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

.faq-block details p {
  margin: 0;
  padding: 0 20px 20px;
}

.next-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--forest);
  color: var(--white);
}

.site-footer > div {
  max-width: 620px;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    min-height: 64px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links[data-open] {
    display: flex;
  }

  .nav-links a {
    border-radius: 12px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 68px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(18, 36, 31, 0.95), rgba(18, 36, 31, 0.74));
  }

  .intent-grid,
  .timeline,
  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trailer-section,
  .cluster-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-copy h1,
  .article-hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .lead,
  .article-summary {
    font-size: 17px;
  }

  .intent-grid,
  .timeline,
  .fact-grid,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .trailer-section,
  .intent-section,
  .cluster-section,
  .timeline-section,
  .sources,
  .article-body {
    padding: 54px 18px;
  }

  .article-hero-inner {
    padding: 58px 18px 44px;
  }

  .site-footer {
    display: block;
  }

  .footer-links {
    margin-top: 24px;
  }
}
