/* site.css — Callahan Learning Center, lean reproduction of the live homepage.
   Design system verified against the LIVE site in-browser (colors/fonts/sizes via
   computed styles + screenshots), see docs/design_system.md. Brand: green #8dc63e,
   ORANGE #f5a623 (hero H1 + primary CTAs), heading purple #3f3a64, cyan #1ec0ff,
   body #696969 Montserrat 15px. Headings Fredoka One; handwritten accents Gloria
   Hallelujah. H2 = 48px, centered, two-tone (purple + green), green underline. */

/* Self-hosted script/accent font: Bryndan Write (freeware — license confirmed,
   fontspace.com/bryndan-write-font-f25017). Not on Google Fonts, so it ships as a
   local woff. Replaces Gloria Hallelujah as the handwriting accent. */
@font-face {
  font-family: 'Bryndan Write';
  src: url('/assets/fonts/bryndan-write.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --tint: #f7faf1;
  --blue-tint: #eef9ff;
  --border: #e7e7ef;
  --radius: 14px;
  --shadow: 0 14px 30px -16px rgba(63, 58, 100, 0.22);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
/* Dan round-3: `overflow-x: clip` (not `hidden`) keeps the horizontal-overflow
   guard WITHOUT establishing a scroll container — so the sticky site-header
   actually sticks on scroll (hidden was silently breaking position:sticky). */
html, body { overflow-x: clip; }
body { font-family: var(--font); margin: 0; background: var(--bg); color: var(--text); line-height: 1.7; font-size: 15px; }
h1, h2, h3, h4 { font-family: var(--display-font); color: var(--heading); line-height: 1.25; font-weight: 700; margin: 0 0 0.6em; }
h1 { font-size: 36px; }
h2 { font-size: 40px; }
h3 { font-size: 26px; }
h4 { font-size: 26px; }
p { margin: 0 0 1rem; }
a { color: var(--secondary); text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }

/* ---- Header ---------------------------------------------------------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 14px rgba(63,58,100,0.08); padding: 0.5rem 1.5rem; }
/* header content aligns with the page content column (same max-width), not the viewport edges */
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--maxw); margin: 0 auto; }
.logo { height: 58px; width: auto; }
/* Mobile-only compact header wordmark: hidden on desktop; the ≤900px query swaps
   it in for .logo-wide. Only present when site.yaml brand.logo_mobile is set. */
