/* SEMA 2026 — public site. Brand: navy #0A0D27, gold #AD8558 → #F5D77F, Gabriel Sans + Host Grotesk */
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gabriel Sans"; src: url("../fonts/gabriel-sans-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../fonts/host-grotesk-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #05071a;
  --navy: #0a0d27;
  --navy-2: #0d1236;
  --navy-3: #131a4a;
  --blue-glow: #12237a;
  --gold-dark: #ad8558;
  --gold: #d6b46d;
  --gold-light: #f5d77f;
  --white: #ffffff;
  --text: #e9eaf4;
  --muted: #a6abc9;
  --faint: #6f7499;
  --line: rgba(214, 180, 109, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --ok: #7fd4a4;
  --err: #ff9a8b;
  --gold-grad: linear-gradient(100deg, #a77f52 0%, #d9b56e 30%, #f5d77f 50%, #d2ad68 70%, #a77f52 100%);
  --display: "Gabriel Sans", "Host Grotesk", system-ui, sans-serif;
  --body: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6;
  background: radial-gradient(120% 70% at 50% 110%, #0f1d6b 0%, rgba(15, 29, 107, 0) 60%), radial-gradient(80% 50% at 85% 0%, rgba(18, 35, 122, .35), transparent 70%), var(--ink);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--white); margin: 0; }
.eyebrow.gold { color: var(--gold); }
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .98; letter-spacing: -.005em; margin: 0; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; margin: 10px 0 14px; }
.lede { color: var(--muted); font-size: 17px; max-width: 620px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #1a1306; background: var(--gold-grad); background-size: 160% 100%; background-position: 0 0; box-shadow: 0 8px 30px -10px rgba(245, 215, 127, .55), inset 0 1px 0 rgba(255, 255, 255, .45); transition: background-position .5s ease, transform .15s ease, box-shadow .3s; white-space: nowrap; }
.btn:hover { color: #1a1306; background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(245, 215, 127, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn:active { transform: translateY(0); }
.btn.sm { --h: 40px; padding: 0 18px; font-size: 12px; }
.btn.ghost { background: transparent; color: var(--gold-light); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold-light); color: var(--white); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.voted { background: rgba(127, 212, 164, .12); color: var(--ok); border: 1px solid rgba(127, 212, 164, .4); box-shadow: none; }

/* ---------- rings motif ---------- */
.rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.rings::before, .rings::after { content: ""; position: absolute; left: 50%; top: 52%; width: 1500px; height: 1500px; translate: -50% -50%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 120px, rgba(32, 52, 160, .16) 121px 168px, transparent 169px 230px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 68%); mask-image: radial-gradient(circle, #000 30%, transparent 68%); }
.rings::after { width: 1100px; height: 1100px; top: 60%; left: 62%; opacity: .6; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { translate: -54% -46%; } }
@media (prefers-reduced-motion: reduce) { .rings::after { animation: none; } html { scroll-behavior: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); text-align: center; isolation: isolate; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-mark { width: 74px; margin: 0 auto 30px; opacity: .95; }
.hero .display { font-size: clamp(42px, 8.4vw, 104px); margin-top: 26px; }
.hero .display span { display: block; }
.year-rule { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 22px auto 0; font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .14em; color: var(--white); }
.year-rule::before, .year-rule::after { content: ""; width: clamp(50px, 10vw, 120px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 70%, transparent); }
.tagline { margin: 22px 0 0; font-family: var(--display); font-weight: 400; font-style: normal; font-size: clamp(16px, 2vw, 20px); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }

.countdown { display: flex; justify-content: center; gap: clamp(10px, 2vw, 18px); margin: 44px auto 0; }
.cd-unit { width: clamp(70px, 15vw, 116px); padding: 16px 6px 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(19, 26, 74, .78), rgba(10, 13, 39, .78)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.cd-num { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 5.6vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--white); }
.cd-lbl { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.cd-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .02em; }
.cd-note strong { color: var(--white); font-weight: 600; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); background: rgba(10, 13, 39, .6); }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 212, 164, .18); animation: pulse 2s infinite; }
.status-pill.closed i { background: var(--err); box-shadow: 0 0 0 4px rgba(255, 154, 139, .18); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127, 212, 164, 0); } }

/* ---------- event strip ---------- */
.event-strip { display: flex; justify-content: center; flex-wrap: wrap; border-block: 1px solid var(--line-soft); background: rgba(5, 7, 26, .5); }
.event-strip div { padding: 22px clamp(18px, 4vw, 48px); font-family: var(--display); font-weight: 500; font-size: clamp(14px, 1.8vw, 19px); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); position: relative; }
.event-strip div + div::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 2px; background: var(--gold-dark); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head { margin-bottom: 40px; }

