/* =====================================================================
   Iannessa Pediatric Dentistry — components
   Uses only tokens from tokens.css. No raw color values in this file.
   ===================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 10rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
}
img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-tight);
  color: var(--color-heading);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); font-weight: var(--weight-bold); }
p, ul, ol, dl { margin: 0 0 1.1em; }
p { max-width: var(--measure); }

a {
  color: var(--color-link);
  text-decoration-color: var(--color-link-underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--color-link-hover); text-decoration-color: currentColor; }

:focus-visible {
  outline: var(--border-chunky) solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.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;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -5rem; z-index: 100;
  background: var(--color-primary); color: var(--color-on-primary);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-weight: var(--weight-bold);
}
.skip-link:focus { top: var(--space-4); color: var(--color-on-primary); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.note { font-size: var(--text-sm); color: var(--color-text-muted); }
.mt-5 { margin-top: var(--space-5); }
.mb-0 { margin-bottom: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Utility bar ---------- */
.utility { background: var(--color-bg-strong); color: var(--color-on-strong); font-size: var(--text-sm); }
.utility .wrap {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  justify-content: space-between; align-items: center; padding-block: var(--space-2);
}
.utility p { margin: 0; max-width: none; }
.utility a { color: var(--color-on-strong); text-decoration-color: var(--color-highlight); }
.utility a:hover { color: var(--color-highlight); }
.utility ul { list-style: none; display: flex; gap: var(--space-5); margin: 0; padding: 0; }

/* ---------- Header ---------- */
/* Utility bar + header stay pinned together while scrolling */
.masthead { position: sticky; top: 0; z-index: 50; }
.site-header {
  position: relative;
  background: var(--color-bg);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); padding-block: var(--space-2);
}
.brand { display: block; flex: none; }
.brand img { height: var(--header-logo-height); width: auto; }

.nav-toggle {
  display: none;
  font: inherit; font-weight: var(--weight-bold); color: var(--color-heading);
  background: var(--color-bg-tint);
  border: var(--border-chunky) solid var(--color-outline); border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4); cursor: pointer;
}
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: var(--space-1); margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill);
  text-decoration: none; font-weight: var(--weight-bold); color: var(--color-text); white-space: nowrap;
}
.primary-nav a:hover { background: var(--color-bg-tint); color: var(--color-heading); }
.primary-nav a[aria-current="page"] { background: var(--color-bg-tint); color: var(--color-heading); box-shadow: inset 0 -3px 0 var(--color-kid-4); }
.primary-nav .btn { margin-left: var(--space-2); padding: var(--space-2) var(--space-4); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; inset: 100% 0 auto 0; display: none;
    background: var(--color-bg); border-bottom: var(--border-chunky) solid var(--color-kid-4);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: var(--space-3) var(--space-5) var(--space-5); }
  .primary-nav a { padding: var(--space-3) var(--space-4); }
  .primary-nav .btn { margin: var(--space-2) 0 0; }
  .no-js .primary-nav { position: static; display: block; }
}
@media (max-width: 640px) {
  .brand img { height: var(--header-logo-height-sm); }
  .utility .wrap > p { display: none; }
  .utility .wrap { justify-content: flex-end; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: var(--weight-bold); font-size: var(--text-base); line-height: 1.2;
  text-decoration: none; padding: var(--space-3) var(--space-5);
  border: var(--border-chunky) solid var(--color-outline); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sticker); cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: var(--shadow-sticker-pressed); }
.btn-cta { background: var(--color-cta); color: var(--color-on-cta); }
.btn-cta:hover { background: var(--color-cta-hover); color: var(--color-on-cta); }
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn-primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
.btn-secondary { background: var(--color-bg); color: var(--color-heading); }
.btn-secondary:hover { background: var(--color-bg-tint); color: var(--color-heading); }

/* ---------- Hero ---------- */
.hero { background: var(--color-bg); padding-top: clamp(2rem, 1.5rem + 3vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--space-7); align-items: center; }
.hero h1 { max-width: 17ch; }
.hero .lede { font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--color-text-muted); max-width: 38ch; }
.hero-actions { margin: var(--space-6) 0 var(--space-5); }
.hero-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-weight: var(--weight-bold); font-size: var(--text-sm); }
.hero-facts li { display: flex; align-items: center; gap: var(--space-2); }
.hero-facts li::before { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 2px solid var(--color-outline); background: var(--color-kid-1); }
.hero-facts li:nth-child(2)::before { background: var(--color-kid-2); }
.hero-facts li:nth-child(3)::before { background: var(--color-kid-3); }
.hero-facts li:nth-child(4)::before { background: var(--color-kid-4); }
.scallop { display: block; width: 100%; height: 34px; margin-top: var(--space-7); color: var(--color-bg-tint); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-inline: auto; }
}

