.group-page {
  --group-card-radius: 18px;
}

.group-page .site-header {
  position: absolute;
}

.group-page .main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.group-hero {
  position: relative;
  display: grid;
  min-height: min(860px, 100svh);
  align-items: center;
  overflow: hidden;
  color: white;
}

.group-hero > img,
.group-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.group-hero > img {
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.035);
  animation: hero-image-in 1.8s var(--ease) forwards;
}

.group-hero-shade {
  background: linear-gradient(90deg, rgba(1, 17, 23, .62), rgba(1, 17, 23, .12) 72%);
}

.group-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 88px;
}

.group-hero-content .eyebrow,
.group-hero-content > .text-link {
  opacity: 0;
  animation: rise-in .8s .25s var(--ease) forwards;
}

.group-hero h1 {
  max-width: 880px;
  margin: 0 0 38px;
  font-size: clamp(58px, 6.7vw, 102px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .86;
  opacity: 0;
  transform: translateY(60px);
  animation: rise-in 1s .38s var(--ease) forwards;
}

.group-hero h1 strong {
  font-weight: 700;
}

.group-hero-content > .text-link {
  animation-delay: .62s;
}

.origin-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
}

.origin-copy h2,
.sector-panel-copy h2,
.timeline-heading h2,
.companies h2,
.leadership h2,
.group-cta h2,
.responsibility h2 {
  margin: 0;
  font-size: clamp(46px, 5vw, 74px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .94;
}

.origin-copy h2 strong,
.group-cta h2 strong {
  font-weight: 700;
}

.origin-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted);
}

.origin-copy .text-link {
  margin-top: 36px;
}

.origin-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.origin-portraits figure {
  min-height: 530px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--group-card-radius);
  background: #e7e7e7;
}

.origin-portraits figure:nth-child(2) {
  transform: translateY(54px);
}

.origin-portraits img {
  height: 100%;
  object-fit: cover;
}

.origin-portraits figure:first-child img {
  object-position: 62% center;
}

.sector-stack {
  position: relative;
  background: #e8e8e8;
}

.sector-panel {
  --cover-progress: 0;
  position: sticky;
  z-index: var(--panel-index);
  top: 0;
  display: grid;
  min-height: 100svh;
  grid-template-columns: 54% 46%;
  overflow: hidden;
  background: white;
  box-shadow: 0 -18px 50px rgba(16, 42, 49, .08);
}

.sector-panel::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: rgba(0, 24, 31, calc(var(--cover-progress) * .18));
  content: "";
  pointer-events: none;
}

.sector-panel-media {
  min-height: 100svh;
  overflow: hidden;
  background: #d7d7d7;
}

.sector-panel-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1 + (1 - var(--cover-progress)) * .02));
  transition: transform .12s linear;
}

.sector-panel--intro .sector-panel-media img {
  object-position: 54% center;
}

.sector-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 140px);
  background: white;
}

.sector-panel-copy h2 {
  max-width: 650px;
  font-size: clamp(54px, 5.5vw, 88px);
}

.sector-panel-copy > p:not(.eyebrow) {
  max-width: 490px;
  margin: 34px 0 0;
  color: var(--muted);
}

.sector-panel-copy .text-link {
  align-self: flex-start;
  margin-top: 34px;
}

.timeline {
  position: relative;
  height: 320svh;
  background: var(--blue);
  color: white;
}

.timeline-sticky {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(58px, 7vh, 90px);
}

.timeline-heading {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 90px;
  align-items: end;
}

.timeline-heading h2 {
  font-size: clamp(52px, 5.5vw, 84px);
}

.timeline-heading > p {
  max-width: 560px;
  margin: 0 0 7px;
  font-weight: 500;
}

.timeline-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(38px, 5vh, 62px);
  margin-bottom: 26px;
}

.timeline-line::before,
.timeline-progress {
  position: absolute;
  top: 5px;
  left: 0;
  height: 2px;
  content: "";
}

.timeline-line::before {
  right: 0;
  background: rgba(255, 255, 255, .38);
}

.timeline-progress {
  z-index: 1;
  width: 0;
  background: white;
}

.timeline-line i {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--blue);
  transition: background .25s ease;
}

.timeline-line i:nth-of-type(2) {
  justify-self: center;
}

.timeline-line i:nth-of-type(3) {
  justify-self: end;
}

.timeline-line i.is-active {
  background: white;
}

