@font-face {
  font-family: "Antone Block";
  src: url(fonts/antone-block.woff2) format("woff2");
  font-display: swap
}

/* Layout: one stage per page. Landing is a layered 3D diorama; inner pages share a floral header.
   Shop = game-style character select; Events = 3/4 slideshow + 1/4 form; Contact = a bright tropical outlier. */
:root {
  --night: #170c1b;
  /* aubergine black */
  --plum: #4b1f4f;
  --wine: #7a1f2b;
  --pumpkin: #e0712b;
  --ember: #f4a85c;
  --bone: #f3e9dc;
  --sage: #8a9a7b;
  --muted: #b9a7b8;
  --glass: rgba(23, 12, 27, .62);
  /* contact page world */
  --sea: #14b3c4;
  --deep: #0b4a63;
  --coral: #ff6f5e;
  --sand: #fdf3d8;
  --sun: #ffc93c;
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-hud: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-fun: "Shrikhand", "Cooper Black", Georgia, serif;
  --f-logo: "Antone Block", "Big Shoulders Display", Impact, sans-serif;
  --logo-green: #205918;
  --logo-gold: #d7be82;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font: 16px/1.55 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
  line-height: 1.02
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0)
}

/* ---------- pages & routing ---------- */
.page {
  display: none;
  position: relative;
  min-height: 100svh
}

#shop.on,
#events.on,
#contact.on {
  padding-bottom: var(--foot-h, 48px)
}

.page.on {
  display: block;
  animation: reveal 1.1s var(--ease) both
}

@keyframes reveal {
  from {
    clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%));
    filter: brightness(1.6)
  }

  to {
    clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%));
    filter: none
  }
}

/* ================= LANDING ================= */
#home {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #0d0710;
  perspective: 1200px;
  cursor: zoom-in
}

#home.on {
  display: block;
  animation: none
}

.stage {
  position: absolute;
  inset: -4%;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--my, 0) * -3deg)) rotateY(calc(var(--mx, 0) * 4deg))
}

.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform
}

.l-bg {
  transform: translate3d(calc(var(--mx, 0)*-14px), calc(var(--my, 0)*-10px), 0) scale(1.04);
  transform-origin: 39% 52%;
  transition: transform 2.4s cubic-bezier(.7, 0, .25, 1), filter 2.4s
}

.l-back {
  transform: translate3d(calc(var(--mx, 0)*-34px), calc(var(--my, 0)*-22px), 0) scale(1.12);
  filter: brightness(.78) saturate(1.1);
  transition: transform 1.6s cubic-bezier(.7, 0, .3, 1), opacity 1.4s
}

.l-front {
  transform: translate3d(calc(var(--mx, 0)*-70px), calc(var(--my, 0)*-44px), 0) scale(1.06);
  transition: transform 1.4s cubic-bezier(.7, 0, .3, 1), opacity 1.2s;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55))
}

.l-sway {
  animation: sway 9s ease-in-out infinite alternate
}

@keyframes sway {
  to {
    translate: 0 6px;
    rotate: .25deg
  }
}

#bgVideo,
#walkVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s
}

#bgVideo.ready {
  opacity: 1
}

#walkVideo {
  z-index: 5;
  transform: none
}

#walkVideo.play {
  opacity: 1
}

.l-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 42% 50%, transparent 40%, rgba(13, 7, 16, .55) 80%, rgba(13, 7, 16, .9));
  z-index: 3
}

#petals {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4
}

.l-copy {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: clamp(20px, 7vh, 72px);
  transform: translateX(-50%);
  width: min(92vw, 880px);
  text-align: center;
  transition: opacity .6s, transform .9s var(--ease)
}

.l-eyebrow {
  font-family: var(--f-hud);
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--ember);
  margin-bottom: .7rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .6)
}

/* brand lockup (emblem + Antone Block wordmark) on a cream plaque, shared by the landing title and the header logo */
.mark {
  flex: none;
  width: 1.25em;
  height: 1.25em
}

.wm {
  font-family: var(--f-logo);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--logo-gold);
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(120, 90, 30, .3)
}

.wm b {
  font-weight: 400;
  color: var(--logo-green);
  text-shadow: none
}

