/* SilentFrame website: the marketing agency site (20 Oct 2026), built on the Board design (option C, chosen
   13 Oct 2026). One stylesheet for every page.
   Colours and type from the brand guide (04 Brand/guide/content.json). Two themes (fourth brief, 13 Oct 2026):
   light, and the brand's own dark mode (04 Brand/kit/colours/silentframe-tokens.css, [data-theme="dark"]; the
   guide's "Dark mode" swatches). assets/theme.js sets <html data-theme> before the first paint from
   SF_CONFIG.THEME_DEFAULT, or the visitor's choice for the visit; without JavaScript the page is light.
   The first screen is the descriptor line, the tagline, the h1, Book a call and the live board. Then the
   problems we solve, how it works, the four prints (who it is for) and the Book a call form (see DIRECTION.md
   and README.md). */

@font-face {
  font-family: "Funnel Display";
  src: url("fonts/FunnelDisplay-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/AtkinsonHyperlegibleNext-400-700-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --paper: #FAF7F2;
  --paper-deep: #F0EBE3;
  --paper-raised: #FFFFFF;
  --ink: #1B1814;
  --ink-muted: #6E665B;
  --rule: #E2DBCF;
  --soft-blue: #617BFF;
  --soft-blue-100: #DDE3FF;
  --soft-blue-200: #C3CDFF;
  --blue-ink: #3444CD;
  --on-soft-blue: #1B1814;
  --border: #7A7266;
  --focus: #3444CD;
  --danger-ink: #902014;
  --success: #017176;
  --info: #AAA39A;
  --nav-h: 76px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1312px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-settle: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-move: cubic-bezier(0.32, 0.72, 0, 1);
  --font-display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, "Segoe UI", sans-serif;
  --icon-black: #0E0C0A;
  --icon: var(--icon-black);
  --icon-hover: var(--soft-blue);
  /* Roles that change with the theme. The light values are the ones the page always had. */
  --success-ink: #017176;
  --on-status: #1B1814;                  /* labels on the info fill (Scheduled, the draft banner): both themes */
  --btn2-bg: #FFFFFF;                    /* the secondary button */
  --ex-bg: #FFFFFF;                      /* the Example label */
  --panel-bg: var(--paper-raised);       /* the Book a call card */
  --note-bg: var(--paper-deep);          /* the preview note inside it */
  --lane-rest: #F7F3ED;                  /* a column the card is not in: 35% surface on the page */
  --bubble-bg: var(--ink);               /* your reply in the Plan card */
  --bubble-ink: var(--paper-raised);
  --card-shadow: 0 1px 2px rgba(27, 24, 20, 0.06), 0 14px 30px -18px rgba(27, 24, 20, 0.34);
  --card-shadow-lift: 0 34px 56px -22px rgba(27, 24, 20, 0.5);
  --panel-shadow: 0 1px 2px rgba(27, 24, 20, 0.05), 0 24px 56px -32px rgba(27, 24, 20, 0.28);
  --selection-bg: var(--soft-blue-100);
  --selection-ink: #1B1814;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231B1814' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  --logo-h: 33px;
  color-scheme: light;
  scrollbar-color: #AAA39A var(--paper);
}
/* The brand's dark mode, designed, not inverted. Every value is the kit's [data-theme="dark"] token or the guide's
   dark swatch for the same role (DESIGN.md lists them, with the few roles derived from them). Soft blue, the
   status fills and their labels keep their light values, as the guide says. */
:root[data-theme="dark"] {
  --paper: #14120F;                      /* ground */
  --paper-deep: #1C1915;                 /* surface: cards and panels */
  --paper-raised: #23201C;               /* raised: inputs, the job card */
  --ink: #FAF7F2;
  --ink-muted: #A69D91;
  --rule: #312D27;
  --border: #7A736B;
  --soft-blue-100: #21253F;
  --soft-blue-200: #29315C;
  --blue-ink: #839EFD;
  --focus: #839EFD;
  --danger-ink: #F4775D;
  --success-ink: #57C5C5;
  --icon: #FAF7F2;
  --icon-hover: #839EFD;
  --btn2-bg: #23201C;
  --ex-bg: #23201C;
  --panel-bg: var(--paper-deep);
  --note-bg: var(--paper-raised);
  --lane-rest: #171411;                  /* derived: 35% surface on the ground, the light mix */
  --bubble-bg: #29315C;                  /* blue 200, dark */
  --bubble-ink: #FAF7F2;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 4px 12px -2px rgba(0, 0, 0, 0.8);   /* kit shadow-sm + shadow-md, dark */
  --card-shadow-lift: 0 16px 36px -6px rgba(0, 0, 0, 0.9);                         /* kit shadow-lg, dark */
  --panel-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.8);                              /* kit shadow-md, dark */
  --selection-bg: #29315C;
  --selection-ink: #FAF7F2;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FAF7F2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  color-scheme: dark;
  scrollbar-color: #7A736B #14120F;
}
/* The switch: a short cross-fade of the colours where the browser has view transitions (nothing moves); theme.js
   skips it with reduced motion. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: ease; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--selection-bg); color: var(--selection-ink); }
input, select, textarea { caret-color: var(--blue-ink); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.nobr { white-space: nowrap; }   /* keeps a hyphenated word whole ("owner-run") */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Top bar: the logo, the light and dark switch, and one button */
.bar {
  position: relative; z-index: 5;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter);
}
.brand { display: block; line-height: 0; flex: none; }
/* The logo per theme and size, each the kit's own file, byte for byte, at or above its minimum (04 Brand guide,
   Minimum sizes): light, sf-lockup-lightfix (pale start, from 122 px wide); dark, sf-lockup-dark (from 195 px
   wide), and below that the kit's rule, "Smaller on dark, use sf-mono-white" (from 122 px wide). Under 350 px
   the lockups no longer fit beside the switch and the button, so the wordmark alone (from 90 px wide), the
   guide's file for tight horizontal spaces. Every logo of one size has the same box, so switching themes moves
   nothing. */
