.home-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 20px;
  background:
    radial-gradient(circle at 50% 12%, rgba(154, 28, 95, 0.34), transparent 36%),
    linear-gradient(180deg, #5a0f35 0%, #4c0c2d 100%);
}

.hero-shell {
  position: relative;
  width: 100vw;
}

.hero-copy {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-white);
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 4.2vw, 53px);
  line-height: 1.18;
}

.hero-copy p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 26px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 40px;
  margin-top: 18px;
  border-radius: 5px;
  background: rgba(173, 65, 116, 0.72);
  color: var(--color-white);
  font-size: 15px;
  line-height: 30px;
  transition: opacity var(--transition), transform var(--transition);
}

.hero-link:hover,
.hero-link:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}

.hero-carousel {
  width: 100vw;
  margin-top: -2px;
  overflow: hidden;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  touch-action: pan-y;
  user-select: none;
}

.hero-carousel.is-dragging {
  cursor: grabbing;
}

.hero-cards {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: max-content;
  min-width: 100%;
  padding-right: 13px;
  padding-bottom: 150px;
  will-change: transform;
}

.hero-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(260px, 19.45vw, 374px);
  aspect-ratio: 201 / 322;
  overflow: hidden;
  background: #771847;
  box-shadow: 0 18px 30px rgba(12, 2, 8, 0.18);
  transform: translateZ(0);
  transition: filter var(--transition);
  will-change: transform, opacity, box-shadow;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 12%, rgba(0, 0, 0, 0.58) 100%);
  transition: background var(--transition);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), border-color var(--transition);
}

.hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1);
  transition: filter var(--transition), transform var(--transition);
}

.hero-card-rise {
  margin-top: 0;
}

.hero-card-mid {
  margin-top: 0;
}

.hero-card-center {
  margin-top: 0;
}

.hero-card-right img {
  filter: saturate(1.15) contrast(1.05);
}

.hero-card:hover,
.hero-card:focus-visible {
  filter: brightness(1.08);
}

.hero-card:hover::before,
.hero-card:focus-visible::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 10%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-card:hover::after,
.hero-card:focus-visible::after {
  border-color: rgba(255, 255, 255, 0.24);
  opacity: 1;
}

.hero-card:hover img,
.hero-card:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.hero-card-tag {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.hero-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-size: 21px;
  line-height: 1.12;
}

.hero-card-title-icon {
  flex: 0 0 auto;
}

.hero-card-desc{
  bottom: 16px;
  position: absolute;
  left: 17px;
  right: 17px;
  z-index: 3;
  color: var(--color-white);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--color-white);
  font-size: 16px;
  line-height: 20px;
}

.scroll-arrow {
  display: block;
}

.section-kicker {
  margin: 0;
  font-size: 11px;
  line-height: 20px;
  letter-spacing: 0.12em;
  text-align: center;
}

.expertise-section {
  padding: 68px 0 20px;
  background: var(--color-white);
}

.expertise-title,
.capabilities-title {
  margin: 10px auto 0;
  font-family: "Playfair Display", serif;
  color: var(--color-black);
}

