/* Delta Structures shared page CSS: resets, focus ring, theme variables, dark-mode accent text lift, high contrast, reduced motion. */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html:has([data-rm="1"]){scroll-behavior:auto}
body{-webkit-font-smoothing:antialiased;overflow-x:clip;background:#FBFAF7}
a{color:inherit;text-decoration:none}
a:hover{color:inherit}
button,input,select{font:inherit;color:inherit;background:none;border:0}
button{cursor:pointer}
:focus-visible{outline:3px solid #EA580C;outline-offset:2px;border-radius:8px}
/* The focus ring is our orange (#EA580C: 3.5:1 on the light page, 5.6:1 on the dark one; D2, 10 Nov 2026, AC4). The orange buttons were undone at the user's word the same day: buttons are var(--btn) again. Keep in step: site.css, Home v2, Calculators, Legal, Offline. */
[data-th="dark"]{--bg:#07080D!important;--ink:#F2F4FA!important;--ink2:#A3AABD!important;--line:rgba(242,244,250,.12)!important;--tile:#0E1018!important;--glass:rgba(14,16,24,.6)!important;--glassb:rgba(242,244,250,.1)!important;--btn:#F2F4FA!important;--btnInk:#0B1020!important;--blob:.3!important}
[data-hc="1"]{--ink2:var(--ink)!important;--line:color-mix(in srgb,var(--ink) 50%,transparent)!important;--glassb:color-mix(in srgb,var(--ink) 50%,transparent)!important;--blob:.12!important}
[data-hc="1"][data-th="dark"]{--line:color-mix(in srgb,var(--ink) 40%,transparent)!important;--glassb:color-mix(in srgb,var(--ink) 40%,transparent)!important}
/* High contrast, light: accent text darkened to 7:1 or better (keep in step with the dark-mode lift list). */
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(194, 65, 12)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(194, 65, 12)"],[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(180, 84, 15)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(180, 84, 15)"]{color:#7C2D12!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(232, 112, 15)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(232, 112, 15)"]{color:#7C2D12!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(8, 145, 178)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(8, 145, 178)"]{color:#164E63!important}
[data-hc="1"] [data-dim]{opacity:1!important}
[data-hc="1"] [style*="background: var(--line"]:not(:empty),[data-hc="1"] [style*="background-color: var(--line"]:not(:empty){background:color-mix(in srgb,var(--ink) 9%,transparent)!important;box-shadow:inset 0 0 0 1.5px var(--ink)!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(161, 98, 7)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(161, 98, 7)"]{color:#5C3310!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(154, 52, 18)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(154, 52, 18)"]{color:#7C2D12!important}
[data-hc="1"][data-th="dark"] [style^="color: rgb(245, 130, 31)"],[data-hc="1"][data-th="dark"] [style*="; color: rgb(245, 130, 31)"]{color:#FDBA74!important}
/* the same lift for an orange that a page sets as #C2410C in light and #F5821F in dark (Civil's accents, Home's Civil Contracting panel): the static page keeps the light colour inline and sets the dark one by a mode rule, which only this beats (AC4, 12 Nov; static-check Civil hcd) */
[data-hc="1"][data-th="dark"] [style^="color: rgb(194, 65, 12)"],[data-hc="1"][data-th="dark"] [style*="; color: rgb(194, 65, 12)"]{color:#FDBA74!important}
[data-hc="1"] [style^="color: rgb(27, 11, 36)"],[data-hc="1"] [style*="; color: rgb(27, 11, 36)"]{color:#000!important}
[data-hc="1"] [style^="color: rgb(79, 86, 106)"],[data-hc="1"] [style*="; color: rgb(79, 86, 106)"]{color:#0B1020!important}
[data-hc="1"] [style^="color: rgb(163, 168, 184)"],[data-hc="1"] [style*="; color: rgb(163, 168, 184)"]{color:#E2E5EE!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(15, 123, 95)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(15, 123, 95)"]{color:#064E3B!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(21, 128, 61)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(21, 128, 61)"]{color:#14532D!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(180, 35, 24)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(180, 35, 24)"]{color:#991B1B!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(14, 116, 144)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(14, 116, 144)"]{color:#164E63!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(109, 40, 217)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(109, 40, 217)"],[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(124, 58, 237)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(124, 58, 237)"]{color:#5B21B6!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(190, 24, 93)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(190, 24, 93)"]{color:#831843!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(138, 106, 0)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(138, 106, 0)"],[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(138, 90, 0)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(138, 90, 0)"]{color:#5C3310!important}
[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(29, 78, 216)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(29, 78, 216)"],[data-hc="1"]:not([data-th="dark"]) [style^="color: rgb(37, 99, 235)"],[data-hc="1"]:not([data-th="dark"]) [style*="; color: rgb(37, 99, 235)"]{color:#1E3A8A!important}
[data-rm="1"] *,[data-rm="1"] *::before,[data-rm="1"] *::after{animation:none!important;transition:none!important}
/* the figures' Pause / Play (Service, Civil Contracting; Home has its own rule): nothing turns by itself with Reduce motion, so no control (AC4, 12 Nov) */
[data-rm="1"] [data-st="gauto"]{display:none!important}
@media (prefers-reduced-motion: reduce){[data-st="gauto"]{display:none!important}}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation:none!important;transition-duration:.01ms!important}html{scroll-behavior:auto}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation-duration:.15s!important}}
[data-th="dark"] [style^="color: rgb(194, 65, 12)"],[data-th="dark"] [style*="; color: rgb(194, 65, 12)"],[data-th="dark"] [style^="color: rgb(180, 84, 15)"],[data-th="dark"] [style*="; color: rgb(180, 84, 15)"]{color:#FDBA74!important}
[data-th="dark"] [style^="color: rgb(15, 123, 95)"],[data-th="dark"] [style*="; color: rgb(15, 123, 95)"],[data-th="dark"] [style^="color: rgb(21, 128, 61)"],[data-th="dark"] [style*="; color: rgb(21, 128, 61)"]{color:#4ADE80!important}
[data-th="dark"] [style^="color: rgb(180, 35, 24)"],[data-th="dark"] [style*="; color: rgb(180, 35, 24)"]{color:#FCA5A5!important}
[data-th="dark"] [style^="color: rgb(14, 116, 144)"],[data-th="dark"] [style*="; color: rgb(14, 116, 144)"]{color:#67E8F9!important}
[data-th="dark"] [style^="color: rgb(109, 40, 217)"],[data-th="dark"] [style*="; color: rgb(109, 40, 217)"],[data-th="dark"] [style^="color: rgb(124, 58, 237)"],[data-th="dark"] [style*="; color: rgb(124, 58, 237)"]{color:#C4B5FD!important}
[data-th="dark"] [style^="color: rgb(190, 24, 93)"],[data-th="dark"] [style*="; color: rgb(190, 24, 93)"]{color:#F9A8D4!important}
[data-th="dark"] [style^="color: rgb(138, 106, 0)"],[data-th="dark"] [style*="; color: rgb(138, 106, 0)"],[data-th="dark"] [style^="color: rgb(138, 90, 0)"],[data-th="dark"] [style*="; color: rgb(138, 90, 0)"]{color:#FDE047!important}
[data-th="dark"] [style^="color: rgb(161, 98, 7)"],[data-th="dark"] [style*="; color: rgb(161, 98, 7)"]{color:#FDE047!important}
[data-th="dark"] [style^="color: rgb(154, 52, 18)"],[data-th="dark"] [style*="; color: rgb(154, 52, 18)"]{color:#FDBA74!important}
[data-th="dark"] [style^="color: rgb(29, 78, 216)"],[data-th="dark"] [style*="; color: rgb(29, 78, 216)"],[data-th="dark"] [style^="color: rgb(37, 99, 235)"],[data-th="dark"] [style*="; color: rgb(37, 99, 235)"]{color:#93C5FD!important}

/* Lab: the next-step card under the tool replaces the tool's own offer buttons (still shown where a tool is embedded elsewhere). */
[data-bench="1"] [data-cta="1"]{display:none!important}
/* Folds on the long Lab tools (11 Oct): <details data-fold="1"> with a chevron that turns when open. */
details[data-fold]>summary{list-style:none}details[data-fold]>summary::-webkit-details-marker{display:none}
details[data-fold][open]>summary [data-chev]{transform:rotate(180deg)}details[data-fold]>summary:hover [data-chev]{background:var(--bg)!important}
/* K5 (UX3, 23 Nov 2026, AC4; team/UX-AUDIT.md K5): every <details> opens and closes with its height where the browser can animate to auto (::details-content, interpolate-size; Chromium 131+); elsewhere it opens at once as before. overflow-clip-margin keeps focus rings inside. None under the system's Reduce motion or the site's switch. */
@supports selector(::details-content){details{interpolate-size:allow-keywords}details::details-content{block-size:0;overflow:clip;overflow-clip-margin:8px;transition:block-size .32s var(--e-out,cubic-bezier(.2,.8,.2,1)),content-visibility .32s allow-discrete}details[open]::details-content{block-size:auto}[data-rm="1"] details::details-content{transition:none}@media (prefers-reduced-motion: reduce){details::details-content{transition:none}}}
/* K2 (UX3, 23 Nov 2026, AC4; team/UX-AUDIT.md K2, decisions.md "UX3 K2"): one carousel behaviour. A [data-car] row: a mouse drags it and the keys step it (ds-car.js, in the page's helmet); [data-carp] > i is its progress line, on a CSS scroll timeline where supported (the row and its line inside one [data-carw]), set by ds-car.js elsewhere. Keep in step with Home v2's helmet. */
@media (hover:hover) and (pointer:fine){[data-car]{cursor:grab}}[data-car][data-car-drag]{scroll-snap-type:none!important;cursor:grabbing;user-select:none;-webkit-user-select:none}[data-car][data-car-drag] *{pointer-events:none}
[data-carw]{timeline-scope:--car}@keyframes ds-carp{from{transform:scaleX(.12)}to{transform:scaleX(1)}}@supports (animation-timeline:scroll()){[data-car]{scroll-timeline:--car x}[data-carp]>i{animation:ds-carp linear both;animation-timeline:--car}}
/* Touch screens (B6, 27 Oct): no backdrop blur on panels in the page flow. They sit over the plain page background, so the blur costs the phone GPU work and shows almost nothing. Panels read var(--bf) (pages that set it) or var(--bfs, <their blur>); the header, its menus ([data-hpop]), the footer pop-ups and sticky bars ([data-float]) keep the blur. The background blobs ([data-blob], filter: blur(90–120px)) become a masked radial gradient three times their size, which looks the same at phone sizes (checked side by side, light and dark) and never runs a large blur. Home and Area v2 carry the same rule in their helmets (Civil Contracting links this file since MO4, 2 Nov). */
@media (hover:none) and (pointer:coarse){[data-th]{--bf:none!important;--bfs:none}[data-site-header],[data-hpop],[data-float]{--bf:blur(20px) saturate(180%)!important;--bfs:blur(18px)}[data-blob]{filter:none!important;scale:3;-webkit-mask-image:radial-gradient(closest-side,rgba(0,0,0,.3),rgba(0,0,0,.25) 25%,rgba(0,0,0,.15) 50%,rgba(0,0,0,.06) 75%,rgba(0,0,0,.015) 90%,transparent);mask-image:radial-gradient(closest-side,rgba(0,0,0,.3),rgba(0,0,0,.25) 25%,rgba(0,0,0,.15) 50%,rgba(0,0,0,.06) 75%,rgba(0,0,0,.015) 90%,transparent)}}
/* Motion kit, Spectrum alive (MO3, 2 Nov 2026, AC1; decisions.md "Motion: Spectrum alive", team/MOTION-PLAN.md 2). Opt-in attributes; ds-motion.js sets the state (it lists them). Transform, opacity and clip only; nothing moves the layout. Off with Reduce motion (above); html[data-lite] and html[data-still] stop the drift. The reveal (data-rv) fills backwards only: once a block is in, the animation lets go, so an inline transform (data-tilt) or scale (data-press) still works on it. data-sw: a headline word (or the whole h1) rises out of a blur at full opacity, --k apart (never hides the LCP). */
:root{--m-fast:140ms;--m-base:260ms;--m-slow:520ms;--m-story:900ms;--e-out:cubic-bezier(.2,.8,.2,1);--e-in:cubic-bezier(.4,0,1,1);--e-spring:cubic-bezier(.3,1.4,.4,1);--spec:#22d3ee,#a78bfa,#F472B6,#F5821F,#FDB515,#22d3ee}
@supports (transition-timing-function:linear(0,1)){:root{--e-spring:linear(0,.02 1.5%,.09 3.5%,.36 8.5%,.72 14.5%,.96 20%,1.06 25%,1.08 29%,1.05 35%,1.01 43%,.99 52%,1 70%,1)}}
@keyframes ds-rv{from{opacity:0;transform:translateY(26px) scale(.985)}to{opacity:1;transform:none}}
@supports (animation-timeline:view()){[data-rv]{animation:ds-rv linear backwards;animation-timeline:view();animation-range:entry calc(min(var(--k,0),6)*4%) entry calc(60% + min(var(--k,0),6)*4%)}}
@keyframes ds-sw{from{transform:translateY(.32em);filter:blur(8px)}}[data-sw]{animation:ds-sw .8s var(--e-out) backwards;animation-delay:calc(var(--k,0) * 70ms + 60ms)}
[data-count]{font-variant-numeric:tabular-nums}
[data-press]{transition:scale .46s cubic-bezier(.3,1.6,.4,1)}[data-press]:active{scale:var(--ps,.96);transition-duration:.12s;transition-timing-function:cubic-bezier(.2,.8,.2,1)}
[data-mag]{transition:translate var(--m-slow) var(--e-spring)}
[data-tilt]:not([data-tilt="vars"]){transition:transform var(--m-slow) var(--e-spring),box-shadow var(--m-base) var(--e-out)}
@media (hover:hover) and (pointer:fine){[data-tilt]:not([data-tilt="vars"]):hover{box-shadow:-16px -8px 44px -14px rgba(34,211,238,.5),16px 10px 44px -14px rgba(244,114,182,.5),0 22px 54px -16px rgba(167,139,250,.55)!important}
:where([data-light]){position:relative}[data-light]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(var(--light-r,320px) circle at var(--mx,-999px) var(--my,-999px),var(--light,rgba(167,139,250,.2)),transparent 65%);opacity:0;transition:opacity var(--m-base) var(--e-out)}[data-light]:hover::after{opacity:1}
[data-shine]:hover::before{animation:ds-shine .9s var(--e-out)}}
:where([data-shine]){position:relative;overflow:hidden}[data-shine]::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);transform:translateX(-130%)}[data-shine][data-go]::before{animation:ds-shine 1.1s var(--e-out) .15s}
@keyframes ds-shine{to{transform:translateX(130%)}}
[data-pill]>[data-pill-i]{position:absolute;left:0;top:0;z-index:0;border-radius:var(--pill-r,999px);background:var(--pill,linear-gradient(90deg,#BE185D,#7C3AED));box-shadow:0 8px 24px rgba(167,139,250,.35);pointer-events:none;transition:transform .5s var(--e-spring),width .5s var(--e-spring),height .5s var(--e-spring),opacity var(--m-base)}[data-pill]>:not([data-pill-i]){position:relative;z-index:1}
[data-burst-fx],[data-spark]{position:fixed;pointer-events:none;z-index:2147483000;border-radius:50%}
[data-burst-fx]{width:18px;height:18px;margin:-9px 0 0 -9px;background:radial-gradient(var(--c),transparent 70%);animation:ds-burst .65s var(--e-out) forwards}
[data-spark]{width:7px;height:7px;margin:-3.5px 0 0 -3.5px;animation:ds-spark .85s var(--e-out) forwards}
@keyframes ds-burst{from{transform:scale(1);opacity:.75}to{transform:scale(10);opacity:0}}
@keyframes ds-spark{from{transform:none;opacity:1}to{transform:translate(var(--dx),var(--dy)) scale(.3);opacity:0}}
[data-done]{animation:ds-done .9s var(--e-out)}@keyframes ds-done{from{box-shadow:0 0 0 0 rgba(46,197,145,.6)}to{box-shadow:0 0 0 18px rgba(46,197,145,0)}}
/* CTA glow (the user, 25 Nov 2026, AC9; decisions.md "CTA glow"): a spectrum ring just outside our main buttons with a soft glow, turning clockwise. It turns two rounds (4.8 s, WCAG 2.2.2) when the button comes into view (ds-motion.js sets data-gl) or appears in Ask Delta, then rests lit; hover and keyboard focus keep it turning. Off with Reduce motion and in captures. Keep in step: site.css, Home v2's helmet, DeltaPanel's helmet. */
@property --ga{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes ds-ga{to{--ga:360deg}}
@keyframes ds-gb{0%{opacity:.2}18%{opacity:.9}100%{opacity:.5}}
:where([data-glow="1"],a[data-cta][data-res]){position:relative}
:is([data-glow="1"],a[data-cta][data-res]):not([data-shine]):not([data-light])::before,:is([data-glow="1"],a[data-cta][data-res]):not([data-shine]):not([data-light])::after{content:"";position:absolute;pointer-events:none;border-radius:inherit;background:conic-gradient(from var(--ga),#22d3ee,#a78bfa,#F472B6,#F5821F,#FDB515,#22d3ee);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
:is([data-glow="1"],a[data-cta][data-res]):not([data-shine]):not([data-light])::before{inset:-2px;padding:2px}
:is([data-glow="1"],a[data-cta][data-res]):not([data-shine]):not([data-light])::after{inset:-16px;padding:6px;border:10px solid transparent;background-clip:padding-box;filter:blur(7px);opacity:.5}
:is([data-glow="1"],a[data-cta][data-res])[data-gl]::before{animation:ds-ga 2.4s linear 2}
:is([data-glow="1"],a[data-cta][data-res])[data-gl]::after{animation:ds-ga 2.4s linear 2,ds-gb 4.8s ease-out 1}
@media (hover:hover){:is([data-glow="1"],a[data-cta][data-res]):hover::before,:is([data-glow="1"],a[data-cta][data-res]):hover::after{animation:ds-ga 2.4s linear infinite}}
:is([data-glow="1"],a[data-cta][data-res]):focus-visible::before,:is([data-glow="1"],a[data-cta][data-res]):focus-visible::after{animation:ds-ga 2.4s linear infinite}
html[data-still] :is([data-glow="1"],a[data-cta][data-res])::before,html[data-still] :is([data-glow="1"],a[data-cta][data-res])::after,[data-rm="1"] :is([data-glow="1"],a[data-cta][data-res])::before,[data-rm="1"] :is([data-glow="1"],a[data-cta][data-res])::after{animation:none!important}
@media (prefers-reduced-motion:reduce){:is([data-glow="1"],a[data-cta][data-res])::before,:is([data-glow="1"],a[data-cta][data-res])::after{animation:none!important}}
@media (forced-colors:active){:is([data-glow="1"],a[data-cta][data-res])::before,:is([data-glow="1"],a[data-cta][data-res])::after{display:none}}
/* K1 / M1 page to page (10 Nov 2026, AC4; UX-AUDIT K1, UX-AUDIT-2 M1): moving between pages, the old page fades and the new one lifts in while the header and the contact button stay put (Chromium 126+, Safari 18.2+; other browsers load as before). Only on a navigation (type ds-page), so the theme flip and Home's card opening keep their own transitions. The opt-in (@view-transition) is written into the static pages' head by _src/snap-core.js (snap-vt), not here: a .dc.html page loads this CSS after its first paint, so the new page could not opt in in time and every navigation logged an aborted transition. None under the system's Reduce motion; the site's own switch skips it in ds-motion.js (pageswap). Keep in step with Home v2's helmet. */
html:active-view-transition-type(ds-page) [data-site-header]{view-transition-name:ds-head}
html:active-view-transition-type(ds-page) [data-forb]{view-transition-name:ds-orb}
html:active-view-transition-type(ds-page)::view-transition-old(root){animation:ds-vt-out .18s cubic-bezier(.4,0,1,1) both}
html:active-view-transition-type(ds-page)::view-transition-new(root){animation:ds-vt-in .36s cubic-bezier(.2,.8,.2,1) .06s both}
@keyframes ds-vt-out{to{opacity:0}}
@keyframes ds-vt-in{from{opacity:0;transform:translateY(14px)}}
/* D5 M3 (10 Nov, AC4): the glows drift one pass as the page opens and rest (were endless). Keep in step with Home v2. */
[data-drift]{animation:ds-drift 26s ease-in-out 1 both}[data-drift="2"]{animation-duration:34s;animation-direction:reverse}
@keyframes ds-drift{0%{translate:0 0}50%{translate:6% -5%}100%{translate:-5% 4%}}
/* MO4 Area pages (AC3): data-kb a photo settles from 1.22× once (--k staggers), data-px a hero photo drifts with the scroll (desktop, --px), data-grow a bar grows from its start as it comes into view, data-prog the reading line (scroll position), data-fill a line down a list that fills to the middle of the screen (inside data-fill-wrap), data-lean a block leans to the pointer, data-draw icon lines draw and badges pop on first view (ds-motion.js), data-light="bg" sets --mx / --my for the block's own background light and draws no overlay. The reading line and the list fill follow the scroll, so they stay on under Reduce motion. */
@keyframes ds-kb{from{transform:scale(1.22)}}[data-kb]{animation:ds-kb calc(2.4s + var(--k,0) * .4s) var(--e-out) backwards}
/* Knowledge and Glossary name their buttons data-kb="share|ask|askq|fact|wa" (older than the kit): those buttons must not take the photo settle (10 Nov, AC4). */
button[data-kb],a[data-kb]{animation:none}
@keyframes ds-px{from{translate:0 calc(var(--px,0) * (50vh + 50%))}to{translate:0 calc(var(--px,0) * (-50vh - 50%))}}
@keyframes ds-grow{from{transform:scaleX(0)}}@keyframes ds-prog{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes ds-fill{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@supports (animation-timeline:view()){@media (hover:hover) and (pointer:fine) and (min-width:900px){[data-px]{animation:ds-px linear both;animation-timeline:view()}}[data-grow]{transform-origin:0 50%;animation:ds-grow linear backwards;animation-timeline:view();animation-range:entry 30% cover 45%}[data-prog][data-prog]{animation:ds-prog linear both!important;animation-timeline:scroll(root)!important}[data-fill-wrap]{view-timeline:--dsfill block;view-timeline-inset:55% 45%}[data-fill][data-fill]{animation:ds-fill linear both!important;animation-timeline:--dsfill!important}}
[data-lean]{transition:transform .7s var(--e-out)}[data-light="bg"]::after{display:none}
/* MO4 Quote and Start your build (AC3): data-enter a step arriving (--dx: 28px forward, -28px back, 0 first; DSMotion.enter(el, dx) for nodes that stay), data-shake an error that appears (6 px, twice). Until the pill has landed (or with no script), the chosen item shows the pill colour itself. */
@keyframes ds-enter{from{opacity:0;translate:var(--dx,0) 8px}}[data-enter]{animation:ds-enter var(--m-base) var(--e-out) backwards}
@keyframes ds-shake{20%,60%{translate:-6px 0}40%,80%{translate:6px 0}}[data-shake]{animation:ds-shake .42s var(--e-out)}
[data-pill]:not(:has(>[data-pill-i]))>:is([aria-pressed="true"],[aria-selected="true"],[aria-current="page"],[aria-current="step"],[aria-current="true"],[aria-checked="true"]){background:var(--pill,#7C3AED)!important}
html[data-lite] [data-drift],html[data-still] [data-drift],html[data-still] [data-rv],html[data-still] [data-up],html[data-still] [data-sw],html[data-still] [data-kb],html[data-still] [data-px],html[data-still] [data-grow],html[data-still] [data-enter],html[data-still] [data-shake]{animation:none}
/* MO5 (2 Nov, AC4): the blobs hold still on touch screens (as on Home; the budget allows one self-moving thing on phones, and the aura colours still change), and html[data-lite] (lab-quality level 0, Save-Data) gives desktop blobs the touch screens' unblurred soft mask. */
@media (hover:none) and (pointer:coarse){[data-drift]{animation:none}}
html[data-lite] [data-blob]{filter:none!important;scale:3;-webkit-mask-image:radial-gradient(closest-side,rgba(0,0,0,.3),rgba(0,0,0,.25) 25%,rgba(0,0,0,.15) 50%,rgba(0,0,0,.06) 75%,rgba(0,0,0,.015) 90%,transparent);mask-image:radial-gradient(closest-side,rgba(0,0,0,.3),rgba(0,0,0,.25) 25%,rgba(0,0,0,.15) 50%,rgba(0,0,0,.06) 75%,rgba(0,0,0,.015) 90%,transparent)}
[data-aura-follow]{background-color:var(--aura,#a78bfa)!important;transition:background-color 1.4s var(--e-out)}[data-aura-follow="2"]{background-color:var(--aura2,var(--aura,#a78bfa))!important}[data-aura-follow="3"]{background-color:var(--aura3,var(--aura,#a78bfa))!important}
[data-up]{animation:ds-up var(--m-slow) var(--e-out) both}@keyframes ds-up{from{opacity:0;transform:translateY(8px)}}
html[data-flip]::view-transition-old(root){animation:none}html[data-flip]::view-transition-new(root){animation:ds-flip .62s var(--e-out)}
@keyframes ds-flip{from{clip-path:circle(0 at var(--fx,50%) var(--fy,0))}to{clip-path:circle(150vmax at var(--fx,50%) var(--fy,0))}}
@media print{header,footer,[data-noprint]{display:none!important}}
/* Footer on phones (PH1, 12 Nov 2026, AC3; team/PHONE-PASS.md): below 600 px the link lists sit two to a row (was one column: 3.3 screens at 390 × 844). Keep in step with Home v2. */
@media (max-width:599px){[data-ft="grid"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 16px!important}[data-ft="con"],[data-ft="area"]{grid-column:1/-1}[data-ft="exp"]{grid-row:span 2}[data-ft="area"]>div{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 14px!important}}
/* AF56 (27 Nov 2026, AC10; the user's pick A of Home Phone Mockups.dc.html): below 600 px the footer's four lists open in place, one under the other (was 2.5 screens at 390 × 844). Each nav's [data-fac] button (SiteFooter) takes its heading's place; ds-shell.js sets html[data-facs] when it loads and toggles the nav's data-fo, so without it the lists stay open. Keep site.css and Home v2 in step. */
@media (max-width:599px){html[data-facs] [data-ft="grid"]{grid-template-columns:minmax(0,1fr)!important;gap:0!important}html[data-facs] [data-ft="con"]{margin-bottom:18px}html[data-facs] [data-ft="grid"]>nav{grid-row:auto!important;gap:0!important;border-top:1px solid var(--line,rgba(11,16,32,.1))}html[data-facs] [data-ft="area"]{border-bottom:1px solid var(--line,rgba(11,16,32,.1))}html[data-facs] [data-ft="grid"]>nav>b{display:none!important}html[data-facs] [data-fac]{display:flex!important}html[data-facs] [data-ft="grid"]>nav:not([data-fo])>:not([data-fac]){display:none!important}html[data-facs] [data-ft="grid"]>nav[data-fo]{padding-bottom:10px}html[data-facs] [data-ft="grid"]>nav[data-fo]>[data-fac] i{transform:rotate(45deg)}}
@media (prefers-reduced-motion:reduce){[data-fac] i{transition:none!important}}
/* Phone bar (IM2 P1, 13 Nov 2026, AC4; team/IMPROVE-3.md P1; since SL0, 25 Nov 2026, AC7: the floating pill, Search or ask Delta with Hardy and the mic; Call and WhatsApp moved to the phone menu): below 600 px SiteFooter's [data-pbar] sits at the thumb in the contact orb's place; --pbar is the room it takes (14 px + 58 px + the safe area) for anything else fixed to the bottom. It steps aside while a field has the keyboard, while a modal sheet is open, or while anything on the page carries data-pbar-off. Keep site.css and Home v2 in step. */
@media (max-width:599px){html{--pbar:calc(72px + env(safe-area-inset-bottom,0px));--pbr:16px}[data-pbar]{display:grid!important}[data-forb]{display:none!important}[data-fpop="consent"],[data-fpop="inst"],[data-fpop="note"]{left:12px!important;width:calc(100vw - 24px)!important;bottom:calc(var(--pbar) + 10px)!important}html:has(input:not([type="checkbox"],[type="radio"],[type="range"],[type="button"],[type="submit"]):focus,textarea:focus,select:focus,[contenteditable="true"]:focus,[aria-modal="true"]:not([data-v]):not([hidden]),[data-pbar-off]) [data-pbar],html[data-pbm] [data-pbar]{display:none!important}}
html:active-view-transition-type(ds-page) [data-pbar]{view-transition-name:ds-bar}
/* AF3 A Tuck away (27 Nov 2026, AC5; the user's pick of App Shell Mockups.dc.html; decisions.md "AF3"): below 600 px, while the visitor scrolls down (html[data-sdir], ds-shell.js) the header and the page's On this page row slide away (the row only while it is stuck under the header: ds-shell.js data-stuck, 27 Nov AC7; hidden in its own place it left a hole), a 3 px progress line shows at the top ([data-htop], SiteHeader) and the pill folds into Hardy in the corner (58 px); scrolling up brings them back. Never while a menu, sheet or field is open or the bar holds the focus; under Reduce motion they switch at once. The pill is the header's glass (Hardy in a spectrum ring, the field in ink2, the mic as the header's buttons). Keep site.css and Home v2 in step (Home's copy after AC10's push: HOLD10). */
@media (max-width:599px){[data-site-header]{transition:transform .42s cubic-bezier(.2,.8,.2,1)}html[data-sdir="down"]:not(:has([data-hpop],[aria-modal="true"]:not([data-v]):not([hidden]))) [data-site-header]:not(:focus-within){transform:translateY(calc(-100% - 16px))!important}nav[aria-label="On this page"]{transition:opacity .25s ease,transform .35s cubic-bezier(.2,.8,.2,1),visibility 0s linear 0s}html[data-sdir="down"] nav[aria-label="On this page"][data-stuck]:not(:focus-within){opacity:0!important;transform:translateY(-16px)!important;visibility:hidden!important;transition:opacity .2s ease,transform .3s ease,visibility 0s linear .3s}[data-pbar]{transition:width .45s cubic-bezier(.2,.9,.2,1)}[data-pbar] [data-plbl]{transition:opacity .25s ease .12s}[data-pbar] [data-voice]{transition:opacity .25s ease .2s,visibility 0s linear 0s}html[data-sdir="down"] [data-pbar]:not(:focus-within){width:58px!important}html[data-sdir="down"] [data-pbar]:not(:focus-within) [data-plbl]{opacity:0;transition:opacity .12s ease}html[data-sdir="down"] [data-pbar]:not(:focus-within) [data-voice]{opacity:0;visibility:hidden;transition:opacity .12s ease,visibility 0s linear .12s}@supports (animation-timeline:scroll()){[data-htop]{display:block!important;animation:ds-hprog linear both;animation-timeline:scroll(root block);transition:opacity .25s}html[data-sdir="down"] [data-htop]{opacity:1!important}}}
@media (max-width:599px) and (prefers-reduced-motion:reduce){[data-site-header],nav[aria-label="On this page"],[data-pbar],[data-pbar] *,[data-htop]{transition:none!important}}
html:has([data-rm="1"]) :is([data-site-header],nav[aria-label="On this page"],[data-pbar],[data-pbar] *,[data-htop]){transition:none!important}
/* SL0 (25 Nov 2026, AC7; the user's pick F): below 600 px the phone menu (SiteHeader nav[data-hmob]) is a bottom sheet at the thumb, with a grabber and a close button ([data-hmhd]); Call and WhatsApp in its sticky foot. Keep site.css and Home v2 in step. */
@keyframes ds-hsheet{from{transform:translateY(28px);opacity:0}}
@media (max-width:599px){nav[data-hmob]{top:auto!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;max-height:calc(100vh - 88px)!important;max-block-size:calc(100dvh - 88px)!important;border-radius:28px!important;box-shadow:0 -12px 50px -16px rgba(11,16,32,.45)!important;animation:ds-hsheet .34s cubic-bezier(.2,.8,.2,1) both}[data-hmhd]{display:flex!important}[data-hcall]{border-radius:0 0 28px 28px!important}}
@media (prefers-reduced-motion:reduce){nav[data-hmob]{animation:none!important}}
html:has([data-rm="1"]) nav[data-hmob]{animation:none!important}
/* P3 and P4 (IM2, 13 Nov 2026, AC4; team/IMPROVE-3.md; decisions.md "P3 and P4 built"): ds-toc.js sets html[data-toc] on a page longer than 8 screens with 3 or more sections; below 1060 px the header then shows Contents ([data-hb="toc"], icon only under 380 px) and a thin progress line in its foot ([data-hprog], scroll-driven where the browser has it). Below 600 px the phone bar carries Free estimate, so the header is the logo, Contents, search and the menu. Keep site.css and Home v2 in step. */
@keyframes ds-hprog{to{transform:scaleX(1)}}
@media (max-width:1059px){html[data-toc] [data-hb="toc"]{display:inline-flex!important}@supports (animation-timeline:scroll()){html[data-toc] [data-hprog]{display:block!important;animation:ds-hprog linear both;animation-timeline:scroll(root block)}}}
@media (max-width:379px){[data-htl]{display:none}}
@media (max-width:599px){[data-hest]{display:none!important}[data-swrc]{display:block!important}}
[data-tocs] [data-toci]:hover{background:var(--line,rgba(11,16,32,.1))!important}
/* Chapters that open in place on phones (PH2, 13 Nov 2026, AC4; team/PHONE-PASS.md): below 600 px a [data-fold] part shows its first screen (--fold, 560 px) and fades out; the [data-foldb] button right after it (inline display:none, so a page without this file shows the whole part) opens it in place. ds-toc.js: data-fold-open and aria-expanded on a tap, data-fold-fit when the part fits, a focus moving into the part opens it. overflow:clip keeps the cards' view() reveals on the page's scroll. */
@media (max-width:599px){[data-fold]:not([data-fold-open]){max-height:var(--fold,560px);overflow:hidden;overflow:clip;-webkit-mask-image:linear-gradient(#000 calc(100% - 140px),transparent);mask-image:linear-gradient(#000 calc(100% - 140px),transparent)}[data-foldb]{display:flex!important}[data-foldb][data-fold-fit]{display:none!important}[data-foldb][aria-expanded="true"] [data-fo0]{display:none}[data-foldb][aria-expanded="true"] [data-fo1]{display:inline!important}[data-foldb][aria-expanded="true"] svg{rotate:180deg}}
/* Swipe rows on phones (PH5 / PH6, 12 Nov 2026, AC3; team/PHONE-PASS.md): below 600 px a [data-swr] grid of cards is one row you swipe, 82% cards so the next one peeks in. The snap starts once the row holds two cards (a row that snapped to its only card while the rest loaded re-snapped to it). Cards in the row skip the [data-rv] fade-up (a view() timeline in a sideways scroller has no block axis). Home v2 has its own copy in its helmet (it does not load site.css). */
@media (max-width:599px){[data-swr]{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:82%;overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-left:16px;margin-left:-16px;margin-right:-16px;padding:2px 16px 6px;scrollbar-width:none}[data-swr]::-webkit-scrollbar{display:none}[data-swr]:has(>:nth-child(2)){scroll-snap-type:x mandatory}[data-swr]>*{scroll-snap-align:start;animation:none!important}}
/* A row's nav (AF11 A+, 29 Nov 2026, AC7; decisions.md "AF11: A+ built into Service.dc.html"): a [data-swrc][data-swra] written before its row holds the count and Back / More (ds-toc.js fills and runs them); below 600 px it shows while its row scrolls (data-swfit: the row fits). A chip group [data-swg] between them is one line you swipe. Home v2 does not use it yet (it keeps its own copy of the rows' rules). */
@media (max-width:599px){[data-swrc][data-swra]{display:flex!important}[data-swrc][data-swra][data-swfit]{display:none!important}[data-swb][aria-disabled="true"]{opacity:.32;cursor:default}[data-swg]{flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-x:contain;margin-left:-16px;margin-right:-16px;padding:2px 16px;scrollbar-width:none}[data-swg]::-webkit-scrollbar{display:none}[data-swg]>*{flex:none}}
/* Bengali and Hindi headings (WC-24, 18 Nov 2026, AC3): the display headings' tight line-height (.9 to 1.1) and negative tracking suit Latin; Bengali and Devanagari need room for the vowel signs above and below the line (lines overlapped on the area pages at 390), and tracking pulls their clusters apart. English kept inside (translate="no") is left as it is. Keep in step with Home v2. */
html:is([lang="bn"],[lang="hi"]) :is(h1,h2):not([translate="no"]){line-height:1.24!important}html:is([lang="bn"],[lang="hi"]) :is(h1,h2,h3):not([translate="no"]){letter-spacing:0!important}
/* A2 (27 Nov 2026, AC9): the mono eyebrows and labels (Geist Mono, tracked .08–.14em for Latin capitals) in Bengali or Devanagari: Geist Mono has neither script, so the words fall back to the system face and the tracking pulls their letters apart; untracked there. Parts kept in English (translate="no") keep theirs. Keep in step with Home v2. */
html:is([lang="bn"],[lang="hi"]) [style*="Geist Mono"]:not([translate="no"],[translate="no"] *){letter-spacing:0!important}
/* Glossary terms before glossary.js arrives (AC4, 21 Nov 2026): a static page's <ds-term> is plain text until the element is defined, so a term could break across lines and jump when glossary.js upgrades it (its shadow button never breaks). Drawn unbroken from the start, as the live page draws it: no shift. */
ds-term:not(:defined){white-space:nowrap}ds-term:not(:defined)>*{cursor:pointer}

/* Codex CX2 kept items (22 Nov 2026, AC3; decisions.md "CX2: a side mockup, its kept items in the original"): the compact consent panel, Contact's actions at the top, and the Quote page owning its own action. */
[data-fpop="consent"] [data-consent-lead]{font-size:14px;line-height:1.5;max-width:36ch}
[data-consent-details]>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:3px;list-style:none}
[data-consent-details]>summary::-webkit-details-marker{display:none}
[data-consent-details]>summary::after{content:"+";font-size:18px;text-decoration:none}
[data-consent-details][open]>summary::after{content:"\2212"}
[data-consent-details]>div{display:grid;gap:10px;padding:7px 0 3px;font-size:13px;line-height:1.55;color:var(--ink2)}
[data-fpop="consent"] [data-consent-actions] [data-fb]{min-height:44px}
html:has([data-fpop="consent"]) :is([data-forb],[data-mascot="orb"]){visibility:hidden!important;pointer-events:none!important}
.ds-quote-page [data-pbar] [data-ev="estimate_click"]{display:none!important}
.ds-quote-page [data-mascot="orb"]{visibility:hidden!important;pointer-events:none!important}
/* Contact’s actions under the h1 (CX2): the layout is inline on the nav and its links (Contact.dc.html), so nothing moves when this file arrives; only the first link’s colours and the hover live here (22 Nov, AC4) */
.ds-contact-actions a:first-child{background:var(--btn)!important;color:var(--btnInk)!important;border-color:transparent!important}
.ds-contact-actions a:hover{text-decoration:underline!important;text-underline-offset:4px}
/* Touch kit, AF7 A Quiet spring (27 Nov 2026, AC4; the user's pick of Touch Kit Mockups.dc.html with three changes; decisions.md "AF7: the touch kit"). The press ([data-press], in the Motion kit above): small controls to 94 %, mid ones 96 %, wide cards 98 % (ds-touch.js sets --ps on pointerdown; 96 % until it loads), back on the header's spring. Icons that follow their control's state (aria-expanded / aria-pressed on the nearest button, details[open]): [data-pm] plus to minus ([data-pv], the upright stroke, turns flat: a transform, so every browser bends it); [data-mi] a path morphed by CSS d ([data-mm]) where the browser can, else its two drawings ([data-mo] closed, [data-mc] open; inline display:none, so a page without this file shows the morph alone) rub out and draw in. Reduce motion: no scale, a press tints; icons change at once. Haptics: ds-touch.js. Home v2's helmet keeps a copy (AF56, AC10). */
[data-pm] [data-pv]{transform-box:fill-box;transform-origin:center;transition:rotate .45s cubic-bezier(.3,1.6,.4,1)}
:is(button,summary,[role="button"])[aria-expanded="true"] [data-pm] [data-pv],:is(button,[role="button"])[aria-pressed="true"] [data-pm] [data-pv],details[open]>summary [data-pm] [data-pv]{rotate:90deg}
@supports not (d:path("M0 0")){[data-mi] [data-mm]{display:none}[data-mi] :is([data-mo],[data-mc]){display:inline!important;stroke-dasharray:80 80}[data-mi] [data-mo],:is(button,[role="button"]):is([aria-expanded="true"],[aria-pressed="true"]) [data-mi] [data-mc]{stroke-dashoffset:0;transition:stroke-dashoffset .26s cubic-bezier(.2,.8,.2,1) .14s}[data-mi] [data-mc],:is(button,[role="button"]):is([aria-expanded="true"],[aria-pressed="true"]) [data-mi] [data-mo]{stroke-dashoffset:80;transition:stroke-dashoffset .16s ease-in}}
[data-rm="1"] [data-press]:active{scale:none;filter:brightness(.94)}@media (prefers-reduced-motion:reduce){[data-press]:active{scale:none;filter:brightness(.94)}}
/* Page moves, AF8 A Grow (28 Nov 2026, AC7; the user's pick of Page Moves Mockups.dc.html; decisions.md "AF8: A Grow built"). ds-vt.js names one picture ds-grow: the tapped card's, then the picture of what it opens (data-vt / data-vt-hero); it grows there in .54 s on the emphasised curve while the page cross-fades (.3 s on the same page), and shrinks back on Back. Same page: type ds-grow, or html[data-vtg] where types are missing (two rules: a selector a browser cannot read drops its whole rule). Page to page: the types ds-page (K1 / M1 above: the opt-in is snap-core.js's, never here) and ds-grow, plus ds-sheet when the picture sits in an open sheet: the header, the orb and the pill then fade with the page instead of standing over the sheet. [data-vtr]: a section rises 28 px as it enters its scroller (a view() timeline, over the first 200 px of its entry, so a tall one is never left faded); none where view() is missing. Off with Reduce motion (above; data-rm="1" and ds-display rm skip in ds-vt.js) and html[data-still]. Home v2's helmet keeps a copy (AC10). */
::view-transition-group(ds-grow){animation-duration:.54s;animation-timing-function:cubic-bezier(.2,0,0,1)}
::view-transition-old(ds-grow),::view-transition-new(ds-grow){height:100%;object-fit:cover}
::view-transition-old(ds-grow){animation-duration:.3s}
html[data-vtg]::view-transition-group(root){animation-duration:.3s}
html:active-view-transition-type(ds-grow)::view-transition-group(root){animation-duration:.3s}
html:active-view-transition-type(ds-sheet) :is([data-site-header],[data-forb],[data-pbar]){view-transition-name:none!important}
@keyframes ds-vtr{from{opacity:0;transform:translateY(28px)}}
@supports (animation-timeline:view()){[data-vtr]{animation:ds-vtr linear backwards;animation-timeline:view();animation-range:entry 0 entry 200px}}
html[data-still] [data-vtr]{animation:none}
