/* FlashFix Pro — marketing site.
   The page is drawn the way a window is: a fabrication drawing becoming the product. Its components are the
   drawing office's own, and nothing here is borrowed from another site's kit:

     lockup      a chapter's heading, hung from a dimension line that measures it and carries its key figure
     dim         the dimension line itself: |———| 02 UK HOMES ———— 20 HOMES ———|
     chain       a chain dimension: a run of figures on one line (the hero's four facts)
     tape        a tape measure: progress through a film, a journey or the page
     sheet       a cutting list that ticks along with a film (the build sheet)
     pane        anything framed: frame line, frame, bead line, mitred corners (screens, pictures, panels)
     tag         a schedule mark: W1 … W5 for windows, D1 … D9 for doors, as they'd be numbered on a quote
     balloon     a numbered callout on a picture, with its parts list beside it
     stamp       what a picture is and where it came from
     register    the drawing register: every chapter on one sheet, each line a jump
     rail        a journey's steps along a rule
     ico         the icon set: one 32 grid, one line weight, the blue part is the part that matters (the sprite
                 is at the top of index.html; class a = accent stroke, f = accent fill, t = tint)
     trail       what changes: the paper run (dashed, broken by "typed again") beside the one unbroken record run,
                 with the record card that gains a line at every hand-over
     kit         the specification: four parts as tabs, each with its lines, their icons and a real screen in a pane
     schedule    rows that open: the questions
     plan        a price card: a pane with its mark, the figure on a dimension line, the offer as a stamp, the lines
                 with their icons, the set-up fee and the button
     theme       light and dark: every colour is a token (light in :root, dark under "the dark theme"); the switch is
                 .bar-theme; pictures with a dark version are <source data-theme-dark> in a <picture>
     notes       the drawing's general notes: every figure on the page, with its conditions
     titleblock  the footer

   One geometry throughout: square corners, a 45° chamfer where a thing can be pressed, a mitre where it is framed.
   Two families (Archivo, IBM Plex Mono), one accent (the steel blue of the FlashFix mark, #3368a5, lightened on
   black). White and a light grey, black for the bar and the "pro" chapters. The grey is the very grey the renders'
   studio comes out as (#f3f3f3), so every film and product still sits on its section with no edge.
   Without JavaScript, or with reduced motion, every pinned scene is a plain document. */

:root {
  color-scheme: light;
  --ink: #1d1d1f; --ink-2: #424245; --ink-3: #6e6e73; --rule: rgba(0, 0, 0, .1); --rule-2: rgba(0, 0, 0, .18); --fl: rgba(0, 0, 0, .18);
  --link: #3368a5; --ok: #248a3d; --amber: #87500f; --amber-bg: rgba(194, 122, 50, .12); --amber-solid: #fbf2e6;
  --card: #fff; --on-ink: #fff; --tint: #eef3f9; --tint-solid: #e7edf5; --hover: rgba(0, 0, 0, .04); --hover-card: rgba(255, 255, 255, .6);
  --frost: rgba(255, 255, 255, .77); --frost-edge: rgba(255, 255, 255, .4); --dot-off: #c7c7cc;
  --mark-bg: rgba(51, 104, 165, .08); --mark-line: rgba(51, 104, 165, .4); --mark-ex: #c27a32;
  --glaze-a: rgba(255, 255, 255, .62); --glaze-b: rgba(255, 255, 255, .28); --glaze-c: rgba(95, 122, 116, .08); --glaze-ring: rgba(255, 255, 255, .3);
  --edge: rgba(0, 0, 0, .04); --edge-hi: rgba(0, 0, 0, .05); --tag-bg: #fff;   /* a tile's hairline, at rest and lifted; a schedule mark's ground */
  --stage: #f3f3f3;          /* light grey: exactly what the renders' white studio comes out as through the tone curve */
  --stage-2: #e8e8ed;
  --paper: #ffffff;
  --sheet: #f3f3f3;
  --blue: #3368a5;           /* the same blue for fills: buttons, progress, highlights */
  --blue-deep: #2b598e;      /* the darker end of the logo's gradient: hover */
  --blue-night: #78a6dd;     /* the logo blue lightened for words on black (8 : 1) */
  --glass: #5f7a74;
  --font: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --bar-h: 60px;
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: min(1280px, calc(100% - 2 * var(--gutter)));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --cut: 9px;
  --pad: clamp(104px, 15vh, 180px);     /* a chapter's breathing room, top and bottom */
  --land: 40px;                         /* after a jump: how far under the bar a chapter's first line sits */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
/* Where a jump lands (the bar's links, the register, a link with # from elsewhere). scroll-padding keeps a target
   clear of the bar; each chapter then says how its own top sits under it. A chapter in the flow has --pad of air
   above its first line, which read as an empty band under the bar after a jump: it lands with that first line
   --land below the bar instead. A pinned scene lands with its top at the top of the window, exactly where it
   pins, because its layout already leaves room for the bar. (The logo's #top is the top of the document: no element
   has that name, on purpose.) */
main section[id] { scroll-margin-top: calc(var(--land) - var(--pad)); }
main section.scene[id] { scroll-margin-top: calc(-1 * var(--bar-h)); }
main section.hero { scroll-margin-top: 0; }
@media (max-width: 733px) { :root { --land: 28px; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* tones */
[data-tone="stage"] { background: var(--stage); }
[data-tone="paper"] { background: var(--paper); }
[data-tone="sheet"] { background: var(--sheet); }
/* ---------- the dark theme ----------
   The page follows the reader's system unless they have chosen with the switch in the bar (data-theme on <html>,
   kept in localStorage). Every colour a component uses is a token: the light values are in :root, the dark values
   below. The night chapters (regulations, order to fit, security) take the same dark values in either theme. The
   hero, the build film, the range's tiles and the "how it's built" films each have a render from a dark studio
   (<name>-dark). What stays light in the dark theme, on purpose: every screen and document in a pane (they are
   the app and the quote as they are). */
[data-tone="night"] { background: #000; color: #f5f5f7;
  --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --rule: rgba(255, 255, 255, .14); --rule-2: rgba(255, 255, 255, .26); --fl: rgba(255, 255, 255, .26);
  --link: #78a6dd; --ok: #3fae62; --amber: #f0a35b; --amber-bg: rgba(240, 163, 91, .14); --amber-solid: #2e2417;
  --card: #222224; --on-ink: #1d1d1f; --tint: rgba(120, 166, 221, .16); --tint-solid: #27303b; --hover: rgba(255, 255, 255, .07); --hover-card: rgba(255, 255, 255, .05);
  --frost: rgba(30, 30, 32, .74); --frost-edge: rgba(255, 255, 255, .06); --dot-off: #4a4a4e;
  --mark-bg: rgba(120, 166, 221, .16); --mark-line: rgba(120, 166, 221, .5); --mark-ex: #f0a35b;
  --glaze-a: rgba(255, 255, 255, .07); --glaze-b: rgba(255, 255, 255, .03); --glaze-c: rgba(120, 166, 221, .05); --glaze-ring: rgba(255, 255, 255, .05);
  --edge: rgba(255, 255, 255, .07); --edge-hi: rgba(255, 255, 255, .22); --tag-bg: #303034; }
:root[data-theme="dark"] { --stage: #1a1a1b; --stage-2: #2c2c2e; --paper: #0f0f10; --sheet: #1a1a1b; color-scheme: dark;
  --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --rule: rgba(255, 255, 255, .14); --rule-2: rgba(255, 255, 255, .26); --fl: rgba(255, 255, 255, .26);
  --link: #78a6dd; --ok: #3fae62; --amber: #f0a35b; --amber-bg: rgba(240, 163, 91, .14); --amber-solid: #2e2417;
  --card: #222224; --on-ink: #1d1d1f; --tint: rgba(120, 166, 221, .16); --tint-solid: #27303b; --hover: rgba(255, 255, 255, .07); --hover-card: rgba(255, 255, 255, .05);
  --frost: rgba(30, 30, 32, .74); --frost-edge: rgba(255, 255, 255, .06); --dot-off: #4a4a4e;
  --mark-bg: rgba(120, 166, 221, .16); --mark-line: rgba(120, 166, 221, .5); --mark-ex: #f0a35b;
  --glaze-a: rgba(255, 255, 255, .07); --glaze-b: rgba(255, 255, 255, .03); --glaze-c: rgba(120, 166, 221, .05); --glaze-ring: rgba(255, 255, 255, .05);
  --edge: rgba(255, 255, 255, .07); --edge-hi: rgba(255, 255, 255, .22); --tag-bg: #303034; }
:root[data-theme="dark"] .hero-drawn > img { filter: invert(1) hue-rotate(180deg); }
:root[data-theme="dark"] .bar-theme .t-light, :root[data-theme="dark"] .index-theme .t-light { display: none; }
:root[data-theme="dark"] .bar-theme .t-dark, :root[data-theme="dark"] .index-theme .t-dark { display: inline; }
:root[data-theme="dark"] .plan-main { box-shadow: 0 0 0 1px var(--fl), 0 0 0 9px var(--card), 0 0 0 10px var(--fl), 0 50px 90px -46px rgba(120, 166, 221, .4); }
:root[data-theme="dark"] .reg-list a:hover, :root[data-theme="dark"] .reg-list a:focus-visible { background: linear-gradient(90deg, rgba(120, 166, 221, .12), transparent 72%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --stage: #1a1a1b; --stage-2: #2c2c2e; --paper: #0f0f10; --sheet: #1a1a1b; color-scheme: dark;
  --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --rule: rgba(255, 255, 255, .14); --rule-2: rgba(255, 255, 255, .26); --fl: rgba(255, 255, 255, .26);
  --link: #78a6dd; --ok: #3fae62; --amber: #f0a35b; --amber-bg: rgba(240, 163, 91, .14); --amber-solid: #2e2417;
  --card: #222224; --on-ink: #1d1d1f; --tint: rgba(120, 166, 221, .16); --tint-solid: #27303b; --hover: rgba(255, 255, 255, .07); --hover-card: rgba(255, 255, 255, .05);
  --frost: rgba(30, 30, 32, .74); --frost-edge: rgba(255, 255, 255, .06); --dot-off: #4a4a4e;
  --mark-bg: rgba(120, 166, 221, .16); --mark-line: rgba(120, 166, 221, .5); --mark-ex: #f0a35b;
  --glaze-a: rgba(255, 255, 255, .07); --glaze-b: rgba(255, 255, 255, .03); --glaze-c: rgba(120, 166, 221, .05); --glaze-ring: rgba(255, 255, 255, .05);
  --edge: rgba(255, 255, 255, .07); --edge-hi: rgba(255, 255, 255, .22); --tag-bg: #303034; }
  :root:not([data-theme="light"]) .hero-drawn > img { filter: invert(1) hue-rotate(180deg); }
  :root:not([data-theme="light"]) .bar-theme .t-light, :root:not([data-theme="light"]) .index-theme .t-light { display: none; }
  :root:not([data-theme="light"]) .bar-theme .t-dark, :root:not([data-theme="light"]) .index-theme .t-dark { display: inline; }
  :root:not([data-theme="light"]) .plan-main { box-shadow: 0 0 0 1px var(--fl), 0 0 0 9px var(--card), 0 0 0 10px var(--fl), 0 50px 90px -46px rgba(120, 166, 221, .4); }
  :root:not([data-theme="light"]) .reg-list a:hover, :root:not([data-theme="light"]) .reg-list a:focus-visible { background: linear-gradient(90deg, rgba(120, 166, 221, .12), transparent 72%); }
}
/* ---------- type ---------- */
h1, .h2, .h3 { font-weight: 650; font-stretch: 112%; letter-spacing: -.028em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 88px); }
.h2 { font-size: clamp(36px, 5vw, 80px); max-width: 15ch; }
.h3 { font-size: clamp(28px, 2.7vw, 44px); line-height: 1.02; }
.lede { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 600; }     /* the run-in: the sentence a scanning reader takes away */
.dim + h1, .dim + .h2, .dim + .h3 { margin-top: 18px; }
.h2 + .lede, .lockup + .lede { margin-top: 22px; }
/* a footnote mark: the figure's conditions are in the notes at the foot of the page */
.fn { font: 600 .62em/1 var(--mono); color: var(--link); vertical-align: super; text-decoration: none; margin-left: 1px; padding: 2px 1px; }
.fn:hover { text-decoration: underline; }

/* the dimension line: |———| 02 THE RANGE */
.dim { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.dim::before { content: ""; flex: none; width: 36px; height: 9px; border-inline: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .7; }
.dim b { font-weight: 600; color: var(--link); }
/* the lockup: a heading hung from the dimension line that measures it. The line runs the width of the heading's
   longest line (site.js measures it; without a script it runs the width of the heading's box) and carries the
   chapter's number, its name and its key figure. */
.lockup { display: grid; justify-items: start; width: fit-content; max-width: 100%; }
.dim-span { display: flex; justify-self: stretch; width: var(--w, auto); min-width: min-content; max-width: 100%; white-space: nowrap; }
.dim-span::after { content: ""; order: 1; flex: 1 1 0; min-width: 18px; height: 9px; border-right: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .7; transform-origin: left; }
.dim-span i { order: 2; display: inline-flex; align-items: center; gap: 12px; font-style: normal; color: var(--ink); }
.dim-span i::after { content: ""; flex: none; width: 18px; height: 9px; border-right: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .5; }
.dim-fig::after { border-right: 0; }
.js:not(.rm) [data-reveal] .dim-span::after, .js:not(.rm) .dim-span[data-reveal]::after { transition: transform 1s var(--ease) .2s; }
.js:not(.rm) [data-reveal]:not(.is-in) .dim-span::after, .js:not(.rm) .dim-span[data-reveal]:not(.is-in)::after { transform: scaleX(0); }

/* the chain dimension: a run of figures on one line, each with what it counts under it */
.chain { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.chain li { min-width: 0; }
.chain b { display: flex; align-items: center; gap: 9px; font-size: clamp(25px, 2.35vw, 38px); font-weight: 650; font-stretch: 112%; letter-spacing: -.025em; line-height: 1; }
.chain b::before, .chain b::after { content: ""; height: 11px; background: linear-gradient(var(--rule-2), var(--rule-2)) center / 100% 1px no-repeat; }
.chain b::before { flex: 0 0 10px; border-left: 1px solid var(--ink-3); }
.chain b::after { flex: 1 1 0; }
.chain li:last-child b::after { border-right: 1px solid var(--ink-3); }
.chain span { display: block; margin-top: 9px; padding: 0 12px 0 1px; font-size: 13px; line-height: 1.32; color: var(--ink-2); text-wrap: balance; }

/* the stamp: what a picture is and where it came from */
.stamp { display: inline-grid; gap: 4px; padding: 8px 11px 7px; font: 600 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--link);
  border: 1.5px solid currentColor; outline: 1px solid currentColor; outline-offset: 2px; transform: rotate(-2.5deg); }
.stamp span { font-weight: 500; letter-spacing: .05em; opacity: .82; }

/* the way on from a pinned scene: names the next chapter, and is the way out for a reader who has seen enough */
.next { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(10px, 2.2vh, 22px); display: inline-flex; align-items: center; gap: 9px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--ink-3); padding: 8px 0; transition: color .2s, gap .2s; }
.next::after { content: ""; width: 9px; height: 12px; background: currentColor; clip-path: polygon(42% 0, 58% 0, 58% 66%, 100% 66%, 50% 100%, 0 66%, 42% 66%); }
.next:hover { color: var(--link); gap: 12px; }
.no-js .next, .rm .next { display: none; }

/* ---------- buttons ---------- */
/* chamfered at two corners, like a mitred profile; the focus ring goes inside, where the clip can't cut it */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  background: var(--blue); color: #fff; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: 16px; font-stretch: 108%; letter-spacing: -.005em;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color .2s;
}
.btn:hover { background: var(--blue-deep); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--ink); }
.btn-s { height: 38px; padding: 0 16px; font-size: 14px; --cut: 7px; }
.btn-l { height: 58px; padding: 0 30px; font-size: 17px; --cut: 11px; }
.go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: 106%; text-decoration: none; padding: 6px 0; color: var(--link); border-bottom: 1px solid transparent; transition: border-color .2s, gap .2s; }
.go::after { content: ""; flex: none; width: 17px; height: 10px; background: currentColor; clip-path: polygon(0 42%, 68% 42%, 68% 0, 100% 50%, 68% 100%, 68% 58%, 0 58%); }
.go:hover { border-color: currentColor; gap: 14px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }

/* ---------- framed: frame line, bead line, mitred corners ---------- */
/* the pane: a screen or a picture glazed into a frame. The frame is drawn outside the box (9px of face between the
   bead line and the frame line), so give a pane 10px of room; its four mitres are the ::before. */
.pane { position: relative; background: var(--frame-fill, var(--card));
  box-shadow: 0 0 0 1px var(--fl), 0 0 0 9px var(--frame-fill, var(--card)), 0 0 0 10px var(--fl), 0 44px 80px -44px rgba(0, 0, 0, .42); }
.pane::before { content: ""; position: absolute; inset: -10px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(45deg, transparent calc(50% - .7px), var(--fl) 50%, transparent calc(50% + .7px)) left top / 10px 10px no-repeat,
    linear-gradient(-45deg, transparent calc(50% - .7px), var(--fl) 50%, transparent calc(50% + .7px)) right top / 10px 10px no-repeat,
    linear-gradient(-45deg, transparent calc(50% - .7px), var(--fl) 50%, transparent calc(50% + .7px)) left bottom / 10px 10px no-repeat,
    linear-gradient(45deg, transparent calc(50% - .7px), var(--fl) 50%, transparent calc(50% + .7px)) right bottom / 10px 10px no-repeat; }
.pane > img, .pane > video { display: block; width: 100%; }
[data-tone="night"] .pane { --fl: rgba(255, 255, 255, .3); --card: #1c1c1e; box-shadow: 0 0 0 1px var(--fl), 0 0 0 9px var(--frame-fill, var(--card)), 0 0 0 10px var(--fl), 0 44px 90px -40px #000, 0 0 140px -40px rgba(120, 166, 221, .35); }
.sheet, .glazed { position: relative; }
.sheet::before, .glazed::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(45deg, transparent calc(50% - .7px), var(--fl) 50%, transparent calc(50% + .7px)) left top / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent calc(50% - .7px), var(--fl) 50%, transparent calc(50% + .7px)) right top / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent calc(50% - .7px), var(--fl) 50%, transparent calc(50% + .7px)) left bottom / 8px 8px no-repeat,
    linear-gradient(45deg, transparent calc(50% - .7px), var(--fl) 50%, transparent calc(50% + .7px)) right bottom / 8px 8px no-repeat;
}

