/* =========================================================
   TINY REBELS SOFT PLAY — Design System
   Bold, playful, Shakespearean-chaos reinvention
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (sampled from the logo) */
  --red:    #e01e1e;
  --red-dk: #b81414;
  --gold:   #f5a623;
  --gold-dk:#e08a00;
  --green:  #009048;
  --green-dk:#00713a;
  --blue:   #00a8d8;
  --blue-dk:#0089b3;
  --pink:   #f0568c;
  --purple: #7b4bc4;

  /* Neutrals */
  --ink:    #201538;   /* deep aubergine-navy for text */
  --ink-soft:#4a3d63;
  --cream:  #fff6e9;
  --cream-2:#fdeed6;
  --paper:  #ffffff;
  --line:   #201538;

  /* Type */
  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-fun: "Chewy", "Baloo 2", "Fredoka", cursive;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;

  /* Structure */
  --radius: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --shadow-soft: 0 18px 40px -18px rgba(32,21,56,.45);
  --maxw: 1200px;
  --nav-h: 84px;

  --ease: cubic-bezier(.34,1.56,.64,1); /* springy */
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  font-weight: 600;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}
/* Big display headings echo the bubbly logo wordmark */
h1, h2, .hero__title {
  font-family: var(--font-fun);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.06;
}
h1 { font-size: clamp(2.6rem, 1.5rem + 4.8vw, 5rem); }
h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
.wrap--narrow { width: min(100% - 2.4rem, 820px); margin-inline: auto; position: relative; z-index: 1; }
.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  color: var(--paper);
  background: var(--ink);
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  transform: rotate(-2deg);
  margin-bottom: 1rem;
}
.eyebrow--red { background: var(--red); }
.eyebrow--blue { background: var(--blue); }
.eyebrow--green { background: var(--green); }
.eyebrow--gold { background: var(--gold); color: var(--ink); }

.lead { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); color: var(--ink-soft); font-weight: 700; }

/* Section background variants */
.bg-cream  { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-paper  { background: var(--paper); }
.bg-red    { background: var(--red);   color: var(--paper); }
.bg-blue   { background: var(--blue);  color: var(--ink); }
.bg-green  { background: var(--green); color: var(--paper); }
.bg-gold   { background: var(--gold);  color: var(--ink); }
.bg-ink    { background: var(--ink);   color: var(--cream); }
.bg-red h2, .bg-green h2, .bg-ink h1, .bg-ink h2, .bg-ink h3 { color: inherit; }
.bg-ink .lead { color: #d9c9ff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: .85rem 1.6rem;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--red   { --btn-bg: var(--red);   --btn-fg: #fff; }
.btn--green { --btn-bg: var(--green); --btn-fg: #fff; }
.btn--blue  { --btn-bg: var(--blue);  --btn-fg: var(--ink); }
.btn--pink  { --btn-bg: var(--pink);  --btn-fg: #fff; }
.btn--white { --btn-bg: #fff;         --btn-fg: var(--ink); }
.btn--lg { font-size: 1.2rem; padding: 1.05rem 2rem; }
.btn--ghost {
  background: transparent; box-shadow: none;
  border: var(--border);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); box-shadow: none; transform: translateY(-2px); }
.btn__icon { font-size: 1.15em; line-height: 1; }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 3px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--ink);
  box-shadow: 0 6px 0 -3px rgba(32,21,56,.08);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.nav__logo img { height: 52px; width: auto; transition: transform .2s var(--ease); }
.nav__logo:hover img { transform: rotate(-3deg) scale(1.04); }
.nav__links {
  display: flex; align-items: center; gap: .35rem;
}
.nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  padding: .5rem .8rem;
  border-radius: var(--radius-pill);
  transition: background .15s, color .15s;
  position: relative;
}
.nav__links a:hover { background: var(--cream-2); }
.nav__links a.active { background: var(--ink); color: var(--cream); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }

.nav__toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: var(--ink); border: none;
  padding: 12px 11px; border-radius: 14px;
}
.nav__toggle span { width: 24px; height: 3px; background: var(--cream); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav__desktop { display: none; }
  .nav__toggle { display: flex; }
  .nav__book-inline { display: none; }
}
/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-120%);
  transition: transform .4s var(--ease);
  padding: 2rem 1.4rem 3rem;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: .4rem;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  padding: .7rem .4rem;
  border-bottom: 2px dashed rgba(255,255,255,.18);
}
.mobile-menu a.active { color: var(--gold); }
.mobile-menu .btn { margin-top: 1.4rem; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
}
.hero__title { margin-bottom: 1.2rem; }
.hero__title .sweep { color: var(--red); display: inline-block; }
.hero__title .u { position: relative; white-space: nowrap; }
.hero__title .u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .22em;
  background: var(--gold); z-index: -1; border-radius: 4px;
  transform: rotate(-1.2deg);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__stat {
  display: flex; align-items: center; gap: .7rem;
  background: var(--paper); border: var(--border); border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink); padding: .55rem 1.05rem;
}
.hero__stat-num {
  font-family: var(--font-fun); color: var(--red); font-size: 2rem; line-height: 1;
  min-width: 1.4em; text-align: center;
}
.hero__stat-label {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.1;
  text-align: left;
}
@media (max-width: 900px) { .hero__facts { justify-content: center; } }
@media (max-width: 400px) { .hero__facts { gap: .6rem; } .hero__stat { padding: .5rem .8rem; } .hero__stat-num { font-size: 1.7rem; } }

