/* Cars With Fares: site foundation (sixth pass, 2026-11-16).
   ONE file for layout, type, buttons and page sections. It reads the colour and font tokens that
   style.css defines (--midnight, --champagne, --paper, --surface, --fg, --line, --line2, --font,
   --font-heading). New and rebuilt pages use these classes and nothing else.

   Under the hero the page is a black room, and what stands in it is real. A film, drawn frame by
   frame from the scroll position: a brake laid out in order comes together, turns, and a wheel
   goes on over it. A sheet of the inspection report. Four more parts that turn as they pass. One
   line to say what the car is doing. Every street in the city, lit outward by road distance, and
   the way to wherever is tapped. Then the reviews and the questions.

   Voice and rules are unchanged: Instrument Sans at weight 500, tightly tracked, short lines that
   end in a full stop; Inter for reading, white on the black, black on the one white sheet. No
   grey text, nothing under 14px outside the hero, square corners (2px), hairline rules instead of
   boxes, no arrow glyphs on buttons, no accent bars, no decorative numerals, no glows, no grain.
   Movement follows the visitor's own scrolling or pointer and stops when they stop; nothing
   loops; with no script, or for a visitor who asked for less motion, every part is in place. */

:root{
  --s-section:clamp(88px,9.5vw,160px);
  --s-r:2px;
  --s-h2:clamp(3.25rem,7.2vw,7.5rem);
  --s-h2-md:clamp(2.75rem,5.4vw,5.75rem);
  --s-h3:clamp(1.5rem,2.2vw,2.125rem);
  --s-lead:clamp(1.125rem,1.45vw,1.375rem);
  --s-body:1.0625rem;
  --s-small:.9375rem;
  --s-fine:.875rem;
  --s-rule-dark:rgba(255,255,255,.2);
  --s-night:#000;       /* the room under the hero: the film's frames are black where it is black */
  --s-gutter:max(48px,calc((100% - 1360px) / 2)); /* the shell's side margin, for bands that bleed to one edge */
  --s-edge:clamp(24px,4.4vw,112px);               /* the side margin of a scene that uses the whole window */
  --s-nav:84px;         /* the fixed header: 84px, 72px under 1100px */
}

