@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #182033;
  --ink-soft: #465064;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mist: #e8f1f0;
  --mineral: #286b72;
  --mineral-dark: #174c52;
  --sage: #9db7ac;
  --wine: #984755;
  --gold: #d1ac61;
  --line: #dce3df;
  --shadow: 0 24px 70px rgba(24, 32, 51, 0.12);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --page: min(1180px, calc(100% - 40px));
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 227, 223, 0.86);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--mineral);
  border-radius: 50% 50% 50% 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--wine);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  content: "";
  background: var(--ink);
}

.btn {
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--mineral);
  box-shadow: 0 14px 28px rgba(40, 107, 114, 0.2);
}

.btn-primary:hover {
  background: var(--mineral-dark);
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.btn-quiet {
  min-height: 42px;
  padding: 9px 17px;
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.btn-arrow::after {
  content: "→";
  font-size: 18px;
  transition: transform 180ms ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

.hero {
  width: min(1420px, calc(100% - 40px));
  min-height: 650px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: minmax(690px, 1.12fr) minmax(520px, 0.88fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(54px, 4.6vw, 76px);
  align-self: center;
}

.hero-copy::before {
  position: absolute;
  top: 56px;
  left: 0;
  width: 7px;
  height: 112px;
  content: "";
  background: linear-gradient(var(--mineral), var(--wine));
  border-radius: 0 8px 8px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(50px, 5.1vw, 76px);
  letter-spacing: -0.035em;
}

.hero-copy h1 {
  font-size: clamp(52px, 3.55vw, 64px);
  line-height: 0.99;
  letter-spacing: -0.03em;
  text-wrap: wrap;
}

.hero-title-line {
  display: block;
}

.hero-title-brand {
  color: var(--mineral);
  white-space: nowrap;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4.2vw, 58px);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 14px;
  font-size: 29px;
  letter-spacing: -0.015em;
}

.hero-lede {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.hero-note::before {
  width: 32px;
  height: 1px;
  flex: 0 0 auto;
  content: "";
  background: var(--gold);
}

.hero-media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(251, 250, 247, 0.18), transparent 32%);
  pointer-events: none;
}

.hero-stamp {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: 138px;
  height: 138px;
  padding: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(24, 32, 51, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.trust-strip {
  width: var(--page);
  margin: 24px auto 0;
  padding: 18px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.trust-strip strong {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.trust-list span::before {
  margin-right: 8px;
  color: var(--mineral);
  content: "✓";
  font-weight: 800;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 110px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.field-note {
  position: sticky;
  top: 118px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.field-note .note-index {
  display: block;
  margin-bottom: 34px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field-note blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.18;
}

.principles {
  display: grid;
  gap: 20px;
}

.principle {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.principle:first-child {
  border-top: 1px solid var(--line);
}

.principle-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--mineral);
  background: var(--mist);
  border-radius: 16px;
  font-weight: 800;
}

.principle h3 {
  margin-bottom: 8px;
  font-size: 27px;
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-card:nth-child(2) {
  background: var(--ink);
}

.step-card:nth-child(2) h3,
.step-card:nth-child(2) p,
.step-card:nth-child(2) .step-label {
  color: var(--white);
}

.step-label {
  margin-bottom: 86px;
  display: block;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.step-card::after {
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid var(--sage);
  border-radius: 50%;
}

.editorial-banner {
  width: var(--page);
  min-height: 470px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.editorial-banner-copy {
  padding: clamp(42px, 6vw, 78px);
  align-self: center;
}

.editorial-banner h2,
.editorial-banner p {
  color: var(--white);
}

.editorial-banner p {
  max-width: 580px;
  color: #d8deea;
}

.editorial-banner-media {
  min-height: 470px;
}

.editorial-banner-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.blog-card {
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(24, 32, 51, 0.1);
}

.blog-card.featured {
  grid-column: span 7;
}

.blog-card.wide {
  grid-column: span 5;
}

.blog-card-image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 340px;
  overflow: hidden;
  background: var(--mist);
}

.blog-card-image::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(14, 25, 38, 0.86));
  pointer-events: none;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 450ms ease;
}

.blog-image-caption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(8, 16, 24, 0.4);
}

.blog-image-caption span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f3d8b0;
}

.blog-image-caption strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.08;
}

.blog-card:hover img {
  transform: scale(1.035);
}

.blog-card-content {
  padding: 28px;
}

.blog-card-meta {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-bottom: 13px;
  font-size: 30px;
}

.blog-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

.text-link {
  color: var(--mineral-dark);
  font-size: 14px;
  font-weight: 700;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.comparison-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.comparison-card.highlight {
  color: var(--white);
  background: var(--mineral-dark);
}

.comparison-card.highlight h3,
.comparison-card.highlight p,
.comparison-card.highlight li {
  color: var(--white);
}

.comparison-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  position: relative;
  padding: 12px 0 12px 28px;
  color: var(--ink-soft);
  border-top: 1px solid rgba(157, 183, 172, 0.42);
}

.comparison-card li::before {
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--gold);
  content: "•";
  font-size: 23px;
  line-height: 1;
}

.cta-panel {
  width: var(--page);
  margin: 0 auto 80px;
  padding: clamp(46px, 7vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 15%, rgba(209, 172, 97, 0.28), transparent 28%),
    linear-gradient(135deg, var(--mineral-dark), var(--ink));
  border-radius: var(--radius-lg);
}

.cta-panel h2 {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--white);
}

.cta-panel p {
  max-width: 680px;
  margin: 0;
  color: #dce6e8;
}

.cta-panel .btn {
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  padding: 70px 0 30px;
  color: #d7deea;
  background: #111827;
}

.footer-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 64px;
}

.footer-grid .brand {
  color: var(--white);
}

.footer-copy {
  max-width: 520px;
  margin-top: 22px;
  color: #aeb8c9;
  font-size: 14px;
}

.footer-title {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: #c5cedc;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  width: var(--page);
  margin: 46px auto 0;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #8e9aaf;
  border-top: 1px solid #2d3748;
  font-size: 12px;
}

/* Blog index */
.page-hero {
  width: var(--page);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-hero-copy {
  padding: clamp(48px, 6vw, 80px);
  align-self: center;
}

.page-hero-copy h1 {
  font-size: clamp(48px, 5vw, 70px);
}

.page-hero-copy p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.page-hero-media {
  min-height: 520px;
}

.page-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.topic-bar {
  width: var(--page);
  margin: 24px auto 0;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.topic-pill {
  padding: 8px 14px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Articles */
.article-hero {
  width: var(--page);
  margin: 30px auto 0;
}

.breadcrumbs {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.breadcrumbs span {
  color: #8d96a7;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-hero-copy {
  padding: clamp(42px, 5vw, 72px);
  align-self: center;
}

.article-hero-copy h1 {
  font-size: clamp(44px, 4.7vw, 67px);
}

.article-dek {
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 18px;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--ink-soft);
  font-size: 13px;
}

.article-byline strong {
  color: var(--ink);
}

.article-hero-media {
  min-height: 560px;
}

.article-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-layout {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 110px;
  display: grid;
  grid-template-columns: 250px minmax(0, 700px);
  gap: 70px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 112px;
}

.article-aside-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.article-aside-title {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-aside nav {
  display: grid;
  gap: 10px;
}

.article-aside nav a {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.article-aside nav a:hover {
  color: var(--mineral-dark);
}

.reading-time {
  margin-top: 22px;
  padding-top: 16px;
  color: #6f7889;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.article-body {
  min-width: 0;
}

.article-body > p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1.38;
}

.article-body h2 {
  margin: 64px 0 22px;
  font-size: 43px;
}

.article-body h3 {
  margin: 38px 0 14px;
  font-size: 28px;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 28px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 12px;
}

.article-body a {
  color: var(--mineral-dark);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-underline-offset: 4px;
}

.takeaway {
  margin: 38px 0;
  padding: 28px 30px;
  border-left: 5px solid var(--wine);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #f4f0f0;
}

.takeaway strong {
  display: block;
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.takeaway p:last-child {
  margin-bottom: 0;
}

.checklist {
  margin: 30px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--white);
  content: "✓";
  background: var(--mineral);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.source-box {
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.source-box h2 {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-cta {
  margin-top: 54px;
  padding: 36px;
  color: var(--white);
  background: var(--mineral-dark);
  border-radius: var(--radius);
}

.article-cta h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 38px;
}

.article-cta p {
  color: #dce7e6;
}

.article-cta .btn {
  margin-top: 8px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}

.related {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 100px;
}

.related h2 {
  font-size: 42px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.related-card h3 {
  margin-bottom: 8px;
  font-size: 27px;
}

.related-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1040px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .nav-actions {
    display: none;
  }

  .nav-wrap.is-open .main-nav,
  .nav-wrap.is-open .nav-actions {
    display: flex;
  }

  .nav-wrap.is-open {
    padding: 20px 0;
    grid-template-columns: 1fr auto;
  }

  .nav-wrap.is-open .main-nav {
    grid-column: 1 / -1;
    padding-top: 12px;
    align-items: flex-start;
    flex-direction: column;
    justify-self: stretch;
    gap: 18px;
  }

  .nav-wrap.is-open .nav-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .hero,
  .page-hero,
  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .article-hero-media {
    min-height: 500px;
  }

  .page-hero-media {
    min-height: 420px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-aside {
    position: static;
  }

  .article-aside nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1250px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 28px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    margin-top: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 7.6vw, 52px);
  }

  .hero-copy::before {
    top: 46px;
    height: 86px;
  }

  .hero-media {
    min-height: 390px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-list {
    justify-content: flex-start;
  }

  .section {
    padding: 78px 0;
  }

  .split,
  .editorial-banner,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .field-note {
    position: static;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 250px;
  }

  .step-label {
    margin-bottom: 46px;
  }

  .editorial-banner-media {
    min-height: 360px;
  }

  .blog-card,
  .blog-card.featured,
  .blog-card.wide {
    grid-column: span 6;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .article-body h2 {
    font-size: 38px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 70px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 8.3vw, 43px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy,
  .page-hero-copy,
  .article-hero-copy {
    padding: 40px 28px;
  }

  .hero-copy {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-actions .btn,
  .nav-actions .btn {
    width: 100%;
  }

  .hero-media,
  .page-hero-media,
  .article-hero-media {
    min-height: 320px;
  }

  .hero-stamp {
    right: 16px;
    bottom: 16px;
    width: 105px;
    height: 105px;
    padding: 14px;
    font-size: 9px;
  }

  .principle {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .blog-card,
  .blog-card.featured,
  .blog-card.wide {
    grid-column: 1;
  }

  .topic-bar {
    border-radius: var(--radius);
  }

  .article-layout {
    width: min(100% - 28px, 700px);
    padding-top: 54px;
  }

  .article-aside nav {
    grid-template-columns: 1fr;
  }

  .article-body > p:first-child {
    font-size: 25px;
  }

  .article-body h2 {
    margin-top: 52px;
    font-size: 34px;
  }

  .takeaway,
  .checklist,
  .article-cta {
    padding: 24px;
  }

  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