/* ---------- Inner page header ---------- */
.page-head { background: var(--color-bg-tint); padding-block: var(--space-7) var(--space-7); border-bottom: var(--border-chunky) solid var(--color-kid-4); }
.page-head h1 { margin-bottom: 0.3em; }
.page-head p { font-size: var(--text-lg); color: var(--color-text-muted); line-height: var(--leading-snug); margin: 0; max-width: 46ch; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; margin: 0 0 var(--space-4); font-size: var(--text-sm); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--color-text-muted); }

/* ---------- Sections and layout ---------- */
.section { padding-block: var(--space-section); }
.section-tint { background: var(--color-bg-tint); }
.section-cool { background: var(--color-bg-cool); }
.section-intro { max-width: var(--measure); margin-bottom: var(--space-6); }
.section-intro p { font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--color-text-muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-wide { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }
.sticky-aside { position: sticky; top: 11rem; }
@media (max-width: 860px) { .sticky-aside { position: static; } }

/* Answer-first summary (AEO) */
.answer {
  background: var(--color-bg-highlight);
  border: var(--border-chunky) solid var(--color-highlight);
  border-left-width: 10px;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-lg); line-height: var(--leading-snug); max-width: var(--measure);
  margin-bottom: var(--space-6);
}
.answer p { margin: 0; }

/* Panels */
.panel {
  background: var(--color-bg);
  border: var(--border-chunky) solid var(--color-outline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.panel-quiet { background: var(--color-bg-cool); border-color: transparent; }
.panel h2, .panel h3 { margin-top: 0; }
.panel-title { font-size: var(--text-xl); }
.panel-title-sm { font-size: var(--text-lg); }

/* Service list */
.service-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-5);
  margin: 0;
}
.service-list > div {
  background: var(--color-bg); border-radius: var(--radius-md); padding: var(--space-5);
  border-top: 8px solid var(--color-kid-4);
}
.service-list > div:nth-child(4n+1) { border-top-color: var(--color-kid-1); }
.service-list > div:nth-child(4n+2) { border-top-color: var(--color-kid-2); }
.service-list > div:nth-child(4n+3) { border-top-color: var(--color-kid-3); }
.service-list dt { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-lg); color: var(--color-heading); line-height: var(--leading-tight); margin-bottom: var(--space-2); }
.service-list dd { margin: 0; color: var(--color-text-muted); }

/* Steps: the first visit is a real sequence */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--space-5); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-4); align-items: start; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--color-kid-4); color: var(--color-text);
  border: var(--border-chunky) solid var(--color-outline);
  font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-lg);
}
.steps li:nth-child(4n+1)::before { background: var(--color-kid-1); }
.steps li:nth-child(4n+2)::before { background: var(--color-kid-2); }
.steps li:nth-child(4n+3)::before { background: var(--color-kid-3); }
.steps h3 { margin: var(--space-2) 0 var(--space-1); }
.steps p { margin: 0; color: var(--color-text-muted); }

/* Bulleted credentials: little lime "teeth" bullets */
.creds { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.creds li { padding-left: 1.75rem; position: relative; }
.creds li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 1rem; height: 1rem;
  border-radius: 50% 50% 40% 40%; background: var(--color-kid-4); border: 2px solid var(--color-outline);
}

.plan-list { columns: 2 14rem; column-gap: var(--space-6); padding-left: var(--space-5); }
.plan-list li { break-inside: avoid; margin-bottom: var(--space-1); }

/* FAQ */
.faq { max-width: 52rem; border-top: var(--border-chunky) solid var(--color-outline); }
.faq details { border-bottom: var(--border-thin) solid var(--color-border); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-lg);
  color: var(--color-heading); padding: var(--space-4) 3rem var(--space-4) 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: var(--space-1); top: 50%; translate: 0 -50%;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-bg); border: 2px solid var(--color-outline); color: var(--color-heading);
  font-family: var(--font-body); font-size: 1.25rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--color-cta); }
.faq .faq-body { padding: 0 0 var(--space-5); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* Doctor */
.doctor-card { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-6); align-items: start; }
.doctor-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--color-bg);
  border: var(--border-chunky) solid var(--color-outline); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: var(--weight-display); font-size: 3.5rem; color: var(--color-heading);
}
@media (max-width: 640px) { .doctor-card { grid-template-columns: 1fr; } .doctor-photo { max-width: 220px; } }

