/* C&R Heating & Cooling — Rose City Air Festival giveaway landing page.
 *
 * Brand tokens from the official C&R guidelines (Fortitude Creative).
 * Headline font: Goodland is the brand face. Jason — drop the Goodland
 * OTFs into assets/fonts/ and uncomment the @font-face block; Playfair
 * Display is the approved fallback until then.
 */

/*
@font-face {
  font-family: "Goodland";
  src: url("../fonts/Goodland-UltraBold.otf") format("opentype");
  font-weight: 900; font-display: swap;
}
@font-face {
  font-family: "Goodland";
  src: url("../fonts/Goodland-Bold.otf") format("opentype");
  font-weight: 700; font-display: swap;
}
*/

:root {
  --navy: #212530;
  --slate: #333849;
  --navy-2: #2a2f3d;
  --line: #3a4156;
  --orange: #F37820;
  --orange-deep: #F26E21;
  --orange-hover: #FF8B36;
  --gold: #F9A72D;
  --tan: #EAC17C;
  --cream: #FFF1C6;
  --white: #FFFFFF;
  --danger: #D94B3A;
  --success: #3FAE5A;

  --font-display: "Goodland", "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max: 1100px;
}

* { box-sizing: border-box; }
:root { color-scheme: dark; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--tan);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); }
button { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
}
.tagline { font-family: var(--font-script); color: var(--gold); font-weight: 700; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(33, 37, 48, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.site-header .logo img { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.header-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 480px) { .site-header .logo img { height: 44px; } .phone-link { font-size: 14px; } .header-cta .btn-sm { padding: 9px 12px; font-size: 11px; } }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cream); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.phone-link svg { width: 18px; height: 18px; fill: var(--orange); }
.phone-link:hover { color: var(--gold); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--navy); text-decoration: none;
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 15px;
  padding: 16px 28px; border-radius: 12px; border: 0; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(243, 120, 32, 0.35);
  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn-sm { padding: 10px 16px; font-size: 12px; border-radius: 9px; box-shadow: none; }
.btn-ghost {
  background: transparent; color: var(--tan); box-shadow: none; border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--cream); border-color: var(--tan); filter: none; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 0 72px;
  background:
    radial-gradient(120% 70% at 50% 108%, rgba(243, 120, 32, 0.45) 0%, rgba(249, 167, 45, 0.18) 35%, rgba(33, 37, 48, 0) 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--slate) 100%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 {
  font-size: clamp(38px, 7.5vw, 68px); font-weight: 900; color: var(--cream);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--tan); max-width: 560px; margin-top: 16px; }
.hero .lede strong { color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.hero .fineprint { font-size: 12px; opacity: 0.75; margin-top: 14px; }

.event-chip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: rgba(255, 241, 198, 0.08); border: 1px solid rgba(249, 167, 45, 0.35);
  color: var(--cream); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.event-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(243,120,32,0.25); }

/* Sky scene: stars, plane with banner, pine silhouettes. Pure CSS/SVG. */
.sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pines { position: absolute; left: 0; right: 0; bottom: -2px; height: 120px; width: 100%; }
.pines svg { width: 100%; height: 100%; }

/* Hero side card: countdown + steps */
.hero-card {
  background: linear-gradient(180deg, rgba(42,47,61,.95) 0%, rgba(51,56,73,.95) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.hero-card h3 { color: var(--cream); font-size: 22px; font-weight: 700; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 6px; }
.countdown div { background: var(--navy); border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-size: 28px; color: var(--gold); line-height: 1; }
.countdown span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 14px; }
.steps li b { color: var(--cream); display: block; }
.steps .n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--navy); font-weight: 900; font-family: var(--font-display); font-size: 16px;
}

/* ---------------------------------------------------------------- sections */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-head h2 { font-size: clamp(30px, 5vw, 44px); color: var(--gold); font-weight: 800; }
.section-head p { margin: 12px 0 0; font-size: 17px; }
.section-head p strong { color: var(--cream); }

/* Prize cards — tap to pick the one you'd want (records preference) */
.prizes { display: grid; gap: 20px; }
@media (min-width: 800px) { .prizes { grid-template-columns: 1fr 1fr; } }
.prize {
  position: relative; text-align: left; width: 100%;
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--slate) 100%);
  border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  color: inherit; padding: 0; box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.prize:hover { transform: translateY(-3px); border-color: rgba(249,167,45,.6); }
