@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/bebas-neue-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Kush Heaven Festival — black & gold, mobile first */
:root {
  --bg: #050505;
  --bg-2: #0c0b09;
  --ink: #f4ecd8;
  --muted: #a39a86;
  --gold: #d4af37;
  --gold-2: #f3d77a;
  --gold-3: #8c6a1e;
  --line: rgba(212, 175, 55, 0.22);
  --gold-grad: linear-gradient(135deg, #f6e3a1 0%, #d4af37 42%, #9e7625 72%, #f1d27a 100%);
  --radius: 16px;
  --maxw: 42rem;
  --gutter: 16px;
  --font-display: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; min-height: 100dvh; color: var(--ink); background: var(--bg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-2); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 50%; top: -6rem; transform: translateX(-50%); white-space: nowrap; background: var(--gold); color: #120d02; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; z-index: 20; }
.skip:focus { top: .75rem; }

/* ---------- ambient movement ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .32; will-change: transform; }
.orb-a { width: 60vmax; height: 60vmax; left: -20vmax; top: -10vmax; background: radial-gradient(circle, rgba(212,175,55,.55), rgba(212,175,55,0) 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.orb-b { width: 50vmax; height: 50vmax; right: -18vmax; bottom: -12vmax; background: radial-gradient(circle, rgba(243,215,122,.45), rgba(243,215,122,0) 65%); animation: drift-b 32s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(14vw, 10vh, 0) scale(1.15); } }
@keyframes drift-b { from { transform: translate3d(0,0,0) scale(1.1); } to { transform: translate3d(-12vw, -14vh, 0) scale(.95); } }

main { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 2rem; }

/* ---------- hero / flyer ---------- */
.hero { padding-top: max(16px, env(safe-area-inset-top)); text-align: center; }
.flyer { margin: 0 auto; width: 100%; max-width: 560px; perspective: 1200px; }
.flyer-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(212,175,55,.25), 0 0 60px rgba(212,175,55,.12);
  transform-style: preserve-3d; will-change: transform;
  animation: rise 1.1s var(--ease) backwards;
}
.flyer-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,240,190,.14) 48%, rgba(255,255,255,0) 60%);
  transform: translateX(-120%); animation: sheen 7s var(--ease) 1.4s infinite;
}
.flyer img { width: 100%; height: auto; aspect-ratio: 1280 / 2049; background: url("data:image/webp;base64,UklGRsgAAABXRUJQVlA4ILwAAACQBgCdASoYACYAPuleqE2pJSQiNVgIASAdCUAWI/MIPPiAeL1pYXb0VwML5r2TAMMk9mx3PWr5Dj+BZ8oAAP7w2vOKanMrjgZb6QfHeus4qZgPfXI/N0pKDCtKvT4qX0H1cwaqIgbwH1bam7tCz2fFcNv2IabF/0abZYYP8IeT5wt+fcPNJuUbnU33KZOB/H3xEDoLJGXXZAsB1+mC/6Vm7vx6gillxxtVTa4dPucMZ5kj7PtyopfcFMeAAA==") center / cover no-repeat; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes sheen { 0% { transform: translateX(-120%); } 22% { transform: translateX(120%); } 100% { transform: translateX(120%); } }

.facts {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem .9rem;
  margin: 1.4rem 0 0; font-family: var(--font-display); font-size: clamp(1.25rem, 4.6vw, 1.6rem); letter-spacing: .14em; color: var(--gold-2);
}
.facts .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .8; }

/* ---------- logo ---------- */
.brand { padding: 2.2rem 0 .6rem; display: flex; justify-content: center; }
.brand img { width: min(78vw, 440px); height: auto; filter: drop-shadow(0 18px 40px rgba(212,175,55,.18)); }

