@media (min-width:768px) {
  body :is(h1,h2,h3,h4,h5,h6) {white-space:nowrap!important;min-width:0;max-width:100%;box-sizing:border-box}
  body :is(h1,h2,h3,h4,h5,h6) :is(span,em,strong) {display:inline!important;white-space:inherit!important}
  body :is(h1,h2,h3,h4,h5,h6) br {display:none}
  body :is(h1,h2,h3,h4,h5,h6):has(+ :is(p,ul,ol)) {margin-bottom:0!important}
  body :is(h1,h2,h3,h4,h5,h6) + :is(p,ul,ol) {margin-top:1rem!important}
}

@media (min-width:768px) {
  :root { --page-inset:clamp(1.25rem,6vw,7rem); }

  /* Use one inset on the element that owns each row's content. */
  body main > :is(.hero,.story-teaser,.section,.serve-hero,.serve-markets,.serve-approach,.serve-close,.capability-overview,.capability-close,.impact-opening,.impact-connection,.impact-foundation,.impact-closing,.story-closing,.event-content),
  body main :is(.journey-overview,.journey-photo-sequence,.journey-cinematic,.home-shared-impact),
  body .story-desktop :is(.founder-feature,.story-paper,.partnership,.mission-gallery),
  body .event-second-row {
    box-sizing:border-box;
    width:100%;
    max-width:none;
    margin-inline:0;
    padding-inline:var(--page-inset);
  }

  /* The parent supplies both margins for these nested content grids. */
  body .story-desktop .story-wrap,
  body .story-desktop .executive-story,
  body .journey-overview > .journey-overview-inner,
  body .journey-photo-sequence > .journey-photo-grid,
  body .serve-markets > .serve-market-grid,
  body .serve-approach > .serve-approach-grid,
  body .capability-overview > .cap-category,
  body .impact-connection > .impact-path,
  body .impact-foundation > .foundation-intro,
  body .event-content .event-second-row {
    box-sizing:border-box;
    width:100%;
    max-width:none;
    margin-inline:0;
    padding-inline:0;
  }
}

@media (min-width:768px) {
  #journey .home-shared-impact {
    padding-inline:0;
    grid-template-columns:minmax(0,51.3%) minmax(0,1fr);
  }
  #journey .home-impact-copy {
    min-width:0;
    padding-inline-start:var(--page-inset);
    container-type:inline-size;
  }
  #journey #home-impact-heading {
    width:100%;
    font-size:min(4rem,5.6cqw)!important;
  }
}

@media (min-width:768px) {
  :root {
    --opening-title:clamp(1.8rem,3.6vw,4.5rem);
    --opening-gap:clamp(1rem,1.45vw,1.5rem);
  }
  body :is(#top .hero-copy,.serve-hero-copy,.impact-opening-copy,.executive-intro,.event-summary) h1,
  body #experience-title {
    font-family:"Helvetica Neue",Arial,sans-serif;
    font-size:var(--opening-title);
    font-weight:750;
    line-height:1.08;
    letter-spacing:-.045em;
    margin-block:0 var(--opening-gap);
  }
  body :is(#top .hero-copy,.serve-hero-copy,.impact-opening-copy,.executive-intro) > .eyebrow {
    margin-block:0 1rem;
    letter-spacing:.16em;
  }
  #top.hero .hero-copy {width:100%;max-width:none;min-width:0}
  #top.hero:after {
    background:linear-gradient(90deg,rgba(1,10,18,.96),rgba(1,10,18,.83) 43%,rgba(1,10,18,.4) 72%,rgba(1,10,18,.14));
  }
  #top.hero .hero-copy h1 em {color:#d6b45b;font-size:inherit;font-style:normal}
  #top.hero .lede {
    max-width:min(63%,54ch);
    font-size:clamp(1.15rem,2.1vw,2.35rem);
    line-height:1.36;
    text-wrap:pretty;
  }
  #top.hero .purpose-line {
    max-width:68%;margin-block:clamp(1rem,2.4vw,2.4rem) 0;
    padding:0 0 0 clamp(.9rem,2vw,2.25rem);border-left:3px solid #d6b45b;
    font-size:clamp(1rem,1.65vw,1.85rem);line-height:1.4;
  }
  #top.hero .purpose-line strong {display:block;color:#d6b45b;font-size:1.2em;margin-bottom:.35em}
  #top.hero .purpose-line br {display:none}
  #top.hero .purpose-line br:after {content:" "}
  #top.hero .hero-actions {margin-block:clamp(1.25rem,2.5vw,2.75rem)}
  #top.hero .promise {
    width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;
    border-left:3px solid #d6b45b;padding-left:clamp(.9rem,2vw,2.25rem);
  }
  #top.hero .promise strong {font-size:clamp(1rem,1.9vw,2rem)}
}

@media (min-width:768px) {
  #top.hero {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto;
    align-items:stretch;
    padding-bottom:clamp(1.5rem,4vh,3.5rem);
  }
  #top.hero .hero-copy {
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:flex-start;
    gap:clamp(.75rem,1.5vh,1.25rem);
    align-self:stretch;
  }
  #top.hero .hero-copy > :is(.eyebrow,h1,.lede,.purpose-line,.hero-actions,.promise) {
    margin-block:0!important;
  }
  #top.hero .hero-copy h1,
  body:is(.capabilities-page,.audience-page) main .serve-hero-copy h1 {
    width:75%;
    font-size:clamp(1.35rem,2.7vw,3.375rem);
  }
}

@media (min-width:1001px) {
  body:is(.capabilities-page,.audience-page) main > .serve-hero {
    grid-template-columns:minmax(0,1fr);
    align-items:stretch;
  }
  body:is(.capabilities-page,.audience-page) main > .serve-hero .serve-hero-copy {
    width:100%;
    max-width:none;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:0;
    gap:clamp(1rem,2.3vh,2rem);
  }
  body:is(.capabilities-page,.audience-page) main .serve-hero-copy > :is(h1,p,.serve-promise) {
    margin-block:0!important;
  }
  body:is(.capabilities-page,.audience-page) main .serve-hero-copy > p:not(.eyebrow) {
    max-width:min(48%,52ch);
    font-size:clamp(1.2rem,2vw,2.35rem);
    line-height:1.4;
    margin-block:auto!important;
  }
}

@media (min-width:768px) {
  body:is(.capabilities-page,.audience-page) .serve-hero .serve-hero-copy h1 > :is(span,em) {
    display:block!important;
    margin-top:.12em;
  }
}
@media (min-width:1001px) {
  body:is(.capabilities-page,.audience-page) main > .serve-hero .serve-hero-copy {
    justify-content:center;
    gap:clamp(1rem,2.4vh,1.8rem);
  }
  body:is(.capabilities-page,.audience-page) main > .serve-hero .serve-hero-copy > p:not(.eyebrow) {
    margin-block:0!important;
  }

}

@media (min-width:768px) {
  body:is(.audience-page,.capabilities-page) .serve-hero :is(.eyebrow,h1 > em,.serve-promise > strong,figcaption > span) {
    color:var(--gold-text,#D6B45B)!important;
    -webkit-text-fill-color:currentColor;
    font-weight:650;
    text-shadow:none;
  }
}
