/* Home-page system: page-specific sections, carousels, testimonials, responsive layout, and polish. */
:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

.home-page .page,
.home-splash {
  background: #ffffff;
}

.home-splash {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-block: clamp(38px, 4.5vw, 64px);
}

/* Logo wall: duplicated tracks create continuous movement; home-shell.js waits for images before applying the ready state. */
.client-logo-wall {
  width: 100%;
  display: grid;
  gap: clamp(26px, 3.5vw, 42px);
  overflow: hidden;
  padding-block: 18px;
  opacity: 0;
  transition: opacity 420ms ease;
}

.client-logo-wall.is-ready {
  opacity: 1;
}

.logo-row {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 20%,
    #000 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 20%,
    #000 80%,
    transparent 100%
  );
}

.logo-track {
  width: max-content;
  display: flex;
  padding-block: 9px;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.logo-set {
  display: flex;
  align-items: center;
  gap: clamp(54px, 5vw, 86px);
  padding-right: clamp(54px, 5vw, 86px);
}

.logo-set > span {
  --logo-scale: 1;
  width: clamp(112px, 9.5vw, 154px);
  height: clamp(36px, 3.4vw, 48px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.logo-set img {
  width: auto;
  max-width: 100%;
  height: 36px;
  max-height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0.92;
  transform: scale(var(--logo-scale));
}

/* Optical normalization keeps varied brand proportions visually balanced. */
.logo-set .logo--microsoft { --logo-scale: 0.72; }
.logo-set .logo--adidas { --logo-scale: 1; }
.logo-set .logo--lululemon { --logo-scale: 0.8; }
.logo-set .logo--pandora { --logo-scale: 0.72; }
.logo-set .logo--holt-renfrew { --logo-scale: 0.92; }
.logo-set .logo--hp { --logo-scale: 1.18; }
.logo-set .logo--htc { --logo-scale: 0.72; }
.logo-set .logo--zscaler { --logo-scale: 0.82; }
.logo-set .logo--connected { --logo-scale: 1.5; }
.logo-set .logo--specialized { --logo-scale: 0.82; }
.logo-set .logo--weetabix { --logo-scale: 1.55; }
.logo-set .logo--toys-r-us { --logo-scale: 0.9; }
.logo-set .logo--softchoice { --logo-scale: 0.78; }
.logo-set .logo--iph { --logo-scale: 1.15; }
.logo-set .logo--blue-cross { --logo-scale: 1.55; }
.logo-set .logo--canada-media-fund { --logo-scale: 1.7; }
.logo-set .logo--mastercard { --logo-scale: 1.18; }
.logo-set .logo--ivey { --logo-scale: 1.2; }
.logo-set .logo--humber { --logo-scale: 0.92; }
.logo-set .logo--rotman { --logo-scale: 1.08; }
.logo-set .logo--degroote { --logo-scale: 0.78; }
.logo-set .logo--columbia { --logo-scale: 0.78; }

.logo-row--right .logo-track {
  animation: logoMoveRight 84s linear infinite;
}

.logo-row--left .logo-track {
  animation: logoMoveLeft 84s linear infinite;
}

.client-logo-wall:not(.is-ready) .logo-track {
  animation-play-state: paused;
}

@keyframes logoMoveRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes logoMoveLeft {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Home hero layers photography beneath copy and pagination; later artwork rules refine these base styles. */
.home-banner {
  width: calc(100% - clamp(24px, 4vw, 56px));
  margin: 0 auto clamp(56px, 7vw, 96px);
}

.home-banner__viewport {
  position: relative;
  width: 100%;
  height: min(720px, calc(100svh - 40px));
  min-height: 560px;
  overflow: hidden;
  border-radius: 4px;
  background: #244b3e;
  isolation: isolate;
}

.home-banner__slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 0 7%);
  transform: translate3d(1.5%, 0, 0);
  transition:
    opacity 900ms ease,
    clip-path 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 1200ms;
}

.home-banner__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  clip-path: inset(0);
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

.home-banner__slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.035);
  transition: transform 8s linear;
}

.home-banner__slide:nth-child(2) img {
  object-position: 58% center;
}

.home-banner__slide:nth-child(3) img {
  object-position: 64% center;
}

.home-banner__slide:nth-child(4) img {
  object-position: 54% center;
}

.home-banner__slide.home-banner__slide--prism img {
  object-position: 78% 18%;
}

.home-banner__slide.is-active img {
  transform: scale(1.095);
}

.home-banner__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(15, 49, 39, 0.57);
  box-shadow: inset 38vw 0 120px rgba(7, 35, 28, 0.24);
}

.home-banner__content {
  position: relative;
  z-index: 2;
  width: min(620px, 48%);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: clamp(44px, 9vw, 168px);
  padding-block: 72px 96px;
  color: #ffffff;
}

.home-banner__eyebrow {
  margin-bottom: 24px;
  color: var(--type-hero-eyebrow-color);
  font-family: var(--type-hero-eyebrow-font-family);
  font-size: var(--type-hero-eyebrow-size);
  font-weight: var(--type-hero-eyebrow-weight);
  letter-spacing: var(--type-hero-eyebrow-letter-spacing);
  line-height: var(--type-hero-eyebrow-line-height);
  text-transform: var(--type-hero-eyebrow-text-transform);
}

.home-banner__content h1,
.home-banner__content h2 {
  max-width: 600px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 600;
  line-height: var(--type-hero-heading-line-height);
  letter-spacing: 0;
  text-align: left;
  text-indent: 0;
  text-wrap: normal;
}

.home-banner__slide:first-child .home-banner__content h1 {
  color: #e4aa81;
}

.home-banner__content p {
  max-width: var(--type-hero-copy-width);
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--type-hero-copy-size);
  font-weight: 400;
  line-height: var(--type-hero-copy-line-height);
  text-wrap: balance;
}

.home-banner__content a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  padding: 0 24px;
  background: rgba(110, 156, 86, 0.78);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.home-banner__content a:hover,
.home-banner__content a:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: #6e9c56;
  transform: translateY(-2px);
}

.home-banner__controls {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-banner__arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  padding: 0;
  background: rgba(0, 55, 44, 0.5);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 220ms ease, border-color 220ms ease;
}

.home-banner__arrow .nka-arrow-icon {
  transition: transform var(--arrow-motion-duration) var(--arrow-motion-ease);
}

.home-banner__arrow:hover,
.home-banner__arrow:focus-visible {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 87, 70, 0.86);
}

/* Responsive home composition: cards and proof modules progressively reduce column count. */
@media (max-width: 1024px) {
  .home-banner__viewport {
    height: 580px;
    min-height: 0;
  }

  .home-banner__content {
    width: min(560px, 62%);
    margin-left: 64px;
  }

  .home-banner__content h1,
  .home-banner__content h2 {
    font-size: 46px;
  }

  .home-banner__content p {
    max-width: var(--type-hero-copy-width);
    font-size: var(--type-hero-copy-size);
  }
}

