/* =============================================================================
   The ApexPlus page, in the style of apexplus.ca: navy and orange, Oxygen, pill labels with
   numbers, white cards and a blueprint grid. A tape measure runs down the tour.

   1. Base & page moves     5. The tour and the tape measure      9. Credits, work order, footer
   2. Bar                   6. Cards: services, deck, studs      10. Flying bits
   3. Hero                  7. Cards: quote, chat, booking       11. Small screens
   4. Ribbon                8. Cards: emergency, reviews         12. Reduced motion
   ============================================================================= */

/* ============ 1. Base & page moves ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ax-navy-2); color: var(--ax-navy); font: 400 17px/1.6 var(--ax-font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.06; }
p, ul, ol, dl { margin: 0; }
::selection { background: var(--ax-orange); color: #fff; }
:focus-visible { outline: 3px solid var(--ax-orange-3); outline-offset: 3px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:not(.js) .js-only { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ax-orange); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.o { color: var(--ax-orange); }
.hero .grad, .tone-dark .o, .credits .o, .finale .o { background: linear-gradient(90deg, var(--ax-orange), var(--ax-orange-2) 45%, var(--ax-orange-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--ax-peach); color: var(--ax-orange-d); font: 700 12.5px/1 var(--ax-font); letter-spacing: .14em; text-transform: uppercase; }
.pill i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ax-orange); box-shadow: 0 0 0 4px rgb(255 102 0 / .18); }
.pill b { padding-right: 11px; border-right: 1.5px solid currentColor; color: var(--ax-orange); letter-spacing: .06em; }
.tone-dark .pill, .credits .pill, .finale .pill { background: rgb(255 255 255 / .06); color: #ffb37a; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.pill.red { background: #ffe4e6; color: #be123c; }
.pill.red i { background: var(--ax-red); box-shadow: 0 0 0 4px rgb(225 29 72 / .18); }
.pill.red b { color: var(--ax-red); }

.ap-btn.big { min-height: 58px; padding: 0 28px; border-radius: 16px; font-size: 18px; }
.ap-btn.wide { width: 100%; }
.ap-btn.red { background: linear-gradient(135deg, #e11d48, #fb7185); box-shadow: 0 10px 26px -10px rgb(225 29 72 / .7), inset 0 1px 0 rgb(255 255 255 / .25); }
.ap-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border: 1px solid rgb(255 255 255 / .18); border-radius: 14px; background: rgb(255 255 255 / .04); color: #fff; font: 700 16px/1 var(--ax-font); text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.ap-ghost.big { min-height: 58px; padding: 0 26px; border-radius: 16px; font-size: 18px; }
.ap-ghost:hover { background: rgb(255 255 255 / .09); border-color: rgb(255 255 255 / .32); }
.small-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ax-line); border-radius: 12px; background: #fff; color: var(--ax-navy); font: 700 14.5px/1 var(--ax-font); white-space: nowrap; transition: border-color .2s, color .2s, background-color .2s; }
.small-btn:hover { border-color: var(--ax-orange-2); color: var(--ax-orange-d); }
.small-btn:disabled { opacity: .45; cursor: default; }
.small-btn .i { font-size: 17px; }

/* The homepage's box morphs into the hero (and the house and the list fly into place). */
@view-transition { navigation: auto; }
.hero { view-transition-name: ax-stage; }
.hero .ax-house { view-transition-name: ax-house; }
.hero .task-card { view-transition-name: ax-list; }
.leaving-far .hero, .leaving-far .hero .ax-house, .leaving-far .hero .task-card { view-transition-name: none; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.76, 0, .24, 1); }
::view-transition-group(ax-stage) { animation-duration: .85s; animation-timing-function: cubic-bezier(.7, 0, .18, 1); }
::view-transition-old(ax-stage) { animation-duration: .3s; }
::view-transition-new(ax-stage) { animation-duration: .45s; animation-delay: .1s; }
::view-transition-group(ax-house) { animation-duration: .9s; animation-timing-function: cubic-bezier(.5, 0, .15, 1.04); }
::view-transition-group(ax-list) { animation-duration: .9s; animation-delay: .05s; animation-timing-function: cubic-bezier(.5, 0, .15, 1.08); }

/* ============ 2. Bar ============ */
.bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 clamp(16px, 4vw, 40px); background: rgb(255 255 255 / .97); color: var(--ax-navy); box-shadow: 0 1px 0 var(--ax-line); transition: box-shadow .3s; }
.is-scrolled .bar { box-shadow: 0 12px 30px -20px rgb(15 23 42 / .5); }
.bar-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 12px; background: var(--ax-mist); color: var(--ax-navy); font: 700 14.5px/1 var(--ax-font); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.bar-back:hover { background: var(--ax-peach); color: var(--ax-orange-d); }
.bar-back .i { font-size: 18px; }
.bar-logo { margin: 0 auto 0 6px; color: var(--ax-navy); font-size: 25px; text-decoration: none; }
.bar-end { display: flex; align-items: center; gap: 10px; }
.bar-sound { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ax-line); border-radius: 12px; background: #fff; color: var(--ax-navy); }
.bar-sound .i { font-size: 20px; }
.bar-sound[aria-pressed="true"] .off, .bar-sound[aria-pressed="false"] .on { display: none; }
.wo-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; overflow: hidden; border-radius: 12px; background: var(--ax-peach); color: var(--ax-orange-d); font: 700 14px/1 var(--ax-font); font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.wo-pill .i { font-size: 18px; color: var(--ax-orange); }
.wo-pill b { color: var(--ax-navy); }
.wo-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(255 102 0 / .15); }
.wo-bar i { display: block; height: 100%; background: var(--ax-orange); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .7s cubic-bezier(.2, .9, .3, 1); }
.wo-pill.bump { animation: ax-bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ax-bump { 40% { scale: 1.12; } }
.bar-visit { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; }

/* ============ 3. Hero ============ */
.hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(44px, 6vw, 80px) 0 clamp(96px, 10vw, 130px); background: radial-gradient(70% 60% at 75% 45%, rgb(255 102 0 / .14), transparent 70%), var(--ax-navy-2); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 48px 48px; -webkit-mask-image: radial-gradient(120% 90% at 60% 40%, #000 35%, transparent 85%); mask-image: radial-gradient(120% 90% at 60% 40%, #000 35%, transparent 85%); }
.glow { position: absolute; border-radius: 50%; }
.g1 { left: 48%; top: 4%; width: 780px; height: 780px; background: radial-gradient(circle, rgb(255 102 0 / .2), transparent 62%); }
.g2 { left: -16%; bottom: -36%; width: 680px; height: 680px; background: radial-gradient(circle, rgb(59 130 246 / .14), transparent 62%); }
.g3 { right: -12%; top: -30%; width: 560px; height: 560px; background: radial-gradient(circle, rgb(255 179 71 / .1), transparent 62%); }
.sparks i { position: absolute; left: var(--x); bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--ax-orange-3); box-shadow: 0 0 10px var(--ax-orange); opacity: 0; animation: ax-rise var(--t) linear var(--d) infinite; }
@keyframes ax-rise { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .9; } 80% { opacity: .4; } 100% { transform: translateY(-85vh); opacity: 0; } }

