/* Bright Minds: "crayon box on notebook paper". Colours lifted from the storefront
   sign (red DAYCARE, green Learning Center, royal-blue bar, yellow type, multicolour
   letters). Ruled-paper page, sticker buttons, taped photos, a flashcard hero. */
:root {
  --navy: #14235C; --blue: #1F5FBF; --blue-dk: #174A96; --red: #D7263D; --green: #17803D; --leaf: #2FA84F;
  --yellow: #FFC928; --orange: #F58220; --sky: #E6F3FF; --paper: #FFFFFF;
  --bg: var(--paper); --surface: #F3F8FF; --ink: var(--navy); --muted: #44507A; --line: #D5E3F7;
  --brand: var(--blue); --brand-ink: #fff; --accent: var(--red); --kicker: var(--red);
  --font-d: "Grandstander", "Trebuchet MS", sans-serif; --font-b: "Lexend", system-ui, sans-serif;
  --btn-r: 14px; --card-r: 18px; --photo-r: 6px; --field-r: 12px;
  --btn-shadow: 4px 4px 0 var(--navy); --dur: 160ms; --ease: cubic-bezier(0.2, 0.9, 0.3, 1.2);
  --foot-bg: var(--navy); --foot-ink: #fff; --cta-bg: var(--blue); --ring: rgba(31, 95, 191, 0.25);
  --chip-bg: #fff; --nav-active: #FFF1BF; --focus: var(--orange); --num: var(--red);
  --rule: rgba(31, 95, 191, 0.09);
}

/* Notebook paper: faint blue rules, one red margin line on wide screens */
body { background-image: linear-gradient(to bottom, transparent 31px, var(--rule) 31px, var(--rule) 32px); background-size: 100% 32px; }
@media (min-width: 1100px) {
  body::before { content: ""; position: fixed; inset: 0 auto 0 max(1rem, calc((100vw - 1180px) / 2 - 2.25rem)); width: 2px; background: rgba(215, 38, 61, 0.22); pointer-events: none; z-index: 0; }
}
main, .hdr, .foot { position: relative; z-index: 1; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.012em; }
.hdr { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 3px solid var(--navy); }
.hdr-call { box-shadow: 3px 3px 0 var(--navy); border: 2px solid var(--navy); }
.brand-name { max-width: 15rem; }

