/* "Premiere" look for every app page (loaded after site.css and app.css).
   Same fonts and colours as the home page (home.css). Fonts are self-hosted, OFL. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url("fonts/fraunces-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2"); }

:root {
  --bg: #0b0b0e; --fg: #f3efe6; --muted: #a39d90; --accent: #e8b84a; --accent-2: #f6d27f;
  --line: #24222a; --line-2: #3a3730; --panel: #131217; --panel-2: #16151a;
  --good: #9fd08f; --bad: #ef8a74;
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.app { background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.app a { color: var(--accent); }
body.app a:hover { color: var(--accent-2); }
/* Jumping to #anchors: keep the target clear of the sticky header. */
[id] { scroll-margin-top: 96px; }
::selection { background: rgba(232, 184, 74, 0.35); }

/* Header */
.topbar { display: block; padding: 0; border-bottom: 1px solid var(--line); background: rgba(11, 11, 14, 0.92); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); }
.topbar-in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.topbar .brand { font-family: var(--serif); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: var(--fg) !important; }
.topbar .brand span { color: var(--accent); }
.topbar nav { gap: 6px 20px; font-size: 15px; }
.topbar nav a { color: var(--muted) !important; }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--fg) !important; }
.topbar nav a.pill { background: var(--accent); color: var(--bg) !important; font-weight: 600; padding: 9px 16px; border-radius: 999px; }
.topbar nav a.pill:hover { background: var(--accent-2); }
.icon-link { display: inline-flex; align-items: center; gap: 6px; }
.badge { background: var(--accent); color: var(--bg); border-radius: 999px; font-size: 0.72rem; font-weight: 700; padding: 1px 7px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; color: var(--fg); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--muted); }
.menu[open] summary { border-color: var(--accent); }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); z-index: 30; }
.menu-list a, .menu-list button.link { display: block; padding: 9px 12px; border-radius: 8px; color: var(--fg) !important; text-decoration: none; text-align: left; width: 100%; font-size: 15px; }
.menu-list a:hover, .menu-list button.link:hover { background: var(--line); }
.menu-list hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu-list form { margin: 0; }
@media (max-width: 40rem) { .menu-list { right: auto; left: 0; } }

/* Page and type */
.page { max-width: 1200px; padding: 40px 24px 80px; }
.page.narrow { max-width: 38rem; }
h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.01em; line-height: 1.2; }
h3 { line-height: 1.3; }
p { line-height: 1.6; }
.headline { font-size: 1.15rem; }
.page-head { margin-bottom: 24px; }

/* Buttons */
button, .button { border-radius: 999px; padding: 11px 20px; font-weight: 600; background: var(--accent); color: var(--bg) !important; transition: background 0.15s; }
button:hover, .button:hover { background: var(--accent-2); }
button.secondary, .button.secondary { background: transparent; color: var(--fg) !important; border: 1px solid var(--line-2); }
button.secondary:hover, .button.secondary:hover { border-color: var(--muted); background: transparent; }
button.link { background: none; color: var(--muted) !important; }
button.link:hover { background: none; color: var(--fg) !important; }
button.danger { background: var(--bad); color: var(--bg) !important; }