/* ---------- the cookie note: one strip along the foot of the window, shown once and put away with OK. A note, not a
   gate: nothing the site keeps needs consent (/legal/cookies). ---------- */
.cookie-note { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px;
  padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); color: var(--ink); font-size: 14.5px; line-height: 1.45;
  background: var(--frost); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 -1px 0 var(--rule-2), 0 -20px 44px -32px rgba(0, 0, 0, .45);
  transform: translateY(100%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.cookie-note[hidden], .no-js .cookie-note { display: none; }
.cookie-note.is-in { transform: none; opacity: 1; }
.cn-text { flex: 1 1 440px; max-width: 76ch; color: var(--ink-2); }
.cn-k { margin-right: 10px; font: 600 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--link); }
.cn-links { display: flex; gap: 20px; margin-left: auto; }
.cn-links a { color: var(--link); font-weight: 600; white-space: nowrap; text-decoration: none; }
.cn-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cookie-note .btn { flex: none; min-width: 64px; }
.rm .cookie-note { transition: none; }
@media (max-width: 733px) { .cookie-note { font-size: 14px; gap: 10px 18px; } .cn-links { margin-left: 0; margin-right: auto; } }
@media print { .cookie-note { display: none; } }

/* ---------- the theme switch: the whole page cross-fades from one theme to the other (switchTheme in site.js).
   While it does, a film or a tile's clip that has just been swapped shows at once, not on its own fade. Where the
   browser has no view transitions the colours ease across instead (.theme-ease). ---------- */
html.theming::view-transition-old(root), html.theming::view-transition-new(root) { animation-duration: .5s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
.theming .stage video, .theming .tile-stage video { transition: none; }
.theme-ease *, .theme-ease *::before, .theme-ease *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease, fill .45s ease, stroke .45s ease, filter .45s ease !important; }

