@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --paper-deep: #eef0e9;
  --white: #fffefa;
  --ink: #1b3840;
  --ink-soft: #36545a;
  --muted: #66777a;
  --line: #d9e0d9;
  --mint: #c8e8dc;
  --coral: #e79472;
  --coral-deep: #bd694c;
  --sand: #f2e9de;
  --shadow: 0 18px 50px rgb(27 56 64 / 9%);
  --shadow-soft: 0 8px 24px rgb(27 56 64 / 7%);
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body,
button,
input {
  font-family: var(--font-body);
}

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

img {
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px max(20px, calc((100vw - var(--wrap)) / 2));
  border-bottom: 1px solid rgb(217 224 217 / 75%);
  background: rgb(247 247 242 / 94%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
  text-decoration: none;
}

.brand:hover {
  color: var(--coral-deep);
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.primary-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 10px 20px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.primary-nav.is-open,
.primary-nav.open,
.primary-nav[data-open="true"],
.primary-nav[aria-expanded="true"] {
  display: flex;
}

.primary-nav a {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--coral-deep);
}

.menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 10px;
  background: var(--ink);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--white);
}

.hero {
  display: grid;
  gap: 36px;
  align-items: center;
  padding-block: 42px 70px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--coral-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-dot,
.chip-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgb(231 148 114 / 16%);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -.055em;
  line-height: 1.1;
}

h1 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 8vw, 5.25rem);
  font-weight: 700;
}

h1 em {
  color: var(--coral-deep);
  font-style: normal;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  margin-top: 0;
}

.hero-intro {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  border-color: var(--coral-deep);
  background: var(--coral-deep);
  color: #fff;
}

.button-light {
  background: var(--mint);
  color: var(--ink);
}

.button-light:hover {
  background: #e0f1e9;
  color: var(--ink);
}

.button-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.text-link,
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.arrow-link:hover {
  color: var(--coral-deep);
}

.hero-note {
  display: flex;
  max-width: 510px;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
  padding: 15px 17px;
  border-left: 3px solid var(--coral);
  border-radius: 0 12px 12px 0;
  background: var(--sand);
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.hero-note strong {
  color: var(--ink);
  font-size: 12px;
}

.note-mark {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.hero-visual,
.article-hero-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.hero-visual {
  min-height: 300px;
  aspect-ratio: 1.1 / 1;
}

.hero-visual::after,
.article-hero-image::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgb(15 35 39 / 44%));
  content: "";
  pointer-events: none;
}

.hero-visual img,
.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img {
  position: absolute;
  inset: 0;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 17px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.visual-chip {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 999px;
  background: rgb(255 254 250 / 91%);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.visual-chip .chip-dot {
  width: 7px;
  height: 7px;
  box-shadow: none;
}

.section {
  padding-block: 45px 82px;
}

.section-heading {
  display: grid;
  gap: 10px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 440px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 14px;
}

.topic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.topic-card {
  overflow: hidden;
  border: 1px solid rgb(217 224 217 / 85%);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 5px 18px rgb(27 56 64 / 3%);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.topic-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
  background: var(--paper-deep);
}

.topic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.topic-card:hover .topic-image img {
  transform: scale(1.035);
}

.topic-body {
  padding: 21px;
}

.topic-body .eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}

.topic-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.topic-body h3 a:hover {
  color: var(--coral-deep);
}

.topic-body > p:not(.eyebrow) {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.tag-row span,
.article-meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.topic-body .arrow-link {
  font-size: 12px;
}

.editorial-band {
  padding-block: 64px;
  background: var(--ink);
  color: rgb(255 255 255 / 76%);
}

.editorial-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.editorial-band .eyebrow {
  color: var(--mint);
}

.editorial-band h2 {
  max-width: 570px;
  color: var(--white);
}

.editorial-band p:not(.eyebrow) {
  max-width: 650px;
  color: rgb(255 255 255 / 72%);
  font-size: 14px;
}

.editorial-band .button {
  margin-top: 10px;
}

.diagram-card {
  overflow: hidden;
  margin: 0;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 6%);
}

.diagram-card svg {
  width: 100%;
  border-radius: 14px;
}

.diagram-card figcaption {
  padding: 11px 9px 4px;
  color: rgb(255 255 255 / 72%);
  font-size: 11px;
  line-height: 1.6;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-block: 58px 66px;
}

.closing-cta h2 {
  max-width: 650px;
  margin-bottom: 10px;
}

.closing-cta p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding-top: 48px;
  background: #142d33;
  color: rgb(255 255 255 / 70%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  padding-bottom: 36px;
}

.brand-footer {
  margin-bottom: 16px;
  color: var(--white);
}

.brand-footer:hover {
  color: var(--mint);
}

.footer-about p {
  max-width: 400px;
  margin-bottom: 16px;
  color: rgb(255 255 255 / 66%);
  font-size: 12px;
  line-height: 1.8;
}

.footer-about strong {
  color: var(--white);
  font-weight: 700;
}

.footer-about a:not(.brand),
.footer-links a,
.footer-preferences {
  color: var(--mint);
  text-decoration: none;
}

.footer-about a:not(.brand):hover,
.footer-links a:hover,
.footer-preferences:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-links h2 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0;
}

