/* Design 223 (self-added, App to confirm): the redesign's header and phone menu, shared by every FR-0194 option.
   Built on the live site's own hooks so public/menu.js works unchanged: every disclosure is a native
   <details data-menu>, so it opens and closes without script, and menu.js adds Escape (focus back to the summary) and
   close-on-outside-click/focus. v7: navy text on white, the 40 px lockup (141 px wide, Brand's minimum 140), coral for
   the current-page mark only, coral-ink focus. Markup:
   <header class="tf-head"><div class="tf-head-in">
     <a class="tf-logo" href="/"><img src="/logo.svg" alt="TuningFork" width="141" height="40"></a>
     <nav class="tf-nav" aria-label="Main navigation">
       <details class="tf-dd" data-menu><summary>What we sell</summary><div class="tf-dd-panel">…the service pages…</div></details>
       <a href="/#how">How it works</a><a href="/testing/">Testing</a><a href="/demos/">Demos</a><a href="/company/">Company</a>
     </nav>
     <div class="tf-end"><a class="tf-btn ghost tf-pilot" href="mailto:…">Ask about a first pilot</a>…Sign in and Create an account,
       locked (RC3.30: aria-disabled buttons with a tooltip; tools/home-q2.mjs)…</div>
     (Row 397, open accounts: Sign in is the ghost link and Create an account the solid button; the pilot link is the
     quiet one before them and is hidden from 1160 px down, where the nav needs the room. In the phone menu's .end, first in the panel:
     Create an account, Sign in, then the pilot. With the signed-in hint, menu.js shows the data-acct="in" links.)
     <details class="tf-menu" data-menu><summary><span class="o">Menu</span><span class="c">Close</span><i aria-hidden="true"></i></summary>
       <nav class="tf-menu-panel" aria-label="Site">…the same links, Sign in, the pilot button…</nav></details>
   </div></header> */

.tf-head { --h-ink: #0f2340; --h-ink-2: #33415a; --h-mute: #5b6880; --h-line: #e2e5ea; --h-coral: #ff5a3c; --h-coral-ink: #b8361b;
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--h-line);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--h-ink); }
/* Design row 399 (PR209 7095486768): in a short window (200-400% zoom, or a phone held sideways) the sticky header
   would take a third of the screen, so it scrolls away with the page there. */
@media (max-height: 420px) { .tf-head { position: static; } }
.tf-head-in { position: relative; display: flex; align-items: center; gap: 24px; min-height: 64px; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }
.tf-head :focus-visible { outline: 2px solid var(--h-coral-ink); outline-offset: 3px; }
.tf-logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.tf-logo img { display: block; height: 40px; width: auto; }

/* Desktop links, with the service pages under "What we sell" (the live "What we do" panel, renamed in Brand's words). */
.tf-nav { display: flex; align-items: center; gap: 2px; font-size: 14px; }
.tf-nav > a, .tf-dd > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; color: var(--h-ink-2); text-decoration: none; cursor: pointer; }
/* Founder via QA (RC3.25 live, 7113066574): a page with its own top-level link (Testing) marks only that link, not
   also What we sell, whose menu lists it too. */
.tf-nav > a[aria-current], .tf-dd[open] > summary, .tf-nav:not(:has(> a[aria-current])) .tf-dd:has([aria-current]) > summary { color: var(--h-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--h-coral); }
.tf-dd { position: relative; }
.tf-dd > summary { list-style: none; }
.tf-dd > summary::-webkit-details-marker { display: none; }
.tf-dd > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.tf-dd[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.tf-dd-panel { position: absolute; left: 0; top: calc(100% + 8px); width: min(560px, 80vw); padding: 8px; background: #fff; border: 1px solid var(--h-line); box-shadow: 0 24px 48px -20px rgba(15, 35, 64, .3); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.tf-dd-panel a { display: grid; gap: 2px; padding: 10px 12px; min-height: 44px; text-decoration: none; color: var(--h-ink); }
.tf-dd-panel a:hover { background: #f4f5f7; }
.tf-dd-panel b { font-weight: 600; font-size: 14px; }
.tf-dd-panel span { font-size: 12.5px; line-height: 1.35; color: var(--h-mute); }
.tf-dd-panel a.all { grid-column: 1 / -1; border-bottom: 1px solid var(--h-line); }

.tf-end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.tf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--h-ink); color: var(--h-ink); font: 500 14px/1 inherit; text-decoration: none; white-space: nowrap; background: #fff; }
.tf-btn.solid { background: var(--h-ink); color: #fff; }
.tf-btn.ghost { border-color: transparent; background: transparent; }
.tf-end .tf-btn.ghost { padding: 0 12px; color: var(--h-ink-2); }
.tf-end .tf-btn.ghost:hover { color: var(--h-ink); text-decoration: underline; text-underline-offset: 4px; }

/* Phone menu: from 980 px down it replaces the link row; from 560 px down it also carries Sign in and the pilot button. */
.tf-menu { display: none; }
.tf-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--h-ink); font: 500 14px/1 inherit; cursor: pointer; }
.tf-menu > summary::-webkit-details-marker { display: none; }
.tf-menu .c, .tf-menu[open] .o { display: none; }
.tf-menu[open] .c { display: inline; }
.tf-menu > summary i { width: 16px; height: 10px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
.tf-menu[open] > summary i { background: linear-gradient(45deg, transparent 45%, currentColor 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, currentColor 45% 55%, transparent 55%); height: 14px; width: 14px; }
.tf-menu-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 64px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--h-ink); padding: 4px clamp(16px, 4vw, 56px) 20px; box-shadow: 0 16px 32px rgba(15, 35, 64, .1); }
.tf-menu-panel ul { list-style: none; margin: 0 0 16px; padding: 0; }
.tf-menu-panel li a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--h-line); text-decoration: none; font-size: 18px; font-weight: 500; color: var(--h-ink); }
.tf-menu-panel li.sub a { min-height: 44px; padding-left: 16px; font-size: 15px; font-weight: 400; color: var(--h-ink-2); }
.tf-menu-panel li a[aria-current] { box-shadow: inset 3px 0 0 var(--h-coral); padding-left: 12px; }
.tf-menu-panel .tf-btn { width: 100%; }
.tf-menu-panel .end { display: grid; gap: 8px; margin: 12px 0 16px; } /* row 397: first in the panel */

/* Design on PR2298 (7097401814): from 1160 px down, so the nav's two-word links never wrap. */
@media (max-width: 1160px) { .tf-end .tf-pilot { display: none; } }
/* Row 397: the signed-out or signed-in alternative that menu.js hides stays hidden whatever its display rule. */
[data-acct][hidden] { display: none !important; }
@media (max-width: 980px) { .tf-nav { display: none; } .tf-menu { display: block; } }
@media (min-width: 561px) { .tf-menu-panel .end { display: none; } }
@media (max-width: 560px) { .tf-end { display: none; } .tf-menu { margin-left: auto; } .tf-head-in { gap: 12px; } }

/* RC3.29 (Design, founder pick FR-0384 B): */
/* The site header in navy, to match the studio's look B (founder, 2026-11-24). Append to the header block in home.css AND kit.css.
   Markup: the header logo becomes /logo.svg (the white lockup the footer already uses), same width and height. */