/* ---------- the bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h);
  --bar-bg: rgba(22, 22, 23, .84); --tick: rgba(255, 255, 255, .26);
  --ink: #f5f5f7; --ink-2: rgba(245, 245, 247, .72); --rule: rgba(255, 255, 255, .14); --link: var(--blue-night);
  color: var(--ink); background: var(--bar-bg);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  transition: background-color .3s;
}
.bar-in { height: 100%; width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-stretch: 112%; letter-spacing: -.02em; font-size: 17px; white-space: nowrap; }
.brand img { width: 19px; height: 24px; }
.index { display: flex; align-items: center; margin-inline: auto; }
.index a { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); padding: 10px 14px; white-space: nowrap; transition: color .2s, box-shadow .2s; }
.index a:hover { color: var(--ink); }
.index a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--link); }
.index .index-signin { display: none; }
.bar-signin { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.bar-signin:hover { color: var(--ink); }
/* the theme switch: a moon while the page is light, a sun while it is dark */
.bar-theme { flex: none; display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); transition: color .2s, background-color .2s; }
.bar-theme:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.bar-theme:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--link); }
.bar-theme .ico { width: 20px; height: 20px; }
.bar-theme .t-dark, .index-theme .t-dark { display: none; }
.index-theme { display: none; }
.no-js .bar-theme, .no-js .index-theme { display: none !important; }
.bar-toggle { display: none; width: 40px; height: 40px; position: relative; }
.bar-toggle span, .bar-toggle span::before, .bar-toggle span::after { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; content: ""; transition: transform .25s var(--ease), opacity .2s; }
.bar-toggle span { top: 50%; }
.bar-toggle span::before { left: 0; right: 0; top: -6px; }
.bar-toggle span::after { left: 0; right: 0; top: 6px; }
.bar.is-open .bar-toggle span { background: transparent; }
.bar.is-open .bar-toggle span::before { transform: translateY(6px) rotate(45deg); }
.bar.is-open .bar-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
/* the page as a tape measure along the bar's foot */
.bar-tape {
  position: absolute; left: 0; right: 0; bottom: 0; height: 7px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 12px) left bottom / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 120px) left bottom / 100% 7px no-repeat;
}
.bar-tape i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--link); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- hero: one home, drawn on the left and built on the right; the design film slides up over it ---------- */
.lead-in { position: relative; }
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 640px; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr); padding-top: var(--bar-h); --split: 50%; }
/* the first stretch of scroll is the hero's own: the built half draws across the drawing before the film comes up */
.js:not(.rm) .hero { margin-bottom: 38svh; }
.lead-in > .build { position: relative; z-index: 1; box-shadow: 0 -26px 50px -30px rgba(0, 0, 0, .35); }
.hero-copy { display: grid; justify-items: center; text-align: center; padding-top: clamp(16px, 4.2vh, 50px); }
.hero h1 { font-size: clamp(38px, 4.4vw, 84px); max-width: none; white-space: nowrap; }
.hero h1 br { display: none; }
.hero .lede { margin-top: clamp(12px, 2vh, 20px); max-width: 43em; }
.hero .ctas { margin-top: clamp(16px, 2.6vh, 26px); justify-content: center; }
.cta-note { font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.ctas + .cta-note { margin-top: 12px; }
.hero .cta-note { margin-top: 10px; }
/* a dimension line with a tick at both ends, for a centred label */
.dim-both::after { content: ""; flex: none; width: 36px; height: 9px; border-inline: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .7; }
/* the picture: a plate of the render's own shape (8 : 3), as tall as its room and never wider than the screen by more
   than a fortieth (so the house always clears the figures in the margin),
   standing on the hero's foot. Its left margin is bare paper, so the figures sit there; its right fades into the page. */
.hero-pic { position: relative; display: grid; min-height: 0; margin-top: clamp(8px, 1.8vh, 22px); }
.hero-stage { position: relative; min-height: 0; container-type: size; }
.hero-plate { position: absolute; left: 50%; bottom: 0; height: min(100cqh, 38.5cqw); aspect-ratio: 8 / 3; transform: translateX(-50%); }
.hero-built { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-drawn { position: absolute; inset: 0; background: var(--stage); clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.hero-drawn > img { position: absolute; left: 0; top: 0; width: 52%; height: 100%; }
/* the cut between them: drawn on its left, built on its right */
.hero-cut { position: absolute; left: var(--split); top: 0; bottom: 0; width: 0; border-left: 1px solid var(--link); transition: opacity .3s; }
.hero.is-built .hero-cut { opacity: 0; }
.hero-cut b { position: absolute; top: 3px; font: 600 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; color: var(--link); }
.hero-cut b:first-child { right: 12px; }
.hero-cut b:last-child { left: 12px; }
/* the drawing's schedule marks, each with the size of its opening in millimetres */
.hd-tag { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap; font: 500 10.5px/1 var(--mono); letter-spacing: .02em; color: var(--link); background: var(--stage); padding-right: 5px; }
.hd-tag b { padding: 5px 9px; font-weight: 600; letter-spacing: .04em; color: #fff; background: var(--blue); clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%); }
.hero-stamp { position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(14px, 3.4vh, 34px); background: color-mix(in srgb, var(--stage) 93%, transparent); }
/* on a wide screen the four figures run down the drawing's margin as a vertical chain dimension */
@media (min-width: 734px) and (min-aspect-ratio: 1001/1000) {
  .hero-facts { position: absolute; z-index: 1; left: var(--gutter); bottom: clamp(14px, 3.4vh, 34px); display: block; width: min(196px, 14vw); border-left: 1px solid var(--ink-3); }
  .hero-facts li { position: relative; padding: 9px 0 10px 14px; }
  .hero-facts li::before, .hero-facts li:last-child::after { content: ""; position: absolute; left: -5px; top: 0; width: 9px; height: 1px; background: var(--ink-3); }
  .hero-facts li:last-child::after { top: auto; bottom: 0; }
  .hero-facts b { display: block; font-size: clamp(21px, 1.75vw, 27px); }
  .hero-facts b::before, .hero-facts b::after { content: none; }
  .hero-facts span { margin-top: 3px; padding: 0; font-size: 12.5px; line-height: 1.3; }
}
@media (min-width: 734px) and (min-aspect-ratio: 1001/1000) and (max-height: 720px) {
  .hero-copy { padding-top: 12px; }
  .hero .cta-note { display: none; }
  .hero-facts li { padding: 6px 0 7px 12px; }
  .hero-facts span { font-size: 11.5px; }
}

/* ---------- pinned scenes ---------- */
.scene { position: relative; }
.js:not(.rm) .scene { height: var(--scene-h); }
.js:not(.rm) .scene-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.stage { position: relative; background: var(--stage); }
.stage .poster, .stage .poster img, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage video { opacity: 0; transition: opacity .25s; }
/* stills that stand in for a film until it has downloaded (site.js, Film.standIn): the film's own box, under the video */
.stage .standin { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .22s; }
.stage .standin.is-on { opacity: 1; }
.rm .stage .standin, .no-js .stage .standin { display: none; }
.stage.is-ready video { opacity: 1; }
.rm .stage video, .no-js .stage video { display: none; }

/* the tape: a ruler under a film, its blue hook showing how far the scene has run */
.tape { position: relative; height: 30px; --tick: var(--rule-2); --p: 0; }
.tape::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 11px;
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px calc(100% / 96)) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px calc(100% / 12)) left bottom / 100% 11px no-repeat;
}
.tape-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--link); transform-origin: left; transform: scaleX(var(--p)); }
.tape-marks span { position: absolute; bottom: 15px; left: var(--x); transform: translateX(-50%); font: 500 10.5px/1 var(--mono); color: var(--ink-3); transition: color .25s; }
.tape-marks span.is-on { color: var(--ink); }
.tape-marks span.is-done { color: var(--link); }

/* ---------- 01 design: the build film full screen, the headline and the step laid over its open stage ---------- */
.build .scene-pin { position: relative; }
.js:not(.rm) .build-stage { position: absolute; left: 50%; top: 50%; width: min(100vw, calc(100svh * 16 / 9)); aspect-ratio: 16 / 9; transform: translate(-50%, -50%);
  -webkit-mask: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect; }
/* the film leaves its left third open for the words: the head is sized from the film's own width (--fw), so it
   clears the drawing on any shape of screen */
.build .scene-pin { --fw: min(100vw, calc(100svh * 16 / 9)); }
.build-head { position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--bar-h) + clamp(18px, 5vh, 52px));
  max-width: calc((100vw - var(--fw)) / 2 + var(--fw) * .335 - var(--gutter)); transition: opacity .5s, transform .6s var(--ease); }
.build-head .h2 { font-size: clamp(30px, calc(var(--fw) * .038), 66px); }
.build-head .lede { margin-top: 18px; font-size: clamp(16px, 1.15vw, 18.5px); max-width: 26em; }
.js:not(.rm) .build.is-building .build-head { opacity: 0; transform: translateY(-14px); }
/* the step card: a frosted pane (frame line, bead line) over the stage's floor */
.build-hud { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(18px, 4vh, 40px); width: min(390px, calc(100vw - 2 * var(--gutter)));
  padding: 14px 18px 6px; background: var(--frost); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 0 0 1px var(--rule-2), inset 0 0 0 6px var(--frost-edge), inset 0 0 0 7px var(--rule), 0 24px 50px -34px rgba(0, 0, 0, .45); }
.hud-n { font: 500 11.5px/1 var(--mono); letter-spacing: .05em; color: var(--ink-3); }
.hud-n b { color: var(--link); font-weight: 600; }
.hud-k { margin-top: 8px; font-size: 20px; font-weight: 650; font-stretch: 108%; letter-spacing: -.014em; line-height: 1.2; }
.hud-v { margin-top: 5px; font: 500 12.5px/1.3 var(--mono); color: var(--ink-2); min-height: 1.3em; }
.build-hud .build-tape { margin-top: 8px; width: 100%; }
.js:not(.rm) .build .sheet { display: none; }
.no-js .build-hud, .rm .build-hud { display: none; }
.no-js .build .scene-pin, .rm .build .scene-pin { display: grid; gap: 28px; padding-inline: var(--gutter); }
.no-js .build-head, .rm .build-head { position: static; max-width: none; order: -1; }
.no-js .build-stage, .rm .build-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.storyboard { display: none; }

/* the build sheet: a cutting list that ticks along with the film */
.sheet { background: var(--card); box-shadow: 0 0 0 1px var(--fl), inset 0 0 0 7px var(--card), inset 0 0 0 8px var(--rule); padding: 18px 20px 14px; }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 2px 2px 12px; border-bottom: 1px solid var(--rule); }
.sheet-head span:first-child { color: var(--ink); font-weight: 600; }
.row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 8px 2px 8px 0; border-bottom: 1px solid var(--rule); position: relative; transition: color .25s; }
.row:last-child { border-bottom: 0; }
.row .n { font: 500 11.5px/1 var(--mono); color: var(--ink-3); padding-left: 8px; }
.row .k { font-size: 15px; line-height: 1.3; }
.row .v { font: 500 12.5px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.js:not(.rm) .build .row { color: var(--ink-3); }
.js:not(.rm) .build .row .v { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.js:not(.rm) .build .row.is-on { color: var(--ink); }
.js:not(.rm) .build .row.is-on::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 2px; background: var(--link); }
.js:not(.rm) .build .row.is-on .n { color: var(--link); }
.js:not(.rm) .build .row.is-on .v, .js:not(.rm) .build .row.is-done .v { opacity: 1; transform: none; }
.js:not(.rm) .build .row.is-done { color: var(--ink-2); }
.js:not(.rm) .build .row.is-done .n { color: var(--ink-2); }
.swatches { display: inline-flex; gap: 5px; align-items: center; }
.swatches i { width: 14px; height: 14px; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); transition: box-shadow .2s, transform .2s; }
.swatches i.is-on { box-shadow: 0 0 0 1px var(--card), 0 0 0 2.5px var(--blue); transform: scale(1.08); }

/* ---------- the register: every chapter on one sheet, each line a jump ---------- */
.register { position: relative; z-index: 1; padding-block: var(--pad); }
.reg-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.reg-say .h2 { font-size: clamp(34px, 4.1vw, 66px); max-width: 12ch; }
.reg-head, .reg-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 17px; column-gap: 14px; align-items: baseline; }
.reg-head { padding: 0 2px 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--rule-2); }
.reg-head span:nth-child(3) { text-align: right; }
.reg-list a { padding: 15px 2px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background-color .25s, padding .3s var(--ease); }
.reg-list b { font: 600 12px/1 var(--mono); color: var(--link); }
.reg-k { font-size: clamp(17px, 1.45vw, 20.5px); font-weight: 600; font-stretch: 106%; letter-spacing: -.012em; line-height: 1.25; }
.reg-v { font: 500 11.5px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); text-align: right; white-space: nowrap; }
.reg-list a::after { content: ""; align-self: center; width: 17px; height: 10px; background: var(--link); clip-path: polygon(0 42%, 68% 42%, 68% 0, 100% 50%, 68% 100%, 68% 58%, 0 58%); opacity: .3; transform: translateX(-5px); transition: opacity .25s, transform .3s var(--ease); }
.reg-list a:hover, .reg-list a:focus-visible { background: linear-gradient(90deg, rgba(51, 104, 165, .08), transparent 72%); padding-left: 10px; }
.reg-list a:hover::after, .reg-list a:focus-visible::after { opacity: 1; transform: none; }
.reg-list a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

/* ---------- 02 homes ---------- */
.homes, .range, .team, .security, .start { position: relative; z-index: 1; }
.homes { padding-block: var(--pad); }
/* the plate: one picture, called out. Each balloon sits beside what it names, a leader running to the spot; the
   parts list says what each is and which designer drew it. */
