/* Images (/what-jinn-can-do/images), on top of the feature kit's sheet (pages/feature.css; round two U16, spec
   docs/site-relaunch/round-two/specs/images.md). Only what the Images page has and the kit does not. Every rule sits
   under an `fp-` class the kit prints, so the four Images sub-pages, which load the same stylesheet list and print no
   `fp-` class, are not touched. Build five U5b adds the one exception at the end: rules under
   `[data-product="imagery"] #takeover`, which only this page prints (Home shares takeover.css, so they live here). */

/* 2. the run: the line from the live page under the scene station's caption. Build eight P6 (Sarah H1EMb2V5dLWC,
   "Increase the font so it matches the supporting copy font size for The reference"): the note takes the station
   line's size at every width (feature.css: 1.05rem, and from 1100px the display face at 1.6rem beside the picture);
   it keeps the muted color, so it still reads as the second sentence. The clip stations' lines sit in the card beside
   the picture now (imagery.ts RUN_LINES_BESIDE), so feature.css sets them; no rule here. */
.fp-station__note { margin: 6px 0 0; font-size: 1.05rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 1100px) {
  .fp-stage__panel .fp-station__note { font-family: var(--display, var(--serif)); font-size: 1.6rem; line-height: 1.25; }
}

/* Build nine (Sarah Ds5MlIDmCUnZ, "Update all three sentences next to the Paleo Pro example to match the font style, type
   and size of the Start from an ad copy above"): the sign side's two paragraphs (the stamp line and the casting line)
   take the station line's look at every width (feature.css: 1.05rem, and from 1100px the display face at 1.6rem), in
   the station line's ink. The casting link keeps its own link style. */
.fp-sign .fp-sign__side > p { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.4; color: inherit; }
.fp-sign .fp-sign__side > p:last-child { margin-bottom: 0; }
@media (min-width: 1100px) {
  .fp-sign .fp-sign__side > p { font-family: var(--display, var(--serif)); font-size: 1.6rem; line-height: 1.25; }
}

/* 5. the catch band (#catch, imagery.ts CATCH): the kit's split centres its two columns. With no script or reduced
   motion the wipe is two frames stacked, much taller than the words, so the words start at the top beside the first
   frame's example label instead of floating halfway down; the live wipe keeps the split's centring. */
.fp-catch .fp-split:has(.im-wipe:not(.is-live)) { align-items: start; }