@media (max-width: 760px) {
  .home-splash {
    min-height: 0;
    padding-block: 38px 48px;
  }

  .client-logo-wall {
    gap: 24px;
  }

  .logo-row {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 16%,
      #000 84%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 16%,
      #000 84%,
      transparent 100%
    );
  }

  .logo-set {
    gap: 34px;
    padding-right: 34px;
  }

  .logo-set > span {
    width: 104px;
    height: 38px;
  }

  .logo-set img {
    height: 31px;
  }

  .logo-track {
    padding-block: 7px;
  }

  .home-banner {
    width: calc(100% - 24px);
    margin-bottom: 52px;
  }

  .home-banner__viewport {
    height: 590px;
    border-radius: 3px;
  }

  .home-banner__slide img,
  .home-banner__slide:nth-child(2) img,
  .home-banner__slide:nth-child(3) img,
  .home-banner__slide:nth-child(4) img {
    object-position: 62% center;
  }

  .home-banner__slide.home-banner__slide--prism img {
    object-position: 76% center;
  }

  .home-banner__shade {
    background: rgba(10, 48, 37, 0.66);
    box-shadow: inset 0 -220px 100px rgba(5, 35, 27, 0.18);
  }

  .home-banner__content {
    width: auto;
    justify-content: flex-end;
    margin: 0;
    padding: 48px 26px 112px;
  }

  .home-banner__eyebrow {
    margin-bottom: 18px;
    font-size: var(--type-hero-eyebrow-size);
  }

  .home-banner__content h1,
  .home-banner__content h2 {
    max-width: 330px;
    font-size: 36px;
    line-height: var(--type-hero-heading-line-height);
  }

  .home-banner__content p {
    max-width: var(--type-hero-copy-width);
    margin-top: 24px;
    font-size: clamp(17px, 4.6vw, 19px);
  }

  .home-banner__content a {
    min-height: 46px;
    margin-top: 30px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .home-banner__controls {
    right: 22px;
    bottom: 24px;
  }

  .home-banner__arrow {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation-play-state: paused !important;
  }

  .home-banner__slide,
  .home-banner__slide img {
    transition: none;
  }
}

/* Client testimonial composition: quote visibility and selected portraits are synchronized by home-shell.js. */
.client-experience {
  padding: clamp(34px, 4vw, 58px) 0;
  background: #ffffff;
}

.client-experience__inner {
  width: var(--page-rail-width);
  margin-inline: auto;
}

.client-experience__intro {
  margin-bottom: 34px;
}

.client-experience__intro > span {
  display: block;
  margin-bottom: 12px;
  color: #6e9c56;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.client-experience__intro h2 {
  max-width: 760px;
  margin: 0;
  color: #005746;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
}

.client-experience__stage {
  position: relative;
  min-height: 580px;
  overflow: hidden;
}

.home-banner__arrow:is(:hover, :focus-visible) [data-lucide="arrow-left"] {
  transform: translateX(calc(-1 * var(--arrow-hover-distance)));
}

.home-banner__arrow:is(:hover, :focus-visible) [data-lucide="arrow-right"] {
  transform: translateX(var(--arrow-hover-distance));
}

.client-experience__stories {
  position: absolute;
  inset: 0;
}

.client-story {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 520ms ease, transform 720ms cubic-bezier(.22,.61,.36,1), visibility 0s linear 720ms;
}

.client-story.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.client-story__portrait {
  display: none;
}

.client-story__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--testimonial-logo-top-inset) clamp(42px, 7vw, 100px) 105px;
  text-align: center;
}

.client-story__logo {
  margin-bottom: var(--testimonial-logo-bottom-gap);
}

.client-story blockquote {
  margin: 0;
}

/* Longer client statements use a denser editorial scale so the attribution
   remains clear of the fixed portrait rail without compressing every quote. */
.client-story--long blockquote {
  max-width: min(1180px, calc(100% - 40px));
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.25;
}

.client-story--long .client-story__content p {
  margin-top: 24px;
}

.client-story__content p {
  display: flex;
  flex-direction: column;
  gap: var(--testimonial-attribution-stack-gap);
  margin: var(--testimonial-attribution-top-gap) 0 0;
  color: var(--testimonial-role-color);
  font-size: var(--testimonial-role-size);
  line-height: 1.45;
}

.client-story__content strong {
  color: var(--testimonial-author-color);
  font-size: var(--testimonial-author-size);
  font-weight: 600;
}

.client-experience__portraits {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 14px;
  display: flex;
  justify-content: safe center;
  gap: clamp(12px, 1.1vw, 16px);
  width: min(1080px, calc(100% - 16px));
  max-width: none;
  overflow-x: auto;
  /* Horizontal scrolling also clips block-axis overflow. Reserve enough space
     for the active portrait's single pulse ring at its widest frame. */
  padding: 34px 20px;
  transform: translateX(-50%);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 50%;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.client-experience__portraits::-webkit-scrollbar {
  display: none;
}

.client-portrait {
  position: relative;
  width: var(--testimonial-avatar-size);
  height: var(--testimonial-avatar-size);
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: .72;
  transition: opacity 320ms ease, transform 520ms cubic-bezier(.22, .61, .36, 1);
  scroll-snap-align: center;
}

.client-portrait > img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 0 rgba(0, 87, 70, 0);
  transition: box-shadow 420ms ease;
}

.client-portrait > span {
  position: absolute;
  right: var(--testimonial-avatar-badge-inline-offset);
  bottom: var(--testimonial-avatar-badge-block-offset);
  width: var(--testimonial-avatar-badge-size);
  height: var(--testimonial-avatar-badge-size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
}

.client-portrait > span img {
  width: var(--testimonial-avatar-badge-logo-width);
  max-height: var(--testimonial-avatar-badge-logo-height);
  object-fit: contain;
}

.client-portrait:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.client-portrait.is-active {
  z-index: 2;
  opacity: 1;
  transform: none;
}

.client-portrait.is-active > img {
  box-shadow:
    0 0 0 3px #005746,
    0 0 0 7px rgba(255, 255, 255, .82);
}

.client-portrait:focus-visible {
  outline: 2px solid #005746;
  outline-offset: 3px;
  transform: translateY(-5px);
}

.client-experience__arrow {
  position: absolute;
  z-index: 7;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(0, 87, 70, .24);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, .94);
  color: #005746;
  box-shadow: 0 8px 22px rgba(0, 87, 70, .12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.client-experience__arrow--previous {
  left: clamp(12px, 2vw, 24px);
}

.client-experience__arrow--next {
  right: clamp(12px, 2vw, 24px);
}

.client-experience__arrow .nka-arrow-icon {
  transition: transform var(--arrow-motion-duration) var(--arrow-motion-ease);
}

.client-experience__arrow:hover,
.client-experience__arrow:focus-visible {
  background: #005746;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.client-experience__arrow:is(:hover, :focus-visible) [data-lucide="arrow-left"] {
  transform: translateX(calc(-1 * var(--arrow-hover-distance)));
}

.client-experience__arrow:is(:hover, :focus-visible) [data-lucide="arrow-right"] {
  transform: translateX(var(--arrow-hover-distance));
}

.client-experience__arrow:focus-visible {
  outline: 2px solid #005746;
  outline-offset: 3px;
}

.client-experience__next {
  position: absolute;
  z-index: 5;
  right: clamp(34px, 5vw, 72px);
  bottom: 36px;
  min-height: 46px;
  border: 1px solid rgba(0, 87, 70, .25);
  border-radius: 6px;
  padding: 0 18px;
  background: #005746;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease;
}

.client-experience__next:hover,
.client-experience__next:focus-visible {
  background: #2f745d;
}

.client-experience__next span {
  margin-left: 8px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .client-experience__stage {
    min-height: 620px;
  }

  .client-story {
    grid-template-columns: 1fr;
  }

  .client-story__content {
    padding: 48px 42px 132px;
  }

  .client-story blockquote {
    font-size: clamp(23px, 3.2vw, 26px);
  }

  .client-story--long blockquote {
    max-width: 100%;
  }

  .client-experience__portraits {
    left: 50%;
    justify-content: flex-start;
    padding-inline: 20px;
  }

  .client-experience__arrow {
    display: none;
  }
}

@media (max-width: 700px) {
  .client-experience__inner {
    width: var(--page-rail-width);
  }

  .client-experience__intro {
    padding-inline: 12px;
  }

  .client-experience__stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .client-experience__stories {
    position: relative;
    inset: auto;
    order: 1;
  }

  .client-story {
    position: absolute;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .client-story.is-active {
    position: relative;
    inset: auto;
  }

  .client-story__portrait {
    object-position: center 28%;
  }

  .client-story__content {
    justify-content: flex-start;
    padding: var(--testimonial-logo-top-inset) 24px 28px;
  }

  .client-story__logo {
    margin-bottom: var(--testimonial-logo-bottom-gap);
  }

  .client-story blockquote {
    font-size: clamp(20px, 5.4vw, 23px);
    line-height: 1.32;
  }

  .client-experience__portraits {
    position: relative;
    inset: auto;
    order: 2;
    align-self: stretch;
    width: calc(100% + 2px);
    max-width: none;
    gap: 18px;
    margin-inline: -1px;
    padding: 28px 20px 34px;
    transform: none;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 18px,
      #000 calc(100% - 18px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 18px,
      #000 calc(100% - 18px),
      transparent 100%
    );
  }

}

@media (prefers-reduced-motion: reduce) {
  .client-story,
  .client-experience__arrow {
    transition: none;
  }
}

/* Client-story showcase: each story uses a licensed editorial image as the
   full canvas. A directional dark veil preserves copy contrast without making
   the photograph feel like a separate floating placeholder. */
.home-story-showcase {
  padding: clamp(76px, 8vw, 120px) 0 clamp(84px, 9vw, 132px);
  background: var(--color-surface);
}

.home-story-showcase__inner {
  width: var(--page-rail-width);
  margin-inline: auto;
}

.home-story-showcase__heading {
  margin-bottom: 38px;
  text-align: center;
}

.home-story-showcase__heading h2 {
  margin: 0;
  color: var(--evergreen);
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
}

.home-story-showcase__stage {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 72% 34%, color-mix(in srgb, var(--green) 16%, transparent), transparent 34%),
    linear-gradient(
      112deg,
      color-mix(in srgb, var(--evergreen) 58%, var(--ink)) 0%,
      var(--ink) 58%,
      color-mix(in srgb, var(--green) 18%, var(--ink)) 100%
    );
  isolation: isolate;
}

.home-story-showcase__slide {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  min-height: clamp(500px, 39vw, 580px);
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  opacity: 0;
  visibility: hidden;
  isolation: isolate;
  transition:
    opacity var(--motion-slow) var(--motion-ease-soft),
    visibility 0s linear var(--motion-slow);
}

.home-story-showcase__slide::after {
  position: absolute;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(5, 22, 18, 0.98) 0%,
      rgba(5, 22, 18, 0.94) 30%,
      rgba(5, 22, 18, 0.72) 48%,
      rgba(5, 22, 18, 0.28) 70%,
      rgba(5, 22, 18, 0.12) 100%
    );
  content: "";
  inset: 0;
  pointer-events: none;
}