/* progress */
.progress { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(13, 18, 54, .6); font-size: 14px; color: var(--muted); }
.progress[hidden] { display: none; }
.progress .bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--gold-grad); transition: width .6s ease; }
.progress strong { color: var(--white); }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 26px 24px 22px; border-radius: var(--radius); overflow: hidden; color: var(--text);
  background: linear-gradient(160deg, rgba(19, 26, 74, .9), rgba(8, 11, 34, .92)); border: 1px solid var(--line-soft); transition: transform .25s ease, border-color .25s, box-shadow .25s; isolation: isolate; }
.cat-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 190px; height: 150px; background: url("../img/mark-gold.svg") no-repeat center / contain; opacity: .07; z-index: -1; transition: opacity .3s, transform .4s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 24px 50px -24px rgba(245, 215, 127, .35); color: var(--text); }
.cat-card:hover::after { opacity: .16; transform: translate(-6px, -6px); }
.cat-num { font-family: var(--display); font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.cat-card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.12; text-transform: uppercase; margin: 14px 0 10px; color: var(--white); }
.cat-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cat-foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--faint); }
.cat-foot .go { color: var(--gold-light); font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.cat-card.is-voted { border-color: rgba(127, 212, 164, .35); }
.cat-card .voted-tag { display: none; color: var(--ok); font-size: 13px; }
.cat-card.is-voted .voted-tag { display: inline-flex; gap: 6px; align-items: center; }
.cat-card.is-voted .go { display: none; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: rgba(10, 13, 39, .55); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--display); font-size: 40px; font-weight: 300; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin: 18px 0 8px; color: var(--white); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* show / trophy */
.show { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.show-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.show-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245, 215, 127, .22), rgba(18, 35, 122, .25) 45%, transparent 70%); filter: blur(10px); }
.show-art img { position: relative; max-height: 520px; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.show dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 36px; margin: 28px 0 0; }
.show dt { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--faint); }
.show dd { margin: 0; font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--gold-light); text-transform: uppercase; grid-row: 2; }
@media (max-width: 860px) { .show { grid-template-columns: 1fr; } .show-art { min-height: 320px; } .show-art img { max-height: 360px; } }

/* rules */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 40px; }
.rules details { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
.rules summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; font-weight: 600; color: var(--white); }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; transition: transform .2s; }
.rules details[open] summary::after { transform: rotate(45deg); }
.rules p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- category page ---------- */
.cat-hero { position: relative; padding: clamp(48px, 7vw, 84px) 0 34px; text-align: center; overflow: hidden; isolation: isolate; }
.cat-hero .display { font-size: clamp(34px, 6vw, 68px); margin-top: 18px; }
.cat-hero .lede { margin: 18px auto 0; }
.cat-tabs { position: sticky; top: var(--header-h, 72px); z-index: 30; background: rgba(5, 7, 26, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line-soft); }
.cat-tabs ul { display: flex; gap: 6px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.cat-tabs ul::-webkit-scrollbar { display: none; }
.cat-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-size: 13px; color: var(--muted); border: 1px solid transparent; }
.cat-tabs a:hover { color: var(--white); }
.cat-tabs a[aria-current="page"] { color: var(--gold-light); border-color: var(--line); background: rgba(19, 26, 74, .7); }
.cat-tabs .tick { color: var(--ok); display: none; }
.cat-tabs a.is-voted .tick { display: inline; }