/* Forms */
input, textarea, select { background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; color: var(--fg); }
input::placeholder, textarea::placeholder { color: #7d776b; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
fieldset { border-color: var(--line); border-radius: 14px; padding: 14px 16px 16px; }
legend { font-family: var(--serif); font-weight: 600; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }

/* Cards, lists, panels */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--line-2); }
.cards { gap: 18px; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.card-title:hover { color: var(--accent) !important; }
.panel { background: var(--panel); border-color: var(--line); border-radius: 18px; padding: 8px 22px 22px; }
.panel-note { border-color: var(--line-2); border-radius: 14px; }
.results li { border-bottom-color: var(--line); padding: 16px 0; }
.results.jobs li { padding: 20px 0; }
.logline { color: var(--fg); }
.meta { color: var(--muted); }
.tag { border-radius: 999px; padding: 2px 10px; border-color: var(--line-2); }
.tag.good { color: var(--good); border-color: #4b6b45; }
.tag.bad { color: var(--bad); border-color: #7a3f33; }
.tag.warn { color: var(--accent); border-color: #7a6230; }
.chips li { border-color: var(--line-2); color: var(--fg); padding: 4px 12px; }
.notice { background: #1c2119; color: var(--good); border: 1px solid #33452e; border-radius: 12px; }
.error { background: #2a1814; color: var(--bad); border: 1px solid #5a2e25; border-radius: 12px; }
.facts dt { color: var(--muted); }
.avatar.placeholder { font-family: var(--serif); color: var(--accent); border-color: var(--line-2); }
.grid th { color: var(--muted); font-weight: 600; }
.grid th, .grid td { border-bottom-color: var(--line); }
progress.progress::-webkit-progress-value, progress.progress::-moz-progress-bar { background: var(--accent); }

/* Filter bars */
.jobfilters, .filters { gap: 10px; }
.tabs a { color: var(--muted) !important; text-decoration: none; padding-bottom: 4px; }
.tabs a[aria-current="page"] { color: var(--fg) !important; border-bottom: 2px solid var(--accent); }

/* Footer */
.sitefoot { max-width: 1200px; margin: 0 auto; padding: 36px 24px; text-align: left; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; border-top: 1px solid var(--line); font-size: 14px; }
.sitefoot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.sitefoot a { color: var(--muted) !important; }
.sitefoot a:hover { color: var(--fg) !important; }
.quick-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 20px; }
.quick-status button { padding: 8px 14px; font-size: 14px; }
.vbadge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--muted) !important; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 9px 1px 6px; vertical-align: middle; }
.vbadge:hover { color: var(--fg) !important; border-color: var(--muted); }
.vbadge img { width: 14px; height: 14px; border-radius: 3px; }
.reqs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.reqs li { border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; font-size: 0.85rem; }
.questions { margin: 0; padding-left: 20px; }
.headshot { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; float: right; margin: 0 0 8px 12px; }
.app-extra { margin: 8px 0; }
.app-extra summary { cursor: pointer; color: var(--accent); }
.phone-field { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.phone-field legend { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; padding: 0; margin-bottom: 6px; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 1 13rem; min-width: 0; }
.phone-row input { flex: 1 1 10rem; min-width: 0; }
[data-phone-hint].ok, [data-handle-hint].ok { color: var(--good); }
[data-phone-hint].bad, [data-handle-hint].bad { color: var(--bad); }

/* The FilmIndustry Challenge */
.eyebrow { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { color: var(--accent) !important; text-decoration: none; }
.ch-hero { padding: 28px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.ch-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin: 4px 0 12px; }
.ch-status { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: var(--muted); }
.countdown { font-variant-numeric: tabular-nums; color: var(--fg); font-weight: 600; }
.ch-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 24px; }
.ch-section { margin: 40px 0; }
.ch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 16px; }
.ch-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.ch-card h3 { margin: 6px 0; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ch-icon { font-size: 1.6rem; }
.ch-big { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.25; margin: 4px 0; color: var(--fg); }
.ch-sealed { color: var(--muted); font-style: italic; }
.ch-sealed::before { content: "🔒 "; font-style: normal; }
.ch-theme { margin-top: 14px; }
.ch-timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line-2); }
.ch-timeline li { position: relative; padding: 0 0 18px 22px; display: flex; flex-direction: column; gap: 2px; }
.ch-timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.ch-timeline li.done::before { background: var(--accent); border-color: var(--accent); }
.ch-timeline span { color: var(--muted); font-size: 0.92rem; }
.ch-teams { list-style: none; padding: 0; margin: 0; }
.ch-teams li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ch-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 20px; }
.ch-film { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.ch-film.won { border-color: var(--accent); }
.ch-film-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.ch-film h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0; }
.ch-film h3 a { color: var(--fg) !important; text-decoration: none; }
.ch-awards { margin: 0; }
.ch-vote { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.ch-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ch-video-wide { border-radius: 14px; overflow: hidden; margin: 12px 0 6px; max-width: 48rem; }
.ch-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ch-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border-radius: 0; background: #08080a; display: block; cursor: pointer; }
.ch-play:hover { background: #08080a; }
.ch-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; display: block; }
.ch-play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; font-size: 24px; padding-left: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.15s; }
.ch-play:hover .ch-play-icon, .ch-play:focus-visible .ch-play-icon { transform: translate(-50%, -50%) scale(1.08); }
.ch-prizes { margin-top: 16px; color: var(--muted); }
.ch-how ol { padding-left: 20px; line-height: 1.7; }
.ch-banner { border: 1px solid var(--accent); border-radius: 18px; padding: 16px 20px; margin: 16px 0 24px; background: linear-gradient(135deg, rgba(232, 184, 74, 0.08), transparent 60%); }
.ch-banner-line { margin: 4px 0; }
.ch-team-tools { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.ch-link { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }
.ch-profile { margin: 24px 0; }
.legal h2 { font-size: 1.2rem; margin-top: 28px; }
.legal li { margin-bottom: 6px; line-height: 1.6; }
.plain { list-style: none; padding: 0; margin: 0; line-height: 1.8; }