/* Office hours */
.hours { display: grid; grid-template-columns: auto 1fr; gap: var(--space-1) var(--space-4); margin: 0; }
.hours dt { font-weight: var(--weight-bold); margin: 0; }
.hours dd { margin: 0; }
.contact-list .hours dt { color: var(--color-text); margin-top: 0; }
.hours-footer dt { color: var(--color-on-strong); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-7); }
.contact-list { margin: 0; }
.contact-list dt { font-weight: var(--weight-bold); margin-top: var(--space-4); color: var(--color-heading); }
.contact-list dd { margin: 0; }
.map-frame { width: 100%; min-height: 380px; border: var(--border-chunky) solid var(--color-outline); border-radius: var(--radius-lg); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }


/* Prose */
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-6); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: var(--space-5); max-width: var(--measure); }
.prose li { margin-bottom: var(--space-2); }
.toc { padding-left: var(--space-5); margin: 0; }

/* CTA band */
.cta-band { background: var(--color-bg-strong-alt); color: var(--color-on-strong); padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-6); align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--color-on-strong); margin: 0 0 var(--space-1); }
.cta-band p { margin: 0; color: var(--color-on-strong-muted); }
.cta-band .btn { --color-outline: var(--color-bg-strong); }
.cta-band .btn-secondary { background: transparent; color: var(--color-on-strong); border-color: var(--color-on-strong); box-shadow: none; }
.cta-band .btn-secondary:hover { background: var(--color-bg-strong); color: var(--color-on-strong); }

/* Footer */
.site-footer { background: var(--color-bg-strong); color: var(--color-on-strong-muted); padding-block: var(--space-7) var(--space-6); font-size: var(--text-sm); }
.site-footer a { color: var(--color-on-strong); text-decoration-color: var(--color-kid-4); }
.site-footer a:hover { color: var(--color-highlight); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); }
.site-footer h2 { font-size: var(--text-base); font-family: var(--font-body); font-weight: var(--weight-bold); color: var(--color-on-strong); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-legal {
  border-top: var(--border-thin) solid color-mix(in srgb, var(--color-on-strong) 20%, transparent);
  margin-top: var(--space-7); padding-top: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); justify-content: space-between;
}
.footer-legal p { margin: 0; max-width: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .utility, .site-header, .cta-band, .scallop, .map-frame { display: none !important; }
  body { font-size: 11pt; }
  .site-footer { background: none; color: var(--color-text); }
}

/* =====================================================================
   Playful layer — echoes the logo: bubbly letters, chunky outlines,
   sticker shapes, toothpaste-foam bubbles and the four kids' colors.
   ===================================================================== */

/* Big headings get the glossy wordmark shadow */
h1 { text-shadow: var(--text-pop); letter-spacing: 0.005em; }

/* Section headings: a toothpaste-squiggle underline */
.section h2:not(.panel-title):not(.panel-title-sm):not(.visually-hidden)::after,
.cta-band h2::after {
  content: ""; display: block; width: 7.5rem; height: 14px; margin-top: var(--space-2);
  background: var(--squiggle) no-repeat left center / contain;
}
.prose h2::after { width: 5rem; }

/* Scalloped foam edges on tinted bands */
.section-tint, .section-cool, .cta-band, .page-head { position: relative; }
.section-tint::before, .section-cool::before, .cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--bump-size) / -2 + 1px);
  height: calc(var(--bump-size) / 2);
  background: radial-gradient(circle at 50% 100%, var(--bump-color) calc(var(--bump-size) / 2 - 0.5px), transparent calc(var(--bump-size) / 2)) repeat-x;
  background-size: var(--bump-size) calc(var(--bump-size) / 2);
}
.section-tint { --bump-color: var(--color-bg-tint); }
.section-cool { --bump-color: var(--color-bg-cool); }
.cta-band { --bump-color: var(--color-bg-strong-alt); }
.page-head { border-bottom: 0; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: calc(var(--bump-size) / 2);
  background: radial-gradient(circle at 50% 100%, var(--color-bg) calc(var(--bump-size) / 2 - 0.5px), transparent calc(var(--bump-size) / 2)) repeat-x;
  background-size: var(--bump-size) calc(var(--bump-size) / 2);
}
.page-head .wrap { position: relative; z-index: 1; padding-bottom: var(--space-4); }

/* Header: the four kids' colors as a ribbon */
.site-header { border-bottom: 0; }
.site-header::after { content: ""; display: block; height: 6px; background: var(--stripe-kids); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--color-outline); }
@media (max-width: 1100px) { .primary-nav { border-bottom: 6px solid var(--color-kid-4); } }