.plaque {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  background: rgba(251, 245, 238, .1);
  border: 1px solid rgba(224, 113, 43, .35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4)
}

/* inner pages: the header logo keeps the solid cream plaque */
.hdr .plaque {
  background: rgba(251, 245, 238, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px)
}

.l-title {
  font-size: clamp(1.9rem, 6vw, 4.8rem);
  padding: .22em .5em .22em .3em;
  border-radius: .45em
}

.l-nav {
  display: flex;
  gap: clamp(6px, 1.4vw, 18px);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(14px, 2.4vh, 26px)
}

/* fat pumpkin buttons (keyed OpenArt art); label sits on the pumpkin's face, below the stem */
.seal {
  position: relative;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  --w: clamp(120px, 15vw, 210px);
  width: var(--w);
  height: auto;
  aspect-ratio: 1.72;
  padding: calc(var(--w) * .1) 0 0;
  line-height: 1;
  background: var(--img) center/contain no-repeat;
  font-family: var(--f-hud);
  font-weight: 800;
  font-size: clamp(.9rem, 1.3vw, 1.15rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--night);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .5));
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), filter .35s
}

.seal:nth-child(1) {
  --img: url(img/pumpkin-orange.webp)
}

.seal:nth-child(2) {
  --img: url(img/pumpkin-plum.webp);
  color: var(--bone);
  text-shadow: 0 1px 4px rgba(23, 12, 27, .6)
}

.seal:nth-child(3) {
  --img: url(img/pumpkin-cream.webp)
}

.seal:hover,
.seal:focus-visible {
  transform: translateY(-6px) rotate(-3deg) scale(1.07);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .5)) drop-shadow(0 0 14px rgba(244, 168, 92, .55))
}

.seal:nth-child(2):hover,
.seal:nth-child(2):focus-visible {
  transform: translateY(-6px) rotate(3deg) scale(1.07)
}

.l-hint {
  margin-top: 14px;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #cdb8c9;
  opacity: .85;
  animation: breathe 2.6s ease-in-out infinite
}

@keyframes breathe {
  50% {
    opacity: .35
  }
}

.door-glow {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 39% 52%, #fff2d6 0%, #f4a85c 25%, rgba(23, 12, 27, 0) 60%);
  transition: opacity 1s
}

/* entering */
#home.entering {
  cursor: default
}

#home.entering .l-copy {
  opacity: 0;
  transform: translate(-50%, 40px)
}

#home.entering .l-front {
  transform: scale(2.6) translateY(4%);
  opacity: 0
}

#home.entering .l-back {
  transform: scale(2.1);
  opacity: 0
}

#home.entering.css-zoom .l-bg {
  transform: scale(4.2);
  filter: brightness(1.4) blur(2px)
}

#home.entering.css-zoom .door-glow {
  opacity: 1;
  transition-delay: 1.3s
}

#home.flash .door-glow {
  opacity: 1
}

/* ================= HEADER ================= */
.hdr {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  top: env(safe-area-inset-top, 0px);
  height: 108px;
  pointer-events: none;
  transition: transform .6s var(--ease)
}

.hdr[hidden] {
  display: none !important
}

.hdr-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 78px;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(23, 12, 27, .92), rgba(23, 12, 27, .72));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(244, 168, 92, .25)
}

.vine {
  position: absolute;
  left: 0;
  top: 58px;
  width: 100%;
  height: 50px;
  overflow: visible;
  pointer-events: none
}

.bq {
  position: absolute;
  top: -10px;
  width: min(30vw, 340px);
  height: auto;
  pointer-events: none;
  user-select: none;
  transition: opacity .5s, transform .8s var(--ease);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
  animation: bqsway 8s ease-in-out infinite alternate
}

.bq-l {
  left: -14px;
  transform-origin: 0 0
}

.bq-r {
  right: -14px;
  transform-origin: 100% 0;
  animation-delay: -4s
}

@keyframes bqsway {
  from {
    rotate: -1.2deg
  }

  to {
    rotate: 1.2deg
  }
}

.hdr-inner {
  position: relative;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3vw, 40px);
  padding-inline: 16px;
  pointer-events: auto
}

