* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #1a1520;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #3992F3;
  outline-offset: 2px;
}

/* ── Back nav ─────────────────────────────────────────── */
.back-nav {
  padding: 14px 48px;
  border-bottom: 1px solid #e5eef8;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.back-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}
.back-nav a:hover { color: #3992F3; }

/* ── Sections ─────────────────────────────────────────── */
.section { padding: 88px 0; }
.cream { background: #f0f7fe; }
.white { background: #fff; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Introduction ─────────────────────────────────────── */
.intro-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3992F3;
  margin-bottom: 14px;
}
.page-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400;
  color: #1a1520;
  line-height: 1.05;
  margin-bottom: 16px;
}
.intro-hook {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 16px;
}
.intro-phone img {
  width: 200px;
  display: block;
  filter: drop-shadow(0 20px 48px rgba(57, 146, 243, 0.18));
}
.project-meta {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 680px;
  border-top: 1px solid #dbeafe;
  padding-top: 20px;
}
.meta-summary {
  margin-bottom: 4px;
}
.meta-summary p {
  margin-top: 6px;
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
}
.meta-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}
.meta-label {
  font-size: 12px;
  font-weight: 700;
  color: #3992F3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.meta-item a {
  color: #1f74d1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.meta-item a:hover { color: #155da8; }

/* ── Section headings ─────────────────────────────────── */
.label-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.section-num {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 15px;
  color: #3992F3;
  letter-spacing: 0.04em;
}
.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  color: #1a1520;
  line-height: 1.15;
}

/* ── Pull quote ───────────────────────────────────────── */
.pull-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 23px;
  color: #1a1520;
  line-height: 1.5;
  max-width: 700px;
  margin-bottom: 22px;
}

/* ── Body text ────────────────────────────────────────── */
.body-text {
  font-size: 16px;
  color: #374151;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 14px;
}
.body-text:last-of-type { margin-bottom: 0; }

/* ── Problem layout ───────────────────────────────────── */
.problem-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.problem-text .pull-quote,
.problem-text .body-text { max-width: 100%; }

.image-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.image-frame {
  border-radius: 16px;
  overflow: hidden;
  width: 180px;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.image-frame img { width: 100%; display: block; }

/* ── Solution cards ───────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbeafe;
}
.card-img {
  background: #e8f2ff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  min-height: 200px;
}
.card-img img {
  width: 110px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(57, 146, 243, 0.2));
}
.card-body { padding: 18px 20px 22px; }
.card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  font-weight: 400;
  color: #1a1520;
  margin-bottom: 8px;
}
.card-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
}

/* ── Lessons ──────────────────────────────────────────── */
.lessons-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 8px;
}
.lessons-text .body-text { max-width: 100%; }

/* ── Process image ────────────────────────────────────── */
.process-label {
  font-size: 12px;
  font-weight: 700;
  color: #3992F3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.process-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .back-nav { padding: 12px 20px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .intro-split { grid-template-columns: 1fr; gap: 36px; }
  .intro-phone { display: flex; justify-content: center; }
  .meta-item { grid-template-columns: 1fr; gap: 2px; }
  .page-title { font-size: 40px; }
  .section-title { font-size: 30px; }
  .pull-quote { font-size: 19px; }
  .cards { grid-template-columns: 1fr; }
  .problem-split { grid-template-columns: 1fr; }
  .image-row { justify-content: center; }
  .lessons-split { grid-template-columns: 1fr; gap: 40px; }
}
