/* The feature and search pages, on top of site.css (design.md). Since 27 Nov the four feature pages take the home
   page's layout instead (the owner: "Redo each inner page in the home page's style"; the end of this file, main.home-style);
   the Feature Stack rules below no longer style any page and stay only for tools/kit.html until it is redone. Two shapes:
   - The four feature pages (find, vault, paste, suggested; main.feature) are a Feature Stack. A Stage hero: the words on
     columns 1 to 5, the page's recording on 6 to 12 at 5:4. Then one grid a feature, its heading and line held sticky
     on 1 to 4 while its recording passes on 5 to 12. One showcase a page, the page's real recording at its largest (on
     vault an always-dark band). The small print and the questions as rows, and one band to end: Get Cofferly on 1 to 6
     beside the next page as a large typographic link on 7 to 12, with its still.
   - The seven guides (*-mac.html; main.guide.home-style) also take the home page's layout since 27 Nov ("The guides
     in the home's style", the end of this file): the words beside the guide's one recording, then each chapter a
     moment. Their questions stay index rows on 4 to 12, and the feature pages' end band: Get Cofferly on 1 to 6, more
     answers as large links on 7 to 12. (The Long Document's banner, margin heads and plate are gone with it.) */

/* Where you are: Home › the page, the same trail the BreadcrumbList gives search engines, in sentence case. */
.crumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-xs); font-size: var(--text-sm); color: var(--text); }
.crumbs li + li::before { content: "›"; margin-right: var(--space-xs); color: var(--text-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .crumbs a:hover { color: var(--text); text-decoration: underline; } }
.crumbs a:active { color: var(--accent); }
.lede, .chapter-body p, .chapter-body li, .qa p, .fold li, .clip-caption, .stack-words p, .showcase-head p, .facts p { text-wrap: pretty; }
.chapter-body code, .qa code, .lede code { font: 400 0.92em var(--font-mono); white-space: nowrap; }

/* ---------- The feature pages ---------- */

/* The hero, Stage: the screen under the nav, its content centred in it. The words on 1 to 5 (where you are, the
   headline at the long-head size, the lede); the page's recording on 6 to 12 at 5:4 (752 x 602 at 1440), its poster the
   result, with the line about the recordings under it. Under 60rem: the words, then the recording. */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); padding-block: var(--space-lg) var(--space-2xl); }
.page-words { display: grid; align-content: center; gap: var(--space-lg); min-width: 0; }
.page-words .crumbs { margin-bottom: calc(-1 * var(--space-xs)); }
.page-head h1 { font-size: var(--text-display-s); line-height: 1.04; letter-spacing: -0.03em; }
.page-head .lede { color: var(--text-2); }
.page-clip { display: grid; gap: var(--space-sm); min-width: 0; }

/* A feature, one grid: its heading and line, then its recording; from 60rem the words held on 1 to 4 under the nav
   while the recording passes on 5 to 12 (864 x 691 at 1440). */
.stack { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); align-items: start; padding-block: var(--section-gap-s) 0; }
.stack-words { display: grid; align-content: start; gap: var(--space-md); min-width: 0; }
.stack-words h2 { font-size: var(--text-section-s); line-height: 1.1; letter-spacing: -0.022em; }
.stack-words p:not(.go) { max-width: 60ch; color: var(--text-2); font-size: var(--text-lead); line-height: 1.5; }
.stack-words .go { margin-top: var(--space-xs); }
/* A recording's caption standing as the feature's words (vault's settings). */
.stack-words.clip-caption { min-height: 0; max-width: 60ch; color: var(--text); font-size: var(--text-lead); line-height: 1.5; }
.stack > .fine { margin-top: calc(-1 * var(--space-lg)); }
/* "The real Cofferly, recorded with made-up items.": 15 px in the quiet ink, readable (round 3; 14 px read faint). */
:is(.page-clip, .stack, .lock-shot) > .fine { font-size: var(--text-sm); }
.stack .scene-clip { min-width: 0; }

/* A take whose whole loop holds the panel up, with no window above it (vault-mark, boards-drag, home-when): from 720 px
   the frame shows the panel alone at 5:2, cropped from the kit's take (design.md's one exception), never painted. A
   phone shows the take whole. */
