/* Self-hosted fonts (SIL Open Font License, see /assets/fonts/OFL.txt) */
@font-face { font-family: 'Fredoka One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/fredoka-one-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/nunito-latin-var.woff2) format('woff2'); }
@font-face { font-family: 'Patrick Hand'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/patrick-hand-latin.woff2) format('woff2'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --yellow: #FFD43B;
  --yellow-pale: #FFFBE6;
  --navy: #1A2744;
  --red: #E8412A;
  --red-text: #C7321D;
  --red-pale: #FFF0EE;
  --cream: #FEFCF5;
  --cream-2: #F5F0E0;
  --text: #1A2744;
  --muted: #56637F;
  --border: rgba(26,39,68,0.1);
  --field-border: #8A94AB;
  --radius: 18px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--cream); color: var(--text); line-height: 1.75; font-size: 18px; overflow-x: hidden; }

/* ACCESSIBILITY HELPERS */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: var(--yellow); font-weight: 800;
  padding: 0.6rem 1.1rem; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px var(--yellow); border-radius: 6px; }
.how :focus-visible, footer :focus-visible { outline-color: var(--yellow); box-shadow: 0 0 0 6px var(--navy); }
main:focus { outline: none; }

/* NAV */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(254,252,245,0.93); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
}
.site-header nav {
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.logo-badge {
  background: var(--navy); color: var(--yellow);
  font-family: 'Fredoka One', cursive; font-size: 1.1rem;
  padding: 0.3rem 0.85rem; border-radius: 8px;
  border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--yellow);
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--yellow); color: var(--navy); font-weight: 800;
  text-decoration: none; font-size: 0.9rem; padding: 0.55rem 1.25rem;
  border-radius: 999px; border: 2px solid var(--navy);
  box-shadow: 3px 3px 0 var(--navy); transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--navy); }

/* HERO */
.hero {
  padding: 5rem 2rem 4rem; max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--yellow-pale); border: 1.5px solid var(--yellow);
  border-radius: 999px; padding: 0.3rem 0.9rem;
  font-size: 0.99rem; font-weight: 700; color: #7A6100; margin-bottom: 1.2rem;
}
h1.headline {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; color: var(--navy);
  margin-bottom: 1rem; letter-spacing: 0.01em;
}
h1.headline .hl {
  color: var(--red-text); position: relative; display: inline-block;
}
h1.headline .hl::after {
  content: ''; position: absolute; bottom: -2px; left: -2px; right: -2px; height: 8px;
  background: var(--yellow); z-index: -1; border-radius: 2px; transform: rotate(-1deg);
}
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 440px; margin-bottom: 1rem; line-height: 1.7; }
.hero-note {
  display: inline-block; font-family: 'Patrick Hand', cursive;
  font-size: 1.2rem; color: var(--muted); margin-bottom: 2rem;
  padding-left: 1.2rem; border-left: 3px solid var(--yellow);
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-main {
  background: var(--navy); color: var(--yellow); font-weight: 800;
  padding: 0.85rem 2rem; border-radius: 12px; text-decoration: none;
  font-family: 'Fredoka One', cursive; font-size: 1.05rem; letter-spacing: 0.03em;
  border: 2px solid var(--navy); box-shadow: 4px 4px 0 var(--yellow);
  transition: transform 0.15s, box-shadow 0.15s; cursor: pointer;
}
.btn-main:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--yellow); }
.btn-main[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.btn-alt {
  background: transparent; color: var(--navy); font-weight: 700;
  padding: 0.85rem 1.8rem; border-radius: 12px; text-decoration: none;
  font-size: 0.95rem; border: 2px solid rgba(26,39,68,0.35); transition: border-color 0.2s;
}
.btn-alt:hover { border-color: var(--navy); }

/* MASCOT */
.mascot-wrap { display: flex; justify-content: center; align-items: center; position: relative; padding: 2rem; }
.mascot-circle {
  width: 280px; height: 280px; background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--navy);
  box-shadow: 8px 8px 0 var(--navy);
}
.mascot-face { font-size: 6rem; user-select: none; animation: nod 4s ease-in-out infinite; display: block; line-height: 1; }
@keyframes nod {
  0%,100% { transform: rotate(-4deg) scale(1); }
  50%      { transform: rotate(4deg) scale(1.05); }
}
.mascot-bubble {
  position: absolute; top: 0px; right: 0px;
  background: white; border: 2px solid var(--navy);
  border-radius: 14px 14px 14px 4px; padding: 0.5rem 0.85rem;
  font-family: 'Patrick Hand', cursive; font-size: 1rem; color: var(--navy);
  white-space: nowrap; box-shadow: 2px 2px 0 var(--navy);
}
.float-sticker {
  position: absolute; background: var(--yellow); border: 2px solid var(--navy);
  border-radius: 10px; padding: 0.45rem 0.85rem;
  font-size: 0.85rem; font-weight: 800; color: var(--navy);
  box-shadow: 2px 2px 0 var(--navy);
}
.sticker-a { bottom: 10px; left: 0px; transform: rotate(-5deg); }
.sticker-b { top: 30px; left: 5px; background: var(--red-pale); border-color: var(--red); color: var(--red-text); box-shadow: 2px 2px 0 var(--red); transform: rotate(4deg); }

