:root {
  color-scheme: dark;
  --bg: #111713;
  --paper: #1a231d;
  --ink: #f0f2e9;
  --muted: #b0baac;
  --line: #354236;
  --accent: #d9ef87;
  --green: #233a2b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
}
[hidden] { display: none !important; }
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
button,
.button {
  background: var(--accent);
  color: #172019;
  border: 1px solid var(--accent);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
button:hover:enabled,
.button:hover {
  background: #e5f6b1;
  transform: translateY(-1px);
}
.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #65755d;
}
.secondary:hover:enabled {
  background: #30412f;
}
.skip {
  position: absolute;
  left: 20px;
  top: -80px;
  background: #243b2c;
  color: white;
  padding: 12px;
  z-index: 3;
}
.skip:focus {
  top: 12px;
}
header {
  max-width: 1480px;
  margin: auto;
  padding: 24px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.6px;
  text-decoration: none;
  line-height: 1;
}
.brand span {
  font-weight: 400;
}
.brand i {
  font-style: normal;
  font-size: 24px;
  margin-left: 8px;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  font-size: 13px;
  text-decoration: none;
}
header nav a:hover {
  text-decoration: underline;
}
#connection {
  font-size: 11px;
  background: #263426;
  padding: 8px 13px;
  border-radius: 20px;
  white-space: nowrap;
}
main {
  max-width: 1400px;
  margin: auto;
  padding: 0 5vw;
}
.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 7%;
  align-items: center;
  padding: 66px 0 58px;
}
.eyebrow,
.mini-label,
.source-number {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
}
.eyebrow {
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -3px;
  margin: 18px 0 26px;
}
h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: #c4db9b;
}
.lede {
  max-width: 470px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
  letter-spacing: 0.4px;
}
.editorial-art {
  height: 400px;
  background: #253328;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.art-label {
  position: absolute;
  top: 20px;
  left: 23px;
  font-size: 8px;
  letter-spacing: 2px;
}
.story-card {
  position: absolute;
  width: 49%;
  height: 68%;
  background: #dce4c9;
  color: #253321;
  left: 7%;
  top: 16%;
  padding: 19px;
  transform: rotate(-9deg);
  box-shadow: 0 12px 25px #293a2917;
  border: 1px solid #d0d4be;
}
.story-card > span,
.reel-card > span {
  font-size: 8px;
  letter-spacing: 1px;
  display: block;
}
.story-card strong {
  font: 30px/1.1 var(--serif);
  display: block;
  margin-top: 30px;
  letter-spacing: -1px;
}
.story-card em {
  font-weight: 400;
}
.print-lines {
  width: 80%;
  height: 12px;
  border-top: 1px solid #8f9781;
  border-bottom: 1px solid #8f9781;
  margin-top: 20px;
}
.story-bottom {
  position: absolute;
  bottom: 17px;
}
.reel-card {
  position: absolute;
  left: 48%;
  top: 19%;
  width: 41%;
  height: 69%;
  background: #344c3e;
  color: #f3f5dd;
  padding: 17px;
  transform: rotate(7deg);
  box-shadow: 0 12px 24px #1f34252b;
  overflow: hidden;
  border: 1px solid #607a51;
}
.aperture {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 190px;
}
.aperture i {
  position: absolute;
  border: 1px solid #c1d99c;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  top: 20px;
  left: calc(50% - 65px);
}
.aperture i:nth-child(2) {
  transform: translateX(-26px);
}
.aperture i:nth-child(3) {
  transform: translateX(26px);
}
.aperture i:nth-child(4) {
  transform: translateY(-26px);
}
.play-mark {
  position: absolute;
  top: 40%;
  left: calc(50% - 22px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #e2edc0;
  border-radius: 50%;
  font-size: 15px;
  background: #344c3e;
}
.reel-card .reel-bottom {
  position: absolute;
  bottom: 20px;
  font-size: 8px;
  line-height: 2;
}
.reel-bottom b {
  font-size: 10px;
}
.art-caption {
  position: absolute;
  bottom: 16px;
  left: 22px;
  right: 20px;
  font-size: 8px;
  letter-spacing: 1.6px;
  display: flex;
  justify-content: space-between;
}
.art-caption span {
  font-size: 17px;
}
.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.journey a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  text-decoration: none;
  border-right: 1px solid var(--line);
}
.journey a:first-child {
  padding-left: 0;
}
.journey a:last-child {
  border: 0;
  padding-right: 0;
}
.journey b {
  font: 23px var(--serif);
  color: #c0d49a;
}
.journey span {
  font-size: 12px;
  font-weight: 700;
}
.journey small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.journey i {
  font-style: normal;
  margin-left: auto;
}
.journey a:hover span {
  text-decoration: underline;
}
.section {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  margin-bottom: 22px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
h2 {
  font: 36px/1.15 var(--serif);
  letter-spacing: -1px;
  margin: 0;
}
h3 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 12px 0 18px;
}
.section-heading > p {
  max-width: 260px;
  color: var(--muted);
  font-size: 13px;
}
.section-description {
  font-size: 14px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 0 26px;
}
.connection-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  gap: 18px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 7px;
}
.mini-label {
  color: #bfd695;
}
.panel h3 {
  margin-top: 10px;
}
.access-row {
  display: flex;
  gap: 8px;
}
.access-row input {
  min-width: 0;
  flex: 1;
}
.access-row button {
  flex-shrink: 0;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
label {
  display: block;
  font-size: 12px;
  margin: 16px 0 8px;
  font-weight: 600;
}
input[type="password"],
textarea,
select {
  border: 1px solid #687660;
  background: var(--paper);
  color: var(--ink);
  border-radius: 5px;
  padding: 12px;
  font-size: 13px;
}
textarea {
  width: 100%;
  resize: vertical;
  line-height: 1.7;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.technical {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 18px;
  font-size: 12px;
}
summary {
  cursor: pointer;
}
.context {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #263426;
  padding: 15px;
  margin-top: 12px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.source-card {
  padding: 25px;
  background: #253222;
  border-radius: 7px;
  border-top: 3px solid #7f9465;
}
.source-card:nth-child(2) {
  background: #352c26;
  border-color: #ac876d;
}
.source-card:nth-child(3) {
  background: #20332f;
  border-color: #60877b;
}
.source-number {
  font-size: 9px;
}
.source-card h3 {
  font: 25px var(--serif);
  margin: 25px 0 15px;
}
.source-card p {
  font-size: 12px;
  max-width: 240px;
  color: var(--muted);
  min-height: 39px;
}
.source-state {
  display: block;
  font-size: 10px;
  border-top: 1px solid #8a977733;
  padding-top: 13px;
  margin-top: 24px;
}
.schedule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 27px;
  padding: 26px 0 10px;
}
.schedule h3 {
  margin: 8px 0;
  font-size: 18px;
}
.schedule-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.schedule-controls label {
  margin: 0;
}
.schedule-controls > label:first-child {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.status-line {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 0;
}
.editorial-tag {
  font-size: 9px;
  letter-spacing: 1px;
  border: 1px solid #65755d;
  border-radius: 30px;
  padding: 8px 13px;
  white-space: nowrap;
}
.empty-state {
  background: #1d291e;
  padding: 38px;
  text-align: center;
  border-radius: 7px;
}
.empty-state > span {
  font-size: 30px;
  color: #bdd29a;
}
.empty-state h3 {
  font: 26px var(--serif);
  margin: 8px 0;
}
.empty-state p {
  max-width: 470px;
  margin: 12px auto;
  font-size: 13px;
  color: var(--muted);
}
.production-panel {
  background: var(--green);
  color: #f3f5e8;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 35px;
  align-items: center;
  padding: 30px;
  margin-top: 25px;
  border-radius: 7px;
}
.production-panel h3 {
  font: 27px var(--serif);
  margin: 10px 0;
}
.production-panel .eyebrow {
  font-size: 9px;
  color: #c6db9f;
  margin-bottom: 10px;
}
.production-panel p {
  font-size: 12px;
}
.production-panel .muted {
  color: #d0d6c8;
  font-size: 11px;
}
.production-actions {
  display: grid;
  gap: 10px;
}
.production-actions button {
  background: var(--accent);
  color: #172019;
  border-color: var(--accent);
}
.production-actions .secondary {
  background: transparent;
  color: #f3f5e8;
  border-color: #a5b29a;
}
.production-actions button:hover:enabled {
  background: #c8df79;
  color: #172019;
}
.manual {
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 20px;
  padding: 18px 24px;
}
.manual > summary {
  font-size: 13px;
}
.manual > summary span {
  float: right;
}
.composer {
  padding: 12px 0;
}
.consent {
  display: flex;
  align-items: start;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
  margin: 17px 0;
}
.consent input {
  flex-shrink: 0;
}
.job {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}
.job p {
  font-size: 13px;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.job small {
  color: var(--muted);
  font-size: 10px;
}
.job button,
.job .button {
  margin-top: 12px;
}
.production-activity { display: block; margin-top: 10px; }
.production-progress { margin-top: 14px; font-size: 12px; min-width: 0; }
.production-progress summary { cursor: pointer; color: var(--ink); padding: 8px 0; }
.production-progress ol { list-style: none; padding: 0; margin: 8px 0 0; border-left: 1px solid var(--line); }
.production-progress li { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 10px; padding: 7px 0 7px 12px; overflow-wrap: anywhere; }
.production-progress time { color: var(--muted); font-variant-numeric: tabular-nums; }
.badge {
  font-size: 10px;
  align-self: start;
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 20px;
  background: #2b3926;
}
.badge[data-status="needs_review"] {
  background: #493821;
  color: #f4d298;
}
.badge[data-status="completed"] {
  background: #30442a;
  color: #d0e6b1;
}
.badge[data-status="running"] {
  background: #263c46;
  color: #bcdfef;
}
#campaigns .job {
  display: block;
  border: 1px solid var(--line);
  padding: 25px;
  background: var(--paper);
  border-radius: 7px;
  margin-bottom: 16px;
}
#campaigns h3 {
  font: 27px var(--serif);
  margin-top: 0;
}
#campaigns details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
#campaigns summary {
  font-size: 13px;
  font-weight: 700;
}
#campaigns details p {
  font-size: 14px;
  line-height: 1.8;
}
#campaigns blockquote {
  font-size: 12px;
  color: var(--muted);
  border-left: 2px solid #b6c59b;
  padding-left: 16px;
  margin: 15px 0;
}
#campaigns details a {
  font-size: 12px;
  margin-right: 16px;
}
#campaigns details button {
  margin-right: 8px;
}
.empty {
  font-size: 13px;
  color: var(--muted);
}
#message:empty {
  display: none;
}
#message {
  position: sticky;
  top: 12px;
  z-index: 2;
  padding: 14px 20px;
  margin: 20px 0;
  background: #3e3021;
  border: 1px solid #b79b70;
  border-radius: 5px;
  font-size: 13px;
  box-shadow: 0 4px 15px #39281211;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 38px 0;
}
footer p {
  font-size: 12px;
}
footer p span {
  font-size: 10px;
  color: var(--muted);
}
footer > a:last-child {
  font-size: 11px;
}
.intro,
.journey {
  animation: arrive 0.6s ease-out;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1450px) {
  main,
  header {
    padding-left: 70px;
    padding-right: 70px;
  }
}
@media (max-width: 1000px) {
  header nav {
    gap: 18px;
  }
  .intro {
    gap: 30px;
  }
  .editorial-art {
    height: 350px;
  }
  .story-card strong {
    font-size: 25px;
  }
  .journey a {
    padding: 0 12px;
    gap: 9px;
  }
  .journey small {
    font-size: 9px;
  }
  .journey i {
    display: none;
  }
  .connection-grid {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
    padding: 20px;
  }
  .access-row {
    flex-direction: column;
  }
  .schedule {
    align-items: start;
  }
  .schedule-controls {
    max-width: 330px;
  }
  .source-card {
    padding: 20px;
  }
  .source-card h3 {
    font-size: 22px;
  }
  .production-panel {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  header {
    padding: 21px 5vw;
    flex-wrap: wrap;
    gap: 17px;
  }
  header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .brand {
    font-size: 26px;
  }
  #connection {
    font-size: 10px;
    padding: 7px 10px;
  }
  .intro {
    grid-template-columns: 1fr;
    padding: 36px 0;
    gap: 26px;
  }
  h1 {
    font-size: 49px;
    letter-spacing: -2.5px;
  }
  .lede {
    font-size: 14px;
  }
  .editorial-art {
    height: 330px;
    max-width: 460px;
    width: 100%;
  }
  .story-card strong {
    font-size: 28px;
  }
  .story-card {
    width: 46%;
    left: 10%;
    padding: 15px;
  }
  .reel-card {
    width: 37%;
    left: 51%;
    padding: 14px;
  }
  .story-card > span,
  .reel-card > span {
    font-size: 7px;
  }
  .journey {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
    padding: 20px 0;
  }
  .journey a {
    padding: 0 12px !important;
  }
  .journey a:nth-child(2) {
    border: 0;
  }
  .journey span {
    font-size: 11px;
  }
  .section {
    padding: 35px 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  h2 {
    font-size: 31px;
  }
  .section-heading > p {
    max-width: none;
    margin: 0;
  }
  .connection-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }
  .source-card {
    padding: 23px;
  }
  .source-card h3 {
    margin: 15px 0 10px;
    font-size: 26px;
  }
  .source-card p {
    max-width: none;
    min-height: 0;
  }
  .source-state {
    margin-top: 17px;
  }
  .schedule {
    flex-direction: column;
    gap: 10px;
  }
  .schedule-controls {
    max-width: none;
    width: 100%;
  }
  .schedule-controls select {
    flex: 1;
    min-width: 140px;
  }
  .schedule-controls .check {
    font-size: 12px;
  }
  .production-panel {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 12px;
  }
  .empty-state {
    padding: 28px 20px;
  }
  .manual {
    padding: 17px;
  }
  .job {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .badge {
    justify-self: start;
  }
  footer {
    flex-wrap: wrap;
    gap: 14px;
  }
  footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .editorial-tag {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.flow-credits {margin:1.25rem 0;padding:1.1rem;border:1px solid rgba(220,246,126,.35);border-radius:12px;background:rgba(220,246,126,.055);}
.flow-credits strong {display:block;margin:.35rem 0;font-size:1.65rem;font-weight:750;color:#dcf67e;}
.flow-credits p {font-size:.85rem;margin:.4rem 0 .85rem;}
.social-copy {white-space:pre-wrap;overflow-wrap:anywhere;}

.inspection-history { margin-top: 2rem; }
.inspection-history > summary { padding: 1rem 0; cursor: pointer; color: var(--muted); }
#production-preparation { display: block; }
#production-preparation[hidden] { display: none; }
