/* Homepage additions; shared subpage presentation stays in design.css. */
.project-overview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  scroll-margin-top: 120px;
}

.project-overview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  z-index: -2;
}

.project-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #07141deb 0%, #07141dd9 52%, #07141db3 100%);
  pointer-events: none;
}

.project-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 5vw, 80px);
}
.project-overview-main,
.project-overview-partner {
  min-width: 0;
}
.project-overview-partner {
  padding-left: clamp(30px, 3.5vw, 52px);
  border-left: 1px solid #b6d1e866;
}
.project-partner-kicker {
  margin: 0 0 20px;
  color: #b6d1e8;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.project-overview-partner h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.project-overview-partner h3 em {
  color: #b6d1e8;
  font-weight: 400;
}
.project-partner-copy {
  max-width: 39ch;
  margin: 0;
  color: #dce6ee;
  font-size: var(--home-body-size, 18px);
  line-height: 1.7;
}

.project-overview-heading {
  max-width: 860px;
}

.project-overview-heading h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 3.4vw, 54px);
  line-height: 1.12;
}

.project-overview-heading h2 em {
  display: block;
  color: #b6d1e8;
}

.project-overview-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 0;
  margin: 28px 0 32px;
  list-style: none;
  font-size: var(--home-body-size, 18px);
  line-height: 1.6;
}

.project-overview-values li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-overview-values li::before {
  content: "";
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: url("images/green-checkmark.png") center / contain no-repeat;
}

.project-overview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.project-overview-cta:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 5px;
}

@media (max-width: 1050px) {
  .project-overview-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .project-overview-partner {
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid #b6d1e866;
  }
  .project-partner-copy {
    max-width: 62ch;
  }
}

@media (max-width: 900px) {
  .project-overview::before {
    background: #07141dd9;
  }
}

@media (max-width: 680px) {
  .project-overview-heading h2 {
    font-size: clamp(32px, 7.5vw, 44px);
  }

  .project-overview-values {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .project-overview-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.home-page .section {
  padding: 100px 0;
}

.home-page .stoop-hero {
  min-height: max(760px, min(920px, 100svh));
  height: auto;
}

.home-page .cinema-content {
  padding-top: clamp(185px, 23vh, 235px);
  padding-bottom: 76px;
  height: auto;
}

.home-page .cinema-content h1 {
  max-width: 1240px;
  font-size: clamp(48px, 6.7vw, 100px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.045;
}

.home-page .cinema-content h1 .split-line {
  padding-bottom: 0.035em;
}

.home-page .cinema-shade {
  background:
    linear-gradient(0deg, #07141dee, transparent 78%),
    linear-gradient(90deg, #07141d91, #07141d1f);
}

.home-page .cinema-bottom {
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  margin-top: 32px;
  padding-top: 25px;
}

.hero-credentials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  align-self: end;
  min-width: 0;
}

.hero-badges {
  --badge-size: 120px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 24px 19px;
  align-items: flex-start;
}
.hero-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--badge-size);
  width: var(--badge-size);
  height: var(--badge-size);
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 22px #00000024;
}
.hero-certification-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 var(--badge-size);
  width: var(--badge-size);
  text-decoration: none;
  border-radius: 50%;
}
.hero-certification-trigger .hero-badge {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.hero-certification-trigger .hero-badge::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid #8cc8ff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.hero-certification-trigger:is(:hover, :focus-visible) .hero-badge {
  transform: translateY(-3px);
  box-shadow: 0 0 0 4px #8cc8ff80, 0 8px 24px #00000033;
}
.hero-certification-trigger:focus-visible {
  outline: 3px solid #8cc8ff;
  outline-offset: 7px;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-certification-trigger .hero-badge::after {
    animation: certificate-invite 2s ease-out 0.6s 2;
  }
}
@keyframes certificate-invite {
  0% { opacity: 0; transform: scale(0.98); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1.16); }
}
.motion-paused .hero-certification-trigger .hero-badge::after {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-certification-trigger .hero-badge {
    transition: none;
  }
  .hero-certification-trigger:is(:hover, :focus-visible) .hero-badge {
    transform: none;
  }
}
.hero-badge--intertek img {
  display: block;
  width: auto;
  max-width: 78%;
  height: 78%;
  object-fit: contain;
}
.hero-badge--iatf img {
  display: block;
  width: 82%;
  height: auto;
  object-fit: contain;
}
.hero-badge--usa {
  overflow: hidden;
}
.hero-badge--usa img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--badge-size) * 1.6);
  height: auto;
  max-width: none;
  transform: translate(-50%, -51%);
}
.home-page .home-about {
  padding-top: 108px;
}