/* Hero: tinted with floating foam bubbles, logo set like a sticker */
.hero { background: var(--color-bg-tint); position: relative; }
.hero .wrap { position: relative; z-index: 1; }
.hero .scallop { color: var(--color-bg); position: relative; z-index: 1; }
/* Hero illustration: colors map to tokens */
.hero-art { margin: 0; }
.hero-ill { width: 100%; overflow: visible; }
.hero-ill .ln { stroke: var(--color-outline); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.hero-ill .ln-thin { stroke: var(--color-outline); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-ill .no-fill { fill: none; }
.hero-ill .f-white { fill: var(--white); }
.hero-ill .f-cool { fill: var(--periwinkle-50); }
.hero-ill .f-ink { fill: var(--color-bg-strong); }
.hero-ill .f-lime { fill: var(--color-kid-4); }
.hero-ill .f-lime-soft { fill: var(--leaf-200); opacity: 0.6; }
.hero-ill .f-pink { fill: var(--color-kid-1); }
.hero-ill .f-blue { fill: var(--color-kid-2); }
.hero-ill .f-orange { fill: var(--color-kid-3); }
.hero-ill .f-yellow { fill: var(--color-highlight); }
.hero-ill .ill-stripe { stroke: var(--color-kid-4); stroke-width: 4; stroke-linecap: round; }
.hero-ill .ill-wave { transform-box: view-box; transform-origin: 206px 236px; animation: wave 1.2s ease-in-out 0.6s 3; }
.hero-ill .ill-bubble { animation: bob 6s ease-in-out infinite; transform-box: fill-box; }
.hero-ill .ill-bubble:nth-child(2n) { animation-duration: 7.5s; animation-delay: -1.5s; }
.hero-ill .ill-bubble:nth-child(3n) { animation-duration: 5s; animation-delay: -3s; }
.hero-ill .ill-bubble:nth-child(5n) { animation-duration: 8.5s; animation-delay: -4.5s; }
@keyframes wave { 50% { transform: rotate(14deg); } }
.bubbles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.bubbles circle { stroke: var(--color-outline); stroke-width: 2.5; }
.bubbles .shine { fill: var(--color-bg); stroke: none; opacity: 0.85; }
.bubbles .b-white { fill: var(--color-bg); }
.bubbles .b-1 { fill: var(--color-kid-1); }
.bubbles .b-2 { fill: var(--color-kid-2); }
.bubbles .b-3 { fill: var(--color-kid-3); }
.bubbles .b-4 { fill: var(--color-kid-4); }
.bubbles .b-5 { fill: var(--color-highlight); }
.bubbles g { animation: bob 6s ease-in-out infinite; transform-box: fill-box; }
.bubbles g:nth-child(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.bubbles g:nth-child(3n) { animation-duration: 9s; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Stickers: services, panels, steps tilt a little, straighten when pointed at */
.service-list > div {
  border: var(--border-chunky) solid var(--color-outline);
  border-top-width: 12px;
  box-shadow: var(--shadow-sticker);
  transform: var(--tilt-left);
  transition: transform var(--duration-fast) var(--ease-out);
}
.service-list > div:nth-child(2n) { transform: var(--tilt-right); }
.service-list > div:hover { transform: none; }
.panel:not(.panel-quiet) { box-shadow: 6px 6px 0 var(--color-kid-2); }
.panel-quiet { border: var(--border-chunky) dashed var(--color-kid-2); }
.steps li::before { transform: var(--tilt-left); }
.steps li:nth-child(2n)::before { transform: var(--tilt-right); }

/* FAQ toggles cycle the kids' colors */
.faq details:nth-child(4n+1) summary::after { background: var(--color-kid-1); }
.faq details:nth-child(4n+2) summary::after { background: var(--color-kid-2); }
.faq details:nth-child(4n+3) summary::after { background: var(--color-kid-3); }
.faq details:nth-child(4n+4) summary::after { background: var(--color-kid-4); }
.faq details[open] summary::after { background: var(--color-highlight); }

/* Answer box looks like a sticky note */
.answer { transform: rotate(-0.4deg); box-shadow: var(--shadow-sticker); border-color: var(--color-outline); border-left-color: var(--color-highlight); }

/* Molar the dog, from the logo */
.mascot {
  flex: none; width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
  background: var(--color-bg); border: var(--border-chunky) solid var(--color-bg-strong);
  box-shadow: 0 0 0 5px var(--color-highlight);
  transform: var(--tilt-left);
}
.mascot img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-copy { display: flex; align-items: center; gap: var(--space-5); }
@media (max-width: 520px) { .mascot { width: 76px; height: 76px; } }

/* Footer ribbon */
.site-footer { border-top: 8px solid; border-image: var(--stripe-kids) 1; }

@media (prefers-reduced-motion: reduce) {
  .service-list > div, .answer, .mascot { transform: none; }
}
@media (max-width: 640px) { .bubbles { display: none; } }