.footer-links a,
.footer-preferences {
  font-size: 12px;
  line-height: 1.5;
}

.footer-preferences {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 17px 21px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: rgb(255 255 255 / 55%);
  font-size: 10px;
}

.article-hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 44px 54px;
}

.article-hero > div {
  max-width: 750px;
}

.article-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 7vw, 4.7rem);
}

.article-hero-image {
  aspect-ratio: 1.5 / 1;
}

.article-hero-image img {
  position: absolute;
  inset: 0;
}

.article-hero-image figcaption {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 14px;
  left: 16px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgb(0 0 0 / 40%);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 84px;
}

.article-content {
  min-width: 0;
  max-width: 800px;
}

.article-content h2 {
  margin-top: 45px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3.4vw, 2rem);
  letter-spacing: -.04em;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p,
.article-content li {
  color: #53676b;
  font-size: 15px;
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding-left: 22px;
}

.article-content li {
  padding-left: 4px;
}

.article-content li::marker {
  color: var(--coral-deep);
}

.article-content p a {
  color: var(--coral-deep);
  font-weight: 700;
}

.article-content p a:hover {
  color: var(--ink);
}

.inline-figure,
.comparison-figure {
  margin: 32px 0;
}

.inline-figure img {
  width: 100%;
  max-height: 470px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.inline-figure figcaption,
.comparison-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.comparison-figure svg {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--paper-deep);
}

.route-panel {
  margin: 24px 0 34px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #edf2ed;
}

.route-panel svg {
  width: 100%;
  border-radius: 13px;
}