.tf-head { --h-ink: #fff; --h-ink-2: #ccd5e3; --h-line: #2e4a78; --h-coral-ink: #9fc1ee;
  background: #0f2340; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: #0f2340; color-scheme: dark; }
/* The two panels stay light, so they take the light values back. */
.tf-dd-panel, .tf-menu-panel { --h-ink: #0f2340; --h-ink-2: #33415a; --h-line: #e2e5ea; --h-coral-ink: #b8361b; color: var(--h-ink); color-scheme: light; }
/* Buttons in the bar: the main one is white on navy; the Menu button gets a visible edge. */
.tf-end .tf-btn.solid { background: #fff; border-color: #fff; color: #0f2340; }
.tf-end .tf-btn.solid:hover { background: #ccd5e3; border-color: #ccd5e3; }
.tf-menu > summary { border-color: #6c7f9f; color: #fff; }
.tf-menu[open] > summary { border-color: #fff; }
/* The skip link was navy on white; over a navy bar it turns white. */
.tf-skip, body.kit .skip.tf-skip { background: #fff; color: #0f2340; box-shadow: 0 0 0 2px #0f2340; }

/* Design 225 (self-added, App to confirm): the redesign's footer, shared by every FR-0194 option. It keeps every live
   footer link and both hooks public/consent.js relies on: a real <footer> element (the Cookie settings panel is placed
   just before it) and a link whose href ends in #cookie-settings (consent.js opens the panel from it; on /privacy/ it
   scrolls to the inline block). The live .ck-panel styles in styles.css must come along with the redesign.
   v7: navy panel, white text; links 44 px tall; coral only for the hover underline. Markup:
   <footer class="tf-foot"><div class="tf-foot-in">
     <div class="tf-foot-brand"><img src="/logo-white.svg" …> <p>{Brand line}</p></div>
     <nav class="tf-foot-cols" aria-label="Footer">
       <div><h2>What we sell</h2><ul>…service pages…</ul></div>
       <div><h2>Company</h2><ul>Demos, Where we are, Company, Early access</ul></div>
       <div><h2>Legal</h2><ul>Privacy, Terms, Accessibility, <a href="/privacy/#cookie-settings">Cookie settings</a></ul></div>
       <div><h2>Contact</h2><ul><a href="mailto:contact@tuningforkaudio.com">…</a></ul></div>
     </nav>
     <p class="tf-foot-legal">© 2026 TuningFork Audio LLC · Scottsdale, Arizona · Accounts are invite-only while we build. No uploads or payments on this site.</p>
   </div></footer> */

.tf-foot { --f-bg: #0f2340; --f-ink: #fff; --f-lite: #dbe1ea; --f-dim: #b6c0d1; --f-line: rgba(255, 255, 255, .14); --f-coral: #ff5a3c; --f-focus: #ff9a85;
  background: var(--f-bg); color: var(--f-ink); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tf-foot-in { max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 56px) 28px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 56px; }
.tf-foot :focus-visible { outline: 2px solid var(--f-focus); outline-offset: 3px; }
.tf-foot-brand img { display: block; height: 40px; width: auto; }
.tf-foot-brand p { margin: 16px 0 0; max-width: 30ch; color: var(--f-lite); font-size: 15px; line-height: 1.5; }
.tf-foot-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; }
.tf-foot-cols h2 { margin: 0 0 8px; font: 500 11px/1.3 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--f-dim); }
.tf-foot-cols ul { margin: 0; padding: 0; list-style: none; }
.tf-foot-cols a { display: inline-flex; align-items: center; min-height: 44px; color: var(--f-ink); text-decoration: none; font-size: 14px; overflow-wrap: break-word; }
.tf-foot-cols a:hover { text-decoration: underline; text-decoration-color: var(--f-coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tf-foot-legal { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--f-line); font-size: 13px; line-height: 1.5; color: var(--f-dim); }

@media (max-width: 980px) { .tf-foot-in { grid-template-columns: 1fr; } .tf-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tf-foot-cols > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 380px) { .tf-foot-cols { grid-template-columns: 1fr; gap: 12px; } }

/* RC3.10 (Design, App 321): the early-access band, the last thing before the footer on the inner pages (what-we-do,
   full-service, voice, music, effects, mix, testing, demos, company; not the home, the 404, privacy or terms).
   RC3.30 (pre-launch lock): it links to the home's mailing list (#updates); no public page links to the studio. Words
   are Brand's, with Legal's line.

   <section class="tf-early" aria-labelledby="early-h" data-acct="out"><div class="tf-early-in">
     <div class="tf-early-copy"><p class="tf-early-k">Accounts</p><h2 id="early-h">…</h2><p>…</p></div>
     <a class="tf-early-go" href="/#updates">Join the list <span aria-hidden="true">→</span></a>
   </div></section>

   Brand v7: coral tint ground, navy ink, coral-ink for the label; the button is the kit's navy pill. */
.tf-early { background: #fff1ed; border-top: 1px solid #e2e5ea; }
.tf-early-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; max-width: 1280px; margin: 0 auto; padding: 44px clamp(16px, 4vw, 48px); }
.tf-early-k { margin: 0 0 10px; font: 500 11px/1.3 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: #b8361b; }
.tf-early h2 { margin: 0; max-width: 22em; font-size: clamp(24px, 2.4vw, 32px); font-weight: 650; line-height: 1.12; letter-spacing: -.025em; color: #0f2340; }
.tf-early-copy > p:last-child { margin: 10px 0 0; max-width: 46em; font-size: 16px; line-height: 1.5; color: #33415a; }
.tf-early-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #0f2340; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.tf-early-go:hover { background: #1a3257; }
.tf-early-go:focus-visible { outline: 3px solid #b8361b; outline-offset: 3px; }
/* Row 397: the home's Accounts section (#accounts) uses this band with two buttons: Create an account, then Sign in
   as the outlined one. */
.tf-early-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.tf-early-go.alt { background: transparent; color: #0f2340; box-shadow: inset 0 0 0 1.5px #0f2340; }
.tf-early-go.alt:hover { background: #fff; }
@media (max-width: 720px) {
  .tf-early-in { grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 36px; }
  .tf-early-go { width: 100%; }
  .tf-early-acts { display: grid; }
}

/* RC3.7: the Q2 look on the inner pages (App, for Design's review). Body text and shapes keep styles.css. */
body.kit{--ground:#ffffff;--ground-hi:#f4f5f7;--tray:#f4f5f7;--groove:#e2e5ea;--piece:#ffffff;--pc-edge:#e2e5ea;--edge:#e2e5ea;--ink:#0f2340;--soft:#33415a;--meta:#4f5b72;--label:#4f5b72;--accent:#b8361b;--h1b:#b8361b;--act:#0f2340;--act-ink:#ffffff;--lane-v:#0f2340;--lane-a:#ff5a3c;--lane-m:#2e5d9f;--divider:#c5ccd8;--plate:#ffffff;--plate-edge:#e2e5ea;--btn-bg:#0f2340;--btn-ink:#ffffff;--chip-tray:#f4f5f7;--chip-ink:#33415a;--chip-on-bg:#0f2340;--chip-on-ink:#ffffff;--field-bg:#ffffff;--field-ink:#0f2340;--field-edge:#c5ccd8;color-scheme:light;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--coral:#ff5a3c;--coral-ink:#b8361b;--coral-tint:#fff1ed;
  background:#fff;color:var(--ink);font-family:var(--sans)}
body.kit .skip.tf-skip{position:absolute;left:12px;top:-80px;z-index:50;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;background:var(--ink);color:#fff;font:500 14px/1 var(--sans);text-decoration:none}
body.kit .skip.tf-skip:focus{top:12px}
body.kit main :focus-visible{outline:2px solid var(--coral-ink);outline-offset:3px}
/* Design (PR1931 7032123893, fix 1): the faded coral tint behind each page's opening block runs the full width of the window, as on the home's hero. */
body.kit .pp-hero,body.kit .cf{background:none;border-image:linear-gradient(180deg,var(--coral-tint),#fff) fill 0/0/0 100vw}
/* Design fix 2: headings on white cards are navy, as on the home; coral ink stays for labels, links, h1 second lines and step numerals. */
body.kit{--plate-h:#0f2340}
body.kit .tf-step .n{color:var(--coral-ink)}
/* Design fix 3: the header and footer take the inner pages' column (styles.css .st-main: 1280 px, 48 px sides). */
body.kit .tf-head-in,body.kit .tf-foot-in{max-width:1280px;padding-left:clamp(16px,4vw,48px);padding-right:clamp(16px,4vw,48px)}
/* Plates: one rounded white card with a soft shadow. */
body.kit .plate{border:1px solid var(--line,#e2e5ea);border-radius:16px;box-shadow:0 1px 2px rgba(15,35,64,.04),0 12px 32px -18px rgba(15,35,64,.18)}
/* Pill buttons. */
body.kit .cta{border-radius:999px;background:var(--ink);color:#fff;border-color:var(--ink)}
body.kit .tf-plain{color:var(--ink)}
/* styles.css's own footer rules must not reach the kit footer (as on the home, which doesn't load styles.css). */
body.kit .tf-foot .foot-legal{color:inherit;display:inline;margin:0}

/* Design 239 (for App, after RC3.7): the product pages' hero drawing in the Q2 look, CSS only. It restyles the
   figure.tray.tf.pp-fig at the right of every page's section.pp-hero (/voice/, /music/, /effects/, /mix/,
   /full-service/, /what-we-do/, /company/): the timecode edge (.tc), the three moments (.pieces > .pc), the four lanes
   (.groove > .lane) and the figcaption. The markup and the words stay exactly as they are on the live pages, the
   aria-label included; only this CSS is new. /testing/'s hero figure (figure.vs.pp-fig, the four versions) is a
   different drawing and is left alone: every rule here also needs .tf.
   v7: one white card on the hero's faded coral tint; the moments become one slim strip sized by their seconds (5 : 6 : 4)
   with the abstract shapes hidden and a 3 px coral bar on the Reveal; the lanes are plain rows. With data-focus set to a
   lane, that lane (.is-on) sits on a soft band in ink (coral bars for effects) and the others (.is-dim) go to the dim
   bar grey. With data-focus="all" (no .is-on / .is-dim) each lane keeps its own colour: voice ink, music mute, effects
   coral, mix ink-2. Coral is for graphics only; text is ink, ink-2 or mute (at least 4.5:1). No motion.
   Port: append this file to SKIN_CSS in apps/site/tools/site-kit.mjs (it holds no backticks or template slots), so it
   loads after /styles.css and /kit.css. Every selector starts with body.kit .pp-fig, so it wins over both. */

body.kit .pp-fig.tf { --hf-ink: #0f2340; --hf-ink-2: #33415a; --hf-mute: #5b6880; --hf-line: #e2e5ea; --hf-soft: #f4f5f7; --hf-dim: #c5ccd8; --hf-coral: #ff5a3c;
  --hf-mono: 500 11px/1.3 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  position: relative; box-sizing: border-box; min-width: 0; max-width: 100%; margin: 0; padding: 20px;
  background: #fff; border: 1px solid var(--hf-line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 35, 64, .04), 0 12px 32px -18px rgba(15, 35, 64, .18); color: var(--hf-ink); font-family: var(--sans); }
/* App 347: no motion rule is needed (nothing here or in styles.css animates the figure), and QA's TS-03 allows none in kit.css. */

/* Timecode edge: 00, 05, 11 at the start of each moment's column, 15 at the right; one hairline tick per second. */
body.kit .pp-fig.tf .tc { position: relative; display: grid; grid-template-columns: 5fr 6fr 4fr; gap: 1px; margin: 0 0 8px; padding: 0 0 10px;
  font: var(--hf-mono); letter-spacing: .08em; color: var(--hf-mute);
  background: linear-gradient(var(--hf-dim), var(--hf-dim)) 100% 100% / 1px 4px no-repeat,
    repeating-linear-gradient(90deg, var(--hf-dim) 0 1px, transparent 1px calc(100% / 15)) 0 100% / 100% 4px no-repeat; }
body.kit .pp-fig.tf .tc span:last-child { position: absolute; right: 0; top: 0; }

/* The three moments: one slim strip, cells sized by their seconds, hairlines between them. */
body.kit .pp-fig.tf .pieces { display: grid; grid-template-columns: 5fr 6fr 4fr; grid-template-rows: none; gap: 1px; height: auto;
  background: var(--hf-line); border-radius: 10px; overflow: hidden; }
body.kit .pp-fig.tf .pc { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 64px; box-sizing: border-box;
  padding: 10px 12px; background: var(--hf-soft); border: 0; border-radius: 0; color: var(--hf-ink); }
body.kit .pp-fig.tf .pc.p1 { box-shadow: inset 0 3px 0 var(--hf-coral); }
body.kit .pp-fig.tf .pc .art { display: none; }
body.kit .pp-fig.tf .pc small { font: var(--hf-mono); letter-spacing: .04em; color: var(--hf-mute); white-space: nowrap; }
body.kit .pp-fig.tf .pc strong { font: 600 16px/1.2 var(--sans); letter-spacing: -.005em; color: var(--hf-ink); white-space: nowrap; padding: 0; }

/* The lanes: a label column and the bars, no trays or borders. */
body.kit .pp-fig.tf .groove { margin: 12px 0 0; padding: 0; background: none; border: 0; border-radius: 0; }
body.kit .pp-fig.tf .lane { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: end; height: 36px; margin: 0; padding: 0 8px; border-radius: 8px; background: none; }
body.kit .pp-fig.tf .lane > span { align-self: center; font: var(--hf-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hf-mute); white-space: nowrap; }
body.kit .pp-fig.tf .lane .bars { display: flex; align-items: flex-end; gap: 2px; height: 100%; box-sizing: border-box; padding: 6px 0 7px; opacity: 1; }
body.kit .pp-fig.tf .lane .bars i { flex: 1; min-width: 1px; height: calc(var(--lv, 0) * 10%); border-radius: 1px; opacity: 1; }
body.kit .pp-fig.tf .l-voice .bars i { background: var(--hf-ink); }
body.kit .pp-fig.tf .l-music .bars i { background: var(--hf-mute); }
body.kit .pp-fig.tf .l-effects .bars i { background: var(--hf-coral); }
body.kit .pp-fig.tf .l-mix .bars i { background: var(--hf-ink-2); }

/* A page with one lane in focus. */
body.kit .pp-fig.tf .lane.is-on { background: var(--hf-soft); }
body.kit .pp-fig.tf .lane.is-on > span { color: var(--hf-ink); font-weight: 600; }
body.kit .pp-fig.tf .lane.is-on .bars i { background: var(--hf-ink); }
body.kit .pp-fig.tf .lane.l-effects.is-on .bars i { background: var(--hf-coral); }
body.kit .pp-fig.tf .lane.is-dim .bars i { background: var(--hf-dim); }

/* The silent steps: a 1 px baseline dash in the dim grey, in every lane. */
body.kit .pp-fig.tf .groove .lane .bars i.h0 { height: 1px; background: var(--hf-dim); }

/* Caption, inside the card under a hairline. */
body.kit .pp-fig.tf figcaption { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--hf-line); font: var(--hf-mono); letter-spacing: .04em; color: var(--hf-mute); }

/* Phones: the strip stays one row; a tighter card and label column. */
@media (max-width: 600px) {
  body.kit .pp-fig.tf { padding: 16px; }
  body.kit .pp-fig.tf .pieces { grid-template-columns: 5fr 6fr 4fr; height: auto; }
  body.kit .pp-fig.tf .pc { min-height: 60px; padding: 9px 8px; }
  body.kit .pp-fig.tf .pc small { letter-spacing: 0; }
  body.kit .pp-fig.tf .pc strong { font-size: 14px; }
  body.kit .pp-fig.tf .lane { grid-template-columns: 56px minmax(0, 1fr); padding: 0 6px; }
  body.kit .pp-fig.tf .lane .bars { gap: 1px; }
}

body.kit .cb,body.kit .cb-note,body.kit .ck-panel{--ground:#0f2340;--ground-hi:#183056;--tray:#0b1a32;--groove:#081528;--piece:#0a1930;--pc-edge:#2e4a78;--edge:#050d1c;--ink:#fbfaf7;--soft:#ccd5e3;--meta:#aab8cf;--label:#a8bde0;--accent:#9fc1ee;--h1b:#ff8f78;--act:#ff5a3c;--act-ink:#0f2340;--art0:#ff9a6b;--art1:#ff5a3c;--art2:#3a1f2e;--art2b:#fbfaf7;--lane-v:#fbfaf7;--lane-a:#ff5a3c;--lane-m:#9fc1ee;--divider:#6c7f9f;--plate:#fbfaf7;--plate-ink:#0f2340;--plate-h:#b8361b;--plate-body:#33415a;--plate-meta:#45526b;--plate-link:#a8331a;--plate-edge:#fbfaf7;--plate-focus:#b8361b;--btn-bg:#0f2340;--btn-ink:#fbfaf7;--chip-tray:#0b1a32;--chip-ink:#ccd5e3;--chip-on-bg:#ff5a3c;--chip-on-ink:#0b1a32;--field-bg:#0f2340;--field-ink:#fbfaf7;--field-edge:#050d1c;--logo-dot:#ff5a3c;color-scheme:dark}

/* The consent banner as a slim bar in the page flow (founder, 2026-11-20). */
body .cb.cb-fixed{position:static;border:0;border-bottom:1px solid #e2e5ea;border-radius:0;background:#f4f5f7;color:#0f2340;box-shadow:none}
body:has(> .cb-fixed){padding-bottom:0}
html:has(> body > .cb-fixed){scroll-padding-bottom:0}
body .cb.cb-fixed .cb-in{max-width:1320px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:10px clamp(16px,4vw,56px)}
body .cb.cb-fixed .cb-p{flex:1 1 32em;max-width:none;margin:0;font-size:13.5px;line-height:1.45;color:#33415a}
body .cb.cb-fixed .cb-acts{display:flex;flex-wrap:nowrap;gap:8px;align-items:center}
body .cb.cb-fixed .cb-btn{min-height:44px;min-width:96px;padding:0 16px;border:1px solid #0f2340;border-radius:999px;background:#fff;color:#0f2340;font-size:14px}
body .cb.cb-fixed .cb-btn:hover{background:#e9ecf1}
body .cb.cb-fixed .cb-more{min-height:44px;padding:0 4px;font-size:14px;color:#b8361b}
body .cb.cb-fixed :focus-visible{outline:2px solid #b8361b;outline-offset:2px}
@media (max-width:640px){body .cb.cb-fixed .cb-in{gap:8px;padding:10px 14px}body .cb.cb-fixed .cb-p{font-size:13px}body .cb.cb-fixed .cb-btn{flex:1 1 0;min-width:0}}

/* App 336: the home's film card (tools/home-q2.mjs L2_CSS, the card's rules only), for /demos/. */
.tf-films .tf-label { margin: 0; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tf-films .tf-credit { margin-top: 12px; font-size: 13px; color: var(--mute); }
.tf-stage .no-script { margin: 0; padding: 24px; font-size: 14px; color: var(--mute); }
.tf-stage .demo-section-player { display: grid; gap: 14px; }
.tf-films { --cp: 14px; min-width: 0; padding: var(--cp) var(--cp) 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 35, 64, .04), 0 12px 32px -18px rgba(15, 35, 64, .18); }
.tf-films-now { margin: 0; padding: 0 4px 10px; color: var(--ink); }
/* The header line names the film, so the player's own eyebrow and heading stay for screen readers only. The intro
   stays visible: Generations' "The figures in it are examples, not results." goes with the film (Legal). */
.tf-films .tf-stage .demo-intro { font-size: 14px; line-height: 1.45; color: var(--mute); }
.tf-films .tf-stage .demo-eyebrow, .tf-films .tf-stage .demo-title { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tf-films .tf-stage .demo-stage { margin-top: 0; border-radius: 10px; overflow: hidden; }
/* Compact under the film: the status line and the "sound stays off" note are for screen readers here (the native
   controls show both); the lineage, the disclosure, the transcript and About stay visible, smaller. */
.tf-films .tf-stage .demo-status, .tf-films .tf-stage .demo-note + .demo-note { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tf-films .tf-stage .demo-source, .tf-films .tf-stage .demo-note { margin: 8px 4px 0; font-size: 12px; line-height: 1.4; }
.tf-films .tf-stage .demo-player { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.tf-films .tf-stage .demo-player > * { grid-column: 1 / -1; }
.tf-films .tf-stage .demo-player > .demo-transcript { grid-column: 1; }
.tf-films .tf-stage .demo-player > .demo-about { grid-column: 2; }
.tf-films .tf-stage .demo-transcript, .tf-films .tf-stage .demo-about { align-self: start; margin: 6px 4px 0; font-size: 13px; }
/* App 301 (Design, PR1975 review): the picture, then the row (moved there in the DOM by showcase-films.mjs), then the
   chosen film's words, so nothing above the row changes size. The two order lines only put the intro (plain text) after
   the row; !important until the skin's order rule leaves home.css (PR1968). */
.tf-films .tf-stage .demo-player > .demo-stage { order: -2 !important; }
.tf-films .tf-stage .demo-player > .tf-more { order: -1 !important; grid-column: 1 / -1; margin: 12px 0 0; padding: 0 0 4px; border-top: 0; border-bottom: 1px solid var(--line); }
.tf-films .tf-stage .demo-intro { margin: 12px 4px 0; }
.tf-films .tf-stage .demo-controls { margin: 12px 4px 0; }
@media (max-width: 560px) { .tf-films .tf-stage .demo-player > .tf-more { margin-left: 0; margin-right: 0; } }
/* RC3.17 (Design, PR2102): keep room for a two-line header up to 480 px, so a long name doesn't move the stage 14 px. */
@media (max-width: 480px) { .tf-films-now { min-height: 50px; } }
.tf-more { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.tf-more-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 4px; }
.tf-more-head .tf-label { margin: 0; color: var(--ink); }
.tf-arrows { display: flex; gap: 8px; }
.tf-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.tf-arrow span { width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateX(-2px) rotate(45deg); }
.tf-arrow.prev span { transform: translateX(2px) rotate(-135deg); }
.tf-arrow:hover:not([aria-disabled="true"]) { background: var(--soft); border-color: #c9cfd9; }
.tf-arrow[aria-disabled="true"] { color: #b3bbc8; cursor: default; }
.tf-arrow:focus-visible, .tf-item:focus-visible { outline: none; }
.tf-arrow:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(15, 35, 64, .6); }
.tf-row { display: flex; gap: 10px; margin: 8px calc(-1 * var(--cp)) 0; padding: 6px var(--cp) 10px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--cp); scrollbar-width: none; }
.tf-row::-webkit-scrollbar { display: none; }
.tf-row li { flex: none; margin: 0; scroll-snap-align: start; }
.tf-item { display: flex; flex-direction: column; align-items: flex-start; width: 120px; padding: 0 0 2px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.tf-item .pic { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--ink); }
.tf-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tf-item .nm { display: flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* RC3.16 (Design): a long row name ("Creasefall: Desk Quest") takes a second line instead of clipping. */
.tf-item .nm { white-space: normal; overflow: visible; align-items: baseline; }
.tf-item .kd { margin-top: 3px; font: 500 10px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.tf-item[aria-current="true"] .pic { box-shadow: 0 0 0 2px var(--coral); }
.tf-item[aria-current="true"] .nm::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.tf-item:hover .pic { box-shadow: 0 0 0 2px rgba(15, 35, 64, .6); }
.tf-item[aria-current="true"]:hover .pic { box-shadow: 0 0 0 2px var(--coral); }
.tf-item:focus-visible .pic { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(15, 35, 64, .6); }
.tf-item[aria-current="true"]:focus-visible .pic { box-shadow: 0 0 0 2px var(--coral), 0 0 0 4px #fff, 0 0 0 6px rgba(15, 35, 64, .6); }
@media (max-width: 920px) {
  /* Design 394 (PR209 7093875220): only the label and the h1 lift above the film; the lede, buttons and "Where it
     stands" stay below it, so a phone visitor reads what we do and sees the film in the first screen. No markup change. */
}
/* Design (PR2298 7097727378, the CEO's ask): on a phone the account button sits right under the headline, above the
   film; "Hear our demos" stays under the paragraph. RC3.30: that button is Get launch news (tf-cta-list). */
@media (max-width: 600px) {
  .tf-films { padding: 0; overflow: hidden; }
  .tf-films-now { padding: 11px 14px 10px; }
  .tf-films .tf-stage .demo-stage { border-radius: 0; }
  .tf-films .tf-stage .demo-player > :not(.demo-stage):not(.tf-more) { margin-left: 14px; margin-right: 14px; }
  .tf-more { margin-top: 0; padding-top: 12px; border-top: 0; }
  .tf-more-head { min-height: 20px; padding: 0 14px; }
  .tf-arrows { display: none; }
  .tf-row { gap: 8px; margin: 6px 0 0; padding: 6px 14px 12px; }
  .tf-item { width: 98px; }
  .tf-films > .tf-credit { margin-left: 14px; margin-right: 14px; } /* RC3.17 (Design, PR2102): the Kling credit lines up with the row's label */
}
@media (hover: none) and (pointer: coarse) { .tf-arrows { display: none; } }
/* Films RC (Design, RC3.36 fix 2): with the player blocked or no JS, /demos/#demo-… lands below the sticky header. */
.tf-films li[id^="demo-"] { scroll-margin-top: 80px; }
/* App 380 (Design, PR209 7076592682): forced colours remove box-shadow and background, so the focus ring, the chosen
   film's mark and a switched-off arrow vanished. System colours bring them back; nothing changes outside forced colours. */
@media (forced-colors: active) {
  .tf-item:focus-visible .pic, .tf-item[aria-current="true"]:focus-visible .pic { outline: 2px solid Highlight; outline-offset: 2px; }
  .tf-item[aria-current="true"] .pic { outline: 2px solid CanvasText; outline-offset: 2px; } /* Films RC (Design): clear of the black poster edge (440, Unmute 6 s) */
  .tf-item[aria-current="true"] .nm::before { forced-color-adjust: none; background: CanvasText; }
  .tf-arrow:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
  .tf-arrow[aria-disabled="true"] { color: GrayText; border-color: GrayText; }
}

/* Design row 325: /demos/ past six films. The home's film card as a page section: one stage, the films beside it.
   These rules sit on top of the home card's own rules (L2_CSS in tools/home-q2.mjs, loaded on /demos/ as they are).

   Markup, in place of the page's one section per film (the comparison sections #ad, #full and #services stay):

   <section class="st-section" id="films" aria-label="Our films">
     <section class="tf-films is-page" data-showcase-films aria-labelledby="film-now">
       <p class="tf-label tf-films-now" id="film-now">Generations · our own ad · 30 seconds</p>
       <div class="tf-stage"><div class="dx-demo demo-section" id="demo-hero" data-showcase="hero"><noscript>…</noscript></div></div>
       <div class="tf-more"><div class="tf-more-head"><h2 class="tf-label" id="more-h">Our films</h2></div>
         <ul class="tf-row" id="more-row" aria-labelledby="more-h">
           <li id="demo-race"><span class="tf-item"><span class="pic"><img …></span><span class="nm">The Race</span><span class="kd">Our own ad</span></span></li>
           …
         </ul></div>
     </section>
   </section>

   From 981 px: the picture left, the films as a list on the right, as tall as the picture (no arrows, no sideways
   scroll; a long list scrolls inside), the chosen film's name and words under the picture. Nothing above the words
   moves when the film changes.
   To 980 px: the home's order, the picture, the row, then the words.

   A row with two or more groups carries one <li class="tf-group"><span>Our own ads</span></li> before each group's
   films (Brand's words); with one group it carries none. */

/* /demos/ has no --line, --mute or home --mono, and its --soft is a text colour, so the card names its own. */
.tf-films.is-page { --cp: 16px; --line: #e2e5ea; --mute: #5b6880; --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace; padding: var(--cp); color: #0f2340; scroll-margin-top: 80px; }
.tf-films.is-page .tf-films-now { padding: 0 2px 12px; color: #0f2340; }
.tf-films.is-page .tf-more-head .tf-label { color: #0f2340; }
.tf-films.is-page .tf-arrow:hover:not([aria-disabled="true"]) { background: #f4f5f7; }

/* The chosen film's name is a visible heading here; the home keeps it for screen readers only. */
.tf-films.is-page .tf-stage .demo-title { position: static !important; width: auto; height: auto; margin: 20px 2px 0; padding: 0; overflow: visible; clip: auto; white-space: normal; font: 650 clamp(22px, 2.3vw, 30px)/1.12 var(--display, inherit); letter-spacing: -.022em; color: #0f2340; }
.tf-films.is-page .tf-stage .demo-intro { max-width: 62ch; margin: 10px 2px 0; font-size: 16px; line-height: 1.5; color: #33415a; }
.tf-films.is-page .tf-stage .demo-controls { margin: 14px 2px 0; }
.tf-films.is-page .tf-stage .demo-source, .tf-films.is-page .tf-stage .demo-note { max-width: 78ch; margin: 10px 2px 0; font-size: 13px; line-height: 1.45; color: var(--mute); }
.tf-films.is-page .tf-stage .demo-transcript, .tf-films.is-page .tf-stage .demo-about { margin: 12px 2px 0; font-size: 14px; }

/* A group's label. In the sideways row it takes no width and sits on the line above its first film. */
.tf-films.is-page .tf-row:has(.tf-group) { padding-top: 26px; }
.tf-films.is-page .tf-row .tf-group { position: relative; flex: none; width: 0; margin-right: -10px; scroll-snap-align: none; font: 500 10px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; color: var(--mute); }
.tf-films.is-page .tf-row .tf-group > span { position: absolute; left: 0; top: -20px; }
.tf-films.is-page .tf-row .tf-group:not(:first-child) { margin-left: 8px; }

@media (min-width: 981px) {
  .tf-films.is-page .tf-stage .demo-player { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) clamp(280px, 27%, 336px); gap: 0 20px; }
  .tf-films.is-page .tf-stage .demo-player > * { grid-column: 1 / 3; }
  .tf-films.is-page .tf-stage .demo-player > .demo-stage { grid-row: 1; }
  .tf-films.is-page .tf-stage .demo-player > .demo-transcript { grid-column: 1; }
  .tf-films.is-page .tf-stage .demo-player > .demo-about { grid-column: 2; }
  /* The list rules name the mounted player: without script the films stay the home's sideways row under the
     stage. The list is as tall as the picture and scrolls inside it when there are more films than fit. Size containment
     keeps it out of the row's height, so the picture alone sets it; a browser without it shows the whole list. */
  .tf-films.is-page .tf-stage .demo-player > .tf-more { grid-column: 3; grid-row: 1; align-self: stretch; contain: size; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; margin: 0; padding: 0; border: 0; }
  .tf-films.is-page .demo-player .tf-more-head { position: sticky; top: 0; z-index: 1; min-height: 0; padding: 0 6px 10px; background: #fff; }
  .tf-films.is-page .demo-player .tf-arrows { display: none; }
  .tf-films.is-page .demo-player .tf-row, .tf-films.is-page .demo-player .tf-row:has(.tf-group) { flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .tf-films.is-page .demo-player .tf-row li { scroll-snap-align: none; }
  .tf-films.is-page .demo-player .tf-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 12px; width: 100%; padding: 6px; border-radius: 10px; }
  .tf-films.is-page .demo-player .tf-item .pic { grid-row: 1 / span 2; border-radius: 6px; }
  .tf-films.is-page .demo-player .tf-item .nm { align-self: end; margin-top: 0; font-size: 15px; }
  .tf-films.is-page .demo-player .tf-item .kd { align-self: start; margin-top: 4px; }
  .tf-films.is-page .demo-player .tf-item:hover, .tf-films.is-page .demo-player .tf-item[aria-current="true"] { background: #f4f5f7; }
  .tf-films.is-page .demo-player .tf-row .tf-group, .tf-films.is-page .demo-player .tf-row .tf-group:not(:first-child) { position: static; width: auto; margin: 0; padding: 16px 6px 6px; font-size: 11px; letter-spacing: .08em; white-space: normal; }
  .tf-films.is-page .demo-player .tf-row .tf-group:first-child { padding-top: 2px; }
  .tf-films.is-page .demo-player .tf-row .tf-group > span { position: static; }
}
/* A narrower list column: smaller pictures, so today's five films still fit beside the picture without scrolling. */
@media (min-width: 981px) and (max-width: 1099px) { .tf-films.is-page .demo-player .tf-item { grid-template-columns: 96px minmax(0, 1fr); padding: 5px 6px; } }
@media (max-width: 600px) {
  .tf-films.is-page { padding: 0; }
  .tf-films.is-page .tf-films-now { padding: 11px 14px 10px; }
  .tf-films.is-page .tf-stage .demo-title { margin-top: 16px; }
  .tf-films.is-page .tf-row .tf-group { margin-right: -8px; }
}
@media (max-width: 420px) {
  .tf-films.is-page .tf-stage .demo-player > .demo-transcript, .tf-films.is-page .tf-stage .demo-player > .demo-about { grid-column: 1 / -1; }
  .tf-films.is-page .tf-stage .demo-about { margin-top: 0; }
}

/* Design (PR2190 7074685665): a hash landing clears the 65 px sticky header, for the card and the two sections below it. */
#short-cuts, #mock-ads { scroll-margin-top: 80px; }

/* App 370 (Design, PR2205 7075290498): one focus ring on a film, the thumbnail's, as on the home. The page's coral
   outline (body.kit main :focus-visible) is turned off on the card's films; this replaces RC3.22's -2px offset. */
.tf-films.is-page .tf-item:focus-visible { outline: none; }

/* RC3.29 tourist-ready sweep (Design, PR209 7123747495), the CSS items, worst first. Loaded last in both /home.css and
   /kit.css (tools/home-q2.mjs, tools/site-kit.mjs), so it wins over the kit and styles.css without !important.
   Word items (2, 5, 18) are Brand's and Legal's (16, 17); 8, 9, 11, 15, 21 and 23 wait for a drawing. */

/* 1 · /full-service/ "Rights, handled": padding, and space from the list above. */
.pp-body .plate.pp-rights { padding: 20px 24px; margin-top: 16px; }

/* 3 · /demos/: one mock ad clearly ends before the next starts. The four share one section, each after its own
   label head (div.st-head), so the rule goes on the head that follows an ad. */
.dx-demo.demo-section + .st-head { margin-top: 64px; padding-top: 48px; border-top: 1px solid #e2e5ea; }
/* 3 · "Read transcript" and "About this demo" are flex summaries with no marker: give them a +/−. */
.demo-transcript > summary::after, .demo-about > summary::after { content: "+"; margin-left: auto; padding-left: 12px; font-weight: 600; }
.demo-transcript[open] > summary::after, .demo-about[open] > summary::after { content: "\2212"; }

/* 4 · /company/ and /full-service/ "Work with us": paragraphs and the button get their space. */
.pp-body .co-p + .co-p { margin-top: 12px; }
.pp-body .tf-acts { margin-top: 20px; }

/* 6 · Phone menu: the panel hangs from the sticky header, so it keeps its own scroll; its height now leaves room for
   the consent bar above the header (Design's check on PR2388: the first fix left items under the fold). */
.tf-menu-panel { max-height: calc(100dvh - 64px); overflow-y: auto; }
@media (max-width: 980px) { .tf-menu-panel { max-height: calc(100dvh - 200px); } }

/* 7 · One button shape: the page's pills, in the header too. */
.cta2 { border-radius: 999px; border-color: var(--ink, #0f2340); }
.tf-btn, .tf-menu > summary { border-radius: 999px; }

/* 10 · No text under 12 px (Design #499's floor). */
.tf-label, span.kd, span.tf-tag, figcaption, .tf-foot h2 { font-size: 12px; }

/* 12 · 404 at 320: the button's label and arrow stay on one line. */
.cta { white-space: nowrap; }

/* 13 · /demos/ at 320: "Where it stands" gets the whole width. */
@media (max-width: 400px) { .tf-today { display: block; } }

/* 14 · A visible focus ring on each film in the list. */
.tf-item:focus-visible { outline: 2px solid #b8361b; outline-offset: 2px; }

/* 19 · No lone words in headings and eyebrows on phones. */
h1, h2, h3, .eye { text-wrap: balance; }

/* RC3.30: sign-up locked, mailing list, contact form (Design, paper sheet for App to port).
   Spec: pods/tuningfork/site/handoff/design-rc330-locked-signup.md, with the CEO's two calls (dateless "Account
   creation opens soon"; the list form on the home band #updates and on /company/). Append AFTER sweep-rc329.css in
   both /home.css and /kit.css; every selector here was checked against the live markup and wins without !important.
   Rendered and measured in experiments/rc330-lock/ (check numbers in the sheet's notes). */

/* ---- 1. The locked button (spec section 2) ---- */
/* A real <button type="button" aria-disabled="true">. Buttons don't inherit font: without this they render in the
   UA's 13.3 px system font. The live header links render at the inherited 16 px / 400 because the live
   `.tf-btn { font: 500 14px/1 inherit }` is an invalid shorthand and is dropped; `font: inherit` matches that. */
button.tf-btn, button.tf-early-go, button.tf-pill { font: inherit; margin: 0; -webkit-appearance: none; appearance: none; }
button.tf-early-go { font-weight: 600; font-size: 15px; line-height: 1.2; border: 0; cursor: pointer; }
.tf-btn.is-locked, .tf-early-go.is-locked, .tf-pill.is-locked { cursor: default; gap: 8px; }
.tf-end .tf-btn.solid.is-locked, .tf-end .tf-btn.solid.is-locked:hover { background: #183056; border-color: #6c7f9f; color: #ccd5e3; }
.tf-end .tf-btn.ghost.is-locked, .tf-end .tf-btn.ghost.is-locked:hover { color: #aab8cf; text-decoration: none; }
.tf-menu-panel .tf-btn.is-locked, .tf-early-go.is-locked, .tf-early-go.is-locked:hover, .tf-pill.is-locked { background: #f4f5f7; border: 1px solid #7d889c; box-shadow: none; color: #33415a; }
.tf-menu-panel .tf-btn.is-locked:not(.solid), .tf-early-go.alt.is-locked, .tf-early-go.alt.is-locked:hover { background: #fff; }
.tf-lock-i { flex: none; position: relative; top: -1px; }
.tf-menu-panel .tf-lock-i, .tf-early-go .tf-lock-i, .tf-lock-line .tf-lock-i { color: #5b6880; }
/* Focus: the header keeps its own ring (.tf-head :focus-visible, 2px #9fc1ee, offset 3px). Light grounds: */
.tf-menu-panel .tf-btn:focus-visible, .tf-early .tf-early-go.is-locked:focus-visible { outline: 2px solid #b8361b; outline-offset: 3px; }

/* 561-720 px: the lock icons make the bar 39 px too wide for the logo, both buttons and Menu; tighten the gaps. */
@media (min-width: 561px) and (max-width: 720px) {
  .tf-head-in { gap: 12px; }
  .tf-end { gap: 4px; }
  .tf-end .tf-btn.ghost.is-locked { padding: 0 8px; }
  .tf-end .tf-btn.solid.is-locked { padding: 0 14px; }
}

/* ---- 2. The tooltip (spec section 3) ---- */
.tf-lock-wrap { position: relative; display: inline-flex; }
.tf-tip { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; padding: 8px 12px; border-radius: 8px; background: #fff; color: #0f2340;
  font-weight: 600; font-size: 13px; line-height: 1.35; letter-spacing: 0; text-transform: none; white-space: nowrap; text-align: left;
  box-shadow: 0 8px 24px rgb(8 21 40 / .45); visibility: hidden; opacity: 0; transition: opacity .12s; pointer-events: auto; }
.tf-tip::before { content: ""; position: absolute; inset: -10px 0 100% 0; }            /* hover bridge over the 8 px gap */
/* The arrow hangs from the wrap, not the bubble, so it points at the button's centre whatever the bubble's width. */
.tf-lock-wrap::after { content: ""; position: absolute; z-index: 31; top: calc(100% + 4px); left: calc(50% - 4px); width: 8px; height: 8px;
  background: #fff; transform: rotate(45deg); visibility: hidden; opacity: 0; transition: opacity .12s; pointer-events: none; }
.tf-lock-wrap:hover .tf-tip, .tf-lock-wrap:focus-within .tf-tip, .tf-lock-wrap:hover::after, .tf-lock-wrap:focus-within::after { visibility: visible; opacity: 1; }
.tf-lock-wrap[data-tip-off] .tf-tip, .tf-lock-wrap[data-tip-off]::after { visibility: hidden; opacity: 0; }
/* "Sign in" is not the last thing in the bar: its bubble is centred under it. */
.tf-lock-wrap.tf-tip-mid .tf-tip { right: auto; left: 50%; transform: translateX(-50%); }
/* Light grounds (the band, plates): navy bubble above the button, centred. */
.tf-early .tf-tip { top: auto; bottom: calc(100% + 8px); right: auto; left: 50%; transform: translateX(-50%); background: #0f2340; color: #fff; box-shadow: 0 8px 24px rgb(15 35 64 / .25); }
.tf-early .tf-tip::before { inset: 100% 0 -10px 0; }
.tf-early .tf-lock-wrap::after { top: auto; bottom: calc(100% + 4px); background: #0f2340; }
@media (max-width: 560px) {
  .tf-tip { white-space: normal; max-width: min(240px, calc(100vw - 32px)); width: max-content; }
  /* Full-width buttons on phones: the bubble starts at the button's left edge, the arrow near it. */
  .tf-early .tf-tip { left: 0; transform: none; }
  .tf-early .tf-lock-wrap::after { left: 24px; }
}
@media (prefers-reduced-motion: reduce) { .tf-tip, .tf-lock-wrap::after { transition: none; } }

/* ---- 3. The phone menu's opening line (no bubble in the scrolling panel) ---- */
.tf-lock-line { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; line-height: 1.4; color: #33415a; }
/* (.end is a grid with an 8 px gap: 8 px above the line, 8 + 8 = 16 px below it.) */

/* ---- 4. Home hero: "Get launch news" keeps the old account button's phone place (RC3.29 lifted it with
   [data-acct], which the new link no longer carries). ---- */
@media (max-width: 600px) {
  .tf-l2 .tf-ctas > .tf-pill.solid { order: -2; margin-top: 14px; }
}

/* Brand's optional line under the hero buttons. */
.tf-hero-note { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: #33415a; }

/* ---- 5. The forms' .in-* rules, for the home page (which doesn't load styles.css) and /company/ (where they
   bring the contact form to the same values). Colours are literal: home.css has no styles.css tokens. ---- */
.in-form { display: grid; gap: 12px; align-content: start; }
.in-form form { display: grid; gap: 14px; max-width: 34rem; }
.in-field, .in-check, .in-submit, .in-note, .in-error { margin: 0; }
.in-field { display: grid; gap: 6px; }
.in-field label { font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: 0; text-transform: none; color: #0f2340; }
.in-help { font-size: 14px; line-height: 1.4; color: #33415a; }
.in-form .in-field input, .in-form .in-field textarea { width: 100%; height: 48px; min-height: 48px; padding: 0 14px; border: 1px solid #7d889c; border-radius: 8px;
  background: #fff; color: #0f2340; font-family: inherit; font-weight: 400; font-size: 16px; line-height: 1.4; box-shadow: none; }
.in-form .in-field textarea { height: auto; min-height: 132px; padding: 12px 14px; resize: vertical; }
/* body.kit main :focus-visible is (0,2,2); this is (0,3,1). */
.in-form .in-field :is(input, textarea):focus-visible { outline: 2px solid #b8361b; outline-offset: 2px; }
.in-form .in-field :is(input, textarea)[aria-invalid="true"] { border: 2px solid #b8361b; padding: 0 13px; }
.in-form .in-field textarea[aria-invalid="true"] { padding: 11px 13px; }
.in-error { display: block; font-weight: 600; font-size: 14px; line-height: 1.4; color: #b8361b; }
/* Consent row: the label carries the 44 x 44 around the box (a margin is not clickable), the box sits in its gutter. */
.in-check { position: relative; display: block; }
.in-check input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 11px; accent-color: #0f2340; cursor: pointer; }
.in-check label { display: block; min-height: 44px; padding: 10px 0 10px 54px; font-weight: 400; font-size: 15px; line-height: 1.45; letter-spacing: 0; text-transform: none; color: #33415a; cursor: pointer; }
.in-form .in-check input:focus-visible { outline: 2px solid #b8361b; outline-offset: 2px; }
.in-check input[aria-invalid="true"] { outline: 2px solid #b8361b; outline-offset: 2px; }
.in-submit button { border: 0; cursor: pointer; }
.in-submit button[aria-disabled="true"] { cursor: progress; }
.in-confirm, .in-note { font-size: 14px; line-height: 1.45; color: #33415a; }
.in-note a { font-weight: 600; text-underline-offset: 4px; color: #b8361b; }
.in-status:empty { display: none; }
.in-status { padding: 12px 16px; border-left: 3px solid #0f2340; border-radius: 0 8px 8px 0; background: #f4f5f7; font-size: 16px; line-height: 1.45; color: #0f2340; }
.in-status p { margin: 0; color: #0f2340; }
.in-status p + p { margin-top: 4px; }
.in-opt { font-weight: 400; color: #33415a; }
.in-status.is-alert { border-left-color: #b8361b; }
.in-trap, .in-trap[hidden] { display: none !important; }
@media (max-width: 560px) { .in-submit .cta, .in-submit .tf-early-go { width: 100%; justify-content: center; } }

/* ---- 6. The mailing-list band (section.tf-early.tf-news, id="updates") ---- */
.tf-news .tf-early-in { align-items: start; }
.tf-news .in-form form { max-width: none; gap: 0; }
.tf-news .in-field { display: contents; }               /* label, field and error become rows of the form's grid */
.tf-news .in-field label { margin-bottom: 6px; }
.tf-news .in-field .in-error, .tf-news form > .in-error { margin-top: 6px; }
.tf-news .in-check, .tf-news .in-submit { margin-top: 14px; }
.tf-news .in-note { margin-top: 8px; }
.tf-news .tf-news-locked { margin-top: 12px; }               /* + the .in-form gap (12) = 24 */
.tf-news .in-confirm { margin-top: 8px; }
/* The live eyebrow is 11 px: under the 12 px floor (sweep item 10 missed .tf-early-k). */
.tf-early-k { font-size: 12px; }
.tf-news .in-status:not(:empty) + form { margin-top: 2px; }
@media (min-width: 561px) {
  /* Field and button on one row, bottoms aligned with the field (not the label). */
  .tf-news .in-form form { grid-template-columns: minmax(280px, 1fr) auto; column-gap: 16px; }
  .tf-news .in-field label { grid-column: 1; grid-row: 1; }
  .tf-news .in-field input { grid-column: 1; grid-row: 2; }
  .tf-news .in-field .in-error { grid-column: 1; grid-row: 3; }
  .tf-news .in-submit { grid-column: 2; grid-row: 2; align-self: end; margin-top: 0; }
  .tf-news .in-check, .tf-news .in-confirm, .tf-news .in-note, .tf-news form > .in-error { grid-column: 1 / -1; }
  .tf-news .in-confirm { margin-top: 10px; }
  .tf-news .in-note { margin-top: 4px; }
}
@media (min-width: 901px) {
  .tf-news .tf-early-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; }
}
@media (max-width: 900px) {
  .tf-news .tf-early-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tf-news .tf-early-go { width: 100%; }
  .tf-news .tf-news-locked { display: grid; gap: 12px; }
}

/* RC3.30 (row 417), App's additions after Design's lock sheet (experiments/rc330-lock/rc330-lock.css, PR2402, which
   holds every lock, tooltip, band and .in-* rule). /company/'s Contact row carries the contact form, then the list
   under its own small heading, in the one #intake target (tools/site-intake.mjs companyForms). */
.in-forms { display: grid; gap: 28px; }
.in-list-h { margin: 8px 0 0; font-size: 20px; font-weight: 650; color: #0f2340; }
/* RC3.30.1 (Design row 425, PR209 7132568741): the jump to #intake and the result message clear the sticky header; the
   home's list band sits under the taller home header. intake.js also centres the message once the page has loaded. */
#intake, .in-status { scroll-margin-top: 80px; }
#updates #intake { scroll-margin-top: 140px; }

/* Design row 440: the static fallback player (.tf-fb), the player's resting DOM pre-rendered with a plain <video>.
   It wears the player's own classes, so the stage skin lays it out exactly as the mounted player; this block only adds
   the picture box (no container units) and floors for browsers without clamp(), aspect-ratio, flex gap, contain.
   iOS 12-safe by construction: no gap in flex, no inset, no :is/:where/:has, no clamp/min/max, no aspect-ratio,
   no nesting, no container units. Each floor sits in an @supports not (...) block, so modern browsers never see it. */
.tf-fb .tf-fb-box { position: relative; width: 100%; height: 0; padding: 56.25% 0 48px; }
.tf-fb .tf-fb-box > video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; background: #000; }
.tf-fb .demo-source { word-wrap: break-word; }
@supports not (width: clamp(1px, 1px, 1px)) {
  .tf-films.is-page .tf-fb .demo-title { font-size: 26px; line-height: 1.12; }
  .tf-fb .demo-title { font-size: 26px; }
}
@supports not (aspect-ratio: 1) {
  .tf-fb .tf-item .pic { position: relative; height: 0; padding-top: 56.25%; }
  .tf-fb .tf-item .pic img { position: absolute; top: 0; left: 0; }
}
@supports not (inset: 0) {
  .tf-fb .tf-row li + li { margin-left: 10px; }
  .tf-fb .tf-item[aria-current="true"] .nm::before { margin-right: 6px; }
}
/* Safari before 15.4 has neither contain nor :has(), so this block stands in for the stage skin's :has() rules, which
   such browsers drop whole (a selector list with :has() is invalid there). Same values as those rules. */
@supports not (contain: size) {
  .tf-films.is-page .tf-fb .tf-row { padding-top: 26px; }
}
@media (max-width: 560px) {
  @supports not (inset: 0) { .tf-fb .tf-row li + li { margin-left: 8px; } }
}
@media (min-width: 981px) {
  @supports not (width: clamp(1px, 1px, 1px)) {
    .tf-films.is-page .tf-fb.demo-player { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; }
  }
  @supports not (contain: size) {
    .tf-films.is-page .tf-fb.demo-player > .tf-more { height: 0; min-height: 100%; }
    .tf-films.is-page .tf-fb .tf-more-head { position: -webkit-sticky; }
    .tf-films.is-page .tf-fb .tf-row { flex-direction: column; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  }
  @supports not (inset: 0) {
    .tf-films.is-page .tf-fb .tf-row li + li { margin-left: 0; margin-top: 2px; }
  }
}
