/* ============================================================
   UK Toy Inventors' Dinner
   ============================================================ */

/* Defaults only. data/theme.json overrides these via the <style id="bu-theme">
   block that index.php prints after this file — edit the design in the site's
   own Design panel rather than changing the values here.
   --lime keeps its old name from the Brands Untapped build but is the pink
   accent here; the Design panel labels it "Accent pink". */
:root{
  --navy:      #192a3d;
  --lime:      #e10f77;
  --blue:      #0e77d4;
  --charcoal:  #101c2a;
  --off-white: #f4f7fb;
  --white:     #ffffff;
  --sun:       #ffc72c;   /* the yellow monster — decoration only */
  --ink:       #22313f;
  --muted:     #5b6b7c;

  --font-heading: "Fredoka", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body:    "Raleway", "Segoe UI", Helvetica, Arial, sans-serif;
  --base-size:     17px;
  --heading-scale: 1;

  --wrap:        1240px;
  --measure:     940px;
  --section-pad: 100px;
  --radius:      16px;
  --pad:         32px;
}

*,*::before,*::after{ box-sizing:border-box; }

/* A class that sets `display` would otherwise beat the browser's default
   [hidden] rule and show elements we've explicitly hidden. */
[hidden]{ display:none !important; }

html{ scroll-behavior:smooth; scroll-padding-top:92px; }

body{
  margin:0;
  font-family:var(--font-body);
  font-size:var(--base-size);
  line-height:1.7;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:var(--pad);
}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ==accent== text */
.lime{ color:var(--lime); }
.navy{ color:var(--navy); }
.white{ color:var(--white); }