.timeline-window {
  width: 100%;
  overflow: hidden;
}

.timeline-track {
  display: flex;
  width: max-content;
  gap: clamp(70px, 8vw, 130px);
  padding: 0 max(40px, calc((100vw - 1320px) / 2));
  will-change: transform;
}

.timeline-card {
  display: grid;
  width: min(1040px, calc(100vw - 180px));
  grid-template-columns: minmax(260px, 420px) minmax(280px, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(36px, 5vw, 80px);
  align-items: end;
}

.timeline-stage {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 500;
  letter-spacing: -.035em;
}

.timeline-card img {
  height: clamp(250px, 34vh, 390px);
  object-fit: cover;
  border-radius: var(--group-card-radius);
}

.timeline-card > div {
  align-self: center;
}

.timeline-card h3 {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
}

.timeline-card > div p {
  max-width: 450px;
  margin: 0;
}

.companies {
  background: white;
}

.companies h2 {
  max-width: 1000px;
  font-size: clamp(48px, 6vw, 90px);
}

.companies-intro {
  max-width: 780px;
  margin: 28px 0 clamp(54px, 7vw, 95px);
  color: var(--muted);
}

.companies-list {
  border-top: 1px solid var(--line);
}

.company-item {
  border-bottom: 1px solid var(--line);
}

.company-item h3 {
  margin: 0;
}

.company-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 24px 0;
  background: transparent;
  cursor: pointer;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 500;
  text-align: left;
}

.company-item button span {
  color: var(--blue);
  font-size: 34px;
  font-weight: 400;
  transition: transform .35s var(--ease);
}

.company-item button[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.company-answer {
  max-width: 780px;
  padding: 0 0 28px;
  color: var(--muted);
}

.company-answer p {
  margin: 0;
}

.leadership {
  overflow: hidden;
  background: #f7f7f5;
}

.leadership-layout {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.5fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: center;
}

.leadership-heading h2 {
  max-width: 500px;
}

.leadership-heading .text-link {
  margin-top: 38px;
}

.leadership-track {
  display: grid;
  grid-auto-columns: minmax(250px, 34%);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.leadership-track::-webkit-scrollbar {
  display: none;
}

.leadership-card {
  position: relative;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--group-card-radius);
  scroll-snap-align: start;
  background: #ddd;
  color: white;
}

.leadership-card::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 15, 20, .74));
  content: "";
}

.leadership-card img {
  height: 100%;
  object-fit: cover;
}

.leadership-card figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
}

.leadership-card figcaption strong {
  font-size: 20px;
}

.leadership-card figcaption span {
  font-size: 14px;
}

.group-cta {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  overflow: hidden;
  color: white;
  text-align: center;
}

.group-cta > img,
.group-cta > span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.group-cta > img {
  object-fit: cover;
  object-position: center 60%;
}

.group-cta > span {
  background: rgba(0, 142, 173, .86);
}

.group-cta .page-shell {
  position: relative;
  z-index: 1;
}

.group-cta h2 {
  font-size: clamp(50px, 6vw, 92px);
}

.group-cta .text-link {
  margin-top: 32px;
}

.responsibility {
  background: white;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 18px;
}

.responsibility-story,
.principles-card {
  min-height: 640px;
  overflow: hidden;
  border-radius: var(--group-card-radius);
}

.responsibility-story {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #f1f1ef;
}

.responsibility-copy {
  padding: clamp(36px, 5vw, 72px);
}

.responsibility-copy h2 {
  max-width: 680px;
}

.responsibility-copy .text-link {
  margin-top: 32px;
}

.responsibility-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px;
}

.responsibility-mosaic img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.principles-card {
  position: relative;
  color: white;
}

.principles-card > img,
.principles-card > span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.principles-card > img {
  object-fit: cover;
}

.principles-card > span {
  background: linear-gradient(180deg, transparent 35%, rgba(0, 18, 24, .78));
}

.principles-card > div {
  position: absolute;
  z-index: 1;
  right: clamp(30px, 4vw, 60px);
  bottom: clamp(32px, 5vw, 70px);
  left: clamp(30px, 4vw, 60px);
}

.principles-card h2 {
  font-size: clamp(44px, 4.5vw, 70px);
}