.brand .logo { display: none; height: var(--logo-h); width: calc(var(--logo-h) * 6.0734); }   /* lockups: 340.11 x 56 */
:root:not([data-theme="dark"]) .brand .logo-l, :root[data-theme="dark"] .brand .logo-d { display: block; }
.bar-end { display: flex; align-items: center; gap: 12px; flex: none; }
.bar-cta.btn { height: 44px; padding: 0 18px; font-size: 15px; }

/* The light and dark switch: one toggle button (aria-pressed = dark), its words for screen readers, the sun and
   the moon in a small track with the thumb on the theme in use. The hit area is 44 px tall. Hidden without
   JavaScript (theme.js adds .theme-js), as it could not work. Hover: the other icon turns soft blue (the icon
   rule: #617BFF on light, #839EFD on dark). */
.theme-toggle { display: none; }
.theme-js .theme-toggle {
  display: inline-grid; place-items: center; flex: none; width: 72px; height: 44px; margin: 0; padding: 0;
  border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.theme-toggle:focus-visible { outline-offset: 0; border-radius: 999px; }
.tt-track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 72px; height: 36px; padding: 0 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--paper-raised);
  transition: border-color 160ms ease, transform 160ms var(--ease-out);
}
.tt-thumb { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); transition: translate 200ms var(--ease-out); }
:root[data-theme="dark"] .tt-thumb { translate: 36px 0; }
.tt-ic { position: relative; display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink-muted); transition: color 160ms ease; }
.tt-ic svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
:root:not([data-theme="dark"]) .tt-sun, :root[data-theme="dark"] .tt-moon { color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .theme-toggle:hover .tt-track { border-color: var(--ink); }
  :root:not([data-theme="dark"]) .theme-toggle:hover .tt-moon, :root[data-theme="dark"] .theme-toggle:hover .tt-sun { color: var(--icon-hover); }
}
.theme-toggle:active .tt-track { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .tt-thumb, .tt-ic, .tt-track { transition: none; } .theme-toggle:active .tt-track { transform: none; } }

/* Buttons (the guide's app parts): one primary per view, soft blue fill with an ink label. Hover never
   darkens the primary: it gains a soft blue 200 ring. Secondary: white fill, 1px border, ink label. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 6px; border: 0;
  font: 600 16px/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 160ms ease, border-color 160ms ease;
}
.btn.primary { background: var(--soft-blue); color: var(--on-soft-blue); }
.btn.secondary { background: var(--btn2-bg); border: 1px solid var(--border); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn.primary:hover { box-shadow: 0 0 0 3px var(--soft-blue-200); }
  .btn.secondary:hover { border-color: var(--ink); }
}
.btn:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

/* ---------- The first screen: the descriptor, the tagline, the h1, the one main action and the live board ----------
   The board is the hero. Phone first: the descriptor, the tagline, the h1 and Book a call, then the board, with
   the job card whole inside the first screen. From 1000 px the descriptor and the tagline sit left and the h1
   with the button right, on one line, over the board. */
.hero { position: relative; padding: clamp(10px, 2.2svh, 28px) 0 clamp(48px, 6vw, 96px); overflow-x: clip; }
.hero-copy { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
/* The descriptor (the comprehension line; the agency wording is a draft, 20 Oct 2026): what SilentFrame is, in
   ink, read at a glance, directly above the tagline. A paragraph, not a heading; the owner overrode the
   no-eyebrow rule here on 13 Oct 2026. */
.descriptor { margin: 0 0 6px; max-width: 24em; font-size: clamp(18px, 4.9vw, 20px); line-height: 1.3; font-weight: 600; color: var(--ink); text-wrap: balance; }
/* "Back to making." is styled text; the page's h1 is the supporting line beside or under it. The tagline
   never breaks. */
.display {
  margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 11.4vw, 52px); line-height: 1.02; letter-spacing: -0.024em;
  white-space: nowrap;
}
.hero h1 { margin: 12px 0 0; font-family: var(--font-body); font-weight: 400; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.4; letter-spacing: 0; max-width: 26em; }
.hero h1 .line { display: block; text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
@media (min-width: 761px) { .display { font-size: clamp(52px, 6.6vw, 96px); } .descriptor { margin-bottom: 8px; font-size: clamp(20px, 1.7vw, 24px); } }
@media (min-width: 1000px) {
  .hero-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: end; column-gap: clamp(32px, 4vw, 72px); }
  .descriptor { grid-column: 1; grid-row: 1; }
  .display { grid-column: 1; grid-row: 2; }
  .hero-side { grid-column: 2; grid-row: 1 / span 2; justify-self: end; max-width: 34rem; padding-bottom: 4px; }
  .hero h1 { margin: 0; }
}
@media (min-width: 1000px) and (max-height: 860px) {
  .display { font-size: clamp(52px, min(6.6vw, 10.5svh), 96px); }
  .hero { padding-top: 6px; }
  .bd { margin-top: 18px; }
  .lane-head { padding: 10px 12px 8px; }
  .lane-say { padding-top: 10px; font-size: 14px; line-height: 20px; }
}