.hero__art { position: relative; display: grid; place-items: center; }
.hero__mascot {
  position: relative; z-index: 2; width: min(100%, 480px);
  filter: drop-shadow(0 24px 30px rgba(32,21,56,.35));
  animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(-1deg);} 50%{ transform: translateY(-16px) rotate(1deg);} }
.hero__vidwrap { position: relative; width: fit-content; z-index: 2; animation: bob 4.5s ease-in-out infinite; }
.hero__video {
  display: block; width: clamp(230px, 38vw, 330px); aspect-ratio: 9 / 16; object-fit: cover;
  border: var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); background: #000;
}

/* Video sound toggle */
.vid-sound {
  position: absolute; bottom: 12px; right: 12px; z-index: 6;
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid var(--ink); background: rgba(255,255,255,.92);
  font-size: 1.2rem; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.28); cursor: pointer;
  transition: transform .15s var(--ease), background .15s;
}
.vid-sound:hover { transform: scale(1.09); background: #fff; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--paper); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 1rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--red); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-weight: 600; margin: 0; }

/* Decorative floating blobs */
.blob { position: absolute; border-radius: 50%; z-index: 0; opacity: .9; pointer-events: none; }
.blob--star, .blob--squig { border-radius: 0; }
.floaty { animation: floaty 7s ease-in-out infinite; }
.floaty-2 { animation: floaty 9s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100%{ transform: translate(0,0) rotate(0);} 50%{ transform: translate(0,-22px) rotate(8deg);} }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--cream);
  padding: .85rem 0; overflow: hidden; white-space: nowrap;
  border-top: var(--border); border-bottom: var(--border);
}
.marquee__track { display: inline-flex; gap: 2.5rem; will-change: transform; animation: marq 22s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee .dot { color: var(--gold); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card--hover:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 62px; height: 62px; display: grid; place-items: center;
  font-size: 1.8rem; border-radius: 18px; border: var(--border);
  margin-bottom: 1rem; background: var(--gold);
}
.card__icon--red{background:var(--red)} .card__icon--blue{background:var(--blue)}
.card__icon--green{background:var(--green)} .card__icon--pink{background:var(--pink)}
.card__icon--purple{background:var(--purple)}

/* Feature (why us) */
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--ink-soft); font-weight: 600; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--paper); border: var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 1.8rem 1.5rem; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card__age { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.price-card__img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: var(--border); margin: 0 auto 1rem; }
.price-card__amount { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--red); line-height: 1; margin: .6rem 0 .2rem; }
.price-card__note { color: var(--ink-soft); font-size: .95rem; min-height: 2.4em; }
.price-card--featured { background: var(--gold); }
.price-card--featured .price-card__amount { color: var(--ink); }
.price-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 600;
  padding: .25rem .9rem; border: var(--border); border-radius: var(--radius-pill); font-size: .85rem;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-rows: 200px; }
