@charset "UTF-8";
/* =========================================================================
   HVWF — National Strategy for the Home Visiting Workforce
   Built from Figma (file u6x5asDxsvBMSbWdOmySWa).

   This file is COMPILED to ../css/main.css — do not edit main.css by hand.
   Partials are loaded in cascade order (tokens → base → components → utilities).
   See assets/scss/README.md for how to compile.
   ========================================================================= */
:root {
  /* Brand colours */
  --navy: #1a2855;
  --ink: #0a0a0a;
  --white: #ffffff;
  --yellow: #f3c24e; /* primary button */
  --yellow-soft: #ffda96; /* download card  */
  --house-blue: #62b0df;
  --accent-blue: #4e8cf3;
  --stat-panel: #d9ecf9;
  /* Pillar palette */
  --p1: #2672a1;
  --p1-soft: #cbe5f4;
  --p2: #157f7d;
  --p2-soft: #cfe5e5;
  --p3: #f4b53f;
  --p3-soft: #f8e3bc;
  /* Type */
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 120px);
  --radius-lg: 24px;
  --radius-md: 16px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  /* Pillar morph — timed to the reference animation (video_showing_how_items_need_to_morph).
     Expand: box grows (~380ms) then content fades in (~420ms, delayed).
     Shrink: content fades out (~280ms) then box collapses (~520ms). Ease-out throughout. */
  --morph-ease: cubic-bezier(.22, 1, .36, 1);
  --morph-box: .4s; /* box GROW duration (video ≈380ms)     */
  --morph-box-close: .55s; /* box SHRINK duration (video ≈640ms, slower) */
  --morph-content: .46s; /* expanded content fade-in duration    */
  --morph-content-in: .18s; /* delay before content fades in (open) */
  --morph-content-out:.3s; /* content fade-out duration (close)    */
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: clamp(80px, 8vw, 104px);
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p, ul, blockquote, figure {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------- shared bits */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.section-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.625;
  color: var(--ink);
  max-width: 980px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn__icon {
  flex: none;
}
.btn--yellow {
  background: var(--yellow);
  color: var(--navy);
}
.btn--yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 40, 85, 0.18);
  background: #485377;
  color: #fff;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 18px;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.admin-bar .site-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
}
.site-nav.is-scrolled {
  background: rgba(26, 40, 85, 0.96);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.site-nav__logo {
  height: 32px;
  width: auto;
  display: block;
}
.site-nav__wordmark {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.site-nav.is-scrolled .site-nav__wordmark {
  opacity: 1;
  transform: none;
}
.site-nav__links {
  display: flex;
  gap: 28px;
}
.site-nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: #f4b53f;
  transition: width 0.3s var(--ease);
}
.site-nav__link.is-active::after {
  width: 100%;
}
.site-nav__link.is-active {
  font-weight: 700;
  color: #fff;
}
.site-nav__link:hover {
  color: #fff;
}

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}
.hero__inner {
  width: 100%;
}
.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  top: -106px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  /* Two-line scale from the Figma desktop frame (node 78:340): a lighter intro line
     over a much larger extra-bold line. Per-line sizes below are fluid (clamp) and
     hold the Figma 60:107 ratio at every width, capping at the desktop values. */
  /* Hero entrance choreography: house holds large + centred while the four
     handwritten notes are written and read (~0.3–5.7s; the 3rd note dwells only
     briefly, the last one longer), then scales down into the lower-right corner
     (~5.7–7.2s); headline and CTA fade in as it settles. */
  animation: hero-rise 0.8s var(--ease) 6.6s both;
}
.hero__title-line {
  display: block;
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.23;
  letter-spacing: 0;
}
.hero__title-line--strong {
  font-weight: 800;
  font-size: clamp(57px, 7.85vw, 107px);
  line-height: 0.93;
  letter-spacing: -0.009em;
}
.hero__cta {
  margin-top: 40px;
  animation: hero-fade 0.6s var(--ease) 7.1s both;
}
.hero__cta:hover {
  background: #616F91;
}
.hero__visual {
  position: absolute;
  bottom: 0;
  right: calc((100% - min(100%, var(--container) + var(--gutter) * 2)) / 2 - 1vw);
  width: min(50vw, 620px);
  z-index: 2;
  transform-origin: center center;
  animation: hero-house-journey 7.2s var(--ease) both;
}
.hero__image {
  width: 100%;
  height: auto;
}
.hero {
  /* Handwritten statements drive the hero entrance only (motion spec). They are
     "written" on one at a time (per-character, handwriting font), accumulate as
     scattered notes, then the whole set fades away to the resting hero. The JS
     reveals them; with no JS / reduced motion they stay invisible (opacity 0). */
}
.hero__statements {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  z-index: 4;
  list-style: none;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.hero__statements.is-done {
  opacity: 0;
}
.hero__statement {
  position: absolute;
  max-width: 15ch;
  margin: 0;
  font-family: "Caveat", var(--font-display), cursive;
  font-weight: 600;
  font-size: clamp(20px, 2.3vw, 34px);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 14px rgba(11, 31, 59, 0.6);
  opacity: 0;
}
.hero__statement.is-active {
  opacity: 1;
}
.hero__statement {
  /* Scatter the four notes in the navy space AROUND the centred house (top, left,
     right) so they never sit over the people image (ref: AE hero entrance). */
}
.hero__statement:nth-child(1) {
  top: 9%;
  left: 35%;
  right: auto;
  text-align: center;
  transform: rotate(-2deg);
}
.hero__statement:nth-child(2) {
  top: 40%;
  left: 6%;
  right: auto;
  text-align: left;
  transform: rotate(2deg);
}
.hero__statement:nth-child(3) {
  top: 30%;
  right: 7%;
  left: auto;
  text-align: left;
  transform: rotate(-1.5deg);
}
.hero__statement:nth-child(4) {
  top: 58%;
  right: 5%;
  left: auto;
  text-align: left;
  transform: rotate(2deg);
}
.hero__statement .char {
  opacity: 0;
}
.hero__statement .char.is-in {
  opacity: 1;
  transition: opacity 0.12s var(--ease);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Centred + moderate while the handwriting is written and read (leaving navy room for
   the notes around it), then settles into the lower-right corner. The 79% hold (~5.7s of
   the 7.2s journey) keeps the house off the right-hand notes until the last one has been
   read, so the glide never overlaps a note still on screen. */
@keyframes hero-house-journey {
  0% {
    opacity: 0;
    transform: translate(-57%, -20%) scale(1.04);
  }
  6% {
    opacity: 1;
    transform: translate(-57%, -20%) scale(1.04);
  }
  79% {
    opacity: 1;
    transform: translate(-57%, -20%) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.quote {
  padding-block: clamp(56px, 8vw, 110px);
}
.quote__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.quote__person {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote__photo {
  width: 181px;
  height: auto;
  border-radius: 10px;
}
.quote__attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.45;
  color: #2a2a2a;
}
.quote__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 12px;
}
.quote__role {
  font-weight: 700;
  color: var(--navy);
}
.quote__dept {
  margin-top: 6px;
}
.quote__body {
  position: relative;
  padding-top: 6px;
  padding-left: 88px;
}
.quote__intro {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: var(--navy);
  max-width: 780px;
  margin-bottom: 40px;
}
.quote__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.1vw, 38px);
  line-height: 1.25;
  color: var(--navy);
}
.quote__mark {
  position: absolute;
  left: 0;
  top: -16px;
  width: 58px;
  height: auto;
  display: block;
}
.quote__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 100px);
  margin-top: 40px;
}
.quote__partner {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  color: var(--navy);
}
.quote__partner-lead {
  display: block;
}
.quote__partner-link {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s var(--ease);
}
.quote__partner-link:hover {
  text-decoration-color: var(--navy);
}