@media (min-width: 720px) {
  .frame.panel { aspect-ratio: 5 / 2; }
  .frame.panel > video, .frame.panel > picture img { object-position: 50% 97.7%; }
}

/* The showcase, the page's moment of scale: the heading split across the row (1 to 6, the line and its link on 7 to
   12 on its last baseline), then the recording as large as the screen holds it whole: up to ten columns, never taller
   than the window under the nav, centred. */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); padding-block: var(--section-gap-l); }
.showcase-head { display: grid; gap: var(--space-md); min-width: 0; }
.showcase-head p:not(.go) { max-width: 60ch; color: var(--text-2); font-size: var(--text-lead); line-height: 1.5; }
.showcase-head .go { margin-top: 0; }
.showcase-clip { display: grid; justify-self: center; width: 100%; min-width: 0; }

/* Vault's lock, the showcase on a band dark in both appearances: the heading and its two lines, then the locked panel
   across the whole container (1312 x 525 at 1440; home-lock's desktop file is the panel alone), the caption under it.
   Then, back on paper, the settings that close the whole history, as a feature. */
.lock-band { padding-block: var(--section-gap-l); }
.lock-in { display: grid; row-gap: var(--space-2xl); }
.lock-shot { display: grid; gap: var(--space-md); min-width: 0; }
.lock-shot .frame { width: 100%; }
@media (min-width: 720px) { .lock-shot .frame { aspect-ratio: 5 / 2; } }
@media (max-width: 719px) { .lock-shot .frame { aspect-ratio: 4 / 3; } .lock-shot .frame > :is(video, picture img) { object-position: 50% 95%; } }
.lock-shot .clip-caption { min-height: 0; max-width: none; color: var(--text-2); }
.lock-shot .fine { margin-top: calc(-1 * var(--space-xs)); }

/* Suggested's three facts, words only: rows between hairlines, each heading beside its line. */
.facts { padding-block: var(--section-gap-s) 0; }
.facts > section { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm) var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-top: 1px solid var(--line); }
.facts > section:last-child { border-bottom: 1px solid var(--line); }
.facts h2 { font-size: var(--text-section-s); line-height: 1.1; letter-spacing: -0.022em; }
.facts p:not(.go) { max-width: 60ch; color: var(--text-2); font-size: var(--text-lead); line-height: 1.5; }
.facts .go { margin-top: 0; }

/* What a careful reader wants, folded: one row a fold (two on paste: its other ways, and the small print), its summary
   at the title size; open, a plain list under it, each fact once. */
