/* Potential Diff: the model sheet. One paper world for the landing page and the idea builder.
   Tokens on :root. The page is paper under daylight, so it is light only (color-scheme: light). */

@font-face { font-family: "Fredericka the Great"; src: url(/fonts/fredericka-the-great-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/courier-prime-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/courier-prime-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/courier-prime-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Anton"; src: url(/fonts/anton-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4a4743;      /* typed secondary text, tinted from the ink, never grey */
  --blue: #8fb7ea;          /* non-photo blue: construction lines and guides */
  --blue-faint: #cfe0f6;    /* the lightest blue rule */
  --red: #e0372f;           /* the stamp, and only the stamp */
  --rule: 1.5px;
  --display: "Fredericka the Great", "Rockwell", "Georgia", serif;
  --type: "Courier Prime", "Courier New", Courier, monospace;
  --stamp: "Anton", "Arial Narrow", "Helvetica Neue", sans-serif;
  --gutter: 24px;
  color-scheme: light;
}
@media (max-width: 719px) { :root { --gutter: 12px; } }

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--type); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--blue); color: var(--ink); }
/* Focus is ink with a blue halo: the ink ring carries the contrast (about 17:1), the blue keeps it in the world. */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--blue-faint); }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--blue); }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
svg { display: block; }

/* ---- the typed voice: tracked caps for labels, typewriter for everything else ---- */
.caps { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.caps b { font-weight: 700; }
.soft { color: var(--ink-soft); }
.display { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.sub { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.3; max-width: 36ch; }

/* ---- the sheet ---- */
.sheet { position: relative; margin: var(--gutter); border: var(--rule) solid var(--ink); padding: 20px 20px 24px; background: var(--paper); }
.sheet + .sheet { margin-top: 0; }
@media (min-width: 1640px) { .sheet { max-width: 1592px; margin-left: auto; margin-right: auto; } }
.tb { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; justify-content: space-between; line-height: 1.6; }
.tb .index { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.tb .index a { text-decoration: none; }
.nw { white-space: nowrap; }
.tb.foot { margin-top: 24px; padding-top: 8px; border-top: 1px solid var(--ink); }
.tb .index a:hover, .tb .index a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--blue); }
@media (max-width: 719px) {
  .tb { display: block; }
  .tb > span { display: block; }
  .tb .index { flex-wrap: wrap; gap: 2px 16px; margin-top: 6px; }
}

/* ---- sheet 1: the stage. Sam is <stick-live> (vendor/stick-live.js, a built artifact from the Stick workspace; replace it whole, never edit). ---- */
.sheet-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "tb tb" "head notes" "stage notes" "snotes notes"; column-gap: 32px; row-gap: 12px; }
.sheet-stage > .tb { grid-area: tb; margin-bottom: 4px; }
.stage-head { grid-area: head; }
.stage-head .display { font-size: clamp(44px, 6vw, 92px); }
.stage-head .sub { margin: 10px 0 0; }
/* No bottom rule: Sam's own blue floor line is the ground. The padding gives his buttons room below. */
.stage { grid-area: stage; position: relative; border-top: 1px solid var(--blue); padding-bottom: 20px; background: repeating-linear-gradient(to right, transparent 0 79px, var(--blue-faint) 79px 80px); }
.stage-hint { position: absolute; left: 0; top: 8px; margin: 0; z-index: 1; pointer-events: none; }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
stick-live {
  display: block; height: min(58vh, 540px); min-height: 360px;
  --stick-live-ink: var(--ink); --stick-live-head: var(--paper);
  --stick-live-ground: var(--blue); --stick-live-ground-width: 2;
  --stick-live-button-background: var(--paper); --stick-live-button-color: var(--ink); --stick-live-button-border: var(--ink);
  --stick-live-button-hover: var(--blue-faint); --stick-live-button-radius: 999px; --stick-live-button-size: 14px; --stick-live-gap: 10px;
  font-family: var(--type);
}
stick-live::part(button) { border-width: var(--rule); letter-spacing: .04em; }
.sheet-notes.stage-notes { grid-area: snotes; margin-top: 20px; max-width: none; display: grid; grid-template-columns: 9rem minmax(0, 68ch); column-gap: 24px; font-size: 15px; }
.sheet-notes.stage-notes b { margin: 3px 0 0; }
@media (max-width: 719px) { .sheet-notes.stage-notes { grid-template-columns: 1fr; font-size: 14px; } .sheet-notes.stage-notes b { margin: 0 0 2px; } }
.sheet-stage .notes { grid-area: notes; align-self: start; min-height: 0; }
.stage .stamp-slot { position: absolute; right: 16px; top: 40px; z-index: 1; pointer-events: none; }
@media (max-width: 1099px) {
  .sheet-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tb" "head" "stage" "notes" "snotes"; }
}
@media (max-width: 719px) { stick-live { height: 42vh; min-height: 300px; --stick-live-button-size: 13px; --stick-live-gap: 6px; } stick-live::part(button) { padding: 6px 11px; min-height: 44px; } .sheet-stage .tb .index li:not(:first-child):not(:last-child) { display: none; } .stage-hint { position: static; margin: 6px 0 0; } .stage .stamp-slot { position: static; margin: 10px 0 0 4px; } .stage .stamp > span { font-size: 24px; padding: 6px 10px; } }