.called { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(250px, 1fr); gap: clamp(26px, 3.4vw, 56px); align-items: center; margin-top: clamp(40px, 6vh, 64px); padding: 10px; }
.plate { aspect-ratio: var(--ar); }
.plate > img { width: 100%; height: 100%; object-fit: cover; }
.plate .stamp { position: absolute; z-index: 1; right: 16px; bottom: 16px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); transform: rotate(-2deg); }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.leaders line { stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .55)); }
.pins i { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 0 4px rgba(255, 255, 255, .28); }
.balloons li { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--blue); font: 600 13px/1 var(--mono); box-shadow: 0 0 0 1.5px var(--blue), 0 6px 16px -4px rgba(0, 0, 0, .5); transition: background-color .25s, color .25s, transform .35s var(--ease); }
.balloons li.is-on { background: var(--blue); color: #fff; transform: scale(1.18); }
.parts { border-top: 1px solid var(--rule-2); }
.parts li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; padding: 14px 4px 14px 0; border-bottom: 1px solid var(--rule); }
.parts li > b { grid-row: span 3; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font: 600 11.5px/1 var(--mono); color: var(--link); box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color .25s, color .25s; }
.parts li.is-on > b { background: var(--blue); color: #fff; box-shadow: none; }
.parts strong { display: block; font-size: 17px; font-weight: 650; font-stretch: 106%; letter-spacing: -.01em; line-height: 1.25; }
.parts span { grid-column: 2; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.parts i { grid-column: 2; font: 500 11px/1.4 var(--mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.street-k { margin-top: clamp(44px, 7vh, 76px); }
.street { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px) clamp(14px, 1.6vw, 24px); margin-top: 22px; }
.street img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.street p { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule-2); font-size: 16px; }
.street b { font-weight: 600; font-stretch: 108%; letter-spacing: -.01em; }

/* ---------- 03 rules and regs: each rule lights up the window or door it applies to ---------- */
.regs .scene-pin { --sw: min(58vw, calc((100svh - var(--bar-h) - 90px) * 1.6)); }
.regs .scene-pin { display: grid; grid-template-columns: minmax(300px, 1fr) var(--sw); column-gap: clamp(28px, 3.4vw, 64px); align-items: center; padding: calc(var(--bar-h) + 20px) var(--gutter) 24px; }
.regs-copy { max-width: 470px; }
.regs-pic { position: relative; width: var(--sw); aspect-ratio: 16 / 10; overflow: hidden; outline: 1px solid var(--rule-2); outline-offset: 7px; }
.regs-pic img { width: 100%; height: 100%; object-fit: cover; }
.spot { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
  border: 2px solid var(--blue); border-radius: 3px; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  box-shadow: 0 0 0 4px rgba(51, 104, 165, .22), 0 0 0 200vmax rgba(255, 255, 255, .4); }
.spot.is-on { opacity: 1; }
.rules { margin-top: 22px; border-top: 1px solid var(--rule-2); }
.rule { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--rule); transition: color .3s; }
.rule .n { font: 600 11.5px/1 var(--mono); letter-spacing: .02em; height: 22px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px currentColor; color: var(--ink-3); transition: color .3s; }
.rule p b { display: block; font-weight: 650; font-stretch: 106%; font-size: 16.5px; line-height: 1.3; }
.rule p span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.js:not(.rm) .rule { color: var(--ink-3); }
.js:not(.rm) .rule p span { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .45s var(--ease), opacity .3s, margin-top .3s; }
.js:not(.rm) .rule.is-on { color: var(--ink); }
.js:not(.rm) .rule.is-on .n { color: var(--link); }
.js:not(.rm) .rule.is-on p span { max-height: 7em; opacity: 1; margin-top: 4px; }
.aside { margin-top: 20px; font-size: 14.5px; color: var(--ink-3); max-width: 34em; }
.no-js .spot, .rm .spot { opacity: 1; box-shadow: 0 0 0 3px rgba(51, 104, 165, .22); }

/* ---------- 04 range ---------- */
.range { padding-block: var(--pad); }
.range-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 4.4vh, 44px); }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px; font-size: 15px; font-weight: 600; font-stretch: 106%; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--rule-2); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); transition: color .2s, background-color .2s, box-shadow .2s; }
.chip i { font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--ink-3); }
.chip:hover { color: var(--ink); background: var(--hover); }
.chip[aria-pressed="true"] { color: var(--on-ink); background: var(--ink); box-shadow: none; }
.chip[aria-pressed="true"] i { color: inherit; opacity: .7; }
.chip:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.no-js .range-bar { display: none; }
.range-bar + .tiles { margin-top: 26px; }
.tiles > li[hidden] { display: none; }
/* the schedule mark, as the item would be numbered on a quote */
.tag { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 6px 11px; font: 600 11px/1 var(--mono); letter-spacing: .04em; color: var(--ink); background: var(--tag-bg);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 7px 100%, 0 50%); }
/* the tiles: each product front-on in its own pool of studio light, turning to its three-quarter view on hover */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 1.8vw, 28px); margin-top: clamp(40px, 6vh, 64px); }
.tile { display: block; color: inherit; text-decoration: none; }
.tile-stage { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--stage);   /* the studio the theme's clips were rendered in */
  box-shadow: 0 0 0 1px var(--edge); transition: box-shadow .45s var(--ease), transform .55s var(--ease); }
.tile-stage img, .tile-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-stage video { opacity: 0; transition: opacity .2s; }
.tile.is-ready .tile-stage video { opacity: 1; }
.tile-k { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-2); font-size: 19px; font-weight: 650; font-stretch: 110%; letter-spacing: -.015em; line-height: 1.25; }
.tile-v { display: block; margin-top: 5px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; max-width: 30em; }
.tile-go { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; font-weight: 600; font-stretch: 106%; font-size: 15.5px; color: var(--link); transition: gap .25s var(--ease); }
.tile-go::before { content: ""; flex: none; width: 22px; height: 22px; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); background: var(--blue)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4.5v7l5.5-3.5z' fill='%23fff'/%3E%3C/svg%3E") center / 16px no-repeat; }
.tile:hover .tile-stage, .tile:focus-visible .tile-stage { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--edge-hi), 0 30px 50px -36px rgba(0, 0, 0, .45); }
.tile:hover .tile-go, .tile:focus-visible .tile-go { gap: 13px; }
.tile:focus-visible { outline: none; }
.tile:focus-visible .tile-stage { outline: 2px solid var(--blue); outline-offset: 3px; }
.rm .tile-stage, .rm .tile-go { transition: none; }
.rm .tile:hover .tile-stage { transform: none; }
.tile-more { align-self: start; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: clamp(20px, 2.4vw, 36px); background: var(--stage); box-shadow: 0 0 0 1px var(--edge); }
.also-k { font: 500 11.5px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.also-list { display: flex; flex-wrap: wrap; gap: 8px; }
.also-list li { font-size: 15px; padding: 6px 11px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-2); }

/* ---------- how it's built: one product's build film over the whole screen, the step card over its floor ---------- */
.how { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--stage); color: var(--ink); overflow: hidden; }
.how::backdrop { background: rgba(0, 0, 0, .35); }
.how[open] { animation: how-in .45s var(--ease) both; }
@keyframes how-in { from { opacity: 0; transform: scale(.985); } }
.rm .how[open] { animation: none; }
.how-stage { position: absolute; left: 50%; top: 50%; width: min(100vw, calc(100svh * 16 / 9)); aspect-ratio: 16 / 9; transform: translate(-50%, -50%); }
.how-stage video { width: 100%; height: 100%; display: block; object-fit: contain; }
.how-card { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(18px, 4vh, 40px); width: min(400px, calc(100vw - 2 * var(--gutter)));
  padding: 16px 18px 14px; background: var(--frost); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 0 0 1px var(--rule-2), inset 0 0 0 6px var(--frost-edge), inset 0 0 0 7px var(--rule), 0 24px 50px -34px rgba(0, 0, 0, .45); }