.company-refresh {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

.company-copy h2 {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: clamp(40px, 4.5vw, 65px);
  line-height: 1.1;
}

.company-copy p {
  max-width: 550px;
  color: #62727f;
  font-size: 15px;
  line-height: 1.8;
}

.company-copy p.lead {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.company-copy .eyebrow {
  color: var(--ink);
  font-size: 10px;
  line-height: 1.5;
}

.company-copy > a {
  margin-top: 7px;
}

.company-photo {
  min-width: 0;
  margin: 0;
}

.company-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  object-fit: cover;
  object-position: center;
  background: #e6ecef;
}

.company-photo figcaption {
  margin-top: 16px;
  padding-left: 13px;
  border-left: 2px solid var(--blue);
  color: #607482;
  font-size: 11px;
  line-height: 1.6;
}

.home-page .home-about .editorial-stats {
  margin-top: 58px;
  padding-top: 32px;
  border-top: 1px solid #dce4e9;
}

.home-page .editorial-stats strong {
  font-size: clamp(25px, 2.7vw, 39px);
}

.home-page .editorial-stats > div > span {
  margin-top: 9px;
  color: #617684;
  line-height: 1.6;
}

.home-page .services-editorial {
  background: #132532;
}

.home-page .services-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(36px, 5vw, 70px);
  margin-top: 42px;
}

.home-page .services-picture {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  border: 1px solid #ffffff12;
}

.home-page .service-row {
  padding: 20px 0;
}

.home-page .service-row h3 {
  font-size: clamp(24px, 2.2vw, 31px);
}

.row-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 23px;
  margin-top: 23px;
}

.home-page .row-links .text-link {
  margin-top: 0;
  line-height: 1.5;
}

.capability-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  margin-top: 44px;
  padding: 32px;
  border: 1px solid #d2e2ef25;
  border-radius: 4px;
  background: #ffffff03;
}

.capability-index > div {
  min-width: 0;
}

.capability-index h3 {
  margin-bottom: 20px;
  color: #98bfdc;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.capability-index ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #e4ecf2;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition:
    color 200ms,
    text-decoration-color 200ms;
}

.capability-index a > span {
  flex-shrink: 0;
  color: #87acc9;
}

.capability-index a:hover,
.capability-index a:focus-visible {
  color: #fff;
  text-decoration-color: #88b7de;
}

.home-page .home-quality {
  background: var(--ink);
  color: white;
  border-top: 1px solid #d2e2ef24;
}

.quality-refresh {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.quality-photo {
  min-width: 0;
}

.quality-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  background: #233947;
}

.quality-copy .eyebrow {
  color: #b9d4e9;
}

.quality-copy .eyebrow > span {
  background: #82acd1;
}

.quality-copy h2 {
  max-width: 590px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.1;
}

.quality-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 28px;
  color: #bbcad5;
  font-size: 15px;
  line-height: 1.85;
}

.quality-copy .text-link {
  color: #f2f6f9;
}

.quality-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 55px;
}

.quality-principles article {
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid #c7dbe939;
}

.quality-principles article > span {
  display: block;
  margin-bottom: 17px;
  color: #8ebada;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.quality-principles h3 {
  margin-bottom: 13px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.quality-principles p {
  margin-bottom: 0;
  color: #b7c8d4;
  font-size: 13px;
  line-height: 1.8;
}

.customer-strip {
  padding: 80px 0 75px;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #dde5ea;
}

.customer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 22px 0;
  text-align: center;
  margin-bottom: 42px;
}

.customer-heading > :not(button) {
  grid-column: 1;
}

.customer-heading > div {
  grid-row: 1;
  min-width: 0;
  width: 100%;
}

.customer-heading .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}

.customer-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.12;
}

.customer-heading p:not(.eyebrow) {
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: 0;
  color: #647582;
  font-size: 14px;
  line-height: 1.8;
}

.customer-motion {
  display: none;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #c7d5df;
  border-radius: 3px;
  background: #f5f8fa;
  color: #345467;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.customer-ready .customer-motion {
  display: block;
}

.customer-motion:hover:enabled {
  border-color: var(--blue);
  color: var(--blue);
  background: #edf4f9;
}