/* 6. the doors: the Compare door carries the short table, so it takes the whole row under the other three */
.fp-doors__list li:has(> .fp-table) { grid-column: 1 / -1; gap: 18px; }
.fp-doors__list .fp-table { margin-top: 0; }
@media (min-width: 861px) {
  .fp-doors__list[data-n="4"]:has(.fp-table) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* the table: Jinn is the first column here, so it carries the weight (the kit bolds the last one) */
.fp-table:has(td[data-th="Jinn"]:first-of-type) td:last-child { font-family: inherit; font-weight: inherit; }
.fp-table td[data-th="Jinn"]:first-of-type { font-family: var(--head); font-weight: 700; }

/* Build three U20, /what-jinn-can-do/images/features only: "One brief becomes a shot list." The brief card on the left,
   the default shots arriving beside it as cards (kitBuild). Keyed on `im-board`, which only that sub-page prints, so the
   overview and the other three sub-pages are not touched. The cards are sub-page.css's `sp-card`. */
.im-board { display: grid; gap: 18px; align-items: start; }
.im-board .label { margin: 0 0 6px; }
.im-board__brief h3 { margin: 0 0 14px; }
.im-board__shots .kit-build__list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.im-board__shot { padding: 14px 16px; border-top-width: 3px; height: 100%; box-sizing: border-box; }
.im-board__shot .im-board__name { margin: 0; font-family: var(--head); font-weight: 700; }
/* Build eight P6 (Sarah's five "Add description copy for ..." threads): a line under each shot's name. */
.im-board__shot .im-board__desc { margin: 6px 0 0; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.im-board__shots .kit-build__list { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
/* Build eight P6 (Sarah t9sdZjJJciUc): Bristle a size up (96px in the kit) with the roster's name and title under her;
   the name arrives with her (hidden while the build waits to play, as the kit hides her). */
.im-board .kit-build__carry { flex-direction: column; align-items: flex-end; gap: 8px; margin-top: -20px; }
.im-board .kit-build__carry .kit-uwee { width: 124px; margin-right: 12px; }
.im-board .kit-build[data-kit-state="armed"] .im-board__role { opacity: 0; }
.im-board .kit-build[data-kit-state="playing"] .im-board__role { animation: kit-enter 240ms var(--ease) var(--kit-delay, 0ms) both; }
/* Build nine U6 (Sarah 0yZ6n8dW1V0W: "This section needs more design work. It feels very half-done right now."):
   the brief is one navy slip across the top (the input), the five shots are one numbered row under it (the output),
   and Bristle stands at the slip's right end with her name. Styles only: the markup and its words are unchanged. The
   numerals are a CSS counter, so no number is printed in the copy. */
.im-board { gap: 22px; }
.im-board .im-board__brief { background: var(--navy); border-color: var(--navy); color: #fff; padding: 22px 26px; display: grid; gap: 4px 0; }
.im-board .im-board__brief .label { color: var(--amber-hi); margin: 0; }
.im-board .im-board__brief h3 { color: #fff; margin: 0 0 12px; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.im-board .im-board__brief p:last-child { margin: 0; font-size: 1.05rem; line-height: 1.45; color: #fff; }
.im-board__shots > .label { margin: 0 0 10px; }
.im-board__shots .kit-build__list { counter-reset: im-shot; gap: 12px; }
.im-board__shots .kit-build__list > li { counter-increment: im-shot; display: flex; }
.im-board__shot { flex: 1; position: relative; padding: 16px 18px 18px; }
.im-board__shot::before { content: "0" counter(im-shot); content: "0" counter(im-shot) / ""; display: block; font-family: var(--head); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: -.01em; color: var(--amber-ink); margin: 0 0 12px; }
@media (max-width: 699px) {
  .im-board__shots .kit-build__list { grid-template-columns: minmax(0, 1fr); }
  .im-board__shot { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 6px; align-items: start; }
  .im-board__shot::before { grid-row: span 2; margin: 2px 0 0; }
  .im-board__shot .im-board__desc { grid-column: 2; }
}
@media (min-width: 700px) {
  .im-board .im-board__brief { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-auto-flow: column; grid-template-rows: auto auto; column-gap: 32px; align-items: start; margin-right: 214px; }
  .im-board .im-board__brief h3 { margin: 0; }
  .im-board .im-board__brief p:nth-of-type(n+2) { border-left: 1px dashed rgba(255, 255, 255, .35); padding-left: 32px; }
  .im-board__shots .kit-build__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .im-board .kit-build__carry { position: absolute; right: 0; bottom: calc(100% + 40px); margin: 0; align-items: center; width: 196px; text-align: center; white-space: nowrap; }
  .im-board .kit-build__carry .kit-uwee { margin: 0; }
}
@media (min-width: 1100px) {
  .im-board__shots .kit-build__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Build eight P6 (Sarah REQatxO_XKn6, "Add Proof here with his name and title"), /images/features #vocabulary: Proof
   right of the head, the rows under both; on a phone small under the head with the name beside him (P5's host
   pattern, video.css). Keyed on `im-host`, which only that sub-page prints. */
.im-host { margin: 0; display: grid; justify-items: center; gap: 8px; width: max-content; max-width: 100%; }
.im-host .fp-role { text-align: center; }
.im-host__uwee { display: block; }
.wrap:has(> .im-host) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 3vw, 48px); }
.wrap:has(> .im-host) > * { grid-column: 1 / -1; min-width: 0; }
.wrap:has(> .im-host) > .sp-head { grid-column: 1; grid-row: 1; align-self: end; }
.wrap > .im-host { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 clamp(24px, 3vw, 40px); }
@media (max-width: 700px) {
  .wrap:has(> .im-host) { grid-template-columns: minmax(0, 1fr); }
  .im-host { display: flex; align-items: center; gap: 12px; width: auto; }
  .im-host .im-host__uwee { flex: 0 0 auto; width: 84px !important; }
  .im-host .fp-role { flex: 0 1 auto; min-width: 0; text-align: left; }
  .wrap > .im-host { grid-column: 1; grid-row: 2; margin-bottom: 20px; }
}

/* Build three U20: the image pipeline under how, clear of the job caption above it. Build five U5b took its carried
   crew member off (Sarah yGf8VSjQ7f9V); the gap is kept as signed off. */
.fp-how__pipe { margin-top: 64px; }

/* Build six part two R5 (Sarah yGf8VSjQ7f9V, "bolted on and boring ... no text"): the five steps as one sequence, not
   a row of boxes. A track runs through a node per step; under each node the step's name and its one sentence. No
   step is a link. The last node is filled amber: that step is yours. Wide: the track runs across. Under 861px: it
   runs down the left. The kit's arrows are not needed on a track, so they are hidden here only (other pipelines keep
   them). Selectors carry `.dp-pipe .kit-build__step:nth-child(n)` to sit over depth.css's narrow-screen rules. */
.fp-how__pipe .dp-pipe__title { margin: 0 0 30px; font-size: 1.35rem; line-height: 1.2; text-wrap: balance; }
.fp-how__pipe .dp-pipe .kit-build__step:nth-child(n) .dp-arrow { display: none; }
.fp-how__pipe .dp-pipe__step { padding: 0; border: 0; border-radius: 0; background: none; font-size: .95rem; line-height: 1.5; }
.fp-how__pipe .dp-pipe__label { font-family: var(--head); font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.fp-how__pipe .dp-pipe__line { margin-top: 8px; max-width: 34ch; color: var(--ink-2); }
/* the node: a ring on the track; the last one filled */
.fp-how__pipe .dp-pipe__step::before {
  content: ""; position: absolute; box-sizing: border-box; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper);
}
.fp-how__pipe .kit-build__step:last-child .dp-pipe__step::before { border-color: var(--amber-ink); background: var(--amber); }
/* the track: each step draws its stretch to the next node */
.fp-how__pipe .dp-pipe .kit-build__step:nth-child(n)::before { content: ""; position: absolute; pointer-events: none; border: 0 solid var(--ink-3); }
.fp-how__pipe .dp-pipe .kit-build__step:nth-child(n):last-child::before { content: none; }
@media (min-width: 861px) {
  .fp-how__pipe .dp-pipe__build .kit-build__list { gap: 32px; }
  .fp-how__pipe .dp-pipe .kit-build__step:nth-child(n) { padding-top: 36px; }
  .fp-how__pipe .dp-pipe__step::before { top: -36px; left: 0; }
  .fp-how__pipe .dp-pipe .kit-build__step:nth-child(n)::before { top: 7px; left: 16px; right: -32px; border-top-width: 2px; }
}
@media (max-width: 860px) {
  .fp-how__pipe .dp-pipe__build .kit-build__list, .fp-how__pipe .dp-pipe--wrap .dp-pipe__build .kit-build__list { grid-auto-flow: row; grid-template-columns: 1fr; gap: 0; }
  .fp-how__pipe .dp-pipe .kit-build__step:nth-child(n) { padding: 0 0 26px 34px; }
  .fp-how__pipe .dp-pipe .kit-build__step:nth-child(n):last-child { padding-bottom: 0; }
  .fp-how__pipe .dp-pipe__step::before { top: 2px; left: -34px; }
  .fp-how__pipe .dp-pipe .kit-build__step:nth-child(n)::before { top: 18px; bottom: -2px; left: 7px; border-left-width: 2px; }
  .fp-how__pipe .dp-pipe__line { max-width: 60ch; }
}
/* FIX-8 (Sarah yGf8VSjQ7f9V asked for a person on "Your yes"): the last node grows to 30px, centred where the 16px node
   sat. Build eight SA (Sarah QPN7MsoN2e9_) took the person mark out of the circle; build eight P6 keys the 30px on the
   last step itself, so the empty amber circle keeps its size (it had fallen back to 16px with the mark's class). */
.fp-how__pipe .kit-build__step:last-child .dp-pipe__step::before { width: 30px; height: 30px; }
@media (min-width: 861px) {
  .fp-how__pipe .kit-build__step:last-child .dp-pipe__step::before { top: -43px; left: -7px; }
}
@media (max-width: 860px) {
  .fp-how__pipe .kit-build__step:last-child .dp-pipe__step::before { top: -5px; left: -41px; }
}

/* Build eight P6 (Sarah Gx9ThbotbzsX, "Shift Bristle's conversation bubble and her, plus her name and title, down
   slightly"): the plans band's host figure sits lower beside the words, from 861px where it stands beside them (on a
   phone it already follows the words). */
@media (min-width: 861px) {
  #plans.fp-plans .wrap figure { position: relative; top: 36px; }
}

/* Build five U5b, "Your brand in Images" (#takeover), this page only: takeover.css is Home's too, so every rule here
   names the Images body. Sarah j7WTWMA8USze: less empty space, waiting and after a brand is picked. */
[data-product="imagery"] #takeover.takeover { padding-block: clamp(40px, 5.5vw, 76px) 0; }
[data-product="imagery"] #takeover .to-intro { margin-bottom: 20px; }
[data-product="imagery"] #takeover .to-wait { padding: 20px; min-height: 280px; gap: 24px; }
[data-product="imagery"] #takeover .to-run-wrap { margin-top: 24px; }
/* Build six part two R5 (Dan, ruling Q8; Sarah, Nov 9: "Increase the weight of the font for the brand names so they
   better pop against the CTA button"): the example brand names beside "Read my brand" at the button's weight. */
[data-product="imagery"] #takeover .to-chip { font-weight: 700; }
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  /* the pinned run holds less scroll per panel (audience.css .aud .to-run is the precedent): 4 panels at 55vh, not 70vh */
  [data-product="imagery"] #takeover .to-run { --per: 55vh; }
}

/* Sarah Vgq_l2Riv_Vt: Ping and Wire side by side at one height, on one clock. Ping's base pose and Wire's loop are
   drawn at one figure height (H30); the bell and wave poses draw Ping about 1.21 times larger in a full frame, so they
   are set at 82.6% and dropped so the feet stand where the base pose's do. The float takes Wire's loop length
   (wire-idle.webm, 4.0 s); the page script below the takeover starts it on Wire's clock. */
[data-product="imagery"] #takeover .to-ping .pose { animation-duration: 4s; }
[data-product="imagery"] #takeover .to-ping .pose:is([data-state="bell"], [data-state="wave"]) { width: 82.6%; margin-inline: auto; }
[data-product="imagery"] #takeover .to-ping .pose[data-state="bell"] { margin-top: 18%; }
[data-product="imagery"] #takeover .to-ping .pose[data-state="wave"] { margin-top: 14.4%; }

/* Build six (plan 2026-11-14-1409 G1-U6, Sarah BFfFpzAFEExc), /what-jinn-can-do/images/how only: the checks table (#gates)
   drawn as an outcome matrix above it, the three results as columns and each check one row with one amber mark (the
   figure's one accent). The band is always navy (sections.ts navyTable), so the cells are navy-3 on navy and the words
   take the ground's own --fg. Adjacent cells are a true grid: 2px gaps, only the block's outer corners round. Keyed on
   `im-gates`, which only that sub-page prints. aria-hidden; the table under it is the text. */
.im-gates { max-width: 760px; margin: 28px 0 0; }
.im-gates__head, .im-gates__row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); column-gap: 2px; }
.im-gates__row + .im-gates__row { margin-top: 2px; }
.im-gates__out { align-self: end; padding: 0 6px 10px; font-family: var(--ui); font-size: .84rem; font-weight: 700; line-height: 1.25; text-align: center; text-wrap: balance; color: var(--fg); }
.im-gates__check { align-self: center; padding: 8px 14px 8px 0; font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--fg); }
.im-gates__cell { min-height: 44px; background: var(--navy-3); }
.im-gates__cell--on { background: var(--amber); }
.im-gates__head + .im-gates__row > .im-gates__cell:nth-child(2) { border-top-left-radius: var(--radius-sm); }
.im-gates__head + .im-gates__row > .im-gates__cell:last-child { border-top-right-radius: var(--radius-sm); }
.im-gates__row:last-child > .im-gates__cell:nth-child(2) { border-bottom-left-radius: var(--radius-sm); }
.im-gates__row:last-child > .im-gates__cell:last-child { border-bottom-right-radius: var(--radius-sm); }
@media (max-width: 560px) {
  .im-gates__head, .im-gates__row { grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)); }
  .im-gates__out { padding: 0 3px 8px; font-size: .74rem; }
  .im-gates__check { padding-right: 10px; font-size: .86rem; }
  .im-gates__cell { min-height: 40px; }
}

/* FIX-8 (post-walk, the R5 note "step three wording at 390 and 1024"): "Set the exact text" ended on "them." alone at
   both widths. The step lines balance their last line instead of leaving one word on it; no word changes. */
.fp-how__pipe .dp-pipe__line { text-wrap: pretty; }
