/* The Tree House Child Care — Level 0 theme.
   Brand colours sampled from the logo: blue #118FE4, yellow #FFCB01.
   Every colour lives in :root so a re-theme is a token change, not a rewrite. */

:root{
  /* brand — sampled from logo.png, not picked by eye:
     #B8D808 lime (51% of the mark), #0848D8 blue (25%), #782008 brown (8%). */
  --brand:#1257EE;
  --brand-600:#0848D8;      /* the logo blue exactly — links on white, 7.2:1 */
  --brand-700:#0A37A4;      /* headings on white, 10.0:1 */
  --deep:#0C2557;           /* hero ground */
  --accent:#B8D808;         /* the logo lime. NEVER text on white (1.6:1) — it is
                               a button/chip GROUND with --deep on top, 9.1:1. */
  --accent-600:#6F8204;     /* the only place lime may be text on white, 4.6:1 */
  --brown:#782008;          /* the trunk and the two children */

  /* brand tints — derived, so a re-theme moves them together */
  --brand-050:#EFF4FE;
  --brand-100:#D9E6FF;      /* body text ON --deep — measured 11.8:1 */
  --brand-200:#AFC7F5;

  /* neutrals, biased very slightly toward the brand blue */
  --ink:#141A26;
  --ink-2:#454D5C;
  --ink-3:#6C7585;
  --line:#E2E6EE;
  --line-2:#C9CFDB;
  --bg:#FFFFFF;
  --bg-alt:#F4F6FB;

  --radius:10px;
  --radius-sm:6px;
  --shadow:0 1px 2px rgba(21,33,43,.05), 0 12px 28px -20px rgba(21,33,43,.45);
  --shadow-lg:0 2px 4px rgba(21,33,43,.06), 0 24px 48px -28px rgba(21,33,43,.5);

  --font-display:"Nunito", "Helvetica Neue", Arial, sans-serif;
  --font-sans:"Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --wrap:1160px;
  --gutter:24px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-sans);
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}

.container{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.narrow{max-width:800px}
.center{text-align:center}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:0;background:var(--deep);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:8px;top:8px}

h1,h2,h3,h4{font-family:var(--font-display);font-weight:800;letter-spacing:-.02em;margin:0;text-wrap:balance}
h1{font-size:clamp(2.05rem,4.6vw,3.35rem);line-height:1.06}
h2{font-size:clamp(1.6rem,3.2vw,2.35rem);line-height:1.14}
h3{font-size:1.16rem;line-height:1.3;font-weight:700}
h4{font-size:1rem;font-weight:700}
p{margin:0 0 15px}
a{color:var(--brand-600)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:3px solid var(--brand);outline-offset:2px;border-radius:3px;
}

.eyebrow{
  font-family:var(--font-display);font-weight:700;font-size:.76rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--brand-600);margin:0 0 10px;
}

/* ── buttons ─────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:700;font-size:.95rem;
  padding:13px 24px;border-radius:var(--radius-sm);text-decoration:none;
  border:2px solid transparent;transition:transform .12s ease, background .15s ease, border-color .15s ease;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--accent);color:var(--deep);border-color:var(--accent)}
.btn-primary:hover{background:var(--accent-600);border-color:var(--accent-600)}
.btn-ghost{background:transparent;color:var(--brand-600);border-color:var(--line-2)}
.btn-ghost:hover{border-color:var(--brand);color:var(--brand-700)}
/* On the dark hero the ghost button was brand-600 on deep green — 1.5:1, all but
   invisible, and it is the "Call Us" button. */
