body { background: #fff9ed; color: #39151d; }
header .logo { font-size: clamp(1.12rem, 2vw, 1.55rem); }
.home .hero {
  display: flex;
  min-height: clamp(485px, 60vw, 680px);
  align-items: end;
  padding-block: clamp(32px, 7vw, 80px);
  background: linear-gradient(90deg, #270c14ef 0%, #270c14be 38%, #270c1438 72%), url('/images/concepts/milo-phone-sports-day-v2-1536.jpg') center 46% / cover;
}
.hero-content { max-width: 580px; }
.home .hero h1 { font-size: clamp(3.8rem, 9vw, 8.2rem); line-height: .91; }
.hero-content > p:not(.eyebrow) { font-size: 1.13rem; margin-block: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-actions .hero-secondary { margin: 0; }
.home .stripe { height: 8px; }
.home .section { padding-block: clamp(44px, 7vw, 85px); }
.rental-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 25px; }
.rental-tile { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: white; border: 1px solid #e9cab3; color: inherit; text-decoration: none; }
.rental-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 45%; }
.rental-tile div { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.rental-tile span { margin-top: auto; font-weight: 700; color: #951936; text-decoration: underline; text-underline-offset: 4px; }
.rental-tile:hover { box-shadow: 0 8px 22px #75183122; }
.rental-price-link { margin-bottom: 0; font-weight: 700; }
.home #photos { background: #f7e9e0; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .home .hero { background-image: linear-gradient(0deg, #270c14fa 0%, #270c14ba 48%, #270c1425 100%), url('/images/concepts/milo-phone-sports-day-v2-1536.jpg'); background-position: 50% 34%; }
  .rental-grid { grid-template-columns: 1fr; }
  .rental-tile img { aspect-ratio: 16 / 9; }
}
.home .hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(22px, 5vw, 68px);
  min-height: auto;
  background: #ffebaa;
  color: #51152b;
}
.home .hero h1 { font-size: clamp(3.25rem, 7.5vw, 7.5rem); }
.home .hero h1 em { color: #a51d43; }
.home .hero .hero-art {
  margin: 0;
  border-radius: 36px;
  background: #ffced3;
  box-shadow: 8px 9px 0 #e8af56;
}
.home .hero .hero-art img { aspect-ratio: 5 / 4; border-color: #fffaf0; border-radius: 36px; box-shadow: none; }
.home .hero .hero-art::before, .home .hero .hero-art::after { content: none; }
.popcorn-pal {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 57px;
  filter: drop-shadow(0 4px 3px #56152c44);
}
.popcorn-pal::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  top: 6px;
  left: 16px;
  border-radius: 50%;
  background: #fff4b4;
  box-shadow: -12px 6px 0 #ffe085, 12px 5px 0 #ffe085, -6px -5px 0 #fff4b4, 8px -4px 0 #fff4b4;
}
.popcorn-pal .bucket {
  position: absolute;
  inset: 21px 3px 0;
  clip-path: polygon(0 0,100% 0,88% 100%,12% 100%);
  border-radius: 7px;
  background: repeating-linear-gradient(90deg,#e85a76 0 9px,#fff7ea 9px 19px);
}
.popcorn-pal .bucket::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  width: 22px;
  height: 20px;
  border-radius: 45%;
  background: radial-gradient(circle at 27% 39%,#461328 0 1.8px,transparent 2.2px),radial-gradient(circle at 75% 39%,#461328 0 1.8px,transparent 2.2px),radial-gradient(ellipse at 50% 72%,#ae234c 0 3px,transparent 3.5px),#fff8e7;
}
.hero-pal { position: absolute; bottom: -10px; right: -9px; transform: scale(1.6) rotate(12deg); }
.popcorn-pointer { position: fixed; inset: 0 auto auto 0; z-index: 20; pointer-events: none; transition: translate 95ms ease-out; }
.popcorn-pointer[hidden] { display: none; }
.rental-tile { border-radius: 24px; }
.rental-tile:nth-child(1) div { background: #fff2b8; }
.rental-tile:nth-child(2) div { background: #ffe2e8; }
.rental-tile:nth-child(3) div { background: #e9f3de; }
.rental-tile p { margin-block: 10px 16px; }
@media (max-width: 740px) {
  .home .hero { grid-template-columns: 1fr; }
  .home .hero .hero-art { margin-inline-end: 12px; }
  .hero-pal { transform: scale(1.2) rotate(12deg); }
}
@media (prefers-reduced-motion: reduce), (any-pointer: coarse) {
  .popcorn-pointer { display: none; }
}

/* Popcorn stand palette */
:root {
  --raspberry: #a81749;
  --plum: #39132a;
  --vanilla: #fffbf1;
  --gold: #ffcc58;
  --blush: #ffe5ed;
  --mint: #ddf3e6;
}
body, header { background: var(--vanilla); color: var(--plum); }
header .logo { color: var(--raspberry); }
header nav a:last-child, .home .hero .button { background: var(--raspberry); color: white; }
.home .hero .button { box-shadow: 0 4px 0 #751035; }
.home .hero .button:hover { background: #8c143d; }
.home .hero {
  background: radial-gradient(ellipse at 92% 8%, #ffc6dc 0%, transparent 47%),
    linear-gradient(120deg, #fff0be, #fff8e6 50%, #ffe2eb);
  color: var(--plum);
}
.home .hero h1 em { color: var(--raspberry); }
.home .hero .hero-art {
  background: var(--blush);
  box-shadow: 8px 9px 0 #ed8dae, 14px 20px 40px #a8174929;
}
.home .hero .hero-art img { border-color: #fffdf7; }
.home .stripe { background: repeating-linear-gradient(115deg, var(--raspberry) 0 16px, var(--blush) 16px 32px); }
.home .rental-menu { background: var(--vanilla); }
.rental-tile { border-color: #ead0da; }
.rental-tile:nth-child(1) div { background: #ffedb1; }
.rental-tile:nth-child(2) div { background: #ffdeeb; }
.rental-tile:nth-child(3) div { background: var(--mint); }
.rental-tile span, .gallery-action, .rental-price-link a { color: #8e163f; }
.home #photos { background: var(--blush); }
.gallery-card { background: #fffaf4; border-color: #e9bbcd; }
.home #event-guide { background: #fff2c9; }
.home #price-ingredients, .home .booking { background: #eaf7ee; }
.home .locations, footer { background: var(--plum); color: var(--vanilla); }
.service-page .hero { background: linear-gradient(110deg, #641637, #a31747); }
.button, button[type="submit"] { background: var(--gold); color: var(--plum); }
.button:hover, button[type="submit"]:hover { background: #ffe087; }
a:focus-visible, button:focus-visible { outline-color: #7854b3; }

.validation-pal {
  display: flex;
  align-items: end;
  gap: 3px;
  margin-top: 3px;
}
.validation-pal .popcorn-pal { flex: 0 0 56px; transform: rotate(-9deg); }
.validation-pal .popcorn-pal::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 32px;
  width: 17px;
  height: 9px;
  border-radius: 999px;
  background: #e85a76;
  transform: rotate(-20deg);
  z-index: 1;
}
.validation-sign {
  background: #ffe58a;
  border: 2px solid #9a3150;
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 2px 3px 0 #d9aa43;
  color: #48142a;
  font-size: .9rem;
  line-height: 1.3;
  align-self: center;
}
#enquiry-form [aria-invalid="true"] { border: 2px solid #a81749; }

button.hero-pal {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.popcorn-blast, .sweep-cursor {
  position: fixed;
  inset: 0;
  z-index: 21;
  pointer-events: none;
}
.popcorn-blast span {
  position: absolute;
  width: 18px;
  height: 17px;
  border-radius: 50% 42% 48% 52%;
  background: #fff5cb;
  box-shadow: -5px 3px 0 #ffcf74, 5px -3px 0 #ffe9aa, 0 3px 6px #65412655;
  transform: rotate(var(--spin));
  animation: blast-kernel 800ms cubic-bezier(.18,.7,.24,1) both;
}
@keyframes blast-kernel {
  from { transform: translate(var(--from-x), var(--from-y)) scale(.2); }
  to { transform: rotate(var(--spin)); }
}
.broom-panel {
  position: fixed;
  z-index: 23;
  inset: auto 12px 12px auto;
  max-width: calc(100vw - 24px);
  padding: 12px 16px;
  border: 2px solid #e7d2fb;
  border-radius: 18px;
  background: #fff7e4;
  color: #39132a;
  box-shadow: 0 5px 18px #39132a30;
}
.broom-panel p { margin: 0 0 8px; font-weight: 700; }
.broom-panel p:last-child { margin: 0; }
.sweep-cursor { inset: 0 auto auto 0; font-size: 2.6rem; line-height: 1; }
@media (prefers-reduced-motion: reduce) {
  .popcorn-blast span { animation: none; }
  .sweep-cursor { display: none; }
}

.home .hero .hero-art { margin-bottom: 26px; }
.hero-pal .tap-label {
  position: absolute;
  inset: calc(100% + 4px) 50% auto auto;
  transform: translateX(50%) rotate(-12deg);
  white-space: nowrap;
  background: #fff7df;
  color: #632355;
  border: 1px solid #cbbaf1;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.25;
}

.mascot-expression {
  position: absolute;
  inset: calc(100% + 9px) auto auto 8px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: .875rem;
}
.mascot-expression label { display: block; }
.mascot-expression select {
  width: auto;
  padding: 4px 7px;
  border-color: #bea7e5;
  border-radius: 8px;
  background: #fff9f3;
}
.home .hero .hero-art { margin-bottom: 47px; }
.popcorn-pal[data-face] .bucket::after {
  background: var(--left-eye), var(--right-eye), var(--mouth), #fff8e7;
  --left-eye: radial-gradient(circle at 26% 39%, #461328 0 1.8px, transparent 2.2px);
  --right-eye: radial-gradient(circle at 74% 39%, #461328 0 1.8px, transparent 2.2px);
  --mouth: radial-gradient(ellipse 4px 2.5px at 50% 69%, #ae234c 90%, transparent);
}
.popcorn-pal[data-face="happy"] .bucket::after {
  background:
    var(--left-eye),
    var(--right-eye),
    radial-gradient(ellipse 4px 2px at 50% 54%, #fff8e7 95%, transparent),
    radial-gradient(ellipse 5px 3.5px at 50% 60%, #8c2348 96%, transparent),
    radial-gradient(circle 1.8px at 14% 57%, #f5a0ae 95%, transparent),
    radial-gradient(circle 1.8px at 86% 57%, #f5a0ae 95%, transparent),
    #fff8e7;
}
.popcorn-pal[data-face="scared"] .bucket::after {
  --left-eye: radial-gradient(circle at 26% 36%, #461328 0 2.6px, transparent 3px);
  --right-eye: radial-gradient(circle at 74% 36%, #461328 0 2.6px, transparent 3px);
  --mouth: radial-gradient(ellipse 3px 4.5px at 50% 74%, #461328 90%, transparent);
}
.popcorn-pal[data-face="worried"] .bucket::after { --mouth: radial-gradient(ellipse 4px 1px at 50% 76%, #461328 90%, transparent); }
.popcorn-pal[data-face="wink"] .bucket::after { --right-eye: radial-gradient(ellipse 3px 1px at 74% 39%, #461328 90%, transparent); }
.popcorn-pal[data-face="sleepy"] .bucket::after {
  background:
    radial-gradient(ellipse 2.4px 1.4px at 27% 39%, #fff8e7 90%, transparent),
    radial-gradient(ellipse 2.4px 1.4px at 73% 39%, #fff8e7 90%, transparent),
    radial-gradient(ellipse 3px 1.7px at 27% 44%, #6d3453 90%, transparent),
    radial-gradient(ellipse 3px 1.7px at 73% 44%, #6d3453 90%, transparent),
    radial-gradient(ellipse 2.6px 1.3px at 50% 64%, #fff8e7 90%, transparent),
    radial-gradient(ellipse 3.2px 2px at 50% 69%, #a64b6c 90%, transparent),
    radial-gradient(circle 1.7px at 12% 62%, #f6adb9 95%, transparent),
    radial-gradient(circle 1.7px at 88% 62%, #f6adb9 95%, transparent),
    #fff8e7;
}
.popcorn-pal[data-face="sleepy"]::after {
  content: 'zzz' / '';
  position: absolute;
  top: -8px;
  right: 0;
  color: #6b4d91;
  font: 700 11px/1 'DM Sans', sans-serif;
  letter-spacing: .04em;
  transform: rotate(-16deg);
  text-shadow: 0 1px 0 #fff8e7;
  pointer-events: none;
}

@media (min-width: 701px) { .rental-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rental-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