.strategy {
  position: relative;
  z-index: 2;
  padding-block: clamp(40px, 5vw, 72px) 0;
}
.strategy__body {
  margin-top: 26px;
}
.strategy__sub {
  margin-top: 40px;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.35;
  color: var(--navy);
}
.strategy__download {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: min(390px, 100%);
  margin-top: clamp(28px, 4vw, 44px);
  margin-bottom: clamp(-100px, -6.8vw, -84px);
  padding: 24px;
  background: var(--yellow-soft);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(26, 40, 85, 0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.strategy__download:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 40, 85, 0.22);
}
.strategy__cover {
  width: clamp(150px, 16vw, 200px);
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.strategy__download-label {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.priorities {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 60px);
}

.priority {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.priority__icon {
  width: clamp(80px, 8.5vw, 120px);
  height: clamp(80px, 8.5vw, 120px);
  object-fit: contain;
}
.priority__text {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.625;
  color: var(--ink);
}
.priority__text strong {
  font-weight: 700;
}

.video-band {
  position: relative;
  height: clamp(360px, 42vw, 620px);
  overflow: hidden;
}
.video-band__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* House badge (over video + in footer) */
.house-badge {
  position: relative;
  width: 240px;
  aspect-ratio: 308/332;
}
.house-badge__house {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #62B0DF;
}
.house-badge {
  /* House outline draws itself as a single stroke: the path is ordered so it reveals
     from the bottom-left, along the bottom to the bottom-right, up the right wall and
     over the roof, finishing at the left roof end. The text SVG then fades in. */
}
.house-badge__path {
  fill: none;
  stroke: currentColor;
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.house-badge.is-in .house-badge__path {
  animation: house-draw 0.9s var(--ease) forwards;
}
.house-badge {
  /* "It takes a workforce…" SVG sits inside the house body and fades in once the
     outline has finished drawing (matches the Figma placement). */
}
.house-badge__text {
  position: absolute;
  left: 6%;
  top: 33%;
  width: 78%;
  height: auto;
  opacity: 0;
  transition: opacity 0.45s var(--ease) 0.9s;
}
.house-badge.is-in .house-badge__text {
  opacity: 1;
}

@keyframes house-draw {
  to {
    stroke-dashoffset: 0;
  }
}
/* Placement over the video + white text on the photo (matches Figma). */
.video-band .house-badge {
  position: absolute;
  width: 270px;
  right: clamp(20px, 7vw, 120px);
  /* Sit higher on the image so the Why Now panel never covers the badge. */
  bottom: clamp(90px, 15vw, 170px);
  z-index: 3;
}

.video-band .house-badge__text {
  color: #fff;
}

.why-now {
  position: relative;
  z-index: 4;
  margin-top: -60px; /* editorial overlap over the video band */
  padding-bottom: clamp(40px, 6vw, 80px);
}
.why-now__panel {
  background: var(--stat-panel);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 64px);
}
.why-now__title {
  color: var(--navy);
}
.why-now__body {
  margin-top: 18px;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.625;
  color: #0A0A0A;
}
.why-now__body strong {
  font-weight: 700;
}

.stats {
  margin-top: 40px;
  display: grid;
  /* First three stats group at the left; the ratio (1:315) is pushed to the
     far right, per the Figma layout. */
  grid-template-columns: repeat(3, auto) 1fr;
  align-items: end;
  gap: clamp(20px, 3vw, 48px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat:last-child {
  justify-self: end;
}
.stat:last-child .stat__value {
  font-size: clamp(58px, 6vw, 85px);
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 2.9vw, 40px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.stat__label {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: #000;
  max-width: 16ch;
}

.pillars {
  position: relative;
  z-index: 5;
  margin-top: -10px;
  padding-block: clamp(48px, 6vw, 96px);
}
.pillars__body {
  margin-top: 24px;
}
.pillars__prompt {
  margin-top: 16px;
  font-weight: 700;
}
.pillars {
  /* The stage is the positioning context for the morph: while a pillar opens, its
     detail panel is taken out of flow and absolutely overlaid here, and the stage
     height is animated from the cards' height to the detail's height. */
}
.pillars__stage {
  margin-top: 44px;
  position: relative;
}
.pillars__details {
  position: static;
}
.pillars {
  /* Collapsed cards: fade out as a pillar opens (JS removes them from flow once the
     morph settles, and restores them on close). */
}
.pillars__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: opacity 0.28s var(--ease);
}
.pillars__cards.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.pillar-card {
  position: relative;
  text-align: left;
  border: 0;
  border-radius: var(--radius-md);
  padding: 36px 34px 34px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}
.pillar-card[data-pillar=p1] {
  background: var(--p1);
}
.pillar-card[data-pillar=p2] {
  background: var(--p2);
}
.pillar-card[data-pillar=p3] {
  background: var(--p3);
  color: var(--navy);
}
.pillar-card__label {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.pillar-card__title {
  margin-top: 33px;
  /* Manrope Bold 30px — matches the MASTER-Home frame's collapsed card title.
     (The expanded detail title switches to Inter; the morph clone handles the swap.) */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pillar-card__summary {
  margin-top: 18px;
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 29px;
  letter-spacing: -0.439px;
  opacity: 0.9;
}
.pillar-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 11px 18px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.pillar-card[data-pillar=p1] .pillar-card__more:hover, .pillar-card[data-pillar=p2] .pillar-card__more:hover, .pillar-card[data-pillar=p3] .pillar-card__more:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.pillar-card:hover .pillar-card__more {
  background: rgba(255, 255, 255, 0.14);
}
.pillar-card {
  /* Per-pillar line-art icon, top-right (matches Figma). */
}
.pillar-card__icon {
  position: absolute;
  top: 34px;
  right: 34px;
  height: 54px;
  width: auto;
}

/* Detail panels — JS drives a card→detail "FLIP" morph (see main.js):
   the clicked card grows into this box while a clone of the title scales up, then the
   icon clone slides into place, then the remaining content fades in. Close reverses it. */
.pillar-detail {
  /* During the morph the panel overlays the cards; at rest it returns to normal flow
     (so the Actions accordion can grow the page naturally). */
}
.pillar-detail.is-morphing {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 4;
  margin: 0;
}
.pillar-detail__inner {
  position: relative;
  border-radius: var(--radius-md);
  padding: clamp(32px, 4vw, 56px);
  transform-origin: top left;
  will-change: transform;
  /* is-grow: starting state of an open (box small, everything hidden — the label,
     title and icon are shown by clones in .pillar-morph). */
}
.pillar-detail__inner.is-grow .pillar-detail__label,
.pillar-detail__inner.is-grow .pillar-detail__title,
.pillar-detail__inner.is-grow .pillar-detail__icon {
  opacity: 0;
}
.pillar-detail__inner.is-grow .pillar-detail__media,
.pillar-detail__inner.is-grow .pillar-detail__panel,
.pillar-detail__inner.is-grow .pillar-detail__connector,
.pillar-detail__inner.is-grow .pillar-detail__outcome,
.pillar-detail__inner.is-grow .pillar-detail__back,
.pillar-detail__inner.is-grow .pillar-detail__close {
  opacity: 0;
  transform: translateY(14px);
}
.pillar-detail__inner {
  /* is-revealed: the label + title swap in (from their clones, no fade) and the
     remaining content fades in — this starts as soon as the label/title finish,
     while the icon clone is still travelling (the icon is revealed at settle). */
}
.pillar-detail__inner.is-revealed .pillar-detail__label,
.pillar-detail__inner.is-revealed .pillar-detail__title {
  opacity: 1;
}
.pillar-detail__inner.is-revealed .pillar-detail__media,
.pillar-detail__inner.is-revealed .pillar-detail__panel,
.pillar-detail__inner.is-revealed .pillar-detail__connector,
.pillar-detail__inner.is-revealed .pillar-detail__outcome,
.pillar-detail__inner.is-revealed .pillar-detail__back,
.pillar-detail__inner.is-revealed .pillar-detail__close {
  opacity: 1;
  transform: none;
  transition: opacity var(--morph-content) var(--ease), transform var(--morph-content) var(--ease);
}
.pillar-detail__inner {
  /* is-hiding: close — the remaining content fades out first, then the clones and
     box shrink back to the card. */
}
.pillar-detail__inner.is-hiding .pillar-detail__label,
.pillar-detail__inner.is-hiding .pillar-detail__title,
.pillar-detail__inner.is-hiding .pillar-detail__icon {
  opacity: 0;
}
.pillar-detail__inner.is-hiding .pillar-detail__media,
.pillar-detail__inner.is-hiding .pillar-detail__panel,
.pillar-detail__inner.is-hiding .pillar-detail__connector,
.pillar-detail__inner.is-hiding .pillar-detail__outcome,
.pillar-detail__inner.is-hiding .pillar-detail__back,
.pillar-detail__inner.is-hiding .pillar-detail__close {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--morph-content-out) ease, transform var(--morph-content-out) ease;
}
.pillar-detail[data-pillar=p1] .pillar-detail__inner {
  background: var(--p1);
  color: #fff;
}
.pillar-detail[data-pillar=p2] .pillar-detail__inner {
  background: var(--p2);
  color: #fff;
}
.pillar-detail[data-pillar=p3] .pillar-detail__inner {
  background: var(--p3);
  color: var(--navy);
}
.pillar-detail__close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  transition: background 0.2s, transform 0.2s;
}
.pillar-detail__close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(90deg);
}
.pillar-detail {
  /* "Back / Return to Three Pillars" — same treatment as the quote's partner link
     (bold text, gold 3px underline) with a leading left arrow. Both instances close
     the pillar via data-pillar-close, exactly like the × button. */
}
.pillar-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: inherit;
}
.pillar-detail__back-icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.pillar-detail__back-label {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s var(--ease);
}
.pillar-detail__back:hover .pillar-detail__back-label {
  text-decoration-color: currentColor;
}
.pillar-detail[data-pillar=p3] .pillar-detail__back-label {
  text-decoration-color: var(--navy);
}
.pillar-detail__back--top {
  position: absolute;
  top: 22px;
  right: 78px;
  height: 44px;
  z-index: 10;
}
.pillar-detail__back--bottom {
  margin-top: 28px;
}
.pillar-detail__head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
.pillar-detail {
  /* Larger than the card label (16px) so it visibly grows during the morph,
     animating in lockstep with the title (see .pillar-morph__label in main.js). */
}
.pillar-detail__label {
  font-weight: 800;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.pillar-detail__title {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 8.2em; /* ≈490px at 60px — matches the Figma title block, wraps to two lines */
}
.pillar-detail__icon {
  display: block;
  margin-top: 56px;
  height: 60px;
  width: auto;
}
.pillar-detail__media {
  width: clamp(320px, 42vw, 600px);
  margin-top: -24px;
  margin-right: -16px;
}
.pillar-detail__media picture {
  display: block;
}
.pillar-detail__media img {
  width: 100%;
  height: auto;
  display: block;
}
.pillar-detail {
  /* Actions panel */
}
.pillar-detail__panel {
  position: relative;
  margin-top: -40px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: clamp(28px, 3vw, 48px);
}
.pillar-detail[data-pillar=p1] .pillar-detail__panel {
  background: var(--p1-soft);
}
.pillar-detail[data-pillar=p2] .pillar-detail__panel {
  background: var(--p2-soft);
}
.pillar-detail[data-pillar=p3] .pillar-detail__panel {
  background: var(--p3-soft);
}
.pillar-detail__actions-title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(26px, 2.4vw, 33px);
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 12px;
}
.pillar-detail {
  /* Connector + outcome */
}
.pillar-detail__connector {
  display: grid;
  place-items: start center;
  height: 56px;
  color: rgba(255, 255, 255, 0.7);
}
.pillar-detail[data-pillar=p3] .pillar-detail__connector {
  color: rgba(26, 40, 85, 0.55);
}
.pillar-detail__outcome {
  background: #fff;
  border: 7px solid #62B0DF;
  border-radius: 16px;
  padding: 24px 28px;
}
.pillar-detail[data-pillar=p2] .pillar-detail__outcome {
  border-color: #A1CCC9;
}
.pillar-detail[data-pillar=p3] .pillar-detail__outcome {
  border-color: #FBE2B3;
}
.pillar-detail__outcome-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
  color: #000;
  display: block;
  margin-bottom: 4px;
}
.pillar-detail__outcome-text {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #000;
}

/* Morph overlay — holds the title + icon clones that animate between the card and the
   detail during the FLIP. Sits above the growing box; never intercepts clicks. */
.pillar-morph {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: visible;
}
.pillar-morph:empty {
  display: none;
}

.pillar-morph__label,
.pillar-morph__title,
.pillar-morph__icon {
  position: absolute;
  margin: 0;
  transform-origin: top left;
  will-change: transform;
}

.pillar-morph__icon {
  object-fit: contain;
}

/* Accordion */
.accordion {
  max-width: 760px;
}
.accordion__item {
  border-bottom: 1px solid rgba(26, 40, 85, 0.14);
}
.accordion__item:first-child {
  border-top: 1px solid rgba(26, 40, 85, 0.14);
}
.accordion__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr 28px;
  align-items: start;
  gap: 12px;
  padding: 22px 4px;
  background: none;
  border: 0;
  text-align: left;
}
.accordion__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  padding-top: 1px;
}
.accordion__title {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #000;
}
.accordion__title p {
  margin: 0;
}
.accordion__title p + p {
  margin-top: 0.5em;
}
.accordion__title strong, .accordion__title b {
  font-weight: 700;
}
.accordion__chevron {
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: transform 0.35s var(--ease);
  padding-top: 2px;
}
.accordion__trigger[aria-expanded=true] .accordion__chevron {
  transform: rotate(180deg);
}
.accordion__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.35s var(--ease);
}
.accordion__panel-inner {
  padding: 0 28px 22px 46px;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #000;
  max-width: 60ch;
}
.accordion__panel-inner p {
  margin: 0;
}
.accordion__panel-inner p + p {
  margin-top: 1em;
}
.accordion__panel-inner strong, .accordion__panel-inner b {
  font-weight: 700;
}
.accordion__panel-inner a {
  text-decoration: underline;
}