.how-title { margin-top: 12px; font-size: 26px; font-weight: 650; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.1; }
.how-card .hud-n { margin-top: 16px; }
.how-tape { margin-top: 8px; width: 100%; }
.how-tape .tape-marks button { position: absolute; bottom: 11px; left: var(--x); transform: translateX(-50%); padding: 4px 2px; font: 500 10.5px/1 var(--mono); color: var(--ink-3); transition: color .25s; }
.how-tape .tape-marks button.is-on { color: var(--ink); }
.how-tape .tape-marks button.is-done { color: var(--link); }
.how-tape .tape-marks button:hover { color: var(--ink); }
.how-ctl { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.how-play .i-replay { display: none; fill: var(--ink); stroke: none; }
.how-play .i-replay path:first-child { fill: none; stroke: var(--ink); }
.how-play.is-ended .i-replay { display: block; }
.how-play.is-ended .i-pause, .how-play.is-ended .i-play { display: none; }
.rm .how-ctl .how-play { display: inline-grid; }   /* with reduced motion the film waits for this button */
.how-steps { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.how-x { position: absolute; z-index: 3; top: clamp(14px, 3vh, 28px); right: var(--gutter); width: 44px; height: 44px; display: grid; place-items: center;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: var(--frost); box-shadow: inset 0 0 0 1px var(--rule-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s; }
.how-x:hover { background: var(--card); }
.how-x svg { width: 16px; height: 16px; }
.how-nav { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(18px, 4vh, 40px); display: flex; gap: 10px; }
.how-step { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; font-weight: 600; font-stretch: 106%; font-size: 15px;
  background: var(--frost); box-shadow: 0 0 0 1px var(--rule-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s; }
.how-step:hover { background: var(--card); }
.how-arrow { color: var(--link); }
html.how-open { overflow: hidden; }

/* ---------- 05 quote: the real pages, laid one on another ---------- */
.quote .scene-pin { --sw: min(54vw, calc((100svh - var(--bar-h) - 110px) * 1.4157)); }
.quote .scene-pin { display: grid; grid-template-columns: minmax(300px, 1fr) var(--sw); column-gap: clamp(28px, 3.4vw, 64px); align-items: center; padding: calc(var(--bar-h) + 24px) var(--gutter) 32px; }
.quote-copy { max-width: 440px; }
.pages { position: relative; width: var(--sw); aspect-ratio: 1754 / 1239; }
.page { position: absolute; inset: 0; width: 100%; height: 100%; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 26px 50px -30px rgba(0, 0, 0, .45);
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotate(var(--rot, 0deg)); transform-origin: 50% 100%; }
.js:not(.rm) .page { --ty: 115%; opacity: 0; }
.js:not(.rm) .page.is-in { opacity: 1; }
.no-js .pages, .rm .pages { width: auto; aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.no-js .page, .rm .page { position: static; height: auto; }
.rows-s { margin-top: 26px; border-top: 1px solid var(--rule); }
.rows-s .row { grid-template-columns: 26px minmax(0, 1fr); padding: 14px 0; }
.rows-s .row .n { padding-left: 0; }
.rows-s .row .k { font-size: 16.5px; line-height: 1.45; }
.js:not(.rm) .quote .row { color: var(--ink-3); transition: color .3s; }
.js:not(.rm) .quote .row.is-on { color: var(--ink); }
.quote .row.is-on .n { color: var(--link); }

/* ---------- 06 lead to order · 07 order to completion: the two journeys ----------
   One pinned scene each. A rail of steps runs across the top; under it is the step in hand, its words on the left
   and the app itself on the right: a real recording that the scroll plays through. A step's marks tick off as its
   recording runs (statuses on the way to an order, the order's stages on the way to completion). */
.journey { position: relative; z-index: 1; }
.journey .scene-pin { display: grid; grid-template-rows: auto auto minmax(0, 1fr);
  padding: calc(var(--bar-h) + clamp(12px, 3vh, 30px)) max(var(--gutter), calc((100vw - 1400px) / 2)) clamp(14px, 3vh, 32px); }
.jr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 48px; }
.jr-title { margin-top: 14px; font-weight: 650; font-stretch: 112%; letter-spacing: -.028em; line-height: 1; font-size: clamp(28px, 3.5vw, 56px); text-wrap: balance; }
.jr-lede { max-width: 27em; padding-bottom: 5px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.jr-side { max-width: 27em; padding-bottom: 1px; }
.jr-side .jr-lede { max-width: none; padding-bottom: 0; }
.jr-side .next { position: static; margin-top: 2px; padding: 6px 0 2px; }
.jr-lede i { font-style: normal; white-space: nowrap; }
.jr-lede .lg-opt { padding: 1px 6px; border: 1px dashed var(--rule-2); }
.jr-lede .lg-ex { padding: 1px 6px; color: var(--amber); background: var(--amber-bg); }

/* the rail: a rule marked off in steps, filling as the journey runs; each mark jumps to its step */
.jr-rail { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: clamp(12px, 2.4vh, 24px); --tick: var(--rule-2); }
.jr-rail::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 11px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px calc(100% / (var(--n) * 8))) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px calc(100% / var(--n))) left bottom / 100% 11px no-repeat; }
.jr-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--link); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
.jr-rail button { display: flex; align-items: baseline; gap: 9px; width: 100%; padding: 6px 8px 19px 0; text-align: left; white-space: nowrap;
  font-size: 15.5px; font-weight: 600; font-stretch: 106%; color: var(--ink-3); transition: color .25s; }
.jr-rail button b { font: 500 11px/1 var(--mono); }
.jr-rail button:hover, .jr-rail li.is-on button { color: var(--ink); }
.jr-rail li.is-done button { color: var(--ink-2); }
.jr-rail li.is-on button b, .jr-rail li.is-done button b { color: var(--link); }
.jr-rail button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* the steps, one on another; only the one in hand shows */
.jr-steps { position: relative; min-height: 0; margin-top: clamp(10px, 2.2vh, 24px); }
.jr-step { display: grid; grid-template-columns: minmax(280px, .6fr) minmax(0, 1.6fr); column-gap: clamp(24px, 3.6vw, 64px); align-items: center; }
.js:not(.rm) .jr-step { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .32s; }
.js:not(.rm) .jr-step.is-on { opacity: 1; pointer-events: auto; }
.js:not(.rm) .jr-copy { transform: translateY(20px); transition: transform .6s var(--ease); }
.js:not(.rm) .jr-step.is-past .jr-copy { transform: translateY(-20px); }
.js:not(.rm) .jr-shot { transform: translateX(7%) scale(.965); transition: transform .7s var(--ease); }
.js:not(.rm) .jr-step.is-past .jr-shot { transform: translateX(-7%) scale(.965); }
.js:not(.rm) .jr-step.is-on .jr-copy, .js:not(.rm) .jr-step.is-on .jr-shot { transform: none; }

.jr-copy { max-width: 440px; }
.jr-who { font: 500 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.jr-who b { color: var(--link); font-weight: 600; margin-right: 8px; }
.jr-k { margin-top: 14px; font-size: clamp(24px, 2.35vw, 37px); font-weight: 650; font-stretch: 110%; letter-spacing: -.022em; line-height: 1.07; text-wrap: balance; }
.jr-t { margin-top: 14px; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.jr-note { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
/* marks: done unless the scroll has yet to reach them. Dashed = only when the job needs it; amber = when something goes wrong */
.jr-marks { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.jr-marks li { position: relative; padding: 8px 11px 8px 27px; font-size: 13.5px; line-height: 1; color: var(--ink);
  background: var(--mark-bg); box-shadow: inset 0 0 0 1px var(--mark-line); transition: color .3s, background-color .3s, box-shadow .3s; }
.jr-marks li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ok); transition: background-color .3s, box-shadow .3s; }
.js:not(.rm) .jr-marks li[data-t]:not(.is-on) { color: var(--ink-3); background: transparent; box-shadow: inset 0 0 0 1px var(--rule-2); }
.js:not(.rm) .jr-marks li[data-t]:not(.is-on)::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.jr-marks li.opt { color: var(--ink-2); background: transparent; box-shadow: none; outline: 1px dashed var(--rule-2); outline-offset: -1px; }
.jr-marks li.opt::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.jr-marks li.ex { color: var(--amber); background: var(--amber-bg); box-shadow: none; }
.jr-marks li.ex::before { border-radius: 0; transform: rotate(45deg); background: var(--mark-ex); }
/* the line this step writes on the record */
.jr-log { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.jr-log time { font: 500 12.5px/1.6 var(--mono); color: var(--link); white-space: nowrap; }
.js:not(.rm) .jr-log { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.js:not(.rm) .jr-log.is-on { opacity: 1; transform: none; }

/* the screen: as large as its space allows, at the recording's own shape */
.jr-shot { container-type: size; display: grid; place-items: center; align-self: stretch; min-width: 0; min-height: 0; }
/* each screen is a pane: the frame takes 10px on every side, so the screen is sized inside that */
.dev { position: relative; width: min(100cqw - 22px, calc((100cqh - 22px) * var(--arn))); aspect-ratio: var(--ar); }
.dev img, .dev video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.dev video { opacity: 0; transition: opacity .25s; }
.jr-shot.is-ready .dev video { opacity: 1; }
.rm .dev video, .no-js .dev video { display: none; }

/* the order, raised: a job card that fills in line by line */
.ordercard { width: min(480px, 100cqw); padding: 22px 26px 12px; background: var(--card); color: var(--ink);
  box-shadow: 0 0 0 1px var(--rule-2), inset 0 0 0 7px var(--card), inset 0 0 0 8px var(--rule), 0 40px 80px -42px rgba(0, 0, 0, .42); }
.oc-head { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0 12px; border-bottom: 1px solid var(--rule); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.oc-head span:first-child { color: var(--ink); font-weight: 600; }
.oc-ref { margin-top: 16px; font: 500 13px/1 var(--mono); letter-spacing: .02em; color: var(--blue); }
.oc-addr { margin-top: 7px; font-size: 25px; font-weight: 650; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; }
.oc-what { margin-top: 5px; font-size: 15px; color: var(--ink-2); }
.oc-amt { display: flex; align-items: baseline; gap: 9px; margin-top: 14px; }
.oc-amt b { font-size: 31px; font-weight: 650; font-stretch: 108%; letter-spacing: -.02em; }
.oc-amt span { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.oc-made { margin-top: 14px; border-top: 1px solid var(--rule); }
.oc-made li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); font-size: 15px; transition: opacity .3s; }
.oc-made li:last-child { border-bottom: 0; }
.oc-made li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; border-radius: 50%; transition: background-color .3s, transform .4s var(--ease);
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.js:not(.rm) .oc-made li:not(.is-on) { opacity: .3; }
.js:not(.rm) .oc-made li:not(.is-on)::before { background-color: var(--dot-off); transform: scale(.78); }

/* without motion or script: every step in turn, its screen beside it */
.no-js .journey .scene-pin, .rm .journey .scene-pin { display: block; }
.no-js .jr-rail, .rm .jr-rail { display: none; }
.no-js .jr-steps, .rm .jr-steps { display: grid; gap: clamp(44px, 8vh, 84px); margin-top: clamp(32px, 6vh, 56px); }
.no-js .jr-shot, .rm .jr-shot { container-type: normal; }
.no-js .dev, .rm .dev { width: calc(100% - 22px); margin: 11px; }
.no-js .dev-phone .dev, .rm .dev-phone .dev { width: min(290px, 72%); }
.no-js .dev-panel .dev, .rm .dev-panel .dev { width: min(430px, 90%); }
.no-js .ordercard, .rm .ordercard { width: min(440px, 100%); }
@media (max-height: 780px) and (min-width: 1068px) {
  .jr-note { display: none; }
  .jr-t { font-size: 15.5px; margin-top: 10px; }
  .jr-marks { margin-top: 14px; }
  .jr-log { margin-top: 12px; padding-top: 10px; }
}

.play-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule-2); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.play-btn:hover { background: rgba(0, 0, 0, .06); }
.play-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.play-btn .i-play { display: none; fill: var(--ink); stroke: none; }
.play-btn.is-paused .i-play { display: block; }
.play-btn.is-paused .i-pause { display: none; }
.no-js .play-btn, .rm .play-btn { display: none; }

/* ---------- 08 team ---------- */
.team { padding-block: var(--pad); }
.crew { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 6vh, 64px); align-items: start; }
.crew-roles { display: grid; border-top: 1px solid var(--rule-2); }
.crew-roles button { text-align: left; display: flex; align-items: baseline; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--rule); font-size: 19px; font-weight: 600; font-stretch: 108%; letter-spacing: -.012em; color: var(--ink-3); transition: color .2s; position: relative; }
.crew-roles button b { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.crew-roles button:hover { color: var(--ink-2); }
.crew-roles button[aria-selected="true"] { color: var(--ink); }
.crew-roles button[aria-selected="true"] b { color: var(--link); }
.crew-roles button[aria-selected="true"]::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 1.5px; background: var(--link); }
.crew-panel p { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.4; max-width: 30em; color: var(--ink-2); text-wrap: pretty; }
.crew-panel p b { color: var(--ink); font-weight: 650; }
.gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(14px, 2vw, 28px); margin-top: 22px; }
.gets li { position: relative; padding: 12px 0 0 0; border-top: 1px solid var(--rule-2); font-size: 15.5px; line-height: 1.4; font-weight: 550; }
.gets li::before { content: ""; position: absolute; left: 0; top: -1px; width: 22px; height: 2px; background: var(--link); }
.crew-panel .pane { margin: 38px 10px 10px; }
.crew-panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 0 0; }
.js .crew-panel[hidden] { display: none; }
.no-js .crew-roles { display: none; }
.no-js .crew { grid-template-columns: 1fr; }
.no-js .crew-panels { display: grid; gap: 56px; }

