/* childcare.css - tyler-site-merge-1107-childcare. Loaded AFTER site.css on childcare.html only. Own classes (cc-*) only.
   The home-daycare sales page in the OLD site's language: the page theme, tokens, .hero-page, .sec, .card, .qa, .cta-band and .btn all come
   from site.css. Nothing here sets a colour of its own; it only reads the theme tokens (--acc, --txt, --txt2, --txt3, --panel, --panel-line). */

.cc [id]{scroll-margin-top:calc(var(--bar) + 14px)}

/* ---------- hero: the real 9-page cover sits in the old .hero-media frame ---------- */
.cc .hero-page .fw{font-size:clamp(43px,5.3vw,76px);line-height:1.02;margin-bottom:22px}
.cc .hero-sub.cc-support{font-size:var(--t1);line-height:1.3;max-width:none;margin:0 0 30px;color:var(--txt2)}
.cc .hero-cta{gap:14px 22px}
.cc-byline{display:grid;gap:4px;margin:26px 0 0;font:400 17px/1.4 var(--body);color:var(--txt2)}
.cc-byline b{color:var(--txt);font-weight:700}
.hero-media.cover{aspect-ratio:900/1303;width:min(26vw,340px);border-radius:14px}
@media (min-width:901px){
  .cc .hero-inner>*{max-width:calc(100% - min(26vw,340px) - 56px)}
}
@media (max-width:900px){
  .cc .cc-byline{order:4;margin:0 0 34px}
  .cc .hero-media.cover{order:5;width:min(62vw,300px);margin:0 auto}
}

/* ---------- two-column text + photo rows ---------- */
.cc-split,.cc-steps-grid,.cc-author{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.cc-split{align-items:center}
@media (min-width:900px){
  .cc-split{grid-template-columns:minmax(0,1fr) minmax(0,380px);gap:72px}
  .cc-steps-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:72px;align-items:start}
  .cc-author{grid-template-columns:5fr 7fr;gap:72px;align-items:start}
}

/* photos: always beside or between text, never behind it. Landscape on phones, tall crop on desktop. */
.cc-photo{margin:0;border-radius:18px;overflow:hidden;border:1px solid var(--panel-line);background:var(--panel);box-shadow:0 30px 80px rgba(0,0,0,.35);aspect-ratio:3/2}
.cc-photo picture{display:block;width:100%;height:100%}
.cc-photo img{display:block;width:100%;height:100%;object-fit:cover}
.cc-photo.entry img{object-position:30% 50%}
@media (min-width:900px){
  .cc-photo.tall{aspect-ratio:4/5}
  .cc-steps-side .cc-photo{max-width:440px}
}

/* ---------- sound like you ---------- */
.cc-qs{list-style:none;margin:28px 0 0;padding:0;border-bottom:1px solid var(--panel-line)}
.cc-qs li{padding:18px 0;border-top:1px solid var(--panel-line);font:600 clamp(18px,1.9vw,24px)/1.35 var(--body)}
.cc-turn{margin:26px 0 0;max-width:58ch;color:var(--txt2)}
.cc-fit{margin:26px 0 0;max-width:46ch;padding-left:16px;border-left:3px solid var(--acc);font:700 clamp(18px,1.6vw,20px)/1.4 var(--body)}

/* ---------- twelve steps: a real sequence, so the numbers stay ---------- */
.cc-steps-side .lead{margin:16px 0 0;color:var(--txt2)}
.cc-steps-side .cc-photo{margin-top:32px}
.cc-steps{margin:0;padding:0;list-style:none;counter-reset:s;border-bottom:1px solid var(--panel-line)}
.cc-steps li{counter-increment:s;display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:baseline;padding:14px 0;border-top:1px solid var(--panel-line);font:700 clamp(18px,1.5vw,20px)/1.3 var(--body)}
.cc-steps li::before{content:counter(s);font:400 var(--t1)/1 var(--disp);color:var(--acc);font-variant-numeric:tabular-nums}
.cc-cta{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:34px}
.cc-cta p{margin:0;max-width:46ch;font-size:16px;line-height:1.45;color:var(--txt2)}