/* SERVICES */
.services { padding: 5rem 2rem; max-width: 1080px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 3rem; }
.sec-kicker { font-family: 'Patrick Hand', cursive; font-size: 1.5rem; color: var(--muted); margin-bottom: 0.3rem; }
.sec-title { font-family: 'Fredoka One', cursive; font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--navy); letter-spacing: 0.02em; }
.grid6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 1.2rem; }
.svc {
  background: white; border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.svc.alt-a { background: var(--yellow-pale); border-color: rgba(255,212,59,0.4); }
.svc.alt-b { background: #FFF4F2; border-color: rgba(232,65,42,0.2); }
.svc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.svc.alt-b::before { background: var(--red); }
.svc:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(26,39,68,0.1); border-color: rgba(26,39,68,0.2); }
.svc:hover::before { transform: scaleX(1); }
.svc-icon { font-size: 2.4rem; margin-bottom: 0.75rem; display: block; }
.svc h3 { font-family: 'Fredoka One', cursive; font-size: 1.4rem; color: var(--navy); margin-bottom: 0.5rem; }
.svc p { font-size: 1rem; color: #4A5568; line-height: 1.7; margin-bottom: 0.85rem; }
.svc ul { list-style: none; padding: 0; }
.svc ul li { font-size: 0.95rem; color: #4A5568; padding: 0.25rem 0 0.25rem 1.4rem; position: relative; line-height: 1.5; }
.svc ul li::before { content: '→'; position: absolute; left: 0; color: var(--red-text); font-weight: 700; }

/* HOW */
.how { background: var(--navy); color: white; padding: 5rem 2rem; position: relative; overflow: hidden; }
.how::after {
  content: '?!';  font-family: 'Fredoka One', cursive;
  position: absolute; bottom: -40px; right: 3%;
  font-size: 14rem; color: rgba(255,212,59,0.05); pointer-events: none; user-select: none;
}
.how-inner { max-width: 900px; margin: 0 auto; }
.how .sec-kicker { color: rgba(255,255,255,0.7); }
.how .sec-title { color: var(--yellow); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3.5rem; list-style: none; }
.step-n {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  font-family: 'Fredoka One', cursive; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; border: 2px solid rgba(255,255,255,0.2);
}
.step h3 { font-family: 'Fredoka One', cursive; font-size: 1.4rem; color: var(--yellow); margin-bottom: 0.6rem; }
.step p { font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.75; }
.sched-callout {
  background: rgba(255,212,59,0.08); border: 1.5px solid rgba(255,212,59,0.3);
  border-radius: var(--radius); padding: 1.5rem 2rem; margin-top: 3.5rem; text-align: center;
  font-family: 'Patrick Hand', cursive; font-size: 1.35rem; color: rgba(255,255,255,0.8); line-height: 1.65;
}
.sched-callout strong { color: var(--yellow); }

/* CONTACT */
.contact { padding: 5rem 2rem; max-width: 720px; margin: 0 auto; text-align: center; }
.contact-cards { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin: 2.5rem 0 1.5rem; }
.cc {
  background: white; border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1rem; flex: 1; min-width: min(200px, 100%); text-align: center;
  box-shadow: 4px 4px 0 rgba(26,39,68,0.07); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cc:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--yellow); border-color: var(--navy); }
.cc-icon { font-size: 2.2rem; display: block; margin-bottom: 0.4rem; }
.cc-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.cc-val { font-family: 'Fredoka One', cursive; font-size: 1.35rem; color: var(--navy); text-decoration: none; display: block; margin-top: 0.3rem; }
.cc-val:hover { color: var(--red-text); }
.reply-note { font-family: 'Patrick Hand', cursive; font-size: 1.3rem; color: var(--muted); margin-bottom: 1rem; }
.queens-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--red-pale); border: 2px solid var(--red);
  border-radius: 999px; padding: 0.35rem 1rem;
  font-size: 1.29rem; font-weight: 800; color: var(--red-text);
}

