:root {
  --baby: #BFD7ED;
  --grotto: #60A3D9;
  --royal: #0074B7;
  --navy: #003B73;
  --white: #ffffff;
  --soft: #f7fbff;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(0, 59, 115, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.12;
}

p {
  margin: 0;
}

.site-header {
  background: var(--navy);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 170px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  position: relative;
  color: var(--white);
  font-weight: 600;
  font-size: 0.97rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--baby);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
  transition: 0.25s ease;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--royal);
  font-weight: 700;
  font-size: 0.92rem;
}

.project-kicker,
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--royal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--baby);
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  letter-spacing: -0.065em;
}

.hero-subtitle {
  margin-top: 22px;
  color: var(--royal);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
}

.hero-lead {
  max-width: 650px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--royal);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 116, 183, 0.18);
}

.button.primary {
  color: var(--white);
  background: var(--royal);
}

.button.secondary {
  color: var(--royal);
  background: var(--white);
}

.button.white {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--baby), var(--grotto));
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  text-align: center;
  color: var(--navy);
  background:
    linear-gradient(rgba(255,255,255,0.70), rgba(255,255,255,0.78)),
    linear-gradient(135deg, var(--baby), var(--grotto));
}

.media-frame.missing img {
  display: none;
}

.media-frame.missing .image-placeholder {
  display: flex;
}

.image-placeholder span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.image-placeholder strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.12rem;
}

.image-placeholder small {
  max-width: 740px;
  margin-top: 8px;
  font-size: 0.88rem;
}

.snapshot-band {
  color: var(--white);
  background: var(--navy);
}

.snapshot-band .section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-heading {
  max-width: 690px;
}

.section-heading.compact {
  max-width: 810px;
}

.section-heading.centered {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.15rem, 4.8vw, 4.2rem);
  letter-spacing: -0.045em;
}

.section-heading p {
  margin-top: 20px;
  font-size: 1.05rem;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid rgba(191, 215, 237, 0.28);
  border-radius: 18px;
  background: rgba(191, 215, 237, 0.2);
}

.snapshot-grid div {
  min-height: 140px;
  padding: 26px;
  background: var(--navy);
}

.snapshot-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--baby);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.snapshot-grid strong {
  display: block;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 1.04rem;
  line-height: 1.4;
}

.snapshot-visual {
  min-height: 360px;
  margin-top: 48px;
  box-shadow: none;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 90px;
  align-items: start;
}

.body-copy {
  padding-top: 30px;
  font-size: 1.08rem;
}

.body-copy p + p {
  margin-top: 22px;
}

.soft-section {
  background: var(--soft);
}

.wide {
  min-height: 420px;
}

.troubleshooting-section .section-heading {
  margin-bottom: 42px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.process-grid article,
.highlight-card,
.reflection-grid article {
  border: 1px solid rgba(0, 116, 183, 0.16);
  border-radius: 18px;
  background: var(--white);
}

.process-grid article {
  padding: 24px 22px;
}

.process-grid article > span,
.reflection-grid article > span {
  display: block;
  margin-bottom: 18px;
  color: var(--royal);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.process-grid h3,
.highlight-card h3,
.reflection-grid h3 {
  font-size: 1.13rem;
}

.process-grid p,
.highlight-card p,
.reflection-grid p {
  margin-top: 12px;
  font-size: 0.94rem;
}

.design-band {
  color: var(--white);
  background: var(--royal);
}

.design-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.design-band .section-heading h2 {
  color: var(--white);
}

.design-copy {
  font-size: 1.08rem;
}

.course-composite {
  min-height: 500px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.highlight-card {
  padding: 30px;
  background: var(--soft);
}

.highlight-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--royal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.reflection-section {
  padding-top: 70px;
}

.reflection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reflection-grid article {
  padding: 32px;
}

.final-cta-wrap {
  padding-top: 40px;
}

.final-cta {
  padding: clamp(42px, 7vw, 78px);
  border-radius: 28px;
  color: var(--white);
  background: var(--navy);
}

.final-cta h2 {
  max-width: 800px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -0.045em;
}

.final-cta p {
  max-width: 720px;
  margin: 22px 0 30px;
  color: var(--baby);
  font-size: 1.05rem;
}

.footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 50px 0 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 40px;
  border-top: 1px solid var(--baby);
}

.footer img {
  width: 160px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  font-weight: 700;
}

.footer p {
  grid-column: 1 / -1;
  font-size: 0.86rem;
  opacity: 0.72;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .design-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-top: 72px;
  }

  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-grid,
  .reflection-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-wrap,
  .section,
  .footer {
    width: min(100% - 32px, var(--max));
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 20;
  }

  .nav {
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    z-index: 15;
    display: none;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-radius: 16px;
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a::after {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .snapshot-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-grid div {
    min-height: auto;
  }

  .media-frame,
  .wide,
  .course-composite {
    min-height: 300px;
  }

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

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
