/* site/site.css — the studio pages (/, /about, /privacy, /terms, the 404) on top of the shared sheet (ui/public/style.css: tokens, header,
   hero stage, bands, tables, chips, footer). Plain CSS: no remote font or image; light and dark follow the OS setting. */

/* header: the site's own links (the demo's tabs are drawn by its script) */
.site-nav { margin-left: auto; }
@media (max-width: 860px) { .site-nav { margin-left: 0; } }

/* a section head with an eyebrow: the shared sheet styles any paragraph in .sec-head as the lead under the heading */
.sec-head .eyebrow { margin: 0 0 18px; font-size: 13px; color: var(--blue); }

/* ---- the hero: the claim on the left, a real excerpt of the scene manifest on the right ---------------------------------- */
.hero .btn-note { margin-left: 2px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.hero-meta { display: flex; align-items: center; gap: 10px; }
.state-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--amber); box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.22); }

.manifest-card { margin: 0; background: var(--stage-2); border-radius: 16px; padding: 22px 22px 18px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--stage-line); color: var(--on-stage); min-width: 0; }
.mc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--stage-line); }
.mc-title { margin: 0; font: 700 13px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--on-stage-2); }
.mc-tag { margin: 0; padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--amber); font: 700 11.5px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.manifest-card .table-wrap { border-radius: 0; }
.manifest-card table { font-size: 15.5px; }
.manifest-card th, .manifest-card td { padding: 13px 10px; border-bottom: 1px solid var(--stage-line); background: transparent; color: var(--on-stage); }
.manifest-card thead th { padding-top: 12px; padding-bottom: 10px; color: var(--on-stage-2); background: transparent; }
.manifest-card tbody tr:hover { background: transparent; }
.manifest-card tbody th code { color: var(--on-stage); font-size: 14px; }
.manifest-card .what { color: var(--on-stage); }
.manifest-card .sub { color: var(--on-stage-2); }
.manifest-card td:last-child { text-align: right; white-space: nowrap; }
.manifest-card tr.flag { background-color: transparent; background-image: none; }
.manifest-card tr.flag > :first-child { box-shadow: inset 3px 0 0 #F2A272; }
.manifest-card .chip { background: #2A333D; color: #E9ECE6; box-shadow: none; }
.manifest-card .chip.lv-UNCERTAIN { background: #3A2416; color: #F2A272; }
.manifest-card .chip.lv-UNKNOWN, .manifest-card .chip.lv-BLOCKED { background: #F2A272; color: #12171D; }
.manifest-card .chip.lv-CLEARED { background: #1C2547; color: #8FA3FF; }
.mc-foot { margin: 14px 0 0; font: 500 14px/1.5 var(--font-head); color: var(--on-stage-2); }
.mc-foot a { color: var(--on-stage); }
.mc-foot a:hover { color: #fff; }
.mc-chip { display: none; }   /* the phone layout's copy of the rights chip */
@media (max-width: 560px) {
  /* two columns on a phone: the rights chip sits above the picture it belongs to */
  .manifest-card { padding: 16px 14px 14px; }
  .manifest-card th, .manifest-card td { padding: 12px 8px; }
  .manifest-card th:first-child { padding-left: 10px; }
  .manifest-card .mc-rights { display: none; }
  .manifest-card .mc-chip { display: block; margin: 0 0 8px; }
  .manifest-card table { font-size: 15.5px; }
}
@media (max-width: 340px) { .manifest-card { padding: 14px 8px 12px; } }

/* ---- the engine: what it is, where it stands ------------------------------------------------------------------------------ */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel-card { padding: 28px 28px 26px; border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.panel-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; font: 700 20px/1.25 var(--font-head); }
.panel-card p { margin: 0; font-size: 18px; color: var(--ink-2); }
.panel-card { transition: box-shadow .2s ease; }
.panel-card:hover { box-shadow: 0 2px 4px rgba(17, 22, 28, 0.06), 0 16px 40px rgba(17, 22, 28, 0.12), inset 0 0 0 1px var(--line); }

/* ---- the pipeline: one film's stages, with the example episode's numbers ----------------------------------------------------- */
.pipeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: none;
  border-radius: var(--radius); background: var(--bg-raised); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); overflow: hidden; }
.pipeline li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 22px; border-left: 1px solid var(--line); }
.pipeline li:first-child { border-left: 0; }
.pl-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-sunk); font: 700 13px/1 var(--font-head); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pl-k { font: 700 13px/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.pl-v { font: 700 24px/1.15 var(--font-head); letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.pl-note { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.pl-foot { margin: 14px 0 0; font: 500 14.5px/1.5 var(--font-head); color: var(--ink-3); }
@media (max-width: 960px) { .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pipeline li { border-left: 0; border-top: 1px solid var(--line); } .pipeline li:nth-child(-n+2) { border-top: 0; } .pipeline li:nth-child(even) { border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr; } .pipeline li:nth-child(2) { border-top: 1px solid var(--line); } .pipeline li:nth-child(even) { border-left: 0; } .pipeline li { padding: 18px 18px; } }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } }

/* ---- the rule and how we work ----------------------------------------------------------------------------------------------- */
.rule-block { max-width: 900px; margin-bottom: 44px; }
.rule { margin: 0 0 16px; font: 700 clamp(28px, 3.6vw, 44px)/1.12 var(--font-head); letter-spacing: -0.02em; }
.rule-note { margin: 0; font-size: 18.5px; color: var(--ink-2); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.principles li { padding: 22px 0; border-top: 1px solid var(--line); }
.principles h3 { margin: 0 0 8px; font: 700 18px/1.3 var(--font-head); }
.principles p { margin: 0; font-size: 17px; color: var(--ink-2); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---- contact ------------------------------------------------------------------------------------------------------------------ */
.contact-block h2 { margin: 0 0 14px; font: 700 clamp(26px, 3vw, 36px)/1.15 var(--font-head); letter-spacing: -0.02em; }
.contact-line { margin: 0; font-size: 20px; }
.contact-line a { font-family: var(--font-head); font-weight: 600; overflow-wrap: anywhere; }
.contact-line { color: var(--ink-2); }
.contact-actions { margin: 22px 0 0; }
.contact-actions .btn { height: 50px; padding: 0 24px; font-size: 17px; max-width: 100%; }
.contact-actions .btn span { overflow: hidden; text-overflow: ellipsis; }

/* ---- text pages: about, privacy, terms ------------------------------------------------------------------------------------- */
.prose > * { max-width: 760px; }   /* the measure; the block itself stays on the page grid, under the heading */
.prose h2 { margin: 40px 0 12px; padding-top: 32px; border-top: 1px solid var(--line); font: 700 22px/1.25 var(--font-head); letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { margin: 0 0 14px; font-size: 18px; }
.prose a { overflow-wrap: anywhere; }
.updated { margin: 16px 0 0; font: 500 14.5px/1.4 var(--font-head); color: var(--ink-3); }
.actions-404 { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.links-404 { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 820px; }
.links-404 a { display: block; height: 100%; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .15s ease; }
.links-404 a:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--ink); }
.links-404 b { display: block; font: 700 17px/1.3 var(--font-head); color: var(--blue); }
.links-404 span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 560px) { .links-404 { grid-template-columns: 1fr; } }
.stats b, .mc-foot { font-variant-numeric: tabular-nums lining-nums; }
.page-404 { min-height: 46vh; }

/* ---- status page ---------------------------------------------------------------------------------------------------------------- */
.chip.st-planned { color: var(--ink-2); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
table.status-table { min-width: 880px; }
.status-table th[scope="row"] { min-width: 220px; }
.status-table td:last-child { min-width: 240px; color: var(--ink-2); }
.status-table .what { display: block; font-family: var(--font-head); font-weight: 600; }
.status-table .sub { display: block; margin-top: 4px; }
.evidence { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; }
.evidence code { font-size: 13px; }
table.formats-table { min-width: 1040px; }
.formats-table th[scope="row"] { width: 30%; }
.formats-table .what code { display: block; margin-top: 2px; font-weight: 400; color: var(--ink-2); }
.formats-table .fmt-note { font-size: 14.5px; line-height: 1.5; font-family: var(--font-body); font-weight: 400; color: var(--ink-2); }
.formats-table td:nth-child(2), .formats-table td:nth-child(3), .formats-table td:nth-child(5) { white-space: nowrap; }
.formats-table td:last-child { min-width: 260px; }
.ok-mark { color: var(--blue); font-weight: 700; }