.customer-motion:disabled {
  cursor: default;
  color: #70818d;
  background: #f5f7f8;
}

.customer-marquee {
  overflow: hidden;
}

.customer-track {
  display: flex;
  width: 100%;
}

.customer-group {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 30px;
  flex: 0 0 100%;
  width: 100%;
  padding: 9px 0;
}

.customer-group[aria-hidden="true"] {
  display: none;
}

.customer-logo {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
  height: 76px;
}

.customer-logo img {
  display: block;
  width: 100%;
  max-width: 168px;
  height: 58px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.customer-animated .customer-marquee {
  mask-image: none;
}

.customer-animated .customer-track {
  width: max-content;
  animation: customerMarquee 48s linear infinite;
  animation-play-state: paused;
}

.customer-animated .customer-group {
  --customer-gap: clamp(42px, 5vw, 80px);
  display: flex;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: auto;
  gap: var(--customer-gap);
  padding-right: var(--customer-gap);
}

.customer-animated .customer-logo {
  flex: 0 0 clamp(128px, 12vw, 168px);
  width: clamp(128px, 12vw, 168px);
}

.customer-animated.customer-running .customer-track {
  animation-play-state: running;
}

.customer-animated.customer-paused .customer-track,
.customer-animated.customer-suspended .customer-track,
.customer-strip:hover .customer-track,
.customer-strip:focus-within .customer-track,
.motion-paused .customer-strip .customer-track {
  animation-play-state: paused;
}

@keyframes customerMarquee {
  to {
    transform: translateX(-50%);
  }
}

/* Process photos share a stable frame while the next decoded image dissolves in. */
.home-page .process-story .story-image {
  --story-photo-height: clamp(140px, calc(100svh - 305px), 460px);
  --story-caption-height: 76px;
  height: calc(var(--story-photo-height) + var(--story-caption-height));
  background: #e8edf1;
  isolation: isolate;
}
.home-page .process-story .story-image > img {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: var(--story-photo-height);
  object-fit: contain;
  opacity: 1;
  transition: none;
}
.home-page .process-story .story-image-shade {
  display: none;
}
.home-page .process-story .story-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  inset: auto 0 0;
  height: var(--story-caption-height);
  padding: 13px 22px;
  margin: 0;
  background: var(--ink);
  z-index: 1;
}
.home-page .process-story .story-caption span {
  flex: 0 0 auto;
  margin: 0;
  color: #b9cad8;
}
.home-page .process-story .story-caption strong {
  font-size: 22px;
  line-height: 1.16;
}
.home-page .process-story .story-step {
  opacity: 1;
  border-left: 2px solid #dce5ed;
  padding-left: 25px;
  transition: border-color 240ms;
}
.home-page .process-story .story-step.active {
  border-left-color: var(--blue);
}
.home-page .process-story .story-step.active .step-number {
  color: var(--blue);
}
.home-page.motion-paused .process-story .story-step,
.home-page.motion-paused .process-story .story-track i {
  transition: none;
}
@media (max-width: 850px) and (min-width: 581px) {
  .home-page .process-story .story-image {
    --story-photo-height: clamp(140px, calc(100svh - 305px), 330px);
  }
  .home-page .process-story .story-caption {
    gap: 12px;
    padding-inline: 16px;
  }
  .home-page .process-story .story-caption strong {
    font-size: 20px;
  }
  .home-page .process-story .story-step {
    padding-left: 18px;
  }
}
@media (max-width: 580px) {
  .home-page .process-story .story-visual {
    position: sticky;
    top: 88px;
    z-index: 3;
    padding-bottom: 12px;
    background: #fff;
  }
  .home-page .process-story .story-image {
    --story-photo-height: clamp(90px, 25svh, 170px);
    --story-caption-height: 60px;
  }
  .home-page .process-story .story-caption {
    gap: 12px;
    padding: 10px 14px;
  }
  .home-page .process-story .story-caption strong {
    font-size: 17px;
  }
  .home-page .process-story .story-track {
    margin-top: 10px;
  }
  .home-page .process-story .story-footnote {
    display: none;
  }
  .home-page .process-story .story-step {
    padding-left: 18px;
  }
}
@media (max-width: 580px) and (max-height: 500px) {
  .home-page .process-story .story-image {
    --story-photo-height: 80px;
    --story-caption-height: 44px;
  }
  .home-page .process-story .story-caption strong {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .process-story .story-step,
  .home-page .process-story .story-track i {
    transition: none;
  }
}

@media (max-width: 1050px) {
  .home-page .section {
    padding: 80px 0;
  }

  .home-page .stoop-hero {
    min-height: 820px;
    height: auto;
  }

  .home-page .cinema-content {
    padding-top: 195px;
  }

  .home-page .cinema-content h1 {
    font-size: clamp(48px, 6.8vw, 73px);
  }

  .company-refresh,
  .quality-refresh {
    gap: 40px;
  }

  .home-page .service-row summary {
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 10px;
  }

  .home-page .row-content {
    padding-left: 38px;
    padding-right: 0;
  }

  .capability-index {
    gap: 25px;
    padding: 28px;
  }

  .quality-principles {
    gap: 23px;
  }

  .quality-principles h3 {
    font-size: 20px;
  }

  .customer-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .home-page .section {
    padding: 64px 0;
  }

  .home-page .stoop-hero {
    height: auto;
    min-height: 710px;
  }

  .home-page .cinema-content {
    height: auto;
    padding-top: 160px;
    padding-bottom: 82px;
  }

  .home-page .cinema-content h1 {
    font-size: clamp(30px, 6.9vw, 53px);
    line-height: 1.07;
    letter-spacing: -0.045em;
  }

  .home-page .cinema-content > .eyebrow {
    font-size: 8px;
    max-width: 300px;
  }

  .home-page .cinema-bottom {
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    margin-top: 29px;
    gap: 20px;
  }

  .home-page .cinema-bottom > div {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero-credentials {
    grid-column: 1;
    grid-row: 2;
    gap: 22px;
    margin-top: 7px;
  }

  .hero-badges {
    --badge-size: 96px;
    gap: 24px 15px;
  }
  .home-page .cinema-bottom p {
    max-width: 410px;
    font-size: 14px;
  }

  .company-refresh,
  .quality-refresh,
  .home-page .services-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-refresh {
    gap: 35px;
  }

  .home-page .home-about .editorial-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 0;
    margin-top: 38px;
    padding-top: 27px;
  }

  .home-page .editorial-stats > div {
    padding: 0 20px;
  }

  .home-page .editorial-stats > div:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }

  .home-page .editorial-stats > div:nth-child(even) {
    border-right: 0;
  }

  .home-page .editorial-stats strong {
    font-size: clamp(22px, 4.7vw, 32px);
    white-space: normal;
  }

  .home-page .editorial-stats > div > span {
    font-size: 10px;
  }

  .home-page .services-layout {
    gap: 27px;
    margin-top: 32px;
  }

  .home-page .services-picture {
    position: relative;
    top: auto;
    aspect-ratio: 3 / 2;
  }

  .home-page .service-row h3 {
    font-size: 25px;
  }

  .capability-index {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-top: 32px;
    padding: 26px;
  }

  .capability-index > div + div {
    padding-top: 25px;
    border-top: 1px solid #d2e2ef25;
  }

  .capability-index h3 {
    margin-bottom: 16px;
  }

  .capability-index ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
  }

  .quality-refresh {
    gap: 35px;
  }

  .quality-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 29px 24px;
    margin-top: 36px;
  }

  .customer-strip {
    padding: 60px 0;
  }

  .customer-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: 29px;
  }

  .customer-motion {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    margin-top: 22px;
  }

  .customer-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 25px;
  }

  .customer-logo img {
    height: 47px;
  }
}

@media (max-width: 380px) {
  .home-page .cinema-content {
    padding-top: 145px;
  }

  .capability-index {
    padding: 23px;
  }

  .capability-index ul,
  .quality-principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .editorial-stats strong {
    font-size: 21px;
  }

  .home-page .editorial-stats strong small {
    font-size: 13px;
  }

  .customer-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-animated .customer-marquee {
    mask-image: none;
  }

  .customer-animated .customer-track {
    width: 100%;
    animation: none;
    transform: none;
  }

  .customer-animated .customer-group {
    display: grid;
    flex: 0 0 100%;
    width: 100%;
    padding-right: 0;
    gap: 20px;
  }

  .customer-animated .customer-group[aria-hidden="true"] {
    display: none;
  }

  .customer-animated .customer-logo {
    width: 100%;
  }

  .customer-logo img {
    transition: none;
  }
}
