/* Read Like Rocky - styles.css */

/* ---------- COLORS ---------- */

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.32 0.135 258);
  --primary: oklch(0.56 0.21 253);
  --primary-bright: oklch(0.64 0.19 245);
  --primary-deep: oklch(0.48 0.2 256);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.96 0.025 240);
  --muted-foreground: oklch(0.49 0.07 261);
  --border: oklch(0.9 0.02 246);
  --red: oklch(0.58 0.24 27);
  --red-bright: oklch(0.65 0.24 27);
  --red-deep: oklch(0.49 0.21 27);
  --yellow: oklch(0.9 0.18 98);
  --gold: oklch(0.77 0.18 72);
  --green: oklch(0.59 0.13 164);
  --violet: oklch(0.51 0.19 302);
  --coral: oklch(0.67 0.22 23);
  --blue: oklch(0.58 0.2 262);
  --coral-soft: oklch(0.975 0.014 24);
  --gold-soft: oklch(0.98 0.024 82);
  --blue-soft: oklch(0.965 0.025 255);
  --green-soft: oklch(0.965 0.027 163);
  --violet-soft: oklch(0.96 0.023 302);
  --ink: oklch(0.18 0.02 250);
  --shadow: 0 2px 10px oklch(0.25 0.02 250 / 0.22);
  --overlay: oklch(0.24 0.12 256 / 0.87);
  --scrim: oklch(0.15 0.04 256 / 0.6);
}

/* ---------- BASIC RESET ---------- */

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Barlow", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: clip;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
}

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

svg {
  flex-shrink: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Barlow", Arial, sans-serif;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: 22px;
}

.rocky-site {
  max-width: 100%;
  margin: auto;
}

/* ---------- HEADER ---------- */

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 32px 15px;
  min-height: 105px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  max-width: 348px;
  height: 82px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-weight: 800;
  font-size: 39px;
  line-height: 1.05;
  white-space: nowrap;
}

.brand em {
  color: var(--red);
  font-style: normal;
}

.brand-tagline {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px !important;
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav a {
  padding: 14px 0;
  position: relative;
}

.nav a:hover {
  color: var(--primary);
}

.nav .active:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.header-cta {
  background: linear-gradient(var(--primary-bright), var(--primary-deep));
  color: var(--primary-foreground);
  font-size: 21px;
  font-weight: 700;
  height: 66px;
  min-width: 215px;
  line-height: 1.15;
  border-radius: 10px;
  border: 1px solid var(--primary-bright);
  text-align: center;
  white-space: normal;
  box-shadow: none;
}

.menu-button {
  display: none;
}

/* ---------- SECTION 1: HERO ---------- */

.hero-section {
  display: grid;
  grid-template-columns: 33% 34% 33%;
  padding: 2px 28px 0;
  position: relative;
  align-items: stretch;
  min-height: 455px;
}

.welcome-video {
  align-self: center;
  position: relative;
  border: 3px solid var(--background);
  border-radius: 14px;
  box-shadow: var(--shadow);
  height: 420px;
  overflow: hidden;
}

.educator-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meet-label {
  position: absolute;
  top: 20px;
  left: 0;
  background: var(--yellow);
  font-family: "Kalam", cursive;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.2;
  text-align: center;
  padding: 10px 16px;
  transform: rotate(-10deg);
  border-radius: 48% 12% 40% 10%;
}

.welcome-arrow {
  position: absolute;
  top: 106px;
  left: 44px;
  width: 85px;
  height: 85px;
  color: var(--red);
  filter: drop-shadow(3px 0 var(--background))
    drop-shadow(-3px 0 var(--background)) drop-shadow(0 3px var(--background));
}

.play-button {
  position: absolute;
  left: 50%;
  top: 59%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  background: var(--background);
  border-radius: 50%;
  color: var(--foreground);
  box-shadow: none;
}

.play-button:hover {
  background: var(--secondary);
}

.play-button svg {
  width: 40px;
  height: 40px;
  margin-left: 6px;
}

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--overlay);
  color: var(--primary-foreground);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  gap: 8px;
}

.video-caption span {
  font-size: 17px;
  background: var(--scrim);
  padding: 3px 6px;
  border-radius: 5px;
}

.hero-copy {
  padding: 10px 0 10px 28px;
  z-index: 2;
}

.hero-copy h1 {
  font-size: 43px;
  font-weight: 800;
  line-height: 0.99;
  width: 115%;
  position: relative;
  z-index: 3;
}

.yellow-underline {
  height: 9px;
  width: 98%;
  background: var(--yellow);
  margin: 14px 0 12px;
  border-radius: 50% 25% 45% 20%;
  transform: rotate(-0.4deg);
}

.hero-intro {
  font-size: 21px;
  line-height: 1.23;
  max-width: 390px;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
  margin-left: -20px;
      background: #ffffffbf;
}

.credential {
  text-align: center;
  padding: 0 7px;
  position: relative;
}

.credential + .credential:before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

/* The credentials are displayed in two rows of four. */
.credential:nth-child(5)::before {
  display: none;
}

@media (max-width: 568px) {
  .credential:nth-child(3)::before,
  .credential:nth-child(7)::before {
    display: none;
  }
}

.credential-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  border-radius: 50%;
  width: 57px;
  height: 57px;
  margin: 0 auto 5px;
  color: var(--primary-deep);
  cursor: pointer;
}

.credential-icon svg {
  width: 35px;
  height: 35px;
}

.credential h3 {
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
}

.credential p {
  font-size: 11px;
  line-height: 1.22;
  margin-top: 5px;
}

.hero-photo {
  margin-left: -15px;
  position: relative;
  overflow: hidden;
}

.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  mask-image: linear-gradient(to right, transparent 0%, var(--ink) 14%);
  max-height: 457px;
}

.handwritten {
  font-family: "Kalam", cursive;
  font-weight: 400;
}

.photo-note {
  position: absolute;
  right: 1px;
  top: 21px;
  transform: rotate(-12deg);
  font-size: 25px;
  line-height: 1.05;
  text-align: center;
  /* background: var(--background); */
  padding: 8px;
  border-radius: 50%;
}

.photo-note svg {
  width: 23px;
  height: 23px;
  color: var(--red);
  display: inline-block;
}

/* ---------- FREE ASSESSMENT BAR (used twice) ---------- */

.first-assessment {
  padding: 14px 24px 0;
}

