/* ==========================================================================
   DaycareSquare — shared stylesheet
   Extracted from option-2-storybook.html (locked visual reference)
   Contains design tokens, reset, base typography, layout primitives,
   buttons, navigation, footer, reveal animations, and responsive rules
   for the shared elements only. Page-specific styles live with each page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #FBF7F0;
  --paper-d: #F4EEDF;
  --mint: #C8E6CB;
  --mint-d: #8DC891;
  --mint-bg: #E8F4E9;
  --blush: #FCD9D2;
  --blush-d: #F0A89D;
  --blush-bg: #FFEEEB;
  --butter: #FFE89F;
  --butter-d: #E5C967;
  --butter-bg: #FFF6D6;
  --sky: #C8E0F5;
  --sky-d: #8AB4DC;
  --sky-bg: #E6F0F9;
  --plum: #4A2E5B;
  --plum-l: #6B4781;
  --plum-d: #2E1B3D;
  --berry: #D44872;
  --berry-d: #B23857;
  --ink: #2E1B3D;
  --gray-4: #6B5C75;
  --gray-3: #9A8DA3;
  --gray-2: #D8CFDE;
  --bd: #ECE3EE;
  --bd-d: #DBCFE0;
  --sh-soft: 0 4px 20px rgba(74,46,91,0.06);
  --sh-md: 0 12px 32px rgba(74,46,91,0.10);
  --sh-lg: 0 24px 60px rgba(74,46,91,0.14);
  --f-serif: 'Lora', Georgia, serif;
  --f-sans: 'Nunito', -apple-system, sans-serif;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --ease: cubic-bezier(0.22,1,0.36,1);
}

/* --------------------------------------------------------------------------
   Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-sans); background: var(--paper); color: var(--gray-4); font-size: 1rem; line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--f-serif); color: var(--plum); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: 4.25rem; font-weight: 600; line-height: 1.06; }
h2 { font-size: 2.625rem; font-weight: 600; line-height: 1.12; }
h3 { font-size: 1.3125rem; font-weight: 600; line-height: 1.3; }
a { color: var(--berry); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--berry-d); }
p { margin-bottom: 1rem; }
img { max-width: 100%; display: block; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.ctr { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sec { padding: 104px 0; }

/* --------------------------------------------------------------------------
   Utility classes
   -------------------------------------------------------------------------- */
.ey { font-family: var(--f-sans); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--berry); display: block; margin-bottom: 14px; }
.icon-svg { display: inline-flex; align-items: center; justify-content: center; }

/* Reveal-on-scroll animation */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.on { opacity: 1; transform: translateY(0); }

/* Visually-hidden / screen-reader-only helper */
.scr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.bp { display: inline-flex; align-items: center; gap: 10px; background: var(--plum); color: #fff; font-family: var(--f-sans); font-weight: 700; padding: 16px 32px; border-radius: 50px; font-size: 0.9375rem; border: none; cursor: pointer; transition: all 0.3s var(--ease); text-decoration: none; }
.bp:hover { background: var(--plum-l); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-md); }
.bp-berry { background: var(--berry); color: #fff; }
.bp-berry:hover { background: var(--berry-d); color: #fff; }
.bs { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--plum); font-family: var(--f-sans); font-weight: 700; padding: 15px 30px; border-radius: 50px; font-size: 0.9375rem; border: 2px solid var(--plum); cursor: pointer; transition: all 0.3s var(--ease); text-decoration: none; }
.bs:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav { position: sticky; top: 0; background: rgba(251,247,240,0.92); backdrop-filter: blur(20px); z-index: 1000; padding: 20px 0; transition: all 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--bd); padding: 14px 0; }
.nav-in { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--f-serif); font-size: 1.625rem; font-weight: 700; color: var(--plum); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; font-style: italic; }
.nav-logo .reg { font-style: normal; }
.nav-logo-mark { display: inline-block; width: 36px; height: 36px; background: var(--butter); border-radius: 12px; position: relative; transform: rotate(-6deg); box-shadow: inset 0 0 0 3px var(--berry); }
.nav-logo-mark::after { content: ''; position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px; background: var(--blush); border-radius: 5px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nla { font-family: var(--f-sans); font-size: 0.9375rem; font-weight: 600; color: var(--gray-4); padding: 10px 16px; text-decoration: none; border-radius: 50px; transition: all 0.2s; }
.nla:hover { color: var(--plum); background: var(--butter-bg); }
.nav-r { display: flex; align-items: center; gap: 10px; }
.btn-n { padding: 11px 22px; font-size: 0.875rem; }
.hbg { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.hbg span { display: block; width: 22px; height: 2px; background: var(--plum); border-radius: 1px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.ft { background: var(--plum-d); color: rgba(255,255,255,0.6); padding: 80px 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.ft-logo { font-family: var(--f-serif); font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; letter-spacing: -0.02em; font-style: italic; }
.ft-logo .reg { font-style: normal; }
.ft-logo-mark { width: 32px; height: 32px; background: var(--butter); border-radius: 10px; position: relative; transform: rotate(-6deg); }
.ft-logo-mark::after { content: ''; position: absolute; top: 7px; left: 7px; right: 7px; bottom: 7px; background: var(--berry); border-radius: 4px; }
.ft-desc { font-size: 0.9375rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 18px; max-width: 300px; }
.ft-h { font-family: var(--f-sans); font-size: 0.6875rem; font-weight: 800; color: rgba(255,255,255,0.5); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.ft-col a { display: block; font-family: var(--f-sans); font-size: 0.875rem; color: rgba(255,255,255,0.65); padding: 5px 0; text-decoration: none; transition: color 0.15s; }
.ft-col a:hover { color: var(--butter); }
.ft-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8125rem; color: rgba(255,255,255,0.5); }
.ft-links { display: flex; gap: 20px; }
.ft-links a { color: rgba(255,255,255,0.5); text-decoration: none; }
.ft-links a:hover { color: var(--butter); }

/* --------------------------------------------------------------------------
   Breadcrumbs — used on virtually every non-home page.
   -------------------------------------------------------------------------- */
.bc { padding: 18px 0 0; font-family: var(--f-sans); font-size: 0.8125rem; color: var(--gray-4); }
.bc a { color: var(--gray-4); text-decoration: none; }
.bc a:hover { color: var(--berry); }
.bc .sep { margin: 0 8px; color: var(--gray-3); }

/* --------------------------------------------------------------------------
   Article / post layout — shared by all blog posts and pillar pages.
   -------------------------------------------------------------------------- */
.post-hero { padding: 36px 0 56px; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; top: -90px; right: -90px; width: 300px; height: 300px; background: var(--mint-bg); border-radius: 60% 40% 50% 50%/40% 50% 50% 60%; opacity: 0.6; z-index: 0; }
.post-hero::after { content: ''; position: absolute; bottom: -100px; left: -80px; width: 260px; height: 260px; background: var(--butter-bg); border-radius: 50% 50% 40% 60%/60


/* Editorial meta line under H1 (published / updated dates) */
.page-meta{
  display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;
  font-family:'Nunito',sans-serif;font-size:0.8125rem;
  color:#7a5e85;margin:-6px 0 28px 0;letter-spacing:0.01em;
}
.page-meta time{color:#4A2E5B;font-weight:600;}
.page-meta .sep{opacity:0.55;}
.page-meta .updated{color:#D44872;font-weight:700;}
@media (max-width: 640px){
  .page-meta{font-size:0.75rem;margin:-2px 0 22px 0;}
}
