/* generated by _build/build-for.mjs from the <style> of en/index.html (plan 32) — do not edit */
/* ---------- fonts (round 31: self-hosted in /assets/fonts/, the files Google Fonts serves, Latin + Thai subsets only) ----------
   The logo set: Montserrat (as the wordmark) + Prompt for Thai headings, Anuphan for reading, JetBrains Mono for data. Montserrat, Anuphan and
   JetBrains Mono are variable, so one file covers every weight used. Product wordmark faces (round 7) carry only the letters of the name (and the space, so the face sets the line metrics as before):
   Cinzel 600 MaxKeepa · Poppins 600 PropMax-OS (MaxPulse, MaxHis and Versalia Gateway use Montserrat; MaxOS and Vitalink draw their names, round 59). */
@font-face{font-family:"Montserrat";font-weight:500 800;font-display:swap;src:url(/assets/fonts/montserrat-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Anuphan";font-weight:400 600;font-display:swap;src:url(/assets/fonts/anuphan-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Anuphan";font-weight:400 600;font-display:swap;src:url(/assets/fonts/anuphan-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Prompt";font-weight:500;font-display:swap;src:url(/assets/fonts/prompt-500-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Prompt";font-weight:600;font-display:swap;src:url(/assets/fonts/prompt-600-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Prompt";font-weight:700;font-display:swap;src:url(/assets/fonts/prompt-700-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"JetBrains Mono";font-weight:500 600;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Cinzel";font-weight:600;font-display:swap;src:url(/assets/fonts/cinzel-600-maxkeepa.woff2) format("woff2");unicode-range:U+0020,U+0041,U+0045,U+004B,U+004D,U+0050,U+0058,U+0061,U+0065,U+0070,U+0078}
@font-face{font-family:"Poppins";font-weight:600;font-display:swap;src:url(/assets/fonts/poppins-600-propmax-os.woff2) format("woff2");unicode-range:U+0020,U+002D,U+004D,U+004F,U+0050,U+0053,U+0061,U+006F,U+0070,U+0072,U+0078}
/* round 66: Inter, the English page's reading face (variable, one file for 400–700). Only html:lang(en) names it, so the Thai page never downloads it */
@font-face{font-family:"Inter";font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Layout concept: one fixed live circuit board is the ground; a 1240px column of near-opaque navy bento "modules" sits on it (12-col hero bento, pinned 300vh product story = chapter rail left + tile grid right, scroll-charged connectors), so traces glow in the gutters and scrolling walks the board like a presentation. */
:root{
  color-scheme:dark;
  --bg:#050B1F; --bg-2:#0A1330; --tile:rgba(9,17,45,.92); --tile-2:rgba(15,27,64,.9); --well:rgba(4,9,26,.8); --veil:rgba(5,11,31,.82); --veil-0:rgba(5,11,31,0);
  --line:rgba(110,230,240,.16); --line-strong:rgba(110,230,240,.36); --hair:rgba(159,239,248,.07); --shadow:rgba(0,0,0,.8);
  --aqua:#45E3F0; --aqua-soft:#9FEFF8; --green:#35E394; --green-deep:#22B573; --spark:#F2FFFC;
  --grad:linear-gradient(135deg,#9FEFF8,#3FCFD6 45%,#22B573);
  --fg:#E6F4FA; --muted:#93A9C4; --ok:#35E394; --warn:#F2C14E; --danger:#F26D6D; --ink:#04121C;
  --aqua-08:rgba(69,227,240,.08); --aqua-14:rgba(69,227,240,.14); --aqua-30:rgba(69,227,240,.3); --aqua-55:rgba(69,227,240,.55); --aqua-75:rgba(69,227,240,.75);
  --green-08:rgba(53,227,148,.08); --green-16:rgba(53,227,148,.16); --green-35:rgba(53,227,148,.35); --green-0:rgba(53,227,148,0); --warn-16:rgba(242,193,78,.14); --warn-35:rgba(242,193,78,.35);
  --glow-aqua:rgba(69,227,240,.45); --glow-green:rgba(53,227,148,.4);
  --scrim:rgba(3,7,20,.72); --pill:rgba(7,14,38,.72); --drawer:rgba(8,15,40,.9);
  /* fonts from the logo: Montserrat SemiBold is the face of the wordmark in docs/logo/versalia-wordmark-source.png.
     It has no Thai, so Thai falls through to Prompt (same geometric build and weight); Anuphan for reading;
     labels in Montserrat tracked like "TECHNOLOGY" in the logo; a mono for data. */
  --font-display:"Montserrat","Prompt",system-ui,sans-serif;
  --font-body:"Anuphan",system-ui,sans-serif;
  --font-label:"Montserrat","Anuphan",system-ui,sans-serif;
  --font-data:"JetBrains Mono","Anuphan",ui-monospace,monospace;
  --fw-display:600; --ls-display:0;
  /* wordmark: the triangle under the crossbar-less A, and the rules beside TECHNOLOGY (bright end toward the text, as in the logo) */
  --wm-tri:#3BE0BE;
  --rule-out-l:rgba(69,227,240,.16); --rule-in-l:#45E3F0; --rule-in-r:#35E394; --rule-out-r:rgba(53,227,148,.16);
  --rule-l:linear-gradient(90deg,var(--rule-out-l),var(--rule-in-l)); --rule-r:linear-gradient(90deg,var(--rule-in-r),var(--rule-out-r));
  --hl:#9FEFF8; --glare:rgba(230,252,255,.06); --fill-a:#9FEFF8; --fill-b:#3FCFD6; --fill-c:#22B573; /* hero highlight, tile glare, footer wordmark fill */
  --fw-hot:#E9FFFE; --fw-glint:rgba(255,255,255,.5); --fw-halo:rgba(69,227,240,.5); --fw-floor:rgba(69,227,240,.16); /* footer wordmark effects (round 33) */
  --fw-dot:rgba(69,227,240,.42); --fw-tick:rgba(69,227,240,.3); /* its dot matrix and ruler (round 34) */
  --cv-a:69,227,240; --cv-g:53,227,148; --cv-head:#F2FFFC; --cv-glow:1; /* circuit canvas: trace rgb, pulse head, glow strength */
  /* product wordmarks (round 7): each product's own name colours, lifted for the dark board; -a = first part / whole name, -b = second part (MaxOS "OS", MaxPulse "PULSE"...) */
  --pk-keepa:#E8C36A; --pk-keepa-halo:0 0 0 1px rgba(232,195,106,.45),0 0 12px -2px rgba(232,195,106,.55);
  --mos-1:#3D7BFF; --mos-2:#5AA2FF; --mos-3:#22B8FF; --mos-4:#19D3FF; --mos-5:#7C9BFF; --mos-6:#B3A4FF; --mos-blend:screen; --mos-op:.92; /* round 59: MaxOS lettering, its dark set (maxos tokens.css --wm-d*) */
  --pk-pm-a:#EEF2FF; --pk-pm-b:linear-gradient(90deg,#6EA8FF,#3FD0E8 55%,#B794FF);
  --pk-pulse-a:#CFE0FF; --pk-pulse-b:#34D6C2;
  --pk-his:#C7D3FF;
  --pk-gate-a:#F2F8FF; --pk-gate-b:linear-gradient(90deg,#7FB2EC,#6FE0D2); /* round 59: Versalia Gateway, its dark logo colours (versalia-gateway /assets/brand/README.md) */
  --vtl-a:#2FA6BA; --vtl-b:#52E2C4; --vtl-dot:#6FF7E7; /* round 59: Vitalink's drawn name on dark (B2, the OB dark colours) */
  --pm-plate:#EEF4FB; --pm-plate-k:.8; --pm-plate-s:.125; /* PropMax-OS and MaxHis have navy parts that vanish on the dark board: a light plate (inset by a tenth of the logo), as MaxHis does in its own sidebar */
  --r:18px; --pad:24px; --gap:16px; --nav-h:68px; --gutter:clamp(16px,4vw,24px); --ease:cubic-bezier(.2,.7,.2,1);
  /* round 58: the type scale. Every reading text takes one of these eight steps (about 45 sizes before, many 0.3px apart, so no level stood
     out); comments give phone → desktop. The mock screens, svg pictures, product wordmarks and the sizes that fit text to a box keep their own.
     The hero stops at 52px: its wider half is 11.25em at weight 700, and the head tile is 479px wide at 1024 and 599px from 1240 */
  --fs-hero:clamp(2.25rem,4vw,3.25rem);                  /* 36 → 52: the hero headline */
  --fs-h2:clamp(2rem,1.45rem + 1.9vw,2.75rem);           /* 32 → 44: section headings */
  --fs-h3:clamp(1.375rem,1.15rem + .8vw,1.75rem);        /* 22 → 28: headings inside a section, feature tiles */
  --fs-title:clamp(1.125rem,1.05rem + .25vw,1.25rem);    /* 18 → 20: card titles */
  --fs-lead:clamp(1.0625rem,1rem + .25vw,1.1875rem);     /* 17 → 19: the paragraph under a heading */
  --fs-body:1.0625rem;                                   /* 17 (16 under 480px): reading text, buttons */
  --fs-sm:.875rem;                                       /* 14: notes, chips, links in cards, the menu */
  --fs-xs:.75rem;                                        /* 12: labels in capitals, numbers, status pills; nothing reads smaller */
}
/* light mode (the main theme; :root above is the dark set the switch turns on): same brand on a pale board; text and strokes switch to deep teal/green so each keeps 4.5:1 on the white tiles */
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#EDF4F7; --bg-2:#E2EDF2; --tile:rgba(255,255,255,.9); --tile-2:rgba(251,254,255,.95); --well:rgba(237,245,248,.92); --veil:rgba(237,244,247,.88); --veil-0:rgba(237,244,247,0);
  --line:rgba(10,84,108,.14); --line-strong:rgba(10,84,108,.3); --hair:rgba(255,255,255,.9); --shadow:rgba(16,52,82,.32);
  --aqua:#087786; --aqua-soft:#0A8C9C; --green:#0C7F54; --green-deep:#0A6E49; --spark:#22C3D3;
  --fg:#0C1D36; --muted:#4A5F78; --ok:#0C7F54; --warn:#94600A; --danger:#C23B3B;
  --aqua-08:rgba(8,119,134,.07); --aqua-14:rgba(8,119,134,.12); --aqua-30:rgba(8,119,134,.26); --aqua-55:rgba(8,119,134,.5); --aqua-75:rgba(8,119,134,.62);
  --green-08:rgba(12,127,84,.06); --green-16:rgba(12,127,84,.1); --green-35:rgba(12,127,84,.32); --green-0:rgba(12,127,84,0); --warn-16:rgba(214,152,24,.13); --warn-35:rgba(160,104,8,.38);
  --glow-aqua:rgba(10,150,168,.3); --glow-green:rgba(12,150,100,.26);
  --scrim:rgba(12,29,54,.32); --pill:rgba(255,255,255,.8); --drawer:rgba(250,253,254,.93);
  --wm-tri:#1AB6A0; --rule-out-l:rgba(8,119,134,.16); --rule-in-l:#0FA3B5; --rule-in-r:#17A86E; --rule-out-r:rgba(12,127,84,.16);
  --hl:#087786; --glare:rgba(8,119,134,.05); --fill-a:#18AFC0; --fill-b:#0B8C9C; --fill-c:#0C7F54;
  --fw-hot:#2FD3E2; --fw-glint:rgba(196,250,255,.55); --fw-halo:rgba(34,195,211,.38); --fw-floor:rgba(15,163,181,.14);
  --fw-dot:rgba(8,119,134,.34); --fw-tick:rgba(8,119,134,.3);
  --cv-a:8,124,142; --cv-g:12,134,90; --cv-head:#0FB3C6; --cv-glow:.45;
  /* product wordmarks as the products print them on white (each part keeps 4.5:1 on the white tiles) */
  --pk-keepa:#8C1D22; --pk-keepa-halo:none;
  --mos-1:#14317F; --mos-2:#2459E6; --mos-3:#1E7BE8; --mos-4:#0C9AF9; --mos-5:#5E7CE6; --mos-6:#8E7BEA; --mos-blend:multiply; --mos-op:.88;
  --pk-pm-a:#101A33; --pk-pm-b:linear-gradient(90deg,#2563EB,#0E7C9A 55%,#7C3AED);
  --pk-pulse-a:#15365F; --pk-pulse-b:#0E8577;
  --pk-his:#1B2A6B;
  --pk-gate-a:#1C3359; --pk-gate-b:linear-gradient(90deg,#2A527F,#2F7D86); /* GATEWAY: the logo ends on #5EB1B2, 2.5:1 on white; this end keeps 4.8:1 */
  --vtl-a:#157A96; --vtl-b:#1BB39A; --vtl-dot:#10C2B0; /* Vitalink's drawn name: its own colours, a logo, so not held to 4.5:1 */
  --pm-plate:transparent; --pm-plate-k:1; --pm-plate-s:0;
}
/* round 66: English type. Anuphan is a Thai reading face; its Latin letters are small and light, and most English text (cards, notes)
   sat at 14px in grey, so the owner found the page hard to read and flat. English now reads in Inter (taller lowercase, made for screens),
   small text goes up to 15px, and the Montserrat headings are set a touch tighter, as display type is in English. Thai on this page
   (a name marked lang="th") still falls through to Anuphan or Prompt and gets no letter-spacing. The Thai page is unchanged. */
html:lang(en){
  --font-body:"Inter","Anuphan",system-ui,sans-serif;
  --font-data:"JetBrains Mono","Inter","Anuphan",ui-monospace,monospace;
  --fs-sm:.9375rem;
  --ls-display:-.015em;
}
html:lang(en) .hero__head h1{line-height:1.14;letter-spacing:-.025em}
html:lang(en) .sec-head h2{letter-spacing:-.02em}
html:lang(en) [lang="th"]{letter-spacing:0}
@property --spin{syntax:"<angle>";inherits:false;initial-value:0deg}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{overflow-x:clip}
html.is-locked{overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:fixed;left:16px;top:12px;z-index:100;padding:10px 16px;border-radius:12px;background:var(--grad);color:var(--ink);font-weight:600;transform:translateY(-160%);transition:transform .25s var(--ease)}
.skip:focus{transform:none}
main:focus,[tabindex="-1"]:focus{outline:none}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font-body);font-size:var(--fs-body);line-height:1.6;font-weight:400;min-height:100vh}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:var(--fw-display);line-height:1.3;margin:0;letter-spacing:var(--ls-display);text-wrap:balance}
p{margin:0;text-wrap:pretty}
ul,ol{margin:0;padding:0;list-style:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
img,svg{max-width:100%}
img{height:auto}
:focus-visible{outline:2px solid var(--aqua);outline-offset:3px;border-radius:6px}
.tile:focus-visible{border-radius:var(--r)}
/* theme switch: the new theme wipes in as a circle from the button (JS animates the clip; no cross-fade) */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
main,.footer{position:relative;z-index:1}
.top-anchor{position:absolute;top:0;left:0;width:1px;height:1px}
.wrap{max-width:1240px;margin:0 auto;padding:0 var(--gutter)}
/* round 7: every block below the hero starts 50px under the one before it (top padding only; the last section closes with 50px).
   Round 58: 76–124px, so the end of one section and the start of the next read as a break */
.section{padding:clamp(76px,9vw,124px) 0 0;scroll-margin-top:calc(var(--nav-h) + 12px)}
.section--end{padding-bottom:50px}
/* round 31: the sections under the hero skip style, layout, paint and their animations until they near the screen (content-visibility), which
   cuts the style and layout of the first frame by about half. An undrawn section stands at an estimate of its height (--cis, measured at each breakpoint); once drawn it keeps its
   real height (contain-intrinsic-size: auto). content-visibility clips paint to the box, so 80px of bottom padding, taken back by the margin,
   leaves room for tile shadows and lifts that hang past the edge. JS draws them all (html.cv-all) to measure an in-page jump, so without JS
   (no html.js, whose links are plain anchors) every section is drawn as before. */
.js main>.section,.js .hero{content-visibility:auto;contain-intrinsic-size:auto var(--cis,1400px);padding-bottom:80px;margin-bottom:-80px}
.js main>.section--end{padding-bottom:130px}
.cv-all main>.section,.cv-all .hero{content-visibility:visible}
/* round 32: the hero too, once scrolled past: a theme switch from mid-page restyled its 400 elements off screen (a third of the switch's cost) */
/* round 69: #case and #faq measured at 1440/1024, 390 and 320px (answers closed); 600–979 estimated between */
#case{--cis:920px}#faq{--cis:1080px}
@media (max-width:979px){#case{--cis:1250px}#faq{--cis:1250px}}
@media (max-width:599px){#case{--cis:1330px}#faq{--cis:1420px}}
.hero{--cis:1140px}#products{--cis:1770px}#custom{--cis:1090px}#why{--cis:880px}#services{--cis:1730px}#about{--cis:1400px}#contact{--cis:770px}
@media (max-width:979px){.hero{--cis:2040px}#products{--cis:2970px}#custom{--cis:1370px}#why{--cis:1890px}#services{--cis:2650px}#about{--cis:1920px}#contact{--cis:1260px}}
@media (max-width:599px){.hero{--cis:1490px}#products{--cis:4260px}#custom{--cis:1710px}#why{--cis:2230px}#services{--cis:3160px}#about{--cis:2710px}#contact{--cis:1250px}} /* round 55: #custom added, the hero's door and the products' lost strip; round 58: each moved by what the new type and spacing added (measured at 1440, 800 and 390px); round 60: #products grew by what the longer cards added (+287 / +408 / +726 px at 1440, 800, 390) */
.grid{display:grid;gap:var(--gap);grid-template-columns:1fr}
.num{font-family:var(--font-data);font-weight:600;font-variant-numeric:tabular-nums}
.nowrap{white-space:nowrap}
.kicker{display:inline-block;font-family:var(--font-label);font-weight:600;font-size:var(--fs-xs);line-height:1.5;letter-spacing:.2em;text-transform:uppercase;color:var(--aqua)}
.kicker::before{content:"";display:inline-block;vertical-align:middle;width:36px;height:3px;margin:-2px 12px 0 0;border-radius:3px;background:var(--rule-l)} /* the rule beside TECHNOLOGY in the logo */
.sep{flex:none;display:inline-block;vertical-align:middle;width:5px;height:5px;margin-top:-2px;border-radius:50%;background:var(--wm-tri)} /* the dot of ADAPT · INNOVATE · ELEVATE */
.kicker .sep{margin:-2px 4px 0 calc(4px - .2em)} /* minus the tracking after the preceding letter so the dot sits centred */
.sprite{position:absolute;width:0;height:0;overflow:hidden} /* not display:none, which would drop the gradients */
.sec-head{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:clamp(16px,2.2vw,28px);align-items:start;width:fit-content;max-width:min(860px,100%);
  margin:0 0 32px -18px;padding:12px 48px 14px 18px;border-radius:14px;background:linear-gradient(90deg,var(--veil),var(--veil) 78%,var(--veil-0))} /* veil hugs the text so no line runs over the traces */
.sec-head h2{font-size:var(--fs-h2);line-height:1.22;margin-top:10px}
.sec-head p{color:var(--muted);font-size:var(--fs-lead);max-width:660px;margin-top:14px}
@media (max-width:480px){:root{--fs-body:1rem}.sec-head{margin-left:-12px;padding-left:12px;padding-right:24px}}
/* round 58: a section starts like a chapter (the owner found the headings read as plain text while scrolling). A trace runs across the column
   from a pad (.section>.wrap::before + .sec-head::before), and the section's number (.sec-n, written in the markup: 01 products … 05 about)
   stands beside the label and the heading, behind a hairline. Phones: the number leads the label's row and takes the place of its rule.
   With JS the pad pops, the trace runs out and the number rises as the block comes in, once (transform and opacity only); without JS or with
   reduced motion they simply stand */
.section>.wrap:has(>.sec-head)::before{content:"";display:block;height:2px;margin:0 0 var(--rail-gap);border-radius:2px;transform-origin:left;
  background:linear-gradient(90deg,var(--aqua),var(--aqua-55) 14%,var(--line-strong) 40%,var(--line) 75%,var(--veil-0))}
.section>.wrap{--rail-gap:clamp(24px,3vw,34px);--sh-x:18px}
.sec-head>:not(.sec-n){grid-column:2}
.sec-head::before{content:"";position:absolute;left:calc(var(--sh-x) - 9px);top:calc(-1 * var(--rail-gap) - 10px);width:18px;height:18px;border-radius:50%;
  border:2px solid var(--aqua);background:radial-gradient(circle,var(--aqua) 0 3.5px,var(--tile-2) 4px);box-shadow:0 0 0 6px var(--aqua-14),0 0 22px var(--glow-aqua)}
.sec-n{grid-column:1;grid-row:1 / span 2;margin-top:2px;padding-right:clamp(16px,2.2vw,28px);border-right:1px solid var(--line-strong);
  font:700 clamp(3.6rem,6vw,5.2rem)/.86 var(--font-label);font-variant-numeric:tabular-nums;letter-spacing:-.03em;
  background:linear-gradient(165deg,var(--fill-a) 10%,var(--fill-b) 50%,var(--fill-c) 92%);-webkit-background-clip:text;background-clip:text;color:transparent}
@media (max-width:600px){
  .sec-head{align-items:center}
  .sec-head>:not(.kicker,.sec-n){grid-column:1 / -1}
  .sec-n{grid-row:1;font-size:2.7rem;margin:0;padding-right:14px}
  .sec-head .kicker::before{display:none}
}
@media (max-width:480px){.section>.wrap{--sh-x:12px}}
.section>.wrap:has(>.sec-head.reveal:not(.is-in))::before{transform:scaleX(0)}
.section>.wrap:has(>.sec-head.is-in)::before{transition:transform 1.3s var(--ease)}
.sec-head.reveal::before{transform:scale(0)}
.sec-head.reveal.is-in::before{transform:none;transition:transform .6s cubic-bezier(.3,1.6,.5,1) var(--rd,0ms)}
.sec-head.reveal .sec-n{opacity:0;transform:translateY(30px)}
.sec-head.reveal.is-in .sec-n{opacity:1;transform:none;transition:opacity .7s ease calc(var(--rd,0ms) + 150ms),transform 1s var(--ease) calc(var(--rd,0ms) + 150ms)}
/* round 58: a heading inside a section (business / hospitals, how we work): a pad, the heading, its count in a pill, and a line to the edge */
.pgroup__h::before,.steps-title::before{content:"";flex:none;width:16px;height:16px;border-radius:50%;border:2px solid var(--aqua);
  background:radial-gradient(circle,var(--aqua) 0 3px,transparent 3.5px);box-shadow:0 0 0 5px var(--aqua-14),0 0 18px var(--glow-aqua)}
.pgroup__h::after,.steps-title::after{content:"";flex:1 1 48px;order:2;min-width:48px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--aqua-55),var(--line-strong) 30%,var(--line) 70%,transparent)}
.reveal .steps-title::after{transform:scaleX(0);transform-origin:left}
.reveal.is-in .steps-title::after{transform:none;transition:transform 1.1s var(--ease) calc(var(--rd,0ms) + 200ms)}

/* ---------- circuit board canvas (fixed ground layer) ---------- */
.circuit{position:fixed;left:0;top:0;z-index:0;width:100%;height:100%;pointer-events:none} /* the script makes it as tall as the board and slides it (round 52) */
/* round 52: a pulse = four short pieces one behind the other (.bp--0 the head, with its glow), each moved along the trace by element.animate
   (transform only, so the GPU does it). At rest a piece is scaled to nothing. Colours come from the canvas tokens, so the theme switch needs no script */
.circuit-fx{position:fixed;left:0;top:0;z-index:0;width:100%;contain:strict;overflow:hidden;pointer-events:none}
.bp{position:absolute;left:0;top:0;width:18px;height:2px;margin:-1px 0 0 -18px;border-radius:1px;transform-origin:100% 50%;transform:scaleX(0);will-change:transform;--bp-c:var(--cv-a)}
.bp--g{--bp-c:var(--cv-g)}
.bp--0{background:linear-gradient(90deg,rgba(var(--bp-c),.68),rgba(var(--bp-c),.9))}
.bp--1{background:linear-gradient(90deg,rgba(var(--bp-c),.45),rgba(var(--bp-c),.68))}
.bp--2{background:linear-gradient(90deg,rgba(var(--bp-c),.22),rgba(var(--bp-c),.45))}
.bp--3{background:linear-gradient(90deg,rgba(var(--bp-c),0),rgba(var(--bp-c),.22))}
.cring{position:absolute;left:0;top:0;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;border:1.5px solid rgba(var(--cv-a),.85);opacity:0;will-change:transform,opacity} /* a click on the board: one ring spreads from the spot */
.bp--0::after{content:"";position:absolute;right:-18px;top:-17px;width:36px;height:36px;border-radius:50%;
  background:radial-gradient(circle,var(--cv-head) 0 2.2px,rgba(var(--bp-c),calc(.6 * var(--cv-glow))) 2.6px,rgba(var(--bp-c),0) 18px)}

/* ---------- tiles: board modules with spotlight border and inner glow (round 47: the 3D tilt and the hover lift are gone, DEC-02) ---------- */
.tile{position:relative;isolation:isolate;min-width:0;padding:var(--pad);border:1px solid var(--line);border-radius:var(--r);
  background:linear-gradient(180deg,var(--tile-2),var(--tile));box-shadow:inset 0 1px 0 var(--hair),0 22px 40px -30px var(--shadow);transition:transform .4s ease,border-color .3s ease,box-shadow .4s ease}
/* round 52 (the owner asked for the hover effects of round 46 back, as long as nothing stutters): under a mouse a tile leans toward the pointer
   and lifts 4px. The script writes the tile's transform itself (section 8), a property the GPU applies without the page laying out or
   painting again; .is-hot only makes it follow fast and deepens the shadow, once, on the way in (round 46 moved the shadow with the pointer,
   a repaint on every move) */
.tile.is-hot{transition:transform .12s linear,border-color .3s ease,box-shadow .3s ease;box-shadow:inset 0 1px 0 var(--hair),0 30px 54px -30px var(--shadow),0 0 42px -22px var(--glow-aqua)}
.tile::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;opacity:0;transition:opacity .35s ease;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),var(--aqua-75),transparent 62%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}
.tile::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none;opacity:0;transition:opacity .35s ease;
  background:radial-gradient(160px circle at var(--mx,50%) var(--my,50%),var(--glare),transparent 70%),radial-gradient(460px circle at var(--mx,50%) var(--my,50%),var(--aqua-08),transparent 58%)} /* glare + inner glow */
.tile:hover::before,.tile:hover::after,.tile:focus-within::before{opacity:1}
.tile:hover{border-color:var(--line-strong)}
.tile__label{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-family:var(--font-data);font-weight:600;font-size:var(--fs-xs);line-height:1.5;letter-spacing:.06em;color:var(--muted);margin-bottom:14px}
.tile__label strong{color:var(--fg);font-weight:600}
.live{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-data);font-size:var(--fs-xs);font-weight:600;letter-spacing:.1em;color:var(--ok);margin-left:auto}
.live::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 3px var(--green-16)} /* round 47: a still dot (it pulsed) */

/* ---------- reveal (class added by JS only, to off-screen elements). Round 47 (DEC-02): a short fade and rise; no blur or scale, and
   headings no longer rise word by word. The kicker rule still draws in ---------- */
.reveal{opacity:0;translate:0 28px;scale:.965;transition:opacity .7s ease var(--rd,0ms),translate .85s var(--ease) var(--rd,0ms),scale .85s var(--ease) var(--rd,0ms),transform .4s ease,border-color .3s ease,box-shadow .4s ease}
.reveal.is-in{opacity:1;translate:0 0;scale:1}
/* round 52: a block comes in a little smaller and grows to size (round 47 had left a plain 20px rise; the blur of round 46 stays out: a
   filter is redrawn for every frame of its transition), and the h2 inside rises word by word (the script splits it: section 7) */
.w{display:inline-block;clip-path:inset(-.4em -.15em -.4em -.15em)} /* a word's window: a little taller than the line, so tone marks and tails are not cut */
.w__in{display:inline-block}
.wg{display:inline-block;max-width:100%} /* the words between two spaces, kept on one line unless they are wider than the heading */
.reveal h2.is-split .w__in{transform:translateY(125%)}
.reveal.is-in h2.is-split .w__in{transform:none;transition:transform .9s var(--ease) calc(var(--rd,0ms) + 140ms + var(--d,0ms))}
h2.is-done .w{clip-path:none}
.reveal .kicker::before{transform:scaleX(0);transform-origin:left;transition:transform 1s var(--ease) calc(var(--rd,0ms) + 80ms)}
.reveal.is-in .kicker::before{transform:none}

/* ---------- cursor ring (fine pointers only, added by JS): a springy ring round the pointer that grows a little on anything that can be pressed.
   Round 47 (07 §1.5): the system pointer stays, so a large or high-contrast pointer set for low vision still works; the ring is only
   decoration, with no fill, blend or label. The magnetic buttons are gone too (DEC-02) ---------- */
.cur{position:fixed;left:0;top:0;z-index:95;pointer-events:none;display:none}
html.has-cur .cur{display:block}
.cur__ring{position:fixed;left:0;top:0;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:1.5px solid var(--aqua-55);will-change:transform;
  transition:width .35s var(--ease),height .35s var(--ease),margin .35s var(--ease),border-color .3s,opacity .25s}
.cur.is-link .cur__ring{width:50px;height:50px;margin:-25px 0 0 -25px;border-color:var(--aqua)}
.cur.is-down .cur__ring{width:26px;height:26px;margin:-13px 0 0 -13px}
.cur.is-hud .cur__ring{width:20px;height:20px;margin:-10px 0 0 -10px;opacity:0} /* the back-to-top dial lights up by itself; the ring closes in and steps aside */
.cur.is-text .cur__ring,.cur.is-off .cur__ring{opacity:0}

/* ---------- progress + nav (condenses into a blurred pill after 40px) ---------- */
.progress{position:fixed;top:0;left:0;width:100%;height:2px;z-index:70;background:var(--grad);transform-origin:left;transform:scaleX(var(--p,0));pointer-events:none}
.nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:60;height:var(--nav-h)}
.nav__bar{position:relative;display:flex;align-items:center;gap:12px;height:var(--nav-h);padding:0;transition:padding .4s var(--ease)}
.nav__bar .brand{margin-right:auto}
/* light/dark switch: shows the sun on the dark page and the moon on the light one; the core grows, a bite slides in, the rays spin away */
.theme{position:relative;z-index:66;display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--well);color:var(--fg);transition:border-color .2s,background-color .2s,color .2s}
.theme:hover{border-color:var(--aqua-55);color:var(--aqua)}
.theme .mag__in{display:grid;place-items:center}
.theme svg{display:block;width:22px;height:22px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.th-core{fill:currentColor;stroke:none;transition:r .5s var(--ease)}
.th-cut{transition:cx .5s var(--ease),cy .5s var(--ease)}
.th-rays{transform-origin:12px 12px;transition:transform .55s var(--ease),opacity .3s}
:root[data-theme="light"] .th-core{r:8.5px}
:root[data-theme="light"] .th-cut{cx:17px;cy:7px}
:root[data-theme="light"] .th-rays{transform:rotate(-90deg) scale(.4);opacity:0}
.nav__bar::before{content:"";position:absolute;inset:8px -12px;z-index:-1;border-radius:999px;border:1px solid transparent;pointer-events:none;transition:background-color .35s,border-color .35s,box-shadow .35s}
.nav.is-scrolled .nav__bar{padding:0 6px}
.nav.is-scrolled .nav__bar::before{background:var(--pill);border-color:var(--line);box-shadow:0 14px 34px -22px var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);will-change:transform}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand__mark{width:49px;flex:none}
.brand__word{display:block;flex:none;width:136px;height:auto;fill:var(--fg)} /* VERSALIA + rules + TECHNOLOGY, sprite #vl-lockup */
@media (max-width:374px){.brand{gap:7px}.brand__mark{width:40px}.brand__word{width:110px}.nav__bar{gap:8px}} /* 320-374px phones: brand + theme + menu fit in one row */
.nav__menu{position:relative;display:flex;align-items:center;gap:4px}
.nav__menu a{position:relative;padding:10px 12px;border-radius:10px;font-family:var(--font-display);font-weight:500;font-size:var(--fs-sm);color:var(--muted);transition:color .2s,background-color .2s}
/* round 55: five links from 900px; up to 1023px the row is tighter so each link stays on one line */
@media (min-width:900px) and (max-width:1023px){.nav__menu>a{white-space:nowrap}.nav__menu>a:not(.btn){padding:11px 7px;font-size:var(--fs-sm)}.nav__menu>a.btn{margin-left:4px}.brand__word{width:112px}}
.nav__menu a:hover{color:var(--fg);background:var(--aqua-08)}
.nav__menu a[aria-current="location"]{color:var(--fg)}
/* scroll-spy ink: one bar that slides under the link of the section in view (desktop) */
.nav__ink{position:absolute;left:0;bottom:2px;height:2px;width:var(--ink-w,0px);border-radius:2px;background:var(--grad);box-shadow:0 0 12px var(--glow-aqua);opacity:0;pointer-events:none;
  transform:translateX(var(--ink-x,0px));transition:transform .5s var(--ease),width .5s var(--ease),opacity .3s}
