/* Magic Scissors — Kids Barber Shop
   Direction: 10 · SaaS Fresh base, re-tokenised from the brand ("Toybox Rainbow").
   Palette from the logo (navy circle, rainbow arc, gold sparkles) and the shop
   (red counter, yellow walls, Lego-brick carpet). Contrast checked with contrast_check.py. */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --cream: #FFF8EA;
  --paper: #FFFFFF;
  --butter: #FFE9A8;
  /* ink (logo navy) */
  --ink: #1C2140;
  --ink-soft: #4A4F6E;      /* 7.54:1 on cream */
  --ink-mist: #C9CDE6;      /* on navy: 9.96:1 */
  /* brand */
  --red: #C8202A;           /* counter red; white on it 5.68:1 */
  --red-deep: #A3161F;
  --pink: #E0397A;          /* decorative only (fails as text bg) */
  --pink-ink: #B3245F;      /* white on it 6.30:1 */
  --pink-tint: #FBD3E2;
  --orange: #F39A2B;
  --yellow: #F7DB4F;        /* shop walls; navy on it 11.34:1 */
  --green: #8CC63F;
  --green-tint: #E4F3CF;
  --green-light: #B4E07A;
  --sky: #7EC8E8;
  --sky-tint: #D6EFFA;
  --sky-light: #9DDCF2;
  --gold: #F2C230;

  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;

  /* spacing scale: 4 8 12 16 24 32 48 64 96 128 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --line: 3px solid var(--ink);          /* sticker outline, like the logo */
  --toy: 0 6px 0 var(--ink);             /* hard "toy" shadow */
  --toy-sm: 0 4px 0 var(--ink);
  --soft: 0 2px 6px rgba(28, 33, 64, .08), 0 12px 32px rgba(28, 33, 64, .10);

  --wrap: 1180px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(242, 194, 48, .35);
  touch-action: manipulation;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
[id] { scroll-margin-top: 88px; }

.wrap { width: min(100% - 2 * var(--s5), var(--wrap)); margin-inline: auto; }
.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;
}
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Focus */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--gold);
  border-radius: 6px;
}
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--gold); box-shadow: none; }

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--s3) var(--s4);
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip:focus { top: var(--s4); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px;
  padding: var(--s3) var(--s5);
  border: var(--line);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: var(--toy-sm);
  transform: translateY(0);
  transition: transform 180ms var(--ease-spring), box-shadow 180ms ease, background-color 180ms ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); background: var(--red-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn .icon { transition: transform 220ms var(--ease-spring); }
.btn:hover .icon-nudge { transform: translateX(3px); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--light:hover { background: var(--butter); }
.btn--sky { --btn-bg: var(--sky-light); --btn-fg: var(--ink); }
.btn--sky:hover { background: var(--sky); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold:hover { background: var(--yellow); }
.btn--sm { min-height: 44px; padding: var(--s2) var(--s4); font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 234, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 3px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.site-header.is-stuck { border-bottom-color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: var(--s3);
  text-decoration: none; font-family: var(--font-display); font-weight: 600;
  min-height: 44px;
}
.brand img { width: 52px; height: 52px; transition: transform 400ms var(--ease-spring); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; }
.brand-text small { font-size: .8125rem; font-weight: 500; color: var(--ink-soft); margin-top: 2px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: var(--s1); margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3);
  font-family: var(--font-display); font-weight: 500; text-decoration: none;
  border-radius: var(--r-pill);
  transition: background-color 160ms ease;
}
.main-nav a:hover { background: var(--butter); }

.calm-toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: 0 var(--s3) 0 var(--s2);
  border: 2px solid var(--ink); border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink);
  font: 600 .9375rem/1 var(--font-display);
  cursor: pointer;
}
.calm-toggle .knob {
  position: relative; width: 38px; height: 22px; border-radius: var(--r-pill);
  background: var(--ink-mist); border: 2px solid var(--ink);
  transition: background-color 200ms ease;
}
.calm-toggle .knob::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--ink);
  transition: transform 220ms var(--ease-spring);
}
.calm-toggle[aria-pressed="true"] .knob { background: var(--green); }
.calm-toggle[aria-pressed="true"] .knob::after { transform: translateX(16px); }
.header-cta { display: none; }