/* ---------- panels ---------- */
.panel {
  position: relative; margin: 1.6rem 0 0; padding: 1.6rem var(--gutter) 1.8rem;
  background: linear-gradient(180deg, rgba(20,17,10,.82), rgba(8,7,5,.88));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,235,180,.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.panel::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent); opacity: .7;
}
h2 { margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1; letter-spacing: .06em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0 0 1.2rem; color: var(--muted); font-size: .98rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .35rem; }
label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(0,0,0,.45); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
  transition: border-color .25s, box-shadow .25s, background .25s; min-height: 48px;
}
textarea { resize: vertical; min-height: 7.5rem; }
input::placeholder { color: rgba(163,154,134,.6); }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.18), 0 0 24px rgba(212,175,55,.12); background: rgba(0,0,0,.6); }
.field.invalid input, .field.invalid textarea { border-color: #c2563d; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.btn {
  position: relative; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; overflow: hidden;
  min-height: 52px; padding: .9rem 1.6rem; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .12em; color: #120d02; text-decoration: none;
  background: var(--gold-grad); background-size: 200% 200%;
  box-shadow: 0 10px 30px rgba(212,175,55,.25), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .25s var(--ease), box-shadow .25s, filter .25s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(-130%); transition: transform .7s var(--ease); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212,175,55,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.is-busy .btn-label::after { content: "…"; }
.btn.is-done { background: linear-gradient(135deg, #cfe8c5, #7fb77e); }

.form-inline { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .form-inline { grid-template-columns: 1fr auto; align-items: end; }
  .form-inline .status { grid-column: 1 / -1; }
}
.status { margin: 0; min-height: 1.4em; font-size: .95rem; color: var(--muted); }
.status.ok { color: #9ed89a; }
.status.err { color: #e08a73; }

/* ---------- social ---------- */
.social { margin-top: 2.4rem; text-align: center; }
.social ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; max-width: 480px; margin-inline: auto; }
.social a {
  display: grid; justify-items: center; gap: .45rem; padding: 1rem .4rem; border-radius: 14px; text-decoration: none;
  color: var(--gold-2); border: 1px solid var(--line); background: rgba(12,11,9,.6);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.social svg { width: 30px; height: 30px; fill: currentColor; transition: transform .35s var(--ease); }
.social span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.social a:hover, .social a:focus-visible { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 34px rgba(212,175,55,.18); background: rgba(20,17,10,.9); outline: none; }
.social a:hover svg { transform: scale(1.12) rotate(-4deg); }
.handle { margin: 1rem 0 0; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .14em; color: var(--gold); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; text-align: center; padding: 1rem var(--gutter) max(2rem, env(safe-area-inset-bottom)); color: var(--muted); font-size: .8rem; }
.foot p { margin: .25rem 0; }
.foot a { color: var(--gold); text-decoration: none; }
.noscript { position: relative; z-index: 1; margin: 1rem var(--gutter); padding: 1rem; border: 1px solid var(--line); border-radius: 12px; text-align: center; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .flyer-frame, .flyer-frame::after, .btn::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .social a, .social svg { transition: none; }
}
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .hero { padding-top: 40px; }
  .panel { padding: 2rem 2rem 2.2rem; }
}

/* ====================== v2: elite motion + legal pages ====================== */

/* scroll progress */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 30; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; box-shadow: 0 0 12px rgba(243,215,122,.6); }

/* sparkles (added by JS) */
.spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: radial-gradient(circle, #fff4c9 0%, #f3d77a 45%, rgba(243,215,122,0) 70%); opacity: 0; will-change: transform, opacity; animation: twinkle var(--d, 9s) ease-in-out var(--delay, 0s) infinite; }
@keyframes twinkle { 0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.4); } 18% { opacity: .9; } 50% { opacity: .35; transform: translate3d(var(--x, 10px), -60px, 0) scale(1.1); } 82% { opacity: .8; } 100% { opacity: 0; transform: translate3d(calc(var(--x, 10px) * 1.6), -130px, 0) scale(.3); } }

/* hero halo behind the flyer */
.hero { position: relative; }
.halo { position: absolute; left: 50%; top: 42%; width: min(120vw, 820px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(243,215,122,.22) 0%, rgba(212,175,55,.10) 35%, rgba(0,0,0,0) 68%); animation: halo 6s ease-in-out infinite alternate; }
@keyframes halo { from { transform: translate(-50%, -50%) scale(.92); opacity: .75; } to { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } }

/* facts: staggered word rise */
.facts span:not(.dot) { display: inline-block; opacity: 0; transform: translateY(14px); animation: word-in .8s var(--ease) forwards; }
.facts span:nth-child(1) { animation-delay: .5s; } .facts span:nth-child(3) { animation-delay: .65s; } .facts span:nth-child(5) { animation-delay: .8s; }
@keyframes word-in { to { opacity: 1; transform: none; } }

/* marquee strip */
.marquee { margin: 2.4rem calc(-1 * var(--gutter)) 0; padding: .9rem 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(212,175,55,.06), rgba(0,0,0,0)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; white-space: nowrap; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .18em; color: var(--gold); animation: marquee 34s linear infinite; }
.marquee-track > * { margin-right: 1.4rem; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); flex: none; box-shadow: 0 0 10px rgba(243,215,122,.8); }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* logo shimmer + subline */
.brand { flex-direction: column; align-items: center; gap: .9rem; padding-top: 2.4rem; }
.brand picture { position: relative; display: block; overflow: hidden; border-radius: 12px; }
.brand picture::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 38%, rgba(255,244,201,.22) 50%, transparent 62%); transform: translateX(-130%); animation: sheen 6.5s var(--ease) 2.2s infinite; }
.brand-sub { margin: 0; text-align: center; color: var(--muted); font-size: .9rem; letter-spacing: .04em; max-width: 34rem; }