/* Featured educator quote beneath the first assessment bar */
.featured-testimonial {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(205px, 245px) 125px;
  align-items: center;
  gap: 12px;
  margin: 16px 36px 28px;
  padding: 14px 14px 13px 10px;
  color: #06449b;
  background: linear-gradient(110deg, #fff 0%, #f8fbff 100%);
  border: 1px solid #e8eff9;
  border-radius: 15px;
  box-shadow: 0 7px 22px rgb(16 68 132 / 8%);
}

.featured-quote-mark {
  align-self: start;
  color: #0a4da7;
  font-family: Georgia, serif;
  font-size: 66px;
  font-weight: 700;
  line-height: 0.95;
}

.featured-testimonial blockquote {
  margin: 0;
  padding-right: 15px;
}

.featured-testimonial blockquote p {
  margin: 0;
  font-size: clamp(15px, 1.24vw, 19px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.4;
}

.featured-quote-credit {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 82px;
  padding: 0 12px;
  border-left: 1px solid #dbe6f4;
  text-align: center;
}

.featured-quote-credit strong {
  font-size: 17px;
}

.featured-quote-credit span {
  font-size: 12px;
  line-height: 1.35;
}

.featured-quote-note {
  position: relative;
  margin: 0;
  font-size: 16px;
  line-height: 1.18;
  transform: rotate(-5deg);
}

.featured-quote-note svg {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin: 0 0 -5px 3px;
}

@media (max-width: 900px) {
  .featured-testimonial {
    grid-template-columns: 32px minmax(0, 1fr) minmax(170px, 210px);
    margin-right: 20px;
    margin-left: 20px;
  }

  .featured-quote-note {
    display: none;
  }
}

@media (max-width: 760px) {
  .featured-testimonial {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 14px;
  }

  .featured-testimonial blockquote {
    padding-right: 0;
  }

  .featured-quote-credit {
    grid-column: 2;
    min-height: 0;
    justify-items: start;
    padding: 9px 0 0;
    border-top: 1px solid #dbe6f4;
    border-left: 0;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .featured-testimonial {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px 10px;
    margin: 14px 12px 22px;
    padding: 13px 12px;
  }

  .featured-quote-mark {
    font-size: 52px;
  }

  .featured-testimonial blockquote {
    padding-right: 0;
  }

  .featured-testimonial blockquote p {
    font-size: 15px;
  }

  .featured-quote-credit {
    grid-column: 2;
    min-height: 0;
    justify-items: start;
    padding: 8px 0 0;
    border-top: 1px solid #dbe6f4;
    border-left: 0;
    text-align: left;
  }
}

.assessment {
  border-radius: 16px;
  background: linear-gradient(120deg, var(--primary-bright), var(--primary));
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 24px;
  min-height: 130px;
}

.assessment-icon {
  width: 81px;
  height: 90px;
  transform: rotate(-8deg);
  stroke-width: 1.7;
}

.assessment-copy {
  flex: 1;
  min-width: 0;
}

.assessment h2 {
  font-size: 31px;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.assessment-copy p {
  font-size: 21px;
  line-height: 1.35;
  margin-top: 6px;
}

.assessment-form {
  width: 51%;
}

.assessment-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 10px;
  align-items: center;
}

.assessment-fields input {
  background: var(--background);
  color: var(--foreground);
  width: 100%;
  min-width: 0;
  height: 55px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 14px;
  font-size: 17px;
}

.assessment-fields input::placeholder {
  color: var(--muted-foreground);
}

.assessment-button {
  height: 69px;
  border-radius: 12px;
  background: linear-gradient(var(--red-bright), var(--red-deep));
  border: 1px solid var(--coral);
  color: var(--primary-foreground);
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
  white-space: normal;
  box-shadow: none;
  gap: 18px;
}

.assessment-button:hover {
  background: var(--red);
}

.assessment-button svg {
  width: 32px;
  height: 32px;
  stroke-width: 4;
}

.privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.2;
}

.privacy svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ---------- SECTION 2: WHY CHILDREN STRUGGLE / HOW WE HELP ---------- */

.why-section {
  padding: 32px 28px 28px;
}

.struggle-intro {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  color: #173574;
}
.struggle-intro > h2 {
  position: relative;
  display: inline-block;
  margin: 0 auto 13px;
  padding: 5px 20px 9px;
  border-radius: 28px;
  background: linear-gradient(90deg, #eef7ff, #f7fbff 70%, #eef7ff);
  color: #123879;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}
.struggle-intro > h2::before,
.struggle-intro > h2::after {
  position: absolute;
  top: 50%;
  width: 41px;
  height: 86px;
  background: url("../images/left.png") center / contain no-repeat;
  content: "";
  transform: translateY(-50%);
}
.struggle-intro > h2::before { right: calc(100% + 8px); }
.struggle-intro > h2::after {
  left: calc(100% + 8px);
  background-image: url("../images/right.png");
  transform: translateY(-50%);
}
.struggle-intro > h2 span {
  position: relative;
  color: #e83d71;
  background: linear-gradient(90deg, #e83d71, #f5a525, #0a9a79, #6c59cf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.struggle-intro > h2 span::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 12px;
  background: url("../images/yellow-swoosh.svg") center / 100% 100% no-repeat;
  content: "";
}
.struggle-affirmation {
  display: inline-block;
  margin: 2px auto 12px;
  padding: 8px 18px;
  border-radius: 24px;
  background: #edf6ff;
  font-size: clamp(16px, 1.8vw, 22px);
}
.struggle-affirmation strong:first-child { color: #1685dc; }
.struggle-affirmation strong:last-child { color: #078768; }
.struggle-context {
  margin: 0 auto 15px;
  max-width: 1100px;
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.5;
}
.struggle-context strong:first-of-type { color: #ef3861; }
.falling-behind {
  padding: 1px 5px;
  border-radius: 4px;
  background: #fff2c7;
  color: #183c79;
}
.parent-support {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 14px -28px;
  padding: 12px 84px;
  background: #fff3f5;
  font-size: clamp(14px, 1.55vw, 18px);
  line-height: 1.4;
}
.parent-support strong { color: #173e81; }
.heart-doodle {
  position: absolute;
  top: 50%;
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgb(243 68 106 / 24%));
  transform: translateY(-50%);
}
.heart-doodle-left { left: 8px; transform: translateY(-50%) rotate(-12deg); }
.heart-doodle-right { right: 8px; transform: translateY(-50%) rotate(12deg) scaleX(-1); }
.struggle-reassurance {
  margin: 14px auto 0;
  max-width: 1120px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
}
.struggle-reassurance strong {
  padding: 5px 9px;
  background: url("../images/mint-highlight.svg") center / 100% 100% no-repeat;
  color: #09876e;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.rocky-bridge {
  position: relative;
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 10px;
  color: #123879;
  font-family: Kalam, cursive;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
}
.rocky-bridge::after {
  position: absolute;
  right: -8px;
  bottom: 0;
  left: -8px;
  height: 12px;
  background: url("../images/pink-underline.svg") center / 100% 100% no-repeat;
  content: "";
}
.discover-title {
  position: relative;
  display: inline-block;
  margin: 10px 0 5px;
  color: #147bd4;
  font-size: clamp(22px, 2.6vw, 31px);
  font-weight: 800;
}
.discover-title::before,
.discover-title::after {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  background: url("../images/left-yellow.png") center / contain no-repeat;
  content: "";
  transform: translateY(-50%) scale(.72);
}
.discover-title::before { right: calc(100% + 4px); }
.discover-title::after { left: calc(100% + 4px); transform: translateY(-50%) scale(.72) scaleX(-1); }
.challenge-intro {
  max-width: 1000px;
  margin: 0 auto;
  color: #304d83;
  font-size: 15px;
  line-height: 1.5;
}
.challenge-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}
.challenge-grid .reason {
  min-height: 194px;
  padding: 16px 13px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.challenge-grid .reason:hover,
.challenge-grid .reason:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgb(19 54 106 / 14%);
}

.challenge-grid .reason svg {
  width: 62px;
  height: 62px;
  margin-bottom: 9px;
}
.challenge-grid .reason h3 {
  max-width: 205px;
  color: #133a7b;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.2;
}
.challenge-grid .reason p { display: none; }
.challenge-grid .reason:focus-visible {
  outline: 3px solid #147bd4;
  outline-offset: 3px;
}

/* Match the homepage FAQ accordions to the dedicated FAQ page cards. */
.faq-section .faq-list {
  gap: 12px;
  max-width: 1040px;
}
.faq-section .faq-item {
  position: relative;
  border: 1px solid #d5e8f8;
  border-radius: 12px;
  background: linear-gradient(110deg, #e8f4fd, #f3f9ff);
  box-shadow: 0 2px 8px rgb(18 58 121 / 5%), inset 0 1px 0 #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.faq-section .faq-item:hover {
  transform: translateY(-2px);
  border-color: #acd3f3;
  box-shadow: 0 9px 22px rgb(10 79 184 / 12%);
}
.faq-section .faq-item[open] {
  border-color: #a9d3f5;
  background: linear-gradient(110deg, #e2f1fc, #f1f8ff);
}
.faq-section .faq-item summary {
  min-height: 64px;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  gap: 12px;
  padding: 12px 18px;
}
.faq-section .faq-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #b9dcf7;
  background: linear-gradient(#45aef3, #258bd9);
  color: #fff;
  box-shadow: 0 3px 7px rgb(26 130 210 / 18%);
}
.faq-section .faq-icon svg { display: none; }
.faq-section .faq-icon::before {
  content: counter(home-faq);
  font-size: 16px;
  font-weight: 800;
}
.faq-section .faq-list { counter-reset: home-faq; }
.faq-section .faq-item { counter-increment: home-faq; }
.faq-section .faq-question strong {
  color: #0a3f9c;
  font-size: 17px;
}
.faq-section .faq-answer {
  margin-right: 48px;
  margin-left: 72px;
  color: #263f70;
  font-size: 14px;
  line-height: 1.55;
}
.faq-section .faq-item[open] .faq-answer {
  margin-top: -2px;
  margin-bottom: 16px;
}
.faq-section .faq-chevron {
  border-color: #0a4fb8;
}
@media (max-width: 640px) {
  .faq-section .faq-list { gap: 9px; }
  .faq-section .faq-item summary {
    min-height: 58px;
    grid-template-columns: 36px minmax(0, 1fr) 12px;
    gap: 9px;
    padding: 10px 12px;
  }
  .faq-section .faq-icon { width: 34px; height: 34px; }
  .faq-section .faq-question strong { font-size: 15px; }
  .faq-section .faq-answer {
    margin-right: 34px;
    margin-left: 58px;
    font-size: 13px;
  }
  .faq-section .faq-item[open] .faq-answer {
    margin-right: 34px;
    margin-left: 58px;
  }
}

.section-heading {
  text-align: center;
}

.section-heading h2,
.about-testimonials h2 {
  /* font-family: Georgia, "Times New Roman", serif; */
  font-size: 29px;
  line-height: 1.15;
  font-weight: 700;
}

.section-heading p {
  font-size: 15px;
  color: var(--muted-foreground);
  margin-top: 4px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 12px;
  /* cursor: pointer; */
}

.reason {
  min-height: 166px;
  border-radius: 8px;
  text-align: center;
  padding: 14px 18px 12px;
  cursor: pointer;
}

.reason svg {
  width: 41px;
  height: 41px;
  margin: auto auto 7px;
  color: var(--tone);
  stroke-width: 2.6;
}

.reason h3 {
  font-size: 16px;
  line-height: 1.1;
  max-width: 180px;
  margin: auto;
  font-weight: 700;
}

.reason p {
  font-size: 14px;
  line-height: 1.25;
  margin: 8px auto 0;
  color: var(--muted-foreground);
  max-width: 180px;
}

.coral {
  --tone: var(--coral);
  background: var(--coral-soft);
}

.gold {
  --tone: var(--gold);
  background: var(--gold-soft);
}

.blue {
  --tone: var(--blue);
  background: var(--blue-soft);
}

.green {
  --tone: var(--green);
  background: var(--green-soft);
}

.violet {
  --tone: var(--violet);
  background: var(--violet-soft);
}

.help-heading {
  margin-top: 21px;
}

/* ---------- SECTION 3: SECOND ASSESSMENT BAR ---------- */

.second-assessment {
  padding: 0 24px 25px;
}

/* ---------- SECTION 4: READING SUCCESS PROGRAM ---------- */

.program-section {
  --u: calc(100cqw / 1492);
  --navy: #0b2a7e;
  --body-blue: #1b3a8c;
  position: relative;
  container-type: inline-size;
  background: linear-gradient(
    180deg,
    var(--blue-soft, #e6f1fb) 0%,
    #f4f9fe 60%,
    var(--background, #fff) 100%
  );
  padding: 0 0 calc(var(--u) * 4);
  overflow: hidden;
}

.badge-left {
  position: absolute;
  z-index: 3;
  top: calc(var(--u) * 5);
  left: calc(var(--u) * 6);
  width: calc(var(--u) * 160);
  height: calc(var(--u) * 150);
  background: #a9d5f6;
  clip-path: polygon(
    6% 14%,
    18% 4%,
    40% 9%,
    60% 2%,
    80% 10%,
    97% 20%,
    92% 38%,
    99% 56%,
    90% 72%,
    94% 90%,
    72% 96%,
    50% 100%,
    28% 94%,
    10% 98%,
    2% 80%,
    8% 60%,
    0% 40%
  );
  color: var(--navy);
}
.bl-text {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 78%;
  text-align: center;
  font-size: calc(var(--u) * 25);
  font-weight: 700;
  line-height: 1.08;
  transform: rotate(-17deg);
}
.bl-paw {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: calc(var(--u) * 32);
  transform: translateX(-35%) rotate(-8deg);
}

/* ---------- top-right tagline ---------- */
.badge-right {
  position: absolute;
  z-index: 3;
  top: calc(var(--u) * 6);
  right: calc(var(--u) * 20);
  width: calc(var(--u) * 135);
  height: calc(var(--u) * 125);
  color: var(--navy);
  font-size: calc(var(--u) * 25);
  font-weight: 700;
  line-height: 1;
}
.badge-right span {
  position: absolute;
  white-space: nowrap;
  transform: rotate(-14deg);
  transform-origin: left center;
}
.br-l1 {
  left: calc(var(--u) * 4);
  top: calc(var(--u) * 6);
}
.br-l2 {
  left: calc(var(--u) * 22);
  top: calc(var(--u) * 33);
}
.br-l3 {
  left: calc(var(--u) * 14);
  top: calc(var(--u) * 58);
}
.br-l4 {
  left: calc(var(--u) * 28);
  top: calc(var(--u) * 84);
}
.badge-right sup {
  font-size: 0.35em;
  vertical-align: super;
}
.br-heart {
  position: absolute;
  right: calc(var(--u) * 6);
  bottom: calc(var(--u) * -10);
  width: calc(var(--u) * 34);
  color: #e8222d;
}

/* ---------- heading ---------- */
.program-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  height: calc(var(--u) * 107);
}
.program-heading h2 {
  margin: 0;
  padding-top: calc(var(--u) * 5);
  font-size: calc(var(--u) * 50);
  font-weight: 900;
  line-height: calc(var(--u) * 60);
  letter-spacing: -0.025em;
  color: var(--navy);
  -webkit-text-stroke: calc(var(--u) * 1.6) var(--navy);
}
.program-heading h2 span {
  position: relative;
  display: inline-block;
  height: calc(var(--u) * 60);
}
.program-heading h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--u) * -6);
  height: calc(var(--u) * 6);
  background: #f6c61b;
  border-radius: 999px;
  transform: rotate(-0.4deg);
}
.program-heading p {
  margin: calc(var(--u) * 12) 0 0;
  font-size: calc(var(--u) * 23.8);
  line-height: calc(var(--u) * 30);
  color: #14307f;
}

/* ---------- 2-column layout ---------- */
.program-content {
  display: grid;
  grid-template-columns: calc(var(--u) * 785) 1fr;
  column-gap: calc(var(--u) * 14);
  align-items: start;
  margin-top: calc(var(--u) * 15);
  padding-right: calc(var(--u) * 7);
}

/* ---------- left ---------- */
.program-visual img {
  display: block;
  width: 100%;
  height: calc(var(--u) * 570);
  object-fit: cover;
}

.benefit-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--u) * 12);
  margin: calc(var(--u) * 6) calc(var(--u) * 24) 0 calc(var(--u) * 25);
  padding: 0;
}
.benefit-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--u) * 6);
  height: calc(var(--u) * 97);
  border-radius: calc(var(--u) * 9);
  text-align: center;
  font-size: calc(var(--u) * 15.5);
  font-weight: 700;
  line-height: 1.15;
}
.benefit-tile svg {
  height: calc(var(--u) * 42);
  width: auto;
}
.tile-green {
  background: #d6f0dc;
  color: #2c7a3a;
}
.tile-pink {
  background: #fbdce2;
  color: #1b3a8c;
}
.tile-blue {
  background: #c8e4fb;
  color: #1b3a8c;
}
.tile-violet {
  background: #e1d9f7;
  color: #1b3a8c;
}
.tile-pink span,
.tile-blue span,
.tile-violet span {
  color: #1b3a8c;
}

.support-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--u) * 12);
  margin: calc(var(--u) * 14) 0 0;
  color: var(--navy);
  font-size: calc(var(--u) * 26);
  font-style: italic;
  font-weight: 500;
  line-height: calc(var(--u) * 40);
}
.support-line .slash {
  flex-shrink: 0;
  height: calc(var(--u) * 40);
  color: var(--navy);
}
.tag-text {
  position: relative;
  white-space: nowrap;
}
.tag-underline {
  position: absolute;
  left: 28%;
  bottom: calc(var(--u) * -6);
  width: 42%;
  height: calc(var(--u) * 8);
}
.tag-heart {
  flex-shrink: 0;
  height: calc(var(--u) * 46);
}

