/* ============================================================
   Transformation — Page-specific styles
   transformation.css · v1
   ============================================================ */


/* ----- Panel surface variant ----- */

.panel-surface {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}


/* ----- Hero ----- */

.page-hero {
  padding: 22px 0 0;
}

.hero-shell {
  padding: 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy {
  padding: 22px 18px 20px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.page-hero-title {
  margin: 0;
  max-width: 10.8ch;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 760;
}

.page-hero-copy {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.58;
  letter-spacing: -.012em;
  color: var(--muted);
}

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -.01em;
  color: var(--blue);
}
.hero-text-link:hover {
  color: var(--blue-2);
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 10px;
}

.hero-proof-item {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-proof-value {
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 740;
  color: var(--text);
}

.hero-proof-copy {
  font-size: 14px;
  line-height: 1.55;
  color: #35404d;
}

.hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 12px);
  min-height: 100%;
  border: 1px solid rgba(207,216,228,.7);
  background: #dfe5eb;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/* ----- Case cards ----- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.case-card--strategy {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.94));
}

.case-kicker {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 780;
  color: var(--blue);
}

.case-title {
  margin: 0;
  font-size: clamp(30px, 2.4vw, 40px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 735;
}

.case-flow {
  margin: 0;
  display: grid;
}

.case-flow-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.case-flow dt {
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 760;
  color: var(--blue);
  padding-top: 2px;
}

.case-flow dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #27303b;
}

.case-footnote {
  margin: -2px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted-2);
}


/* ----- Approach ----- */

.approach-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.approach-card {
  background: linear-gradient(180deg, rgba(255,255,255,.985), rgba(249,251,253,.94));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 10px;
}

.approach-no {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(22,58,140,.08);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .08em;
}

.approach-title {
  margin: 0;
  font-size: 26px;
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 725;
}

.approach-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1180px) {
  .hero-grid,
  .case-grid,
  .approach-grid--3 {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 420px;
  }

  .case-grid {
    max-width: 640px;
  }
}

@media (max-width: 980px) {
  .page-hero-title {
    max-width: none;
  }

  .hero-proof-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding-top: 14px;
  }

  .hero-shell {
    padding: 10px;
    border-radius: 28px;
  }

  .hero-copy {
    padding: 8px 4px 4px;
  }

  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-text-link,
  .page-hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero-media {
    min-height: 300px;
    border-radius: 20px;
  }

  .case-card,
  .approach-card {
    padding: 22px;
    border-radius: 24px;
  }

  .case-flow-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