/* ---------- Shared below the first screen ---------- */
.section { position: relative; z-index: 2; padding: clamp(80px, 10vw, 152px) var(--gutter); background: var(--paper); }
.section h2 {
  margin: 0;
  font-family: var(--font-display); font-weight: 400;
  line-height: 1.02; letter-spacing: -0.022em;
  text-wrap: balance;
}
.lead { margin: 0; font-size: 18px; line-height: 28px; max-width: 36em; }

/* The frame device (04 Brand guide): four flat soft blue mounts; the photo inset 5.357% of the width and
   cut back so it keeps the 4.9% gap to each mount's long edge. Same geometry as the kit's
   sf-frame-device-4x5.svg. The photo sits in its own clipped box. */
.frame { position: relative; aspect-ratio: 4 / 5; }
.frame-photo {
  position: absolute; left: 5.357%; top: 4.286%; width: 89.286%; height: 91.428%;
  overflow: hidden; background: var(--paper-deep);
  clip-path: polygon(35.38% 0, 64.62% 0, 100% 27.64%, 100% 72.36%, 64.62% 100%, 35.38% 100%, 0 72.36%, 0 27.64%);
}
.frame-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--o, 50% 50%); }
.mounts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: #617BFF; }

/* ---------- The board ----------
   Six columns (Plan, Make, Check, Launch, Follow up, Report), each with its owner and one plain sentence, and one
   job card for a made-up cafe. The markup holds six static cards, one a column, each in its final state:
   the board without the script and with reduced motion (on narrow screens it then scrolls sideways, a card a
   swipe). Once site.js runs (html.board-live) the static cards go clear (still read by screen readers) and
   one travelling card, made from copies of them, walks the six columns by itself; on narrow screens the
   board pans so the card stays in the middle. */
.bd { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: clamp(16px, 3svh, 40px) auto 0; padding: 0 var(--gutter); }

/* The board bar: whose board it is, the Example label (the whole board is an illustration) and the button
   that pauses the card. */
.bd-bar { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 36px; }
.bd-tile { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--ink); color: var(--paper); font: 700 13px/1 var(--font-body); letter-spacing: 0.03em; }
.bd-name { margin: 0; min-width: 0; font-size: 16px; line-height: 22px; }
.bd-name b { font-weight: 700; }
.bd-name span { margin-left: 4px; color: var(--ink-muted); }
.ex { position: absolute; top: -11px; right: 12px; padding: 0 8px; background: var(--ex-bg); border: 1px solid var(--rule); border-radius: 999px; font-size: 13px; line-height: 20px; color: var(--ink-muted); white-space: nowrap; }
.bd-bar .ex { position: static; flex: none; margin-left: auto; }
/* Pause motion (WCAG 2.2.2): shown while the card can move. Pause stops it where it is; Play carries on;
   when the card has reached Report, Play again walks it once more. */
.motion-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--paper-raised); color: var(--ink);
  font: 600 14px/1 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: border-color 160ms ease, transform 160ms var(--ease-out);
}
.motion-toggle .i-play, .motion-toggle.paused .i-pause { display: none; }
.motion-toggle.paused .i-play { display: block; }
.motion-toggle:active { transform: scale(0.97); }
.motion-toggle:focus-visible { border-radius: 999px; }
@media (hover: hover) and (pointer: fine) { .motion-toggle:hover { border-color: var(--ink); } }

/* The view: on narrow screens the board is wider than the screen, so the view bleeds to the screen's edges
   and scrolls sideways (static board) or pans with the card (live board). Room above for the Example labels
   and below for the card's shadow. */
.bd-view {
  position: relative; margin: 0 calc(-1 * var(--gutter)); padding: 18px var(--gutter) 10px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: thin; scrollbar-color: #AAA39A transparent;
}
.bd-view:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 6px; }
.bd-track { position: relative; width: max-content; }
.lanes {
  --col: clamp(196px, 58vw, 232px);
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: var(--col) 8px repeat(5, var(--col)); grid-template-rows: auto auto auto; column-gap: 10px;
}
/* A wider gap splits Plan (you and us) from the five columns SilentFrame does. */
.lane:nth-child(2) { grid-column-start: 3; }
.lane:nth-child(3) { grid-column-start: 4; }
.lane:nth-child(4) { grid-column-start: 5; }
.lane:nth-child(5) { grid-column-start: 6; }
.lane:nth-child(6) { grid-column-start: 7; }
/* Each column is a subgrid of three rows (head, slot, sentence), so the slots and the sentences line up
   across the board; the column's surface covers the head and the slot. */