.expertise-title {
  max-width: 820px;
  font-size: clamp(30px, 3.8vw, 35px);
  line-height: 1.3;
  text-align: center;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.expertise-card {
  background: var(--color-plum);
  color: var(--color-white);
}

.expertise-card-link {
  display: block;
  height: 100%;
}

.expertise-card-featured {
  grid-row: span 2;
}

.expertise-card-wide {
  grid-column: 2 / span 2;
}

.expertise-image,
.expertise-abstract {
  width: 100%;
  height: 173px;
}

.expertise-image {
  object-fit: cover;
}

.expertise-abstract-rings {
  background:
    radial-gradient(circle at 28% 38%, rgba(255, 77, 169, 0.34), transparent 22%),
    radial-gradient(circle at 72% 62%, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(135deg, #2b0d1c 0%, #6c1d43 100%);
}

.expertise-abstract-linear {
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.55), transparent 14%),
    repeating-radial-gradient(circle at 38% 42%, rgba(41, 13, 30, 0.95) 0 6px, rgba(242, 224, 232, 0.92) 6px 12px),
    linear-gradient(135deg, #f3e1e7 0%, #523043 100%);
}

.expertise-card-body {
  padding: 22px 26px 18px;
}

.expertise-card h3,
.solution-card h2,
.capability-card h3,
.organisation-copy h2,
.cta-copy h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
}

.expertise-card h3 {
  max-width: 18ch;
  font-size: 25px;
  line-height: 1.15;
}

.expertise-card .section-rule,
.solution-card .section-rule {
  width: 52px;
  height: 3px;
  margin: 12px 0 12px;
  background: currentColor;
}

.expertise-card p,
.solution-card p,
.organisation-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.expertise-card p {
  max-width: 29ch;
}

.expertise-card-split {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(160px, 0.66fr);
  align-items: stretch;
  height: 100%;
}

.expertise-card-split .expertise-abstract {
  height: 100%;
  min-height: 172px;
}

.expertise-card-featured .expertise-card-body {
  padding-bottom: 24px;
}

.solutions-section {
  position: relative;
  z-index: 2;
  padding: 36px 0 0;
  margin-bottom: -96px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 14px;
  border-radius: 5px;
  box-shadow: 0 14px 34px rgba(17, 7, 13, 0.18);
}

.solution-card {
  min-height: 246px;
  padding: 34px 28px 24px;
  background: var(--color-black);
  color: var(--color-white);
}

.solution-card-primary {
  background: var(--color-plum);
}

.solution-card h2 {
  line-height: 1.25;
}

.solution-card p {
  line-height: 1.65;
}

.solution-card-action {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.framework-section {
  padding: 132px 0 60px;
  background: linear-gradient(180deg, #3a0a24 0%, #0a0508 100%);
  color: var(--color-white);
}

.framework-panel {
  position: relative;
  display: block;
  overflow: visible;
  width: min(100%, 1227px);
  aspect-ratio: 1227 / 373;
  margin: 32px auto 0;
  padding: 0;
}

.framework-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.framework-orbit-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.framework-orbit p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-white);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.framework-orbit-small {
  z-index: 4;
  left: 0;
  top: 13.67%;
  width: 23.06%;
  height: 72.92%;
}

.framework-orbit-medium {
  z-index: 3;
  left: 19.89%;
  top: 8.85%;
  width: 26.16%;
  height: 82.71%;
}

.framework-orbit-large {
  z-index: 2;
  left: 42.62%;
  top: 4.83%;
  width: 28.77%;
  height: 90.88%;
}

.framework-orbit-xl {
  z-index: 1;
  left: 68.54%;
  top: 0.54%;
  width: 31.46%;
  height: 99.46%;
}

.framework-orbit-arrow-bottom .framework-orbit-ring {
  transform: scaleY(-1);
}

.framework-badge {
  position: relative;
  position: absolute;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 8.07%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.framework-badge:nth-of-type(2) {
  z-index: 10;
  left: 17.76%;
  top: 37%;
}

.framework-badge:nth-of-type(4) {
  z-index: 11;
  left: 40.34%;
  top: 37%;
}

.framework-badge:nth-of-type(6) {
  z-index: 12;
  left: 66.26%;
  top: 37%;
}

.framework-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/images/index/framework-badge.svg") center / contain no-repeat;
}

.capabilities-section {
  padding: 64px 0 100px;
  background: var(--color-white);
}

.capabilities-title {
  max-width: 900px;
  margin-left: 0;
  font-size: clamp(42px, 4.6vw, 60px);
  line-height: 1.12;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 42px;
}

.capabilities-rule {
  width: 96px;
  height: 3px;
  margin-top: 24px;
  background: var(--color-black);
}

.capability-card {
  background: var(--color-white);
  color: var(--color-black);
}

.capability-card img {
  width: 100%;
  aspect-ratio: 342 / 342;
  object-fit: cover;
}

.capability-body {
  padding: 22px 18px 0;
}

.capability-card h3 {
  font-size: 36px;
  line-height: 1.1;
}

.capability-card p:last-of-type {
  max-width: 30ch;
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.58;
}

.capability-card a {
  display: inline-block;
  margin-top: 22px;
  color: #e60059;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.organisations-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 55% 28%, rgba(154, 28, 95, 0.38), transparent 38%),
    linear-gradient(180deg, #5b0f35 0%, #4d0b2c 100%);
  color: var(--color-white);
}

.organisations-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 150px;
  width: 100vw;
  min-height: 640px;
  margin-left: calc(50% - 50vw);
  padding: 150px clamp(20px, 2.8vw, 52px) 150px;
}

.organisation-rings {
  position: absolute;
  left: max(-54px, calc(50% - 820px));
  top: 50%;
  width: min(820px, 66vw);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, transparent 0 36%, rgba(255, 255, 255, 0.11) 36% calc(36% + 1px), transparent calc(36% + 1px)),
    radial-gradient(circle at center, transparent 0 55%, rgba(255, 255, 255, 0.1) 55% calc(55% + 1px), transparent calc(55% + 1px)),
    radial-gradient(circle at center, transparent 0 78%, rgba(255, 255, 255, 0.08) 78% calc(78% + 1px), transparent calc(78% + 1px));
  transform: translateY(-50%);
  pointer-events: none;
}

.organisation-logo-wall {
  position: relative;
  z-index: 2;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(146px, 180px));
  align-items: start;
  justify-content: center;
  gap: clamp(14px, 1.35vw, 18px);
  height: 560px;
  width: min(100%, 588px);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  transition: opacity var(--transition), visibility var(--transition);
}

