/* Candy Skull Fest. Tokens: sugar, blush, berry, mint, lilac, lemon on a cocoa icing outline.
   Display Titan One (restrained to headings), body M PLUS Rounded 1c, labels DM Mono. */
:root {
  --sugar: #FFF7FB; --blush: #FFE1EE; --berry: #FF8FC0; --mint: #7FE0C4; --lilac: #BFA3FF; --lemon: #FFE45C;
  --cocoa: #3B1F3A; --cocoa-2: #5E3A5B; --white: #fff;
  --c1: var(--berry); --c2: var(--mint); --c3: var(--lilac); --c4: var(--lemon);
  --display: "Titan One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "M PLUS Rounded 1c", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --r: 22px; --pad: clamp(18px, 4.5vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sugar); color: var(--cocoa); font: 500 17px/1.6 var(--body); overflow-x: hidden; }
img, svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h2 { font: 400 clamp(34px, 5.4vw, 64px)/1.02 var(--display); letter-spacing: .005em; margin-bottom: 18px; text-wrap: balance; }
h3 { font: 800 21px/1.2 var(--body); }
p { margin: 0 0 14px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px dashed var(--cocoa); outline-offset: 3px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 800 16px/1 var(--body); text-decoration: none; color: var(--cocoa); background: var(--lemon);
  padding: 15px 22px; border: 3px solid var(--cocoa); border-radius: 999px; box-shadow: 4px 4px 0 var(--cocoa);
  transition: transform .15s ease, box-shadow .15s ease; list-style: none;
}
.btn::-webkit-details-marker { display: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--cocoa); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--cocoa); }
.btn-ghost { background: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- nav ---------- */
.preview-tag { position: fixed; left: 12px; bottom: 12px; z-index: 60; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  background: var(--cocoa); color: var(--lemon); padding: 7px 10px; border-radius: 999px; }
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--pad); background: var(--blush); transition: background .2s, box-shadow .2s; }
.nav.solid { background: rgba(255, 247, 251, .94); backdrop-filter: blur(10px); box-shadow: 0 3px 0 rgba(59, 31, 58, .12); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 21px/1 var(--display); }
.brand-mark { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; font-weight: 800; font-size: 15px; padding: 9px 12px; border-radius: 999px; }
.nav-links a:hover { background: var(--white); }
.nav-links .nav-cta { background: var(--cocoa); color: var(--lemon); margin-left: 6px; }
.nav-links .nav-cta:hover { background: var(--cocoa-2); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 3px solid var(--cocoa); border-radius: 999px; overflow: hidden; background: var(--white); }
.lang button { font: 800 13px/1 var(--body); border: 0; background: none; color: var(--cocoa); padding: 8px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--cocoa); color: var(--lemon); }
.menu-btn { display: none; width: 46px; height: 42px; border: 3px solid var(--cocoa); border-radius: 14px; background: var(--white); cursor: pointer; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 3px; background: var(--cocoa); border-radius: 3px; transition: transform .2s; }
.menu-btn span:first-child { top: 13px; } .menu-btn span:last-child { bottom: 13px; }
.nav.open .menu-btn span:first-child { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--blush); padding: clamp(24px, 3.5vw, 44px) 0 clamp(70px, 8vw, 110px); }
.sprinkles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sprinkles i { position: absolute; width: 18px; height: 6px; border-radius: 6px; border: 2px solid var(--cocoa); opacity: .9;
  animation: drift 7s ease-in-out infinite alternate; }