.nav__ink.is-on{opacity:1}
.nav__menu .btn{margin-left:8px;padding:2px;color:var(--ink)}
.nav__menu .btn:hover{background:var(--grad);color:var(--ink)}
/* round 52: magnetic controls (mouse only; the script adds .mag and moves --m-x, --m-y on a spring: section 13). The control leans toward
   the pointer and its label a little further */
.mag{translate:var(--m-x,0px) var(--m-y,0px)}
.mag>.btn__in,.mag>.mag__in{translate:calc(var(--m-x,0px) * .18) calc(var(--m-y,0px) * .18)}
/* round 51 (DEC-87): the motion switch, last in the menu: a square button like the theme switch on a wide screen, a labelled row of the drawer
   on a narrow one. It shows the pause sign while the loops run and the play sign once they are stopped */
.motion{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-left:8px;border-radius:12px;border:1px solid var(--line);background:var(--well);color:var(--fg);transition:border-color .2s,background-color .2s,color .2s}
.motion[hidden]{display:none}
.motion:hover{border-color:var(--aqua-55);color:var(--aqua)}
.motion svg{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.motion .mo-play{fill:currentColor;stroke-width:1.6}
:root[data-motion="on"] .mo-play,:root:not([data-motion="on"]) .mo-pause{display:none}
.motion__t{display:none}
/* round 65 (DEC-17): the language link, a square like the motion switch on a wide screen, a labelled row of the drawer on a narrow one */
.nav__menu a.lang-switch{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-left:8px;padding:0;border-radius:12px;border:1px solid var(--line);background:var(--well);color:var(--fg);font-family:var(--font-data);font-weight:600;font-size:.82rem}
.nav__menu a.lang-switch:hover{border-color:var(--aqua-55);color:var(--aqua);background:var(--well)}
.lang-switch__t{display:none}
/* round 65: English labels run longer, so from 900 to 1099px the English menu keeps the tight one-line row and the LINE button says just "LINE" */
@media (min-width:900px) and (max-width:1099px){html:lang(en) .nav__menu>a{white-space:nowrap}html:lang(en) .nav__menu>a:not(.btn):not(.lang-switch){padding:11px 7px;font-size:var(--fs-sm)}html:lang(en) .nav__lt{display:none}}
@media (min-width:900px) and (max-width:979px){html:lang(en) .nav__menu{gap:2px}html:lang(en) .nav__menu>a:not(.btn):not(.lang-switch){padding:11px 5px}html:lang(en) .nav__menu .btn svg{display:none}} /* round 65: the narrowest desktop row, so the wordmark keeps its room */
.perfm{position:fixed;left:8px;top:calc(var(--nav-h) + 8px);z-index:200;padding:6px 9px;border-radius:8px;background:rgba(4,10,24,.82);color:#E8FFFD;font:12px/1.45 var(--font-data);white-space:pre;pointer-events:none} /* round 53: the frame meter, ?perf=1 only */
.nav__burger{display:none;position:relative;z-index:66;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--well);flex-direction:column;align-items:center;justify-content:center;gap:5px}
.nav__burger span{display:block;width:20px;height:2px;background:var(--fg);border-radius:2px;transition:transform .3s,opacity .2s}
.nav__burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav__burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav__burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav__scrim{position:fixed;inset:0;background:var(--scrim);z-index:55;opacity:0;pointer-events:none;transition:opacity .3s}
.nav__scrim.is-open{opacity:1;pointer-events:auto}
@media (max-width:899px){
  .nav__burger{display:flex}
  .nav__menu{position:fixed;top:0;right:0;bottom:0;width:min(86vw,360px);z-index:65;flex-direction:column;align-items:stretch;gap:4px;padding:calc(var(--nav-h) + 16px) 20px 24px;
    background:var(--drawer);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-left:1px solid var(--line);
    visibility:hidden;transform:translateX(102%);transition:transform .35s var(--ease),visibility 0s .35s}
  .nav__menu.is-open{visibility:visible;transform:none;transition:transform .35s var(--ease)}
  .nav__menu a{font-size:var(--fs-title);padding:12px 14px;border-bottom:1px solid var(--line);border-radius:0;color:var(--fg)}
  .nav__menu a[aria-current="location"]{color:var(--aqua);background:var(--aqua-08)}
  .nav__menu .btn{margin:16px 0 0;justify-content:center;border-bottom:0;border-radius:14px}
  .motion{display:flex;align-items:center;justify-content:center;gap:10px;width:auto;height:48px;margin:12px 0 0;border-radius:14px;font-family:var(--font-display);font-weight:500;font-size:1rem}
  .motion__t{display:inline}
  .nav__menu a.lang-switch{display:flex;align-items:center;justify-content:center;gap:10px;width:auto;height:48px;margin:12px 0 0;border:1px solid var(--line);border-radius:14px;font-family:var(--font-display);font-size:1rem} /* round 65 */
  .lang-switch__s{font-family:var(--font-data);color:var(--muted)}
  .lang-switch__t{display:inline}
  .nav__ink{display:none}
  /* drawer links slide in one after another */
  .nav__menu>a{opacity:0;translate:24px 0;transition:opacity .3s,translate .45s var(--ease),color .2s,background-color .2s}
  .nav__menu.is-open>a{opacity:1;translate:0 0}
  .nav__menu.is-open>a:nth-child(2){transition-delay:.04s}.nav__menu.is-open>a:nth-child(3){transition-delay:.08s}
  .nav__menu.is-open>a:nth-child(4){transition-delay:.12s}.nav__menu.is-open>a:nth-child(5){transition-delay:.16s}.nav__menu.is-open>a:nth-child(6){transition-delay:.2s}
}

/* ---------- buttons, chips, status ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:14px;font-family:var(--font-display);font-weight:500;font-size:var(--fs-body);line-height:1.3;white-space:nowrap;transition:transform .2s,box-shadow .3s,border-color .2s,background-color .2s}
.btn--sm{min-height:44px;padding:0 16px;font-size:var(--fs-sm);border-radius:11px}
.btn--primary{position:relative;color:var(--ink);background:var(--grad);padding:2px;isolation:isolate}
.btn--primary::before{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;opacity:0;transition:opacity .3s;
  background:conic-gradient(from var(--spin),var(--aqua-soft),var(--green-deep) 25%,var(--bg) 42%,var(--aqua) 58%,var(--aqua-soft) 75%,var(--bg) 90%,var(--aqua-soft))}
.btn--primary .btn__in{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:0 20px;border-radius:12px;background:var(--grad)}
.btn--sm.btn--primary .btn__in{min-height:40px;padding:0 14px;border-radius:9px}
.btn--primary:hover{transform:translateY(-1px);box-shadow:0 10px 30px -8px var(--glow-aqua),0 0 24px -8px var(--glow-green)}
.btn--primary:hover::before{opacity:1;animation:spinvar 1.4s linear infinite}
@keyframes spinvar{to{--spin:360deg}}
.btn--outline{border:1px solid var(--line-strong);color:var(--fg);background:var(--aqua-08)}
.btn--outline:hover{border-color:var(--aqua);background:var(--aqua-14)}
.chip{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:var(--well);font-size:var(--fs-sm);font-weight:500;color:var(--fg);line-height:1.5}
.chip::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--grad);flex:none}
.chip--warn{border-color:var(--warn-35);background:var(--warn-16)}
.chip--warn::before{background:var(--warn)}
.chip--live{border-color:var(--green-35);background:var(--green-16)}
.chip--live::before{background:var(--ok);box-shadow:0 0 8px var(--glow-green)}
.chip--pm{padding-left:7px}
.chip--pm::before{content:none} /* the product logo takes the dot's place */
.chip .pm__logo{--logo:22px;margin:-3px 0}
.status{display:inline-flex;align-items:center;gap:7px;padding:3px 10px;border-radius:999px;font-size:var(--fs-xs);font-weight:600;line-height:1.5;border:1px solid var(--line);color:var(--muted)}
.status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.status[data-status="live"]{color:var(--ok);border-color:var(--green-35);background:var(--green-16)}
:root[data-motion="on"] :is(.hero,.section.is-live) .status[data-status="live"]::before{animation:stLive 2.6s ease-in-out infinite} /* round 51 (DEC-87): the dot of a system in use breathes.
   Round 52: only in a section that is on screen (.is-live from the script; the hero pauses itself with .is-off). Left running in a section the browser had stopped
   drawing, four of these dots kept the page at work on every frame from anywhere further down (measured on the phone layout at a 6x CPU slowdown: 35% of the main thread, 3% without) */
@keyframes stLive{50%{opacity:.3}}
.status[data-status="dev"]{color:var(--aqua);border-color:var(--aqua-30);background:var(--aqua-08)}

/* ---------- product names (round 7): wherever a product is named it wears its own wordmark style, mostly with its small logo, so a visitor who does not
   know the brand still sees "this is a product". Faces and colours come from each product's repo:
   MaxKeepa Cinzel caps (hiayai product-wordmark.tsx) · MaxOS its own drawn lettering, not a font (round 59, .pm__ribbon) · PropMax-OS Poppins SemiBold "Prop"+"Max-OS" (its landing logo)
   · MaxPulse and MaxHis Montserrat ExtraBold caps (their logo artwork) · Versalia Gateway (MaxGate until 2026-10-16) Montserrat caps, VERSALIA bold and
   GATEWAY lighter and spaced (its logo) · Vitalink its own drawn lettering, option B2 (round 59, .pm__vtl).
   Logos: /assets/products/ (built by docs/logo/products/). Versalia Gateway and Vitalink ship a light and a dark file (.pm-lt / .pm-dk). ---------- */
.pm{display:inline-flex;align-items:center;gap:.4em;white-space:nowrap;line-height:1.2;vertical-align:middle}
.pm__logo{flex:none;width:var(--logo,1.4em);height:var(--logo,1.4em);object-fit:contain} /* each place sets --logo, so the plate below can be sized from it */
.pm__name{font-family:var(--pm-font);font-weight:var(--pm-w);letter-spacing:var(--pm-ls,0);text-transform:var(--pm-tt,none);color:var(--pm-a)}
.pm__name b{font-weight:inherit;color:var(--pm-b,inherit)}
.pm--keepa{--pm-font:"Cinzel","Times New Roman",serif;--pm-w:600;--pm-ls:.1em;--pm-tt:uppercase;--pm-a:var(--pk-keepa)}
/* MaxOS (round 59): the name is MaxOS's own lettering "ริบบิ้นแก้ว", drawn, not typed: <svg class="pm__ribbon"><use href="#mos-wm"/></svg>.
   Two see-through ribbons per letter, blue to violet; where they cross they lighten on dark (screen) and darken on light (multiply), blended
   inside the word only. Capital height .82em, about the 57% of the logo that MaxOS uses beside it. The margin keeps the 1.2 line of the other
   names, so the MaxOS card lines up with its neighbours. It never moves (as in MaxOS's own app). */
.pm__ribbon{display:block;flex:none;height:calc(.82em * 1.12);width:calc(.82em * 1.12 * 442 / 112);margin-block:.14em;overflow:visible;isolation:isolate}
.pm--pm{--pm-font:"Poppins",system-ui,sans-serif;--pm-w:600;--pm-ls:-.01em;--pm-a:var(--pk-pm-a)}
.pm--pm .pm__name b{background:var(--pk-pm-b);-webkit-background-clip:text;background-clip:text;color:transparent}
.pm--pulse{--pm-font:"Montserrat",system-ui,sans-serif;--pm-w:800;--pm-tt:uppercase;--pm-a:var(--pk-pulse-a);--pm-b:var(--pk-pulse-b)}
.pm--his{--pm-font:"Montserrat",system-ui,sans-serif;--pm-w:800;--pm-tt:uppercase;--pm-a:var(--pk-his)}
.pm--gate{--pm-font:"Montserrat",system-ui,sans-serif;--pm-w:700;--pm-ls:.01em;--pm-tt:uppercase;--pm-a:var(--pk-gate-a)}
.pm--gate .pm__name b{font-weight:500;letter-spacing:.08em;background:var(--pk-gate-b);-webkit-background-clip:text;background-clip:text;color:transparent}
/* Vitalink (round 59): its name is drawn too, option B2 (<symbol id="vtl-wm">). Vitalink's rule: capitals never under 14px (smaller, the logo
   alone), so it is 14px here even where the names around it are smaller; on the card its margin keeps the 1.2 line of the other names. It never moves. */
.pm__vtl{--vtl-cap:max(14px,.72em);display:block;flex:none;height:calc(var(--vtl-cap) * 106 / 99);width:calc(var(--vtl-cap) * 478 / 99);overflow:visible}
.pc h4 .pm__vtl{margin-block:calc((1.2em - var(--vtl-cap) * 106 / 99) / 2)}
/* round 59: a product that ships a light and a dark logo shows the file of the theme. Both are lazy, so the browser fetches only the one
   on screen, and the other after a theme switch. Without JS the page stays light (data-theme="light" is in the markup). */
:root[data-theme="light"] .pm-dk,:root:not([data-theme="light"]) .pm-lt{display:none}
/* PropMax-OS, MaxHis. Round 32: the plate was padding that only the dark theme had, so a theme switch re-laid out every card holding one,
   and with them the cards' container queries and drawings (most of the switch's cost at the top of a phone). Now nothing in layout changes:
   on dark the logo is scaled to .8 and the plate is its own background spread out to the full box by a shadow (outer corner 26%, as before). */
.pm-plate{--pm-k:var(--pm-plate-k);scale:var(--pm-k);border-radius:20%;background:var(--pm-plate);box-shadow:0 0 0 calc(var(--logo,1.4em) * var(--pm-plate-s)) var(--pm-plate)}
img[src$="maxkeepa.webp"]{border-radius:50%;box-shadow:var(--pk-keepa-halo)} /* MaxKeepa's own rule: a round mark, never boxed; on dark a thin gold halo */
.pm--ink .pm__name,.pm--ink .pm__name b{color:inherit;background:none} /* inside a button: the button's colour, the product's face */
/* several products behind one card: a row of overlapping logos */
.pm-stack{display:inline-flex;align-items:center}
.pm-stack img{--logo:26px;width:var(--logo);height:var(--logo);object-fit:contain;border-radius:8px;background:var(--tile-2);box-shadow:0 0 0 2px var(--tile-2);
  position:relative} /* round 32: all on one paint layer, so the scaled plate (see .pm-plate) still sits under the logo after it */
.pm-stack img+img{margin-left:-7px}
:root:not([data-theme="light"]) .pm-stack .pm-plate{background:var(--pm-plate);border-radius:6.75px;box-shadow:0 0 0 3.25px var(--pm-plate),0 0 0 5.75px var(--tile-2)} /* the 8px corner and 2px ring at .8 scale */

/* ---------- hero bento ---------- */
.hero{padding:clamp(10px,1.6vw,18px) 0 0;background:radial-gradient(900px 560px at 12% -8%,var(--aqua-14),transparent 62%)}
.hero__grid{display:grid;gap:var(--gap);grid-template-columns:1fr}
.hero .tile{display:flex;flex-direction:column}
.hero .tile:not(.hero__head){animation:rise .6s var(--ease) both;animation-delay:calc(var(--n,0)*70ms)} /* round 47: the head tile (the headline, the largest paint) shows at once */
@keyframes rise{from{opacity:0;translate:0 18px}}
.hero__head{justify-content:center;gap:18px;padding:clamp(26px,4vw,44px)}
.hero__head h1{font-size:var(--fs-hero);font-weight:700;line-height:1.25} /* sized so each half of the headline holds one line from 980px up; round 58: 700, the one heading above the section headings */
@media (min-width:600px) and (max-width:979px){.hero__head h1{font-size:clamp(2.25rem,5.4vw,3.25rem)}} /* tablet: the head tile spans the full row, so the same steps come at a narrower screen */
.hero__head h1 .hl{color:var(--hl)}
.hero__head .sub{color:var(--muted);font-size:var(--fs-lead);max-width:52ch}
@media (max-width:480px){.kicker__co{display:none}}
/* "ระบบสำหรับ [audience]": one list (round 47, DEC-02: it was a ticker that flipped through them every 2.3 s) */
.aud{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:-4px;font-family:var(--font-display);font-weight:500;font-size:var(--fs-title);line-height:1.5;color:var(--fg)}
.aud__k{color:var(--muted)}
.aud__rot{display:flex;flex-wrap:wrap;max-width:100%;color:var(--aqua)}
.aud__rot>span{white-space:pre}
.aud__rot>span:not(:last-child)::after{content:" · ";color:var(--muted)}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.hero__note{margin-top:-8px;font-size:var(--fs-sm);color:var(--muted)} /* round 43: under the LINE button, what the first talk costs and how fast we answer */
.hero__note a{color:var(--aqua);text-decoration:underline;text-underline-offset:3px} /* round 49: LINE as the second way in while the trial is open */
.hero__trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
/* "เลือกดูระบบตามธุรกิจของคุณ": four entry cards in plain words (who it is for, what it does, which product, how ready).
   They replaced the dashboard mini-UIs in round 6, which first-time visitors read as a system monitor.
   Round 9 folds the "งานที่ระบบทำแทนคุณ" band into them, so each business is told once: the top half says who it is for and which product;
   the bottom half (.ac__ba) plays the job without the system, wipes to the same job with it, and lights the matching line under the stage.
   Round 11 moves the product + button to a foot under the story, so a card reads in decision order: is it for me -> what changes -> which system, go. */
.hero__pick{grid-column:1/-1;display:flex;align-items:center;gap:14px;margin:8px 0 -2px;font-family:var(--font-display);font-weight:500;font-size:var(--fs-lead);line-height:1.4;color:var(--fg)}
.hero__pick span{padding:6px 20px 6px 16px;margin-left:-16px;border-radius:999px;background:linear-gradient(90deg,var(--veil),var(--veil) 80%,var(--veil-0))}
.hero__pick::after{content:"";flex:1;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--line-strong),transparent)}
.acs{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--gap)}
.hero .ac{display:grid;align-content:start;padding:0;color:inherit} /* beats .hero .tile{display:flex} */
.ac--live{border-color:var(--green-35)}
.ac__top{display:flex;flex-direction:column;gap:4px;min-width:0;padding:18px 18px 16px}
.ac__for{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:var(--fs-sm);font-weight:500;color:var(--muted)} /* "สำหรับ" left, how ready right */
.ac__title{font-family:var(--font-display);font-weight:var(--fw-display);font-size:var(--fs-title);line-height:1.3;color:var(--fg)}
.ac__desc{margin-top:2px;color:var(--muted);font-size:var(--fs-sm);line-height:1.55}
/* foot: product (where the card goes) + "ดูระบบ" button. The container is the foot, not the card: size containment on .ac would stop it being a subgrid */
.ac__foot{container-type:inline-size;display:flex;align-items:center;gap:8px;padding:12px 18px 14px;border-top:1px solid var(--line)}
.ac__prod{font:600 var(--fs-sm)/1.5 var(--font-data);color:var(--fg);white-space:nowrap}
.ac__foot .pm{font-size:1rem}
.ac__foot .pm__logo{--logo:26px}
.ac__go{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;height:36px;padding:0 12px 0 16px;margin-left:auto;border-radius:999px;border:1px solid var(--line-strong);color:var(--aqua);
  font:600 var(--fs-sm)/1 var(--font-body);white-space:nowrap;transition:transform .35s var(--ease),background-color .3s,border-color .3s,color .3s}
.ac:hover .ac__go,.ac:focus-visible .ac__go{transform:translateX(4px);background:var(--grad);border-color:transparent;color:var(--ink)}
@container (max-width:245px){.ac__go{width:36px;padding:0}.ac__go span{display:none}} /* too narrow beside a wide wordmark (1100-1279px, ~600px): arrow only */
/* bottom half: stage, then "ไม่มีระบบ" and "มีระบบ" on a trace (the round-7 band's before -> after line) */
.ac__ba{display:grid;align-content:start;row-gap:12px;padding:16px 18px 18px;border-top:1px dashed var(--line-strong);
  background:linear-gradient(180deg,var(--aqua-08),transparent 85%)}
@media (min-width:600px){
  .acs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero .ac{grid-row:span 5;grid-template-rows:subgrid;row-gap:0} /* top half, stage, "without", "with", foot: each lines up across a row of cards */
  .ac__ba{grid-row:span 3;grid-template-rows:subgrid}
}
@media (min-width:1100px){.acs{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* line icons (product cards): drawn with pathLength=1 so they can draw themselves */
.ico{fill:none;stroke:var(--aqua);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ico :is(path,circle,rect){stroke-dasharray:1;stroke-dashoffset:0}
@media (max-width:599px){ /* phone: skip the decorative logo tile. Round 47 (07 §1.5): the business cards fold into compact cards (who it is for,
  how ready, which product), two a row from 375px, without the description and the before/after half: the hero was three screens long */
  .hero .hero__logo{display:none} /* beats .hero .tile{display:flex} */
  .hero__pick{margin-top:6px;font-size:var(--fs-lead)}
  .acs{gap:10px}
  .hero .ac{grid-template-rows:auto 1fr}
  .ac__top{padding:14px 14px 8px}
  .ac__desc,.ac__ba,.ac__go{display:none}
  .ac__for{flex-wrap:wrap;justify-content:flex-start;gap:2px 8px;font-size:var(--fs-xs)}
  .ac__title{font-size:var(--fs-title)}
  .ac__foot{align-self:end;padding:8px 14px 14px;border-top:0}
}
@media (min-width:375px) and (max-width:599px){.acs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:600px){.hero__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero__head,.hero__logo{grid-column:1/-1}}
@media (min-width:980px){
  .hero__grid{grid-template-columns:repeat(12,minmax(0,1fr))}
  .hero__head{grid-column:1/8}.hero__logo{grid-column:8/13}
}

/* logo tile: the real mark plugged into the board (orbit rings + traces). Round 47 (DEC-02): the traces draw in once; the rings, the glow
   and the mark hold still, and the parallax is gone. Round 51 (DEC-87) gave the slow loops back (rules after .orbit__mark) */
.hero__logo{--orb:250px;padding:0;min-height:calc(var(--orb) + 96px)}
.logo__stage{position:absolute;inset:0;border-radius:inherit;overflow:hidden;display:grid;place-items:center;background:radial-gradient(58% 52% at 50% 50%,var(--aqua-14),transparent 72%)}
.orbit{position:relative;width:min(var(--orb),84%);aspect-ratio:1;display:grid;place-items:center}
.orbit__traces{position:absolute;left:-62.5%;top:-62.5%;width:225%;height:225%;max-width:none;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.orbit__traces .tr{stroke:var(--aqua-55);stroke-dasharray:1;stroke-dashoffset:0;animation:draw .8s var(--ease) both;animation-delay:var(--d,0ms)}
.orbit__traces .tr--g{stroke:var(--green)}
.orbit__traces .tr--dim{stroke:var(--line-strong)}
.orbit__traces .nd{fill:var(--bg);stroke:var(--aqua);animation:nodein .3s ease both;animation-delay:calc(var(--d,0ms) + .65s)}
.orbit__traces .nd--g{stroke:var(--green)}
@keyframes draw{from{stroke-dashoffset:1}}
@keyframes nodein{from{opacity:0}}
.orbit__glow{position:absolute;inset:6%;border-radius:50%;background:radial-gradient(circle,var(--aqua-30) 0%,var(--green-16) 42%,transparent 68%)}
.orbit__ring{position:absolute;border-radius:50%}
.orbit__ring--a{inset:0;background:conic-gradient(from 0deg,transparent 0 58%,var(--aqua) 80%,var(--green) 90%,transparent 100%);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px))}
.orbit__ring--b{inset:8%;border:1px dashed var(--aqua-30)}
.orbit__mark{position:relative;width:78%;filter:drop-shadow(0 0 26px var(--glow-aqua))}
@keyframes spin{to{transform:rotate(360deg)}}
/* round 51 (DEC-87): with the motion switch on the tile lives again, slowly: the glow breathes, the rings turn, the mark floats a few px and
   every two seconds a pulse runs in to the mark along one of the four main traces. All of it pauses off screen (.hero.is-off). Still gone:
   the parallax and the tilt */
/* round 52: the pulses are HTML pieces moved by transform, which the GPU animates by itself (as svg dashes, round 51, the page had to redraw
   the traces on every frame). .orbit__fx is the traces' own 900-unit box as a size container, so 1 unit = 1/9 cqw; a pulse is three pieces of
   10 units sharing one run (keyframes made by a script from the trace paths: grow out of the edge, follow the trace, turn its corners, sink
   into the node, then wait scaled to nothing), each piece 88 ms behind the one before so the tail bends with the trace */
.orbit__fx{position:absolute;left:-62.5%;top:-62.5%;width:225%;height:225%;container-type:size;pointer-events:none}
/* round 52: the logo tile's layers shift a few px against each other as the pointer moves over the tile (--tilt-x, --tilt-y from -1 to 1, set by
   section 8 of the script): depth. "translate" is its own property, so it adds to the transforms the loops below animate */
.orbit__traces,.orbit__fx{translate:calc(var(--tilt-x,0) * 6px) calc(var(--tilt-y,0) * 6px)}
.orbit__glow{translate:calc(var(--tilt-x,0) * -8px) calc(var(--tilt-y,0) * -8px)}
.orbit__ring--a{translate:calc(var(--tilt-x,0) * 10px) calc(var(--tilt-y,0) * 10px)}
.orbit__ring--b{translate:calc(var(--tilt-x,0) * 16px) calc(var(--tilt-y,0) * 16px)}
.orbit__mark{translate:calc(var(--tilt-x,0) * -22px) calc(var(--tilt-y,0) * -22px)}
.orbit__traces,.orbit__fx,.orbit__glow,.orbit__ring,.orbit__mark{transition:translate .5s var(--ease)}
.op{position:absolute;left:0;top:0;width:1.11cqw;height:.3cqw;margin:-.15cqw 0 0 -1.11cqw;border-radius:.15cqw;transform-origin:100% 50%;transform:scaleX(0);
  --k:0;background:var(--spark);background:linear-gradient(90deg,color-mix(in srgb,var(--spark) 66%,transparent),var(--spark));box-shadow:0 0 6px var(--glow-aqua)}
.op-b{--k:1;background:linear-gradient(90deg,color-mix(in srgb,var(--spark) 33%,transparent),color-mix(in srgb,var(--spark) 66%,transparent));box-shadow:none}
.op-c{--k:2;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--spark) 33%,transparent));box-shadow:none}
.op1{--d:1.2s}.op2{--d:3.2s}.op3{--d:5.2s}.op4{--d:7.2s}
:root[data-motion="on"] .op{animation:orbRun1 8s linear infinite;animation-delay:calc(var(--d) + var(--k) * 88ms)}
:root[data-motion="on"] .op2{animation-name:orbRun2}
:root[data-motion="on"] .op3{animation-name:orbRun3}
:root[data-motion="on"] .op4{animation-name:orbRun4}
@keyframes orbRun1{0%{transform:translate(100cqw,36.89cqw) rotate(180deg) scaleX(0)}1.11%{transform:translate(98.89cqw,36.89cqw) rotate(180deg) scaleX(1)}22.11%{transform:translate(77.78cqw,36.89cqw) rotate(180deg) scaleX(1)}22.78%{transform:translate(77.31cqw,37.36cqw) rotate(135deg) scaleX(1)}28.37%{transform:translate(73.33cqw,41.33cqw) rotate(135deg) scaleX(1)}29.03%{transform:translate(72.67cqw,41.33cqw) rotate(180deg) scaleX(1)}33.89%{transform:translate(67.78cqw,41.33cqw) rotate(180deg) scaleX(1)}35%{transform:translate(67.78cqw,41.33cqw) rotate(180deg) scaleX(0)}100%{transform:translate(67.78cqw,41.33cqw) rotate(180deg) scaleX(0)}}
@keyframes orbRun2{0%{transform:translate(0cqw,50.22cqw) rotate(0deg) scaleX(0)}1.09%{transform:translate(1.11cqw,50.22cqw) rotate(0deg) scaleX(1)}20.51%{transform:translate(20.89cqw,50.22cqw) rotate(0deg) scaleX(1)}21.16%{transform:translate(21.36cqw,49.75cqw) rotate(-45deg) scaleX(1)}29.76%{transform:translate(27.56cqw,43.56cqw) rotate(-45deg) scaleX(1)}30.42%{transform:translate(28.22cqw,43.56cqw) rotate(0deg) scaleX(1)}33.91%{transform:translate(31.78cqw,43.56cqw) rotate(0deg) scaleX(1)}35%{transform:translate(31.78cqw,43.56cqw) rotate(0deg) scaleX(0)}100%{transform:translate(31.78cqw,43.56cqw) rotate(0deg) scaleX(0)}}
@keyframes orbRun3{0%{transform:translate(56.44cqw,0cqw) rotate(90deg) scaleX(0)}1.05%{transform:translate(56.44cqw,1.11cqw) rotate(90deg) scaleX(1)}23.85%{transform:translate(56.44cqw,25.33cqw) rotate(90deg) scaleX(1)}24.48%{transform:translate(56.92cqw,25.8cqw) rotate(45deg) scaleX(1)}29.77%{transform:translate(60.89cqw,29.78cqw) rotate(45deg) scaleX(1)}30.4%{transform:translate(60.89cqw,30.44cqw) rotate(90deg) scaleX(1)}33.95%{transform:translate(60.89cqw,34.22cqw) rotate(90deg) scaleX(1)}35%{transform:translate(60.89cqw,34.22cqw) rotate(90deg) scaleX(0)}100%{transform:translate(60.89cqw,34.22cqw) rotate(90deg) scaleX(0)}}
@keyframes orbRun4{0%{transform:translate(43.44cqw,100cqw) rotate(-90deg) scaleX(0)}1.07%{transform:translate(43.44cqw,98.89cqw) rotate(-90deg) scaleX(1)}23.36%{transform:translate(43.44cqw,75.78cqw) rotate(-90deg) scaleX(1)}24.01%{transform:translate(43.92cqw,75.31cqw) rotate(-45deg) scaleX(1)}29.43%{transform:translate(47.89cqw,71.33cqw) rotate(-45deg) scaleX(1)}30.07%{transform:translate(47.89cqw,70.67cqw) rotate(-90deg) scaleX(1)}33.93%{transform:translate(47.89cqw,66.67cqw) rotate(-90deg) scaleX(1)}35%{transform:translate(47.89cqw,66.67cqw) rotate(-90deg) scaleX(0)}100%{transform:translate(47.89cqw,66.67cqw) rotate(-90deg) scaleX(0)}}
:root[data-motion="on"] .orbit__glow{animation:orbBreathe 6s ease-in-out infinite}
:root[data-motion="on"] .orbit__ring--a{animation:spin 24s linear infinite}
:root[data-motion="on"] .orbit__ring--b{animation:spin 40s linear infinite reverse}
:root[data-motion="on"] .orbit__mark{animation:orbFloat 7s ease-in-out infinite}
@keyframes orbBreathe{0%,100%{transform:scale(1);opacity:.8}50%{transform:scale(1.07);opacity:1}}
@keyframes orbFloat{0%,100%{transform:translateY(3px)}50%{transform:translateY(-5px)}}
.logo__cap{position:absolute;z-index:1;right:20px;bottom:18px;width:150px;height:auto;fill:var(--fg)}
@media (min-width:600px){.hero__logo{--orb:240px}}
@media (min-width:980px){.hero__logo{--orb:340px}}
@media (min-width:1180px){.hero__logo{--orb:400px}}

/* ---------- before/after stage (round 9) ----------
   Two pictures of the same job stacked: .ba__b without the system (paper, muted strokes, a clock that keeps spinning),
   .ba__a with it (screens, aqua, a green tick). Round 47 (DEC-02): it plays once, when the card first comes on screen: data-phase b
   (without) -> a (a scan line wipes "with" in), then the card drops data-phase and takes .is-still, the finished "with" picture with
   nothing moving (it used to loop b -> a -> r -> b, the cards taking turns). Pointing at a line still shows that side.
   Round 51 (DEC-87), motion switch on: the cards take turns to play r -> b -> a again, one at a time (baNext in the script); .is-off
   pauses a stage that is off screen. Round 52: between its turns a card is .is-still again, so only one stage is being redrawn at a time.
   Without JS or with reduced motion there is no data-phase: the stage keeps the finished "with" picture and both lines read in full. */