.lane { grid-row: 1 / span 3; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; isolation: isolate; scroll-snap-align: center; }
.lane::before { content: ""; grid-column: 1; grid-row: 1 / span 2; z-index: -1; border-radius: 16px; background: var(--paper-deep); }
.lane-head { grid-column: 1; grid-row: 1; padding: 14px 14px 12px; }
.lane-name {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.04; letter-spacing: -0.018em;
}
.lane-ic { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--icon, #0E0C0A); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lane-who { margin: 4px 0 0; font-size: 14px; line-height: 18px; font-weight: 600; }
.slot { grid-column: 1; grid-row: 2; padding: 4px 8px 8px; }
.lane-say { grid-column: 1; grid-row: 3; margin: 0; padding: 12px 4px 0; font-size: 15px; line-height: 22px; text-wrap: pretty; }
@media (min-width: 1200px) {
  .bd-view { overflow: visible; }
  .bd-track { width: auto; }
  .lanes { grid-template-columns: minmax(0, 1fr) 12px repeat(5, minmax(0, 1fr)); }
}

/* The job card: the guide's media card, drawn in HTML and CSS. The photo whole and uncut until the check
   passes; the Example label on the top edge; every face the same size, so one card can stand in for all six. */
.pc {
  --pad: 8px; --body-h: 120px;
  position: relative; display: flex; flex-direction: column;
  padding: 14px var(--pad) var(--pad);
  background: var(--paper-raised); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 10.5px;
  box-shadow: var(--card-shadow);
  font-size: 13px; line-height: 18px; text-align: left;
  container-type: inline-size;
}
.pc :where(p) { margin: 0; text-wrap: pretty; }
@container (max-width: 184px) { .pc-title span { display: none; } }
.pc-media { position: relative; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--paper-deep); }
.pc-media > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--o, 50% 50%); }
.pc-media .mounts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--soft-blue); }
.pc-media .m45 { display: none; }
.pc-title { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0 8px; margin: 9px 2px 0; font-size: 14px; line-height: 20px; }
.pc-title b { flex: 1 1 7em; min-width: 0; font-weight: 700; }
.pc-title span { flex: none; color: var(--ink-muted); font-size: 13px; }
.pc-body { height: var(--fit-h, var(--body-h)); margin: 7px 2px 0; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

/* The check passed: the four corners hold the photo, which is cut back to keep its gap to each mount
   (the frame device's geometry, on the media box: 5.357% inset, 4.9% gap). Once per view: in the static
   board only the Check card holds it; on the travelling card it arrives at the check and stays. */
.pc.is-held .pc-media, .pc-travel.is-held .pc-media { background: transparent; }
.pc-media > img { clip-path: polygon(0 0, 100% 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%, 0 0); }
.pc.is-held .pc-media > img, .pc-travel.is-held .pc-media > img { clip-path: polygon(36.95% 5.357%, 63.05% 5.357%, 94.64% 36.95%, 94.64% 63.05%, 63.05% 94.64%, 36.95% 94.64%, 5.357% 63.05%, 5.357% 36.95%); }

/* 1. Plan: the goal, and the owner's reply. 5. Follow up: the enquiry, with its icon. */
.pb-label { display: flex; align-items: flex-start; gap: 6px; font-weight: 700; }
.pb-label .ic { margin-top: 1px; }
.pb-line b { font-weight: 700; }
.pb-you { width: fit-content; margin: 8px 0 0 auto; padding: 4px 10px 5px; border-radius: 10.5px 10.5px 4px 10.5px; background: var(--bubble-bg); color: var(--bubble-ink); }

/* 2 and 3. Tick lists (Make: the to-make list; Check: the three checks) */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ticks li { display: flex; align-items: flex-start; gap: 8px; }
.tk { flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 4px; border: 1.5px solid var(--success); background: var(--success); }
.tk svg { width: 11px; height: 11px; fill: none; stroke: #FFFFFF; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.tk path { stroke-dasharray: 14; stroke-dashoffset: 0; }
.pb-check .chip { margin-top: 10px; }

.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 7px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; }
.chip .ic { width: 14px; height: 14px; stroke-width: 2.5; }
.chip-ok { background: var(--success); color: #FFFFFF; }
.chip-info { background: var(--info); color: var(--on-status); }

/* 5. Follow up: the reply time, with its icon in the success ink, then the booking */
.pb-cap { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-weight: 600; }
.pb-cap .ic { color: var(--success-ink); }
.pb-follow .slot-top { margin-top: 8px; justify-content: flex-start; }

/* 4. Launch: the slot, Scheduled then Live, and the four platforms */
.slot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.slot-top b { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; justify-self: start; }
.swap .s-a { opacity: 0; }
.plats { margin-top: 8px; color: var(--ink-muted); }

/* 6. Report: one figure, a bar a day (single series, ink for the day that worked), the label */
.rep { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 10px; }
.rep-fig { flex: 1 1 auto; min-width: 0; font-size: 26px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.rep-cap { color: var(--ink-muted); }
.bars { flex: none; display: flex; align-items: flex-end; gap: 2px; width: 44%; max-width: 112px; height: 34px; margin-bottom: 4px; }
.bars span { flex: 1 1 0; height: var(--h); border-radius: 2px 2px 0 0; background: var(--border); transform-origin: 50% 100%; }
.bars .hi { background: var(--ink); }
.worked { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rule); }
.worked .lbl { display: block; font-weight: 700; }

/* The travelling card (made by site.js, hidden from screen readers: the static cards carry the words). */
.pc-travel { display: none; }
.board-live .slot .pc { opacity: 0; }
.board-live .pc-travel {
  display: block; position: absolute; top: 0; left: 0; z-index: 3; pointer-events: none;
  transition: transform 450ms var(--ease-move); will-change: transform;
}
.pc-travel.no-anim, .pc-travel.no-anim * { transition: none !important; }
.bd.booting, .bd.booting *, .bd.booting *::before, .bd.booting *::after { transition: none !important; }
.pc-lift > .pc-face.is-shown { opacity: 1; filter: none; z-index: 2; transition: none; }
.bd-track.no-anim { transition: none !important; }
.pc-lift { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); width: 100%; height: 100%; transform-origin: 50% 30%; }
.pc-lift > .pc-face { grid-area: 1 / 1; box-shadow: none; opacity: 0; filter: blur(4px); }
.pc-lift > .pc-face.is-under { opacity: 1; filter: none; z-index: 1; }
.pc-lift > .pc-face.is-top { opacity: 1; filter: none; z-index: 2; transition: opacity 200ms var(--ease-out) 80ms, filter 240ms var(--ease-out) 80ms; }
/* One shadow under all six faces; a deeper one while the card is lifted (site.js fades it in and out). */
.pc-shade { position: absolute; inset: 0; border-radius: 10.5px; box-shadow: var(--card-shadow); }
.pc-deep { opacity: 0; box-shadow: var(--card-shadow-lift); }
.pc-hold { position: absolute; z-index: 3; left: 9px; right: 9px; top: 15px; aspect-ratio: 1 / 1; }
.pc-hold .mounts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--soft-blue); }
.pc-hold .m45 { display: none; }
.pc-hold path { opacity: 0; transition: translate 160ms var(--ease-out), opacity 160ms var(--ease-out); }
.pc-hold .m-tl { translate: -80px -80px; } .pc-hold .m-tr { translate: 80px -80px; }
.pc-hold .m-br { translate: 80px 80px; } .pc-hold .m-bl { translate: -80px 80px; }
.pc-travel.is-held .pc-hold path { opacity: 1; translate: 0 0; transition: translate 400ms var(--ease-settle), opacity 200ms var(--ease-out); }
.pc-travel.is-held .pc-hold .m-tr { transition-delay: 40ms; }
.pc-travel.is-held .pc-hold .m-br { transition-delay: 80ms; }
.pc-travel.is-held .pc-hold .m-bl { transition-delay: 120ms; }
.board-live .pc-face .pc-media > img { transition: clip-path 160ms var(--ease-out); }
.board-live .pc-travel.is-held .pc-face .pc-media > img { transition: clip-path 400ms var(--ease-settle); }