.logo {
  position: absolute;
  left: clamp(16px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
  font-size: 1.4rem;
  padding: 6px 14px 6px 8px;
  border-radius: 22px
}

/* light card-stats style bar. Layers inside the nav: petals + end spills (0) behind the bar (1), per-item flower sprays (2) over it, text (3) on top.
   Each spray blooms when its item is hovered, focused or current; Shop also blooms the left spill, Contact the right. */
.nav {
  position: relative;
  isolation: isolate;
  display: flex;
  gap: clamp(4px, 2.4vw, 34px);
  padding: 0 clamp(8px, 1.4vw, 18px)
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(251, 245, 238, .88);
  border: 1px solid rgba(224, 113, 43, .35);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3)
}

.nav-item {
  position: relative;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 12px clamp(10px, 2vw, 22px) 8px;
  font-family: var(--f-hud);
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: 1.02rem;
  color: var(--night)
}

.nav-item span {
  position: relative;
  z-index: 3;
  display: inline-block;
  transition: color .3s, text-shadow .3s, transform .8s cubic-bezier(.34, 1.56, .64, 1);
  text-shadow: 0 0 8px rgba(251, 245, 238, .95), 0 0 2px rgba(251, 245, 238, .9)
}

.nav-item.cur span {
  color: var(--wine)
}

.nav-item:hover span,
.nav-item:focus-visible span {
  color: var(--plum);
  text-shadow: 0 0 14px rgba(251, 245, 238, .95), 0 0 4px #fff
}

.nav-item:is(:hover, :focus-visible, .cur) span {
  transform: scale(1.14)
}

.nav-deco,
.nav-item .cl {
  position: absolute;
  top: 50%;
  pointer-events: none;
  user-select: none
}

.nav-item .cl {
  left: 50%;
  z-index: 2;
  width: calc(100% + 64px);
  height: auto;
  transform: translate(-50%, -50%) scale(.9);
  opacity: .2;
  filter: saturate(.75) brightness(.97);
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), opacity .5s, filter .5s;
  animation: spray 7s ease-in-out infinite alternate
}

.nav-item:is(:hover, :focus-visible, .cur) .cl {
  transform: translate(-50%, -55%) scale(1.14);
  opacity: 1;
  filter: saturate(1.15) brightness(1.04) drop-shadow(0 4px 8px rgba(122, 31, 43, .28))
}

.nav-item:is(:hover, :focus-visible) .cl {
  animation-duration: 2.2s
}

@keyframes spray {
  from {
    rotate: -1.2deg
  }

  to {
    rotate: 1.2deg
  }
}

.nav-petals {
  z-index: 0;
  left: -110px;
  right: -110px;
  height: 96px;
  transform: translateY(-50%);
  opacity: .75;
  background: url(img/nav-petals.webp) center/340px auto repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent) intersect, linear-gradient(transparent, #000 22%, #000 78%, transparent);
  transition: opacity .6s;
  animation: drift 9s ease-in-out infinite alternate
}

.nav:hover .nav-petals,
.nav:focus-within .nav-petals {
  opacity: 1
}

@keyframes drift {
  to {
    translate: 10px 5px;
    rotate: .6deg
  }
}

.spill {
  z-index: 0;
  width: clamp(120px, 14vw, 210px);
  height: auto;
  opacity: .85;
  filter: saturate(.75) brightness(.95);
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .6s, filter .6s
}

.spill-l {
  right: calc(100% - 30px);
  transform-origin: 100% 50%;
  transform: translateY(-50%) scale(.8)
}

.spill-r {
  left: calc(100% - 30px);
  transform-origin: 0 50%;
  transform: translateY(-50%) scale(.8)
}

.nav:has(.nav-item[data-go="shop"]:is(:hover, :focus-visible, .cur)) .spill-l,
.nav:has(.nav-item[data-go="contact"]:is(:hover, :focus-visible, .cur)) .spill-r {
  transform: translateY(-50%) scale(1.06);
  opacity: 1;
  filter: saturate(1.15) brightness(1.04) drop-shadow(0 4px 10px rgba(0, 0, 0, .35))
}