@media (min-width: 1080px) { .header-cta { display: inline-flex; } }
@media (max-width: 899px) {
  .site-header .main-nav { display: none; }
  .calm-toggle { margin-left: auto; }
}
@media (max-width: 599px) {
  .site-header .wrap { min-height: 64px; gap: var(--s3); }
  .brand img { width: 44px; height: 44px; }
  .brand-text b { font-size: 1.1875rem; white-space: nowrap; }
  .brand-text small { display: none; }
  .calm-toggle { white-space: nowrap; font-size: .875rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--s7) 0 var(--s8); isolation: isolate; }
.hero .wrap { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) {
  .hero { padding: var(--s8) 0 var(--s9); }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; }
}
.eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s2);
  font-family: var(--font-display); font-weight: 600; font-size: .9375rem;
  margin-bottom: var(--s4);
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px var(--s3); border: 2px solid var(--ink); border-radius: var(--r-pill);
  background: var(--paper); line-height: 1.1;
}
.tag--sky { background: var(--sky-tint); }
.tag--pink { background: var(--pink-tint); }
.tag--green { background: var(--green-tint); }

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
}
.hero h1 .rainbow-word {
  display: inline-block;
  position: relative;
  color: var(--ink);
}
.hero h1 .rainbow-word::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -.04em; height: .16em;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--sky));
  transform-origin: left center;
  animation: underline-draw 1100ms var(--ease-out) 700ms both;
  z-index: -1;
}
@keyframes underline-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-lede { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); color: var(--ink-soft); max-width: 34ch; margin-top: var(--s5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-status {
  display: inline-flex; align-items: center; gap: var(--s2);
  margin-top: var(--s5); font-weight: 700; font-size: 1rem;
}
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-mist); border: 2px solid var(--ink); flex: none; }
.dot.is-open { background: var(--green); }
.dot.is-open::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 0 rgba(140, 198, 63, .7); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(140,198,63,.7);} 80%,100% { box-shadow: 0 0 0 10px rgba(140,198,63,0);} }

/* hero staged entrance */
.hero-copy > * { animation: rise 700ms var(--ease-out) both; }
.hero-copy > *:nth-child(2) { animation-delay: 90ms; }
.hero-copy > *:nth-child(3) { animation-delay: 180ms; }
.hero-copy > *:nth-child(4) { animation-delay: 270ms; }
.hero-copy > *:nth-child(5) { animation-delay: 360ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* hero art */
.hero-art { position: relative; aspect-ratio: 1 / 1; width: min(100%, 560px); margin-inline: auto; }
.hero-art .halo {
  position: absolute; inset: 4% 0 auto 0; width: 100%;
  animation: drift 9s ease-in-out 1.8s infinite alternate;
  transform-origin: 50% 100%;
}
.halo path {
  fill: none; stroke-linecap: round; stroke-width: 22;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1400ms var(--ease-out) forwards;
}
.halo path:nth-child(2) { animation-delay: 120ms; }
.halo path:nth-child(3) { animation-delay: 240ms; }
.halo path:nth-child(4) { animation-delay: 360ms; }
.halo path:nth-child(5) { animation-delay: 480ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(3deg) translateY(-6px); } }

.hero-logo {
  position: absolute; left: 50%; top: 52%;
  width: 74%;
  translate: -50% -50%;
  filter: drop-shadow(0 18px 24px rgba(28, 33, 64, .22));
  animation: pop-in 900ms var(--ease-spring) 300ms both, bob 6s ease-in-out 1.4s infinite;
}
@keyframes pop-in { from { opacity: 0; transform: scale(.6) rotate(-14deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2.5deg); }
}

