:root {
  --ink: #111111;
  --muted: #5f6468;
  --line: #dce4df;
  --paper: #ffffff;
  --soft: #f3f7f5;
  --mint: #a6d6c9;
  --teal: #65b8a2;
  --orange: #f27d00;
  --gold: #fab90a;
  --shadow: 0 16px 36px rgba(10, 35, 30, 0.1);
  --max: 1120px;
  --header: 91px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Euclid Circular A", "Aptos", "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
  width: min(100% - 86px, 1280px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__mark {
  width: 50px;
  height: 50px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--mint);
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__name {
  font-size: 20px;
  font-weight: 800;
}

.brand__sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 16px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 4px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions::before {
  content: "EN";
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.02);
  font-weight: 800;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--mint);
  font-weight: 800;
}

.menu-toggle {
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f8faf9;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 4px;
  margin: 5px auto;
  background: var(--orange);
}

.menu-toggle span:nth-child(2) {
  background: var(--mint);
}

.menu-toggle span:nth-child(3) {
  background: var(--gold);
}

main {
  padding-top: var(--header);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header) - 72px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68)),
    url("assets/images/hero-archive.jpg") center / cover;
  color: #fff;
}

.hero__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 92px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1,
.topic-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(18px, 2vw, 24px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
}

.button--primary {
  background: var(--orange);
  color: #fff;
}

.button--light {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.mint-band {
  background: var(--mint);
  position: sticky;
  top: var(--header);
  z-index: 25;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.mint-band__inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-weight: 800;
}

.mint-band__inner div,
.mint-band__inner span {
  padding: 10px 18px;
  border-radius: 10px;
}

.mint-band__inner div:first-child {
  background: #fff;
}

.mint-band__inner span {
  color: rgba(0, 0, 0, 0.56);
  font-weight: 600;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section--tight {
  padding-top: 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.intro-grid img,
.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.intro-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.intro-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}

.stat {
  min-height: 150px;
  padding: 28px;
  background: #fff;
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  color: var(--teal);
}

.stat span {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.is-active {
  border-color: var(--mint);
  background: var(--mint);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card,
.news-item {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.topic-card:hover,
.news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.topic-card__body {
  padding: 24px;
}

.topic-card h3,
.news-item h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.topic-card p:not(.eyebrow),
.news-item p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 800;
  border-bottom: 3px solid var(--orange);
}

.soft-section {
  background: var(--soft);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-item {
  padding: 26px;
}

.topic-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  color: #fff;
  background: #222 center / cover;
}

.topic-hero__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 56px;
}

.topic-hero p {
  max-width: 720px;
  margin-top: 20px;
  font-size: 20px;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: #fff;
}

.topic-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

.topic-article section {
  scroll-margin-top: 112px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.topic-article section:first-child {
  padding-top: 0;
}

.topic-article h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.12;
}

.topic-article p,
.topic-article li {
  color: #303437;
  font-size: 18px;
}

.topic-article ul {
  margin: 0;
  padding-left: 22px;
}

.topic-article li + li {
  margin-top: 12px;
}

.why-now {
  border-left: 6px solid var(--orange);
  padding: 24px;
  background: #fff7ef;
  border-radius: 8px;
}

.source-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.source-list a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topic-aside {
  position: sticky;
  top: calc(var(--header) + 22px);
  display: grid;
  gap: 18px;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: #fff;
}

.side-panel h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.side-panel ul {
  margin: 0;
  padding-left: 18px;
}

.side-panel li + li {
  margin-top: 8px;
}

.section-nav {
  display: grid;
  gap: 8px;
}

.section-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section-nav a.is-active,
.section-nav a:hover {
  background: var(--mint);
  color: var(--ink);
}

.related-links {
  display: grid;
  gap: 10px;
}

.related-link {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-link span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  background: #111;
  color: #fff;
}

.site-footer__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

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

.footer-links a {
  color: var(--mint);
  font-weight: 800;
}

@media (max-width: 900px) {
  :root {
    --header: 76px;
  }

  .site-header__inner {
    width: min(100% - 28px, var(--max));
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__sub {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    padding: 22px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open {
    display: grid;
  }

  .header-actions .pill-link,
  .header-actions::before {
    display: none;
  }

  .hero {
    min-height: 72vh;
  }

  .hero__inner {
    padding: 64px 0 50px;
    justify-items: start;
    text-align: left;
  }

  .mint-band__inner {
    min-height: auto;
    padding: 18px 0;
    display: grid;
  }

  .mint-band__inner div,
  .mint-band__inner span {
    padding-left: 0;
    background: transparent;
  }

  .intro-grid,
  .topic-shell,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .stats,
  .topic-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .section,
  .hero__inner,
  .mint-band__inner,
  .topic-hero__inner,
  .site-footer__inner {
    width: calc(100% - 28px);
  }

  .hero h1,
  .topic-hero h1 {
    font-size: 42px;
  }

  .button-row {
    display: grid;
  }

  .stats,
  .topic-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 118px;
  }

  .topic-hero {
    min-height: 330px;
  }

  .topic-article h2 {
    font-size: 27px;
  }

  .topic-article p,
  .topic-article li {
    font-size: 16px;
  }

  .footer-links {
    display: grid;
  }
}