.well{border-radius:12px;background:var(--well);border:1px solid var(--line)}
.ba{position:relative;display:block;container-type:inline-size;aspect-ratio:240/110;overflow:hidden;border-radius:12px;border:1px solid var(--line);background:var(--bg)}
.ba__l{position:absolute;inset:0;display:block}
.ba__a{clip-path:inset(0);background:radial-gradient(70% 110% at 70% 48%,var(--aqua-14),transparent 72%),radial-gradient(circle,var(--line) 1px,transparent 1.5px) 0 0/12px 12px,var(--bg)}
.ac[data-phase="b"] .ba__a{clip-path:inset(0 100% 0 0)}
.ac[data-phase="a"] .ba__a{transition:clip-path .9s var(--ease)}
.ac.is-held[data-phase="b"] .ba__a{transition:clip-path .5s var(--ease)} /* pointer on the "ไม่มีระบบ" line: wipe back */
.ac[data-phase="r"] .ba__a{opacity:0;transition:opacity .45s ease}
.ba__scan{position:absolute;inset:0;pointer-events:none;opacity:0}
.ba__scan::before{content:"";position:absolute;top:0;bottom:0;left:-46px;width:48px;background:linear-gradient(90deg,transparent,var(--aqua-14) 55%,var(--aqua-55) 92%,var(--spark) 93%)}
.ac[data-phase="a"] .ba__scan{animation:baScan .9s var(--ease) both,baFade .9s linear both} /* same time and curve as the clip, so the line rides its edge */
@keyframes baScan{from{translate:0 0}to{translate:100% 0}}
@keyframes baFade{0%,82%{opacity:1}to{opacity:0}}
.ba__tag{position:absolute;left:3cqi;top:3cqi;display:inline-flex;align-items:center;gap:.5em;padding:.1em .8em .1em .7em;border-radius:999px;border:1px solid var(--line-strong);background:var(--tile-2);font-size:clamp(.62rem,4.5cqi,.76rem);font-weight:600;line-height:1.6;color:var(--muted)}
.ba__tag::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--warn)}
.ba__a .ba__tag{color:var(--ok);border-color:var(--green-35);background:linear-gradient(var(--green-16),var(--green-16)),var(--tile-2)}
.ba__a .ba__tag::before{background:var(--ok)}
.ac.is-off .ba *{animation-play-state:paused !important} /* not on screen yet */
.ac.is-still .ba *{animation:none !important} /* played once: the finished picture, still */
/* picture parts (viewBox 240 x 110; the tag sits top left, the clock / tick top right) */
.ba svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}
.ba .pp{fill:var(--tile-2);stroke:var(--line-strong);stroke-width:1.5} /* paper, windows, machines: without */
.ba .ln{stroke:var(--line-strong);stroke-width:3}                      /* lines of writing */
.ba .mu{stroke:var(--muted);stroke-width:1.8}
.ba .fm{fill:var(--line-strong);stroke:none}
.ba .tb{stroke:var(--line-strong);stroke-width:1.2}                    /* window title bars */
.ba .gl{fill:var(--tile-2);fill-opacity:.45}                          /* lens glass */
.ba .sc{fill:var(--tile-2);stroke:var(--aqua-55);stroke-width:1.5}     /* screens: with */
.ba .aq{stroke:var(--aqua)}
.ba .a3{stroke:var(--aqua-30);stroke-width:1.5}
.ba .fa{fill:var(--aqua-55);stroke:none}
.ba .fl{stroke:var(--aqua-55);stroke-width:3;stroke-dasharray:.1 10;animation:flow .8s linear infinite}
.ba .tx{fill:var(--muted);stroke:none;font:600 9px var(--font-data)}
.ba .tx--a{fill:var(--aqua)}
.ba-clock{stroke:var(--warn);stroke-width:1.8}
.ba-clock circle{fill:var(--warn-16)}
.ba-clock__h{transform-origin:220px 18px}
.ba-ok,.ba .pop{transform-box:fill-box;transform-origin:center}
.ba-ok circle{fill:var(--green-16);stroke:var(--ok);stroke-width:1.8}
.ba-ok path{stroke:var(--ok);stroke-width:2.2;stroke-dasharray:1}
.ba .dr{stroke-dasharray:1} /* paths with pathLength=1 that draw in */
@keyframes flow{to{stroke-dashoffset:-10.1}}
@keyframes baPop{0%{transform:scale(0)}60%{transform:scale(1.22)}to{transform:scale(1)}}
@keyframes baGrow{from{transform:scaleX(0);opacity:0}}
@keyframes baSlide{from{transform:translateX(-10px);opacity:0}}
@keyframes baWave{0%,100%{opacity:.25}50%{opacity:1}}
/* "without" plays while data-phase is b or r */
.ac:is([data-phase="b"],[data-phase="r"]) .ba-clock__h{animation:spin 1.2s linear infinite}
/* "with" plays from the moment it starts to wipe in (and once on load without JS) */
.ac:not([data-phase="b"]) .ba-ok{animation:baPop .5s var(--ease) .75s both}
.ac:not([data-phase="b"]) .ba-ok path{animation:draw .45s var(--ease) 1s both}
.ac:not([data-phase="b"]) .ba .pop{animation:baPop .45s var(--ease) both;animation-delay:calc(.8s + var(--i,0) * .16s)}
.ac:not([data-phase="b"]) .ba .dr{animation:draw .9s var(--ease) both;animation-delay:calc(1s + var(--i,0) * .2s)}

/* pawn shop: hunting through the ledger for due tickets -> the screen lists them, the bell rings */
.k-turn{transform-origin:120px 68px}
.k-lens{transform:translate(84px,54px)}
.k-q{fill:var(--warn);stroke:none;font:700 20px var(--font-display);transform-box:fill-box;transform-origin:center}
.ac:is([data-phase="b"],[data-phase="r"]) .k-turn{animation:kTurn 1.5s ease-in-out infinite}
.ac:is([data-phase="b"],[data-phase="r"]) .k-lens{animation:kLens 3.4s ease-in-out infinite}
.ac:is([data-phase="b"],[data-phase="r"]) .k-q{animation:kQ 1.7s ease-in-out infinite}
@keyframes kTurn{0%{transform:scaleX(1);opacity:0}12%{transform:scaleX(1);opacity:1}55%{transform:scaleX(-1);opacity:1}72%,100%{transform:scaleX(-1);opacity:0}}
@keyframes kLens{0%,100%{transform:translate(84px,54px)}22%{transform:translate(100px,66px)}44%{transform:translate(80px,78px)}66%{transform:translate(148px,56px)}88%{transform:translate(160px,76px)}}
@keyframes kQ{0%,100%{transform:translateY(0) rotate(-8deg);opacity:.5}50%{transform:translateY(-4px) rotate(8deg);opacity:1}}
.k-due{fill:var(--aqua-14);stroke:none;transform-box:fill-box;transform-origin:0 50%}
.k-pill{fill:var(--aqua);stroke:none}
.k-bell{stroke:var(--aqua);stroke-width:1.8;transform-box:fill-box;transform-origin:50% 0}
.k-badge circle{fill:var(--aqua);stroke:none}
.k-badge text{fill:var(--bg);stroke:none;font:700 8px var(--font-data);text-anchor:middle}
.ac:not([data-phase="b"]) .k-due{animation:baGrow .5s var(--ease) both;animation-delay:calc(.7s + var(--i) * .2s)}
.ac:not([data-phase="b"]) .k-bell{animation:kRing 1.1s ease-in-out 1.4s 2}
@keyframes kRing{0%,100%{transform:rotate(0)}15%{transform:rotate(16deg)}30%{transform:rotate(-13deg)}45%{transform:rotate(9deg)}60%{transform:rotate(-6deg)}75%{transform:rotate(3deg)}}

/* SME: customers, bills and stock in three programs (the pointer hops between them) -> one web app, also on the phone */
.ac:is([data-phase="b"],[data-phase="r"]) .o-bob{animation:oBob 3.6s ease-in-out infinite;animation-delay:calc(var(--i) * -1.2s)}
.ac:is([data-phase="b"],[data-phase="r"]) .o-bob>.pp{animation:oFocus 3s ease infinite;animation-delay:calc(var(--i) * 1s)}
.o-cur{fill:var(--tile-2);stroke:var(--fg);stroke-width:1.3;transform:translate(44px,58px)}
.ac:is([data-phase="b"],[data-phase="r"]) .o-cur{animation:oCur 3s ease-in-out infinite}
@keyframes oBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes oFocus{0%,3%,33%,100%{stroke:var(--line-strong)}8%,28%{stroke:var(--warn)}}
@keyframes oCur{0%,22%{transform:translate(44px,58px)}33%,55%{transform:translate(114px,78px)}66%,88%{transform:translate(178px,60px)}100%{transform:translate(44px,58px)}}
.o-ico{stroke:var(--aqua);stroke-width:1.6}
.o-tile{fill:var(--aqua-08);stroke:var(--aqua-30);stroke-width:1}
.ac:not([data-phase="b"]) .o-ico{animation:baSlide .5s var(--ease) both;animation-delay:calc(.65s + var(--i) * .12s)}
.ac:not([data-phase="b"]) .o-wifi path{animation:baWave 1.6s ease-in-out infinite;animation-delay:calc(var(--i) * .25s)}

/* hospital ward: read the monitor, write it on paper, type it again -> the bedside value reaches the computer by itself */
.h-w{stroke-dasharray:1}
.h-pen{fill:var(--tile-2);transform:translate(103px,46px)}
.h-carry{fill:var(--warn);stroke:none;opacity:0}
.h-key{fill:var(--line-strong);stroke:none}
.ac:is([data-phase="b"],[data-phase="r"]) .h-w{animation:hWrite 2.4s linear infinite backwards;animation-delay:calc(var(--i) * .45s)}
.ac:is([data-phase="b"],[data-phase="r"]) .h-pen{animation:hPen 2.4s ease-in-out infinite}
.ac:is([data-phase="b"],[data-phase="r"]) .h-carry{animation:hCarry 3.2s ease-in-out infinite}
.ac:is([data-phase="b"],[data-phase="r"]) .h-key{animation:hKey .9s steps(1) infinite;animation-delay:calc(var(--i) * .15s)}
@keyframes hWrite{0%{stroke-dashoffset:1}18%,82%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes hPen{0%{transform:translate(103px,46px)}18%{transform:translate(129px,46px)}19%{transform:translate(103px,56px)}37%{transform:translate(123px,56px)}38%{transform:translate(103px,66px)}56%{transform:translate(129px,66px)}57%{transform:translate(103px,76px)}75%{transform:translate(119px,76px)}90%,100%{transform:translate(103px,46px)}}
@keyframes hCarry{0%{transform:translate(70px,58px);opacity:0}8%{opacity:1}30%{transform:translate(92px,58px);opacity:1}38%{transform:translate(92px,58px);opacity:0}50%{transform:translate(140px,58px);opacity:0}58%{opacity:1}80%{transform:translate(158px,58px);opacity:1}88%,100%{transform:translate(158px,58px);opacity:0}}
@keyframes hKey{0%{fill:var(--warn)}30%,100%{fill:var(--line-strong)}}
.h-ecg{stroke:var(--aqua-55);stroke-width:1.6}
.h-beat{stroke:var(--spark);stroke-width:2.4;stroke-dasharray:.16 1.2;stroke-dashoffset:.16}
.ac:not([data-phase="b"]) .h-beat{animation:hBeat 1.6s linear infinite}
@keyframes hBeat{to{stroke-dashoffset:-1.04}}
.h-bar{fill:var(--aqua-14);stroke:none;transform-box:fill-box;transform-origin:0 50%}
.ac:not([data-phase="b"]) .h-bar{animation:baGrow .5s var(--ease) both;animation-delay:calc(1.3s + var(--i) * .15s)}

/* condo office: checking slips one by one -> slip checked as it arrives, receipt sent back in the chat */
.p-slip{transform:translate(18px,44px)}
.p-lens{transform:translate(124px,54px)}
.ac:is([data-phase="b"],[data-phase="r"]) .p-slip{animation:pSlip 2.6s ease-in-out infinite}
.ac:is([data-phase="b"],[data-phase="r"]) .p-lens{animation:pLens 2.6s ease-in-out infinite}
@keyframes pSlip{0%{transform:translate(18px,44px)}25%,62%{transform:translate(96px,34px)}88%{transform:translate(176px,50px);opacity:1}100%{transform:translate(176px,50px);opacity:0}}
@keyframes pLens{0%,25%,62%,100%{transform:translate(124px,54px)}35%{transform:translate(110px,64px)}45%{transform:translate(126px,74px)}55%{transform:translate(112px,58px)}}
.p-ring{stroke:var(--aqua-30);stroke-width:1.5;stroke-dasharray:3 4;transform-origin:98px 62px}
.ac:not([data-phase="b"]) .p-ring{animation:spin 7s linear infinite}
.p-msg{transform-box:fill-box;transform-origin:0 50%}
.p-msg rect{fill:var(--green-16);stroke:var(--green-35);stroke-width:1.2}
.p-msg circle{stroke:var(--ok);stroke-width:1.5}
.p-msg path{stroke:var(--ok);stroke-width:1.5}
.p-msg .ln{stroke:var(--green-35);stroke-width:3}
.ac:not([data-phase="b"]) .p-msg{animation:baPop .45s var(--ease) both;animation-delay:calc(1.05s + var(--i) * .35s)}

/* the two lines under the stage: a node each on one trace; the side on show is lit, the other one steps back */
.ba__row{position:relative;display:flex;flex-direction:column;gap:1px;min-width:0;padding-left:28px;font-size:var(--fs-sm);line-height:1.5;transition:opacity .45s ease,color .45s ease}
.ba__row b{font-size:var(--fs-xs);font-weight:600;color:var(--muted);transition:color .45s ease} /* "ไม่มีระบบ" / "มีระบบ": Thai, no tracking */
.ba__row::before{content:"";position:absolute;left:0;top:.3em;width:14px;height:14px;border-radius:50%;border:2px solid var(--line-strong);background:var(--bg-2);transition:border-color .45s ease,background-color .45s ease,box-shadow .45s ease}
.ba__was{color:var(--muted)}
.ba__was b::after,.ba__was::after{content:"";position:absolute;left:6px;top:calc(.3em + 14px);bottom:calc(-12px - .3em);width:2px;border-radius:2px;background:var(--line-strong)} /* the trace down to "มีระบบ" */
.ba__was::after{background:linear-gradient(180deg,var(--line-strong),var(--aqua) 55%,var(--green));transform-origin:top;transition:transform .9s var(--ease)} /* its charge */
.ba__now{font-weight:500;color:var(--fg)}
.ba__now::before{border-color:var(--ok);background:var(--ok);box-shadow:0 0 0 4px var(--green-16)}
.ba__now b{color:var(--ok)}
.ac:is([data-phase="b"],[data-phase="r"]) .ba__was{color:var(--fg)}
.ac:is([data-phase="b"],[data-phase="r"]) .ba__was::before{border-color:var(--warn);background:var(--warn-16);box-shadow:0 0 0 4px var(--warn-16)}
.ac:is([data-phase="b"],[data-phase="r"]) .ba__was::after{transform:scaleY(0);transition-duration:.3s}
.ac:is([data-phase="b"],[data-phase="r"]) .ba__now{opacity:.5}
.ac:is([data-phase="b"],[data-phase="r"]) .ba__now::before{border-color:var(--line-strong);background:var(--bg-2);box-shadow:none}
.ac:is([data-phase="b"],[data-phase="r"]) .ba__now b{color:var(--muted)}
.ac[data-phase="a"] .ba__was{opacity:.55}
.ac[data-phase="a"] .ba__now,.ac[data-phase="a"] .ba__now::before,.ac[data-phase="a"] .ba__now b{transition-delay:.55s} /* lights when the charge gets there */

/* ---------- product detail (round 17): the MaxKeepa card opens a console; it replaced the "In production" section that sat
   between the hero and the products and repeated the card. Open: the panel is revealed from the card's own box outward
   (clip-path, no scaling, so text never stretches) while a lit frame rides the growing edge and the board behind blurs; then
   the mock screen powers on. Left: four things the system does, as a tour that runs itself on a CSS clock; a trace wires the
   one on show to the screen, which wipes to that screen. Native <dialog>: focus stays inside, Esc closes, the page behind is inert. ---------- */
html.is-dx{overflow:hidden} /* no page scroll behind */
html.is-dx body{padding-right:var(--sbw,0px)} /* the scrollbar's width (JS), so nothing shifts under the card; a reserved gutter would show as an undimmed strip */
.dx{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:clamp(0px,2.6vw,28px);border:0;background:none;color:var(--fg);overflow:hidden}
.dx[open]{display:grid;place-items:center}
.dx::backdrop{background:var(--scrim);-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2)}
.dx[open]::backdrop{animation:dxDim .5s ease both}
.dx.is-out::backdrop{animation:dxUndim .45s ease both}
@keyframes dxDim{from{opacity:0}}
@keyframes dxUndim{to{opacity:0}}
.dx__panel{position:relative;display:flex;flex-direction:column;width:min(1180px,100%);max-height:100%;overflow:hidden;border:1px solid var(--green-35);border-radius:22px;
  background:radial-gradient(circle,var(--line) 1px,transparent 1.5px) 0 0/22px 22px,radial-gradient(680px 440px at 100% 0%,var(--green-16),transparent 70%),radial-gradient(560px 400px at 0% 100%,var(--aqua-08),transparent 70%),linear-gradient(180deg,var(--tile-2),var(--tile)),var(--bg);
  box-shadow:inset 0 1px 0 var(--hair),0 50px 120px -50px var(--shadow),0 0 80px -34px var(--glow-green)}
@media (max-width:699px){.dx{padding:0}.dx__panel{height:100%;border:0;border-radius:0}} /* phones: a full-screen sheet */
/* the lit frame of the open/close morph (JS moves it from the card's box to the panel's) */
.dx__frame{position:fixed;left:0;top:0;z-index:2;width:0;height:0;pointer-events:none;opacity:0;border-radius:22px;border:1.5px solid var(--aqua);
  box-shadow:0 0 0 1px var(--aqua-30),0 0 46px -6px var(--glow-aqua),inset 0 0 36px -12px var(--glow-aqua)}
/* top bar: what this is, and the way out */
.dx__bar{display:flex;align-items:center;gap:14px;min-height:64px;padding:10px 12px 10px 22px;border-bottom:1px solid var(--line);background:var(--veil)}
.dx__bar .live{margin-left:0;font-family:var(--font-body);letter-spacing:0} /* round 47: Thai ("ใช้งานจริง", was IN PRODUCTION): no tracking */
.dx__crumb{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:600 var(--fs-xs)/1.5 var(--font-label);letter-spacing:.16em;color:var(--muted)}
.dx__crumb b{font-weight:600;color:var(--fg)}
@media (max-width:599px){.dx__crumb{display:none}}
.dx__close{display:inline-flex;align-items:center;gap:10px;flex:none;min-height:44px;margin-left:auto;padding:0 5px 0 12px;border-radius:999px;border:1px solid var(--line);background:var(--well);font:600 var(--fs-sm)/1 var(--font-display);color:var(--fg);transition:border-color .2s,color .2s}
.dx__close kbd{padding:4px 6px;border-radius:6px;border:1px solid var(--line-strong);font:600 var(--fs-xs)/1 var(--font-data);letter-spacing:.08em;color:var(--muted)}
.dx__close svg{width:34px;height:34px;padding:9px;border-radius:50%;background:var(--aqua-08);fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;transition:rotate .45s var(--ease)}
.dx__close:hover{border-color:var(--aqua-55);color:var(--aqua)}
.dx__close:hover svg{rotate:90deg}
@media (pointer:coarse),(max-width:599px){.dx__close kbd{display:none}}
.dx__scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.dx__main{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "shot" "tabs";gap:22px;padding:clamp(20px,3vw,34px)}
@media (min-width:960px){.dx__main{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);grid-template-areas:"head head" "tabs shot";column-gap:76px;row-gap:28px;align-items:center}}
/* head: logo in an orbit ring, who it is for, the claim, the story */
.dx__head{grid-area:head;display:flex;align-items:center;gap:18px;min-width:0}
.dx__mark{position:relative;flex:none;display:grid;place-items:center;width:76px;height:76px}
.dx__mark::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 55%,var(--aqua) 78%,var(--green) 90%,transparent 100%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px))}
.dx__mark img{width:58px;height:58px}
.dx__head h2{font-size:var(--fs-h3)}
.dx__head h2 .pm{margin-right:.14em}
.dx__for{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:6px;font-size:var(--fs-sm);font-weight:600;color:var(--ok)}
.dx__lede{max-width:72ch;margin-top:8px;color:var(--muted)}
@media (max-width:599px){.dx__head{align-items:flex-start;gap:14px}.dx__mark{width:58px;height:58px}.dx__mark img{width:44px;height:44px}}
/* the tour: one tab per thing the system does */
.dx__tabs{grid-area:tabs;position:relative;display:grid;gap:8px;min-width:0}
.dx-tab{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:0 14px;width:100%;padding:13px 16px 15px 12px;border-radius:14px;border:1px solid var(--line);background:var(--well);text-align:left;
  transition:border-color .3s,background-color .3s,box-shadow .3s}