/* ---- sheet parts shared by every sheet ---- */
.notes { grid-area: notes; }
@media (max-width: 719px) { .sheet { padding: 14px 12px 18px; } }
.sheet-notes { border-top: var(--rule) solid var(--ink); padding-top: 8px; font-size: 14px; line-height: 1.7; max-width: 52ch; }
.sheet-notes b { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 2px; }

/* the NOTES box: the brief starts here, and the builder lives in it */
.notes { border: var(--rule) solid var(--ink); display: flex; flex-direction: column; min-height: 100%; }
.notes-head { padding: 10px 14px; border-bottom: var(--rule) solid var(--ink); }
.notes-head .q { display: block; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; margin-top: 2px; }
.notes-body { padding: 14px; flex: 1; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.pill { font: 400 14px/1.25 var(--type); color: var(--ink); background: var(--paper); border: var(--rule) solid var(--ink); border-radius: 999px; padding: 7px 14px; text-align: left; cursor: pointer; }
.pill:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pill[aria-pressed="true"], .pill.on { background: var(--ink); color: var(--paper); }
.pill.other { border-style: dashed; }
.ruled { height: 170px; background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ink) 31px 32px); margin: 0 0 14px; }
.notes-foot { padding: 14px; border-top: var(--rule) solid var(--ink); }
.block { display: block; width: 100%; background: var(--ink); color: var(--paper); font: 700 19px/1.2 var(--type); letter-spacing: .04em; text-align: center; text-decoration: none; padding: 15px 16px; border: 0; cursor: pointer; }
.block:hover { outline: var(--rule) solid var(--ink); outline-offset: 3px; }
.block.quiet { background: var(--paper); color: var(--ink); border: var(--rule) solid var(--ink); }
.block.quiet:hover { outline-color: var(--blue); }
.block:disabled { opacity: .5; cursor: default; outline: 0; }
.pencil { font-size: 12px; line-height: 1.5; color: var(--ink-soft); margin: 10px 0 0; }

/* the stamp: red, and the only red on the page */
.stamp { display: inline-block; border: 4px solid var(--red); padding: 4px; color: var(--red); transform: rotate(-7deg); }
.stamp > span { display: block; border: 1.5px solid var(--red); padding: 10px 16px; font: 400 clamp(24px, 2.4vw, 34px)/1.1 var(--stamp); letter-spacing: .06em; text-transform: uppercase; text-align: center; }

/* ---- the explainer: our own 72-second video, under Sam ---- */
.sheet-film { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
.sheet-film > .display { font-size: clamp(36px, 4.2vw, 60px); }
.sheet-film > .sub { max-width: 52ch; }
.film { margin: 8px 0 0; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper); border: var(--rule) solid var(--ink); }
.film figcaption { margin-top: 8px; }

/* ---- sheet 2: the cast at work (two reels: the channel's own published thumbnails, served from /img; the YouTube player
   loads only when a reel is played) ---- */
.sheet-work { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
.sheet-work > .display { font-size: clamp(36px, 4.2vw, 60px); }
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 8px 0 0; padding: 0; list-style: none; }
@media (max-width: 899px) { .reels { grid-template-columns: 1fr; } }
.reel { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0; padding: 0; border: var(--rule) solid var(--ink); background: var(--paper); cursor: pointer; overflow: hidden; }
.reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); }
.reel:hover .play circle, .reel:focus-visible .play circle { fill: var(--ink); }
.reel:hover .play path, .reel:focus-visible .play path { fill: var(--paper); }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 14px; line-height: 1.5; }
.reel-cap b { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; display: block; }
.work-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ink); font-size: 14px; }
.work-links a { white-space: nowrap; }

/* ---- sheet 3: the price ---- */
.sheet-price { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "table" "tb"; column-gap: 32px; row-gap: 12px; }
.sheet-price > .tb { grid-area: tb; }
.sheet-price > .display { grid-area: head; font-size: clamp(36px, 4.2vw, 60px); }
.sheet-price .scroll { grid-area: table; overflow-x: auto; }
.sheet-price .aside-figure { grid-area: figure; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sheet-price .aside-figure svg { width: 120px; height: 200px; overflow: visible; }
@media (max-width: 899px) { .sheet-price { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "table" "figure" "tb"; } .sheet-price .aside-figure { flex-direction: row; justify-content: space-between; } }
table.typed { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
table.typed th { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; text-align: left; padding: 8px 10px 8px 0; border-bottom: var(--rule) solid var(--ink); }
table.typed td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--ink); vertical-align: top; line-height: 1.5; }
table.typed td.n { font-weight: 700; white-space: nowrap; }
table.typed tr.lead td { border-bottom-width: var(--rule); }
/* On a phone each row stacks: the item and its price on one line, what you get beneath. No sideways scroll. */
@media (max-width: 719px) {
  table.typed, table.typed tbody { display: block; min-width: 0; }
  table.typed thead { display: none; }
  table.typed tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--ink); }
  table.typed tr.lead { border-bottom-width: var(--rule); }
  table.typed td { border: 0; padding: 0; }
  table.typed td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  table.typed td.n { grid-column: 2; grid-row: 1; text-align: right; }
}