/* ---------- 09 security ---------- */
/* six safeguards, each its own colour: the scroll brings one forward at a time and draws its icon on a glass tile */
.lock .scene-pin { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 6vw, 110px); align-items: center; padding: calc(var(--bar-h) + 24px) max(var(--gutter), calc((100vw - 1280px) / 2)) 28px; }
.lock-copy { max-width: 520px; }
.locks { margin-top: 26px; border-top: 1px solid var(--rule-2); }
.lockitem { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink-3); transition: color .3s; }
.lockitem p b { display: block; font-weight: 650; font-stretch: 106%; font-size: 17px; line-height: 1.3; padding-top: 9px; }
.lockitem p span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.lock-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(150deg, #2c2c2e, #141416);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), inset 0 0 0 1px rgba(255, 255, 255, .05); transition: filter .4s, box-shadow .4s; }
.lock-svg { width: 26px; height: 26px; }
.lk { fill: none; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: var(--off, 0); }
.lkf { opacity: calc(var(--fill, 1) * .26); }
.js:not(.rm) .lockitem p span { height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: height .45s var(--ease), opacity .3s, margin-top .3s; }
.js:not(.rm) .lockitem .lock-ico { filter: grayscale(1) brightness(.75); }
.js:not(.rm) .lockitem.is-on { color: var(--ink); }
.js:not(.rm) .lockitem.is-on p span { height: 2.9em; opacity: 1; margin-top: 4px; }   /* two lines, whichever item is open */
.js:not(.rm) .lockitem.is-on .lock-ico { filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 22px -4px var(--c2); }
.vault { position: relative; width: min(540px, 40vw, calc(100svh - var(--bar-h) - 110px)); aspect-ratio: 1; justify-self: center; --g1: #63e6be; --g2: #12b886; --spin: 0deg; --arc: 0; --pulse: 0; }
.vault-glow { position: absolute; inset: 2%; border-radius: 50%; background: radial-gradient(closest-side, var(--g2), transparent); opacity: calc(.2 + var(--pulse) * .28); filter: blur(34px); transition: background .7s; }
.vault-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(var(--spin)); }
.vault-ring circle { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: .5; stroke-dasharray: .5 1.5; }
.vault-ring .vault-arc { stroke: var(--g1); stroke-width: 1; stroke-dasharray: var(--arc) 100; stroke-linecap: round; transition: stroke .7s; }
.vault-tile { position: absolute; inset: 14%; border-radius: 24%; overflow: hidden; background: linear-gradient(150deg, #2b2b2e 0%, #141416 58%, #0b0b0c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 0 1px rgba(0, 0, 0, .7), 0 50px 90px -40px rgba(0, 0, 0, .95); }
.vault-tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .09), transparent 42%); pointer-events: none; }
.vault-ico { position: absolute; left: 20%; top: 20%; width: 60%; height: 60%; opacity: 0; transform: scale(.86) translateY(4%); filter: drop-shadow(0 0 16px var(--g2)); transition: opacity .45s, transform .7s var(--ease); }
.vault-ico.is-on { opacity: 1; transform: none; }
.vault-n { position: absolute; left: 0; right: 0; bottom: -3%; text-align: center; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.vault-n b { color: var(--g1); font-weight: 600; transition: color .7s; }
.no-js .vault, .rm .vault { display: none; }
.no-js .lock .scene-pin, .rm .lock .scene-pin { display: block; padding-inline: var(--gutter); }
.no-js .lock-copy, .rm .lock-copy { max-width: none; }
.no-js .locks, .rm .locks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.lock-defs { position: absolute; }

/* ---------- icons: the site's own set, on a 32 grid in one line weight; the blue part is the part that matters ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { flex: none; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; overflow: visible; }
.sprite .a { stroke: var(--ico-a, var(--blue)); }
.sprite .f { fill: var(--ico-a, var(--blue)); stroke: none; }
.sprite .t { fill: var(--ico-t, rgba(51, 104, 165, .18)); stroke: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- what changes: the paper trail beside the one record ----------
   Each hand-over is a row. Down the "without" column the job is carried on paper: a different thing every time,
   joined by a dashed line that is broken at every row by "typed again". Down the "with" column it is one unbroken
   line, which fills as the reader scrolls, and the record card beside it gains a line with every row. */
.change, .spec, .faq { position: relative; z-index: 1; padding-block: var(--pad); }
.trail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 344px); column-gap: clamp(30px, 4.4vw, 68px); align-items: start; margin-top: clamp(36px, 6vh, 60px); }
.trail-head, .trail-row { display: grid; grid-template-columns: 154px minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(14px, 2vw, 30px); }
.trail-head { padding: 0 0 10px; border-bottom: 1px solid var(--rule-2); font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.trail-head span:last-child { color: var(--link); }
.trail-row { --pt: 15px; --l1: var(--rule-2); --l2: var(--rule-2); border-bottom: 1px solid var(--rule); }
.trail-k { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; align-self: start; padding-top: calc(var(--pt) + 11px); font-size: 17.5px; font-weight: 650; font-stretch: 106%; letter-spacing: -.012em; line-height: 1.3; }
.trail-k b { font: 600 12px/1 var(--mono); color: var(--link); }
.trail-was, .trail-now { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: var(--pt) 0 calc(var(--pt) + 1px); font-size: 15.5px; line-height: 1.45; }
.trail-was > span:last-child, .trail-now > span:last-child { align-self: center; min-height: 0; }
.trail-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; transition: background-color .35s, color .35s; }
.trail-was { color: var(--ink-3); }
.trail-was .trail-ico { background: var(--paper); box-shadow: inset 0 0 0 1px var(--paper); outline: 1.5px dashed var(--rule-2); outline-offset: -1.5px; --ico-a: currentColor; }
.trail-now { color: var(--ink); font-weight: 550; }
.trail-now .trail-ico { background: var(--blue); color: #fff; --ico-a: #fff; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
/* the two runs */
.trail-was::after, .trail-now::after { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; }
.trail-was::after { border-left: 1.5px dashed var(--rule-2); }
.trail-now::after { width: 2px; background: linear-gradient(var(--l1) 0 calc(var(--pt) + 23px), var(--l2) calc(var(--pt) + 23px) 100%); transition: background .35s; }
.trail-row:first-child .trail-was::after, .trail-row:first-child .trail-now::after { top: calc(var(--pt) + 23px); }
.trail-row:first-child .trail-now::after { background: var(--l2); }
.trail-row:last-child .trail-was::after, .trail-row:last-child .trail-now::after { bottom: auto; height: calc(var(--pt) + 23px); }
.trail-row:last-child .trail-now::after { background: var(--l1); }
.trail-row + .trail-row .trail-was::before { content: "typed again"; position: absolute; z-index: 2; left: 0; top: 0; transform: translateY(-50%); padding: 3px 6px 2.500px;
  font: 600 9px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; color: var(--amber); background: var(--amber-solid); }
.trail-row, .no-js .trail-row, .rm .trail-row { --l1: var(--blue); --l2: var(--blue); }
/* with a script the line fills as it is reached; the steps still ahead wait in outline */
.js:not(.rm) .trail-row:not(.is-on) { --l1: var(--rule-2); }
.js:not(.rm) .trail-row:not(.is-past) { --l2: var(--rule-2); }
.js:not(.rm) .trail-row:not(.is-on) .trail-now { color: var(--ink-3); font-weight: 400; }
.js:not(.rm) .trail-row:not(.is-on) .trail-now .trail-ico { background: var(--tint-solid); color: var(--ink-3); --ico-a: var(--ink-3); }
.trail-now { transition: color .35s; }

/* the one record: a job card that gains a line with every hand-over */
.record { position: sticky; top: calc(var(--bar-h) + 30px); margin: 10px; padding: 18px 20px 12px; color: var(--ink); }
.record .oc-head span:last-child { color: var(--ok); font-weight: 600; }
.record-top { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; margin-top: 14px; }
.record-thumbs { display: flex; gap: 6px; }
.record-thumbs img { width: 50px; height: 50px; object-fit: cover; box-shadow: 0 0 0 1px var(--rule-2); }
.record-top b { display: block; font-size: 18px; font-weight: 650; font-stretch: 108%; letter-spacing: -.018em; line-height: 1.2; }
.record-top p span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-2); }
.record-lines { margin-top: 14px; border-top: 1px solid var(--rule); }
.record-lines li { display: grid; grid-template-columns: 17px 16px minmax(0, 1fr) auto; column-gap: 9px; align-items: center; padding: 8.500px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.2; transition: opacity .35s; }
.record-lines li::before { content: ""; width: 17px; height: 17px; border-radius: 50%; transition: background-color .35s, transform .4s var(--ease);
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.600' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.record-lines b { font: 600 11px/1 var(--mono); color: var(--blue); }
.record-lines i { font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--ink-3); white-space: nowrap; }
.js:not(.rm) .record-lines li:not(.is-on) { opacity: .3; }
.js:not(.rm) .record-lines li:not(.is-on)::before { background-color: var(--dot-off); transform: scale(.78); }
.record-foot { padding: 11px 0 2px; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }

/* ---------- the schedule: rows that open (the specification, the questions) ---------- */
.sched { margin-top: clamp(36px, 6vh, 60px); border-top: 1px solid var(--rule-2); }
.sched details { border-bottom: 1px solid var(--rule); }
.sched summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 28px; column-gap: 14px; align-items: center; padding: 17px 2px; cursor: pointer; list-style: none; }
.sched summary::-webkit-details-marker { display: none; }
.sched summary b { font: 600 12px/1 var(--mono); color: var(--link); }
.sched summary span { font-size: clamp(18px, 1.55vw, 22px); font-weight: 650; font-stretch: 106%; letter-spacing: -.014em; line-height: 1.25; transition: color .2s; }
.sched summary i { font: 500 11.5px/1 var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.sched summary::after { content: ""; width: 28px; height: 28px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
  transition: background-color .2s, color .2s, background-size .25s var(--ease); }
.sched details[open] summary::after { color: var(--on-ink); background-color: var(--ink); background-size: 11px 1.5px, 1.5px 0; box-shadow: none; }
.sched summary:hover span { color: var(--link); }
.sched summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.sched .body { padding: 0 44px 24px 48px; }
.sched .body p { max-width: 44em; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
/* ---------- the specification: four parts, each with its lines and a real screen ---------- */
.kit { margin-top: clamp(36px, 6vh, 60px); }
.kit-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kit-tabs button { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 15px; row-gap: 5px; align-items: center; padding: 16px 18px 15px; text-align: left; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--rule-2); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); transition: background-color .25s, color .25s, box-shadow .25s; }
.ico-l { grid-row: span 2; width: 38px; height: 38px; stroke-width: 1.35; }
.kit-n { align-self: end; font-size: clamp(17px, 1.5vw, 21px); font-weight: 650; font-stretch: 106%; letter-spacing: -.014em; line-height: 1.15; }
.kit-n b, .kit-h b { margin-right: 9px; font: 600 12px/1 var(--mono); letter-spacing: 0; color: var(--link); }
.kit-tabs i { align-self: start; font: 500 11px/1 var(--mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.kit-tabs button:hover { color: var(--ink); background: var(--hover-card); }
.kit-tabs button[aria-selected="true"] { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-2), inset 0 3px 0 var(--blue); }
.kit-tabs button:not([aria-selected="true"]) .ico { --ico-a: currentColor; }
.kit-tabs button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.kit-panel { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); column-gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 12px; padding: clamp(20px, 2.6vw, 36px); background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-2); }
.js .kit-panel[hidden] { display: none; }
.kit-h { display: none; margin-bottom: 14px; font-size: 24px; font-weight: 650; font-stretch: 108%; letter-spacing: -.018em; }
.kit-rows { margin: 0; }
.kit-rows div { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; padding: 11px 0 12px; border-top: 1px solid var(--rule); }
.kit-rows div:first-child { padding-top: 0; border-top: 0; }
.kit-rows .ico { grid-row: span 2; box-sizing: content-box; width: 26px; height: 26px; padding: 8px; margin-top: 2px; color: var(--ink); background: var(--tint); }
.kit-rows dt { font: 500 11.5px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.kit-rows dd { margin: 1px 0 0; font-size: 15.5px; line-height: 1.45; }
.kit-fig { position: sticky; top: calc(var(--bar-h) + 24px); }
.kit-shot { margin: 10px; }
.kit-shot img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 0 0; }
.kit-shot .stamp { position: absolute; z-index: 1; right: 14px; bottom: 14px; color: var(--blue); background: rgba(255, 255, 255, .94); transform: rotate(-2deg); }
.kit-fig figcaption { margin: 16px 10px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
/* without a script: no tabs, every part in turn under its own name */
.no-js .kit-tabs { display: none; }
.no-js .kit-h { display: block; }
.no-js .kit-fig { position: static; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.faq-grid .sched { margin-top: 0; }
.faq-say .h2 { font-size: clamp(34px, 4.1vw, 66px); }
.faq-say .lede a { color: var(--link); text-underline-offset: 3px; }

/* ---------- 10 pricing: three packages as framed price cards ---------- */
.pricing { position: relative; z-index: 1; padding-block: var(--pad); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 2.8vw, 44px); margin-top: clamp(40px, 6vh, 64px); padding: 10px; }
.plan { display: grid; grid-template-rows: auto auto auto auto 1fr auto auto; padding: clamp(20px, 2vw, 28px); }
.plan-main { --fl: var(--link); box-shadow: 0 0 0 1px var(--fl), 0 0 0 9px var(--frame-fill, var(--card)), 0 0 0 10px var(--fl), 0 50px 90px -46px rgba(51, 104, 165, .55); }
.plan-head { display: flex; align-items: center; gap: 12px; }
.plan-tag { position: static; background: var(--ink); color: var(--on-ink); }
.plan-main .plan-tag { background: var(--blue); color: #fff; }
.plan-name { font-size: clamp(21px, 1.8vw, 25px); font-weight: 650; font-stretch: 110%; letter-spacing: -.018em; line-height: 1.1; }
.plan-for { margin-top: 9px; font-size: 15.5px; line-height: 1.4; color: var(--ink-2); }
.plan-price { margin-top: clamp(18px, 2.4vh, 26px); }
.plan-price b { display: block; font-size: clamp(50px, 5vw, 76px); font-weight: 650; font-stretch: 112%; letter-spacing: -.035em; line-height: .95; }
.plan-price .plan-ask { font-size: clamp(34px, 3.1vw, 46px); line-height: 1.2; padding-block: clamp(7px, .9vw, 14px); letter-spacing: -.028em; }
/* what the figure is for, on its own dimension line */
.plan-price span { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.plan-price span::before, .plan-price span::after { content: ""; height: 9px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .6; }
.plan-price span::before { flex: 0 0 14px; border-left: 1px solid currentColor; }
.plan-price span::after { flex: 1 1 0; border-right: 1px solid currentColor; }
.plan-offer { justify-self: start; margin: 20px 0 2px 3px; min-height: 42px; }
.plan-offer-none { visibility: hidden; }
.plan-list { align-self: start; margin-top: 20px; border-top: 1px solid var(--rule-2); }
.plan-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 13px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.35; }
.plan-list .ico { width: 24px; height: 24px; color: var(--ink-2); }
.plan-list b { font-weight: 650; }
.plan-list .plan-all { display: block; padding: 13px 0 7px; border-bottom: 0; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--link); }
.plan-fee { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule-2); font: 500 11.5px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.plan-fee b { font: 650 17px/1.2 var(--font); font-stretch: 106%; letter-spacing: -.01em; text-transform: none; text-align: right; color: var(--ink); }
.plan-fee s { margin-right: 6px; font-weight: 400; color: var(--ink-3); }
.plan .btn { margin-top: 18px; }
/* the quieter button: an outline, for a step that is a conversation and not a sign-up */
.btn-line { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); clip-path: none; }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }
.faq-say .lede a, .sched .body a { color: var(--link); text-underline-offset: 3px; }