.dx-tab:hover{border-color:var(--line-strong)}
.dx-tab__no{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;border:1px solid var(--line-strong);font:600 var(--fs-xs)/1 var(--font-data);color:var(--muted);transition:color .3s,background-color .3s,border-color .3s,box-shadow .3s}
.dx-tab__t{padding-top:4px;font-family:var(--font-display);font-weight:500;font-size:var(--fs-body);line-height:1.4;color:var(--fg)}
.dx-tab__c{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease)} /* the caption opens on the tab on show */
.dx-tab__c>span{overflow:hidden;font-size:var(--fs-sm);line-height:1.55;color:var(--muted)}
.dx-tab__c>span>span{display:block;padding-top:4px}
.dx-tab[aria-selected="true"]{border-color:var(--aqua-55);background:linear-gradient(90deg,var(--aqua-14),var(--aqua-08) 65%,transparent),var(--well);box-shadow:0 0 0 1px var(--aqua-14),0 18px 40px -28px var(--glow-aqua)}
.dx-tab[aria-selected="true"] .dx-tab__no{color:var(--ink);background:var(--grad);border-color:transparent;box-shadow:0 0 18px -4px var(--glow-aqua)}
.dx-tab[aria-selected="true"] .dx-tab__c{grid-template-rows:1fr}
/* the run's clock: a bar under the tab on show. CSS times it and animationend moves the tour on, so holding it is one class */
.dx-tab__bar{position:absolute;left:14px;right:14px;bottom:5px;height:2px;overflow:hidden;border-radius:2px;background:var(--line);opacity:0;transition:opacity .3s}
.dx-tab__bar i{display:block;height:100%;background:var(--grad);transform:scaleX(0);transform-origin:left}
.dx.is-auto .dx-tab[aria-selected="true"] .dx-tab__bar{opacity:1}
.dx.is-auto .dx-tab[aria-selected="true"] .dx-tab__bar i{animation:dxClock 6.5s linear forwards}
.dx.is-auto.is-hold .dx-tab[aria-selected="true"] .dx-tab__bar i{animation-play-state:paused} /* as specific as the rule above: its shorthand resets the play state */
@keyframes dxClock{to{transform:scaleX(1)}}
/* port on the tab's right edge: where the trace leaves for the screen (desktop) */
.dx-tab__port{position:absolute;right:-6px;top:21px;width:11px;height:11px;border-radius:50%;border:2px solid var(--line-strong);background:var(--bg);display:none;transition:border-color .3s,box-shadow .3s}
.dx-tab[aria-selected="true"] .dx-tab__port{border-color:var(--aqua);box-shadow:0 0 10px var(--glow-aqua)}
@media (min-width:960px){.dx-tab__port{display:block}}
/* the trace from the tab on show to the screen: drawn in on every change (round 47: no pulse runs along it) */
.dx__wire{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;display:none;opacity:0}
.dx__wire.is-draw{opacity:1} /* hidden between a change and the redraw */
@media (min-width:960px){.dx__wire{display:block}}
.dx__wire path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.dx-w__lit{stroke:var(--aqua);stroke-width:2;stroke-dasharray:1;stroke-dashoffset:0;filter:drop-shadow(0 0 4px var(--glow-aqua))}
.dx__wire.is-draw .dx-w__lit{animation:draw .55s var(--ease) both}
.dx-w__end{fill:var(--bg);stroke:var(--aqua);stroke-width:2}
/* the screen: a window frame with HUD corners, four views stacked in one cell (the tallest sets the height, so a change never jumps) */
.dx__shot{grid-area:shot;position:relative;display:flex;flex-direction:column;gap:8px;min-width:0}
.dx-scr{position:relative;border-radius:16px;border:1px solid var(--line-strong);background:var(--bg);box-shadow:0 0 0 6px var(--aqua-08),0 34px 70px -44px var(--shadow)}
.dx-scr::after{content:"";position:absolute;inset:-7px;border-radius:20px;border:2px solid var(--aqua-55);pointer-events:none;--m:linear-gradient(#000 0 0);
  -webkit-mask:var(--m) 0 0/28px 28px no-repeat,var(--m) 100% 0/28px 28px no-repeat,var(--m) 0 100%/28px 28px no-repeat,var(--m) 100% 100%/28px 28px no-repeat;
  mask:var(--m) 0 0/28px 28px no-repeat,var(--m) 100% 0/28px 28px no-repeat,var(--m) 0 100%/28px 28px no-repeat,var(--m) 100% 100%/28px 28px no-repeat}
.dx-scr__top{display:flex;align-items:center;gap:10px;min-height:42px;padding:6px 8px 6px 14px;border-bottom:1px solid var(--line);border-radius:16px 16px 0 0;background:var(--well);font:600 .74rem/1.5 var(--font-data);letter-spacing:.04em;color:var(--muted)}
.dx-scr__dots{display:flex;gap:5px;flex:none}
.dx-scr__dots i{width:8px;height:8px;border-radius:50%;background:var(--line-strong)}
.dx-scr__dots i:first-child{background:var(--pk-keepa)}
.dx-scr__route{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dx-scr__route b{font-weight:600;color:var(--aqua)}
.dx-scr__top .live{flex:none;margin-left:auto}
.dx-auto{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--line);font:600 .64rem/1 var(--font-data);letter-spacing:.1em;color:var(--muted);transition:color .2s,border-color .2s}
.dx-auto svg{width:9px;height:9px;fill:currentColor}
.dx-auto .i-play{display:none}
.dx-auto[aria-pressed="false"] .i-play{display:block}
.dx-auto[aria-pressed="false"] .i-pause{display:none}
.dx-auto[aria-pressed="true"]{color:var(--aqua);border-color:var(--aqua-30)}
.dx-auto[hidden]{display:none}
.dx-auto:hover{border-color:var(--aqua-55);color:var(--aqua)}
.dx-scr__stage{position:relative;display:grid;overflow:hidden;container-type:inline-size;border-radius:0 0 15px 15px;background:radial-gradient(70% 90% at 80% 0%,var(--aqua-08),transparent 70%),radial-gradient(circle,var(--line) 1px,transparent 1.5px) 0 0/14px 14px,var(--bg)}
.dx-v{grid-area:1/1;min-width:0;padding:12px 16px 16px;visibility:hidden}
.dx-v.is-on{visibility:visible;z-index:1}
.dx-v.is-leave{visibility:visible;animation:dxLeave .5s ease both}
.dx-v.is-enter{animation:dxWipe .6s var(--ease) both}
@keyframes dxWipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes dxLeave{to{opacity:0;filter:blur(3px)}}
.dx-scan{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0}
.dx-scan::before{content:"";position:absolute;top:0;bottom:0;left:-46px;width:48px;background:linear-gradient(90deg,transparent,var(--aqua-14) 55%,var(--aqua-55) 92%,var(--spark) 93%)}
.dx-scr__stage.is-scan .dx-scan{animation:baScan .6s var(--ease) both,baFade .6s linear both} /* rides the wipe's edge */
/* power on (first open): a bright line opens into the picture, then the rows stream in */
.dx.is-boot .dx-scr__stage{animation:dxBoot .75s var(--ease) .55s both}
.dx.is-boot .dx-v [data-row]{opacity:0}
@keyframes dxBoot{0%{clip-path:inset(50% 50% 50% 50%);filter:brightness(2.6)}40%{clip-path:inset(calc(50% - 1px) 0 calc(50% - 1px) 0);filter:brightness(2.6)}100%{clip-path:inset(0);filter:none}}
.dx-v.is-play [data-row]{animation:dxRow .5s var(--ease) both;animation-delay:calc(120ms + var(--r,0) * 75ms)}
@keyframes dxRow{from{opacity:0;translate:-14px 0}}
.dx-v__h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px;padding-bottom:9px;border-bottom:1px solid var(--line);font-weight:600;font-size:.95rem}
.dx-v__h small{font:600 .7rem/1.5 var(--font-data);letter-spacing:.06em;color:var(--muted)}
.dx__note{font-size:var(--fs-xs);color:var(--muted);text-align:right}
/* view 1, tickets: the row due today glows amber and its bell rings */
.due__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 6px 10px 10px;border-bottom:1px solid var(--line)}
.due__row:last-child{border-bottom:0}
.due__row--hot{border-radius:10px;border-bottom-color:transparent;background:linear-gradient(90deg,var(--warn-16),transparent);box-shadow:inset 3px 0 0 var(--warn)}
.due__no{display:flex;align-items:center;gap:6px;font:600 .72rem/1.5 var(--font-data);color:var(--muted)}
.due__no svg{width:14px;height:14px;fill:none;stroke:var(--warn);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform-origin:50% 10%}
.dx-v.is-play .due__no svg{animation:kRing 1.2s ease-in-out .9s 2}
.due__item{min-width:0;font-weight:500;font-size:.95rem}
.due__amt{grid-column:2;grid-row:1/3;align-self:center;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.due__amt .num{font-size:1.02rem}
.tag{display:inline-flex;padding:1px 9px;border-radius:999px;border:1px solid;font-size:.74rem;font-weight:600;line-height:1.5;white-space:nowrap}
.tag--due{color:var(--warn);border-color:var(--warn-35);background:var(--warn-16)}
.tag--ok{color:var(--ok);border-color:var(--green-35);background:var(--green-16)}
.tag--info{color:var(--aqua);border-color:var(--aqua-30);background:var(--aqua-08)}
/* view 2, shop: one item sells while you watch ("วางขาย" turns into "ขายแล้ว") */
.tagswap{display:grid;justify-items:end}
.tagswap>*{grid-area:1/1}
.tagswap>:first-child{opacity:0}
.dx-v.is-play .tagswap>:first-child{animation:dxTagOut 2.4s ease both}
.dx-v.is-play .tagswap>:last-child{animation:dxTagIn 2.4s var(--ease) both}
@keyframes dxTagOut{0%,70%{opacity:1}100%{opacity:0}}
@keyframes dxTagIn{0%,70%{opacity:0;scale:.6}85%{opacity:1;scale:1.15}100%{opacity:1;scale:1}}
/* view 3, today's totals: numbers count up, the week's bars grow, the day's report is ready */
.dx-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:12px}
.dx-kpi{display:flex;flex-direction:column;gap:1px;min-width:0;padding:9px 11px;border-radius:11px;border:1px solid var(--line);background:var(--well)}
.dx-kpi small{font-size:.78rem;font-weight:600;color:var(--muted)}
.dx-kpi b{font-size:clamp(.9rem,3.6cqi,1.12rem);color:var(--fg);white-space:nowrap}
.dx-kpi span{font-size:.76rem;color:var(--muted)}
.dx-kpi--a b{color:var(--aqua)}
.dx-chart{margin-top:10px;padding:9px 11px 6px;border-radius:11px;border:1px solid var(--line);background:var(--well)}
.dx-chart__h{display:flex;justify-content:space-between;gap:8px;font-size:.8rem;font-weight:600;color:var(--muted)}
.dx-chart__h .num{font-size:.7rem;font-weight:600}
.dx-chart svg{display:block;width:100%;height:auto;margin-top:4px}
.dx-chart rect{fill:var(--aqua-30);transform-box:fill-box;transform-origin:50% 100%}
.dx-chart rect.is-now{fill:url(#dx-bar)}
.dx-chart text{font:600 10px var(--font-body);fill:var(--muted);text-anchor:middle}
.dx-v.is-play .dx-chart rect{animation:dxBar .7s var(--ease) both;animation-delay:calc(300ms + var(--b,0) * 60ms)}
@keyframes dxBar{from{transform:scaleY(0)}}
.dx-doc{display:flex;align-items:center;gap:10px;margin-top:10px;padding:8px 11px;border-radius:11px;border:1px dashed var(--line-strong)}
.dx-doc svg{flex:none;width:30px;height:30px;padding:6px;border-radius:9px;background:var(--aqua-08);fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dx-doc__t{display:flex;flex-direction:column;min-width:0;margin-right:auto;font-size:.88rem;font-weight:600;line-height:1.4}
.dx-doc small{font-size:.76rem;font-weight:500;color:var(--muted)}
/* view 4, the money log: every row is locked; a pointer tries to change one and the row refuses */
.dx-led__row{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 4px 10px 6px;border-bottom:1px solid var(--line)}
.dx-led__row:last-child{border-bottom:0}
.dx-led__t{font-size:.76rem;color:var(--muted)}
.dx-led__d{display:flex;flex-direction:column;min-width:0;font-size:.93rem;font-weight:500;line-height:1.4}
.dx-led__d small{font:600 .7rem/1.5 var(--font-data);color:var(--muted)}
.dx-led__a{font-size:.98rem}
.dx-led__a--in{color:var(--ok)}
.dx-led__lock{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dx-led__foot{display:flex;align-items:center;gap:8px;margin-top:8px;padding:7px 10px;border-radius:10px;background:var(--green-16);font-size:.84rem;font-weight:600;color:var(--ok)}
.dx-led__foot svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* the pointer's tip (its svg's top-left) lands on the amount: 67px from the row's right edge = padding + lock + gap + half the amount */
.dx-ptr{position:absolute;right:45px;top:50%;z-index:2;width:22px;height:22px;opacity:0;pointer-events:none;overflow:visible;fill:var(--fg);stroke:var(--bg);stroke-width:1.5;stroke-linejoin:round}
.dx-ptr__ring{position:absolute;right:59px;top:calc(50% - 8px);z-index:2;width:16px;height:16px;border-radius:50%;border:2px solid var(--danger);opacity:0;pointer-events:none}
.dx-toast{position:absolute;right:4px;bottom:calc(100% - 4px);z-index:3;display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:9px;border:1px solid var(--danger);background:var(--tile-2);box-shadow:0 10px 24px -14px var(--shadow);font-size:.78rem;font-weight:600;color:var(--danger);white-space:nowrap;opacity:0;pointer-events:none}
.dx-v.is-play .dx-ptr{animation:dxPtr 2.4s var(--ease) .8s both}
.dx-v.is-play .dx-ptr__ring{animation:dxClick .6s ease-out 2.25s forwards} /* not backwards: its first frame is the visible one */
.dx-v.is-play .dx-led__row--try{animation:dxRow .5s var(--ease) both,dxShake .45s ease 2.4s;animation-delay:calc(120ms + var(--r,0) * 75ms),2.4s}
.dx-v.is-play .dx-led__row--try .dx-led__lock{animation:dxLock 1.4s ease 2.4s both}
.dx-v.is-play .dx-toast{animation:dxToast 3.4s var(--ease) 2.5s both}
@keyframes dxPtr{0%{opacity:0;translate:70px 60px}20%{opacity:1}60%,72%{opacity:1;translate:0 0}80%{translate:0 0;scale:.85}88%{scale:1}100%{opacity:0;translate:10px 18px}}
@keyframes dxClick{from{opacity:1;scale:.4}to{opacity:0;scale:2.2}}
@keyframes dxShake{0%,100%{translate:0 0}20%{translate:-6px 0}40%{translate:5px 0}60%{translate:-3px 0}80%{translate:2px 0}}
@keyframes dxLock{0%,100%{stroke:var(--muted);scale:1}25%,60%{stroke:var(--danger);scale:1.3}}
@keyframes dxToast{0%{opacity:0;translate:0 6px}12%,82%{opacity:1;translate:0 0}100%{opacity:0;translate:0 -4px}}
/* foot: what happens next */
.dx__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:14px clamp(16px,3vw,34px) calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--veil)}
.dx__foot p{min-width:0;flex:1 1 300px;font-size:var(--fs-sm);color:var(--muted)}
.dx__cta{display:flex;flex-wrap:wrap;gap:10px}
.dx__cta .pm{font-size:.94em}
/* phones: the button spans the row (the wordmark drops out) so the sheet keeps its height for the screen */
@media (max-width:599px){.dx__foot{padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.dx__foot p{display:none}.dx__cta{display:grid;width:100%}.dx__cta .pm{display:none}}
/* entrance: the parts rise one after another while the panel opens (round 47: the heading no longer rises word by word) */
.dx.is-in [data-in]{animation:dxRise .65s var(--ease) both;animation-delay:calc(260ms + var(--i,0) * 70ms)}
@keyframes dxRise{from{opacity:0;translate:0 16px}}
.dx.is-in .dx__mark img{animation:dxMark .9s var(--ease) .25s both}
@keyframes dxMark{from{opacity:0;scale:.5;rotate:-30deg}}
.dx.is-out .dx__main,.dx.is-out .dx__foot,.dx.is-out .dx__bar{opacity:0;transition:opacity .16s ease}
/* the card's way in */
.pc__open{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 15px 0 6px;border-radius:999px;border:1px solid var(--green-35);background:var(--green-16);font-family:var(--font-display);font-weight:500;font-size:var(--fs-sm);line-height:1.3;color:var(--fg);transition:border-color .2s,box-shadow .3s}
.pc__open[hidden]{display:none}
.pc__open svg{flex:none;width:30px;height:30px;padding:6px;border-radius:50%;background:var(--tile);fill:none;stroke:var(--ok);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.pc__open svg path{transition:translate .35s var(--ease)}
.pc__open:hover{border-color:var(--ok);box-shadow:0 10px 26px -12px var(--glow-green)}
.pc__open:hover .c1{translate:-1.5px -1.5px}.pc__open:hover .c2{translate:1.5px -1.5px}.pc__open:hover .c3{translate:1.5px 1.5px}.pc__open:hover .c4{translate:-1.5px 1.5px}

/* ---------- products: every product is on the page at once, grouped by kind of business; the filter only narrows it.
   Round 6 dropped the pinned scroll story: visitors had to keep scrolling to reveal products. ---------- */
.prod-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 28px;margin:0 0 8px}
.filt{display:flex;flex-wrap:wrap;gap:8px}
.filt[hidden]{display:none} /* without JS every group simply shows */
.filt button{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 8px 0 18px;border-radius:999px;border:1px solid var(--line-strong);background:var(--tile);font-family:var(--font-display);font-weight:500;font-size:var(--fs-sm);line-height:1.3;color:var(--muted);transition:color .2s,background-color .25s,border-color .2s,box-shadow .3s}
.filt button .num{display:grid;place-items:center;min-width:30px;height:30px;padding:0 9px;border-radius:999px;background:var(--aqua-08);font-size:var(--fs-xs);color:var(--fg);transition:background-color .25s,color .25s}
.filt button:hover{color:var(--fg);border-color:var(--aqua-55)}
.filt button[aria-pressed="true"]{color:var(--ink);background:var(--grad);border-color:transparent;box-shadow:0 10px 26px -12px var(--glow-aqua)}
.filt button[aria-pressed="true"] .num{background:rgba(4,18,28,.14);color:var(--ink)}
.pkey{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:var(--fs-sm);color:var(--muted)}
.pkey>span{display:inline-flex;align-items:center;gap:8px}
.pgroup{margin-top:44px;scroll-margin-top:calc(var(--nav-h) + 16px)}
.pgroup[hidden]{display:none}
.pgroup__h{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin:0 0 18px -14px;padding:8px 0 8px 14px;border-radius:12px;background:linear-gradient(90deg,var(--veil),var(--veil) 45%,var(--veil-0) 85%);font-size:var(--fs-h3)} /* round 58: full width, for the line (pad and line: see .sec-head) */
.pgroup__h small{order:1;padding:7px 11px;border:1px solid var(--line-strong);border-radius:999px;background:var(--tile-2);font:600 var(--fs-sm)/1 var(--font-body);color:var(--aqua)}
@media (max-width:480px){.pgroup__h{margin-left:-12px;padding-left:12px}}
.pgrid{display:grid;gap:var(--gap);grid-template-columns:1fr}
@media (min-width:640px){.pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.pc--wide{grid-column:1/-1}}
@media (min-width:1100px){.pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.pc--wide{grid-column:span 2}}
.pc{display:flex;flex-direction:column;gap:6px;padding:22px 22px 16px;scroll-margin-top:calc(var(--nav-h) + 24px)}
.pc--live{border-color:var(--green-35);background:radial-gradient(440px 260px at 100% 0%,var(--green-16),transparent 70%),linear-gradient(180deg,var(--tile-2),var(--tile))}
.pc__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
/* round 7: the product's own logo heads the card (it replaced the line icon), and the name below is its wordmark */
.pc__logo{--logo:54px;flex:none;width:var(--logo);height:var(--logo);object-fit:contain;transition:transform .5s var(--ease)}
.pc:hover .pc__logo{transform:scale(1.07) rotate(-4deg)}
.pc.reveal .pc__logo{opacity:0;scale:calc(.6 * var(--pm-k,1))}
.pc.reveal.is-in .pc__logo{opacity:1;scale:var(--pm-k,1);transition:opacity .5s ease calc(var(--rd,0ms) + .3s),scale .9s var(--ease) calc(var(--rd,0ms) + .3s),transform .5s var(--ease)}
.pc__for{font-size:var(--fs-sm);font-weight:600;color:var(--aqua)}
.pc--live .pc__for{color:var(--ok)}
.pc h4{font-size:var(--fs-title)}
.pc__what{font-size:var(--fs-body);font-weight:500;line-height:1.55;color:var(--fg)}
.pc__list{display:grid;gap:7px;margin:8px 0 6px;font-size:var(--fs-sm);line-height:1.55;color:var(--muted)}
.pc__list li{position:relative;padding-left:25px}
.pc__list li::before{content:"";position:absolute;left:1px;top:.32em;width:16px;height:16px;background:var(--aqua);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.9 2.9 6.1-6.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.9 2.9 6.1-6.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.pc--live .pc__list li::before{background:var(--ok)}
@media (min-width:640px){.pc--wide .pc__list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}}
.pc__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;margin-top:auto;padding-top:12px;border-top:1px dashed var(--line-strong)}
.pc__cta{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-left:auto;font-family:var(--font-display);font-weight:500;font-size:var(--fs-body);line-height:1.4;color:var(--aqua);transition:gap .2s,color .2s}
.pc__cta::after{content:"→"}
.pc__cta--ext::after{content:"↗"}
.pc__cta:hover{gap:10px;color:var(--aqua-soft);text-decoration:underline;text-underline-offset:3px}
:root[data-theme="light"] .pc__cta:hover{color:var(--aqua)} /* round 47: --aqua-soft is 3.96:1 on the white tiles */
.pc__more{display:inline-flex;align-items:center;min-height:44px;font-size:var(--fs-sm);color:var(--muted);text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.pc__more:hover{color:var(--aqua)}
/* round 60 ("รองรับ" since round 62): chips row right under the list, the same chips as .svc__eg; the foot keeps margin-top:auto, so feet still line up across a row */
.pc__eg{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:2px 0 4px}
.pc__eg b{margin-right:2px;font:600 var(--fs-sm)/1.5 var(--font-body);color:var(--fg)}
.pc__eg span{padding:1px 10px;border-radius:999px;border:1px solid var(--line);background:var(--well);font-size:var(--fs-sm);line-height:1.6;color:var(--muted)}/* the card a hero entry card or footer link pointed at rings twice once it is on screen */
.pc.is-flash{animation:flash 1.1s var(--ease) 2}
@keyframes flash{0%{box-shadow:0 0 0 0 var(--aqua-55)}100%{box-shadow:0 0 0 18px transparent}}

/* ---------- made to order (round 55). The owner found the custom work hard to see: it was a dashed "not on the list?" strip under the
   products. Now a door in the hero (.hdoor), a menu link and a section of its own (#custom): the builder (.cm), where the visitor turns on
   the parts their work has and a window shows a system made of them, and the signs that a job needs a new system (.cm-fit) ---------- */
/* round 68 (plan 32): the chips of the lines of work without a card, between the business cards and the door. Plain links, 44px tall */
.hero .seg{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:-6px 0 -4px}
.seg__k{margin-right:4px;font-family:var(--font-display);font-weight:500;font-size:var(--fs-sm);color:var(--muted)}
.seg__c{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 18px;border:1px solid var(--line-strong);border-radius:999px;background:var(--tile-2);
  color:var(--fg);font-family:var(--font-display);font-weight:500;font-size:var(--fs-sm);text-decoration:none;transition:border-color .2s,color .2s,transform .2s}
.seg__c::after{content:"›";font-weight:600;color:var(--aqua);transition:transform .2s}
.seg__c:hover{border-color:var(--aqua-55);color:var(--aqua);transform:translateY(-1px)}
.seg__c:hover::after{transform:translateX(3px)}
/* the door, under the hero's business cards: one row from 980px, the chips drop on phones */
.hero .hdoor{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px 22px;padding:18px 20px 18px 18px;border-color:var(--green-35);
  background:radial-gradient(560px 220px at 0% 50%,var(--green-16),transparent 70%),linear-gradient(180deg,var(--tile-2),var(--tile))}
.hdoor__ic{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:16px;background:var(--grad);box-shadow:0 10px 26px -12px var(--glow-green)}
.hdoor__ic svg{width:28px;height:28px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hdoor__txt{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 260px}
.hdoor__k{font-size:var(--fs-sm);font-weight:500;line-height:1.5;color:var(--muted)}
.hdoor__t{font-family:var(--font-display);font-weight:var(--fw-display);font-size:var(--fs-title);line-height:1.3;color:var(--fg);text-wrap:balance}
.hdoor__bits{display:flex;flex-wrap:wrap;gap:6px}
.hdoor__bits span{position:relative;padding:4px 11px;border-radius:999px;border:1px solid var(--line);background:var(--well);font-size:var(--fs-sm);line-height:1.5;color:var(--muted);white-space:nowrap;
  animation:hdBit .5s var(--ease) both;animation-delay:calc(.55s + var(--i,0) * 90ms)}
.hdoor__bits .is-own{border:1px dashed var(--green);background:var(--green-08);color:var(--green);font-weight:500}
@keyframes hdBit{from{opacity:0;transform:translateY(8px) scale(.9)}}
/* the one loop here: a ring leaves "your own" chip now and then (transform and opacity of an HTML box: the GPU's work; paused with the hero) */
:root[data-motion="on"] .hdoor__bits .is-own::after{content:"";position:absolute;inset:-1px;border-radius:inherit;border:1px solid var(--green);opacity:0;pointer-events:none;animation:hdRing 3.2s ease-out 1.6s infinite}
@keyframes hdRing{0%{opacity:.8;transform:none}65%,100%{opacity:0;transform:scale(1.14,1.75)}}
.hdoor__go{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;height:44px;padding:0 14px 0 18px;margin-left:auto;border-radius:999px;border:1px solid var(--line-strong);
  color:var(--aqua);font:500 var(--fs-sm)/1 var(--font-display);white-space:nowrap;transition:transform .3s var(--ease),border-color .3s,color .3s}
.hdoor__go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s var(--ease)}
.hdoor:hover .hdoor__go,.hdoor:focus-visible .hdoor__go{background:var(--grad);border-color:transparent;color:var(--ink)}
.hdoor:hover .hdoor__go svg{translate:0 2px}
.btn--custom{border-color:var(--green-35);background:var(--green-08)} /* the hero's third button: made to order, in the door's green */
.btn--custom svg{color:var(--green)}
.btn--custom:hover{border-color:var(--green);background:var(--green-16)}
@media (max-width:599px){.hero .hdoor{padding:16px;gap:12px 14px}.hdoor__ic{width:46px;height:46px;border-radius:14px}.hdoor__ic svg{width:24px;height:24px}.hdoor__bits{display:none}.hdoor__go{width:100%}}

/* the section */
.cm-defs{position:absolute;width:0;height:0;overflow:hidden}
.cm{display:grid;gap:22px 30px;padding:clamp(20px,3vw,32px);border-color:var(--aqua-30);
  background:radial-gradient(760px 340px at 100% 0%,var(--aqua-08),transparent 70%),linear-gradient(180deg,var(--tile-2),var(--tile))}
@media (min-width:1100px){.cm{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}.cm__src{grid-column:1/-1}}
.cm__pick h3{font-size:var(--fs-title)}
.cm__pick>p{margin-top:6px;color:var(--muted)}
.cm__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.cm-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;border-radius:12px;border:1px solid var(--line-strong);background:var(--well);color:var(--muted);
  font:500 var(--fs-sm)/1.3 var(--font-body);text-align:left;transition:transform .2s}
.cm-chip svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cm-chip .cm-tick{width:18px;height:18px;padding:2px;margin-left:2px;border-radius:50%;border:1.5px solid var(--line-strong);stroke:transparent;stroke-width:3.2}
/* colour fades only under the visitor's hand: during the tour (pointer and focus elsewhere) a colour fade would make the page tick every
   animation on the main thread for its length (measured at 4x slowdown: 6-8 points of a core), so the tour's changes are instant */
.cm:is(:hover,:focus-within) :is(.cm-chip,.cm-tick,.cm__menu li){transition:border-color .25s,background-color .25s,color .25s,stroke .25s,transform .2s}
.cm-chip:hover{border-color:var(--aqua-55);color:var(--fg)}
.cm-chip:active{transform:scale(.97)}
.cm-chip[aria-pressed="true"]{border-color:var(--aqua);background:var(--aqua-14);color:var(--fg)}
.cm-chip[aria-pressed="true"] svg{stroke:var(--aqua)}
.cm-chip[aria-pressed="true"] .cm-tick{background:var(--aqua);border-color:var(--aqua);stroke:var(--bg)}
.cm-chip--own{border-style:dashed;border-color:var(--green-35)}
.cm-chip--own[aria-pressed="true"]{border-color:var(--green);background:var(--green-16)}
.cm-chip--own[aria-pressed="true"] svg{stroke:var(--green)}
.cm-chip--own[aria-pressed="true"] .cm-tick{background:var(--green);border-color:var(--green);stroke:var(--bg)}
html:not(.js) .cm-chip{pointer-events:none} /* without the script the buttons only show the example */
/* the window: title bar, the menu of the parts that are on, the part last touched open on the right */
.cm__win{align-self:start;border:1px solid var(--line-strong);border-radius:14px;background:var(--well);overflow:hidden;box-shadow:0 26px 50px -34px var(--shadow)}
.cm__bar{display:flex;align-items:center;gap:6px;min-height:40px;padding:6px 12px;border-bottom:1px solid var(--line);background:var(--tile-2)}
.cm__bar i{flex:none;width:9px;height:9px;border-radius:50%;background:var(--line-strong)}
.cm__name{margin-left:8px;font:600 .84rem/1.4 var(--font-data);color:var(--fg)}
.cm__eg{margin-left:auto;padding:2px 10px;border-radius:999px;border:1px solid var(--green-35);background:var(--green-16);font-size:.8rem;line-height:1.5;color:var(--fg);white-space:nowrap}
.cm__body{display:grid;grid-template-columns:minmax(0,15fr) minmax(0,19fr);min-height:330px}
.cm__menu{display:flex;flex-direction:column;gap:3px;padding:10px;border-right:1px solid var(--line)}
.cm__menu li{display:flex;align-items:center;gap:9px;min-height:32px;padding:5px 9px;border-radius:9px;font-size:.87rem;line-height:1.35;color:var(--muted)}
.cm__menu li[hidden]{display:none}
.cm__menu svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cm__menu li.is-cur{background:var(--aqua-14);color:var(--fg)}
.cm__menu .is-own{border:1px dashed var(--green-35);color:var(--fg)}
.cm__menu .is-own svg{stroke:var(--green)}
.cm__menu .is-own b{margin-left:auto;padding:1px 7px;border-radius:6px;background:var(--green-16);font:600 .72rem/1.4 var(--font-body);color:var(--green)}
.cm__menu .is-own.is-cur{background:var(--green-16)}
.cm__menu .cm__empty{color:var(--muted);font-style:normal}
.cm__main{display:flex;flex-direction:column;gap:12px;min-width:0;padding:14px 16px}
.cm__h{display:flex;align-items:center;gap:8px;min-height:28px;font:600 1rem/1.35 var(--font-display);color:var(--fg)}
.cm__h svg{flex:none;width:22px;height:22px;fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cm__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cm__stats i{height:58px;border-radius:9px;border:1px solid var(--line);
  background:linear-gradient(var(--aqua-30),var(--aqua-30)) 10px 12px/42% 6px no-repeat,linear-gradient(var(--line-strong),var(--line-strong)) 10px 30px/64% 12px no-repeat,var(--tile-2)}
.cm__rows{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:9px;border:1px solid var(--line);background:var(--tile-2)}
.cm__rows i{height:9px;border-radius:5px;background:var(--line)}
.cm__rows i:nth-child(1){background:var(--line-strong)}
.cm__rows i:nth-child(2){width:86%}.cm__rows i:nth-child(3){width:93%}.cm__rows i:nth-child(4){width:72%}.cm__rows i:nth-child(5){width:81%}
.cm__chart{flex:1;display:flex;align-items:flex-end;gap:8px;min-height:64px;padding:12px 12px 10px;border-radius:9px;border:1px solid var(--line);background:var(--tile-2)}
.cm__chart i{flex:1;height:calc(var(--h) * 100%);min-height:8px;border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,var(--aqua-55),var(--aqua-14))}
.cm__chart i:nth-child(6){background:linear-gradient(180deg,var(--green),var(--green-16))}
.cm__main.is-own .cm__h svg{stroke:var(--green)}
.cm__main.is-own .cm__stats i{border-style:dashed;border-color:var(--green-35);background:linear-gradient(var(--green-35),var(--green-35)) 10px 12px/42% 6px no-repeat,linear-gradient(var(--line-strong),var(--line-strong)) 10px 30px/64% 12px no-repeat,var(--tile-2)}
/* phones: two buttons a row (no leading icon, the label may wrap), the menu in two columns tall enough for any example (3 rows), the open
   part shows its heading and figures only */
@media (max-width:599px){
  .cm{padding:18px 16px}
  .cm__chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:14px}
  .cm-chip{justify-content:space-between;padding:6px 8px 6px 10px;font-size:var(--fs-sm);line-height:1.3}
  .cm-chip svg:not(.cm-tick){display:none}
  .cm-chip .cm-tick{order:2}
  .cm__body{grid-template-columns:1fr;min-height:0}
  .cm__menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(40px,auto);align-content:start;min-height:146px;border-right:0;border-bottom:1px solid var(--line)}
  .cm__menu li{font-size:.84rem}
  .cm__stats i{height:46px}
  .cm__rows,.cm__chart{display:none}
}
@media (max-width:374px){.cm__menu{grid-template-columns:1fr;min-height:232px}.cm__bar i{display:none}.cm__name{margin-left:0;white-space:nowrap}}
/* the row of our products the parts come from: those the parts that are on use are lit */
.cm__src{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding-top:16px;border-top:1px dashed var(--line-strong);font-size:var(--fs-sm);color:var(--muted)}
.cm__src-k{flex-basis:100%}
@media (min-width:1100px){.cm__src-k{flex-basis:auto;margin-right:4px}}
.cm__src .pm{--logo:22px;font-size:.92rem;transition:opacity .35s}
.cm__src .is-off{opacity:.3}
.cm__own{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-weight:500;transition:opacity .35s}
.cm__own svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* signs that a job needs a new system, and the way in */
.cm-fit{display:grid;gap:20px 36px;align-items:center;padding:clamp(20px,3vw,32px)}
@media (min-width:980px){.cm-fit{grid-template-columns:minmax(0,1fr) auto}}
.cm-fit h3{font-size:var(--fs-title)}
.cm-fit__list{display:grid;gap:10px 28px;margin-top:14px}
@media (min-width:700px){.cm-fit__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cm-fit__list li{position:relative;padding-left:32px;line-height:1.55;text-wrap:pretty} /* round 56: no lone word on the last line */
.cm-fit__list li::before{content:"";position:absolute;left:0;top:.15em;width:22px;height:22px;border-radius:50%;border:1px solid var(--aqua-30);background:var(--aqua-14)}
.cm-fit__list li::after{content:"";position:absolute;left:8px;top:calc(.15em + 5px);width:5px;height:9px;border:solid var(--aqua);border-width:0 2px 2px 0;transform:rotate(45deg)}
.cm-fit__note{margin-top:16px;color:var(--muted)}
.cm-fit__cta{display:flex;flex-direction:column;gap:10px}
.cm-how svg{transition:translate .3s var(--ease)}
.cm-how:hover svg{translate:0 2px}
@media (max-width:979px){.cm-fit__cta{flex-direction:row;flex-wrap:wrap}}
@media (max-width:599px){.cm-fit__cta .btn{width:100%}}

/* ---------- why (round 26): six reasons, three a row. Each card opens with a small stage that shows the reason at work in three beats.
   It runs on the services stage engine below (class svc + data-svc, JS 3c) without the caption bar: the heading under the stage says it in words.
   .wy-* are the parts only these stages use; the shared ones (.pp .sc .ok .nd .tr .pl ...) are in the services block. ---------- */
.why{grid-template-columns:1fr}
@media (min-width:640px){.why{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.why{grid-template-columns:repeat(3,minmax(0,1fr))}}
.why .svc h3{font-size:var(--fs-title)}
/* static tag line: the cards are not links, so no hover cue. A ring, then plain Thai examples (no tracking or caps) or product names */
.why__more{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:auto;padding-top:12px;border-top:1px dashed var(--line-strong);font:500 var(--fs-sm)/1.5 var(--font-body);color:var(--muted)}
.why__more::before{content:"";flex:none;width:9px;height:9px;margin-right:-4px;border-radius:50%;border:2px solid var(--aqua-55)}
.why__more .pm{--logo:20px;font-size:.84rem} /* round 59: gap 12 → 10px, so MaxOS's drawn name (4.6px wider than the old text) stays on the first line at 390px */
@keyframes redraw{from{stroke-dashoffset:1}} /* the "not on the list?" icon and the form tick */
.svs .wy-tx{fill:var(--muted);stroke:none;font:600 9.5px var(--font-body);text-anchor:middle} /* small Thai labels in the picture */
.svs .wy-tx--a{fill:var(--aqua)}

/* 01 proven: two live systems -> their parts move into the outline of your system -> your own part goes in, and it is done */
.svs .wy-live{fill:var(--ok);stroke:none;font:700 7px var(--font-data);letter-spacing:.08em;text-anchor:end}
.svs .wy-spark{stroke:var(--aqua);stroke-width:1.5}
.svs .wy-ghost{stroke:var(--line-strong);stroke-width:1.5;stroke-dasharray:4 4}
.svs .wy-slot{stroke:var(--line);stroke-width:1.2;stroke-dasharray:3 3}
.svs .wy-mb{fill:var(--aqua-14);stroke:var(--aqua-55);stroke-width:1.3}
.svs .wy-ml{stroke:var(--aqua);stroke-width:2}
.svs .wy-own .wy-mb{fill:var(--green-16);stroke:var(--green)}
.svs .wy-own .wy-ml{stroke:var(--green);stroke-width:1.5}
.wy-mod{transform:translate(var(--x),var(--y))} /* drawn at 0,0; the still picture keeps it in its slot */
.svc[data-beat="2"] .wy-mod{animation:wyMod 1.3s var(--ease) var(--d,0s) both}
@keyframes wyMod{0%{transform:translate(var(--fx),var(--fy)) scale(.3);opacity:0}15%{opacity:1}100%{transform:translate(var(--x),var(--y)) scale(1);opacity:1}}

/* 02 direct: the usual way crawls through three desks and waits -> crossed out, a straight line takes the message to the people who build it -> the answer comes back */
.svs .wy-hop{stroke:var(--line-strong);stroke-width:1.5;stroke-dasharray:3 4}
.svs .wy-hn{fill:var(--tile-2);stroke:var(--line-strong);stroke-width:1.3}
.svs .wy-hp{stroke:var(--muted);stroke-width:1.3}
.wy-hops{transition:opacity .5s ease}
.svc:is(:not([data-beat]),[data-beat="2"],[data-beat="3"],[data-beat="r"]) .wy-hops{opacity:.4}
.svs .wy-slow{fill:var(--muted);stroke:none;transform:translate(60px,30px)}
.svc[data-beat="1"] .wy-slow{animation:wySlow 2.6s ease-in-out both}
@keyframes wySlow{0%{transform:translate(60px,30px)}22%{transform:translate(104px,12px)}34%,54%{transform:translate(120px,12px)}74%,100%{transform:translate(150px,12px)}}
.svs .wy-no{fill:var(--tile-2);stroke:var(--warn);stroke-width:1.4}
.svs .wy-nox{stroke:var(--warn);stroke-width:1.8}
.svs .wy-pkt rect{fill:var(--tile-2);stroke:var(--aqua);stroke-width:1.4}
.svs .wy-pkt path{stroke:var(--aqua);stroke-width:1.2}
.svc[data-beat="2"] .wy-pkt{animation:wyPkt 1.5s var(--ease) .55s both}
@keyframes wyPkt{0%{transform:translate(90px,45px);opacity:0}12%{opacity:1}72%{transform:translate(210px,45px);opacity:1}88%,100%{transform:translate(210px,45px);opacity:0}}
.svs .wy-scr{fill:var(--aqua-14);stroke:none;opacity:0}
.svc[data-beat="2"] .wy-scr{animation:wyFlash .8s ease 1.6s both}
@keyframes wyFlash{0%,100%{opacity:0}35%{opacity:1}}
.svs .wy-rt{fill:var(--ok);stroke:none;font:600 9px var(--font-body)}

/* 03 price: the quote fills in (scope, time, price) -> each line ticked, then stamped "ตกลงแล้ว" -> only then the work starts, on plan */
.svs .wy-blank{stroke:var(--line-strong);stroke-width:2;stroke-dasharray:2 4}
.svs .wy-ic{stroke:var(--muted);stroke-width:1.4}
.svs .wy-baht{fill:var(--muted);stroke:none;font:700 10px var(--font-display);text-anchor:middle}
.svs .wy-st{fill:var(--green-16);stroke:var(--green);stroke-width:1.4}
.svs .wy-stt{fill:var(--green);stroke:none;font:700 8.5px var(--font-body);text-anchor:middle}
.wy-stamp{transform-box:fill-box;transform-origin:center;rotate:-6deg}
.svc[data-beat="2"] .wy-stamp{animation:wyStamp .45s cubic-bezier(.3,1.5,.5,1) var(--d,0s) both}
@keyframes wyStamp{from{transform:scale(1.9);opacity:0}to{transform:scale(1);opacity:1}}

/* 04 PDPA: consent is ticked before anything is filled in -> a staff login sees the ID masked and locked -> each change goes into a chained log with its time */
.svs .wy-av{fill:var(--aqua-08);stroke:var(--line-strong);stroke-width:1.3}
.svs .wy-div{stroke:var(--line);stroke-width:1}
.svs .wy-box{fill:var(--tile-2);stroke:var(--line-strong);stroke-width:1.3}
.svs .wy-boxon{fill:var(--green-16);stroke:var(--ok);stroke-width:1.3}
.svs .wy-tick{stroke:var(--ok);stroke-width:1.6;stroke-dasharray:1}
.svs .wy-mask{fill:var(--muted);stroke:none}
.svs .wy-lk{fill:var(--aqua-14);stroke:var(--aqua);stroke-width:1.4}
.svs .wy-sweep{fill:var(--aqua-30);stroke:none;opacity:0}
.svc[data-beat="2"] .wy-sweep{animation:wySweep .8s ease-in-out .3s both}
@keyframes wySweep{0%{transform:translateX(0);opacity:0}15%,80%{opacity:1}100%{transform:translateX(66px);opacity:0}}
.svs .wy-chip{fill:var(--tile-2);stroke:var(--aqua-30);stroke-width:1.2}
.svs .wy-ct{fill:var(--fg);stroke:none;font:600 8.5px var(--font-body)}
.svs .wy-time{fill:var(--muted);stroke:none;font:600 8px var(--font-data);text-anchor:end}
.svs .wy-time--a{fill:var(--aqua)}
.svs .wy-edit{stroke:var(--line-strong);stroke-width:3}
.svc[data-beat="3"] .wy-edit{animation:wyEdit 1s ease .25s both}
@keyframes wyEdit{0%,100%{stroke:var(--line-strong)}30%,70%{stroke:var(--aqua)}}

/* 05 connect: the new system sets down beside the old one -> a two-way link, the old one keeps working -> LINE, PromptPay and the ID card reader plug into the new one */
.svs .wy-grid{stroke:var(--line-strong);stroke-width:1}
.svs .wy-cell{fill:var(--aqua-14);stroke:none;opacity:0}
.svc[data-beat="2"] .wy-cell{animation:wyFlash 1.3s ease-in-out .8s infinite}
.svs .wy-line{fill:var(--green);stroke:none;font:800 7.5px var(--font-label);letter-spacing:.04em;text-anchor:middle}

/* 06 care: the team learns until the bar is full -> handed over, and the line goes on -> backup, update and watching come round again and again */
.svs .wy-track{stroke:var(--line-strong);stroke-width:2}
.svs .wy-more{stroke:var(--line-strong);stroke-width:2.6;stroke-dasharray:.1 6}
.svs .wy-run{stroke:var(--aqua);stroke-width:2.4;stroke-dasharray:1}
.svc[data-beat="1"] .wy-run1{animation:draw 1.9s linear .2s both}
.svs .wy-bar0{fill:var(--line);stroke:none}
.svs .wy-learn{fill:var(--aqua-55);stroke:none;transform-box:fill-box;transform-origin:0 50%}
.svc[data-beat="1"] .wy-learn{animation:baGrow 1.8s var(--ease) .3s both}
.svs .wy-pole{stroke:var(--muted);stroke-width:1.6}
.svs .wy-flag{fill:var(--green-16);stroke:var(--green);stroke-width:1.4}
.svs .wy-ci{stroke:var(--aqua);stroke-width:1.4}
.svs .wy-ping{stroke:var(--aqua-55);stroke-width:1.5;opacity:0;transform-box:fill-box;transform-origin:center}
.svc[data-beat="3"] .wy-ping{animation:mPing 2.4s ease-out infinite;animation-delay:calc(.3s + var(--i) * .6s)}

/* ---------- services (round 25): four cards in the order a job runs (consult -> build -> connect -> care) ----------
   Each card opens with a stage that tells the service in three beats: story bars on top fill beat by beat, the caption under the picture says what is happening.
   JS cycles data-beat on the card: w (wait) -> 1 -> 2 -> 3 -> r (fade) -> 1 ... Only while on screen, in a front tab, and not while the pointer rests on the stage.
   .eN = enters in beat N and stays; .uN = there until the end of beat N. Entrance kind: .pop (scale) · .dr (draw, pathLength=1) · .fd (fade) · .gr (grow from the left) · .up (grow up) · .sl (slide).
   No JS or reduced motion: no data-beat, so the stage keeps the finished picture with every bar full and the last caption.
   The why cards (round 26) run on this engine too, with a stage but no foot bar. */
.services{grid-template-columns:1fr}
@media (min-width:720px){.services{grid-template-columns:repeat(2,minmax(0,1fr))}}
.svc{display:flex;flex-direction:column;scroll-margin-top:calc(var(--nav-h) + 24px)}
.svc__code{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;font:600 var(--fs-xs)/1.5 var(--font-data);letter-spacing:.14em;color:var(--muted)}
/* round 27: which steps of "how we work" the service is part of (links down to them; they ring) */
.svc__at{position:relative;display:inline-flex;align-items:center;gap:5px;padding:2px 8px 2px 11px;border-radius:999px;border:1px solid var(--aqua-30);background:var(--aqua-08);font:500 var(--fs-xs)/1.5 var(--font-body);letter-spacing:0;color:var(--fg);text-decoration:none;transition:border-color .2s,background-color .2s}
.svc__at svg{flex:none;width:13px;height:13px;fill:none;stroke:var(--aqua);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s var(--ease)}
.svc__at:hover{border-color:var(--aqua-55);background:var(--aqua-14)}
.svc__at:hover svg{translate:0 2px}
.svc__at::after,.svc-tag::after{content:"";position:absolute;inset:-10px -3px} /* round 47: a 44px tall target round the small tag */
.svc:last-child .svc__at{border-color:var(--green-35);background:var(--green-16)}
.svc:last-child .svc__at svg{stroke:var(--green)}
.svc.is-flash{animation:flash 1.1s var(--ease) 2}
.svc h3{font-size:var(--fs-title)}
.svc h3+p{color:var(--muted);margin:6px 0 16px}
/* what the card covers, in plain words: a dashed rule like the why cards, then small pills */
.svc__eg{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:auto;padding-top:12px;border-top:1px dashed var(--line-strong)}
.svc__eg b{margin-right:2px;font:600 var(--fs-sm)/1.5 var(--font-body);color:var(--fg)}
.svc__eg span{padding:1px 10px;border-radius:999px;border:1px solid var(--line);background:var(--well);font-size:var(--fs-sm);line-height:1.6;color:var(--muted)}

/* the stage: the drawing, then a foot bar with the caption (what is happening) and the story bars (how far along) */
.svs{position:relative;margin:-6px -6px 18px;overflow:hidden;border-radius:12px;border:1px solid var(--line);
  background:radial-gradient(70% 100% at 60% 40%,var(--aqua-08),transparent 72%),radial-gradient(circle,var(--line) 1px,transparent 1.5px) 0 0/12px 12px,var(--bg);transition:border-color .3s ease}
.svc:hover .svs{border-color:var(--line-strong)}
.svs svg{display:block;width:100%;height:auto;aspect-ratio:300/104;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;transition:opacity .45s ease}
.svs__foot{display:flex;align-items:center;gap:14px;padding:8px 12px 9px 9px;border-top:1px solid var(--line);background:var(--veil)}
/* caption: the three lines share one grid cell, so it keeps the width of the longest and only the words change */
.svs__cap{display:grid;min-width:0;font-size:var(--fs-sm);font-weight:600;line-height:1.5;color:var(--fg)}
.svs__c{grid-area:1/1;display:flex;align-items:center;gap:8px;white-space:nowrap;opacity:0;translate:0 .4em;transition:opacity .35s ease,translate .35s var(--ease)}
.svs__c::before{content:attr(data-n);flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--aqua-14);color:var(--aqua);font:600 var(--fs-xs)/1 var(--font-data)}
.svs__c[data-n="3"]::before{background:var(--green-16);color:var(--green)}
.svc:is([data-beat="w"],[data-beat="1"]) .svs__c[data-n="1"],.svc[data-beat="2"] .svs__c[data-n="2"],
.svc:is(:not([data-beat]),[data-beat="3"],[data-beat="r"]) .svs__c[data-n="3"]{opacity:1;translate:0 0}
.svs__bar{flex:1;max-width:190px;margin-left:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;transition:opacity .4s ease}
.svs__bar i{position:relative;height:3px;border-radius:3px;background:var(--line-strong);overflow:hidden}
.svs__bar i::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,var(--aqua),var(--green));transform-origin:0 50%}
.svc[data-beat="w"] .svs__bar i::after,.svc[data-beat="1"] .svs__bar i:nth-child(n+2)::after,.svc[data-beat="2"] .svs__bar i:nth-child(3)::after{transform:scaleX(0)}
.svc[data-beat="1"] .svs__bar i:nth-child(1)::after,.svc[data-beat="2"] .svs__bar i:nth-child(2)::after,.svc[data-beat="3"] .svs__bar i:nth-child(3)::after{animation:svFill var(--bt,3s) linear both}
.svc[data-beat="r"] .svs__bar{opacity:0}
@keyframes svFill{from{transform:scaleX(0)}}
.svc.is-paused .svs *,.svc.is-paused .svs__bar i::after{animation-play-state:paused !important} /* off screen, background tab, pointer on the stage */