/* Lane states while the card travels: the column it is in is lit; the ones ahead wait in muted ink;
   the next one shows a dashed slot where the card will land, the way a dragged card shows its drop target. */
.board-live .lane:not(.is-at):not(.is-done) .slot .pc { opacity: 0.35; box-shadow: none; transition: opacity 300ms ease; }
.board-live .lane:not(.is-at):not(.is-done) .slot .pc .pc-body { visibility: hidden; }
.board-live .lane.is-next .slot { position: relative; }
.board-live .lane.is-next .slot::after { content: ""; position: absolute; inset: -2px 2px 2px; border: 1.5px dashed var(--border); border-radius: 13px; pointer-events: none; }
/* Behind the card, each column it has left keeps a faint copy of what happened there, so by Report the
   board holds the whole story. */
.board-live .lane.is-done .slot .pc { opacity: 0.55; box-shadow: none; transition: opacity 400ms var(--ease-out) 300ms; }
.board-live .bd.is-complete .lane.is-done .slot .pc { opacity: 1; box-shadow: var(--card-shadow); }
/* The corners belong to the one post in view (the travelling card): never on a ghost, a copy or the board at rest
   behind it. */
.board-live .slot .pc .mounts { display: none; }
.board-live .slot .pc.is-held .pc-media { background: var(--paper-deep); }
.board-live .slot .pc.is-held .pc-media > img { clip-path: polygon(0 0, 100% 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%, 0 0); }
.board-live .lane-name, .board-live .lane-say, .board-live .lane-ic { transition: color 240ms ease, stroke 240ms ease; }
.board-live .lane:not(.is-at) .lane-say { color: var(--ink-muted); }
.board-live .lane:not(.is-at):not(.is-done) .lane-name { color: var(--ink-muted); }
.board-live .lane:not(.is-at):not(.is-done) .lane-ic { stroke: var(--ink-muted); }
/* Dark: the faint cards are drawn faint, not see-through. A card ahead is a recessed outline on its column with
   a dimmed photo and muted words; a column the card has left keeps a surface-coloured copy with a dimmed photo and
   its words in muted ink (6.55:1 on the surface); at
   Report every copy comes up to a raised card. Every word on them keeps WCAG AA contrast at any moment. */