.hero .btn-ghost{color:#fff;border-color:rgba(255,255,255,.5)}
.hero .btn-ghost:hover{color:#fff;border-color:#fff;background:rgba(255,255,255,.1)}
.btn-sm{padding:9px 16px;font-size:.88rem}
.btn-lg{padding:16px 30px;font-size:1.02rem;width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 0}

/* ── nav ─────────────────────────────────────────────── */
/* The nav is sticky at top:0, so an #anchor jump parks the section's first pixel UNDER it and
   the heading is hidden behind the bar. scroll-padding-top on the scroll container offsets
   every fragment jump at once, rather than a scroll-margin repeated on each target.
   --nav-h is set from the nav's real height by site.js (the bar is as tall as the logo, which
   is nearly square, and it changes across breakpoints); the fallback keeps this working with
   JS disabled, erring slightly tall because a small gap above a heading reads as deliberate
   and a heading tucked behind the bar reads as broken. */
html{scroll-padding-top:calc(var(--nav-h, 172px) + 16px)}
/* Utility bar. Same ground as the footer bar, so the page is bookended by the one dark
   strip rather than by two nearly-identical greys. Inside .nav on purpose -- site.js reads
   .nav offsetHeight for --nav-h, so the anchor offset absorbs this height by itself. */
.topbar{background:#071A29;color:var(--brand-200)}
.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px}
.topbar-tag{margin:0;font-size:.82rem;color:var(--brand-200);letter-spacing:.01em}
.nav{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}
.brand img{width:170px;height:auto}
.nav-menu{display:flex;align-items:center;gap:26px}
.nav-menu ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.nav-menu a{
  font-family:var(--font-display);font-weight:600;font-size:.92rem;
  color:var(--ink-2);text-decoration:none;
}
.nav-menu ul a:hover{color:var(--brand-600)}
/* Two phone numbers are ONE group: the .nav-menu gap (26px) is the spacing between
   nav groups, and at that distance the pair reads as two unrelated buttons.
   nowrap + no shrink because a flex item's default is to shrink below its content and
   let the text wrap: the button stayed inside the bar and the NUMBER broke across two
   or three lines ("703-" / "598-" / "4274"). Nothing overflowed and nothing was clipped,
   so no overflow check could see it. The links absorb the pressure instead, and the
   drawer takes over at 900px -- below that the row genuinely does not fit. */
.nav-calls{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-calls .btn{white-space:nowrap;flex-shrink:0}
/* Social icons. One rule set for both rows; only the colours differ, because the
   masthead sits on white and the footer on #071A29. Sized in px and not in em: these
   are glyphs, not text, and an inherited font-size change would silently rescale them.
   The 20px svg inside a 34px box gives the 24px+ touch target the bare icon does not. */
.social{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0;flex-shrink:0}
.social li{padding:0}
.social-a{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;
  text-decoration:none;transition:color .15s ease,background-color .15s ease;
}
.social-a svg{display:block}
/* The utility bar is dark, so these follow the footer's colours, not the nav links'.
   --ink-2 here would be 1.9:1 on #071A29 and effectively invisible. */
.social-nav .social-a{color:var(--brand-200);width:30px;height:30px}
.social-nav .social-a:hover,.social-nav .social-a:focus-visible{
  color:var(--accent);background:rgba(255,255,255,.08);
}
.social-nav svg{width:17px;height:17px}
/* Lime is never TEXT on white (1.6:1), but on #071A29 it is the footer's own accent and
   these are 20px glyphs, not copy. Contrast measured against the footer ground, not
   assumed from the token name. */
.social-foot{margin:0 0 20px}
.social-foot .social-a{color:var(--brand-200)}
.social-foot .social-a:hover,.social-foot .social-a:focus-visible{
  color:var(--accent);background:rgba(255,255,255,.08);
}
.nav-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.nav-toggle span:not(.sr){display:block;width:24px;height:2.5px;background:var(--deep);margin:5px 0;border-radius:2px}

/* ── hero ────────────────────────────────────────────── */
.hero{position:relative;color:#fff;overflow:hidden}
.hero-bg{
  position:absolute;inset:0;
  background:
    radial-gradient(1100px 500px at 78% 8%, rgba(38,96,214,.45), transparent 62%),
    linear-gradient(155deg, #14357E 0%, var(--deep) 58%, #071734 100%);
}
.hero-bg::after{
  /* Soft light from the upper left, so the hero is not a flat slab. JG had a
     hairline "roofline" diagonal here; drawn edge to edge at desktop widths it
     read as a rendering artifact, not a motif. */
  content:"";position:absolute;inset:0;
  background:radial-gradient(800px 420px at 12% 0%, rgba(255,255,255,.07), transparent 70%);
}
.hero-grid{
  position:relative;display:grid;grid-template-columns:1.15fr .85fr;
  gap:52px;align-items:center;padding:76px 24px 84px;
}
.hero .eyebrow{color:var(--accent)}
.hero h1{color:#fff}
.lead{font-size:1.16rem;line-height:1.55;color:var(--brand-100);max-width:58ch}
.hero .lead{margin-top:16px}

.chips{display:flex;flex-wrap:wrap;gap:9px;list-style:none;padding:0;margin:20px 0 0}
/* Chips inherit the alignment of the block they sit in. A hardcoded `chips-center`
   centred them unconditionally, so a centred pill cluster sat under a left-aligned
   heading on every page that rendered chips: no band in this build ever carried
   `.center`, so the modifier never once matched its context. Alignment belongs to
   the band now, not to the chip list. */
.band-head .chips{margin-top:18px}
.center .chips{justify-content:center}
.chip{
  font-family:var(--font-display);font-weight:700;font-size:.76rem;letter-spacing:.05em;
  text-transform:uppercase;padding:6px 12px;border-radius:99px;
  background:var(--brand-050);color:var(--brand-700);border:1px solid var(--brand-200);
}
.hero .chip{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.28)}
.chip-cert{background:var(--accent);color:var(--deep);border-color:var(--accent)}

.checks{list-style:none;padding:0;margin:26px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:9px 22px}
.checks-row{display:flex;flex-wrap:wrap;gap:10px 26px;justify-content:center;margin-top:18px}
.checks li{position:relative;padding-left:27px;font-size:.97rem;color:var(--brand-100)}
.checks li::before{
  content:"";position:absolute;left:0;top:.52em;width:15px;height:8px;
  border-left:2.5px solid var(--accent);border-bottom:2.5px solid var(--accent);
  transform:rotate(-45deg);
}
.band .checks li,.checks-row li{color:var(--ink-2)}
.band .checks li::before,.checks-row li::before{border-color:var(--brand)}

/* ── photo placeholders ──────────────────────────────── */
.ph{
  aspect-ratio:var(--ar,4/3);width:100%;
  border:2px dashed var(--line-2);border-radius:var(--radius);
  background:
    repeating-linear-gradient(45deg, var(--bg-alt) 0 12px, #EDF2F6 12px 24px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;color:var(--ink-3);text-align:center;padding:16px;
}
.hero .ph{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.06);color:var(--brand-100)}
.ph-i{
  width:38px;height:30px;border:2.5px solid currentColor;border-radius:4px;opacity:.5;
  position:relative;flex:0 0 auto;
}
.ph-i::after{
  content:"";position:absolute;left:5px;right:5px;bottom:4px;height:11px;
  background:currentColor;clip-path:polygon(0 100%, 32% 24%, 56% 100%, 74% 52%, 100% 100%);
}
.ph-l{font-family:var(--font-display);font-weight:600;font-size:.8rem;letter-spacing:.03em;line-height:1.3}
.ph-note{
  text-align:center;color:var(--ink-3);font-size:.88rem;font-style:italic;margin:20px 0 0;
}

/* A real photo occupying a slot. Same box as .ph — same aspect-ratio, same corner — so a
   placeholder becoming a photograph changes the picture and never the layout. The image is
   cropped to fill (cover) rather than letterboxed, because the reserved ratio is what the
   surrounding grid was measured against. */
.photo{
  aspect-ratio:var(--ar,4/3);width:100%;
  border-radius:var(--radius);overflow:hidden;background:var(--bg-alt);
}
.photo img{width:100%;height:100%;object-fit:cover;display:block}

/* ── bands ───────────────────────────────────────────── */
.band{padding:78px 0}
.band-tint{background:var(--bg-alt)}
.band-head{max-width:760px;margin:0 0 42px}
.band-tint .band-head,.center .band-head{margin-left:auto;margin-right:auto}
.band-head.center{margin-left:auto;margin-right:auto}
.band-intro{font-size:1.08rem;color:var(--ink-2);margin-top:14px}
.center .band-head,.narrow.center{text-align:center}
.narrow.center .band-intro{margin-left:auto;margin-right:auto}

/* ── service cards ───────────────────────────────────── */
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:26px}
.group-h{grid-column:1/-1;margin:8px 0 0}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;
}
.ph-card{border:0;border-bottom:1px solid var(--line);border-radius:0}
.card-body{padding:22px 22px 24px}
.card-body h3{margin-bottom:9px}
.card-body p{color:var(--ink-2);font-size:.98rem}
.subs{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;gap:7px}
.subs li{
  font-size:.8rem;padding:4px 10px;border-radius:99px;
  background:var(--brand-050);color:var(--brand-700);
}
.card-cta{
  display:inline-block;margin-top:auto;padding-top:16px;font-family:var(--font-display);
  font-weight:700;font-size:.92rem;text-decoration:none;color:var(--brand-600);
}
.card-cta:hover{color:var(--brand-700)}

.extras{margin-top:52px;padding-top:40px;border-top:1px solid var(--line)}
.extras-intro{max-width:70ch;color:var(--ink-2);margin-bottom:26px}
.mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:24px}
.mini h4{margin-bottom:7px;color:var(--ink)}
.mini p{color:var(--ink-2);font-size:.95rem;margin:0}

/* ── reviews ─────────────────────────────────────────── */
.rev-meta{font-family:var(--font-display);font-weight:700;color:var(--ink);margin-top:12px}
.rev-cta{margin-top:22px}

/* ── why us ──────────────────────────────────────────── */
.reasons{display:grid;grid-template-columns:1fr 1fr;gap:30px 44px}
.reason{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start}
.reason-n{
  font-family:var(--font-display);font-weight:800;font-size:1.05rem;
  color:var(--brand);background:var(--brand-050);border-radius:var(--radius-sm);
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;
}
.reason h3{margin-bottom:7px}
.reason p{color:var(--ink-2);font-size:.98rem;margin:0}
.promise{
  margin-top:46px;padding:30px 32px;border-radius:var(--radius);
  background:var(--deep);color:var(--brand-100);
  border-left:6px solid var(--accent);
}
.promise h3{color:#fff;margin-bottom:10px}
.promise p{margin:0}

/* ── process ─────────────────────────────────────────── */
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:28px}
.step{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start}
.step-n{
  font-family:var(--font-display);font-weight:800;font-size:1.15rem;color:var(--deep);
  background:var(--accent);border-radius:50%;width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;flex:0 0 auto;
}
.step h3{margin-bottom:6px}
.step p{color:var(--ink-2);font-size:.96rem;margin:0}

/* ── gallery ─────────────────────────────────────────── */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:20px}
.ph-tile{border-radius:var(--radius)}

/* ── service area ────────────────────────────────────── */
.counties{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:28px}
.county{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 26px}
.county h3{color:var(--brand-700);margin-bottom:12px}
.city-list{list-style:none;padding:0;margin:0}
.city-list li{padding:7px 0;border-bottom:1px solid var(--line);color:var(--ink-2);font-size:.97rem}
.city-list li:last-child{border-bottom:0}
.area-note{text-align:center;color:var(--ink-3);margin-top:26px;font-style:italic}

/* ── faq ─────────────────────────────────────────────── */
.faq{border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{
  cursor:pointer;padding:19px 44px 19px 0;position:relative;list-style:none;
  font-family:var(--font-display);font-weight:700;font-size:1.03rem;color:var(--ink);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"";position:absolute;right:8px;top:50%;width:11px;height:11px;
  border-right:2.5px solid var(--brand);border-bottom:2.5px solid var(--brand);
  transform:translateY(-70%) rotate(45deg);transition:transform .18s ease;
}
.faq-item[open] summary::after{transform:translateY(-30%) rotate(225deg)}
.faq-a{padding:0 0 20px}
.faq-a p{color:var(--ink-2);margin:0}

/* ── cta band + form ─────────────────────────────────── */
.cta-band{background:var(--deep);color:#fff;padding:78px 0}
.cta-band .eyebrow{color:var(--accent)}
.cta-band h2{color:#fff}
.cta-band .lead{margin:14px auto 0}
.lead-form{max-width:560px;margin:34px auto 0;text-align:left}
.lead-form label{display:block;margin:0 0 16px;font-family:var(--font-display);font-weight:600;font-size:.88rem;color:var(--brand-100)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.lead-form input,.lead-form textarea{
  width:100%;margin-top:7px;padding:12px 14px;font:inherit;font-size:1rem;
  border:1px solid rgba(255,255,255,.22);border-radius:var(--radius-sm);
  background:rgba(255,255,255,.07);color:#fff;
}
.lead-form input::placeholder,.lead-form textarea::placeholder{color:rgba(255,255,255,.45)}
.form-note{font-size:.83rem;color:var(--brand-200);text-align:center;margin:14px 0 0;font-style:italic}
.cta-phone{margin-top:20px;color:var(--brand-100)}
.cta-phone a{color:var(--accent);font-weight:700;text-decoration:none}
.reassure{color:var(--brand-200);font-size:.94rem;margin-top:8px}

/* ── footer ──────────────────────────────────────────── */
.foot{background:#071A29;color:var(--brand-200);padding:58px 0 0}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-bottom:44px}
.foot-brand img{width:190px;height:auto;margin-bottom:16px}
.foot-tag{color:var(--brand-100);margin:0 0 12px}
.foot-area{font-size:.92rem;color:var(--ink-3);margin:0}
.foot-col h4{color:#fff;margin-bottom:14px;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase}
.foot-list{list-style:none;padding:0;margin:0 0 20px}
.foot-list li{padding:5px 0;font-size:.95rem}
.foot-list a{color:var(--brand-200);text-decoration:none}
.foot-list a:hover{color:var(--accent)}
.foot-bar{
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding-top:22px;padding-bottom:26px;border-top:1px solid rgba(255,255,255,.1);
}
.foot-bar p{margin:0;font-size:.86rem;color:var(--ink-3)}
.foot-note{font-style:italic}

/* ── responsive ──────────────────────────────────────── */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:38px;padding:56px 24px 64px}
  .hero-media{max-width:520px}
  .reasons{grid-template-columns:1fr;gap:26px}
  .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  .foot-brand{grid-column:1/-1}
}
/* The nav collapses at 900px, not at the 760px the rest of the mobile layout uses:
   with the logo, five links and TWO phone buttons the row stops fitting at ~870px.
   Measured, not guessed -- it is the width at which .nav-in first overflows. */
@media (max-width:900px){
  .nav-toggle{display:block}
  .nav-menu{
    display:none;position:absolute;left:0;right:0;top:100%;
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;border-bottom:1px solid var(--line);padding:12px 24px 20px;
  }
  .nav-menu.open{display:flex}
  .nav-menu ul{flex-direction:column;gap:0}
  .nav-menu ul li{border-bottom:1px solid var(--line)}
  .nav-menu ul a{display:block;padding:13px 0;font-size:1rem}
  /* Stacked and full width in the drawer; the row's 10px gap would leave the two
     buttons side by side and squeezed. Each button keeps its own margin-top from
     the rule below, so the gap here is zeroed rather than doubled. */
  .nav-calls{flex-direction:column;align-items:stretch;gap:0}
  .nav-menu .btn{margin-top:14px}
  .nav-in{position:relative}
}

/* Touch targets. 30px and 34px are fine for a mouse and too small for a thumb: WCAG 2.5.5
   and Apple's HIG both put the floor at 44px. Measured at 390px, where they came out 30x30.
   The ICON stays its size -- only the hit area grows, so nothing about the design changes. */
/* 900px, not the 760px the rest of the mobile layout uses: at 768 (iPad portrait) the
   targets measured 30px, and that is a thumb. (hover:none) is the belt to that braces --
   it catches a touch device that is WIDER than 900, which a width query never can. */
@media (max-width:900px),(hover:none){
  .social-a,.social-nav .social-a{width:44px;height:44px}
  .social{gap:2px}
  .topbar-in{min-height:44px}
}

@media (max-width:620px){
  /* Below this the tagline and the icons collide and the tagline wraps to two lines,
     doubling the height of a strip that is meant to be incidental. The icons are the
     reason the bar exists, so the TAGLINE goes and they stay, centred on their own. */
  .topbar-tag{display:none}
  .topbar-in{justify-content:center}
}

@media (max-width:760px){
  body{font-size:16.5px}
  .band{padding:56px 0}
  .checks{grid-template-columns:1fr}
  .row2{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important;animation:none !important}
}

/* ── About page ──────────────────────────────────────── */
/* Interior page hero: same brand ground as home, single column, no photo box. */
.hero-page-in{position:relative;padding:64px 24px 68px;max-width:860px}
.hero-page h1{margin-bottom:4px}
.hero-page .lead{max-width:70ch}
.hero-page .checks-row{justify-content:flex-start}
.hero-page .checks-row li{color:var(--brand-100)}
.hero-page .checks-row li::before{border-color:var(--accent)}

.story-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center}
.story-copy .checks{grid-template-columns:1fr;margin-top:20px}
.story-media{max-width:420px;width:100%}

.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.mv{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px 30px;box-shadow:var(--shadow)}
.mv h3{margin-bottom:9px}
.mv p{color:var(--ink-2);margin:0}
.values{margin-top:34px;padding:28px 30px;border-radius:var(--radius);background:var(--deep);color:var(--brand-100)}
.values h3{color:#fff;margin-bottom:14px}
.values .checks li{color:var(--brand-100)}
.values .checks li::before{border-color:var(--accent)}
.checks-2col{grid-template-columns:1fr 1fr}

.foot-h2{margin-top:22px}

@media (max-width:980px){
  .story-grid{grid-template-columns:1fr;gap:32px}
  .story-media{max-width:520px}
  .mv-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .checks-2col{grid-template-columns:1fr}
  .hero-page-in{padding:46px 24px 52px}
}

/* ── cascade fixes ───────────────────────────────────── */
/* `.checks-row li` set the dark on-white colour unconditionally, so bullets
   inside the dark CTA band inherited it and measured 2.0:1 against the navy.
   Ground-specific rules win by specificity instead of source order. */
.cta-band .checks li,
.values .checks li,
.hero .checks li{color:var(--brand-100)}
.cta-band .checks li::before,
.values .checks li::before,
.hero .checks li::before{border-color:var(--accent)}

/* The roofline motif is sized for the tall home hero; on a short interior hero
   it crossed the paragraph. Keep it below the text. */
.hero-page .hero-bg::after{height:74px;opacity:.7}

/* Banner photo behind an interior page's title band.
   The photo sits at the bottom of the stack, .hero-bg becomes a translucent scrim over it, and
   the copy sits above both. The scrim is deliberately heavy: white text over an unknown
   photograph is the classic way to ship 2:1 contrast, and these photos are bright interiors, so
   the darkening has to hold on the palest one, not the average one. */
.has-banner .hero-banner-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  z-index:0;
}
.has-banner .hero-bg{
  z-index:1;
  background:
    radial-gradient(1100px 500px at 78% 8%, rgba(17,143,228,.34), transparent 62%),
    linear-gradient(155deg, rgba(12,46,72,.93) 0%, rgba(10,36,56,.90) 58%, rgba(7,26,41,.94) 100%);
}
.has-banner .hero-page-in{z-index:2}

/* ── General Services page ───────────────────────────── */
.jump{
  display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0;
}
.jump a,.jump .jump-off{
  display:inline-block;font-family:var(--font-display);font-weight:600;
  font-size:.92rem;padding:9px 16px;border-radius:99px;text-decoration:none;
  border:1px solid var(--line-2);color:var(--brand-700);background:#fff;
}
.jump a:hover{border-color:var(--brand);background:var(--brand-050)}
.jump .jump-off{color:var(--ink-3);border-style:dashed}

/* Alternating service rows: copy one side, photo the other. */
.svc-row{
  display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center;
  padding:44px 0;border-bottom:1px solid var(--line);
}
.svc-row:last-child{border-bottom:0}
.svc-row h2{margin-bottom:14px}
.svc-copy p{color:var(--ink-2)}
.svc-row .card-cta{margin-top:6px}
.row-flip .svc-copy{order:2}
.row-flip .svc-media{order:1}

/* CTA strip between service blocks — lighter than the full CTA band. */
.cta-strip{background:var(--brand-050);border-top:1px solid var(--brand-200);
  border-bottom:1px solid var(--brand-200);padding:34px 0}
.cta-strip-in{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.cta-strip h2{font-size:clamp(1.3rem,2.4vw,1.75rem);margin-bottom:6px}
.cta-strip p{color:var(--ink-2);margin:0;max-width:62ch}
.cta-strip-act{flex:0 0 auto}

@media (max-width:900px){
  .svc-row{grid-template-columns:1fr;gap:26px}
  .row-flip .svc-copy,.row-flip .svc-media{order:initial}
  .svc-media{max-width:520px}
  .cta-strip-in{flex-direction:column;align-items:flex-start}
}

/* ── Contact page ────────────────────────────────────── */
.contact-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:52px;align-items:start}
.contact-form-wrap h2{margin-bottom:10px}
.req{color:var(--clay,#C0392B)}

.form .field{margin:0 0 18px}
.form label{
  display:block;font-family:var(--font-display);font-weight:600;
  font-size:.88rem;color:var(--ink);margin-bottom:6px;
}
.form input,.form select,.form textarea{
  width:100%;padding:12px 14px;font:inherit;font-size:1rem;color:var(--ink);
  background:#fff;border:1px solid var(--line-2);border-radius:var(--radius-sm);
}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--brand)}
.form textarea{resize:vertical}
/* The honeypot must be genuinely invisible but still fillable by a bot. */
.field--trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form__status[data-state="ok"]{color:var(--green,#2F6647)}
.form__status[data-state="error"]{color:var(--clay,#C0392B)}

.contact-side{display:flex;flex-direction:column;gap:18px}
.infocard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;box-shadow:var(--shadow)}
.infocard h3{font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);margin-bottom:12px}
.infocard--accent{background:var(--deep);border-color:var(--deep)}
.infocard--accent h3{color:var(--brand-200)}
.infocard__phone{
  display:block;font-family:var(--font-display);font-weight:800;
  font-size:1.55rem;color:var(--accent);text-decoration:none;letter-spacing:-.01em;
}
.infocard__phone:hover{text-decoration:underline}
.infocard--accent .infocard__meta{color:var(--brand-100)}
.infocard__meta{font-size:.92rem;color:var(--ink-2);margin:8px 0 0}
.infocard__addr{font-size:.95rem;color:var(--ink-2);margin:0 0 10px}
.infocard__addr:last-of-type{margin-bottom:0}
.infocard__addr strong{color:var(--ink)}
.steps-mini{margin:0;padding-left:1.15em}
.steps-mini li{font-size:.94rem;color:var(--ink-2);margin-bottom:8px}
.steps-mini li:last-child{margin-bottom:0}

@media (max-width:900px){
  .contact-grid{grid-template-columns:1fr;gap:36px}
}

/* ── Tree House additions ─────────────────────────────────────────────────────
   Classes the JG build never emitted: the CSS wordmark that stands in for a logo
   Gloria does not have yet, and the three section types CPG generates for this
   client (core service page prose + coverage cards, and the Promise list). */

/* logo — Julian's actual mark (844x532, transparent PNG) */
.brand{display:block;line-height:0}
.brand img{width:186px;height:auto}

/* The footer sits on --deep, and the logo's "Childcare LLC" line is BLACK — it
   would vanish there. So the footer gets the mark on a white card rather than an
   inverted copy that does not exist. */
.foot-logo{
  display:inline-block;background:#fff;border-radius:var(--radius);
  padding:14px 18px;margin:0 0 16px;line-height:0;
}
.foot-logo img{width:196px;height:auto}

/* core service page — prose block */
.prose p{margin:0 0 16px;color:var(--ink-2);font-size:1.03rem;line-height:1.68}
.prose p:last-child{margin-bottom:0}

/* core service page — "what this covers" cards */
.cover-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:22px;
}
.cover{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 26px 24px;box-shadow:var(--shadow);
}
.cover h3{color:var(--brand-700);font-size:1.12rem;margin-bottom:11px}
.cover p{color:var(--ink-2);font-size:.97rem;line-height:1.62;margin:0 0 16px}
.cover .checks{margin:0;grid-template-columns:1fr}   /* one column: the global
   .checks is a 2-up grid, which inside a ~300px card wraps "State-aligned
   learning curriculum" onto three lines and reads as a layout bug */
.cover .checks li{font-size:.92rem;color:var(--ink-2);padding-bottom:6px}

/* Our Promise — numbered, because a promise list is read as a sequence of
   commitments rather than a bag of features */
.promises{counter-reset:p;list-style:none;padding:0;margin:26px 0 0}
.promises li{
  counter-increment:p;position:relative;padding:0 0 18px 52px;
  color:var(--ink-2);font-size:1.02rem;line-height:1.6;
}
.promises li::before{
  content:counter(p);position:absolute;left:0;top:-2px;
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--brand-050);border:1px solid var(--brand-200);color:var(--brand-700);
  font-family:var(--font-display);font-weight:800;font-size:.92rem;
}

/* minigallery is always three named slots, so it does not need auto-fit's guesswork */
.gallery-3{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}

@media (max-width:640px){
  .brand-word{font-size:1rem}
  .brand-word span{font-size:.66rem}
}

/* Second hero paragraph. CPG sends `intro` (short framing) AND `body` (the
   detail) on Services and Our Promise; the build used to render one and drop the
   other. Stepped down slightly so the pair reads as lead + supporting, not as two
   competing opening lines. */
.lead-2{font-size:1.04rem;margin-top:14px;color:var(--brand-200)}
.hero-page-in .chips{justify-content:center}

/* A service heading that leads to its own page. Underlined on rest, not only on
   hover: on a card grid a heading that is quietly a link reads as a heading, and
   the page behind it goes unvisited — which is exactly what happened here. */
.svc-link{color:inherit;text-decoration:underline;text-decoration-color:var(--brand-200);
  text-underline-offset:4px;text-decoration-thickness:2px}
.svc-link:hover{color:var(--brand-600);text-decoration-color:var(--brand-600)}
.card:has(.svc-link:hover){border-color:var(--brand-200);box-shadow:var(--shadow-lg)}
/* Footer entries with nowhere to go must not look identical to the ones that link. */
.foot-plain{color:var(--brand-200);opacity:.75}
