/* =========================================================
   456 Learning Solutions — Design Tokens
   ========================================================= */
:root {
  /* Brand colors (from logo package + client style guide) */
  --navy: #213c8a;
  --navy-deep: #182b63;
  --blue-deep: #2078bd;
  --cyan: #00adef;
  --sky: #62c3f0;
  --pale: #d0edfb;
  --white: #ffffff;

  /* Neutrals */
  --ink-900: #16204a;
  --ink-700: #3a4468;
  --ink-500: #616d95;
  --ink-200: #e4eaf7;
  --surface-alt: #f5f9fe;

  /* Semantic */
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-700);
  --color-text-inverse: #ffffff;
  --color-text-inverse-muted: #ffffff;
  --color-border: var(--ink-200);
  --color-focus: #ffc857;

  /* Typography */
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-md: clamp(1.125rem, 1.06rem + 0.3vw, 1.3rem);
  --fs-lg: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --fs-2xl: clamp(2.1rem, 1.7rem + 2vw, 3.25rem);
  --fs-3xl: clamp(2.5rem, 1.9rem + 3vw, 4rem);

  --space-2xs: 0.4rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3.25rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  --shadow-sm: 0 6px 20px rgba(22, 32, 74, 0.08);
  --shadow-md: 0 20px 50px rgba(22, 32, 74, 0.14);
  --shadow-lg: 0 30px 70px rgba(22, 32, 74, 0.22);

  --container-w: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-md); font-weight: 600; }
h4 { font-size: var(--fs-base); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--space-xs);
}

