/* Home page sections under the Theory of Change (labs.empowerk12.org/home-sections.css):
   Proven results, Data tools, Partner voices and the next-step cards (Josh, 2026-11-16 mock).
   Brand tokens only: EK12 Blue #224798, Light Blue #94bdfd, Yellow #f7ca27 (the next-step
   eyebrow, the one yellow moment), navy DB1 #0E1C3D, DB2 #142B5B, DB4 #597198, LB2 #d3daea,
   LB3 #bfd7fe, LB4 #dfebfe, white. Comfortaa Bold for headings, Inter Bold for eyebrows,
   names and links, Inter Light for everything else. Same edges and head layout as the
   Theory of Change block (home-toc.css). */
.hs, .hs *, .hs *::before, .hs *::after { box-sizing: border-box; }
/* Squarespace holds headings and paragraphs inside code blocks at opacity 0 until they scroll in.
   (Scoped to this block's own parts so the chart widget's SVG keeps its own transforms.) */
.hs-head, .hs-head *, .hs-card, .hs-card *, .hs-quote, .hs-quote *, .hs-step, .hs-step *,
.hs .preFade, .hs .preScale, .hs .preSlide, .hs .preClip, .hs .fadeIn, .hs .scaleIn, .hs .slideIn, .hs .clipIn {
  opacity: 1 !important; animation: none !important; transform: none !important;
}
/* The section around each block: no photo, no overlay, no extra space (the block sets its own). */
.page-section:has([data-ek12-home-section]) { background-color: #fff !important; }
.page-section:has([data-ek12-home-section]) .section-background { background: #fff !important; }
.page-section:has([data-ek12-home-section="next"]),
.page-section:has([data-ek12-home-section="next"]) .section-background { background: #0E1C3D !important; }
.page-section:has([data-ek12-home-section]) .section-background img,
.page-section:has([data-ek12-home-section]) .section-background video,
.page-section:has([data-ek12-home-section]) .section-background-overlay { display: none !important; }
.page-section:has([data-ek12-home-section]) .content-wrapper { padding-top: 0 !important; padding-bottom: 0 !important; }
html.has-hs { overflow-x: clip; }

.hs {
  --hs-pad: max(88px, calc((100% - 1200px) / 2));     /* the hero's left and right edges */
  display: block; width: 100%; margin: 0; padding: 88px var(--hs-pad);
  background: #fff; color: #0E1C3D; text-align: left; border-top: 1px solid #d3daea;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif; font-weight: 300; line-height: 1.55;
}
.hs-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-items: end; margin: 0 0 40px; }
.hs .hs-eyebrow {
  margin: 0 0 12px !important; padding: 0 !important;
  font: 700 13px/1.3 Inter, 'Segoe UI', sans-serif !important; letter-spacing: .16em !important; text-transform: uppercase !important; color: #597198 !important;
}
.hs .hs-h {
  margin: 0 !important; padding: 0 !important;
  font: 700 clamp(32px, 3.3vw, 46px)/1.12 Comfortaa, Inter, sans-serif !important; letter-spacing: -.01em !important; text-transform: none !important; color: #224798 !important;
}
.hs-head.hs-head-stack { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
.hs .hs-intro {
  margin: 0 !important; padding: 0 0 4px !important; max-width: 62ch;
  font: 300 18px/1.6 Inter, 'Segoe UI', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; color: #0E1C3D !important;
}
.hs ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.hs ul > li { list-style: none !important; margin: 0 !important; }
.hs ul > li::before, .hs ul > li::marker { content: none !important; display: none !important; }

/* Links: Inter Bold with an arrow and a light underline that darkens on hover. */
.hs .hs-link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font: 700 15px/1.3 Inter, 'Segoe UI', sans-serif !important; letter-spacing: 0 !important; color: #224798 !important;
  text-decoration: underline !important; text-decoration-color: #bfd7fe !important; text-decoration-thickness: 2px !important; text-underline-offset: 5px;
  background-image: none !important; transition: text-decoration-color 150ms cubic-bezier(.2, 0, .2, 1);
}
.hs .hs-link:hover { text-decoration-color: #224798 !important; }
.hs .hs-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hs a:focus-visible, .hs button:focus-visible { outline: 3px solid #94bdfd !important; outline-offset: 3px; border-radius: 4px; }

/* Proven results: the chart widget sits under the head. */
.hs-results .hs-chart { margin: 0; }
.hs-results .hs-intro span { white-space: normal; }

/* Data tools: three cards with a screen capture on top. */
.hs .hs-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hs .hs-card {
  padding: 0 !important; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid #d3daea; border-radius: 16px;
  box-shadow: 0 1px 3px rgb(14 28 61 / .08), 0 1px 2px rgb(14 28 61 / .04);
}
.hs .hs-shot { margin: 0 !important; padding: 0 !important; aspect-ratio: 16 / 9; overflow: hidden; background: #dfebfe; border-bottom: 1px solid #d3daea; }
.hs .hs-shot img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: left top; }
.hs .hs-card-body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 24px; }
.hs .hs-card-title, .hs .hs-step-title {
  margin: 0 0 10px !important; padding: 0 !important;
  font: 700 22px/1.25 Comfortaa, Inter, sans-serif !important; letter-spacing: -.005em !important; text-transform: none !important; color: #224798 !important;
}
.hs .hs-card-text, .hs .hs-step-text {
  margin: 0 0 20px !important; padding: 0 !important;
  font: 300 16px/1.55 Inter, 'Segoe UI', sans-serif !important; letter-spacing: 0 !important; color: #0E1C3D !important;
}
.hs .hs-dots { display: none; }

/* Partner voices: the brand grid behind the quote cards, faded out behind the heading. */
.hs-voices { position: relative; isolation: isolate; background: #fff; }
.hs-voices::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(148 189 253 / .5) 1px, transparent 1px), linear-gradient(90deg, rgb(148 189 253 / .5) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 120px, #000 300px);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 120px, #000 300px);
}
.hs .hs-quotes { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hs .hs-quote {
  display: flex; flex-direction: column; padding: 32px 36px 28px !important;
  background: #fff; border: 1px solid #d3daea; border-radius: 16px;
  box-shadow: 0 1px 3px rgb(14 28 61 / .08), 0 1px 2px rgb(14 28 61 / .04);
}
.hs .hs-mark { display: block; width: 34px; height: 26px; fill: #94bdfd; margin: 0 0 16px; }
.hs .hs-q { margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; quotes: none !important; background: none !important; }
.hs .hs-q::before, .hs .hs-q::after { content: none !important; display: none !important; }
.hs .hs-q p {
  margin: 0 !important; padding: 0 !important;
  font: 300 21px/1.5 Inter, 'Segoe UI', sans-serif !important; font-style: normal !important; letter-spacing: 0 !important; text-transform: none !important; color: #0E1C3D !important;
}
.hs .hs-who { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid #d3daea; }
.hs .hs-who img { width: 56px !important; height: 56px !important; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid #d3daea; }
.hs .hs-who p { margin: 0 !important; display: grid; gap: 2px; }
.hs .hs-name { font: 700 16px/1.3 Inter, 'Segoe UI', sans-serif !important; color: #0E1C3D !important; }
.hs .hs-role { font: 300 14px/1.4 Inter, 'Segoe UI', sans-serif !important; color: #597198 !important; }

/* Next steps: the navy gradient (with the grid at 10%), EK12 Blue cards, white words.
   The yellow eyebrow is this view's one yellow moment. */
.hs-next {
  border-top: 0; color: #fff;
  background:
    linear-gradient(rgb(148 189 253 / .1) 1px, transparent 1px) center top / 32px 32px,
    linear-gradient(90deg, rgb(148 189 253 / .1) 1px, transparent 1px) center top / 32px 32px,
    linear-gradient(135deg, #142B5B 0%, #0E1C3D 100%);
}
.hs-next .hs-eyebrow { color: #f7ca27 !important; }
.hs-next .hs-h { color: #fff !important; }
.hs-next .hs-intro { color: #bfd7fe !important; }
.hs .hs-steps { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hs .hs-step { display: flex; flex-direction: column; padding: 28px 28px 26px !important; background: #224798; border-radius: 16px; }
.hs .hs-step-label {
  margin: 0 0 12px !important; padding: 0 !important;
  font: 700 12px/1.2 Inter, 'Segoe UI', sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: #bfd7fe !important;
}
.hs .hs-step .hs-step-title { color: #fff !important; }
.hs .hs-step .hs-step-text { color: #fff !important; }
.hs .hs-step .hs-link { color: #fff !important; text-decoration-color: #94bdfd !important; }
.hs .hs-step .hs-link:hover { text-decoration-color: #fff !important; }

/* Tablets: the hero's tighter frame; the intro goes under the heading. */
@media (max-width: 1099px) {
  .hs { --hs-pad: max(76px, calc((100% - 1200px) / 2)); padding-top: 72px; padding-bottom: 72px; }
  .hs-head { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .hs .hs-cards, .hs .hs-steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
  .hs .hs-quotes { gap: 18px; }
  .hs .hs-quote { padding: 26px 26px 22px !important; }
  .hs .hs-q p { font-size: 19px !important; }
}
/* Phones: one column; the tool cards become a swipe row with dots. */
@media (max-width: 819px) {
  .hs { --hs-pad: 22px; padding-top: 52px; padding-bottom: 56px; }
  .hs-head { margin-bottom: 26px; }
  .hs .hs-h { font-size: 30px !important; }
  .hs .hs-intro { font-size: 16.5px !important; }
  .hs .hs-swipe {
    display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--hs-pad)) !important; padding: 2px var(--hs-pad) 6px !important; scroll-padding: 0 var(--hs-pad);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .hs .hs-swipe::-webkit-scrollbar { display: none; }
  .hs .hs-swipe > .hs-card { flex: 0 0 84%; scroll-snap-align: start; }
  .hs .hs-card-body { padding: 20px 20px 20px; }
  .hs .hs-card-title, .hs .hs-step-title { font-size: 20px !important; }
  .hs .hs-dots { display: flex; justify-content: center; gap: 8px; margin: 16px 0 0; }
  .hs .hs-dots span { width: 8px; height: 8px; border-radius: 50%; background: #d3daea; transition: background 150ms cubic-bezier(.2, 0, .2, 1); }
  .hs .hs-dots span.on { background: #224798; }
  .hs .hs-quotes, .hs .hs-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hs .hs-quote { padding: 22px 20px 20px !important; }
  .hs .hs-mark { width: 28px; height: 21px; margin-bottom: 12px; }
  .hs .hs-q { margin-bottom: 18px !important; }
  .hs .hs-q p { font-size: 18px !important; }
  .hs .hs-step { padding: 22px 20px 20px !important; }
  .hs .hs-step-text { margin-bottom: 16px !important; }
}
/* Card lift on hover (Josh, 2026-11-26): the same small lift the summit and Collective cards have.
   Pointer devices only, and never for people who ask for less motion. */
.hs .hs-card, .hs .hs-quote, .hs .hs-step { transition: transform 220ms cubic-bezier(.2, 0, .2, 1), box-shadow 220ms cubic-bezier(.2, 0, .2, 1), border-color 220ms cubic-bezier(.2, 0, .2, 1); }
@media (hover: hover) {
  .hs .hs-card:hover, .hs .hs-quote:hover { transform: translateY(-2px) !important; border-color: #94bdfd; box-shadow: 0 4px 14px rgb(14 28 61 / .08); }
  .hs .hs-step:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 14px rgb(14 28 61 / .5); }
}
@media (prefers-reduced-motion: reduce) {
  .hs .hs-card, .hs .hs-quote, .hs .hs-step { transition: none; }
  .hs .hs-card:hover, .hs .hs-quote:hover, .hs .hs-step:hover { transform: none !important; }
}