.route-panel > p {
  margin: 9px 6px 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.article-aside {
  display: grid;
  gap: 15px;
}

.aside-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.aside-card .eyebrow {
  margin-bottom: 11px;
  font-size: 9px;
}

.aside-card h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.aside-card p:not(.eyebrow) {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.aside-card .arrow-link {
  font-size: 11px;
  line-height: 1.5;
}

.aside-soft {
  background: var(--sand);
}

.aside-soft > a {
  display: block;
  padding-block: 10px;
  border-top: 1px solid rgb(27 56 64 / 12%);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.aside-soft > a:hover {
  color: var(--coral-deep);
}

.cookie-banner[hidden],
.preference-panel[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 18px;
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 20px 70px rgb(11 27 31 / 35%);
}

.cookie-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
}

.cookie-copy p,
.preference-panel > p {
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cookie-actions .button {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 11px;
}

.cookie-actions .button-dark,
.preference-panel .button-dark {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.cookie-actions .button-dark:hover,
.preference-panel .button-dark:hover {
  border-color: var(--white);
  background: var(--white);
}

.cookie-actions .button-outline {
  border-color: rgb(255 255 255 / 35%);
  color: var(--white);
}

.cookie-actions .button-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.text-button {
  padding: 8px 5px;
  border: 0;
  background: transparent;
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.text-button:hover {
  color: var(--white);
}

.preference-panel {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.preference-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: -.03em;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 12px;
  background: rgb(255 255 255 / 5%);
}

.preference-row span {
  display: grid;
  gap: 2px;
}

.preference-row strong {
  color: var(--white);
  font-size: 12px;
}

.preference-row small {
  color: rgb(255 255 255 / 64%);
  font-size: 10px;
  line-height: 1.5;
}

.preference-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--coral);
}

.preference-panel .button {
  justify-self: start;
}

@media (min-width: 600px) {
  .wrap {
    width: min(calc(100% - 64px), var(--wrap));
  }

  .site-header {
    padding-inline: max(32px, calc((100vw - var(--wrap)) / 2));
  }

  .brand {
    font-size: 14px;
  }

  .hero {
    padding-block: 60px 82px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .section {
    padding-block: 55px 95px;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .topic-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .topic-card:last-child:nth-child(odd) .topic-image {
    aspect-ratio: 2.5 / 1;
  }

  .topic-body {
    padding: 23px;
  }

  .editorial-band {
    padding-block: 78px;
  }

  .closing-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 72px;
  }

  .article-hero {
    padding-block: 58px 68px;
  }

  .article-layout {
    padding-bottom: 100px;
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: min(600px, calc(100vw - 48px));
    padding: 25px;
  }
}

@media (min-width: 900px) {
  .site-header {
    min-height: 82px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(12px, 1.5vw, 24px);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a {
    padding: 8px 0;
    border: 0;
    color: var(--ink-soft);
    font-size: 11px;
    white-space: nowrap;
  }

  .header-cta {
    display: inline-flex;
    font-size: 11px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .95fr);
    gap: clamp(42px, 6vw, 90px);
    padding-block: 76px 100px;
  }

  .hero-visual {
    min-height: 480px;
    aspect-ratio: .95 / 1;
  }

  .section-heading {
    grid-template-columns: 1fr minmax(260px, 430px);
    gap: 40px;
    margin-bottom: 38px;
  }

  .section-heading > p {
    justify-self: end;
  }

  .topic-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .topic-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .topic-card:last-child:nth-child(odd) .topic-image {
    aspect-ratio: 1.55 / 1;
  }

  .topic-body {
    padding: 21px;
  }

  .editorial-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .88fr);
    gap: clamp(42px, 7vw, 100px);
  }

  .diagram-card {
    padding: 12px;
  }

  .article-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
    gap: clamp(40px, 6vw, 88px);
    padding-block: 70px 78px;
  }

  .article-hero-image {
    min-height: 350px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px) minmax(230px, 300px);
    gap: clamp(42px, 7vw, 100px);
  }

  .article-aside {
    position: sticky;
    top: 110px;
  }
}

@media (min-width: 1200px) {
  .topic-list {
    gap: 24px;
  }

  .topic-body {
    padding: 24px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 770px) 280px;
  }

  .article-content p,
  .article-content li {
    font-size: 15.5px;
  }

  .footer-main {
    gap: 70px;
  }
}

@media (max-width: 899px) {
  .site-header:has(.primary-nav.is-open) .primary-nav,
  .site-header:has(.primary-nav.open) .primary-nav,
  .site-header:has(.primary-nav[data-open="true"]) .primary-nav {
    display: flex;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(calc(100% - 30px), var(--wrap));
  }

  .site-header {
    min-height: 68px;
    gap: 8px;
    padding-inline: 15px;
  }

  .brand {
    gap: 8px;
    font-size: 11px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-visual figcaption {
    font-size: 8px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 17px;
  }

  .cookie-actions {
    align-items: stretch;
  }

  .cookie-actions .button {
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .header-cta,
  .menu-toggle,
  .article-aside,
  .hero-actions,
  .closing-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  .wrap {
    width: 100%;
  }

  .article-layout {
    display: block;
  }

  .article-content {
    max-width: none;
  }

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

  .article-content p,
  .article-content li {
    color: #222;
  }
}