:root[data-theme="dark"].board-live .lane:not(.is-at):not(.is-done) .slot .pc { opacity: 1; background: var(--lane-rest); }
:root[data-theme="dark"].board-live .lane:not(.is-at):not(.is-done) .slot .pc .ex { background: var(--lane-rest); }
:root[data-theme="dark"].board-live .lane:not(.is-at):not(.is-done) .slot .pc .pc-title b { color: var(--ink-muted); }
:root[data-theme="dark"].board-live .lane:not(.is-at):not(.is-done) .slot .pc .pc-media { opacity: 0.3; }
:root[data-theme="dark"].board-live .lane.is-done .slot .pc { opacity: 1; background: var(--paper-deep); color: var(--ink-muted); transition: opacity 400ms var(--ease-out) 300ms, background-color 400ms var(--ease-out) 300ms, color 400ms var(--ease-out) 300ms; }
:root[data-theme="dark"].board-live .lane.is-done .slot .pc .ex { background: var(--paper-deep); transition: background-color 400ms var(--ease-out) 300ms; }
:root[data-theme="dark"].board-live .lane.is-done .slot .pc .pc-media { opacity: 0.55; transition: opacity 400ms var(--ease-out) 300ms; }
:root[data-theme="dark"].board-live .bd.is-complete .lane.is-done .slot .pc { background: var(--paper-raised); color: var(--ink); }
:root[data-theme="dark"].board-live .bd.is-complete .lane.is-done .slot .pc .ex { background: var(--ex-bg); }
:root[data-theme="dark"].board-live .bd.is-complete .lane.is-done .slot .pc .pc-media { opacity: 1; }

/* The live board: the view clips (narrow screens) and the track pans with the card; the columns the card is
   not in fade to a third of the surface, its own column is lit. */
.board-live .bd-view { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; }
.board-live .bd-track { transition: transform 450ms var(--ease-move); }

.board-live .lane::before { background: var(--lane-rest); transition: background-color 300ms ease; }
.board-live .lane.is-at::before { background: var(--paper-deep); }
@media (min-width: 1200px) { .board-live .bd-view { overflow: visible; } }
/* Tall wide screens: 4:5 photos (the frame device's master file). */
@media (min-width: 1200px) and (min-height: 960px) {
  .pc-media, .pc-hold { aspect-ratio: 4 / 5; }
  .pc-media .m11, .pc-hold .m11 { display: none; }
  .pc-media .m45, .pc-hold .m45 { display: block; }
  .pc.is-held .pc-media > img, .pc-travel.is-held .pc-media > img { clip-path: polygon(36.95% 4.286%, 63.05% 4.286%, 94.64% 29.56%, 94.64% 70.44%, 63.05% 95.71%, 36.95% 95.71%, 5.357% 70.44%, 5.357% 29.56%); }
}

/* ---------- Tell us what is not working: six problems, each answered (20 Oct 2026) ----------
   Surface cards on the page's ground, the problem in bold, the answer under it. No soft blue here: the one
   primary button and the mounts keep it. Two columns from 640 px, three from 1000 px. */
