/* Production Call Sheet – "printed call sheet": sage paper, bottle-green ink, revision pink. */

@font-face { font-family: "Asap Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/asap-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Asap Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/asap-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Asap Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/asap-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ubuntu-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/ubuntu-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #edf1ec;
  --white: #ffffff;
  --sunk: #e1e8e2;
  --ink: #14342b;
  --soft: #4a5f57;
  --line: #c9d4cb;
  --pink: #c2335f;
  --pink-dark: #9c2049;
  --tint: #f9dfe7;
  --red: #b3261e;
  --ok: #1f6e46;
  --cond: "Asap Condensed", "Arial Narrow", sans-serif;
  --text: "Atkinson Hyperlegible", system-ui, sans-serif;
  --mono: "Ubuntu Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere; hyphens: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--cond); line-height: 1.08; margin: 0; overflow-wrap: anywhere; hyphens: auto; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }
.label { font-family: var(--cond); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-dark); margin: 0 0 0.6em; }
.small { font-size: 0.9rem; color: var(--soft); }
.mono { font-family: var(--mono); }
.note { font-size: 0.95rem; color: var(--soft); }

/* Header with the double form rule */
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--cond); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 10px 12px; min-height: 44px; font-family: var(--cond); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; border-radius: 4px; }
.nav a:hover { background: var(--sunk); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.rule { display: flex; gap: 6px; align-items: flex-start; }
.rule::before { content: ""; width: 44px; height: 9px; background: var(--pink); border-radius: 1px; flex: none; }
.rule span { flex: 1; height: 9px; border-top: 4px solid var(--ink); border-bottom: 1.5px solid var(--ink); box-sizing: border-box; }

/* Hero: the call sheet header grid */
.hero { padding-top: 32px; padding-bottom: 24px; }
.sheet-head { display: grid; grid-template-columns: 1.35fr 0.8fr 0.95fr; border: 3px solid var(--ink); background: var(--white); }
.cell { padding: 28px 26px; border-right: 1.5px solid var(--ink); min-width: 0; }
.cell:last-child { border-right: 0; }
.cell-prod h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: var(--soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 8px; }
.cell-title { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; }
.cs { font-family: var(--cond); font-weight: 800; font-size: 2rem; letter-spacing: 0.12em; margin: 0; }
.dayno { font-family: var(--cond); font-weight: 700; font-size: 1.3rem; margin: 0; }
.unit { margin-top: 22px; border: 3px solid var(--ink); background: var(--tint); padding: 12px 18px; width: 100%; max-width: 230px; }
.unit .label { color: var(--soft); margin-bottom: 0; }
.unit .big { font-family: var(--mono); font-weight: 700; font-size: 3.6rem; line-height: 1; margin: 4px 0 6px; }
.unit .small { margin: 0; }
.cell-shot { background: var(--sunk); display: flex; align-items: flex-start; justify-content: center; padding: 22px 22px 0; overflow: hidden; }
.cell-shot .shot { max-width: 300px; border-bottom: 0; border-radius: 10px 10px 0 0; }
.rev { text-align: right; font-size: 0.9rem; color: var(--soft); margin: 8px 0 0; }

.shot { margin: 0; border: 5px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--white); }

/* Section headings on black form bars, as on the printed sheet */
h2.bar { display: inline-block; background: var(--ink); color: var(--white); padding: 6px 12px; border-radius: 3px; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin: 0 0 26px; }

/* Feature rows numbered with the times of the day */
.rows { padding-top: 56px; padding-bottom: 24px; }
.row { display: grid; grid-template-columns: 120px 1fr 320px; gap: 32px; align-items: start; padding: 32px 0; border-top: 1.5px solid var(--ink); }
.row:last-child { border-bottom: 1.5px solid var(--ink); }
.row-time span { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 2rem; border: 3px solid var(--ink); padding: 4px 10px; background: var(--white); }
.row-flip .row-time span { background: var(--tint); }
.row-text h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.row-text p:last-child { color: var(--soft); max-width: 34em; }
.row-shot { max-width: 320px; }