.nav:has(.nav-item[data-go="shop"]:is(:hover, :focus-visible)) .spill-l,
.nav:has(.nav-item[data-go="contact"]:is(:hover, :focus-visible)) .spill-r {
  transform: translateY(-50%) scale(1.16);
  animation: spillsway 2.4s ease-in-out infinite alternate
}

@keyframes spillsway {
  from {
    rotate: -2deg
  }

  to {
    rotate: 2deg
  }
}

/* mobile burger (shown under 640px) */
.burger {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  border: 1px solid rgba(244, 168, 92, .55);
  background: rgba(23, 12, 27, .7);
  place-content: center;
  gap: 6px
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--bone);
  transition: transform .35s var(--ease), opacity .25s
}

.hdr.open .burger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg)
}

.hdr.open .burger span:nth-child(2) {
  opacity: 0
}

.hdr.open .burger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg)
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-10px)
  }
}

/* quiet header for events */
.hdr.quiet .bq {
  opacity: .32;
  transform: scale(.72)
}

.hdr.quiet .vine {
  opacity: .25
}

.hdr.quiet .nav-deco {
  opacity: .4
}

.hdr.quiet .nav-item:not(:hover, :focus-visible, .cur) .cl {
  opacity: .15;
  transform: translate(-50%, -50%) scale(.8)
}

/* contact keeps the header but sits on sunshine */
.hdr.sunny .hdr-band {
  background: linear-gradient(180deg, rgba(11, 74, 99, .95), rgba(11, 74, 99, .85))
}

/* ================= SHOP ================= */
#shop {
  overflow: hidden;
  min-height: 100svh
}

.shop-bg {
  position: fixed;
  inset: -3%;
  background: url(img/shop.webp) center/cover;
  filter: brightness(.55) saturate(1.1) blur(1.5px);
  transform: scale(1.04);
  z-index: -2
}

.shop-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 62%, rgba(244, 168, 92, .18), transparent 60%), linear-gradient(180deg, rgba(23, 12, 27, .6) 0%, transparent 30%, rgba(23, 12, 27, .85) 100%)
}

.shop-wrap {
  padding: 120px 16px 28px;
  max-width: 1500px;
  margin: 0 auto;
  min-height: calc(100svh - var(--foot-h, 48px));
  display: flex;
  flex-direction: column
}

.shop-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap
}

.hud {
  font-family: var(--f-hud);
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--ember)
}

.shop-top h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 400
}

.seg {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  background: rgba(251, 245, 238, .94);
  border: 1px solid rgba(224, 113, 43, .45)
}

.seg button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: .5rem 1.1rem;
  font-family: var(--f-body);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
  color: #5e4a57;
  transition: background .3s, color .3s, box-shadow .3s
}

.seg button:hover {
  color: var(--night)
}

.seg button[aria-pressed="true"] {
  background: #fbe2cf;
  color: var(--night);
  box-shadow: inset 0 0 0 1px var(--pumpkin)
}

.select {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: center;
  margin-top: 8px
}

.arena {
  position: relative;
  height: min(62vh, 600px);
  min-height: 380px;
  perspective: 1100px
}

.pedestal {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(46%, 380px);
  aspect-ratio: 3/1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 214, 160, .55), rgba(224, 113, 43, .25) 45%, transparent 70%)
}

.pedestal::before,
.pedestal::after {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  border: 2px solid rgba(244, 168, 92, .75);
  animation: ring 2.4s ease-out infinite
}

.pedestal::after {
  animation-delay: 1.2s
}

@keyframes ring {
  from {
    transform: scale(.6);
    opacity: 1
  }

  to {
    transform: scale(1.25);
    opacity: 0
  }
}

.rays {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 70%;
  height: 95%;
  transform: translateX(-50%);
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% 100%, transparent 0deg 150deg, rgba(255, 220, 170, .10) 165deg, transparent 172deg, rgba(255, 220, 170, .08) 184deg, transparent 192deg, rgba(255, 220, 170, .1) 200deg, transparent 212deg 360deg);
  -webkit-mask: linear-gradient(0deg, #000, transparent);
  mask: linear-gradient(0deg, #000, transparent);
  animation: raysw 7s ease-in-out infinite alternate
}

@keyframes raysw {
  to {
    transform: translateX(-50%) rotate(4deg)
  }
}

.slot {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: min(40vw, 400px);
  aspect-ratio: 4/5;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform .8s var(--ease), filter .8s, opacity .8s
}

.slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6))
}

