@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;
  --color-ink: #263638;
  --color-muted: #657371;
  --color-deep: #2e4144;
  --color-deep-hover: #203437;
  --color-sage: #dce9df;
  --color-sage-dark: #a9beb3;
  --color-paper: #f6f5f0;
  --color-white: #fffefa;
  --color-line: #dfe3dc;
  --color-accent: #d57f68;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
  --container-width: 1180px;
  --page-gutter: 1.25rem;
  --radius-small: 0.75rem;
  --radius-medium: 1.25rem;
  --radius-large: 1.75rem;
  --shadow-soft: 0 18px 55px rgb(38 54 56 / 9%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

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

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

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

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

p,
h1,
h2,
h3,
figure {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.75rem, 9vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

::selection {
  background: var(--color-sage);
  color: var(--color-deep);
}

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

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container-width), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius-small);
  background: var(--color-deep);
  color: white;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(38 54 56 / 8%);
  background: rgb(246 245 240 / 92%);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 4.5rem;
  width: min(1320px, calc(100% - (var(--page-gutter) * 2)));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-deep);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.brand span {
  overflow-wrap: anywhere;
}

.brand-mark {
  width: 2.25rem;
  flex: 0 0 2.25rem;
}

.primary-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: 0;
  display: none;
  padding: 0.7rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.menu-toggle[aria-expanded="true"] + .primary-nav {
  display: grid;
}

.primary-nav a {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-small);
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

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

.menu-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--color-deep);
  transition: transform 180ms ease, top 180ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -0.35rem;
}

.menu-icon::after {
  top: 0.35rem;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid var(--color-deep);
  border-radius: 999px;
  background: var(--color-deep);
  color: white;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--color-deep-hover);
  background: var(--color-deep-hover);
  box-shadow: 0 8px 20px rgb(46 65 68 / 16%);
}

.button-small {
  min-height: 2.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.header-cta {
  display: none;
  white-space: nowrap;
}

.button-quiet {
  border-color: #d6ddd6;
  background: transparent;
  color: var(--color-deep);
}

.button-quiet:hover {
  border-color: var(--color-deep);
  background: #edf1eb;
  box-shadow: none;
}

.button-light {
  border-color: var(--color-sage);
  background: var(--color-sage);
  color: var(--color-deep);
}

.button-light:hover {
  border-color: #e9f1e9;
  background: #e9f1e9;
}

/* Shared typographic details */
.eyebrow {
  margin-bottom: 0.9rem;
  color: #71817a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-deep);
  font-weight: 700;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover,
.card-link:hover {
  gap: 0.8rem;
  color: #a65d49;
}

.text-link {
  font-size: 0.94rem;
}

.card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.88rem;
}

/* Homepage hero */
.hero {
  display: grid;
  gap: 2.25rem;
  padding-block: 3rem 4.5rem;
}

.hero-copy {
  align-self: center;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
}

.hero-intro {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  color: #596967;
  font-size: clamp(1.03rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 2rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.note-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 0.55rem;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgb(213 127 104 / 13%);
}

.hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #dce2dc;
  box-shadow: var(--shadow-soft);
}

.hero-visual img {
  width: 100%;
  height: clamp(20rem, 76vw, 36rem);
  object-fit: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgb(24 37 38 / 58%));
  content: "";
  pointer-events: none;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Guide cards and sections */
.section {
  padding-block: 4rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 32rem;
  margin-bottom: 0.15rem;
  color: var(--color-muted);
}

.topic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.topic-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(46 65 68 / 8%);
  border-radius: var(--radius-medium);
  background: var(--color-white);
  box-shadow: 0 8px 28px rgb(38 54 56 / 4%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.topic-image {
  display: block;
  overflow: hidden;
  background: #dbe1dc;
}

.topic-image img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  transition: transform 350ms ease;
}

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

.topic-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
}

.topic-copy .eyebrow {
  margin-bottom: 0.55rem;
  font-size: 0.66rem;
}

.topic-copy h3 {
  margin-bottom: 0.65rem;
}