.organisation-logo-wall.is-ready {
  opacity: 1;
  visibility: visible;
}

.organisation-logo-column {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  height: max-content;
  will-change: transform;
}

.organisation-logo-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
}

.logo-chip {
  display: grid;
  place-items: center;
  width: 100%;
  height: 78px;
  padding: 10px 14px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 14px 30px rgba(16, 4, 11, 0.2);
}

.logo-chip img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  object-position: center;
}

.organisation-copy {
  position: relative;
  z-index: 3;
  justify-self: start;
  max-width: 650px;
  text-align: left;
}

.organisation-copy h2 {
  font-size: clamp(44px, 4.55vw, 64px);
  line-height: 1.08;
}

.organisation-copy p {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.55;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}

.cta-shell {
  position: relative;
  display: block;
  width: 100vw;
  min-height: 460px;
  margin-left: calc(50% - 50vw);
  padding: 72px 88px 68px;
}

.cta-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  max-width: 760px;
  min-height: 240px;
  padding: 0;
  color: var(--color-white);
}

.cta-copy h2 {
  font-size: clamp(44px, 4.6vw, 58px);
  line-height: 1.28;
}

.cta-copy span {
  color: #e00489;
}

.cta-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.25);
  transform-origin: center;
}

.cta-button {
  position: absolute;
  z-index: 2;
  right: 104px;
  bottom: 60px;
  min-width: 206px;
  min-height: 48px;
  border-radius: 6px;
  background: #c70067;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 400;
}

.cta-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.08) 100%);
}

@media (max-width: 1180px) {
  .expertise-grid,
  .solutions-grid,
  .capabilities-grid,
  .cta-shell {
    grid-template-columns: 1fr;
  }

  .expertise-card-featured,
  .expertise-card-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .expertise-card-split {
    grid-template-columns: 1fr;
  }

  .expertise-card-split .expertise-abstract {
    min-height: 180px;
  }

  .solutions-section {
    margin-bottom: 0;
  }

  .solution-card {
    min-height: 0;
  }

  .framework-section {
    padding-top: 104px;
  }

  .framework-panel {
    margin-top: 36px;
  }

  .organisations-layout {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-height: 600px;
    margin-left: 0;
    padding: 56px 20px;
  }

  .organisation-logo-wall {
    grid-template-columns: repeat(3, minmax(112px, 148px));
    width: min(100%, 500px);
    height: 500px;
  }

  .logo-chip {
    height: 70px;
  }

  .organisation-copy h2 {
    font-size: clamp(40px, 4.8vw, 54px);
  }

  .cta-copy {
    min-height: 240px;
  }
}