.slot.c img {
  animation: bob 4s ease-in-out infinite
}

@keyframes bob {
  50% {
    transform: translateY(-12px) rotate(1.5deg)
  }
}

.slot.c {
  transform: translateX(-50%) translateZ(0) scale(1);
  z-index: 3;
  cursor: default
}

.slot.l {
  transform: translateX(-128%) translateZ(-260px) rotateY(28deg) scale(.66);
  filter: brightness(.42) saturate(.6) blur(1px);
  z-index: 1
}

.slot.r {
  transform: translateX(28%) translateZ(-260px) rotateY(-28deg) scale(.66);
  filter: brightness(.42) saturate(.6) blur(1px);
  z-index: 1
}

.slot.l:hover,
.slot.r:hover {
  filter: brightness(.7) saturate(.9)
}

.arrow {
  position: absolute;
  top: 46%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(224, 113, 43, .6);
  background: rgba(251, 245, 238, .88);
  color: var(--plum);
  cursor: pointer;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: transform .3s, background .3s, border-color .3s
}

.arrow:hover {
  background: #fbe2cf;
  border-color: var(--pumpkin);
  transform: scale(1.06)
}

.arrow.prev {
  left: 0
}

.arrow.next {
  right: 0
}

.card-stats {
  background: rgba(251, 245, 238, .94);
  color: var(--night);
  border: 1px solid rgba(224, 113, 43, .35);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35)
}

.card-stats .no {
  font-family: var(--f-hud);
  font-size: .85rem;
  letter-spacing: .3em;
  color: #7b6676
}

.card-stats h2 {
  font-size: 2.1rem;
  font-style: italic;
  margin: .25rem 0 .2rem
}

.price {
  font-family: var(--f-hud);
  font-size: 2rem;
  font-weight: 800;
  color: var(--wine);
  letter-spacing: .04em
}

.price small {
  font-size: .8rem;
  color: #7b6676;
  letter-spacing: .12em;
  margin-left: 6px;
  font-weight: 600
}

.card-stats p {
  color: #4a3a45;
  margin: .5rem 0 1rem;
  font-size: .95rem
}

.stat {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: center;
  font-family: var(--f-hud);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
  margin: 7px 0;
  color: #6b5560
}

.bar {
  height: 7px;
  border-radius: 7px;
  background: rgba(23, 12, 27, .08);
  overflow: hidden
}

.bar i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: 7px;
  background: linear-gradient(90deg, #c9a3cf, #f0a877, var(--ember));
  transition: width .9s var(--ease)
}

/* fine, square buttons: pastel fill, hairline colour outline, inner rule */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid var(--pumpkin);
  border-radius: 0;
  padding: .8rem 1.2rem;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  font-family: var(--f-hud);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  background: #fdf0e4;
  color: var(--night);
  box-shadow: inset 0 0 0 3px #fdf0e4, inset 0 0 0 4px rgba(224, 113, 43, .3);
  transition: background .3s, border-color .3s, box-shadow .3s
}

.cta:hover {
  background: #f5e6f4;
  border-color: #8e4a96;
  box-shadow: inset 0 0 0 3px #f5e6f4, inset 0 0 0 4px rgba(142, 74, 150, .3)
}

.roster {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap
}

.chip {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, .15);
  background: rgba(23, 12, 27, .75);
  cursor: pointer;
  padding: 6px;
  transition: transform .3s, border-color .3s
}

.chip img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.chip[aria-current="true"] {
  border-color: var(--pumpkin);
  transform: translateY(-6px);
  box-shadow: 0 0 0 4px rgba(224, 113, 43, .25), 0 12px 24px rgba(0, 0, 0, .4)
}

.chip[aria-current="true"]::after {
  content: "P1";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-hud);
  font-weight: 800;
  font-size: .75rem;
  background: var(--pumpkin);
  color: var(--night);
  padding: 0 .5rem;
  border-radius: 6px;
  letter-spacing: .12em
}

/* grid view */
.grid {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px
}

#shop.gridview .grid {
  display: grid
}

#shop.gridview .select,
#shop.gridview .roster {
  display: none
}