/* CONTACT FORM */
.form-card {
  background: white; border: 2px solid var(--border); border-radius: var(--radius);
  padding: 2rem; margin: 0 0 1.5rem; text-align: left;
  box-shadow: 4px 4px 0 rgba(26,39,68,0.07);
}
.form-card h3 { font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: var(--navy); margin-bottom: 0.25rem; }
.form-intro { font-size: 0.98rem; color: var(--muted); margin-bottom: 1.25rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 800; font-size: 0.98rem; margin-bottom: 0.3rem; }
.field .hint { font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--cream); border: 2px solid var(--field-border); border-radius: 10px;
  padding: 0.65rem 0.85rem; line-height: 1.5;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--navy); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red-text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 700; min-height: 1.75em; }
.form-status.ok { color: #1E6B3A; }
.form-status.err { color: var(--red-text); }
.noscript-note { background: var(--yellow-pale); border: 1.5px solid var(--yellow); border-radius: 10px; padding: 0.75rem 1rem; margin-bottom: 1rem; }

/* DOCUMENT PAGES (privacy, terms, accessibility, 404) */
.doc { max-width: 760px; margin: 0 auto; padding: 4rem 2rem 5rem; }
.doc h1 { font-family: 'Fredoka One', cursive; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; color: var(--navy); margin-bottom: 0.5rem; }
.doc .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }
.doc h2 { font-family: 'Fredoka One', cursive; font-size: 1.45rem; color: var(--navy); margin: 2.25rem 0 0.6rem; }
.doc p, .doc li { font-size: 1.02rem; margin-bottom: 0.8rem; }
.doc ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.doc a:not(.btn-main):not(.btn-alt) { color: var(--navy); font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 3px; }
.doc a:not(.btn-main):not(.btn-alt):hover { color: var(--red-text); }
.doc .actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* FOOTER */
footer {
  background: var(--navy); text-align: center; padding: 1.75rem 1rem;
  font-family: 'Patrick Hand', cursive; font-size: 1.05rem; color: rgba(255,255,255,0.75);
}
footer a { color: var(--yellow); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-links { list-style: none; display: flex; gap: 0.4rem 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 0.4rem; }
.footer-links a { display: inline-block; padding: 0.2rem 0; }

@media (max-width: 768px) {
  .site-header nav { padding: 0 1rem; }
  .hero { grid-template-columns: 1fr; padding: 3rem 1.25rem; text-align: center; }
  .hero-sub, .hero-note { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .mascot-wrap { order: -1; }
  .mascot-circle { width: 220px; height: 220px; }
  .mascot-face { font-size: 4rem; }
  .float-sticker { display: none; }
  .steps { grid-template-columns: 1fr; }
  .site-header .nav-links { display: none; }
  .services, .how, .contact { padding-left: 1.25rem; padding-right: 1.25rem; }
  .form-card { padding: 1.5rem 1.1rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .doc { padding: 3rem 1.25rem 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .nav-cta:hover, .btn-main:hover, .svc:hover, .cc:hover { transform: none; }
}