.topic-copy > p:not(.eyebrow) {
  margin-bottom: 0.25rem;
  color: var(--color-muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.soft-section {
  background: #e9eee8;
}

.editorial-grid {
  display: grid;
  gap: 1.75rem;
}

.editorial-grid h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.editorial-copy {
  max-width: 44rem;
}

.editorial-copy p {
  margin-bottom: 1.1rem;
  color: #52625f;
}

.editorial-copy .text-link {
  margin-top: 0.35rem;
}

/* Homepage detail illustration */
.detail-section {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.detail-art {
  overflow: hidden;
  border: 1px solid #e1e5de;
  border-radius: var(--radius-large);
  background: #ecefe8;
}

.detail-art svg {
  width: 100%;
  height: auto;
}

.detail-copy {
  max-width: 34rem;
}

.detail-copy h2 {
  margin-bottom: 1rem;
}

.detail-copy > p:not(.eyebrow) {
  margin-bottom: 1.25rem;
  color: var(--color-muted);
}

/* Closing call to action */
.closing-cta {
  display: grid;
  align-items: center;
  gap: 1.5rem;
  margin-block: 1rem 4rem;
  padding: 2rem 1.4rem;
  border-radius: var(--radius-large);
  background: var(--color-deep);
  color: white;
}

.closing-cta .eyebrow {
  color: #b8cbbf;
}

.closing-cta h2 {
  max-width: 17ch;
  margin-bottom: 0;
  color: white;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

/* Article headers */
.article-hero {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding-block: 3rem 2.5rem;
}

.article-hero-copy h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 8vw, 5rem);
}

.article-hero-copy .hero-intro {
  max-width: 39rem;
  margin-bottom: 1.2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: #7b8781;
  font-size: 0.8rem;
  font-weight: 600;
}

.article-hero-image {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-large);
  background: #dbe1dc;
  box-shadow: var(--shadow-soft);
}

.article-hero-image img {
  width: 100%;
  height: clamp(17rem, 55vw, 31rem);
  object-fit: cover;
}

/* Article layout and long-form copy */
.article-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-block: 1rem 3.5rem;
}

.article-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: #efeee8;
}

.article-aside .eyebrow {
  width: 100%;
  margin-bottom: 0.3rem;
}

.article-aside a {
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  color: #5e6d68;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.article-aside a:hover {
  background: var(--color-deep);
  color: white;
}

.article-body {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.article-body .article-lede {
  margin-bottom: 2rem;
  color: #465957;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.6vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.6;
}

.article-body h2 {
  margin-top: 2.65rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  scroll-margin-top: 6.5rem;
}

.article-body p {
  margin-bottom: 1.15rem;
  color: #596764;
  line-height: 1.82;
}

.article-callout {
  margin-top: 2rem;
  padding: 1.35rem 1.45rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
  background: #e9eee8;
  color: var(--color-deep);
}

.article-callout strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.article-callout p {
  margin-bottom: 0;
  color: #54635f;
}

/* Related guide section */
.related-section {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
}

.related-section .section-heading {
  margin-bottom: 1.5rem;
}

.related-section .section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.compact-list {
  grid-template-columns: 1fr;
}

/* Footer */
.site-footer {
  padding-top: 3rem;
  background: #26383a;
  color: #c5d0ca;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.brand-footer {
  color: #f2f5ee;
}

.brand-footer .brand-mark {
  width: 2.35rem;
  flex-basis: 2.35rem;
}

.footer-brand > p {
  max-width: 18rem;
  margin-top: 1rem;
  color: #aebdb5;
  font-size: 0.9rem;
}

.footer-company h2,
.footer-links h2 {
  margin-bottom: 0.8rem;
  color: #f0f3ed;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-company p {
  margin-bottom: 0.75rem;
  color: #aebdb5;
  font-size: 0.83rem;
  line-height: 1.75;
}

.footer-company > a,
.footer-links > a,
.footer-preferences {
  display: block;
  width: fit-content;
  margin-bottom: 0.48rem;
  color: #c5d0ca;
  font-size: 0.83rem;
  transition: color 160ms ease;
}

.footer-company > a:hover,
.footer-links > a:hover,
.footer-preferences:hover {
  color: white;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-block: 1.1rem 1.35rem;
  border-top: 1px solid rgb(220 233 223 / 16%);
  color: #9eaea6;
  font-size: 0.76rem;
}

/* Cookie banner and preferences panel */
.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin-inline: auto;
  padding: 1.15rem;
  border: 1px solid #d7ded7;
  border-radius: var(--radius-medium);
  background: var(--color-white);
  box-shadow: 0 20px 70px rgb(24 37 38 / 22%);
}