.pcard {
  background: var(--bone);
  color: var(--night);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
  animation: rise .7s var(--ease) both;
  animation-delay: var(--d)
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px)
  }
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .45)
}

.pcard figure {
  margin: 0;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 60%, #fff, #eadccb);
  display: grid;
  place-items: center;
  overflow: hidden
}

.pcard figure img {
  width: 100%;
  height: 100%;
  padding: 7%;
  object-fit: contain;
  transition: transform .7s var(--ease)
}

.pcard:hover figure img {
  transform: scale(1.06) rotate(-1.5deg)
}

.pcard .bd {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1
}

.pcard h3 {
  font-size: 1.4rem;
  font-style: italic
}

.pcard .meta {
  color: #6b5560;
  font-size: .9rem;
  flex: 1
}

.pcard .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px
}

.pcard .pr {
  font-family: var(--f-hud);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--wine)
}

.pcard .cta {
  width: auto;
  margin-top: 0;
  padding: .6rem 1rem;
  font-size: .85rem;
  letter-spacing: .2em
}

.toast {
  visibility: hidden;
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(var(--foot-h, 48px) + 16px);
  transform: translate(-50%, 140%);
  background: var(--bone);
  color: var(--night);
  padding: .75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .5s var(--ease)
}

.toast.show {
  visibility: visible;
  transform: translate(-50%, 0)
}

/* ================= EVENTS ================= */
#events {
  background: #120a15
}

.ev {
  display: grid;
  grid-template-columns: 3fr 1fr;
  min-height: calc(100svh - var(--foot-h, 48px))
}

.ev-show {
  position: relative;
  overflow: hidden;
  min-height: 60svh;
  background: #000
}

.ev-show img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
  transform: scale(1.02)
}

.ev-show img.on {
  opacity: 1;
  animation: kb 9s linear both
}

@keyframes kb {
  from {
    transform: scale(1.02) translate(0, 0)
  }

  to {
    transform: scale(1.12) translate(-1.5%, -1%)
  }
}

.ev-show::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 10, 21, .85), transparent 40%);
  pointer-events: none
}

.ev-cap {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 4vw, 56px);
  bottom: clamp(20px, 6vh, 60px);
  max-width: min(80%, 640px)
}

.ev-cap .hud {
  display: block;
  margin-bottom: .4rem
}

.ev-cap h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-style: italic;
  font-weight: 350
}

.ev-cap p {
  margin: .5rem 0 0;
  color: #e8dade;
  max-width: 48ch
}

.ev-dots {
  display: flex;
  gap: 8px;
  margin-top: 16px
}

.ev-dots i {
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, .25);
  border-radius: 3px;
  overflow: hidden
}

.ev-dots i.on::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--ember);
  animation: fill 6s linear both
}

@keyframes fill {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

/* light, pastel form: display font for the event types, Figtree everywhere else for legibility */
.ev-form {
  padding: 110px 22px 28px;
  background: linear-gradient(170deg, #fdf6ee 0%, #faece2 45%, #f1e5f0 100%);
  color: var(--night);
  color-scheme: light;
  border-left: 1px solid rgba(224, 113, 43, .25);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--f-body)
}

.ev-form h2 {
  font-size: 1.7rem;
  font-style: italic;
  color: var(--plum)
}

.ev-form .lead {
  color: #5e4a57;
  font-size: .95rem;
  margin: 0
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0
}

legend,
.lbl {
  font-family: var(--f-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--wine);
  margin-bottom: 8px;
  display: block;
  font-weight: 700
}

.types {
  display: grid;
  gap: 8px
}

.types label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: .7rem .9rem;
  border: 1px solid rgba(75, 31, 79, .26);
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: border-color .3s, background .3s
}

.types label:hover {
  border-color: rgba(142, 74, 150, .5)
}

.types input {
  accent-color: var(--pumpkin)
}

.types label:has(input:checked) {
  border-color: var(--pumpkin);
  background: #fde6d4
}

.types b {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem
}

.types small {
  display: block;
  color: #6b5560;
  font-size: .8rem
}

.fld input,
.fld select,
.fld textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(23, 12, 27, .25);
  background: transparent;
  padding: .5rem 0;
  color: var(--night);
  font-family: var(--f-body);
  font-size: 1rem;
  transition: border-color .3s
}

