/* Production side (P&C and film): built from production vernacular, a clapperboard slate, stripboard scene strips and
   tungsten light, on top of site.css. Loaded only on pages with side = "production". */
.side-production {
  --slate: #2b2f36;          /* the slate board */
  --slate-2: #353a42;
  --chalk: #f2f2ef;          /* writing on the slate */
  --chalk-muted: #c9cdd3;
  --tungsten: #e9a23b;       /* tungsten light: primary action */
  --tungsten-dark: #c9831f;
  --paper: #f7f7f4;
  --ink: #1f2329;
  --brand: #1f4e79;          /* links on light backgrounds */
  --mist: #ecebe6;
  --strip-1: #f3d35b;        /* stripboard colours: day exterior */
  --strip-2: #9cc7e8;        /* night */
  --strip-3: #a9d8a6;        /* day interior */
  --strip-4: #f2b3c6;        /* special */
  --condensed: "Bahnschrift Condensed", Bahnschrift, "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  background: var(--paper);
}
.side-production h1, .side-production h2, .side-production h3 { font-family: var(--condensed); font-stretch: condensed; letter-spacing: 0.005em; }
.side-production :focus-visible { outline-color: var(--tungsten); }

/* Header: the slate, with clapper sticks along the bottom edge */
.masthead-production { background: var(--slate); border-bottom: 0; position: relative; }
.masthead-production::after { content: ""; display: block; height: 8px; background: repeating-linear-gradient(-45deg, var(--chalk) 0 14px, #111 14px 28px); }
.masthead-production .brand { color: var(--chalk); font-family: var(--condensed); font-size: 1.3rem; }
.masthead-production .brand em { font-style: normal; color: var(--tungsten); }
.masthead-production .nav a:not(.btn) { color: var(--chalk); }
.masthead-production .nav a:not(.btn):hover, .masthead-production .nav a:not(.btn)[aria-current="page"] { color: var(--tungsten); }
.side-production .btn-primary { background: var(--tungsten); color: #1b1b1b; }
.side-production .btn-primary:hover { background: var(--tungsten-dark); color: #1b1b1b; }
.side-production .btn-quiet { border-color: var(--chalk); color: var(--chalk); }

/* Hero on the slate, with the quote checklist drawn as a clapperboard */
.p-hero { background: var(--slate-2); color: var(--chalk); padding: clamp(2.5rem, 7vw, 5rem) 0; }
.p-hero h1 { color: var(--chalk); font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.p-hero .lede { color: var(--chalk-muted); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.slate { background: #16191e; border-radius: 6px; padding: 0 1.25rem 1.25rem; box-shadow: 0 0 0 2px #0c0d10; }
.slate-sticks { height: 22px; margin: 0 -1.25rem 1rem; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(-45deg, var(--chalk) 0 18px, #111 18px 36px); }
.slate h2 { color: var(--tungsten); font-size: 1.15rem; margin-bottom: 0.75rem; }
.slate dl { margin: 0; }
.slate dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; padding: 0.6rem 0; border-top: 1px solid #3a3f47; }
.slate dt { font-family: var(--condensed); font-stretch: condensed; font-weight: 700; color: var(--chalk); }
.slate dd { margin: 0; color: var(--chalk-muted); }

.p-section { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.p-band { background: var(--mist); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.p-lanes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; }
.p-lanes a { display: block; height: 100%; padding: 1rem 1.1rem; background: #fff; border: 1px solid #b9b8b0; border-left: 6px solid var(--tungsten); border-radius: 6px; text-decoration: none; color: var(--text); }
.p-lanes a:hover { border-color: var(--slate); border-left-color: var(--tungsten-dark); }
.p-lanes strong { display: block; color: var(--ink); font: 700 1.15rem var(--condensed); margin-bottom: 0.3rem; }

/* Coverage as a stripboard: one coloured strip per coverage line */
.stripboard { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.5rem; }
.strip { display: grid; grid-template-columns: minmax(11rem, 16rem) 1fr; gap: 1rem; align-items: baseline; padding: 0.75rem 1rem; border-left: 10px solid; background: #fff; }
.strip strong { font-family: var(--condensed); font-stretch: condensed; font-size: 1.1rem; color: var(--ink); }
.strip-1 { border-left-color: var(--strip-1); }
.strip-2 { border-left-color: var(--strip-2); }
.strip-3 { border-left-color: var(--strip-3); }
.strip-4 { border-left-color: var(--strip-4); }

.side-production .footer { background: var(--slate); color: var(--chalk-muted); border-top: 0; }
.side-production .footer a { color: var(--chalk); }
.side-production .footer-brand { color: var(--chalk); font-family: var(--condensed); }
.side-production .disclaimer { color: var(--chalk-muted); }
.side-production mark.needs { color: #1b1b1b; }

@media (max-width: 760px) {
  .p-hero-grid, .strip { grid-template-columns: 1fr; }
  .strip { gap: 0.25rem; }
  .masthead-production .brand { font-size: 1.05rem; }
}

/* Production risk profile: the form beside a live coverage map; one section at a time when JavaScript runs. */
.rp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.rp-form fieldset.rp-step { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.rp-form .rp-title { font: 700 1.45rem/1.2 var(--condensed); color: var(--ink); margin-bottom: 0.75rem; }
.rp-intro { margin-top: 0; }
.rp-form.stepped .rp-step { display: none; }
.rp-form.stepped .rp-step.rp-current { display: block; }
.rp-form .rp-step[hidden], .rp-form [data-lanes][hidden] { display: none; }
.rp-progress { font: 600 0.95rem var(--condensed); color: var(--muted); margin: 0 0 0.5rem; }
.rp-nav { display: flex; gap: 0.75rem; justify-content: space-between; margin-top: 1rem; }
.rp-nav .btn[hidden] { display: none; }
.side-production .rp-nav .btn-quiet { border-color: var(--slate); color: var(--ink); }
.rp-nav .btn-primary:only-child, .rp-nav .btn[hidden] + .btn-primary { margin-left: auto; }
.lanes { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.lead-form .lane { display: flex; align-items: center; font-weight: 600; padding: 0.8rem 1rem; border: 1px solid #8a9aa6; border-radius: 6px; background: #fff; cursor: pointer; }
.lead-form .lane:has(input:checked) { border-color: var(--slate); box-shadow: inset 4px 0 0 var(--tungsten); }
.lead-form fieldset.answer { margin: 0 0 1.1rem; }
.lead-form fieldset.answer legend { font-weight: 600; }
.answer-row { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.answer-row label { display: inline-flex; align-items: center; margin: 0; }
.rp-docs { background: var(--mist); padding: 1rem 1.2rem; border-radius: 6px; margin: 0 0 1.25rem; }
.rp-docs p { margin-top: 0; }
.rp-docs ul { margin-bottom: 0; }
.rp-map { position: sticky; top: 1rem; background: var(--slate); color: var(--chalk); border-radius: 8px; padding: 1.1rem 1.2rem; }
.rp-map h2 { color: var(--chalk); margin-top: 0; font-size: 1.35rem; }
.rp-map .hint { color: var(--chalk-muted); font-size: 0.875rem; }
.rp-map a { color: var(--chalk); }
.rp-map ul { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.rp-map li { padding: 0.4rem 0; border-top: 1px solid var(--slate-2); }
.rp-map li strong { display: block; }
.rp-why { display: block; font-size: 0.85rem; color: var(--chalk-muted); }
.rp-status { font-size: 1rem; margin: 0.9rem 0 0.25rem; padding-left: 0.6rem; border-left: 6px solid var(--chalk-muted); color: var(--chalk); }
.rp-status.rp-required { border-color: var(--strip-4); }
.rp-status.rp-core { border-color: var(--strip-1); }
.rp-status.rp-recommended { border-color: var(--strip-3); }
.rp-status.rp-specialty { border-color: var(--strip-2); }
.rp-map-empty { color: var(--chalk-muted); }
@media (max-width: 900px) { .rp-layout { grid-template-columns: 1fr; } .rp-map { position: static; } }

/* What can stop your shoot? coverage explained by scenario, grouped like a producer thinks. */
.cov-group { margin: 2.5rem 0; }
.cov-lede { color: var(--muted); max-width: var(--measure); }
.cov-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.cov { background: #fff; border: 1px solid var(--mist); border-top: 6px solid var(--strip-1); border-radius: 6px; padding: 1rem 1.1rem; }
.cov-group:nth-of-type(2n) .cov { border-top-color: var(--strip-2); }
.cov-group:nth-of-type(3n) .cov { border-top-color: var(--strip-3); }
.cov h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.cov p { margin: 0 0 0.5rem; }
.cov-scene { font-style: italic; }
.cov-tag { font: 700 0.75rem var(--condensed); font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; background: var(--slate); color: var(--chalk); padding: 0.1rem 0.4rem; border-radius: 3px; margin-right: 0.3rem; }
