/* Work */
.work-hub-hero,
.work-case-hero {
  background:
    radial-gradient(ellipse at 86% 18%, rgba(32, 112, 157, 0.09), transparent 30%),
    #f4f5f3;
}

.work-hub-hero {
  min-height: 66svh;
}

.work-case-hero {
  min-height: 82svh;
}

.work-case-hero h1 {
  max-width: 1180px;
  font-size: clamp(3.4rem, 6.3vw, 7.6rem);
}

.work-context {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.work-context span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #cad5da;
  border-radius: 999px;
  color: #49606d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.work-list {
  padding: 0 var(--page-pad) clamp(100px, 11vw, 170px);
  background: #f4f5f3;
}

.work-card {
  display: grid;
  grid-template-columns: 70px minmax(250px, 0.7fr) minmax(0, 1fr) 28px;
  gap: clamp(24px, 5vw, 78px);
  align-items: start;
  padding: clamp(42px, 6vw, 76px) 0;
  border-top: 1px solid #cad5da;
  color: inherit;
  text-decoration: none;
}

.work-card:last-child {
  border-bottom: 1px solid #cad5da;
}

.work-card__index {
  color: #586b76;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
}

.work-card__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.work-card__body {
  max-width: 720px;
}

.work-card__body p {
  margin: 0;
  color: #536873;
  font-size: 1rem;
  line-height: 1.72;
}

.work-card__meta {
  display: block;
  margin-bottom: 18px;
  color: #586b76;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-card__signal {
  color: #49738b;
  transition: transform 180ms ease;
}

.work-card:hover .work-card__signal,
.work-card:focus-visible .work-card__signal {
  transform: translate(4px, -4px);
}

.case-prose {
  grid-column: 2 / 4;
  max-width: 880px;
}

.case-prose p {
  margin: 0 0 24px;
  color: #536873;
  font-size: clamp(1.02rem, 1.22vw, 1.18rem);
  line-height: 1.78;
}

.case-prose p:last-child {
  margin-bottom: 0;
}

.case-callout {
  grid-column: 2 / 4;
  margin-top: clamp(52px, 7vw, 92px);
  padding: clamp(34px, 5vw, 62px);
  background: #07141d;
  color: #f5f8fa;
}

.case-callout p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.case-note {
  margin-top: 18px;
  color: #70828c;
  font-size: 0.78rem;
  line-height: 1.65;
}

.acquisition-flow {
  grid-column: 2 / 4;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(56px, 7vw, 92px);
  padding-top: 34px;
}

.acquisition-flow::before {
  content: "";
  position: absolute;
  top: 39px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: #c3d0d6;
}

.acquisition-flow__step {
  position: relative;
  padding-top: 32px;
}

.acquisition-flow__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 3px solid #f4f5f3;
  border-radius: 50%;
  background: #2d708f;
  box-shadow: 0 0 0 1px #2d708f;
}

.acquisition-flow__step strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
}

.acquisition-flow__step small {
  color: #71848f;
  font-size: 0.74rem;
  line-height: 1.55;
}

.evidence-section {
  padding: clamp(100px, 10vw, 160px) var(--page-pad);
  background: #07141d;
  color: #f5f8fa;
}