/* ---------- right: 7 cards ---------- */
.program-features {
  display: flex;
  flex-direction: column;
  margin-top: calc(var(--u) * -2);
}

.program-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 21);
  padding: 0 calc(var(--u) * 14) 0 calc(var(--u) * 6);
  background: rgba(255, 255, 255, 0.78);
  border-radius: calc(var(--u) * 18);
  box-shadow: 0 0 calc(var(--u) * 8) rgba(40, 90, 170, 0.06);
}
.program-feature:nth-child(1) {
  min-height: calc(var(--u) * 85);
  margin-bottom: calc(var(--u) * 3);
}
.program-feature:nth-child(2) {
  min-height: calc(var(--u) * 85);
  margin-bottom: calc(var(--u) * 3);
}
.program-feature:nth-child(3) {
  min-height: calc(var(--u) * 84);
  margin-bottom: calc(var(--u) * 8);
}
.program-feature:nth-child(4) {
  min-height: calc(var(--u) * 82);
  margin-bottom: calc(var(--u) * 8);
}
.program-feature:nth-child(5) {
  min-height: calc(var(--u) * 92);
  margin-bottom: calc(var(--u) * 10);
}
.program-feature:nth-child(6) {
  min-height: calc(var(--u) * 95);
  margin-bottom: calc(var(--u) * 10);
}

.feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--u) * 80);
  height: calc(var(--u) * 80);
  border-radius: 50%;
  background: var(--tone);
  color: #fff;
  cursor: pointer;
}
.feature-icon svg {
  width: calc(var(--u) * 42);
  height: calc(var(--u) * 42);
}
.feature-icon.blue {
  --tone: #0a66c2;
}
.feature-icon.green {
  --tone: #1f8a4c;
}
.feature-icon.violet {
  --tone: #6a3fb4;
}
.feature-icon.orange {
  --tone: #f28a0c;
}
.feature-icon.red {
  --tone: #e5322d;
}
.feature-icon.teal {
  --tone: #12939e;
}
.feature-icon.gold {
  --tone: #f2b705;
}

.program-feature h3 {
  margin: 0;
  font-size: calc(var(--u) * 19.5);
  font-weight: 800;
  line-height: calc(var(--u) * 26);
  color: var(--navy);
}
.program-feature p {
  margin: calc(var(--u) * 2) 0 0;
  font-size: calc(var(--u) * 15);
  letter-spacing: -0.005em;
  line-height: calc(var(--u) * 20);
  color: var(--body-blue);
}

/* yellow card */
.support-card {
  height: calc(var(--u) * 182);
  align-items: flex-start;
  margin: 0 calc(var(--u) * -3);
  padding: calc(var(--u) * 14) calc(var(--u) * 14) 0 calc(var(--u) * 13);
  background: #fff6c8;
  border: calc(var(--u) * 1.5) solid #f1dc84;
}
.support-card .feature-icon {
  margin-top: calc(var(--u) * 2);
}
.support-card h3 {
  line-height: calc(var(--u) * 28);
}
.support-card p {
  margin-top: 0;
  font-size: calc(var(--u) * 15);
}
.support-card .support-strong {
  margin-top: calc(var(--u) * 3);
  font-size: calc(var(--u) * 18.5);
  font-style: italic;
  font-weight: 800;
  line-height: calc(var(--u) * 24);
  color: var(--navy);
}
.support-heart {
  position: absolute;
  right: calc(var(--u) * 14);
  bottom: calc(var(--u) * 10);
  width: calc(var(--u) * 38);
}

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .program-section {
    --u: 0.62px;
    padding-bottom: 24px;
  }
  .program-heading {
    height: auto;
    padding: 96px 16px 0;
  }
  .program-heading h2 {
    font-size: 30px;
    line-height: 1.15;
  }
  .program-heading h2 span {
    height: auto;
    padding-bottom: 6px;
  }
  .program-heading p {
    font-size: 17px;
    line-height: 1.3;
  }
  .program-content {
    grid-template-columns: 1fr;
    row-gap: 20px;
    padding: 0 12px;
    margin-top: 16px;
  }
  .program-visual img {
    height: auto;
    aspect-ratio: 785 / 570;
  }
  .benefit-tiles {
    grid-template-columns: repeat(2, 1fr);
    margin: 10px 0 0;
  }
  .benefit-tile {
    height: 100px;
    font-size: 15px;
  }
  .support-line {
    flex-wrap: wrap;
    font-size: 20px;
    line-height: 1.3;
  }
  .tag-text {
    white-space: normal;
    text-align: center;
  }
  .program-features {
    margin-top: 0;
    gap: 10px;
  }
  .program-feature,
  .program-feature:nth-child(n) {
    height: auto;
    margin-bottom: 0;
    padding: 12px;
    gap: 14px;
  }
  .feature-icon {
    width: 56px;
    height: 56px;
  }
  .feature-icon svg {
    width: 30px;
    height: 30px;
  }
  .program-feature h3 {
    font-size: 17px;
    line-height: 1.2;
  }
  .program-feature p,
  .support-card p {
    font-size: 14px;
    line-height: 1.35;
  }
  .program-feature p br {
    display: none;
  }
  .support-card {
    height: auto;
    margin: 0;
    padding: 14px 12px 36px;
  }
  .support-card .support-strong {
    font-size: 15px;
    line-height: 1.3;
  }
  .support-heart {
    width: 28px;
  }
  .badge-left {
    width: 100px;
    height: 94px;
  }
  .bl-text {
    font-size: 17px;
  }
  .badge-right {
    font-size: 17px;
    width: 90px;
    height: 80px;
    right: 10px;
  }
  .br-l1 {
    top: 2px;
  }
  .br-l2 {
    top: 20px;
  }
  .br-l3 {
    top: 38px;
  }
  .br-l4 {
    top: 56px;
  }
  .br-heart {
    width: 22px;
  }
}