/* beat states */
.svc[data-beat="w"] :is(.e1,.e2,.e3),.svc[data-beat="1"] :is(.e2,.e3),.svc[data-beat="2"] .e3{opacity:0}
.svs :is(.u1,.u2){transition:opacity .4s ease}
.svc:is(:not([data-beat]),[data-beat="2"],[data-beat="3"],[data-beat="r"]) .u1,.svc:is(:not([data-beat]),[data-beat="3"],[data-beat="r"]) .u2{opacity:0}
.svc[data-beat="r"] .svs svg{opacity:0}
.svs :is(.pop,.gr,.up){transform-box:fill-box;transform-origin:center}
.svs .gr{transform-origin:0 50%}
.svs .up{transform-origin:50% 100%}
.svs .dr{stroke-dasharray:1}
:is(.svc[data-beat="1"] .e1,.svc[data-beat="2"] .e2,.svc[data-beat="3"] .e3).pop{animation:baPop .45s var(--ease) var(--d,0s) both}
:is(.svc[data-beat="1"] .e1,.svc[data-beat="2"] .e2,.svc[data-beat="3"] .e3).dr{animation:draw .8s var(--ease) var(--d,0s) both}
:is(.svc[data-beat="1"] .e1,.svc[data-beat="2"] .e2,.svc[data-beat="3"] .e3).fd{animation:svFade .5s ease var(--d,0s) both}
:is(.svc[data-beat="1"] .e1,.svc[data-beat="2"] .e2,.svc[data-beat="3"] .e3).gr{animation:baGrow .5s var(--ease) var(--d,0s) both}
:is(.svc[data-beat="1"] .e1,.svc[data-beat="2"] .e2,.svc[data-beat="3"] .e3).up{animation:svUp .5s var(--ease) var(--d,0s) both}
:is(.svc[data-beat="1"] .e1,.svc[data-beat="2"] .e2,.svc[data-beat="3"] .e3).sl{animation:baSlide .55s var(--ease) var(--d,0s) both}
@keyframes svFade{from{opacity:0}}
@keyframes svUp{from{transform:scaleY(0)}}
/* pulses along a trace: .p1 / .p2 / .p3 run from that beat on; none in the still picture */
.svs .pl{stroke:var(--spark);stroke-width:2.6;stroke-dasharray:.12 1.3;stroke-dashoffset:.12}
.svc:is([data-beat="1"],[data-beat="2"],[data-beat="3"]) .pl.p1,.svc:is([data-beat="2"],[data-beat="3"]) .pl.p2,.svc[data-beat="3"] .pl.p3{animation:svPulse 1.8s linear var(--d,0s) infinite}
.svc:not([data-beat]) .svs .pl{display:none}
@keyframes svPulse{from{stroke-dashoffset:.12}to{stroke-dashoffset:-1}}
/* parts (drawn on 300 x 130, the viewBox shows y 10-114) */
.svs .pp{fill:var(--tile-2);stroke:var(--line-strong);stroke-width:1.5;transition:stroke .5s ease} /* what the customer has today */
.svs .ln{stroke:var(--line-strong);stroke-width:3}
.svs .mu{stroke:var(--muted);stroke-width:1.2}
.svs .dt{fill:var(--line-strong);stroke:none}
.svs .sc{fill:var(--tile-2);stroke:var(--aqua-55);stroke-width:1.5}                       /* what we bring */
.svs .sc2{fill:var(--aqua-08);stroke:var(--aqua-30);stroke-width:1.2}
.svs .f1{fill:var(--aqua-14);stroke:none}
.svs .aq{stroke:var(--aqua)}
.svs .a3{stroke:var(--aqua-30);stroke-width:1.5}
.svs .tr{stroke:var(--aqua-55)}
.svs .nd{fill:var(--bg);stroke:var(--aqua);stroke-width:1.6}
.svs .ok circle{fill:var(--green-16);stroke:var(--ok);stroke-width:1.6}
.svs .ok path{stroke:var(--ok);stroke-width:2}
.svs .ok .okl{stroke:var(--green-35);stroke-width:3}

/* 01 consult: four tools tied by crossed lines -> the snags light up under the lens -> clean lines and a plan with a budget */
.svs .tg{stroke:var(--line-strong);stroke-width:1.6;transition:stroke .5s ease}
.svc[data-beat="2"] .svs .tg{stroke:var(--warn-35)}
.svc:is(:not([data-beat]),[data-beat="3"],[data-beat="r"]) .c-node .pp{stroke:var(--aqua-55)}
.svs .c-dot{fill:var(--line-strong);stroke:none}
.svs .c-key{stroke:var(--line-strong);stroke-width:2.6}
.svc[data-beat="1"] .c-dot{animation:cDot .9s ease-in-out infinite;animation-delay:calc(.5s + var(--i) * .15s)}
@keyframes cDot{50%{fill:var(--aqua);translate:0 -1.5px}}
.svs .wm{fill:var(--warn-16);stroke:var(--warn);stroke-width:1.5}
.svs .wn{stroke:var(--warn);stroke-width:2}
.svs .lens-g{fill:var(--tile-2);fill-opacity:.5;stroke:none}
.svs .lr{stroke:var(--fg);stroke-width:1.8}
.c-lens{transform:translate(58px,46px)}
.svc[data-beat="2"] .c-lens{animation:cLens 2.4s ease-in-out .15s both}
@keyframes cLens{0%{transform:translate(56px,48px)}35%{transform:translate(73px,62px)}65%,72%{transform:translate(71px,31px)}100%{transform:translate(90px,50px)}}
.svs .hd{stroke:var(--aqua);stroke-width:3}
.svs .gd{stroke:var(--line);stroke-width:1;stroke-dasharray:2 3}
.svs .gb{fill:var(--aqua-55);stroke:none}
.svs .gb--g{fill:var(--green)}
.svs .coin{fill:var(--green-16);stroke:var(--green);stroke-width:1.5}
.svs .coin-t{fill:var(--green);stroke:none;font:700 11px var(--font-display);text-anchor:middle}

/* 02 build: a pencil sketches the screen -> code types in and the screen fills -> tests pass, the chart comes alive */
.svs .wf{stroke:var(--line-strong);stroke-width:1.3;stroke-dasharray:3 3}
.svs .pen{fill:var(--tile-2);stroke:var(--fg);stroke-width:1.3}
.d-pen{transform:translate(141px,63px)}
.svc[data-beat="1"] .d-pen{animation:dPen 2s ease-in-out .1s both}
@keyframes dPen{0%{transform:translate(141px,63px)}30%{transform:translate(220px,41px)}52%{transform:translate(188px,71px)}75%{transform:translate(251px,71px)}100%{transform:translate(264px,86px)}}
.svc:is(:not([data-beat]),[data-beat="2"],[data-beat="3"],[data-beat="r"]) .d-win{stroke:var(--aqua-55)}
.svs .gnl{stroke:var(--green);stroke-width:3}
.svs .fl{stroke:var(--aqua-55);stroke-width:3;stroke-dasharray:.1 10}
.svc:is([data-beat="2"],[data-beat="3"]) .svs .fl{animation:flow .8s linear infinite}
.svs .cb{fill:var(--aqua-55);stroke:none}
.svs .cb--g{fill:var(--green)}

/* 03 connect: each tool gets a trace to the new system -> data runs in by itself -> the old records move over until the bar is full */
.svs .dv{fill:var(--tile-2);stroke:var(--line-strong);stroke-width:1.5}
.svs .bub{fill:var(--green-16);stroke:var(--green-35);stroke-width:1.5}
.svs .bub-l{stroke:var(--green-35);stroke-width:2.6}
.svs .qf{stroke:var(--muted);stroke-width:1.3}
.svs .qd{stroke:var(--muted);stroke-width:2.4}
.svs .n-hub-bg{fill:var(--bg);stroke:none} /* opaque, so the records moving in vanish under the hub */
.svs .n-hub{fill:var(--tile-2);stroke:var(--aqua);stroke-width:1.8}
.svs .vm{stroke:var(--aqua);stroke-width:2.6}
.svs .rw{stroke:var(--aqua);stroke-width:2.6}
.svs .ecg{stroke:var(--aqua-55);stroke-width:1.5}
.svs .n-beat{stroke:var(--spark);stroke-width:2.2;stroke-dasharray:.2 1.2;stroke-dashoffset:.2}
.svc:is([data-beat="2"],[data-beat="3"]) .n-beat{animation:nBeat 1.5s linear infinite}
@keyframes nBeat{to{stroke-dashoffset:-1.2}}
.n-scan{opacity:0}
.svc:is([data-beat="2"],[data-beat="3"]) .n-scan{animation:nScan 1.7s ease-in-out .3s infinite}
@keyframes nScan{0%{transform:translateY(0);opacity:0}15%,85%{opacity:1}100%{transform:translateY(20px);opacity:0}}
.svc:is([data-beat="2"],[data-beat="3"]) .n-card{animation:nCard 2.4s ease-in-out .5s infinite}
@keyframes nCard{0%,100%{transform:translateY(0)}35%,65%{transform:translateY(9px)}}
.svs .n-rec{fill:var(--muted);stroke:none;opacity:0}
.svc[data-beat="3"] .n-rec{animation:nRec 1.1s ease-in infinite;animation-delay:calc(.6s + var(--i) * .37s)}
@keyframes nRec{0%{transform:translateY(0);opacity:0}20%,75%{opacity:1}100%{transform:translateY(-9px);opacity:0}}
.svs .n-prog{stroke:var(--green);stroke-width:2.6;transform-box:fill-box;transform-origin:0 50%}
.svc[data-beat="3"] .n-prog{animation:baGrow 2.3s linear .5s both}