/* ---- sheet 3: how a job runs, as a storyboard strip ---- */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 28px 0 0; padding: 0; list-style: none; border-top: var(--rule) solid var(--blue); }
.frame { position: relative; padding: 18px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 14px; align-items: start; }
.frame::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: var(--rule) solid var(--ink); box-sizing: border-box; }
@media (max-width: 899px) { .board { grid-template-columns: 1fr; gap: 24px; border-top: 0; border-left: var(--rule) solid var(--blue); padding-left: 20px; } .frame::before { left: -27px; top: 4px; width: 12px; height: 12px; } }
.frame .caps { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 2px; }
.frame p { font-size: 15px; line-height: 1.55; margin: 0; }
.frame p + p { margin-top: 8px; }

/* ---- sheet 4: why ---- */
.sheet-why { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "head head" "copy notes" "links notes" "tb tb"; column-gap: 32px; row-gap: 12px; }
.sheet-why > .tb { grid-area: tb; }
.sheet-why > .display { grid-area: head; font-size: clamp(36px, 4.2vw, 60px); }
.sheet-why .copy { grid-area: copy; }
.sheet-why .copy p { font-size: 17px; line-height: 1.65; }
.sheet-why .notes { grid-area: notes; }
.sheet-why .links { grid-area: links; }
@media (max-width: 899px) { .sheet-why { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "copy" "notes" "links" "tb"; } }

footer.colophon { margin: 0 var(--gutter) 40px; padding-top: 12px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; }
@media (min-width: 1640px) { footer.colophon { max-width: 1592px; margin-left: auto; margin-right: auto; } }

/* ---- the builder: one NOTES box, one question a sheet, the sentence typed beside it ---- */
.sheet-build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); grid-template-rows: auto 1fr; grid-template-areas: "tb tb" "desk notes"; column-gap: 40px; row-gap: 20px; min-height: 60vh; }
.sheet-build > .tb { grid-area: tb; }
.desk { grid-area: desk; display: flex; flex-direction: column; gap: 20px; }
.desk stick-live { height: 280px; min-height: 0; border-top: 1px solid var(--blue); background: repeating-linear-gradient(to right, transparent 0 79px, var(--blue-faint) 79px 80px); }
.sentence { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); line-height: 1.25; max-width: 24ch; }
.sentence .slot { border-bottom: 2px dashed var(--blue); color: var(--ink-soft); padding: 0 2px; }
.sentence .slot.filled { border-bottom: 2px solid var(--ink); color: var(--ink); }
.desk .sheet-notes { max-width: 44ch; }
.sheet-build .notes { grid-area: notes; }
.progress { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
textarea, input[type="text"], input[type="email"] { width: 100%; font: 15px/1.5 var(--type); color: var(--ink); background: var(--paper); border: 0; border-bottom: var(--rule) solid var(--ink); padding: 8px 2px; border-radius: 0; }
textarea { min-height: 72px; resize: vertical; background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--blue-faint) 31px 32px); line-height: 32px; padding-top: 0; }
textarea:focus, input:focus { outline: 0; border-bottom-color: var(--ink); border-bottom-width: 3px; }
::placeholder { color: var(--ink-soft); opacity: 1; }
label.field { display: block; margin-bottom: 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
label.field input { margin-top: 2px; font-size: 16px; letter-spacing: 0; text-transform: none; }
.actions { display: flex; gap: 10px; margin-top: 16px; }
.actions .block { flex: 1; }
.err { font-size: 14px; line-height: 1.5; margin: 10px 0 0; padding: 8px 10px; border: var(--rule) dashed var(--ink); color: var(--ink); }
.brief-preview { white-space: pre-wrap; font: 14px/1.6 var(--type); margin: 0 0 12px; padding: 0; max-width: none; }
.received { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.received .stamp { margin: 14px 0 22px 6px; }
.received .stamp > span { font-size: 24px; }
@media (max-width: 899px) { .sheet-build { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tb" "desk" "notes"; } .desk { flex-direction: row; flex-wrap: wrap; align-items: flex-start; } .desk stick-live { height: 200px; flex: 1 1 100%; } .sentence { flex: 1 1 240px; font-size: clamp(22px, 6vw, 28px); } .desk .sheet-notes { flex-basis: 100%; } }

/* reCAPTCHA's floating badge is replaced by the disclosure in the builder's colophon (allowed by Google's terms). */
.grecaptcha-badge { visibility: hidden; }

/* ---- the 404 ---- */
.sheet-lost { display: grid; grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: 24px; align-items: center; }
.sheet-lost stick-live { height: 260px; min-height: 0; border-top: 1px solid var(--blue); background: repeating-linear-gradient(to right, transparent 0 79px, var(--blue-faint) 79px 80px); }
@media (max-width: 719px) { .sheet-lost { grid-template-columns: 1fr; } }
.sheet-lost .display { font-size: clamp(36px, 5vw, 64px); }