@media (max-width: 900px) {
  .home-hero {
    padding-top: 72px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-cards {
    gap: 12px;
    padding-bottom: 40px;
  }

  .hero-card {
    flex-basis: clamp(220px, 45vw, 330px);
  }

  .expertise-card h3,
  .solution-card h2 {
    font-size: 26px;
  }

  .solution-card {
    padding: 30px 24px 24px;
  }

  .framework-badge {
    margin: 0;
    font-size: 14px;
  }

  .organisations-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    justify-items: center;
    min-height: 0;
  }

  .organisation-rings {
    left: 50%;
    top: 32%;
    width: min(720px, 116vw);
    transform: translate(-50%, -50%);
  }

  .organisation-copy {
    justify-self: center;
    text-align: center;
  }

  .organisation-copy h2 {
    max-width: 12ch;
    margin: 0 auto;
  }

  .organisation-copy p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding: 64px 0 24px;
  }

  .hero-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1,
  .cta-copy h2 {
    font-size: 32px;
  }

  .cta-shell {
    min-height: 420px;
    padding: 56px 20px 72px;
  }

  .capabilities-title {
    font-size: 34px;
  }

  .capability-body {
    padding-left: 0;
    padding-right: 0;
  }

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

  .hero-card {
    flex-basis: min(74vw, 290px);
    aspect-ratio: 176 / 295;
  }

  .expertise-section,
  .framework-section,
  .capabilities-section,
  .organisations-section {
    box-sizing: border-box;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .expertise-card-body {
    padding: 22px;
  }

  .expertise-image,
  .expertise-abstract {
    height: 210px;
  }

  .solution-card {
    padding: 24px 20px 22px;
  }

  .framework-panel {
    display: block;
    width: 100%;
    aspect-ratio: 1227 / 373;
    margin-top: 28px;
    overflow: visible;
  }

  .framework-orbit p {
    box-sizing: border-box;
    width: 100%;
    padding: 0 14%;
    font-size: clamp(7px, 2.45vw, 9px);
    line-height: 1.1;
  }

  .framework-badge {
    font-size: clamp(6px, 2vw, 8px);
    line-height: 1.05;
  }

  .framework-section .section-kicker {
    max-width: 28ch;
    margin: 0 auto;
  }

  .organisation-logo-wall {
    justify-self: center;
    box-sizing: border-box;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    height: 390px;
    width: min(100%, 320px);
    max-width: calc(100vw - 40px);
    margin: 0 auto;
  }

  .organisation-logo-track {
    gap: 6px;
  }

  .organisation-logo-track {
    padding-bottom: 6px;
  }

  .logo-chip {
    box-sizing: border-box;
    min-width: 0;
    height: 52px;
    padding: 8px;
  }

  .logo-chip img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 36px;
    margin: auto;
  }

  .organisation-copy {
    order: -1;
    max-width: 320px;
  }

  .organisation-copy h2 {
    font-size: 34px;
  }

  .cta-media {
    min-height: 0;
  }

  .cta-button {
    right: 18px;
    bottom: 24px;
    min-width: 190px;
    width: auto;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .organisation-logo-wall {
    width: min(100%, 300px);
    max-width: calc(100vw - 32px);
    gap: 5px;
  }

  .organisation-logo-track {
    gap: 5px;
    padding-bottom: 5px;
  }

  .logo-chip {
    height: 50px;
    padding: 7px;
  }

  .logo-chip img {
    max-height: 34px;
  }
}