.evidence-section__head {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.evidence-section .internal-section__number,
.evidence-section .internal-kicker {
  color: rgba(176, 202, 218, 0.55);
}

.evidence-section h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.7rem, 4.8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.evidence-section__lead {
  max-width: 780px;
  margin: 32px 0 0;
  color: rgba(205, 219, 227, 0.68);
  font-size: 1.02rem;
  line-height: 1.75;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  margin: clamp(68px, 8vw, 112px) 0 0 calc(25% + clamp(36px, 6vw, 96px));
}

.role-card {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.role-card__label {
  display: block;
  min-height: 44px;
  color: rgba(188, 209, 221, 0.58);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.role-metric {
  margin-top: 30px;
}

.role-metric + .role-metric {
  margin-top: 36px;
}

.role-metric__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 11px;
}

.role-metric__row span {
  color: rgba(210, 224, 232, 0.7);
  font-size: 0.84rem;
}

.role-metric__row strong {
  font-size: clamp(1.65rem, 2.8vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.role-track {
  height: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.role-track i {
  display: block;
  height: 100%;
  background: #6aa7c7;
}

.role-track--signal i {
  background: #c0dce9;
}

.evidence-footnote {
  max-width: 900px;
  margin: 44px 0 0 calc(25% + clamp(36px, 6vw, 96px));
  color: rgba(187, 207, 218, 0.53);
  font-size: 0.76rem;
  line-height: 1.65;
}

.journey-panel {
  grid-column: 2 / 4;
  margin-top: clamp(58px, 7vw, 96px);
}

.journey-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 46px;
  border-bottom: 1px solid #ccd5d9;
}

.journey-metric span {
  display: block;
  color: #7c8f9a;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-metric strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(2.8rem, 5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.journey-metric small {
  display: block;
  margin-top: 10px;
  color: #5d707b;
  font-size: 0.82rem;
  line-height: 1.55;
}

.journey-path {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
}

.journey-path span {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid #cbd6db;
  color: #405967;
  text-align: center;
  font-size: 0.77rem;
  line-height: 1.35;
}

.change-grid {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(60px, 7vw, 96px);
  border-top: 1px solid #ccd5d9;
}

.change-item {
  min-height: 240px;
  padding: 30px 34px 34px 0;
  border-right: 1px solid #d6dde0;
  border-bottom: 1px solid #d6dde0;
}

.change-item:nth-child(even) {
  padding-left: 34px;
  border-right: 0;
}

.change-item span {
  color: #586b76;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}

.change-item h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.change-item p {
  margin: 0;
  color: #5c6f7a;
  font-size: 0.92rem;
  line-height: 1.68;
}

.booking-flow {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid #ccd5d9;
  border-bottom: 1px solid #ccd5d9;
}

.booking-flow span {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid #d6dde0;
  color: #405967;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.booking-flow span:last-child {
  border-right: 0;
}

.outcome-section {
  padding: clamp(100px, 10vw, 160px) var(--page-pad);
  background: #06131d;
  color: #f5f8fa;
}

.outcome-section__head {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
}

.outcome-section .internal-section__number,
.outcome-section .internal-kicker {
  color: rgba(176, 202, 218, 0.55);
}

.outcome-section h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.7rem, 4.8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(68px, 8vw, 112px) 0 0 calc(25% + clamp(36px, 6vw, 96px));
  border-top: 1px solid rgba(255,255,255,0.13);
}

.growth-year {
  min-height: 230px;
  padding: 28px 28px 32px 0;
  border-right: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.growth-year + .growth-year {
  padding-left: 28px;
}

.growth-year:last-child {
  border-right: 0;
}

.growth-year__period {
  color: rgba(180, 204, 217, 0.55);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.growth-value {
  margin-top: 26px;
}

.growth-value strong {
  display: block;
  font-size: clamp(2rem, 3.3vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.growth-value span {
  display: block;
  margin-top: 8px;
  color: rgba(198, 216, 225, 0.62);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(54px, 7vw, 90px) 0 0 calc(25% + clamp(36px, 6vw, 96px));
}

.result-card {
  min-height: 210px;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,0.12);
  border-right: 0;
}

.result-card:last-child {
  border-right: 1px solid rgba(255,255,255,0.12);
}

.result-card span {
  color: rgba(181, 204, 216, 0.55);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.result-card strong {
  display: block;
  margin-top: 22px;
  font-size: clamp(2.2rem, 3.7vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.result-card p {
  margin: 14px 0 0;
  color: rgba(205, 219, 226, 0.68);
  font-size: 0.82rem;
  line-height: 1.58;
}

.outcome-note {
  max-width: 940px;
  margin: 28px 0 0 calc(25% + clamp(36px, 6vw, 96px));
  color: rgba(183, 204, 215, 0.54);
  font-size: 0.74rem;
  line-height: 1.65;
}

.work-related {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid #ccd5d9;
}

.work-related a {
  min-height: 148px;
  padding: 26px 30px 28px 0;
  border-right: 1px solid #d6dde0;
  border-bottom: 1px solid #d6dde0;
  color: inherit;
  text-decoration: none;
}

.work-related a:nth-child(even) {
  padding-left: 30px;
  border-right: 0;
}

.work-related span {
  color: #586b76;
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.work-related strong {
  display: block;
  margin-top: 15px;
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .work-card {
    grid-template-columns: 44px minmax(0, 1fr) 20px;
  }

  .work-card__body {
    grid-column: 2;
  }

  .case-prose,
  .case-callout,
  .acquisition-flow,
  .journey-panel,
  .change-grid,
  .booking-flow,
  .work-related {
    grid-column: 1;
  }

  .evidence-section__head,
  .outcome-section__head {
    grid-template-columns: 1fr;
  }

  .role-grid,
  .growth-grid,
  .result-grid,
  .evidence-footnote,
  .outcome-note {
    margin-left: 0;
  }

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

  .acquisition-flow {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .acquisition-flow::before {
    top: 16px;
    bottom: 16px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .acquisition-flow__step {
    min-height: 68px;
    padding: 2px 0 18px 34px;
  }

  .acquisition-flow__dot {
    top: 2px;
  }

  .journey-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-flow span:nth-child(3) {
    border-right: 0;
  }

  .booking-flow span:nth-child(-n+3) {
    border-bottom: 1px solid #d6dde0;
  }

  .growth-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .growth-year,
  .growth-year + .growth-year,
  .result-card,
  .result-card:last-child {
    padding: 28px 0;
    border-right: 0;
  }

  .result-card {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .work-case-hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .work-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .work-card__signal {
    display: none;
  }

  .work-card__title {
    font-size: clamp(1.7rem, 8vw, 2.7rem);
  }

  .journey-metrics,
  .change-grid,
  .work-related {
    grid-template-columns: 1fr;
  }

  .change-item,
  .change-item:nth-child(even),
  .work-related a,
  .work-related a:nth-child(even) {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
  }

  .journey-path,
  .booking-flow {
    grid-template-columns: 1fr;
  }

  .journey-path span,
  .booking-flow span {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid #d6dde0;
  }

  .booking-flow span:nth-child(3) {
    border-right: 0;
  }

  .growth-year {
    min-height: auto;
  }

  .result-card {
    min-height: auto;
  }
}


.role-grid--qualitative .role-card {
  min-height: 300px;
}

.role-card__statement {
  display: block;
  max-width: 620px;
  margin-top: 28px;
  font-size: clamp(1.7rem, 2.7vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.role-grid--qualitative .role-card p {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(205, 219, 227, 0.68);
  font-size: 0.92rem;
  line-height: 1.7;
}

.result-grid--private-safe {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .result-grid--private-safe {
    grid-template-columns: 1fr;
  }
}


/* Narrow-screen containment */
.work-card > *,
.case-prose,
.case-callout,
.change-grid,
.change-item,
.work-related,
.work-related > * {
  min-inline-size: 0;
}

@media (max-width: 640px) {
  .work-case-hero h1,
  .case-callout p,
  .change-item h3,
  .work-related strong {
    overflow-wrap: anywhere;
  }
}
