/* ==========================================================================
   Annapolis Pediatric Dentistry — mockup
   Look: painted paper + stickers, built around the practice's own watercolor
   sun and the folk art on the office walls.
   ========================================================================== */

:root {
  /* paper + ink */
  --paper: #FFF6E6;
  --paper-deep: #FFE9C4;
  --ink: #33163A;
  --ink-soft: #5A3F60;

  /* paint pots */
  --plum: #7A2A73;
  --sun: #FFC72C;
  --tangerine: #FF7B1C;
  --coral: #FF4F70;
  --teal: #12B5A8;
  --sky: #5BBFEA;

  /* deeper versions of the paints, safe for big type on paper */
  --t-coral: #E12F58;
  --t-tangerine: #DD5A06;
  --t-teal: #08877E;
  --t-sky: #1B7FBF;

  /* roles */
  --accent: var(--plum);
  --btn: var(--tangerine);
  --bg-ribbon: var(--plum);
  --on-ribbon: var(--paper);
  --bg-office: var(--teal);
  --bg-sissy: var(--sun);
  --bg-brush: #4B1A50;
  --bg-missions: var(--sky);
  --sky-1: var(--sun);
  --sky-2: #FF9B3F;
  --sky-3: var(--coral);
  --sky-4: #A33A86;
  --sea-1: #2CC4B4;
  --sea-2: #0E8C8A;
  --sea-3: #2B1238;

  --font-display: "Fraunces", "Cooper Black", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Shantell Sans", "Marker Felt", "Comic Sans MS", cursive;

  --wrap: 1180px;
  --wave-h: clamp(28px, 5vw, 76px);
  --pad: clamp(72px, 9vw, 120px);
}