.home-story-showcase__slide--iqmetrix::after {
  background:
    linear-gradient(
      90deg,
      rgba(21, 10, 48, .98) 0%,
      rgba(30, 10, 58, .94) 32%,
      rgba(62, 10, 75, .72) 52%,
      rgba(103, 8, 112, .18) 76%,
      transparent 100%
    );
}

.home-story-showcase__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.home-story-showcase__copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(48px, 5vw, 76px);
  color: var(--color-text-inverse);
  text-align: left;
}

.home-story-showcase__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--color-text-inverse) 76%, var(--moss));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-story-showcase__client-logo {
  display: grid;
  overflow: hidden;
  width: 104px;
  height: 42px;
  place-items: center;
  margin-bottom: clamp(30px, 2.6vw, 38px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 31, 25, 0.16);
}

.home-story-showcase__client-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-story-showcase__client-logo--microsoft,
.home-story-showcase__client-logo--lululemon,
.home-story-showcase__client-logo--holt-renfrew,
.home-story-showcase__client-logo--iph,
.home-story-showcase__client-logo--specialized {
  width: 128px;
}

.home-story-showcase__client-logo--adidas {
  width: 76px;
  padding-top: 2px;
  padding-bottom: 14px;
}

.home-story-showcase__client-logo--iqmetrix {
  width: 116px;
}

/* The Specialized lockup's visible artwork sits low within its source canvas.
   Balance it optically while preserving the shared logo-box dimensions. */
.home-story-showcase__client-logo--specialized {
  padding-top: 5px;
  padding-bottom: 11px;
}