.nominee-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(26px, 3vw, 40px) 22px; padding-top: 44px; }
.nominee-grid .nominee { width: 236px; }
@media (max-width: 560px) { .nominee-grid { gap: 28px 12px; } .nominee-grid .nominee { width: calc(50% - 6px); } .nominee h3 { font-size: 15px; } }
.nominee { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 6px 4px; border-radius: var(--radius); transition: opacity .3s; }
.oval { position: relative; width: min(100%, 190px); aspect-ratio: 3 / 4; border-radius: 50%; padding: 6px; background: linear-gradient(150deg, #f5d77f, #ad8558 35%, #f0cf7a 60%, #8d6740); box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(245, 215, 127, .15); transition: transform .3s ease, box-shadow .3s ease; }
.oval::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid rgba(255, 240, 200, .55); pointer-events: none; z-index: 2; }
.oval img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--navy-2); }
.nominee:hover .oval { transform: translateY(-4px); box-shadow: 0 30px 54px -20px rgba(245, 215, 127, .35), 0 0 0 1px rgba(245, 215, 127, .3); }
.nominee h3 { margin: 20px 0 4px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--white); line-height: 1.2; }
.nominee .sub { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.6em; }
.nominee .btn { margin-top: 16px; }
.nominee.is-choice .oval { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--ok), 0 24px 50px -20px rgba(127, 212, 164, .4); }
.nominee-grid.has-voted .nominee:not(.is-choice) { opacity: .5; }
.your-pick { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--display); color: var(--ok); border: 1px solid rgba(127, 212, 164, .4); background: rgba(127, 212, 164, .08); }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 40px; }
.notice { margin: 26px auto 0; max-width: 680px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(19, 26, 74, .55); color: var(--text); font-size: 15px; text-align: center; }
.pager { display: flex; justify-content: space-between; gap: 16px; padding: 56px 0 0; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line-soft); color: var(--white); min-width: 0; max-width: 48%; }
.pager a:hover { border-color: var(--line); }
.pager small { color: var(--faint); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.pager .next { margin-left: auto; text-align: right; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(3, 4, 16, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(100%, 440px); max-height: calc(100vh - 32px); overflow: auto; padding: 34px 30px 28px; border-radius: 22px; background: linear-gradient(180deg, #121848, #0a0d27 70%); border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); transform: translateY(14px) scale(.98); transition: transform .3s ease; text-align: center; }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 20px; cursor: pointer; }
.modal-close:hover { color: var(--white); background: rgba(255, 255, 255, .12); }
.modal h2 { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; margin: 10px 0 8px; color: var(--white); line-height: 1.15; }
.modal p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.modal .oval { width: 110px; margin: 4px auto 16px; padding: 4px; }
.step-pane { display: none; }
.step-pane.active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.field { text-align: left; margin: 0 0 14px; }
.field label, .field .lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.input { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(5, 7, 26, .6); color: var(--white); font: inherit; font-size: 16px; transition: border-color .2s; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 180, 109, .18); }
.code-input { text-align: center; font-family: var(--display); font-size: 28px; letter-spacing: .5em; padding-left: .5em; height: 62px; }
.check { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; color: var(--muted); margin: 4px 0 18px; line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { margin: 0; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: var(--text); font-size: 14px; cursor: pointer; transition: all .15s; }
.choices input:checked + span { border-color: var(--gold); background: rgba(214, 180, 109, .14); color: var(--gold-light); }
.choices input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.modal .btn { width: 100%; height: auto; min-height: 50px; padding: 12px 20px; white-space: normal; line-height: 1.3; }
.modal .alt { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--muted); background: none; border: 0; cursor: pointer; font-family: inherit; }
.modal .alt:hover { color: var(--white); }
.form-error { min-height: 0; color: var(--err); font-size: 14px; margin: 0 0 12px; text-align: left; }
.form-error:empty { display: none; }
.demo-code { margin: 0 0 14px; padding: 10px; border-radius: 10px; border: 1px dashed var(--gold); color: var(--gold-light); font-size: 13px; }
.success-mark { width: 74px; height: 74px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 212, 164, .12); border: 1px solid rgba(127, 212, 164, .5); color: var(--ok); font-size: 34px; }
.final-note { font-size: 13px !important; color: var(--faint) !important; margin: 14px 0 0 !important; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(26, 19, 6, .3); border-top-color: #1a1306; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; translate: -50% 20px; opacity: 0; padding: 12px 20px; border-radius: 999px; background: #141a45; border: 1px solid var(--line); color: var(--white); font-size: 14px; transition: all .3s; pointer-events: none; }
.toast.show { opacity: 1; translate: -50% 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* keep Vote buttons aligned when names wrap */
.nominee .sub { margin-bottom: 16px; }
.nominee .btn, .nominee .your-pick { margin-top: auto; }

/* ---------- governing council ---------- */
.council-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
.council { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.council .oval { width: min(100%, 176px); }
.council figcaption { margin-top: 18px; }
.council h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; color: var(--white); line-height: 1.25; }
.council p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.council p.extra { margin-top: 4px; font-size: 13px; color: var(--faint); }
.council.is-chair p:first-of-type { color: var(--gold-light); }
@media (max-width: 900px) { .council-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .council-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; } .council h3 { font-size: 14px; } .council p { font-size: 13px; } }

/* =====================================================================
   v2: multi-page site
   ===================================================================== */
/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(5, 7, 26, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.top-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand img { height: 50px; width: auto; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.voter-chip { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--line-soft); border-radius: 999px; padding: 6px 8px 6px 12px; }
.voter-chip.show { display: inline-flex; }
.voter-chip button { background: none; border: 0; color: var(--gold); font: inherit; cursor: pointer; padding: 2px 6px; }
.main-nav { border-top: 1px solid var(--line-soft); }
.main-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a { position: relative; display: block; padding: 13px 11px; font-size: 13.5px; font-weight: 500; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.main-nav a:hover { color: var(--white); }
.main-nav a[aria-current="page"] { color: var(--gold-light); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--gold-light); transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 0 16px; }
  .main-nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .main-nav a[aria-current="page"]::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
}
@media (max-width: 560px) { .brand img { height: 40px; } .top-bar .wrap { height: 66px; } .voter-chip .email { display: none; } .voter-chip { padding: 4px; } .top-actions .btn.sm { padding: 0 14px; } }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); text-align: center; overflow: hidden; isolation: isolate; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .display { font-size: clamp(36px, 6.4vw, 72px); margin-top: 16px; }
.page-hero .lede { margin: 18px auto 0; }

/* ---------- generic blocks ---------- */
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section.alt { background: linear-gradient(180deg, rgba(13, 18, 54, .55), rgba(5, 7, 26, 0)); border-top: 1px solid var(--line-soft); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.head-row .h2 { margin-bottom: 0; }
.link-more { font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.panel { border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(160deg, rgba(19, 26, 74, .75), rgba(8, 11, 34, .85)); padding: clamp(22px, 3vw, 34px); }
.panel.gold { border-color: var(--line); }
.prose p { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.prose p:first-child { color: var(--text); }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.placeholder-note { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--faint); border: 1px dashed var(--line-soft); }

/* ---------- home ---------- */
.hero .hero-sub { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: 17px; }
.quick-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -36px; }
.quick { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border-radius: var(--radius); color: var(--text); background: linear-gradient(160deg, #141b4d, #0a0d27); border: 1px solid var(--line-soft); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); transition: transform .25s, border-color .25s; }
.quick:hover { transform: translateY(-4px); border-color: var(--line); color: var(--text); }
.quick .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(214, 180, 109, .12); color: var(--gold-light); margin-bottom: 8px; }
.quick .ico svg { width: 22px; height: 22px; }
.quick strong { font-family: var(--display); font-weight: 700; font-size: 17px; text-transform: uppercase; color: var(--white); }
.quick span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .quick-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .quick-grid { grid-template-columns: 1fr; margin-top: -24px; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line-soft); }
.stat { padding: 30px 16px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3)::before { display: none; } }
.cta-band { text-align: center; padding: clamp(44px, 6vw, 72px) 24px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 50% 0%, rgba(245, 215, 127, .14), transparent 60%), linear-gradient(160deg, #141b4d, #0a0d27); }
.cta-band .h2 { margin-top: 0; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: rgba(13, 18, 54, .7); color: var(--text); transition: transform .25s, border-color .25s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--line); color: var(--text); }
.news-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.news-card time { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.news-card h3 { margin: 0; font-size: 19px; line-height: 1.3; color: var(--white); }
.news-card p { margin: 0; font-size: 15px; color: var(--muted); }
.article { max-width: 760px; margin: 0 auto; }
.article img.cover { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 28px; aspect-ratio: 16 / 9; object-fit: cover; }
.article time { color: var(--gold); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.article .prose p { font-size: 17.5px; line-height: 1.75; }

/* ---------- gallery ---------- */
.gallery-grid { columns: 3 300px; column-gap: 16px; }
.gallery-grid button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: none; break-inside: avoid; }
.gallery-grid img { width: 100%; height: auto; transition: transform .4s; }
.gallery-grid button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px; background: rgba(3, 4, 16, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(100%, 1200px); max-height: 82vh; border-radius: 12px; }
.lightbox p { color: var(--muted); text-align: center; margin: 12px 0 0; }
.lightbox .x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 24px; cursor: pointer; }

/* ---------- partners ---------- */
.partner-tier + .partner-tier { margin-top: 48px; }
.partner-tier h2 { font-family: var(--display); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); text-align: center; margin: 0 0 22px; font-weight: 500; }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-tile { display: grid; place-items: center; width: 220px; height: 110px; padding: 18px; border-radius: 16px; border: 1px solid var(--line-soft); background: rgba(13, 18, 54, .7); transition: border-color .25s; }
.logo-tile.big { width: 320px; height: 150px; border-color: var(--line); }
.logo-tile:hover { border-color: var(--line); }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; opacity: .85; }
.logo-strip img { height: 54px; width: auto; }

