/* night.css  (2026-11-16, seventh pass): the whole site in the homepage's black room.

   Loaded on every page patch-room.mjs has put in the room (class "room" on <html>), right after surfaces.css.
   It does three things:
     1. gives the role tokens their night values, so a page written in daylight reads in the room;
     2. hands the daylight back to what was drawn for the dark already (the "stages", listed by patch-room.mjs)
        and to the white sheets (the request form, the booking calendar);
     3. is the room's own hand: type, rules, the things every page shares.
   The homepage does not load it: site.css is the room there, and this file follows it. */

/* The page behind a page written in site.css (the homepage, the instruments) is the room too. style.css paints <html>
   pale, which showed in a phone's overscroll, under a short page's footer and as a light scrollbar. */
html:has(>body.s-page){background:#000;scrollbar-color:#3A4047 #000}

/* ---------- 1. the night ---------- */
/* (the second selector: bands that a later rule made light again, which the room takes back) */
html.room,html.room :is(.wk-hero,.room-night){
  --bg:#000;
  --bg2:#0B0E12;
  --bg3:#161B21;
  --surface:#0A0C0F;
  --fg:#F3F5F6;
  --fg2:#F3F5F6;
  --fg3:#F3F5F6;
  --blue-light:#0D1117;
  --amber:#CFB58A;
  --line:rgba(255,255,255,.16);
  --line2:rgba(255,255,255,.34);
  --glow:rgba(255,255,255,.05);
  --shadow-sm:none;
  --shadow:none;
  --shadow-lg:0 30px 80px -30px #000;
  --ink:#F3F5F6;
  --ink-soft:#F3F5F6;
  --fill:#F3F5F6;
  --fill-2:#FFFFFF;
  --on-fill:#000;
  --stage:#000;
  --stage-2:#0D1117;
  --on-stage:#F3F5F6;
  --st-red:#FF9385;
  --st-green:#72DB9C;
  --st-amber:#E4BC78;
  --amber-fill:#CFB58A;
  color-scheme:dark;
  background:#000;
}
html.room body{background:#000;color:var(--fg)}

/* ---------- 2. daylight, where it belongs ----------
   The declarations between the two day markers are the daylight values. patch-room.mjs copies them onto the list
   of stages below, so this is the one place they are written. */
html.room :where(.room-day,[data-stage]){
/* day:start */
  --bg:#F3F5F6;--bg2:#E8EDF0;--bg3:#D4DBE1;--surface:#FFFFFF;--fg:#000;--fg2:#000;--fg3:#1A1A1A;--blue-light:#E8EDF0;
  --amber:#977541;--line:#D4DBE1;--line2:#ADB9C3;--glow:rgba(30,86,160,.06);
  --shadow-sm:0 1px 2px rgba(15,26,47,.08),0 2px 6px rgba(15,26,47,.05);--shadow:0 1px 2px rgba(15,26,47,.07),0 10px 28px -8px rgba(15,26,47,.14);--shadow-lg:0 2px 6px rgba(15,26,47,.08),0 24px 56px -16px rgba(15,26,47,.22);
  --ink:#111C29;--ink-soft:#24394B;--fill:#111C29;--fill-2:#24394B;--on-fill:#FFFFFF;--on-stage:#F3F5F6;
  --st-red:#C81E1E;--st-green:#15803D;--st-amber:#8A5A00;--amber-fill:#CFB58A;
  color-scheme:light;
/* day:end */
}
/* stages:start (written by patch-room.mjs, do not edit by hand) */
:where(html.room) :where(.ai-box a:hover,
.band-photo,
.band__a a:hover,
.care-request:hover,
.city-content .city-cta,
.cs-body .qw-mechanical,
.cta,
.cta-primary,
.cta-primary:hover,
.ds-links a.pri,
.e4-row a.p,
.e4-row a.p:hover,
.footer,
.ft,
.gq-faq-section,
.gq-photo,
.hand__sms,
.lb-hand__b--sms,
.lc-negcta:hover,
.pi-table thead th:hover,
.pk-book,
.pk-hero,
.pk-tbl thead th,
.px-report-cover,
.qc-ai-head,
.qc-so a.qc-so-l:hover,
.qw-hero--model .qw-mechanical,
.ro-cta,
.ro-hero,
.rv-cta,
.rv-wrap .rv-cta,
.service-cta,
.sp-about-hero,
.sp-about-note,
.sp-about-visual,
.sp-city-ppi,
.sp-city-visual figcaption,
.sp-detail-photo>figcaption,
.sp-mini-package.is-recommended,
.sp-page--work .we-close,
.sp-page--work .we-hero__figure a,
.sp-page--work .we-photo,
.sp-rate-component figcaption,
.sp-warranty-number,
.sp-work-feature__story,
.sticky-cta__call,
.sx-final,
.sx-hero,
.tool-wrap .qc-ai-head,
.tr-head,
.tr-m.user,
.tr-msg--user,
.tw-claim,
.ucc-bar i,
.vp-travel,
.wc-cta.a,
.wc-cta.a:hover,
.wk-cta,
.wk-hero__actions a:first-child,
.wk-media a,
:is(.sym-hero,.article-hero,.rp-hero,.cs-hero,.hub-hero,.blog-hero,.tool-hero,.pi-hero,.ds-hero,.ro-hero,.em-hero,.wk-hero,.rv-hero,.tw-hero),
[data-model-viewer] [data-model-action]:hover,
body .aiw-head,
body .aiw-panel .aiw-cap .book,
body .aiw-panel .aiw-head,
[data-stage]){--bg:#F3F5F6;--bg2:#E8EDF0;--bg3:#D4DBE1;--surface:#FFFFFF;--fg:#000;--fg2:#000;--fg3:#1A1A1A;--blue-light:#E8EDF0;--amber:#977541;--line:#D4DBE1;--line2:#ADB9C3;--glow:rgba(30,86,160,.06);--shadow-sm:0 1px 2px rgba(15,26,47,.08),0 2px 6px rgba(15,26,47,.05);--shadow:0 1px 2px rgba(15,26,47,.07),0 10px 28px -8px rgba(15,26,47,.14);--shadow-lg:0 2px 6px rgba(15,26,47,.08),0 24px 56px -16px rgba(15,26,47,.22);--ink:#111C29;--ink-soft:#24394B;--fill:#111C29;--fill-2:#24394B;--on-fill:#FFFFFF;--on-stage:#F3F5F6;--st-red:#C81E1E;--st-green:#15803D;--st-amber:#8A5A00;--amber-fill:#CFB58A;color-scheme:light;}
:where(html.room) :where(.band-photo .bt--w,
.band-photo .bt--w:hover,
.bar-fill,
.bar-fill.done,
.bar-now,
.chip.out,
.city-content .city-cta .bt--a,
.city-content .city-cta .bt--a:hover,
.gr-act,
.gr-btn--amber,
.gr-tag.due,
.pt-hand__b--sms,
.rc-btn--amber,
.rc-call a,
.ro-btn,
.ro-tag,
.ro-warn,
.rp-dot,
.rp-opt__go--amber,
.rv-btn,
.rv-cta a,
.rv-wrap .rv-cta a,
.sms-cta,
.sp-about-copy .sp-button,
.sp-city-ppi .sp-button,
.sp-contact-band .sp-button,
.sp-page .sp-button--white,
.sp-page .sp-button--white:hover,
.sp-page--work .we-button:hover,
.sp-page--work .we-close .we-button,
.sp-work-feature__story .sp-button,
.sp-work-feature__story .sp-button:hover,
.sx-button--light:hover,
.tl-fill.f-basic,
.tl-now,
.tw-claim a.tw-phone,
.tw-claim a.tw-phone:hover,
.verdict.v-careful,
.verdict.v-illegal,
.verdict.v-legal,
.wk-cta .bt,
:is(.rp-hero,.cs-hero) .bt--a,
nav#nav .n__btn.has-request,
[data-island]){--bg:#F3F5F6;--bg2:#E8EDF0;--bg3:#D4DBE1;--surface:#FFFFFF;--fg:#000;--fg2:#000;--fg3:#1A1A1A;--blue-light:#E8EDF0;--amber:#977541;--line:#D4DBE1;--line2:#ADB9C3;--glow:rgba(30,86,160,.06);--shadow-sm:0 1px 2px rgba(15,26,47,.08),0 2px 6px rgba(15,26,47,.05);--shadow:0 1px 2px rgba(15,26,47,.07),0 10px 28px -8px rgba(15,26,47,.14);--shadow-lg:0 2px 6px rgba(15,26,47,.08),0 24px 56px -16px rgba(15,26,47,.22);--ink:#111C29;--ink-soft:#24394B;--fill:#111C29;--fill-2:#24394B;--on-fill:#FFFFFF;--on-stage:#F3F5F6;--st-red:#C81E1E;--st-green:#15803D;--st-amber:#8A5A00;--amber-fill:#CFB58A;color-scheme:light;color:#111C29}
/* stages:end */

/* The white sheets. The request form, the request dialog, the booking calendar and the assistant keep their tested
   daylight design: each is a sheet of paper lying in the room. Same declarations as the day block above. */
html.room :where(.qw-card,.qw-form,.qw-success,.qw-draft-choice,.qw-resume,.rs-dialog,.ppb,.ppn,.ppr,.ppb-seller,.ppb-credit,.aiw-panel,.room-day){
  --bg:#F3F5F6;--bg2:#E8EDF0;--bg3:#D4DBE1;--surface:#FFFFFF;--fg:#000;--fg2:#000;--fg3:#1A1A1A;--blue-light:#E8EDF0;
  --amber:#977541;--line:#D4DBE1;--line2:#ADB9C3;--glow:rgba(30,86,160,.06);
  --shadow-sm:0 1px 2px rgba(15,26,47,.08),0 2px 6px rgba(15,26,47,.05);--shadow:0 1px 2px rgba(15,26,47,.07),0 10px 28px -8px rgba(15,26,47,.14);--shadow-lg:0 2px 6px rgba(15,26,47,.08),0 24px 56px -16px rgba(15,26,47,.22);
  --ink:#111C29;--ink-soft:#24394B;--fill:#111C29;--fill-2:#24394B;--on-fill:#FFFFFF;--on-stage:#F3F5F6;
  --st-red:#C81E1E;--st-green:#15803D;--st-amber:#8A5A00;--amber-fill:#D4872A;
  color-scheme:light;color:#000;
}

/* A request form that lay straight on a white page is given its own sheet. */
html.room .qw-form:not(.qw-card .qw-form){background:#fff;padding:clamp(20px,3vw,32px)}

/* What stands around the form is the room: the closing band and the plain hero were white panels. */
html.room .qw-end{background:#000;border-color:var(--line)}
html.room :is(.qw-end__h,.qw-end__copy .qw-sub,.qw-end__copy :is(p,li,a,span,strong),.qw-hero:not(.qw-hero--photo) .qw-hero__copy :is(h1,.qw-hero__h,.qw-sub,.qw-kicker,.qw-hero__alt,p,li,a,span,strong)){color:var(--fg)}

/* Words that were dark on a dark band before the room (unreadable on the live site too), and a few boxes. */
html.room :is(.tw-hero :is(.crumb,.crumb a,.lede,p),.tw-claim :is(p,h2,h2 b,a:not(.tw-phone)),.ro-hero :is(p,.ro-crumb,.ro-crumb a),.city-content .city-cta p,:is(.blog-hero,.hub-hero,.article-hero,.rp-hero,.cs-hero) p>a[style]){color:var(--on-stage)!important}
html.room :is(.sym-hero,.article-hero,.rp-hero,.cs-hero,.hub-hero,.blog-hero,.tool-hero,.pi-hero,.ds-hero,.ro-hero,.em-hero,.rv-hero,.tw-hero) :is(p,li,.sub,.meta)>a:not([class]){color:var(--on-stage)!important}
html.room .hub-honest{background:#000;border-color:rgba(255,255,255,.16)}
html.room .hub-honest a{color:var(--on-stage)}
html.room .rc-call{background:#000;border:1px solid rgba(255,255,255,.16);color:var(--on-stage)}
html.room .tw-claim{border:1px solid rgba(255,255,255,.16)}
/* (2026-11-17) The line under an inspection page's hero that says when the next opening is ("Next opening: tonight,
   5 to 7 PM"). It was listed with the white sheets above and so drawn black, on a dark photograph, on the eight
   inspection pages. It is a line of the hero and takes the hero's ink (its own rule says color:inherit). The page
   only shows it once the booking server has answered, so a test on a local copy never draws it: read the live page. */
html.room .ppb-next,html.room .ppb-next a{color:inherit}

/* ---------- 2b. one button, two inks (2026-11-17) ----------
   The pages came from a dozen generators, each with its own button: navy, the old amber, WhatsApp green, champagne,
   and (once the room turned every dark fill black) black on black with no edge at all: words floating beside two
   real buttons. The room has one button: white where the page asks for the press, a hairline where it offers a
   second way. Champagne on a button means one thing only, a request already started (the header and the footer).
   Literal colours and !important on purpose: these selectors sit inside stages and islands, where the role tokens
   hold their daylight values, and under rules each page carries in its own <style>.
   dev-tools/room-audit.mjs fails a page that has a button with no shape; when it does, the selector belongs here. */
html.room :is(a.bt.bt--a,a.bt.bt--w,.sp-page a.sp-button,a.we-button,.hand a.hand__sms,a.lb-hand__b--sms,.wk-hero__actions a:first-child,.ds-links a.pri,.rc-call a,.rc-btn:not(.rc-btn--ghost),.ro-cta a.ro-btn:not(.ro-btn--alt),a.rp-opt__go,.tw-claim a.tw-phone,a.sms-cta,.rv-cta a):not(:where(.qw-card,.qw-form,.rs-dialog,.ppb,.ppn,.ppr,.aiw-panel,.room-day) *){background:#F3F5F6!important;border:1px solid #F3F5F6!important;color:#000!important;text-decoration:none!important}
html.room :is(a.bt.bt--a,a.bt.bt--w,.sp-page a.sp-button,a.we-button,.hand a.hand__sms,a.lb-hand__b--sms,.wk-hero__actions a:first-child,.ds-links a.pri,.rc-call a,.rc-btn:not(.rc-btn--ghost),.ro-cta a.ro-btn:not(.ro-btn--alt),a.rp-opt__go,.tw-claim a.tw-phone,a.sms-cta,.rv-cta a):not(:where(.qw-card,.qw-form,.rs-dialog,.ppb,.ppn,.ppr,.aiw-panel,.room-day) *):hover{background:#fff!important;border-color:#fff!important;filter:none}
html.room :is(a.bt.bt--b,a.bt.bt--o,.hand a.hand__wa,.hand a.hand__call,a.lb-hand__b--wa,a.lb-hand__b--tel,.wk-hero__actions a:not(:first-child),.ds-links a:not(.pri),.ro-cta a.ro-btn--alt,.rc-btn--ghost,a.fs-btn--g):not(:where(.qw-card,.qw-form,.rs-dialog,.ppb,.ppn,.ppr,.aiw-panel,.room-day) *){background:transparent!important;border:1px solid rgba(255,255,255,.34)!important;color:#F3F5F6!important;text-decoration:none!important}
html.room :is(a.bt.bt--b,a.bt.bt--o,.hand a.hand__wa,.hand a.hand__call,a.lb-hand__b--wa,a.lb-hand__b--tel,.wk-hero__actions a:not(:first-child),.ds-links a:not(.pri),.ro-cta a.ro-btn--alt,.rc-btn--ghost,a.fs-btn--g):not(:where(.qw-card,.qw-form,.rs-dialog,.ppb,.ppn,.ppr,.aiw-panel,.room-day) *):hover{background:rgba(255,255,255,.08)!important;border-color:#F3F5F6!important;filter:none}

/* the phone's action bar is the room too: black, a hairline above it, one white button (it was a midnight bar with
   a champagne button, the one place a phone visitor always sees) */
html.room .qw-sticky{background:#000!important;border-top:1px solid rgba(255,255,255,.16)!important;box-shadow:none!important}
html.room .qw-sticky :is(.qw-sticky__call,.qw-sticky__sms){background:transparent!important;border:1px solid rgba(255,255,255,.34)!important;color:#F3F5F6!important}
html.room .qw-sticky .qw-sticky__quote{background:#F3F5F6!important;border:1px solid #F3F5F6!important;color:#000!important}
/* the skip link, when the keyboard brings it out */
:is(html.room,.s-page) .cwf-skip{background:#F3F5F6!important;color:#000!important}
/* on a phone the three ways to send a message are three full rows, not three ragged widths */
@media(max-width:560px){html.room .lb-hand__row>a{flex:1 1 100%}}

/* ---------- 2c. what was coloured for the daylight page (2026-11-17) ----------
   A status keeps its colour (a warning, a job that is turned down). A name, a star and an icon do not: the room is
   black, white and one warm metal. */
/* the warranty chart: what is covered is lit, the car's age is the champagne line (its bars were painted in the
   colour of their own track, and its three "example age" labels sat on top of each other) */
html.room .tl-track{background:transparent!important;border-color:rgba(255,255,255,.16)!important}
html.room .tl-fill{background:rgba(255,255,255,.2)!important}
html.room .tl-fill.f-basic{background:#F3F5F6!important}
html.room .tl-fill span{color:#F3F5F6!important}
html.room .tl-fill.f-basic span{color:#000!important}
html.room .tl-now{background:#CFB58A!important}
html.room .tl-now i{color:#CFB58A!important;font-size:12px}
html.room .tl-row~.tl-row .tl-now i{display:none}
html.room .tl-ticks b{white-space:nowrap}
/* the repairs list: a job that is turned down says so in the warning's ink, with no pale pill behind it */
html.room .hub-pill{background:transparent!important;padding:0;border-radius:0;font-size:14px;font-weight:600;letter-spacing:0}
html.room .hub-pill[style*="8C2F1E"]{color:#FF9385!important}
html.room .hub-pill[style*="8A5A12"]{color:#E4BC78!important}
/* a block that says no to a job was a brown wash on black */
html.room .rp-fork--refuse{background:#0A0C0F;border-color:rgba(255,255,255,.16)}
html.room .fqb__cell--mine .fqb__lab{color:#CFB58A}
html.room :is(.guarantee h2,.so-honest :is(h2,h3),.pt-honest h2,.fc-no h3){color:#F3F5F6}
html.room :is(.qw-proof__stars,.rv-stars){color:#CFB58A}
html.room .sp-icon{color:#F3F5F6}
/* the closing photo band's headline speaks in the page's own voice (it was capitals in the wordmark's condensed
   face at 72px, and until 2026-11-17 it read "Better Call Fares", which is never a headline on this site) */
html.room .band-photo__h{font-family:var(--font-heading);font-weight:500;letter-spacing:-.055em;text-transform:none;font-size:clamp(40px,5.6vw,84px);line-height:1}
/* no grey words: the old footer's last line */
html.room .ft .ft__copy{color:#F3F5F6}
html.room .px-package-rail>a[aria-selected=true] .px-package-rail__price{color:inherit}
html.room .sp-page .vp-opening :is(.vp-input-row button span,.vp-continue,.vp-continue span){color:var(--on-fill)}

/* ---------- 2d. a link inside a sentence is underlined (2026-11-17) ----------
   In daylight a link in running text was the old blue. In the room every word is the same off-white, so a link in a
   sentence ("the full 150-point list", "my trust page") was drawn exactly like the words around it: nothing said it
   could be tapped. Found by the reach session on the city inspection pages; measured on 10 of 12 live pages. The
   homepage's rule holds everywhere: a text link is underlined. It keeps the colour of its sentence, on black and on
   the white sheets alike. Not for the header, the footer or a breadcrumb (each is a list of links and reads as one),
   and never for a button (those carry a class, and section 2b takes their underline off).
   dev-tools/room-audit.mjs fails a page that has such a link ("hidden-link"). */
html.room :is(p,li,dd,td,th,blockquote,figcaption,aside,summary,small,.mod-now,.wk-callout,.wk-quote,.care-explorer__intro,.ck-note) :is(a:not([class]),a.tw-inline,a.ro-anchor):not(:has(img,picture,svg)):not(:where(#nav,footer,.ft,[class*="crumb"]) *){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}
html.room :is(p,li,dd,td,th,blockquote,figcaption,aside,summary,small,.mod-now,.wk-callout,.wk-quote,.care-explorer__intro,.ck-note) :is(a:not([class]),a.tw-inline,a.ro-anchor):not(:has(img,picture,svg)):not(:where(#nav,footer,.ft,[class*="crumb"]) *):hover{text-decoration-thickness:2px}

/* ---------- 3. the header: one black bar, as on the homepage ---------- */
html.room #nav{--nav-paper:#000;--nav-ink:#fff;--nav-accent:#fff;--nav-line:rgba(255,255,255,.16)}
/* the Services panel and the phone menu are the room too, on every page that carries this file (the homepage and
   the instruments included): inside them the header's own colours and the few system ones it reads are the night's */
:is(html.room,.s-page) #nav :is(.n__panel,.mob){--nav-paper:#050607;--nav-ink:#F3F5F6;--nav-accent:#fff;--nav-line:rgba(255,255,255,.16);--fg:#F3F5F6;--fg2:#F3F5F6;--line:rgba(255,255,255,.16);--line2:rgba(255,255,255,.34);--blue:#F3F5F6;--paper:rgba(255,255,255,.09);--surface:#0A0C0F;color:var(--nav-ink)}
:is(html.room,.s-page) #nav .mob__mark{filter:brightness(0) invert(1)}
:is(html.room,.s-page) #nav .n__search input{color:#F3F5F6}
html.room #nav .n__mark{filter:brightness(0) invert(1)}
html.room #nav .n__mid>a:is(:hover,.is-active),html.room #nav .n__trigger:is(:hover,.is-active),html.room #nav .n__trigger[aria-expanded=true]{background:rgba(255,255,255,.1);color:#fff}
html.room #nav .n__direct a:hover{color:#fff;text-decoration:underline;text-underline-offset:5px}
html.room #nav .n__btn{justify-content:center;min-height:44px;padding:0 22px;background:#fff;border-color:#fff;border-radius:2px;color:#000;font-weight:500}
html.room #nav .n__btn:hover{background:var(--paper);border-color:var(--paper)}
html.room #nav .n__btn.has-request{background:var(--champagne);border-color:var(--champagne);color:#000}
html.room #nav .n__btn span{display:none}
html.room #nav .burger{border-color:rgba(255,255,255,.42)}
:is(html.room,.s-page) #nav .mob a.mob__quote{background:#fff;border-color:#fff;color:#000}

/* ---------- 4. the footer: the same black, one rule above it ---------- */
html.room .ft.cwf-footer{background:#000;border-top:1px solid rgba(255,255,255,.16)}

/* ---------- 5. the room's hand ----------
   Square corners (2px), hairline rules instead of shadows, white where something is to be pressed. */
html.room{--r:2px;--control-r:2px;scrollbar-color:#3A4047 #000}
html.room ::selection{background:#F3F5F6;color:#000}
html.room :where(a,button,summary,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #fff;outline-offset:3px}
html.room :where(.room-day,.qw-card,.rs-dialog,.ppb,.ppn,.ppr,.aiw-panel) :where(a,button,summary,input,select,textarea,[tabindex]):focus-visible{outline-color:#111C29}
html.room :where(main,article,section,header,aside,footer,figure,form,dialog,details,table,ul,ol,dl,div,nav):not(#nav):not(#nav *):not(.aiw):not(.aiw *) :where(*):not([class*="dot"],[class*="avatar"],[class*="spin"],[class*="thumb"],[class*="knob"],[class*="pulse"],[class*="ring"],[type=radio],svg,svg *){border-radius:2px!important}
html.room img{border-radius:2px}
html.room hr{border-color:var(--line)}
/* a part still on its pale studio wall (no black-stage render yet) stands under one lamp: the wall goes to the
   room's black at the edges, so the picture has no box */
html.room [data-mechanical-model]{background:#000}
/* a picture that was multiplied onto pale paper would multiply to nothing on black */
html.room .care-panel__visual img{mix-blend-mode:normal}
html.room [data-mechanical-model]:has(img[src*="real-parts-20261009"])::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 58% 60% at 50% 52%,#fff 0,#f1f1f1 34%,#8b8b8b 62%,#1c1c1c 84%,#000 100%);mix-blend-mode:multiply}
/* what is pressed moves under the finger */
html.room :where(a,button,summary,[role=button]){transition:color 180ms,background-color 180ms,border-color 180ms,opacity 180ms,translate 240ms var(--ease-out),scale 160ms var(--ease-out)}
html.room :where(button,[role=button],a[class*="btn"],a[class*="bt"],a[class*="button"],a[class*="cta"],a[class*="go"]):active{scale:.985}

/* ---------- 6. movement ----------
   Between pages: the page leaving lifts into the black and the page arriving rises out of it; the header holds
   still. Within a page: things settle as they are scrolled to, tied to the scrolling itself (they stop when the
   visitor stops), in browsers that can tie an animation to the scroll position. Nothing loops. A visitor who
   asked for less motion gets none of it. */
@media(prefers-reduced-motion:no-preference){
  ::view-transition-old(root){animation:room-leave 200ms cubic-bezier(.4,0,1,1) both}
  ::view-transition-new(root){animation:room-arrive 460ms cubic-bezier(.16,1,.3,1) both}
  @keyframes room-leave{to{opacity:0;transform:translateY(-14px)}}
  @keyframes room-arrive{from{opacity:0;transform:translateY(26px)}}
  /* the header slides away while reading down and returns on the way up (room.js sets the class) */
  html.room #nav{transition:translate 420ms cubic-bezier(.16,1,.3,1)}
  html.nav-away #nav{translate:0 -101%}
  @supports (animation-timeline:view()){
    /* how far down the page: one hairline across the top */
    .room-read{position:fixed;z-index:1001;inset:0 0 auto 0;height:2px;background:#F3F5F6;transform-origin:0 50%;pointer-events:none;animation:room-read linear both;animation-timeline:scroll(root)}
    @keyframes room-read{from{transform:scaleX(0)}to{transform:scaleX(1)}}
    /* the hero's picture falls behind the page, its words leave first */
    html.room :is(.qw-hero__bg,.sx-hero__image,.pk-hero__photo,.band-photo__bg){animation:room-drift linear both;animation-timeline:scroll(root);animation-range:0 100vh}
    @keyframes room-drift{to{transform:translateY(14%) scale(1.05)}}
    html.room :is(.qw-hero__copy,.sx-hero__copy,.pk-hero__in,.article-hero>.mx,.sp-city-hero-grid>div:first-child){animation:room-leave-words linear both;animation-timeline:scroll(root);animation-range:8vh 80vh}
    @keyframes room-leave-words{to{opacity:.12;transform:translateY(-36px)}}
    /* headings and pictures settle as they come up the window */
    html.room main :where(section,article,div) > :where(h2):not(.qw-card *,.rs-dialog *,.ppb *,#nav *),
    html.room main :where(figure,[data-mechanical-model],.cs-photo,picture):not(.qw-hero *,.sx-hero *,.pk-hero *,#nav *){animation:room-settle linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
    @keyframes room-settle{from{opacity:.001;transform:translateY(34px)}}
  }
}