.sparkle {
  position: absolute; width: var(--size, 22px); height: var(--size, 22px);
  color: var(--gold); pointer-events: none;
  animation: twinkle var(--dur, 3.2s) ease-in-out var(--delay, 0s) infinite;
}
.clover svg { width: 100%; height: 100%; }
.sparkle svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 0 rgba(28,33,64,.25)); }
@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.55) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}
.clover {
  position: absolute; width: var(--size, 28px); height: var(--size, 28px);
  color: #3F8F2F; opacity: 0; pointer-events: none;
  animation: float-up var(--dur, 11s) linear var(--delay, 0s) infinite;
}
@keyframes float-up {
  0% { opacity: 0; transform: translateY(40px) rotate(0deg); }
  15% { opacity: .9; }
  85% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-260px) rotate(200deg); }
}

/* hero background confetti dots */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle at 8% 22%, var(--sky) 0 6px, transparent 7px),
    radial-gradient(circle at 92% 14%, var(--pink) 0 5px, transparent 6px),
    radial-gradient(circle at 46% 92%, var(--green) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 6%, var(--orange) 0 4px, transparent 5px),
    radial-gradient(circle at 3% 80%, var(--yellow) 0 8px, transparent 9px);
}

/* ---------- Brick band (Lego carpet nod) ---------- */
.bricks {
  height: 44px; overflow: hidden;
  border-block: var(--line);
  background: var(--ink);
}
.bricks-track {
  height: 100%; width: calc(100% + 192px);
  background: url("../img/bricks.svg") repeat-x left center / 192px 44px;
  animation: bricks-slide 8s linear infinite;
}
@keyframes bricks-slide { from { transform: translateX(0); } to { transform: translateX(-192px); } }

/* ---------- Sections ---------- */
.section { padding: var(--s9) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: var(--s7); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.section-head p { margin-top: var(--s4); color: var(--ink-soft); font-size: 1.1875rem; }
.kicker {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  margin-bottom: var(--s3); color: var(--red);
}
.kicker .icon { color: var(--ink); }
@media (max-width: 640px) { .section { padding: var(--s8) 0; } .section-head { margin-bottom: var(--s6); } }

/* ---------- How it works ---------- */
.ways { display: grid; gap: var(--s5); }
@media (min-width: 800px) { .ways { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.way {
  position: relative; overflow: hidden;
  border: var(--line); border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--toy);
  display: flex; flex-direction: column; gap: var(--s4);
  transition: transform 260ms var(--ease-spring), box-shadow 260ms ease;
}
.way:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 10px 0 var(--ink); }
.way--boys { background: var(--sky-tint); }
.way--girls { background: var(--pink-tint); }
.way--girls:hover { transform: translateY(-4px) rotate(.6deg); }
.way-badge {
  width: 72px; height: 72px; border-radius: 22px;
  display: grid; place-items: center;
  border: var(--line); background: var(--paper);
  box-shadow: var(--toy-sm);
}
.way-badge .icon { width: 36px; height: 36px; }
.way--boys .way-badge { background: var(--sky); }
.way--girls .way-badge { background: var(--gold); }
.way:hover .way-badge .icon { animation: wiggle 600ms ease; }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }
.way h3 { font-size: clamp(1.75rem, 3.4vw, 2.375rem); }
.way h3 small { display: block; font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); font-family: var(--font-display); letter-spacing: .02em; }
.way p { font-size: 1.125rem; }
.way .btn { align-self: flex-start; margin-top: auto; }
.way > :not(.way-deco) { position: relative; z-index: 1; }
.way-deco { z-index: 0; position: absolute; right: -28px; bottom: -28px; width: 150px; height: 150px; opacity: .22; pointer-events: none; color: var(--ink); }

