.arrival { display: none; }
.arrival-ready .arrival { display: block; height: 208vh; height: 208svh; }
.arrival-stage {
  height: 100vh;
  height: 100svh;
  position: sticky;
  top: 0;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(42px, .5fr) auto minmax(0, 5fr) minmax(48px, .55fr);
  justify-items: center;
  align-items: center;
  padding: max(15px, env(safe-area-inset-top)) 24px max(16px, env(safe-area-inset-bottom));
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse at 49% 62%, #54444a 0, #30282f 34%, #17151b 66%, #0d0c11 93%);
}
.arrival-stage::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(239,220,206,.12);
  border-radius: 24px;
  z-index: -1;
  pointer-events: none;
}
.arrival-logo { width: 152px; height: 152px; margin-block: -34px; object-fit: contain; }
.arrival-copy .eyebrow { margin-bottom: 4px; font-size: clamp(.6rem, 1.7vw, .78rem); }
.arrival-copy > p:last-child { font: italic clamp(2rem, 6vw, 5.25rem)/1.08 Georgia, serif; letter-spacing: -.05em; }
.arrival-art { width: min(100%, 900px); height: 100%; max-height: 510px; overflow: visible; }
.castle { transform-origin: 370px 353px; will-change: transform; }
.runner,.jumper { opacity: 0; --shirt: #dc9f9c; --skin: #bd896b; --shorts: #65546e; --hair: #3e2927; }
.runner-two,.jumper-two { --shirt: #bfcdbd; --skin: #e9bd97; --shorts: #536580; --hair: #76503d; }
.kid-leg,.kid-arm { fill: none; stroke-width: 5px; stroke-linecap: round; stroke-linejoin: round; stroke: var(--skin); }
.runner .a,.runner .b { transform-origin: 0 -22px; }
.arrival-bottom { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: .77rem; letter-spacing: .09em; }
.arrival-cue { color: #e8cfb5; text-transform: uppercase; }
.arrival-bottom a { padding: 7px 13px; border: 1px solid var(--edge); border-radius: 999px; text-decoration: none; background: rgba(255,255,255,.09); }
.arrival-bottom a:hover { background: rgba(255,255,255,.19); }
.arrival-stage::after {
  content: '';
  height: 2px;
  background: #e8d4bd;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scaleX(var(--scene-progress, 0));
  transform-origin: left;
}
.arrival.in-view ~ #bubbles-assistant { visibility: hidden; }
#videoModal.active ~ #bubbles-assistant { display: none; }

.playground { isolation: isolate; }
.arrival { --edge: rgba(255, 247, 239, .23); }
.arrival-copy .eyebrow { color: #ead1b6; text-transform: uppercase; letter-spacing: .17em; font-weight: 750; }
.arrival-art { display: block; }
.kid-leg { transform-origin: 0 -22px; }
.kid-arm { transform-origin: 0 -48px; }
:is(.kid-leg,.kid-arm).a { transform: rotate(var(--stride, 0deg)); }
:is(.kid-leg,.kid-arm).b { transform: rotate(calc(-1 * var(--stride, 0deg))); }
.playground #mainHeader { background: rgba(219, 211, 215, .09); }
.hero:focus { outline: none; }
#videos, #contact { scroll-margin-top: 100px; }
#contact .contact-right {
  min-width: 0;
  padding: clamp(12px, 3vw, 38px);
}
.booking-form { min-width: 0; color: #fff4ed; }
.booking-heading {
  padding: 20px clamp(12px, 3vw, 22px);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: #fff4ed;
}
.booking-heading span { color: #ecc3c0; font-size: .7rem; letter-spacing: .15em; }
.booking-heading h3 { margin: 6px 0; font: 400 clamp(1.65rem, 4vw, 2.35rem)/1.1 Georgia, serif; }
.booking-heading p { margin: 0; color: #f0d9d6; font-size: .9rem; }
.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
  margin: 16px 0 6px;
}
.booking-wide { grid-column: 1 / -1; }
.booking-fields label {
  display: block;
  min-width: 0;
  color: #fff4ed;
  font-size: .84rem;
  font-weight: 500;
}
.booking-fields small { font-size: .75rem; color: #e7d3cd; }
.booking-fields :is(input:not([type="checkbox"]), select, textarea) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-inline-size: 0;
  min-height: 44px;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 10px;
  background: rgba(25,18,24,.48);
  color: #fff4ed;
  color-scheme: dark;
  font: 16px/1.3 'Inter', sans-serif;
}
.booking-fields :is(input[type="date"], input[type="time"]) {
  -webkit-appearance: none;
  appearance: none;
}
.booking-fields :is(input[type="date"], input[type="time"])::-webkit-date-and-time-value {
  min-width: 0;
  text-align: start;
}
.booking-fields :is(input, textarea)::placeholder { color: #e0cdca; opacity: 1; }
.booking-fields select option { background: #322832; }
.booking-extras {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.booking-extras legend { padding: 0; font-size: .84rem; font-weight: 500; }
.booking-fields .booking-extras label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 4px 6px 0 0;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 10px;
  background: rgba(25,18,24,.48);
  cursor: pointer;
}
.booking-extras input { margin: 0; width: 17px; height: 17px; accent-color: #ecc3c0; }
.booking-fields textarea { resize: vertical; }
.booking-fields :is(input, select, textarea):focus-visible {
  outline: 2px solid #ecc3c0;
  outline-offset: 2px;
}
.booking-form .submit-btn { background: #352630; }
@media (max-width: 360px) {
  .booking-fields { grid-template-columns: minmax(0, 1fr); }
}
.video-toggle { font: inherit; color: inherit; border: 0; background: transparent; cursor: pointer; }
.video-toggle:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity .62s ease, translate .7s cubic-bezier(.2,.75,.25,1); }
  .reveal-ready [data-reveal].shown,.reveal-ready [data-reveal]:focus-within { opacity: 1; translate: none; }
}
@media (max-width: 700px) {
  .arrival-stage { padding-inline: 13px; grid-template-rows: minmax(38px,.5fr) auto minmax(0,3fr) minmax(48px,.6fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arrival-ready .arrival { display: none; }
}

html,.playground { overflow-x: clip; overscroll-behavior-x: none; }
.arrival { width: 100%; max-width: 100%; touch-action: pan-y pinch-zoom; }
.arrival-stage { width: 100%; max-width: 100%; grid-template-columns: minmax(0,1fr); overflow: clip; }
.arrival-art { min-width: 0; max-width: 100%; overflow: hidden; }
.arrival-bottom a { color: #fff5eb; }
.playground #mainHeader { position: relative; inset: auto; transform: none; z-index: 20; }
.playground .hero { padding-top: clamp(52px, 8vw, 108px); }
.playground #videos,.playground #contact { scroll-margin-top: 20px; }

#bubbles-assistant { position: fixed; z-index: 9999; right: max(13px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom),var(--assistant-keyboard, 0px)); font-family: 'Inter',sans-serif; }
#bubbles-assistant [hidden] { display: none !important; }
#bubbles-open-button { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid #f7dcc29e; color: #fff1df; background: #29212aee; box-shadow: 0 10px 25px #0a080b8c; font: 700 .73rem 'Inter',sans-serif; cursor: pointer; }
.assistant-label { display: grid; gap: 3px; max-width: 180px; text-align: left; line-height: 1.25; }
.assistant-label span { font-weight: 500; }
.assistant-orbit { flex-shrink: 0; display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; background: radial-gradient(circle at 30% 28%, #fff3ea, #e4a3ae 62%, #9f677f); border: 1px solid #ffe5d6; box-shadow: 0 0 18px #e0a0b57a; }
.assistant-orbit img { width: 93%; height: 93%; object-fit: contain; }
#bubbles-open-button:hover .assistant-orbit img { animation: mascot-wave .65s ease; }
@keyframes mascot-wave { 35% { transform: rotate(-13deg) scale(1.09); } 70% { transform: rotate(7deg); } }
#bubbles-chat-box { display: grid; grid-template-rows: auto minmax(0,1fr) auto; width: min(398px,calc(100vw - 26px)); height: min(570px,calc(var(--assistant-visible-height, 100dvh) - 30px)); background: linear-gradient(145deg,#322834,#1e1a22 68%); color: #fff2e7; border: 1px solid #f4d6c367; border-radius: 26px; overflow: hidden; box-shadow: 0 22px 85px #000b; }
.assistant-top { display: flex; gap: 11px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #f4d6c337; background: linear-gradient(120deg,#704e62,#3c2c3b); }
.assistant-top img { width: 48px; height: 48px; object-fit: contain; }
.assistant-top span { color: #f0c9b7; font-size: .61rem; font-weight: 700; letter-spacing: .17em; }
.assistant-top h2 { font: 600 1.37rem/1.05 'Cormorant Garamond',Georgia,serif; }
#bubbles-close { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #ffffff3e; background: #ffffff16; color: #fff; font: 25px/1 'Inter',sans-serif; cursor: pointer; }
.assistant-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
#bubbles-intro p,.bubbles-ai-message,.bubbles-user-message { background: #ffffff10; border: 1px solid #ffffff24; border-radius: 17px 17px 17px 5px; padding: 11px 13px; line-height: 1.53; overflow-wrap: anywhere; font-size: .88rem; }
.assistant-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.bubbles-option { border: 1px solid #edc9b86c; border-radius: 999px; background: #ffffff0a; color: #fae0d0; padding: 8px 10px; font: .75rem 'Inter',sans-serif; cursor: pointer; }
.bubbles-option:hover,#bubbles-close:hover { background: #ffffff26; }
#bubbles-chat-messages { display: grid; gap: 9px; }
.bubbles-ai-message { justify-self: start; max-width: 94%; }
.bubbles-user-message { justify-self: end; max-width: 90%; background: #ebccbb; color: #31232d; border-radius: 17px 17px 5px 17px; }
.bubbles-input-row { display: flex; align-items: end; gap: 8px; padding: 11px 13px; border-top: 1px solid #f4d6c337; }
.bubbles-input-row textarea { flex: 1; min-width: 0; resize: none; padding: 11px 13px; border: 1px solid #f4d6c35e; border-radius: 15px; color: #fff4eb; background: #ffffff0d; font: 16px/1.3 'Inter',sans-serif; max-height: 100px; }
.bubbles-input-row textarea::placeholder { color: #ddc5c7; }
.bubbles-send { flex: 0 0 43px; height: 43px; border-radius: 50%; background: #ead6c4; color: #30212b; border: 0; font: 750 1.28rem 'Inter',sans-serif; cursor: pointer; }
.bubbles-send:disabled { opacity: .5; }
.bubbles-thinking { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: #f2d7c8; }
.bubbles-thinking span { margin-right: 5px; }
.bubbles-thinking i { width: 5px; height: 5px; border-radius: 50%; background: #ecc0bb; animation: thinking-dot 1.05s ease-in-out infinite; }
.bubbles-thinking i:nth-of-type(2) { animation-delay: .14s; }
.bubbles-thinking i:nth-of-type(3) { animation-delay: .28s; }
@keyframes thinking-dot { 50% { transform: translateY(-4px); opacity: .48; } }
@media (max-width: 700px) {
  .assistant-label { max-width: 155px; }
  #bubbles-open-button { padding: 3px 10px 3px 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles-thinking i,#bubbles-open-button:hover .assistant-orbit img { animation: none !important; }
}

.scene-definitions { position: absolute; }
.scene-trigger { position: relative; z-index: 6; display: flex; justify-content: center; margin: -29px auto 44px; }
.scene-trigger button {
  border: 1px solid #f7e2d649;
  border-radius: 999px;
  background: #392e3a80;
  color: #ffe6d5;
  padding: 7px 13px;
  font: 600 .73rem 'Inter',sans-serif;
  cursor: pointer;
}
.scene-trigger button span { margin-right: 4px; }
.scene-overlay { position: fixed; inset: 0; z-index: 950; overflow: clip; pointer-events: none; visibility: hidden; }
.scene-overlay.playing { visibility: visible; }
.scene-overlay svg { position: absolute; display: block; height: auto; max-height: 72svh; overflow: visible; }
.scene-trigger .scene-overlay { position: absolute; overflow: visible; }
.scene-pit svg {
  width: min(96vw, 760px);
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  filter: drop-shadow(0 16px 26px #0e0919a6);
}
.scene-pit.playing svg { animation: across-stage 7.35s both; }
@keyframes across-stage {
  0% { opacity: 0; transform: translate(-53%, calc(-50% + 25px)) scale(.87); }
  11%,83% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0; transform: translate(-48%,calc(-50% + 15px)) scale(.96); }
}
.scene-balloon svg[viewBox] {
  width: clamp(54px, 15vw, var(--size));
  left: var(--start);
  top: 100%;
  filter: drop-shadow(0 9px 13px #23132370);
}
.scene-balloon.playing svg[viewBox] { animation: balloon-across-page var(--flight) var(--delay) linear both; }
.balloon-inflate { transform-origin: 220px 182px; }
.playing .balloon-inflate { animation: balloon-inflate 1s cubic-bezier(.2,.65,.28,1.24) both; }
@keyframes balloon-inflate { from { transform: scale(.15,.09); } 75% { transform: scale(1.07,.98); } to { transform: none; } }
@keyframes balloon-across-page {
  0% { transform: translate(0, 0) rotate(-9deg); }
  26% { transform: translate(var(--sway), -31svh) rotate(12deg); }
  58% { transform: translate(calc(var(--drift) * .55 - var(--sway) * .4), -71svh) rotate(-13deg); }
  82% { transform: translate(calc(var(--drift) * .85), -101svh) rotate(8deg); }
  100% { transform: translate(var(--drift), calc(-100svh - 180px)) rotate(-6deg); }
}
.package-scene .house-balloon { animation: house-whirl 2.45s cubic-bezier(.45,0,.53,1) infinite both; animation-delay: calc(.95s + var(--delay,0s)); }
@keyframes house-whirl { 0%,100% { transform: none; } 35% { transform: translate(var(--dx),var(--dy)) rotate(var(--spin)); } 69% { transform: translate(calc(var(--dx) * -.28),calc(var(--dy) * .62)) rotate(calc(-1 * var(--spin))); } }
.house-child,.pit-child { --shirt: #dc9f9c; --shorts: #65546e; --skin: #bd896b; --hair: #3e2927; }
.house-child-second { --shirt: #bfcdbd; --shorts: #536580; --skin: #e9bd97; --hair: #76503d; }
.package-scene .house-child-first { animation: chase-first 7.4s infinite both; }
.package-scene .house-child-second { animation: chase-second 7.4s .37s infinite both; }
@keyframes chase-first {
  0%,6% { opacity: 0; transform: none; }
  14% { opacity: 1; transform: translate(56px,-7px) rotate(9deg); }
  30% { transform: translate(146px,-27px) scale(.73); }
  48% { transform: translate(210px,-57px) scale(.79) rotate(12deg); }
  62% { transform: translate(274px,-26px) scale(.76) rotate(-8deg); }
  77% { transform: translate(227px,-60px) scale(.79) rotate(-10deg); }
  88% { opacity: 1; transform: translate(176px,-26px) scale(.73); }
  100% { opacity: 0; transform: translate(176px,-26px) scale(.73); }
}
@keyframes chase-second {
  0%,6% { opacity: 0; transform: none; }
  18% { opacity: 1; transform: translate(80px,-9px) rotate(7deg); }
  35% { transform: translate(183px,-39px) scale(.69); }
  50% { transform: translate(268px,-43px) scale(.71) rotate(-9deg); }
  67% { transform: translate(295px,-82px) scale(.73) rotate(10deg); }
  83% { transform: translate(249px,-39px) scale(.71); }
  91% { opacity: 1; transform: translate(282px,-53px) scale(.71); }
  100% { opacity: 0; transform: translate(282px,-53px) scale(.71); }
}
.playing .pit-child { animation: pit-dive 5.5s both; }
.pit-spill { opacity: 0; }
.playing .pit-spill { animation: pit-spill 2s ease-out both; animation-delay: calc(2.35s + var(--delay,0s)); }
@keyframes pit-dive {
  0%,7% { transform: none; }
  17% { transform: translate(28px,-8px) rotate(8deg); }
  26% { transform: translate(65px,-11px) rotate(-8deg); }
  35% { transform: translate(132px,-124px) rotate(16deg); }
  44% { transform: translate(178px,-33px) rotate(8deg); opacity: 1; }
  49%,60% { transform: translate(181px,18px); opacity: 0; }
  72%,100% { transform: translate(181px,-12px) scale(.82); opacity: 1; }
}
@keyframes pit-spill {
  0% { opacity: 0; transform: none; }
  12% { opacity: 1; }
  29% { transform: translate(calc(var(--dx) * .62),-57px); }
  58% { transform: translate(var(--dx),var(--landing)); }
  72% { transform: translate(calc(var(--dx) * 1.06),calc(var(--landing) - 12px)); }
  88%,100% { opacity: 1; transform: translate(calc(var(--dx) * 1.13),var(--landing)); }
}
@media (prefers-reduced-motion: reduce) {
  .scene-overlay svg,.scene-overlay * { animation: none !important; }
  .scene-balloon svg[viewBox] { top: 65%; }
}

/* Each illustrated scene belongs to its package photo. */
.package-scene {
  position: absolute;
  z-index: 1;
  width: min(94%, 390px);
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 9px 13px #201823a8);
}
.package-scene { --shirt: #e6aab6; --shorts: #74607e; --skin: #e9b794; --hair: #795342; }
.package-scene .kid-arm,.package-scene .kid-leg { fill: none; stroke: var(--skin); stroke-width: 6; stroke-linecap: round; }
.package-jump { animation: package-bounce 1.15s ease-in-out infinite; }
.package-jump-second { animation-delay: -.57s; }
.package-baby { transform: translate(53px,119px); animation: package-crawl 10s ease-in-out infinite; }
.package-baby-facing { animation: package-baby-turn 10s steps(1, end) infinite; }
.package-crawl-limb { animation: package-crawl-step .44s ease-in-out infinite alternate; }
.package-scooter {
  offset-path: path("M 72 105 C 43 99 53 52 89 48 L 218 48 C 269 48 276 109 226 119 L 87 119 Q 76 118 72 105 Z");
  offset-rotate: 0deg;
  animation: package-drive 6s linear infinite;
}
.reveal-ready .video-card:not(.package-in-view) .package-scene * { animation-play-state: paused; }
@keyframes package-bounce { 50% { transform: translateY(-35px) rotate(5deg); } }
@keyframes package-crawl-step { to { transform: translateX(5px); } }
@keyframes package-drive { to { offset-distance: 100%; } }
@keyframes package-crawl {
  0%,7%,94%,100% { transform: translate(54px,119px); }
  16%,87% { transform: translate(109px,107px); }
  29%,73% { transform: translate(159px,116px); }
  45%,55% { transform: translate(235px,109px); }
}
@keyframes package-baby-turn {
  0%,97%,100% { transform: scaleX(1); }
  50% { transform: scaleX(-1); }
}
@media (prefers-reduced-motion: reduce) {
  .package-scene * { animation: none !important; }
  .package-scene .house-child-first { transform: translate(210px,-38px) scale(.73); }
  .package-scene .house-child-second { transform: translate(270px,-45px) scale(.71); }
}

.bubbles-input-row { background: #251f29; }
.bubbles-input-row textarea { min-height: 44px; background: #382f3b; caret-color: #fff4ed; -webkit-text-fill-color: #fff4ed; }
.bubbles-input-row textarea::placeholder { -webkit-text-fill-color: #ddc5c7; }
@media (max-width: 700px) and (pointer: coarse) {
  .bubbles-input-row textarea { max-height: min(100px, 21svh); }
}
.assistant-guide { margin-top: 10px; padding: 10px; border: 1px solid #f4d6c337; border-radius: 15px; }
.assistant-guide label { display: grid; gap: 4px; min-width: 0; font-size: .82rem; }
.assistant-guide :is(input, select) { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; padding: 7px; border: 1px solid #f4d6c367; border-radius: 10px; background: #382f3b; color: #fff2e7; color-scheme: dark; font: inherit; font-size: 16px; }
.assistant-guide :is(input[type="date"],input[type="time"]) { -webkit-appearance: none; appearance: none; }
.assistant-guide input::-webkit-date-and-time-value { min-width: 0; text-align: start; }
.assistant-guide-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.assistant-guide-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.assistant-guide-actions button { min-height: 44px; border-radius: 10px; padding: 6px 10px; border: 1px solid #f4d6c367; background: transparent; color: inherit; cursor: pointer; }
.assistant-guide-actions button[type="submit"] { background: #ead6c4; color: #30212b; }
.bubbles-ai-message a { color: #f5d2b5; }

.assistant-guide-button { display: block; margin-top: 9px; }
