/* Frontier 50 — shared styles
   Palette and type carried over from the original Frontier 50 ballot. */

@font-face { font-family: "DM Sans"; src: url("../assets/dm-sans.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: Manrope; src: url("../assets/manrope-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: Playfair; src: url("../assets/playfair-italic.ttf") format("truetype"); font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #171512;
  --night: #201b17;
  --paper: #f5f0e7;
  --card: #fcf9f3;
  --field: #fffdfa;
  --muted: #635950;
  --soft: #8a7e72;
  --copper: #e6ae88;
  --copper-deep: #bd825e;
  --rust: #a45c36;
  --border: #cec4b8;
  --line: #e4dbcf;
  --danger: #902e1e;
  --ok: #3f6b43;
  --sans: "DM Sans", system-ui, sans-serif;
  --display: Manrope, system-ui, sans-serif;
  --serif: Playfair, Georgia, serif;

  /* Premium layer: metallic copper, hairlines, layered shadows, film grain */
  --copper-metal: linear-gradient(135deg, #f6d2b4 0%, #e6ae88 38%, #c98a62 72%, #e9b994 100%);
  --copper-text: linear-gradient(100deg, #f3c9a8 0%, #e6ae88 45%, #c88a63 100%);
  --hairline: linear-gradient(90deg, transparent, #e6ae8866 20%, #e6ae8866 80%, transparent);
  --shadow-sm: 0 1px 2px #2a1d120d, 0 2px 6px #2a1d120a;
  --shadow-md: 0 1px 2px #2a1d120f, 0 8px 24px -6px #2a1d121f, 0 24px 48px -24px #2a1d1229;
  --shadow-lg: 0 2px 4px #2a1d1210, 0 18px 40px -12px #2a1d122e, 0 40px 80px -40px #2a1d1240;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: #e6ae8866; color: var(--ink); }
body { font-feature-settings: "ss01", "kern"; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 3px; }

.shell { width: min(100% - 2rem, 80rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: .75rem; z-index: 50; padding: .6rem 1rem; background: var(--card); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; color: var(--paper); background: #141210d9; backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--hairline); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; transition: opacity .3s; }
.brand img { display: block; width: auto; height: 2.6rem; transition: height .4s var(--ease); }
.brand:hover { opacity: .88; }
.site-header.scrolled .brand img { height: 2.2rem; }
.brand-lg img { height: 3.2rem; }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav a:not(.btn) { position: relative; padding: .55rem .85rem; font-size: .88rem; letter-spacing: .01em; text-decoration: none; color: #d9cfc2; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: .5rem; }
.nav .btn-copper, .nav .btn-copper:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; padding: .7rem 1.35rem; border: 1px solid transparent; border-radius: 1px; font-weight: 700; font-size: .92rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: background .25s var(--ease), border-color .25s, color .25s, box-shadow .25s var(--ease), transform .25s var(--ease), filter .25s; }
.btn:active { transform: translateY(1px); }
.btn svg:last-child:not(:first-child) { transition: transform .3s var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-copper { background: var(--copper-metal); background-size: 180% 100%; background-position: 0 0; color: #1a120c; border-color: #f3c9a866; box-shadow: inset 0 1px #fff6, inset 0 -1px #7c432a40, 0 6px 20px -8px #e6ae8899; }
.btn-copper:hover { background-position: 100% 0; box-shadow: inset 0 1px #fff8, inset 0 -1px #7c432a40, 0 10px 28px -8px #e6ae88b3; transform: translateY(-1px); }
.btn-dark { background: linear-gradient(180deg, #2a211a, #1a1410); color: #fff7ec; border-color: #1a1410; box-shadow: inset 0 1px #ffffff14, 0 6px 18px -10px #1a1410cc; }
.btn-dark:hover { background: linear-gradient(180deg, #3a2a20, #241a14); box-shadow: inset 0 1px #e6ae8833, 0 10px 24px -10px #1a1410e6; transform: translateY(-1px); }
.btn-dark:disabled { background: #5e5145; border-color: #5e5145; cursor: default; }
.btn-ghost-light { color: var(--paper); border-color: #ffffff38; background: #ffffff06; }
.btn-ghost-light:hover { background: #ffffff12; border-color: #e6ae8880; }
.btn-ghost { color: var(--ink); border-color: var(--border); background: #fffdf980; }
.btn-ghost:hover { background: #fffdf9; border-color: var(--copper-deep); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }
.btn-sm { min-height: 2.3rem; padding: .4rem .9rem; font-size: .84rem; }
.link-btn { padding: 0; border: 0; background: none; color: var(--rust); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Type helpers ---------- */
.eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--copper); font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.eyebrow > span:empty { position: relative; width: 2rem; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.eyebrow > span:empty::after { content: ""; position: absolute; right: -1px; top: -2px; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); }
.eyebrow.dark { color: var(--rust); }
.display { font: 800 clamp(2.9rem, 6.4vw, 6.25rem)/.96 var(--display); letter-spacing: -.058em; }
.display em, .h2 em { font-family: var(--serif); font-weight: 400; color: var(--copper); letter-spacing: -.03em; padding-right: .06em; }
.display em, .section-dark .h2 em, .film-modal-head em, .cta-band .h2 em, .page-head h1 em { background: var(--copper-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font: 800 clamp(1.9rem, 3.6vw, 3.1rem)/1.04 var(--display); letter-spacing: -.045em; }
.h2 em { color: var(--rust); }
.h3 { font: 800 1.3rem/1.15 var(--display); letter-spacing: -.03em; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 38rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: var(--night); }
.hero-media { position: absolute; inset: -4% 0; z-index: -3; background: url("../assets/copper-mine.webp") 62% 48% / cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.06); animation: drift 28s var(--ease) both; will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60rem 30rem at 85% 110%, #e6ae8822, transparent 60%),
  linear-gradient(90deg, #171512fa, #171512d0 45%, #17151244 100%),
  linear-gradient(0deg, #171512, transparent 40%); }
@keyframes drift { from { scale: 1.08; } to { scale: 1; } }
.hero::after, .section-dark::after, .page-head::after, .cta-band::after, .site-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(20rem, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; padding-block: clamp(4rem, 10vw, 8.5rem) clamp(3rem, 6vw, 5rem); }
.hero h1 { margin-top: 1.2rem; max-width: 12ch; }
.hero h1 em { display: block; margin-top: .06em; }
.hero .lede { color: #e4dcd1; margin-top: 1.5rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-panel { position: relative; padding: 1.75rem; border: 1px solid #ffffff1f; background: linear-gradient(160deg, #241e19cc, #151210b3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 1px #ffffff12, 0 30px 60px -30px #000c; }
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--copper); pointer-events: none; }
.hero-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero-panel h2 { font: 700 .7rem/1.2 var(--sans); color: var(--copper); text-transform: uppercase; letter-spacing: .26em; }
.countdown { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid #ffffff21; font-size: .82rem; color: #cbbdab; display: flex; justify-content: space-between; align-items: end; gap: 1rem; text-transform: uppercase; letter-spacing: .14em; }
.countdown strong { font: 400 2.6rem/.9 var(--serif); font-style: italic; letter-spacing: -.02em; text-transform: none; background: var(--copper-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-dark { position: relative; isolation: isolate; background: radial-gradient(50rem 24rem at 10% 0%, #e6ae8812, transparent 70%), var(--ink); color: var(--paper); }
.section-dark + .section:not(.section-dark) { position: relative; }
.section-dark .lede { color: #cbbdab; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section-head .lede { margin-top: .8rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #ffffff17; border: 1px solid #ffffff17; }
.step { position: relative; padding: clamp(1.6rem, 3vw, 2.6rem); background: linear-gradient(180deg, #1c1915, var(--ink)); transition: background .4s var(--ease); }
.step::before { content: ""; position: absolute; inset: -1px 0 auto; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.step:hover { background: linear-gradient(180deg, #221d18, #191612); }
.step:hover::before { transform: scaleX(1); }
.step-num { font: 400 3.4rem/1 var(--serif); font-style: italic; background: var(--copper-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; width: fit-content; }
.step h3 { margin-top: 1.25rem; }
.step p { margin-top: .5rem; color: #cbbdab; font-size: .95rem; }

.criteria { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 2.25rem); margin-top: 3rem; counter-reset: crit; }
.criteria div { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--border); counter-increment: crit; }
.criteria div::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 1px; background: var(--copper-deep); }
.criteria div::after { content: counter(crit, upper-roman); position: absolute; top: 1.1rem; right: 0; font: italic 400 1.1rem/1 var(--serif); color: var(--copper-deep); }
.criteria h3 { font: 800 1.1rem/1.2 var(--display); letter-spacing: -.025em; }
.criteria p { margin-top: .4rem; color: var(--muted); font-size: .92rem; }

/* ---------- Toolbar & nominee grid ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.5rem; }
.search { position: relative; flex: 1 1 16rem; }
.search svg { position: absolute; left: .8rem; top: 50%; translate: 0 -50%; width: 1.05rem; height: 1.05rem; fill: none; stroke: var(--soft); stroke-width: 1.8; }
.search input { width: 100%; padding-left: 2.5rem !important; }
.input, .select, .textarea { min-height: 3rem; width: 100%; border: 1px solid var(--border); border-radius: 1px; background: var(--field); padding: .65rem .9rem; color: var(--ink); box-shadow: inset 0 1px 2px #2a1d120a; transition: border-color .2s, box-shadow .2s, background .2s; }
.input::placeholder, .textarea::placeholder { color: #a59a8d; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--copper-deep); background: #fff; box-shadow: 0 0 0 4px #e6ae8833, inset 0 1px 2px #2a1d120a; }
.select { width: auto; padding-right: 2rem; appearance: none; background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23635950' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .6rem center / 1rem no-repeat; }
.textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: #b3a797; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 1.1rem; }
.grid { gap: 1.25rem; }
.card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #fffdf9, var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.card::before { content: ""; position: absolute; inset: -1px -1px auto; height: 2px; background: var(--copper-metal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { border-color: #dccbb8; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card:hover::before { transform: scaleX(1); }
.card-top { display: flex; gap: 1rem; align-items: center; padding: 1.4rem 1.4rem 0; }
.avatar { flex: none; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2e251e, var(--ink) 70%); color: var(--copper); font: 800 1rem/1 var(--display); letter-spacing: -.02em; box-shadow: 0 0 0 1px #e6ae8866, 0 0 0 4px var(--card), 0 0 0 5px #e6ae8833; }
.card h3 { font: 800 1.15rem/1.15 var(--display); letter-spacing: -.035em; padding-right: 1.5rem; }
.card .role { color: var(--muted); font-size: .88rem; margin-top: .15rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; padding: 1.1rem 1.4rem 0; }
.tag { padding: .22rem .6rem; border: 1px solid var(--line); border-radius: 99px; background: #f6f0e6; color: #5a4f45; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tag.copper { background: #f6e3d4; border-color: #ecc9ae; color: #7c432a; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: auto 1.4rem 0; padding: 1rem 0 1.3rem; border-top: 1px solid var(--line); }
.card > .tags { margin-bottom: 1.25rem; }
.card-foot .meta { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.card-foot .meta b { display: block; color: var(--ink); font: 800 1.15rem/1 var(--display); letter-spacing: -.03em; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--rust); }
.card-foot .btn, .card-foot .voted-pill { position: relative; z-index: 1; }
.voted-pill { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.3rem; padding: .4rem .9rem; color: var(--ok); border: 1px solid #b7cfb5; border-radius: 99px; background: #eef4ec; font-size: .82rem; font-weight: 700; }

.empty { padding: 3.5rem 1.5rem; text-align: center; border: 1px solid var(--line); background: linear-gradient(180deg, #fffdf9, var(--card)); color: var(--muted); box-shadow: var(--shadow-sm); }
.empty .h3 { color: var(--ink); margin-bottom: .4rem; }
.empty .btn { margin-top: 1.2rem; }
.sample-note { margin-top: 1.2rem; font-size: .8rem; color: var(--soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink) url("../assets/copper-mine.webp") center 30% / cover; position: relative; isolation: isolate; color: var(--paper); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #171512f5, #171512b8), linear-gradient(0deg, #17151266, transparent); box-shadow: inset 0 1px #e6ae8833, inset 0 -1px #e6ae8833; }
.cta-band .shell { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band .h2 em { color: var(--copper); }
.cta-band p { color: #e4dcd1; margin-top: .6rem; max-width: 34rem; }

/* ---------- Share ---------- */
.share-box { display: grid; gap: .75rem; }
.share-url { display: flex; gap: .4rem; }
.share-url .input { flex: 1; font-size: .9rem; }
.share-socials { display: flex; flex-wrap: wrap; gap: .4rem; }
.social { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border: 1px solid var(--border); border-radius: 99px; background: transparent; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--ink); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.social:hover { background: #fffdf9; border-color: var(--copper-deep); transform: translateY(-1px); }
.social svg { width: 1rem; height: 1rem; fill: currentColor; }
.section-dark .social, .section-dark .share-url .btn-ghost { color: var(--paper); border-color: #ffffff38; }
.section-dark .social:hover { background: #ffffff10; border-color: #e6ae8899; }
.section-dark .share-url .input { background: #ffffff0d; border-color: #ffffff38; color: var(--paper); }
.share-split { display: grid; grid-template-columns: 1fr minmax(20rem, 1fr); gap: 2.5rem; align-items: center; }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; isolation: isolate; color: var(--paper); background:
  radial-gradient(50rem 20rem at 90% 120%, #e6ae881f, transparent 60%),
  linear-gradient(90deg, #171512fa, #171512c8 55%, #17151299),
  url("../assets/copper-mine.webp") center 40% / cover, var(--night); }
.page-head .shell { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { font: 800 clamp(2.4rem, 5vw, 4.2rem)/1 var(--display); letter-spacing: -.05em; margin-top: 1rem; max-width: 20ch; }
.page-head h1 em { font-family: var(--serif); font-weight: 400; color: var(--copper); letter-spacing: -.03em; padding-right: .06em; }
.page-head p { color: #e4dcd1; margin-top: 1rem; max-width: 40rem; }
.crumbs { font-size: .72rem; color: #b8a996; letter-spacing: .2em; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Nomination form ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.panel { position: relative; background: linear-gradient(180deg, #fffdf9, var(--card)); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: var(--shadow-md); }
.panel + .panel { margin-top: 1.25rem; }
.panel-accent::before { content: ""; position: absolute; inset: -1px -1px auto; height: 3px; background: var(--copper-metal); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.panel-head .step-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.panel-head p { color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.field { display: grid; gap: .35rem; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 700; font-size: .92rem; }
.field .opt { font-weight: 400; color: var(--soft); }
.field .hint { color: var(--soft); font-size: .8rem; }
.field .hint.count { justify-self: end; }
.field.invalid .input, .field.invalid .textarea, .field.invalid .select { border-color: var(--danger); background: #fdf4f1; }
.field .err { color: var(--danger); font-size: .8rem; }
.field .select { width: 100%; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: #483f36; }
.check input { flex: none; width: 1.1rem; height: 1.1rem; margin: .18rem 0 0; accent-color: var(--copper-deep); }
.check.invalid span { color: var(--danger); }

.nominee-entry { border: 1px solid var(--line); background: var(--field); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.nominee-entry:focus-within { box-shadow: var(--shadow-md); border-color: #dccbb8; }
.nominee-entry + .nominee-entry { margin-top: 1rem; }
.entry-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.15rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f8f3eb, #f3ece1); }
.entry-head h3 { display: flex; align-items: center; gap: .65rem; font: 800 1rem/1.2 var(--display); letter-spacing: -.02em; }
.entry-head .num { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: var(--copper); font: 800 .78rem/1 var(--display); box-shadow: 0 0 0 1px #e6ae8866; }
.entry-head .preview-name { color: var(--muted); font-family: var(--sans); font-weight: 400; font-size: .9rem; }
.entry-actions { display: flex; gap: .25rem; }
.icon-btn { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 1px solid transparent; background: transparent; color: var(--muted); }
.icon-btn:hover { border-color: var(--border); color: var(--ink); background: #fff; }
.icon-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: rotate .2s; }
.nominee-entry.collapsed .entry-body { display: none; }
.nominee-entry.collapsed .toggle svg { rotate: -90deg; }
.entry-body { padding: 1.25rem 1.15rem; }
.add-entry { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; margin-top: 1rem; padding: 1.1rem; border: 1px dashed #c9b9a6; background: transparent; font-weight: 700; color: var(--rust); transition: background .25s, border-color .25s, color .25s; }
.add-entry:hover { background: #fffdf9; border-color: var(--copper-deep); border-style: solid; }
.add-entry svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.limit-note { text-align: center; color: var(--soft); font-size: .85rem; margin-top: .6rem; }

.summary { position: sticky; top: 6rem; }
.summary h2 { font: 800 1.2rem/1.2 var(--display); letter-spacing: -.03em; }
.summary-list { list-style: none; margin: 1rem 0; padding: 0; border-top: 1px solid var(--line); }
.summary-list li { display: flex; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary-list li span:last-child { color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.summary-list li.pending span:first-child { color: var(--soft); font-style: italic; }
.summary .fine { color: var(--soft); font-size: .8rem; margin-top: .8rem; }
.form-error { margin-top: .8rem; color: var(--danger); font-size: .9rem; }

/* Success */
.success-wrap { max-width: 52rem; margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.success-mark { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--copper-metal); color: #1a120c; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.4rem; box-shadow: inset 0 1px #fff8, 0 0 0 6px #e6ae881f, 0 12px 30px -10px #bd825e99; }
.success-wrap > p { color: var(--muted); margin-top: .8rem; max-width: 40rem; }
.share-rows { margin-top: 2rem; display: grid; gap: .8rem; }
.share-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; background: linear-gradient(180deg, #fffdf9, var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.share-row .who b { display: block; font: 800 1.05rem/1.2 var(--display); letter-spacing: -.03em; }
.share-row .who span { color: var(--muted); font-size: .85rem; }
.share-row .actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.success-foot { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }



/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; translate: -50% 1rem; z-index: 100; padding: .8rem 1.15rem; background: var(--ink); color: var(--paper); font-size: .92rem; border: 1px solid #e6ae8840; border-left: 3px solid var(--copper); box-shadow: 0 20px 50px -10px #000a; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; max-width: calc(100% - 2rem); }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; background: #12100e; color: #a89a89; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--hairline); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: 2.75rem 2rem; }
.footer-tag { font: italic 400 1.15rem/1.3 var(--serif); color: #cbbdab; max-width: 26rem; }
.footer-by { display: flex; align-items: center; gap: 1.25rem 2.25rem; flex-wrap: wrap; padding-block: 1.6rem; border-top: 1px solid #ffffff12; }
.footer-by-label { font: 700 .7rem/1 var(--sans); color: var(--copper); text-transform: uppercase; letter-spacing: .26em; }
.footer-by a { display: block; opacity: .8; transition: opacity .2s; }
.footer-by a:hover, .footer-by a:focus-visible { opacity: 1; }
.footer-by img { display: block; height: auto; }
.footer-logo-main img { width: 14.5rem; }
.footer-logos { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0 0 0 2.25rem; border-left: 1px solid #ffffff1f; }
.footer-logos img { width: 7.5rem; }
.footer-logos img.logo-finance { width: 5.75rem; filter: grayscale(1) brightness(1.35) contrast(1.1); }
@media (max-width: 600px) {
  .footer-by { gap: 1.1rem 1.75rem; }
  .footer-logo-main img { width: 12.5rem; }
  .footer-logos { flex-basis: 100%; padding-left: 0; border-left: 0; }
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem 1.75rem; border-top: 1px solid #ffffff12; font-size: .78rem; letter-spacing: .04em; }
.footer-inner nav { display: flex; gap: 1.75rem; }
.footer-inner a { text-decoration: none; transition: color .2s; }
.footer-inner a:hover { color: var(--copper); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .form-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .criteria { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-inner, .share-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .nav .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .fields { grid-template-columns: 1fr; }
  .criteria { grid-template-columns: 1fr; }
  .share-row { grid-template-columns: auto minmax(0, 1fr); }
  .share-row .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .brand img { height: 2.15rem; }
  .toolbar .select { flex: 1 1 calc(50% - .3rem); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-inner > *, .page-head .shell > * { animation: rise .9s var(--ease) both; }
.hero-inner > :nth-child(2), .page-head .shell > :nth-child(2) { animation-delay: .12s; }
.page-head .shell > :nth-child(3) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Key dates ---------- */
.dates { list-style: none; margin: 1rem 0 0; padding: 0; }
.dates li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid #ffffff1c; font-size: .92rem; color: #e4dcd1; }
.dates b { font-family: var(--display); color: var(--paper); letter-spacing: -.02em; }
.dates + .countdown { border-top: 0; margin-top: .25rem; }

/* ---------- Nominee page ---------- */
.profile-head { display: flex; gap: 1.5rem; align-items: center; margin-top: 1.4rem; }
.profile-head h1 { margin-top: .6rem; }
.profile-role { color: #e4dcd1 !important; margin-top: .5rem !important; font-size: 1.1rem; }
.avatar.xl { width: 6.5rem; height: 6.5rem; font-size: 2rem; background: var(--copper-metal); color: #1a120c; box-shadow: inset 0 1px #fff8, 0 0 0 1px #e6ae8899, 0 0 0 7px #17151299, 0 0 0 8px #e6ae8844, 0 20px 40px -12px #000c; }
.tags.dark { padding: 1rem 0 0; }
.tags.dark .tag { background: #ffffff0d; border-color: #ffffff26; color: #e4dcd1; backdrop-filter: blur(4px); }
.tags.dark .tag.copper { background: #e6ae8826; border-color: #e6ae8866; color: var(--copper); }
.nominee-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.nominee-layout > .panel { position: sticky; top: 6rem; }
.panel-sub { color: var(--muted); font-size: .95rem; margin: .45rem 0 1.25rem; }
.step-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.kit { display: grid; gap: 1.25rem; }
.kit .panel + .panel { margin-top: 0; }
.fine { color: var(--soft); font-size: .8rem; margin-top: .8rem; }
.after-links { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.25rem; }
.post-tabs { display: flex; gap: .2rem; margin: 1rem 0 .7rem; padding: .2rem; border: 1px solid var(--line); border-radius: 99px; background: #f3ece1; width: fit-content; }
.post-tabs button { padding: .4rem .9rem; border: 0; border-radius: 99px; background: transparent; font-size: .82rem; font-weight: 700; color: var(--muted); transition: background .25s, color .25s; }
.post-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: 0 4px 12px -4px #1a1410aa; }
.post-text { font-size: .9rem; margin-bottom: .6rem; background: #fff; }
.textarea.code { font: .78rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: .6rem; background: #fff; color: #4b4239; }
.badge-preview { margin: 1rem 0 .75rem; padding: 1.1rem; background: repeating-linear-gradient(45deg, #f3ece1, #f3ece1 8px, #efe6d9 8px, #efe6d9 16px); border: 1px solid var(--line); }
.card-controls { display: flex; flex-wrap: wrap; gap: 0 .6rem; }
.card-controls .post-tabs { margin: .25rem 0 .75rem; }
.card-preview { display: grid; place-items: center; padding: 1rem; background: repeating-linear-gradient(45deg, #f3ece1, #f3ece1 8px, #efe6d9 8px, #efe6d9 16px); border: 1px solid var(--line); }
.card-preview canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 26rem; box-shadow: var(--shadow-md); }
.card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.header-share svg, .nav button svg { width: 1rem; height: 1rem; }
.mini-share { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
@media (max-width: 980px) {
  .nominee-layout { grid-template-columns: 1fr; }
  .nominee-layout > .panel { position: static; }
}
@media (max-width: 600px) {
  .profile-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .avatar.xl { width: 4.5rem; height: 4.5rem; font-size: 1.5rem; }
}

/* ---------- Leader photos ---------- */
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; background: #2a2420; filter: grayscale(1) contrast(1.08) brightness(1.02); }
.profile-site { margin-top: .35rem !important; font-size: .9rem; }
.profile-site a { color: var(--copper); text-decoration: none; }
.profile-site a:hover { text-decoration: underline; }


/* =====================================================================
   Signature details & motion
   ===================================================================== */

/* Hero: topographic contours that draw in, survey readout */
.contours { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: .7;
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 60%); mask-image: linear-gradient(90deg, transparent 25%, #000 60%); }
.contours path { fill: none; stroke: #e6ae88; stroke-width: .8; opacity: .45; stroke-dasharray: 1; stroke-dashoffset: 1; animation: contour 3.2s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .11s); vector-effect: non-scaling-stroke; }
.contours path.c-major { stroke-width: 1.1; opacity: .6; }
.contours .survey path, .contours .survey circle { stroke: #f3c9a8; stroke-width: 1; opacity: .9; fill: none; stroke-dasharray: none; animation: fade 1s 2.4s both; }
.contours .survey circle { animation: fade 1s 2.4s both, ping 3.6s 3.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes contour { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes ping { 0% { scale: 1; opacity: .9; } 70%, 100% { scale: 3.2; opacity: 0; } }
.hero-coords { position: absolute; right: max(1rem, calc((100% - 80rem) / 2)); bottom: 1.1rem; display: flex; gap: 1.5rem; margin: 0; font: 500 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; color: #a8998699; animation: fade 1.2s 1.6s both; }
.hero-coords span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 1.5rem; vertical-align: middle; background: #e6ae8866; transform: rotate(45deg); }
.btn .i-play { fill: currentColor; stroke: none; width: .9rem; height: .9rem; }

/* Headline: one slow copper sheen across the italic word */
.display em { background-image: linear-gradient(100deg, #f3c9a8 0%, #e6ae88 35%, #fff1e4 48%, #e6ae88 60%, #c88a63 100%); background-size: 250% 100%; background-position: 100% 0; animation: sheen 2.6s 1.1s var(--ease) both; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Commodities ticker */
.ticker { position: relative; overflow: hidden; background: #12100e; border-block: 1px solid #ffffff10; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 12%; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #12100e, transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, #12100e, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.el { position: relative; display: grid; grid-template: "n w" auto "s s" 1fr "name name" auto / 1fr auto; width: 7.25rem; height: 7.25rem; margin: 1rem 0 1rem 1rem; padding: .6rem .7rem; border: 1px solid #ffffff14; background: linear-gradient(160deg, #1d1915, #141210); color: #cbbdab; transition: border-color .3s, background .3s; }
.el:hover { border-color: #e6ae8880; background: linear-gradient(160deg, #2a221b, #161310); }
.el-n, .el-w { font: 500 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; color: #8a7e72; }
.el-n { grid-area: n; } .el-w { grid-area: w; }
.el b { grid-area: s; align-self: center; font: 400 2.3rem/1 var(--serif); font-style: italic; letter-spacing: -.02em; background: var(--copper-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; width: fit-content; }
.el-name { grid-area: name; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Trailer modal */
html:has(.film-modal[open]) { overflow: hidden; }
.film-modal { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: clamp(1rem, 3vw, 2.5rem); border: 0; background: transparent; color: var(--paper); overflow: auto; }
.film-modal:not([open]) { display: none; }
.film-modal[open] { display: grid; place-items: center; }
.film-modal::backdrop { background: radial-gradient(70rem 40rem at 50% 60%, #241a12, #0b0908 70%) #0b0908; backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); animation: fade .5s var(--ease) both; }
.film-modal-inner { width: min(100%, 76rem, (100vh - 9rem) * 16 / 9); animation: modal-in .7s var(--ease) both; }
.film-modal.closing .film-modal-inner { animation: modal-out .32s var(--ease) both; }
.film-modal.closing::backdrop { animation: fade .32s var(--ease) reverse both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
.film-modal-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.film-modal-head p { display: flex; flex-direction: column; gap: .6rem; font: 800 clamp(1.25rem, 2.4vw, 1.9rem)/1.05 var(--display); letter-spacing: -.04em; }
.film-modal-head em { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; padding-right: .06em; }
.film-modal-head .eyebrow { font-family: var(--sans); letter-spacing: .26em; }
.film-close { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid #ffffff2e; border-radius: 50%; background: #ffffff08; color: var(--paper); transition: background .3s, border-color .3s, rotate .5s var(--ease); }
.film-close:hover { background: #ffffff14; border-color: var(--copper); rotate: 90deg; }
.film-close svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.film-soon { position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%; display: none; text-align: center; }
.film-soon em { display: block; font: italic 400 clamp(2rem, 5vw, 3.6rem)/1 var(--serif); background: var(--copper-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .1em .1em; }
.film-soon span { display: block; margin-top: .75rem; font-size: .9rem; color: #d9cfc2; }
.film.pending .film-play { display: none; }
.film.pending .film-soon { display: block; animation: rise 1s .25s var(--ease) both; }
.film { margin: 0; }
.film-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d0b0a; box-shadow: 0 0 0 1px #ffffff14, 0 40px 90px -40px #000, 0 0 120px -40px #e6ae8833; }
.film-poster { position: absolute; inset: 0; background: linear-gradient(0deg, #0d0b0acc, transparent 35%, transparent 70%, #0d0b0a99), radial-gradient(ellipse at center, transparent 40%, #0d0b0ab3), var(--film-poster, url("../assets/copper-mine.webp")) center 45% / cover; transform: scale(1.04); transition: transform 1.6s var(--ease), filter .8s; filter: saturate(.85) brightness(.85); }
.film-frame:hover .film-poster { transform: scale(1); filter: saturate(1) brightness(.95); }
.film-frame::before, .film-frame::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 7%; background: #0d0b0a; transition: height .8s var(--ease); pointer-events: none; }
.film-frame::before { top: 0; } .film-frame::after { bottom: 0; }
.film-frame:hover::before, .film-frame:hover::after { height: 9%; }
.film-mark { position: absolute; z-index: 3; width: 18px; height: 18px; border: 1px solid #e6ae88b3; pointer-events: none; }
.film-mark.tl { top: calc(7% + 14px); left: 18px; border-right: 0; border-bottom: 0; }
.film-mark.tr { top: calc(7% + 14px); right: 18px; border-left: 0; border-bottom: 0; }
.film-mark.bl { bottom: calc(7% + 14px); left: 18px; border-right: 0; border-top: 0; }
.film-mark.br { bottom: calc(7% + 14px); right: 18px; border-left: 0; border-top: 0; }
.film-meta, .film-foot { position: absolute; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding-inline: clamp(1rem, 3vw, 2.5rem); font: 500 .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; color: #d9cfc2b3; }
.film-meta { top: calc(7% + 1.25rem); padding-left: calc(clamp(1rem, 3vw, 2.5rem) + 1rem); padding-right: calc(clamp(1rem, 3vw, 2.5rem) + 1rem); }
.film-foot { bottom: calc(7% + 1.25rem); padding-left: calc(clamp(1rem, 3vw, 2.5rem) + 1rem); padding-right: calc(clamp(1rem, 3vw, 2.5rem) + 1rem); }
.film-meta .rec { display: inline-flex; align-items: center; gap: .55rem; }
.film-meta .rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 10px var(--copper); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.film-status { color: var(--copper); }
.film-play { position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: clamp(4.5rem, 9vw, 6.5rem); aspect-ratio: 1; border: 1px solid #f3c9a899; border-radius: 50%; background: #17151266; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--copper); transition: background .4s var(--ease), color .4s, scale .5s var(--ease), border-color .4s; }
.film-play svg { width: 32%; height: 32%; fill: currentColor; margin-left: 8%; }
.film-play .ring { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #e6ae88; animation: ring 3.2s var(--ease) infinite; }
.film-frame:hover .film-play, .film-play:focus-visible { scale: 1.06; background: var(--copper-metal); color: #1a120c; border-color: transparent; }
@keyframes ring { 0% { scale: 1; opacity: .8; } 80%, 100% { scale: 1.55; opacity: 0; } }
.film iframe, .film video { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; border: 0; background: #000; }
.film.playing .film-play, .film.playing .film-meta, .film.playing .film-foot, .film.playing .film-mark { display: none; }

/* Header: tightens once you scroll */
.header-inner { transition: min-height .4s var(--ease); }
.site-header.scrolled .header-inner { min-height: 3.75rem; }
.site-header.scrolled { background: #12100ef0; box-shadow: 0 10px 30px -20px #000; }

/* Scroll progress hairline */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 2px; background: var(--copper-metal); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .h2[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); translate: 0 .35em; transition: clip-path 1.1s var(--ease), translate 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .h2[data-reveal].in { clip-path: inset(-0.15em -0.4em -0.3em -0.15em); translate: 0 0; }
.js .criteria div[data-reveal]::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .2s); }
.js .criteria div[data-reveal].in::before { transform: scaleX(1); }

/* Card spotlight follows the pointer */
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), #e6ae881c, transparent 60%); }
.card:hover::after { opacity: 1; }
.panel-accent { overflow: clip; }

@media (max-width: 820px) {
  .hero-coords { display: none; }
  .contours { opacity: .35; -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000); mask-image: linear-gradient(180deg, transparent 30%, #000); }
  .el { width: 6rem; height: 6rem; }
  .el b { font-size: 1.9rem; }
  .film-meta, .film-foot { font-size: .55rem; }
  .film-mark { display: none; }
}
@media (max-width: 520px) {
  .film-meta .tc, .film-foot span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .contours path { stroke-dashoffset: 0; }
  .js [data-reveal], .js .h2[data-reveal] { opacity: 1; transform: none; clip-path: none; translate: none; transition: none; }
  .hero-media { transform: scale(1.02); }
}
@media (max-width: 640px) {
  .film.pending .film-meta, .film.pending .film-foot { display: none; }
  .film-soon { width: 90%; }
  .film-soon em { font-size: clamp(1.6rem, 8vw, 2.2rem); white-space: nowrap; }
  .film-soon span { margin-top: .4rem; font-size: .78rem; }
}

/* ---------- Share pop-up (after voting / nominating) ---------- */
html:has(.share-modal[open]) { overflow: hidden; }
.share-modal { width: min(100% - 2rem, 62rem); max-height: calc(100% - 2rem); padding: 0; border: 1px solid var(--line); background: linear-gradient(180deg, #fffdf9, var(--card)); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.share-modal::backdrop { background: #0b0908b3; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.share-modal[open] { animation: modal-in .5s var(--ease) both; }
.share-modal-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.share-modal-inner::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--copper-metal); }
.share-modal-card { display: grid; align-content: center; justify-items: center; gap: .9rem; padding: 1.75rem; background: radial-gradient(40rem 30rem at 50% 30%, #2a221c, #141210); }
.share-modal-card canvas { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; box-shadow: 0 30px 60px -20px #000; }
.share-modal-card .post-tabs { margin: 0; background: #ffffff10; border-color: #ffffff26; }
.share-modal-card .post-tabs button { color: #d9cfc2; }
.share-modal-card .post-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.share-modal-body { padding: clamp(1.4rem, 3vw, 2.25rem); }
.share-modal-body .h3 { margin-top: .35rem; outline: none; }
.eyebrow-dark { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.share-modal-close { position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: #fffdf9e6; color: var(--ink); font-size: 1.5rem; line-height: 1; box-shadow: var(--shadow-sm); }
.share-steps { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--muted); font-size: .9rem; display: grid; gap: .3rem; }
.share-steps b { color: var(--ink); }
.share-modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.share-modal-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.share-modal .share-socials { padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .share-modal-inner { grid-template-columns: 1fr; }
  .share-modal-card { padding: 1.25rem 1.25rem 1rem; }
  .share-modal-card canvas { max-height: 46vh; width: auto; max-width: 100%; }
}

/* ---------- Nominee photo updates ---------- */
.photo-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; padding: 0; border: 0; background: none; color: #cdbfae; font: 600 .8rem/1.2 var(--sans); text-decoration: underline; text-decoration-color: #e6ae8866; text-underline-offset: .2em; cursor: pointer; }
.photo-link:hover, .photo-link:focus-visible { color: var(--copper); }
.photo-link svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.photo-modal { width: min(100% - 2rem, 32rem); }
.photo-inner { position: relative; }
.photo-inner::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--copper-metal); }
.photo-body { padding: clamp(1.4rem, 4vw, 2.25rem); }
.photo-body .h3 { margin-top: .35rem; padding-right: 2rem; outline: none; }
.photo-stage { position: relative; width: min(100%, 17rem); aspect-ratio: 1; margin: 0 auto; }
.photo-stage.over .photo-drop { border-color: var(--copper-deep); background: #f3e6d9; }
.photo-drop { display: grid; place-content: center; justify-items: center; gap: .35rem; height: 100%; padding: 1rem; border: 2px dashed #d6c8b6; border-radius: 50%; background: #f6f0e6; color: var(--muted); font-size: .82rem; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.photo-drop:hover { border-color: var(--copper-deep); }
.photo-drop b { color: var(--ink); font-size: .95rem; }
.photo-drop svg { width: 2rem; height: 2rem; fill: none; stroke: var(--copper-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#ph-file:focus-visible + .photo-crop, .photo-stage:has(#ph-file:focus-visible) .photo-drop { outline: 2px solid var(--copper-deep); outline-offset: 3px; }
.photo-crop { position: relative; height: 100%; overflow: hidden; }
.photo-crop canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; filter: grayscale(1) contrast(1.08) brightness(1.02); background: #2a2420; }
.photo-crop canvas:active { cursor: grabbing; }
.photo-crop canvas:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 3px; }
.photo-ring { position: absolute; inset: 0; pointer-events: none; border-radius: 50%; box-shadow: 0 0 0 999px #fffdf9b8, inset 0 0 0 2px var(--copper); }
.photo-tools { display: flex; align-items: center; gap: .75rem; width: min(100%, 17rem); margin: .9rem auto 0; font-size: .82rem; color: var(--muted); }
.photo-tools .link-btn { white-space: nowrap; }
.photo-tools input[type="range"] { flex: 1; min-width: 0; accent-color: var(--copper-deep); }
.photo-hint { text-align: center; margin: .6rem auto 0; max-width: 22rem; }
.photo-fields { margin-top: 1.25rem; }
.photo-modal .success-mark { margin-bottom: .5rem; }
@media (max-width: 480px) { .photo-stage, .photo-tools { width: 100%; } }

/* Plain list of nominee links that search engines get inside #grid (middleware.js); the script replaces it for people. */
.crawl-list { grid-column: 1 / -1; margin: 0; padding-left: 1.2rem; columns: 2 18rem; column-gap: 2rem; }
.crawl-list li { margin-bottom: .35rem; break-inside: avoid; }