/* Checks */
.checks { padding-top: 56px; }
.checks-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; background: var(--white); border: 3px solid var(--ink); padding: 32px; }
.intro { font-size: 1.15rem; }
.ticks, .warns { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1.5px solid var(--line); }
.ticks li, .warns li { padding: 10px 0 10px 40px; border-bottom: 1.5px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 22px; height: 22px; border-radius: 3px; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.warns li::before { content: "!"; position: absolute; left: 4px; top: 11px; width: 22px; height: 22px; border-radius: 3px; background: #e9b13b; color: var(--ink); font-family: var(--cond); font-weight: 800; text-align: center; line-height: 22px; }
.sub { font-size: 1.4rem; font-weight: 800; margin: 8px 0 12px; }
.checks .shot { max-width: 340px; }

/* Copy as template */
.copy { padding-top: 56px; }
.copy-box { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; background: var(--ink); color: var(--white); border-radius: 8px; padding: 36px; }
.copy-box .label { color: #ffb3c8; }
.copy-box h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 16px; }
.copy-box p { color: #d7e4dc; max-width: 34em; }
.copy-box .shot { border-color: var(--white); }

/* Also in the app */
.more { padding-top: 56px; }
.more-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.more-grid li { padding: 20px 22px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); background: var(--white); }
.more-grid h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.more-grid p { margin: 0; color: var(--soft); font-size: 1rem; }

/* Facts table */
.facts { padding-top: 56px; }
.fact-table { width: 100%; border-collapse: collapse; background: var(--white); border: 3px solid var(--ink); margin-bottom: 16px; }
.fact-table th, .fact-table td { text-align: left; padding: 12px 16px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.fact-table th { font-family: var(--cond); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; width: 34%; border-right: 1.5px solid var(--ink); }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }

/* Download */
.download { padding-top: 56px; padding-bottom: 64px; }
.download-box { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border: 3px solid var(--ink); background: var(--tint); padding: 28px; }
.download-box img { border-radius: 18px; flex: none; }
.download-box > div { flex: 1 1 300px; min-width: 0; }
.download-box h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; }
.download-box p { margin: 0; color: var(--soft); }

/* Store button */
.play { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 20px; background: var(--ink); color: var(--white); border-radius: 6px; text-decoration: none; line-height: 1.15; }
.play:hover { background: var(--pink-dark); color: var(--white); }
.play-small { font-size: 0.8rem; letter-spacing: 0.04em; }
.play-big { font-family: var(--cond); font-weight: 800; font-size: 1.35rem; }
.play-soon { background: var(--white); color: var(--ink); border: 2px dashed var(--ink); cursor: default; }
.link-arrow { font-family: var(--cond); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.link-arrow::after { content: " →"; }

/* Documents: handbook, privacy, 404 */
.doc { max-width: 860px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 16px; }
.doc section { margin-top: 44px; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.4em; }
.toc { border: 3px solid var(--ink); background: var(--white); padding: 14px 18px; margin: 24px 0 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.toc a { display: inline-block; padding: 6px 0; font-family: var(--cond); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.qa { border-top: 1.5px solid var(--line); padding: 16px 0 4px; }
.qa h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.notfound { min-height: 50vh; }

/* Footer */
.foot { background: var(--ink); color: #d7e4dc; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 20px; }
.foot-brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.foot-brand img { background: var(--paper); border-radius: 6px; padding: 2px; }
.foot-name { font-family: var(--cond); font-weight: 800; font-size: 1.2rem; color: var(--white); margin: 0; }
.foot-small { margin: 0; font-size: 0.9rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.foot-links a { color: var(--white); display: inline-block; padding: 8px 0; }
.foot-links a:hover { color: #ffb3c8; }

@media (max-width: 980px) {
  .sheet-head { grid-template-columns: 1fr 1fr; }
  .cell-prod { grid-column: 1 / -1; border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .row { grid-template-columns: 100px 1fr; }
  .row-shot { grid-column: 2; max-width: 300px; }
  .checks-grid, .copy-box { grid-template-columns: 1fr; }
  .checks .shot, .copy-box .shot { max-width: 300px; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .top-inner { padding: 12px 16px 10px; }
  .brand { font-size: 1.2rem; }
  .nav a { padding: 10px 8px; font-size: 1rem; }
  .sheet-head { grid-template-columns: 1fr; }
  .cell { padding: 22px 18px; border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .cell:last-child { border-bottom: 0; }
  .cell-shot { padding: 18px 18px 0; }
  .cs { font-size: 1.6rem; }
  .unit .big { font-size: 3rem; }
  .row { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
  .row-shot { grid-column: 1; max-width: 280px; }
  .row-time span { font-size: 1.6rem; }
  .checks-grid, .copy-box, .download-box { padding: 22px 18px; }
  .more-grid { grid-template-columns: 1fr; }
  .fact-table th { width: 40%; }
  .fact-table th, .fact-table td { padding: 10px 10px; }
  .rev { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