/* Alternate looks for the mockup switcher */
[data-theme="bay"] {
  --paper: #F1F8FF;
  --paper-deep: #D9ECFA;
  --ink: #13254B;
  --ink-soft: #42537A;
  --plum: #1D4FB0;
  --accent: #1D4FB0;
  --btn: #FF6F61;
  --bg-ribbon: #13254B;
  --bg-office: #5BBFEA;
  --bg-sissy: #FFC72C;
  --bg-brush: #13254B;
  --bg-missions: #2CC4B4;
  --sky-4: #3C4FA8;
  --sea-1: #5BBFEA;
  --sea-2: #1D4FB0;
  --sea-3: #0D1B3A;
}
[data-theme="fiesta"] {
  --paper: #FFF4EE;
  --paper-deep: #FFDFD0;
  --ink: #2B123A;
  --ink-soft: #5B3D66;
  --plum: #B0186B;
  --accent: #B0186B;
  --btn: var(--sun);
  --bg-ribbon: var(--coral);
  --on-ribbon: var(--ink);
  --bg-office: #FF9440;
  --bg-sissy: #FF9DB8;
  --bg-brush: #0B5E63;
  --bg-missions: var(--sun);
  --sky-1: #FF9DB8;
  --sky-2: #FF7B1C;
  --sky-3: #E12F58;
  --sky-4: #7A2A73;
  --sea-3: #0B3F47;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1.0625rem/1.62 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: 1em; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-weight: 800; font-size: clamp(2.05rem, 4.6vw, 3.5rem); line-height: 1.04; }
h3 { font-weight: 800; font-size: 1.35rem; line-height: 1.15; }

:focus-visible { outline: 3px dashed var(--ink); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px; font-weight: 800;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.ico {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }
.doodle { width: 24px; height: 24px; flex: none; fill: currentColor; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font: 700 1.15rem/1.2 var(--font-hand);
  color: var(--accent);
  rotate: -1.5deg;
}
.eyebrow::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: var(--tangerine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 2c2 15 13 26 30 30-17 4-28 15-30 30-2-15-13-26-30-30C19 28 30 17 32 2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 2c2 15 13 26 30 30-17 4-28 15-30 30-2-15-13-26-30-30C19 28 30 17 32 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); }
.hint {
  margin-top: 26px; text-align: center;
  font: 700 1rem var(--font-hand); opacity: .85;
}
.hint--left { margin: 0; text-align: left; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 3px solid var(--ink); border-radius: 999px;
  background: var(--btn); color: var(--ink);
  font: 800 1.06rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn--white { background: #fff; }
.btn--sun { background: var(--sun); }
.btn--sm { padding: 11px 18px; font-size: .98rem; box-shadow: 0 4px 0 var(--ink); }
.btn--sm:hover { box-shadow: 0 7px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); box-shadow: none; }
.btn--ghost:hover { box-shadow: none; background: rgba(255, 255, 255, .12); }

.round {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: 3px solid var(--ink); border-radius: 50%;
  background: #fff; color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.round:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

/* ---------- top strip + nav ---------- */
.topstrip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px;
  padding: 8px 16px;
  background: var(--ink); color: var(--paper);
  font: 700 .9rem/1.35 var(--font-body); text-align: center;
}
.topstrip b { font: 700 .98rem/1.25 var(--font-hand); color: var(--sun); }

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(16px, 3vw, 36px);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 3px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--ink); }
.brand {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  text-decoration: none;
}
.brand__sun { width: 52px; height: 52px; flex: none; transition: rotate .9s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover .brand__sun { rotate: 200deg; }
.brand__name { display: grid; line-height: 1; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.brand__name b { font-weight: 900; font-size: 1.32rem; letter-spacing: -.01em; }
.brand__name span { font-weight: 600; font-size: .86rem; margin-top: 3px; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  padding: 9px 13px; border-radius: 999px;
  font-weight: 800; font-size: .98rem; text-decoration: none;
  transition: background .2s ease;
}
.nav__links a:hover { background: color-mix(in srgb, var(--sun) 55%, transparent); }
.nav__links a.is-here { background: var(--sun); }
.nav__tools { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.lang button {
  border: 0; background: transparent; padding: 7px 11px; cursor: pointer;
  font: 800 .85rem/1 var(--font-body); letter-spacing: .04em;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang button:focus-visible { outline-offset: -4px; outline-color: var(--tangerine); }

.burger {
  display: none; width: 48px; height: 48px; padding: 0; gap: 5px;
  place-content: center;
  border: 3px solid var(--ink); border-radius: 50%; background: var(--sun); cursor: pointer;
}
.burger span { display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { opacity: 0; }
.nav.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1099px) {
  .burger { display: grid; }
  .nav__links {
    position: absolute; z-index: 1; left: 0; right: 0; top: 100%;
    height: calc(100dvh - 100%);
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 24px 24px 80px;
    background: var(--bg-ribbon); color: var(--on-ribbon);
    visibility: hidden; opacity: 0; translate: 0 -12px;
    transition: opacity .25s ease, translate .25s ease, visibility 0s .25s;
  }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
  .nav.is-open { background: var(--paper); border-bottom-color: var(--ink); }
  .nav__links a {
    font: 800 clamp(1.7rem, 7vw, 2.4rem)/1.1 var(--font-display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    padding: 10px 22px;
  }
  .nav__links a:hover, .nav__links a.is-here { background: var(--sun); color: var(--ink); }
}
@media (max-width: 560px) {
  .nav { gap: 8px; padding-inline: 12px; }
  .brand__sun { width: 42px; height: 42px; }
  .brand__name b { font-size: 1.08rem; }
  .brand__name span { font-size: .72rem; }
  .nav__call span { display: none; }
  .nav__call { width: 48px; height: 48px; padding: 0; }
  .nav__tools { gap: 7px; }
  .lang button { padding: 7px 8px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(28px, 4.5vw, 60px) 0 clamp(96px, 11vw, 150px);
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 8%, transparent) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero__title {
  font-weight: 900;
  font-size: clamp(2.6rem, 5.6vw, 4.9rem);
  line-height: .98; letter-spacing: -.025em;
  margin-bottom: 22px;
}
html[lang="es"] .hero__title { font-size: clamp(2.05rem, 4.7vw, 4rem); }
.hero__title .line {
  display: block; white-space: nowrap;
  animation: pop .75s cubic-bezier(.34, 1.56, .64, 1) both;
  animation-delay: calc(var(--i) * .13s + .05s);
}
.paint .w { display: inline-block; white-space: nowrap; }
.paint .ch {
  display: inline-block; rotate: var(--r, 0deg);
  animation: letter .6s cubic-bezier(.34, 1.56, .64, 1) both;
  animation-delay: calc(.3s + var(--n) * .045s);
  transition: translate .25s cubic-bezier(.34, 1.56, .64, 1);
}
.paint:hover .ch { translate: 0 calc(var(--hop, -6px)); }
.zero { position: relative; z-index: 0; display: inline-block; }
.zero::before {
  content: ""; position: absolute; z-index: -1; inset: 14% -7% 2%;
  background: var(--sun);
  border-radius: 42% 58% 55% 45% / 60% 44% 56% 40%;
  rotate: -2deg;
}
.hero__sub { max-width: 34em; font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .98rem; }
.hero__trust li:nth-child(1) .doodle { color: var(--t-sky); }
.hero__trust li:nth-child(2) .doodle { color: var(--t-coral); }
.hero__trust li:nth-child(3) .doodle { color: var(--t-teal); }

.hero__art { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / .96; }
.hero__sun {
  position: absolute; width: 74%; height: auto; right: -14%; top: -13%;
  rotate: calc(var(--scroll, 0) * 1deg);
  animation: spin 70s linear infinite;
  cursor: pointer; user-select: none; -webkit-user-drag: none;
}
.hero__sun.boop { animation: boop .9s cubic-bezier(.34, 1.56, .64, 1); }
.hero__photo {
  position: absolute; inset: 15% 5% 4% 0;
  border: 8px solid #fff;
  border-radius: 47% 53% 44% 56% / 54% 46% 54% 46%;
  overflow: hidden;
  box-shadow: 10px 12px 0 var(--ink);
  rotate: -3deg;
  background: var(--paper-deep);
}
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; }
.hero__doodle { position: absolute; fill: currentColor; animation: bob 5s ease-in-out infinite; }
.hero__doodle--spark { width: 9%; left: 3%; top: 4%; color: var(--coral); }
.hero__doodle--fish { width: 13%; right: -3%; bottom: 13%; color: var(--teal); animation-delay: -1.5s; rotate: -8deg; }
.hero__doodle--heart { width: 7%; left: 36%; top: 3%; color: var(--sky); animation-delay: -3s; rotate: 12deg; }

.badge {
  position: absolute; left: -5%; bottom: -3%; width: 33%; aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--coral); border: 3px solid var(--ink); border-radius: 50%;
  box-shadow: 0 6px 0 var(--ink);
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge__text { font: 700 13.500px var(--font-hand); fill: var(--ink); letter-spacing: .02em; }
.badge__hola { font: 700 clamp(1.05rem, 2.3vw, 1.65rem)/1 var(--font-hand); color: #fff; rotate: -9deg; text-shadow: 2px 2px 0 var(--ink); }

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; margin-top: 18px; }
  .hero__sun { right: -10%; }
}

/* ---------- ribbon ---------- */
.ribbon {
  position: relative; z-index: 3;
  margin: -46px -3vw 0; padding: 13px 0;
  background: var(--bg-ribbon); color: var(--on-ribbon);
  border-block: 3px solid var(--ink);
  rotate: -1.6deg;
  overflow: hidden;
}
.ribbon__track { display: flex; align-items: center; width: max-content; animation: marquee 44s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__track span { padding-inline: 1.15em; font: 700 clamp(1.05rem, 2.1vw, 1.5rem)/1.2 var(--font-hand); white-space: nowrap; }
.ribbon__track i {
  width: 30px; height: 30px; flex: none;
  background: url("../assets/img/sun-180.png") center / contain no-repeat;
  animation: spin 9s linear infinite;
}

/* ---------- sections ---------- */
.section {
  --bg: var(--paper);
  position: relative;
  padding: var(--pad) 0 calc(var(--pad) + var(--wave-h));
  background-color: var(--bg);
}
.section.about, .section.insurance, .section.visit {
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 8%, transparent) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
}
.section--office { --bg: var(--bg-office); }
.section--sissy { --bg: var(--bg-sissy); }
.section--brush { --bg: var(--bg-brush); color: var(--paper); padding-bottom: calc(var(--wave-h) + 70px); }
.section--missions { --bg: var(--bg-missions); padding-bottom: calc(var(--wave-h) + 34px); }
.section--office .eyebrow, .section--sissy .eyebrow, .section--missions .eyebrow { color: var(--ink); }
.section--office .eyebrow::before, .section--sissy .eyebrow::before, .section--missions .eyebrow::before { background: #fff; }
.section--office .lede, .section--sissy .lede, .section--missions .lede { color: var(--ink); }
.section--brush .eyebrow { color: var(--sun); }
.section--brush .eyebrow::before { background: var(--coral); }
.section--brush .lede { color: color-mix(in srgb, var(--paper) 88%, transparent); }
.section--brush :focus-visible { outline-color: var(--paper); }

.wave {
  position: absolute; left: 0; bottom: calc(100% - 1px);
  width: 100%; height: var(--wave-h); display: block;
  fill: var(--bg); pointer-events: none;
}
.head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 60px); }
.head--center { margin-inline: auto; text-align: center; }
.head .lede { margin-top: 16px; }

/* reveal on scroll */
.js .reveal {
  opacity: 0; translate: 0 30px;
  transition: opacity .6s ease, translate .7s cubic-bezier(.2, .8, .2, 1), transform .25s ease, rotate .3s ease, box-shadow .25s ease;
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- about cards ---------- */
.about { padding-top: clamp(84px, 10vw, 130px); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card {
  --tint: #fff;
  padding: 26px 24px 28px;
  background: var(--tint);
  border: 3px solid var(--ink); border-radius: 28px;
  box-shadow: 0 7px 0 var(--ink);
}
.card:nth-child(odd) { rotate: -1.2deg; }
.card:nth-child(even) { rotate: 1.2deg; margin-top: 18px; }
.card:hover { rotate: 0deg; transform: translateY(-6px); box-shadow: 0 13px 0 var(--ink); }
.card--coral { --tint: color-mix(in srgb, var(--coral) 22%, #fff); --pot: var(--coral); }
.card--sun { --tint: color-mix(in srgb, var(--sun) 34%, #fff); --pot: var(--sun); }
.card--teal { --tint: color-mix(in srgb, var(--teal) 24%, #fff); --pot: var(--teal); }
.card--sky { --tint: color-mix(in srgb, var(--sky) 30%, #fff); --pot: var(--sky); }
.card__icon {
  display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 18px;
  background: var(--pot); border: 3px solid var(--ink);
  border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%;
}
.card__icon svg { width: 34px; height: 34px; fill: #fff; stroke: var(--ink); stroke-width: 3.500; stroke-linejoin: round; paint-order: stroke; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 1.02rem; line-height: 1.5; }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } .card:nth-child(even) { margin-top: 0; } }

/* ---------- office gallery wall ---------- */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; }
.wall__col { display: grid; gap: 30px; }
.wall__col:nth-child(2) { margin-top: 34px; }
.frame {
  position: relative; display: block;
  padding: 12px;
  background: var(--mat, #fff);
  border: 3px solid var(--ink); border-radius: 20px;
  box-shadow: 0 8px 0 var(--ink);
  rotate: var(--r, 0deg);
  text-decoration: none;
}
.frame img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 10px; background: var(--paper-deep); }
.frame:hover, .frame:focus-visible { rotate: 0deg; transform: translateY(-6px) scale(1.015); box-shadow: 0 14px 0 var(--ink); }
.frame__tag {
  position: absolute; left: -10px; bottom: 18px; max-width: calc(100% - 12px);
  padding: 5px 13px;
  background: var(--paper); border: 2.500px solid var(--ink); border-radius: 12px;
  font: 700 1rem/1.25 var(--font-hand); color: var(--ink);
  rotate: -2.500deg;
}
@media (max-width: 760px) {
  .wall {
    display: flex; gap: 22px; align-items: center;
    margin-inline: -20px; padding: 14px 26px 30px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  }
  .wall__col { display: contents; }
  .frame { flex: 0 0 auto; scroll-snap-align: center; }
  .frame img { width: auto; height: min(62vw, 300px); }
}

/* ---------- Dr. Sissy ---------- */
.sissy { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.sissy__photos { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.04; margin-inline: auto; }
.arch {
  position: absolute; left: 3%; top: 0; width: 57%;
  border: 4px solid var(--ink); border-radius: 999px 999px 26px 26px;
  overflow: hidden; background: #fff;
  box-shadow: 10px 10px 0 var(--coral), 10px 10px 0 4px var(--ink);
}
.arch img { display: block; width: 100%; height: auto; }
.polaroid {
  position: absolute; display: block; padding: 9px 9px 30px;
  background: #fff; border: 3px solid var(--ink); border-radius: 6px;
  box-shadow: 0 7px 0 var(--ink);
}
.polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid--a { right: 0; top: 6%; width: 43%; rotate: 5deg; }
.polaroid--b { right: 7%; bottom: 0; width: 37%; rotate: -5deg; }
.polaroid--b img { object-position: 50% 30%; }
.polaroid:hover, .polaroid:focus-visible { rotate: 0deg; transform: translateY(-5px) scale(1.03); z-index: 2; }
.quote {
  position: absolute; left: -2%; bottom: 3%; max-width: 56%;
  margin: 0; padding: 14px 18px;
  background: #fff; border: 3px solid var(--ink); border-radius: 22px 22px 22px 4px;
  box-shadow: 0 6px 0 var(--ink);
  font: 700 clamp(1rem, 1.8vw, 1.25rem)/1.25 var(--font-hand);
  rotate: -3deg;
}
.sissy__name { margin: 10px 0 20px; font: 700 1.12rem/1.3 var(--font-hand); }
.facts { display: grid; gap: 10px; margin-top: 26px; }
.facts li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 16px;
  background: color-mix(in srgb, #fff 62%, transparent); border: 2.500px solid var(--ink); border-radius: 16px;
  font-weight: 800; line-height: 1.35;
}
.facts svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: var(--t-coral); }
@media (max-width: 899px) { .sissy { grid-template-columns: 1fr; } .sissy__photos { max-width: 440px; } }

/* ---------- brush-along timer ---------- */
.section--brush {
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1.500px, transparent 2px);
  background-size: 28px 28px;
}
.brush { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.brush__text .lede { margin-top: 16px; }
.brush__controls { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.section--brush .btn { box-shadow: 0 6px 0 rgba(0, 0, 0, .45); }
.section--brush .btn:hover { box-shadow: 0 9px 0 rgba(0, 0, 0, .45); }
.section--brush .btn--ghost, .section--brush .btn--ghost:hover { box-shadow: none; }
.brush__controls .btn { min-width: 9.500em; }
.brush__ff {
  display: inline-block; margin-top: 22px; padding: 4px 0;
  background: none; border: 0; cursor: pointer;
  font: 700 .95rem var(--font-hand); opacity: .78;
  text-decoration: underline dotted; text-underline-offset: 4px;
}
.brush__ff[aria-pressed="true"] { opacity: 1; color: var(--sun); }

.timer { position: relative; width: min(430px, 100%); aspect-ratio: 1; margin-inline: auto; }
.timer__ring { display: block; width: 100%; height: 100%; overflow: visible; }
.arcs path { fill: none; stroke-width: 22; }
.arcs--bg path { opacity: .3; stroke-dasharray: 94 6; stroke-dashoffset: -3; }
.arcs--fg path { stroke-dasharray: 0 200; stroke-dashoffset: -3; }
.timer__sun {
  position: absolute; left: 10%; top: 50%; width: 21%; height: auto;
  translate: -50% -50%; pointer-events: none;
  animation: spin 16s linear infinite;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .35));
}
.timer__center {
  position: absolute; inset: 17.500%;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  padding: 8%;
  background: var(--paper); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 50%;
  text-align: center;
}
.timer__tooth { width: clamp(52px, 34%, 92px); overflow: visible; }
.tooth__body { fill: #fff; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.tooth__eye { fill: var(--ink); }
.tooth__cheek { fill: var(--coral); opacity: .55; }
.tooth__smile { fill: none; stroke: var(--ink); stroke-width: 2.600; stroke-linecap: round; }
.timer__time { font: 900 clamp(2rem, 6vw, 3.100rem)/1 var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-variant-numeric: tabular-nums; }
.timer__zone { min-height: 2.500em; font: 700 clamp(.9rem, 1.7vw, 1.08rem)/1.2 var(--font-hand); color: var(--accent); }
.timer__zone.ping { animation: ping .5s cubic-bezier(.34, 1.56, .64, 1); }
.timer.is-running .timer__tooth { animation: wiggle .45s ease-in-out infinite alternate; }
.bubble {
  position: absolute; left: var(--x); bottom: 14%;
  width: var(--s); height: var(--s); border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .22);
  opacity: 0; pointer-events: none;
}
.timer.is-running .bubble { animation: bubble 3.200s ease-in infinite; animation-delay: var(--t); }
@media (max-width: 899px) { .brush { grid-template-columns: 1fr; } .brush__text { text-align: center; } .brush__controls { justify-content: center; } }

/* ---------- insurance stickers ---------- */
.stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 22px; max-width: 1000px; margin-inline: auto; }
.sticker {
  display: grid; place-items: center;
  width: 208px; height: 108px; padding: 16px 22px;
  background: #fff; border: 3px solid var(--ink); border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink);
}
.sticker:nth-child(3n+1) { rotate: -2deg; }
.sticker:nth-child(3n+2) { rotate: 1.500deg; }
.sticker:nth-child(3n) { rotate: -.6deg; }
.sticker:hover { animation: wiggle .3s ease-in-out 2 alternate; }
.sticker img { display: block; max-width: 100%; max-height: 66px; width: auto; height: auto; object-fit: contain; }
.insurance__note { margin-top: 40px; text-align: center; font-size: 1.15rem; font-weight: 700; }
.insurance__note a { font-weight: 900; color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 3px; }
@media (max-width: 540px) { .sticker { width: calc(50% - 11px); height: 92px; padding: 12px 14px; } }

/* ---------- missions ---------- */
.missions { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.missions__text h2 { margin-bottom: 22px; }
.missions__text p { font-size: 1.12rem; }
.artcard {
  position: relative; padding: 28px 26px 26px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 30px;
  box-shadow: 0 8px 0 var(--ink);
  rotate: 1.500deg;
}
.artcard h3 { margin-bottom: 10px; font-size: 1.6rem; }
.artcard p { font-size: 1.02rem; line-height: 1.5; }
.artcard__photo { display: block; margin-top: 18px; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; }
.artcard__photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .4s ease; }
.artcard__photo:hover img { scale: 1.05; }
.artcard__stamp {
  position: absolute; right: -16px; top: -30px;
  display: grid; place-items: center; width: 96px; height: 96px; padding: 8px;
  background: var(--tangerine); border: 3px solid var(--ink); border-radius: 50%;
  box-shadow: 0 5px 0 var(--ink);
  font: 700 1.02rem/1.05 var(--font-hand); text-align: center;
  rotate: 12deg;
}
/* On narrower screens the card sits near the edge: keep the stamp inside it and the heading clear of it. */
@media (max-width: 1099px) {
  .artcard__stamp { right: 4px; }
  .artcard h3 { padding-right: 78px; }
}
.strip__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 6vw, 70px); }
.strip__btns { display: flex; gap: 10px; }
.strip {
  display: flex; align-items: center; gap: 26px;
  padding: 26px max(20px, calc((100vw - var(--wrap)) / 2)) 34px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}
.strip a {
  flex: 0 0 auto; display: block; scroll-snap-align: center;
  padding: 10px; background: #fff;
  border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 0 7px 0 var(--ink);
  rotate: var(--r, 0deg);
  transition: transform .25s ease, rotate .3s ease, box-shadow .25s ease;
}
.strip a:hover, .strip a:focus-visible { rotate: 0deg; transform: translateY(-6px); box-shadow: 0 13px 0 var(--ink); }
.strip img { display: block; width: auto; height: clamp(210px, 27vw, 320px); border-radius: 8px; }
@media (max-width: 899px) { .missions { grid-template-columns: 1fr; } .artcard { rotate: 0deg; } .artcard__stamp { right: 10px; } }

/* ---------- visit + forms ---------- */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; }
.visit__cards { display: grid; gap: 20px; align-content: start; }
.info {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  background: #fff; border: 3px solid var(--ink); border-radius: 26px;
  box-shadow: 0 6px 0 var(--ink);
  text-decoration: none;
}
a.info:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--ink); }
.info__icon {
  display: grid; place-items: center; width: 60px; height: 60px; flex: none;
  border: 3px solid var(--ink); border-radius: 50%; font-size: 1.25rem;
}
.info--phone .info__icon { background: var(--tangerine); }
.info--hours .info__icon { background: var(--sun); }
.info--addr .info__icon { background: var(--teal); }
.info__body { display: grid; gap: 2px; min-width: 0; }
.info__label { font: 700 1rem/1.2 var(--font-hand); color: var(--accent); }
.info__big { font: 800 clamp(1.15rem, 2vw, 1.42rem)/1.2 var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; }
.info--phone .info__big { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 900; }
.info__note { font-size: .98rem; color: var(--ink-soft); }
.map {
  min-height: 360px;
  border: 3px solid var(--ink); border-radius: 30px; overflow: hidden;
  box-shadow: 0 8px 0 var(--ink); background: var(--paper-deep);
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

.forms {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(22px, 4vw, 44px); align-items: center;
  margin-top: clamp(48px, 7vw, 84px); padding: clamp(24px, 4vw, 44px);
  background: var(--paper-deep);
  border: 3px dashed var(--ink); border-radius: 34px;
}
.forms__head h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; }
.forms__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sheet {
  position: relative; display: grid; gap: 12px; align-content: start; height: 100%;
  padding: 22px 18px 18px;
  background: #fff; border: 3px solid var(--ink); border-radius: 8px 30px 8px 8px;
  box-shadow: 0 6px 0 var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, rotate .2s ease;
}
.sheet::after {
  content: ""; position: absolute; right: -3px; top: -3px; width: 30px; height: 30px;
  background: var(--sun); border: 3px solid var(--ink); border-radius: 0 30px 0 8px;
}
.sheet:hover { transform: translateY(-5px); rotate: -1.500deg; box-shadow: 0 11px 0 var(--ink); }
.sheet > .ico { width: 34px; height: 34px; color: var(--accent); }
.sheet__title { font: 800 1.14rem/1.2 var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 0; }
.sheet__meta { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 800; color: var(--ink-soft); }
@media (max-width: 899px) {
  .visit__grid, .forms { grid-template-columns: 1fr; }
}
@media (max-width: 620px) { .forms__list { grid-template-columns: 1fr; } .info { padding: 16px; gap: 14px; } .info__icon { width: 50px; height: 50px; } }

/* ---------- footer: sunset over the bay ---------- */
.footer { --bg: var(--sky-1); position: relative; }
.sunset {
  position: relative; height: clamp(250px, 32vw, 410px); overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 34%, var(--sky-3) 66%, var(--sky-4) 100%);
}
.sunset__sun {
  position: absolute; left: 50%; bottom: -9%; width: clamp(200px, 30vw, 400px); height: auto;
  margin-left: calc(clamp(200px, 30vw, 400px) / -2);
  animation: spin 90s linear infinite;
}
.sea { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; display: block; }
.sea--1 { height: 40%; fill: var(--sea-1); animation: drift 26s linear infinite; }
.sea--2 { height: 28%; fill: var(--sea-2); animation: drift 18s linear infinite reverse; }
.sea--3 { height: 15%; fill: var(--sea-3); animation: drift 12s linear infinite; }
.sunset__boat {
  position: absolute; left: 16%; bottom: 23%; width: clamp(56px, 7.500vw, 100px); height: auto; overflow: visible;
  animation: sail 5s ease-in-out infinite;
}
.boat__hull { fill: var(--coral); stroke: var(--ink); stroke-width: 2.500; stroke-linejoin: round; }
.boat__sail { fill: #fff; stroke: var(--ink); stroke-width: 2.500; stroke-linejoin: round; }
.boat__sail--b { fill: var(--sun); }
.footer__body { background: var(--sea-3); color: var(--paper); padding: 30px 0 96px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 28px 40px; align-items: start; }
.footer__brand { font: 900 clamp(1.5rem, 3vw, 2.1rem)/1.05 var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.footer__tag { margin-top: 8px; font: 700 1.2rem var(--font-hand); color: var(--sun); rotate: -1.500deg; display: inline-block; }
.footer address { line-height: 1.6; }
.footer a { text-underline-offset: 4px; }
.footer address a { font-weight: 900; font-size: 1.2rem; }
.footer__links { display: grid; gap: 8px; font-weight: 800; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.footer__fine { margin-top: 32px; padding-top: 18px; border-top: 2px dashed color-mix(in srgb, var(--paper) 35%, transparent); font-size: .9rem; opacity: .8; }
.footer :focus-visible { outline-color: var(--paper); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 20px; border: 0; background: transparent; color: var(--paper);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: color-mix(in srgb, var(--sea-3) 92%, transparent); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox img {
  display: block; max-width: min(92vw, 1100px); max-height: 76dvh; width: auto; height: auto;
  border: 6px solid #fff; border-radius: 18px; background: #fff;
}
.lightbox figcaption { font: 700 1.2rem/1.3 var(--font-hand); text-align: center; max-width: 40em; }
.lightbox__close { position: fixed; right: 18px; top: 18px; }
.lightbox__prev { position: fixed; left: 18px; top: 50%; margin-top: -24px; }
.lightbox__next { position: fixed; right: 18px; top: 50%; margin-top: -24px; }
.lightbox :focus-visible { outline-color: var(--sun); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }

/* ---------- mockup switcher (remove before launch) ---------- */
.mockbar {
  position: fixed; left: 14px; bottom: 14px; z-index: 60;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 14px;
  background: #fff; color: #33163A;
  border: 3px solid #33163A; border-radius: 999px;
  box-shadow: 0 5px 0 #33163A;
  font: 800 .82rem/1 var(--font-body);
}
.mockbar__label { margin-right: 6px; font: 700 .9rem var(--font-hand); }
.mockbar button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px 7px 7px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: inherit;
}
.mockbar button[aria-pressed="true"] { background: #33163A; color: #fff; }
.mockbar i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #33163A; background: conic-gradient(var(--a) 0 33%, var(--b) 0 66%, var(--c) 0); }
.mockbar button[aria-pressed="true"] i { border-color: #fff; }
.mockbar .mockbar__x { padding: 7px; opacity: .6; }
.mockbar[hidden], .brush__ff[hidden] { display: none; }
@media (max-width: 560px) {
  .mockbar__label { display: none; }
  .mockbar { padding-left: 6px; }
  .mockbar button { font-size: .76rem; padding-right: 8px; }
}

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none; }

/* ---------- motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes boop { 0% { transform: rotate(0) scale(1); } 40% { transform: rotate(200deg) scale(1.12); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: translateY(45%) rotate(4deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes letter { from { opacity: 0; transform: translateY(60%) scale(.4) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sail { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(4deg); } }
@keyframes wiggle { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes ping { from { transform: scale(.7); opacity: .2; } to { transform: scale(1); opacity: 1; } }
@keyframes bubble {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-260px) scale(1.15); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ribbon__track { animation: none; }
  .js .reveal { opacity: 1; translate: 0 0; }
}