.cta {
  position: relative;
  min-height: clamp(480px, 67.8vw, 976px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 40, 0.72) 0%, rgba(10, 18, 40, 0.3) 60%, rgba(10, 18, 40, 0.15) 100%);
}
.cta__inner {
  position: relative;
  z-index: 2;
  padding-block: 60px clamp(72px, 8vw, 120px);
}
.cta__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 45px);
  line-height: 1;
  letter-spacing: 0.3px;
  color: #fff;
  max-width: 706px;
}
.cta__heading-link {
  font-family: "Caveat", cursive;
  font-weight: 400;
  font-size: 60px;
  line-height: 49px;
  letter-spacing: 0.3px;
  color: #62B0DF;
}
.cta__buttons {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(48px, 6vw, 88px);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.site-footer__logos {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 30px;
}
.site-footer__logo {
  height: 32px;
  width: auto;
  display: block;
}
.site-footer__learn {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.site-footer__learn a {
  color: #7fb6e6;
}
.site-footer__disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 760px;
  overflow-wrap: break-word;
}
.site-footer__disclaimer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}
.site-footer__legal {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer__legal a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.site-footer__sep {
  margin-inline: 8px;
  opacity: 0.5;
}

.house-badge--footer {
  width: 200px;
}
.house-badge--footer .house-badge__house {
  color: #8fc9ee;
}
.house-badge--footer .house-badge__text {
  color: #fff;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].is-in {
  opacity: 1;
  transform: none;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-stagger].is-in > * {
  opacity: 1;
  transform: none;
}

[data-stagger].is-in > *:nth-child(2) {
  transition-delay: 0.12s;
}

[data-stagger].is-in > *:nth-child(3) {
  transition-delay: 0.24s;
}

[data-stagger].is-in > *:nth-child(4) {
  transition-delay: 0.36s;
}

/* Per-section stagger intervals (Figma spec) */
/* Three Icons — 150ms apart */
.priorities.is-in > *:nth-child(2) {
  transition-delay: 0.15s;
}

.priorities.is-in > *:nth-child(3) {
  transition-delay: 0.3s;
}

.priorities.is-in > *:nth-child(4) {
  transition-delay: 0.45s;
}

/* CTA buttons — 100ms apart */
.cta__buttons.is-in > *:nth-child(2) {
  transition-delay: 0.1s;
}

.cta__buttons.is-in > *:nth-child(3) {
  transition-delay: 0.2s;
}

.cta__buttons.is-in > *:nth-child(4) {
  transition-delay: 0.3s;
}

/* Admin Quote — the parts lift one after another (person; then mark, intro, quote and the
   partner CTA) so it reveals like the staggered sections elsewhere. The photo + name move
   together as one beat. */
.quote__person[data-animate]:not(.is-in) {
  transform: translateY(20px);
}

.quote__mark[data-animate]:not(.is-in) {
  transform: translateY(20px);
}

.quote__intro[data-animate]:not(.is-in) {
  transform: translateY(24px);
}

.quote__text[data-animate]:not(.is-in) {
  transform: translateY(30px);
}

.quote__partner[data-animate]:not(.is-in) {
  transform: translateY(30px);
}

.quote__intro[data-animate] {
  transition-delay: 0.12s;
}

.quote__text[data-animate] {
  transition-delay: 0.24s;
}

.quote__partner[data-animate] {
  transition-delay: 0.36s;
}

/* Strategy Download Card — 30px slide on scroll */
.strategy__download[data-animate]:not(.is-in) {
  transform: translateY(30px);
}

/* Section overlap rise — selected sections gently rise into their overlap as
   they enter the viewport (subtle, ease-out, once). No bounce/zoom/parallax. */
[data-overlap] {
  transition: transform 0.55s var(--ease);
}

[data-overlap]:not(.is-in) {
  transform: translateY(50px);
}

/* Soft "held" state — content already on screen at page load stays present and readable
   (just dimmed, and at its pre-reveal offset) while it waits for the hero to resolve, so
   the area is never blank. When revealed it brightens + lifts into focus. */
[data-animate].is-held {
  opacity: 0.6;
}

[data-stagger].is-held > * {
  opacity: 0.6;
}

/* Guided reveal — the in-focus beat used when those held sections are revealed right after
   the hero, so the eye is drawn down to them. Applied only for that first reveal. No bounce. */
[data-animate].is-guided,
[data-stagger].is-guided > * {
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.22, 0.9, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  [data-animate], [data-stagger] > *, [data-overlap] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__title, .hero__cta, .hero__visual {
    animation: none !important;
  }
  .pillar-detail, .pillar-detail__inner, .pillars__cards, .accordion__panel {
    transition: none !important;
  }
  .pillar-detail__inner.is-grow > *,
  .pillar-detail__inner.is-grow .pillar-detail__label,
  .pillar-detail__inner.is-grow .pillar-detail__title,
  .pillar-detail__inner.is-grow .pillar-detail__icon {
    opacity: 1 !important;
    transform: none !important;
  }
  .pillar-morph {
    display: none !important;
  }
  .house-badge__path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
  .house-badge__text {
    opacity: 1 !important;
    transition: none !important;
  }
  .site-nav__link::after {
    transition: none !important;
  }
}
@media (max-width: 1024px) {
  .quote__inner {
    grid-template-columns: 180px 1fr;
  }
  .priorities {
    gap: 28px;
  }
  .pillar-detail__head {
    grid-template-columns: 1fr;
  }
  .pillar-detail__media {
    width: min(70%, 420px);
    margin-top: 18px;
  }
  .pillar-detail__title {
    max-width: none;
  }
  .site-nav__wordmark {
    display: none;
  }
}
@media (max-width: 880px) {
  .pillars__cards {
    grid-template-columns: 1fr;
  }
  .pillar-card {
    min-height: 0;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:last-child {
    justify-self: start;
    align-self: start;
  }
  .stat:last-child .stat__value {
    font-size: clamp(44px, 8vw, 64px);
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .house-badge--footer {
    justify-self: start;
  }
}
@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }
  .site-nav__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-nav__links {
    gap: 18px;
  }
  .site-nav__link {
    font-size: 13px;
  }
  .hero {
    min-height: 620px;
    padding-top: 110px;
  }
  .hero__copy {
    top: 0;
  }
  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 86%;
    margin: 36px auto -8% auto;
    animation: none;
  }
  .hero__title, .hero__cta {
    animation: none;
  }
  .quote__inner {
    grid-template-columns: 1fr;
  }
  .priorities {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .section-title {
    color: #1A2855;
    font-size: 45px;
    font-weight: 800;
    line-height: 36px;
    letter-spacing: -0.636px;
  }
  .why-now__panel .section-title {
    line-height: 24px;
    letter-spacing: -0.424px;
  }
  .pillars .section-title {
    line-height: 46px;
  }
  .quote__body {
    padding-left: 0;
  }
  .quote__intro {
    color: #1A2855;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.375px;
    margin-bottom: 28px;
  }
  .quote__text {
    color: #1A2855;
    font-size: 37.5px;
    font-weight: 500;
    line-height: 45px;
  }
  .quote__mark {
    position: static;
    left: auto;
    top: auto;
    width: 56px;
    margin-bottom: 8px;
  }
  .quote__ctas {
    flex-direction: column;
    gap: 24px;
    margin-top: 28px;
  }
  .quote__partner {
    font-size: 16px;
  }
  .strategy__body {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 24.375px;
  }
  .strategy__sub {
    color: #1A2855;
    font-size: 19.5px;
    font-weight: 700;
    line-height: 27px;
  }
  .priority__text {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.5px;
  }
  .strategy__download {
    width: 50vw;
    gap: 8px;
    padding: 12px;
    margin-bottom: -40px;
  }
  .strategy__cover {
    width: clamp(88px, 27vw, 106px);
  }
  .strategy__download-label {
    color: #1A2855;
    font-size: 11px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: -0.22px;
  }
  .stat__label {
    font-family: var(--font-display);
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.625;
    letter-spacing: normal;
    color: #0A0A0A;
  }
  .video-band .house-badge {
    width: 26vw;
    right: 20px;
  }
  .cta__heading-link {
    display: block;
    font-size: 30px;
    line-height: 24.5px;
    letter-spacing: 0.15px;
  }
  .cta__buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta__buttons .btn {
    width: 65vw;
    justify-content: space-between;
  }
  .btn {
    justify-content: center;
  }
  .accordion__panel-inner {
    padding-left: 40px;
    padding-right: 8px;
  }
  .house-badge--footer {
    order: -1;
    justify-self: center;
    margin-bottom: 8px;
  }
}
:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.site-nav :focus-visible,
.hero :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible,
.pillar-card:focus-visible,
.pillar-detail__close:focus-visible {
  outline-color: #fff;
}

.site-footer a,
.quote a,
.video-band a {
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-footer__learn a:hover,
.site-footer__legal a:hover {
  opacity: 0.82;
}

.site-footer__logos a:hover {
  opacity: 0.75;
}
