/* Keep the opening stable as reviewers navigate between preview pages. */
@view-transition { navigation: none; }

.site-header--editorial .site-header__inner,
.editorial-wrap {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.site-header--editorial .brand__logo { width: clamp(155px, 18vw, 219px); }
.site-header--editorial .editorial-mobile-cta { display: none; }

@media (min-width: 1161px) {
  .site-header--editorial .site-header__inner { padding-block: 10px; }
  .site-header--editorial .site-nav { gap: clamp(24px, 3vw, 44px); }
  .site-header--editorial .site-nav a { font-size: 14px; letter-spacing: .01em; }
}

@media (max-width: 1160px) {
  .site-header--editorial .site-header__inner { gap: 12px; }
  .site-header--editorial .editorial-mobile-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-inline-start: auto;
    color: var(--rocca-violet);
    font-size: 13px;
    font-weight: 600;
    text-underline-offset: .2em;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .site-header--editorial .site-header__inner { padding: 8px 15px; gap: 9px; }
  .site-header--editorial .brand__logo { width: clamp(122px, 42vw, 169px); }
  .site-header--editorial .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; }
  .site-header--editorial .editorial-mobile-cta { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.site-header--editorial) { scroll-behavior: auto; }
}

.nourished-home,
.editorial-method {
  --nourished-paper: #f4efe5;
  --nourished-linen: #faf7ef;
  --nourished-band: var(--pearl-deep);
  --nourished-forest: #283525;
  --nourished-ink: #3c4737;
  --nourished-rust: #97472c;
  --nourished-rule: #c9c3b4;
  --nourished-gutter: clamp(20px, 6.2vw, 90px);
  background: var(--nourished-paper);
}

:is(.nourished-home, .editorial-method) .site-footer {
  background: var(--nourished-paper);
  color: var(--nourished-ink);
  border-color: var(--nourished-rule);
}

:is(.nourished-home, .editorial-method) .site-footer a,
:is(.nourished-home, .editorial-method) .site-footer a:hover { color: var(--rocca-violet); }
:is(.nourished-home, .editorial-method) .site-footer :focus-visible { outline-color: var(--rocca-violet); }
:is(.nourished-home, .editorial-method) .site-footer .footer-grid { border-color: var(--nourished-rule); }
:is(.nourished-home, .editorial-method) .site-footer .footer-identity__chip { background: transparent; padding-inline: 0; }
:is(.nourished-home, .editorial-method) .site-footer .footer-identity p,
:is(.nourished-home, .editorial-method) .site-footer .scope-note,
:is(.nourished-home, .editorial-method) .site-footer .fine-row { color: var(--nourished-ink); }
:is(.nourished-home, .editorial-method) .site-footer .footer-col h4 {
  color: var(--nourished-forest);
  text-transform: none;
  letter-spacing: .04em;
}
