/* Only integration, look-neutral accessibility and Ty's ordered changes. The original design stays in style.css and motion.css. */
.sales-skip{position:fixed;top:8px;left:8px;transform:translateY(-180%);z-index:9999;padding:12px;background:#fff;color:#231f20}
.sales-skip:focus{transform:none}
.faq-list summary{min-height:44px}
/* The original 62px header. With enlarged text it may grow instead of clipping its button; at normal size it stays 62px. */
.hdr .wrap{height:auto;min-height:62px}

/* Hero. Ty, Oct 27: "I want the phone and then the guy." The original live page's 3D phone (the Clearline pressure washing
   site on its screen, scrolled by the engine as the page scrolls) with the pressure washing tech beside it. No pinned
   runway and no hero choreography, so the hero keeps the first screen as the original unpinned hero does. */
.hero,.reduced .hero,.no-stage .hero,.no-js .hero{height:auto}
.hero .hero-pin,.reduced .hero-pin,.no-stage .hero-pin,.no-js .hero-pin{position:relative;top:0;height:auto;min-height:calc(100svh - 64px)}
/* The still poster (reduced motion, no WebGL, and until the stage starts) stands where the engine rests the phone at the
   top of the page on laptops: phone centre 80% across and half way down the window, image 70svh tall (measured at
   1024x768, 1280x800, 1440x900, 1920x1080), so the 1.2s cross-fade does not jump. It is placed against .hero-pin. */
.hero .stage{position:static}
.hero .stage .hero-poster{left:calc(80% - 22.2svh);right:auto;top:calc(50% - 64px - 35svh);height:70svh;width:auto;max-height:none;transform:none}
@media (max-width:767px),(max-width:1023px) and (orientation:portrait){.hero-gap .gap-poster{right:5%}}
/* Phones with enlarged text (200%): the headline's longest word and the buy button's one line grew wider than the
   column, so the hero's column, its words and the phone's gap ran past the screen's edge. A headline word may now break
   rather than overflow, the button may wrap its words, and the "See example sites" link goes under it when the two no
   longer fit side by side. At normal text sizes nothing moves: every headline word fits its line, and the row is as
   before, the button on one line and the link beside it, taking the room that is left up to its own width. */
@media (max-width:767px),(max-width:1023px) and (orientation:portrait){
  .hero h1{overflow-wrap:anywhere}
  .hero .ctas{flex-wrap:wrap}
  .hero .ctas .btn{flex:none;max-width:100%;white-space:normal}
  .hero .ctas .link{flex:1 1 0;max-width:max-content}
}
/* Promise row under the hero buttons: the checkout's own three lines (routes/_lib/checkout-v2.ts GUAR + 'Secure payment by
   Stripe'), in the v5 reference page's row: each line rises in, then its tick draws. The drawn tick is used here only. */
.hero-prom{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;font-weight:650;font-size:.95rem}
.hero-prom li{display:flex;align-items:center;gap:7px}
.hero-prom svg{width:20px;height:20px;flex:none}
.hero-prom circle{fill:var(--green,#34A853);stroke:var(--ink,#231F20);stroke-width:1.6}
.hero-prom path{fill:none;stroke:var(--ink,#231F20);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
html.js:not(.reduced) .hero-prom li{animation:prom-in .5s calc(.9s + var(--i)*.18s) cubic-bezier(.2,.8,.2,1) both}
html.js:not(.reduced) .hero-prom path{stroke-dasharray:1;stroke-dashoffset:1;animation:prom-draw .45s calc(1.2s + var(--i)*.18s) ease-out forwards}
@keyframes prom-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes prom-draw{to{stroke-dashoffset:0}}
@media (max-width:760px){.hero-prom{gap:6px 12px;font-size:.84rem;margin-top:14px}.hero-prom svg{width:17px;height:17px}}
@media (prefers-reduced-motion:reduce){.hero-prom *{animation:none!important}.hero-prom path{stroke-dashoffset:0!important}}
/* Wide windows: the headline grows with the window (7.3vw, up to 8.2rem) while its column stops at the page's 1280px, so
   from 1680 it wrapped to 5 lines with "better" alone. Past 1440 it stops at 108px, which keeps the 4 lines it has at 1440
   (measured: 4 lines up to 112px in that column); at 1440 and below nothing changes. */
@media (min-width:1441px){.hero h1{font-size:clamp(3rem,min(7.3vw,12.4vh),6.75rem)}}

/* Final CTA. The original two-column finale; per Ty (MASTER-LIST, Oct 21: "Replaced finale figures with brand/page/work
   components") the three components stand where its standees stood, among the returning phone, and drop in the same way.
   Its prop motion brings each one .8 toward its camera, which spreads them out from the middle of the window by 10/9.2 in
   both directions. Their --bx/--mx slots sit 9.2/10 of the way out, so at rest each card's centre is where it was placed. */
:is(.component-card,.card-flat){position:absolute;left:var(--mx);top:var(--my);width:var(--mw);z-index:1;border:2px solid var(--ink);box-shadow:8px 8px 0 #231f2030;padding:1.4vw;background:var(--cream);color:var(--ink);will-change:transform}
@media (min-width:1024px),(min-width:768px) and (orientation:landscape){:is(.component-card,.card-flat){left:var(--bx);top:var(--by);width:var(--bw)}}
:is(.component-card,.card-flat) span{display:block;font:600 11px/1.3 'IBM Plex Sans',sans-serif;letter-spacing:.06em}
:is(.component-card,.card-flat) b{display:block;font:800 clamp(14px,1.45vw,22px)/1.2 var(--font-display);margin-top:10px}
.component-brand>div{display:flex;margin-top:22px;gap:8px}.component-brand i{height:30px;width:30px;border:1px solid var(--ink);border-radius:50%;background:var(--ttm-blue)}.component-brand i:nth-child(2){background:var(--yellow)}.component-brand i:nth-child(3){background:var(--ink)}.component-brand i:nth-child(4){background:var(--cream)}
.component-pages{background:var(--yellow)}.component-pages b{border-bottom:1px solid #231f2040;padding-bottom:6px}
.component-work{padding:0;overflow:hidden}.component-work img{display:block;width:100%;aspect-ratio:4/5;height:auto;object-fit:cover}.component-work span{position:absolute;bottom:0;left:0;right:0;padding:10px;background:var(--ink);color:var(--cream)}
@media (max-width:767px),(max-width:1023px) and (orientation:portrait){
  :is(.component-card,.card-flat){padding:12px 10px;box-shadow:5px 5px 0 #231f2030}
  :is(.component-card,.card-flat) span{font-size:9px}:is(.component-card,.card-flat) b{font-size:16px;margin-top:8px}
  .component-brand>div{margin-top:14px;gap:4px}.component-brand i{width:18px;height:18px}
  .component-work{padding:0}.component-work span{padding:6px}
}
/* The original cross-fade when its stage starts (motion.css: its slot's flat .prop-slot>img fades out over .6s and its
   .sk-canvas, with the figure in its 3D pose, fades in over 1.2s, both on .stage-ready). The flat twin plays its <img>, in
   its slot's layer (z-index 4, over its canvas) and out of the way of the pointer as its slots are; the card plays its
   figure under its canvas. integration.js makes the twins only where its stage can start. */
.card-flat{z-index:4;pointer-events:none;transition:opacity .6s}
.stage-ready .card-flat{opacity:0}
.component-card.card-live{opacity:0;transition:opacity 1.2s}
.stage-ready .component-card.card-live{opacity:1}

/* Readability, Ty (Oct 23): darken only the two light lines on the blue Home card ("Page 1" in --ink-3, 2.9:1, and the
   line under it in --ink-2, 3.7:1) and the Brand Kit's fine print (ink at .8 opacity on green, 4.0:1), each moved toward
   the original ink just far enough to pass WCAG AA 4.5:1 (4.6:1, 4.6:1 and 4.7:1). Every other colour stays the original. */
.pg.big .eyebrow{color:#3C3532}
.pg.big p{color:#3A3537}
.kit .fine{opacity:.9}
/* The empty end markers of "What you get" (data-beat="rise" and "under"): no size, so they only tell the 3D phone where the
   cards end. */
.beat-end{display:block;height:0;margin:0;padding:0}
/* Its start marker (data-beat="out"): one screen tall plus 40px from the section's top, so its key (the engine's: where its
   middle meets the screen's middle) falls 20px after How it works has scrolled away, at any window height. vh first for
   browsers without lvh; both are at least the window's height. It takes no room and catches no pointer. */
.beat-out{position:absolute;top:0;left:0;width:0;height:calc(100vh + 40px);height:calc(100lvh + 40px);margin:0;padding:0;pointer-events:none;visibility:hidden}
/* Phones and portrait tablets (the engine's own mobile test): the "under" marker sits lower (moved, taking no room), so
   the phone holds under the screen a little longer and rises into place over the last 80px of "What you get" and its
   bottom padding; it then reaches its place as the looks pin, not ahead of the heading, which arrives from below too. */
@media (max-width:767px),(max-width:1023px) and (orientation:portrait){.beat-end[data-beat="under"]{position:relative;top:calc(50vh - 80px)}}
/* "What you get": one card stays under the page map (the quote form and the call buttons are shown working in the
   next section), so it runs the full width, its icon beside its words. */
.get .leads{grid-template-columns:1fr}
.get .leads .lf{display:grid;grid-template-columns:52px 1fr;column-gap:18px;align-items:center;border-right:0;border-bottom:0}
.get .leads .lf .ic{grid-row:span 2;margin:0}
.get .leads .lf h3{margin:0 0 4px}
/* The FAQ heading keeps its own height beside the longer list (12 questions since Oct 27): stretched to the list, its
   lean folded in from the foot of a 1,000px box and stayed off screen until the list had nearly passed. */
.faq .wrap{align-items:start}
/* How it works on wide windows: integration.js sets --turn-room where the phone, still turning in as the pin starts,
   would come within 28px of step 1's words (1920x1080 and 2560x1440: it covered their first letters for the first 6 to
   12px of the pin). The words move over by that much inside their own column; the column, which integration.js measures,
   does not move. Elsewhere it is 0. */
#how .flip-copy{padding-left:var(--turn-room,0px)}

/* Short phones (700px tall or less): the pinned heading, the phone and the step's words did not fit above the buy bar,
   which stays (D7), so each How it works step's and look's last lines ran under it at 320x568, 360x640 and 375x667. Here
   the heading keeps its two lines, the stage takes only the room that is left, the step count and How it works'
   one-line taglines step aside (each step's name and body say it), and the words end 10px above the bar (78px).
   integration.js then rests the phone, a little smaller, between the heading and the words, and How it works' stickers
   sit beside it instead of over the words. 390x844 and taller phones are as before. Upright phones only: a phone held
   sideways (667x375, 740x360, 568x320) keeps the layout it had before, where the phone covers no words; with these rules
   it covered the heading and the step's words for most of each pin (repair round 2). */
@media (max-width:767px) and (max-height:700px) and (orientation:portrait){
  .flip-head h2{max-width:none}
  .flip-stage{min-height:0}
  .flip-words{min-height:0}
  .flip-grid{padding-bottom:88px}
  .flip .flip-count,#how .flip-tag{display:none}
  #how .prop-slot{top:36%}
}

/* The release's domain purchase rows ship hidden and show only when the server says it sells domains (the page's
   site-domain probe, redesign-sales.mjs withDomainSwitch), so without JavaScript no $29 offer shows. */
.receipt [data-domain-sale][hidden]{display:none}

/* The trades strip's star between trades is decoration: the same star, with empty alternative text, so screen readers
   read the 13 trades and not "star" after each. Browsers without alternative text keep style.css's star. */
.chipt::after{content:"✦"/""}
