/* Shared shell for the new editorial pages. Existing pages opt in explicitly.
   Font/reset foundation and menu behavior: homepage.css / homepage.js.
   Layers: document 0; sticky navigation 10; keyboard skip link 20. */
:root {
  --ink: #17201d;
  --paper: #f3f5ef;
  --lime: #b9ed83;
  --text: #38453c;
  --muted: #526057;
  --rule: #cdd5ca;
  --dark-rule: #3e4a42;
  --dark-muted: #c5cec6;
  --glass: var(--lime);
  --teal: #3d6c2d;
  --focus: #35652b;
  --radius: 0;
}
html {
  scroll-padding-top: 88px;
}
.editorial-page {
  background: var(--paper);
  color: var(--ink);
}
.editorial-page .shell {
  width: min(100% - 96px, 1296px);
}
.editorial-page :is(h1, h2, h3) {
  font-weight: 500;
}
.editorial-page p {
  color: var(--text);
}
.editorial-page h2 {
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.1;
}
.editorial-page section[id] {
  scroll-margin-top: 20px;
}
.editorial-page .skip-link {
  position: fixed;
}
.editorial-page .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  box-shadow: 0 1px 0 #ffffff26;
  --focus: var(--lime);
}
.editorial-page .site-header:not(.is-enhanced) {
  position: relative;
}
.editorial-page .header-inner {
  min-height: 72px;
  border: 0;
  gap: 30px;
}
.editorial-page .brand img {
  width: 132px;
  height: 29px;
}
.editorial-page .site-navigation {
  gap: 28px;
}
.editorial-page .site-navigation > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  padding-block: 12px;
}
.editorial-page .site-navigation > a:not(.header-cta) {
  position: relative;
  text-decoration: none;
}
.editorial-page .site-navigation > a:not(.header-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 5px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
}
.editorial-page
  .site-navigation
  > a:is(:hover, :focus-visible, [aria-current="page"])::after {
  transform: scaleX(1);
}
.editorial-page .header-cta {
  gap: 30px;
  padding: 10px 20px !important;
  border: 1px solid #a7b5a8;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
}
.editorial-page .header-cta:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}
.editorial-page .arrow {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  font-size: 0;
  background: currentColor;
  -webkit-mask: url("/assets/icons/arrow-right.svg") center / contain no-repeat;
  mask: url("/assets/icons/arrow-right.svg") center / contain no-repeat;
  transition: none;
}
.editorial-page .button {
  min-height: 56px;
  padding: 15px 25px;
  border-radius: 0;
  background: var(--lime);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.editorial-page .button:hover {
  background: #c8f4a0;
}
.editorial-page .text-link {
  gap: 18px;
}
.editorial-page .text-link .arrow {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}
.editorial-page .menu-lines {
  position: relative;
  width: 16px;
  height: 16px;
  border: 0;
}
.editorial-page .menu-lines::before,
.editorial-page .menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-4px);
}
.editorial-page .menu-lines::after {
  transform: translateY(4px);
}
.editorial-page .menu-toggle[aria-expanded="true"] .menu-lines {
  height: 16px;
  transform: none;
  border: 0;
}
.editorial-page .menu-toggle[aria-expanded="true"] .menu-lines::before {
  transform: rotate(45deg);
}
.editorial-page .menu-toggle[aria-expanded="true"] .menu-lines::after {
  transform: rotate(-45deg);
}
.editorial-page .creative-footer {
  padding-top: 40px;
}
.editorial-page .creative-footer .footer-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 100px;
  padding-block: 32px 24px;
}
.editorial-page .creative-footer .footer-brand {
  display: block;
}
.editorial-page .creative-footer .footer-brand p {
  max-width: 460px;
  font-size: 17px;
}
.editorial-page .creative-footer .footer-top-link {
  margin-top: 14px;
}
.editorial-page .creative-footer .footer-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-content: start;
}
.editorial-page .creative-footer .footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.editorial-page .creative-footer .footer-link-group h2 {
  color: #b5c1af;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.editorial-page .creative-footer .footer-links a {
  font-size: 15px;
}
.editorial-page .footer-wordmark {
  width: min(100%, 420px);
  margin-top: 26px;
}
.editorial-page .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  color: var(--dark-muted);
  font-size: 13px;
}
.editorial-page .footer-top-link .arrow {
  transform: rotate(-90deg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .editorial-page :is(.button, .header-cta) {
    transition:
      background-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }
  .editorial-page .button:hover {
    transform: translateY(-2px);
  }
  .editorial-page .button:active {
    transform: none;
  }
  .editorial-page .arrow,
  .editorial-page .site-navigation > a::after,
  .editorial-page .menu-lines::before,
  .editorial-page .menu-lines::after {
    transition: transform 180ms ease;
  }
}
@media (max-width: 1199px) {
  .editorial-page .shell {
    width: calc(100% - 64px);
  }
  .editorial-page .creative-footer .footer-inner {
    gap: 36px 60px;
  }
}
@media (max-width: 1023px) {
  html {
    scroll-padding-top: 80px;
  }
  .editorial-page .header-inner {
    min-height: 64px;
  }
  .editorial-page .brand img {
    width: 118px;
    height: auto;
  }
  .editorial-page .menu-toggle {
    border-color: #879581;
  }
  .editorial-page .site-navigation {
    gap: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .editorial-page .site-navigation > a {
    font-size: 18px;
    min-height: 52px;
    padding-block: 14px;
  }
  .editorial-page .site-navigation > a:not(.header-cta)::after {
    inset: auto auto 7px 0;
    width: 36px;
  }
  .editorial-page .site-navigation .header-cta {
    align-self: stretch;
    justify-content: space-between;
    min-height: 50px;
    margin-top: 14px;
    background: var(--lime);
    color: var(--ink);
    border-color: var(--lime);
    font-size: 16px;
  }
  .editorial-page .creative-footer .footer-inner {
    gap: 32px 48px;
  }
}
@media (max-width: 767px) {
  .editorial-page .shell {
    width: calc(100% - 40px);
  }
  .editorial-page .site-navigation {
    left: -20px;
    right: -20px;
    padding-inline: 20px;
  }
  .editorial-page .creative-footer {
    padding-top: 12px;
  }
  .editorial-page .creative-footer .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .editorial-page .creative-footer .footer-brand {
    display: block;
  }
  .editorial-page .creative-footer .footer-brand p {
    font-size: 15px;
  }
  .editorial-page .creative-footer .footer-top-link {
    margin-top: 12px;
    font-size: 13px;
  }
  .editorial-page .footer-wordmark {
    width: min(100%, 360px);
    margin-top: 24px;
  }
  .editorial-page .creative-footer .footer-links {
    gap: 24px;
  }
  .editorial-page .creative-footer .footer-links a {
    font-size: 14px;
  }
  .editorial-page .creative-footer .footer-link-group h2 {
    font-size: 13px;
  }
  .editorial-page .footer-bottom {
    font-size: 12px;
  }
}
@media print {
  html {
    scroll-padding-top: 0;
  }
  .editorial-page .site-header,
  .editorial-page .site-footer,
  .editorial-page .skip-link {
    display: none;
  }
  .editorial-page .shell {
    width: 100%;
  }
  .editorial-page .button {
    display: none;
  }
}