/* ---------- base ---------- */
.s-page{background:#000;color:var(--fg);font:400 var(--s-body)/1.6 var(--font);interpolate-size:allow-keywords} /* midnight behind the page: what shows past its two ends is the header and the footer */
.s-page *{box-sizing:border-box}
.s-page main{display:block;padding-top:var(--s-nav)}
html:has(.s-page){scroll-padding-top:104px}
.s-shell{width:calc(100% - 96px);max-width:1360px;margin-inline:auto}
.s-h2{font:500 var(--s-h2)/.88 var(--font-heading);letter-spacing:-.06em;text-transform:none;color:inherit;margin:0}
.s-h2--md{font-size:var(--s-h2-md);line-height:.92;letter-spacing:-.058em}
.s-lead{font-size:var(--s-lead);line-height:1.45;margin:0;max-width:34ch}
.s-link{color:inherit;font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.s-link:hover{text-decoration-thickness:2px}
.s-links{display:flex;flex-wrap:wrap;gap:0 32px;margin:0}
:is(.s-links,.s-actions)>.s-link{display:inline-flex;align-items:center;min-height:44px}
.s-note{font-size:var(--s-fine);margin:0}
.s-stars{color:var(--champagne);letter-spacing:.14em;font-size:.9375rem;line-height:1}
.s-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1099px){.s-shell{width:calc(100% - 48px)}:root{--s-gutter:24px;--s-nav:72px}}
@media(max-width:699px){.s-shell{width:calc(100% - 40px)}:root{--s-gutter:20px}}
@media(max-width:359px){.s-shell{width:calc(100% - 32px)}:root{--s-gutter:16px}}

/* ---------- the header on rebuilt pages: one midnight bar that the hero continues ----------
   The shared header ships its own styles inside the <nav> for every page. Here only its bar is
   turned to midnight; the Services panel and the phone menu keep their light, tested design. */
.s-page #nav{--nav-paper:var(--midnight);--nav-ink:#fff;--nav-accent:#fff;--nav-line:rgba(255,255,255,.16)}
.s-page #nav :is(.n__panel,.mob){--nav-paper:var(--surface);--nav-ink:var(--fg);--nav-accent:var(--blue);--nav-line:var(--line);color:var(--nav-ink)}
.s-page #nav .n__mark{filter:brightness(0) invert(1)}
.s-page #nav .n__mid>a:is(:hover,.is-active),.s-page #nav .n__trigger:is(:hover,.is-active),.s-page #nav .n__trigger[aria-expanded=true]{background:rgba(255,255,255,.1);color:#fff}
.s-page #nav .n__direct a:hover{color:#fff;text-decoration:underline;text-underline-offset:5px}
.s-page #nav .n__btn{justify-content:center;min-height:44px;padding:0 22px;background:#fff;border-color:#fff;border-radius:var(--s-r);color:var(--midnight);font-weight:500}
.s-page #nav .n__btn:hover{background:var(--paper);border-color:var(--paper)}
.s-page #nav .n__btn.has-request{background:var(--champagne);border-color:var(--champagne)}
.s-page #nav .n__btn span{display:none}
.s-page #nav .burger{border-color:rgba(255,255,255,.42)}
.s-page .cwf-skip{background:#F3F5F6!important;color:#000!important} /* the link a keyboard meets first: pale with black words, as night.css gives it on every other page (it was navy on navy here) */

/* ---------- buttons: one shape, four inks ---------- */
.s-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border:1px solid transparent;border-radius:var(--s-r);font:500 .9375rem/1.2 var(--font);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color var(--motion-control) var(--ease-control),color var(--motion-control) var(--ease-control),border-color var(--motion-control) var(--ease-control)}
.s-btn--ink{background:var(--midnight);border-color:var(--midnight);color:#fff}
.s-btn--ink:hover{background:#24394B;border-color:#24394B}
.s-btn--white{background:#fff;border-color:#fff;color:var(--midnight)}
.s-btn--white:hover{background:var(--paper);border-color:var(--paper)}
.s-btn--ghost{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.s-btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.s-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px}
/* On the homepage a button answers the hand: under a pointer its fill draws back to one side and the button is its own
   outline, white words on the room; pressed, it gives a little. At rest the white button's fill is its own real
   background (so anything that reads the page, a person or the readability audit, finds black words on white); only
   while it is under the pointer is the fill the drawn layer, and coming back the real background returns once the
   layer has. (Homepage only until the other pages that use these classes have been looked at with it.) */
.cwf-home :is(.s-btn--white,.s-btn--ghost){position:relative;isolation:isolate;overflow:hidden;transition:color 300ms var(--ease-out),border-color 300ms var(--ease-out),scale 160ms var(--ease-control),background-color 0s linear 460ms}
.cwf-home :is(.s-btn--white,.s-btn--ghost)::before{content:"";position:absolute;inset:-1px;z-index:-1;background:#fff;transition:transform 460ms var(--ease-out)}
.cwf-home .s-btn--white::before{transform-origin:100% 50%}
.cwf-home .s-btn--ghost::before{transform-origin:0 50%;transform:scaleX(0)}
.cwf-home :is(.s-btn--white,.s-btn--ghost):active{scale:.975}
@media(hover:hover) and (pointer:fine){
  .cwf-home .s-btn--white:hover{background-color:transparent;border-color:#fff;color:#fff;transition:color 300ms var(--ease-out),border-color 300ms var(--ease-out),scale 160ms var(--ease-control),background-color 0s}
  .cwf-home .s-btn--white:hover::before{transform:scaleX(0)}
  .cwf-home .s-btn--ghost:hover{background:transparent;border-color:#fff;color:var(--midnight)}
  .cwf-home .s-btn--ghost:hover::before{transform:scaleX(1)}
}
@media(max-width:349px){.cwf-home .s-hero__actions .s-btn--ghost::before{content:none}.cwf-home .s-hero__actions .s-btn--ghost:hover{color:#fff}} /* there the hero's second choice is a plain link: no fill */
.cwf-home .s-link{transition:text-underline-offset 220ms var(--ease-out),text-decoration-thickness 220ms var(--ease-out)}
.cwf-home .s-link:hover{text-underline-offset:3px}
.s-hero :is(a,button):focus-visible{outline:2px solid #fff;outline-offset:4px}

/* ---------- hero ----------
   FIXED (Fares, 2026-11-13): the headline and the photograph. Every value in this block for the
   section box, the photo, the shade and the h1 is copied from the live stylesheet. Do not tune
   them. Only the supporting row and the actions under the headline were redesigned, and they keep
   the same heights so the photograph's crop does not move. */
.s-hero{position:relative;background:var(--midnight);color:var(--surface);isolation:isolate;overflow:hidden;min-height:710px}
.s-hero__photo{position:absolute;inset:0 0 0 37%;z-index:-3}
.s-hero__photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 54%}
.s-hero__shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,var(--midnight),rgba(17,28,41,.94) 24%,rgba(17,28,41,.36) 53%,rgba(17,28,41,0) 80%),linear-gradient(0deg,rgba(17,28,41,.35),transparent 60%)}
.s-hero__content{padding:74px 0 122px}
.s-hero h1{font-family:var(--font-heading);font-weight:500;text-transform:none;font-size:clamp(86px,9.5vw,160px);line-height:.86;letter-spacing:-.065em;color:var(--surface);margin:0;max-width:8ch}
.s-hero h1 .s-hero__kicker{display:block;font:500 12px/1.5 var(--font);letter-spacing:.065em;text-transform:uppercase;color:var(--surface);margin:0 0 33px;max-width:none}
.s-hero__bottom{display:flex;align-items:flex-end;gap:44px;min-height:73.38px;margin-top:47px}
.s-hero__bottom>p{font-size:18px;line-height:1.55;margin:0;color:var(--surface)}
.s-hero__rating{display:inline-flex;align-items:center;gap:12px;font:500 15px/27.9px var(--font);color:var(--surface);text-decoration:none}
.s-hero__rating .s-stars{color:var(--champagne);font-size:13px;letter-spacing:.2em}
.s-hero__rating span:last-child{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.s-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;margin-top:21.44px;max-width:660px}
.s-hero__call{display:inline-flex;align-items:center;min-height:52px;margin-left:16px;font:500 .9375rem/1.2 var(--font);color:#fff;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.s-hero__call:hover{text-decoration-thickness:2px}
@media(max-width:1099px){
  .s-hero{min-height:620px}
  .s-hero__content{padding-top:68px}
  .s-hero h1{font-size:116px}
  .s-hero__bottom{gap:35px}
  .s-hero__bottom>p{font-size:16px}
  .s-hero__rating{line-height:24.8px}
}
@media(max-width:699px){
  .s-hero{min-height:480px}
  .s-hero__photo{inset:0 0 0 10%}
  .s-hero__photo img{object-position:56% 51%;opacity:.83}
  .s-hero__shade{background:linear-gradient(90deg,rgba(17,28,41,.92),rgba(17,28,41,.3) 80%),linear-gradient(0deg,var(--midnight) 2%,rgba(17,28,41,.15) 70%)}
  .s-hero__content{padding:36px 0 68px}
  .s-hero h1{font-size:clamp(74px,21vw,135px);line-height:.9;letter-spacing:-.06em;max-width:8ch}
  .s-hero h1 .s-hero__kicker{letter-spacing:.025em;margin-bottom:20px}
  .s-hero__bottom{display:block;min-height:77.56px;margin-top:24px}
  .s-hero__bottom>p{font-size:14px;line-height:1.55}
  .s-hero__rating{display:flex;height:19.19px;margin-top:15px;font-size:14px;line-height:19.19px}
  .s-hero__rating .s-stars{font-size:12px;letter-spacing:.1em}
  .s-hero__actions{gap:0 8px;margin-top:19px}
  .s-hero__actions .s-btn{min-height:44px;padding:0 14px;font-size:.875rem}
  .s-hero__call{min-height:44px;margin-left:8px;font-size:.875rem}
}
@media(max-width:469px){
  .s-hero__actions .s-btn{flex:1 1 auto;min-height:48px;padding:0 12px}
  .s-hero__call{flex:1 1 100%;min-height:40px;margin-left:0}
}
/* 433 to 469px: the live page fits its three links on one row here, so the second row borrows from the bottom padding. */
@media(min-width:433px) and (max-width:469px){.s-hero__content{padding-bottom:24px}}
/* Very narrow phones: one button, then the two quieter choices as links on the second row. */
@media(max-width:349px){
  .s-hero__actions .s-btn--white{flex:1 1 100%}
  .s-hero__actions .s-btn--ghost{flex:0 0 auto;min-height:40px;padding:0;border:0;border-radius:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
  .s-hero__actions .s-btn--ghost:hover{background:none}
  .s-hero__call{flex:0 0 auto;margin-left:18px}
}
@media(max-width:359px){.s-hero h1{font-size:75px}.s-hero{min-height:465px}}
@media(min-width:1100px){.s-hero{min-height:660px}.s-hero__content{padding-bottom:92px}}

/* ---------- under the hero ----------
   Everything after the hero rides in one layer: a black room from here to the footer. In a
   desktop window tall enough to hold the whole hero, the hero stays where it is and this layer
   slides up over the photograph. Nothing inside the hero changes: at the top of the page its box,
   headline and crop are exactly the fixed ones. */
.s-after{position:relative;z-index:1;background:var(--s-night);color:#fff}
.s-after :is(a,button,summary,input):focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(min-width:1100px) and (min-height:780px){
  .s-hero{position:sticky;top:var(--s-nav)}
  .s-after{transition:box-shadow 400ms var(--ease-out)}
  html.s-over .s-after{box-shadow:0 -28px 64px rgba(0,0,0,.7)} /* only once the page has moved: at rest nothing falls on the photograph */
}

/* ---------- the film ----------
   One take, drawn on a canvas frame by frame from the scroll position (home.js): a brake laid out
   in order comes together, turns, and a wheel goes on over it. The frames are black where the
   room is black, so the canvas has no edge on the page.
   By default (no script, less motion, a slow or metered connection) there is no film: the three
   chapters are three pictures, each with its words under it. Where it plays (html.s-film-on) the
   band is pinned under the header for the length of the take and the words stand over the
   picture, each chapter coming and going with the film (--c is how present a chapter is). */
.s-film{position:relative;background:#000;color:#fff}
/* The film also plays on pages in the room (the inspection page, the brake page), where a link takes the room's colour:
   there its button is given the room's first ink outright, white where the page asks for the press, black words.
   (It is said here because this sheet is not one patch-room.mjs rewrites: a colour named in those becomes a token.) */
.room .s-film .s-btn--white{background:#fff;border-color:#fff;color:#000}
.room .s-film .s-btn--white:hover{background:#F3F5F6;border-color:#F3F5F6;color:#000}
.s-film__canvas,.s-film__names,.s-film__read,.s-film__bar{display:none}
.s-film__still{display:block}
.s-film__still img{display:block;width:100%;height:auto}
.s-film__words{display:grid;justify-items:start;gap:clamp(14px,1.6vw,22px);padding:clamp(8px,2vw,24px) var(--s-gutter) clamp(64px,9vw,120px)}
.s-film__words .s-lead{max-width:30ch}
.s-film__words .s-actions{margin-top:6px}
.s-film__fine{max-width:46ch;margin-top:4px}
html.s-film-on .s-film__pin{position:sticky;top:var(--s-nav);height:calc(100vh - var(--s-nav));height:calc(100svh - var(--s-nav));overflow:hidden}
html.s-film-on .s-film__canvas{display:block;position:absolute;inset:0;width:100%;height:100%}
html.s-film-on .s-film__still{display:none}
html.s-film-on .s-film__ch{position:absolute;inset:0;pointer-events:none;opacity:var(--c,0)}
html.s-film-on .s-film__ch:first-of-type{opacity:var(--c,1)} /* the first chapter is there before the script has said so */
html.s-film-on .s-film__words{position:absolute;left:var(--s-edge);top:50%;width:min(34vw,1040px);padding:0;translate:0 calc(-50% + (1 - var(--c,1)) * 26px)}
html.s-film-on .s-film__words--top{top:clamp(28px,7.5vh,88px);translate:0 calc((1 - var(--c,1)) * -18px)}
html.s-film-on .s-film__ch.is-on .s-film__words{pointer-events:auto}
html.s-film-on .s-film__words .s-h2{font-size:min(clamp(3.25rem,7.2vw,11rem),15vh)} /* the film uses the whole window, so its words grow past the page's own cap */
html.s-film-on .s-film__words .s-h2--md{font-size:min(clamp(2.75rem,5.6vw,8.75rem),12.5vh)}
html.s-film-on .s-film__words .s-lead{font-size:clamp(1.125rem,1.45vw,2rem)}
/* How far through the take the page is: a line under the header. */
html.s-film-on .s-film__bar{display:block;position:absolute;z-index:3;left:0;right:0;top:0;height:2px;background:rgba(255,255,255,.14)}
.s-film__bar i{display:block;height:100%;background:#fff;transform-origin:0 50%;transform:scaleX(var(--t,0))}
/* A word pinned to a piece of the picture: a point on the piece, a hairline, the word at its end. home.js moves the
   point with the picture (--x, --y in pixels of the band). */
html.s-film-on .s-film__names{display:block;position:absolute;inset:0;z-index:2;margin:0;padding:0;list-style:none;pointer-events:none;opacity:var(--n,0)}
html.s-film-on .s-film__read{display:block}
.s-film__names li,.s-film__read{position:absolute;left:0;top:0;z-index:2;margin:0;translate:var(--x,-200px) var(--y,-200px);--len:calc(56px * var(--k,1));font:500 clamp(.9375rem,.86vw,1.375rem)/1.2 var(--font);color:#fff;white-space:nowrap;pointer-events:none}
.s-film__names li:nth-child(even){--len:calc(94px * var(--k,1))}
.s-film__names li[data-at=ring]{--len:calc(22px * var(--k,1))} /* the ring's name stands in its own opening */
.s-film__names li>span{padding:1px 6px 2px;background:#000} /* a name carries its own black, for where it crosses a piece */
:is(.s-film__names li,.s-film__read)::before{content:"";position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.2)}
:is(.s-film__names li,.s-film__read)::after{content:"";position:absolute;left:-.5px;width:1px;height:var(--len);background:#fff}
:is(.s-film__names li,.s-film__read)[data-way=up]::after{bottom:10px}
:is(.s-film__names li,.s-film__read)[data-way=down]::after{top:10px}
:is(.s-film__names li,.s-film__read)>span{position:absolute;left:0;translate:var(--tx,-50%) 0}
:is(.s-film__names li,.s-film__read)[data-way=up]>span{bottom:calc(var(--len) + 18px)}
:is(.s-film__names li,.s-film__read)[data-way=down]>span{top:calc(var(--len) + 18px)}
.s-film__read{opacity:var(--r,0)}
.s-film__read>span{display:flex;align-items:baseline;gap:7px;padding:5px 10px 6px;background:#000} /* a reading can stand over the wheel: it carries its own black */
.s-film__read strong{font:500 clamp(1.75rem,2.6vw,2.5rem)/1 var(--font-heading);letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.s-film__read.is-low,.s-film__read.is-low strong{color:var(--champagne)}
.s-film__read.is-low::before{background:var(--champagne);box-shadow:0 0 0 5px rgba(207,181,138,.26)}
.s-film__read.is-low::after{background:var(--champagne)}
@media(max-width:759px),(max-aspect-ratio:4/5){
  /* A phone, or any window standing upright, where the picture is the upright cut. The first chapter's words stand at the head of it, over black, with
     the pieces named under them. The other two stand at its foot, clear of the call bar, each on a dark of its own
     that the picture sinks into, so words never lie on bright metal. */
  html.s-film-on .s-film__pin::after{content:"";position:absolute;inset:auto 0 0 0;height:26%;pointer-events:none;background:linear-gradient(to top,#000 0%,rgba(0,0,0,.82) 42%,rgba(0,0,0,0) 100%)}
  html.s-film-on .s-film__words{left:var(--s-gutter);right:var(--s-gutter);top:auto;bottom:calc(92px + env(safe-area-inset-bottom));width:auto;z-index:1;gap:12px;translate:0 calc((1 - var(--c,1)) * 20px)}
  html.s-film-on .s-film__words::before{content:"";position:absolute;z-index:-1;left:calc(var(--s-gutter) * -1);right:calc(var(--s-gutter) * -1);top:-120px;bottom:-220px;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,.84) 120px,rgba(0,0,0,.96) 200px,#000 270px)}
  html.s-film-on .s-film__words--top{top:clamp(20px,3.6vh,34px);bottom:auto;translate:0 calc((1 - var(--c,1)) * -14px)}
  html.s-film-on .s-film__words--top::before{content:none}
  html.s-film-on .s-film__words--top .s-lead{display:none} /* the hero has just said it, and here the room belongs to the pieces */
  html.s-film-on .s-film__words .s-h2{font-size:clamp(2.75rem,13vw,4rem)}
  html.s-film-on .s-film__words .s-h2--md{font-size:clamp(2.5rem,11.5vw,3.5rem)}
  html.s-film-on .s-film__words .s-lead{max-width:none;font-size:1rem}
  html.s-film-on .s-film__ch{z-index:1} /* a chapter that is fading still stands over the dark at the picture's foot */
  html.s-film-on .s-film__more{display:none} /* the long form of the note is on the sheet under the film */
  /* Names: the pieces stand close together on a phone, so each line is as long as it takes to reach black, every name
     and the smallest piece goes unnamed. */
  .s-film__names li,.s-film__read{--len:calc(26px * var(--k,1));font-size:var(--s-fine)}
  .s-film__names li:nth-child(even){--len:calc(48px * var(--k,1))}
  .s-film__names li[data-at=body]{--len:calc(70px * var(--k,1))}
  .s-film__names li[data-at=ring]{--len:calc(84px * var(--k,1));--tx:-78%}
  .s-film__names li[data-at=hat]{--tx:-20%}
  .s-film__names li[data-at=pin_a]{--len:calc(26px * var(--k,1))}
  .s-film__names li[data-at=spring]{display:none}
  /* The reading at the pads points up on a phone: under it are the words. */
  html.s-film-on .s-film__read[data-at=pad]::after{top:auto;bottom:10px}
  html.s-film-on .s-film__read[data-at=pad]>span{top:auto;bottom:calc(var(--len) + 18px)}
}

/* The film's parts, named at its foot: each name's rule fills as its part plays, and a press goes there. Where it
   shows (a window that is neither upright nor under 700px tall) it does the
   top line's job, so the top line goes. Everywhere else the foot belongs to the words and the top line stays. */
.s-film__index{display:none}
.s-film__index button{position:relative;min-width:clamp(96px,8.4vw,168px);min-height:44px;padding:14px 0 0;border:0;background:none;color:#fff;font:500 var(--s-fine)/1.2 var(--font);text-align:left;cursor:pointer}
.s-film__index button::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:rgba(255,255,255,.3);transition:background-color var(--motion-control) var(--ease-control)}
.s-film__index button:hover::before{background:#fff}
.s-film__index i{position:absolute;left:0;right:0;top:-.5px;height:2px;background:#fff;transform-origin:0 50%;transform:scaleX(var(--p,0))}
@media(min-width:760px) and (min-aspect-ratio:801/1000) and (min-height:700px){ /* under 700px tall the names would cross the last chapter's small print */
  html.s-film-on .s-film__index:not([hidden]){display:flex;position:absolute;z-index:3;left:var(--s-edge);bottom:clamp(18px,3.2vh,40px);gap:clamp(14px,1.6vw,28px)}
  html.s-film-on .s-film__pin:has(.s-film__index:not([hidden])) .s-film__bar{display:none}
}

/* A window too narrow for words and brake side by side at full size: the words take less of it. */
@media(min-width:760px) and (max-width:1199px) and (min-aspect-ratio:4/5){html.s-film-on .s-film__words{width:30vw}}

/* A short window (a phone on its side, a squat laptop): the words give up their small print before they run out of room. */
@media(max-height:560px){
  html.s-film-on .s-film__fine{display:none}
  html.s-film-on .s-film__words{gap:10px}
  html.s-film-on .s-film__words .s-lead{font-size:1rem}
  html.s-film-on .s-film__words .s-h2{font-size:min(clamp(2.25rem,7.2vw,11rem),13vh)}
  html.s-film-on .s-film__words .s-h2--md{font-size:min(clamp(2rem,5.6vw,8.75rem),10.5vh)}
  html.s-film-on .s-film__words .s-btn{min-height:44px}
}
@media(max-width:759px) and (max-height:560px){html.s-film-on .s-film__fine{display:block}} /* a small phone keeps the line that says whose readings these are */

/* ---------- what the inspection gives you: a sheet of the report, and the three packages ---------- */
.s-report{padding-block:clamp(72px,9vw,150px) 0}
.s-report__in{display:grid;gap:clamp(48px,6vw,96px)}
.s-report__in>*{min-width:0}
/* The sheet: paper, the one white thing on the page. */
.s-sheet{padding:clamp(22px,2.6vw,40px);background:var(--surface);color:var(--fg);border-radius:var(--s-r)}
.s-sheet p{margin:0}
.s-sheet :is(a,summary):focus-visible{outline-color:var(--midnight)}
.s-sheet__kind{padding-bottom:clamp(18px,2vw,28px);margin-bottom:clamp(18px,2vw,28px)!important;border-bottom:1px solid var(--midnight);font-size:var(--s-fine);font-weight:500}
.s-sheet__label{font-size:var(--s-fine);font-weight:500}
.s-sheet__verdict{margin-top:6px!important;font:500 clamp(2rem,3.4vw,3.5rem)/1 var(--font-heading);letter-spacing:-.055em}
.s-sheet__look{display:none;margin-top:16px!important;font-size:var(--s-body);line-height:1.5;max-width:40ch}
.s-sheet__body{margin-top:clamp(20px,2.4vw,32px)}
.s-sheet__found{margin-top:16px!important;font-size:var(--s-small);line-height:1.5}
.s-report[data-pack=look] .s-sheet__look{display:block}
.s-report[data-pack=look] .s-sheet__body{display:none}
.s-report:not([data-pack=works]) .s-sheet span[data-pack-note=works]{display:none}
.s-sheet table{width:100%;border-collapse:collapse;font-size:var(--s-small);font-variant-numeric:tabular-nums}
.s-sheet caption{caption-side:top;text-align:left;padding-bottom:8px;font-size:var(--s-fine);font-weight:500}
.s-sheet :is(th,td){padding:9px 0;border-bottom:1px solid var(--line);text-align:right;font-weight:400}
.s-sheet thead th{border-bottom-color:var(--midnight);font-size:var(--s-fine);font-weight:500}
.s-sheet :is(th,td):first-child{text-align:left}
.s-sheet td b{font:500 1.125rem/1 var(--font-heading);letter-spacing:-.03em}
.s-sheet td.is-low{color:#7A5C2E;font-weight:500} /* champagne darkened for paper: 5.9:1 */
.s-neg{margin-top:clamp(18px,2vw,26px)}
.s-neg__label{font-size:var(--s-fine);font-weight:500;padding-bottom:8px;border-bottom:1px solid var(--midnight)}
.s-neg ul{list-style:none;margin:0;padding:0}
.s-neg li{display:flex;justify-content:space-between;align-items:baseline;gap:6px 20px;padding:9px 0;border-bottom:1px solid var(--line);font-size:var(--s-small)}
.s-neg li b{flex:none;font-weight:500;font-variant-numeric:tabular-nums}
.s-sheet .s-note{margin-top:clamp(16px,2vw,24px)}
.s-report__packs .s-h2{margin-bottom:clamp(24px,3vw,44px)}
.s-packs{list-style:none;margin:0;padding:0;border-top:1px solid #fff}
.s-packs a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;align-items:baseline;padding:22px 0;border-bottom:1px solid var(--s-rule-dark);color:#fff;text-decoration:none;transition:background-color var(--motion-panel) var(--ease-out)}
.s-packs__name,.s-packs__price{font:500 clamp(1.5rem,2.2vw,2.125rem)/1.1 var(--font-heading);letter-spacing:-.045em;transition:color var(--motion-control) var(--ease-control)}
.s-packs__price{grid-column:2;grid-row:1;font-variant-numeric:tabular-nums}
.s-packs__what{grid-column:1/-1;font-size:var(--s-small);line-height:1.5;max-width:46ch}
.s-packs a:hover .s-packs__name{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
/* With script the three rows are one choice: the chosen row is lit and says what it is, the other two are a name and a price. */
.s-packs a[role=radio]{padding-inline:clamp(14px,1.4vw,22px);cursor:pointer}
.s-packs a[aria-checked=true]{background:rgba(255,255,255,.09)}
.s-packs a[aria-checked=true] :is(.s-packs__name,.s-packs__price){color:var(--champagne)}
.s-packs a[aria-checked=false] .s-packs__what{display:none}
.s-packs a[role=radio]:hover .s-packs__name{text-decoration:none}
.s-packs a[aria-checked=false]:hover{background:rgba(255,255,255,.045)}
.s-report .s-actions{margin-top:clamp(26px,3vw,38px)}
/* The next window the calendar is really offering, marked with the same point the film pins a reading with. */
.s-next{margin:14px 0 0;font-size:var(--s-small);font-weight:500}
.s-next[hidden]{display:none}
.s-next a{display:inline-flex;align-items:center;gap:14px;min-height:44px;padding-left:5px;color:#fff;text-decoration:none}
.s-next a::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--champagne);box-shadow:0 0 0 5px rgba(207,181,138,.26)}
.s-next a span{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.s-next a:hover span{text-decoration-thickness:2px}
@media(min-width:1000px){
  .s-report__in{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(56px,7vw,136px);align-items:start}
  .s-report__packs{position:sticky;top:calc(var(--s-nav) + 32px)} /* the shorter of the two: the choice stays in view beside the sheet */
}

/* A plus that becomes a minus, for anything that opens. */
.s-faq summary::after{content:"";flex:none;width:15px;height:15px;margin-right:2px;background:linear-gradient(currentColor,currentColor) center/100% 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 100% no-repeat;transition:transform var(--motion-panel) var(--ease-out)}
.s-faq details[open] summary::after{background:linear-gradient(currentColor,currentColor) center/100% 1.5px no-repeat;transform:rotate(180deg)}
/* Where the browser can, it opens and closes at its own height instead of snapping. */
.s-faq details::details-content{block-size:0;overflow:clip;transition:block-size var(--motion-panel) var(--ease-out),content-visibility var(--motion-panel) allow-discrete}
.s-faq details[open]::details-content{block-size:auto}

/* ---------- the bench: the rest of the car, standing in order on one floor ----------
   Like the film, this scene uses the whole window. Four parts in a row, each a run of pictures of the part turning a
   little: home.js shows the one for where the part is on the screen (the turn runs along the row from the left), or for
   where the pointer is over it. Without it each is the middle picture. Each picture is the part and its reflection in
   the floor; the reflection sinks into the black under it, so no picture has an edge, and the part's name stands
   where the reflection has gone. Under a pointer one part comes forward and the other three step back. */
.s-bench{padding-block:var(--s-section) 0}
.s-bench__head{position:relative;z-index:1;display:grid;gap:20px;padding-inline:var(--s-edge)} /* over the black head of the pictures, which stand up into it */
.s-pieces{list-style:none;margin:0;padding:0 calc(var(--s-edge) * .4);display:grid;grid-template-columns:minmax(0,1fr)}
.s-pieces li{min-width:0}
.s-pieces a{display:block;color:#fff;text-decoration:none;transition:opacity 420ms var(--ease-out)}
.s-piece__pic{position:relative;display:block;aspect-ratio:5/4;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 70%,rgba(0,0,0,0) 97%);mask-image:linear-gradient(to bottom,#000 0,#000 70%,rgba(0,0,0,0) 97%)}
.s-piece__pic :is(img,canvas){position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 46%;transition:scale 900ms var(--ease-out)}
.s-piece__words{position:relative;display:grid;gap:8px;margin-top:-7%;padding:0 calc(var(--s-edge) * .6) clamp(36px,6vw,64px)}
.s-piece__name{font:500 clamp(2.25rem,9.5vw,3.5rem)/.92 var(--font-heading);letter-spacing:-.06em}
.s-piece__what{font-size:var(--s-lead);line-height:1.4;max-width:24ch}
.s-pieces a:is(:hover,:focus-visible) .s-piece__name{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.12em}
.s-bench__foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 32px;margin-inline:var(--s-edge);padding-top:12px;border-top:1px solid var(--s-rule-dark)}
.s-bench__more{display:flex;flex-wrap:wrap;gap:0 28px;margin:0}
.s-bench__more .s-link{display:inline-flex;align-items:center;min-height:44px}
@media(min-width:700px){
  .s-pieces{grid-template-columns:repeat(2,minmax(0,1fr))}
  .s-piece__name{font-size:clamp(2.5rem,5.4vw,4.5rem)}
}
@media(min-width:900px){.s-bench__head{grid-template-columns:1fr auto;align-items:end;gap:48px}}
@media(min-width:1000px){
  /* One row, the whole window wide: everything in order, seen at once. The pictures are shown whole. */
  .s-bench__head .s-h2{font-size:min(clamp(3.25rem,7.2vw,11rem),15vh)}
  .s-pieces{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:clamp(-72px,-3vw,-24px)} /* the parts stand up into the room the heading leaves beside it */
  .s-piece__pic{aspect-ratio:4/5}
  .s-piece__pic :is(img,canvas){object-position:50% 50%}
  .s-piece__words{margin-top:-13%;padding:0 clamp(16px,1.8vw,44px) clamp(40px,4.4vw,80px)}
  .s-piece__name{font-size:clamp(2rem,3.5vw,5.5rem)}
  .s-piece__what{font-size:clamp(1rem,1.2vw,1.5rem)}
}
@media(hover:hover) and (pointer:fine){
  .s-pieces:has(a:hover) a:not(:hover){opacity:.5}
  .s-pieces a:hover .s-piece__pic :is(img,canvas){scale:1.045}
}

/* ---------- say what it's doing: one line, a box, and what you can count on ---------- */
.s-say{padding-block:var(--s-section) 0}
.s-say__h{font:500 clamp(3.25rem,10.4vw,11.5rem)/.86 var(--font-heading);letter-spacing:-.065em;text-transform:none;color:#fff;margin:0}
.s-say__body{display:grid;gap:clamp(20px,2.4vw,30px);margin-top:clamp(28px,4vw,64px)}
.s-say__body .s-lead{max-width:32ch}
/* What is typed here opens the request with those words in it. */
.s-ask{display:grid;gap:14px;max-width:680px}
.s-ask[hidden]{display:none}
.s-ask__row{display:grid;gap:10px}
.s-ask input{width:100%;min-width:0;min-height:68px;padding:0 22px;border:1px solid rgba(255,255,255,.5);border-radius:var(--s-r);background:transparent;color:#fff;font:400 1.1875rem/1.2 var(--font)}
.s-ask input::placeholder{color:rgba(255,255,255,.66);opacity:1} /* the one muted text the site allows: a hint that goes when typing starts */
.s-ask input:focus{border-color:#fff;outline:2px solid #fff;outline-offset:1px}
.s-ask .s-btn{min-height:68px;padding:0 32px;font-size:1rem}
.s-ask__say,.s-city__places{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.s-city__places{justify-content:center}
.s-city__places[hidden]{display:none}
:is(.s-ask__say,.s-city__places) button{min-height:44px;padding:0 14px;border:1px solid rgba(255,255,255,.34);border-radius:var(--s-r);background:transparent;color:#fff;font:500 var(--s-fine)/1 var(--font);cursor:pointer;transition:border-color var(--motion-control) var(--ease-control),background-color var(--motion-control) var(--ease-control)}
:is(.s-ask__say,.s-city__places) button:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.s-say__facts{list-style:none;margin:clamp(56px,7vw,112px) 0 0;padding:0;display:grid;border-top:1px solid #fff}
.s-say__facts li{padding:clamp(18px,2vw,26px) 0;border-bottom:1px solid var(--s-rule-dark);font-size:var(--s-body);line-height:1.5}
.s-say__facts b{display:block;margin-bottom:6px;font:500 clamp(1.375rem,2vw,1.75rem)/1.1 var(--font-heading);letter-spacing:-.045em}
@media(min-width:560px){.s-ask__row{grid-template-columns:minmax(0,1fr) auto}}
@media(min-width:900px){
  .s-say__body{margin-left:44%}
  .s-say__facts{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(32px,4vw,72px)}
  .s-say__facts li{border-bottom:0;padding-bottom:0}
}

/* ---------- the city: light running out along the real streets, and the way to wherever is tapped ---------- */
.s-city{position:relative;padding-block:var(--s-section) clamp(56px,6vw,96px);overflow:hidden}
.s-city .s-lead{margin-top:clamp(20px,2vw,28px)}
.s-city__in{display:grid;gap:clamp(48px,7vw,88px)}
.s-city__in>*{min-width:0}
.s-cities{list-style:none;margin:clamp(28px,3.4vw,44px) 0 0;padding:0;border-top:1px solid #fff}
.s-cities a{display:flex;align-items:center;min-height:68px;border-bottom:1px solid var(--s-rule-dark);font:500 clamp(1.375rem,2vw,1.75rem)/1.1 var(--font-heading);letter-spacing:-.045em;color:#fff;text-decoration:none;transition:padding var(--motion-panel) var(--ease-out),color var(--motion-control) var(--ease-control)}
.s-cities a:hover{color:var(--champagne);padding-left:10px}
.s-zone{margin-top:clamp(32px,4vw,48px)}
.s-zone label{display:block;font-weight:500;margin-bottom:10px}
.s-zone__row{display:flex;gap:8px}
.s-zone input{flex:1 1 0;width:0;min-width:0;min-height:52px;padding:0 16px;border:1px solid rgba(255,255,255,.5);border-radius:var(--s-r);background:transparent;color:#fff;font:400 1rem/1.2 var(--font)}
.s-zone input:focus{border-color:#fff;outline:2px solid #fff;outline-offset:1px}
.s-zone .s-btn{flex:none}
.s-zone__out{min-height:1.6em;margin:12px 0 0;font-weight:500}
.s-zone__out a{color:inherit;text-decoration:underline;text-underline-offset:5px}
.s-city .s-links{margin-top:8px}
.s-city__map{display:grid;gap:16px;margin:0}
.s-city__map.is-missing{display:none} /* the street data did not arrive */
/* The stage is the window onto the city. The drawing in it is scaled about the middle of the city (--hx, --hy and the
   scale are set by home.js from the scroll position): close in at first, drawn back to the whole city as the map comes
   up the screen. While it is close in (.is-in, --zin from 1 to 0) the stage clips the drawing and its edges fade to the
   room, so the streets run out into the dark instead of ending at a box; drawn back, nothing is clipped or faded, and
   the distance standing at the end of a way may reach past the stage's edge. */
.s-city__stage{position:relative;width:100%}
.s-city__stage.is-in{overflow:hidden;--f:calc(var(--zin,0) * 13%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--f),#000 calc(100% - var(--f)),transparent 100%),linear-gradient(to bottom,transparent 0,#000 var(--f),#000 calc(100% - var(--f)),transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 var(--f),#000 calc(100% - var(--f)),transparent 100%),linear-gradient(to bottom,transparent 0,#000 var(--f),#000 calc(100% - var(--f)),transparent 100%);mask-composite:intersect}
.s-city__frame{position:relative;width:100%;aspect-ratio:22252/28940;opacity:0;transition:opacity 900ms var(--ease-out);cursor:crosshair;touch-action:pan-y;transform-origin:var(--hx,62%) var(--hy,60%)}
.s-city__frame.is-drawn{opacity:1}
.s-city__canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
/* Where the way ends: how far it is by road, standing at the point that was tapped. */
.s-city__pin{position:absolute;left:0;top:0;z-index:2;margin:0;translate:var(--x,0) var(--y,0);scale:calc(1 / var(--z,1));transform-origin:0 0;pointer-events:none;white-space:nowrap} /* the drawing may be standing close in (--z): the distance keeps its own size */
.s-city__pin[hidden]{display:none}
.s-city__pin::before{content:"";position:absolute;left:-6px;top:-6px;width:12px;height:12px;border-radius:50%;background:var(--champagne);box-shadow:0 0 0 6px rgba(207,181,138,.28)}
.s-city__pin strong,.s-city__pin span{position:absolute;left:18px;display:block}
.s-city__pin.is-left strong,.s-city__pin.is-left span{left:auto;right:18px;text-align:right}
.s-city__pin strong{bottom:0;padding:8px 12px 2px;background:#000;font:500 clamp(1.5rem,2.2vw,2.125rem)/1 var(--font-heading);letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.s-city__pin span{top:0;width:max-content;max-width:var(--room,260px);padding:2px 12px 9px;background:#000;font:500 var(--s-fine)/1.25 var(--font);white-space:normal}
.s-city__map .s-note{justify-self:center;text-align:center;max-width:44ch}
.s-city__map:not(:has(.is-drawn)) .s-note{visibility:hidden} /* no caption under a drawing that has not arrived */
@media(min-width:1000px){
  .s-city__in{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(48px,5vw,96px);align-items:center}
  .s-city__stage{justify-self:center;width:min(100%,calc(min(88vh,1040px) * 22252 / 28940))} /* as tall as the window allows, never wider than its column */
}

/* ---------- reviews: the words, set large ---------- */
.s-voices{padding-block:clamp(56px,6vw,96px) clamp(40px,4vw,64px)}
.s-voices__head{display:grid;gap:20px;padding-bottom:clamp(28px,3.4vw,48px)}
.s-voices__side{display:grid;gap:14px}
.s-voices__side .s-stars{margin-right:12px}
.s-reviews{list-style:none;margin:0;padding:0;display:grid;border-top:1px solid #fff}
.s-reviews li{display:flex;padding:clamp(26px,3vw,40px) 0;border-top:1px solid var(--s-rule-dark)}
.s-reviews li:first-child{border-top:0;padding-block:clamp(32px,4.4vw,72px) clamp(36px,4.8vw,80px)}
.s-review{flex:1;display:flex;flex-direction:column;gap:18px;margin:0}
.s-review blockquote{margin:0;font:400 clamp(1.25rem,1.6vw,1.5rem)/1.3 var(--font-heading);letter-spacing:-.035em;quotes:"\201C" "\201D"}
.s-review blockquote::before{content:open-quote}.s-review blockquote::after{content:close-quote}
.s-review--lead blockquote{font-weight:500;font-size:clamp(1.875rem,4.3vw,4.5rem);line-height:1.03;letter-spacing:-.056em;text-indent:-.42em}
.s-review figcaption{margin-top:auto;padding-top:6px;font-size:var(--s-small);font-weight:500}
.s-review figcaption a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
@media(min-width:900px){.s-voices__head{grid-template-columns:1fr auto;align-items:end;gap:48px}.s-voices__side{justify-items:end;text-align:right}}
@media(min-width:1000px){
  .s-reviews{grid-template-columns:1fr 1fr;column-gap:clamp(40px,5vw,96px)}
  .s-reviews li:first-child{grid-column:1/-1}
  .s-reviews li:nth-child(2):last-child{grid-column:1/-1;max-width:44rem} /* two reviews: the second sits alone under the first */
}

/* ---------- good to know: the page comes back up to midnight where the footer begins ---------- */
.s-answers-band{padding-block:clamp(56px,6vw,96px) var(--s-section);background:#000}
/* the room goes to the foot of the page: the footer is the same black under one rule, and once the hero has gone by the header is too */
.s-page .ft.cwf-footer{background:#000;border-top:1px solid var(--s-rule-dark)}
.s-page #nav{transition:background-color 360ms var(--ease-out),translate 420ms cubic-bezier(.16,1,.3,1)}
/* the header is the room's black on every page written here; on the homepage it is the hero's midnight for as long as the hero is in sight (room.js says when it has gone by) */
.s-page #nav{--nav-paper:#000}
html:not(.nav-night) .cwf-home #nav{--nav-paper:var(--midnight)}
.s-answers{display:grid;gap:clamp(32px,4vw,56px)}
.s-answers>*{min-width:0}
.s-faq{border-top:1px solid #fff}
.s-faq details{border-bottom:1px solid var(--s-rule-dark)}
.s-faq summary{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:80px;padding:18px 0;font:500 clamp(1.1875rem,1.8vw,1.625rem)/1.2 var(--font-heading);letter-spacing:-.04em;color:#fff;cursor:pointer;list-style:none;transition:color var(--motion-control) var(--ease-control)}
.s-faq summary::-webkit-details-marker{display:none}
.s-faq summary:hover{color:var(--champagne)}
.s-faq details p{margin:0;padding-bottom:30px;max-width:58ch;font-size:var(--s-body);color:#fff}
.s-faq details a{color:inherit;text-decoration:underline;text-underline-offset:5px;font-weight:500}
@media(min-width:1000px){.s-answers{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(48px,6vw,112px);align-items:start}.s-answers>header{position:sticky;top:132px}}

/* ---------- the wheel rolls across the foot of the page ----------
   The film's wheel, 90 renders of it turning once about its axle; home.js slides the picture across this band as the
   band comes up the window and shows the render for how far it has rolled. The band is as tall as the picture; the
   reflection under the wheel sinks into the room. Out of the page ([hidden]) until its first picture has arrived. */
.s-roll{position:relative;height:clamp(280px,62vh,760px);overflow:hidden;background:#000;pointer-events:none}
.s-answers-band:has(+ .s-roll:not([hidden])){padding-bottom:clamp(16px,2vw,40px)} /* the wheel's band is the room between the questions and the footer */
.s-roll[hidden]{display:none}
.s-roll canvas{position:absolute;left:0;top:0;display:block;height:100%;width:auto;will-change:transform;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 80%,rgba(0,0,0,0) 99%);mask-image:linear-gradient(to bottom,#000 0,#000 80%,rgba(0,0,0,0) 99%)}
@media print{.s-roll{display:none}}

/* ---------- the request form when the dialog is unavailable (no script) ---------- */
.s-request{padding-block:var(--s-section);background:var(--paper);color:var(--fg)}
.s-request :is(a,button,summary,input):focus-visible{outline-color:var(--midnight)}
.s-request .qw-card{max-width:640px;margin-inline:auto}
.s-request .qw-card__sub{font-size:var(--s-small)}
html.rs-enabled .s-request-slot{display:none}

/* ---------- arrival ----------
   Blocks rise into place once, the first time they are scrolled to; the big line of "say what
   it's doing" lights up word by word as it is read (--k is how far it has come up the window, set
   by home.js). home.js adds .s-motion only when it can also remove the waiting state, so a page
   without script, or a visitor who asked for less motion, sees everything in place from the start. */
html.s-motion [data-reveal]{opacity:0;transform:translateY(40px)}
html.s-motion [data-reveal].is-in{opacity:1;transform:none;transition:opacity 900ms var(--ease-out),transform 1300ms var(--ease-out)}
html.s-motion [data-ink] .s-w{opacity:clamp(.2,calc(var(--k,0) * (var(--n,4) + 1) - var(--i,0)),1)}
/* The sheet of the report is lifted to the reader as it comes up the window: it leans back at first and stands square
   by the time it is read (--a, from 0 to 1, set by home.js from the scroll position). */
html.s-motion [data-lay]{transform-origin:50% 100%;transform:perspective(1800px) translateY(calc((1 - var(--a,1)) * 48px)) rotateX(calc((1 - var(--a,1)) * 13deg));opacity:calc(.3 + var(--a,1) * .7)}

@media(prefers-reduced-motion:reduce){.s-page *,.s-page *::before,.s-page *::after,.s-faq details::details-content{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.s-after{-webkit-print-color-adjust:exact;print-color-adjust:exact}html.s-film-on .s-film{height:auto!important}html.s-film-on .s-film__pin{position:static;height:auto}html.s-film-on .s-film__ch{position:static;opacity:1!important}html.s-film-on .s-film__words{position:static;translate:none;width:auto}html.s-film-on :is(.s-film__canvas,.s-film__names,.s-film__read,.s-film__bar){display:none}html.s-film-on .s-film__still{display:block}html.s-motion :is([data-reveal],[data-lay]){opacity:1!important;transform:none!important}html.s-motion [data-ink] .s-w{opacity:1!important}}

/* The footer's look (the closing invitation at headline size) lives in footer-modern.css, which every page loads. */

/* ---------- shared widgets on rebuilt pages (their old styles lived in the legacy stylesheets) ---------- */
/* Phone action bar: Call, Text, Get a quote. Base layout and the dark bar are in quote-widget.css. */
.s-page .qw-sticky :is(.qw-sticky__call,.qw-sticky__sms){color:#fff}
.s-page .qw-sticky .qw-sticky__quote{color:var(--midnight)}
.s-page .qw-sticky a{font-size:.9375rem;border-radius:var(--s-r)}
/* On the homepage the bar and the helper belong to the room: black, a hairline, white where something is pressed. */
.cwf-home .qw-sticky{background:#000;border-top:1px solid var(--s-rule-dark);box-shadow:none}
.cwf-home .qw-sticky :is(.qw-sticky__call,.qw-sticky__sms){background:transparent;border:1px solid rgba(255,255,255,.5);color:#fff;font-weight:500}
.cwf-home .qw-sticky .qw-sticky__quote{background:#fff;border:1px solid #fff;color:#000;font-weight:500}
/* The AI helper: a quiet square button on desktop, hidden on phones where the action bar already sits. */
.s-page .aiw{right:22px!important;bottom:22px!important;z-index:990!important}
.s-page #aiw-open{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 16px 0 14px;background:var(--surface);color:var(--midnight);border:1px solid var(--line2);border-radius:var(--s-r);box-shadow:0 4px 18px rgba(13,21,38,.1);font:500 .9375rem/1 var(--font);transform:none}
.s-page #aiw-open:hover{border-color:var(--midnight);background:var(--paper);transform:none;box-shadow:0 4px 18px rgba(13,21,38,.1)}
.s-page #aiw-open svg{width:19px;height:19px;stroke-width:1.6}
.cwf-home #aiw-open{background:#000;color:#fff;border-color:rgba(255,255,255,.5);box-shadow:none}
.cwf-home #aiw-open:hover{background:#000;border-color:#fff;box-shadow:none}
.s-page :is(.aiw-tease,.aiw-exit,.aiw-dot){display:none!important}
.s-page .aiw-panel{right:22px;bottom:calc(var(--aiw-view-bottom,0px) + 22px);z-index:1120;width:min(430px,calc(100vw - 44px));height:min(680px,calc(var(--aiw-view-height,100dvh) - 44px));border:1px solid var(--line);border-radius:var(--s-r);box-shadow:0 16px 55px rgba(13,21,38,.2);transition:none!important}
.s-page .aiw-panel .aiw-head{background:var(--midnight);padding:19px 20px;flex-shrink:0;gap:12px}
.s-page .aiw-head strong{font-size:.9375rem;font-weight:650}
.s-page .aiw-head span{font-size:.875rem}
.s-page .aiw-x{width:44px;height:44px;flex:none;background:none;border:1px solid rgba(255,255,255,.25);border-radius:var(--s-r)}
.s-page .aiw-chat{background:var(--bg);padding:20px;min-height:0;overscroll-behavior:contain}
.s-page .aiw-m{border-radius:var(--s-r);font-size:.9375rem;line-height:1.7}
.s-page .aiw-panel .aiw-foot{padding:16px 18px;background:var(--surface);flex-shrink:0;max-height:55%;overflow-y:auto;overscroll-behavior:contain}
.s-page .aiw-panel .aiw-inrow textarea{width:100%;min-width:0;min-height:46px;border:1px solid var(--line2);border-radius:var(--s-r);line-height:1.45}
.s-page .aiw-panel .aiw-send{min-height:46px;min-width:68px;flex:none;padding-inline:12px;border-radius:var(--s-r);background:var(--midnight)}
.s-page .aiw-panel .aiw-cap .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.s-page .aiw-panel .aiw-cap .book{grid-column:1/-1;min-height:46px;border-radius:var(--s-r);background:var(--midnight)}
.s-page .aiw-panel :is(.aiw-cap input,.aiw-start,.aiw-bookchip,.aiw-price,.aiw-handoff a){border-radius:var(--s-r)}
.s-page .aiw-panel .aiw-fine{font-size:.875rem;line-height:1.5;color:var(--fg)}
.s-page .aiw-panel .aiw-m.typing{color:var(--fg);font-style:normal}
.s-page .aiw-retry{display:block;min-height:44px;padding:8px 12px;margin-top:10px;border:1px solid currentColor;border-radius:var(--s-r);color:inherit;font-size:.875rem;font-weight:650}
.aiw-backdrop{position:fixed;inset:0;z-index:1110;background:rgba(13,21,38,.35)}
.aiw-backdrop[hidden]{display:none}
body.s-page:has(.aiw-panel.on) .qw-sticky{visibility:hidden;pointer-events:none}
@media(max-width:768px){
  .s-page .aiw{display:none!important}
  .s-page .aiw-panel{inset:auto 0 var(--aiw-view-bottom,0);width:100%;height:var(--aiw-view-height,100dvh);max-height:100dvh;border-radius:0}
  .s-page .aiw-panel .aiw-foot{padding-bottom:max(16px,env(safe-area-inset-bottom))}
}
