/* The $15,000 Giveaway — Fable take. Black and gold. Anton for the big words, Archivo for everything else. */
@font-face { font-family: "Anton"; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/anton-400.woff2') format('woff2'); }
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/archivo-400.woff2') format('woff2'); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/archivo-600.woff2') format('woff2'); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/archivo-800.woff2') format('woff2'); }

:root {
  --bg: #080807; --bg2: #0F0E0C; --card: #16140F; --ink: #F4F1EA; --muted: #B5B1A9; --line: #35301F;
  --gold: #E6BB60; --gold-hi: #FFE7A0; --gold-lo: #C8932F; --gold-dim: rgba(230,187,96,.22); --err: #FF8A9A;
  --display: "Anton", Impact, "Arial Black", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gold-grad: linear-gradient(120deg, var(--gold-hi), var(--gold-lo));
  --gutter: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .98; font-size: clamp(34px, 5.2vw, 58px); margin: 8px 0 22px; text-wrap: balance; }
h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 72px var(--gutter); }
.kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold-grad); vertical-align: middle; margin-right: 10px; }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 16px 0 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--gold-hi); color: #100E09; padding: 8px 14px; font-weight: 800; border-radius: 4px; }
.skip:focus { left: 16px; }

/* Buttons */
.cta, button { font-family: var(--body); display: inline-block; text-decoration: none; background: var(--gold-grad); border: 2px solid #EFD28A; border-radius: 4px; padding: 15px 32px; color: #100E09; font-weight: 800; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 30px rgba(200,147,47,.25); transition: transform .15s, filter .15s; }
.cta:hover, button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cta:active, button:active { transform: translateY(0); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); background: rgba(8,8,7,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--gold-dim); }
.brand { display: block; line-height: 0; }
.logo img { display: block; height: 44px; width: auto; }
.logo.foot img { height: 60px; margin-bottom: 6px; }
.bar-nav { display: flex; align-items: center; gap: 22px; }
.bar-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.bar-nav a:hover { color: var(--gold-hi); }
.bar-cta { padding: 9px 16px; border-radius: 4px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #100E09 !important; background: var(--gold-grad); }

/* Hero: full-bleed art, title stack centred, gold rails either side */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(92vh, 860px); display: flex; align-items: flex-end; text-align: center; }
.hero-art { position: absolute; inset: 0; margin: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,7,.92) 0%, rgba(8,8,7,.55) 34%, rgba(8,8,7,.1) 60%, rgba(8,8,7,.55) 84%, var(--bg) 100%); }
.hero-art figcaption { position: absolute; right: 16px; bottom: 12px; font-size: 12px; color: #D8D4CC; letter-spacing: .02em; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.hero-copy { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; padding: 72px var(--gutter) 84px; }
h1 { margin: 0 auto; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: .005em; font-size: clamp(66px, 15.5vw, 176px); text-shadow: 0 6px 40px rgba(0,0,0,.6); }
h1 span { display: block; }
h1 .the { font-size: .3em; letter-spacing: .36em; margin-bottom: .1em; padding-left: .36em; color: var(--gold-hi); }
h1 .value { color: var(--gold); background: linear-gradient(180deg, #FFF0AD 10%, #E6BB60 55%, #C8932F 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 24px rgba(200,147,47,.35)); }
h1 .word { color: #FFF; }
.support { font-size: clamp(19px, 2.3vw, 28px); font-weight: 600; color: #EEE; margin: 26px auto 30px; max-width: 32ch; }
.hero-cta { font-size: 20px; padding: 18px 44px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 28px 0 0; }
.chips li { border: 1px solid rgba(230,187,96,.55); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; background: rgba(8,8,7,.6); backdrop-filter: blur(4px); }
.group { margin: 16px 0 0; font-size: 15px; color: var(--gold-hi); }

/* Enter band: the form card rides up into the bottom of the hero */
.enter { background: var(--bg2); border-bottom: 1px solid var(--gold-dim); }
.enter:focus { outline: none; }
#enter, #groups, #prize { scroll-margin-top: 60px; }
.enter-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; padding-top: 0; }
.enter-lead { padding-top: 56px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 50px; min-height: 34px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 18px; color: #100E09; background: var(--gold-grad); }
.steps.big li { font-size: 18px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.form-panel { position: relative; z-index: 1; margin-top: -56px; border-top: 3px solid var(--gold); box-shadow: 0 30px 60px rgba(0,0,0,.55); }

/* Entry form */
form { display: grid; gap: 12px; }
label { display: grid; gap: 5px; font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type]), input[type=tel], input[type=email], select { font: inherit; padding: 12px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); width: 100%; min-width: 0; }
input:not([type]):focus, input[type=tel]:focus, input[type=email]:focus, select:focus { border-color: var(--gold); }
.hint { margin: -6px 0 4px; font-size: 13px; color: var(--muted); }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--gold); }
.optin { border-top: 1px solid var(--line); padding-top: 14px; }
.optin em { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 0; }
.notice { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
button { width: 100%; padding: 16px; border-radius: 6px; font-size: 19px; }
button:disabled { opacity: .6; cursor: wait; transform: none; }
.err { margin: 0; color: var(--err); font-size: 14px; }
.err:empty { display: none; }
.done h2 { font-size: 36px; margin: 0 0 10px; }
.done p { margin: 0; }

/* Prize facts: a gold-ruled ledger */
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--gold-dim); border-bottom: 1px solid var(--gold-dim); }
.facts li { padding: 26px 22px 26px 0; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--gold-dim); }
.facts li + li { padding-left: 22px; }
.facts li:last-child { border-right: 0; }
.facts b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 40px); line-height: 1; color: var(--gold-hi); }
.facts span { font-size: 15px; color: var(--muted); }