.fld input::placeholder,
.fld textarea::placeholder {
  color: #9b8a95
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: 0;
  border-color: var(--pumpkin)
}

.fld select option {
  background: #fff;
  color: var(--night)
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.ev-form .cta {
  margin-top: 4px
}

.ok {
  border: 1px solid var(--sage);
  padding: 12px;
  font-size: .9rem;
  color: #3f5233;
  background: rgba(138, 154, 123, .15)
}

/* ================= CONTACT (a different world) ================= */
#contact {
  background: var(--sand);
  color: var(--deep);
  overflow: hidden;
  color-scheme: light
}

/* the sun sets across the page: x runs linearly while y eases in, tracing a falling arc from off the top left to just above
   the flyover (--sun-end, set in JS), then exits right with its glow rings fully clear and re-enters from the left */
.ct-sun {
  --size: min(32vw, 300px);
  --clear: calc(var(--size) + 60px);
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 243, 176, 0.5), rgba(255, 201, 60, 0.3) 60%, #ffb03c);
  box-shadow: 0 0 0 24px rgba(255, 201, 60, .18), 0 0 0 54px rgba(255, 201, 60, .09);
  animation: sunx 48s linear infinite, suny 48s cubic-bezier(.45, 0, .85, .55) infinite, sunbob 8s ease-in-out infinite alternate
}

@keyframes sunx {
  from {
    left: calc(var(--clear) * -1)
  }

  to {
    left: calc(100% + 60px)
  }
}

@keyframes suny {
  from {
    top: 70px
  }

  to {
    top: var(--sun-end, 560px)
  }
}

@keyframes sunbob {
  to {
    transform: rotate(8deg)
  }
}

.ct-wrap {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 128px 16px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: start
}

.ct-hello h1 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  color: var(--deep);
  line-height: 1;
  letter-spacing: -.01em
}

.ct-hello p {
  font-size: 1.1rem;
  max-width: 36ch;
  margin: 1.2rem 0
}

.addr {
  font-weight: 600;
  line-height: 1.5;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(11, 74, 99, .25);
  border-radius: 3px;
  padding: 14px 16px;
  display: inline-block
}

.addr small {
  display: block;
  font-weight: 500;
  color: #3d7385;
  margin-top: 6px
}

/* sleek form inside a painted flower frame (img/form-border.webp as a 9-slice border-image so corners stay intact at any size) */
.ct-frame {
  position: relative;
  --bw: clamp(70px, 9vw, 120px);
  --spill: calc(var(--bw) * .55);
  animation: pop .9s cubic-bezier(.34, 1.56, .64, 1) .2s both;
  margin-top: 40px;
}

.ct-frame::before {
  content: "";
  position: absolute;
  inset: calc(var(--spill) * -1);
  z-index: 0;
  pointer-events: none;
  border: var(--bw) solid transparent;
  border-image: url(img/form-border.webp) 24% 21% 24% 23% round;
  filter: drop-shadow(0 10px 18px rgba(11, 74, 99, .18))
}

.ct-form {
  position: relative;
  z-index: 1;
  background: #fffdf9;
  border: 1px solid rgba(11, 74, 99, .22);
  border-radius: 3px;
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 16px
}

@keyframes pop {
  from {
    transform: translateY(40px) scale(.97);
    opacity: 0
  }
}

.ct-form label {
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3d6577;
  display: grid;
  gap: 7px
}

.ct-form input,
.ct-form textarea,
.ct-form select {
  border: 1px solid rgba(11, 74, 99, .28);
  border-radius: 2px;
  padding: .65rem .8rem;
  background: #fff;
  color: var(--deep);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  transition: border-color .25s, box-shadow .25s
}

.ct-form input:focus,
.ct-form textarea:focus,
.ct-form select:focus {
  outline: 0;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 111, 94, .14)
}

.ct-form .two {
  gap: 16px
}

.ct-btn {
  justify-self: start;
  border: 1px solid var(--coral);
  background: #ffeee9;
  color: var(--deep);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-radius: 0;
  padding: .85rem 1.6rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 3px #ffeee9, inset 0 0 0 4px rgba(255, 111, 94, .3);
  transition: background .3s, border-color .3s, box-shadow .3s
}