.prize[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243,120,32,.25), var(--shadow); }
.prize .media { aspect-ratio: 16 / 10; background: var(--navy); }
.prize .media img { width: 100%; height: 100%; object-fit: cover; }
.prize .body { padding: 20px 22px 22px; }
.prize h3 { color: var(--cream); font-size: 26px; font-weight: 800; }
.prize .sub { color: var(--gold); font-weight: 600; font-size: 14px; margin-top: 4px; }
.prize ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.prize li { display: flex; gap: 10px; align-items: flex-start; }
.prize li::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212530' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/12px no-repeat; }
.prize .pick {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange);
}
.prize[aria-pressed="true"] .pick::before { content: "✓ "; }
.prize[aria-pressed="true"] .pick { color: var(--gold); }
.prize .ribbon {
  position: absolute; top: 14px; left: -6px; background: var(--orange); color: var(--navy);
  font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px 6px 16px; border-radius: 0 8px 8px 0; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.prize-note { text-align: center; font-size: 14px; opacity: .8; margin-top: 18px; }
.prize-note strong { color: var(--cream); }

/* ---------------------------------------------------------------- form */
.enter { background: linear-gradient(180deg, var(--slate) 0%, var(--navy) 100%); position: relative; }
.enter::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--orange-deep), var(--gold)); }
.form-card {
  max-width: 620px; margin: 0 auto; background: var(--cream); color: var(--navy);
  border-radius: 18px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow);
}
.form-card h2 { color: var(--navy); font-size: clamp(28px, 5vw, 38px); font-weight: 900; }
.form-card .hint { margin: 8px 0 20px; font-size: 15px; color: #4b4f5c; }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 520px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.field label small { font-weight: 500; letter-spacing: 0; text-transform: none; color: #6b6f7c; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 17px; padding: 14px 14px; border-radius: 10px;
  border: 2px solid #d9cfae; background: var(--white); color: var(--navy); outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243,120,32,.2); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .err { font-size: 12px; color: var(--danger); font-weight: 600; min-height: 0; }
.stack { display: grid; gap: 14px; margin-top: 14px; }

.seg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; background: #efe3bd; padding: 5px; border-radius: 12px; }
.seg button {
  border: 0; background: transparent; padding: 10px 6px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--navy); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #3a3f4d; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange); flex: 0 0 auto; }
.check b { color: var(--navy); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 20px; }
.form-actions .legal { font-size: 12px; color: #6b6f7c; margin-top: 12px; text-align: center; }
.form-actions .legal a { color: var(--orange-deep); font-weight: 600; }
.form-error {
  margin-top: 14px; background: #fde9e6; color: #8a2a1f; border: 1px solid #f3b9b0; padding: 12px 14px; border-radius: 10px; font-size: 14px;
}
.form-error a { color: inherit; font-weight: 700; }

/* ---------------------------------------------------------------- success */
.success { text-align: center; }
.success .big { width: 96px; margin: 0 auto; } .success .big svg { width: 100%; height: auto; }
.success h2 { color: var(--navy); font-size: clamp(30px, 6vw, 42px); font-weight: 900; margin-top: 8px; }
.success p { color: #3a3f4d; font-size: 16px; }
.success .dup { background: #fff5dd; border: 1px solid #f0d58a; border-radius: 10px; padding: 10px 14px; font-size: 14px; color: #6b5200; margin-top: 12px; }

/* Bonus reveal — a flip card. Everyone gets the same New System Savings
   offer; the "reveal" is the fun, not a gamble. */
.bonus { margin: 24px auto 0; max-width: 420px; perspective: 1200px; }
.bonus-inner { display: grid; transform-style: preserve-3d; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.bonus.flipped .bonus-inner { transform: rotateY(180deg); }
.bonus-face {
  grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; display: grid; place-items: center; padding: 22px; min-height: 210px;
}
.bonus-front {
  background: linear-gradient(180deg, var(--navy) 0%, var(--slate) 100%); color: var(--cream); cursor: pointer; border: 2px solid var(--orange);
  box-shadow: var(--shadow);
}
.bonus-front .eyebrow { color: var(--gold); }
.bonus-front h3 { font-size: 26px; font-weight: 800; color: var(--cream); margin-top: 6px; }
.bonus-front .tap { margin-top: 10px; font-size: 13px; opacity: .8; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.bonus-back {
  transform: rotateY(180deg);
  background: var(--white); border: 3px dashed var(--orange); color: var(--navy);
}
.bonus-back .amount { font-family: var(--font-display); font-size: 52px; font-weight: 900; color: var(--orange-deep); line-height: 1; }
.bonus-back .what { font-weight: 800; font-size: 16px; margin-top: 6px; }
.bonus-back .code { display: inline-block; margin-top: 10px; background: var(--navy); color: var(--gold); font-weight: 800; letter-spacing: .12em; padding: 6px 12px; border-radius: 8px; font-size: 13px; }
.bonus-back small { display: block; margin-top: 8px; font-size: 11px; color: #6b6f7c; }

.share { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.share .btn-sm { text-transform: none; letter-spacing: 0; font-weight: 700; }
.share .fb { background: var(--navy); color: var(--cream); }

/* confetti canvas */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* ---------------------------------------------------------------- trust + how */
.how { background: var(--navy); }
.how-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-card { background: linear-gradient(180deg, var(--navy-2), var(--slate)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.how-card-photo { padding-top: 0; overflow: hidden; }
.how-card-photo img { width: calc(100% + 44px); max-width: none; height: auto; margin: 0 -22px 14px; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.prize li > span { flex: 1 1 auto; }
.prize li b { color: var(--cream); }
.how-card .n { font-family: var(--font-display); font-size: 40px; color: var(--orange); font-weight: 900; line-height: 1; }
.how-card h3 { color: var(--cream); font-size: 20px; font-weight: 700; margin-top: 8px; }
.how-card p { margin: 8px 0 0; font-size: 15px; }

.trust { background: linear-gradient(180deg, var(--slate), var(--navy)); border-top: 1px solid var(--line); }
.trust .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .trust .wrap { grid-template-columns: auto 1fr; } }
.trust img { height: 120px; width: auto; margin: 0 auto; }
.trust h2 { color: var(--gold); font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.trust p { font-size: 16px; }
.trust .tagline { font-size: clamp(24px, 4vw, 32px); display: block; margin-top: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge { border: 1px solid rgba(249,167,45,.45); color: var(--cream); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255,241,198,.06); }
.badge .stars { position: static; display: inline; background: none; color: var(--gold); letter-spacing: 1px; }

/* ---------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 100px; font-size: 13px; }
footer .wrap { display: grid; gap: 10px; text-align: center; }
footer .contact { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; color: var(--cream); font-weight: 600; }
footer .contact a { color: var(--cream); text-decoration: none; }
footer .legal { opacity: .7; font-size: 12px; }
footer .legal a { color: var(--gold); }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(33,37,48,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.sticky-cta .btn { width: 100%; font-size: 14px; padding: 14px 16px; }
@media (min-width: 900px) { .sticky-cta { display: none; } footer { padding-bottom: 32px; } }
.sticky-cta[hidden] { display: none; }

/* ---------------------------------------------------------------- rules modal */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.7); }
.modal-card { background: var(--white); color: var(--navy); max-width: 720px; width: 100%; max-height: 85vh; overflow: auto; border-radius: 16px; padding: 24px; }
.modal-card h2 { color: var(--navy); font-size: 26px; font-weight: 900; }
.modal-card h3 { font-family: var(--font-body); font-size: 15px; font-weight: 800; margin-top: 18px; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-deep); }
.modal-card p, .modal-card li { font-size: 14px; color: #2c3040; }
.modal-card .close { float: right; }
.modal-card .todo { background: #fff5dd; border-left: 4px solid var(--gold); padding: 8px 12px; font-size: 13px; }

/* motion helpers */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bonus-inner { transition: none; } }

/* Review/staging banner (CONFIG.previewMode) */
.preview-bar { background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; text-align: center; padding: 8px 16px; }

/* =====================================================================
   MOTION — production motion system (airshow-fx.js). Everything below
   is decorative; the page reads fine with it off.
   ===================================================================== */

/* Hero sky canvas + runway approach lights */
#sky-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.runway { position: absolute; left: 0; right: 0; bottom: 5px; display: flex; justify-content: space-between; padding: 0 3%; z-index: 2; }
.runway span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .18; box-shadow: 0 0 6px rgba(249,167,45,.6); animation: chase 2.6s linear infinite; animation-delay: calc(var(--i) * .09s); }
@keyframes chase { 0%, 70%, 100% { opacity: .18; } 8% { opacity: 1; } 20% { opacity: .35; } }

/* Hero entrance choreography (masked line reveal + staggered rise) */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.fx-ready .hero h1 .line > span { display: inline-block; transform: translateY(112%); animation: lineUp .9s cubic-bezier(.2,.8,.2,1) forwards; }
.fx-ready .hero h1 .line:nth-child(1) > span { animation-delay: .25s; }
.fx-ready .hero h1 .line:nth-child(2) > span { animation-delay: .38s; }
.fx-ready .hero h1 .line:nth-child(3) > span { animation-delay: .51s; }
@keyframes lineUp { to { transform: translateY(0); } }
.fx-ready .hero .event-chip, .fx-ready .hero .lede, .fx-ready .hero .hero-actions, .fx-ready .hero .fineprint { opacity: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.fx-ready .hero .event-chip { animation-delay: .1s; }
.fx-ready .hero .lede { animation-delay: .7s; }
.fx-ready .hero .hero-actions { animation-delay: .85s; }
.fx-ready .hero .fineprint { animation-delay: 1s; }
.fx-ready .hero-card.reveal { transition-delay: .9s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.event-chip .dot { animation: beacon 1.8s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { box-shadow: 0 0 0 4px rgba(243,120,32,.25); } 50% { box-shadow: 0 0 0 8px rgba(243,120,32,.08); } }

/* Countdown digit tick */
.countdown b.tick { animation: tick .38s cubic-bezier(.2,.8,.2,1); }
@keyframes tick { 0% { transform: translateY(-.35em); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* Contrail dividers: smoke line draws in, a jet flies its length */
.contrail { position: relative; height: 80px; margin: -40px 0 -40px; z-index: 3; pointer-events: none; overflow: hidden; }
.contrail svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.contrail .trail { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s cubic-bezier(.4,0,.2,1); filter: drop-shadow(0 0 6px rgba(249,167,45,.45)); }
.contrail.in .trail { stroke-dashoffset: 0; }
.contrail .cjet { position: absolute; left: 0; top: 0; width: 34px; height: 26px; margin: -13px 0 0 -17px; opacity: 0; will-change: transform; }
.contrail .cjet svg { width: 100%; height: 100%; }

/* Prize cards: tilt + light sheen following the pointer, jet sweep on pick */
.prize { transform-style: preserve-3d; will-change: transform; --mx: 50%; --my: 50%; }
.prize .media { position: relative; overflow: hidden; }
.prize .media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(240px 240px at var(--mx) var(--my), rgba(255,241,198,.16), transparent 70%); }
.prize:hover .media::after { opacity: 1; }
.prize .pick { transition: transform .2s; }
.prize.picked-anim .pick { animation: stamp .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes stamp { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: none; } }
.jet-sweep { position: absolute; top: 22%; left: -14%; z-index: 2; display: flex; align-items: center; opacity: 0; pointer-events: none; }
.jet-sweep i { display: block; width: 0; height: 4px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--orange) 35%, var(--gold)); opacity: .95; box-shadow: 0 0 10px rgba(249,167,45,.7); }
.jet-sweep .sjet { width: 56px; height: 42px; margin-left: -6px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.prize.picked-anim .jet-sweep { animation: sweep 1.25s cubic-bezier(.3,0,.2,1) forwards; }
.prize.picked-anim .jet-sweep i { animation: smoke 1.25s cubic-bezier(.3,0,.2,1) forwards; }
@keyframes sweep { 0% { left: -14%; transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { left: 104%; transform: translateY(-46px); opacity: 0; } }
@keyframes smoke { 0% { width: 0; } 60% { width: 220px; } 100% { width: 90px; opacity: 0; } }

/* Buttons: shine sweep on hover, ripple on press */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-130%); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(130%); }
.btn-ghost::after { display: none; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,241,198,.45); transform: scale(0); animation: ripple .65s ease-out forwards; pointer-events: none; }
.btn-ghost .ripple { background: rgba(249,167,45,.25); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Header compacts a touch once you scroll */
.site-header .wrap { transition: padding .25s ease; }
.site-header .logo img { transition: height .25s ease; }
.site-header.scrolled .wrap { padding-block: 6px; }
.site-header.scrolled .logo img { height: 42px; }

/* Bonus card: gentle hover lift before the flip */
.bonus-front { transition: transform .25s ease, box-shadow .25s ease; }
.bonus:not(.flipped) .bonus-front:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.45); }

@media (prefers-reduced-motion: reduce) {
  .runway span, .event-chip .dot, .countdown b.tick, .prize.picked-anim .pick, .prize.picked-anim .jet-sweep, .prize.picked-anim .jet-sweep i { animation: none !important; }
  .fx-ready .hero h1 .line > span { transform: none; animation: none; }
  .fx-ready .hero .event-chip, .fx-ready .hero .lede, .fx-ready .hero .hero-actions, .fx-ready .hero .fineprint { opacity: 1; animation: none; }
  .contrail .trail { transition: none; stroke-dashoffset: 0; }
  .btn::after { display: none; }
  .prize { transform: none !important; }
}
