/* transformation.css — Shared case study page styles */

/* Light hero gradient (overrides dark theme for hero) */
.transformation-hero {
  padding: 88px 0 92px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 24%, rgba(250,244,235,0.8), transparent 46%),
    radial-gradient(circle at 88% 12%, rgba(232,240,255,0.7), transparent 42%),
    linear-gradient(128deg, #F8F5EF 0%, #FFFFFF 48%, #EEF4FF 100%);
}

.transformation-hero .container {
  width: min(100% - 40px, 1280px);
}

.hero-layout {
  display: grid;
  gap: 56px;
}

.hero-layout .hero-copy {
  max-width: 900px;
}

.transformation-hero .eyebrow {
  color: #8A9098;
  letter-spacing: 0.18em;
}

.transformation-hero h1 {
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.96;
  text-transform: none;
  color: var(--ink);
}

.transformation-hero .lead {
  max-width: 700px;
  color: #5F6368;
}

.transformation-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.transformation-hero .btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.transformation-hero .btn-primary:hover {
  background: #363840;
  border-color: #363840;
}

.transformation-hero .btn {
  background: white;
  border-color: #c5c8cd;
  color: var(--ink);
}

.hero-image {
  overflow: hidden;
  border-radius: 28px;
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 28px;
}

/* Brand Foundation section */
.foundation {
  background: #f0f1f3;
  color: var(--ink);
}

.foundation-head {
  display: grid;
  gap: 18px;
  margin-bottom: 56px;
}

.foundation-head .eyebrow { color: #74787f; }
.foundation-head h2 { color: var(--ink); }
.foundation-head .copy { max-width: 640px; color: #656972; font-size: 17px; line-height: 1.58; margin: 0; }

.system-stack {
  display: grid;
  gap: 28px;
}

.system-block {
  border: 1px solid #cdd0d4;
  border-radius: 28px;
  background: white;
  padding: 34px;
  box-shadow: 0 18px 54px rgba(30,32,42,0.05);
}

.block-head { margin-bottom: 28px; }
.block-head .eyebrow { color: #74787f; }
.block-head h3 { color: var(--ink); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.08; }

/* Color palette */
.palette {
  display: grid;
  gap: 14px;
}

.swatch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  padding: 22px;
  border-radius: 20px;
  background: var(--swatch);
  color: var(--swatch-text);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.swatch:hover {
  transform: scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06), 0 12px 36px rgba(0,0,0,0.12);
}

.swatch strong { font-size: 16px; }
.hex { font-family: var(--font-mono); font-size: 14px; opacity: 0.82; }
.swatch span { font-size: 13px; line-height: 1.45; opacity: 0.76; }

/* Typography spec */
.type-spec { display: grid; gap: 34px; }
.spec-label { display: block; margin-bottom: 14px; color: #74787f; font-size: 13px; font-weight: 560; text-transform: uppercase; letter-spacing: 0.1em; }
.alphabet { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; word-break: break-all; color: var(--ink); }
.alphabet.display { font-family: var(--font-display); }
.alphabet.body { font-family: var(--font-body); }

/* Decision grid */
.decision-grid { display: grid; gap: 14px; }
.decision {
  border: 1px solid #cdd0d4;
  border-radius: 18px;
  padding: 22px;
  background: #f7f7f9;
}
.decision strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 16px; }
.decision .copy { margin: 0; color: #656972; font-size: 14px; line-height: 1.55; }

/* Phone mockup */
.phone-grid { display: grid; gap: 34px; align-items: start; }
.phone {
  max-width: 330px;
  padding: 12px;
  border: 1px solid #cdd0d4;
  border-radius: 42px;
  background: white;
  box-shadow: 0 28px 80px rgba(0,0,0,0.24);
}
.phone-screen {
  overflow: hidden;
  border-radius: 31px;
  height: 600px;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mobile-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.mobile-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5a5e66;
  font-size: 15px;
}
.mobile-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b6ee6;
  flex-shrink: 0;
}

/* Outcome notes */
.outcome-note {
  margin-top: 18px;
  padding: 24px;
  border-radius: 18px;
  background: var(--ink);
  color: white;
}
.outcome-note strong { display: block; margin-bottom: 10px; font-size: 16px; }
.outcome-note p { margin: 0; color: #b0b4bb; font-size: 15px; line-height: 1.55; }
.outcome-note.light {
  background: #f0f1f3;
  color: var(--ink);
  border: 1px solid #d5d7db;
}
.outcome-note.light p { color: #5a5e66; }

/* Cards grid (challenge/strategy/results) */
.cards { display: grid; gap: 14px; }
.card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  background: var(--surface);
}
.card strong { display: block; margin-bottom: 14px; color: var(--fg); font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.card ul { margin: 0; padding: 0 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Gallery */
.gallery { display: grid; gap: 18px; }
.gallery img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #cdd0d4;
  background: #f0f1f3;
}

/* Transformation footer */
.transformation-footer {
  padding: 56px 0;
  text-align: center;
}

/* Executive overview grid */
.grid {
  display: grid;
  gap: 28px;
}
.grid .copy { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.58; margin: 0; }

/* Responsive */
@media (max-width: 720px) {
  .transformation-hero {
    padding: 60px 0 58px;
  }
  .transformation-hero .container { width: min(100% - 40px, 1280px); }
  .transformation-hero .eyebrow,
  .transformation-hero h1,
  .transformation-hero .lead { margin-bottom: 30px; }
  .transformation-hero h1 { font-size: clamp(46px, 13vw, 68px); }
  .transformation-hero .actions { margin-bottom: 56px; }
  .hero-image, .hero-image img { border-radius: 20px; }
}

@media (min-width: 760px) {
  .container { width: min(100% - 64px, 1180px); }
  .nav-links { display: flex; }
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .grid { grid-template-columns: 0.78fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1.2fr 0.8fr; }
  .palette { grid-template-columns: repeat(3, 1fr); }
  .type-spec { grid-template-columns: repeat(2, 1fr); }
  .phone-grid { grid-template-columns: 0.82fr 1.18fr; }
  .decision-grid { grid-template-columns: repeat(2, 1fr); }
  .foundation-head { grid-template-columns: 0.8fr 1fr; align-items: end; }
}
