/* Homepage (redesign). Builds on services-redesign.css (.fsv tokens, buttons,
   wrappers); classes here are prefixed fh-. */
.fh-eyebrow-text { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #403770; margin-bottom: 8px !important; }
.fh-section-title { font-size: 40px; line-height: 1.1; }
.fh-head-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.fh-more-link { font-weight: 700; white-space: nowrap; }

/* Hero */
.fh-hero .fsv-wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.fh-hero-copy { flex: 1.15 1 0; min-width: 0; }
.fh-hero h1 { font-family: var(--font--main); font-weight: 700; font-size: 14px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: #403770; margin-bottom: 12px; }
.fh-hero-lead { font-family: var(--font--dmserifdisplay); font-size: 40px; line-height: 1.12; color: #403770; }
.fh-hero-actions { flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fh-hero-actions .fsv-btn { width: 100%; min-height: 52px; padding: 0 16px; text-align: center; }
.fh-hero-media { flex: 1 1 0; min-width: 0; }
.fh-video { margin: 0; border-radius: 20px; overflow: hidden; background: #403770; }
.fh-video-frame { position: relative; }
.fh-video video { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center bottom; background: rgba(196,231,230,0.9); }
.fh-video figcaption { padding: 6px 12px 7px; color: #FFFCFA; font-size: 13px; line-height: 1.35; }
.fh-video figcaption a { color: #FFFCFA; font-weight: 600; }
.fsv .fh-pause {
  position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(64,55,112,0.85); color: #FFFCFA; cursor: pointer;
}
.fsv .fh-pause[hidden] { display: none; }
.fh-pause svg { width: 14px; height: 14px; }
.fsv .fh-pause:hover { background: #403770; }
.fsv .fh-pause:focus-visible { outline: 3px solid var(--fsv-white); outline-offset: 2px; }

/* At a glance */
.fh-stats { border-bottom: 1px solid var(--fsv-line); }
.fh-stats .fsv-wrap { padding-top: 20px; padding-bottom: 22px; }
.fh-stats dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.fh-stats dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.fh-stats dd { margin: 0; font-family: var(--font--dmserifdisplay); font-size: 40px; line-height: 1.1; color: #403770; }
.fh-stats dt { font-size: 15px; color: #403770; }

/* Services */
#services > .fsv-wrap { padding-top: 18px; }
.fh-center { text-align: center; max-width: 760px; margin: 0 auto 20px; }
.fh-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(196,231,230,0.9); color: #403770; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.fh-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #403770; }
.fh-center p { color: #403770; font-size: 18px; margin-top: 6px !important; }
.fh-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: start; }
.fh-svc-list { padding: 8px 22px 12px !important; }
.fh-svc-list li + li { border-top: 1px solid var(--fsv-line); }
.fsv-bucket .fh-svc-list a { display: flex; gap: 12px; padding: 14px 0; text-decoration: none; color: #403770; }
.fh-svc-list a:hover .fh-svc-name { text-decoration: underline; }
.fh-svc-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #403770; }
.fh-svc-name { display: block; font-weight: 700; color: #403770; }
.fh-svc-desc { display: block; font-size: 15px; color: #403770; }
.fh-svc-foot { text-align: center; margin-top: 32px; }
.fh-svc-foot p { color: #403770; margin-bottom: 14px !important; }
.fh-svc-foot .fsv-actions { justify-content: center; }

/* Results */
.fh-proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fh-proof-card {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--fsv-line); border-radius: 18px;
  background: #FFFCFA; text-decoration: none; color: #403770;
}
.fh-proof-card:hover { border-color: var(--fsv-plum-2); }
.fh-proof-who { font-size: 13px; font-weight: 600; color: #403770; }
.fh-proof-stat { font-family: var(--font--dmserifdisplay); font-size: 21px; line-height: 1.25; color: #403770; flex: 1; }
.fh-proof-link { font-weight: 700; font-size: 15px; color: #403770; }

/* Roles */
.fh-intro { color: #403770; max-width: 640px; margin: 10px 0 28px !important; }
.fh-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fh-role { background: #FFFCFA; border: 1px solid var(--fsv-line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.fh-role-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(196,231,230,0.9); display: flex; align-items: center; justify-content: center; }
.fh-role-for { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #403770; }
.fh-role h3 { font-size: 24px; line-height: 1.15; }
.fh-mind-label { font-size: 13px; font-weight: 700; color: #403770; margin-bottom: 6px !important; }
.fh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fh-chips li { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(196,231,230,0.32); color: #403770; }
.fh-role-links li + li { border-top: 1px solid var(--fsv-line); }
.fh-role-links a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-weight: 600; text-decoration: none; }

/* Classroom */
.fh-class .fsv-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.fh-class-photo { flex: 1 1 420px; margin: 0; border-radius: 22px; overflow: hidden; background: #403770; }
.fh-class-photo img { width: 100%; height: auto; }
.fh-class-copy { flex: 1 1 420px; }
.fh-class h2 { font-size: 38px; line-height: 1.1; color: #FFFCFA; margin-bottom: 14px; }
.fh-class p { font-size: 17px; margin-bottom: 18px !important; }
.fh-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 20px; font-weight: 600; margin-bottom: 22px !important; }

/* Testimonials */
.fh-quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 20px; }
.fh-quote { margin: 0; padding: 22px; border-radius: 20px; background: rgba(196,231,230,0.32); display: flex; flex-direction: column; gap: 14px; }
.fh-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 17px; line-height: 1.5; color: #403770; }
.fh-quote figcaption { font-weight: 700; font-size: 15px; color: #403770; text-align: left; }
.fh-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; }

/* Getting started */
.fh-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 24px !important; }
.fh-steps li { background: #FFFCFA; border-radius: 20px; padding: 22px; }
.fh-step-num { font-family: var(--font--dmserifdisplay); font-size: 30px; line-height: 1; color: #403770; }
.fh-steps h3 { font-family: var(--font--main); font-weight: 700; font-size: 19px; color: #403770; margin: 12px 0 4px; }
.fh-steps p { color: #403770; font-size: 15px; }

/* Resources */
.fh-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.fh-post { display: flex; flex-direction: column; border: 1px solid var(--fsv-line); border-radius: 20px; overflow: hidden; background: #FFFCFA; text-decoration: none; color: #403770; }
.fh-post:hover h3 { text-decoration: underline; }
.fh-post-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(64,55,112,0.12); }
.fsv .fh-post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fh-post-body { padding: 16px 18px 20px; }
.fh-post-meta { font-size: 13px; font-weight: 600; color: #403770; margin-bottom: 6px !important; }
.fh-post h3 { font-family: var(--font--main); font-weight: 700; font-size: 18px; line-height: 1.3; color: #403770; }

/* Ready when you are */
.fh-ready { background: #403770; color: #FFFCFA; border-radius: 24px; padding: 28px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.fh-ready .fh-eyebrow-text { color: #FFFCFA; font-size: 13px; }
.fh-ready h3 { font-size: 28px; color: #FFFCFA; margin-bottom: 12px; }
.fh-ready ul { display: flex; flex-direction: column; gap: 8px; }

@media (min-width: 701px) {
  /* Laptops: numbers row, the services intro and the three box headers fit on one screen
     (checked at 1190 x 650) once the visitor scrolls past the hero buttons. */
  .fh-stats .fsv-wrap { padding-top: 12px; padding-bottom: 12px; }
  #services > .fsv-wrap { padding-top: 12px; }
  #fh-svc-title { font-size: 32px; }
  #services .fsv-bucket-head { padding: 18px 24px 16px; }
  #services .fsv-bucket-head h3 { margin-bottom: 4px; }
  /* First screen at 1190 x 650: smaller headline, shorter video, tighter hero spacing. */
  .fh-hero .fsv-wrap { padding-top: 16px; padding-bottom: 12px; row-gap: 12px; }
  .fh-hero-lead { font-size: 36px; }
  .fh-video video { aspect-ratio: 2.4 / 1; }
  .fh-hero-copy { flex-grow: 1.38; }
  .fh-stats .fsv-wrap { padding-top: 8px; }
  #services > .fsv-wrap { padding-top: 4px; }
}

@media (max-width: 700px) {
  /* Phones: same text sizes as before, tighter spacing. The headline stays the largest text. */
  .fh-hero .fsv-wrap { padding-top: 20px; padding-bottom: 24px; gap: 20px; }
  .fh-hero h1 { font-size: 15px; }
  .fh-hero-lead { font-size: 34px; }
  .fh-hero-copy, .fh-hero-media { flex-basis: 100%; }
  .fh-video video { aspect-ratio: 16 / 9; }
  .fh-video figcaption { font-size: 15px; padding: 10px 14px 12px; }
  .fsv .fh-pause { width: 40px; height: 40px; }
  .fh-pause svg { width: 16px; height: 16px; }
  .fh-hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fh-hero-actions .fsv-btn { font-size: 16px; padding: 0 10px; }
  .fh-section-title, .fh-class h2 { font-size: 30px; }
  .fh-stats dd { font-size: 32px; }
  .fh-stats .fsv-wrap { padding-top: 20px; padding-bottom: 20px; }
}

/* fullmind-local-fallbacks */
.menu-lottie {
  display: block;
  width: 24px;
  height: 18px;
  background: linear-gradient(to bottom, #403770 0 2px, transparent 2px 8px, #403770 8px 10px, transparent 10px 16px, #403770 16px 18px);
}

@media (max-width: 991px) {
  .nav-menu.w-nav {
    overflow: visible;
  }

  .nav-menu-links.w-nav-menu.w--nav-menu-open {
    float: none;
    position: absolute;
    z-index: 999;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 120px);
  }
}