/* ---------- Scissors cut-line divider ---------- */
.cutline {
  position: relative; height: 64px; margin: 0 auto; overflow: hidden;
  width: min(100% - 2 * var(--s5), var(--wrap));
}
.cutline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 3px dashed var(--ink); opacity: .55;
}
.cutline .snip {
  position: absolute; top: 50%; left: 0; width: 84px; height: 42px;
  translate: 0 -50%;
}
.js .cutline.in .snip { animation: travel 7s linear infinite; }
.js .cutline .snip { animation: none; }
@keyframes travel {
  from { transform: translateX(-90px); }
  to { transform: translateX(calc(min(100vw, 1180px) + 10px)); }
}
.snip .blade-a, .snip .blade-b { transform-box: view-box; transform-origin: 46px 30px; }
.snip .blade-a { animation: snip-a 420ms ease-in-out infinite alternate; }
.snip .blade-b { animation: snip-b 420ms ease-in-out infinite alternate; }
@keyframes snip-a { from { transform: rotate(-16deg); } to { transform: rotate(0deg); } }
@keyframes snip-b { from { transform: rotate(16deg); } to { transform: rotate(0deg); } }

/* ---------- Sensory ---------- */
.sensory { background: var(--yellow); border-block: var(--line); overflow: hidden; }
.sensory .kicker { color: var(--ink); }
.sensory .section-head p { color: var(--ink); }
.sensory-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .sensory-grid { grid-template-columns: 1.1fr .9fr; } }
.calm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.calm-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); align-items: start;
  background: var(--paper); border: var(--line); border-radius: var(--r-md);
  padding: var(--s4) var(--s5); box-shadow: var(--toy-sm);
}
.calm-list .bubble {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--ink);
}
.calm-list li:nth-child(1) .bubble { background: var(--sky-tint); }
.calm-list li:nth-child(2) .bubble { background: var(--pink-tint); }
.calm-list li:nth-child(3) .bubble { background: var(--green-tint); }
.calm-list .bubble .icon { width: 28px; height: 28px; }
.calm-list h3 { font-size: 1.375rem; margin-bottom: 4px; }
.calm-list p { color: var(--ink-soft); }

/* breathing calm visual */
.breathe { position: relative; width: min(92%, 360px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.breathe .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid var(--ink);
  animation: breathe 8s ease-in-out infinite;
}
.breathe .ring:nth-child(1) { background: var(--sky-tint); }
.breathe .ring:nth-child(2) { inset: 11%; background: var(--green-tint); animation-delay: -1s; }
.breathe .ring:nth-child(3) { inset: 21%; background: var(--paper); animation-delay: -2s; }
@keyframes breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.03); } }
.breathe-label {
  position: relative; text-align: center; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.625rem); line-height: 1.15; white-space: nowrap;
}
.breathe-label .b-sub { display: block; font-size: .75rem; font-family: var(--font-body); font-weight: 700; color: var(--ink-soft); margin-top: var(--s2); letter-spacing: .04em; text-transform: uppercase; }
.b-words { display: grid; }
.b-words > span { grid-area: 1 / 1; }
.breathe-label .phase { animation: phase 8s ease-in-out infinite; }
.breathe-label .phase-out { opacity: 0; animation: phase-inv 8s ease-in-out infinite; }
@keyframes phase-inv { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes phase { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--s5); grid-template-columns: 1fr 1fr; }
.shot { margin: 0; position: relative; }
.shot-frame {
  display: block; overflow: hidden;
  border: var(--line); border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: 0 6px 0 var(--shadow-c, var(--ink));
  transform: rotate(var(--tilt, 0deg));
  transition: transform 320ms var(--ease-spring), box-shadow 320ms ease;
}
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform 700ms var(--ease-out); }
.shot:hover .shot-frame { transform: rotate(0deg) translateY(-4px); box-shadow: 0 10px 0 var(--shadow-c, var(--ink)); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: var(--s3); bottom: var(--s3);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-pill);
  padding: 6px var(--s3); font-family: var(--font-display); font-weight: 600; font-size: .9375rem;
  line-height: 1.15;
  transform: rotate(var(--tilt, 0deg));
  max-width: calc(100% - 2 * var(--s3));
}
@media (max-width: 599px) {
  .shot figcaption { font-size: .8125rem; padding: 4px 10px; left: var(--s2); bottom: var(--s2); max-width: calc(100% - 2 * var(--s2)); }
  .hero-art { width: min(88%, 420px); }
}
.shot--a { --tilt: -1.4deg; --shadow-c: var(--red); grid-column: 1 / -1; }
.shot--b { --tilt: 1.6deg; --shadow-c: var(--sky); }
.shot--c { --tilt: -1.2deg; --shadow-c: var(--green); }
.shot--d { --tilt: 1.2deg; --shadow-c: var(--pink); grid-column: 1 / -1; }
.shot--a img { aspect-ratio: 4 / 3; }
.shot--d img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: var(--s6); }
  .shot--a { grid-column: 1 / 3; grid-row: 1 / 3; }
  .shot--a img { aspect-ratio: auto; height: 100%; }
  .shot--a .shot-frame { height: 100%; }
  .shot--b { grid-column: 3; grid-row: 1; }
  .shot--c { grid-column: 4; grid-row: 1; }
  .shot--d { grid-column: 3 / 5; grid-row: 2; }
  .shot--d img { aspect-ratio: 2 / 1; }
}