.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: clamp(28px, 4vw, 60px); align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid rgb(255 138 61 / .35); border-radius: 999px; background: rgb(255 102 0 / .08); color: #ffd7b8; font: 700 13px/1 var(--ax-font); letter-spacing: .14em; text-transform: uppercase; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ax-green); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ax-green); animation: ax-pulse 2s ease-out infinite; }
@keyframes ax-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }
.hero h1 { margin-top: 26px; font-size: clamp(42px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 .ln { display: block; }
.grad { padding-bottom: .06em; }
.lead { max-width: 600px; margin-top: 24px; color: rgb(226 232 240 / .82); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.65; }
.rot-wrap { display: inline-block; }
.rot { display: inline-block; padding: 0 3px; background: linear-gradient(transparent 58%, rgb(255 102 0 / .45) 58%); color: #fff; font-weight: 700; transition: opacity .22s, translate .22s; }
.rot.out { opacity: 0; translate: 0 -8px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; padding: 26px 0 0; border-top: 1px solid rgb(255 255 255 / .1); list-style: none; color: rgb(255 255 255 / .92); font-size: 15px; font-weight: 700; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { font-size: 20px; color: var(--ax-orange-2); }

/* The playable house */
.try { position: relative; display: grid; justify-items: center; gap: 16px; }
.house-wrap { position: relative; width: min(100%, 520px); margin-bottom: 58px; }
.house-wrap > .ax-house { width: 100%; }
.ring { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border: 1.5px dashed rgb(255 138 61 / .3); border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.r1 { width: 96%; }
.r2 { width: 72%; border-color: rgb(125 162 255 / .22); }
.hero.is-live .r1 { animation: ax-spin 120s linear infinite; }
.hero.is-live .r2 { animation: ax-spin 90s linear infinite reverse; }
.chip { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid rgb(255 255 255 / .1); border-radius: 999px; background: rgb(15 23 42 / .86); color: #fff; font: 700 14px/1 var(--ax-font); white-space: nowrap; box-shadow: 0 14px 30px -14px rgb(0 0 0 / .8); pointer-events: none; }
.chip .i { font-size: 18px; color: var(--ax-orange-2); }
.c1 { left: 8%; top: 1%; }
.c2 { right: 2%; top: 5%; }
.c3 { right: -7%; top: 27%; }
.c4 { left: -8%; top: 24%; }
.c5 { right: 0; bottom: -4%; }
.hero.is-live .chip { animation: ax-bob 6s ease-in-out infinite; }
.hero.is-live .c2 { animation-delay: -1.5s; }
.hero.is-live .c3 { animation-delay: -3s; }
.hero.is-live .c4 { animation-delay: -4.5s; }
.hero.is-live .c5 { animation-delay: -2.2s; }
@keyframes ax-bob { 50% { transform: translateY(-8px); } }
.house-wrap .task-card { position: absolute; left: -5%; bottom: -12%; z-index: 3; }
.try .belt { position: relative; z-index: 2; }
.try .ax-msg { max-width: 460px; }

/* Arriving (not through the morph): things slide in once. */
.js:not(.vt) .hero-copy > *, .js:not(.vt) .try { animation: ax-in .8s cubic-bezier(.2, .9, .3, 1) both; }
.js:not(.vt) .hero-copy > :nth-child(2) { animation-delay: .06s; }
.js:not(.vt) .hero-copy > :nth-child(3) { animation-delay: .12s; }
.js:not(.vt) .hero-copy > :nth-child(4) { animation-delay: .18s; }
.js:not(.vt) .hero-copy > :nth-child(5) { animation-delay: .24s; }
.js:not(.vt) .try { animation-delay: .15s; }
@keyframes ax-in { from { opacity: 0; translate: 0 24px; } }

/* Loops only run while they're on screen. */
.js .hero:not(.is-live) *, .js .hero:not(.is-live) *::before, .js .hero:not(.is-live) *::after,
.js .ribbon:not(.is-live) .track { animation-play-state: paused !important; }

/* ============ 4. Ribbon ============ */
.ribbon { position: relative; z-index: 4; height: 150px; margin: -60px 0 -46px; overflow: clip; pointer-events: none; }
.band { position: absolute; left: -6%; right: -6%; overflow: hidden; white-space: nowrap; }
.b1 { top: 30px; z-index: 2; rotate: -2.6deg; background: var(--ax-orange); color: #fff; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .55); }
.b2 { top: 72px; rotate: 2deg; background: var(--ax-navy); color: #ffb37a; box-shadow: 0 0 0 1px rgb(255 255 255 / .06); }
.track { display: inline-flex; align-items: center; gap: 22px; padding: 14px 22px 14px 0; font: 700 21px/1 var(--ax-font); letter-spacing: .03em; text-transform: uppercase; will-change: transform; }
.track i { font-style: normal; opacity: .75; }
.b1 .track { animation: ax-marquee 40s linear infinite; }
.b2 .track { padding: 12px 22px 12px 0; font-size: 15px; letter-spacing: .12em; animation: ax-marquee 50s linear infinite reverse; }
.b2 .track i { font-size: 8px; }
@keyframes ax-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ribbon.is-paused .track { animation-play-state: paused !important; }
.rib-pause { position: absolute; right: clamp(16px, 4vw, 40px); bottom: 8px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .2); border-radius: 50%; background: var(--ax-navy-2); color: #fff; pointer-events: auto; box-shadow: 0 8px 18px -8px rgb(0 0 0 / .7); }
.rib-pause .i { font-size: 18px; }
.rib-pause[aria-pressed="false"] .r, .rib-pause[aria-pressed="true"] .p { display: none; }

/* ============ 5. The tour and the tape measure ============ */
.tour { position: relative; background: var(--ax-mist); }
.tour-head { display: grid; justify-items: center; gap: 22px; max-width: 1240px; margin: 0 auto; padding: 130px clamp(16px, 4vw, 40px) 70px; text-align: center; }
.tour-head h2 { color: var(--ax-navy); font-size: clamp(38px, 5vw, 66px); letter-spacing: -.03em; }
.tour-head > p:last-child { max-width: 680px; color: var(--ax-slate); font-size: 18px; }

.path { --rail: 46px; --gap: 44px; --pad: clamp(16px, 4vw, 40px); --wrap: 1240px; position: relative; }
.scene { position: relative; isolation: isolate; padding: clamp(80px, 10vw, 130px) 0; }
.scene.tone-light { background: radial-gradient(circle, rgb(148 163 184 / .32) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--ax-mist); color: var(--ax-navy); }
.scene.tone-dark { background: linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px) 0 0 / 48px 48px, var(--ax-navy); color: #fff; }
.scene.tone-cream { background: linear-gradient(180deg, #fff8f2, #fff1e6); color: var(--ax-navy); }
.scene-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px 64px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 0 calc(var(--pad) + var(--rail) + var(--gap)); }
.copy { position: relative; display: grid; justify-items: start; gap: 20px; }
.copy h3 { font-size: clamp(32px, 3.7vw, 52px); letter-spacing: -.03em; }
.copy h3 .o { display: block; }
.copy > p:not(.pill, .job-tag) { max-width: 520px; color: var(--ax-slate); font-size: 18px; }
.tone-dark .copy > p:not(.pill, .job-tag) { color: rgb(226 232 240 / .78); }
.job-tag { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px dashed rgb(255 102 0 / .45); border-radius: 12px; color: var(--ax-orange-d); font-size: 14.5px; font-weight: 700; line-height: 1.3; transition: background-color .3s, border-color .3s, color .3s; }
.job-tag .i { font-size: 17px; }
.tone-dark .job-tag { color: #ffb37a; }
.scene.is-done .job-tag { border-style: solid; border-color: #86efac; background: #f0fdf4; color: var(--ax-green-d); }
.tone-dark.is-done .job-tag { border-color: rgb(134 239 172 / .4); background: rgb(34 197 94 / .12); color: #86efac; }

/* Each scene's stop on the tape. */
.node { position: absolute; left: calc(-1 * (var(--gap) + var(--rail) / 2)); top: 4px; z-index: 4; display: grid; justify-items: center; gap: 6px; translate: -50% 0; }
.node b { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--ax-line); border-radius: 50%; background: #fff; color: var(--ax-navy); font: 700 13px/1 var(--ax-mono); box-shadow: 0 6px 16px -8px rgb(15 23 42 / .45); transition: background-color .3s, border-color .3s, color .3s, scale .45s cubic-bezier(.3, 1.6, .5, 1); }
.node small { padding: 4px 6px; border-radius: 6px; background: var(--ax-navy); color: var(--ax-blue); font: 700 10.5px/1 var(--ax-mono); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.scene.is-reached .node b { border-color: var(--ax-orange); background: var(--ax-orange); color: #fff; scale: 1.08; }
.scene.is-reached .node small { opacity: 1; }

/* The tape: the hook catches at the top, the case rides along with you, and the blade between
   them stays put (it's revealed, not stretched), like a real one pulled out of its case. */
.tape { position: absolute; z-index: 3; top: 0; left: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad))); width: var(--rail); height: 0; pointer-events: none; }
.tape::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; margin-left: -1px; border-left: 2px dashed rgb(148 163 184 / .4); }
.tape-clip { position: absolute; inset: 0; overflow: hidden; }
.tape-mover { position: absolute; left: 0; right: 0; top: 0; height: 100%; overflow: hidden; will-change: transform; }
.blade {
  position: absolute; left: 4px; right: 4px; top: 0; height: 100%; border-radius: 0 0 4px 4px; will-change: transform;
  background:
    repeating-linear-gradient(to bottom, var(--ax-navy) 0 1.5px, transparent 1.5px 20px) 0 0 / 13px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--ax-navy) 0 1px, transparent 1px 10px) 0 0 / 8px 100% no-repeat,
    repeating-linear-gradient(to bottom, rgb(15 23 42 / .65) 0 1px, transparent 1px 5px) 0 0 / 5px 100% no-repeat,
    linear-gradient(90deg, #e9a21e, #fcd34d 38%, #fbbf24 70%, #e5991a);
  box-shadow: inset 1px 0 0 rgb(0 0 0 / .2), inset -1px 0 0 rgb(0 0 0 / .2), 0 6px 18px -6px rgb(0 0 0 / .35);
}
.blade b { position: absolute; right: 3px; translate: 0 -50%; color: var(--ax-navy); font: 700 10px/1 var(--ax-mono); }
.blade b.stud { padding: 2px 3px; border-radius: 2px; background: #dc2626; color: #fff; }
.blade i { position: absolute; left: 15px; translate: 0 3px; color: #dc2626; font: 700 8px/1 var(--ax-mono); font-style: normal; }
.tape-hook { position: absolute; left: 0; right: 0; top: -8px; height: 12px; border-radius: 3px; background: linear-gradient(#f1f5f9, #94a3b8); box-shadow: 0 3px 6px rgb(0 0 0 / .3); }
.tape-hook::before, .tape-hook::after { content: ""; position: absolute; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: #64748b; }
.tape-hook::before { left: 9px; }
.tape-hook::after { right: 9px; }
.tape-case { position: absolute; left: 50%; top: -6px; width: 80px; height: 70px; margin-left: -40px; will-change: transform; }
.case-art { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 14px rgb(0 0 0 / .35)); }
.tape-read { position: absolute; left: 22.5%; top: 35.7%; width: 55%; height: 25.7%; display: grid; place-items: center; color: #67e8f9; font: 700 12.5px/1 var(--ax-mono); letter-spacing: -.02em; text-shadow: 0 0 8px rgb(103 232 249 / .6); white-space: nowrap; }
.tape-case.walk .case-art { animation: ax-wobble .32s ease-in-out infinite alternate; }
@keyframes ax-wobble { from { rotate: -3deg; } to { rotate: 3deg; } }

/* The scene stops, printed on the tape so they sit on top of its blade. */
.js .scene .node { visibility: hidden; }
.tape-stops { position: absolute; inset: 0; }
.tstop { position: absolute; left: 50%; display: grid; justify-items: center; gap: 5px; translate: -50% -21px; }
.tstop b { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--ax-line); border-radius: 50%; background: #fff; color: var(--ax-navy); font: 700 13px/1 var(--ax-mono); box-shadow: 0 6px 16px -8px rgb(15 23 42 / .55); transition: background-color .3s, border-color .3s, color .3s; }
.tstop small { padding: 4px 6px; border-radius: 6px; background: var(--ax-navy); color: var(--ax-blue); font: 700 10.5px/1 var(--ax-mono); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.tstop.is-reached b { border-color: var(--ax-orange); background: var(--ax-orange); color: #fff; }
.tstop.is-reached small { opacity: 1; }
.tstop.hit b { animation: ax-hit .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ax-hit { 40% { scale: 1.25; } }

/* Things slide in once as they scroll into view. */
.js [data-reveal], .js .scene .copy > :not(.node), .js .scene .stage-card { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .8s cubic-bezier(.2, .9, .3, 1); }
.js [data-reveal].in, .js .scene.in .copy > :not(.node), .js .scene.in .stage-card { opacity: 1; translate: 0 0; }
.js .scene.in .copy > :nth-child(3) { transition-delay: .05s; }
.js .scene.in .copy > :nth-child(4) { transition-delay: .1s; }
.js .scene.in .copy > :nth-child(5) { transition-delay: .15s; }
.js .scene.in .stage-card { transition-delay: .12s; }

/* ============ 6. Cards ============ */
.stage-card { position: relative; }
.chip-try { position: absolute; top: -13px; right: 22px; z-index: 6; padding: 7px 12px; border-radius: 999px; background: var(--ax-orange); color: #fff; font: 700 11.5px/1 var(--ax-font); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgb(255 102 0 / .9); }
.stage-card.narrow { width: 100%; max-width: 470px; margin-left: auto; }
.narrow .chip-try { background: var(--ax-navy); box-shadow: 0 8px 18px -8px rgb(15 23 42 / .8); }
.card { position: relative; overflow: hidden; border-radius: 24px; background: #fff; color: var(--ax-navy); box-shadow: 0 30px 70px -30px rgb(15 23 42 / .45), 0 0 0 1px var(--ax-line); }
.tone-dark .card { box-shadow: 0 30px 70px -24px rgb(0 0 0 / .75), 0 0 0 1px rgb(255 255 255 / .06); }
.card-msg { min-height: 1.5em; color: var(--ax-slate); font-size: 15px; font-weight: 700; line-height: 1.45; }
.card-msg[data-kind="ok"] { color: var(--ax-green-d); }
.card-msg[data-kind="err"] { color: #be123c; }
.card-msg.pop { animation: ax-pop .35s cubic-bezier(.3, 1.5, .5, 1); }
.again { justify-self: start; padding: 0; border: 0; background: none; color: var(--ax-orange-d); font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.again[hidden] { display: none; }
.tagpill { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: var(--ax-navy); color: #fff; font: 700 11px/1 var(--ax-font); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.q-note { color: var(--ax-muted); font-size: 12.5px; line-height: 1.45; }
@keyframes ax-shake { 20% { translate: -7px 0; } 40% { translate: 6px 0; } 60% { translate: -4px 0; } 80% { translate: 2px 0; } }

/* --- Who do you call? (the services grid) --- */
.calls { display: grid; gap: 16px; padding: 24px; }
.calls-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.calls-q { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--ax-line); border-radius: 16px; background: var(--ax-mist); font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.calls-q .emo { flex: none; font-size: 26px; line-height: 1; }
.calls-q.swap { animation: ax-step-in .45s cubic-bezier(.2, .9, .3, 1); }
.calls-n { flex: none; padding: 7px 10px; border-radius: 999px; background: var(--ax-peach); color: var(--ax-orange-d); font: 700 12.5px/1 var(--ax-font); white-space: nowrap; }
.calls-ask { color: var(--ax-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.svc { position: relative; display: grid; grid-template-rows: auto 1fr auto; justify-items: start; gap: 8px; min-height: 132px; padding: 12px; overflow: hidden; border: 1px solid #1e293b; border-radius: 16px; background: var(--ax-navy); color: #fff; text-align: left; transition: translate .2s, border-color .2s, background-color .3s; }
.svc-num { position: absolute; right: 8px; top: 4px; color: transparent; font: 700 30px/1 var(--ax-font); -webkit-text-stroke: 1px rgb(255 255 255 / .16); }
.svc-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(255 102 0 / .16); color: var(--ax-orange-2); }
.svc-ic .i { font-size: 18px; }
.svc b { font-size: 12.5px; line-height: 1.25; }
.svc small { color: var(--ax-orange-2); font-size: 12px; font-weight: 700; }
.svc.hot { border-color: transparent; background: linear-gradient(135deg, var(--ax-orange), var(--ax-orange-2)); }
.svc.hot .svc-ic { background: var(--ax-navy); color: #fff; }
.svc.hot small { color: #fff; }
.svc:hover { translate: 0 -3px; border-color: var(--ax-orange-2); }
.svc.is-right { border-color: var(--ax-green-d); background: var(--ax-green-d); }
.svc.is-right .svc-ic { background: #fff; color: var(--ax-green-d); }
.svc.is-right small { color: #dcfce7; }
.svc.is-wrong { animation: ax-shake .45s ease-out; }
.calls.is-done .svc:not(.is-right) { opacity: .55; }

/* --- Before and after: stain the deck --- */
.deck { display: grid; gap: 14px; padding: 22px; }
.deck-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.loc { display: inline-flex; align-items: center; gap: 5px; color: var(--ax-muted); font-size: 14px; font-weight: 700; }
.loc .i { color: var(--ax-orange); }
.deck h4 { font-size: 22px; }
.deck-wood { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #9ca3af; touch-action: none; user-select: none; -webkit-user-select: none; }
.deck-wood canvas { display: block; width: 100%; height: 100%; }
.ba { position: absolute; top: 12px; padding: 7px 12px; border-radius: 8px; background: rgb(255 255 255 / .94); color: var(--ax-navy); font: 700 13px/1 var(--ax-font); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 4px 12px rgb(0 0 0 / .25); pointer-events: none; transition: opacity .3s; }
.ba-before { left: 12px; }
.ba-after { right: 12px; opacity: 0; }
.deck.is-done .ba-after { opacity: 1; }
.deck.show-before .ba-after, .deck.is-done:not(.show-before) .ba-before { opacity: 0; }
.brush { position: absolute; left: 0; top: 0; z-index: 2; width: 66px; height: 66px; margin: -46px 0 0 -33px; color: var(--ax-navy); opacity: 0; pointer-events: none; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .4)); transition: opacity .2s; }
.brush .i { width: 100%; height: 100%; fill: #fff; stroke-width: 1.5; }
.deck-wood.is-brushing .brush { opacity: 1; }
@media (pointer: fine) { .deck-wood { cursor: none; } .deck-wood:hover .brush { opacity: 1; } .deck.is-done .deck-wood { cursor: default; } .deck.is-done .brush { opacity: 0 !important; } }
.deck-hint { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: rgb(15 23 42 / .85); color: #fff; font: 700 14px/1 var(--ax-font); white-space: nowrap; translate: -50% 0; pointer-events: none; transition: opacity .3s; }
.deck-hint .i { font-size: 18px; color: var(--ax-orange-2); }
.deck-wood.touched .deck-hint { opacity: 0; }
.deck-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.deck-pct { margin-right: auto; font-weight: 700; }
.deck-pct b { color: var(--ax-orange); font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--ax-line); border-radius: 12px; background: var(--ax-mist); }
.seg[hidden] { display: none; }
.seg button { padding: 9px 15px; border: 0; border-radius: 9px; background: none; color: var(--ax-muted); font-size: 14px; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--ax-navy); color: #fff; }
.deck-note { color: var(--ax-slate); font-size: 15px; font-style: italic; line-height: 1.5; }

/* --- Find the studs --- */
.studs { display: grid; gap: 14px; padding: 20px; }
.studs-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ax-slate); font-size: 15px; font-weight: 700; }
.wall { --ppi: 8px; position: relative; height: 300px; overflow: hidden; border-radius: 16px; background: radial-gradient(120% 80% at 50% 0%, #fbfaf8, #ebe7e1); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ruler { position: absolute; left: 0; right: 0; top: 0; height: 20px; border-bottom: 1px solid rgb(15 23 42 / .12); background: repeating-linear-gradient(90deg, rgb(15 23 42 / .3) 0 1px, transparent 1px var(--ppi)) 0 0 / 100% 7px no-repeat, rgb(255 255 255 / .55); }
.ruler span { position: absolute; left: calc(var(--at) * var(--ppi)); top: 7px; color: #78716c; font: 700 9.5px/1 var(--ax-mono); translate: -50% 0; }
.baseboard { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: linear-gradient(#fff, #e7e5e4); box-shadow: 0 -1px 0 rgb(0 0 0 / .08), 0 -8px 12px -8px rgb(0 0 0 / .18); }
.outlet { position: absolute; left: calc(32 * var(--ppi)); bottom: 46px; width: 22px; height: 32px; margin-left: -11px; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
.outlet::before, .outlet::after { content: ""; position: absolute; left: 6px; right: 6px; height: 6px; border-left: 2px solid #57534e; border-right: 2px solid #57534e; }
.outlet::before { top: 6px; }
.outlet::after { bottom: 6px; }
.studs-x i { position: absolute; top: 0; bottom: 22px; left: calc(var(--at) * var(--ppi)); width: calc(1.5 * var(--ppi)); margin-left: calc(-.75 * var(--ppi)); background: repeating-linear-gradient(180deg, rgb(180 120 60 / .55) 0 14px, rgb(160 100 45 / .55) 14px 30px); opacity: 0; transition: opacity .6s; }
.studs.xray .studs-x i { opacity: .7; }
.mark { position: absolute; top: 34%; left: calc(var(--at) * var(--ppi)); width: 22px; height: 22px; margin: -11px 0 0 -11px; animation: ax-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.mark::before, .mark::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: #44403c; }
.mark::after { rotate: 90deg; }
.mark small { position: absolute; left: 50%; top: 26px; padding: 3px 6px; border-radius: 5px; background: rgb(255 255 255 / .9); color: #44403c; font: 700 11px/1 var(--ax-mono); white-space: nowrap; translate: -50% 0; }
.mount { position: absolute; top: 39%; height: 12px; margin-top: -6px; border-radius: 3px; background: linear-gradient(#475569, #1e293b); box-shadow: 0 2px 4px rgb(0 0 0 / .3); transform-origin: center; animation: ax-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.mount::before, .mount::after { content: ""; position: absolute; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.mount::before { left: 4px; }
.mount::after { right: 4px; }
.dim { position: absolute; top: 25%; height: 2px; background: var(--ax-orange); opacity: 0; transition: opacity .4s; }
.dim::before, .dim::after { content: ""; position: absolute; top: -6px; width: 2px; height: 14px; background: var(--ax-orange); }
.dim::before { left: 0; }
.dim::after { right: 0; }
.dim span { position: absolute; left: 50%; top: -28px; padding: 4px 8px; border-radius: 6px; background: #fff; color: var(--ax-navy); font: 700 13px/1 var(--ax-mono); white-space: nowrap; translate: -50% 0; box-shadow: 0 2px 8px rgb(0 0 0 / .15); }
.dim.on { opacity: 1; }
.tv { position: absolute; top: 13%; z-index: 2; aspect-ratio: 16 / 9; opacity: 0; translate: -50% -130%; pointer-events: none; transition: translate .75s cubic-bezier(.3, 1.25, .5, 1), opacity .3s; }
.tv.on { opacity: 1; translate: -50% 0; }
.tv .screen { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border: 5px solid #111827; border-radius: 8px; background: #0b1222; box-shadow: 0 16px 30px -10px rgb(0 0 0 / .55); }
.tv .screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 90% at 70% 110%, rgb(255 102 0 / .6), transparent 60%), radial-gradient(60% 60% at 20% 0%, rgb(125 162 255 / .35), transparent 70%); opacity: 0; transition: opacity .8s .4s; }
.tv .ap-logo { position: relative; color: #fff; font-size: 15px; opacity: 0; transition: opacity .6s .7s; }
.tv.lit .screen::before, .tv.lit .ap-logo { opacity: 1; }
.tv .bracket { display: none; }
.finder { position: absolute; left: 0; top: 52%; z-index: 3; display: grid; justify-items: center; align-content: start; gap: 8px; width: 64px; height: 104px; margin: -52px 0 0 -32px; padding: 12px 8px 0; border-radius: 18px 18px 24px 24px; background: linear-gradient(180deg, var(--ax-orange-2), #e05200); box-shadow: 0 16px 24px -10px rgb(0 0 0 / .5), inset 0 1px 0 rgb(255 255 255 / .35); cursor: grab; touch-action: none; will-change: transform; outline-offset: 4px; }
.finder::after { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 10px; margin-left: -1px; border-radius: 1px; background: #e05200; }
.finder .lcd { display: flex; align-items: flex-end; gap: 3px; width: 44px; height: 30px; padding: 5px 6px; border-radius: 6px; background: #0b1222; }
.finder .lcd i { flex: 1; border-radius: 1px; background: #1e293b; transition: background-color .1s; }
.finder .lcd i:nth-child(1) { height: 20%; }
.finder .lcd i:nth-child(2) { height: 40%; }
.finder .lcd i:nth-child(3) { height: 60%; }
.finder .lcd i:nth-child(4) { height: 80%; }
.finder .lcd i:nth-child(5) { height: 100%; }
.finder .lcd i.on { background: #4ade80; }
.finder .led { width: 11px; height: 11px; border-radius: 50%; background: #7f1d1d; box-shadow: inset 0 1px 2px rgb(0 0 0 / .5); }
.finder.is-on .led { background: #4ade80; box-shadow: 0 0 12px #4ade80; }
.finder b { color: #fff; font: 700 10px/1 var(--ax-mono); letter-spacing: .14em; opacity: .75; }
.finder:focus-visible { outline: 3px solid var(--ax-navy); }
.studs-foot { display: flex; flex-wrap: wrap; gap: 10px; }
.studs-foot .ap-btn { min-height: 44px; font-size: 15px; }

/* ============ 7. Cards: quote, chat, booking ============ */
/* --- The free quote form --- */
.q-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ax-navy); color: #fff; }
.q-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ax-orange); }
.q-ic .i { font-size: 19px; }
.q-bar-t { display: grid; gap: 3px; min-width: 0; margin-right: auto; }
.q-bar-t b { font-size: 15.5px; line-height: 1.2; }
.q-bar-t small { color: rgb(226 232 240 / .75); font-size: 12px; line-height: 1.3; }
.q-select { position: relative; flex: 0 1 220px; min-width: 0; }
.q-select select { width: 100%; padding: 11px 34px 11px 12px; border: 0; border-radius: 10px; background: #fff; color: var(--ax-navy); font-size: 14px; font-weight: 700; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; }
.q-select .i { position: absolute; right: 10px; top: 50%; color: var(--ax-navy); translate: 0 -50%; pointer-events: none; }
.q-body { display: grid; gap: 12px; padding: 18px 20px 20px; }
.q-n { color: var(--ax-muted); font: 700 12px/1 var(--ax-font); letter-spacing: .14em; text-transform: uppercase; }
.q-track { position: relative; height: 8px; margin: 16px 30px 6px 0; border-radius: 4px; background: #eef2f7; }
.q-fill { position: absolute; inset: 0; border-radius: 4px; background: repeating-linear-gradient(-45deg, var(--ax-orange) 0 8px, var(--ax-orange-2) 8px 16px); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .8s cubic-bezier(.3, .8, .3, 1); }
.q-walk { position: absolute; left: 0; right: 0; bottom: 0; transform: translateX(calc(var(--p, .25) * 100%)); transition: transform .8s cubic-bezier(.3, .8, .3, 1); pointer-events: none; }
.q-walker { position: absolute; left: 0; bottom: -1px; font-size: 22px; line-height: 1; translate: -50% 0; }
.quote.walking .q-walker { animation: ax-walk .2s ease-in-out 4 alternate; }
@keyframes ax-walk { to { transform: translateY(-4px) rotate(6deg); } }
.q-home { position: absolute; right: -30px; bottom: -7px; font-size: 22px; line-height: 1; }
.quote.arrived .q-home { animation: ax-pop .5s cubic-bezier(.3, 1.8, .5, 1); }
.q-step { display: grid; justify-items: center; gap: 8px; text-align: center; }
.q-step[hidden] { display: none; }
.q-step.enter { animation: ax-step-in .45s cubic-bezier(.2, .9, .3, 1); }
@keyframes ax-step-in { from { opacity: 0; translate: 26px 0; } }
.q-emoji { font-size: 34px; line-height: 1; }
.q-step h4 { font-size: 22px; }
.q-sub { color: var(--ax-muted); font-size: 14.5px; line-height: 1.5; }
.q-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 6px; text-align: left; }
.q-field { display: grid; gap: 5px; }
.q-field.wide { grid-column: 1 / -1; }
.q-field small { color: var(--ax-navy); font-size: 12.5px; font-weight: 700; }
.q-field span { padding: 11px 13px; border: 1px solid var(--ax-line); border-radius: 12px; background: var(--ax-mist); color: #94a3b8; font-size: 14.5px; }
.q-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0; }
.q-chips button { padding: 11px 15px; border: 1.5px solid var(--ax-line); border-radius: 999px; background: #fff; color: var(--ax-navy); font-size: 14.5px; font-weight: 700; transition: border-color .2s, background-color .2s, color .2s; }
.q-chips button:hover { border-color: var(--ax-orange-2); }
.q-chips button[aria-pressed="true"] { border-color: var(--ax-orange); background: var(--ax-orange); color: #fff; }
.q-drop { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 18px; border: 2px dashed #cbd5e1; border-radius: 16px; background: var(--ax-mist); color: var(--ax-navy); transition: border-color .2s; }
.q-drop:hover { border-color: var(--ax-orange-2); }
.q-cam .i { font-size: 30px; color: var(--ax-orange); }
.q-drop small { color: var(--ax-muted); font-size: 12.5px; }
.q-drop.has-photo { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.polaroid { display: block; width: 120px; padding: 6px 6px 18px; border-radius: 4px; background: #fff; box-shadow: 0 8px 20px -6px rgb(0 0 0 / .35); rotate: -4deg; animation: ax-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.polaroid svg { display: block; width: 100%; height: auto; border-radius: 2px; }
.q-skip { padding: 4px; border: 0; background: none; color: var(--ax-muted); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.q-cheer { min-height: 1.5em; color: var(--ax-orange-d); font-size: 16px; font-weight: 700; text-align: center; }
.q-cheer.pop { animation: ax-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.q-step .ap-btn { margin-top: 6px; }

/* --- The chat assistant --- */
.chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-height: 540px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ax-orange); color: #fff; font-size: 18px; }
.chat-head > .i { margin-left: auto; font-size: 22px; }
.bot-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ax-orange); }
.bot-ic .i { font-size: 22px; }
.bot-ic.sm { width: 32px; height: 32px; background: var(--ax-orange); color: #fff; }
.bot-ic.sm .i { font-size: 18px; }
.chat-log { display: grid; align-content: start; gap: 10px; max-height: 340px; padding: 18px; overflow-y: auto; overscroll-behavior: contain; }
.msg { display: flex; align-items: flex-end; gap: 8px; animation: ax-pop .3s cubic-bezier(.3, 1.5, .5, 1); }
.msg p { max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #eef1fb; font-size: 15px; line-height: 1.45; }
.msg.me { justify-content: flex-end; }
.msg.me p { border-radius: 16px 16px 4px 16px; background: var(--ax-orange); color: #fff; }
.msg.typing p { display: inline-flex; gap: 4px; padding: 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: ax-dot 1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ax-dot { 40% { transform: translateY(-4px); opacity: .5; } }
.chat-acts { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; padding: 0 18px 14px 58px; }
.chat-acts button { padding: 11px 15px; border: 1.5px solid var(--ax-orange); border-radius: 10px; background: #fff; color: var(--ax-orange-d); font-size: 14.5px; font-weight: 700; text-align: left; transition: background-color .2s; animation: ax-pop .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.chat-acts button:hover { background: var(--ax-peach); }
.chat-acts button.red { border-color: var(--ax-red); color: #be123c; }
.chat-acts button.red:hover { background: #fff1f2; }
.chat-acts .plain { border-color: var(--ax-line); color: var(--ax-slate); }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 12px 16px; border: 1px solid var(--ax-line); border-radius: 999px; color: #94a3b8; font-size: 15px; }
.chat-input span { margin-right: auto; }
.chat-input .i { font-size: 20px; }

/* --- The booking calendar --- */
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px; background: var(--ax-orange); color: #fff; }
.cal-head b { font-size: 21px; }
.cal-head button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .16); color: #fff; }
.cal-head button .i { font-size: 22px; }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow { padding: 0 8px; }
.cal-dow span { padding: 12px 0 8px; color: var(--ax-navy); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.cal-grid { gap: 2px; padding: 0 8px 10px; }
.cal-grid .day { display: grid; place-items: center; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ax-navy); font-size: 16px; font-weight: 700; }
.cal-grid .day.off, .cal-grid .day:disabled { color: #cbd5e1; cursor: default; }
.cal-grid .day.sun { background: #f1f5f9; }
.cal-grid button.day:not(:disabled):hover { background: var(--ax-peach); color: var(--ax-orange-d); }
.cal-grid .day.today { box-shadow: inset 0 0 0 2px var(--ax-orange-2); }
.cal-grid .day[aria-pressed="true"] { background: var(--ax-orange); color: #fff; }
.cal-slots { padding: 14px 14px 16px; background: #fff3ea; }
.cal-slots[hidden], .cal-done[hidden] { display: none; }
.cal-slots-h { margin-bottom: 10px; font-size: 17px; font-weight: 700; text-align: center; }
.cal-slots-h span { display: block; color: var(--ax-muted); font-size: 13.5px; }
.cal-slots ul { display: grid; gap: 8px; max-height: 214px; padding: 0 2px 2px 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.cal-slots li { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 14px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 var(--ax-line); font-size: 14.5px; }
.cal-slots li span { margin-right: auto; font-weight: 700; }
.cal-slots li small { color: var(--ax-muted); font-size: 12.5px; }
.cal-slots li button { padding: 10px 16px; border: 0; border-radius: 10px; background: var(--ax-orange); color: #fff; font-size: 14px; font-weight: 700; }
.cal-done { display: grid; justify-items: center; gap: 10px; padding: 24px; background: #f0fdf4; text-align: center; animation: ax-pop .4s cubic-bezier(.3, 1.5, .5, 1); }
.cal-done-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ax-green); color: #fff; }
.cal-done-ic .i { font-size: 28px; stroke-width: 3; }
.cal-done p b { display: block; font-size: 20px; }
.cal-done p span { color: var(--ax-slate); }
.cal-tip { padding: 0 16px 16px; color: var(--ax-muted); font-size: 14px; font-weight: 700; text-align: center; }

/* ============ 8. Cards: emergency, reviews ============ */
/* --- Emergency --- */
.sos-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #fecdd3; background: #fff1f2; color: #be123c; }
.siren { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ax-red); color: #fff; }
.siren .i { font-size: 22px; }
.sos.is-going .siren::after { content: ""; position: absolute; inset: -6px; border-radius: 16px; background: rgb(225 29 72 / .35); z-index: -1; animation: ax-flash .5s steps(1, end) infinite; }
@keyframes ax-flash { 50% { opacity: 0; } }
.sos-head b { display: block; font-size: 17px; line-height: 1.2; }
.sos-head small { color: #e11d48; font-size: 12.5px; font-weight: 700; }
.sos-step { display: grid; gap: 10px; padding: 18px 18px 6px; }
.sos-step[hidden] { display: none; }
.sos-step.enter { animation: ax-step-in .45s cubic-bezier(.2, .9, .3, 1); }
.sos-q { font-size: 20px; font-weight: 700; line-height: 1.3; }
.sos-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sos-opts button { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1.5px solid var(--ax-line); border-radius: 14px; background: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.25; text-align: left; transition: border-color .2s, background-color .2s; }
.sos-opts button:last-child { grid-column: 1 / -1; }
.sos-opts button:hover { border-color: var(--ax-red); background: #fff1f2; }
.sos-opts span { font-size: 20px; }
.sos .card-msg { padding: 8px 18px 4px; }
.sos .again { margin: 0 18px 18px; }
.map { position: relative; aspect-ratio: 400 / 250; overflow: hidden; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--ax-line); }
.map-art { display: block; width: 100%; height: 100%; }
.map .shop { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--ax-navy); box-shadow: 0 0 0 4px rgb(255 102 0 / .28); }
.map .shop .ap-mark { width: 21px; height: 14px; }
.hood { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 1; padding: 6px 10px; border: 1.5px solid #fff; border-radius: 999px; background: rgb(255 255 255 / .94); color: var(--ax-navy); font-size: 12px; font-weight: 700; white-space: nowrap; translate: -50% -50%; box-shadow: 0 4px 12px -4px rgb(15 23 42 / .45); transition: background-color .2s, color .2s, border-color .2s; }
.hood:hover, .hood[aria-pressed="true"] { border-color: var(--ax-red); background: var(--ax-red); color: #fff; }
.pin { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 2; width: 34px; height: 34px; margin: -40px 0 0 -17px; color: var(--ax-red); filter: drop-shadow(0 4px 4px rgb(0 0 0 / .3)); pointer-events: none; }
.pin[hidden] { display: none; }
.pin .i { display: block; width: 100%; height: 100%; fill: #fff; stroke-width: 2.2; }
.pin.drop { animation: ax-drop .5s cubic-bezier(.3, 1.6, .5, 1); }
.pin.here { color: var(--ax-green-d); }
@keyframes ax-drop { from { translate: 0 -30px; opacity: 0; } }
.van { position: absolute; left: 0; top: 0; z-index: 3; display: grid; place-items: center; width: 36px; height: 30px; margin: -15px 0 0 -18px; border-radius: 9px; background: var(--ax-orange); color: #fff; box-shadow: 0 6px 14px -4px rgb(0 0 0 / .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.van.on { opacity: 1; }
.van .i { font-size: 21px; }
.van.left .i { transform: scaleX(-1); }
.sos [data-dispatch] { margin: 4px 0 6px; }

/* --- Reviews --- */
.revs { display: grid; gap: 18px; padding: 24px; }
.revs-score { display: flex; align-items: center; gap: 14px; }
.revs-score > b { font-size: 56px; line-height: 1; letter-spacing: -.04em; }
.stars { display: inline-flex; gap: 2px; color: var(--ax-star); }
.stars .i { font-size: 20px; }
.revs-score small { display: block; color: var(--ax-muted); font-size: 13.5px; font-weight: 700; }
.stack { position: relative; height: 300px; }
.rev { position: absolute; inset: 0 0 26px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 22px 40px -22px rgb(15 23 42 / .4), 0 0 0 1px var(--ax-line); transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.2, .9, .3, 1), opacity .4s; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.rev p { color: var(--ax-slate); font-size: 15.5px; line-height: 1.6; }
.rev footer { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--ax-line); }
.av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--ax-orange), var(--ax-orange-3)); color: #fff; font-size: 18px; font-weight: 700; }
.rev footer b { display: block; line-height: 1.2; }
.rev footer small { color: var(--ax-muted); font-size: 13px; }
.rev[data-pos="0"] { z-index: 4; cursor: grab; }
.rev[data-pos="1"] { z-index: 3; transform: translateY(12px) scale(.96) rotate(-1.6deg); }
.rev[data-pos="2"] { z-index: 2; transform: translateY(24px) scale(.92) rotate(1.6deg); }
.rev[data-pos="3"] { z-index: 1; transform: translateY(30px) scale(.9); opacity: 0; }
.rev[data-pos="gone"] { z-index: 5; transform: translateX(var(--fly, 130%)) rotate(var(--spin, 16deg)); opacity: 0; pointer-events: none; }
.rev.dragging { transition: none; }
.rev.you { grid-template-rows: none; align-content: center; justify-items: center; gap: 14px; text-align: center; }
.you-q { color: var(--ax-navy) !important; font-size: 20px !important; font-weight: 700; }
.rate { display: flex; gap: 4px; }
.rate button { padding: 4px; border: 0; background: none; color: #e2e8f0; transition: color .15s, scale .2s cubic-bezier(.3, 1.6, .5, 1); }
.rate button .i { font-size: 38px; }
.rate button.lit { color: var(--ax-star); }
.rate button:hover { scale: 1.12; }
.rev.you .ap-btn { max-width: 300px; }
.revs-nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.revs-nav button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ax-line); border-radius: 50%; background: #fff; color: var(--ax-navy); }
.revs-nav button:disabled { opacity: .35; cursor: default; }
.revs-nav button .i { font-size: 20px; }
.revs-nav span { font-weight: 700; font-variant-numeric: tabular-nums; }
.revs-hint { color: var(--ax-muted); font-size: 13px; text-align: center; }

/* ============ 9. Credits, work order, footer ============ */
.credits { display: grid; justify-items: center; gap: 22px; padding: clamp(90px, 11vw, 140px) clamp(16px, 4vw, 40px); background: var(--ax-navy); color: #fff; text-align: center; }
.credits h2 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.035em; }
.roll { display: grid; gap: 24px; max-width: 720px; margin-top: 20px; }
.roll div { display: grid; gap: 5px; }
.roll dt { color: #ffb37a; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.roll dd { margin: 0; font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.35; }

.finale { position: relative; overflow: clip; padding: clamp(90px, 10vw, 130px) 0; background: radial-gradient(60% 70% at 75% 50%, rgb(255 102 0 / .14), transparent 70%), var(--ax-navy-2); color: #fff; }
.fin-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 56px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.fin-copy { display: grid; justify-items: start; gap: 22px; }
.fin-copy h2 { font-size: clamp(40px, 5vw, 66px); letter-spacing: -.035em; }
.fin-copy > p:not(.pill) { max-width: 480px; color: rgb(226 232 240 / .8); font-size: 18px; }
.fin-copy .ctas { margin-top: 10px; }
.printer { position: relative; padding-top: 12px; }
.slot { position: absolute; left: -12px; right: -12px; top: 0; z-index: 2; height: 24px; border-radius: 12px; background: linear-gradient(#1e293b, #0f172a); box-shadow: inset 0 -5px 0 #020617, 0 12px 24px -10px rgb(0 0 0 / .8); }
.paper-clip { position: relative; margin-top: 8px; padding: 0 6px 30px; overflow: hidden; filter: drop-shadow(0 22px 26px rgb(0 0 0 / .55)); }
.receipt { --z: 9px; position: relative; padding: 26px 24px calc(30px + var(--z)); background: #fffdf8; color: var(--ax-navy); font: 400 14px/1.5 var(--ax-mono); -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from 135deg at top, #000 90deg, #0000 0) bottom / calc(2 * var(--z)) var(--z) repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from 135deg at top, #000 90deg, #0000 0) bottom / calc(2 * var(--z)) var(--z) repeat-x; }
.js .receipt.wait { transform: translateY(-102%); }
.receipt.printing { animation: ax-print 1.5s steps(15, end) both; }
@keyframes ax-print { from { transform: translateY(-102%); } to { transform: translateY(0); } }
.r-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 2px dashed #cbd5e1; }
.r-head .ap-logo { font-size: 20px; }
.r-head > span:last-child { color: var(--ax-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.r-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin: 12px 0; }
.r-meta dt { color: var(--ax-muted); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.r-meta dd { margin: 0; font-weight: 700; }
.r-lines { display: grid; gap: 7px; padding: 14px 0; border-top: 2px dashed #cbd5e1; border-bottom: 2px dashed #cbd5e1; list-style: none; }
.r-lines li { display: flex; align-items: baseline; gap: 10px; color: #94a3b8; }
.r-lines li::before { content: "○"; flex: none; width: 14px; }
.r-lines li.is-done { color: var(--ax-navy); }
.r-lines li.is-done::before { content: "✓"; color: var(--ax-green-d); font-weight: 700; }
.r-lines a { color: inherit; text-decoration: none; }
.r-lines li:not(.is-done) a { text-decoration: underline dotted; text-underline-offset: 3px; }
.r-lines a:hover { color: var(--ax-orange-d); }
.r-sum { display: grid; gap: 4px; padding-top: 12px; }
.r-sum p { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.r-total { margin-top: 6px; padding-top: 10px; border-top: 2px solid var(--ax-navy); font-size: 17px; font-weight: 700; }
.r-stars { display: inline-flex; gap: 3px; }
.r-stars i { width: 15px; height: 15px; background: #e2e8f0; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.r-stars i.full { background: var(--ax-star); }
.r-stars i.half { background: linear-gradient(90deg, var(--ax-star) 50%, #e2e8f0 50%); }
.r-house { margin-top: 14px; color: var(--ax-orange-d); font-weight: 700; text-align: center; }
.r-msg { margin-top: 6px; color: var(--ax-slate); font: 400 14.5px/1.5 var(--ax-font); text-align: center; }
.stamp { position: absolute; right: 18px; top: 47%; padding: 8px 14px; border: 4px solid var(--ax-orange); border-radius: 10px; color: var(--ax-orange); font: 700 25px/1 var(--ax-font); letter-spacing: .08em; text-transform: uppercase; rotate: -13deg; opacity: 0; mix-blend-mode: multiply; box-shadow: inset 0 0 0 2px #fffdf8, inset 0 0 0 4px var(--ax-orange); pointer-events: none; }
.stamp.wip { border-color: #64748b; color: #64748b; box-shadow: inset 0 0 0 2px #fffdf8, inset 0 0 0 4px #64748b; }
.stamp.on { opacity: .9; }
.stamp.slam { animation: ax-stamp .45s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes ax-stamp { from { scale: 2.6; opacity: 0; } 60% { scale: .94; opacity: .95; } to { scale: 1; opacity: .9; } }

.foot { display: grid; justify-items: center; gap: 8px; padding: 34px 16px 46px; background: #060b16; color: rgb(226 232 240 / .62); font-size: 14px; text-align: center; }
.foot a { color: #ffb37a; }

/* ============ 10. Flying bits ============ */
.job-fly { position: fixed; left: 0; top: 0; z-index: 80; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: var(--ax-green-d); color: #fff; font: 700 14px/1 var(--ax-font); white-space: nowrap; box-shadow: 0 10px 24px -8px rgb(21 128 61 / .7); pointer-events: none; }
.job-fly .i { font-size: 16px; stroke-width: 3; }
.confetti { position: fixed; left: 0; top: 0; z-index: 79; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; }

/* ============ 11. Small screens ============ */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .lead { margin-inline: auto; }
  .ctas, .trust { justify-content: center; }
  .try { width: min(100%, 560px); }
  .fin-in { grid-template-columns: 1fr; justify-items: center; }
  .fin-copy { justify-items: center; text-align: center; }
  .printer { width: min(100%, 430px); }
}
@media (max-width: 920px) {
  .scene-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .stage-card.narrow { max-width: none; margin-left: 0; }
  .bar-visit { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { gap: 8px; height: 64px; padding: 0 12px; }
  .bar-back { padding: 0 11px; }
  .bar-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bar-logo { margin-left: 0; font-size: 21px; }
  .bar-end { gap: 6px; }
  .bar-sound { width: 40px; height: 40px; }
  .wo-pill { height: 40px; padding: 0 10px; font-size: 13px; }
  .hero { padding-top: 34px; }
  .eyebrow { font-size: 11.5px; padding: 9px 14px; }
  .ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .ap-btn.big, .ap-ghost.big { min-height: 54px; font-size: 17px; }
  .trust { gap: 10px 18px; font-size: 14px; }
  .house-wrap { margin-bottom: 14px; }
  .house-wrap .task-card { position: relative; left: auto; bottom: auto; margin: 6px auto 0; width: min(100%, 300px); }
  .chip { padding: 8px 11px; font-size: 11.5px; }
  .chip .i { font-size: 14px; }
  .c1 { left: 0; top: 0; }
  .c2 { right: 0; top: 2%; }
  .c3, .c5 { display: none; }
  .c4 { left: -2%; top: 20%; }
  .tool { min-width: 0; width: calc(25% - 8px); padding: 10px 2px 8px; font-size: 10.5px; }
  .tool .i { font-size: 26px; }
  .belt { gap: 8px; flex-wrap: nowrap; width: 100%; }
  .ribbon { height: 120px; margin: -44px 0 -36px; }
  .track { font-size: 16px; padding-block: 11px; }
  .b2 .track { font-size: 12px; }
  .b1 { top: 26px; }
  .b2 { top: 58px; }
  .rib-pause { width: 36px; height: 36px; bottom: 2px; }
  .tour-head { padding-top: 104px; padding-bottom: 40px; }
  .tour-head > p:last-child { font-size: 16.5px; }
  .path { --rail: 24px; --gap: 22px; }
  .scene { padding: 70px 0; }
  .copy > p:not(.pill, .job-tag) { font-size: 16.5px; }
  .tstop { translate: -50% -15px; gap: 3px; }
  .tstop b { width: 30px; height: 30px; font-size: 11px; }
  .tstop small { font-size: 8.5px; padding: 3px 4px; }
  .blade { left: 2px; right: 2px; background-size: 8px 100%, 5px 100%, 0 0, auto; }
  .blade b { right: 1px; font-size: 7.5px; }
  .blade b.stud { padding: 1px; }
  .blade i { display: none; }
  .tape-case { width: 52px; height: 46px; margin-left: -26px; }
  .tape-read { font-size: 8.5px; }
  .pill { font-size: 11px; padding: 7px 13px 7px 10px; gap: 8px; }
  .pill b { padding-right: 8px; }
  .calls, .deck, .studs, .revs { padding: 16px; }
  .calls-q { font-size: 15px; padding: 12px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .svc { min-height: 112px; }
  .wall { height: 260px; }
  .q-bar { flex-wrap: wrap; }
  .q-select { flex: 1 1 100%; }
  .q-body { padding: 16px; }
  .q-fields { grid-template-columns: 1fr; }
  .chat { min-height: 500px; }
  .chat-acts { padding-left: 18px; }
  .cal-grid .day { height: 40px; font-size: 15px; }
  .cal-slots li { flex-wrap: wrap; }
  .sos-opts { grid-template-columns: 1fr; }
  .sos-opts button:last-child { grid-column: auto; }
  .hood { padding: 5px 7px; font-size: 10.5px; }
  .stack { height: 330px; }
  .rev p { font-size: 14.5px; }
  .receipt { padding: 22px 16px 26px; font-size: 13px; }
  .stamp { font-size: 20px; right: 10px; }
}

/* ============ 12. Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .sparks, .ring, .tape-case.walk .case-art { animation: none !important; }
  .js [data-reveal], .js .scene .copy > :not(.node), .js .scene .stage-card { opacity: 1; translate: none; }
  .js .receipt.wait { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