.home-story-showcase__copy h3 {
  max-width: 19ch;
  margin: 0;
  color: inherit;
  font-family: var(--font-body);
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

.home-story-showcase__copy p {
  display: none;
}

.home-story-showcase__copy .button {
  margin-top: clamp(30px, 3vw, 40px);
  border-color: color-mix(in srgb, var(--color-text-inverse) 62%, transparent);
  background: var(--color-surface);
  color: var(--color-brand);
}

.home-story-showcase__slide:has(.home-story-showcase__media--specialized) .home-story-showcase__copy .button {
  margin-top: clamp(46px, 4vw, 58px);
}

.home-story-showcase__copy .button:hover,
.home-story-showcase__copy .button:focus-visible {
  border-color: var(--color-brand-accent);
  background: var(--color-brand-accent);
  color: var(--color-text-inverse);
}

.home-story-showcase__media {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: inherit;
  inset: 0;
}

.home-story-showcase__media img {
  --story-media-x-offset: 0px;
  --story-media-y-offset: 0px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(var(--story-media-x-offset), var(--story-media-y-offset)) scale(1.025);
  transition: transform 1.4s var(--motion-ease-soft);
}

.home-story-showcase__media--microsoft img {
  object-position: 62% center;
}

.home-story-showcase__media--iqmetrix {
  background:
    radial-gradient(circle at 82% 62%, rgba(255, 50, 138, .96) 0%, rgba(230, 14, 192, .66) 23%, transparent 48%),
    radial-gradient(circle at 62% 4%, rgba(187, 13, 196, .9) 0%, transparent 42%),
    linear-gradient(112deg, #171137 0%, #4b175a 40%, #a20b9a 71%, #ed0bbe 100%);
}

.home-story-showcase__media--iqmetrix img {
  --story-media-y-offset: clamp(16px, 1.6vw, 24px);
  width: min(62%, 920px);
  height: 100%;
  margin-left: auto;
  object-fit: contain;
  object-position: right center;
}

.home-story-showcase__media--adidas img,
.home-story-showcase__media--lululemon img,
.home-story-showcase__media--iph img,
.home-story-showcase__media--specialized img {
  object-position: 68% center;
}

.home-story-showcase__media--holt-renfrew img {
  object-position: center;
}

.home-story-showcase__media--specialized {
  background: #020202;
}

.home-story-showcase__media--specialized img {
  /* The helmet sits left of center in its black source canvas; shift that
     canvas right while keeping the copy and the product separate. */
  --story-media-x-offset: clamp(72px, 8vw, 140px);
  object-fit: contain;
  object-position: right center;
}

.home-story-showcase__slide.is-active .home-story-showcase__media img {
  transform: translate(var(--story-media-x-offset), var(--story-media-y-offset)) scale(1);
}

.home-story-showcase__dots {
  z-index: 4;
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .home-story-showcase__slide {
    min-height: 640px;
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .home-story-showcase__slide::after {
    background:
      linear-gradient(
        180deg,
        rgba(5, 22, 18, 0.18) 0%,
        rgba(5, 22, 18, 0.48) 38%,
        rgba(5, 22, 18, 0.94) 72%,
        rgba(5, 22, 18, 0.98) 100%
      );
  }

  .home-story-showcase__slide--iqmetrix::after {
    background:
      linear-gradient(
        180deg,
        rgba(21, 10, 48, .04) 0%,
        rgba(31, 9, 57, .2) 35%,
        rgba(25, 8, 48, .9) 72%,
        rgba(16, 8, 36, .98) 100%
      );
  }

  .home-story-showcase__media--iqmetrix img {
    width: 100%;
    height: 76%;
    margin: 0;
    object-position: 64% top;
  }

  .home-story-showcase__media--specialized img {
    --story-media-x-offset: 0px;
    object-position: center top;
  }

  .home-story-showcase__copy {
    min-height: 640px;
    justify-content: flex-end;
    padding: clamp(40px, 7vw, 64px) clamp(40px, 7vw, 64px) 92px;
  }

  .home-story-showcase__media {
    width: 100%;
    height: 100%;
  }

  .home-story-showcase__dots {
    margin-bottom: 12px;
  }
}

@media (max-width: 560px) {
  .home-story-showcase {
    padding-block: 58px 76px;
  }

  .home-story-showcase__inner {
    width: var(--page-rail-width);
  }

  .home-story-showcase__heading {
    padding-inline: 12px;
  }

  .home-story-showcase__heading h2 {
    font-size: clamp(36px, 10vw, 44px);
  }

  .home-story-showcase__stage {
    border-radius: var(--radius-lg);
  }

  .home-story-showcase__copy {
    min-height: 620px;
    padding: 42px 28px 88px;
  }

  .home-story-showcase__copy h3 {
    max-width: 16ch;
    font-size: clamp(30px, 8.8vw, 38px);
  }

  .home-story-showcase__copy .button {
    width: auto;
    justify-content: center;
    margin-top: var(--space-5);
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-story-showcase__slide,
  .home-story-showcase__media img,
  .home-story-showcase__dots button {
    transition: none;
  }
}

/* Gradient-led home hero and image-free highlights. */
.home-banner:not(.home-banner--legacy) {
  width: 100%;
  margin: 0;
  padding: 0;
}

.home-banner:not(.home-banner--legacy) .home-banner__viewport {
  position: relative;
  min-height: var(--hero-banner-min-height);
  height: auto;
  border-radius: 0;
  overflow: hidden;
  background: #365f53;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide {
  position: absolute;
  display: grid;
  align-items: end;
  min-height: var(--hero-banner-min-height);
  padding: var(--hero-banner-pad-top) var(--hero-banner-gutter) var(--hero-banner-pad-bottom);
  clip-path: none;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 24% 26%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(145deg, #005746 0%, #2e7d52 54%, #6e9c56 100%);
  transform: none;
  transition: opacity .9s ease-in-out, visibility 0s linear .9s;
  pointer-events: none;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide.is-active {
  position: relative;
  clip-path: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 1;
  transition: opacity .9s ease-in-out, visibility 0s;
  pointer-events: auto;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide img {
  --ken-burns-from-scale: var(--hero-ken-burns-from-scale);
  --ken-burns-from-x: var(--hero-ken-burns-from-x);
  --ken-burns-from-y: var(--hero-ken-burns-from-y);
  --ken-burns-to-scale: var(--hero-ken-burns-to-scale);
  --ken-burns-to-x: var(--hero-ken-burns-to-x);
  --ken-burns-to-y: var(--hero-ken-burns-to-y);
  transform: translate3d(
      var(--ken-burns-from-x),
      var(--ken-burns-from-y),
      0
    )
    scale(var(--ken-burns-from-scale));
  transform-origin: center;
  display: none;
  opacity: 0;
  transition: opacity 2.4s cubic-bezier(.45, 0, .2, 1);
  will-change: transform;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide:nth-child(2) img {
  --ken-burns-from-scale: 1.13;
  --ken-burns-from-x: 12px;
  --ken-burns-from-y: 0px;
  --ken-burns-to-scale: 1.06;
  --ken-burns-to-x: -14px;
  --ken-burns-to-y: -8px;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide:nth-child(3) img {
  --ken-burns-from-scale: 1.06;
  --ken-burns-from-x: 10px;
  --ken-burns-from-y: -8px;
  --ken-burns-to-scale: 1.15;
  --ken-burns-to-x: -8px;
  --ken-burns-to-y: 8px;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide:nth-child(4) img {
  --ken-burns-from-scale: 1.12;
  --ken-burns-from-x: -12px;
  --ken-burns-from-y: -5px;
  --ken-burns-to-scale: 1.05;
  --ken-burns-to-x: 12px;
  --ken-burns-to-y: 7px;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide:nth-child(5) img {
  --ken-burns-from-scale: 1.05;
  --ken-burns-from-x: 8px;
  --ken-burns-from-y: 7px;
  --ken-burns-to-scale: 1.14;
  --ken-burns-to-x: -10px;
  --ken-burns-to-y: -8px;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide:nth-child(6) img {
  --ken-burns-from-scale: 1.1;
  --ken-burns-from-x: 10px;
  --ken-burns-from-y: -4px;
  --ken-burns-to-scale: 1.04;
  --ken-burns-to-x: -10px;
  --ken-burns-to-y: 5px;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--rings img {
  object-position: 58% 12%;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide.is-active img {
  opacity: 0;
  animation: none;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--prism img,
.home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion img,
.home-banner:not(.home-banner--legacy) .home-banner__slide--shared-direction img {
  display: block;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion img {
  /* Keep the activating gesture and kinetic artwork in view while the left
     side remains quiet enough for the strategy copy. */
  object-position: 72% center;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--shared-direction img {
  object-position: 74% center;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--client-stories img {
  object-position: center;
}

@media (min-width: 721px) {
  .home-banner:not(.home-banner--legacy) .home-banner__slide--prism img {
    --ken-burns-from-x: -18px;
    --ken-burns-to-x: -8px;
  }
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--prism.is-active img,
.home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion.is-active img,
.home-banner:not(.home-banner--legacy) .home-banner__slide--shared-direction.is-active img {
  opacity: 1;
  visibility: visible;
  animation: home-hero-ken-burns var(--hero-ken-burns-pass-duration) var(--hero-ken-burns-pass-ease) both;
}

/* The initial LCP image is intentionally static. Motion is reserved for
   slides the visitor selects after the page has become interactive. */
.home-banner:not(.home-banner--legacy) .home-banner__slide--positioning.is-active img {
  animation: none;
  transition: none;
  transform: scale(var(--hero-ken-burns-from-scale));
}

.home-banner:not(.home-banner--legacy) .home-banner__shade {
  opacity: 0;
  transition: none;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide.is-active .home-banner__shade {
  opacity: 1;
}

@keyframes home-hero-ken-burns {
  from {
    transform: translate3d(
        var(--ken-burns-from-x),
        var(--ken-burns-from-y),
        0
      )
      scale(var(--ken-burns-from-scale));
  }

  to {
    transform: translate3d(
        var(--ken-burns-to-x),
        var(--ken-burns-to-y),
        0
      )
      scale(var(--ken-burns-to-scale));
  }
}

.home-banner__slide--jade {
  background: linear-gradient(118deg, #174d42 0%, #3f8061 52%, #a8c985 100%);
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--jade .home-banner__shade {
  background: linear-gradient(
    90deg,
    rgba(9, 42, 33, .84) 0%,
    rgba(9, 42, 33, .76) 30%,
    rgba(9, 42, 33, .4) 52%,
    rgba(9, 42, 33, 0) 68%
  );
  box-shadow: none;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--slate .home-banner__shade {
  background: linear-gradient(
    90deg,
    rgba(9, 42, 33, .86) 0%,
    rgba(9, 42, 33, .78) 30%,
    rgba(9, 42, 33, .42) 52%,
    rgba(9, 42, 33, 0) 68%
  );
  box-shadow: none;
}

.home-banner__slide--slate {
  background: linear-gradient(122deg, #39494d 0%, #6f8580 55%, #c8d0ca 100%);
}

.home-banner__slide--moss {
  background: linear-gradient(120deg, #315240 0%, #718b52 56%, #c5c79a 100%);
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--moss .home-banner__shade {
  background: linear-gradient(
    90deg,
    rgba(9, 42, 33, .86) 0%,
    rgba(9, 42, 33, .78) 30%,
    rgba(9, 42, 33, .42) 52%,
    rgba(9, 42, 33, 0) 68%
  );
  box-shadow: none;
}

.home-banner__slide--peach {
  background: linear-gradient(120deg, #315b51 0%, #7d7463 54%, #d6a47d 100%);
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--peach .home-banner__shade {
  background: linear-gradient(
    90deg,
    rgba(9, 42, 33, .86) 0%,
    rgba(9, 42, 33, .78) 30%,
    rgba(9, 42, 33, .42) 52%,
    rgba(9, 42, 33, 0) 68%
  );
  box-shadow: none;
}

.home-banner__slide--ember {
  background: linear-gradient(120deg, #315b51 0%, #766354 54%, #b66f4d 100%);
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--ember .home-banner__shade {
  background: linear-gradient(
    90deg,
    rgba(9, 42, 33, .86) 0%,
    rgba(9, 42, 33, .78) 30%,
    rgba(9, 42, 33, .42) 52%,
    rgba(9, 42, 33, 0) 68%
  );
  box-shadow: none;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide .home-banner__shade {
  background: var(--hero-image-overlay);
  box-shadow: none;
}

.home-banner:not(.home-banner--legacy) .home-banner__content {
  position: relative;
  z-index: 2;
  width: var(--hero-banner-content-width);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-banner-content-gap);
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #fff;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity .22s ease,
    transform .22s ease;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide.is-active .home-banner__content {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity .72s ease .5s,
    transform .72s cubic-bezier(.22, .61, .36, 1) .5s;
}

.home-banner:not(.home-banner--legacy) .home-banner__eyebrow {
  color: var(--type-hero-eyebrow-color);
  margin: 0;
}

.home-banner:not(.home-banner--legacy) .home-banner__content h1,
.home-banner:not(.home-banner--legacy) .home-banner__content h2 {
  max-width: var(--type-hero-heading-width);
  margin: 0;
  color: #fff;
  font-size: var(--type-hero-heading-size);
  line-height: var(--type-hero-heading-line-height);
  text-align: left;
  text-indent: 0;
  text-wrap: normal;
}

.home-banner:not(.home-banner--legacy) .home-banner__content p {
  max-width: var(--type-hero-copy-width);
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: var(--type-hero-copy-size);
  line-height: var(--type-hero-copy-line-height);
}

.home-banner:not(.home-banner--legacy) .home-banner__dots {
  position: absolute;
  z-index: 5;
  right: clamp(24px, 5vw, 78px);
  bottom: clamp(24px, 4vw, 58px);
}

@media (max-width: 820px) {
  .home-banner:not(.home-banner--legacy) .home-banner__dots {
    right: var(--hero-pagination-mobile-inline);
    bottom: var(--hero-pagination-mobile-bottom);
    left: auto;
  }
}

/* Service-card rail exposes its measured viewport through CSS variables; the controller owns snapping and grouped navigation. */
/* Home pathways: the rounded core clips each hover layer; each point shares its sector's destination and hover state. */
.home-pathways {
  background: var(--color-surface-cream);
  padding: clamp(96px, 8vw, 160px) 0;
}

/* The rail aligns the diagram with page content; the taller panel reserves
   a stable placeholder for four future story images or designs. */
/* The centered navigation straddles the panel's top edge; the page rail
   gives the long placeholder the same horizontal bounds as other content. */
.home-pathways__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.home-pathways__layout .home-pathways__stage {
  --pathways-size: clamp(280px, 27vw, 336px);
  margin-inline: auto;
  z-index: 2;
  margin-bottom: -80px;
}
.home-pathways__story-panel {
  opacity: 1;
  transition: opacity var(--hero-image-reveal-duration) var(--hero-image-reveal-ease), scale var(--hero-image-reveal-duration) var(--hero-image-reveal-ease);
  position: relative;
  width: 100%;
  min-height: 480px;
  height: clamp(480px, 42vw, 600px);
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  background: var(--color-brand);
}
/* The quadrant intro controller owns completion. Reveal the story panel only
   when it removes is-intro after the complete diagram has arrived. */
.home-pathways__layout:has(.home-pathways__stage.is-intro) .home-pathways__story-panel {
  scale: .97;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-pathways__story-panel { transition: none; }
}
.home-pathways__story-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* Shared hero motion also applies when these placeholders become images. */
  transform: translate3d(var(--hero-ken-burns-from-x), var(--hero-ken-burns-from-y), 0) scale(var(--hero-ken-burns-from-scale));
  animation: ethosHeroImageDrift var(--hero-ken-burns-pass-duration) var(--hero-ken-burns-pass-ease) infinite alternate;
  transition: opacity var(--hero-crossfade-duration) var(--hero-crossfade-ease);
}
.home-pathways__story-layer img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Every image fills its animated layer at every breakpoint. The wide source
   crops around the laptop rather than exposing the underlying gradient. */
/* Preserve the keyboard at the lower edge throughout the shared 18s pass. */
.home-pathways__story-layer[data-story-layer="why"] { transform-origin: center bottom; animation-name: pathwayWhyDrift; }
.home-pathways__story-layer[data-story-layer="why"] img { width: 100%; height: 100%; object-fit: cover; object-position: 46% bottom; }
@keyframes pathwayWhyDrift {
  from { transform: translateX(var(--hero-ken-burns-from-x)) scale(var(--hero-ken-burns-from-scale)); }
  to { transform: translateX(var(--hero-ken-burns-to-x)) scale(var(--hero-ken-burns-to-scale)); }
}
@media (min-width: 1025px) {
  .home-pathways__story-panel { height: auto; min-height: 0; aspect-ratio: 1613 / 758; }
}
@media (prefers-reduced-motion: reduce) {
  .home-pathways__story-layer[data-story-layer="why"] { animation: none; transform: none; }
}
/* Placeholder art direction uses brand colours until story artwork is supplied. */
.home-pathways__story-layer[data-story-layer="what"] { background: radial-gradient(ellipse at 20% 25%, var(--color-brand-accent), transparent 65%), linear-gradient(135deg, var(--color-brand), var(--color-surface-warm)); }
.home-pathways__story-layer[data-story-layer="why"] { background: radial-gradient(ellipse at 80% 30%, var(--color-focus), transparent 65%), linear-gradient(45deg, var(--color-brand), var(--color-brand-accent)); }
.home-pathways__story-layer[data-story-layer="impact"] { background: radial-gradient(ellipse at 70% 80%, var(--color-brand-accent), transparent 60%), linear-gradient(160deg, var(--color-surface-warm), var(--color-brand)); }
.home-pathways__story-layer[data-story-layer="how"] { background: radial-gradient(ellipse at 25% 80%, var(--color-focus), transparent 65%), linear-gradient(30deg, var(--color-brand), var(--color-brand-accent)); }
.home-pathways__story-panel[data-pathway-story="what"] [data-story-layer="what"],
.home-pathways__story-panel[data-pathway-story="why"] [data-story-layer="why"],
.home-pathways__story-panel[data-pathway-story="impact"] [data-story-layer="impact"],
.home-pathways__story-panel[data-pathway-story="how"] [data-story-layer="how"] { opacity: 1; }
@media (max-width: 1024px) {
  .home-pathways__layout { grid-template-columns: 1fr; }
  .home-pathways__story-panel { min-height: 320px; height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-pathways__story-layer { transition: none; animation: none; transform: none; }
}

.home-pathways__stage {
  --pathways-size: clamp(360px, 36vw, 424px);
  position: relative;
  width: min(100%, var(--pathways-size));
  height: var(--pathways-size);
  margin-inline: auto;
}

.home-pathways__core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: var(--color-brand);
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
}

.home-pathways__core:focus-within {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

.home-pathways__guides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.home-pathways__guides path {
  fill: none;
  stroke: var(--moss);
  stroke-width: 1;
  stroke-dasharray: 5 5;
}

.home-pathways__sector {
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  position: absolute;
  inset: 0;
  color: var(--color-text-inverse);
  text-decoration: none;
  background: transparent;
  transition: background 1800ms var(--motion-ease-soft);
}

.home-pathways[data-active-pathway="what"] .home-pathways__sector--what,
.home-pathways[data-active-pathway="how"] .home-pathways__sector--how,
.home-pathways[data-active-pathway="why"] .home-pathways__sector--why,
.home-pathways[data-active-pathway="impact"] .home-pathways__sector--impact,
.home-pathways__sector:is(:hover, :focus-visible) {
  background: var(--color-brand-accent);
}



/* Overscan the top sector mask by one pixel to keep its edge seamless. */
.home-pathways__sector--what { clip-path: polygon(-1px -1px, calc(100% + 1px) -1px, 50% 50%); }
.home-pathways__sector--how { clip-path: polygon(0 0, 50% 50%, 0 100%); }
.home-pathways__sector--why { clip-path: polygon(100% 0, 100% 100%, 50% 50%); }
.home-pathways__sector--impact { clip-path: polygon(0 100%, 50% 50%, 100% 100%); }

.home-pathways__label {
  position: absolute;
  display: grid;
  gap: var(--space-1);
  font-family: var(--font-body);
  line-height: 1;
}

.home-pathways__label span {
  color: var(--moss);
  font-size: var(--type-body);
  text-transform: uppercase;
}

.home-pathways__label strong {
  color: var(--color-text-inverse);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
}

.home-pathways__sector--what .home-pathways__label,
.home-pathways__sector--impact .home-pathways__label {
  left: 50%;
  text-align: left;
  transform: translateX(-50%);
}

.home-pathways__sector--what .home-pathways__label { top: 9%; }
.home-pathways__sector--impact .home-pathways__label { bottom: 11%; }
.home-pathways__sector--how .home-pathways__label { top: 50%; left: 7%; transform: translateY(-50%); }
.home-pathways__sector--why .home-pathways__label { top: 50%; right: 7%; transform: translateY(-50%); }

.home-pathways__mark {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 96px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-md);
  background: var(--color-surface-cream);
  /* Intercept pointer hits so the decorative logo cannot activate a sector below. */
  pointer-events: auto;
  cursor: default;
}

.home-pathways__mark > span {
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-brand-accent);
}

.home-pathways__mark img { display: block; width: 48px; height: 48px; }

/* Reveal the whole diagram with one gentle zoom; the panel follows completion.
   Scale endpoints are local composition choices; timing uses shared hero tokens. */
.home-pathways__stage.is-intro { opacity: 0; scale: .92; pointer-events: none; }
.home-pathways__stage.is-intro.is-revealed {
  animation: pathwaysStageIn var(--hero-image-reveal-duration) var(--hero-image-reveal-ease) both;
}
@keyframes pathwaysStageIn {
  from { opacity: 0; scale: .92; }
  to { opacity: 1; scale: 1; }
}

/* Mobile keeps the same four triangular links and centered decorative mark,
   scaled together rather than replacing the diagram with separate cards. */
@media (max-width: 760px) {
  .home-pathways { padding: var(--space-7) 0; }
  .home-pathways__layout .home-pathways__stage {
    --pathways-size: clamp(260px, 76vw, 320px);
    max-width: 100%;
    margin-bottom: -48px;
  }
  .home-pathways__label { gap: var(--space-1); }
  .home-pathways__label span { font-size: 12px; }
  .home-pathways__label strong { font-size: clamp(21px, 5.8vw, 26px); }
  .home-pathways__mark { width: 72px; }
  .home-pathways__mark > span { width: 52px; }
  .home-pathways__mark img { width: 36px; height: 36px; }
  .home-pathways__sector::after { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home-pathways__sector { transition: none; }
  .home-pathways__stage.is-intro { animation: none; opacity: 1; scale: 1; pointer-events: auto; }
  .home-pathways__layout:has(.home-pathways__stage.is-intro) .home-pathways__story-panel { opacity: 1; scale: 1; pointer-events: auto; }
}

.home-highlights.is-relocating {
  display: none;
}

.home-highlights {
  scroll-margin-top: 110px;
  /* The cards land on the canonical page rail. The scrollport extends by the
     lift-safe area so card elevation is not clipped outside that rail. */
  --highlights-gutter: var(--page-rail-inset);
  --highlights-lift-safe-area: clamp(16px, 1.5vw, 24px);
  /* The gap must never be narrower than the lift-safe inset; otherwise the
     leading edge of card four can peek into a three-card frame. */
  --highlights-gap: clamp(24px, 2vw, 30px);
  --highlights-viewport-width: 100vw;
  --card-title-size: clamp(24px, 2vw, 31px);
  padding: clamp(86px, 7.5vw, 112px) 0 clamp(52px, 7vw, 92px);
  background: var(--color-surface-cream);
  overflow: hidden;
}

.home-highlights__header {
  width: var(--page-rail-width);
  margin: 0 auto 96px;
  text-align: center;
}

.home-highlights__header h2 {
  margin: 0;
  color: #6e9c56;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.05;
}

.home-highlights__header p {
  max-width: 980px;
  margin: 18px auto 0;
  color: #2e7d52;
  font-family: var(--font-body);
  font-size: clamp(21px, 1.8vw, 29px);
  font-weight: 300;
  line-height: 1.35;
}

.home-highlights__line-break {
  display: block;
}

.home-highlights__viewport {
  width: calc(
    100% - (2 * var(--highlights-gutter)) +
    (2 * var(--highlights-lift-safe-area))
  );
  margin: -24px auto -40px;
  padding-block: 24px 40px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--highlights-lift-safe-area);
  scrollbar-width: none;
}

/* Match the story rail's snap-safe navigation: scripted movement owns the
   intermediate frames and restores native snapping only after exact landing. */
.home-highlights__viewport.is-auto-scrolling {
  scroll-snap-type: none;
}

.home-highlights__viewport::-webkit-scrollbar {
  display: none;
}

.home-highlights__track {
  display: flex;
  gap: var(--highlights-gap);
  width: max-content;
  /* Reserve room inside the scrollport so a scaled card keeps both rounded
     edges visible, matching the client-story and industry-card rails. */
  padding: 0 var(--highlights-lift-safe-area);
}

.home-highlight {
  position: relative;
  width: calc(
    (var(--highlights-viewport-width) - (2 * var(--highlights-gap))) / 3
  );
  height: 1004px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--card-surface-border);
  scroll-snap-align: start;
  overflow: hidden;
  color: #005746;
  background: var(--card-surface-background);
}

.home-highlight.is-card-link,
.home-highlight.is-card-link * {
  cursor: pointer;
}

/* Match the client-story rail: horizontal scrollports clip broad shadow fields,
   so both rails communicate elevation through the shared lift alone. */
.home-highlights .home-highlight,
.home-highlights .home-highlight:hover,
.home-highlights .home-highlight:focus-within {
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .home-highlights__viewport.is-auto-scrolling .home-highlight,
  .home-highlights__viewport.is-auto-scrolling .home-highlight:hover,
  .home-highlights__viewport.is-auto-scrolling .home-highlight:focus-within {
    border-color: var(--card-surface-border);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.home-highlight::before,
.home-highlight::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  left: 0;
  aspect-ratio: var(--card-media-aspect-ratio);
  border-radius: var(--card-surface-radius) var(--card-surface-radius) 0 0;
  pointer-events: none;
}

.home-highlight::before {
  z-index: 0;
  background:
    radial-gradient(circle at 24% 26%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(145deg, #005746 0%, #2e7d52 54%, #6e9c56 100%);
}

.home-highlight::after {
  z-index: 1;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .16), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(0, 87, 70, .24), transparent 36%);
  opacity: .8;
}

.home-highlight > img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: var(--card-media-aspect-ratio);
  flex: 0 0 auto;
  display: block;
  border-radius: var(--card-surface-radius) var(--card-surface-radius) 0 0;
  object-fit: cover;
  object-position: center;
  -webkit-user-drag: none;
  opacity: 0;
  transition: transform var(--card-media-zoom-duration) var(--card-media-zoom-ease);
  will-change: transform;
}

.home-highlight > img.home-highlight__media--visible {
  opacity: 1;
}

/* Keep the leader, illuminated form, and surrounding system visible together. */
.home-highlight > img.home-highlight__media--human-ai {
  object-position: center 31%;
}

/* Preserve the portrait and prism together inside the wide service-card crop. */
.home-highlight > img.home-highlight__media--transformation {
  object-position: center 32%;
}

/* Keep both collaborators and the central overlap inside the wide card crop. */
.home-highlight > img.home-highlight__media--planning-office {
  object-position: center 42%;
}

.home-highlight__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: none;
  padding: var(--card-content-padding);
}

@media (hover: hover) and (pointer: fine) {
  .home-highlight:hover > img {
    transform: scale(var(--card-media-zoom-scale));
  }
}

.home-highlight h3,
.home-highlight p,
.home-highlight ul {
  position: relative;
  z-index: 1;
}

.home-highlight h3 {
  width: 100%;
  max-width: none;
  margin: 0 0 20px;
  min-height: calc(3 * var(--card-title-size) * var(--card-title-line-height));
  color: #2e7d52;
  font-family: var(--font-body);
  font-size: var(--card-title-size);
  font-weight: 400;
  text-shadow: -.16px 0 currentColor, .16px 0 currentColor;
  line-height: var(--card-title-line-height);
}

.home-highlight .home-highlight__description {
  max-width: none;
  margin: 0;
  min-height: calc(4 * 1em * 1.48);
  color: #33495e;
  font-size: clamp(18px, 1.25vw, 20px);
  font-style: italic;
  line-height: 1.48;
}

.home-highlight ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  height: 408px;
  margin: 12px 0 0;
  padding: 0;
  color: #28584f;
  font-size: clamp(12.5px, .86vw, 14px);
  line-height: 1.32;
  list-style: none;
}

.home-highlight li {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 13px 14px 18px;
  border: 1px solid rgba(0, 87, 70, .16);
  border-radius: 14px;
  background: rgba(247, 249, 244, .94);
  text-align: left;
}

.home-highlight__service-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-bottom: 9px;
  color: #2e7d52;
  stroke-width: 1.8;
}

.home-highlight li span {
  display: block;
}

.home-highlight__cta {
  align-self: flex-start;
  margin-top: 24px;
}

/* The card and its CTA describe one destination. Mirror the button's own
   hover treatment when the larger card is engaged, while retaining the
   link's independent hover and keyboard-focus behaviour. */
@media (hover: hover) and (pointer: fine) {
  .home-highlight:hover .home-highlight__cta {
    border-color: var(--color-brand-accent);
    background: var(--color-brand-accent);
    color: var(--color-text-inverse);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }

  .home-highlight:hover .home-highlight__cta .icon {
    transform: translateX(3px);
  }
}

.home-highlight:focus-within .home-highlight__cta {
  border-color: var(--color-brand-accent);
  background: var(--color-brand-accent);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.home-highlight:focus-within .home-highlight__cta .icon {
  transform: translateX(3px);
}

.home-highlights__controls {
  margin: 28px auto 0;
}

.home-highlights__toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #65726e;
  cursor: pointer;
}

@media (min-width: 721px) and (max-width: 1100px) {
  .home-banner:not(.home-banner--legacy) .home-banner__slide--prism img,
  .home-banner:not(.home-banner--legacy) .home-banner__slide--shared-direction:nth-child(3) img {
    --ken-burns-from-scale: var(--hero-banner-tablet-motion-from-scale);
    --ken-burns-from-y: 0px;
    --ken-burns-to-scale: var(--hero-banner-tablet-motion-to-scale);
    --ken-burns-to-y: 0px;
    transform-origin: var(--hero-banner-tablet-motion-transform-origin);
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--prism img {
    object-position: center top;
  }

  .home-highlight {
    width: calc(
      (var(--highlights-viewport-width) - var(--highlights-gap)) / 2
    );
  }
}

@media (max-width: 720px) {
  .home-highlights {
    --highlights-gap: 14px;
    --highlights-lift-safe-area: 14px;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide .home-banner__shade {
    background: var(--hero-image-overlay-mobile);
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--rings img {
    object-position: 72% center;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion img {
    object-position: 70% center;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--shared-direction img {
    object-position: center;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--client-stories img {
    object-position: 84% center;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__viewport {
    min-height: var(--hero-banner-mobile-min-height);
    height: auto;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide {
    min-height: var(--hero-banner-mobile-min-height);
    padding: var(--hero-banner-mobile-pad-top) 0 var(--hero-pagination-mobile-content-clearance);
  }

  .home-banner:not(.home-banner--legacy) .home-banner__content {
    width: var(--hero-banner-mobile-content-width);
    gap: var(--hero-banner-mobile-content-gap);
    margin-inline: auto;
    padding-bottom: 0;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__content h1,
  .home-banner:not(.home-banner--legacy) .home-banner__content h2 {
    max-width: 100%;
    font-size: var(--type-hero-heading-mobile-size);
  }

  .home-banner:not(.home-banner--legacy) .home-banner__content p {
    font-size: var(--type-hero-copy-mobile-size);
  }

  .home-banner:not(.home-banner--legacy) .home-banner__content a {
    min-height: 44px;
    padding-inline: 20px;
    font-size: 13px;
  }

  .home-highlights__header {
    width: var(--page-rail-width);
    margin-bottom: 72px;
  }

  .home-highlights__header h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .home-highlights__header p {
    max-width: 34ch;
    margin-top: 14px;
    font-size: clamp(18px, 5.2vw, 22px);
    line-height: 1.4;
  }

  .home-highlights__line-break {
    display: none;
  }

  .home-highlights__track {
    gap: var(--highlights-gap);
    padding-inline: var(--highlights-lift-safe-area);
  }

  .home-highlight {
    width: var(--highlights-viewport-width);
    height: auto;
    min-height: 690px;
    padding: 0;
  }

  .home-highlight > img {
    height: auto;
    aspect-ratio: var(--card-media-aspect-ratio);
    object-fit: cover;
  }

  .home-highlight__body {
    padding: var(--card-content-padding);
  }

  .home-highlight h3 {
    font-size: var(--card-title-size);
  }

  .home-highlight ul {
    height: 378px;
    gap: 8px;
    font-size: 12.5px;
  }

  .home-highlight li {
    padding: 12px 12px 16px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-highlights__nav-button {
    transition: none;
  }

  .home-highlight__cta,
  .home-highlight__cta .icon {
    transition: none;
  }

  .home-highlight:hover .home-highlight__cta,
  .home-highlight:focus-within .home-highlight__cta,
  .home-highlight:hover .home-highlight__cta .icon,
  .home-highlight:focus-within .home-highlight__cta .icon {
    transform: none;
  }

  .home-highlight > img,
  .home-highlight:hover > img {
    transform: none;
    transition: none;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide {
    transition: none;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide img,
  .home-banner:not(.home-banner--legacy) .home-banner__slide.is-active img {
    animation: none;
    transform: scale(1.04);
  }

  .home-highlights__viewport {
    scroll-behavior: auto;
  }
}

.home-banner:not(.home-banner--legacy) .home-banner__content a {
  margin-top: 0;
}

/* Keep a clean brand field beneath lazy hero photography so selecting another
   banner never exposes the old image-template grid while its photo fades in. */
.home-banner:not(.home-banner--legacy) .home-banner__slide {
  background-color: var(--color-brand);
  background-image: var(--nka-stage-field);
}

.home-banner:not(.home-banner--legacy) .home-banner__slide::after {
  position: absolute;
  z-index: 1;
  content: "";
  inset: 0;
  pointer-events: none;
  background-image: var(--nka-grain);
  background-size: 160px 160px;
  mix-blend-mode: soft-light;
  opacity: 0.14;
}

.home-banner:not(.home-banner--legacy) .home-banner__shade {
  z-index: 1;
  opacity: 1;
}

.home-banner:not(.home-banner--legacy) .home-banner__content {
  z-index: 2;
}

.home-highlight::before {
  background-color: #005746;
  background-image: url("assets/image-templates/05-home-highlight-1600x800.png?v=mega-label-readable-1");
  background-position: center;
  background-size: cover;
}

/* First-slide positioning statement: a stronger editorial serif treatment
   remains local to the home hero rather than changing shared hero type tokens
   or introducing another font request on the critical rendering path. */
.home-banner:not(.home-banner--legacy) .home-banner__slide--positioning .home-banner__content {
  width: var(--hero-banner-content-width);
  gap: clamp(22px, 2.3vw, 34px);
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--positioning .home-banner__eyebrow {
  font-size: clamp(13px, .9vw, 16px);
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--positioning .home-banner__content h1 {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(48px, 4.6vw, 70px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: normal;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--positioning .home-banner__promise {
  width: 100%;
  max-width: 100%;
  margin: clamp(4px, .7vw, 10px) 0 0;
  border-top: 2px solid rgba(215, 181, 96, .76);
  padding-top: clamp(24px, 2.1vw, 34px);
  color: #f39a71;
  font-family: var(--font-body);
  font-size: clamp(28px, 2.4vw, 38px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .home-banner:not(.home-banner--legacy) .home-banner__slide--positioning img,
  .home-banner:not(.home-banner--legacy) .home-banner__slide--positioning.is-active img {
    object-position: center top;
    transform: none;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--positioning .home-banner__content {
    width: var(--hero-banner-mobile-content-width);
    gap: 18px;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--positioning .home-banner__eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--positioning .home-banner__content h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.4vw, 46px);
    line-height: 1.14;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--positioning .home-banner__promise {
    max-width: 100%;
    margin-left: 0;
    padding-top: 20px;
    font-size: clamp(22px, 6.4vw, 28px);
    text-align: left;
  }
}

.home-highlight::after {
  background-image:
    linear-gradient(90deg, rgba(9, 66, 52, 0.3), rgba(9, 66, 52, 0.04)),
    var(--nka-grain);
  background-size: auto, 160px 160px;
  mix-blend-mode: soft-light;
  opacity: 0.32;
}

/* Final home all-caps label pass. */
.client-experience__intro > span {
  font-family: var(--font-body);
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-eyebrow-weight);
  letter-spacing: var(--type-eyebrow-letter-spacing);
  line-height: var(--type-eyebrow-line-height);
  text-transform: uppercase;
}
/* The homepage uses discrete elevated cards on a clean editorial surface.
   Suppress the global stage bloom here so it cannot read as a clipped
   rectangle behind the carousel; each card keeps its shared shadow token. */
.home-page .stage::before,
.home-page .stage::after {
  content: none;
}

/* The second home slide uses the persona hero's square-card stream geometry.
   Its imagery is hydrated only when that slide is selected. */
.home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion {
  background: var(--nka-stage-field);
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion .home-banner__shade {
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-brand) 88%, transparent), color-mix(in srgb, var(--color-brand) 38%, transparent) 46%, transparent 70%);
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion .home-banner__content {
  width: var(--hero-banner-content-width);
  height: auto;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion .home-banner__content h2 {
  font-size: clamp(42px, 4.4vw, 68px);
}

.home-offering-streams {
  position: absolute;
  z-index: 2;
  inset: 0 clamp(var(--space-4), 2vw, var(--space-6)) 0 auto;
  width: min(520px, 42%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(var(--space-2), 1vw, var(--space-4));
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  pointer-events: none;
}

.home-offering-stream {
  min-width: 0;
  overflow: hidden;
}

.home-offering-stream__track {
  display: flex;
  flex-direction: column;
  animation: homeOfferingStreamDown 84s linear infinite;
  will-change: transform;
}

.home-offering-stream--up .home-offering-stream__track {
  animation-name: homeOfferingStreamUp;
  animation-duration: 88s;
  animation-delay: -23s;
}

.home-offering-stream--delayed .home-offering-stream__track {
  animation-duration: 80s;
  animation-delay: -31s;
}

.home-banner__slide--strategy-motion:not(.is-active) .home-offering-stream__track {
  animation-play-state: paused;
}

.home-offering-stream__set {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.home-offering-card {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 0 clamp(var(--space-2), 1vw, var(--space-4));
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-surface) 35%, transparent);
  border-radius: var(--radius-card);
  background: var(--color-surface-warm);
  box-shadow: var(--shadow-sm);
}

/* Package and structure cards keep the same square footprint as framework
   cards while framing their existing scenes in a green field. */
.home-offering-card--package {
  background: var(--color-brand);
}

.home-offering-card--package::before {
  position: absolute;
  z-index: 2;
  inset: var(--space-2) 0 auto;
  content: "Package / Structure";
  color: var(--color-text-inverse);
  font-size: clamp(7px, 0.54vw, 9px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide .home-offering-card img,
.home-banner:not(.home-banner--legacy) .home-banner__slide.is-active .home-offering-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  visibility: visible;
  transform: none;
  animation: none;
  transition: none;
  will-change: auto;
}

.home-banner:not(.home-banner--legacy) .home-banner__slide .home-offering-card--package img,
.home-banner:not(.home-banner--legacy) .home-banner__slide.is-active .home-offering-card--package img {
  inset: 17% auto auto 25%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  object-fit: cover;
}

.home-offering-card figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface-warm);
  color: var(--color-brand);
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

@keyframes homeOfferingStreamUp {
  to { transform: translate3d(0, -50%, 0); }
}

@keyframes homeOfferingStreamDown {
  from { transform: translate3d(0, -50%, 0); }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion .home-banner__content {
    width: var(--hero-banner-content-width);
  }
}

/* The tablet hero keeps its shared 4:3 frame; start the card streams below
   the longer framework-and-structure copy within that frame. */
@media (min-width: 761px) and (max-width: 820px) {
  .home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion .home-offering-streams {
    inset-block-start: 65%;
  }
}

@media (max-width: 820px) {
  .home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion,
  .home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion.is-active {
    min-height: 920px;
    align-items: start;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion .home-banner__shade {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-brand) 88%, transparent), color-mix(in srgb, var(--color-brand) 56%, transparent) 38%, transparent 70%);
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion .home-banner__content {
    width: var(--hero-banner-mobile-content-width);
    margin-inline: auto;
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide--strategy-motion .home-banner__content h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .home-offering-streams {
    inset: 46% 0 0;
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: var(--space-2);
    padding-block: var(--space-4);
  }

  .home-offering-stream {
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }

  .home-offering-stream__track,
  .home-offering-stream__set {
    width: max-content;
    flex-direction: row;
  }

  .home-offering-stream__track {
    align-items: center;
    animation-name: homeOfferingStreamRight;
  }

  .home-offering-stream--up .home-offering-stream__track {
    animation-name: homeOfferingStreamLeft;
  }

  .home-offering-card {
    width: clamp(112px, 32vw, 132px);
    margin: 0 var(--space-2) 0 0;
    border-radius: var(--radius-md);
  }

  .home-banner:not(.home-banner--legacy) .home-banner__slide .home-offering-card--package img,
  .home-banner:not(.home-banner--legacy) .home-banner__slide.is-active .home-offering-card--package img {
    inset: 16% auto auto 29%;
    width: 42%;
    height: 42%;
  }

  .home-offering-card figcaption {
    min-height: 42px;
    padding: var(--space-1) var(--space-2);
    font-size: 10px;
  }
}

@keyframes homeOfferingStreamLeft {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes homeOfferingStreamRight {
  from { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .home-offering-stream__track {
    animation: none;
    transform: none;
    will-change: auto;
  }
}

/* Keep the navigation action fixed above every animated story layer. */
.home-pathways__story-link { position: absolute; right: var(--space-5); bottom: var(--space-5); z-index: 2; }