.section-lead { max-width: 620px; }
.section-lead p + p { margin-top: var(--space-xs); }
h2 { margin-bottom: var(--space-sm); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

section { padding-block: var(--space-2xl); position: relative; overflow: clip; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.bg-white { background: var(--white); }
.bg-pale { background: var(--pale); }
.bg-navy { background: var(--navy); color: var(--color-text-inverse); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-deep-blue { background: var(--blue-deep); color: var(--color-text-inverse); }
.bg-deep-blue h2, .bg-deep-blue h3, .bg-deep-blue h4 { color: #fff; }
.bg-gradient-h { background: linear-gradient(100deg, var(--navy) 0%, var(--sky) 100%); color: var(--color-text-inverse); }
.bg-gradient-h h1, .bg-gradient-h h2, .bg-gradient-h h3 { color: #fff; }
.bg-gradient-v { background: linear-gradient(180deg, var(--navy) 0%, var(--sky) 100%); color: var(--color-text-inverse); }
.bg-gradient-v h2, .bg-gradient-v h3 { color: #fff; }

.on-dark p { color: var(--color-text-inverse-muted); }
.on-dark .eyebrow { color: var(--pale); }

/* =========================================================
   Buttons
   ========================================================= */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; margin-top: var(--space-md); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.15rem;
  flex-shrink: 0;
}
.btn:hover { transform: translateY(-2px); }

.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--navy:hover { background: var(--navy-deep); box-shadow: var(--shadow-md); }

.btn--cyan { background: var(--cyan); color: #fff; box-shadow: var(--shadow-sm); }
.btn--cyan:hover { background: #0093cc; box-shadow: var(--shadow-md); }

.btn--white { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--white:hover { background: var(--pale); }

.btn--outline-light { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

.btn--outline-navy { border-color: var(--navy); color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: #fff; }

.btn--icon { position: relative; padding-right: 4.4rem; }
.btn--icon::after { display: none; }
.btn-icon-badge {
  position: absolute;
  right: -44px;
  top: 50%;
  transform: translateY(-50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--navy);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.btn-icon-badge img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================================
   Checkmark lists
   ========================================================= */
.check-list { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-sm); padding-left: var(--space-md); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
}
.check-list img { width: 24px; height: 24px; flex-shrink: 0; margin-top: 0.15rem; }

.question-list { display: flex; flex-direction: column; gap: var(--space-2xs); margin-top: var(--space-sm); padding-left: var(--space-md); }
.question-list li { display: flex; gap: 0.75rem; font-weight: 600; color: var(--navy); }
.question-list li::before { content: "?"; color: var(--cyan); font-weight: 800; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.85rem;
}
.brand img { height: 65px; width: auto; }

.nav-links ul { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 600; font-size: var(--fs-sm); color: var(--ink-700); transition: color 0.2s; }
.nav-links a:hover { color: var(--cyan); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  padding: 0.4rem;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 5.5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 99;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a { color: #fff; font-weight: 600; font-size: var(--fs-md); }
.mobile-menu a.btn { align-self: flex-start; margin-top: 0.5rem; font-size: var(--fs-sm); }
.mobile-menu a.btn--white { color: var(--navy); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* =========================================================
   1. Hero
   ========================================================= */
.hero { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.hero .split { gap: var(--space-lg); }
.hero-bg-deco {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-copy h1 { font-size: var(--fs-3xl); margin-bottom: var(--space-xs); }
.hero-copy p { color: var(--color-text-inverse-muted); max-width: 54ch; }
.hero-copy p + p { margin-top: var(--space-xs); }
.hero .btn-row { margin-top: var(--space-sm); }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 480px; margin-inline: auto; }
.hero-art .deco { position: absolute; inset: -8%; z-index: 0; }
.hero-art .blob {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 46% 54% 61% 39% / 42% 45% 55% 58%;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,0.35);
}
.hero-art .blob img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   2. Challenge
   ========================================================= */
#challenge .question-list { max-width: 480px; }
#challenge .closing { margin-top: var(--space-sm); font-weight: 600; color: var(--navy); }
.challenge-art img { width: 100%; height: auto; }

/* =========================================================
   3. Approach
   ========================================================= */
#approach .approach-art img { width: 100%; height: auto; }

/* =========================================================
   4. Pathway (Discover / Develop / Apply / Multiply)
   ========================================================= */
.pathway-header { max-width: 640px; margin: 0 auto var(--space-xl); }
.pathway { display: flex; flex-direction: column; gap: var(--space-md); position: relative; max-width: 880px; margin-inline: auto; }
.pathway-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.pathway-line path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.pathway-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--navy);
  border-radius: var(--radius-pill);
  padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-sm);
}
.pathway-step:nth-child(3), .pathway-step:nth-child(5) { margin-left: clamp(60px, 11%, 130px); }
.pathway-icon {
  flex-shrink: 0;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.pathway-icon img { width: 100%; height: 100%; object-fit: contain; }
.pathway-step h3 { color: #fff; text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--fs-md); margin-bottom: 0.35rem; }
.pathway-step p { color: var(--color-text-inverse-muted); }

/* =========================================================
   5. Course
   ========================================================= */
.course-top { align-items: center; }
#course .course-art { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
#course .course-art img { width: 100%; height: 100%; object-fit: cover; }

#course .col-groups { display: flex; flex-direction: column; gap: var(--space-md); margin-top: var(--space-xl); }
.check-list--cols { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; align-items: stretch; column-gap: var(--space-lg); row-gap: var(--space-xs); }
.check-list--cols3 { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; column-gap: var(--space-sm); row-gap: var(--space-xs); }

.check-list--pills li {
  height: 100%;
  background: var(--pale);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.1rem;
  align-items: center;
}
#course .btn-row { margin-top: var(--space-lg); }

/* =========================================================
   6. Assessments
   ========================================================= */
.assess-header { max-width: 900px; margin: 0 auto var(--space-lg); }
.assess-icons { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); max-width: 900px; margin-inline: auto; }
.assess-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.assess-line path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.assess-icons figure { position: relative; z-index: 1; text-align: center; }
.assess-icons img { width: 108px !important; height: 108px !important; max-width: none !important; min-width: 108px !important; flex-shrink: 0; margin-inline: auto; margin-bottom: var(--space-xs); }
.assess-icons figcaption { color: #fff; }
.assess-icons figure:nth-child(2) h4 { white-space: nowrap; }
.assess-copy { max-width: 920px; margin: var(--space-lg) auto 0; text-align: center; }
.assess-copy p + p { margin-top: var(--space-xs); }
.assess-copy .btn { margin-top: var(--space-md); }

/* =========================================================
   7. Coaching
   ========================================================= */
#coaching .coaching-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
#coaching .coaching-art img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   8. Who we serve
   ========================================================= */
.audience-header { max-width: 900px; margin: 0 auto var(--space-xl); }
.audience-header h2 { white-space: nowrap; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.audience-card {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.audience-card img { width: 84px; height: 84px; margin: 0 auto var(--space-sm); }
.audience-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.audience-card p { color: var(--color-text-muted); font-size: var(--fs-sm); }

/* =========================================================
   9. Book
   ========================================================= */
.book-visual { position: relative; max-width: 500px; margin-inline: auto; }
.book-visual .vertical-photo { width: 68%; margin-left: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.book-visual .vertical-photo img { width: 100%; height: auto; display: block; }
.book-visual .cover-float {
  position: absolute;
  left: -14%;
  bottom: -10%;
  width: 78%;
  filter: drop-shadow(var(--shadow-lg));
}
#book .section-lead p { color: var(--color-text-inverse-muted); }

/* =========================================================
   10. Why choose us
   ========================================================= */
.why-integrate { margin-top: var(--space-lg); }
#why-us .why-art img { width: 100%; height: auto; }
#why-us .closing { margin-top: var(--space-lg); font-weight: 500; }

/* =========================================================
   11. CTA
   ========================================================= */
#contact { padding-block: var(--space-lg); }
.cta-bar {
  background:
    linear-gradient(110deg, rgba(0, 96, 138, 0.88) 0%, rgba(0, 173, 239, 0.78) 100%),
    url('../assets/images/section11/section11-image.jpg') center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-bar h2 { color: #fff; font-size: var(--fs-xl); }
.cta-bar p { color: rgba(255,255,255,0.92); margin-top: 0.5rem; max-width: 46ch; }
.cta-bar .btn-row { margin-top: var(--space-sm); }

/* =========================================================
   12. Footer
   ========================================================= */
.site-footer { background: var(--navy); color: #fff; padding-block: var(--space-lg); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { height: 42px; width: auto; }
.footer-meta { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; color: var(--color-text-inverse-muted); font-size: var(--fs-sm); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-right { transform: translateX(70px); }
.reveal-right.is-visible { transform: translateX(0); }
.pathway-step:nth-child(2) { transition-delay: 0s; }
.pathway-step:nth-child(3) { transition-delay: 0.1s; }
.pathway-step:nth-child(4) { transition-delay: 0.2s; }
.pathway-step:nth-child(5) { transition-delay: 0.3s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .assess-icons { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-md); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  section { padding-block: var(--space-xl); }
  .split, .split--reverse { grid-template-columns: 1fr; direction: ltr; }
  .split .hero-art, .split--reverse .hero-art { order: -1; }
  .hero-art { max-width: 360px; }
  .cta-bar { flex-direction: column; text-align: center; justify-content: center; }
  .cta-bar .btn-row { justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .check-list--cols { grid-template-columns: 1fr; }
  .check-list--cols3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: var(--space-sm); }
  .pathway-line { display: none; }
  .pathway-step:nth-child(3), .pathway-step:nth-child(5) { margin-left: 0; }
  .pathway-step { flex-direction: column; align-items: flex-start; text-align: left; padding: var(--space-sm); border-radius: var(--radius-md); }
  .pathway-icon { width: 72px; height: 72px; }
  .assess-icons { grid-template-columns: 1fr 1fr; }
  .assess-icons figcaption h4 { white-space: normal; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-header h2 { white-space: normal; }
  .book-visual { max-width: 300px; }
  .book-visual .cover-float { left: -4%; bottom: -8%; }
  .btn { padding: 0.9rem 1.4rem; }
}