.gallery figure { overflow: hidden; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery .span-2 { grid-column: span 2; }
.gallery .row-2 { grid-row: span 2; }

/* ---------- Split media block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img,
.split__media video { border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__media video { aspect-ratio: 16 / 9; object-fit: cover; background: #000; display: block; }
.media-frame { position: relative; }
.media-frame .sticker {
  position: absolute; z-index: 3; font-family: var(--font-display); font-weight: 600;
  background: var(--gold); color: var(--ink); border: var(--border); border-radius: var(--radius-pill);
  padding: .5rem 1rem; box-shadow: var(--shadow);
}

/* ---------- Rebels (team) ---------- */
.rebel-card { text-align: center; }
.rebel-card .card__photo {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: var(--border); margin-bottom: 1rem; background: var(--cream-2);
}
.rebel-card__role { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: .85rem; padding: .2rem .8rem; border-radius: var(--radius-pill); background: var(--blue); color: var(--ink); margin-bottom: .5rem; }
.rebel-card p { color: var(--ink-soft); font-weight: 600; font-size: .98rem; }

/* ---------- Rules ---------- */
.rule { display: flex; gap: 1.2rem; align-items: flex-start; }
.rule__num {
  flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff;
  background: var(--red); border: var(--border); border-radius: 16px; box-shadow: var(--shadow);
}
.rule:nth-child(4n+2) .rule__num { background: var(--blue); color: var(--ink); }
.rule:nth-child(4n+3) .rule__num { background: var(--green); }
.rule:nth-child(4n) .rule__num { background: var(--gold); color: var(--ink); }
.rule h3 { margin-bottom: .2rem; }
.rule p { color: var(--ink-soft); font-weight: 600; }

/* ---------- Menu list ---------- */
.menu-group h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 2px dotted rgba(32,21,56,.2); }
.menu-item span:first-child { font-weight: 800; }
.menu-item .price { font-family: var(--font-display); color: var(--red); font-weight: 600; white-space: nowrap; }

/* ---------- Info strip / hours ---------- */
.hours-row { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 2px dashed rgba(255,255,255,.25); font-weight: 800; }
.hours-row b { font-family: var(--font-display); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 1.6rem; }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card .card__icon { flex: 0 0 auto; margin-bottom: 0; }
.map-frame { border: var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Page header (interior pages) ---------- */
.page-head { position: relative; padding: clamp(3rem,6vw,5rem) 0 clamp(3.5rem,6vw,5rem); overflow: hidden; text-align: center; }
.page-head p { max-width: 620px; margin: 1rem auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(3rem,6vw,4.5rem) 0 2rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: var(--gold); font-size: 1.15rem; margin-bottom: 1rem; }
.site-footer a:not(.btn):hover { color: var(--gold); }
.footer-links li { margin-bottom: .5rem; }
.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.2); transition: .2s; }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .9rem; color: #b9a9d6; }

/* ---------- Video showcase ---------- */
.video-frame {
  position: relative; max-width: 920px; margin: 2.2rem auto 0;
  border: 4px solid var(--gold); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 26px 60px -14px rgba(0,0,0,.6);
  background: #000; aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); border-radius: inherit;
}