/* ---------- Fun stuff ---------- */
.fun { background: var(--ink); color: #fff; overflow: hidden; }
.fun .kicker { color: var(--gold); }
.fun .kicker .icon { color: var(--gold); }
.fun .section-head p { color: var(--ink-mist); }
.fun-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .fun-grid { grid-template-columns: 1fr 1fr; } }
.toys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (min-width: 560px) { .toys { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }
.toy {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3);
  padding: var(--s4); min-height: 120px;
  border: 3px solid #fff; border-radius: var(--r-md);
  color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.15;
  box-shadow: 0 5px 0 rgba(0,0,0,.35);
  transition: transform 260ms var(--ease-spring);
}
.toy:nth-child(6n+1) { background: var(--sky-light); }
.toy:nth-child(6n+2) { background: var(--gold); }
.toy:nth-child(6n+3) { background: var(--green-light); }
.toy:nth-child(6n+4) { background: var(--pink-tint); }
.toy:nth-child(6n+5) { background: var(--orange); }
.toy:nth-child(6n+6) { background: var(--paper); }
.toy .icon { width: 34px; height: 34px; }
.toy:hover { transform: translateY(-5px) rotate(-2deg); }
.toy:hover .icon { animation: hop 500ms var(--ease-spring); }
@keyframes hop { 0%,100% { transform: translateY(0);} 40% { transform: translateY(-8px) rotate(-8deg);} }
.fun-photo { position: relative; }
.fun-photo .shot-frame { border-color: #fff; box-shadow: 0 8px 0 var(--gold); --tilt: 1.5deg; }
.fun-photo img { aspect-ratio: 1 / 1; }
.fun-photo figcaption { color: var(--ink); }

/* ---------- Hours ---------- */
.hours-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .hours-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s8); } }
.hours-card {
  background: var(--paper); border: var(--line); border-radius: var(--r-lg);
  box-shadow: var(--toy); overflow: hidden;
}
.hours-top {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap;
  padding: var(--s4) var(--s5); background: var(--butter); border-bottom: var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem;
}
.open-pill {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 6px var(--s3); border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: var(--paper); font-family: var(--font-body); font-weight: 700; font-size: .9375rem;
}
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { text-align: left; padding: var(--s3) var(--s5); border-bottom: 2px dashed rgba(28,33,64,.18); font-size: 1.0625rem; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-family: var(--font-display); font-weight: 600; }
.hours-table td { text-align: right; white-space: nowrap; font-family: var(--font-display); font-weight: 500; }
.hours-table tr { transition: background-color 300ms ease; }
.hours-table tr.is-today { background: var(--sky-tint); }
.hours-table tr.is-today th::after {
  content: "Today"; display: inline-block; margin-left: var(--s2);
  padding: 2px 10px; border-radius: var(--r-pill); background: var(--ink); color: #fff;
  font: 700 .75rem/1.4 var(--font-body); letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px;
}
.hours-note { padding: var(--s4) var(--s5); border-top: var(--line); background: var(--cream); color: var(--ink-soft); font-size: .9375rem; display: flex; gap: var(--s2); align-items: center; }
.rules { display: grid; gap: var(--s4); margin-top: var(--s6); }
.rule { display: flex; gap: var(--s3); align-items: flex-start; font-size: 1.125rem; }
.rule .chip { flex: none; width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--ink); display: grid; place-items: center; }
.rule:nth-child(1) .chip { background: var(--sky); }
.rule:nth-child(2) .chip { background: var(--gold); }
.rule b { font-family: var(--font-display); font-weight: 600; }

