/* GreenlitX — streaming-service design system. Black + electric green. */
:root {
  --bg: #05070a;
  --bg2: #0b0f12;
  --panel: #0d1216;
  --panel2: #131a20;
  --border: #1e2830;
  --text: #e8ecef;
  --muted: #93a1ad;
  --accent: #7cfc00;
  --radius: 12px;
  --header-h: 62px;
  --maxw: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; }
.fineprint { color: var(--muted); font-size: 0.85rem; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0 max(0.9rem, env(safe-area-inset-right)) 0 max(0.9rem, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(5,7,10,0.94), rgba(5,7,10,0.82));
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(30,40,48,0.7);
}
body { padding-top: var(--header-h); }
body.no-fixed-pad { padding-top: 0; }
.brand { display: flex; align-items: center; text-decoration: none; }
/* logo-nav.webp is padding-trimmed (wordmark fills the frame), so 30px here shows ~63% larger than the old 44px square logo did. Original logo.webp untouched. */
.brand img { height: 30px; width: auto; display: block; }
.main-nav { display: flex; gap: 0.2rem; margin-left: auto; align-items: center; }
.main-nav a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 0.45rem 0.6rem; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav a.active { background: var(--panel2); color: var(--accent); }
/* Nav group label + separator: subtle on desktop, a real section label in the mobile panel. */
.nav-group-label { color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; padding: 0.45rem 0.2rem 0.45rem 0.7rem; border-left: 1px solid var(--border); margin-left: 0.35rem; }
.nav-sep { width: 1px; align-self: stretch; background: var(--border); margin: 0.3rem 0.35rem; }
.nav-toggle { display: none; margin-left: auto; background: var(--panel2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.8rem; font-size: 1.05rem; cursor: pointer; min-height: 44px; min-width: 44px; }
/* Language flag row — sits immediately beside the brand, in every viewport. */
.lang-flags { display: flex; gap: 0.3rem; align-items: center; margin-left: 0.35rem; }
.lang-flag { background: transparent; border: 1px solid transparent; border-radius: 9px; padding: 0.3rem 0.42rem; font-size: 1.12rem; line-height: 1; cursor: pointer; min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.lang-flag:hover { background: var(--panel2); border-color: var(--border); }
.lang-flag.active, .lang-flag[aria-pressed="true"] { background: var(--panel2); box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0.5rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .main-nav a { padding: 0.55rem 0.8rem; min-height: 44px; display: flex; align-items: center; }
  .nav-group-label { border-left: 0; margin: 0.35rem 0 0; padding: 0.55rem 0.8rem 0.15rem; border-top: 1px solid var(--border); }
  .nav-sep { width: auto; height: 1px; margin: 0.35rem 0; }
  .main-nav.open { display: flex; }
}

/* ---------- showcase hero ---------- */
.showcase { position: relative; height: min(82vh, 760px); min-height: 520px; overflow: hidden; background: #000; }
.showcase-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; pointer-events: none; }
.showcase-slide.active { opacity: 1; visibility: visible; transition: opacity 0.9s ease; pointer-events: auto; }
.showcase-slide img.backdrop { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-slide .backdrop-gradient { position: absolute; inset: 0; background: linear-gradient(165deg, hsl(var(--hue,210) 46% 15%) 0%, hsl(var(--hue,210) 52% 8%) 60%, #05070a 100%); }
.showcase-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,7,10,0.88) 0%, rgba(5,7,10,0.45) 46%, rgba(5,7,10,0.05) 75%),
  linear-gradient(0deg, var(--bg) 0%, rgba(5,7,10,0) 34%),
  linear-gradient(180deg, rgba(5,7,10,0.35) 0%, rgba(5,7,10,0) 22%); }
.showcase-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 max(1.1rem, env(safe-area-inset-right)) calc(3.2rem + env(safe-area-inset-bottom)) max(1.1rem, env(safe-area-inset-left)); }
.showcase-inner { max-width: var(--maxw); margin: 0 auto; }
.showcase-kicker { letter-spacing: 0.24em; font-size: 0.74rem; font-weight: 800; color: var(--accent); margin: 0 0 0.7rem; text-transform: uppercase; }
.showcase-title { font-size: clamp(1.9rem, 5.2vw, 3.6rem); font-weight: 900; letter-spacing: -0.01em; margin: 0 0 0.55rem; max-width: 19ch; text-shadow: 0 4px 34px rgba(0,0,0,0.65); overflow-wrap: break-word; }
.showcase-title .accent { color: var(--accent); }
.showcase-tag { font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 700; color: #fff; margin: 0 0 0.5rem; }
.showcase-log { color: #cfd8de; max-width: 58ch; margin: 0 0 1.15rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.showcase-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.showcase-meta { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.showcase-dots { position: absolute; right: 1.2rem; bottom: 3.4rem; z-index: 4; display: flex; gap: 0.45rem; }
.showcase-dots button { width: 26px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,0.35); cursor: pointer; padding: 0; }
.showcase-dots button[aria-current="true"] { background: var(--accent); }
.hero-steps { display: flex; gap: 0.55rem; flex-wrap: wrap; font-weight: 800; letter-spacing: 0.08em; font-size: 0.88rem; margin-top: 1.1rem; }
.hero-steps span { border: 1px solid rgba(255,255,255,0.28); background: rgba(5,7,10,0.55); padding: 0.42rem 0.85rem; border-radius: 999px; }
.hero-steps b { color: var(--accent); }
@media (max-width: 640px) {
  /* Mobile hero: full slogan must fit at 360/390/430px — taller stage, smaller
     type, content anchored with room to spare, nothing clipped by the header. */
  .showcase { min-height: 560px; height: 94svh; max-height: 720px; }
  .showcase-dots { display: none; }
  .showcase-content { padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
  .showcase-kicker { font-size: 0.66rem; letter-spacing: 0.18em; }
  .showcase-title { font-size: clamp(1.55rem, 8.2vw, 2.1rem); max-width: 21ch; line-height: 1.16; }
  .showcase-log { -webkit-line-clamp: 3; font-size: 0.94rem; margin-bottom: 0.85rem; }
  .showcase-actions .btn { padding: 0.55rem 0.95rem; font-size: 0.92rem; }
  .hero-steps { font-size: 0.74rem; gap: 0.4rem; margin-top: 0.8rem; }
  .hero-steps span { padding: 0.34rem 0.65rem; }
  .poster-row .card { width: 158px; }
  .brand img { height: 27px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; border: 1px solid var(--border); background: var(--panel2); color: var(--text); border-radius: 10px; padding: 0.6rem 1.1rem; font-weight: 700; font-size: 0.97rem; cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #0a0f05; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-play { background: #fff; border-color: #fff; color: #000; }
.btn-play:hover { background: rgba(255,255,255,0.85); border-color: #fff; }
.btn-ghost { background: rgba(20,27,34,0.72); backdrop-filter: blur(6px); }
.btn-small { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- sections & rows ---------- */
.wrap, .section-head, .section-intro, .poster-row, .film-grid, .filters, .results-count { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 1.1rem; }
.section-head h2 { margin: 0; position: relative; }
.section-head h2::after { content: ""; display: block; width: 40px; height: 3px; background: var(--accent); margin-top: 0.4rem; border-radius: 2px; }
.section-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.section-intro { color: var(--muted); padding: 0.25rem 1.1rem 0; }
.row-section { padding: 1.55rem 0 0.2rem; }
.poster-row {
  display: flex; gap: 0.85rem; overflow-x: auto; padding: 0.85rem 1.1rem 1.15rem;
  scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 96%, transparent 100%);
}
.poster-row::-webkit-scrollbar { display: none; }
.poster-row .card { scroll-snap-align: start; flex: 0 0 auto; width: 176px; }
@media (max-width: 640px) { .poster-row .card { width: 146px; } }
.film-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem 0.9rem; padding: 1rem 1.1rem; }
@media (min-width: 560px) { .film-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .film-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1240px) { .film-grid { grid-template-columns: repeat(6, 1fr); } }
.card { margin: 0; transition: transform 0.25s ease; }
.card:hover { transform: translateY(-5px) scale(1.015); z-index: 2; }
.poster-wrap { position: relative; }
.poster-link { display: block; text-decoration: none; }
.poster { position: relative; aspect-ratio: 2/3; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.card:hover .poster, .card:focus-within .poster { border-color: rgba(124,252,0,0.55); box-shadow: 0 14px 34px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,252,0,0.25); }
.poster img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .poster img { transform: scale(1.05); }
/* Bookmark toggle overlaid on the poster corner (film cards + watch cards). */
.bookmark-btn { position: absolute; top: 6px; right: 6px; z-index: 3; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(5,7,10,0.62); border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; color: #fff; cursor: pointer; backdrop-filter: blur(4px); }
.bookmark-btn svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.bookmark-btn:hover { border-color: var(--accent); color: var(--accent); }
.bookmark-btn[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.bookmark-btn[aria-pressed="true"] svg path { fill: var(--accent); stroke: var(--accent); }
.poster-typo { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0.85rem; color: #fff;
  background: linear-gradient(165deg, hsl(var(--hue,210) 46% 17%) 0%, hsl(var(--hue,210) 52% 9%) 58%, #05070a 100%); }
.poster-typo .typo-tag { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 0.35rem; }
.poster-typo .typo-title { font-weight: 800; font-size: 1.16rem; line-height: 1.12; text-transform: uppercase; }
.card .card-title { margin: 0.55rem 0 0.1rem; font-size: 0.98rem; font-weight: 700; color: var(--text); }

/* teaser */
.teaser-section { padding: 2.2rem 0 0.4rem; }
.teaser-frame, .trailer-frame { max-width: 900px; margin: 0.9rem auto 0; aspect-ratio: 16/9; background: #000; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.teaser-frame video, .trailer-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ---------- filters ---------- */
.filters { padding: 1rem 1.1rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.filters input[type="search"] { width: 100%; max-width: 480px; background: var(--panel); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 0.65rem 0.9rem; font-size: 1rem; }
.filter-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.filter-field { display: flex; flex-direction: column; gap: 0.3rem; font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.filter-field select { background: var(--panel); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 0.55rem 0.7rem; font: inherit; font-size: 0.95rem; min-height: 44px; max-width: 260px; }
.discover-empty { max-width: var(--maxw); margin: 0 auto; padding: 0.5rem 1.1rem 1.5rem; text-align: left; }
.discover-empty .empty-text { color: var(--muted); font-size: 1rem; margin: 0 0 0.7rem; }
@media (max-width: 640px) {
  .discover-filters .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; }
  .discover-filters .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; }
  .discover-filters .chip { white-space: nowrap; }
  .filter-field select { max-width: 200px; }
}
.chip-row { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.chip-row .chip-label { color: var(--muted); font-size: 0.85rem; font-weight: 700; margin-right: 0.2rem; }
.chip { border: 1px solid var(--border); background: var(--panel); color: var(--text); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0a0f05; }
.results-count { color: var(--muted); padding: 0.4rem 1.1rem 0; }

/* ---------- film detail ---------- */
.detail-hero { position: relative; min-height: 430px; height: 56vh; overflow: hidden; background: #000; display: flex; align-items: flex-end; }
.detail-hero img.backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.detail-hero .backdrop-gradient { position: absolute; inset: 0; background: linear-gradient(165deg, hsl(var(--hue,210) 46% 15%) 0%, hsl(var(--hue,210) 52% 8%) 60%, #05070a 100%); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.detail-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,10,0.9) 0%, rgba(5,7,10,0.45) 55%, rgba(5,7,10,0.08) 85%), linear-gradient(0deg, var(--bg) 0%, rgba(5,7,10,0) 36%); }
.detail-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 1.1rem 1.6rem; display: flex; gap: 1.4rem; align-items: flex-end; }
.detail-hero .poster { width: 168px; flex: 0 0 auto; box-shadow: 0 18px 44px rgba(0,0,0,0.65); }
@media (max-width: 640px) { .detail-hero .poster { display: none; } .detail-hero { min-height: 380px; } }
.detail-hero h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); font-weight: 900; margin: 0 0 0.3rem; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.detail-hero .tagline { font-size: 1.12rem; color: var(--accent); font-weight: 700; margin: 0 0 0.5rem; }
.detail-hero .hero-meta { color: #d5dde3; font-weight: 600; }
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; max-width: var(--maxw); margin: 0 auto; padding: 1.4rem 1.1rem 2.6rem; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }
.logline { font-size: 1.12rem; }
.detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; margin: 1rem 0; }
.detail-facts div { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.85rem; }
.detail-facts dt { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.detail-facts dd { margin: 0.25rem 0 0; font-weight: 700; }
.detail-section { margin-top: 1.6rem; }
.detail-section h2 { font-size: 1.3rem; }
.detail-section h2::after { content: ""; display: block; width: 36px; height: 3px; background: var(--accent); margin-top: 0.35rem; border-radius: 2px; }
.detail-section p { color: #c9d2d9; max-width: 68ch; }
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.8rem; }
.char-card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 0.95rem; }
.char-card h3 { margin: 0 0 0.15rem; font-size: 1rem; }
.char-card .char-role { color: var(--accent); font-size: 0.82rem; font-weight: 700; margin: 0 0 0.4rem; }
.char-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.action-panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1.1rem; }
.action-panel h3 { margin-top: 0; }
.panel-note { color: var(--muted); font-size: 0.92rem; }
.big-count { font-size: 1.6rem; font-weight: 800; }
.big-count small { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.progress { height: 10px; background: var(--panel2); border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.progress .bar { height: 100%; background: var(--accent); width: 0%; }
.treatment { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.4rem 1.2rem 1rem; }
.treatment h3 { margin-top: 1.1rem; color: var(--accent); font-size: 1.02rem; }
.treatment p { color: #c9d2d9; }
details.treatment-wrap > summary { cursor: pointer; font-weight: 800; font-size: 1.15rem; padding: 0.4rem 0; }

/* ---------- generic sections / forms ---------- */
.section { padding: 2.2rem 1.1rem; max-width: var(--maxw); margin: 0 auto; }
.section > h2::after { content: ""; display: block; width: 40px; height: 3px; background: var(--accent); margin-top: 0.4rem; border-radius: 2px; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: none; }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.pro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.8rem; margin-top: 1rem; }
.pro-card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; font-weight: 700; text-align: center; }
form .field { margin-bottom: 1rem; }
form label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
form input, form select, form textarea { width: 100%; background: var(--panel); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 0.65rem 0.85rem; font-size: 1rem; font-family: inherit; }
form .hint { color: var(--muted); font-size: 0.85rem; }
.form-msg { font-weight: 700; color: var(--accent); }
.site-footer { border-top: 1px solid var(--border); text-align: center; padding: 2rem 1rem; color: var(--muted); }
.site-footer .footer-logo-img { height: 54px; width: auto; }
.footer-slogan { color: var(--text); font-weight: 700; }
.noscript-note { text-align: center; padding: 1rem; color: #ffb35c; }

.testmode-note { margin-top: 0.9rem; font-size: 0.82rem; color: #ffb35c; border: 1px dashed rgba(255,179,92,0.45); border-radius: 8px; padding: 0.55rem 0.7rem; }
.pledge-amounts { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 0.4rem 0 0.2rem; }
.pledge-amounts .chip { font-size: 0.95rem; padding: 0.45rem 0.95rem; }
.chip-static { cursor: default; opacity: 0.75; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster img, .card, .showcase-slide { transition: none; }
  .detail-hero img.backdrop { animation: none; }
}
/* ---------- watch free ---------- */
.watch-detail .watch-back { margin: 0 0 1rem; }
.watch-detail .watch-back a { font-weight: 700; text-decoration: none; }
.watch-detail h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 900; margin: 0 0 0.35rem; }
.watch-detail h1::after { content: ""; display: block; width: 44px; height: 3px; background: var(--accent); margin-top: 0.5rem; border-radius: 2px; }
.watch-meta { color: #d5dde3; font-weight: 600; margin: 0 0 1.1rem; }
.player-wrap { position: relative; aspect-ratio: 16/9; background: #000; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; max-width: 980px; }
.player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.watch-synopsis { color: #c9d2d9; max-width: 68ch; margin: 1.1rem 0 0.6rem; }
.watch-attribution { color: var(--muted); font-size: 0.88rem; max-width: 78ch; }

/* full-bleed heroes slide under the fixed header */
#view-home, #view-film { margin-top: calc(-1 * var(--header-h)); }

/* ---------- funding facts & support panel (Wave A) ---------- */
.support-sub { font-weight: 800; font-size: 1.02rem; margin: 0 0 0.4rem; color: var(--text); }
.funding-facts { display: grid; gap: 0.5rem; margin: 1rem 0 0.4rem; }
.funding-facts div { display: flex; justify-content: space-between; gap: 1rem; background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.7rem; }
.funding-facts dt { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.funding-facts dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- legal & trust center (Wave A) ---------- */
.draft-banner { border: 1px dashed rgba(255,179,92,0.55); color: #ffb35c; border-radius: 8px; padding: 0.6rem 0.8rem; font-size: 0.88rem; font-weight: 700; }
.legal-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.legal-list a { font-weight: 700; }
.legal-doc { max-width: 820px; }
.legal-doc h3 { margin-top: 1.5rem; }
.legal-doc h4 { margin-top: 1.2rem; }
.legal-doc blockquote { border-left: 3px solid var(--accent); margin: 1rem 0; padding: 0.2rem 0 0.2rem 1rem; color: var(--muted); }
.legal-doc table { border-collapse: collapse; margin: 1rem 0; width: 100%; font-size: 0.92rem; }
.legal-doc th, .legal-doc td { border: 1px solid var(--border); padding: 0.45rem 0.6rem; text-align: left; vertical-align: top; }
.footer-legal { margin: 1.2rem auto 0; max-width: 900px; }
.footer-legal-title { color: var(--text); font-weight: 800; margin-bottom: 0.4rem; }
.footer-legal a { display: inline-block; margin: 0.15rem 0.55rem; font-size: 0.9rem; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Wave B additions ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.draft-note { color: #ffb35c; font-size: 0.8em; font-weight: 600; }
.featured-badge { color: var(--accent); font-weight: 800; }
.concept-gallery { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; align-items: start; }
@media (max-width: 640px) { .concept-gallery { grid-template-columns: 1fr 1fr; } }
.concept-gallery figure { margin: 0; }
.concept-gallery img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--border); }
.concept-gallery figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 0.35rem; }
.journal-entry { border-left: 3px solid var(--accent); padding: 0.2rem 0 0.2rem 0.9rem; margin: 0 0 0.9rem; }
.journal-date { color: var(--accent); font-weight: 800; font-size: 0.85rem; margin: 0 0 0.15rem; }
.journal-entry p { margin: 0; }
.roadmap-status { color: var(--text); }
.pref-row { display: block; padding: 0.45rem 0; font-weight: 600; }
.pref-row input { width: auto; margin-right: 0.5rem; }
.about-slogan { border-left: 3px solid var(--accent); margin: 1rem 0; padding: 0.2rem 0 0.2rem 1rem; font-size: 1.15rem; font-weight: 800; color: var(--text); }
.legal-table { border-collapse: collapse; margin: 1rem 0; width: 100%; font-size: 0.92rem; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 0.45rem 0.6rem; text-align: left; }
.footer-links a { font-weight: 700; }
select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
video:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- FINAL2 Wave 2 Part 2: film page, gallery, progress, membership ---------- */
.char-portrait { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; border-radius: 8px; margin-bottom: 0.6rem; border: 1px solid var(--border); }
.char-bio summary { cursor: pointer; font-weight: 700; color: var(--accent); margin-top: 0.45rem; }
.char-bio p { margin-top: 0.4rem; }
.concept-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; align-items: start; }
.gallery-label { margin: 0 0 0.6rem; }
.gallery-item { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: pointer; }
.gallery-item img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--border); }
.gallery-item:hover img, .gallery-item:focus-visible img { border-color: var(--accent); }
.artwork-thumb { aspect-ratio: auto; }
.artwork-tile .card-title { white-space: normal; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,5,7,0.94); display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem; }
.lightbox-figure { margin: 0; max-width: min(1000px, 88vw); text-align: center; }
.lightbox-img { max-width: 100%; max-height: 78vh; border-radius: 10px; border: 1px solid var(--border); }
.lightbox-cap { color: var(--text); margin-top: 0.6rem; font-weight: 700; }
.lightbox-close { position: absolute; top: 0.8rem; right: 0.8rem; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel2); color: var(--text); font-size: 1.4rem; cursor: pointer; }
.lightbox-nav { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 999px; border: 1px solid var(--border); background: var(--panel2); color: var(--text); font-size: 1.4rem; cursor: pointer; }
.greenlight-status { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1.1rem; }
.greenlight-status h3 { margin-top: 0; }
.goal-pending { color: var(--accent); }
.milestone-list { list-style: none; padding: 0; margin: 0.6rem 0 0; display: grid; gap: 0.55rem; }
.milestone-list li { color: var(--muted); }
.milestone-list li.done { color: var(--text); }
.milestone-mark { display: inline-block; width: 1.3rem; font-weight: 800; }
li.done .milestone-mark { color: var(--accent); }
.milestone-note { margin: 0.25rem 0 0 1.3rem; }
.detail-details { border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 1rem; margin: 0 0 0.8rem; background: var(--panel); }
.detail-details > summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; padding: 0.25rem 0; }
.support-section { margin-top: 0; }
.membership-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin: 1rem 0; }
.tier-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.tier-card h3 { margin-top: 0.2rem; }
.tier-badge { color: var(--muted); font-size: 0.8rem; font-weight: 700; margin: 0 0 0.4rem; }
.tier-live { color: var(--accent); }
.roles-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0 1.4rem; }
.roles-box h3 { margin-top: 0; font-size: 1.02rem; }
.roles-box ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.roles-box li { margin: 0.3rem 0; }