/* ---------- start ---------- */
.start { padding-block: var(--pad); }
.glazed { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 84px); align-items: end; }
.steps3 { border-top: 1px solid var(--rule-2); }
.steps3 li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.steps3 b { grid-row: span 2; font: 600 12px/1.9 var(--mono); color: var(--link); }
.steps3 strong { font-size: 18px; font-weight: 650; font-stretch: 106%; letter-spacing: -.012em; line-height: 1.3; }
.steps3 span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.steps3-k { margin-bottom: 14px; }
.glazed { padding: clamp(36px, 6vw, 88px); background: linear-gradient(135deg, var(--glaze-a), var(--glaze-b) 60%, var(--glaze-c)); box-shadow: 0 0 0 1px var(--fl), inset 0 0 0 9px var(--glaze-ring), inset 0 0 0 10px var(--rule); }
.glazed::before { background-size: 10px 10px; }
.glazed .h2 { max-width: 14ch; }

/* ---------- title block ---------- */
.titleblock { padding-block: 48px 40px; position: relative; z-index: 1; }
.tb { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; border: 1px solid var(--rule-2); }
.tb-cell { padding: 14px 16px 16px; border-right: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.tb-cell:nth-child(4n) { border-right: 0; }
.tb-cell a { text-decoration: none; }
.tb-cell a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tb-k { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tb-brand { flex-direction: row; align-items: center; gap: 14px; }
.tb-brand span { display: flex; flex-direction: column; gap: 2px; color: var(--ink-2); }
.tb-brand b { color: var(--ink); font-size: 17px; font-stretch: 112%; letter-spacing: -.02em; }
.tb-note { grid-column: span 3; color: var(--ink-2); }
.tb-notes { grid-column: 1 / -1; border-right: 0 !important; }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px clamp(24px, 4vw, 56px); margin-top: 4px; }
.notes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); scroll-margin-top: calc(var(--bar-h) + 24px); }
.notes li b { font: 600 11px/1.85 var(--mono); color: var(--link); }
.notes li:target { background: rgba(51, 104, 165, .1); box-shadow: 0 0 0 6px rgba(51, 104, 165, .1); }
.tb-cell:last-child { border-right: 0; }
.tb-cell:nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- reveal on view ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- reduced motion and no JavaScript: a plain document ---------- */
.no-js .scene-pin, .rm .scene-pin { padding-block: calc(var(--bar-h) + 40px) 72px !important; }
.no-js .build-tape, .rm .build-tape { display: none; }
.no-js .storyboard, .rm .storyboard { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.storyboard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.storyboard span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.storyboard b { font: 500 11.5px/1 var(--mono); color: var(--link); margin-right: 6px; }
/* without a script the film can't build, so the stage shows the finished window rather than the blank grid */
.no-js .build-stage { background: url("/site/media/build-end.jpg") center / cover; }
.no-js .build-stage .poster { display: none; }
@media (max-width: 733px), (max-aspect-ratio: 1/1) {
  .no-js .build-stage { background-image: url("/site/media/build-m-end.jpg"); }
  .no-js .build-stage, .rm .build-stage { aspect-ratio: 4 / 5; max-width: 640px; margin-inline: auto; }
}
/* and in the dark, the dark window: with no script there is no switch, so the device's own setting decides.
   These two follow the light ones on purpose, or the light picture would win. */
@media (prefers-color-scheme: dark) {
  .no-js .build-stage { background-image: url("/site/media/build-dark-end.jpg"); }
}
@media (prefers-color-scheme: dark) and (max-width: 733px), (prefers-color-scheme: dark) and (max-aspect-ratio: 1/1) {
  .no-js .build-stage { background-image: url("/site/media/build-dark-m-end.jpg"); }
}

/* ---------- the bar names four places only, so it stays a bar on every laptop and tablet (drawn in a little on an
   upright tablet); it folds into a menu on a small tablet and a phone ---------- */
@media (min-width: 780px) and (max-width: 899px) {
  .bar-in { gap: 12px; }
  .index a { padding-inline: 10px; }
}
@media (max-width: 779px) {
  .index { display: none; position: absolute; left: 0; right: 0; top: var(--bar-h); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 18px; background: #161617; box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .5); }
  .bar.is-open .index { display: flex; }
  .index a { padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--rule); }
  .index a[aria-current] { box-shadow: none; color: var(--ink); }
  .index .index-signin { display: block; font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 16px; border-bottom: 0; }
  .bar-toggle { display: inline-block; margin-left: -6px; }
  .bar-signin { display: none; }
  .bar-in { gap: 12px; }
  .brand { margin-right: auto; }
}

/* ---------- tablet ---------- */
@media (max-width: 1067px) {


  .row { padding: 6px 2px 6px 0; }
  .row .k { font-size: 14px; }
  .storyboard { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  .street { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .regs .scene-pin, .quote .scene-pin { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; }
  .regs .scene-pin { --sw: min(calc(100vw - 2 * var(--gutter)), calc((100svh - var(--bar-h) - 460px) * 1.6)); }
  .quote .scene-pin { --sw: min(calc(100vw - 2 * var(--gutter)), calc((100svh - var(--bar-h) - 400px) * 1.4157)); }
  .regs-pic, .pages { order: 1; }
  .regs-copy, .quote-copy { order: 2; width: var(--sw); max-width: none; }
  .regs-copy .dim, .quote-copy .dim { display: none; }
  .rules { margin-top: 12px; }
  .aside { display: none; }

  .jr-side { display: none; }
  .jr-title { font-size: clamp(26px, 4.6vw, 44px); }
  /* the rail keeps its numbers; only the step in hand keeps its name, and takes the room it needs */
  .jr-rail { display: flex; }
  .jr-rail li:not(.jr-fill) { flex: 1 1 0; min-width: 0; }
  .jr-rail li.is-on { flex: 0 0 auto; }
  .jr-rail button span { display: none; }
  .jr-rail li.is-on button span { display: inline; }
  .jr-rail button { padding: 6px 12px 17px 0; font-size: 14.5px; }
  .jr-step { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; row-gap: clamp(12px, 2.4vh, 24px); }
  .jr-shot { grid-row: 1; place-items: end center; }   /* the screen sits on its words, any spare room above it */
  .jr-copy { grid-row: 2; max-width: none; }
  .js:not(.rm) .jr-copy, .js:not(.rm) .jr-step.is-past .jr-copy { transform: none; }
  .jr-k { margin-top: 8px; font-size: clamp(21px, 3.4vw, 30px); }
  .jr-t { margin-top: 8px; font-size: 15.5px; }
  .jr-marks { margin-top: 12px; }
  .jr-log { margin-top: 12px; padding-top: 10px; }
  .jr-note { display: none; }
  .no-js .jr-step, .rm .jr-step { grid-template-rows: auto auto; }
  .reg-grid, .faq-grid, .glazed { grid-template-columns: minmax(0, 1fr); }
  .called { grid-template-columns: minmax(0, 1fr); }
  .parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .plan { grid-template-rows: none; }
  .plan-offer-none { display: none; }
  .trail { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .record { position: static; width: min(440px, calc(100% - 20px)); }
  .kit-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-panel { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .kit-fig { position: static; order: -1; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .regs .next, .quote .next, .lock .next { display: none; }
  .crew { grid-template-columns: 1fr; }
  .crew-roles { display: flex; overflow-x: auto; border-top: 0; gap: 4px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .crew-roles::-webkit-scrollbar { display: none; }
  .crew-roles button { flex: none; border: 0; padding: 10px 14px; font-size: 16px; box-shadow: inset 0 0 0 1px var(--rule); }
  .crew-roles button[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .crew-roles button[aria-selected="true"]::after { display: none; }
  .lock .scene-pin { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 24px; }
  .vault { order: 1; width: min(46vw, calc(100svh - var(--bar-h) - 420px)); min-width: 200px; }
  .lock-copy { order: 2; max-width: none; }
  .lock-copy .dim { display: none; }
  .js:not(.rm) .lockitem:not(.is-on) { display: none; }
  .js:not(.rm) .lockitem.is-on p span { height: 4.35em; }   /* three lines on narrow screens */
  .js:not(.rm) .locks { border-top: 0; margin-top: 8px; }
  .no-js .locks, .rm .locks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb { grid-template-columns: 1fr 1fr; }
  .tb-cell { border-right: 0 !important; }
  .tb-cell:nth-child(2), .tb-cell:nth-child(4) { border-right: 1px solid var(--rule-2) !important; }
  .tb-brand, .tb-note { grid-column: 1 / -1; }
  .tb-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule-2); }
  .tb-cell:last-child { border-bottom: 0; }
}

/* ---------- phone ---------- */
@media (max-width: 733px) {
  body { font-size: 16px; }
  :root { --bar-h: 56px; }
  .btn-s { height: 34px; padding: 0 12px; font-size: 13.5px; --cut: 6px; }
  .bar-theme { display: none; }
  .index-theme { display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 16px; color: var(--ink-2); }
  .index-theme .ico { width: 20px; height: 20px; }
  .brand span { font-size: 16px; }
  .btn { height: 48px; padding: 0 20px; }


  .storyboard { grid-template-columns: 1fr 1fr !important; gap: 12px !important; padding-inline: var(--gutter); }

  .street { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .street::-webkit-scrollbar { display: none; }
  .street li { flex: 0 0 80vw; scroll-snap-align: center; }

  .regs .scene-pin { --sw: min(calc(100vw - 2 * var(--gutter)), calc((100svh - var(--bar-h) - 330px) * 1.6)); gap: 20px; }
  .quote .scene-pin { --sw: min(calc(100vw - 2 * var(--gutter)), calc((100svh - var(--bar-h) - 300px) * 1.4157)); gap: 20px; }
  .regs-copy .h3, .quote-copy .h3 { font-size: clamp(24px, 7vw, 30px); }
  .js:not(.rm) .rule:not(.is-on) { display: none; }
  .js:not(.rm) .rules { border-top: 0; margin-top: 6px; }
  .js:not(.rm) .quote .row:not(.is-on) { display: none; }
  .js:not(.rm) .rows-s { border-top: 0; margin-top: 8px; }
  .no-js .pages, .rm .pages { grid-template-columns: 1fr; }

  .chain b { font-size: clamp(21px, 6.2vw, 27px); gap: 6px; }
  .chain b::before { flex-basis: 6px; }
  .chain span { font-size: 11.5px; padding-right: 8px; }
  .next { display: none; }
  .reg-head span:nth-child(3), .reg-v { display: none; }
  .reg-head span:first-child { font-size: 0; }
  .reg-head span:first-child::before { content: "No."; font-size: 10.5px; }
  .dim-span { gap: 8px; }
  .dim-span::before { width: 20px; }
  .dim-span::after, .dim-span i::after { min-width: 10px; width: auto; }
  .dim-span i { gap: 8px; }
  .dim-span i::after { width: 10px; }
  .reg-head, .reg-list a { grid-template-columns: 28px minmax(0, 1fr) 17px; column-gap: 10px; }
  .reg-list a { padding: 13px 2px; }
  .called { padding: 10px 10px 0; gap: 22px; margin-top: 30px; }
  .parts { grid-template-columns: minmax(0, 1fr); }
  .balloons li { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11.5px; }
  .plate .stamp { display: none; }
  .gets { grid-template-columns: minmax(0, 1fr); }
  .gets li { padding: 10px 0; }
  /* the revision table, a step to a card: its name, then without and with */
  /* what changes, a hand-over to a card: its name, then the paper way and the FlashFix way under it */
  .trail-head { display: none; }
  .trail-rows { border-top: 1px solid var(--rule-2); }
  .trail-row { grid-template-columns: minmax(0, 1fr); padding: 14px 0 12px; }
  .trail-k { padding-top: 0; font-size: 17px; }
  .trail-was, .trail-now { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 8px 0 0; font-size: 15px; }
  .trail-ico { width: 40px; height: 40px; }
  .trail-ico .ico { width: 24px; height: 24px; }
  .trail-was::after, .trail-now::after, .trail-row + .trail-row .trail-was::before { content: none; }
  .record { width: calc(100% - 20px); }
  .kit-tabs { gap: 8px; }
  .kit-tabs button { padding: 12px 12px 11px; column-gap: 10px; }
  .ico-l { width: 30px; height: 30px; }
  .kit-panel { padding: 16px 14px 18px; }
  .kit-fig figcaption { font-size: 14px; }
  .sched summary { grid-template-columns: 26px minmax(0, 1fr) 28px; column-gap: 10px; padding: 15px 0; }
  .sched summary i { display: none; }
  .sched .body { padding: 0 0 20px 36px; }
  .steps3 strong { font-size: 17px; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .tag { left: 8px; top: 8px; padding: 5px 9px; font-size: 10px; }
  .chip { height: 36px; padding: 0 12px; font-size: 14px; }
  .tile-k { margin-top: 12px; padding-top: 10px; font-size: 16px; }
  .tile-v { display: none; }
  .tile-go { margin-top: 8px; font-size: 14px; gap: 7px; }
  .tile-go::before { width: 18px; height: 18px; background-size: 13px; }
  .tile-more { grid-column: 1 / -1; aspect-ratio: auto; }

  .journey .scene-pin { padding-top: calc(var(--bar-h) + 10px); padding-bottom: 12px; }
  .jr-head .dim { display: none; }
  .jr-title { margin-top: 0; font-size: clamp(22px, 6.4vw, 32px); }
  .jr-rail { margin-top: 8px; }
  .jr-rail button { padding: 4px 4px 15px 0; font-size: 13.5px; gap: 6px; }
  .jr-who { font-size: 11px; }
  .jr-k { font-size: clamp(20px, 5.6vw, 26px); }
  .jr-t { font-size: 14.5px; line-height: 1.42; }
  .jr-marks { gap: 5px; }
  .jr-marks li { padding: 6px 8px 6px 22px; font-size: 12px; }
  .jr-marks li::before { left: 8px; width: 7px; height: 7px; margin-top: -3.5px; }
  .jr-log { font-size: 13px; gap: 8px; }
  .jr-log time { font-size: 11.5px; }
  .ordercard { padding: 14px 16px 6px; }
  .oc-addr { font-size: 20px; }
  .oc-amt b { font-size: 24px; }
  .oc-made li { padding: 7px 0 7px 28px; font-size: 14px; }
  .tb { grid-template-columns: 1fr; }
  .tb-cell { border-right: 0 !important; }
  .lock .scene-pin { gap: 18px; }
  .vault { width: min(62vw, calc(100svh - var(--bar-h) - 380px)); }
  .lock-copy .h2 { font-size: clamp(30px, 8vw, 40px); }
  .no-js .locks, .rm .locks { grid-template-columns: 1fr; }
}

/* ---------- portrait screens: phones and upright tablets get the portrait film and hero, stacked ---------- */
@media (max-width: 733px), (max-aspect-ratio: 1/1) {
  /* the hero on an upright screen: words, then the home across the full width, then the four figures in a row */
  .hero { grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
  .hero-copy { justify-items: start; text-align: left; padding-top: 18px; }
  .hero-copy .dim-both::after { content: none; }
  .hero h1 { font-size: clamp(34px, 7.4vw, 60px); }
  .hero h1 br { display: inline; }
  .hero .lede { font-size: clamp(15.5px, 2.2vw, 18px); margin-top: 12px; }
  .hero .ctas { margin-top: 14px; gap: 8px 22px; justify-content: flex-start; }
  .hero .cta-note { margin-top: 6px; font-size: 12.5px; }
  .hero-pic { grid-template-rows: minmax(0, 1fr) auto; margin-top: 8px; }
  .hero-plate { height: min(100cqh, 58.5cqw); }
  .hero-facts { margin: 12px var(--gutter) clamp(10px, 2vh, 18px); }
  .hero-stamp { display: none; }
  .hd-tag { font-size: 0; gap: 0; }
  .hd-tag b { font-size: 9px; padding: 3px 6px; }
  .hero-cut b { font-size: 9px; letter-spacing: .06em; }
  .hero-cut b:first-child { right: 7px; }
  .hero-cut b:last-child { left: 7px; }
  .js:not(.rm) .build .scene-pin { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: calc(var(--bar-h) + 10px) 0 14px; }
  .js:not(.rm) .build-stage { position: relative; left: auto; top: auto; transform: none; order: 2; margin: 0 auto;
    width: min(100vw, calc((100svh - var(--bar-h) - 270px) * 4 / 5)); aspect-ratio: 4 / 5; }
  .build-head { position: static; order: 1; max-width: none; padding-inline: var(--gutter); }
  .build-head .dim { display: none; }
  .build-head .h2 { font-size: clamp(28px, 7.2vw, 46px); }
  .build-head .lede { margin-top: 8px; font-size: 14.5px; line-height: 1.4; }
  .build .next { display: none; }
  .js:not(.rm) .build.is-building .build-head { opacity: 1; transform: none; }
  .build-hud { position: static; order: 3; width: auto; margin-inline: var(--gutter); padding: 12px 14px 4px; }
  .hud-k { font-size: 18px; margin-top: 6px; }
  .build-hud .tape-marks { display: none; }
  /* how it's built on an upright screen: the 4:5 film, the step card under it */
  .how[open] { display: flex; flex-direction: column; }
  .how-stage { position: relative; left: auto; top: auto; transform: none; flex: none; margin: 64px auto 0;
    width: min(100vw, calc((100svh - 64px - 232px) * 4 / 5)); aspect-ratio: 4 / 5; }
  .how-card { position: relative; left: auto; bottom: auto; width: auto; margin: auto 12px 12px; padding: 12px 14px 10px; }
  .how-title { font-size: 20px; margin-top: 8px; }
  .how-card .hud-n { margin-top: 10px; }
  .how-card .hud-k { font-size: 17px; margin-top: 6px; }
  .how-tape .tape-marks { display: none; }
  .how-ctl { margin-top: 8px; }
  .how-nav { display: none; }
  .how-x { top: 10px; right: 12px; }
}

/* a short upright screen: the hero drops its second line of words, the build film its lede */
@media (max-aspect-ratio: 1/1) and (max-height: 700px), (max-width: 733px) and (max-height: 700px) {
  .hero .cta-note { display: none; }
  .hero .chain span { display: none; }
  .hero-facts { margin-bottom: 8px; }
}
/* a short upright screen has no room for the build film's second line */
@media (max-aspect-ratio: 1/1) and (max-height: 760px), (max-width: 733px) and (max-height: 760px) {
  .js:not(.rm) .build-head .lede { display: none; }
}

/* an upright tablet has room to spare: the words sit centred in the space above the home */
@media (min-width: 734px) and (max-aspect-ratio: 1/1) {
  .hero { grid-template-rows: minmax(min-content, 1fr) auto; }
  .hero-copy { align-content: center; justify-items: center; text-align: center; padding-block: 24px; }
  .hero-copy .dim-both::after { content: ""; }
  .hero .ctas { justify-content: center; }
  .hero-pic { grid-template-rows: auto auto; margin-top: 0; }
  .hero-stage { height: 58.5vw; }
}

/* an upright tablet: the build film's headline is larger than a phone's, so the film gives it the room. (With the
   phone's allowance the column was 49px taller than the screen: the headline slid under the bar and the step card
   lost its foot, which showed most after a jump from the bar.) */
@media (min-width: 734px) and (max-aspect-ratio: 1/1) {
  .js:not(.rm) .build-stage { width: min(100vw, calc((100svh - var(--bar-h) - 326px) * 4 / 5)); }
}