/* ---------- see inside: three real pages ---------- */
#see .lead{margin:16px 0 0;color:var(--txt2)}
.cc-shelf{display:flex;gap:16px;margin:36px 0 0;padding:4px 16px 18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:16px;-webkit-overflow-scrolling:touch}
.cc-shelf:focus-visible{outline:3px solid var(--acc);outline-offset:-3px}
.cc-shelf figure{flex:0 0 min(76%,300px);margin:0;scroll-snap-align:start}
.cc-shelf a{display:block;border-radius:14px;overflow:hidden;border:1px solid var(--panel-line);box-shadow:0 30px 70px rgba(0,0,0,.4);transition:transform .4s var(--ease)}
.cc-shelf a:hover{transform:translateY(-4px)}
.cc-shelf img{display:block;width:100%;height:auto;background:#fff}
.cc-shelf figcaption{margin-top:14px;font-size:16px;line-height:1.4;color:var(--txt2)}
.cc-shelf figcaption b{display:block;color:var(--txt);font-weight:700}
@media (min-width:900px){
  .cc-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;width:min(1180px,calc(100% - 48px));margin:36px auto 0;padding:4px 0 18px;overflow:visible}
  .cc-shelf figure{flex:none}
}

/* ---------- who wrote it ---------- */
.cc-author .lead{margin:0;color:var(--txt2)}
.cc-todo{display:inline-block;margin-top:14px;padding:4px 10px;border-radius:4px;background:var(--acc);color:var(--on-acc);font:700 16px/1.4 var(--body)}

/* ---------- the offer: the old .card panel ---------- */
.cc-offer .h2{margin-bottom:6px}
.card .cc-price{margin:10px 0 4px;max-width:none;font:400 clamp(76px,11vw,101px)/.9 var(--disp);letter-spacing:-.02em;color:var(--txt)}
.card .cc-price-sub{margin:0;max-width:none;font:700 19px/1.3 var(--body);color:var(--txt2)}
.cc-gets{margin:0 0 28px;padding:0;list-style:none;border-top:1px solid var(--panel-line)}
.cc-gets li{padding:14px 0;border-bottom:1px solid var(--panel-line);font:600 18px/1.35 var(--body)}
.card .cc-fineprint{margin:18px 0 0;max-width:52ch;font-size:15px;line-height:1.5;color:var(--txt3)}

/* ---------- FAQ ---------- */
.cc-src{list-style:none;margin:10px 0 0;padding:0}
.cc-src li{border-top:1px solid var(--panel-line);font-size:16px;line-height:1.4}
.cc-src a{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere;text-underline-offset:3px}
@media (min-width:900px){
  .cc-faq-photo{position:sticky;top:calc(var(--bar) + 24px);max-width:400px;width:100%}
}
@media (max-width:899px){.cc-faq-photo{margin-top:8px}}

/* ---------- closing call ---------- */
.cc .cta-band .fine-note{margin:26px auto 0;max-width:52ch;font-size:15px;color:var(--txt3)}

/* ---------- phone sticky buy bar: only once the page's own buy buttons have scrolled away (js/childcare.js) ---------- */
.cc-bar{display:none}
@media (max-width:899px){
  body.cc{padding-bottom:88px}
  .cc-bar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:100;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--g1) 94%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--panel-line);visibility:hidden;transform:translateY(105%);transition:transform .3s var(--ease),visibility 0s .3s}
  .cc-bar.on{visibility:visible;transform:none;transition:transform .3s var(--ease),visibility 0s}
  .cc-bar .btn{width:100%;min-height:56px}
}
@media (max-width:640px){
  .cc-shelf figure{flex-basis:min(76%,280px)}
}
@media (prefers-reduced-motion:reduce){.cc-bar,.cc-bar.on,.cc-shelf a{transition:none}}

/* ---------- guard: the shared footer's two-column phone grid let the email address push the page wider than the screen. Page-scoped; footer markup untouched. ---------- */
.cc .foot .top>*{min-width:0}
.cc .foot li a{overflow-wrap:anywhere}
#see .lead{text-wrap:balance}
@media (max-width:640px){
  .cc .foot .top{grid-template-columns:1fr}
}
@media (max-width:899px){
  .cc-split .cc-photo,.cc-steps-side .cc-photo,.cc-faq-photo{max-width:560px}
}