.feature .fold { padding-block: var(--section-gap) 0; }
.feature .fold + .fold { padding-top: 0; }
.fold + .fold details { border-top: 0; }
.fold summary { min-height: 80px; font-size: var(--text-title); letter-spacing: -0.012em; }
.fold ul { margin: 0 0 var(--space-xl); padding-left: 1.2em; display: grid; gap: var(--space-sm); max-width: 65ch; }
.fold dl { margin: 0 0 var(--space-lg); display: grid; gap: var(--space-sm); max-width: 65ch; }
.fold dt { font-weight: 600; }
.fold dd { margin: 0; color: var(--text-2); }
.fold h3 { margin: 0 0 var(--space-sm); font-size: var(--text-md); font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.fold a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.fold a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.fold a:active { color: var(--accent-deep); }

/* The questions, as rows: the heading on 1 to 4, the questions on 5 to 12 between hairlines (a search page's are
   open: a title and its answer). */
.qa { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg) var(--gap-columns); align-items: start; padding-block: var(--space-2xl); border-top: 1px solid var(--line); }
.feature .qa { padding-block: var(--section-gap-s) var(--section-gap); border-top: 0; }
.qa h2 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.02em; }
.feature .qa h2 { font-size: var(--text-section-s); }
.qa-list { display: grid; gap: var(--space-lg); min-width: 0; }
.qa-list:has(> details) { gap: 0; }
.qa-list > div { display: grid; gap: var(--space-xs); }
.qa h3 { margin: 0; font-size: var(--text-md); font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.qa p { max-width: 65ch; color: var(--text-2); }
.qa details p { margin-top: calc(-1 * var(--space-2xs)); }
.feature .qa summary { min-height: 72px; font-size: var(--text-lead); }
.qa a, .small-print a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.qa a:hover, .small-print a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.qa a:active, .small-print a:active { color: var(--accent-deep); }

/* The end's base (moved from site.css with info.css's copy, so the home page doesn't carry it): the icon, "Get
   Cofferly", the button and the fine print, centred. */
.finish-get { display: grid; justify-items: center; align-content: center; gap: var(--space-md); padding: var(--space-xl) var(--space-lg); text-align: center; }
.finish-icon { width: 64px; height: 64px; }
.finish-get h2 { font-size: var(--text-section-s); }
.finish-get .fine { margin-top: calc(-1 * var(--space-2xs)); }
.finish.finish-solo { display: block; margin-block: var(--space-2xl); padding-block: 0; border-top: 0; }
.finish-solo .finish-get { max-width: 36rem; margin-inline: auto; border-block: 1px solid var(--line); }
.legal .finish-solo .finish-get h2 { margin-top: 0; }
@media (max-width: 719px) { .finish-get .btn { width: 100%; } }

/* The end, one band on the second paper: Get Cofferly on 1 to 6 (the icon, the head at the long-head size, the 56 px
   button, the fine print), the next page on 7 to 12 as a large typographic link with its still, both on one floor. */
.close { padding-block: var(--section-gap); background: var(--bg-2); }
.close-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl) var(--gap-columns); align-items: end; }
.close .finish-get { justify-items: start; align-content: end; gap: var(--space-md); padding: 0; text-align: left; }
.close .finish-icon { width: 96px; height: 96px; filter: var(--shadow-icon); }
.close .finish-get h2 { margin-top: var(--space-xs); font-size: var(--text-display-s); line-height: 1.04; letter-spacing: -0.03em; }
.close .finish-get .btn { min-height: 56px; margin-top: var(--space-xs); padding-inline: calc(var(--space-lg) + var(--space-2xs)); font-size: var(--text-md); }
.close .finish-get .fine { margin-top: 0; font-size: var(--text-sm); }
.finish-next { display: grid; grid-template-columns: minmax(0, 1fr) clamp(104px, 12vw, 176px); gap: var(--space-lg); align-items: end; padding-top: var(--space-lg); border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.finish-next-words { display: grid; align-content: end; justify-items: start; gap: var(--space-sm); min-width: 0; }
.finish-next-k { font-size: var(--text-sm); color: var(--text-2); }
.finish-next-t { font-size: var(--text-section); font-weight: 700; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.12em; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .finish-next:hover .finish-next-t { text-decoration-color: currentColor; } }
.finish-next:active .finish-next-t { color: var(--accent); }
.finish-next:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* The still: the next page's own poster (its phone take), the part with the panel's first card. */
.finish-next-pic, .finish-next-pic img { display: block; width: 100%; aspect-ratio: 4 / 5; }
.finish-next-pic img { object-fit: cover; object-position: 0 100%; border-radius: var(--radius-field); background: var(--desk); box-shadow: 0 0 0 1px var(--line); }
/* A poster with no dark take, a little dimmer on a dark page, as the frames' are. */
@media (prefers-color-scheme: dark) { .finish-next-pic:not([data-dark]) img { filter: brightness(0.82) saturate(0.9); } }
/* A phone: the words alone; the next page's screen at 104 px read as specks (round 3). */
@media (max-width: 719px) { .finish-next { grid-template-columns: minmax(0, 1fr); } .finish-next-pic { display: none; } }

/* From 60rem: each on the twelve columns. */
@media (min-width: 60.0625rem) {
  :is(.page-head, .stack, .showcase-head, .facts > section, .feature .qa, .close-in) { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
  .page-head { align-items: center; align-content: center; min-height: calc(100svh - var(--nav-h)); padding-block: var(--space-lg); }
  .page-words { grid-column: 1 / span 5; }
  .page-clip { grid-column: 6 / -1; }
  .stack-words { grid-column: 1 / span 4; grid-row: 1; position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
  .stack > :not(.stack-words) { grid-column: 5 / -1; }
  .showcase-head { row-gap: var(--space-xs); }
  .showcase-head h2 { grid-column: 1 / span 6; grid-row: 1; align-self: last baseline; }
  .showcase-head p:not(.go) { grid-column: 7 / -1; grid-row: 1; align-self: last baseline; }
  .showcase-head .go { grid-column: 7 / -1; grid-row: 2; }
  /* The lock's head: two lines on 7 to 12, the first on the heading's last baseline. */
  .lock-head { row-gap: var(--space-md); }
  .lock-head p:not(.go) + p { grid-row: 2; }
  /* On the features' line: 5 to 12, as wide as the recordings above and below it, one left edge down the page
     (round 3's reviewers: at 10 columns it started 100 px left of the others). */
  .showcase-clip { justify-self: end; width: calc((100% + var(--gap-columns)) * 8 / 12 - var(--gap-columns)); }
  .facts > section > h2 { grid-column: 1 / span 5; }
  .facts > section > p { grid-column: 6 / -1; }
  .fold details > :not(summary) { margin-left: calc((100% + var(--gap-columns)) / 3); }
  .feature .qa > h2 { grid-column: 1 / span 4; }
  .feature .qa-list { grid-column: 5 / -1; }
  .close-in > .finish-get { grid-column: 1 / span 6; }
  .close-in > .finish-next { grid-column: 7 / -1; }
}

/* ---------- The guides (*-mac.html): a Long Document ---------- */

/* Shared with the quiet pages' column (.legal): steps, a plain list, a clip and its caption, more answers. */
.how, .how-more { margin: 0; padding-left: 1.4em; display: grid; gap: var(--space-xs); max-width: 65ch; text-wrap: pretty; }
.how li { padding-left: var(--space-3xs); }
.how li::marker { color: var(--accent); font-weight: 600; }
.how-more a { color: var(--accent); }
.scene-clip { margin: 0; display: grid; gap: var(--space-sm); min-width: 0; }
.scene-clip .clip-caption { min-height: 0; }
.related { display: grid; gap: var(--space-sm); padding-block: var(--space-2xl); border-top: 1px solid var(--line); }
.related h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.014em; }
.related ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.related a { display: block; padding-block: var(--space-xs); line-height: 1.35; color: var(--accent); font-weight: 600; text-decoration: none; text-wrap: pretty; }
.related a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.related a:active { color: var(--accent-deep); }
.legal .scene-clip { max-width: 40rem; margin-block: var(--space-xs); }
.legal .related { margin-top: var(--space-lg); padding-block: var(--space-xl); }
.legal .related h2 { margin-top: 0; font-size: 1.5rem; }
@media (max-width: 60rem) { .qa { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 60.0625rem) { .qa { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* A chapter's prose (in a moment since 27 Nov) at a reading measure. */
.chapter-body { display: grid; align-content: start; gap: var(--space-md); max-width: 60ch; min-width: 0; }
.chapter-body p { line-height: 1.65; }
/* Small print at its own measure (the audit, 27 Nov, gate 25: 80 characters a line inside the 65ch column). */
.chapter-body > .fine { max-width: 60ch; }
.chapter-body > h3 { margin-top: var(--space-xs); font-size: var(--text-md); font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.chapter-body a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 0.18em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .chapter-body a:hover { text-decoration-color: currentColor; } }
.chapter-body a:active { color: var(--accent-deep); }
/* Steps: a real list, its numerals hanging left of the measure, a hairline between each. A plain list hangs the same. */
.chapter-body .how { padding-left: var(--space-xl); gap: 0; }
.chapter-body .how li { padding: var(--space-sm) 0; border-top: 1px solid var(--line); line-height: 1.6; }
.chapter-body .how li:last-child { border-bottom: 1px solid var(--line); }
.chapter-body .how li::marker { color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.chapter-body .how-more, .small-print ul { margin: 0; padding-left: var(--space-xl); display: grid; gap: var(--space-sm); line-height: 1.6; }
.chapter-body .how-more li::marker, .small-print li::marker { color: var(--text-2); }
.small-print ul { font-size: var(--text-sm); }

/* The questions as an index: the head in the margin, each question and its answer one row between hairlines. */
.guide .qa { gap: var(--space-lg) var(--gap-columns); padding-block: var(--section-gap); border-top: 0; }
.guide .qa h2 { font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.012em; }
.guide .qa-list { gap: 0; }
.guide .qa-list > div { gap: var(--space-xs); padding-block: var(--space-lg); border-top: 1px solid var(--line); }
.guide .qa-list > div:last-child { border-bottom: 1px solid var(--line); }
.guide .qa h3 { font-size: var(--text-lead); line-height: 1.35; letter-spacing: -0.01em; }
.guide .qa p { max-width: 60ch; }

/* The end band (the feature pages' .close): more answers beside Get Cofferly, each a large link between hairlines. */
.close .related { align-content: end; gap: var(--space-sm); padding: 0; border-top: 0; }
.close .related h2 { font-size: var(--text-sm); font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.close .related li { border-top: 1px solid var(--line); }
.close .related a { display: flex; align-items: center; min-height: 64px; padding-block: var(--space-sm); color: var(--text); font-size: var(--text-title); line-height: 1.25; letter-spacing: -0.012em; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.16em; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .close .related a:hover { text-decoration-color: currentColor; } }
.close .related a:active { color: var(--accent); }

@media (max-width: 719px) {
  .close .related a { min-height: 56px; font-size: var(--text-lead); }
}

@media (min-width: 60.0625rem) {
  .guide .qa { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
  /* Level with the first question, never held part way down them (round 2, as info.css's margin heads). */
  .guide .qa > h2 { grid-column: 1 / span 3; grid-row: 1; }
  /* Each row on the nine columns of 4 to 12: the question on four, the answer on five. */
  .guide .qa { align-items: baseline; }
  .guide .qa-list { grid-column: 4 / -1; grid-row: 1; }
  .guide .qa-list > div { grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; }
  .guide .qa-list h3 { grid-column: 1 / span 4; }
  .guide .qa-list p { grid-column: 5 / -1; }
  .close-in > .related { grid-column: 7 / -1; }
}

/* A phone: the end's button takes the width, as the other phone buttons do. */
@media (max-width: 719px) {
  .close .finish-get .btn { width: 100%; }
  .close .finish-icon { width: 72px; height: 72px; }
  .finish-next-t { font-size: var(--text-section-s); }
  /* The closing block is one thing: icon, heading and button together, not a tall band with them far apart. */
  .close { padding-block: var(--space-2xl); }
  .close-in { gap: var(--space-xl); }
}

/* Text and pictures, one rule (27 Nov, the owner: "fix margins between text and images"), measured at 375 px: words to
   the picture they lead into --space-xl (40 px, as most already were; the showcase and the vault's lock were 64), a
   picture to its caption or note --space-sm (12 px, as on the home page; the how-to captions, the vault's lock and the
   notes under a stack were 16). A picture that opens a section of its own keeps the section's break. */
.showcase { row-gap: var(--space-xl); }
.lock-in { row-gap: var(--space-xl); }
.lock-shot { gap: var(--space-sm); }
.stack > .fine { margin-top: calc(var(--space-sm) - var(--space-xl)); }

/* The guides' "More answers" lists are a section, not a <nav> (the audit, 27 Nov: a link in a nav is read as primary
   navigation, which must never wrap, and a guide's full title takes two lines on a 320-point phone). */

/* ---------- The feature pages in the home's style (the owner, 27 Nov: "Redo each inner page in the home page's
   style") ---------- */
/* The home page's layout rules, shared here so the four feature pages read as its chapters: the hero's words on the
   left and the recording on the right, centred in the first screen; then moments whose composition changes every
   time (film right, film left, across the width under a row of words, centred), one idea a screen; one band in the
   violet that breaks the tone; dark pictures on the home's 6 px lilac stage. The recordings themselves are the same
   files (new films need the VM). A page takes these rules with class="home-style" on its <main>. */
:root {
  --p-tone: var(--accent);
  --p-tone-ink: var(--on-accent);
  --p-tone-link: var(--on-accent);
  /* The home's turn band in dark: a deep violet the page's light ink reads on. */
  --p-tone-dark: oklch(26% 0.07 290);
  --p-ink-2: color-mix(in oklab, var(--text) 80%, var(--bg));
  --p-stage: 0px;
  --p-stage-colour: color-mix(in oklab, var(--accent) 38%, var(--bg));
  --p-text-hero: clamp(2.25rem, 0.6rem + 3vw, 4rem);
  --p-text-moment: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --p-text-across: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --p-text-line: 1.25rem;
  --p-text-statement: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  --p-space-words: 2rem;
  --p-space-cols: 3.5rem;
}
@media (prefers-color-scheme: dark) {
  :root { --p-tone: var(--p-tone-dark); --p-tone-ink: var(--text); --p-tone-link: var(--accent); --p-stage: 6px; }
}

/* Dark: each recording stands on the lilac stage, as the home's films do. The stage is an outline, so a margin of
   its width keeps it inside the column; grid gaps don't merge with that margin, so words and captions keep 32 and
   12 px to the stage itself. */
@media (prefers-color-scheme: dark) {
  .home-style .frame { outline: var(--p-stage) solid var(--p-stage-colour); outline-offset: 0; margin: var(--p-stage); }
}
/* How wide a frame is for its height, for the layouts that hold a picture to the screen's height. */
.home-style .frame { --p-ratio: 1.25; }
@media (min-width: 720px) {
  .home-style .frame.panel { --p-ratio: 2.5; }
  .home-style .frame.low { --p-ratio: 1.7778; }
}

/* The hero, the home's: the words and the recording centred in the screen under the nav, 5 to 7. */
.home-style .page-head { grid-template-columns: minmax(0, 1fr); row-gap: var(--p-space-words); min-height: 0; padding-block: var(--space-lg) var(--section-gap-s); }
.home-style :is(.page-words, .page-clip) { grid-column: auto; }
.home-style .page-head h1 { font-size: var(--p-text-hero); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; }
.home-style .page-head .lede { color: var(--p-ink-2); }
@media (min-width: 64rem) {
  .home-style .page-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--p-space-cols); align-items: center; align-content: center; min-height: calc(100svh - var(--nav-h)); padding-block: var(--space-2xl); }
  /* The trail hangs above the headline, out of the words' block, so the recording centres on the headline and its
     line, not on the trail (Hallmark 44c, 27 Nov: 88 px off). */
  .home-style .page-words { position: relative; }
  .home-style .page-words > .crumbs { position: absolute; bottom: calc(100% + var(--space-xs)); left: 0; margin: 0; }
}

/* A moment: its heading and line, then its picture 32 px under them; from 900 px beside it, 5 to 7. */
.moment { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--p-space-words); align-items: center; padding-top: var(--section-gap); }
.moment-words { display: grid; align-content: start; gap: var(--space-lg); min-width: 0; }
.moment-words h2 { font-size: var(--p-text-moment); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.moment-words p:not(.go) { max-width: 38ch; font-size: var(--p-text-line); line-height: 1.45; color: var(--p-ink-2); }
.moment-words .go { margin-top: 0; }
.moment > :not(.moment-words) { min-width: 0; }
@media (min-width: 900px) {
  .moment { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--p-space-cols); }
  .moment > .moment-words { grid-column: 1; grid-row: 1; }
  .moment > :not(.moment-words) { grid-column: 2; grid-row: 1; }
  .moment[data-layout="left"] { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .moment[data-layout="left"] > .moment-words { grid-column: 2; }
  .moment[data-layout="left"] > :not(.moment-words) { grid-column: 1; }
  /* Across: the heading large on the left, its line and link on the right, the picture across the width under them,
     never taller than the screen under the words. Middle: everything centred. */
  .moment:is([data-layout="across"], [data-layout="middle"]) { grid-template-columns: minmax(0, 1fr); }
  .moment:is([data-layout="across"], [data-layout="middle"]) > :not(.moment-words) { grid-column: 1; grid-row: auto; justify-self: center; }
  .moment[data-layout="across"] > .moment-words { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--p-space-cols); align-items: end; }
  .moment[data-layout="across"] > .moment-words > h2 { grid-row: 1 / span 2; align-self: start; font-size: var(--p-text-across); }
  .moment[data-layout="across"] > .moment-words > :not(h2) { grid-column: 2; }
  .moment[data-layout="across"] .frame { width: min(100% - 2 * var(--p-stage), (100svh - 16rem) * var(--p-ratio)); }
  .moment[data-layout="middle"] { justify-items: center; text-align: center; }
  .moment[data-layout="middle"] > .moment-words { justify-items: center; max-width: 44rem; }
  .moment[data-layout="middle"] .frame { width: min(100% - 2 * var(--p-stage), 60rem, (100svh - 16rem) * var(--p-ratio)); }
  /* A panel's strip (5:2) and a wide frame (16:9) are low enough to take the width the screen's height allows. */
  .moment[data-layout="middle"] .frame:is(.panel, .low) { width: min(100% - 2 * var(--p-stage), (100svh - 16rem) * var(--p-ratio)); }
  .moment:is([data-layout="across"], [data-layout="middle"]) > :not(.moment-words, .frame) { width: 100%; }
}
/* Words only (Suggested's facts): the line itself set large as a statement, centred ("middle") or from the left edge
   ("statement"), under its heading; Hallmark 77 read them at reading size as thin sections with no mass. */
.moment[data-layout="statement"] { grid-template-columns: minmax(0, 1fr); }
.moment:is([data-layout="statement"], [data-layout="middle"]):not(:has(.frame)) .moment-words p:not(.go) { max-width: 32ch; font-size: var(--p-text-statement); line-height: 1.2; letter-spacing: -0.015em; color: var(--text); }

/* A note under a moment's recording ("The real Cofferly…") sits 12 px under it, in the recording's column. */
.moment > .fine { grid-row: 2; margin-top: calc(var(--space-sm) - var(--p-space-words)); font-size: var(--text-sm); }
@media (max-width: 899px) { .moment > .fine { grid-row: auto; } }
/* A recording's caption standing as the moment's words (vault's settings). */
.moment-words.clip-caption { min-height: 0; max-width: 38ch; font-size: var(--p-text-line); line-height: 1.45; color: var(--p-ink-2); }
/* On an always-dark band the moment's quiet ink is the band's. */
.home-style .band { --p-ink-2: color-mix(in oklab, var(--text) 85%, var(--bg)); }
/* The band starts a section's break under the hero, as the home's turn does, so the hero's words and the band's
   never share a screen (Hallmark 58, 27 Nov: 96 words in one). */
.home-style .lock-room > .band { margin-top: var(--section-gap); }
@media (min-width: 720px) { .home-style .lock-shot .frame { --p-ratio: 2.5; } }

/* Vault's Touch ID: the fingertip on the key, once and large, then the words beside the recording under it. */
.touch { padding-top: var(--section-gap); }
/* Large, but a picture of a scene among recordings of the app: centred on 64rem, so the page stays the product's
   (Hallmark 83, 27 Nov: at the full width pictures covered 37% of the page). */
.touch-photo img { max-width: 64rem; margin-inline: auto; }
.touch-photo + .moment { padding-top: var(--space-2xl); }

/* The one band that breaks the tone, the home's turn: the violet, its own ink and links. */
.tone {
  --text: var(--p-tone-ink);
  --text-2: color-mix(in oklab, var(--p-tone-ink) 88%, var(--p-tone));
  --p-ink-2: color-mix(in oklab, var(--p-tone-ink) 88%, var(--p-tone));
  --accent: var(--p-tone-link);
  --accent-deep: var(--p-tone-link);
  --focus: var(--p-tone-link);
  margin-top: var(--section-gap);
  padding-block: var(--section-gap);
  background: var(--p-tone);
  color: var(--text);
}
:is(.tone, .band) > .moment { padding-top: 0; }
/* A keycap on the band: drawn in the band's ink, since the paper's white cap would carry the band's white ink. */
.tone kbd { border-color: color-mix(in oklab, var(--text) 45%, transparent); border-bottom-color: color-mix(in oklab, var(--text) 70%, transparent); background: transparent; color: var(--text); }

/* The small print, folded last among the questions (as the home's More questions): open, a plain list at a reading
   measure. */
.qa-print ul { margin: 0 0 var(--space-xl); padding-left: 1.2em; display: grid; gap: var(--space-sm); max-width: 65ch; color: var(--text-2); }
.qa-print li { text-wrap: pretty; }
/* Folds that carry headings of their own sit in a second list right under the questions (on paste), so the heading
   "Questions" leads into questions; the two lists read as one, one hairline between them. */
.qa-list + .qa-list { margin-top: calc(-1 * var(--space-lg)); }
.qa-list:has(+ .qa-list) > details:last-child { border-bottom: 0; }
.qa-print h3 { margin: 0 0 var(--space-sm); font-size: var(--text-md); font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.qa-print dl { margin: 0 0 var(--space-lg); display: grid; gap: var(--space-sm); max-width: 65ch; }
.qa-print dt { font-weight: 600; }
.qa-print dd { margin: 0; color: var(--text-2); }

/* A closed fold or question takes no room: Chrome lays a closed <details>' content out unseen, and Hallmark's screen
   count read the small print as 334 words on one screen (27 Nov, as on the home page). */
.home-style details:not([open]) > :not(summary) { display: none; }

/* ---------- The guides in the home's style (the owner, 27 Nov: "Redo each inner page in the home page's style")
   ---------- */
/* A guide takes main.guide.home-style: the home's hero, the guide's one recording on 7 parts beside its words with its
   caption 12 px under it (a guide with no recording opens on its title and its line alone, .alone); then each chapter
   a moment, its heading large on 5 parts and held in view while its words pass on 7, the sides changing from chapter
   to chapter; a chapter of one paragraph set large as a statement; "With Cofferly" on the violet band. The questions
   as rows, one band to end. The guides' words are long: they get room (larger type, a screen a chapter), never cuts. */
:root {
  --p-text-read: clamp(1.0625rem, 0.9rem + 0.5vw, 1.25rem);
  --p-text-say: clamp(1.5rem, 1.05rem + 1.2vw, 2.125rem);
}
.page-clip > .clip-caption { min-height: 0; }
/* A guide of words only: its title at the display size and its line, the first object of the page, nothing else. */
.page-head.alone h1 { font-size: var(--text-display); }
/* At its content's height (Hallmark 79, 1 Dec: 72svh left a third of a screen empty under two lines). */
@media (min-width: 64rem) {
  .home-style .page-head.alone { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: var(--space-3xl) var(--space-2xl); }
  .page-head.alone > .page-words { max-width: 60rem; }
}

/* A chapter: its heading and its words at the reading size a step up, in the moments' quiet ink. */
.guide-part { align-items: start; }
.guide-part > .chapter-body { font-size: var(--p-text-read); color: var(--p-ink-2); }
.guide-part > .chapter-body :is(p, li) { line-height: 1.55; }
.guide-part > .chapter-body > .fine { font-size: var(--text-sm); }
.guide-part > .chapter-body > h3 { margin-top: var(--space-md); color: var(--text); font-size: var(--text-lead); }
.guide-part.small-print ul { font-size: 1rem; }
@media (min-width: 900px) {
  .guide-part:not([data-layout="statement"]) > .moment-words { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
}
/* A chapter of one paragraph: the heading over it, the paragraph itself set large from the left edge. */
.guide-part[data-layout="statement"] > * { grid-column: 1; grid-row: auto; }
.guide-part[data-layout="statement"] > .chapter-body { max-width: none; }
.guide-part[data-layout="statement"] > .chapter-body > p:not(.fine) { max-width: 36ch; color: var(--text); font-size: var(--p-text-say); line-height: 1.3; letter-spacing: -0.015em; }
/* On the violet band the hairlines between steps are drawn in the band's ink. */
.tone .guide-part { --line: color-mix(in oklab, var(--p-tone-ink) 28%, transparent); }

/* The screenshot review's fixes (28 Nov). The home page doesn't load this sheet, so its 150 KB (C10) is untouched. */
/* A phone frame takes its poster's own height: the phone takes are 800 x 1000 or the strip's 800 x 872, and a fixed 4:5
   cut 6% off each side of the 872s ("leeting" for "Meeting"); a 16:9 "low" frame kept only the top window of a take
   whose paste lands in the window under it. The video lies over the poster at the same size. */
@media (max-width: 719px) {
  .frame:not(.row) { aspect-ratio: auto; }
  .frame:not(.row) > picture { position: relative; }
  .frame:not(.row) > picture img { height: auto; }
  /* A chapter of one long paragraph (60 words and more) reads at the lead size on a phone, not the statement's. */
  .guide-part[data-layout="statement"] > .chapter-body > p:not(.fine) { font-size: var(--text-lead); line-height: 1.5; letter-spacing: 0; }
}
/* A command keeps its paths whole ("/Applications/ Cofferly.app" broke in two): it scrolls inside its box instead. */
.cmd code:not(.hash) { overflow-wrap: normal; white-space: nowrap; overflow-x: auto; }
/* A part of words only reads heading first: "left" swaps the sides beside a picture, and with no picture it put the
   heading after its words. */
@media (min-width: 900px) {
  .moment[data-layout="left"]:not(:has(.frame, img, svg)) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .moment[data-layout="left"]:not(:has(.frame, img, svg)) > .moment-words { grid-column: 1; }
  .moment[data-layout="left"]:not(:has(.frame, img, svg)) > :not(.moment-words) { grid-column: 2; }
}