/* ---------- SECTION 5: ABOUT DR. NANCY + TESTIMONIALS ---------- */

.about-testimonials {
  display: grid;
  grid-template-columns: 55% 45%;
  padding: 28px 30px 30px;
  gap: 23px;
}

.about-nancy {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 14px;
  min-width: 0;
}

.about-photo {
  position: relative;
  /* padding-left: 53px; */
  overflow: hidden;
}

.about-photo img {
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
}

.about-photo > span {
  position: absolute;
  left: 0;
  top: 36px;
  transform: rotate(-12deg);
  font-size: 20px;
  line-height: 1.13;
}

.about-photo svg {
  display: block;
  width: 29px;
  height: 29px;
  margin: 9px auto;
  color: var(--primary);
}

.about-copy h2 {
  font-size: 28px;
}

.about-copy > p:not(.experience) {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 13px;
  max-width: 95%;
}

.experience {
  font-size: 18px;
  line-height: 1.3;
  margin-top: 28px;
  margin-left: -3px;
}

.testimonials {
  padding-right: 23px;
  min-width: 0;
}

.testimonials h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 12px;
}

.testimonial-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 10px;
}

.testimonial-video {
  position: relative;
  height: 127px;
  overflow: hidden;
  border-radius: 7px;
}

.testimonial-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 29%;
}

.testimonial-video:nth-child(2) img {
  object-position: center 38%;
  transform: scale(1.1);
}

.small-play {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--background);
  background: var(--scrim);
  color: var(--primary-foreground);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 0;
}

.small-play svg {
  width: 17px;
  height: 17px;
  margin-left: 3px;
}

.testimonial-video > span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--scrim);
  color: var(--primary-foreground);
  font-size: 11px;
  font-style: italic;
  padding: 7px 12px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.quote-grid blockquote {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 11px 11px;
}

.quote-grid blockquote > span {
  font-family: Georgia, serif;
  font-size: 36px;
  line-height: 0.7;
  display: block;
  color: var(--primary-bright);
  opacity: 0.65;
}

.quote-grid p {
  font-size: 12px;
  line-height: 1.3;
  margin-top: 3px;
}

.quote-grid cite {
  display: block;
  margin-top: 7px;
  font-style: normal;
  font-size: 10px;
  white-space: nowrap;
}

/* ---------- SECTION 6: FOOTER ---------- */
/*
.site-footer {
  padding: 14px 28px 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 12px;
}

.brand-small img {
  width: 47px;
  height: 48px;
}

.brand-small strong {
  font-family: Georgia, serif;
  font-size: 20px;
}

.brand-small em {
  color: var(--foreground);
}

.brand-small .brand-tagline {
  font-size: 8px;
  max-width: 150px;
  white-space: normal;
  line-height: 1.15;
  margin-top: 3px;
}

.footer-top nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  font-size: 10px;
  white-space: nowrap;
}

.footer-top nav > a:not(:first-child) {
  border-left: 1px solid var(--border);
  padding-left: 7px;
}

.footer-top nav button {
  height: auto;
  font-size: 10px;
  padding: 0;
}

.social-links {
  display: flex;
  gap: 4px;
}

.social-links button {
  width: 26px;
  height: 26px;
  padding: 2px;
  color: var(--primary);
}

.social-links button:nth-child(2) {
  color: var(--violet);
}

.social-links button:nth-child(3) {
  color: var(--red);
}

.social-links svg {
  width: 24px;
  height: 24px;
}

.footer-top > p {
  text-align: center;
  min-width: 175px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom button {
  font-size: 11px;
  height: auto;
  padding: 0;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: #fff;
}

.footer {
  background: #fff;
  padding: 10px 18px 12px;
  color: #1d2a52;
}

/* ---------- Top row ---------- */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6eaf2;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.footer-brand img {
  /* width: 52px; */
  height: auto;
  object-fit: cover;
  max-width: 256px;
}
.brand-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.2;
}
.brand-text p {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.25;
  margin-top: 2px;
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10.5px;
}
.footer-nav li + li {
  border-left: 1px solid #1d2a52;
}
.footer-nav a {
  display: block;
  padding: 0 6px;
  line-height: 1;
  color: var(--primary-deep);
}
.footer-nav a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-shrink: 0  !important;
}
.footer-social a {
  display: block;
  width: 22px;
  height: 22px;
}
.footer-social svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-tagline {
  font-size: 12px;
  line-height: 1.3;
  color: #2455c3;
  text-align: center;
  flex-shrink: 0;
}

/* ---------- Bottom row ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  font-size: 11px;
}
.copyright {
  color: #1d2a52;
}

.legal {
  display: flex;
  align-items: center;
}
.legal li + li {
  border-left: 1px solid #2455c3;
}
.legal a {
  display: block;
  padding: 0 12px;
  line-height: 1;
  color: var(--primary-deep);
}
.legal li:last-child a {
  padding-right: 0;
}
.legal a:hover {
  text-decoration: underline;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
    row-gap: 6px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ---------- LARGE SCREENS ---------- */

@media (min-width: 1450px) {
  .hero-section {
    min-height: 480px;
  }

  .welcome-video {
    height: 450px;
  }

  /* .hero-photo > img {
    max-height: 480px;
  } */

  .hero-copy h1 {
    font-size: 43px;
    width: 130%;
  }

  .hero-intro {
    font-size: 23px;
    max-width: 425px;
  }

  .hero-copy {
    padding-left: 34px;
  }

  .credentials {
    margin-top: 26px;
  }

  .credential h3 {
    font-size: 15px;
  }

  .credential p {
    font-size: 12px;
  }

  .assessment h2 {
    font-size: 35px;
  }

  .site-header {
    gap: 30px;
  }

  .nav {
    font-size: 14px;
  }

  .brand strong {
    font-size: 35px;
  }

  .assessment-copy p {
    font-size: 23px;
  }

  .assessment-form {
    width: 50%;
  }
}

/* ---------- LAPTOP ---------- */

@media (max-width: 1400px) {
  .site-header {
    padding: 12px 22px;
    gap: 18px;
  }

  .brand strong {
    font-size: 30px;
  }

  .brand img {
    max-width: 175px;
    height: 69px;
  }

  .brand-tagline {
    font-size: 10px;
  }

  .nav {
    font-size: 11px;
    gap: 13px;
  }

  .header-cta {
    font-size: 18px;
    min-width: 170px;
    height: 59px;
  }

  .hero-copy h1 {
    font-size: 35px;
  }

  .hero-intro {
    font-size: 18px;
  }

  .hero-section {
    min-height: 395px;
  }

  .welcome-video {
    height: 365px;
  }

  /* .hero-photo > img {
    max-height: 395px;
  } */

  .credential h3 {
    font-size: 12px;
  }

  .credential p {
    font-size: 10px;
  }

  .credentials {
    margin-top: 19px;
  }

  .credential-icon {
    width: 48px;
    height: 48px;
  }

  .video-caption {
    font-size: 16px;
    padding: 12px;
  }

  .assessment {
    gap: 14px;
    padding: 20px;
  }

  .assessment h2 {
    font-size: 26px;
  }

  .assessment-copy p {
    font-size: 18px;
  }

  .assessment-icon {
    width: 61px;
    height: 75px;
  }

  .assessment-button {
    font-size: 18px;
    gap: 9px;
  }

  .assessment-fields input {
    font-size: 15px;
  }

  .program-heading h2 {
    font-size: 28px;
  }

  .program-feature {
    gap: 14px;
    margin-bottom: 14px;
  }

  .program-feature h3 {
    font-size: 18px;
  }

  .program-feature p {
    font-size: 15px;
  }

  .feature-icon {
    width: 53px;
    height: 53px;
  }

  .support-line {
    font-size: 22px;
  }

  .about-testimonials h2 {
    font-size: 23px;
  }

  .testimonials h2 {
    font-size: 20px;
  }

  .about-copy > p:not(.experience) {
    font-size: 12px;
  }

  .experience {
    font-size: 15px;
  }

  .footer-top {
    gap: 12px;
  }

  .footer-top nav {
    gap: 5px;
    font-size: 9px;
    flex-wrap: wrap;
  }

  .footer-top > p {
    min-width: 140px;
  }

  .reason {
    padding: 14px 12px;
  }

  .reason h3 {
    font-size: 15px;
  }
}

/* ---------- TABLET ---------- */