@keyframes drift { to { translate: 0 10px; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; grid-template-areas: "head skull" "body skull"; column-gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero-head { grid-area: head; align-self: end; } .hero-body { grid-area: body; align-self: start; } .skull-stage { grid-area: skull; }
.eyebrow { font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
  display: inline-block; background: var(--white); border: 2px solid var(--cocoa); padding: 7px 12px; border-radius: 999px; }
.title { font: 400 clamp(58px, 7.8vw, 110px)/.92 var(--display); letter-spacing: .01em; margin: 0 0 22px; }
.title span { display: inline-block; color: var(--white); -webkit-text-stroke: 7px var(--cocoa); paint-order: stroke fill; }
.title .w1 { text-shadow: 6px 7px 0 var(--berry); }
.title .w2 { text-shadow: 6px 7px 0 var(--mint); }
.title .w3 { text-shadow: 6px 7px 0 var(--lilac); }
.lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 33em; margin-bottom: 22px; }
.chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: flex; flex-direction: column; gap: 3px; background: var(--white); border: 3px solid var(--cocoa); border-radius: 16px; padding: 8px 12px; font-weight: 800; font-size: 15px; }
.chips .k, .stub dt, .tray-label, .kicker { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.is-ph { opacity: .62; font-weight: 700; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.skull-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.skull-btn { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 40px; width: min(100%, 470px); }
.skull { width: 100%; height: auto; overflow: visible; }
.sk-body { transform-origin: 200px 420px; animation: wobble 6s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg) translateY(-4px); } }
.skull .bone { fill: var(--white); stroke: var(--cocoa); stroke-width: 8; }
.skull .c1f, .skull .c2f, .skull .c3f, .skull .c4f { stroke: var(--cocoa); stroke-width: 4; transition: fill .45s ease; }
.skull .c1f { fill: var(--c1); } .skull .c2f { fill: var(--c2); } .skull .c3f { fill: var(--c3); } .skull .c4f { fill: var(--c4); }
.skull .socket { fill: var(--cocoa); }
.skull .line { stroke: var(--cocoa); stroke-width: 4; }
.skull .dots { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 0 17; transition: stroke .45s ease; }
.skull .swirl { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke .45s ease; }
.skull .c1s { stroke: var(--c1); } .skull .c2s { stroke: var(--c2); } .skull .c3s { stroke: var(--c3); } .skull .c4s { stroke: var(--c4); }
.skull .mouth { fill: none; stroke: var(--cocoa); stroke-width: 7; stroke-linecap: round; }
.skull .stitch path { stroke: var(--cocoa); stroke-width: 5; stroke-linecap: round; }
.skull .spark path { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.skull .spark .s2 { animation-delay: .8s; } .skull .spark .s3 { animation-delay: 1.6s; }
@keyframes twinkle { 0%, 100% { transform: scale(.55) rotate(0); opacity: .5; } 50% { transform: scale(1) rotate(20deg); opacity: 1; } }
.skull-btn.pop .sk-body { animation: pop .5s ease, wobble 6s ease-in-out .5s infinite; }
@keyframes pop { 40% { transform: scale(1.05) rotate(-3deg); } }
.tray { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--white); border: 3px solid var(--cocoa); border-radius: 999px; padding: 10px 14px 12px; box-shadow: 4px 4px 0 var(--cocoa); }
.swatches { display: flex; align-items: center; gap: 10px; }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--cocoa); cursor: pointer; padding: 0;
  background: conic-gradient(var(--a) 0 50%, var(--b) 50% 100%); transition: transform .15s; }
.sw[aria-pressed="true"] { transform: scale(1.12); box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--cocoa); }
.shuffle { font: 800 14px/1 var(--body); color: var(--cocoa); background: var(--blush); border: 3px solid var(--cocoa); border-radius: 999px; padding: 10px 14px; cursor: pointer; }

/* ---------- drips + bands ---------- */
.drip { position: absolute; left: 0; top: 100%; width: 100%; height: clamp(42px, 5.8vw, 84px); z-index: 3; pointer-events: none; margin-top: -1px; }
.band { position: relative; padding: clamp(84px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.band.sugar { background: var(--sugar); } .band.lemon { background: var(--lemon); } .band.lilac { background: var(--lilac); }
.band.mint { background: var(--mint); } .band.berry { background: var(--berry); }
.kicker { margin-bottom: 12px; display: inline-block; }
.big { font-size: clamp(18px, 1.7vw, 21px); }
.narrow { max-width: 36em; }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }

/* ---------- stickers ---------- */
.sticker { position: relative; background: var(--white); border: 3px solid var(--cocoa); border-radius: var(--r); padding: 24px;
  box-shadow: 0 0 0 7px var(--white), 7px 8px 0 7px var(--cocoa); }
.note { rotate: 1.4deg; margin: 10px 8px 0; }
.note h3 { font: 400 26px/1.1 var(--display); margin-bottom: 10px; }
.stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 34px 30px; margin-top: 30px; }
.act { transition: rotate .25s ease, transform .25s ease; }
.act:nth-child(3n+1) { rotate: -1.6deg; } .act:nth-child(3n+2) { rotate: 1.1deg; } .act:nth-child(3n) { rotate: -.6deg; }
.act:hover { rotate: 0deg; transform: translateY(-4px); }
.act .ico { width: 64px; height: 64px; margin-bottom: 12px; }
.act h3 { margin-bottom: 6px; }
.act p { margin: 0; color: var(--cocoa-2); }