.cookie-banner-copy {
  display: grid;
  gap: 0.25rem;
}

.cookie-banner-copy strong {
  color: var(--color-deep);
  font-family: var(--font-display);
  font-size: 1rem;
}

.cookie-banner-copy span {
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.cookie-actions .button {
  flex: 1 1 auto;
}

.cookie-text-button {
  padding: 0.55rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--color-deep);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preferences-panel {
  position: fixed;
  z-index: 110;
  right: 1rem;
  bottom: 1rem;
  width: min(100% - 2rem, 470px);
  max-height: min(88vh, 720px);
  overflow-y: auto;
  padding: 1.35rem;
  border: 1px solid #d7ded7;
  border-radius: var(--radius-large);
  background: var(--color-white);
  box-shadow: 0 24px 80px rgb(24 37 38 / 26%);
}

.preferences-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.preferences-head .eyebrow {
  margin-bottom: 0.35rem;
}

.preferences-head h2 {
  margin-bottom: 0;
  font-size: 1.65rem;
}

.icon-button {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: transparent;
  color: var(--color-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.preferences-panel > p {
  margin-bottom: 1.1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--color-line);
}

.preference-row span {
  display: grid;
  gap: 0.15rem;
}

.preference-row strong {
  color: var(--color-deep);
  font-size: 0.92rem;
}

.preference-row small {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.preference-row input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-deep);
}

.preferences-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

/* Basic support for any future forms or tables in the site */
input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cbd4cc;
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-ink);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:not([type="checkbox"]):focus,
textarea:focus,
select:focus {
  border-color: var(--color-deep);
  outline: 3px solid rgb(46 65 68 / 12%);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

th {
  color: var(--color-deep);
  font-family: var(--font-display);
}

/* Responsive layouts */
@media (min-width: 600px) {
  :root {
    --page-gutter: 2rem;
  }

  .hero {
    padding-block: 4rem 5.5rem;
  }

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

  .section {
    padding-block: 5rem;
  }

  .section-heading {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    margin-bottom: 2.4rem;
  }

  .editorial-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
  }

  .detail-section {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .closing-cta {
    grid-template-columns: 1fr auto;
    gap: 2rem;
    margin-bottom: 5rem;
    padding: 2.5rem;
  }

  .article-hero {
    padding-block: 4rem 3rem;
  }

  .article-layout {
    padding-top: 1.5rem;
  }

  .compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
  }

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

  .cookie-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.25rem 1.4rem;
  }

  .cookie-actions {
    justify-content: flex-end;
  }

  .cookie-actions .button {
    flex: 0 0 auto;
  }
}

@media (min-width: 900px) {
  :root {
    --page-gutter: 2.5rem;
  }

  .header-inner {
    min-height: 5.25rem;
  }

  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 2.5rem;
    flex-basis: 2.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a {
    padding: 0.65rem 0.72rem;
    font-size: 0.85rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    min-height: 41rem;
    align-items: center;
    padding-block: 4.5rem 6rem;
  }

  .hero-visual img {
    height: 37rem;
  }

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

  .topic-copy {
    padding: 1.45rem;
  }

  .article-hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    min-height: 33rem;
    padding-block: 4rem 3rem;
  }

  .article-hero-image img {
    height: 29rem;
  }

  .article-layout {
    grid-template-columns: 200px minmax(0, 760px);
    gap: clamp(2.5rem, 7vw, 7rem);
    justify-content: center;
    padding-block: 1rem 4rem;
  }

  .article-aside {
    position: sticky;
    top: 7rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.2rem;
    padding: 1.1rem 0.8rem;
  }

  .article-aside a {
    border-radius: var(--radius-small);
  }

  .compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 810px;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1.2fr 0.8fr 0.8fr;
    gap: 2.5rem;
  }

  .site-footer {
    padding-top: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .article-layout {
    grid-template-columns: 205px minmax(0, 760px);
    gap: 7rem;
  }

  .section-heading {
    margin-bottom: 2.75rem;
  }

  .hero {
    gap: 4.5rem;
  }
}

@media (max-width: 380px) {
  .brand {
    gap: 0.45rem;
    font-size: 0.76rem;
  }

  .brand-mark {
    width: 2rem;
    flex-basis: 2rem;
  }

  .header-inner {
    gap: 0.55rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-actions .button {
    font-size: 0.77rem;
  }
}

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