/* Dispatchen — site.css
   Forked from the hexnixgroup.ca redesign (Apple / TaxDome direction: big
   type, generous space, light and dark tiles, very little text per screen)
   with Dispatchen's own amber/teal identity swapped in. See
   /root/hexnix-site/assets/site.css for the shared lineage — layout and
   motion rules below are unchanged from there on purpose, for consistency
   across Hexnix Group's properties.

   Motion rule for this file: everything moves with scroll or with time,
   never with the pointer. */

:root{
  --ink:#0b1018; --ink-2:#121a26; --ink-3:#1a2433;
  --paper:#ffffff; --mist:#f5f5f7;
  --accent:#e8a33d;            /* brand amber — large type and dark backgrounds */
  --accent-strong:#9a5f10;     /* 4.6:1 on white — buttons and links on light */
  --accent-soft:rgba(232,163,61,.12);
  --teal:#2dd4bf; --green:#1a8f4c;

  --bg:var(--paper); --surface:var(--mist); --surface-2:#ebebef;
  --text:#1d1d1f; --text-2:#6e6e73; --text-3:#86868b;
  --line:rgba(0,0,0,.1);
  --btn:var(--accent-strong); --btn-text:#fff; --link:var(--accent-strong); --focus:var(--accent-strong);

  --radius:28px; --radius-md:20px; --radius-sm:14px;
  --ease:cubic-bezier(.22,1,.36,1); --ease-io:cubic-bezier(.65,0,.35,1);
  --font:'Inter',-apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text','Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --nav-h:56px;
  --gutter:clamp(20px,5vw,40px);
  --check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.dark{
  --bg:var(--ink); --surface:var(--ink-2); --surface-2:var(--ink-3);
  --text:#f5f5f7; --text-2:#a1a1a6; --text-3:#86868b;
  --line:rgba(255,255,255,.12);
  --btn:var(--accent); --btn-text:#0b1018; --link:var(--accent); --focus:var(--accent);
  --accent-soft:rgba(232,163,61,.14);
  background-color:var(--bg); color:var(--text);
}
.mist{--bg:var(--mist); --surface:var(--paper); background-color:var(--mist)}
/* Dark appearance: white is the default everywhere; a visitor can switch and the
   choice is remembered on their device (site.js, plus an inline head script so the
   page never flashes white first). */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{
  --bg:var(--ink); --surface:var(--ink-2); --surface-2:var(--ink-3);
  --paper:#172131; --mist:#0f1520;
  --text:#f5f5f7; --text-2:#a1a1a6; --text-3:#8e8e93; --line:rgba(255,255,255,.12);
  --btn:var(--accent); --btn-text:#0b1018; --link:var(--accent); --focus:var(--accent);
  --accent-soft:rgba(232,163,61,.14);
}
html[data-theme="dark"] .tile.dark,html[data-theme="dark"] .clay-card{background:#111a27;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 12px);overflow-x:clip}
body{margin:0;font-family:var(--font);font-size:17px;line-height:1.5;letter-spacing:-.011em;
  color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
img,svg,video,canvas{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4,p,ul,ol,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px;top:8px;z-index:300;background:var(--text);color:var(--bg);padding:10px 16px;border-radius:10px}
.skip:focus{left:8px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}

/* ---------- layout ---------- */
.wrap{width:min(1120px,100% - 2*var(--gutter));margin-inline:auto}
.wrap-narrow{width:min(780px,100% - 2*var(--gutter));margin-inline:auto}
.center{text-align:center}
.sec{padding-block:clamp(84px,12vw,150px)}
.sec-sm{padding-block:clamp(56px,8vw,100px)}
.head{max-width:800px;margin:0 auto clamp(40px,6vw,68px);text-align:center}
.head .lead{margin:18px auto 0;max-width:36ch}

/* ---------- type ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:clamp(15px,1.5vw,18px);font-weight:600;color:var(--link);letter-spacing:-.01em;margin-bottom:12px}
.display{font-size:clamp(46px,8.2vw,100px);line-height:1.02;font-weight:700;letter-spacing:-.045em}
.h1{font-size:clamp(40px,6.2vw,72px);line-height:1.04;font-weight:700;letter-spacing:-.038em}
.h2{font-size:clamp(34px,4.8vw,56px);line-height:1.06;font-weight:700;letter-spacing:-.034em}
.h3{font-size:clamp(24px,2.6vw,30px);line-height:1.15;font-weight:600;letter-spacing:-.024em}
.lead{font-size:clamp(19px,2.2vw,25px);line-height:1.38;color:var(--text-2);letter-spacing:-.02em}
.lead strong,.body-lg strong{color:var(--text);font-weight:600}
.body-lg{font-size:clamp(17px,1.6vw,19px);line-height:1.55;color:var(--text-2)}
.small{font-size:14px;color:var(--text-3)}
.muted{color:var(--text-2)}
.accent{color:var(--link)}
.grad-text{background:linear-gradient(96deg,var(--accent-strong) 0%,var(--accent) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* On dark the on-white brown end goes muddy, so run bright-to-brighter instead. */
html[data-theme="dark"] .grad-text{background:linear-gradient(96deg,var(--accent) 0%,#f6d08c 100%);
  -webkit-background-clip:text;background-clip:text}
.dot-live{width:8px;height:8px;border-radius:50%;background:#22a35a;flex:none;animation:pulse 2s ease-out infinite}

/* ---------- buttons & links ---------- */
.actions{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;margin-top:34px}
.actions .link,.link{white-space:nowrap}
.center .actions,.actions.center{justify-content:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 26px;
  border-radius:999px;background:var(--btn);color:var(--btn-text);font-size:17px;font-weight:600;letter-spacing:-.012em;
  border:0;cursor:pointer;white-space:nowrap;
  transition:transform .35s var(--ease),background-color .25s ease,box-shadow .35s var(--ease)}
.btn:hover{background:color-mix(in srgb,var(--btn) 86%,#000)}
.dark .btn:hover,html[data-theme="dark"] .btn:hover{background:color-mix(in srgb,var(--btn) 84%,#fff)}
.btn:active{transform:scale(.97)}
.btn:disabled{opacity:.5;cursor:default}
.btn-ghost{background:transparent;color:var(--link);box-shadow:inset 0 0 0 1.5px var(--link)}
.btn-ghost:hover,.dark .btn-ghost:hover,html[data-theme="dark"] .btn-ghost:hover{background:var(--accent-soft)}
.btn-sm{min-height:34px;padding:6px 15px;font-size:14px}
.btn-block{width:100%}
.link{display:inline-flex;align-items:center;gap:6px;color:var(--link);font-size:clamp(17px,1.7vw,19px);font-weight:500}
.link::after{content:'';width:.42em;height:.42em;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg);transition:transform .3s var(--ease)}
.link:hover{text-decoration:underline;text-underline-offset:4px}
.link:hover::after{transform:translateX(3px) rotate(45deg)}

/* ---------- navigation ---------- */
.nav{position:sticky;top:0;z-index:100;height:var(--nav-h);
  background:color-mix(in srgb,var(--bg) 80%,transparent);
  -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--line)}
.nav-in{height:100%;width:min(1120px,100% - 2*var(--gutter));margin-inline:auto;display:flex;align-items:center;gap:32px}
.logo{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1;flex:none;color:var(--text)}
.logo b{font-size:18px;font-weight:800;letter-spacing:.06em;padding-bottom:4px;border-bottom:1.5px solid var(--accent)}
.logo span{font-size:9px;font-weight:600;letter-spacing:.4em;color:var(--text-2);padding-top:4px}
.nav-links{display:flex;gap:28px;margin-left:auto;font-size:14px}
.nav-links a{color:var(--text-2);padding:6px 0;transition:color .2s}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--text)}
.nav-right{display:flex;align-items:center;gap:18px}
.nav-portal{font-size:14px;color:var(--text-2);transition:color .2s}
.nav-portal:hover{color:var(--text)}
.theme-btn{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:var(--text-2);cursor:pointer;transition:background-color .2s,color .2s}
.theme-btn:hover{background:var(--surface);color:var(--text)}
.theme-btn svg{grid-area:1/1;width:19px;height:19px;transition:opacity .3s ease,transform .5s var(--ease)}
.theme-btn .sun{opacity:0;transform:rotate(-90deg) scale(.6)}
html[data-theme="dark"] .theme-btn .sun{opacity:1;transform:none}
html[data-theme="dark"] .theme-btn .moon{opacity:0;transform:rotate(90deg) scale(.6)}
.menu-btn{display:none;position:relative;width:44px;height:44px;margin-right:-10px;background:none;border:0;cursor:pointer}
.menu-btn span{position:absolute;left:13px;right:13px;height:1.5px;border-radius:2px;background:var(--text);
  transition:transform .45s var(--ease),top .45s var(--ease)}
.menu-btn span:first-child{top:18px}
.menu-btn span:last-child{top:25px}
.menu-open .menu-btn span{top:21.5px}
.menu-open .menu-btn span:first-child{transform:rotate(45deg)}
.menu-open .menu-btn span:last-child{transform:rotate(-45deg)}
/* the overlay sits outside <header>: the header's backdrop-filter would otherwise
   become the containing block for position:fixed and trap the menu inside 56px */
.menu{position:fixed;inset:var(--nav-h) 0 0 0;z-index:99;background:var(--bg);
  padding:20px var(--gutter) calc(36px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;overflow-y:auto;visibility:hidden;opacity:0;
  transition:opacity .3s var(--ease),visibility 0s linear .3s}
.menu-open .menu{visibility:visible;opacity:1;transition:opacity .3s var(--ease)}
.menu a{font-size:30px;font-weight:600;letter-spacing:-.03em;padding:9px 0;opacity:0;transform:translateY(-10px);
  transition:opacity .5s var(--ease),transform .5s var(--ease);transition-delay:calc(var(--i,0)*35ms)}
.menu-open .menu a{opacity:1;transform:none}
.menu .menu-sub{font-size:17px;font-weight:500;color:var(--text-2);padding:7px 0}
.menu .menu-sub:first-of-type{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}
.menu a.btn{align-self:flex-start;margin-top:24px;padding:12px 26px;font-size:17px;letter-spacing:-.012em}
.menu-open .nav{background:var(--bg)}
body.menu-open{overflow:hidden}
@media (max-width:900px){
  .nav-links,.nav-portal,.nav-right>.btn{display:none}
  .menu-btn{display:block}
  .nav-right{margin-left:auto;gap:2px}
}
@media (min-width:901px){.menu{display:none}}

/* ---------- hero ---------- */
.hero{position:relative;isolation:isolate;overflow:hidden;padding-block:clamp(64px,10vw,130px) clamp(56px,8vw,110px)}
.hero .lead{margin:24px auto 0;max-width:36ch}
.hero-split{text-align:left}
.hero-split .split{align-items:center}
/* the wider text column is for large screens only; on phones it overrode the
   single-column layout and squeezed the heading beside the graphic */
@media (min-width:861px){.hero-split .split{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}}
.hero-split .h1{font-size:clamp(40px,5.2vw,68px)}
.hero-split .lead{margin-inline:0}
.aurora{position:absolute;inset:-25% -15% auto;height:130%;z-index:-1;pointer-events:none;filter:blur(40px)}
.aurora i{position:absolute;border-radius:50%;opacity:.9;animation:drift 20s var(--ease-io) infinite alternate}
.aurora i:nth-child(1){width:48vw;height:48vw;left:4%;top:0;background:radial-gradient(circle,rgba(232,163,61,.26),transparent 62%)}
.aurora i:nth-child(2){width:42vw;height:42vw;right:2%;top:14%;background:radial-gradient(circle,rgba(90,166,192,.26),transparent 62%);animation-duration:26s;animation-delay:-8s}
.aurora i:nth-child(3){width:34vw;height:34vw;left:36%;top:38%;background:radial-gradient(circle,rgba(255,176,120,.2),transparent 62%);animation-duration:31s;animation-delay:-4s}
.dark .aurora i:nth-child(1),html[data-theme="dark"] .aurora i:nth-child(1){background:radial-gradient(circle,rgba(232,163,61,.3),transparent 62%)}
.dark .aurora i:nth-child(2),html[data-theme="dark"] .aurora i:nth-child(2){background:radial-gradient(circle,rgba(90,166,192,.28),transparent 62%)}
@keyframes drift{to{transform:translate3d(7vw,5vw,0) scale(1.18)}}
.particles{position:absolute;inset:0;width:100%;height:100%;z-index:-1}

/* headline lines rise out of a mask on load */
.lines>span{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.lines>span>span{display:inline-block}
.js .lines>span>span{transform:translateY(108%);transition:transform 1.15s var(--ease)}
.js .lines>span:nth-child(2)>span{transition-delay:.1s}
.js .lines>span:nth-child(3)>span{transition-delay:.2s}
.js.is-loaded .lines>span>span{transform:none}
.js [data-load]{opacity:0;transform:translateY(18px);transition:opacity 1s var(--ease),transform 1.1s var(--ease);transition-delay:var(--d,.3s)}
.js.is-loaded [data-load]{opacity:1;transform:none}

/* scroll reveals */
.js [data-reveal]{opacity:0;transform:translateY(44px);transition:opacity 1s var(--ease),transform 1.15s var(--ease);transition-delay:var(--d,0ms)}
.js [data-reveal="scale"]{transform:scale(.94)}
.js [data-reveal].in{opacity:1;transform:none}

/* ---------- division icons (home hero) ---------- */
.divgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:900px;margin:clamp(44px,6vw,72px) auto 0}
/* six industry tiles (Dispatchen) instead of Hexnix's four divisions — scoped
   to a min-width so it never fights the max-width:640px override below */
.divgrid.six{max-width:1100px}
@media (min-width:901px){.divgrid.six{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (min-width:641px) and (max-width:900px){.divgrid.six{grid-template-columns:repeat(3,minmax(0,1fr))}}
.divgrid.six .divtile b{font-size:14.5px;line-height:1.3}
.divtile{display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 12px 22px;border-radius:24px;text-align:center;
  background:color-mix(in srgb,var(--paper) 72%,transparent);box-shadow:inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.divtile:hover{transform:translateY(-4px);box-shadow:inset 0 0 0 1px var(--line),0 24px 44px -26px rgba(11,16,24,.35)}
.divtile b{font-size:17px;font-weight:600;letter-spacing:-.015em}
.divtile small{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--text-2)}
.divtile small.live::before{content:'';width:7px;height:7px;border-radius:50%;background:#22a35a;animation:pulse 2s ease-out infinite}
.appicon{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;color:#fff;flex:none;
  box-shadow:0 16px 30px -14px var(--c,rgba(0,0,0,.4));animation:bob 6s ease-in-out infinite}
.appicon svg{width:30px;height:30px}
.divtile:nth-child(2) .appicon{animation-delay:-1.5s}
.divtile:nth-child(3) .appicon{animation-delay:-3s}
.divtile:nth-child(4) .appicon{animation-delay:-4.5s}
.ic-fin{--c:rgba(232,163,61,.75);background:linear-gradient(145deg,#ff7a4d,#9a5f10)}
.ic-dig{--c:rgba(90,166,192,.75);background:linear-gradient(145deg,#7cc3da,#3a84a1)}
.ic-fac{--c:rgba(34,163,90,.6);background:linear-gradient(145deg,#4fcb86,#1a8f4c)}
.ic-auto{--c:rgba(11,16,24,.55);background:linear-gradient(145deg,#46536a,#0b1018)}
.ic-gp{--c:rgba(232,163,61,.7);background:linear-gradient(145deg,#f0b45d,#9a5f10)}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(34,163,90,.55)}100%{box-shadow:0 0 0 9px rgba(34,163,90,0)}}
@media (max-width:640px){.divgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.divtile{padding:22px 10px 18px}}

/* ---------- tiles (Apple home page) ---------- */
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(1440px,100% - 24px);margin:0 auto 12px}
.tile{position:relative;overflow:hidden;isolation:isolate;border-radius:var(--radius);background:var(--surface);
  min-height:clamp(560px,52vw,720px);display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:clamp(44px,5.5vw,68px) clamp(20px,4vw,40px) 0}
.tile.full{grid-column:1/-1}
.tile.mist{background:var(--mist)}
.tile.dark{background:var(--ink)}
.tile-copy{position:relative;z-index:2;max-width:680px}
.tile-copy .lead,.tile-copy .body-lg{margin-top:14px}
.tile-copy .actions{margin-top:26px}
.tile-visual{margin-top:auto;width:100%;display:flex;justify-content:center;align-items:flex-end;padding-top:36px}
.clay{width:min(600px,108%);max-width:none;-webkit-mask-image:radial-gradient(ellipse 62% 64% at 52% 56%,#000 42%,transparent 74%);mask-image:radial-gradient(ellipse 62% 64% at 52% 56%,#000 42%,transparent 74%)}
[data-zoom]{transform:scale(calc(1.16 - .16 * var(--p,1)));transform-origin:50% 80%;will-change:transform}
@media (max-width:760px){
  .tiles{grid-template-columns:1fr;width:100%;gap:10px;margin-bottom:10px}
  .tile{border-radius:0;min-height:0}
}

/* ---------- statement: words light up as you scroll ---------- */
.statement{position:relative;height:230vh}
.statement .sticky{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:center}
.statement p{font-size:clamp(34px,5.4vw,66px);line-height:1.12;font-weight:700;letter-spacing:-.036em;max-width:21ch}
.statement .w{opacity:.16;transition:opacity .35s ease}
.statement .w.on{opacity:1}
html:not(.js) .statement{height:auto;padding-block:120px}
html:not(.js) .statement .sticky{position:static;height:auto}

/* ---------- stats ---------- */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;text-align:center}
.stat b{display:block;font-size:clamp(42px,5.4vw,66px);line-height:1;font-weight:700;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.stat>span{display:block;margin-top:12px;font-size:15px;color:var(--text-2)}
@media (max-width:760px){.stats{grid-template-columns:1fr 1fr;gap:40px 16px}}

/* ---------- cards & grids ---------- */
.grid{display:grid;gap:clamp(12px,1.6vw,20px)}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:980px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}
.card{position:relative;overflow:hidden;background:var(--surface);border-radius:var(--radius-md);padding:clamp(28px,3vw,38px)}
.card .icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--accent-soft);color:var(--link);margin-bottom:22px}
.card .icon svg{width:22px;height:22px}
.card h3{font-size:21px;line-height:1.25;font-weight:600;letter-spacing:-.02em;margin-bottom:8px}
.card p{font-size:16px;line-height:1.55;color:var(--text-2)}
.card .num{display:block;font-size:15px;font-weight:600;color:var(--link);margin-bottom:14px}

.proof{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.proof>div{display:flex;align-items:center;gap:12px;padding:18px 20px;border-radius:18px;background:var(--surface);font-size:15px;font-weight:500;line-height:1.3}
.proof svg{width:22px;height:22px;flex:none;color:var(--link)}
@media (max-width:900px){.proof{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.proof{grid-template-columns:1fr}}

.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,6vw,96px);align-items:center}
.split.flip>:first-child{order:2}
.split .lead,.split .body-lg{margin-top:18px}
@media (max-width:860px){
  .split{grid-template-columns:1fr;text-align:center}
  .split.flip>:first-child{order:0}
  .split .actions{justify-content:center}
  .split .lead{margin-inline:auto}
  .hero-split{text-align:center}
}
.photo{border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.photo img{width:100%;aspect-ratio:4/3;object-fit:cover}

.ticks{display:grid;gap:13px;margin-top:26px;text-align:left}
.ticks li{display:flex;gap:12px;font-size:17px;line-height:1.45}
.ticks li::before,.plan li::before{content:'';flex:none;width:20px;height:20px;margin-top:2px;background:var(--link);
  -webkit-mask:var(--check) center/contain no-repeat;mask:var(--check) center/contain no-repeat}
@media (max-width:860px){.split .ticks{max-width:520px;margin-inline:auto}}

.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,4vw,60px)}
.step .n{display:block;font-size:clamp(52px,6vw,76px);line-height:1;font-weight:700;letter-spacing:-.05em}
.step h3{font-size:clamp(21px,2vw,24px);font-weight:600;letter-spacing:-.02em;margin:18px 0 8px}
.step p{color:var(--text-2);font-size:17px}
@media (max-width:760px){.steps{grid-template-columns:1fr;text-align:center;gap:44px}}

.badge-soon{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:var(--accent-soft);color:var(--link);font-size:14px;font-weight:600}

/* ---------- pricing ---------- */
.seg-wrap{display:flex;justify-content:center;margin-top:36px}
html:not(.js) .seg-wrap{display:none}
.seg{position:relative;display:inline-flex;max-width:100%;padding:4px;border-radius:999px;background:var(--surface);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.seg::-webkit-scrollbar{display:none}
.seg button{position:relative;z-index:1;flex:none;border:0;background:none;padding:10px 18px;border-radius:999px;font-size:15px;font-weight:500;color:var(--text-2);white-space:nowrap;cursor:pointer;transition:color .3s}
.seg button[aria-selected="true"]{color:var(--text)}
.seg .pill{position:absolute;z-index:0;top:4px;bottom:4px;left:0;width:0;border-radius:999px;background:var(--paper);
  box-shadow:0 1px 3px rgba(0,0,0,.1),0 6px 16px rgba(0,0,0,.06);transition:transform .5s var(--ease),width .5s var(--ease)}
.dark .seg .pill,html[data-theme="dark"] .seg .pill{background:var(--ink-3);box-shadow:none}
@media (max-width:760px){.seg-wrap{justify-content:flex-start;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);overflow:hidden}}
.panel{margin-top:40px}
.js .panel-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.panel-title{font-size:24px;font-weight:600;letter-spacing:-.02em;margin-bottom:18px}
.panel-in{animation:panelIn .6s var(--ease)}
@keyframes panelIn{from{opacity:0;transform:translateY(18px)}}
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;text-align:left}
.plans.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:780px;margin-inline:auto}
.plan{position:relative;display:flex;flex-direction:column;background:var(--surface);border-radius:var(--radius-md);padding:34px 28px 28px}
.plan.pop{--text:#f5f5f7;--text-2:#a1a1a6;--line:rgba(255,255,255,.12);--link:var(--accent);--btn:var(--accent);--btn-text:#0b1018;background:var(--ink);color:var(--text)}
.dark .plan.pop,html[data-theme="dark"] .plan.pop{background:linear-gradient(160deg,#1f2a3b,#121a26);box-shadow:inset 0 0 0 1px rgba(232,163,61,.35)}
.plan .badge{position:absolute;top:0;left:28px;transform:translateY(-50%);padding:5px 12px;border-radius:999px;background:var(--accent);color:#0b1018;font-size:12px;font-weight:600;white-space:nowrap;box-shadow:0 6px 16px -8px rgba(232,163,61,.8)}
.plan h4{font-size:17px;font-weight:600;letter-spacing:-.015em}
.plan .price{margin-top:14px;font-size:52px;line-height:1;font-weight:700;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.plan .per{margin-top:8px;font-size:14px;color:var(--text-2);min-height:21px}
.plan ul{display:grid;gap:11px;margin:24px 0 30px;padding-top:22px;border-top:1px solid var(--line)}
.plan li{display:flex;gap:10px;font-size:15px;line-height:1.45}
.plan li::before{width:18px;height:18px;margin-top:1px}
.plan .btn{margin-top:auto;width:100%}
.swipe-hint{display:none;margin-top:14px;font-size:14px;color:var(--text-3);text-align:center}
@media (max-width:900px){
  .plans:not(.two){grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(310px,84%);overflow-x:auto;
    scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);padding:20px var(--gutter) 18px;margin-inline:calc(-1 * var(--gutter));scrollbar-width:none}
  .plans:not(.two)::-webkit-scrollbar{display:none}
  .plans:not(.two)>.plan{scroll-snap-align:start}
  .plans:not(.two)+.swipe-hint{display:block}
}
@media (max-width:640px){.plans.two{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(310px,84%);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);padding:20px var(--gutter) 18px;margin-inline:calc(-1 * var(--gutter));scrollbar-width:none}
  .plans.two::-webkit-scrollbar{display:none}.plans.two>.plan{scroll-snap-align:start}.plans.two+.swipe-hint{display:block}}
.fine{max-width:760px;margin:40px auto 0;font-size:14px;line-height:1.6;color:var(--text-3);text-align:center}
.fine a{color:var(--link)}

/* ---------- FAQ ---------- */
.faq{max-width:840px;margin:0 auto;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;
  font-size:clamp(18px,2vw,22px);font-weight:600;letter-spacing:-.02em}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'';flex:none;width:11px;height:11px;border:solid var(--text-2);border-width:0 2px 2px 0;transform:translateY(-3px) rotate(45deg);transition:transform .4s var(--ease)}
.faq details[open] summary::after{transform:translateY(3px) rotate(-135deg)}
.faq .ans{padding:0 44px 28px 0;color:var(--text-2);font-size:17px;line-height:1.6}
.faq details[open] .ans{animation:panelIn .5s var(--ease)}

/* ---------- forms ---------- */
.field{display:block}
.field+.field,.form-cols+.field,.field+.form-cols,.form-cols+.form-cols{margin-top:16px}
.lbl{display:block;font-size:14px;font-weight:500;color:var(--text-2);margin-bottom:7px}
.input{width:100%;min-height:52px;padding:14px 16px;border-radius:14px;border:1px solid var(--line);background:var(--paper);color:var(--text);font-size:17px;
  transition:border-color .2s,box-shadow .2s}
.dark .input,html[data-theme="dark"] .input{background:var(--ink-3)}
.input::placeholder{color:var(--text-3)}
.input:focus{outline:none;border-color:var(--link);box-shadow:0 0 0 4px var(--accent-soft)}
textarea.input{min-height:150px;resize:vertical;line-height:1.5}
.form-card{background:var(--surface);border-radius:var(--radius);padding:clamp(24px,4vw,44px)}
.form-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:640px){.form-cols{grid-template-columns:1fr}}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{position:relative;display:inline-flex}
.chip input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}
.chip span{display:inline-flex;align-items:center;min-height:42px;padding:8px 16px;border-radius:999px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);font-size:15px;transition:background-color .2s,color .2s,box-shadow .2s}
.chip input:checked+span{background:var(--text);color:var(--bg);box-shadow:none}
.chip input:focus-visible+span{outline:2px solid var(--focus);outline-offset:2px}
.notice{padding:14px 18px;border-radius:14px;font-size:15px;font-weight:500;margin-bottom:20px;text-align:left}
.notice.ok{background:rgba(26,143,76,.12);color:#137a3f}
.dark .notice.ok,html[data-theme="dark"] .notice.ok{color:#5ad48f}
.notice.err{background:var(--accent-soft);color:var(--link)}
.notice a{text-decoration:underline}
.form-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:22px}
.notify{display:flex;gap:10px;max-width:480px;margin:30px auto 0}
.notify .input{flex:1;min-width:0}
.notify+.cf-turnstile,.notify .cf-turnstile{margin-top:10px}
@media (max-width:520px){.notify{flex-direction:column}}

.contact-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr}}
.info{display:grid;gap:16px}
.info-card{background:var(--surface);border-radius:var(--radius-md);padding:26px 28px}
.info-card h3{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--text-2);margin-bottom:10px}
.info-card h3 svg{width:18px;height:18px;color:var(--link)}
.info-card .big{display:block;font-size:22px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
.info-card p{margin-top:8px;font-size:15px;color:var(--text-2)}
.hours{display:grid;grid-template-columns:1fr auto;gap:6px 16px;font-size:15px}
.hours span:nth-child(even){text-align:right;font-weight:600}
.map{margin-top:16px;border-radius:14px;overflow:hidden}
.map iframe{display:block;width:100%;height:200px;border:0}

/* ---------- about ---------- */
.timeline{position:relative;display:grid;gap:44px;padding-left:36px;max-width:720px;margin-inline:auto}
.timeline::before{content:'';position:absolute;left:5px;top:8px;bottom:8px;width:2px;background:linear-gradient(var(--accent),var(--line))}
.timeline li{position:relative}
.timeline li::before{content:'';position:absolute;left:-36px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--bg);box-shadow:inset 0 0 0 3px var(--accent)}
.timeline .when{font-size:15px;font-weight:600;color:var(--link)}
.timeline h3{font-size:clamp(22px,2.4vw,26px);font-weight:600;letter-spacing:-.022em;margin:4px 0 6px}
.timeline p{color:var(--text-2)}
.person .avatar{aspect-ratio:1;border-radius:var(--radius-md);display:grid;place-items:center;margin-bottom:18px;font-size:clamp(56px,6vw,76px);font-weight:700;letter-spacing:-.04em;color:rgba(255,255,255,.95)}
.person .role{font-size:14px;font-weight:600;color:var(--link)}
.person h3{font-size:22px;font-weight:600;letter-spacing:-.02em;margin:4px 0 8px}
.person p{font-size:15px;color:var(--text-2)}
@media (max-width:640px){
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .person .avatar{font-size:44px;margin-bottom:12px}
  .person h3{font-size:19px}
  .person .role,.person p{font-size:13.5px}
}

/* ---------- legal ---------- */
.legal{padding-block:clamp(60px,9vw,110px)}
.legal .updated{margin-top:14px;color:var(--text-3);font-size:15px}
.legal section{padding:34px 0;border-top:1px solid var(--line)}
.legal section:first-of-type{margin-top:48px}
.legal h2{font-size:22px;font-weight:600;letter-spacing:-.02em;margin-bottom:10px}
.legal p{font-size:17px;line-height:1.7;color:var(--text-2)}
.legal a{color:var(--link);text-decoration:underline;text-underline-offset:3px}

/* ---------- footer ---------- */
.foot{background:var(--mist);color:var(--text-2);padding:clamp(52px,7vw,84px) 0 calc(26px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
html[data-theme="dark"] .foot{background:#070a10}
.foot-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:clamp(36px,6vw,88px);padding-bottom:44px}
.foot-tag{margin-top:22px;font-size:clamp(26px,2.6vw,32px);line-height:1.12;font-weight:700;letter-spacing:-.034em;color:var(--text)}
.foot-contact{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.foot-pill{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 17px;border-radius:999px;background:var(--paper);
  box-shadow:inset 0 0 0 1px var(--line);color:var(--text);font-size:15px;font-weight:500;transition:box-shadow .2s,transform .3s var(--ease)}
.foot-pill:hover{box-shadow:inset 0 0 0 1.5px var(--link)}
.foot-pill svg{width:16px;height:16px;color:var(--link);flex:none}
.foot-addr{margin-top:22px;font-size:14px;line-height:1.6;color:var(--text-3)}
.foot-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-content:start}
.foot-col h4{margin:0 0 16px}
.foot-toggle{display:block;padding:0;border:0;background:none;font:inherit;font-size:14px;font-weight:600;letter-spacing:-.011em;color:var(--text);text-align:left;cursor:default}
.foot-col li+li{margin-top:11px}
.foot-col a{font-size:15px;color:var(--text-2);transition:color .2s}
.foot-col a:hover{color:var(--text)}
.foot-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;padding-top:24px;border-top:1px solid var(--line);font-size:13px;color:var(--text-3)}
.appearance{display:inline-flex;align-items:center;gap:4px;padding:4px;border-radius:999px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line)}
.appearance span{padding:0 8px 0 10px;font-size:13px;color:var(--text-3)}
.appearance button{border:0;background:transparent;color:var(--text-2);font-size:13px;font-weight:500;padding:7px 14px;border-radius:999px;cursor:pointer;transition:background-color .2s,color .2s}
.appearance button[aria-pressed="true"]{background:var(--text);color:var(--bg)}
@media (max-width:760px){
  .foot{padding-top:48px}
  .foot-top{grid-template-columns:1fr;gap:32px;padding-bottom:8px}
  .foot-tag{font-size:28px}
  .foot-pill{flex:1 1 100%;justify-content:center;font-size:16px;min-height:50px}
  .foot-cols{grid-template-columns:1fr;gap:0;border-top:1px solid var(--line)}
  .foot-col{border-bottom:1px solid var(--line)}
  .foot-col h4{margin:0}
  .foot-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:17px 0;font-size:17px;cursor:pointer}
  .foot-toggle::after{content:'';width:9px;height:9px;border:solid var(--text-3);border-width:0 2px 2px 0;transform:translateY(-3px) rotate(45deg);transition:transform .35s var(--ease)}
  .foot-col.open .foot-toggle::after{transform:translateY(2px) rotate(-135deg)}
  .foot-col ul{display:none;padding:0 0 18px}
  .foot-col.open ul{display:block}
  .foot-col li+li{margin-top:2px}
  .foot-col a{display:block;padding:8px 0;font-size:16px}
  .foot-bottom{flex-direction:column-reverse;align-items:stretch;text-align:center;border-top:0;padding-top:28px}
  .appearance{align-self:center}
}

/* ---------- phones ---------- */
.clay-card{display:flex;justify-content:center;max-width:760px;margin-inline:auto;padding:clamp(20px,4vw,40px) 12px 0;border-radius:var(--radius);background:var(--ink);overflow:hidden}
@media (max-width:760px){
  .hero{padding-block:44px 56px}
  .sec{padding-block:72px}
  .sec-sm{padding-block:52px}
  .head{margin-bottom:34px}
  .actions{gap:12px 20px;margin-top:28px}
  .tiles{width:calc(100% - 24px);gap:12px;margin:0 auto 12px}
  .tile{border-radius:26px;padding:42px 20px 0}
  .tile-visual{padding-top:28px}
  /* the scroll-lit statement needs two screens of scroll; on a phone it reads as a
     blank stretch, so it becomes a plain, fully lit paragraph */
  .statement{height:auto;padding-block:84px}
  .statement .sticky{position:static;height:auto}
  .statement p{font-size:32px}
  .statement .w{opacity:1}
  .proof{grid-template-columns:1fr 1fr;gap:10px}
  .proof>div{flex-direction:column;align-items:flex-start;gap:8px;padding:16px;font-size:14px}
  .stat b{font-size:44px}
  .card{padding:26px 22px}
  .faq summary{padding:22px 0}
  .faq .ans{padding-right:0}
  .form-card{border-radius:24px}
  .clay-card{border-radius:24px}
  /* shorter, smaller reveals on phones — a full second per block feels sluggish */
  .js [data-reveal]{transform:translateY(24px);transition-duration:.7s,.8s}
  .js [data-load]{transition-duration:.7s,.8s}
}
/* =====================================================================
   Motion graphics — pure CSS, time-driven. site.js adds .play while a
   graphic is on screen, so nothing animates off-screen.
   ===================================================================== */
.fx{position:relative}
.fx:not(.play) *,.fx:not(.play)::before,.fx:not(.play)::after{animation-play-state:paused!important}

/* --- a tax return filling itself in, then a CRA stamp --- */
.fx-return{width:min(460px,100%);margin-inline:auto;padding:30px 18px 44px}
.fx-return .doc{position:relative;z-index:1;background:#fff;color:#1d1d1f;border-radius:22px;padding:22px 22px 18px;text-align:left;
  box-shadow:0 34px 80px -34px rgba(11,16,24,.4),0 2px 6px rgba(11,16,24,.06)}
.dark .fx-return .doc,html[data-theme="dark"] .fx-return .doc{box-shadow:0 44px 90px -30px rgba(0,0,0,.85)}
.doc-top{display:flex;align-items:center;gap:12px;padding-bottom:16px;margin-bottom:4px;border-bottom:1px solid #ececf0}
.doc-badge{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;background:#0b1018;color:#e8a33d;font-weight:800;font-size:14px}
.doc-top b{display:block;font-size:14px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
.doc-top small{font-size:12px;color:#86868b}
.doc .row{display:grid;grid-template-columns:minmax(0,1fr) 30% 20px;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed #ececf0;font-size:13px;color:#6e6e73}
.doc .row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.doc .row i{display:block;height:8px;width:var(--w);border-radius:4px;background:linear-gradient(90deg,#e8a33d,#ffb089);transform-origin:left;
  transform:scaleX(0);animation:rowFill 9s var(--ease) infinite;animation-delay:calc(var(--k) * .22s)}
.doc .row em{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#1a8f4c;color:#fff;font-style:normal;font-size:11px;
  opacity:0;animation:tick 9s var(--ease) infinite;animation-delay:calc(var(--k) * .22s + .3s)}
.doc .row em svg{width:12px;height:12px}
.doc-foot{display:flex;justify-content:space-between;align-items:baseline;padding-top:14px;font-size:13px;color:#6e6e73}
.doc-foot b{display:inline-block;font-size:30px;font-weight:700;letter-spacing:-.035em;color:#1d1d1f;opacity:0;animation:priceIn 9s var(--ease) infinite}
.doc-foot b small{font-size:13px;font-weight:500;color:#86868b;letter-spacing:0}
.fx-return .stamp{position:absolute;z-index:2;right:0;top:44%;display:flex;align-items:center;gap:8px;padding:11px 16px;border-radius:14px;
  background:#1a8f4c;color:#fff;font-size:15px;font-weight:600;box-shadow:0 18px 40px -14px rgba(26,143,76,.65);opacity:0;animation:stamp 9s var(--ease) infinite}
.fx-return .stamp svg{width:18px;height:18px}
.fx .float{position:absolute;z-index:0;padding:8px 13px;border-radius:12px;background:#fff;color:#1d1d1f;font-size:12px;font-weight:600;
  box-shadow:0 14px 30px -14px rgba(11,16,24,.35);animation:floaty 6s ease-in-out infinite}
.dark .fx .float,html[data-theme="dark"] .fx .float{background:#1a2433;color:#f5f5f7;box-shadow:0 14px 30px -14px rgba(0,0,0,.8)}
.fx-return .f1{left:0;top:8px}
.fx-return .f2{right:10px;top:0;animation-delay:-2s}
.fx-return .f3{left:6px;bottom:6px;animation-delay:-4s}
@keyframes rowFill{0%,6%{transform:scaleX(0)}22%,86%{transform:scaleX(1)}95%,100%{transform:scaleX(0)}}
@keyframes tick{0%,14%{opacity:0;transform:scale(.3)}22%,86%{opacity:1;transform:none}95%,100%{opacity:0;transform:scale(.3)}}
@keyframes priceIn{0%,30%{opacity:0;transform:translateY(8px)}40%,86%{opacity:1;transform:none}95%,100%{opacity:0}}
@keyframes stamp{0%,48%{opacity:0;transform:rotate(-8deg) scale(1.7)}54%{opacity:1;transform:rotate(-8deg) scale(.94)}58%,86%{opacity:1;transform:rotate(-8deg) scale(1)}95%,100%{opacity:0;transform:rotate(-8deg) scale(1)}}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

/* --- a website assembling itself, then going live --- */
.fx-browser{width:min(780px,100%);margin-inline:auto;padding:0 0 46px}
.fx-browser .win{position:relative;z-index:1;background:#121a26;border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden;text-align:left;box-shadow:0 50px 110px -40px rgba(0,0,0,.95)}
.fx-browser .bar{display:flex;align-items:center;gap:7px;padding:12px 14px;background:#0e1520;border-bottom:1px solid rgba(255,255,255,.07)}
.fx-browser .bar>i{width:10px;height:10px;border-radius:50%;background:#2a3444}
.fx-browser .url{margin-left:12px;flex:1;max-width:280px;height:24px;border-radius:7px;background:#1a2433;display:flex;align-items:center;padding:0 10px;
  font:11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#a1a1a6;overflow:hidden}
.fx-browser .type{display:inline-block;overflow:hidden;white-space:nowrap;width:0;animation:typeUrl 8s steps(15) infinite}
.fx-browser .site{display:grid;gap:14px;padding:18px}
.fx-browser .site>*{opacity:0;animation:build 8s var(--ease) infinite}
.fx-browser .site>:nth-child(1){animation-delay:.7s}
.fx-browser .site>:nth-child(2){animation-delay:1s}
.fx-browser .site>:nth-child(3){animation-delay:1.3s}
.fx-browser .site>:nth-child(4){animation-delay:1.6s}
.s-nav{display:flex;align-items:center;gap:10px}
.s-nav b{width:70px;height:12px;border-radius:4px;background:#f5f5f7}
.s-nav i{width:36px;height:8px;border-radius:4px;background:#3a4556}
.s-nav i:first-of-type{margin-left:auto}
.s-nav u{width:64px;height:22px;border-radius:999px;background:#e8a33d}
.s-hero{display:grid;gap:10px;padding:14px 0 4px}
.s-hero b{height:22px;width:78%;border-radius:6px;background:#f5f5f7}
.s-hero b.short{width:52%;background:linear-gradient(90deg,#e8a33d,#5aa6c0)}
.s-hero i{height:9px;width:64%;border-radius:4px;background:#3a4556}
.s-hero u{width:112px;height:30px;margin-top:6px;border-radius:999px;background:#e8a33d}
.s-img{position:relative;overflow:hidden;height:130px;border-radius:12px;background:linear-gradient(135deg,rgba(232,163,61,.4),rgba(90,166,192,.4)),#1a2433}
.s-img::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.2) 50%,transparent 70%);transform:translateX(-100%);animation:sheen 8s ease-in-out infinite}
.s-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.s-cards i{height:66px;border-radius:10px;background:#1a2433;border:1px solid rgba(255,255,255,.06)}
.fx-browser .phone{position:absolute;z-index:2;right:-4px;bottom:0;width:29%;max-width:196px;aspect-ratio:9/18.5;border-radius:30px;border:6px solid #273142;background:#0b1018;overflow:hidden;
  box-shadow:0 34px 70px -24px rgba(0,0,0,.95);opacity:0;animation:phoneIn 8s var(--ease) infinite}
.fx-browser .phone .site{gap:9px;padding:14px 11px}
.fx-browser .phone .site>*{opacity:1;animation:none}
.phone .s-nav b{width:40px;height:8px}
.phone .s-nav u{width:28px;height:12px;margin-left:auto}
.phone .s-hero{gap:7px;padding:8px 0 0}
.phone .s-hero b{height:12px}
.phone .s-hero u{width:62px;height:18px}
.phone .s-img{height:62px}
.phone .s-cards{grid-template-columns:1fr}
.phone .s-cards i{height:36px}
.live-badge{position:absolute;z-index:3;left:18px;bottom:14px;display:flex;align-items:center;gap:8px;padding:9px 15px;border-radius:999px;background:#fff;color:#0b1018;
  font-size:14px;font-weight:600;box-shadow:0 16px 34px -12px rgba(0,0,0,.6);opacity:0;animation:badgeIn 8s var(--ease) infinite}
.live-badge span{width:8px;height:8px;border-radius:50%;background:#22a35a;animation:pulse 1.6s ease-out infinite}
@keyframes typeUrl{0%,4%{width:0}22%,90%{width:15ch}98%,100%{width:0}}
@keyframes build{0%,8%{opacity:0;transform:translateY(14px)}20%,90%{opacity:1;transform:none}98%,100%{opacity:0}}
@keyframes phoneIn{0%,30%{opacity:0;transform:translateY(34px)}42%,90%{opacity:1;transform:none}98%,100%{opacity:0}}
@keyframes badgeIn{0%,50%{opacity:0;transform:translateY(10px) scale(.9)}58%,90%{opacity:1;transform:none}98%,100%{opacity:0}}
@keyframes sheen{0%,40%{transform:translateX(-100%)}70%,100%{transform:translateX(100%)}}
@media (max-width:560px){.fx-browser .s-img{height:84px}.s-cards i{height:44px}.fx-browser .phone{width:34%;border-width:4px;border-radius:22px}.s-nav i{display:none}}

/* --- a card tap, an approval, a receipt printing --- */
.fx-pos{width:min(520px,100%);height:420px;margin-inline:auto}
.fx-pos .term{position:absolute;left:10%;top:48px;width:44%;min-width:170px;max-width:220px;height:300px;border-radius:30px;padding:16px;
  background:linear-gradient(160deg,#243044,#0b1018);border:1px solid rgba(255,255,255,.1);box-shadow:0 44px 90px -34px rgba(0,0,0,.95)}
.fx-pos .screen{height:132px;border-radius:16px;background:#0e1520;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}
.fx-pos .screen small{font-size:11px;color:#86868b}
.fx-pos .screen b{font-size:30px;font-weight:700;letter-spacing:-.035em;color:#f5f5f7}
.fx-pos .ok{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#4cd97c;opacity:0;animation:okIn 7s var(--ease) infinite}
.fx-pos .ok svg{width:14px;height:14px}
.fx-pos .keys{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.fx-pos .keys i{height:26px;border-radius:8px;background:#1a2433}
.fx-pos .cardtap{position:absolute;z-index:2;left:36%;top:6px;width:118px;height:76px;border-radius:12px;background:linear-gradient(135deg,#e8a33d,#ffa066);
  box-shadow:0 22px 40px -16px rgba(232,163,61,.7);animation:tap 7s var(--ease) infinite}
.fx-pos .cardtap::before{content:'';position:absolute;left:14px;top:24px;width:22px;height:16px;border-radius:4px;background:rgba(255,255,255,.75)}
.fx-pos .receipt{position:absolute;z-index:1;right:6%;top:78px;width:36%;max-width:160px;display:grid;gap:8px;padding:16px 13px;border-radius:6px 6px 2px 2px;
  background:#fff;color:#1d1d1f;font-size:10px;clip-path:inset(0 0 100% 0);animation:print 7s var(--ease) infinite}
.fx-pos .receipt b{text-align:center;font-size:11px;letter-spacing:.08em}
.fx-pos .receipt i{height:6px;border-radius:3px;background:#e5e5ea}
.fx-pos .receipt i:nth-of-type(2){width:72%}
.fx-pos .receipt i:nth-of-type(4){width:56%}
.fx-pos .receipt em{text-align:center;font-style:normal;color:#6e6e73}
.fx-pos .bub{position:absolute;z-index:3;display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:14px;white-space:nowrap;
  background:rgba(18,26,38,.92);border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  color:#f5f5f7;box-shadow:0 14px 30px -14px rgba(11,16,24,.55);font-size:13px;font-weight:500;opacity:0;animation:bub 7s var(--ease) infinite}
.fx-pos .bub svg{width:16px;height:16px;color:#5aa6c0}
.fx-pos .b1{right:0;bottom:84px;animation-delay:.5s}
.fx-pos .b2{left:0;bottom:18px;animation-delay:1.4s}
@keyframes tap{0%{transform:translate(110px,-10px) rotate(14deg);opacity:0}10%{opacity:1}26%,36%{transform:translate(-30px,86px) rotate(-6deg);opacity:1}50%,100%{transform:translate(110px,-10px) rotate(14deg);opacity:0}}
@keyframes okIn{0%,32%{opacity:0;transform:scale(.8)}38%,90%{opacity:1;transform:none}98%,100%{opacity:0}}
@keyframes print{0%,40%{clip-path:inset(0 0 100% 0)}62%,90%{clip-path:inset(0 0 0 0)}98%,100%{clip-path:inset(0 0 100% 0)}}
@keyframes bub{0%,45%{opacity:0;transform:translateY(10px)}55%,90%{opacity:1;transform:none}98%,100%{opacity:0}}
@media (max-width:480px){.fx-pos{height:380px}.fx-pos .term{left:2%;top:56px;height:270px}.fx-pos .receipt{right:0}.fx-pos .cardtap{left:30%}}

/* ---------- reduced motion: show every graphic in its finished state ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;transition-delay:0s!important}
  .js [data-reveal],.js [data-load],.js .lines>span>span{opacity:1!important;transform:none!important}
  .aurora i,.appicon,.fx .float{animation:none!important}
  .doc .row i{animation:none!important;transform:none}
  .doc .row em,.doc-foot b,.fx-return .stamp,.live-badge,.fx-pos .ok,.fx-pos .bub{animation:none!important;opacity:1}
  .fx-return .stamp{transform:rotate(-8deg)}
  .fx-browser .site>*,.fx-browser .phone{animation:none!important;opacity:1}
  .fx-browser .type{animation:none!important;width:15ch}
  .fx-pos .receipt{animation:none!important;clip-path:none}
  .fx-pos .cardtap{animation:none!important;opacity:0}
  .statement{height:auto;padding-block:110px}
  .statement .sticky{position:static;height:auto}
  .statement .w{opacity:1}
  [data-zoom]{transform:none!important}
}

/* =====================================================================
   Digital only — styled here, switched on by digital-fx.js.
   ===================================================================== */
.cur{position:fixed;left:0;top:0;z-index:1000;pointer-events:none}
.cur i,.cur b{position:fixed;left:0;top:0;border-radius:50%;opacity:0;transition:opacity .3s ease}
.cur i{width:8px;height:8px;margin:-4px 0 0 -4px;background:var(--accent)}
.cur b{width:38px;height:38px;margin:-19px 0 0 -19px;border:1.5px solid rgba(232,163,61,.75);transition:opacity .3s ease,width .35s var(--ease),height .35s var(--ease),margin .35s var(--ease),background-color .3s}
.cur.on i,.cur.on b{opacity:1}
.cur.hot b{width:62px;height:62px;margin:-31px 0 0 -31px;background:rgba(232,163,61,.12);border-color:rgba(232,163,61,.95)}
.spot{position:relative;isolation:isolate}
.spot::after{content:'';position:absolute;inset:0;z-index:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .4s ease;
  background:radial-gradient(460px circle at var(--mx,50%) var(--my,50%),rgba(232,163,61,.16),transparent 46%)}
.spot:hover::after{opacity:1}
.spot>*{position:relative;z-index:1}
[data-tilt]{transition:transform .6s var(--ease);will-change:transform}
.stage{border-radius:var(--radius);background:var(--surface);padding:clamp(24px,4vw,48px) clamp(16px,3vw,36px) 0;overflow:hidden}

/* ==========================================================================
   Dispatchen-specific components
   Everything above this line is inherited from the hexnixgroup.ca design
   system. Everything below is Dispatchen's own: device frames for real
   product screenshots, the auto-cycling industry switcher, the module tour,
   and the founding-customer band.
   ========================================================================== */

/* ---------- device frames ------------------------------------------------ */
.shot{position:relative;border-radius:14px;overflow:hidden;background:#0f141b;
  box-shadow:0 2px 6px rgba(11,16,24,.16),0 30px 70px -28px rgba(11,16,24,.5),
             0 0 0 1px rgba(11,16,24,.09)}
html[data-theme="dark"] .shot{box-shadow:0 2px 6px rgba(0,0,0,.5),0 30px 70px -28px rgba(0,0,0,.85),
             0 0 0 1px rgba(255,255,255,.09)}
.shot-bar{display:flex;align-items:center;gap:7px;padding:11px 14px;background:#161d27;
  border-bottom:1px solid rgba(255,255,255,.07)}
.shot-bar i{width:10px;height:10px;border-radius:50%;background:#2c3745;flex:none}
.shot-bar i:nth-child(1){background:#f6584f}
.shot-bar i:nth-child(2){background:#f8bb3c}
.shot-bar i:nth-child(3){background:#40c057}
.shot-bar span{margin-left:10px;font-size:11.5px;color:#6a7686;letter-spacing:.01em;
  font-family:var(--mono,ui-monospace,Menlo,monospace)}
.shot img{display:block;width:100%;height:auto}
.shot-float{animation:shotfloat 9s var(--ease) infinite alternate}
@keyframes shotfloat{to{transform:translateY(-12px)}}

/* phone */
.phone{position:relative;width:min(280px,72vw);margin-inline:auto;border-radius:38px;padding:9px;
  background:linear-gradient(160deg,#252f3d,#0e131a);
  box-shadow:0 2px 4px rgba(11,16,24,.3),0 34px 60px -24px rgba(11,16,24,.6),0 0 0 1px rgba(255,255,255,.07)}
.phone::before{content:'';position:absolute;top:17px;left:50%;translate:-50% 0;width:78px;height:20px;
  border-radius:12px;background:#0b0f15;z-index:2}
.phone img{display:block;width:100%;height:auto;border-radius:30px}
.phones{display:flex;justify-content:center;align-items:flex-end;gap:clamp(8px,2.4vw,26px)}
.phones .phone{margin:0}
.phones .phone:nth-child(1),.phones .phone:nth-child(3){width:min(228px,58vw);opacity:.86}
@media (max-width:760px){.phones .phone:nth-child(1),.phones .phone:nth-child(3){display:none}}

/* ---------- industry switcher (the homepage centrepiece) ----------------- */
.sw-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 auto clamp(24px,3.4vw,36px);padding:0}
.sw-tab{display:inline-flex;align-items:center;gap:9px;padding:10px 17px;border-radius:999px;border:0;
  background:var(--surface);color:var(--text-2);font-size:14.5px;font-weight:550;letter-spacing:-.01em;
  cursor:pointer;transition:background-color .3s var(--ease),color .3s var(--ease),box-shadow .3s var(--ease)}
.sw-tab svg{width:17px;height:17px;flex:none;opacity:.75}
.sw-tab:hover{color:var(--text)}
.sw-tab[aria-selected="true"]{background:var(--ink);color:#fff;box-shadow:0 10px 24px -12px rgba(11,16,24,.7)}
.sw-tab[aria-selected="true"] svg{opacity:1;color:var(--accent)}
html[data-theme="dark"] .sw-tab[aria-selected="true"]{background:var(--accent);color:#0b1018}
html[data-theme="dark"] .sw-tab[aria-selected="true"] svg{color:#0b1018}
/* the progress hairline that shows the auto-cycle advancing */
.sw-tab::after{content:'';position:absolute;inset:auto 14px 5px;height:2px;border-radius:2px;
  background:currentColor;opacity:0;transform:scaleX(0);transform-origin:left}
.sw-tab{position:relative}
.sw-tab[aria-selected="true"].timing::after{opacity:.5;animation:swtime var(--sw-dur,6s) linear forwards}
@keyframes swtime{to{transform:scaleX(1)}}

.sw-stage{position:relative;border-radius:14px;overflow:hidden}
.sw-stage .shot{box-shadow:0 2px 6px rgba(11,16,24,.16),0 40px 90px -34px rgba(11,16,24,.55),0 0 0 1px rgba(11,16,24,.09)}
.sw-slide{position:absolute;inset:0;opacity:0;transition:opacity .6s var(--ease);pointer-events:none}
.sw-slide.on{position:relative;opacity:1;pointer-events:auto}
html:not(.js) .sw-slide{position:relative;opacity:1;margin-bottom:16px}
html:not(.js) .sw-tabs{display:none}

.sw-cap{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px;margin-top:22px;min-height:24px}
.sw-cap b{font-size:15px;font-weight:600}
.sw-cap span{font-size:15px;color:var(--text-2)}
.sw-word{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:999px;
  background:var(--accent-soft);color:var(--link);font-size:13.5px;font-weight:600;white-space:nowrap}

/* ---------- module tour -------------------------------------------------- */
.tour{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(28px,4.5vw,64px);align-items:center}
@media (max-width:900px){.tour{grid-template-columns:1fr;gap:28px}}
.tour-nav{display:grid;gap:6px}
.tour-item{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;width:100%;text-align:left;
  padding:17px 18px;border-radius:16px;border:0;background:transparent;cursor:pointer;
  transition:background-color .35s var(--ease)}
.tour-item:hover{background:var(--surface)}
.tour-item[aria-selected="true"]{background:var(--surface)}
.tour-item .ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none;
  background:var(--surface-2);color:var(--text-2);transition:background-color .35s var(--ease),color .35s var(--ease)}
.tour-item[aria-selected="true"] .ic{background:var(--accent);color:#0b1018}
.tour-item .ic svg{width:19px;height:19px}
.tour-item b{display:block;font-size:16.5px;font-weight:600;letter-spacing:-.017em;color:var(--text)}
.tour-item p{margin-top:4px;font-size:14.5px;line-height:1.5;color:var(--text-2);
  max-height:0;opacity:0;overflow:hidden;transition:max-height .45s var(--ease),opacity .35s var(--ease),margin-top .45s var(--ease)}
.tour-item[aria-selected="true"] p{max-height:120px;opacity:1}
@media (max-width:900px){.tour-item p{max-height:120px;opacity:1}}
.tour-stage{position:relative}
.tour-slide{position:absolute;inset:0;opacity:0;transform:scale(.985);pointer-events:none;
  transition:opacity .55s var(--ease),transform .55s var(--ease)}
.tour-slide.on{position:relative;opacity:1;transform:none;pointer-events:auto}
html:not(.js) .tour-slide{position:relative;opacity:1;transform:none;margin-bottom:14px}
html:not(.js) .tour-nav p{max-height:none;opacity:1}

/* ---------- founding customers ------------------------------------------ */
.founding{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--ink);color:#f5f5f7;
  padding:clamp(44px,6vw,76px) clamp(24px,5vw,68px)}
.founding::before{content:'';position:absolute;width:44vw;height:44vw;right:-12%;top:-40%;border-radius:50%;
  background:radial-gradient(circle,rgba(232,163,61,.34),transparent 62%);filter:blur(30px);pointer-events:none}
.founding .h2,.founding .lead{position:relative}
.founding .lead{color:#b9bcc2}
.founding .seats{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;position:relative}
.seat{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:13px;font-weight:600;
  background:rgba(255,255,255,.07);color:#6f7885;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.seat.open{background:var(--accent);color:#0b1018;box-shadow:none}
.founding-perks{display:grid;gap:12px;margin-top:30px;position:relative}
.founding-perks li{display:flex;gap:12px;font-size:16.5px;line-height:1.45;color:#e7e8ea}
.founding-perks li::before{content:'';flex:none;width:20px;height:20px;margin-top:2px;background:var(--accent);
  -webkit-mask:var(--check) center/contain no-repeat;mask:var(--check) center/contain no-repeat}

/* ---------- inline pricing (homepage) ----------------------------------- */
.price-inline{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:clamp(28px,5vw,64px);align-items:center}
@media (max-width:900px){.price-inline{grid-template-columns:1fr}}
.price-why{display:grid;gap:18px;margin-top:26px}
.price-why li{display:flex;gap:13px}
.price-why .ic{width:36px;height:36px;border-radius:11px;flex:none;display:grid;place-items:center;
  background:var(--accent-soft);color:var(--link)}
.price-why .ic svg{width:18px;height:18px}
.price-why b{display:block;font-size:16px;font-weight:600;letter-spacing:-.015em}
.price-why span{display:block;margin-top:2px;font-size:14.5px;line-height:1.5;color:var(--text-2)}

/* ---------- metric strip ------------------------------------------------- */
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,2vw,22px)}
@media (max-width:860px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}}
.metric{text-align:center}
.metric b{display:block;font-size:clamp(34px,4.2vw,50px);line-height:1;font-weight:700;letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;color:var(--text)}
.metric span{display:block;margin-top:10px;font-size:14.5px;line-height:1.4;color:var(--text-2)}

/* The founding band is dark in both themes, so the button has to take the
   dark-theme treatment regardless of what the page theme is — the default
   --btn is the on-white brown, which turns to mud on this panel. */
.founding .btn{background:var(--accent);color:#0b1018}
.founding .btn:hover{background:color-mix(in srgb,var(--accent) 86%,#fff)}
.founding .link{color:var(--accent)}
.founding .link:hover{color:#f3c47a}

/* the tour artwork earns more room than the nav beside it */
@media (min-width:1100px){.tour{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)}}

/* Phones: six stacked full-width pills pushed the screenshot off the screen
   entirely, so the tabs become a snapping horizontal strip that bleeds to
   both edges — the same treatment .seg already uses for pricing tabs. */
@media (max-width:760px){
  .sw-tabs{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;
    scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;
    margin-inline:calc(-1 * var(--gutter));padding:2px var(--gutter) 10px}
  .sw-tabs::-webkit-scrollbar{display:none}
  .sw-tab{flex:none;scroll-snap-align:center}
  .sw-cap{gap:8px 12px}
  .sw-cap b{width:100%;text-align:center}
}

/* Without JS the stacked slides can't be cycled and their deferred artwork
   never loads, so show only the first of each rather than five empty frames. */
html:not(.js) .sw-slide:not(.on),html:not(.js) .tour-slide:not(.on){display:none}

/* ---------- plan cards (three tiers) ------------------------------------ */
.plans{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:980px){.plans{grid-template-columns:1fr;max-width:460px;margin-inline:auto}}
.plan-for{margin-top:14px;font-size:14px;line-height:1.5;color:var(--text-2);min-height:42px}
.plan.pop{background:var(--ink);color:#f5f5f7;box-shadow:0 30px 70px -34px rgba(11,16,24,.6)}
.plan.pop .per,.plan.pop .plan-for{color:#a8adb6}
.plan.pop li::before{background:var(--accent)}
.plan.pop .btn{background:var(--accent);color:#0b1018}
.plan.pop .btn:hover{background:color-mix(in srgb,var(--accent) 86%,#fff)}
.plan.pop .small{color:#8d939c}
.price-why-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:clamp(28px,4vw,46px)}
@media (max-width:860px){.price-why-row{grid-template-columns:1fr}}

/* ---------- feature comparison ------------------------------------------ */
.mx-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.mx{width:100%;min-width:620px;border-collapse:collapse;text-align:left}
.mx thead th{padding:0 14px 18px;font-size:17px;font-weight:600;letter-spacing:-.018em;vertical-align:bottom}
.mx thead th span{display:block;margin-top:3px;font-size:13.5px;font-weight:500;color:var(--text-2)}
.mx thead th:not(:first-child),.mx td{text-align:center;width:16%}
.mx tbody th{padding:14px;font-size:15px;font-weight:450;color:var(--text-2);line-height:1.4}
.mx td{padding:14px;font-size:14px}
.mx td b{font-weight:600;font-size:14px}
.mx tbody tr{border-top:1px solid var(--line)}
.mx tr.mx-sec th{padding:30px 14px 10px;font-size:13px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text);border:0}
.mx tr.mx-sec{border-top:0}
/* the recommended column is tinted the whole way down so the eye tracks it */
.mx thead th:nth-child(3),.mx td:nth-child(3){background:var(--accent-soft)}
.mx thead th:nth-child(3){border-radius:14px 14px 0 0}
.mx tbody tr:last-child td:nth-child(3){border-radius:0 0 14px 14px}
.tick-y{display:inline-grid;place-items:center;width:21px;height:21px;border-radius:50%;
  background:var(--link);color:var(--bg)}
.tick-y svg{width:12px;height:12px}
.tick-n{color:var(--text-3);font-size:16px}

/* ==========================================================================
   Motion graphics — the "live system" pieces
   All animation is CSS on a fixed timeline; site.js adds .play when the
   graphic scrolls into view and removes it when it leaves, so nothing
   animates off-screen. Everything here is decorative and aria-hidden: the
   information it conveys is always stated in the copy beside it.
   ========================================================================== */
.fx{--fx-state:paused}
.fx.play{--fx-state:running}
.fx [class*="anim-"],.fx .ops-move,.fx .odo b,.fx .ops-live i,
.fx .ops-bar i,.fx .ops-ring circle,.fx .geo-ping,.fx .geo-pin,.fx .chk-row{
  animation-play-state:var(--fx-state)}

/* ---------- live ops board (hero) --------------------------------------- */
.ops{position:relative;border-radius:18px;overflow:hidden;background:#0f141b;color:#e9ebee;
  box-shadow:0 2px 6px rgba(11,16,24,.2),0 40px 90px -36px rgba(11,16,24,.6),
             0 0 0 1px rgba(255,255,255,.07);
  padding:16px;font-size:12px;line-height:1.35}
.ops-head{display:flex;align-items:center;gap:10px;padding-bottom:13px;margin-bottom:13px;
  border-bottom:1px solid rgba(255,255,255,.08)}
.ops-live{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;color:#4ade80}
.ops-live i{width:7px;height:7px;border-radius:50%;background:#4ade80;
  animation:opspulse 2.4s ease-out infinite}
@keyframes opspulse{0%{box-shadow:0 0 0 0 rgba(74,222,128,.6)}70%{box-shadow:0 0 0 8px transparent}100%{box-shadow:0 0 0 0 transparent}}
.ops-co{font-size:13px;font-weight:600;color:#fff}
.ops-clock{margin-left:auto;font-family:var(--mono,ui-monospace,Menlo,monospace);font-size:12.5px;
  color:#e8a33d;font-variant-numeric:tabular-nums}

.ops-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:13px}
.ops-kpi{background:rgba(255,255,255,.04);border-radius:11px;padding:10px 11px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.ops-kpi em{display:block;font-style:normal;font-size:10.5px;color:#8b93a0;margin-bottom:5px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ops-kpi b{display:block;font-size:21px;font-weight:650;letter-spacing:-.03em;line-height:1;
  font-variant-numeric:tabular-nums}
/* odometer: two stacked values, the strip slides up once per cycle */
.odo{position:relative;display:block;height:21px;overflow:hidden}
.odo b{display:block;animation:odo 11s var(--ease) infinite}
.odo b span{display:block;height:21px}
@keyframes odo{0%,38%{transform:translateY(0)}46%,100%{transform:translateY(-21px)}}

.ops-board{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ops-col{background:rgba(255,255,255,.03);border-radius:11px;padding:9px;min-height:150px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.ops-col h5{margin:0 0 8px;font-size:10px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;
  color:#8b93a0;display:flex;align-items:center;gap:6px}
.ops-col h5 s{text-decoration:none;margin-left:auto;color:#6b7280}
.ops-card{background:#171e28;border-radius:9px;padding:8px 9px;margin-bottom:7px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.ops-card u{display:block;text-decoration:none;font-size:11px;font-weight:550;color:#dfe3e8;
  line-height:1.3;margin-bottom:5px}
.ops-card s{display:block;text-decoration:none;font-size:10px;color:#79818e}
.ops-card.p1{border-left:2px solid #f6584f}
.ops-card.p2{border-left:2px solid #e8a33d}
.ops-card.p3{border-left:2px solid #5b9df8}
/* the travelling card: one job crossing the board, over and over */
.ops-move{position:absolute;left:9px;top:31px;width:calc((100% - 16px)/3 - 18px);z-index:2;
  background:#1d2733;box-shadow:0 12px 26px -12px rgba(0,0,0,.8),inset 0 0 0 1px rgba(232,163,61,.5);
  animation:travel 11s var(--ease) infinite}
@keyframes travel{
  0%   {transform:translate(0,-10px) scale(.96);opacity:0}
  5%   {transform:translate(0,0) scale(1);opacity:1}
  30%  {transform:translate(0,0) scale(1)}
  40%  {transform:translate(calc(100% + 26px),0) scale(1)}
  66%  {transform:translate(calc(100% + 26px),0) scale(1)}
  76%  {transform:translate(calc(200% + 52px),0) scale(1)}
  95%  {transform:translate(calc(200% + 52px),0) scale(1);opacity:1}
  100% {transform:translate(calc(200% + 52px),4px) scale(.97);opacity:0}
}
/* its status chip swaps as it lands in each column */
.ops-chip{display:inline-block;padding:2px 7px;border-radius:999px;font-size:9.5px;font-weight:650;
  letter-spacing:.03em;position:relative;overflow:hidden;height:14px;vertical-align:middle;
  background:rgba(255,255,255,.06)}
.ops-chip span{display:block;animation:chip 11s steps(1) infinite}
@keyframes chip{0%,36%{transform:translateY(0)}40%,72%{transform:translateY(-14px)}76%,100%{transform:translateY(-28px)}}
.ops-chip span i{display:block;height:14px;font-style:normal;line-height:14px}
.ops-chip span i:nth-child(1){color:#f6584f}
.ops-chip span i:nth-child(2){color:#e8a33d}
.ops-chip span i:nth-child(3){color:#4ade80}

@media (max-width:620px){
  .ops{padding:13px;font-size:11px}
  .ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .ops-kpi{padding:8px 9px}
  .ops-col{min-height:120px;padding:7px}
  .ops-col h5{font-size:9px}
  /* the board keeps three columns because the travelling card crosses all
     three; the type shrinks instead so the titles stop wrapping to four lines */
  .ops-card{padding:6px 7px;margin-bottom:5px;border-radius:7px}
  .ops-card u{font-size:9.5px;line-height:1.25;margin-bottom:3px}
  .ops-card s{font-size:8.5px}
  .ops-move{top:27px;left:7px;width:calc((100% - 12px)/3 - 14px)}
  @keyframes travel{
    0%{transform:translate(0,-8px) scale(.96);opacity:0}
    5%{transform:translate(0,0) scale(1);opacity:1}
    30%{transform:translate(0,0) scale(1)}
    40%{transform:translate(calc(100% + 21px),0) scale(1)}
    66%{transform:translate(calc(100% + 21px),0) scale(1)}
    76%{transform:translate(calc(200% + 42px),0) scale(1)}
    95%{transform:translate(calc(200% + 42px),0) scale(1);opacity:1}
    100%{transform:translate(calc(200% + 42px),3px) scale(.97);opacity:0}
  }
}

/* ---------- geofenced clock-in ------------------------------------------ */
.geo{position:relative;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#0f141b;
  box-shadow:0 2px 6px rgba(11,16,24,.2),0 34px 70px -32px rgba(11,16,24,.55),
             0 0 0 1px rgba(255,255,255,.07)}
.geo-grid{position:absolute;inset:0;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:38px 38px}
.geo-fence{position:absolute;left:50%;top:52%;width:52%;aspect-ratio:1;translate:-50% -50%;
  border-radius:50%;border:1.5px dashed rgba(232,163,61,.5);
  background:radial-gradient(circle,rgba(232,163,61,.12),transparent 70%)}
.geo-ping{position:absolute;left:50%;top:52%;width:52%;aspect-ratio:1;translate:-50% -50%;
  border-radius:50%;border:1.5px solid rgba(232,163,61,.55);
  animation:geoping 3.4s var(--ease) infinite}
@keyframes geoping{0%{transform:scale(.55);opacity:0}30%{opacity:.9}100%{transform:scale(1.08);opacity:0}}
.geo-pin{position:absolute;left:50%;top:52%;translate:-50% -100%;width:26px;height:26px;
  border-radius:50% 50% 50% 2px;rotate:-45deg;background:var(--accent);
  box-shadow:0 10px 22px -8px rgba(232,163,61,.9);animation:geodrop 3.4s var(--ease) infinite}
.geo-pin::after{content:'';position:absolute;inset:7px;border-radius:50%;background:#0f141b}
@keyframes geodrop{0%{transform:translateY(-34px) scale(.7);opacity:0}
  18%{transform:translateY(0) scale(1);opacity:1}92%{opacity:1}100%{opacity:1}}
.geo-card{position:absolute;left:14px;right:14px;bottom:14px;background:rgba(23,30,40,.94);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:13px;padding:12px 13px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);display:flex;align-items:center;gap:11px}
.geo-card .av{width:34px;height:34px;border-radius:10px;flex:none;display:grid;place-items:center;
  background:var(--accent);color:#0b1018;font-size:12px;font-weight:700}
.geo-card b{display:block;font-size:13px;color:#eceef1;font-weight:600}
.geo-card s{display:block;text-decoration:none;font-size:11px;color:#8b93a0;margin-top:1px}
.geo-ok{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;
  background:rgba(74,222,128,.16);color:#4ade80;font-size:10.5px;font-weight:650;white-space:nowrap}
.geo-ok svg{width:11px;height:11px}
.geo-tag{position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:7px;
  padding:6px 11px;border-radius:999px;background:rgba(23,30,40,.9);color:#c7ccd3;font-size:11px;font-weight:550;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}

/* ---------- inspection running through ---------------------------------- */
.chk{border-radius:18px;background:#0f141b;padding:16px;
  box-shadow:0 2px 6px rgba(11,16,24,.2),0 34px 70px -32px rgba(11,16,24,.55),
             0 0 0 1px rgba(255,255,255,.07)}
.chk-head{display:flex;align-items:center;gap:9px;padding-bottom:12px;margin-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.08);font-size:13px;font-weight:600;color:#fff}
.chk-head s{margin-left:auto;text-decoration:none;font-size:11px;color:#8b93a0;font-weight:500}
.chk-row{display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:11px;margin-bottom:7px;
  background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
  opacity:.25;animation:chkin 9s var(--ease) infinite;animation-delay:calc(var(--i) * .5s)}
@keyframes chkin{0%{opacity:.25}8%{opacity:1}88%{opacity:1}100%{opacity:.25}}
.chk-row u{flex:1;text-decoration:none;font-size:12px;color:#dfe3e8}
.chk-mark{width:22px;height:22px;border-radius:7px;flex:none;display:grid;place-items:center;
  font-size:11px;font-weight:700}
.chk-row.pass .chk-mark{background:rgba(74,222,128,.18);color:#4ade80}
.chk-row.fail .chk-mark{background:rgba(246,88,79,.18);color:#f6584f}
.chk-row.fail{box-shadow:inset 0 0 0 1px rgba(246,88,79,.35)}
.chk-mark svg{width:12px;height:12px}
.chk-raise{display:flex;align-items:center;gap:9px;margin-top:11px;padding:11px;border-radius:11px;
  background:rgba(232,163,61,.12);box-shadow:inset 0 0 0 1px rgba(232,163,61,.3);
  font-size:11.5px;color:#f0c07a;opacity:0;animation:chkraise 9s var(--ease) infinite}
@keyframes chkraise{0%,52%{opacity:0;transform:translateY(6px)}62%,88%{opacity:1;transform:none}100%{opacity:0}}
.chk-raise svg{width:14px;height:14px;flex:none}
/* icon() emits an SVG with no intrinsic size, so any flex/grid parent that
   does not constrain it lets it balloon to fill the box. */
.chk-head svg{width:16px;height:16px;flex:none}
.geo-tag svg{width:13px;height:13px;flex:none}
.geo-card .av svg{width:14px;height:14px}