.lineup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 26px 0 50px; }
.lineup .act-card { background: var(--sugar); border: 3px dashed var(--cocoa); border-radius: var(--r); padding: 20px 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.lineup .act-card strong { font: 400 24px/1.05 var(--display); }
.lineup .act-card span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.lineup .act-card.confirmed { background: var(--white); border-style: solid; }
.apply h3 { font: 400 28px/1.1 var(--display); margin-bottom: 8px; }
.apply > div > p, .apply > p { color: var(--cocoa-2); }
#performers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.deadline { font: 500 13px/1.4 var(--mono); letter-spacing: .04em; }
.tags { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-weight: 800; font-size: 15px; background: var(--white); border: 3px solid var(--cocoa); border-radius: 999px; padding: 6px 13px; }
.tags li:nth-child(odd) { rotate: -2deg; } .tags li:nth-child(even) { rotate: 1.5deg; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 30px; align-items: start; }
.sponsor-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 20px; }
.sponsor-row a, .sponsor-row span { font-weight: 800; background: var(--white); border: 3px solid var(--cocoa); border-radius: 14px; padding: 10px 16px; text-decoration: none; }

/* ---------- forms ---------- */
details > summary { cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.apply details[open] > summary { margin-bottom: 18px; background: var(--blush); }
form { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-direction: column; gap: 5px; font-weight: 800; font-size: 14.5px; }
input, select, textarea { font: 500 16px/1.4 var(--body); color: var(--cocoa); background: var(--white); border: 3px solid var(--cocoa); border-radius: 14px; padding: 11px 13px; width: 100%; }
input::placeholder, textarea::placeholder { color: #9b8199; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--lilac); }
fieldset { border: 3px solid var(--cocoa); border-radius: 14px; padding: 10px 14px 12px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
legend { font-weight: 800; font-size: 14.5px; padding: 0 6px; }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 700; }
label.check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--cocoa); padding: 0; }
label.check.small { font-size: 13px; font-weight: 600; line-height: 1.45; }
.bad input, .bad select, .bad textarea, label.bad { border-color: #D7263D; }
label.check.bad span { color: #B0182D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.2em; margin: 0; font-weight: 800; }
.form-msg.ok { color: #0E6B4C; } .form-msg.err { color: #B0182D; }
form button[type=submit] { align-self: flex-start; }

/* ---------- tickets ---------- */
.stub { position: relative; background: var(--white); border: 3px solid var(--cocoa); border-radius: var(--r); padding: 26px 26px 30px; rotate: -2deg; box-shadow: 8px 9px 0 var(--cocoa);
  -webkit-mask: radial-gradient(circle 14px at 0 62%, transparent 98%, #000) , radial-gradient(circle 14px at 100% 62%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.stub-head { display: flex; align-items: center; gap: 12px; font: 400 26px/1 var(--display); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 3px dashed var(--cocoa); }
.stub-head svg { width: 44px; height: 44px; }
.stub dl { margin: 0 0 18px; display: grid; gap: 14px; }
.stub dl div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: baseline; }
.stub dd { margin: 0; font-weight: 800; font-size: 18px; }
.rsvp { margin-top: 8px; }

/* ---------- faq + venue ---------- */
.faq-wrap { max-width: 900px; }
.faq details { border: 3px solid var(--cocoa); border-radius: 18px; background: var(--white); margin-bottom: 12px; }
.faq summary { list-style: none; font-weight: 800; font-size: 18px; padding: 16px 52px 16px 18px; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--display); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--cocoa-2); }
.venue { padding-bottom: clamp(70px, 9vw, 120px); }
.map { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-weight: 800; rotate: 1deg; overflow: hidden; }
.map svg { width: 70px; height: 70px; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: 14px; }

/* ---------- footer ---------- */
.foot { background: var(--cocoa); color: var(--sugar); padding: 56px 0 80px; }
.foot .brand { color: var(--sugar); margin-bottom: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 30px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a, .foot a { color: var(--lemon); font-weight: 800; text-decoration: none; }
.foot .fine { font-size: 13.5px; opacity: .85; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--pad) 18px;
    background: var(--sugar); border-bottom: 3px solid var(--cocoa); display: none; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { font-size: 18px; padding: 12px 14px; }
  .nav-links .nav-cta { margin: 6px 0 0; text-align: center; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup .act-card strong { font-size: 20px; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "skull" "body"; row-gap: 8px; }
  .two, .pair, #performers { grid-template-columns: 1fr; }
  .skull-btn { width: min(64vw, 290px); }
  .tray { margin-bottom: 18px; }
  .title { margin-bottom: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand span { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .grid2 { grid-template-columns: 1fr; }
  .title span { -webkit-text-stroke-width: 5px; }
  .stickers { gap: 26px; }
  .sticker { padding: 20px; }
  .tray { border-radius: 26px; }
  .chips li { flex: 1 1 140px; }
  .preview-tag { font-size: 9.5px; padding: 6px 8px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .05em; }
  .sw { width: 34px; height: 34px; }
  .swatches { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .act:hover { transform: none; }
}