/* 04 care: the heartbeat line watches the server -> at night copies go to the backup -> an update passes the test system before the real one */
.svs .m-night{fill:var(--scrim);stroke:none;opacity:0;transition:opacity .6s ease}
.svc[data-beat="2"] .m-night{opacity:.4}
.svs .ecgl{stroke:var(--aqua-55);stroke-width:1.8}
.svs .m-led{fill:var(--ok);stroke:none}
.svc[data-beat] .m-led{animation:mLed 1.6s steps(1) infinite;animation-delay:calc(var(--i) * -.55s)}
@keyframes mLed{50%{opacity:.3}}
.svs .m-dot{fill:var(--ok);stroke:none}
.svs .m-ping{stroke:var(--ok);stroke-width:1.5;opacity:0;transform-box:fill-box;transform-origin:center}
.svc:is([data-beat="1"],[data-beat="2"],[data-beat="3"]) .m-ping{animation:mPing 1.6s ease-out 1.3s infinite}
@keyframes mPing{from{transform:scale(1);opacity:.8}to{transform:scale(2.6);opacity:0}}
.svs .moon{fill:var(--warn-16);stroke:var(--warn);stroke-width:1.5}
.svs .m-copy{fill:var(--aqua-55);stroke:none;opacity:0}
.svc[data-beat="2"] .m-copy{animation:mCopy 1.2s ease-in-out infinite;animation-delay:calc(.7s + var(--i) * .4s)}
@keyframes mCopy{0%{transform:translate(76px,77px);opacity:0}20%,80%{opacity:1}100%{transform:translate(132px,88px);opacity:0}}
.svs .m-ring{stroke:var(--aqua-55);stroke-width:1.5;stroke-dasharray:3 4;opacity:0;transform-box:fill-box;transform-origin:center}
.svc[data-beat="3"] .m-ring{animation:mRing .75s linear 1s both}
@keyframes mRing{0%{opacity:0;transform:rotate(0)}20%,80%{opacity:1}100%{opacity:0;transform:rotate(300deg)}}
.svs .pk{fill:var(--aqua-14);stroke:var(--aqua);stroke-width:1.5}
.m-pkg{opacity:0}
.svc[data-beat="3"] .m-pkg{animation:mPkg 2.5s ease-in-out .4s both}
@keyframes mPkg{0%{transform:translate(212px,40px);opacity:0}12%{opacity:1}28%,52%{transform:translate(212px,57px);opacity:1}72%,88%{transform:translate(266px,57px);opacity:1}100%{transform:translate(266px,63px);opacity:0}}
/* how we work: four steps joined by one trace; each step ends in what the customer gets from it */
.steps-head{margin:clamp(52px,7vw,80px) 0 14px -18px;padding:10px 0 12px 18px;border-radius:14px;background:linear-gradient(90deg,var(--veil),var(--veil) 45%,var(--veil-0) 85%)} /* veil, as .sec-head; round 58: full width, for the line */
.steps-title{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;font-size:var(--fs-h3)}
.steps-head p{max-width:720px;padding-left:30px;color:var(--muted);font-size:var(--fs-body);margin-top:6px} /* in line with the heading after its pad */
@media (max-width:480px){.steps-head{margin-left:-12px;padding-left:12px}}
.steps{position:relative;display:grid;gap:12px;grid-template-columns:1fr}
/* no JS: one static trace under the tiles (shows in the gaps). With JS it is replaced by the SVG rail below */
.steps::before{content:"";display:none;position:absolute;border-radius:2px;pointer-events:none;background:linear-gradient(90deg,var(--aqua),var(--green))}
.steps.is-flow::before{display:none}
.step{display:flex;flex-direction:column;gap:4px;padding:18px 20px}
.step__n{position:relative;display:grid;place-items:center;width:26px;height:26px;margin-bottom:8px;border-radius:50%;border:2px solid var(--aqua);background:var(--bg);font:600 var(--fs-xs)/1 var(--font-data);color:var(--aqua);transition:border-color .4s,color .4s,box-shadow .4s}
.step:last-child .step__n{border-color:var(--green);color:var(--green)}
.step h4{font-size:var(--fs-title)}
.step p{color:var(--muted);font-size:var(--fs-sm);line-height:1.5;margin-bottom:10px}
/* what the step hands over: a tick chip (the last step's is a loop: care keeps going) */
.step__out{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:auto;padding:3px 11px 3px 7px;border:1px solid var(--aqua-30);border-radius:999px;background:var(--aqua-08);color:var(--fg);font-size:var(--fs-sm);line-height:1.5;transition:color .4s,border-color .4s,background-color .4s}
.step__out svg{flex:none;width:15px;height:15px;fill:none;stroke:var(--aqua);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.step__out path{stroke-dasharray:1;stroke-dashoffset:0}
.step:last-child .step__out{border-color:var(--green-35);background:var(--green-16)}
.step:last-child .step__out svg{stroke:var(--green)}
/* JS (.is-flow): the rail is SVG over the tiles, node edge to node edge, so the run 1 → last reads across the cards.
   A pulse runs it on its own while the list is on screen: steps wait grey, light as the pulse arrives (.is-on), stay lit once passed (.is-done);
   the last one gets a turning orbit (ongoing care), then everything drains and runs again. Reduced motion: drawn full, all lit, no run. */
.steps__rail{position:absolute;inset:0;z-index:2;width:100%;height:100%;overflow:visible;pointer-events:none;opacity:0;transition:opacity .6s ease}
.steps__rail.is-ready{opacity:1}
.steps__rail .tr{fill:none;stroke:var(--line-strong);stroke-width:2;stroke-linecap:round;stroke-dasharray:2 5}
.steps__rail .fl{fill:none;stroke:url(#steps-grad);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:1 1;transition:opacity .6s ease}
.steps.is-drain .steps__rail .fl{opacity:0}
.steps__head{opacity:0;transition:opacity .2s ease}
.steps__rail.is-moving .steps__head{opacity:1}
.steps__head circle:first-child{fill:var(--aqua);opacity:.28}
.steps__head circle:last-child{fill:var(--spark);filter:drop-shadow(0 0 4px var(--aqua))}
.steps.is-flow .step:not(.is-on):not(.is-done) .step__n{border-color:var(--line-strong);color:var(--muted)}
.steps.is-flow .step:not(.is-on):not(.is-done) .step__out{border-style:dashed;border-color:var(--line-strong);background:transparent;color:var(--muted)}
.steps.is-flow .step:not(.is-on):not(.is-done) .step__out path{stroke-dashoffset:1;transition:none}
.steps.is-flow .step__out path{transition:stroke-dashoffset .7s var(--ease) .2s}
.step.is-on .step__n{box-shadow:0 0 0 4px var(--aqua-14),0 0 16px var(--glow-aqua);animation:stPop .55s var(--ease)}
.step.is-on:last-child .step__n{box-shadow:0 0 0 4px var(--green-16),0 0 16px var(--glow-green)}
.step__n::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid var(--aqua);opacity:0;pointer-events:none}
.step:last-child .step__n::after{border-color:var(--green)}
.step.is-on .step__n::after{animation:stPing 1.6s var(--ease) infinite}
.step__n::before{content:"";position:absolute;inset:-7px;border-radius:50%;border:1.5px dashed var(--green);opacity:0;transition:opacity .5s ease;pointer-events:none}
.steps.is-end .step:last-child .step__n::before{opacity:1;animation:stSpin 7s linear infinite}
.steps.is-end .step:last-child .step__out svg{animation:stSpin 2.6s linear infinite}
@keyframes stPop{0%{scale:1}40%{scale:1.28}100%{scale:1}}
@keyframes stPing{0%{opacity:.75;transform:scale(1)}100%{opacity:0;transform:scale(2.1)}}
@keyframes stSpin{to{rotate:360deg}}
@media (min-width:640px){ /* tablets and up: the step being run is the lit card */
  .steps.is-flow .step.is-on{border-color:var(--aqua-55);box-shadow:inset 0 1px 0 var(--hair),0 0 0 1px var(--aqua-30),0 22px 44px -26px var(--glow-aqua)}
  .steps.is-flow .step.is-on:last-child{border-color:var(--green-35);box-shadow:inset 0 1px 0 var(--hair),0 0 0 1px var(--green-35),0 22px 44px -26px var(--glow-green)}
}
@media (max-width:639px){ /* phones: a vertical timeline instead of four cards */
  .steps{gap:0}
  .step.tile{padding:2px 0 22px 46px;border:0;background:none;box-shadow:none;transform:none}
  .step.tile::before,.step.tile::after{content:none}
  .steps:not(.is-flow) .step.tile:not(:last-child)::after{content:"";inset:34px auto 4px 14px;width:2px;border-radius:2px;opacity:1;z-index:0;background:linear-gradient(180deg,var(--aqua),var(--green))} /* no JS: a link from each number down to the next */
  .step__n{position:absolute;left:0;top:0;margin:0;width:30px;height:30px}
  .steps.is-flow .step.is-on h4{color:var(--aqua)}
  .steps.is-flow .step.is-on:last-child h4{color:var(--green)}
}
@media (min-width:640px) and (max-width:999px){ /* tablets: one column of cards, numbers down the left edge on one rail, the chip on the right */
  .step.tile{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;row-gap:4px;align-items:start;padding:18px 22px 18px 66px}
  .step__n{position:absolute;left:20px;top:18px;margin:0}
  .step h4,.step p{grid-column:1}
  .step p{margin:0}
  .step__out,.step__skip{grid-column:2;grid-row:1/span 2;align-self:center;margin:0}
  .step__svc{grid-column:1/-1;margin-top:6px}
}
@media (min-width:1000px){.steps{grid-template-columns:repeat(4,minmax(0,1fr))}
  .steps::before{display:block;left:34px;right:calc(25% - 42px);top:31px;height:2px}}

/* ---------- how we work by kind of job (round 27) ----------
   .howto[data-path] picks the wording: anything with data-for shows only when its list names the kind on show. The picker is the product
   filter's pills with an icon in the count slot (it draws itself when picked). A switch fades the new wording in card by card (--si) and the
   run starts again at step 1. Consult: steps 3-4 (data-skip) go dashed and dim, and the run stops at step 2 under a waving flag.
   Each step ends in the services it uses; the chips light with the step and link up to the service cards. */
.howto{scroll-margin-top:calc(var(--nav-h) + 16px)}
.howto[data-path="ready"] [data-for]:not([data-for~="ready"]),
.howto[data-path="custom"] [data-for]:not([data-for~="custom"]),
.howto[data-path="care"] [data-for]:not([data-for~="care"]),
.howto[data-path="consult"] [data-for]:not([data-for~="consult"]){display:none}
/* JS adds .is-swapped once on load, so from then on only wording that newly shows (display none -> shown restarts it) fades in */
.howto.is-swapped [data-for]{animation:stSwap .5s var(--ease) both;animation-delay:calc(var(--si,0) * 90ms + 60ms)}
@keyframes stSwap{from{opacity:0;translate:0 6px}}
.paths-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:2px 0 12px}
.paths-bar[hidden]{display:none}
.paths-bar__k{font-size:var(--fs-sm);font-weight:500;color:var(--fg)}
.paths button{gap:9px;padding:0 18px 0 8px}
.paths button .num{width:30px;padding:0} /* as specific as .filt button .num */
.paths .num svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.paths .num path{stroke-dasharray:1}
.paths button[aria-pressed="true"] .num path{animation:draw .7s var(--ease) both}
.paths button[aria-pressed="true"] .num path+path{animation-delay:.25s}
@media (max-width:560px){ /* phones: a 2 x 2 grid, so four pills take two rows, not four */
  .paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .paths button{padding:0 10px 0 6px;font-size:var(--fs-sm);white-space:nowrap}
}
@media (max-width:374px){.paths button .num{display:none}.paths button{justify-content:center;padding:0 8px;font-size:var(--fs-sm)}} /* 320-374px: the words need the icon's room */
.paths-note{max-width:780px;margin:0 0 18px;font-size:var(--fs-sm);line-height:1.6;color:var(--muted)}
.paths-note>span::before{content:"";display:inline-block;vertical-align:middle;width:7px;height:7px;margin:-2px 9px 0 2px;border-radius:50%;background:var(--aqua);box-shadow:0 0 8px var(--glow-aqua)}
.paths-note a{color:var(--aqua);text-underline-offset:3px}
/* the services a step uses: small chips under a dashed rule (as on the service cards), lit while the step is */
.step__svc{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;padding-top:10px;border-top:1px dashed var(--line-strong);font-size:var(--fs-xs);color:var(--muted)}
.step__svc>span{margin-right:2px}
.svc-tag{position:relative;display:inline-flex;align-items:center;gap:4px;padding:1px 10px 1px 7px;border-radius:999px;border:1px solid var(--line);background:var(--well);font-size:var(--fs-xs);line-height:1.6;color:var(--muted);text-decoration:none;transition:color .35s,border-color .35s,background-color .35s,box-shadow .35s}
.svc-tag svg{flex:none;width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s var(--ease)}
.svc-tag:hover{color:var(--fg);border-color:var(--aqua-55)}
.svc-tag:hover svg{translate:0 -2px}
.steps:not(.is-flow) .svc-tag,.step.is-done .svc-tag{color:var(--fg);border-color:var(--aqua-30);background:var(--aqua-08)}
.step.is-on .svc-tag{color:var(--fg);border-color:var(--aqua-55);background:var(--aqua-08);box-shadow:0 0 14px -4px var(--glow-aqua)}
.step.is-on:last-child .svc-tag{border-color:var(--green-35);background:var(--green-16);box-shadow:0 0 14px -4px var(--glow-green)}
/* not part of this kind of job (consult: steps 3-4) */
.step__skip{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:auto;padding:3px 11px 3px 8px;border:1px dashed var(--line-strong);border-radius:999px;color:var(--muted);font-size:var(--fs-sm);line-height:1.5}
.step__skip svg{flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.step>:is(h4,p){transition:opacity .45s ease}
.howto[data-path="consult"] .step[data-skip~="consult"]{border-style:dashed;border-color:var(--line-strong);box-shadow:none}
.howto[data-path="consult"] .step[data-skip~="consult"]>:is(h4,p){opacity:.5}
.howto[data-path="consult"] .step[data-skip~="consult"] .step__n{border-style:dashed}
.steps__rail .tr{transition:opacity .45s ease}
.steps__rail .tr.is-skip{opacity:.45}
/* the run stops before the last card (consult): the flag on the step it ends at waves */
.steps.is-stop .step.is-on .step__out svg{transform-origin:30% 90%;animation:stWave 1.3s ease-in-out .6s infinite}
@keyframes stWave{0%,100%{rotate:0deg}50%{rotate:-10deg}}
/* a service card's step tag rings the steps it points at */
.step.is-flash .step__n{animation:flash 1.1s var(--ease) 2}

/* ---------- round 69: in use (#case). The shop that runs MaxKeepa every day, beside a picture of the website we made for it: proof from
   someone other than us. The picture is a still screenshot of hiayai.com (no script, no request to that site); the link opens it.
   Motion: the picture leans in under a mouse only (transform), nothing loops ---------- */
.case{grid-template-columns:1fr}
@media (min-width:980px){.case{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:stretch}}
.case__shot{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:14px}
.case__frame{display:block;overflow:hidden;border:1px solid var(--line-strong);border-radius:12px;background:var(--well);color:inherit;text-decoration:none}
.case__bar{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-bottom:1px solid var(--line);font:500 var(--fs-xs)/1.2 var(--font-data);color:var(--muted)}
.case__bar i{flex:none;width:8px;height:8px;border-radius:50%;background:var(--line-strong)}
.case__bar span{margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.case__bar svg{flex:none;width:14px;height:14px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.case__frame img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;transition:transform .6s var(--ease)}
.case__frame:hover img{transform:scale(1.025)}
.case__frame:is(:hover,:focus-visible) .case__bar{color:var(--aqua)}
:root[data-motion="off"] .case__frame img{transition:none;transform:none}
.case__cap{font-size:var(--fs-xs);line-height:1.5;color:var(--muted)}
.case__body{display:flex;flex-direction:column;gap:14px}
.case__who{font-size:var(--fs-sm);color:var(--muted)}
.case__body h3{font-size:var(--fs-h3);line-height:1.25}
.case__place{display:flex;align-items:center;gap:6px;margin-top:-8px;font-size:var(--fs-sm);color:var(--muted)}
.case__place svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.case__did{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.case__did li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--well)}
.case__ic{grid-row:span 2;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;border:1px solid var(--line);background:var(--aqua-08)}
.case__ic img{width:26px;height:26px}
.case__ic svg{width:20px;height:20px;fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.case__did b{font-family:var(--font-display);font-weight:600;line-height:1.4}
.case__did p{margin:0;font-size:var(--fs-sm);line-height:1.55;color:var(--muted);text-wrap:pretty}
.case__go{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:4px}
.case__go .btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- round 69: questions buyers ask (#faq). Plain <details>, so every answer opens without JS; the list comes first in the
   source (a phone reads it first), the "ask us" tile sits beside it on a desktop. Motion: the plus turns into a cross (transform) ---------- */
.faq{grid-template-columns:1fr}
@media (min-width:980px){.faq{grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);align-items:start}.faq__ask{order:-1;position:sticky;top:calc(var(--nav-h) + 24px)}}
.faq__list{display:grid;gap:10px}
.qa{border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,var(--tile-2),var(--tile));transition:border-color .25s ease}
.qa[open]{border-color:var(--line-strong)}
.qa>summary{display:flex;align-items:center;gap:14px;min-height:56px;padding:12px 16px 12px 18px;border-radius:14px;cursor:pointer;list-style:none;
  font-family:var(--font-display);font-weight:600;line-height:1.45;color:var(--fg);transition:color .2s}
.qa>summary::-webkit-details-marker{display:none}
.qa>summary:hover{color:var(--aqua)}
.qa__n{flex:none;font:600 var(--fs-xs)/1 var(--font-data);color:var(--aqua)}
.qa__q{flex:1;min-width:0;text-wrap:pretty}
.qa__pm{flex:none;position:relative;width:28px;height:28px;border-radius:50%;border:1px solid var(--line-strong);transition:transform .3s var(--ease),border-color .2s}
.qa__pm::before,.qa__pm::after{content:"";position:absolute;left:50%;top:50%;width:11px;height:1.8px;margin:-.9px 0 0 -5.5px;border-radius:2px;background:currentColor}
.qa__pm::after{transform:rotate(90deg)}
.qa[open] .qa__pm{transform:rotate(45deg);border-color:var(--aqua)}
:root[data-motion="off"] .qa__pm{transition:none}
.qa__a{padding:0 18px 18px calc(18px + 14px + 1.4em);color:var(--muted);line-height:1.7}
.qa__a p+p{margin-top:8px}
.qa__a a{color:var(--aqua);text-decoration:underline;text-underline-offset:3px}
@media (max-width:480px){.qa__a{padding-left:18px}}
.faq__ask{display:flex;flex-direction:column;gap:12px}
.faq__ask h3{font-size:var(--fs-h3);line-height:1.25}
.faq__ask p{color:var(--muted)}
.faq__ask .btn{align-self:flex-start}
.faq__ask .btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- about: team + company record ---------- */
.about{grid-template-columns:1fr}
/* founding team (round 42): the founders' names and photos are not out yet, so the tile introduces the two roles instead of two
   faceless cards. Same grammar as the company record below: a seal and a mono code over the title, then each role on a calm well
   (icon + role + index, what it does for the client, one line of proof). A trace joins the two wells through a via, aqua into green,
   (round 47: the light pulse that ran along it is gone); the seal's dial turns on hover only */
.team{display:flex;flex-direction:column;gap:22px}
.team__head{display:flex;align-items:center;gap:14px 18px}
.team__seal{flex:none;width:58px;height:58px}
.team__seal svg{display:block;width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round}
.tseal__bg{fill:var(--aqua-08);stroke:var(--aqua-30);stroke-width:1.2}
.tseal__ticks{stroke:var(--aqua-30);stroke-width:2.4;stroke-dasharray:.008 .017}
.tseal__arc{stroke:var(--aqua);stroke-width:2.4;stroke-dasharray:.3 .7;stroke-dashoffset:.1}
.team:hover .tseal__arc{animation:ring 2.4s linear infinite}
.tseal__mark{stroke:var(--aqua);stroke-width:1.6}
.tseal__mark .g{stroke:var(--green)}
@keyframes ring{to{stroke-dashoffset:-.9}} /* the company seal's dial too */
/* round 51 (DEC-87): with the motion switch on, both seals' dials turn slowly once their tile has come in (one turn in 14 s; round 47 had
   left them turning on hover only, which the two :hover rules still do when the switch is off). Round 52: only while the tile is on
   screen (.is-live, set by the script): a loop on an svg part in a section the browser is not drawing cannot go to the GPU, and Chrome
   then wakes the page for every frame of it, wherever the visitor is */
:root[data-motion="on"] :is(.team,.facts).is-live :is(.tseal__arc,.seal__arc){transform-box:fill-box;transform-origin:center;animation:sealTurn 14s linear infinite}
@keyframes sealTurn{to{transform:rotate(360deg)}} /* round 52: the arc itself turns (a transform, run by the GPU); sliding its dash, as "ring" does, is redrawn by the page every frame */
.team__title{flex:1 1 220px;min-width:0}
.team__lanes{display:grid;grid-template-columns:minmax(0,1fr)}
.lane{--acc:var(--aqua);--acc-08:var(--aqua-08);--acc-14:var(--aqua-14);--acc-hud:var(--aqua-55);--lx:18px;
  position:relative;container-type:inline-size;display:flex;flex-direction:column;padding:16px var(--lx) 18px;border:1px solid var(--line);border-radius:14px;background:var(--well);transition:border-color .3s}
.lane--sys{--acc:var(--green);--acc-08:var(--green-08);--acc-14:var(--green-16);--acc-hud:var(--green-35)}
.lane:hover{border-color:var(--line-strong)}
.lane::before{content:"";position:absolute;inset:-1px;border-radius:inherit;border:2px solid var(--acc-hud);pointer-events:none;--cb:26px;--m:linear-gradient(#000 0 0);
  -webkit-mask:var(--m) 0 0/var(--cb) var(--cb) no-repeat,var(--m) 100% 0/var(--cb) var(--cb) no-repeat,var(--m) 0 100%/var(--cb) var(--cb) no-repeat,var(--m) 100% 100%/var(--cb) var(--cb) no-repeat;
  mask:var(--m) 0 0/var(--cb) var(--cb) no-repeat,var(--m) 100% 0/var(--cb) var(--cb) no-repeat,var(--m) 0 100%/var(--cb) var(--cb) no-repeat,var(--m) 100% 100%/var(--cb) var(--cb) no-repeat;
  transition:--cb .5s var(--ease),border-color .3s} /* HUD brackets, as on the company record cells */
.lane:hover::before{--cb:48px;border-color:var(--acc)}
.lane::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
  background:linear-gradient(180deg,transparent,var(--acc-08) 70%,var(--acc-14) 96%,var(--acc) 98%,transparent) 0 -150%/100% 60% no-repeat}
.team.is-in .lane::after{animation:scan 1.5s var(--ease) calc(var(--rd,0ms) + 450ms + var(--li,0) * 150ms) both}
.lane__top{display:flex;align-items:center;gap:10px}
.lane__top svg{flex:none;width:30px;height:30px;padding:6px;border-radius:9px;background:var(--acc-08);box-shadow:inset 0 0 0 1px var(--acc-14);fill:none;stroke:var(--acc);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lane h4{font-family:var(--font-body);font-size:var(--fs-title);font-weight:600;line-height:1.4;letter-spacing:0;color:var(--acc)} /* Thai: no tracking */
.lane__code{margin-left:auto;padding-left:8px;font:600 var(--fs-xs)/1.4 var(--font-label);letter-spacing:.16em;color:var(--muted);white-space:nowrap}
.lane__code b{font-weight:600;color:var(--acc)}
@container (max-width:290px){.lane__code span{display:none}} /* narrow well: the index only */
@container (max-width:240px){.lane__code{display:none}} /* 320px: the role keeps one line */
/* "what we do" takes the slack, so the proof keeps to the bottom edge and both wells line it up when one runs a line longer */
.lane__do{flex:1 0 auto;margin:14px 0 0;font-size:var(--fs-body);font-weight:500;line-height:1.65;text-wrap:pretty}
.lane__proof{display:flex;gap:8px;margin:14px 0 0;padding-top:12px;border-top:1px dashed var(--line);color:var(--muted);font-size:var(--fs-sm);line-height:1.6;text-wrap:pretty}
.lane__proof svg{flex:none;width:16px;height:16px;margin-top:.22em;fill:none;stroke:var(--acc);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* the trace between the wells: down the gap on the icon column below 700px, across the gap on the icon row from 700px */
.team__link{position:relative;height:26px;pointer-events:none}
.team__link::before{content:"";position:absolute;top:0;bottom:0;left:calc(var(--lx-link,18px) + 15px);width:2px;background:linear-gradient(180deg,var(--aqua-30),var(--green-35))}
.team__link::after{content:"";position:absolute;top:50%;left:calc(var(--lx-link,18px) + 16px);width:12px;height:12px;margin:-6px 0 0 -6px;
  background:radial-gradient(circle,var(--aqua) 0 2px,var(--bg-2) 2.5px 3.5px,var(--aqua) 4px 5.5px,transparent 6px)}
@media (min-width:700px){
  .team__lanes{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr)}
  .team__link{height:auto}
  .team__link::before{top:31px;bottom:auto;left:0;right:0;width:auto;height:2px;background:linear-gradient(90deg,var(--aqua-30),var(--green-35))}
  .team__link::after{top:32px;left:50%}
}
@media (max-width:480px){.team{padding:18px}.team__lanes{--lx-link:14px}.lane{--lx:14px;padding:14px var(--lx) 16px}} /* as the company record */
.todo{color:var(--warn)} /* sample only: text still waiting for real content */
/* company record: titled card, then each field in its own well (two columns from 700px) with an icon + label above a larger value */
/* company record (round 9): "readable but futuristic". Every value sits on a calm well at body size or larger in --fg;
   the tech lives in the frame only: a verified seal (its dial turns on hover), mono codes, HUD corner brackets, a circuit via
   joining the four cells and one scan pass per cell when the card comes into view (round 47: the ID digits no longer decode in) */
.facts{display:flex;flex-direction:column;gap:22px}
.facts__head{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px}
.facts__seal{position:relative;flex:none;width:58px;height:58px}
.facts__seal svg{display:block;width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round}
.seal__bg{fill:var(--green-16);stroke:var(--green-35);stroke-width:1.2}
.seal__ticks{stroke:var(--green-35);stroke-width:2.4;stroke-dasharray:.008 .017}
.seal__arc{stroke:var(--green);stroke-width:2.4;stroke-dasharray:.3 .7;stroke-dashoffset:.1}
.facts:hover .seal__arc{animation:ring 2.4s linear infinite} /* round 47: turns on hover only, as the team seal (it turned all the time) */
.seal__mark{stroke:var(--green);stroke-width:1.6}
.seal__check{stroke-dasharray:1}
.facts.reveal .seal__check{stroke-dashoffset:1}
.facts.reveal.is-in .seal__check{stroke-dashoffset:0;transition:stroke-dashoffset .8s var(--ease) calc(var(--rd,0ms) + .7s)}
.facts__title{flex:1 1 220px;min-width:0}
.facts__code,.team__code{display:flex;align-items:center;flex-wrap:wrap;gap:2px 10px;margin-bottom:4px;font:600 var(--fs-xs)/1.5 var(--font-label);letter-spacing:.18em;text-transform:uppercase;color:var(--aqua)}
.facts__code .sep,.team__code .sep{margin:0}
.facts__title h3,.team__title h3{font-size:var(--fs-title)}
.facts__title p,.team__title p{color:var(--muted);font-size:var(--fs-sm);margin-top:2px}
.facts__verify svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease)}
.facts__verify:hover svg{transform:translate(2px,-2px)}
@media (max-width:699px){.facts__verify{width:100%;white-space:normal;text-align:center;padding-block:8px}} /* 320px: the label would overflow on one line */
@media (max-width:480px){.facts{padding:18px}.fact{padding:14px 14px 16px}} /* card + well padding would leave too narrow a column */
.facts dl{position:relative;display:grid;gap:14px;margin:0;grid-template-columns:1fr}
/* two columns (round 12): name, ID and business stack on the left and the location cell takes the whole right column, so its
   map gets real height. A trace runs down the column gap and one along the first row gap, meeting in a via (round 47: the light
   pulses along them are gone). Rows keep their own heights, so the row-gap trace is placed on grid row 2 and lifted into the gap */
@media (min-width:700px){
  .facts dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts dl>.fact{grid-column:1}
  .facts dl>.fact--loc{grid-column:2;grid-row:1/span 3}
  .facts dl::before{content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(180deg,transparent,var(--aqua-30) 10%,var(--aqua-30) 90%,transparent) 50% 50%/1px 100% no-repeat}
  /* left column + the 14px gap, so the via (12px, 1px in from the end) sits on the column-gap trace.
     Both column lines are needed: on an abspos child an auto end line means the container's edge */
  .facts dl::after{content:"";position:absolute;grid-row:2;grid-column:1/2;left:0;right:-14px;top:-13px;height:12px;pointer-events:none;
    background:radial-gradient(circle,var(--aqua) 0 2px,var(--bg-2) 2.5px 3.5px,var(--aqua) 4px 5.5px,transparent 6px) calc(100% - 1px) 50%/12px 12px no-repeat,
      linear-gradient(90deg,transparent,var(--aqua-30) 8%) 0 50%/100% 1px no-repeat}
}
.fact{position:relative;container-type:inline-size;padding:16px 18px 18px;border:1px solid var(--line);border-radius:14px;background:var(--well);transition:border-color .3s,background-color .3s}
.fact:hover{border-color:var(--line-strong)}
/* HUD brackets: a 2px border masked down to its four corners; they reach along the edges on hover */
/* --cb must exceed the 14px corner radius, or only the arc shows and the bracket reads as a thick rounded corner */
@property --cb{syntax:"<length>";inherits:false;initial-value:26px}
.fact::before{content:"";position:absolute;inset:-1px;border-radius:inherit;border:2px solid var(--aqua-55);pointer-events:none;--cb:26px;--m:linear-gradient(#000 0 0);
  -webkit-mask:var(--m) 0 0/var(--cb) var(--cb) no-repeat,var(--m) 100% 0/var(--cb) var(--cb) no-repeat,var(--m) 0 100%/var(--cb) var(--cb) no-repeat,var(--m) 100% 100%/var(--cb) var(--cb) no-repeat;
  mask:var(--m) 0 0/var(--cb) var(--cb) no-repeat,var(--m) 100% 0/var(--cb) var(--cb) no-repeat,var(--m) 0 100%/var(--cb) var(--cb) no-repeat,var(--m) 100% 100%/var(--cb) var(--cb) no-repeat;
  transition:--cb .5s var(--ease),border-color .3s}
.fact:hover::before{--cb:48px;border-color:var(--aqua)}
/* one scan pass per cell when the card comes in (bright leading edge, soft trail) */
.fact::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
  background:linear-gradient(180deg,transparent,var(--aqua-08) 70%,var(--aqua-30) 96%,var(--aqua) 98%,transparent) 0 -150%/100% 60% no-repeat}
.facts.is-in .fact::after{animation:scan 1.5s var(--ease) calc(var(--rd,0ms) + 450ms + var(--fi,0) * 150ms) both}
@keyframes scan{0%{opacity:1;background-position:0 -150%}80%{opacity:1}100%{opacity:0;background-position:0 250%}}
.fact dt{display:flex;align-items:center;gap:10px;font-size:var(--fs-sm);font-weight:600;line-height:1.4;color:var(--aqua)} /* Thai labels: no tracking, it splits vowels from consonants */
.fact dt svg{flex:none;width:30px;height:30px;padding:6px;border-radius:9px;background:var(--aqua-08);box-shadow:inset 0 0 0 1px var(--aqua-14);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fact__code{margin-left:auto;padding-left:8px;font:600 var(--fs-xs)/1.4 var(--font-label);letter-spacing:.16em;color:var(--muted);white-space:nowrap}
.fact__code b{font-weight:600;color:var(--aqua)}
@container (max-width:290px){.fact__code span{display:none}} /* narrow cell: the index only */
.fact dd{margin:14px 0 0;font-size:var(--fs-body);font-weight:500;line-height:1.65}
.fact dd small{display:block;margin-top:8px;color:var(--muted);font-size:var(--fs-sm);font-weight:400}
.fact__val{display:block;font-family:var(--font-display);font-weight:600;font-size:var(--fs-lead);line-height:1.55}
.fact__en{display:flex;align-items:center;gap:10px;margin-top:6px;font:600 var(--fs-xs)/1.5 var(--font-label);letter-spacing:.14em;color:var(--muted)}
.fact__en::before{content:"";flex:none;width:26px;height:2px;border-radius:2px;background:var(--rule-l)} /* the rule beside TECHNOLOGY */
/* the ID: one slot per group as on a Thai ID card (0-1055-69181-33-3); margins only, so a copy still gives the plain 13 digits */
.fact__idrow{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}
.fact__id{display:flex;flex-wrap:wrap;gap:6px;font-size:clamp(1.1rem,3.4vw,1.32rem);line-height:1.2;letter-spacing:.06em}
.fact__id>span{position:relative;padding:6px 7px 7px 9px;border:1px solid var(--line-strong);border-radius:9px;background:var(--tile);box-shadow:inset 0 1px 0 var(--hair)}
.fact__id>span::after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--aqua),var(--green))}
.fact__id b{font-weight:600;color:var(--aqua);background:linear-gradient(90deg,var(--aqua),var(--green));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
:root:not([data-theme="light"]) .fact__id b{filter:drop-shadow(0 0 7px var(--glow-aqua))}
@container (max-width:340px){.fact__id{gap:4px;font-size:1.02rem}.fact__id>span{padding:5px 5px 6px 7px}.fact__id>span::after{left:6px;right:6px}} /* phones: keep the copy button on the same line */
@container (max-width:250px){.fact__id{gap:3px;font-size:.98rem}.fact__id>span{padding:4px 4px 5px 5px}} /* 320px: the 13 digits stay on one line, the button wraps */
/* copy: a round ghost button behind a divider, so it does not read as a sixth digit slot; its label shows on hover/focus */
.fact__copy{position:relative;display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;border:1px solid var(--line-strong);background:transparent;color:var(--aqua);transition:border-color .2s,background-color .2s}
.fact__copy::before{content:"";position:absolute;left:-10px;top:2px;bottom:2px;width:1px;background:var(--line-strong)}
.fact__copy::after{content:"";position:absolute;inset:-6px;border-radius:50%} /* round 47: a 44px target or more (48 here, 44 in the LINE card) */
@container (max-width:275px){.fact__copy::before{display:none}} /* the button wraps under the digits there */
.fact__copy:hover{border-color:var(--aqua);background:var(--aqua-08)}
.fact__copy svg{grid-area:1/1;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:opacity .2s,scale .3s var(--ease)}
.fact__copy .ok{opacity:0;scale:.4;color:var(--green)}
.fact__copy.is-copied .ok{opacity:1;scale:1}
.fact__copy.is-copied .cp{opacity:0;scale:.4}
.fact__tip{position:absolute;bottom:calc(100% + 8px);left:50%;padding:4px 10px;border-radius:8px;background:var(--fg);color:var(--bg);font-size:var(--fs-xs);font-weight:600;line-height:1.5;white-space:nowrap;pointer-events:none;opacity:0;translate:-50% 4px;transition:opacity .2s,translate .3s var(--ease)}
.fact__tip .t2,.fact__copy.is-copied .t1{display:none}
.fact__copy.is-copied .t2{display:inline}
.fact__copy:hover .fact__tip,.fact__copy:focus-visible .fact__tip,.fact__copy.is-copied .fact__tip{opacity:1;translate:-50% 0}
/* business: the two kinds of work branch off the main line like traces */
/* drawn as ├ … └ with ONE trunk: the last li's elbow reaches far up and the list clips it at the node, so there are no joins
   to darken (translucent overlap) or drift apart (subpixel snapping at 150% zoom), whatever height a chip wraps to.
   The other items only add a ├ stub; --tr is --aqua-55 composited on the well, solid so the stub can overlap the trunk */
.fact__tree{--tr:#7BB6BF;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:12px;padding-left:22px;clip-path:inset(-13px 0 0 0)}
:root:not([data-theme="light"]) .fact__tree{--tr:#29828F}
.fact__tree::before{content:"";position:absolute;left:3.75px;top:-13px;width:6px;height:6px;border-radius:50%;background:var(--aqua)} /* the node the branches start from */
.fact__tree li{position:relative;display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:5px 13px;border:1px solid var(--line);border-radius:10px;background:var(--tile);font-size:var(--fs-sm);line-height:1.5}
.fact__tree li::before{content:"";position:absolute;left:-15px;top:50%;width:13px;height:1.5px;margin-top:-.75px;background:var(--tr)}
.fact__tree li:last-child::before{left:-16px;top:-999px;bottom:50%;width:14px;height:auto;margin:0;background:none;border:solid var(--tr);border-width:0 0 1.5px 1.5px;border-bottom-left-radius:7px}
.fact__tree li::after{content:"";flex:none;order:-1;width:7px;height:7px;border-radius:50%;background:var(--grad);box-shadow:0 0 0 3px var(--aqua-08)}
/* location (round 12): the address in regular body text (bold display type read as a heading), then a map that fills the rest
   of the cell, then open / directions. Replaces the decorative radar. Round 47: the map is a still picture (below), not Google's iframe.
   Round 38: the contact tile's address row links here (#location); the cell rings once it is on screen */
.fact--loc{display:flex;flex-direction:column;scroll-margin-top:calc(var(--nav-h) + 16px)}
.fact--loc.is-flash{animation:flash 1.1s var(--ease) 2}
.fact__loc{display:flex;flex-direction:column;flex:1;gap:14px}
.fact__addr{font-size:var(--fs-body);font-weight:400;line-height:1.65}
.fact__addr>span{display:inline-block} /* wrap between the parts of the address, never inside one */
/* round 47 (DEC-04, 07 §1.4): a still map kept with the page in place of Google's iframe, so opening the page sends nothing to Google
   until a button is pressed. /assets/office-map.webp is OpenStreetMap at zoom 17 (960 x 600) with the office at its exact centre; it
   shows at its own size (object-fit:none) centred on the box, so the pin over the middle is the office at any cell size. Dark: inverted,
   as the iframe was. The faint grid shows while it loads. OpenStreetMap's licence asks for the credit line in the corner */
.fact__map{position:relative;flex:1;min-height:220px;border:1px solid var(--line-strong);border-radius:10px;overflow:hidden;
  background:linear-gradient(var(--line) 1px,transparent 1px) 0 0/24px 24px,linear-gradient(90deg,var(--line) 1px,transparent 1px) 0 0/24px 24px,var(--tile)}
.fact__map img{position:absolute;inset:0;width:100%;height:100%;object-fit:none;object-position:50% 50%;filter:saturate(.85)}
:root:not([data-theme="light"]) .fact__map img{filter:invert(.9) hue-rotate(180deg) saturate(.7)}
.fact__pin{position:absolute;left:50%;top:50%;width:32px;height:42px;margin:-40px 0 0 -16px;overflow:visible;filter:drop-shadow(0 4px 5px rgba(4,18,28,.4))} /* the tip (16, 40) on the centre */
.fact__pin .b{fill:var(--aqua);stroke:#fff;stroke-width:2}
.fact__pin .c{fill:#fff}
.fact__osm{position:absolute;right:0;bottom:0;padding:1px 8px;border-top-left-radius:8px;background:var(--drawer);color:var(--fg);font-size:var(--fs-xs);line-height:1.7}
.fact__osm a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.fact__go{display:flex;flex-wrap:wrap;gap:10px}
.fact__go .btn{flex:1 1 auto}
.fact__go svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- contact ---------- */
.contact{grid-template-columns:1fr}
@media (min-width:900px){.contact{grid-template-columns:5fr 7fr}}
.info{display:flex;flex-direction:column;gap:14px;container:info/inline-size;background:radial-gradient(420px 300px at 0% 0%,var(--aqua-14),transparent 70%),linear-gradient(180deg,var(--tile-2),var(--tile))}
.info__mark{width:88px}
/* LINE OA card (round 20): QR, ID and the add button as one unit instead of a pale box and a separate pill.
   Phones and tablets: ID + copy, then a full-width button. Desktop: the QR in a scanner frame beside the ID; a scan line sweeps
   twice when the tile comes in and keeps sweeping while the card is hovered. The QR's centre badge covers 7x7 of 33x33 modules (level Q) */
.loa{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:6px;padding:16px;border-radius:16px;border:1px solid var(--green-35);
  background:radial-gradient(260px 180px at 0% 0%,var(--green-16),transparent 72%),var(--well);box-shadow:inset 0 1px 0 var(--hair)}
.loa__qr{display:none}
.loa__id{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;container-type:inline-size}
.loa__label{display:flex;align-items:center;gap:8px;font-family:var(--font-label);font-weight:600;font-size:var(--fs-xs);line-height:1.5;letter-spacing:.16em;text-transform:uppercase;color:var(--green)}
.loa__badge{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:7px;background:var(--green)}
.loa__badge svg{width:15px;height:15px;fill:var(--bg)}
.loa__row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
/* the ID never breaks: it shrinks to fit beside the copy button (14 mono characters + 42px of button and gap); below .9rem the button wraps instead */
.loa__handle{font-size:clamp(.9rem,calc((100cqi - 44px) / 8.8),1.22rem);line-height:1.3;letter-spacing:.01em;white-space:nowrap;color:var(--fg)}
.loa__handle b{font-weight:600;color:var(--green)}
.loa .fact__copy{width:32px;height:32px}
.loa .fact__copy::before{display:none}
.loa__hint{display:none;font-size:var(--fs-sm);line-height:1.55;text-wrap:pretty}
/* the add button: solid brand green, the strongest call to action in the tile now that LINE is the way in */
.loa__go{justify-content:space-between;min-height:52px;padding:0 18px;border:0;background:var(--green);color:var(--ink);font-weight:600}
:root[data-theme="light"] .loa__go{color:#fff}
.loa__go>span{display:inline-flex;align-items:center;gap:10px}
.loa__go svg{width:20px;height:20px;flex:none;fill:currentColor}
.loa__go .arr{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s var(--ease)}
.loa__go:hover{transform:translateY(-1px);box-shadow:0 12px 28px -10px var(--glow-green),0 0 22px -8px var(--glow-green)}
.loa__go:hover .arr{translate:2px -2px}
/* QR only on desktop with room for it beside the ID (tile content 360px+, i.e. from about 1050px); 900–1049 is mostly tablets in landscape, which get the phone card */
@media (min-width:900px){@container info (min-width:360px){
  .loa{grid-template-columns:auto minmax(0,1fr);column-gap:18px}
  .loa__go{grid-column:1/-1}
  /* scanner frame: four corner brackets drawn as background strips around the QR */
  .loa__qr{position:relative;display:block;flex:none;padding:8px;
    --c:linear-gradient(var(--green),var(--green));
    background:var(--c) 0 0/18px 2px,var(--c) 0 0/2px 18px,var(--c) 100% 0/18px 2px,var(--c) 100% 0/2px 18px,
      var(--c) 0 100%/18px 2px,var(--c) 0 100%/2px 18px,var(--c) 100% 100%/18px 2px,var(--c) 100% 100%/2px 18px;background-repeat:no-repeat}
  .loa__qr svg{display:block;width:112px;height:112px;border-radius:8px;background:#F2FFFC}
  .loa__scan{position:absolute;left:4px;right:4px;top:8px;height:2px;border-radius:2px;opacity:0;pointer-events:none;
    background:linear-gradient(90deg,var(--green-0),var(--green) 20%,var(--green) 80%,var(--green-0));box-shadow:0 0 10px 1px var(--glow-green)}
  .reveal.is-in .loa__scan{animation:loaScan 1.7s ease-in-out .7s 2}
  .loa:hover .loa__scan{animation:loaScan 1.7s ease-in-out infinite}
  .loa__hint{display:block}
}}
@keyframes loaScan{0%{opacity:0;translate:0 0}15%,85%{opacity:1}100%{opacity:0;translate:0 110px}}

.info h2{font-size:var(--fs-h2)}
.info p{color:var(--muted)}
/* round 38: both rows are links, so each lights up as a whole row on hover; the row's padding sits in a negative margin, so the icons
   stay on the tile's edge and the first row's text keeps its old 16px below the rule */
.info__rows{display:flex;flex-direction:column;gap:2px;margin-top:auto;padding-top:8px;border-top:1px solid var(--line)}
.info__row{display:flex;align-items:center;gap:10px;font-weight:500}
.info__row svg{width:22px;height:22px;fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
a.info__row{min-height:44px;margin:0 -10px;padding:8px 10px;border-radius:12px;transition:background-color .25s,color .2s}
a.info__row:hover{color:var(--aqua);background:var(--aqua-08)}
a.info__row:active{background:var(--aqua-14)}
.info__row small{display:block;color:var(--muted);font-size:var(--fs-sm);font-weight:400}
/* address row (round 38): goes up to the location cell in the company record, where the map is. At rest the pill says where it goes;
   on hover the pin lifts off a ripple at its tip and the arrow nudges up. In tiles narrower than 330px the pill sits under the text */
.info__loc{display:grid;grid-template-columns:22px minmax(0,1fr) auto;column-gap:10px}
.info__txt{min-width:0}
.info__pin{position:relative;display:grid;place-items:center;width:22px;height:22px}
.info__pin svg{position:relative;z-index:1;transition:translate .35s var(--ease)}
.info__pin::after{content:"";position:absolute;left:3px;top:16px;width:16px;height:6px;border-radius:50%;border:1.5px solid var(--aqua);opacity:0}
.info__loc:hover .info__pin svg{translate:0 -3px}
.info__loc:hover .info__pin::after{animation:pinRipple 1.3s var(--ease) infinite}
@keyframes pinRipple{0%{opacity:.9;scale:.3}100%{opacity:0;scale:1.7}}
.info__go{display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 11px;border-radius:999px;border:1px solid var(--aqua-30);background:var(--aqua-08);font-size:var(--fs-xs);font-weight:500;line-height:1.5;color:var(--fg);white-space:nowrap;transition:border-color .2s,background-color .2s}
.info__go svg{width:13px;height:13px;stroke-width:2.4;transition:translate .3s var(--ease)}
.info__loc:hover .info__go{border-color:var(--aqua-55);background:var(--aqua-14)}
.info__loc:hover .info__go svg{translate:0 -2px}
@container info (max-width:329px){
  .info__loc{grid-template-columns:22px minmax(0,1fr);align-items:start}
  .info__pin{margin-top:2px} /* on the first line, not the middle of three */
  .info__go{grid-column:2;justify-self:start;margin-top:8px}
}
.btn--line{border:1px solid var(--green-35);color:var(--fg);background:var(--green-16)}
.btn--line:hover{border-color:var(--green);background:var(--green-35)}
.btn--line svg{width:20px;height:20px;fill:none;stroke:var(--green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.form__hint{margin-top:-6px;font-size:var(--fs-sm);color:var(--muted)}
.form__err{display:none;color:var(--danger);font-size:var(--fs-sm);font-weight:500}
.form__err.is-on{display:block}
.form__err a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.form__trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden} /* round 48: bot trap, never on screen */
.form__ts:empty{display:none} /* Turnstile widget, once the form is open */
.form.is-done .form__ts{display:none}
.consent[hidden]{display:none} /* the demo-account box: .consent's flex would otherwise beat [hidden] */
.form{display:grid;gap:14px;grid-template-columns:1fr}
@media (min-width:640px){.form{grid-template-columns:1fr 1fr}.form .span{grid-column:1/-1}}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label{font-size:var(--fs-sm);font-weight:600;color:var(--muted)}
.field input,.field select,.field textarea{width:100%;font:inherit;color:var(--fg);background:var(--well);border:1px solid var(--line-strong);border-radius:12px;padding:11px 14px;line-height:1.5;transition:border-color .2s,box-shadow .2s}
.field textarea{min-height:120px;resize:vertical}
.field select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--aqua) 50%),linear-gradient(135deg,var(--aqua) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:40px}
.field select option{background:var(--bg-2);color:var(--fg)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--aqua);box-shadow:0 0 0 3px var(--aqua-30),0 0 20px -6px var(--glow-aqua)}
.consent{display:flex;align-items:flex-start;gap:10px;font-size:var(--fs-sm);color:var(--muted)}
.consent input{width:20px;height:20px;margin:3px 0 0;accent-color:var(--green);flex:none}
.consent a{color:var(--aqua);text-decoration:underline;text-underline-offset:3px}
.form__ok{display:none;align-items:center;gap:14px;padding:18px 20px;border-radius:14px;background:var(--green-16);border:1px solid var(--green-35);font-weight:500}
.form__ok svg{width:28px;height:28px;flex:none;fill:none;stroke:var(--ok);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.form__ok svg *{stroke-dasharray:1;stroke-dashoffset:0}
.form-tile{display:flex;flex-direction:column;scroll-margin-top:calc(var(--nav-h) + 12px)}
.form-tile .form{flex:1}
.form.is-done{align-content:center}
.form.is-done .form__ok{display:flex;flex-direction:column;justify-content:center;gap:12px;grid-column:1/-1;min-height:220px;padding:32px 24px;text-align:center;font-size:var(--fs-lead);animation:okIn .6s var(--ease) both}
.form.is-done .form__ok svg{width:64px;height:64px;stroke-width:1.6;filter:drop-shadow(0 0 14px var(--glow-green))}
.form__ok small{display:block;margin-top:4px;color:var(--muted);font-size:var(--fs-sm);font-weight:400}
.form.is-done .form__ok svg *{animation:redraw .9s var(--ease) .15s both}
@keyframes okIn{from{opacity:0;translate:0 14px;scale:.97}}
.form.is-done .field,.form.is-done .consent,.form.is-done .form__submit,.form.is-done .form__hint,.form.is-done .form__err,.form.is-done .pick{display:none}
.req{color:var(--aqua);margin-left:2px}
/* "ระบบที่สนใจ": tappable chips (checkboxes) instead of a select; product buttons tick theirs */
.pick{min-width:0;margin:0;padding:0;border:0}
.pick legend{padding:0;margin-bottom:8px;font-size:var(--fs-sm);font-weight:600;color:var(--muted)}
.pick legend small{font-weight:400;margin-left:6px}
.pick__grp{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
.pick__h{flex-basis:100%;font-size:var(--fs-xs);font-weight:500;line-height:1.5;color:var(--muted)} /* Thai: no tracking */
.pick__opt{position:relative;display:inline-flex}
.pick__opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.pick__opt>span{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line-strong);background:var(--well);font-weight:500;font-size:var(--fs-sm);transition:border-color .2s,background-color .2s,color .2s,box-shadow .3s,transform .2s var(--ease)}
.pick__opt>span::before{content:"";flex:none;width:14px;height:14px;border-radius:5px;border:1.5px solid var(--line-strong);transition:background-color .2s,border-color .2s,box-shadow .2s}
.pick__opt>span>small{font-size:var(--fs-xs);font-weight:400;color:var(--muted)} /* what each product is, for visitors who do not know the names yet */
.pick__opt:hover>span{border-color:var(--aqua-55)}
.pick__opt .pm__logo{--logo:22px}
.pick__opt input:checked+span{border-color:var(--aqua);background:var(--aqua-14);color:var(--fg);box-shadow:0 0 18px -8px var(--glow-aqua)}
.pick__opt input:checked+span::before{border-color:var(--aqua);background:var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3.5 7.2 2.3 2.3 4.7-4.9' fill='none' stroke='%2304121C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
:root[data-theme="light"] .pick__opt input:checked+span::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3.5 7.2 2.3 2.3 4.7-4.9' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")} /* deep teal box: white tick */
.pick__opt input:focus-visible+span{outline:2px solid var(--aqua);outline-offset:3px}
.pick__opt input:active+span{transform:scale(.96)}
.pick__opt--live input:checked+span{border-color:var(--ok);background:var(--green-16);box-shadow:0 0 18px -8px var(--glow-green)}
.pick__opt--live input:checked+span::before{border-color:var(--ok);background-color:var(--ok)}
.pick__opt.is-ping>span{animation:ping 1.1s var(--ease) 2}
@keyframes ping{0%{box-shadow:0 0 0 0 var(--aqua-55)}100%{box-shadow:0 0 0 14px rgba(69,227,240,0)}}
/* submit: full width on phones, a short "sending" state before the inline success */
.form__submit .btn{min-width:180px}
.form__submit .btn svg{transition:translate .3s var(--ease)}
.form__submit .btn:hover svg{translate:4px 0}
.btn.is-busy .btn__in{gap:10px}
.btn.is-busy .btn__in::before{content:"";width:16px;height:16px;border-radius:50%;border:2px solid rgba(4,18,28,.3);border-top-color:var(--ink);animation:spin .7s linear infinite}
.btn.is-busy svg{display:none}
@media (max-width:639px){.form__submit .btn{width:100%}}
.info .btn{align-self:flex-start}

/* ---------- trial closed (2026-10-05): "assembling" tile in place of the request form ----------
   Demo accounts cannot be made yet, so the form tile is hidden (markup and JS kept). Round 43: the buttons that said "ทดลองใช้ · เร็ว ๆ นี้" now go to LINE,
   so this tile is the one place that says the trial is coming.
   JS runs the crane once (round 47, DEC-02): when the tile first comes on screen a crate goes up from the pallet, along the jib and down
   to hang over the fifth slot, and the load swings to rest; then nothing moves. It used to build all six blocks, test them, clear them and
   start again for as long as the tile showed, with a rolling tape, blinking lamps and a running feed line; those hold still now.
   Round 57: a trip that stopped with the crate in the air read as a build that broke off, so the crane finishes again: the fifth and the
   sixth crate land and open into their blocks, the empty hook parks over the pallet and a green check passes (JS 10a has the rest).
   No JS or reduced motion: the markup's pose (all six blocks up, the hook parked), which is where the story ends too.
   Round 49: the tile shows only while <html data-trial="closed">; "open" shows the form and the trial buttons instead (rule below). Once the
   trial has been open for good, this tile, its CSS here and JS 10a can go. */
/* the trial switch: elements marked data-trial-only show in that state only. !important because components set their own display (.consent, .btn) */
:root[data-trial="closed"] [data-trial-only="open"],
:root[data-trial="open"] [data-trial-only="closed"]{display:none!important}
:root[data-trial="open"] .dock{grid-template-columns:auto 1fr} /* round 15 layout: LINE icon beside the trial button */
.dock__line{display:inline-grid;place-items:center;min-width:46px;padding:0 12px}
.dock__line svg{width:22px;height:22px;fill:none;stroke:var(--green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:root{--hz:#F2C14E;--hz-ink:#17140B}
:root[data-theme="light"]{--hz:#D18C06;--hz-ink:#1C1A12}
.form-tile[hidden]{display:none}
.build{display:flex;flex-direction:column;gap:16px;padding-top:calc(var(--pad) + 8px);scroll-margin-top:calc(var(--nav-h) + 12px);
  background:radial-gradient(380px 260px at 100% 0%,var(--warn-16),transparent 70%),linear-gradient(180deg,var(--tile-2),var(--tile))}
.build.is-flash{animation:flash 1.1s var(--ease) 2}
.build__tape{position:absolute;top:0;left:0;right:0;height:9px;border-radius:calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
  background:repeating-linear-gradient(135deg,var(--hz) 0 10px,var(--hz-ink) 10px 20px)}
.build__head{display:flex;flex-direction:column;gap:8px}
.build h3{font-size:var(--fs-h3)}
.build__head p,.build__foot p{color:var(--muted)}
.build__foot{display:flex;flex-direction:column;gap:12px}
.build__go{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.build__os{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:44px;font-size:var(--fs-sm);color:var(--muted);text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.build__os:hover{color:var(--aqua)}
.build__os .pm{text-decoration:none}
/* the site: dotted board, a status bar, the scene (viewBox 600 x 296) */
.bd{position:relative;border-radius:14px;border:1px solid var(--line);overflow:hidden;
  background:radial-gradient(60% 80% at 68% 62%,var(--aqua-08),transparent 72%),radial-gradient(circle,var(--line) 1px,transparent 1.5px) 0 0/14px 14px,var(--bg)}
.bd__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;padding:10px 12px 0}
.bd__tag{display:inline-flex;align-items:center;gap:.5em;padding:.1em .8em .1em .7em;border-radius:999px;border:1px solid var(--warn-35);background:linear-gradient(var(--warn-16),var(--warn-16)),var(--tile-2);
  font-size:var(--fs-xs);font-weight:600;line-height:1.6;color:var(--warn)}
.bd__tag::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.bd svg{display:block;width:100%;height:auto;fill:none;stroke-linecap:round;stroke-linejoin:round}
.bd-gd{stroke:var(--line-strong);stroke-width:2}
.bd-tr{stroke:var(--aqua-30);stroke-width:1.5}
.bd-fl{stroke:var(--aqua-55);stroke-width:2.5;stroke-dasharray:.1 10}
.bd-via{fill:var(--bg);stroke:var(--aqua-55);stroke-width:1.5}
.bd-pl{fill:var(--line-strong)}
.bd-g{stroke:var(--aqua-30);stroke-width:1.4;stroke-dasharray:5 5}
.bd-t__on{opacity:0;transform:scale(.3,.5);transform-box:fill-box;transform-origin:center;transition:opacity .2s ease,transform .5s var(--ease)}
.bd-t.is-on .bd-t__on{opacity:1;transform:none}
.bd-t__r{fill:var(--tile-2);stroke:var(--aqua-55);stroke-width:1.5;transition:stroke .4s}
.bd .ui{stroke:var(--aqua-30);stroke-width:4}
.bd .uf{fill:var(--aqua-55)}
.bd .u3{stroke:var(--aqua-14);stroke-width:5}
.bd .ug{stroke:var(--green);stroke-width:5}
.bd .ub{stroke:var(--aqua-55);stroke-width:7;stroke-linecap:butt}
.bd .ul{stroke:var(--aqua);stroke-width:2}
.bd .up{fill:var(--aqua-14)}
.bd .up--g{fill:var(--green-35)}
.bd .ud{stroke:var(--muted);stroke-width:5}
.bd .ua{stroke:var(--fg);stroke-width:3.5}
.bd .uv{fill:var(--wm-tri)}
/* crane: amber steel; the counterweight wears hazard stripes; red lamps on the jib tip and the A-frame */
.bd-cr{stroke:var(--hz);stroke-width:2.2}
.bd-cr .lt{stroke-width:1.1}
.bd-cr .pd{stroke-width:.9;opacity:.75}
.bd-base{fill:var(--line-strong);stroke:none}
.bd-fill{fill:var(--hz);stroke:none}
.bd-cab{fill:var(--tile-2);stroke:var(--hz);stroke-width:1.6}
.bd-win{fill:var(--aqua-30);stroke:none}
.bd-hz{fill:var(--hz)}
.bd-cw{fill:url(#bd-hz);stroke:var(--hz);stroke-width:1.6}
.bd-lamp{fill:var(--danger);stroke:none}
:root[data-motion="on"] .bd.is-live .bd-lamp{transform-box:fill-box;transform-origin:center;animation:bdBlink 1.8s linear infinite} /* round 51 (DEC-87): the two warning lamps blink again, in turn */
:root[data-motion="on"] .bd.is-live .bd-lamp--2{animation-delay:.9s}
@keyframes bdBlink{0%,55%{transform:scale(1)}56%,100%{transform:scale(.4)}} /* round 52: by size, not opacity (measured: an svg part's opacity is animated by the page, its transform by the GPU) */
.bd-cable{stroke:var(--muted);stroke-width:1}
.bd-trolley{fill:var(--hz);stroke:none}
.bd-trolley circle{fill:var(--bg);stroke:var(--hz);stroke-width:1.2}
.bd-hk{stroke:var(--muted);stroke-width:2}
.bd-sl{stroke:var(--muted);stroke-width:1}
.bd-box{fill:var(--tile-2);stroke:var(--aqua);stroke-width:1.6}
.bd-chip{stroke:var(--aqua);stroke-width:1.5}
.bd-pin{stroke:var(--aqua-55);stroke-width:1.5}
/* round 57: the landing and the check. The crate fades as it opens into its block and a ring marks the spot; once the last block stands
   their frames turn green while a scan passes (.bd.is-check, about 2 s, once per build). These are svg strokes and opacity, which the page
   redraws itself, so they run only inside the story, while the tile is on screen */
.bd-crate{transition:opacity .15s}
.bd-crate.is-gone{opacity:0}
.bd-ring{stroke:var(--aqua);stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center}
.bd-ring.is-pop{animation:bdLand .7s var(--ease) both}
.bd-scan{fill:var(--green);opacity:0}
.bd.is-check .bd-t__r{stroke:var(--green)}
.bd.is-check .bd-scan{animation:bdSweep 1.5s var(--ease) .2s both}
@keyframes bdLand{from{opacity:.9;transform:scale(.35)}to{opacity:0;transform:scale(1.7)}}
@keyframes bdSweep{0%{opacity:0;transform:translateX(0)}10%,85%{opacity:1}100%{opacity:0;transform:translateX(310px)}}

/* ---------- footer ---------- */
/* round 40: the footer does its jobs in the order they are used. The brand (the horizontal lockup, as in the nav: the big word below is
   the footer's logo moment) and the link columns, which cover the whole page: every product with its own face and status (the four
   hospital systems as one row of logos, as in the hero), the four services and the steps, the company. Under them a strip with the way to
   reach us: LINE as the one button (the one channel that answers while the trial is closed, as in the contact section), email, and the
   address, which opens the location on the page. The base row holds what a buyer checks (the legal name, the registration number and
   where to verify it) and the legal links. Each column is a bus on the board behind the page: the heading is its node, a faint trace runs
   down past the links (drawn in once, as the column reveals) and a link that is pointed at is tapped off it. */
.footer{display:flow-root;overflow:clip;border-top:1px solid var(--line);padding-top:clamp(40px,6vw,64px);background:linear-gradient(180deg,var(--veil),var(--bg) 70%)}
.foot__grid{display:grid;gap:40px 28px;grid-template-columns:repeat(2,minmax(0,1fr))}
.foot__brand{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:16px 40px}
.foot__logo{display:inline-flex;align-items:center;gap:14px}
.foot__logo img{display:block;width:72px;flex:none}
.foot__lock{display:flex;flex-direction:column;align-items:center;gap:8px}
.foot__logo svg{display:block;width:224px;height:auto;fill:var(--fg)} /* as wide as the tagline under it, as in the lockup */
.foot__tag{display:flex;align-items:center;gap:10px;font-family:var(--font-label);font-weight:600;font-size:.62rem;line-height:1.5;letter-spacing:.2em;color:var(--muted)}
.foot__tag .sep{margin-left:-.2em}
.foot__brand p{margin:0;max-width:36ch;color:var(--muted);font-size:var(--fs-sm)}
/* reach: LINE as the one button (on the LINE app's own green tile, with the answer time), then email and the address */
.foot__reach{display:flex;flex-direction:column;align-items:flex-start;gap:14px 36px;margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.foot__line{display:flex;align-items:center;gap:12px;width:100%;max-width:420px;padding:10px 16px 10px 10px;border-radius:16px;border:1px solid var(--green-35);background:var(--green-16);color:var(--fg);
  transition:border-color .2s,box-shadow .3s}
.foot__line-ic{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:var(--hub-line);color:#fff}
.foot__line-ic svg{width:24px;height:24px;fill:currentColor}
.foot__line-tx{display:flex;flex-direction:column;min-width:0;line-height:1.4}
.foot__line-tx b{font-family:var(--font-display);font-weight:600;font-size:var(--fs-body)}
.foot__line-tx>span{font-size:var(--fs-sm);color:var(--muted)}
.foot__line-tx .num{font-weight:500;color:var(--fg)}
.foot__sla::before{content:" · "}
@media (max-width:599px){.foot__sla{display:block}.foot__sla::before{content:none}} /* phones: the answer time on its own line, not broken inside */
.foot__line-go{width:18px;height:18px;flex:none;margin-left:auto;fill:none;stroke:var(--green);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s var(--ease)}
.foot__line:hover{border-color:var(--green);box-shadow:0 14px 30px -18px var(--glow-green)}
.foot__line:hover .foot__line-go{translate:2px -2px}
.foot__ch{display:flex;flex-direction:column;gap:0 32px;margin:0;padding:0;list-style:none}
.foot__ch a{display:flex;align-items:flex-start;gap:10px;padding:11px 0;color:var(--muted);font-size:var(--fs-sm);line-height:1.5;transition:color .2s}
.foot__ch svg{width:18px;height:18px;margin-top:2px;flex:none;fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.foot__ch a:hover{color:var(--aqua)}
/* link columns: node (heading), bus (the trace down the list) and taps (a link pointed at). The node's centre, the bus and the tap's
   dot all sit 4px in from the column's edge */
.foot__col h4{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:var(--fs-body);font-weight:600;color:var(--fg)}
.foot__col h4::before{content:"";width:8px;height:8px;flex:none;border-radius:50%;background:var(--aqua);box-shadow:0 0 0 3px var(--aqua-14),0 0 12px var(--glow-aqua)}
.foot__col h4::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--aqua-30),transparent 85%);transform-origin:0 50%}
.foot__col ul{position:relative;margin:0;padding:0 0 0 22px;list-style:none}
.foot__col ul::before{content:"";position:absolute;left:3.5px;top:-8px;bottom:16px;width:1px;background:linear-gradient(var(--aqua-30),var(--line) 70%,transparent);transform-origin:50% 0}
.foot__col a{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-height:44px;padding:4px 0;color:var(--muted);font-size:var(--fs-sm);line-height:1.45;transition:color .2s}
.foot__col a::before{content:"";position:absolute;left:-18px;top:50%;width:13px;height:1.5px;margin-top:-.75px;border-radius:1px;background:var(--aqua);transform:scaleX(0);transform-origin:0 50%;transition:transform .25s var(--ease)}
.foot__col a::after{content:"";position:absolute;left:-21px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--aqua);box-shadow:0 0 8px var(--glow-aqua);opacity:0;scale:.3;transition:opacity .2s,scale .25s var(--ease)}
.foot__col a:is(:hover,:focus-visible){color:var(--fg)}
.foot__col a:is(:hover,:focus-visible)::before{transform:none}
.foot__col a:is(:hover,:focus-visible)::after{opacity:1;scale:1}
.foot__col.reveal h4::after{transform:scaleX(0);transition:transform .9s var(--ease) calc(var(--rd,0ms) + .3s)}
.foot__col.reveal ul::before{transform:scaleY(0);transition:transform 1.1s var(--ease) calc(var(--rd,0ms) + .3s)}
.foot__col.reveal.is-in h4::after,.foot__col.reveal.is-in ul::before{transform:none}
.foot__col small{font-size:var(--fs-xs);color:var(--muted)}
.foot__col .fl-live{display:inline-flex;align-items:center;gap:6px;font-weight:500;color:var(--ok)}
.foot__col .fl-live::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.foot__col .pm{font-size:.92rem}
.foot__col .pm__logo{--logo:20px}
.foot__col .pm-stack img{--logo:22px}
.foot__col .pm-stack img+img{margin-left:-6px}
.fl-ic{fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* base: the legal name, the registration number and where to check it; the legal links on the right */
.foot__base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px;padding:22px 0;margin-top:28px;border-top:1px solid var(--line);color:var(--muted);font-size:var(--fs-sm)}
.foot__base p{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0}
.foot__dbd{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px 0 9px;border-radius:999px;border:1px solid var(--line-strong);font-size:var(--fs-xs);color:var(--fg);transition:border-color .2s,color .2s}
.foot__dbd svg{width:14px;height:14px;flex:none;fill:none;stroke:var(--aqua);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.foot__dbd:hover{border-color:var(--aqua);color:var(--aqua)}
.foot__dbd::after{content:"";position:absolute;inset:-7px -2px} /* round 47: a 44px target round the 30px pill */
.foot__legal{display:flex;flex-wrap:wrap;gap:4px 22px}
.foot__legal a{color:var(--muted);transition:color .2s}
.foot__legal a:hover{color:var(--aqua)}
/* footer wordmark (rounds 33–36): the name at the very end is built, then powers on. Scrolling in, it is a blueprint (outline, dot matrix,
   corner brackets, a ruler drawn along); once it is on screen it assembles (round 36: each letter's parts slide in and weld, the triangles
   rise into the A's last) and ignites: the letters flash, the triangles flare (rings) and current runs out of them along the trace. Then it
   holds still, lit. Round 47 (DEC-02): it builds once per visit (it used to fall apart off screen and build again), and the glint and
   pulse every 7 s, the breathing triangles and the spotlight that followed the pointer are gone. The effect layers are masked to the letters by a mask the script builds from the sprite path (.is-fx), and
   everything moves by transform and opacity only, so the compositor takes it (round 32). The footer is a flow-root so the margin under the
   word, where the trace runs, stays inside it. No JS: the filled word and its trace. Reduced motion: built and lit, nothing moves. */
.foot__word{position:relative;--fill:1;container-type:inline-size;margin:clamp(26px,3.4vw,40px) 0 clamp(30px,3.8vw,44px);user-select:none;pointer-events:none}
/* the back-to-top and contact orb float at the bottom right, over the last A wherever the page is narrower than about 1400px (phones always):
   the word (and the plate under it) stops short of them, so its end and the triangle there stay in view (100vw - 100% = the two margins beside the content) */
.js .foot__word{--fill:0}
.js :is(.foot__word,.foot__spec){margin-right:max(0px,calc(var(--hub-r) + var(--hub-s) + 12px - (100vw - 100%) / 2))}
.foot__word svg{display:block;width:100%;height:auto;overflow:visible}
.foot__word-outline{fill:none;stroke:var(--aqua-55);stroke-width:1px;--wm-tri:none}
/* the whole filled word: shown as it is without JS; with JS the assembled parts below take its place (should they not be built, it wipes
   in with the scroll as in round 33: a window sliding over a counter-sliding word) */
.foot__word-win{position:absolute;inset:-6px 0;overflow:hidden;transform:translateX(calc((var(--fill) - 1) * 100%));transition:transform .35s linear} /* 6px over and under: the S dips below the box */
.foot__word-fill{margin-top:6px;fill:url(#vl-fill);--wm-tri:var(--spark);transform:translateX(calc((1 - var(--fill)) * 100%));transition:transform .35s linear}
.foot__word.is-asm .foot__word-win{display:none}
/* assembly (round 36). The script cuts each letter from the sprite path into one or two parts (.fw-p, clipped at a cut that suits the
   letter, overlapping a few units so no seam shows) and gives each part where it comes from (--x, --y, along the letter's own axis) and when
   (--d). Built, the parts slide home left to right; as a letter closes, a hot copy of it flashes (the weld, --w); then the triangles rise
   into the A's through their open feet (--t) and the word ignites (the script, as the triangles land). Unbuilt (scrolled away), it falls
   apart at once, unseen, to build again next time. Each part is its own small layer, sized to its letter. */
.fw-l{position:absolute;top:0;height:102.74%;display:none} /* letter box: its viewBox runs from -32 (the box top) to 720 (the S dips to 710) */
.foot__word.is-asm .fw-l{display:block}
.fw-l svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.fw-p{fill:url(#vl-fill);opacity:0;transform:translate(var(--x),var(--y))}
.fw-weld{fill:var(--fw-hot);opacity:0}
.fw-tg{fill:var(--spark);opacity:0;transform:translateY(5cqw) scale(.5);transform-origin:50% 82%}
.foot__word.is-built .fw-p{opacity:1;transform:none;transition:transform .62s cubic-bezier(.7,0,.2,1) var(--d),opacity .2s linear var(--d)}
.foot__word.is-built .fw-weld{animation:fwWeld .6s ease-out var(--w) both}
.foot__word.is-built .fw-tg{opacity:1;transform:none;transition:transform .5s cubic-bezier(.3,1.45,.5,1) var(--t),opacity .15s linear var(--t)}
@keyframes fwWeld{0%{opacity:0}6%{opacity:.9}100%{opacity:0}}
/* once the triangles have landed (under the ignition flash) the whole word takes the parts' place: the same shapes, without the overlaps,
   whose anti-aliased edges drew twice along each cut, and without some twenty small layers left standing */
.foot__word.is-whole .foot__word-win{display:block}
.foot__word.is-whole :is(.foot__word-win,.foot__word-fill){transform:none;transition:none}
.foot__word.is-whole .fw-l{display:none}
/* light pooled under the word, brighter once it is lit */
.foot__word::before{content:"";position:absolute;left:0;right:0;bottom:-18%;height:80%;z-index:-1;background:radial-gradient(ellipse 50% 100% at 50% 100%,var(--fw-floor),transparent);opacity:.35;transition:opacity 1.2s}
.foot__word.is-lit::before{opacity:1}
/* masked layers (the script sets --wm-mask): blueprint dots and the ignition flash */
.fw-fx{position:absolute;left:0;top:0;width:100%;height:102.74%;display:none;overflow:hidden;-webkit-mask:var(--wm-mask) 0 0/100% 100% no-repeat;mask:var(--wm-mask) 0 0/100% 100% no-repeat}
.foot__word.is-fx .fw-fx{display:block}
.fw-fx i{position:absolute;display:block}
.fw-flash{background:var(--fw-hot);opacity:0}
/* the triangles: a halo while lit, and two rings that spread when the word ignites */
.fw-tri{position:absolute;top:89.5%;width:9cqw;aspect-ratio:1;translate:-50% -50%;display:none}
.foot__word.is-fx .fw-tri{display:block}
.fw-tri::before{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(closest-side,var(--fw-halo),transparent);opacity:0;transition:opacity .8s}
.foot__word.is-lit .fw-tri::before{opacity:1}
.fw-tri i{position:absolute;inset:25%;border-radius:50%;border:1.5px solid var(--spark);box-shadow:0 0 12px var(--glow-aqua);opacity:0}
.foot__word.is-ignite .fw-tri i{animation:fwRing 1.1s var(--ease) both}
.foot__word.is-ignite .fw-tri i+i{animation-delay:.2s}
/* the trace under the word: draws along with the charge; current runs out of the triangles on ignition */
.fw-floor{position:absolute;left:0;right:0;top:100%;height:1px;margin-top:clamp(5px,.8vw,10px)}
.fw-floor::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,var(--aqua-55) 12%,var(--green-35) 88%,transparent);transform:scaleX(var(--fill));transform-origin:0 0;transition:transform .35s linear}
.fw-floor b{position:absolute;top:-1px;height:3px;border-radius:3px;opacity:0;display:none}
.foot__word.is-fx .fw-floor b{display:block}
.fw-floor b{left:var(--x);width:7cqw;margin-left:-3.5cqw;background:linear-gradient(90deg,transparent,var(--spark),transparent);box-shadow:0 0 8px var(--glow-aqua)}
.foot__word.is-ignite .fw-floor b{animation:fwSpark 1.3s linear .05s both}
.foot__word.is-ignite .fw-flash{animation:fwFlash 1.2s ease-out both}
.foot__word.is-ignite{animation:fwThump .7s var(--ease)}
@keyframes fwRing{0%{opacity:.95;transform:scale(.6)}100%{opacity:0;transform:scale(3.2)}}
@keyframes fwSpark{0%{opacity:0;transform:translateX(0)}10%{opacity:1}55%{opacity:1;transform:translateX(calc(var(--d) * .72))}100%{opacity:0;transform:translateX(var(--d))}}
@keyframes fwFlash{0%{opacity:0}7%{opacity:.92}100%{opacity:0}}
@keyframes fwThump{30%{transform:scale(1.014)}}
/* round 51 (DEC-87): lit, with the motion switch on, the word is not left dead: the halos under the triangles breathe and every 8 s a glint
   crosses the letters (a masked layer, as the flash). The word itself builds again each time it comes back on screen (wordReset in the script) */
.fw-glint i{top:0;bottom:0;left:0;width:24%;background:linear-gradient(100deg,transparent 25%,var(--fw-glint) 50%,transparent 75%);transform:translateX(-100%)}
:root[data-motion="on"] .foot__word.is-lit .fw-glint i{animation:fwGlint 8s cubic-bezier(.45,.05,.35,1) 1.6s infinite}
:root[data-motion="on"] .foot__word.is-lit .fw-tri::before{animation:fwBreathe 3.6s ease-in-out infinite}
@keyframes fwGlint{0%{transform:translateX(-100%)}22%,100%{transform:translateX(420%)}}
@keyframes fwBreathe{50%{opacity:.45}}
/* round 34: read as a precise instrument, not a toy, and nothing on it is made up.
   Before the parts arrive the letters are a dot matrix inside their outline (the blueprint they are built into); four corner
   brackets close in on the word as it scrolls in and lock on when it ignites (they snap in, blink twice and take the spark colour); the
   trace under the word is a ruler. Under it, a spec plate: the tagline and the office's real coordinates (a link to the map, the same
   place as the contact section). Round 47 (07 §1.5): the Bangkok clock (UTC+7) is gone, the coordinates no longer decode, the plate is
   not dimmed while the word builds (it was 1.8:1 in the light theme) and nothing on it is under 12px. Static parts only, except the
   brackets (transform) and the ruler's reveal (a clip on a 6px strip). */
.fw-dots{--g:clamp(4px,.6cqw,7px);background:radial-gradient(circle closest-side,var(--fw-dot) 0 30%,transparent 48%) 0 0/var(--g) var(--g)} /* the grid scales with the word (7px on a wide one), so a phone's thin stems hold more than one bead */
.fw-cn{position:absolute;width:clamp(8px,1.4cqw,18px);aspect-ratio:1;border:0 solid var(--aqua-55);display:none;opacity:min(1,calc(var(--fill) * 4));
  transition:transform .55s cubic-bezier(.3,1.5,.5,1),opacity .3s} /* round 36: no border-color transition (the main thread runs it; the lock blink covers the change) */
.foot__word.is-fx .fw-cn{display:block}
.fw-cn--tl,.fw-cn--bl{left:calc(-1 * clamp(6px,1.2vw,16px))}
.fw-cn--tr,.fw-cn--br{right:calc(-1 * clamp(6px,1.2vw,16px))}
.fw-cn--tl,.fw-cn--tr{top:calc(-1 * clamp(8px,1.2vw,14px))}
.fw-cn--bl,.fw-cn--br{bottom:calc(-1 * clamp(18px,2.4vw,28px))} /* below the ruler */
.fw-cn--tl{border-width:1.5px 0 0 1.5px;transform:translate(-10px,-10px)}
.fw-cn--tr{border-width:1.5px 1.5px 0 0;transform:translate(10px,-10px)}
.fw-cn--bl{border-width:0 0 1.5px 1.5px;transform:translate(-10px,10px)}
.fw-cn--br{border-width:0 1.5px 1.5px 0;transform:translate(10px,10px)}
.foot__word.is-lit .fw-cn{transform:none;border-color:var(--spark)}
.foot__word.is-ignite .fw-cn{animation:fwLock .5s steps(1) .2s both}
@keyframes fwLock{0%,50%{opacity:.15}25%,75%,100%{opacity:1}}
/* ruler: a fine tick every 10px and a long one every 80px, hanging under the trace and drawn along as the word scrolls in */
.fw-floor::after{content:"";position:absolute;left:0;right:0;top:3px;height:6px;
  background:repeating-linear-gradient(90deg,var(--fw-tick) 0 1px,transparent 1px 10px) 0 0/100% 3px no-repeat,repeating-linear-gradient(90deg,var(--fw-tick) 0 1px,transparent 1px 80px) 0 0/100% 6px no-repeat;
  -webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  clip-path:inset(0 calc((1 - var(--fill)) * 100%) 0 0)} /* follows the scroll as it is (round 36: a clip-path transition runs on the main thread) */
/* spec plate. Round 35: set as the rest of the page sets labels and figures. Labels (the tagline, BANGKOK, UTC+7) are Montserrat caps,
   tracked, as .kicker / .facts__code / the lockup's tagline (whose brand dots it takes too); the values (coordinates, clock) are
   JetBrains Mono, untracked and a size up in the text colour, as .num. Round 34 had it all in tracked mono: one weight and colour for
   label and value, and the full-width "." and "°" plus the tracking pulled the numbers apart ("13 . 8161 ° N") */
.foot__spec{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 24px;margin:0 0 clamp(16px,2.4vw,28px);
  font-family:var(--font-label);font-size:var(--fs-xs);font-weight:600;line-height:1.5;letter-spacing:.18em;color:var(--muted)}
.fs-item{display:inline-flex;align-items:baseline;gap:9px;white-space:nowrap}
.fs-v{font-family:var(--font-data);font-size:var(--fs-xs);font-weight:500;letter-spacing:.02em;color:var(--fg);font-variant-numeric:tabular-nums}
.fs-tag{gap:10px;color:var(--aqua)}
.fs-tag .sep{align-self:center;margin:0 0 0 -.18em} /* the tracking after the word, as in the lockup */
.fs-geo{position:relative;transition:color .2s}
.fs-geo::after{content:"";position:absolute;inset:-14px -4px} /* round 47: a 44px target */
.fs-geo svg{align-self:center;width:13px;height:13px;flex:none;fill:none;stroke:var(--aqua);stroke-width:1.5;stroke-linecap:round}
.fs-geo:hover{color:var(--aqua)}
.fs-geo:hover .fs-v{color:var(--aqua);text-decoration:underline;text-underline-offset:3px}
@media (max-width:599px){.foot__spec{justify-content:flex-start;gap:4px 18px;letter-spacing:.14em}.fs-v{font-size:var(--fs-xs)}.fs-tag{flex-basis:100%}.fs-tag .sep{margin-left:-.14em}}
@media (max-width:389px){.fs-geo>span:not(.fs-v){display:none}} /* round 47: the coordinates at 12px keep clear of the back-to-top dial; the link's name still says where */
@media (max-width:359px){.foot__spec{letter-spacing:.1em}.fs-item{gap:7px}.fs-tag .sep{margin-left:-.1em}}
/* round 40: phones: the products take the full width (a product row is the widest), services and company side by side (one column under
   390px, where a service would break onto two lines; under 360px the lockup shrinks to fit). From 760px the brand sits on one line
   (lockup, then the line about us), the three link columns share the row under it and the reach strip is a row; from 1100px brand and
   links are one row of four */
@media (max-width:759px){.foot__col--prod{grid-column:1/-1}.foot__grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media (max-width:389px){.foot__grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:359px){.foot__logo{gap:10px}.foot__logo img{width:52px}.foot__logo svg{width:200px}.foot__tag{gap:8px;font-size:.55rem}}
@media (min-width:760px){
  .foot__grid{grid-template-columns:1.3fr 1.1fr .8fr}
  .foot__brand{flex-direction:row;align-items:center}
  .foot__reach{flex-direction:row;align-items:center}
  .foot__line{width:auto;flex:none}
  .foot__ch{flex-direction:row;flex-wrap:wrap;align-items:center}
}
@media (min-width:1100px){.foot__grid{grid-template-columns:1.45fr 1.35fr 1fr .7fr}.foot__brand{grid-column:auto;flex-direction:column;align-items:flex-start}}

/* ---------- floating controls: back-to-top HUD (the gradient ring and its spark are the page's scroll progress), phone CTA dock ---------- */
.totop{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px) + var(--dock-h,0px));z-index:78;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;
  border:1px solid var(--line-strong);background:var(--drawer);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 14px 34px -18px var(--shadow);color:var(--aqua);
  opacity:0;visibility:hidden;transform:translateY(16px) scale(.9);transition:opacity .3s,transform .4s var(--ease),visibility 0s .4s,bottom .4s var(--ease),border-color .2s,box-shadow .3s}
.totop.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .3s,transform .4s var(--ease),bottom .4s var(--ease),border-color .2s,box-shadow .3s}
.totop svg{display:block}
/* outer dial: faint ticks (::before) and four bright arcs (::after) turn opposite ways as the page scrolls; the arcs spin on hover. They open out when the button appears */
.totop::before,.totop::after{content:"";position:absolute;inset:-8px;border-radius:50%;pointer-events:none;opacity:0;scale:.6;transition:opacity .35s .08s,scale .55s var(--ease) .08s}
.totop::before{rotate:calc(var(--p,0) * -180deg);background:repeating-conic-gradient(var(--aqua-55) 0 2deg,transparent 2deg 10deg);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px),#000 calc(100% - .5px),transparent);mask:radial-gradient(closest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px),#000 calc(100% - .5px),transparent)}
.totop::after{transform:rotate(calc(var(--p,0) * 1turn));background:repeating-conic-gradient(from -16deg,var(--aqua) 0 32deg,transparent 32deg 90deg);animation:ttSpin 2.6s linear infinite paused;
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px),#000 calc(100% - 4px),transparent calc(100% - 3.5px));mask:radial-gradient(closest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px),#000 calc(100% - 4px),transparent calc(100% - 3.5px))}
.totop.is-on::before{opacity:.6;scale:1}
.totop.is-on::after{opacity:.85;scale:1}
/* progress ring on a faint track, with a spark riding its head */
.totop__ring{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);fill:none;stroke-width:2.5;stroke-linecap:round;transform:rotate(-90deg);pointer-events:none;overflow:visible;filter:drop-shadow(0 0 3px var(--glow-aqua))}
.totop__ring .tt-a{stop-color:var(--aqua-soft)}
.totop__ring .tt-b{stop-color:var(--green)}
.totop__track{stroke:var(--aqua-14)}
.totop__bar{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--p,0))}
.totop__spark{position:absolute;inset:-1px;pointer-events:none;transform:rotate(calc(var(--p,0) * 1turn))}
.totop__spark::before{content:"";position:absolute;left:50%;top:-1.75px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--spark);
  box-shadow:0 0 6px 1px var(--aqua),0 0 14px 3px var(--glow-aqua)}
/* core: glass that floods with the brand gradient on hover while light streaks rush past the arrow */
.totop__core{position:relative;isolation:isolate;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 50% 30%,var(--aqua-14),transparent 72%);box-shadow:inset 0 0 0 1px var(--aqua-14);transition:color .3s,box-shadow .3s}
.totop__core::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--grad);opacity:0;transition:opacity .3s}
.totop__core::before{content:"";position:absolute;inset:0;opacity:0;transition:opacity .3s;animation:ttWarp .75s linear infinite paused;
  background:linear-gradient(transparent,currentColor) 28% -14px/1.5px 12px no-repeat,linear-gradient(transparent,currentColor) 72% -30px/1.5px 9px no-repeat,linear-gradient(transparent,currentColor) 50% -44px/1px 7px no-repeat}
.totop__arrow{position:relative;z-index:1}
/* hover readout: how far down the page you are */
.totop__read{position:absolute;right:calc(100% + 17px);top:50%;display:flex;align-items:center;gap:7px;padding:4px 9px;border-radius:8px;border:1px solid var(--line-strong);background:var(--drawer);
  font-family:var(--font-data);font-size:.72rem;font-weight:600;line-height:1.4;letter-spacing:.12em;color:var(--muted);white-space:nowrap;pointer-events:none;
  opacity:0;translate:8px -50%;transition:opacity .25s,translate .35s var(--ease)}
.totop__read b{padding-left:7px;border-left:1px solid var(--line-strong);color:var(--aqua);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.totop__read::after{content:"";position:absolute;left:100%;top:50%;width:10px;height:1px;background:linear-gradient(90deg,var(--aqua-55),transparent)}
.totop:focus-visible .totop__read{opacity:1;translate:0 -50%}
.totop__wave{position:absolute;inset:-1px;border-radius:50%;border:1.5px solid var(--aqua);opacity:0;pointer-events:none}
@media (hover:hover){
  .totop:hover{border-color:var(--aqua);box-shadow:0 0 0 1px var(--aqua-14),0 14px 34px -12px var(--glow-aqua)}
  .totop:hover::before{opacity:1}
  .totop:hover::after{opacity:1;animation-play-state:running}
  .totop:hover .totop__core{color:var(--ink);box-shadow:inset 0 0 0 1px transparent,0 0 18px -2px var(--glow-aqua)}
  .totop:hover .totop__core::after{opacity:1}
  .totop:hover .totop__core::before{opacity:.4;animation-play-state:running}
  .totop:hover .totop__arrow{animation:ttLoop .65s both}
  .totop:hover .totop__read{opacity:1;translate:0 -50%}
}
/* click: the arrow launches, a shock ring spreads (the board fires pulses from the button too, JS section 6) */
.totop.is-lift:not(.is-on){transform:translateY(-24px) scale(.85)}
.totop.is-launch .totop__arrow{animation:ttLaunch .7s both}
.totop.is-launch .totop__wave{animation:ttWave .75s var(--ease)}
@keyframes ttSpin{to{rotate:1turn}}
@keyframes ttWarp{from{background-position:28% -14px,72% -30px,50% -44px}to{background-position:28% 52px,72% 44px,50% 60px}}
@keyframes ttLoop{0%{translate:0 0;animation-timing-function:cubic-bezier(.5,0,.8,.3)}45%{translate:0 -26px}45.01%{translate:0 26px;animation-timing-function:cubic-bezier(.2,.7,.2,1)}100%{translate:0 0}}
@keyframes ttLaunch{0%{translate:0 0;animation-timing-function:ease-out}16%{translate:0 3px;animation-timing-function:cubic-bezier(.6,0,.9,.3)}46%{translate:0 -30px}46.01%{translate:0 28px;animation-timing-function:cubic-bezier(.2,.7,.2,1)}100%{translate:0 0}}
@keyframes ttWave{from{opacity:.9;scale:1;box-shadow:0 0 14px var(--glow-aqua)}to{opacity:0;scale:2.2;box-shadow:0 0 0 transparent}}
.dock{display:none}
@media (max-width:899px){
  .dock{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:79;display:grid;grid-template-columns:1fr;gap:8px;padding:6px;border-radius:20px;
    border:1px solid var(--line-strong);background:var(--drawer);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 18px 40px -16px var(--shadow);
    visibility:hidden;transform:translateY(calc(100% + 24px));transition:transform .45s var(--ease),visibility 0s .45s}
  .dock.is-on{visibility:visible;transform:none;transition:transform .45s var(--ease)}
  .dock .btn{min-height:46px;border-radius:14px}
  .dock .btn--primary .btn__in{min-height:42px;border-radius:12px}
  html.dock-on{--dock-h:70px}
  html.dock-on .totop{opacity:0;visibility:hidden;transform:translateY(16px) scale(.9)} /* the dock already covers the way back */
  html.dock-on .footer{padding-bottom:70px}
}
@media (min-width:600px) and (max-width:899px){.dock{left:50%;right:auto;width:440px;translate:-50% 0}}
/* menu drawer open: the dock (z 79) and back-to-top (78) would sit over it, since the drawer lives in the nav (z 60). Round 43 */
html.is-locked .dock,html.is-locked .totop{opacity:0;visibility:hidden} /* tablets and phones on their side: a centred dock instead of a full-width bar */


/* ---------- contact hub (bottom right): an orb that opens a small "comm link" panel with LINE and email (the Facebook row is hidden until
   the page exists, round 43). Closed (round 47, DEC-02): the orb holds still with the LINE icon (it used to cycle the icons, sweep its ring,
   turn its dial and send a ping every 4 s); once per visit a tip slides out ("ติดต่อเรา · LINE · EMAIL"). Open: the panel unfolds out of it
   as a circle and the channels come in one by one on a trace.
   LINE is the main channel (as in the contact section): on desktop its row carries the QR. Phones: the orb sits beside the dock
   (the dock makes room for it) and the panel spans the width. No JS: not shown (the contact section has every channel) ---------- */
:root{--hub-s:60px;--hub-r:20px;--hub-b:20px;--hub-line:#06C755;--hub-fb:#0866FF}
@media (max-width:899px){:root{--hub-s:56px;--hub-r:12px;--hub-b:12px}}
.hub{position:fixed;right:var(--hub-r);bottom:calc(var(--hub-b) + env(safe-area-inset-bottom,0px));z-index:80;width:var(--hub-s);height:var(--hub-s);transition:opacity .3s,visibility 0s}
.hub[hidden]{display:none}
html:is(.is-locked,.is-dx) .hub{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s} /* menu drawer or product console open */
html.has-hub .totop{right:calc(var(--hub-r) + (var(--hub-s) - 52px) / 2);bottom:calc(var(--hub-b) + env(safe-area-inset-bottom,0px) + var(--dock-h,0px) + var(--hub-s) + 20px)} /* stacked over the orb, centred on it; 20px clears the dial round the button */
html.hub-open .totop{opacity:0;visibility:hidden}
/* full-width dock: stop short of the orb (which lines up with it) */
@media (max-width:599px){
  html.has-hub .dock{right:calc(var(--hub-r) + var(--hub-s) + 8px)}
}
@media (max-width:899px){html.has-hub .footer{padding-bottom:calc(var(--hub-s) + 24px)}} /* at the very end the address clears the orb and the back-to-top above it */

/* the orb */
.hub__fab{position:relative;display:block;width:100%;height:100%;padding:0;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent;
  opacity:0;scale:.2;transition:opacity .3s,scale .7s cubic-bezier(.34,1.56,.64,1)}
.hub.is-on .hub__fab{opacity:1;scale:1}
.hub__fab:focus-visible{outline-offset:5px;border-radius:50%}
.hub__glow{position:absolute;inset:4px;border-radius:50%;background:var(--grad);filter:blur(14px);opacity:.45}
/* round 51 (DEC-87): closed, with the motion switch on, the glow breathes and one ring goes out every 7 s (before round 47: two rings every
   4 s, with the ring sweeping, the dial turning and the icons taking turns; those stay gone) */
.hub__ping{position:absolute;inset:0;border-radius:50%;border:1.5px solid var(--aqua);opacity:0;pointer-events:none}
:root[data-motion="on"] .hub.is-on:not(.is-open) .hub__ping{animation:hubPing 7s cubic-bezier(.2,.6,.3,1) 3s infinite}
:root[data-motion="on"] .hub.is-on:not(.is-open) .hub__glow{animation:hubBreath 5s ease-in-out infinite}
@keyframes hubPing{0%{opacity:.7;scale:1}30%,100%{opacity:0;scale:1.8}}
@keyframes hubBreath{50%{opacity:.75;scale:1.12}}
/* ring: a dial of ticks with the channel nodes, and an arc of light over it (both still) */
.hub__dial{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hub__dial circle:first-child{fill:var(--drawer);stroke:var(--aqua-55);stroke-width:1.2;stroke-dasharray:1 2}
.hub__dial .n{fill:var(--aqua);stroke:var(--bg);stroke-width:1.2;transition:r .35s var(--ease)}
.hub__dial .n:nth-child(3){fill:var(--green)}
.hub__fab:hover .hub__dial .n,.hub.is-open .hub__dial .n{r:3.6px}
.hub__sweep{position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:conic-gradient(transparent 0 58%,var(--aqua) 84%,var(--green) 97%,transparent 98%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px))}
/* core: the brand gradient with a glass highlight; each icon fills the core so the scan line and the wipe meet exactly */
.hub__core{position:absolute;inset:7px;display:grid;border-radius:50%;overflow:hidden;background:var(--grad);
  box-shadow:0 10px 26px -10px var(--glow-aqua),inset 0 1px 0 rgba(255,255,255,.55),inset 0 -8px 14px rgba(4,18,28,.16)}
.hub.is-on .hub__core{animation:hubOn .9s var(--ease) .15s backwards}
@keyframes hubOn{0%{filter:brightness(2.6) saturate(.4);scale:.4}55%{filter:brightness(1.6);scale:1.1}100%{filter:none;scale:1}}
.hub__core::before{content:"";position:absolute;inset:0;z-index:2;border-radius:50%;background:radial-gradient(60% 45% at 32% 22%,rgba(255,255,255,.55),transparent 70%);pointer-events:none}
.hub__icos{grid-area:1/1;display:grid;transition:opacity .25s,scale .35s var(--ease)}
.hub__ico{grid-area:1/1;display:grid;place-items:center} /* round 47: the LINE icon only (LINE and email took turns) */
.hub__ico svg,.hub__x svg{width:24px;height:24px}
.hub__ico .f{fill:currentColor}
.hub__ico .s,.hub__x svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hub__x{grid-area:1/1;display:grid;place-items:center;opacity:0;rotate:-90deg;scale:.4;transition:opacity .2s,rotate .45s var(--ease),scale .45s var(--ease)}
.hub.is-open .hub__icos{opacity:0;scale:.4}
.hub.is-open .hub__x{opacity:1;rotate:0deg;scale:1}
.hub__led{position:absolute;right:3px;top:3px;width:13px;height:13px;border-radius:50%;background:var(--green);border:2.5px solid var(--bg);pointer-events:none;transition:scale .3s var(--ease)}
.hub.is-open .hub__led{scale:0}
.hub.is-open .hub__glow{opacity:0}
/* tip: slides out of the orb on hover, and once per visit by itself */
.hub__tip{position:absolute;right:calc(100% + 14px);top:50%;display:flex;flex-direction:column;align-items:flex-end;gap:1px;padding:8px 14px 9px;border-radius:14px;white-space:nowrap;text-align:right;
  border:1px solid var(--line-strong);background:var(--drawer);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 14px 34px -18px var(--shadow);color:var(--fg);
  opacity:0;translate:10px -50%;scale:.94;transform-origin:right center;pointer-events:none;transition:opacity .25s,translate .45s var(--ease),scale .45s var(--ease)}
.hub__tip::after{content:"";position:absolute;left:100%;top:50%;width:14px;height:1.5px;background:linear-gradient(90deg,var(--line-strong),var(--aqua))}
.hub__tip b{font-family:var(--font-display);font-weight:600;font-size:var(--fs-sm);line-height:1.35}
.hub__tip-k{display:inline-block;font-family:var(--font-label);font-weight:600;font-size:var(--fs-xs);line-height:1.5;letter-spacing:.18em;color:var(--aqua)}
@media (hover:hover){.hub__fab:hover .hub__tip{opacity:1;translate:0 -50%;scale:1}}
.hub__fab:focus-visible .hub__tip,.hub.is-tease .hub__tip{opacity:1;translate:0 -50%;scale:1}
.hub.is-tease .hub__tip{pointer-events:auto}
.hub.is-open .hub__tip{opacity:0;translate:10px -50%;pointer-events:none}

/* the trace from the orb up to the panel */
.hub__wire{position:absolute;left:calc(50% - 1px);bottom:100%;width:2px;height:16px;border-radius:2px;background:linear-gradient(0deg,var(--aqua),var(--green));
  transform-origin:bottom;scale:1 0;transition:scale .18s}
.hub__wire::before{content:"";position:absolute;left:50%;top:-4px;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:var(--green);box-shadow:0 0 10px var(--glow-green)}
.hub.is-open .hub__wire{scale:1;transition:scale .22s var(--ease)}

/* the panel: unfolds out of the orb as a circle, shrinks back into it */
.hub__panel{position:absolute;right:0;bottom:calc(100% + 16px);width:min(372px,calc(100vw - var(--hub-r) * 2));border-radius:22px;
  border:1px solid var(--line-strong);background:var(--drawer);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);
  box-shadow:0 30px 70px -26px var(--shadow),inset 0 1px 0 var(--hair);color:var(--fg);
  --ox:calc(100% - var(--hub-s) / 2);--oy:calc(100% + 16px + var(--hub-s) / 2);
  visibility:hidden;clip-path:circle(0px at var(--ox) var(--oy));transition:clip-path .34s cubic-bezier(.5,0,.75,0),visibility 0s .34s}
.hub.is-open .hub__panel{visibility:visible;clip-path:circle(200% at var(--ox) var(--oy));transition:clip-path .7s var(--ease) .08s,visibility 0s}
.hub__edge{position:absolute;inset:-1px;z-index:1;border-radius:inherit;padding:1.5px;pointer-events:none;opacity:0;transition:opacity .4s;
  background:conic-gradient(from var(--spin),transparent 0 60%,var(--aqua) 82%,var(--green) 94%,transparent 97%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.hub.is-open .hub__edge{opacity:1}
.hub__scroll{position:relative;max-height:calc(100dvh - var(--hub-s) - var(--hub-b) - 56px);overflow:hidden auto;overscroll-behavior:contain;padding:16px 14px 12px;border-radius:inherit;
  background:radial-gradient(300px 160px at 100% 0%,var(--aqua-08),transparent 70%),radial-gradient(240px 140px at 0% 100%,var(--green-16),transparent 72%)}
/* parts come in one after another once the panel has opened (and leave at once) */
.hub [data-hub-in]{opacity:0;translate:0 10px;transition:opacity .2s,translate 0s .2s}
.hub.is-open [data-hub-in]{opacity:1;translate:0 0;transition:opacity .45s calc(.18s + var(--i,0) * .08s),translate .6s var(--ease) calc(.18s + var(--i,0) * .08s)}

.hub__head{display:flex;align-items:center;gap:12px;padding:0 4px}
.hub__av{position:relative;display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:50%;background:var(--well);box-shadow:inset 0 0 0 1px var(--line)}
.hub__av img{width:30px;height:auto}
.hub__av::before{content:"";position:absolute;inset:-3px;border-radius:50%;padding:1.5px;
  background:conic-gradient(var(--aqua),transparent 35% 65%,var(--green));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.hub__av::after{content:"";position:absolute;right:-1px;bottom:1px;width:11px;height:11px;border-radius:50%;background:var(--green);border:2px solid var(--bg)}
.hub__who{min-width:0}
.hub__head h2{font-size:var(--fs-title);line-height:1.35;margin-top:1px}
.hub__sub{margin:10px 4px 14px;color:var(--muted);font-size:var(--fs-sm);line-height:1.55}

/* channels: chips sit on one trace (the bus) */
.hub__list{position:relative;display:grid;gap:8px;margin:0;padding:0;list-style:none}
.hub__list::before{content:"";position:absolute;left:31px;top:30px;bottom:30px;width:2px;margin-left:-1px;border-radius:2px;background:linear-gradient(var(--hub-line),var(--aqua));opacity:.45;
  transform-origin:top;scale:1 0;transition:scale 0s .2s}
.hub.is-open .hub__list::before{scale:1 1;transition:scale .7s var(--ease) .3s}
.hub__ch[hidden]{display:none}
.hub__ch{position:relative;display:flex;align-items:center;gap:6px;border-radius:16px;border:1px solid var(--line);background:var(--well);
  transition:border-color .2s,background-color .2s,box-shadow .3s}
.hub__ch:hover{border-color:var(--line-strong)}
.hub__ch--line{border-color:color-mix(in srgb,var(--hub-line) 40%,transparent);background:radial-gradient(220px 120px at 0% 0%,color-mix(in srgb,var(--hub-line) 14%,transparent),transparent 75%),var(--well)}
.hub__ch--line:hover{border-color:var(--hub-line);box-shadow:0 12px 30px -16px color-mix(in srgb,var(--hub-line) 70%,transparent)}
.hub__link{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0;padding:10px;border-radius:15px;color:inherit;text-decoration:none}
.hub__chip{--c:var(--aqua);position:relative;z-index:1;display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--c);color:#fff;
  box-shadow:0 0 0 0 transparent,0 6px 16px -8px var(--c);transition:box-shadow .3s,scale .3s var(--ease)}
.hub__chip svg{width:22px;height:22px;fill:currentColor}
.hub__ch--line .hub__chip{--c:var(--hub-line)}
.hub__ch--fb .hub__chip{--c:var(--hub-fb)}
.hub__ch--mail .hub__chip{background:var(--grad);color:var(--ink)}
.hub__ch--mail .hub__chip svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hub__link:hover .hub__chip,.hub__link:focus-visible .hub__chip{scale:1.06;box-shadow:0 0 0 4px color-mix(in srgb,var(--c) 22%,transparent),0 0 22px -2px var(--c)}
.hub.is-open .hub__chip{animation:hubChip .7s var(--ease) calc(.3s + var(--i,0) * .08s) backwards}
@keyframes hubChip{0%{scale:.3;filter:brightness(2.4);box-shadow:0 0 0 0 var(--c)}60%{scale:1.12;box-shadow:0 0 0 8px transparent}100%{scale:1;filter:none}}
.hub__txt{display:flex;flex-direction:column;min-width:0}
.hub__txt b{font-family:var(--font-display);font-weight:600;font-size:var(--fs-sm);line-height:1.35;display:flex;align-items:center;gap:8px}
.hub__val{font-family:var(--font-data);font-weight:500;font-size:var(--fs-xs);line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.hub__ch--line .hub__val{color:var(--fg)}
.hub__val.todo{color:var(--warn)}
.hub__tag{padding:0 8px;border-radius:999px;font-family:var(--font-body);font-weight:600;font-size:var(--fs-xs);line-height:1.6;color:#fff;background:var(--hub-line)}
:root:not([data-theme="light"]) .hub__tag{color:var(--ink)}
.hub__go{display:grid;place-items:center;flex:none;width:30px;height:30px;margin-left:auto;border-radius:50%;color:var(--muted);transition:color .2s,background-color .2s}
.hub__go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s var(--ease)}
.hub__link:hover .hub__go{color:var(--aqua);background:var(--aqua-08)}
.hub__link:hover .hub__go svg{translate:2px -2px}
.hub__ch .fact__copy{width:34px;height:34px;margin-right:10px}
.hub__ch .fact__copy::before{display:none}
.hub__hint{display:none}
/* desktop: LINE carries its QR in a scanner frame; it boots like a screen and a scan line sweeps it */
.hub__qr{display:none}
@media (min-width:900px){
  .hub__ch--line{align-items:stretch}
  .hub__ch--line .hub__link{flex-wrap:wrap;align-content:center;row-gap:8px}
  .hub__ch--line .hub__go{display:none}
  .hub__hint{display:flex;align-items:center;gap:6px;flex-basis:100%;padding-left:52px;font-size:var(--fs-xs);line-height:1.45;color:var(--muted)}
  .hub__hint svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s var(--ease)}
  .hub__link:hover .hub__hint{color:var(--hub-line)}
  .hub__link:hover .hub__hint svg{translate:2px -2px}
  .hub__qr{position:relative;display:block;flex:none;align-self:center;margin:10px 10px 10px 0;padding:6px;
    --c:linear-gradient(var(--hub-line),var(--hub-line));
    background:var(--c) 0 0/14px 2px,var(--c) 0 0/2px 14px,var(--c) 100% 0/14px 2px,var(--c) 100% 0/2px 14px,
      var(--c) 0 100%/14px 2px,var(--c) 0 100%/2px 14px,var(--c) 100% 100%/14px 2px,var(--c) 100% 100%/2px 14px;background-repeat:no-repeat}
  .hub__qr svg{display:block;width:96px;height:96px;border-radius:6px;background:#F2FFFC}
  .hub.is-open .hub__qr svg{animation:dxBoot .75s var(--ease) .55s backwards}
  .hub__qr-scan{position:absolute;left:3px;right:3px;top:6px;height:2px;border-radius:2px;opacity:0;pointer-events:none;
    background:linear-gradient(90deg,transparent,var(--hub-line) 20%,var(--hub-line) 80%,transparent);box-shadow:0 0 10px 1px color-mix(in srgb,var(--hub-line) 60%,transparent)}
  .hub.is-open .hub__qr-scan{animation:hubQrScan 1.6s ease-in-out 1.2s 2}
  .hub__ch--line:hover .hub__qr-scan{animation:hubQrScan 1.6s ease-in-out infinite}
}
@keyframes hubQrScan{0%{opacity:0;translate:0 0}15%,85%{opacity:1}100%{opacity:0;translate:0 94px}}
.hub__more{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 6px 2px;border-top:1px solid var(--line);color:var(--muted);font-size:var(--fs-sm);text-decoration:none;transition:color .2s}
.hub__more svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s var(--ease)}
.hub__more:hover{color:var(--aqua)}
.hub__more:hover svg{translate:0 3px}
@media (max-width:899px){.hub__ch--line .hub__val::after{content:" · opens LINE";font-family:var(--font-body);color:var(--muted)}}
@media (prefers-reduced-motion:reduce){
  .hub,.hub *,.hub *::before,.hub *::after{transition:none !important}
}

/* ---------- frame budget (round 32: tested on a phone, the page stuttered and the theme switch hitched) ----------
   The hero's endless animations stop while it is off screen (JS sets .hero.is-off), as the cards' stages already did. */
.hero.is-off *,.hero.is-off *::before,.hero.is-off *::after{animation-play-state:paused !important}
/* touch screens: the floating bars and buttons (nav pill, drawer, dock, back-to-top, contact tip and panel, console backdrop) sit over the
   circuit canvas, which changes every frame, so a backdrop blur had to be redone every frame on the phone's GPU. They drop the blur and take
   a nearly opaque fill instead (the traces under them were blurred to a haze anyway). */
@media (pointer:coarse){
  :root{--pill:rgba(7,14,38,.95);--drawer:rgba(8,15,40,.97)}
  :root[data-theme="light"]{--pill:rgba(255,255,255,.96);--drawer:rgba(250,253,254,.97)}
  .nav.is-scrolled .nav__bar::before,.nav__menu,.totop,.dock,.hub__tip,.hub__panel{-webkit-backdrop-filter:none;backdrop-filter:none}
  .dx::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}
  /* a primary button left in :hover after a tap does not spin its border (an animation the GPU cannot take, so the main thread drew it every frame) */
  .btn--primary:hover::before{animation:none}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important}
  .reveal{transition:none;opacity:1;translate:0 0}
  .tile{transition:none}
  .cur{display:none !important}
  .nav__menu>a,.nav__ink,.totop,.dock,.th-core,.th-cut,.th-rays{transition:none !important}
  .totop::before,.totop::after,.totop__core,.totop__core::after,.totop__read{transition:none !important}
  .totop::before,.totop::after{rotate:none;transform:none}
  .ico :is(path,circle,rect){stroke-dashoffset:0 !important}
  .ba__a,.ba__row,.ba__row::before,.ba__row b,.ba__was::after{transition:none !important}
  .foot__word-win,.foot__word-fill,.fw-floor::before,.fw-floor::after,.fw-cn,.fw-p,.fw-tg,.svs__c{transition:none !important}
}
/* ---------- round 68 (plan 32 §9): the greeter. The owner wants the visitor asked at once what they do ("ฉันอยากให้ user เข้าถึงจุดประสงค์
   ได้ทันทีโดยไม่ต้องคิดหรือพยายามหาอะไรเลย"). A card that asks "คุณทำธุรกิจหรือดูแลงานด้านไหน" as the page opens: over the contact orb on a desktop, as a
   sheet at the foot of a phone. It covers no reading text, locks nothing and takes no keyboard focus (not a modal, and no full-screen
   interstitial on a phone). Shown by the script (section 17) once per browser until answered or put off for 30 days; without JS it never
   shows, and the hero cards ask the same question. Motion: one slide in, transform and opacity only ---------- */
.ask{position:fixed;z-index:85;right:var(--hub-r);bottom:calc(var(--hub-b) + env(safe-area-inset-bottom,0px) + var(--hub-s) + 14px);
  width:min(408px,calc(100vw - 2 * var(--hub-r)));max-height:calc(100dvh - var(--nav-h) - var(--hub-s) - 56px);overflow:auto;overscroll-behavior:contain;
  padding:18px 18px 12px;border:1px solid var(--line-strong);border-radius:22px;background:linear-gradient(180deg,var(--tile-2),var(--tile)),var(--bg);
  box-shadow:0 28px 70px -22px rgba(4,30,34,.42),0 0 0 4px var(--aqua-08);
  opacity:0;transform:translateY(18px) scale(.97);transform-origin:100% 100%;visibility:hidden;
  transition:opacity .3s ease,transform .5s var(--ease),visibility 0s .5s}
.ask.is-on{opacity:1;transform:none;visibility:visible;transition:opacity .3s ease,transform .5s var(--ease),visibility 0s}
.ask[hidden]{display:none}
:root[data-motion="off"] .ask{transition:none}
.ask__head{display:flex;align-items:center;gap:12px;padding-right:44px}
.ask__av{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:15px;border:1px solid var(--line);background:var(--well)}
.ask__av img{width:32px;height:auto}
.ask__hi{font-size:var(--fs-sm);line-height:1.4;color:var(--muted)}
.ask h2{margin:0;font-family:var(--font-display);font-weight:600;font-size:var(--fs-h3);line-height:1.25}
.ask__sub{margin:10px 0 12px;font-size:var(--fs-sm);line-height:1.55;color:var(--muted)}
.ask__x{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:12px;background:none;color:var(--muted);cursor:pointer;transition:background-color .2s,color .2s}
.ask__x:hover{background:var(--well);color:var(--fg)}
.ask__x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ask__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.ask__opt{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--well);
  color:var(--fg);font-weight:600;font-size:var(--fs-sm);line-height:1.3;text-decoration:none;transition:border-color .2s,background-color .2s,transform .25s var(--ease)}
.ask__opt:hover,.ask__opt:focus-visible{border-color:var(--aqua-55);background:var(--aqua-08);transform:translateY(-1px)}
.ask__opt svg{flex:none;width:24px;height:24px;fill:none;stroke:var(--aqua);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ask__opt--own{border-style:dashed}
.ask__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin-top:10px;padding-top:6px;border-top:1px solid var(--line)}
.ask__all{display:inline-flex;align-items:center;min-height:44px;color:var(--aqua);font-weight:600;font-size:var(--fs-sm);text-decoration:none}
.ask__all:hover{text-decoration:underline;text-underline-offset:3px}
.ask__later{min-height:44px;padding:0 14px;border:0;border-radius:12px;background:none;color:var(--muted);font:inherit;font-size:var(--fs-sm);cursor:pointer;transition:background-color .2s,color .2s}
.ask__later:hover{background:var(--well);color:var(--fg)}
@media (max-width:599px){
  .ask{left:10px;right:10px;width:auto;bottom:calc(10px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - var(--nav-h) - 20px);padding:14px 12px 6px;border-radius:20px;transform-origin:50% 100%}
  .ask h2{font-size:var(--fs-title)}
  .ask__av{width:40px;height:40px}
  .ask__sub{margin:6px 0 10px}
  .ask__opt{min-height:48px;padding:6px 10px;gap:8px}
  .ask__opt svg{width:22px;height:22px}
  html.ask-open :is(.hub,.dock,.totop){opacity:0;visibility:hidden;pointer-events:none} /* the sheet stands where they stand */
}
/* round 68 (plan 32 §9): × or "ไว้ทีหลัง" folds the card into this pill at the foot of the screen, so a visitor who closed it by
   mistake has it one tap away for the rest of the visit (left corner: the contact orb holds the right one, the phone dock sits under it) */
.ask-pill{position:fixed;z-index:79;left:var(--hub-r);bottom:calc(var(--hub-b) + env(safe-area-inset-bottom,0px) + var(--dock-h,0px) + (var(--hub-s) - 48px) / 2);
  display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px 0 14px;border:1px solid var(--aqua-30);border-radius:999px;
  background:linear-gradient(180deg,var(--tile-2),var(--tile)),var(--bg);box-shadow:0 14px 34px -14px rgba(4,30,34,.38);color:var(--aqua);
  font:600 var(--fs-sm)/1 var(--font-body);cursor:pointer;opacity:0;transform:translateY(12px);visibility:hidden;
  transition:opacity .3s ease,transform .45s var(--ease),visibility 0s .45s,border-color .2s}
.ask-pill.is-on{opacity:1;transform:none;visibility:visible;transition:opacity .3s ease,transform .45s var(--ease),visibility 0s,border-color .2s}
.ask-pill:hover{border-color:var(--aqua-55)}
.ask-pill svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ask-pill[hidden]{display:none}
html.ask-open .ask-pill{opacity:0;visibility:hidden}
:root[data-motion="off"] .ask-pill{transition:none}
/* the way back to the question, beside the line over the business cards (shown by the script) */
.hero__pick{flex-wrap:wrap}
.ask-again{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--aqua-30);border-radius:999px;background:var(--aqua-08);
  color:var(--aqua);font:600 var(--fs-sm)/1 var(--font-body);cursor:pointer;transition:border-color .2s,background-color .2s,transform .25s var(--ease)}
.ask-again:hover{border-color:var(--aqua-55);transform:translateY(-1px)}
.ask-again svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ask-again[hidden]{display:none}