/* ---------- Contact form ---------- */
.tr-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field > span { font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.tr-form input, .tr-form select, .tr-form textarea {
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: var(--border); border-radius: 14px;
  padding: .8rem 1rem; width: 100%; transition: box-shadow .15s, border-color .15s;
}
.tr-form input::placeholder, .tr-form textarea::placeholder { color: #9c8fb5; font-weight: 600; }
.tr-form input:focus, .tr-form select:focus, .tr-form textarea:focus {
  outline: none; box-shadow: 0 0 0 4px rgba(0,168,216,.35);
}
.tr-form textarea { resize: vertical; min-height: 130px; }
.tr-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.tr-form button { align-self: flex-start; margin-top: .3rem; }
.form-status { font-weight: 800; margin: 0; min-height: 1.4em; }
.form-status.ok { color: var(--green-dk); }
.form-status.err { color: var(--red); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Ask Rebel Jack chat ---------- */
.chat-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  display: flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem .55rem .55rem;
  background: var(--red); color: #fff; border: 3px solid var(--ink); border-radius: var(--radius-pill);
  box-shadow: var(--shadow); font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.chat-fab:hover { transform: translateY(-2px); box-shadow: 8px 8px 0 var(--ink); }
.chat-fab img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; background: var(--gold); object-fit: cover; }
.chat-panel {
  position: fixed; right: 18px; bottom: 84px; z-index: 151;
  width: min(372px, calc(100vw - 36px)); height: min(544px, calc(100vh - 120px));
  background: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(16px) scale(.97); opacity: 0; pointer-events: none; transform-origin: bottom right;
  transition: opacity .2s, transform .22s var(--ease);
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { background: var(--red); color: #fff; padding: .85rem 1rem; display: flex; align-items: center; gap: .6rem; }
.chat-head img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; background: var(--gold); object-fit: cover; }
.chat-head b { font-family: var(--font-fun); font-weight: 400; font-size: 1.3rem; line-height: 1.05; }
.chat-head small { display: block; opacity: .9; font-size: .74rem; font-weight: 700; }
.chat-close { margin-left: auto; background: rgba(255,255,255,.2); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.chat-close:hover { background: rgba(255,255,255,.35); }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.chat-msg { max-width: 86%; padding: .7rem .9rem; border-radius: 16px; font-weight: 700; font-size: .94rem; line-height: 1.45; }
.chat-msg.bot { background: #fff; border: 2px solid var(--ink); border-bottom-left-radius: 5px; align-self: flex-start; }
.chat-msg.user { background: var(--blue); border: 2px solid var(--ink); border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-msg a { color: var(--red); text-decoration: underline; font-weight: 800; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .45rem; padding: .2rem 1rem 1rem; }
.chat-quick button {
  font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-pill);
  padding: .4rem .8rem; cursor: pointer; transition: transform .12s var(--ease);
}
.chat-quick button:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .chat-panel { transition: opacity .2s; } }

/* ---------- Cookie notice ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(140%);
  z-index: 200; width: min(100% - 2rem, 640px);
  background: var(--ink); color: var(--cream);
  border: 3px solid var(--gold); border-radius: var(--radius);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.5);
  padding: 1.1rem 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.1rem;
  transition: transform .45s var(--ease); opacity: 0;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: .95rem; font-weight: 700; color: #e8ddff; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-banner .btn { padding: .6rem 1.2rem; font-size: .95rem; }

/* ---------- Wave dividers ---------- */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); }
.wave svg { display: block; width: 100%; height: 100%; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utility ---------- */
.tag { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: .85rem; padding: .3rem .9rem; border-radius: var(--radius-pill); border: var(--border); background: var(--paper); }
.mt-0 { margin-top: 0; } .mb-1 { margin-bottom: 1rem; }
.text-red { color: var(--red); } .text-green{color:var(--green)} .text-blue{color:var(--blue-dk)}
.wobble:hover { animation: wob .5s ease; }
@keyframes wob { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-4deg)} 75%{transform:rotate(4deg)} }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__art { order: -1; }
  .hero__mascot { width: min(72%, 340px); }
  .hero__ctas, .hero__facts { justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { font-size: 1rem; }
  .hero__facts { gap: 1rem; }
}