.principles-card .text-link {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .group-hero {
    min-height: 760px;
    align-items: end;
    padding-bottom: 86px;
  }

  .group-hero > img {
    object-position: 66% center;
  }

  .group-hero-shade {
    background: linear-gradient(180deg, rgba(2, 16, 21, .12), rgba(2, 16, 21, .72));
  }

  .group-hero h1 {
    font-size: clamp(55px, 10vw, 82px);
  }

  .origin-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .origin-portraits figure {
    min-height: 480px;
  }

  .origin-portraits figure:nth-child(2) {
    transform: translateY(36px);
  }

  .sector-stack {
    padding: 16px;
    background: white;
  }

  .sector-panel {
    position: relative;
    top: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    margin-bottom: 16px;
    border-radius: var(--group-card-radius);
    box-shadow: none;
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }

  .sector-panel.is-in-view {
    opacity: 1;
    transform: none;
  }

  .sector-panel::after {
    display: none;
  }

  .sector-panel-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .sector-panel-copy {
    padding: 44px 30px 52px;
    background: #f4f4f2;
  }

  .sector-panel-copy h2 {
    font-size: clamp(46px, 8vw, 70px);
  }

  .timeline {
    height: auto;
    padding-block: 80px;
  }

  .timeline-sticky {
    position: relative;
    top: auto;
    display: block;
    height: auto;
    overflow: visible;
    padding: 0;
  }

  .timeline-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline-line {
    margin-top: 44px;
  }

  .timeline-window {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .timeline-window::-webkit-scrollbar {
    display: none;
  }

  .timeline-track {
    gap: 16px;
    padding: 0 21px 14px;
    transform: none !important;
  }

  .timeline-card {
    width: min(82vw, 650px);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    scroll-snap-align: start;
  }

  .timeline-card img {
    width: 100%;
    height: 340px;
    margin-bottom: 28px;
  }

  .leadership-layout {
    grid-template-columns: 1fr;
  }

  .leadership-heading h2 {
    max-width: 650px;
  }

  .leadership-track {
    width: calc(100vw - 21px);
    grid-auto-columns: min(72%, 390px);
  }

  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .responsibility-story,
  .principles-card {
    min-height: 600px;
  }
}

@media (max-width: 620px) {
  .group-hero {
    min-height: 700px;
    padding-bottom: 72px;
  }

  .group-hero-content {
    padding-top: 100px;
  }

  .group-hero h1 {
    font-size: clamp(48px, 13vw, 64px);
    line-height: .9;
  }

  .origin-copy h2,
  .companies h2,
  .leadership h2,
  .group-cta h2,
  .responsibility h2 {
    font-size: 43px;
  }

  .origin-portraits {
    gap: 10px;
  }

  .origin-portraits figure {
    min-height: 330px;
    border-radius: 12px;
  }

  .origin-portraits figure:nth-child(2) {
    transform: translateY(24px);
  }

  .sector-stack {
    padding: 8px;
  }

  .sector-panel {
    margin-bottom: 10px;
    border-radius: 14px;
  }

  .sector-panel-media {
    aspect-ratio: 1 / .82;
  }

  .sector-panel-copy {
    padding: 34px 24px 40px;
  }

  .sector-panel-copy h2 {
    font-size: 45px;
  }

  .timeline {
    padding-block: 72px;
  }

  .timeline-heading h2 {
    font-size: 48px;
  }

  .timeline-card {
    width: 84vw;
  }

  .timeline-card img {
    height: 280px;
  }

  .timeline-card h3 {
    font-size: 32px;
  }

  .companies-intro {
    margin-bottom: 46px;
  }

  .company-item button {
    padding: 20px 0;
    font-size: 21px;
  }

  .leadership-track {
    width: calc(100vw - 16px);
    grid-auto-columns: 82%;
  }

  .leadership-card {
    min-height: 430px;
  }

  .group-cta {
    min-height: 520px;
    text-align: left;
  }

  .responsibility-story,
  .principles-card {
    min-height: 520px;
    border-radius: 14px;
  }

  .responsibility-mosaic {
    grid-template-columns: 1.2fr .8fr;
  }

  .responsibility-mosaic img {
    min-height: 205px;
  }

  .responsibility-mosaic img:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sector-panel {
    position: relative;
    min-height: auto;
  }

  .timeline {
    height: auto;
    padding-block: 80px;
  }

  .timeline-sticky {
    position: relative;
    height: auto;
  }

  .timeline-window {
    overflow-x: auto;
  }

  .timeline-track {
    transform: none !important;
  }
}