/* ---------- about ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-grid h3, .panel h3 { margin: 0 0 10px; font-family: var(--display); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; }
.mv-grid p { margin: 0; color: var(--muted); }
.score-bar { display: flex; height: 54px; border-radius: 14px; overflow: hidden; margin: 22px 0 14px; border: 1px solid var(--line); }
.score-bar div { display: flex; align-items: center; padding: 0 18px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.score-bar .pub { background: var(--gold-grad); color: #1a1306; }
.score-bar .jury { background: #1b2366; color: var(--white); justify-content: flex-end; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline li { padding: 22px; border-radius: 16px; border: 1px solid var(--line-soft); background: rgba(13, 18, 54, .6); }
.timeline b { display: block; font-family: var(--display); font-size: 20px; color: var(--white); text-transform: uppercase; }
.timeline span { color: var(--muted); font-size: 14px; }
.timeline .now { border-color: var(--line); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } }
.elig { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.elig strong { font-family: var(--display); font-size: clamp(18px, 2.4vw, 24px); color: var(--white); text-transform: uppercase; letter-spacing: .02em; }

/* ---------- awards ---------- */
.award-list { display: grid; gap: 16px; }
.award { display: grid; grid-template-columns: 70px 1fr auto; gap: 22px; align-items: center; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(160deg, rgba(19, 26, 74, .8), rgba(8, 11, 34, .9)); }
.award .num { font-family: var(--display); font-size: 40px; font-weight: 300; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.award h2 { margin: 0 0 6px; font-family: var(--display); font-size: 22px; text-transform: uppercase; color: var(--white); }
.award .tag { display: inline-block; margin-bottom: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.award p { margin: 0; color: var(--muted); font-size: 15px; max-width: 720px; }
.award .acts { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 780px) { .award { grid-template-columns: 1fr; gap: 12px; } .award .acts { flex-direction: row; flex-wrap: wrap; } }

/* ---------- nominees page ---------- */
.nom-section { padding-top: 40px; scroll-margin-top: 150px; }
.nom-section + .nom-section { border-top: 1px solid var(--line-soft); margin-top: 48px; }
.nom-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.nom-head h2 { margin: 0; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; color: var(--white); }
.nom-head p { margin: 6px 0 0; color: var(--muted); max-width: 640px; font-size: 15px; }
.nominee-grid.static { padding-top: 28px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-items { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(214, 180, 109, .12); color: var(--gold-light); }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.contact-item a, .contact-item span { color: var(--white); font-size: 16px; }
.form-stack { display: grid; gap: 14px; }
.form-stack .field { margin: 0; }
textarea.input { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 18px; }
.alert.ok { border: 1px solid rgba(127, 212, 164, .4); background: rgba(127, 212, 164, .08); color: var(--ok); }
.alert.error { border: 1px solid rgba(255, 154, 139, .4); background: rgba(255, 154, 139, .08); color: var(--err); }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 30px; margin-top: 60px; background: rgba(5, 7, 26, .7); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand img { height: 58px; width: auto; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 300px; margin: 16px 0 18px; }
.site-footer h4 { margin: 6px 0 14px; font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); font-size: 14px; }
.site-footer ul a:hover { color: var(--white); }
.contact-list li { color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-soft); color: var(--gold-light); transition: all .2s; }
.socials a:hover { border-color: var(--gold); background: rgba(214, 180, 109, .1); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.foot-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--faint); }
.foot-note .powered { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.foot-note .powered b { font-family: var(--body); font-size: 20px; letter-spacing: -.02em; text-transform: none; color: var(--white); margin-left: 6px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- v4: cover art, music videos, nominated works ---------- */
.oval.cover, .oval.wide { border-radius: 16px; }
.oval.cover { aspect-ratio: 1 / 1; width: min(100%, 210px); }
.oval.wide { aspect-ratio: 16 / 9; width: 100%; }
.oval.cover::before, .oval.wide::before { border-radius: 13px; }
.oval.cover img, .oval.wide img, .oval.wide video { border-radius: 11px; }
.oval.wide video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; position: relative; z-index: 3; }
.oval.wide .soon { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; padding: 4px 10px; border-radius: 99px; background: rgba(5, 7, 26, .78); border: 1px solid var(--line); color: var(--gold-light); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nominee-grid .nominee.is-wide { width: 340px; }
.modal .oval.cover { width: 130px; }
.modal .oval.wide { width: 220px; }
.nominee .works { list-style: none; margin: 0 0 16px; padding: 0; text-align: left; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 300px; }
.nominee .works li { position: relative; padding-left: 14px; margin-top: 6px; }
.nominee .works li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.nominee-grid.static .nominee .sub { margin-bottom: 4px; }
.nominee-grid .nominee:has(.works) { width: 280px; }
@media (max-width: 560px) {
  .nominee-grid .nominee.is-wide, .nominee-grid .nominee:has(.works) { width: 100%; max-width: 360px; }
}

/* Home: music video previews */
.mv-previews { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 22px; }
.mv-card { margin: 0; flex: 0 1 340px; min-width: 0; }
.mv-card .oval.wide { width: 100%; }
.mv-card figcaption { margin-top: 14px; }
.mv-card strong { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--white); font-size: 15px; }
.mv-card span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

/* Awards: non-competitive award */
.award.special { border-style: dashed; }

/* Music video thumbnails: play sign */
.oval.wide .play { position: absolute; left: 50%; top: 50%; z-index: 3; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(5, 7, 26, .55); border: 2px solid var(--gold-light); box-shadow: 0 6px 24px rgba(0,0,0,.45); backdrop-filter: blur(2px); transition: transform .2s ease, background .2s ease; }
.oval.wide .play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-38%, -50%); border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--gold-light); }
.mv-card a:hover .play, .nominee:hover .oval.wide .play { transform: translate(-50%, -50%) scale(1.08); background: rgba(5, 7, 26, .75); }
.modal .oval.wide .play { width: 40px; height: 40px; }
.modal .oval.wide .play::after { border-width: 8px 0 8px 13px; }

/* Demo/test site banner */
.demo-bar { background: repeating-linear-gradient(135deg, #f5d77f 0 14px, #e9c766 14px 28px); color: #0a0d27; text-align: center; font-size: 13px; line-height: 1.4; padding: 7px 16px; }
.demo-bar a { color: #0a0d27; font-weight: 700; text-decoration: underline; }
