*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body.editorial-site {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: var(--text-base);
  line-height: var(--leading-copy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.editorial-site :where(img, picture) {
  display: block;
  max-width: 100%;
}

.editorial-site img {
  height: auto;
}

.editorial-site :where(a) {
  color: inherit;
  text-decoration: none;
}

.editorial-site :where(button, input, select) {
  color: inherit;
  font: inherit;
}

.editorial-site :where(button, select, input[type="search"], input[type="text"]) {
  border-radius: var(--radius);
}

.editorial-site :where(button, a, input, select, summary):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  z-index: 1;
}

.editorial-site h1,
.editorial-site h2,
.editorial-site h3,
.editorial-site p {
  margin-top: 0;
}

.editorial-site h1,
.editorial-site h2,
.editorial-site h3 {
  font-family: var(--display);
  font-weight: 440;
  letter-spacing: -0.035em;
  line-height: var(--leading-tight);
}

.editorial-site em {
  color: var(--walnut);
  font-weight: 420;
}

.editorial-main {
  min-height: 50vh;
}

.page-shell {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--container));
  margin-inline: auto;
}

.page-shell--narrow {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--container-narrow));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 20;
  inset: 0 auto auto 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.8rem 1rem;
  clip: auto;
  background: var(--paper-light);
  color: var(--charcoal);
}

.preview-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 38px;
  padding: 0.4rem var(--page-gutter);
  background: var(--paper-deep);
  color: var(--walnut);
  text-align: center;
}

.preview-note p {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

.preview-note__mark {
  color: var(--brick);
}

.eyebrow {
  display: inline-block;
  color: var(--walnut);
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  border-bottom: 1px solid var(--brass);
  color: var(--walnut);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color var(--duration-short) var(--ease-gentle), border-color var(--duration-short) var(--ease-gentle);
}

.text-link:hover {
  color: var(--brick);
  border-color: var(--brick);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: var(--text-xs);
}

.breadcrumbs a {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
}

.breadcrumbs--light {
  color: rgb(255 250 243 / 85%);
}

.breadcrumbs--light a {
  text-decoration-color: rgb(255 250 243 / 65%);
}

.editorial-media {
  object-fit: cover;
}

.site-footer {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: 1.6rem var(--page-gutter) 1.1rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-deep);
}
.site-footer__top, .site-footer__bottom { width: min(100%, var(--container)); margin-inline: auto; }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(200px,1.35fr) repeat(3,minmax(90px,.7fr)) minmax(260px,1.5fr);
  align-items: start;
  gap: clamp(1rem,2.7vw,2.6rem);
  padding-bottom: 1.5rem;
}
.site-footer__brand-column { min-width: 0; padding: .9rem 1rem .9rem 0; border-right: 1px solid var(--line); }
.brand--footer { min-width: 0; color: var(--ink-deep); }
.brand--footer .brand__wordmark { font-size: clamp(1.8rem,2.5vw,2.4rem); }
.site-footer__tagline { margin: .8rem 0 0; color: var(--text-soft); font-size: .61rem; letter-spacing: .24em; white-space: nowrap; }
.footer-nav { display: grid; align-content: start; justify-items: start; min-width: 0; gap: .2rem; }
.footer-nav h2, .footer-journey h2 { margin: 0 0 .65rem; font-family: var(--body); font-size: .88rem; font-weight: 600; line-height: 1.3; }
.footer-nav :where(a,[aria-disabled="true"]) { display: flex; align-items: center; min-height: 29px; color: var(--muted); font-size: .79rem; line-height: 1.3; }
.footer-nav a[href]:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-nav [aria-disabled="true"], .footer-social [aria-disabled="true"] { cursor: default; }
.footer-journey { min-width: 0; padding-left: clamp(1rem,2.4vw,2.5rem); border-left: 1px solid var(--line); }
.footer-journey > p { margin: 0 0 .85rem; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.footer-email { display: grid; grid-template-columns: minmax(0,1fr) 44px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.footer-email input { min-width: 0; width: 100%; min-height: 44px; padding: .65rem .75rem; border: 0; background: transparent; color: var(--ink-deep); font: inherit; font-size: .8rem; }
.footer-email button { width: 44px; border: 0; background: var(--ink-deep); color: var(--paper-light); font-size: 1.3rem; cursor: default; }
.footer-social { display: flex; gap: .2rem; margin-top: .55rem; margin-left: -.65rem; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink-deep); }
.footer-social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: .65rem; color: var(--muted); font-size: .67rem; }
@media (max-width:1100px) {
  .site-footer__top { grid-template-columns: minmax(180px,1.2fr) repeat(3,minmax(90px,1fr)); }
  .footer-journey { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: .3rem 1.5rem; padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-journey h2 { grid-column: 1; margin: 0; }
  .footer-journey > p { grid-column: 1; margin: 0; }
  .footer-email { grid-column: 2; grid-row: 1/3; }
  .footer-social { grid-column: 3; grid-row: 1/3; margin: 0; }
}
@media (max-width:600px) {
  .site-footer { padding-top: 1.5rem; }
  .site-footer__top { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem .6rem; }
  .site-footer__brand-column { grid-column: 1/-1; border: 0; padding: 0 0 .2rem; }
  .brand--footer .brand__wordmark { font-size: 2rem; }
  .site-footer__tagline { font-size: .64rem; }
  .footer-nav h2 { font-size: .85rem; }
  .footer-nav :where(a,[aria-disabled="true"]) { min-height: 35px; font-size: .75rem; }
  .footer-journey { display: block; grid-column: 1/-1; }
  .footer-journey h2 { margin-bottom: .5rem; }
  .footer-journey > p { margin-bottom: .8rem; }
  .footer-email input { font-size: 16px; }
  .footer-social { margin: .5rem 0 0 -.65rem; }
  .site-footer__bottom { flex-direction: column; gap: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
