/* Breaking Skies: --d runs 0 (sunny) to 1 (Halloween storm). Picking a bigger
   amount or playing the teaser raises it. Decoration only: text, fields and
   buttons keep their colors, and every overlay ignores clicks. */
@property --d { syntax: '<number>'; inherits: true; initial-value: 0; }
:root {
  --d: 0;
  transition: --d .9s ease;
  /* La Vernia colors: royal blue, black, white. Raincoat yellow as a small accent (the show is about rain). */
  --bg: #050505;
  --royal: #0052e0;
  --royal-hi: #3b8bff;
  --raincoat: #ffd60a;
  --ink: #ffffff;
  --muted: #b9bec9;
  --card: #111214;
  --field: #08090b;
  --line: #2a2d33;
  --err: #ff8a7a;
  --sun: #ffc94a;
  --blood: #ff2a36;
  --web: rgba(225,220,240,.55);
}
:root.scrubbing { transition: --d .15s linear; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  background-image:
    radial-gradient(700px 360px at 50% -180px, rgba(255,201,74,.38) 0%, transparent 70%),
    radial-gradient(1100px 560px at 50% -220px, rgba(0,82,224,.5) 0%, transparent 70%);
  font: 17px/1.55 Barlow, -apple-system, Helvetica, Arial, sans-serif;
}
a { color: var(--royal-hi); }
/* The storm sky fades in over the sunny one. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--d);
  background:
    radial-gradient(1100px 560px at 50% -220px, rgba(120,10,22,.75) 0%, transparent 70%),
    radial-gradient(900px 420px at 50% 115%, rgba(255,30,45,.2) 0%, transparent 70%),
    #07050a;
}
/* Film grain and a vignette: the "degraded" part. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: calc(var(--d) * .9);
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; }
.top { display: flex; align-items: center; gap: 12px; padding: 16px 0; color: var(--muted); font-size: 14px; }
.top img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 4px; display: block; }

.hero { text-align: center; padding: 18px 0 8px; position: relative; }
.kicker { display: inline-block; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--ink); background: var(--royal); border: 0; border-radius: 999px; padding: 4px 12px; }
.title { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(40px, 10vw, 72px); line-height: 1.02; margin: 14px 0 12px; text-transform: uppercase; letter-spacing: .01em; }
.title .hl { color: color-mix(in srgb, var(--royal-hi), var(--blood) calc(var(--d) * 100%)); }
.lede { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.lede strong { color: var(--ink); }
.notes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.notes svg { position: absolute; fill: var(--royal-hi); opacity: calc(.3 - var(--d) * .15); }
.notes svg.drop { opacity: calc(.3 + var(--d) * .3); }
.notes svg.bat { fill: #c8c2c9; opacity: calc(var(--d) * .6); }

.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-top: 18px; }
/* Cobweb in each card's corner, spun in as the storm comes. */
.card::after { content: ""; position: absolute; top: 0; right: 0; width: 64px; height: 64px; border-top-right-radius: 18px; pointer-events: none; opacity: calc(var(--d) * .45); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23e6e0e2' stroke-width='1.1'%3E%3Cpath d='M100 0L20 0M100 0L35 45M100 0L70 70M100 0L100 85'/%3E%3Cpath d='M78 0Q82 12 92 14Q90 20 100 22M56 0Q62 22 80 26Q78 38 100 44M36 0Q44 32 66 40Q64 56 100 66M24 4Q30 42 52 56Q54 72 100 84'/%3E%3C/svg%3E") no-repeat top right / contain; }
h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 28px; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 6px; }

.progress .nums { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.progress .raised { font-family: Anton, Impact, sans-serif; font-size: 46px; line-height: 1; color: var(--ink); }
.progress .goal { color: var(--muted); font-size: 18px; }
.bar { height: 18px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); overflow: hidden; margin: 14px 0 10px; }
.bar > i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--royal), var(--royal-hi) 82%, var(--raincoat)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.progress .sub { margin: 0; color: var(--muted); }
.progress .sub b { color: var(--ink); }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 8px; }
.amt { --lvl: 0; position: relative; overflow: hidden; appearance: none; border: 2px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, color-mix(in srgb, var(--sun), #9a1020 calc(var(--lvl) * 100%)) 16%, transparent), transparent 80%), var(--field); color: var(--ink); border-radius: 12px; padding: 14px 6px; font: 700 20px/1 Barlow, sans-serif; cursor: pointer; }
/* Bigger amount, more cobweb. */
.amt::after { content: ""; position: absolute; top: 0; right: 0; width: 44px; height: 44px; pointer-events: none; opacity: calc(var(--lvl) * .8); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23e6e0e2' stroke-width='1.1'%3E%3Cpath d='M100 0L20 0M100 0L35 45M100 0L70 70M100 0L100 85'/%3E%3Cpath d='M78 0Q82 12 92 14Q90 20 100 22M56 0Q62 22 80 26Q78 38 100 44M36 0Q44 32 66 40Q64 56 100 66M24 4Q30 42 52 56Q54 72 100 84'/%3E%3C/svg%3E") no-repeat top right / contain; }
.amt[aria-pressed="true"] { border-color: var(--ink); background: var(--royal); box-shadow: 0 0 0 3px rgba(59,139,255,.3); }
.amt:disabled { opacity: .35; cursor: not-allowed; }
.other { display: none; margin-top: 4px; }
.other.on { display: block; }
.dollar { position: relative; }
.dollar span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.dollar input { padding-left: 30px; }

label { display: block; font-weight: 600; margin: 14px 0 6px; }
.hint, .opt { font-weight: 400; color: var(--muted); font-size: 14px; }
input[type=text], input[type=email], input[type=number] {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--field);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
input:focus { outline: none; border-color: var(--royal-hi); box-shadow: 0 0 0 3px rgba(59,139,255,.3); }
.go { display: block; width: 100%; margin-top: 20px; border: 0; border-radius: 14px; padding: 17px 16px; font: 700 19px/1.2 Barlow, sans-serif; color: #fff; background: var(--royal); cursor: pointer; }
.go:hover { background: #0a5ef5; }
.go:disabled { opacity: .6; cursor: wait; }
.under { text-align: center; color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.error { color: var(--err); font-weight: 600; margin: 10px 0 0; min-height: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field); cursor: pointer; font-weight: 400; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--royal); }
.check b { display: block; }
.check.sub { margin-top: 8px; }
input:disabled { opacity: .45; }
.check small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.hp { position: absolute; left: -9999px; }
.funded { text-align: center; }
.funded .big { font-family: Anton, Impact, sans-serif; font-size: 40px; color: var(--royal-hi); margin: 0; text-transform: uppercase; }
.hidden { display: none !important; }

.reel video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 14px; border-radius: 12px; background: #000; border: 1px solid var(--line); }
.teaser video { aspect-ratio: 960 / 736; }
.reel .tag { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--raincoat); margin-right: 8px; vertical-align: 2px; }
.reel .alt { text-align: center; font-size: 15px; color: var(--muted); margin: 12px 0 0; }

.faq dt { font-weight: 700; margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }
.contact p { margin: 6px 0; }
footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }

.confirm h1 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 9vw, 60px); line-height: 1.05; margin: 18px 0 8px; }
.confirm .status { font-size: 19px; font-weight: 600; }
.btn { display: inline-block; text-decoration: none; background: var(--royal); color: #fff; font-weight: 700; padding: 13px 20px; border-radius: 12px; }
.btn.plain { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }

@media (max-width: 420px) {
  .amounts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .amt { font-size: 18px; padding: 13px 4px; }
  .card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .bar > i, :root { transition: none; } }