.logo-mobile { display: none; }
.brand-name { font-family: var(--display-font); font-size: 1.3rem; color: var(--heading); }
.header-right { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { display: flex; flex-direction: row; align-items: center; gap: 0.5rem; }
.phone-ico { flex: none; }
.hp-text { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.header-phone .cun { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--text); text-transform: uppercase; }
/* Dan round-2: phone number reads too light — Aleo Bold (700). */
.header-phone .num { font-family: var(--display-font); font-weight: 700; color: var(--primary); font-size: 1.15rem; }
.header-tour { font-size: 16px; padding: 0.55rem 1.5rem; }
@media (max-width: 600px) { .header-phone { display: none; } }

/* ---- Buttons (pill, Fredoka 18px) ------------------------------------ */
/* buttons reproduce the live "giraffe-btn": Fredoka One, fully rounded, soft
   shadow, 200px min; solid buttons hover to purple with a slight scale-up. */
.btn { display: inline-block; font-family: var(--display-font); font-weight: 700; font-size: 18px; padding: 0.85rem 2.4rem; border-radius: 999px; line-height: 1.3; text-align: center; transition: all 0.2s ease-in-out; }
.btn-primary { background: var(--accent-orange); color: #fff; }   /* orange body CTA */
.btn-secondary { background: var(--primary); color: #fff; }       /* green */
.btn-green { background: var(--primary); color: #fff; }
.btn-primary, .btn-secondary, .btn-green { box-shadow: 0 2px 5px rgba(53, 52, 52, 0.3); min-width: 200px; }
.btn-primary:hover, .btn-secondary:hover, .btn-green:hover { background: var(--heading); color: #fff; transform: scale(1.02); box-shadow: 3px 9px 10px rgba(53, 52, 52, 0.45); opacity: 1; }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-light { background: #fff; color: var(--heading); }
.btn-outline:hover, .btn-light:hover { opacity: 0.92; }
/* Dan round-4: the enroll band's "Call Us Now" (a .btn-light) turns green on hover
   with the same lift as .btn-secondary ("View Openings & Apply"); resting state
   (white) is unchanged. Scoped to the enroll band so other .btn-light uses keep
   the plain dim-on-hover above. */
.enroll-band .btn-light:hover { background: var(--primary); color: #fff; transform: scale(1.02); box-shadow: 3px 9px 10px rgba(53, 52, 52, 0.45); opacity: 1; }

/* ---- Bands ----------------------------------------------------------- */
/* Dan feedback: wider responsive side gutters so content isn't smushed against
   the screen edges, + a touch more vertical room so sections can breathe. */
.band { padding: 3.75rem clamp(1.5rem, 5vw, 4.5rem); }
.band > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.band > h2, .hero h2 { text-align: center; }
.band > h2 { margin-bottom: 2rem; position: relative; }
.band > h2 .accent { color: var(--primary); }                 /* two-tone heading */
.band > h2::after { content: ''; display: block; width: 64px; height: 4px; background: var(--primary); border-radius: 2px; margin: 0.6rem auto 0; }
/* Dan feedback: left-align the content-section headings (matches the live site and
   reads easier than centered). Short CTA / center-band sections stay centered. */
.band.all-programs > h2, .band.programs > h2, .band.differentiators > h2, .band.locations > h2 { text-align: left; }
.band.all-programs > h2::after, .band.programs > h2::after, .band.differentiators > h2::after, .band.locations > h2::after { margin-left: 0; }
.section-note { text-align: center; color: var(--text); margin: -1.25rem auto 2rem; }
/* Dan round-2: the paragraph under "Our Programs" reads left-aligned — but it must
   stay in the centered content column (same left edge as the heading + the cards),
   so keep the auto side-margins from `.band > *` and only flip the text alignment. */
.band.programs .section-note { text-align: left; }
.band.tint { background: var(--tint); }
.site-main { width: 100%; }

/* ---- Hero: text left, vertical logo + heading ------------------------ */
/* Dan round-3: a subtle drop shadow along the bottom edge of the hero block,
   separating it from "What Makes Us Different" (per Dan's example image). The
   position/z-index lets the soft shadow sit over the section that follows. */
.hero { padding: 4.5rem clamp(1.5rem, 5vw, 4.5rem) 4rem; background: #fff; position: relative; z-index: 1; box-shadow: 0 16px 24px -16px rgba(63,58,100,0.22); }
.hero-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center; }
/* Dan round-3: hero now shows the bare leaf-motif mark at ~half the heading width
   (was the 320px vertical wordmark). */
/* Dan round-4: leaf mark reduced ~30% (240 -> 168px). */
.hero-logo { max-width: 168px; margin-bottom: 0.75rem; }
/* B1: emotional hero line leads (big, orange display); the SEO H1 is a smaller
   purple supporting line below it. B5: handwriting overline tag above both. */
.hero-tag { font-family: var(--accent-font); color: var(--primary); font-size: 1.25rem; margin: 0 0 0.4rem; }
/* Dan round-3: hero line dialed down slightly (38 → 32px). */
.hero-line { font-family: var(--display-font); font-weight: 800; text-align: left; font-size: 32px; line-height: 1.2; margin: 0 0 1rem; }
/* Dan round-2: hero line in gold #FBB21B. Needs the extra class to beat
   `.hero-copy p { color: var(--text) }` (which otherwise grayed it out). */
.hero-copy .hero-line { color: var(--accent-gold); }
/* Dan round-2: the supporting H1 set in Bryndan Write (handwriting accent). */
.hero-copy h1 { font-family: var(--accent-font); color: var(--heading); text-align: left; font-size: 22px; font-weight: 400; line-height: 1.5; margin-bottom: 1.25rem; }
.hero-copy p { color: var(--text); }
.hero-actions { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-art { text-align: center; }
.hero-art img { max-width: 600px; width: 100%; }
/* Mobile-only inline hero illustration (rendered after the <h1> inside .hero-copy):
   hidden on desktop, where the right-column .hero-art shows instead. The ≤900px
   query reverses this so the image sits directly beneath the headline. */
.hero-art-inline { display: none; }

/* ---- Cards (flat) ---------------------------------------------------- */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; padding: 2rem 1.75rem; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; }
.card h3, .card h4 { margin-top: 0; }
.card p { color: var(--text); }
/* Careers — "Current Openings" cards (openings.html.j2) */
.card-grid.cols-1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.opening-card { text-align: left; }
.opening-card h3 { color: var(--heading); margin-bottom: 0.1rem; }
.opening-type { font-weight: 700; color: var(--primary-dark); margin: 0.1rem 0 0.35rem; }
.opening-locs { font-weight: 600; margin: 0 0 0.9rem; }
.opening-summary { margin: 0 0 1rem; }
.opening-benefits { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
/* Dan round-3: the benefit "bubbles" are purple (were yellow --accent). */
.opening-benefits li { background: var(--heading); color: #fff; font-size: 0.85rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; }
/* Optional "View full job description (PDF)" link under the benefits. */
.opening-jd { display: inline-block; margin: 0 0 1.1rem; font-weight: 600; color: var(--primary-dark); text-decoration: none; border-bottom: 1px solid currentColor; }
.opening-jd::before { content: "\1F4C4\00A0\00A0"; }
.opening-jd:hover { color: var(--heading); }
/* Dan round-3: the clickable Apply button is GREEN (was purple in round-2) — it
   keeps the standard .btn-green styling (green, purple hover); no override here. */
.openings-empty { max-width: 640px; }
/* Careers two-column: openings on the left, embedded IKS apply form on the right
   (mirrors .iks-layout on schedule-a-tour, inverted so Apply sits to the right). */
.openings-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 1.2fr); gap: 2.5rem; max-width: 1100px; margin: 1.5rem auto 0; align-items: start; }
.openings-col { display: flex; flex-direction: column; gap: 1.5rem; }
.openings-apply { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.openings-apply h3 { margin-top: 0; color: var(--heading); }
.openings-apply .iks-form iframe { width: 100%; border: 0; }
@media (max-width: 900px) { .openings-layout { grid-template-columns: 1fr; } }
.diff-card { text-align: left; padding: 0 0.5rem; }
.diff-icon { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 1.25rem; display: block; }
.diff-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; border-left: 4px solid var(--primary); padding-left: 0.85rem; }
.diff-head h4 { margin: 0; }
.diff-num { font-family: var(--display-font); font-size: 47px; line-height: 1; color: #dddddd; flex: none; }
.diff-card p { margin-top: 0.9rem; }

/* ---- Approach split -------------------------------------------------- */
/* Dan round-3: stretch both columns to the same height, and let the LEFT image
   grow to fill whatever space remains under its heading+eyebrow so the media
   column matches the right copy card's height (no short/ragged image). */
.approach .split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
.approach .split-media { display: flex; flex-direction: column; }
.split-media img { border-radius: var(--radius); margin-top: 1rem; flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; }
.approach .split-media h2 { text-align: left; }
.approach .split-media h2::after { margin-left: 0; }
.eyebrow { font-family: var(--accent-font); color: var(--primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.approach .list-intro { color: var(--text); margin-bottom: 0.5rem; }
.approach-list { list-style: none; padding: 0; margin: 0 0 1.25rem; columns: 2; column-gap: 1.5rem; }
.approach-list li { break-inside: avoid; padding: 0.3rem 0 0.3rem 1.6rem; position: relative; font-weight: 600; color: var(--heading); font-size: 0.92rem; }
.approach-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-orange); font-weight: 800; }
.approach-cta a { color: var(--primary); font-weight: 700; }
/* Dan feedback: frame the approach copy in a soft white card with a drop shadow
   (the live site's "container + shadow" that gives the section presence/rest). */
.approach .split-copy { background: #fff; border-radius: var(--radius); padding: 1.85rem 2rem; box-shadow: var(--shadow); }
/* Dan round-2: subtle decorative texture on the Approach band (the same asset used
   in All Programs Include), laid under the tint colour at high opacity so it only
   whispers through — adds visual interest without re-bloating the page. */
.approach.band.tint { background-color: var(--tint); background-image: linear-gradient(rgba(247,250,241,0.94), rgba(247,250,241,0.94)), url("/assets/img/all-programs-bg.webp"); background-size: cover; background-position: center; }

/* ---- Programs -------------------------------------------------------- */
.programs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.program { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 0.75rem; text-align: center; }
.prog-icon { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 0.5rem; }
.prog-label { font-family: var(--accent-font); color: var(--primary); font-size: 0.95rem; margin: 0 0 0.2rem; }
.program h3 { margin: 0; font-size: 22px; line-height: 1.2; }

/* ---- All Programs Include (purple band, white pills) ----------------- */
/* Dan feedback: match the LIVE section's "professional" texture exactly — its own
   decorative banner (triangles/waves/confetti/book) shown faintly THROUGH an 80%
   purple overlay (the live used data-overlay-color rgba(39,0,80,0.8) over this same
   asset). Reused verbatim from the mirror so it matches, not approximates. */
/* Dan round-3: `cover` (was `100% 100%`) so the background image keeps its
   aspect ratio instead of stretching/squashing when the viewport zooms. */
.band.all-programs { background-color: #270050; background-image: linear-gradient(rgba(39,0,80,0.8), rgba(39,0,80,0.8)), url("/assets/img/all-programs-bg.webp"); background-size: cover; background-position: center; background-repeat: no-repeat; }
.band.all-programs > h2 { color: #fff; }
.band.all-programs > h2 .accent { color: var(--primary); }
.pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.25rem; max-width: var(--maxw); }
/* live "style2" feature pill: white at rest (green check + grey text); on hover a
   white overlay slides out left→right revealing the green base, text goes white. */
/* Dan round-2: pills hug the copy neatly (rounded-rect so 2-line text fits, flex
   to vertically center text + check) and the checks are larger (closer to live). */
.pill { background: #50b746; border-radius: 16px; padding: 0.7rem 1.35rem 0.7rem 3.25rem; position: relative; overflow: hidden; color: var(--text); font-weight: 500; font-size: 0.95rem; display: flex; align-items: center; }
.pill::before { content: ''; position: absolute; inset: 0; background: #ececee; transform: translateX(0); transition: transform 0.6s ease; z-index: 0; }
.pill:hover::before { transform: translateX(101%); }
.pill-body { position: relative; z-index: 1; display: block; transition: color 0.3s ease; }
.pill-body::before { content: ''; position: absolute; left: -2.4rem; top: 50%; transform: translateY(-50%); width: 1.35rem; height: 1.35rem; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%2350b746' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat; transition: filter 0.3s ease; }
.pill:hover .pill-body { color: #fff; }
.pill:hover .pill-body::before { filter: brightness(0) invert(1); }

/* ---- Hourly / Full-Day cards ----------------------------------------- */
/* Dan feedback: the cards were as wide as the full content band, which stretched
   the text far apart. Constrain to a compact centered pair (matches the live site). */
/* Dan round-4: widened (780 -> 880px) so the card copy no longer leaves widows. */
.care-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 880px; }
/* Dan round-2: dark-purple header + white text (superseded the prior orange/dark);
   equal-height cards (flex column + body flex:1); roomier padding; and NO trailing
   divider under the last item (the "thin white line" Dan flagged). */
.care-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.care-card .care-head { background: var(--heading); color: #fff; padding: 1.75rem 1.75rem; }
.care-card .care-head h3 { color: #fff; margin: 0; }
.care-card .care-head .sub { font-family: var(--accent-font); font-style: normal; color: #fff; margin: 0.35rem 0 0; }
.care-card .care-body { background: #f4f4f6; padding: 1rem 1.75rem 1.5rem; flex: 1; }
.care-card .care-body li { list-style: none; padding: 0.85rem 0; border-bottom: 1px solid #e2e2e8; }
.care-card .care-body li:last-child { border-bottom: none; }
.care-card .care-body ul { padding: 0; margin: 0; }

/* ---- Behavioral / next-step / careers -------------------------------- */
.behavioral, .next-step, .careers { text-align: center; }
.behavioral > *, .next-step > *, .careers > * { max-width: 820px; }
.next-step { background: var(--blue-tint); }
/* Dan round-3: the kids-reading brand logo under the Take-the-Next-Step CTA. */
.next-step-logo { display: block; width: 100%; max-width: 520px; height: auto; margin: 2.25rem auto 0; }
/* Dan round-4 experiment: optional logo ABOVE the heading (next_step logo_position:
   above). Inert until that block sets it; bottom margin instead of top. */
.next-step-logo--above { margin: 0 auto 1.5rem; }
.lead { color: var(--text); font-size: 1.05rem; }
/* Dan round-2: behavioral tagline reads as a Bryndan Write subhead; the
   "Learn more…" link uses brand green to match the other on-page links. */
/* Dan round-5: the scholarship subhead shares the behavioral subhead's look —
   green (--primary) Bryndan Write (--accent-font). It was .behavioral-scoped, so
   the scholarship .subhead rendered as plain text. */
.behavioral .subhead, .scholarship .subhead { font-family: var(--accent-font); color: var(--primary); font-size: 1.6rem; margin: 0 auto 0.75rem; }
.behavioral a { color: var(--primary); }

/* ---- Locations ------------------------------------------------------- */
/* Dan round-2: each card gets the same soft drop shadow as the Customer Stories. */
.location-card { text-align: center; border: 1px solid var(--border); padding: 0; overflow: hidden; box-shadow: var(--shadow); }
/* Dan round-2: green "before/after school care" banner above the info block
   (LG + FM only; gated on school_age_care in the template). */
.location-card .loc-banner { background: var(--primary); color: #fff; font-weight: 600; text-align: center; padding: 0.55rem 1rem; font-size: 0.98rem; }
/* Dan round-3: purple variant (Maple Grove's "Newly renovated classrooms!"). */
.location-card .loc-banner.purple { background: var(--heading); }
.location-card .loc-photo { width: 100%; height: 200px; object-fit: cover; }
/* per-school crossfade carousel inside each location card (the live slider-pro) */
.location-card .loc-carousel { position: relative; width: 100%; height: 240px; overflow: hidden; }
.location-card .loc-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.location-card .loc-slide.active { opacity: 1; }
/* hover controls: prev/next arrows + expand-to-lightbox (revealed on hover) */
.loc-nav, .loc-expand { position: absolute; z-index: 2; border: none; cursor: pointer; color: #fff; background: rgba(0,0,0,0.35); opacity: 0; transition: opacity 0.25s ease, background 0.2s ease; line-height: 1; }
.loc-carousel:hover .loc-nav, .loc-carousel:hover .loc-expand { opacity: 1; }
.loc-nav:hover, .loc-expand:hover { background: rgba(0,0,0,0.6); }
.loc-nav { top: 50%; transform: translateY(-50%); width: 38px; height: 48px; font-size: 28px; }
.loc-prev { left: 0; border-radius: 0 4px 4px 0; }
.loc-next { right: 0; border-radius: 4px 0 0 4px; }
.loc-expand { top: 8px; right: 8px; width: 34px; height: 34px; font-size: 18px; border-radius: 4px; }
/* fullscreen lightbox (the live slider-pro "expand") */
.loc-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.9); }
.loc-lightbox[hidden] { display: none; }
.loc-lightbox .lb-image { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); }
.loc-lightbox .lb-close { position: absolute; top: 18px; right: 22px; }
.loc-lightbox .lb-nav, .loc-lightbox .lb-close { border: none; cursor: pointer; color: #fff; background: rgba(255,255,255,0.12); line-height: 1; border-radius: 6px; }
.loc-lightbox .lb-nav:hover, .loc-lightbox .lb-close:hover { background: rgba(255,255,255,0.28); }
.loc-lightbox .lb-nav { width: 54px; height: 64px; font-size: 40px; margin: 0 18px; }
.loc-lightbox .lb-close { width: 44px; height: 44px; font-size: 22px; margin: 0; }
@media (max-width: 600px) { .loc-lightbox .lb-nav { width: 40px; height: 52px; font-size: 30px; margin: 0 6px; } }
.location-card .loc-body { padding: 1.5rem; }
/* Dan round-4: standalone per-location slideshow on the location pages — the SAME
   crossfade carousel as the homepage location cards (driven by the shared
   [data-loc-carousel] rotator + lightbox in base.html.j2), just smaller and
   centered. Reuses the homepage image set, so each photo is cached once and shown
   in two places. The slide rules mirror .location-card's so the crossfade works
   outside a card. */
.slideshow-band .slideshow { max-width: 680px; margin: 0 auto; }
.slideshow-band .loc-carousel { position: relative; width: 100%; height: 320px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.slideshow-band .loc-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.slideshow-band .loc-slide.active { opacity: 1; }
@media (max-width: 600px) { .slideshow-band .loc-carousel { height: 220px; } }
.location-card h3 { color: var(--heading); }
.location-card h3 a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.location-card h3 a:hover { color: var(--primary); }
.location-card p { margin: 0.25rem 0; }
.location-card .btn { margin-top: 1rem; }
/* Dan round-2: the "Learn More" outline button fills green with white text on
   hover (was just dimming), matching the link hover colour. */
.location-card .btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); opacity: 1; }

/* ---- Testimonials ---------------------------------------------------- */
/* Center the cards so a 2-card set sits centered instead of leaving an empty 3rd
   grid slot (which reads as "one is missing"). Flex wraps: 3 fill a row, 2 center. */
.testimonials .card-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.testimonials .testimonial { flex: 0 1 340px; }
.testimonial { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 1.75rem; margin: 0; box-shadow: var(--shadow); text-align: left; }
.testimonial cite { display: block; margin-top: 0.75rem; color: var(--heading); font-style: normal; font-family: var(--accent-font); }
/* D5 — "Verified [platform] review" source label/link (no hover-only tooltips) */
.verified-review { display: inline-block; margin-top: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--primary); }
a.verified-review:hover { text-decoration: underline; }
.testimonials .center { margin-top: 2rem; }

/* ---- Scholarship module (B3) ----------------------------------------- */
/* Dan round-2: body copy matches the section's Montserrat size (15px); the footnote
   asterisk link is brand green like the other on-page links. */
.scholarship .lead { max-width: 760px; font-size: 15px; }
.scholarship .lead a { color: var(--primary); }
.scholarship-cta { font-weight: 600; color: var(--heading); max-width: 760px; }
.scholarship-cta a { color: var(--primary); }

/* ---- Enroll band ----------------------------------------------------- */
.enroll-band { background: var(--heading); color: #fff; text-align: center; padding: 3.5rem 1.5rem; }
.enroll-band h2 { color: #fff; }
.enroll-phone { color: var(--primary); }

/* ---- Location page (unchanged) --------------------------------------- */
.location-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.location-facts p { margin: 0.4rem 0; }
.location-facts .addr { font-size: 1.15rem; color: var(--heading); font-weight: 600; }
.daily-care { color: var(--text); margin-top: 1rem !important; }
/* loc-facts — data-driven per-location NAP block (D2/D6/C4/Block5) */
.loc-facts .addr { font-size: 1.2rem; color: var(--heading); font-weight: 600; }
/* margin auto keeps each line's (max-width) block centered under the heading —
   a plain `0` here was left-aligning the facts while the heading stayed centered. */
.loc-facts p { margin: 0.35rem auto; }
.loc-facts .daily-care { margin-top: 1rem; }
/* Dan round-2: in-text links on the location pages are brand green. */
.loc-facts a { color: var(--primary); }
/* block + auto margins so the keyless-embed iframe (inline by default) actually
   centers instead of clinging to the left at a default width */
.map-embed { display: block; width: 100%; max-width: 860px; height: 360px; border: 0; border-radius: var(--radius); background: var(--tint); margin: 0 auto; }
.map-actions { text-align: center; margin-top: 1.25rem; }
.map-fallback { display: inline-block; padding: 1rem; }

/* ---- Footer (light gray, 3-col, green bottom bar) -------------------- */
.site-footer { background: #f3f4f6; color: var(--text); padding: 3.5rem 5% 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; max-width: var(--maxw); margin: 0 auto; }
.footer-logo { max-width: 220px; margin-bottom: 1rem; }
/* B5 — short brand tag near the footer logo (handwriting accent) */
.footer-tag { font-family: var(--accent-font); color: var(--primary); font-size: 1.2rem; margin: 0 0 0.6rem; }
/* N2 — Reviews link replacing the old "Google 5 Star" footer badge (a real,
   source-linked trust signal rather than a hardcoded blanket claim). */
.footer-reviews-link { margin: 0.9rem 0 0; }
.footer-reviews-link a { color: var(--primary); font-weight: 700; text-decoration: none; }
.footer-reviews-link a:hover { color: var(--primary-dark); text-decoration: underline; }
.footer-col h4 { color: var(--primary); font-size: 1.4rem; margin-bottom: 1rem; }
/* Dan round-2: "More Information" heading sits above the secondary nav links,
   separated from the social row above it. */
.footer-col h4.footer-subhead { margin-top: 1.75rem; }
.footer-col p, .footer-col li { margin: 0.4rem 0; }
.footer-col ul { list-style: none; padding: 0; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--primary); }
/* social links are orange icons (matches the live FA glyphs), not text words */
.footer-social { display: flex; gap: 0.85rem; align-items: center; }
.footer-social a { color: var(--accent-orange); display: inline-flex; transition: opacity 0.2s ease; }
.footer-social a:hover { color: var(--accent-orange); opacity: 0.7; }
.footer-social .ico { width: 20px; height: 20px; }
/* contact lines lead with a small icon (phone / envelope / map-pin) */
.footer-contact { display: flex; align-items: flex-start; gap: 0.55rem; }
.footer-contact .ci { color: var(--primary); flex: 0 0 auto; line-height: 1; margin-top: 2px; }
.footer-contact .ci .ico { width: 15px; height: 15px; display: block; }
.ico { display: inline-block; vertical-align: middle; }
/* Dan round-4: the green bottom bar spans the full viewport width. True full-bleed
   via calc(50% - 50vw) margins — robust to the footer's 5% percentage padding (the
   old `-5%` margin was relative to the 90vw content box, so it undershot the 5vw
   padding and left a sliver of gray at each edge). Body has overflow-x: clip, so
   100vw introduces no horizontal scrollbar. Horizontal padding keeps the text off
   the screen edges. */
.footer-bar { background: var(--primary); color: #fff; text-align: center; padding: 1rem 5%; margin-top: 2.5rem; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); font-size: 0.85rem; }

/* ==== Phase-3 block components (inner pages) =========================== */

/* page_title — title over a bg image with a purple overlay */
.page-title { position: relative; background: var(--heading) center/cover no-repeat; color: #fff; text-align: center; padding: 4rem 1.5rem; }
/* Clean solid-purple title band (the placeholder bg image was a ghosted logo).
   When Dan's building photos land (G1/G2), drop the opacity to let a real photo
   show through. */
.page-title::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #3f3a64 0%, #4b4578 100%); }
.page-title-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.page-title h1 { color: #fff; font-size: 44px; margin: 0; }
.page-title p { color: rgba(255,255,255,0.92); margin: 0.75rem auto 0; max-width: 760px; }

/* generic band bg variants */
.blue-bg { background: var(--blue-tint); }
.purple-bg { background: var(--heading); color: #fff; }
.purple-bg h2, .purple-bg .lead { color: #fff; }
.center-band { text-align: center; }
.center-band > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.eyebrow.center { text-align: center; }

/* prose — constrained rich text */
.prose-band .prose { max-width: 820px; margin: 0 auto; }
/* Operator round-3: when an intro banner leads straight into a prose section
   (e.g. /careers' intro → "What we look for"), the two bands' stacked padding +
   the heading's top margin read as too much dead space. Collapse the prose band's
   top padding and zero the first prose element's top margin in that case. */
.band.center-band + .band.prose-band { padding-top: 0.5rem; }
.prose > :first-child { margin-top: 0; }
.prose h3 { font-size: 24px; margin: 1.6rem 0 0.6rem; }
.prose h4 { font-size: 20px; color: var(--heading); margin: 1.2rem 0 0.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
/* Dan round-2: in-text links are brand green across prose pages (was cyan). */
.prose a { color: var(--primary); }
/* Dan round-2: short green rule that delineates the sections on the good-fit page. */
.prose .green-rule { width: 64px; height: 4px; background: var(--primary); border-radius: 2px; margin: 2.5rem 0 1.25rem; }
.prose .green-rule:first-child { margin-top: 0; }

/* faq — native accordion */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 0.85rem; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.faq-item > summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-family: var(--display-font); color: var(--heading); font-size: 1.1rem; position: relative; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: '+'; position: absolute; right: 1.4rem; color: var(--primary); font-weight: 800; }
.faq-item[open] > summary::after { content: '–'; }
.faq-a { padding: 0 1.4rem 1.2rem; color: var(--text); }
/* Dan round-2: in-text FAQ answer links are brand green. */
.faq-a a { color: var(--primary); }

/* form — visual, non-submitting */
.webby-form { max-width: 760px; margin: 1.5rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.webby-form .field { display: flex; flex-direction: column; }
.webby-form .field-wide, .webby-form .form-submit { grid-column: 1 / -1; }
.webby-form label { font-weight: 600; color: var(--heading); font-size: 0.85rem; margin-bottom: 0.3rem; }
.webby-form .req { color: var(--accent-orange); }
.webby-form input, .webby-form select, .webby-form textarea { border: 1px solid var(--border); border-radius: 8px; padding: 0.7rem 0.85rem; font: inherit; }
.webby-form .form-submit { justify-self: center; border: 0; cursor: pointer; margin-top: 0.5rem; }
.form-intro { max-width: 760px; margin: 0 auto; }

/* iks_form — embedded IKS CRM webform (loader injects an iframe into .iks-form) */
.iks-form { width: 100%; }
.iks-form iframe { width: 100%; border: 0; }
/* form + location-cards column. The cards narrow the form (reads better) and help
   the visitor pick the center the form asks them to select. Stacks on mobile. */
.iks-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.85fr); gap: 2.5rem; max-width: 1060px; margin: 1.5rem auto 0; align-items: start; }
.iks-layout.solo { display: block; max-width: 620px; }   /* no side cards -> just a narrower centered form */
.iks-locations { display: flex; flex-direction: column; gap: 1rem; }
.iks-loc-map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); background: var(--tint); }
.iks-loc-lead { font-weight: 600; color: var(--heading); margin: 0.25rem 0; }
.iks-loc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow); text-align: left; }
.iks-loc-card h4 { margin: 0 0 0.4rem; font-size: 1.2rem; color: var(--heading); }
/* short code next to the name (cross-references the map pins) */
.loc-code { color: var(--primary); font-size: 0.72em; font-weight: 700; letter-spacing: 0.04em; vertical-align: middle; }
.iks-loc-card p { margin: 0.15rem 0; font-size: 0.92rem; }
.iks-loc-card .iks-loc-addr { color: var(--heading); font-weight: 600; }
@media (max-width: 900px) { .iks-layout { grid-template-columns: 1fr; } }

/* contact_cards — coloured info cards */
.contact-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.contact-card { background: var(--accent); border-radius: var(--radius); padding: 1.5rem 1.6rem; color: var(--heading); }
.contact-card.accent { background: var(--accent-orange); color: #fff; }
/* label small, value prominent (the phone number / email is the point, not the label) */
.contact-card h4 { color: inherit; margin: 0 0 0.3rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.85; }
.contact-card p { margin: 0.1rem 0; font-size: 1.3rem; font-weight: 700; line-height: 1.25; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; max-width: var(--maxw); margin: 0 auto; }
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }


/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 900px) {
  h2 { font-size: 32px; }
  .band { padding: 2.5rem 1.25rem; }
  .hero { padding: 3rem 1.25rem; }
  .page-title { padding: 3rem 1.25rem; }
  .page-title h1 { font-size: 30px; }
  .hero-inner, .approach .split { grid-template-columns: 1fr; }
  /* Hero (Option B): hide the right-column illustration and show the inline copy
     instead — it renders directly beneath the headline, above the intro paragraphs. */
  .hero-art { display: none; }
  .hero-art-inline { display: block; text-align: center; margin: 0.5rem 0 1.25rem; }
  .hero-art-inline img { max-width: 360px; width: 100%; }
  .card-grid.cols-3, .card-grid.cols-2, .pill-grid, .care-cards, .footer-grid, .webby-form { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .approach-list { columns: 1; }
  /* hero stacks → center the copy (tag, big line, H1) above the illustration */
  .hero-copy { text-align: center; }
  .hero-copy h1, .approach .split-media h2 { text-align: center; }
  /* Center the approach eyebrow ("Structure you can count on…") with its heading. */
  .approach .split-media .eyebrow { text-align: center; }
  .hero-line { font-size: 26px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  /* Mobile header: swap the wide wordmark for the compact logo and keep the
     "Schedule a Tour" CTA on one line (the compact logo frees the room for it).
     display:block (not inline-block) drops the inline baseline gap so the logo
     centers vertically with the CTA instead of riding high in the header. */
  .logo-wide { display: none; }
  /* ~10% smaller than the 58px desktop logo (operator + Dan pick) — lighter and
     more balanced against the phone + CTA in the compact mobile header. */
  .logo-mobile { display: block; height: 52px; }
  /* Keep the header at its original ~74px height even with the smaller logo:
     add ~3px of vertical padding per side (0.5rem→0.7rem) so the 52px logo gets
     more breathing room top/bottom (operator: better logo↔CTA balance). The
     6px the header lost when the logo shrank 58→52 is restored. Mobile-only. */
  .site-header { padding-top: 0.7rem; padding-bottom: 0.7rem; }
  /* Shorter, lighter CTA on mobile (operator pick "Option B" ~42px): trim the
     vertical padding so the sticky "Schedule a Tour" pill is less tall and better
     balanced with the compact logo. Mobile-only — desktop keeps the .btn height.
     (The legacy `.header-tour` base override is dead — .btn wins on source order —
     so we set the height here in the media query, which cleanly wins on mobile.) */
  .header-tour { white-space: nowrap; padding-top: 0.58rem; padding-bottom: 0.58rem; }
  /* Careers intro: left-align the body copy on mobile (desktop stays centered). */
  .banner.intro-left p { text-align: left; }
}
@media (max-width: 600px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