.problems-head, .probs, .problems-close { max-width: var(--max); margin-left: auto; margin-right: auto; }
.problems h2, .how h2 { max-width: 12em; font-size: clamp(40px, 6.2vw, 84px); }
.problems-head .lead { margin-top: 16px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.probs { list-style: none; margin-top: clamp(36px, 4.6vw, 64px); margin-bottom: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.prob { padding: clamp(20px, 2.2vw, 28px); border-radius: 16px; background: var(--paper-deep); }
.prob h3 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; text-wrap: balance; }
.prob p { margin: 8px 0 0; font-size: 16px; line-height: 24px; text-wrap: pretty; }
.problems-close { margin-top: clamp(28px, 3.4vw, 44px); margin-bottom: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; font-weight: 600; }
@media (min-width: 640px) { .probs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) {
  .probs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
  .prob h3 { font-size: 22px; line-height: 28px; }
  .prob p { font-size: 17px; line-height: 26px; }
}

/* ---------- How it works: three steps (20 Oct 2026) ----------
   On the same ground as the problems above, so its top padding is dropped. Each step: its number in a ring
   (Atkinson, figures are never Funnel Display), a hairline, the step in bold and one line. */
.how { padding-top: 0; }
.how-head, .steps { max-width: var(--max); margin-left: auto; margin-right: auto; }
.steps { list-style: none; margin-top: clamp(32px, 4vw, 56px); margin-bottom: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--rule); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; font: 600 16px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.step h3 { margin: 16px 0 0; font-size: 20px; line-height: 26px; font-weight: 700; }
.step p { margin: 8px 0 0; font-size: 16px; line-height: 24px; max-width: 26em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
  .step h3 { font-size: 22px; line-height: 28px; }
  .step p { font-size: 17px; line-height: 26px; }
}

/* ---------- Who it is for ("Built for owner-run businesses."): four prints ---------- */
.who { background: var(--paper-deep); }
.who-head { max-width: var(--max); margin: 0 auto; }
.who h2 { max-width: 12em; font-size: clamp(40px, 6.2vw, 84px); }
.who-head .lead { margin-top: 16px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.prints { list-style: none; max-width: var(--max); margin: clamp(40px, 5.4vw, 80px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; align-items: start; }
.print:nth-child(even) { margin-top: 40px; }
.print-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10.5px; background: var(--paper); }
.print-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Dark: a hairline and the kit's dark small shadow hold each print's edge on the dark band (the photos are unchanged). */
:root[data-theme="dark"] .print-photo { box-shadow: 0 0 0 1px var(--rule), 0 1px 3px rgba(0, 0, 0, 0.7); }
.print-name { margin: 14px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.04; letter-spacing: -0.018em; text-wrap: balance; overflow-wrap: break-word; }
@media (min-width: 900px) {
  .prints { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
  .print:nth-child(even) { margin-top: 0; }
  .print:nth-child(2) { margin-top: clamp(32px, 3.4vw, 48px); }
  .print:nth-child(3) { margin-top: clamp(12px, 1.2vw, 16px); }
  .print:nth-child(4) { margin-top: clamp(44px, 4.4vw, 64px); }
  .print-name { margin-top: 18px; font-size: clamp(28px, 2.6vw, 40px); }
}

/* ---------- Book a call (the one main action) ---------- */
.book { padding-bottom: clamp(96px, 12vw, 176px); }
.bk-top, .bk-grid { max-width: var(--max); margin: 0 auto; }
.section .bk-title { font-size: clamp(48px, 8.6vw, 96px); line-height: 0.98; letter-spacing: -0.03em; }
.bk-lead { margin: 22px 0 0; max-width: 34em; }
.bk-grid { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
/* The frame device beside the form on wide screens; on phones the form stays first and plain. */
.bk-frame { width: min(100%, 440px); }

.bk-card {
  background: var(--panel-bg); border: 1px solid var(--rule); border-radius: 10.5px;
  padding: clamp(20px, 3vw, 40px);
  box-shadow: var(--panel-shadow);
}
.field { margin: 0 0 22px; }
.field > label, .field-label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.optional { font-weight: 400; color: var(--ink-muted); }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--ink-muted); }
.input, .select {
  display: block; width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 4px; background: var(--paper-raised); color: var(--ink);
  font: 400 16px/1.2 var(--font-body);
}
/* What do you want handled? (optional): the field grows downward only. */
.textarea { height: auto; min-height: 128px; padding: 12px 14px; line-height: 24px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: var(--select-arrow);
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px 20px;
}
.input:focus-visible, .select:focus-visible, .check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger-ink); box-shadow: inset 0 0 0 1px var(--danger-ink); }
.field-error { display: flex; gap: 6px; align-items: flex-start; margin: 8px 0 0; color: var(--danger-ink); font-size: 15px; font-weight: 600; }
.field-error svg { flex: none; margin-top: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue-ink); cursor: pointer; }
.check label { font-size: 16px; line-height: 24px; cursor: pointer; }
.check[data-invalid] input { outline: 2px solid var(--danger-ink); outline-offset: 2px; }
.notice { margin: 20px 0 0; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.notice a, .legal a, .foot a, .bk-done a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.preview-note, .preview-flag {
  display: flex; gap: 8px; align-items: flex-start; margin: 0 0 18px; padding: 10px 12px;
  background: var(--note-bg); border-left: 3px solid var(--info); border-radius: 4px; font-size: 15px;
}
.preview-flag { font-weight: 700; }
.form-error { margin: 18px 0 0; padding: 12px 14px; border: 1px solid var(--danger-ink); border-radius: 6px; color: var(--danger-ink); font-weight: 600; }
.bk-form .btn { width: 100%; }
.bk-done h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; }
.bk-done h3:focus { outline: none; }
.bk-done p { margin: 10px 0 0; }
.bk-done a { overflow-wrap: anywhere; }
.bk-done .preview-flag { margin: 0 0 18px; }
.bk-done .btn { margin-top: 22px; }