/* Everything set in the display face */
.hero-title, .hero-kicker, .section-title, .about-lead p, .when-item,
.joinus-title, .joinus blockquote, .cat-group-title, .cat-card h4, .partner span,
.tickets-title, .tickets-kicker, .footer-brand, .btn, .nav a{
  font-family:var(--font-heading);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:6px;
  font-weight:600;
  font-size:16px;
  letter-spacing:.01em;
  line-height:1;
  padding:16px 32px;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn:focus-visible{ outline:3px solid var(--sun); outline-offset:3px; }

.btn-lime{
  background:var(--lime); color:var(--white);
  box-shadow:0 5px 0 color-mix(in srgb, var(--lime) 68%, #000);
}
.btn-lime:hover{ box-shadow:0 7px 0 color-mix(in srgb, var(--lime) 68%, #000); }
.btn-lime:active{ transform:translateY(3px); box-shadow:0 2px 0 color-mix(in srgb, var(--lime) 68%, #000); }
.btn.is-soldout{ cursor:default; transform:none; background:var(--white); color:var(--lime); box-shadow:none; border-color:var(--lime); }

.btn-ghost{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.7); }
.btn-ghost:hover{ background:var(--white); color:var(--navy); border-color:var(--white); }

.btn-navy{ background:var(--navy); color:var(--white); }
.btn-navy:hover{ background:var(--blue); }

.btn-solid-white{
  background:var(--white); color:var(--navy);
  border-color:var(--white); width:100%;
}
.btn-solid-white:hover{ background:transparent; color:var(--white); transform:none; }

/* ---------- Section headings ---------- */
.section-title{
  font-size:calc(clamp(34px, 4.4vw, 54px) * var(--heading-scale));
  font-weight:600;
  letter-spacing:-.01em;
  line-height:1.1;
  margin:0 0 18px;
  text-align:center;
  color:var(--navy);
  text-wrap:balance;
}
/* three pink dots under each heading, like the monster's spots */
.section-title::after{
  content:"";
  display:block;
  width:58px; height:12px;
  margin:18px auto 0;
  background:radial-gradient(circle at 6px 6px, var(--lime) 5px, transparent 5.5px) 0 0 / 23px 12px repeat-x;
}
.section-title.left{ text-align:left; }
.section-title.left::after{ margin-left:0; }

.section-sub{
  max-width:680px;
  margin:0 auto 56px;
  text-align:center;
  font-size:18px;
  line-height:1.65;
  color:var(--muted);
}

.rule{
  border:0;
  border-top:1px solid rgba(25,42,61,.15);
  max-width:var(--measure);
  margin:0 auto 60px;
}
.rule.light{ border-top-color:rgba(255,255,255,.35); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:60;
  background:var(--navy);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  min-height:78px;
}

.logo{
  text-decoration:none;
  color:var(--white);
  display:flex;
  align-items:center;
  flex:none;
  position:relative;
  z-index:2;
}
/* The monster sits in a white disc that hangs below the header bar, as it
   does on the old site. Definite sizes: a shrink-to-fit parent otherwise
   collapses an auto-width image to nothing. */
.logo-badge{
  display:grid;
  place-items:center;
  width:112px; height:112px;
  margin-top:34px;
  margin-bottom:-34px;
  border-radius:50%;
  background:var(--white);
  box-shadow:0 10px 26px rgba(0,0,0,.25);
  transition:transform .3s ease;
}
.logo:hover .logo-badge{ transform:rotate(-6deg) scale(1.03); }
.logo-badge .logo-img{ width:86px; height:auto; }
/* Booking/confirmation pages print the image without the badge wrapper. */
.logo > .logo-img{
  width:60px; height:60px; padding:5px;
  background:var(--white); border-radius:50%;
  object-fit:contain;
  margin-block:4px;
}
.logo-words{ display:flex; flex-direction:column; line-height:1.05; font-family:var(--font-heading); font-weight:600; padding-block:14px; }
.logo-words span{ display:block; font-size:14px; }
.logo-words span:last-child{ color:var(--lime); font-size:20px; }

.nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap:34px;
  margin:0; padding:0;
}
.nav a{
  text-decoration:none;
  color:var(--white);
  font-size:16px;
  font-weight:500;
  padding:8px 0;
  border-bottom:3px solid transparent;
  transition:color .2s ease, border-color .2s ease, background-color .2s ease;
}
.nav a:hover{ color:var(--lime); }
.nav a.active{ border-bottom-color:var(--lime); }
.nav a.nav-cta{
  background:var(--lime);
  color:var(--white);
  border:0;
  border-radius:6px;
  padding:11px 22px;
  font-weight:600;
}
.nav a.nav-cta:hover{ background:var(--white); color:var(--lime); }

.nav-toggle{
  display:none;
  background:none; border:0; cursor:pointer;
  padding:10px; gap:5px; flex-direction:column;
  align-items:center; justify-content:center;
  min-width:44px; min-height:44px;
}
.nav-toggle span{
  display:block; width:26px; height:2px; background:var(--white); border-radius:2px;
  transition:transform .25s ease, opacity .2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  background:var(--charcoal);
  color:var(--white);
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
  /* Riverside Rooms, looking out to Big Ben. The navy wash sits over the
     curtain on the left where the text is, and clears towards the view. */
  background-image:
    linear-gradient(100deg, rgba(25,42,61,.92) 0%, rgba(25,42,61,.72) 40%, rgba(25,42,61,.12) 75%, rgba(25,42,61,0) 100%),
    url('../assets/uploads/hero.jpg');
  background-size:cover;
  background-position:center 42%;
  background-repeat:no-repeat;
}
@media (max-width: 768px){
  .hero-media{
    background-image:
      linear-gradient(180deg, rgba(25,42,61,.82) 0%, rgba(25,42,61,.78) 55%, rgba(25,42,61,.92) 100%),
      url('../assets/uploads/hero-mobile.jpg');
    background-position:center 35%;
  }
}
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(0, 1fr);
  align-items:center;
  gap:40px;
  padding-block:calc(var(--section-pad) * 1.2) calc(var(--section-pad) * 1.3);
  min-height:640px;
}
.hero-kicker{
  margin:0 0 14px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.85);
}
.hero-title{
  font-size:calc(clamp(40px, 6.2vw, 78px) * var(--heading-scale));
  font-weight:600;
  line-height:1.02;
  letter-spacing:-.015em;
  text-wrap:balance;
  margin:0 0 22px;
}
.hero-sub{
  margin:0 0 30px;
  max-width:34em;
  font-size:19px;
  line-height:1.6;
  color:rgba(255,255,255,.88);
}
.hero-meta{
  list-style:none;
  margin:0 0 36px; padding:0;
  display:flex; flex-wrap:wrap; gap:10px 32px;
}
.hero-chip{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:600;
  font-size:16.5px;
}
.hero-chip svg{
  width:20px; height:20px; flex:none;
  fill:none; stroke:var(--lime); stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; }

/* The monster, big, on a slowly turning dashed ring */
.hero-mascot{
  position:relative;
  justify-self:center;
  width:min(100%, 420px);
  aspect-ratio:1;
  display:grid; place-items:center;
}
.hero-mascot::before{
  content:"";
  position:absolute; inset:8%;
  border-radius:50%;
  background:var(--white);
  box-shadow:0 30px 60px rgba(0,0,0,.35);
}
.hero-mascot-ring{
  position:absolute; inset:0;
  border-radius:50%;
  border:3px dashed rgba(255,255,255,.45);
  animation:spin 60s linear infinite;
}
.hero-mascot img{
  position:relative;
  width:66%;
  height:auto;
  animation:bob 4.5s ease-in-out infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes bob{ 0%,100%{ transform:translateY(0) rotate(-2deg); } 50%{ transform:translateY(-12px) rotate(2deg); } }

.wave{
  position:absolute; left:0; right:0; bottom:-1px;
  width:100%; height:60px;
  fill:var(--white);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about{
  background:var(--white);
  padding-block:calc(var(--section-pad) * .8) var(--section-pad);
}
.about .section-title{ margin-bottom:56px; }

.about-grid{
  max-width:1100px;
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.3fr);
  gap:40px 70px;
  align-items:start;
}
.about-lead{
  position:sticky; top:120px;
  padding:34px 32px 36px;
  border-radius:calc(var(--radius) + 8px);
  background:var(--navy);
  color:var(--white);
  overflow:hidden;
}
.about-lead::after{
  content:"";
  position:absolute; right:-44px; bottom:-44px;
  width:140px; height:140px; border-radius:50%;
  background:var(--lime);
}
.about-lead p{
  position:relative; z-index:1;
  margin:0 0 28px;
  font-weight:500;
  font-size:24px;
  line-height:1.35;
}
.about-when{
  position:relative; z-index:1;
  display:flex; flex-wrap:wrap; gap:10px;
}
.when-item{
  padding:8px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  font-size:15px; font-weight:600;
  white-space:nowrap;
}
.when-item:first-child{ background:var(--blue); }

.about-para{ margin:0 0 20px; }
.about-para:last-child{ margin-bottom:0; }
.about-body p{
  margin:0;
  font-size:17px;
  line-height:1.8;
  color:var(--ink);
}
.about-body strong{ color:var(--navy); }
.about-body a{ color:var(--blue); }
.about-body a:hover{ color:var(--lime); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.joinus{
  position:relative;
  overflow:hidden;
  background:var(--lime);
  color:var(--white);
}
.joinus::before,
.joinus::after{
  /* bubbles, like the spots on the monster */
  content:"";
  position:absolute; border-radius:50%;
  background:rgba(255,255,255,.1);
}
.joinus::before{ width:340px; height:340px; left:-120px; top:-140px; }
.joinus::after{ width:220px; height:220px; right:-60px; bottom:-90px; background:rgba(25,42,61,.18); }
.joinus-inner{
  position:relative; z-index:1;
  max-width:980px;
  text-align:center;
  padding-block:calc(var(--section-pad) * .9);
}
.joinus-mark{ display:block; width:54px; height:54px; margin:0 auto 14px; fill:rgba(255,255,255,.9); }
.joinus-title{
  margin:0 0 20px;
  font-size:15px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.9);
}
.joinus blockquote{
  margin:0 auto 26px;
  max-width:44ch;
  font-weight:500;
  font-size:calc(clamp(22px, 2.6vw, 32px) * var(--heading-scale));
  line-height:1.35;
  text-wrap:balance;
}
.quote-attr{
  margin:0 auto;
  max-width:52ch;
  font-size:15px;
  font-weight:600;
}

/* ============================================================
   REASONS TO ATTEND
   ============================================================ */
.categories{
  background:var(--off-white);
  padding-block:var(--section-pad) calc(var(--section-pad) * 1.1);
}
.cat-groups{ display:flex; flex-direction:column; gap:48px; }
.cat-group-title{
  margin:0 0 18px;
  font-size:16px; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase;
  color:var(--navy);
}
.cat-group-title.is-empty{ min-height:1.4em; }
.cat-row{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
.cat-card{
  position:relative;
  background:var(--white);
  border-radius:calc(var(--radius) + 6px);
  padding:30px;
  display:flex;
  flex-direction:column;
  box-shadow:0 1px 0 rgba(25,42,61,.06), 0 12px 30px -18px rgba(25,42,61,.35);
  border:1px solid rgba(25,42,61,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover{
  transform:translateY(-6px) rotate(-.4deg);
  box-shadow:0 24px 44px -20px rgba(25,42,61,.45);
}
.cat-icon{
  --tint:color-mix(in srgb, var(--blue) 12%, #fff);
  height:150px;
  margin:-6px 0 18px;
  display:flex; align-items:center; justify-content:center;
  border-radius:var(--radius);
  background:radial-gradient(circle at 50% 50%, var(--tint) 0 66px, transparent 67px);
}
.cat-card:nth-child(3n+2) .cat-icon{ --tint:color-mix(in srgb, var(--lime) 10%, #fff); }
.cat-card:nth-child(3n) .cat-icon{ --tint:color-mix(in srgb, var(--sun) 24%, #fff); }
.cat-icon img{
  max-height:128px; width:auto; max-width:70%;
  object-fit:contain;
  transition:transform .3s ease;
}
.cat-card:hover .cat-icon img{ transform:scale(1.06) rotate(-3deg); }
.cat-icon-blank{ width:100px; height:100px; }
.cat-card h4{
  margin:0 0 10px;
  font-size:23px;
  font-weight:600;
  line-height:1.2;
  color:var(--navy);
}
.cat-card p{
  margin:0 0 24px;
  font-size:15.5px;
  line-height:1.7;
  color:var(--muted);
}

.cat-winner-btn{
  display:inline-flex; align-items:center; gap:8px;
  align-self:flex-start;
  margin-top:auto;
  padding:11px 20px;
  border:2px solid var(--navy);
  border-radius:6px;
  background:transparent;
  color:var(--navy);
  font-family:var(--font-heading);
  font-size:15px; font-weight:600;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.cat-winner-btn span{ transition:transform .2s ease; }
.cat-winner-btn:hover,
.cat-winner-btn:focus-visible{ background:#0e77d4; border-color:#0e77d4; color:var(--white); }
.cat-winner-btn:hover span{ transform:translateX(4px); }

/* ---------- Read-more pop-up ---------- */
.winner-modal{
  width:min(700px, calc(100vw - 32px));
  max-height:calc(100vh - 48px);
  padding:36px 34px 32px;
  border:0;
  border-radius:calc(var(--radius) + 8px);
  background:#fff;
  color:var(--ink);
  box-shadow:0 24px 60px rgba(0,0,0,.35);
}
.winner-modal::backdrop{ background:rgba(16,28,42,.75); }
.winner-modal.is-fallback{
  position:fixed; inset:auto; top:50%; left:50%;
  transform:translate(-50%,-50%);
  z-index:200; display:block; overflow:auto;
}
.winner-modal-close{
  position:absolute; top:12px; right:14px;
  width:40px; height:40px;
  border:0; background:var(--off-white);
  color:var(--navy); font-size:26px; line-height:1;
  cursor:pointer; border-radius:50%;
}
.winner-modal-close:hover{ background:var(--lime); color:#fff; }
.winner-kicker{
  margin:0 0 4px;
  font-family:var(--font-heading);
  font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--lime);
}
.winner-modal h3{
  font-family:var(--font-heading);
  margin:0 0 18px; padding-right:40px;
  font-size:30px; font-weight:600; line-height:1.15; color:var(--navy);
}
.more-icon{ float:right; width:auto; max-width:120px; max-height:120px; margin:0 0 12px 20px; }
.more-text p{ margin:0 0 14px; font-size:16px; line-height:1.75; }
.winner-modal h4{
  clear:both;
  margin:22px 0 10px;
  font-family:var(--font-heading);
  font-size:19px; font-weight:600; color:var(--navy);
}
.more-text strong{ color:var(--navy); }
.nominee-list{
  margin:0; padding:0; list-style:none;
  display:grid; grid-template-columns:1fr; gap:6px;
}
.nominee-list li{
  position:relative;
  padding:9px 14px 9px 30px;
  border-radius:12px;
  background:var(--off-white);
  font-size:15px; line-height:1.45; color:var(--ink);
}
.nominee-list li::before{
  content:''; position:absolute; left:13px; top:1.05em;
  width:7px; height:7px; border-radius:50%; background:var(--lime);
}
.more-cta{ margin:26px 0 4px; }
@media (min-width: 560px){
  .nominee-list.is-long{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px){
  .winner-modal{ padding:30px 20px 24px; }
  .winner-modal h3{ font-size:25px; }
  .more-icon{ max-width:84px; max-height:84px; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery{
  background:var(--white);
  padding-block:var(--section-pad);
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-flow:dense;
  gap:14px;
}
.gallery-item{
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--off-white);
  aspect-ratio:1000 / 615;
}
/* A bigger tile every so often keeps the grid from looking like a spreadsheet. */
.gallery-item:nth-child(6n+1){ grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
.gallery-item a{ display:block; height:100%; }
.gallery-item img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.gallery-item a::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(225,15,119,.35), transparent 60%);
  opacity:0; transition:opacity .3s ease;
}
.gallery-item a:hover img{ transform:scale(1.06); }
.gallery-item a:hover::after{ opacity:1; }
.gallery-more{ text-align:center; margin:40px 0 0; }

.lightbox{
  width:100vw; height:100vh; max-width:none; max-height:none;
  margin:0; padding:0; border:0;
  background:transparent;
  color:#fff;
}
.lightbox[open]{ display:grid; place-items:center; }
.lightbox::backdrop{ background:rgba(10,18,28,.94); }
.lightbox img{
  max-width:min(1100px, 92vw);
  max-height:84vh;
  width:auto; height:auto;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close,
.lightbox-nav{
  position:absolute;
  display:grid; place-items:center;
  width:52px; height:52px;
  border:0; border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff; font-size:34px; line-height:1;
  cursor:pointer;
}
.lightbox-close:hover, .lightbox-nav:hover{ background:var(--lime); }
.lightbox-close{ top:18px; right:18px; font-size:30px; }
.lightbox-nav{ top:50%; transform:translateY(-50%); }
.lightbox-nav.prev{ left:18px; }
.lightbox-nav.next{ right:18px; }

/* ============================================================
   SPONSORS — logo grid under the tickets band
   ============================================================ */
.partners{
  background:var(--off-white);
  padding-block:calc(var(--section-pad) * .8);
  text-align:center;
}
.partners .section-title{ margin-bottom:44px; }
.partner-grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:16px;
}
.partner{
  display:grid; place-items:center;
  aspect-ratio:3 / 2;
  padding:16px;
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:0 1px 0 rgba(25,42,61,.05), 0 10px 24px -18px rgba(25,42,61,.35);
}
.partner a{ display:grid; place-items:center; width:100%; height:100%; text-decoration:none; }
/* A definite box: an auto-width image in a shrink-to-fit parent collapses to nothing. */
.partner img{ width:100%; height:100%; object-fit:contain; }
/* Text items are the empty slots until a logo is uploaded. */
.partner span{
  font-size:14px; font-weight:500;
  color:#9aa6b4;
  user-select:none;
}
.partner:not(.is-logo){ border:2px dashed #d5dce5; box-shadow:none; background:transparent; }

/* ============================================================
   TICKETS
   ============================================================ */
.tickets{
  background:var(--white);
  padding-block:calc(var(--section-pad) * .8) var(--section-pad);
}
.tickets-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:48px;
  align-items:center;
  padding:60px 56px;
  border-radius:calc(var(--radius) + 14px);
  background:var(--navy);
  color:var(--white);
}
.tickets-card::before{
  content:"";
  position:absolute; right:-90px; top:-120px;
  width:320px; height:320px; border-radius:50%;
  background:var(--blue); opacity:.55;
}
.tickets-card::after{
  content:"";
  position:absolute; right:-60px; bottom:-130px;
  width:230px; height:230px; border-radius:50%;
  background:var(--lime);
}
.tickets-left, .tickets-right{ position:relative; z-index:1; }
.tickets-title{
  margin:0 0 8px;
  font-size:calc(clamp(32px, 4vw, 50px) * var(--heading-scale));
  font-weight:600;
  line-height:1.05;
}
.tickets-kicker{
  margin:0 0 30px;
  font-size:22px;
  font-weight:400;
  line-height:1.35;
  color:rgba(255,255,255,.85);
}
.subscribe-label{
  margin:0 0 14px;
  font-size:16px;
  font-weight:600;
}
.subscribe input[type=email]{
  width:100%;
  border-radius:6px;
  padding:16px 22px;
  margin-bottom:12px;
  border:2px solid transparent;
  background:var(--white);
  color:#333;
  font-family:inherit;
  font-size:16px;
}
.subscribe input::placeholder{ color:#7c8794; }
.subscribe input:focus{ outline:0; border-color:var(--lime); }

.form-msg{
  margin:12px 0 0;
  font-size:14px;
  font-weight:600;
  min-height:20px;
}
.form-msg.error{ color:#ffb3d4; }

/* ============================================================
   MAP
   ============================================================ */
.map{ line-height:0; background:#e5e3df; }
.map iframe{ display:block; width:100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background:var(--navy);
  color:var(--white);
  padding-block:72px 40px;
  font-size:15px;
  line-height:1.9;
}
.site-footer a{ color:inherit; }
.site-footer a:hover{ color:var(--lime); }
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1.4fr 1fr 1fr;
  gap:40px;
  align-items:start;
  margin-bottom:46px;
}
.footer-brand{ font-size:26px; font-weight:600; line-height:1.1; }
.footer-logo{
  display:grid; place-items:center;
  width:150px; height:150px;
  border-radius:50%;
  background:var(--white);
}
.footer-logo img{ display:block; width:112px; height:auto; }
.footer-col{ font-style:normal; color:rgba(255,255,255,.85); }
.footer-social{
  display:flex;
  gap:6px;
  align-items:center;
  margin-left:-11px;
}
.footer-social-item{ display:inline-flex; }
.footer-social a{
  color:var(--white);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px; height:44px;
  transition:color .2s ease;
}
.footer-social a:hover{ color:var(--lime); }
.footer-social svg{ width:22px; height:22px; }

.footer-rule{
  max-width:none;
  border-top-color:rgba(255,255,255,.18);
  margin-bottom:22px;
}
.copyright{ margin:0; font-size:13px; color:rgba(255,255,255,.7); }
.footer-bottom{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 24px; }
.footer-legal{ display:flex; flex-wrap:wrap; gap:4px 20px; margin:0; padding:0; list-style:none; font-size:13px; }
.footer-legal a{ color:rgba(255,255,255,.75); text-decoration:none; }
.footer-legal a:hover{ color:var(--lime); text-decoration:underline; }
.footer-credit{ padding-left:20px; border-left:1px solid rgba(255,255,255,.25); }
@media (max-width:600px){ .footer-credit{ padding-left:0; border-left:0; flex-basis:100%; } }
.copyright a{ text-decoration:underline; }
.copyright a:hover{ color:var(--lime); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px){
  .partner-grid{ grid-template-columns:repeat(4, 1fr); }
  .cat-row{ grid-template-columns:repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns:repeat(3, 1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; min-height:0; padding-block:90px 110px; }
  .hero-mascot{ display:none; }
  .about-grid{ grid-template-columns:1fr; gap:36px; }
  .about-lead{ position:relative; top:auto; }
  .tickets-card{ grid-template-columns:1fr; padding:44px 28px 50px; gap:34px; }
}

@media (max-width:860px){
  :root{ --pad:20px; }

  .nav-toggle{ display:flex; }

  .nav{
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--navy);
    border-top:1px solid rgba(255,255,255,.12);
    display:none;
    box-shadow:0 20px 30px rgba(0,0,0,.25);
  }
  .nav.open{ display:block; }
  .nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:48px var(--pad) 24px;
  }
  .nav a{
    display:block;
    padding:14px 0;
    font-size:18px;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .nav a.nav-cta{ margin-top:16px; text-align:center; padding:15px 22px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  .header-inner{ min-height:64px; }
  .logo-badge{ width:84px; height:84px; margin-top:26px; margin-bottom:-26px; }
  .logo-badge .logo-img{ width:64px; }

  .about, .categories, .gallery, .partners{ padding-block:72px 80px; }
  .tickets{ padding-block:16px 64px; }
  .joinus-inner{ padding-block:72px; }

  .footer-grid{ grid-template-columns:1fr; gap:24px; }
}

@media (max-width:600px){
  .hero-title{ font-size:calc(44px * var(--heading-scale)); }
  .hero-sub{ font-size:17px; }
  .hero-inner{ padding-block:80px 90px; }
  .hero-actions .btn{ flex:1 1 auto; }
  .cat-row{ grid-template-columns:1fr; }
  .partner-grid{ grid-template-columns:repeat(2, 1fr); gap:12px; }
  .cat-card{ padding:26px 24px; }
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); gap:10px; }
  .gallery-item:nth-child(6n+1){ grid-row:auto; aspect-ratio:1000 / 615; }
  .about-lead p{ font-size:21px; }
  .lightbox-nav{ top:auto; bottom:22px; transform:none; }
  .tickets-kicker{ font-size:19px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}