/* The idea */
.idea { background: var(--bg2); border-block: 1px solid var(--gold-dim); }
.trio { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trio li { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--card); overflow: hidden; }
.trio li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-grad); }
.trio li > b { display: block; font-family: var(--display); font-size: 56px; line-height: .9; color: var(--gold); margin-bottom: 14px; }
.trio p { margin: 0; color: var(--muted); }

/* Groups */
.causes { border-top: 1px solid var(--gold-dim); }
.cause-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cause-list li { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; padding: 12px 14px; background: var(--card); font-weight: 600; }
.pointer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.pointer .sub { margin: 10px 0 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 700px) { .pointer { grid-template-columns: 1fr; } .pointer .cta { text-align: center; } }
.groups-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.bonus { margin: 26px 0; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--bg2); border-radius: 0 8px 8px 0; }
.bonus b { color: var(--gold-hi); font-family: var(--display); font-weight: 400; font-size: 1.25em; letter-spacing: .02em; }
.rules-card { border-top: 3px solid var(--gold); }
.rules-card .steps li::before { background: transparent; color: var(--gold); border: 2px solid var(--gold); }

/* Short rules */
.rules { border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); }
.rules .wrap { padding: 36px var(--gutter) 56px; display: grid; gap: 10px; }
.rules p { margin: 0; }

/* Tablet */
@media (max-width: 900px) {
  .enter-grid, .groups-grid { grid-template-columns: 1fr; gap: 32px; }
  .enter-lead { padding-top: 48px; }
  .form-panel { margin-top: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li + li { border-right: 0; border-bottom: 1px solid var(--gold-dim); padding-left: 0; }
  .facts li:nth-child(odd) { border-right: 1px solid var(--gold-dim); padding-right: 22px; }
  .facts li:nth-child(even) { padding-left: 22px; }
  .facts li:nth-last-child(-n+2) { border-bottom: 0; }
  .trio { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .bar-nav a:not(.bar-cta) { display: none; }
  .logo img { height: 36px; }
  .hero { min-height: 0; align-items: flex-start; }
  .hero-art img { object-position: center 70%; }
  .hero-art::after { background: linear-gradient(180deg, rgba(8,8,7,.55) 0%, rgba(8,8,7,.15) 30%, rgba(8,8,7,.35) 62%, var(--bg) 100%); }
  .hero-copy { padding: 44px var(--gutter) 60px; }
  h1 { font-size: clamp(60px, 19vw, 90px); }
  .support { margin: 22px auto 24px; }
  .hero-cta, .cta { display: block; text-align: center; padding: 16px 20px; }
  .wrap { padding: 52px var(--gutter); }
  .enter-lead { padding-top: 44px; }
  .panel { padding: 20px 16px; }
  .steps.big li { font-size: 17px; }
  .row.two { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li, .facts li:nth-child(odd), .facts li:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--gold-dim); padding: 20px 0; }
  .facts li:last-child { border-bottom: 0; }
  .trio li > b { font-size: 44px; }
  .hero-art figcaption { right: 12px; bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, button { transition: none; }
  .cta:hover, button:hover { transform: none; }
}