.ct-btn:hover {
  background: #fff6dc;
  border-color: #e0a21b;
  box-shadow: inset 0 0 0 3px #fff6dc, inset 0 0 0 4px rgba(224, 162, 27, .35)
}

.ct-ok {
  background: #effaf8;
  border: 1px solid rgba(20, 179, 196, .45);
  border-radius: 2px;
  padding: 12px;
  font-weight: 500;
  font-size: .92rem
}

/* fly-forward beach: canvas sky, ocean and sand ridges (index.html: flyover) */
.flyover {
  position: relative;
  z-index: 1;
  height: clamp(320px, 56vh, 620px);
  margin-top: clamp(8px, 2vh, 24px)
}

.flyover canvas {
  display: block;
  width: 100%;
  height: 100%
}

/* shared footer for shop, events and contact: pinned to the bottom of the viewport (hidden on the landing page) */
.ct-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 4;
  background: var(--deep);
  color: var(--sand);
  text-align: center;
  padding: 14px 16px;
  font-size: .85rem
}

/* ================= responsive ================= */
/* tablet and below: arena on top, stats full width beneath; events slideshow above the form */
@media (max-width:1024px) {
  .select {
    grid-template-columns: 1fr
  }

  .arena {
    height: 52vh;
    min-height: 320px
  }

  .slot {
    width: min(62vw, 340px)
  }

  .slot.l {
    transform: translateX(-118%) translateZ(-200px) rotateY(28deg) scale(.55)
  }

  .slot.r {
    transform: translateX(18%) translateZ(-200px) rotateY(-28deg) scale(.55)
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .ev {
    grid-template-columns: 1fr
  }

  .ev-show {
    height: 50vh;
    height: 50svh;
    min-height: 0
  }

  .ev-form {
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid rgba(224, 113, 43, .25)
  }
}

@media (max-width:1200px) {
  .logo {
    padding: 6px
  }

  .logo .wm {
    display: none
  }
}

@media (max-width:900px) {
  .ct-wrap {
    grid-template-columns: 1fr
  }

  .ct-sun {
    --size: 120px;
    opacity: 0.4;
  }

  .ct-frame {
    --bw: 58px;
    margin: 20px;
    padding: 20px;
  }

  .bq {
    width: 34vw
  }
}

/* mobile: burger menu, stacked shop header, single-column grid, landing tweaks */
@media (max-width:640px) {
  .burger {
    display: grid
  }

  .logo {
    left: 16px;
    font-size: 1.1rem;
    padding: 6px 12px 6px 7px
  }

  .logo .wm {
    display: inline
  }

  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: solid rgba(224, 113, 43, .35);
    border-width: 1px 0;
    background: rgba(251, 245, 238, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
    animation: drop .45s var(--ease) both
  }

  .nav::before,
  .nav-deco {
    display: none
  }

  .hdr.open .nav {
    display: flex
  }

  .nav-item {
    width: 100%;
    padding: 18px 16px;
    overflow: hidden;
    border-top: 1px solid rgba(224, 113, 43, .18)
  }

  .nav-item:first-of-type {
    border-top: 0
  }

  .nav-item .cl {
    width: 230px
  }

  .shop-top {
    flex-direction: column;
    align-items: flex-start
  }

  .grid {
    grid-template-columns: 1fr
  }

  .arrow {
    width: 44px;
    height: 44px
  }

  .two {
    grid-template-columns: 1fr
  }

  .l-nav {
    flex-wrap: nowrap;
    gap: 4px
  }

  .seal {
    --w: min(31vw, 130px);
    font-size: .78rem;
    letter-spacing: .1em
  }

  .l-vignette {
    background: linear-gradient(180deg, rgba(13, 7, 16, .85) 0%, rgba(13, 7, 16, 0) 22%, rgba(13, 7, 16, 0) 55%, rgba(13, 7, 16, .92) 100%)
  }

  #walkVideo {
    inset: 10% 0 auto;
    height: 80%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent)
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .ct-sun {
    animation: none !important;
    left: auto;
    right: 8%;
    top: 120px
  }
}