/* ---------- Legal pages ---------- */
/* The lawyer marks: ink on the blue tint in both themes (the guide: text on a tint is ink or blue ink, never muted ink). */
.draft-banner {
  position: relative; z-index: 2; display: flex; gap: 10px; align-items: flex-start;
  margin: 0; padding: 14px var(--gutter); background: var(--info); color: var(--on-status); font-size: 16px; line-height: 1.45;
}
.draft-banner svg { flex: none; margin-top: 1px; }
.legal { position: relative; z-index: 2; max-width: 46rem; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 96px); box-sizing: content-box; }
.legal h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.012em; }
.legal .meta { margin: 14px 0 0; color: var(--ink-muted); font-size: 15px; }
.legal h2 { margin: 44px 0 0; font-size: 20px; line-height: 28px; font-weight: 700; }
.legal h3 { margin: 24px 0 0; font-size: 17px; line-height: 24px; font-weight: 700; }
.legal p, .legal li { max-width: 40em; }
.legal p { margin: 12px 0 0; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal .toc { margin: 28px 0 0; padding: 18px 22px; background: var(--paper-deep); border-radius: 8px; }
.legal .toc h2 { margin: 0; font-size: 16px; }
.legal .toc ol { columns: 2; column-gap: 32px; }
.lawyer { background: var(--soft-blue-100); color: var(--ink); border-radius: 3px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Footer ---------- */
.foot { position: relative; z-index: 2; padding: 40px var(--gutter) 48px; border-top: 1px solid var(--rule); background: var(--paper); font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.foot a { display: inline-block; padding: 4px 0; }
.foot .legal-line { margin: 0; color: var(--ink-muted); }
.foot .note { margin: 20px 0 0; color: var(--ink-muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .pc-travel, .pc-travel * { transition: none !important; animation: none !important; }
}

/* ---------- Motion ----------
   Only while the board is live (html.board-live: site.js ran, no reduced motion, no Pause motion) and only on
   the travelling card's faces. Everywhere else, and in print, every part shows its final state. When a face
   comes to the top its parts play once, after the card has landed: the plan lines appear, ticks tick, Scheduled
   turns to Live, the enquiry is answered and booked, the bars grow. Interface timings from the guide: small parts 200ms
   ease-out; the corners 400ms cubic-bezier(0.2, 0.8, 0.2, 1), 40ms apart (above, with the travelling card). */
@media screen and (prefers-reduced-motion: no-preference) {
  .board-live .pc-face:not(.is-top):not(.is-under) .st { opacity: 0; translate: 0 6px; }
  .board-live .pc-face:not(.is-top):not(.is-under) .pb-you { translate: 10px 0; }
  .board-live .pc-face.is-top .st { transition: opacity 200ms var(--ease-out), translate 200ms var(--ease-out); transition-delay: calc(260ms + var(--i, 0) * 110ms); }
  /* Ticks tick */
  .board-live .pc-face:not(.is-top):not(.is-under) .tk { background-color: transparent; border-color: var(--border); }
  .board-live .pc-face:not(.is-top):not(.is-under) .tk path { stroke-dashoffset: 14; }
  .board-live .pc-face.is-top .tk { transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out); transition-delay: calc(200ms + var(--i, 0) * 120ms); }
  .board-live .pc-face.is-top .tk path { transition: stroke-dashoffset 180ms var(--ease-out); transition-delay: calc(220ms + var(--i, 0) * 120ms); }
  /* Scheduled turns to Live */
  .board-live .pc-face:not(.is-top):not(.is-under) .swap .s-a { opacity: 1; }
  .board-live .pc-face:not(.is-top):not(.is-under) .swap .s-b { opacity: 0; }
  .board-live .pc-face.is-top .swap > * { transition: opacity 200ms var(--ease-out) 650ms; }
  /* The chart draws */
  .board-live .pc-face:not(.is-top):not(.is-under) .bars span { scale: 1 0; }
  .board-live .pc-face.is-top .bars span { transition: scale 420ms var(--ease-settle); transition-delay: calc(300ms + var(--i, 0) * 45ms); }
  /* Who it is for: each print rises in once as it comes on screen */
  .mo-ready:not(.mo-calm) .print { transition: opacity 500ms var(--ease-out), translate 700ms var(--ease-out), rotate 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .mo-ready:not(.mo-calm) .print:not(.is-in) { opacity: 0; translate: 0 20px; rotate: -1.2deg; }
  .mo-ready:not(.mo-calm) .print:nth-child(even):not(.is-in) { rotate: 1.2deg; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 999px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-frame { display: none; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; --logo-h: 22px; }
  .bar, .bar-end { gap: 8px; }
  .bar-cta.btn { height: 40px; padding: 0 12px; font-size: 15px; }
  /* Under sf-lockup-dark's 195 px minimum: the kit's sf-mono-white, same box. */
  :root[data-theme="dark"] .brand .logo-d { display: none; }
  :root[data-theme="dark"] .brand .logo-dm { display: block; }
  /* The switch, phone size: 48 x 44 hit area, a 48 x 30 track. */
  .theme-js .theme-toggle { width: 48px; }
  .tt-track { width: 48px; height: 30px; padding: 0 3px; }
  .tt-thumb { top: 3px; left: 3px; width: 22px; height: 22px; }
  :root[data-theme="dark"] .tt-thumb { translate: 18px 0; }
  .tt-ic { width: 22px; height: 22px; }
  .tt-ic svg { width: 14px; height: 14px; }
  .legal .toc ol { columns: 1; }
}
/* Shorter phones: a tighter first screen, so the whole card still fits (from 360 x 740). */
@media (max-width: 760px) and (max-height: 760px) {
  .hero { padding-top: 4px; }
  .hero h1 { margin-top: 8px; }
  .ctas { margin-top: 14px; }
  .bd { margin-top: 14px; }
  .bd-view { padding-top: 18px; }
  .lane-head { padding: 10px 12px 8px; }
  .lanes { --col: clamp(188px, min(58vw, 26svh), 232px); }
}
/* Phones: the motion button keeps its words for screen readers and shows its icon. */
@media (max-width: 480px) {
  .bd-name span { display: none; }
  .bd-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .bd-bar { min-height: 44px; }
  .motion-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .motion-toggle .motion-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; --logo-h: 20.2px; }   /* 122.7 px wide: the pale start's and sf-mono-white's minimum is 122 */
  .bar-cta.btn { padding: 0 10px; font-size: 14px; }
  .display { font-size: 36px; }
}
/* The narrowest phones (under 350 px): the wordmark alone (sf-wordmark / sf-wordmark-dark, 96 px wide, over its
   90 px minimum), so the logo, the switch and Book a call share one row. */
@media (max-width: 349px) {
  .bar-end { gap: 6px; }
  :root:not([data-theme="dark"]) .brand .logo-l, :root[data-theme="dark"] .brand .logo-dm { display: none; }
  :root:not([data-theme="dark"]) .brand .logo-lw, :root[data-theme="dark"] .brand .logo-dw { display: block; width: 96px; height: 13.82px; }   /* 508.6 x 73.2 */
}