/* Sticker buttons: hard offset shadow that presses flat */
.btn-main { border-color: var(--navy); box-shadow: var(--btn-shadow); }
.btn-main:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.btn-main:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--navy); }
.btn-ghost { border-color: var(--navy); background: #fff; }
.btn-ghost:hover { background: #FFF6D6; }

/* Section headings start with a crayon-coloured star */
.section h2::before {
  content: ""; display: inline-block; width: 0.62em; height: 0.62em; margin-right: 0.32em; vertical-align: 0.02em; background: var(--yellow);
  clip-path: polygon(50% 0, 63% 34%, 100% 38%, 72% 61%, 81% 100%, 50% 79%, 19% 100%, 28% 61%, 0 38%, 37% 34%);
}
.ages-sec h2::before { background: var(--red); }
.day-sec h2::before { background: var(--leaf); }
.hours-sec h2::before { background: var(--blue); }

/* Hero: headline left, video in a tilted flashcard with stacked card edges */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 1.3rem + 5.6vw, 5.8rem); line-height: 0.98; font-weight: 800; }
.hero h1 .hl { color: var(--red); background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding-inline: 0.08em; margin-inline: -0.08em; }
.kicker { display: inline-block; background: var(--blue); color: var(--yellow); padding: 0.4rem 0.8rem; border-radius: 8px; letter-spacing: 0.06em; margin-bottom: 1.35rem; }
.page-hero .kicker { background: var(--navy); }
.hero-visual { position: relative; padding: 6% 9% 9% 4%; }
.hero-frame {
  aspect-ratio: 5 / 4; border-radius: 22px; overflow: hidden; rotate: -2.5deg;
  border: clamp(8px, 1vw, 12px) solid #fff; outline: 3px solid var(--navy);
  box-shadow: 14px 14px 0 0 var(--yellow), 14px 14px 0 3px var(--navy), 28px 28px 0 0 var(--red), 28px 28px 0 3px var(--navy), 42px 42px 0 0 var(--blue), 42px 42px 0 3px var(--navy);
}
.star { position: absolute; width: clamp(34px, 4.4vw, 58px); fill: var(--yellow); stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; }
.star-1 { top: -2%; left: 8%; rotate: -12deg; }
.star-2 { top: 10%; right: -1%; width: clamp(24px, 3vw, 38px); fill: var(--leaf); rotate: 14deg; }
.star-3 { bottom: 3%; left: -2%; width: clamp(28px, 3.4vw, 44px); fill: var(--red); rotate: 8deg; }
.crayon {
  position: absolute; width: clamp(84px, 10vw, 132px); height: clamp(16px, 1.9vw, 24px); border-radius: 5px 3px 3px 5px;
  background: linear-gradient(to right, var(--c) 0 62%, rgba(255, 255, 255, 0.85) 62% 66%, var(--c) 66% 80%, rgba(255, 255, 255, 0.85) 80% 84%, var(--c) 84%);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16), 0 10px 18px -10px rgba(20, 35, 92, 0.6);
}
.crayon::after { content: ""; position: absolute; left: 100%; top: 12%; height: 76%; aspect-ratio: 1.1; background: var(--c); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.crayon-a { --c: var(--orange); top: 3%; right: 14%; rotate: -24deg; }
.crayon-b { --c: var(--leaf); bottom: 15%; right: -3%; rotate: 62deg; }
.crayon-c { --c: var(--blue); bottom: -1%; left: 22%; rotate: -8deg; }

/* Photo strip: classroom work taped to the page */
.strip-item { position: relative; background: #fff; padding: 9px 9px 30px; border: 2px solid var(--navy); border-radius: 4px; box-shadow: 6px 6px 0 var(--sky); }
.strip-item::before { content: ""; position: absolute; top: -13px; left: 50%; width: 38%; height: 24px; translate: -50% 0; rotate: -3deg; background: var(--t, var(--yellow)); opacity: 0.86; border-radius: 2px; z-index: 1; }
.strip-item img { border-radius: 2px; }
.strip-item:nth-child(1) { rotate: -2deg; --t: var(--yellow); }
.strip-item:nth-child(2) { rotate: 1.6deg; margin-top: 1.75rem; --t: #F7A8B0; }
.strip-item:nth-child(3) { rotate: -1.1deg; --t: #A6DDB4; }
.strip-item:nth-child(4) { rotate: 2.2deg; margin-top: 1rem; --t: #A9C8F2; }

.facts li { border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--c, var(--yellow)); }
.facts li:nth-child(6n+1) { --c: var(--yellow); } .facts li:nth-child(6n+2) { --c: var(--red); }
.facts li:nth-child(6n+3) { --c: var(--leaf); } .facts li:nth-child(6n+4) { --c: var(--blue); }
.facts li:nth-child(6n+5) { --c: var(--orange); } .facts li:nth-child(6n+6) { --c: var(--navy); }
.license-line { margin-top: 1.5rem; font-size: 0.92rem; color: var(--muted); }
.license-line a { color: var(--blue-dk); font-weight: 600; }

/* Age cards: one crayon each */
.age { --c: var(--red); background: #fff; border: 2px solid var(--navy); border-top: 12px solid var(--c); box-shadow: 6px 6px 0 var(--c); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.age:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--c); }
.age-2 { --c: var(--orange); } .age-3 { --c: var(--leaf); } .age-4 { --c: var(--blue); }
.age-range { color: var(--red); }
.age-2 .age-range { color: #B4560B; } .age-3 .age-range { color: var(--green); } .age-4 .age-range { color: var(--blue-dk); }

.svc { border-top: 3px solid var(--navy); }
.svc-num { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--yellow); color: var(--navy); border: 2px solid var(--navy); }
.svc:nth-child(5n+2) .svc-num { background: #FAD0D4; } .svc:nth-child(5n+3) .svc-num { background: #CDEFD5; }
.svc:nth-child(5n+4) .svc-num { background: #CFE0FA; } .svc:nth-child(5n+5) .svc-num { background: #FFD9B5; }
.day-photo img, .about-photos img { border: 2px solid var(--navy); outline: 9px solid #fff; outline-offset: -11px; box-shadow: 10px 10px 0 var(--yellow); }
.day-photo img { rotate: 1.4deg; }
.about-photos figure:nth-child(2) img { box-shadow: 10px 10px 0 var(--red); }

.cta-band { border-block: 3px solid var(--navy); background-image: linear-gradient(to bottom, transparent 31px, rgba(255, 255, 255, 0.1) 31px, rgba(255, 255, 255, 0.1) 32px); background-size: 100% 32px; }
.cta-band .btn-main { background: var(--yellow); color: var(--navy); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.page-hero { background-color: var(--sky); border-bottom: 3px solid var(--navy); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: linear-gradient(to right, var(--red) 0 25%, var(--yellow) 25% 50%, var(--leaf) 50% 75%, var(--blue) 75%); }
.page-hero h1 { font-weight: 800; }
.place { background: #fff; border: 2px solid var(--navy); box-shadow: 6px 6px 0 var(--blue); }
.hours { background: #fff; }
.foot .btn-foot { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; width: 100%; padding: 5% 11% 11% 3%; }
  .strip-item:nth-child(n) { margin-top: 0; }
  .brand-name { max-width: 11rem; font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) { .age:hover, .btn-main:hover { transform: none; } }