@media (max-width: 980px) {
  .site-header:has(.nav.open) {
    position: static;
    z-index: auto;
    animation: none;
    transform: none;
  }

  .site-header:has(.nav.open) > :not(.nav):not(.menu-button) {
    visibility: hidden;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(350px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: var(--background);
    z-index: 120;
    padding: 88px 24px 24px;
    box-shadow: -18px 0 45px rgb(15 35 70 / 18%);
    font-size: 16px;
    transform: translateX(105%);
    visibility: hidden;
    transition:
      transform 280ms ease,
      visibility 280ms ease;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav .drawer-brand {
    display: flex;
    align-items: center;
    min-height: 58px;
    margin: 0 44px 18px 0;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--border);
  }

  .nav .drawer-brand img {
    width: min(210px, 100%);
    height: 58px;
    object-fit: contain;
    object-position: left center;
  }

  .nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }

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

  .nav .drawer-brand::after {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 130;
  }

  .menu-close-icon {
    display: none;
  }

  .menu-button[aria-expanded="true"] {
    position: fixed;
    top: 16px;
    right: 16px;
    color: var(--foreground);
    background: var(--background);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgb(15 35 70 / 14%);
  }

  .menu-button[aria-expanded="true"] .menu-open-icon {
    display: none;
  }

  .menu-button[aria-expanded="true"] .menu-close-icon {
    display: block;
  }

  .site-header {
    justify-content: space-between;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-section {
    grid-template-columns: 40% 60%;
    padding: 5px 22px 0;
  }

  .hero-photo {
    display: none;
  }

  .hero-copy {
    padding: 12px 0 12px 25px;
  }

  .hero-copy h1 {
    width: 100%;
    font-size: 38px;
  }

  .hero-intro {
    max-width: none;
    font-size: 20px;
  }

  .credentials {
    margin-left: 0;
  }

  .welcome-video {
    height: 390px;
  }

  .assessment {
    flex-wrap: wrap;
    gap: 12px;
  }

  .assessment-copy {
    flex-basis: calc(100% - 100px);
  }

  .assessment-form {
    width: 100%;
    padding-left: 77px;
  }

  .assessment-fields {
    grid-template-columns: 1fr 1fr 1.1fr;
  }

  .assessment h2 {
    font-size: 31px;
  }

  .reason-grid {
    gap: 9px;
  }

  .reason {
    padding: 14px 9px;
  }

  .reason h3 {
    font-size: 14px;
  }

  .reason p {
    font-size: 13px;
  }

  .program-content {
    grid-template-columns: 50% 50%;
  }

  .program-feature h3 {
    font-size: 16px;
  }

  .program-feature p {
    font-size: 14px;
  }

  .program-features {
    padding-left: 18px;
  }

  .support-line {
    font-size: 18px;
  }

  .progress-badge {
    width: 94px;
    height: 94px;
    font-size: 14px;
  }

  .about-testimonials {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-photo img {
    max-height: 300px;
  }

  .about-copy > p:not(.experience) {
    font-size: 16px;
  }

  .experience {
    font-size: 22px;
  }

  .testimonials {
    padding: 0;
  }

  .testimonials h2 {
    font-size: 27px;
  }

  .testimonial-video {
    height: 190px;
  }

  .quote-grid p {
    font-size: 15px;
  }

  .quote-grid cite {
    font-size: 12px;
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .footer-top nav {
    order: 4;
    flex-basis: 100%;
    font-size: 12px;
    margin-top: 8px;
  }

  .footer-top nav button {
    font-size: 12px;
  }

  .footer-top > p {
    margin-left: auto;
  }

  .footer-top .social-links {
    margin-left: auto;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
  html {
    overflow-x: clip;
  }

  .rocky-site {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: var(--background);
    padding: 10px 14px;
    min-height: 85px;
    gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand img {
    /* width: 52px; */
    height: 56px;
    flex: 0 0 52px;
  }

  .brand strong {
    font-size: clamp(17px, 5vw, 22px);
    white-space: normal;
    line-height: 1;
  }

  .brand-tagline {
    font-size: 8px;
    max-width: 145px;
    line-height: 1.2;
  }

  .header-cta {
    min-width: 92px;
    height: 47px;
    font-size: 13px;
    padding: 7px 8px;
    border-radius: 7px;
  }

  .menu-button {
    width: 28px;
    height: 32px;
    flex: 0 0 28px;
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    padding: 8px 16px 0;
    min-height: 0;
  }

  .hero-copy {
    order: 0;
    padding: 0;
  }

  .hero-copy h1 {
    font-size: 36px;
    line-height: 1.03;
  }

  .yellow-underline {
    width: 98%;
    margin-top: 12px;
  }

  .hero-intro {
    font-size: 20px;
    line-height: 1.3;
  }

  .credentials {
    margin: 19px -4px 21px;
  }

  .credential {
    padding: 0 5px;
  }

  .credential-icon {
    height: 47px;
    width: 47px;
  }

  .credential-icon svg {
    width: 29px;
    height: 29px;
  }

  .credential h3 {
    font-size: 12px;
  }

  .credential p {
    font-size: 10px;
    line-height: 1.25;
  }

  .welcome-video {
    order: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1.05;
    max-height: 470px;
  }

  .video-caption {
    font-size: 17px;
  }

  .meet-label {
    font-size: 23px;
  }

  .first-assessment {
    padding: 20px 12px 0;
  }

  .assessment {
    padding: 19px 15px;
    border-radius: 12px;
    gap: 10px;
  }

  .assessment-icon {
    width: 43px;
    height: 59px;
    margin: 0 auto;
  }

  .assessment-copy {
    flex-basis: 100%;
    text-align: center;
  }

  .assessment h2 {
    font-size: 25px;
    white-space: normal;
    line-height: 1.04;
  }

  .assessment-copy p {
    font-size: 16px;
    line-height: 1.3;
  }

  .desktop-break {
    display: none;
  }

  .assessment-form {
    padding-left: 0;
  }

  .assessment-fields {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .assessment-fields input {
    height: 49px;
    padding: 0 11px;
    font-size: 15px;
  }

  .assessment-button {
    grid-column: 1/-1;
    height: 55px;
    font-size: 20px;
    flex-direction: row;
    gap: 12px;
  }

  .assessment-button br {
    display: none;
  }

  .assessment-button svg {
    width: 26px;
    height: 26px;
  }

  .privacy {
    font-size: 12px;
  }

  .why-section {
    padding: 28px 16px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 15px;
    line-height: 1.3;
    margin-top: 7px;
  }

  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .reason {
    padding: 17px 12px;
    min-height: 173px;
  }

  .reason:last-child {
    grid-column: 1/-1;
    min-height: 150px;
  }

  .reason h3 {
    font-size: 16px;
  }

  .reason p {
    font-size: 15px;
  }

  .help-heading {
    margin-top: 27px;
  }

  .second-assessment {
    padding: 0 12px 25px;
  }

  .program-section {
    padding: 24px 16px;
  }

  .program-heading h2 {
    font-size: 30px;
  }

  .program-heading p {
    font-size: 18px;
    line-height: 1.3;
    margin-top: 10px;
  }

  .program-heading br {
    display: none;
  }

  .program-content {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .progress-badge {
    width: 87px;
    height: 87px;
    right: 3px;
    font-size: 13px;
  }

  .program-features {
    padding: 25px 0 0;
  }

  .program-feature {
    gap: 14px;
    margin-bottom: 21px;
  }

  .program-feature h3 {
    font-size: 20px;
  }

  .program-feature p {
    font-size: 17px;
  }

  .feature-icon {
    width: 55px;
    height: 55px;
  }

  .support-line {
    font-size: 23px;
    white-space: normal;
  }

  .included-line {
    font-size: 17px;
  }

  .about-testimonials {
    padding: 27px 16px;
    gap: 30px;
  }

  .about-nancy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-photo {
    /* padding-left: 65px; */
    max-width: 380px;
    width: 100%;
    margin: auto;
  }

  .about-photo img {
    height: 280px;
    max-height: 280px;
  }

  .about-photo > span {
    font-size: 22px;
  }

  .about-copy h2 {
    text-align: center;
    font-size: 29px;
  }

  .about-copy > p:not(.experience) {
    max-width: none;
    font-size: 16px;
    line-height: 1.5;
  }

  .experience {
    font-size: 20px;
    white-space: normal;
    text-align: center;
    margin-top: 18px;
  }

  .testimonials h2 {
    white-space: normal;
    font-size: 27px;
  }

  .testimonial-videos {
    padding: 0;
    gap: 10px;
  }

  .testimonial-video {
    height: 145px;
  }

  .testimonial-video > span {
    font-size: 10px;
    padding: 6px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .quote-grid blockquote {
    padding: 16px;
  }

  .quote-grid p {
    font-size: 16px;
  }

  .quote-grid cite {
    font-size: 13px;
  }

  .site-footer {
    padding: 16px;
  }

  .footer-top {
    justify-content: center;
    gap: 12px;
  }

  .footer-top .social-links {
    margin-left: 0;
  }

  .footer-top > p {
    margin: 0 auto;
    font-size: 11px;
  }

  .footer-top nav {
    line-height: 1.8;
    gap: 6px;
    font-size: 11px;
  }

  .footer-top nav button {
    font-size: 11px;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 9px;
    text-align: center !important;
    justify-content: center !important;
    font-size: 11px;
  }

  .footer-bottom button {
    font-size: 11px;
  }
}

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

  * {
    transition: none !important;
  }
}

/* ---------- BUTTON BASE STYLES ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
}

.button:not(.assessment-button, .play-button, .small-play, .menu-button) {
  background: transparent;
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-button {
  display: none;
  background: transparent;
  color: var(--foreground);
}

.menu-close-icon {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgb(13 31 60 / 42%);
}

.assessment-modal[hidden] {
  display: none;
}

.assessment-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(13 31 60 / 58%);
}

.assessment-dialog {
  position: relative;
  width: min(100%, 480px);
  padding: 34px;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgb(9 30 66 / 28%);
}

.assessment-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--foreground);
}

.assessment-modal-close svg {
  display: block;
  width: 18px;
  height: 18px;
}

.assessment-modal-eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assessment-dialog h2 {
  margin-top: 9px;
  padding-right: 20px;
  color: var(--primary-deep);
  font-size: clamp(25px, 5vw, 32px);
  line-height: 1.1;
}

.assessment-dialog > p {
  margin-top: 10px;
  line-height: 1.45;
}

.assessment-modal-form {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.assessment-modal-form label {
  font-size: 14px;
  font-weight: 700;
}

.assessment-modal-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: var(--foreground);
}

.assessment-modal-form input:focus {
  outline: 3px solid oklch(0.64 0.19 245 / 28%);
  border-color: var(--primary-bright);
}

.assessment-modal-form .assessment-button {
  width: 100%;
  min-height: 52px;
  margin-top: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(120deg, var(--red-bright), var(--red));
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.assessment-modal-status {
  min-height: 1em;
  color: var(--muted-foreground);
  font-size: 13px;
}

@media (max-width: 520px) {
  .assessment-dialog {
    padding: 28px 20px 22px;
  }
}

/* FAQ section above the final assessment banner */
.faq-section {
  padding: 42px clamp(16px, 4vw, 48px) 30px;
  background: linear-gradient(180deg, #f5faff 0%, #fff 100%);
}

.faq-heading {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.faq-eyebrow {
  display: inline-block;
  padding-bottom: 9px;
  color: var(--primary);
  border-bottom: 1px solid #bfdbf7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.faq-heading h2 {
  margin-top: 13px;
  color: #0c2865;
  /* font-family: Georgia, "Times New Roman", serif; */
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.faq-heading p {
  max-width: 700px;
  margin: 12px auto 0;
  color: var(--foreground);
  font-size: 16px;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #d9e5f2;
  border-radius: 9px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 2px 8px rgb(24 70 120 / 3%);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #1376ce;
  background: #e2f1ff;
  border-radius: 50%;
}

.faq-icon svg {
  width: 22px;
  height: 22px;
}

.faq-question {
  display: grid;
  gap: 4px;
  color: var(--foreground);
  font-size: 13px;
  line-height: 1.4;
}

.faq-question strong {
  color: #0c2865;
  /* font-family: Georgia, "Times New Roman", serif; */
  font-size: 16px;
  line-height: 1.25;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  margin: 0 40px 0 68px;
  color: var(--foreground);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transition:
    max-height 0.28s ease,
    opacity 0.2s ease,
    margin 0.28s ease;
}

.faq-item[open] .faq-answer {
  margin: -4px 0px 12px 0px;
   box-sizing: border-box;
    width: calc(100% - 40px);
    padding: 0px 62px 14px 0px;
  opacity: 1;
}

.faq-chevron {
  align-self: start;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-right: 1.7px solid #0c2865;
  border-bottom: 1.7px solid #0c2865;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item:not([open]) .faq-chevron {
  transform: rotate(-45deg);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--primary-bright);
  outline-offset: -3px;
}

@media (max-width: 640px) {
  .faq-section {
    padding: 34px 14px 24px;
  }

  .faq-heading {
    margin-bottom: 20px;
  }

  .faq-heading h2 {
    font-size: 29px;
  }

  .faq-desktop-break {
    display: none;
  }

  .faq-heading p {
    font-size: 14px;
  }

  .faq-item summary {
    grid-template-columns: 36px minmax(0, 1fr) 12px;
    gap: 9px;
    padding: 11px 10px;
  }

  .faq-icon {
    width: 34px;
    height: 34px;
  }

  .faq-icon svg {
    width: 20px;
    height: 20px;
  }

  .faq-question strong {
    font-size: 15px;
  }

  .faq-question {
    font-size: 12px;
  }

  .faq-answer {
    margin-right: 30px;
    margin-left: 55px;
    font-size: 12px;
  }

  .faq-item[open] .faq-answer {
    margin: -3px 30px 11px 55px;
  }
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }
}

.site-footer .brand-small img {
  width: 48px;
  height: 50px;
}

.site-footer .brand-small strong {
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  color: var(--foreground);
}

.site-footer .brand-small em {
  color: var(--foreground);
}

.site-footer .brand-small .brand-tagline {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  max-width: none;
  white-space: nowrap;
  margin-top: 2px;
}

.footer-top nav a {
  color: var(--foreground);
  font-size: 11px;
}

.social-links {
  gap: 14px;
}

.social-links a {
  display: block;
  width: 24px;
  height: 24px;
}

.social-links svg {
  width: 24px;
  height: 24px;
}

.footer-top > p {
  color: var(--primary-deep);
  font-size: 13px;
  line-height: 1.3;
}

.footer-bottom p {
  color: var(--primary-deep);
}

.footer-bottom button.button {
  color: var(--primary-deep);
  font-weight: 500;
}

.small-play.button {
  background: var(--background);
  color: var(--foreground);
  border: 0;
  width: 36px;
  height: 36px;
}

.small-play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.testimonial-video > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-video > span svg {
  width: 13px;
  height: 13px;
}

.quote-grid blockquote > span {
  color: var(--primary);
  opacity: 1;
  font-weight: 700;
  font-size: 40px;
}

.hero-copy h1 span {
  color: var(--primary-deep);
}

.meet-label {
  color: var(--primary-deep);
}

.photo-note {
  color: var(--primary-deep);
}

.program-heading p {
  color: var(--foreground);
}

.reason svg {
  stroke-width: 2.6;
}

.reason svg[fill="currentColor"] {
  stroke: none;
}

@media (min-width: 1201px) {
  .rocky-site {
    max-width: 100%;
  }

  .site-header {
    padding: 10px 38px 3px 48px;
    min-height: 95px;
    gap: 25px;
  }

  .brand img {
    /* width: 82px; */
    height: 82px;
  }

  .nav {
    margin-right: 20px;
  }

  .header-cta {
    width: 244px;
    min-width: 244px;
    height: 62px;
  }

  /* hero: video 482 x 435, text starts at x=552, photo fills the right side */
  .hero-section {
    grid-template-columns: 482px 446px 1fr;
    padding: 0 0 0 32px;
    min-height: 477px;
  }

  .welcome-video {
    height: 435px;
  }

  .hero-copy {
    padding: 43px 0 10px 38px;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 1;
    width: 130%;
  }

  .hero-intro {
    font-size: 21px;
    line-height: 1.23;
    max-width: 410px;
  }

  .credentials {
    margin-left: -32px;
    width: 480px;
  }

  .hero-photo {
    margin-left: 0;
  }

  /* .hero-photo > img {
    max-height: 485px;
  } */

  /* free assessment bar: 141px tall */
  .first-assessment {
    padding: 14px 24px 0;
  }

  .assessment {
    height: 141px;
    min-height: 0;
    padding: 0 24px;
  }

  .assessment h2 {
    font-size: 36px;
  }

  .assessment-copy p {
    font-size: 21px;
  }
}

/* ---------- VIDEO POPUP ---------- */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 15, 45, 0.85);
}

.video-modal[hidden] {
  display: none;
}

.video-box {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.video-box video,
.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

/* =========================================================
   NEW: WIDER CONTAINER SCALING (1500px se bade screens)
   ========================================================= */

@media (min-width: 1501px) {
  .site-header {
    padding-left: 64px;
    padding-right: 52px;
    gap: 34px;
  }

  .nav {
    font-size: 15px;
  }

  .hero-section {
    grid-template-columns: 32% 30% 1fr;
    padding-left: 40px;
    min-height: clamp(477px, 32vw, 580px);
  }

  .welcome-video {
    height: auto;
    aspect-ratio: 482 / 435;
    align-self: start;
  }

  .hero-copy {
    padding-left: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 2.95vw, 54px);
  }

  .hero-intro {
    font-size: clamp(21px, 1.4vw, 25px);
    max-width: 470px;
  }

  .credentials {
    width: 818px;
    margin-left: -40px;
  }

  .credential h3 {
    font-size: 15px;
  }

  .credential p {
    font-size: 12px;
  }

  .hero-photo > img {
    max-height: none;
    height: 100%;
  }

  .photo-note {
    font-size: 29px;
  }

  .assessment {
    height: 150px;
    padding: 0 40px;
  }

  .assessment h2 {
    font-size: 40px;
  }

  .assessment-copy p {
    font-size: 23px;
  }

  .why-section,
  .program-section,
  .about-testimonials {
    padding-left: 40px;
    padding-right: 40px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading p {
    font-size: 17px;
  }

  .reason {
    min-height: 190px;
  }

  .reason h3 {
    font-size: 18px;
    max-width: 210px;
  }

  .reason p {
    font-size: 15.5px;
    max-width: 215px;
  }

  .program-heading h2 {
    font-size: 44px;
  }

  .program-heading p {
    font-size: 24px;
  }

  .program-feature h3 {
    font-size: 23px;
  }

  .program-feature p {
    font-size: 19px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
  }

  .support-line {
    font-size: 30px;
  }

  .included-line {
    font-size: 20px;
  }

  .about-copy h2 {
    font-size: 34px;
  }

  .about-copy > p:not(.experience) {
    font-size: 15px;
  }

  .experience {
    font-size: 22px;
  }

  .testimonials h2 {
    font-size: 29px;
  }

  .testimonial-video {
    height: 160px;
  }

  .quote-grid p {
    font-size: 14px;
  }

  .quote-grid cite {
    font-size: 12px;
  }

  .about-photo img {
    max-height: 340px;
  }

  .site-footer {
    padding-left: 48px;
    padding-right: 48px;
    font-size: 13px;
  }

  .footer-top nav a {
    font-size: 13px;
  }

  .footer-top > p {
    font-size: 15px;
  }

  .site-footer .brand-small strong {
    font-size: 26px;
  }

  .site-footer .brand-small .brand-tagline {
    font-size: 12px;
  }

  .footer-bottom button,
  .footer-bottom p {
    font-size: 13px;
  }
}
@media (max-width: 568px) {
  .credentials {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section-heading h2 {
  color: var(--foreground);
}

/* .program-heading h2 {
  color: var(--primary-deep);
} */

.about-copy h2,
.testimonials h2 {
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 800;
  color: var(--primary-deep);
}

.experience {
  color: var(--primary-deep);
}

.about-photo > span {
  color: var(--primary-deep);
}

.quote-grid cite {
  color: var(--muted-foreground);
}

.site-footer {
  background: var(--background);
}

/* =========================================================
   NEW: ANIMATIONS
   ========================================================= */

/* ----- Sticky header + scroll progress ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  transition: box-shadow 0.35s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 22px oklch(0.25 0.05 255 / 0.12);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  z-index: 200;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary-bright), var(--red));
  pointer-events: none;
}

/* ----- Keyframes ----- */

@keyframes rl-fade-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rl-slide-left {
  from {
    opacity: 0;
    transform: translateX(-60px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rl-slide-right {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rl-drop-in {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rl-draw {
  from {
    transform: rotate(-0.4deg) scaleX(0);
  }
  to {
    transform: rotate(-0.4deg) scaleX(1);
  }
}

@keyframes rl-pop {
  0% {
    opacity: 0;
    transform: rotate(-12deg) scale(0.3);
  }
  70% {
    opacity: 1;
    transform: rotate(-12deg) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: rotate(-12deg) scale(1);
  }
}

@keyframes rl-label-in {
  0% {
    opacity: 0;
    transform: rotate(-24deg) scale(0.5);
  }
  70% {
    opacity: 1;
    transform: rotate(-6deg) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: rotate(-10deg) scale(1);
  }
}

@keyframes rl-arrow-bounce {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, 8px);
  }
}

@keyframes rl-float {
  0%,
  100% {
    transform: translateY(0) rotate(7deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

@keyframes rl-ring {
  0% {
    box-shadow: 0 0 0 0 oklch(1 0 0 / 0.65);
  }
  100% {
    box-shadow: 0 0 0 26px oklch(1 0 0 / 0);
  }
}

@keyframes rl-wag {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-8deg);
  }
  75% {
    transform: rotate(8deg);
  }
}

@keyframes rl-shine {
  0% {
    transform: translateX(-130%) skewX(-20deg);
  }
  60%,
  100% {
    transform: translateX(260%) skewX(-20deg);
  }
}

@keyframes rl-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.3);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.2);
  }
}

@keyframes rl-modal-bg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rl-modal-box {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ----- Page-load sequence (hero) ----- */

.site-header {
  animation: rl-drop-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.welcome-video {
  animation: rl-slide-left 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

.hero-copy h1 {
  animation: rl-fade-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.yellow-underline {
  transform-origin: left;
  animation: rl-draw 0.8s ease-out 0.85s both;
}

.hero-intro {
  animation: rl-fade-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}

.credential {
  animation: rl-fade-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.credential:nth-child(1) {
  animation-delay: 0.85s;
}
.credential:nth-child(2) {
  animation-delay: 1s;
}
.credential:nth-child(3) {
  animation-delay: 1.15s;
}
.credential:nth-child(4) {
  animation-delay: 1.3s;
}
.credential:nth-child(5) {
  animation-delay: 1.45s;
}
.credential:nth-child(6) {
  animation-delay: 1.6s;
}
.credential:nth-child(7) {
  animation-delay: 1.75s;
}
.credential:nth-child(8) {
  animation-delay: 1.9s;
}

.hero-photo {
  animation: rl-slide-right 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s both;
}

.photo-note {
  animation: rl-pop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.2) 1.2s both;
}

.photo-note svg {
  animation: rl-heartbeat 1.8s ease-in-out 2s infinite;
}

.meet-label {
  animation: rl-label-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.2) 0.9s both;
}

.welcome-arrow {
  animation: rl-arrow-bounce 1.6s ease-in-out 1.6s infinite;
}

.play-button {
  animation: rl-ring 1.9s ease-out 1.2s infinite;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.credential-icon {
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.credential:hover .credential-icon {
  transform: translateY(-5px) scale(1.08);
  background: var(--primary);
  color: var(--primary-foreground);
}

.brand img {
  transform-origin: 50% 85%;
}


/* ----- Buttons: shine + lift ----- */

.header-cta,
.assessment-button {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.header-cta::after,
.assessment-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    oklch(1 0 0 / 0.35),
    transparent
  );
  transform: translateX(-130%) skewX(-20deg);
  animation: rl-shine 3.6s ease-in-out 2.2s infinite;
  pointer-events: none;
}

.header-cta:hover,
.assessment-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px oklch(0.3 0.1 256 / 0.3);
  filter: brightness(1.06);
}

.header-cta:active,
.assessment-button:active {
  transform: translateY(0);
}

.assessment-button svg {
  transition: transform 0.25s ease;
}

.assessment-button:hover svg {
  transform: translateX(6px);
}

.assessment-icon {
  transition: transform 0.4s ease;
}

.assessment:hover .assessment-icon {
  transform: rotate(0deg) scale(1.08);
}

.assessment-fields input {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.assessment-fields input:focus {
  box-shadow: 0 0 0 4px oklch(1 0 0 / 0.45);
  transform: translateY(-2px);
}

/* ----- Nav underline hover ----- */

.nav a:not(.active)::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:not(.active):hover::after {
  transform: scaleX(1);
}

.footer-top nav a {
  transition: color 0.2s ease;
}

.footer-top nav a:hover {
  color: var(--primary);
}

/* ----- Scroll reveal (sirf tab jab JS chal rahi ho) ----- */

.js [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal="up"] {
  transform: translateY(40px);
}
.js [data-reveal="left"] {
  transform: translateX(-60px);
}
.js [data-reveal="right"] {
  transform: translateX(60px);
}
.js [data-reveal="zoom"] {
  transform: scale(0.88);
}

.js [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* ----- Cards: hover lift ----- */

.js .reason[data-reveal].in-view {
  transition:
    opacity 0.8s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}

.reason {
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}

.reason:hover,
.js .reason[data-reveal].in-view:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px oklch(0.3 0.1 256 / 0.14);
  /* cursor: pointer; */
}

.reason svg {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.4);
}

.reason:hover svg {
  transform: scale(1.2) rotate(-6deg);
}

.program-feature .feature-icon {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.4);
}

.program-feature:hover .feature-icon {
  transform: scale(1.12) rotate(-8deg);
}

.progress-badge {
  animation: rl-float 4s ease-in-out infinite;
}

.program-visual img {
  transition: transform 0.6s ease;
}

.program-visual:hover img {
  transform: scale(1.02);
}

/* ----- About + testimonials ----- */

.about-photo img,
.testimonial-video img {
  transition: transform 0.6s ease;
}

.about-photo:hover img {
  transform: scale(1.04);
}

.testimonial-video:hover img {
  transform: scale(1.08);
}

.testimonial-video:nth-child(2):hover img {
  transform: scale(1.18);
}

.small-play {
  transition: transform 0.25s ease;
  animation: rl-ring 2.2s ease-out infinite;
}

.small-play:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

.quote-grid blockquote {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.js .quote-grid blockquote[data-reveal].in-view {
  transition:
    opacity 0.8s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.quote-grid blockquote:hover,
.js .quote-grid blockquote[data-reveal].in-view:hover {
  transform: translateY(-6px);
  border-color: var(--primary-bright);
  box-shadow: 0 14px 26px oklch(0.3 0.1 256 / 0.14);
  cursor: pointer;
}

/* ----- Social icons ----- */

.social-links a {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.5);
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.2) rotate(-6deg);
}

/* ----- Video popup animation ----- */

.video-modal:not([hidden]) {
  animation: rl-modal-bg 0.3s ease both;
}

.video-modal:not([hidden]) .video-box {
  animation: rl-modal-box 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.video-close {
  transition: transform 0.25s ease;
}

.video-close:hover {
  transform: rotate(90deg) scale(1.1);
}

/* ----- Accessibility: reduced motion ----- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- MOBILE SIDEBAR FIXES ---------- */
/* The drawer logo belongs inside the mobile drawer only. */
.nav .drawer-brand {
  display: none;
}

@media (max-width: 980px) {
  .nav .drawer-brand {
    display: flex;
  }

  /* Keep the drawer above the dimmed page and the toggle above the drawer. */
  .nav {
    z-index: 1001;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.menu-open::before {
    z-index: 1000;
  }

  .menu-button[aria-expanded="true"] {
    z-index: 1002;
  }

  /* Avoid nav links being clipped by a transformed/sticky header. */
  .site-header:has(.nav.open) {
    transform: none;
  }
}

/* ---------- TABLET WIDTH / EMPTY RIGHT GUTTER FIX ---------- */
@media (min-width: 641px) and (max-width: 980px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .rocky-site {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
  .rocky-site > main {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .rocky-site > main > section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    padding-inline: 22px;
  }
  .hero-photo {
    min-width: 0;
    width: 100%;
  }
  .hero-copy {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .why-section { padding: 26px 16px; }
  .struggle-intro > h2 { font-size: clamp(32px, 6vw, 46px); }
  .struggle-context { max-width: 760px; }
  .parent-support { margin-inline: -16px; }
  .challenge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .challenge-grid .reason { min-height: 180px; }
  .challenge-grid .reason:last-child {
    grid-column: 1 / -1;
    width: min(100%, 230px);
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .why-section { padding: 22px 12px; }
  .struggle-intro > h2 { padding: 5px 8px 8px; font-size: 31px; letter-spacing: -0.6px; }
  .struggle-intro > h2::before,
  .struggle-intro > h2::after,
  .discover-title::before,
  .discover-title::after { display: none; }
  .struggle-affirmation { padding: 8px 11px; font-size: 15px; }
  .struggle-context { font-size: 14px; line-height: 1.45; }
  .parent-support { margin-inline: -12px; padding: 12px; gap: 6px; font-size: 14px; }
  .parent-support { padding: 14px 52px; }
  .heart-doodle { width: 44px; height: 44px; }
  .heart-doodle-left { left: 4px; }
  .heart-doodle-right { right: 4px; }
  .struggle-reassurance { font-size: 14px; }
  .rocky-bridge { font-size: 25px; }
  .discover-title { font-size: 22px; }
  .challenge-intro { font-size: 14px; }
  .challenge-grid { gap: 9px; margin-top: 18px; }
  .challenge-grid .reason { min-height: 160px; padding: 13px 8px; }
  .challenge-grid .reason svg { width: 52px; height: 52px; }
  .challenge-grid .reason h3 { font-size: 15px; }
}


.right-side {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 21px !important;
}

/* Keep expanded homepage FAQ answers inset beneath the question text. */
.faq-section .faq-item[open] > .faq-answer {
  box-sizing: border-box;
  width: auto;
  margin: -2px 48px 16px 72px;
  padding: 0;
}

@media (max-width: 640px) {
  .faq-section .faq-item[open] > .faq-answer {
    margin: -2px 34px 14px 58px;
  }
}

/* Switch the educator hero to its stacked layout before the tablet header. */
@media (min-width: 641px) and (max-width: 1080px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 18px clamp(24px, 6vw, 64px) 0;
  }

  .hero-copy {
    order: 0;
    padding: 0;
  }

  .hero-copy h1 {
    width: 100%;
    font-size: clamp(36px, 5vw, 50px);
    line-height: 1.02;
  }

  .hero-intro {
    max-width: 760px;
    font-size: clamp(18px, 2vw, 21px);
  }

  .credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    margin: 20px 0 24px;
  }

  .credential {
    padding: 0 10px;
  }

  .credential-icon {
    width: 48px;
    height: 48px;
  }

  .credential h3 { font-size: 13px; }
  .credential p { font-size: 11px; line-height: 1.35; }

  .welcome-video {
    order: 1;
    width: 100%;
    height: auto;
    max-height: 500px;
    aspect-ratio: 1.35;
  }
}

/* Responsive educator hero: keep the three desktop columns inside the page width. */
@media (min-width: 1101px) {
  .hero-section {
    grid-template-columns: minmax(300px, .95fr) minmax(390px, 1.12fr) minmax(300px, 1fr);
    gap: clamp(12px, 1.5vw, 24px);
    padding-inline: clamp(20px, 2vw, 36px);
    min-height: 0;
  }

  .hero-section > * { min-width: 0; }
  .welcome-video { width: 100%; height: clamp(340px, 30vw, 450px); }
  .hero-copy { min-width: 0; padding-left: clamp(12px, 1.5vw, 24px); }
  .hero-copy h1 { width: 100%; }
  .hero-intro { max-width: none; }
  .credentials { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-left: 0; }
  .hero-photo { min-width: 0; margin-left: 0; }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .hero-section {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(14px, 2vw, 24px);
    padding: 12px clamp(18px, 3vw, 32px) 0;
    min-height: 0;
  }

  .hero-photo { display: none; }
  .welcome-video { width: 100%; height: clamp(300px, 42vw, 420px); }
  .hero-copy { min-width: 0; padding: 12px 0; }
  .hero-copy h1 { width: 100%; font-size: clamp(32px, 4vw, 42px); }
  .hero-intro { max-width: none; font-size: clamp(17px, 2vw, 21px); }
  .credentials { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-left: 0; }
}

/* Challenge and support cards refreshed to match the new homepage design. */
.challenge-grid,
.help-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.challenge-grid { margin-top: 24px; }
.challenge-grid .challenge-card {
  display: flex;
  min-width: 0;
  min-height: 304px;
  padding: 10px 18px 9px;
  flex-direction: column;
  align-items: center;
  border-radius: 13px;
  border: 1px solid rgb(255 255 255 / 90%);
  box-shadow: 0 8px 22px rgb(19 54 106 / 7%);
  color: #123477;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.challenge-card.coral { background: linear-gradient(145deg, #fff7f8, #fff0f2); }
.challenge-card.gold { background: linear-gradient(145deg, #fffaf0, #fff5dc); }
.challenge-card.green { background: linear-gradient(145deg, #f1fcf6, #e8fbf2); }
.challenge-card.violet { background: linear-gradient(145deg, #f9f5ff, #f3edff); }
.challenge-card .challenge-icon {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 5px;
  place-items: center;
  border-radius: 50%;
  border: 3px solid rgb(255 255 255 / 82%);
  background: color-mix(in srgb, var(--tone) 20%, white);
  color: var(--tone);
  box-shadow: 0 5px 12px color-mix(in srgb, var(--tone) 16%, transparent);
}
.challenge-card .challenge-icon::before,
.challenge-card .challenge-icon::after {
  position: absolute;
  top: 50%;
  width: 15px;
  height: 4px;
  border-radius: 4px;
  background: var(--tone);
  content: "";
}
.challenge-card .challenge-icon::before {
  right: calc(100% + 7px);
  box-shadow: 2px -9px var(--tone), 2px 9px var(--tone);
  transform: rotate(22deg);
}
.challenge-card .challenge-icon::after {
  left: calc(100% + 7px);
  box-shadow: -2px -9px var(--tone), -2px 9px var(--tone);
  transform: rotate(-22deg);
}
.challenge-card .challenge-icon svg { width: 39px; height: 39px; margin: 0; }
.challenge-card h3 {
  max-width: 260px;
  margin: 0 auto 5px;
  color: #0d3077;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.08;
}
.challenge-tag {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tone) 22%, white);
  color: #173772;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
.challenge-card.coral .challenge-tag { color: #c51f4c; }
.challenge-card.gold .challenge-tag { color: #a34409; }
.challenge-card.green .challenge-tag { color: #11624c; }
.challenge-card.violet .challenge-tag { color: #432896; }
.challenge-grid .challenge-card p {
  display: block;
  max-width: 280px;
  margin: 0 auto 8px;
  color: #213b70;
  font-size: 13px;
  line-height: 1.18;
}
.challenge-card:hover,
.help-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tone) 28%, white);
  box-shadow: 0 14px 28px rgb(19 54 106 / 13%);
}
.challenge-card:focus-visible,
.help-card:focus-within {
  outline: 3px solid #147bd4;
  outline-offset: 3px;
}
.card-cta {
  display: flex;
  width: 100%;
  min-height: 36px;
  margin-top: auto;
  padding: 7px 12px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  background: #ffd000;
  box-shadow: 0 4px 9px rgb(189 144 0 / 19%);
  color: #102c68;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.card-cta span { font-size: 20px; line-height: .8; }
.challenge-card:hover .card-cta,
.card-cta:hover { background: #ffc400; box-shadow: 0 6px 13px rgb(189 144 0 / 25%); transform: translateY(-1px); }

.help-heading {
  max-width: 1000px;
  margin: 18px auto 8px;
  text-align: center;
}
.help-heading h2 {
  position: relative;
  display: inline-block;
  padding: 5px 18px;
  border-radius: 28px;
  background: linear-gradient(90deg, #eaf6ff, #e1f2ff 50%, #eaf6ff);
  box-shadow: inset 0 -2px 0 rgb(29 126 210 / 8%);
  color: #123477;
  font-size: clamp(21px, 2.05vw, 29px);
  font-weight: 800;
  line-height: 1.08;
}
.help-heading h2::before,
.help-heading h2::after {
  position: absolute;
  top: 50%;
  width: 27px;
  height: 38px;
  background: url("../images/left.png") center / contain no-repeat;
  content: "";
  transform: translateY(-50%);
}
.help-heading h2::before { right: calc(100% + 4px); }
.help-heading h2::after { left: calc(100% + 4px); background-image: url("../images/right.png"); }
.help-heading p { margin-top: 4px; color: #254477; font-size: 14px; }
.help-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 6px;
}
.help-grid .help-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 246px;
  padding: 12px 18px 9px;
  flex-direction: column;
  align-items: center;
  border-radius: 13px;
  border: 1px solid rgb(255 255 255 / 90%);
  box-shadow: 0 8px 22px rgb(19 54 106 / 7%);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.help-grid .help-card::before,
.help-grid .help-card::after {
  position: absolute;
  top: 40px;
  width: 14px;
  height: 4px;
  border-radius: 4px;
  background: var(--tone);
  content: "";
}
.help-grid .help-card::before {
  left: calc(50% - 47px);
  box-shadow: 2px -9px var(--tone), 2px 9px var(--tone);
  transform: rotate(22deg);
}
.help-grid .help-card::after {
  right: calc(50% - 47px);
  box-shadow: -2px -9px var(--tone), -2px 9px var(--tone);
  transform: rotate(-22deg);
}
.help-card.blue { background: linear-gradient(145deg, #eef9ff, #e4f5ff); }
.help-card.green { background: linear-gradient(145deg, #f2fcf4, #eaf9ed); }
.help-card.coral { background: linear-gradient(145deg, #fff6f0, #ffefe4); }
.help-card.violet { background: linear-gradient(145deg, #f8f4ff, #f0eaff); }
.help-grid .help-card > svg {
  display: block;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  margin: 0 auto 5px;
  padding: 11px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tone) 20%, white);
  color: var(--tone);
}
.help-card h3 {
  max-width: 270px;
  margin: 0 auto 4px;
  color: #0d3077;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.12;
}
.help-card .challenge-tag { margin-bottom: 5px; }
.help-grid .help-card p {
  max-width: 300px;
  margin: 0 auto 8px;
  color: #213b70;
  font-size: 13px;
  line-height: 1.18;
}
.help-card:hover {
  border-color: color-mix(in srgb, var(--tone) 28%, white);
  box-shadow: 0 14px 28px rgb(19 54 106 / 13%);
}
.help-card .card-cta { width: 100%; }

@media (max-width: 980px) {
  .challenge-grid,
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .challenge-grid .reason:last-child { grid-column: auto; width: 100%; }
  .challenge-grid .challenge-card,
  .help-grid .help-card { min-height: 270px; }
}
@media (max-width: 640px) {
  .why-section { padding: 28px 16px; }
  .challenge-grid,
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .challenge-grid .challenge-card,
  .help-grid .help-card { min-height: 290px; padding: 12px 10px; }
  .challenge-card h3,
  .help-card h3 { font-size: 16px; }
  .challenge-grid .challenge-card p,
  .help-grid .help-card p { font-size: 12px; }
  .card-cta { padding-inline: 7px; font-size: 12px; }
  .help-heading h2 { padding: 6px 10px; font-size: 20px; }
  .help-heading h2 br { display: none; }
  .help-heading h2::before,
  .help-heading h2::after { display: none; }
  .help-grid .help-card::before { left: calc(50% - 45px); }
  .help-grid .help-card::after { right: calc(50% - 45px); }
}
@media (max-width: 440px) {
  .challenge-grid { grid-template-columns: minmax(0, 1fr); }
  .help-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .challenge-grid .challenge-card,
  .help-grid .help-card { min-height: 0; }
}

/* On phones, lead with Dr. Nancy's video before the assessment prompt. */
@media (max-width: 640px) {
  .hero-section .welcome-video { order: 0; margin-bottom: 20px;}
  .hero-section .hero-copy { order: 1; }
  .hero-section .hero-photo { display: none; }
}