/* ---------- Find us ---------- */
.find { background: var(--green-tint); border-top: var(--line); }
.find-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1fr; } }
.address {
  font-style: normal; font-size: 1.1875rem; line-height: 1.55;
  background: var(--paper); border: var(--line); border-radius: var(--r-md);
  padding: var(--s5); box-shadow: var(--toy-sm);
  display: grid; grid-template-columns: auto 1fr; gap: var(--s4);
}
.address .icon { width: 32px; height: 32px; color: var(--red); }
.find-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.treasure { width: 100%; max-width: 520px; margin-inline: auto; }
.treasure .trail { stroke-dasharray: 10 12; animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -44; } }
.treasure .pin { transform-box: fill-box; transform-origin: 50% 100%; animation: pin-bounce 2.4s var(--ease-spring) infinite; }
@keyframes pin-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-14px); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: var(--s8) 0 var(--s9); position: relative; }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.25rem; color: var(--gold); margin-bottom: var(--s3); }
.site-footer p, .site-footer li, .site-footer address { color: var(--ink-mist); font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s1); }
.site-footer ul, .footer-brand p, .footer-bottom p { font-family: var(--font-display); font-weight: 500; }
.site-footer p a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { display: flex; gap: var(--s4); align-items: center; }
.footer-brand img { width: 84px; height: 84px; }
.footer-brand b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; }
.social { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 700; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 2px dashed rgba(201,205,230,.35); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; font-size: .9375rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: var(--s3); right: var(--s3); bottom: calc(var(--s3) + env(safe-area-inset-bottom));
  z-index: 60; display: flex; gap: var(--s2);
  padding: var(--s2); border: var(--line); border-radius: var(--r-pill);
  background: var(--paper); box-shadow: var(--toy-sm), var(--soft);
  transform: translateY(160%); transition: transform 380ms var(--ease-spring);
}
.action-bar.is-visible { transform: translateY(0); }
.action-bar .btn { flex: 1; min-height: 48px; padding-inline: var(--s3); font-size: 1rem; box-shadow: none; }
.action-bar .btn:hover { transform: none; box-shadow: none; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-pop { opacity: 0; transform: scale(.9) rotate(-2deg); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-spring); transition-delay: var(--d, 0ms); }
.js .reveal-pop.in { opacity: 1; transform: none; }

/* ---------- Privacy page ---------- */
.plain { padding: var(--s9) 0; min-height: 60vh; }
.plain h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: var(--s5); }
.plain p { max-width: 60ch; font-size: 1.125rem; margin-bottom: var(--s4); color: var(--ink-soft); }

/* ---------- Motion off: reduced motion OR calm mode ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .halo path { stroke-dashoffset: 0; }
  .js .reveal, .js .reveal-pop { opacity: 1; transform: none; }
  .clover, .cutline .snip, .breathe-label .phase-out { display: none; }
  .breathe-label .phase { opacity: 1; }
}
html.calm .breathe-label .phase-out { display: none; }
html.calm *, html.calm *::before, html.calm *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  animation-delay: 0ms !important;
}
html.calm { scroll-behavior: auto; }
html.calm .halo path { stroke-dashoffset: 0; }
html.calm .clover, html.calm .cutline .snip { display: none; }
html.calm .sparkle { opacity: .9; }
html.calm .js .reveal, html.calm.js .reveal, html.calm.js .reveal-pop { opacity: 1; transform: none; transition: none; }