/* heading underline wipe */
h2 { position: relative; padding-bottom: .55rem; }
h2::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold-grad); transition: width 1.1s var(--ease) .25s; box-shadow: 0 0 14px rgba(243,215,122,.5); }
.in h2::after { width: 64px; }

/* social stagger + hover glow */
.social li:nth-child(1) { --i: 0; } .social li:nth-child(2) { --i: 1; } .social li:nth-child(3) { --i: 2; } .social li:nth-child(4) { --i: 3; }
.social li { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
.social.in li { opacity: 1; transform: none; }

/* magnetic buttons (JS sets --mx/--my) */
.btn { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); }
.btn:hover { transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 2px), 0); }

/* footer */
.foot { padding-top: 2.6rem; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--line); }
.foot-crest { margin: 0 auto .6rem; width: 64px; height: 64px; filter: drop-shadow(0 6px 18px rgba(212,175,55,.35)); }
.foot-title { margin: 0; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .16em; color: var(--gold-2); }
.foot-title sup { font-size: .5em; letter-spacing: 0; vertical-align: super; margin-left: .15em; }
.foot-meta { margin: .4rem 0 0; line-height: 1.7; }
.foot-mail { margin: .6rem 0 0; font-size: .95rem; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .5rem; margin: 1.3rem 0 0; }
.legal-links a { display: inline-block; padding: .5rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .78rem; letter-spacing: .04em; background: rgba(12,11,9,.6); transition: border-color .3s, background .3s, transform .3s var(--ease), color .3s; }
.legal-links a:hover, .legal-links a:focus-visible { border-color: var(--gold); background: rgba(212,175,55,.12); color: var(--gold-2); transform: translateY(-2px); outline: none; }
.legal-links a[aria-current="page"] { border-color: var(--gold); color: var(--gold-2); }
.copyright { margin: 1.4rem auto 0; max-width: 36rem; font-size: .74rem; line-height: 1.7; color: var(--muted); }

/* ---------- legal document pages ---------- */
.doc-head { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) var(--gutter) 0; }
.back { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold-2); text-decoration: none; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .14em; padding: .4rem 0; }
.back img { border-radius: 6px; }
.back:hover span { text-decoration: underline; text-underline-offset: 4px; }
.doc { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 1.2rem var(--gutter) 2rem; }
.doc-body { padding: 1.8rem var(--gutter) 2rem; background: linear-gradient(180deg, rgba(20,17,10,.82), rgba(8,7,5,.9)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.55); animation: rise .9s var(--ease) both; }
.eyebrow { margin: 0 0 .4rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.doc-body h1 { margin: 0 0 .3rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1; letter-spacing: .05em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.updated { margin: 0 0 1.6rem; color: var(--muted); font-size: .85rem; }
.doc-body h2 { font-size: 1.55rem; letter-spacing: .08em; margin: 2rem 0 .6rem; padding-bottom: .4rem; }
.doc-body h2::after { width: 48px; }
.doc-body h3 { margin: 1.3rem 0 .4rem; font-size: 1rem; font-weight: 600; color: var(--gold-2); }
.doc-body p, .doc-body li { color: var(--ink); font-size: .97rem; line-height: 1.7; }
.doc-body ul { padding-left: 1.2rem; margin: .4rem 0 1rem; }
.doc-body li { margin: .35rem 0; }
.doc-body a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(243,215,122,.45); }
.doc-body a:hover { text-decoration-color: var(--gold-2); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.doc-body .table-wrap { overflow-x: auto; margin: .8rem 0 1.2rem; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: .6rem .7rem; border: 1px solid var(--line); }
.doc-body th { color: var(--gold-2); font-weight: 600; background: rgba(212,175,55,.08); white-space: nowrap; }
.doc-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; color: var(--gold-2); }
.doc-nav { margin-top: 1.6rem; }
.doc-page .foot { padding-top: .5rem; }

@media (prefers-reduced-motion: reduce) {
  .spark, .halo, .marquee-track, .brand picture::after, .facts span:not(.dot), .doc-body { animation: none !important; }
  h2::after, .legal-links a { transition: none; }
  .facts span:not(.dot) { opacity: 1; transform: none; }
  .social li { opacity: 1; transform: none; transition: none; }
  .progress { display: none; }
}
@media (min-width: 720px) {
  .marquee { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .marquee-track { font-size: 1.75rem; }
  .doc-body { padding: 2.4rem 2.4rem 2.6rem; }
}

/* ====================== v4: audit fixes ====================== */
.no-js .form { display: none; }
.no-js .reveal, .no-js .social li { opacity: 1; transform: none; }
.fine { margin: 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.fine a { color: var(--gold-2); }
.form-inline .fine { grid-column: 1 / -1; }
.marquee-wrap { position: relative; }
.nf { position: relative; z-index: 1; text-align: center; padding: 18vh var(--gutter) 4rem; max-width: var(--maxw); margin: 0 auto; }
.nf h1 { margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1; letter-spacing: .06em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
