.container,
.section,
.hero,
.cta-band,
.footer-inner,
.footer-bottom,
.flash-wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-main { overflow: hidden; }

.page-band {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.section {
  padding: var(--section-y) 0;
}

.section + .section {
  border-top: 0;
}

.band-paper { background: var(--paper); }
.band-warm { background: linear-gradient(180deg, var(--paper-2), #f8f4ec); }
.band-tint { background: linear-gradient(180deg, var(--tint), #f3f7f2); }
.band-dark { background: linear-gradient(135deg, var(--green-3), var(--green-2)); color: white; }
.band-dark h2, .band-dark h3, .band-dark h4 { color: white; }
.band-dark p { color: rgba(255,255,255,0.78); }
.band-dark .eyebrow { color: #d7c177; }
.band-dark .text-link { color: white; border-color: rgba(255,255,255,0.36); }

.hero {
  position: relative;
  padding: clamp(4.25rem, 7vw, 7.5rem) 0 clamp(2.7rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(217, 222, 216, 0.82);
}

.hero > * { position: relative; }

.page-hero {
  padding-top: clamp(3.2rem, 6vw, 5.4rem);
  padding-bottom: clamp(2.9rem, 5vw, 4.6rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.65rem, 6vw, 5.1rem);
}

.hero-shell,
.hero-grid {
  display: grid;
  gap: clamp(2.4rem, 5vw, 5.25rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: clamp(1rem, 2vw, 1.2rem);
  align-content: start;
  max-width: 45rem;
}

.hero-copy > p:not(.eyebrow):not(.lead),
.page-hero .lead {
  max-width: 42rem;
}

.editorial-grid {
  display: grid;
  gap: var(--section-grid-gap);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 1rem;
}
.copy-stack p { font-size: 1.03rem; }

.section-heading {
  display: grid;
  gap: var(--section-heading-gap);
  margin-bottom: var(--section-heading-margin);
}

.section-heading.center {
  text-align: center;
  justify-items: center;
}
.section-heading.center p { margin-inline: auto; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.editorial-grid > .section-heading,
.case-split > .section-heading {
  margin-bottom: 0;
}
.section-heading.narrow { max-width: 48rem; }

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.72fr);
    gap: clamp(3.2rem, 6vw, 6rem);
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.64fr);
    gap: clamp(3.2rem, 5.5vw, 5.8rem);
  }

  .editorial-grid {
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.08fr);
  }
}
