/* site.css: albertocampigotto.com. Only variables here: every literal colour lives in palette.css. Load palette.css first.
   14 Oct 2026, rework: square corners from the logo, L brackets only around the slider and the portrait; the hero chat is a phone.
   «Dala adattato»: one sans family, display type at regular weight, space instead of rules, one lime pill per view,
   motion only where it explains a result (hero chat, before/after, voice → Excel, the belt, the steps, the assistant). */

/* ============ FONT (self-hosted, latin + latin-ext) ============ */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/schibsted-grotesk-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; }

/* ============ TOKENS: type, space, motion (no colours below this line) ============ */
:root {
  --f-text: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.125rem;                                       /* 18 */
  --fs-small: 1rem;                                          /* 16 */
  --fs-meta: .9375rem;                                       /* 15 */
  --fs-tiny: .8125rem;                                       /* 13, only inside the demos */
  --fs-lead: clamp(1.1875rem, 1.06rem + .5vw, 1.375rem);     /* 19 → 22 */
  --fs-h1: clamp(2.5rem, 1.55rem + 3.4vw, 4.5rem);           /* 40 → 72 */
  --fs-h2: clamp(2.125rem, 1.5rem + 2.4vw, 3.5rem);          /* 34 → 56 */
  --fs-h3: clamp(1.625rem, 1.3rem + 1.2vw, 2.375rem);        /* 26 → 38: the example titles */
  --fs-h4: clamp(1.25rem, 1.16rem + .4vw, 1.5rem);           /* 20 → 24 */
  --fs-tag: clamp(2.125rem, 1.35rem + 3.1vw, 4.25rem);       /* 34 → 68 */
  --fs-step: clamp(3rem, 2.2rem + 3vw, 5rem);                /* 48 → 80 */
  --fs-q: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);        /* 19 → 22 */
  --fs-mail: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);          /* 22 → 32 */
  --w-display: 500;
  --w-head: 560;
  --w-strong: 620;
  --pad: clamp(18px, 4.45vw, 64px);
  --maxw: 1240px;
  --gut: 24px;
  --nav-h: 64px;
  --sec: clamp(5.5rem, 3.4rem + 6.6vw, 10rem);               /* 88 → 160 */
  /* motion: three durations, two curves (plus ease for colour), one stagger; main.js reads them too. Exits run a step faster */
  --dur-1: 160ms;                                   /* answer: press, hover, colour, every exit */
  --dur-2: 320ms;                                   /* state: menu, questions, the bars, fades inside the demos */
  --dur-3: 640ms;                                   /* story: what moves to show the work (hero chat, demos, the mark) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);       /* enters, answers, reveals */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);   /* travels from one place to another while in view */
                                                    /* linear: only for progress; long story motions are multiples of --dur-3 */
  --stagger: 50ms;                                  /* between siblings that move together, four at most */
  --press: .97;                                     /* pressed buttons with a label */
  --press-sm: .94;                                  /* pressed targets under 60 px: lamp, language, icons */
  /* the lamp: one disc, one timing, shared by status dots and the theme switch */
  --lamp-d: 12px;
  --lamp-t: var(--dur-1);
  --lamp-e: var(--ease-out);
  /* 14 Oct 2026, shape A: the logo's square corners. Dots (status lamps, avatars, play buttons) stay round like the logo's dot. */
  --r-pill: 0px;
  --r-card: 0px;
  --r-in: 0px;
  --brk: 18px;      /* the L brackets of the mark, around the large frames only */
  --brk-off: -9px;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--dur-2); animation-timing-function: ease; }
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg); color: var(--ink);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scrollbar-color: var(--line) var(--bg);
  scroll-padding-top: calc(var(--nav-h) + 20px);
}
/* smooth scroll only for clicks on the page, once loaded: arriving on an anchor jumps */
@media (prefers-reduced-motion: no-preference) { html.is-ready { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--f-text);
  font-kerning: normal; text-rendering: optimizeLegibility; caret-color: var(--ink);
  overflow-x: clip;
}
h1, h2, h3, h4, p, dl, dd, figure, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, canvas { display: block; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .26em;
    text-decoration-color: var(--link-ul); transition: text-decoration-color var(--dur-1) ease, color var(--dur-1) ease; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
strong, b { font-weight: var(--w-strong); }
::selection { background: var(--sel-bg); color: var(--sel-fg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* the outline follows each element's own radius: pills stay pills when focused */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.num { font-variant-numeric: tabular-nums; }
/* small labels: plain sans, sentence case. The old monospace capitals are gone on purpose. */
.lbl, .eng { font-size: var(--fs-meta); line-height: 1.4; font-weight: 500; letter-spacing: 0; color: var(--meta); }
.leader { display: none; }
/* the lamp dot: a disc in a 1.5 px ring. Lit = lime, half = left half lime, off = ring only */
.ind { position: relative; display: inline-block; flex: none; width: var(--lamp-d); height: var(--lamp-d); border-radius: 50%;
       border: 1.5px solid var(--ink); background-color: var(--bg); overflow: hidden; transition: background-color var(--lamp-t) var(--lamp-e); }
.ind::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background-color: transparent; transition: background-color var(--lamp-t) var(--lamp-e); }
.ind.is-on { background-color: var(--signal); }
.ind.is-half::before { background-color: var(--signal); }

/* skip link: reached with the keyboard, so it appears at once */
.skip { position: absolute; left: var(--pad); top: 10px; z-index: 100; padding: 11px 16px; border-radius: var(--r-pill);
        background: var(--ink); color: var(--bg); text-decoration: none; font-size: var(--fs-meta); font-weight: 600;
        transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

/* ============ BAR ============ */
.bar { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color var(--dur-1) ease; }
.bar.is-scrolled { border-bottom-color: var(--rule); }
.bar-in { height: var(--nav-h); display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto;
         font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand-in { display: inline-flex; align-items: center; gap: 12px; }
.nav { display: flex; align-items: center; }
.menu { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-list a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 500;
              color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color var(--dur-1) ease; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1.5px; background: currentColor;
                     transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-1) var(--ease-out); }
.nav-list a[aria-current="true"] { color: var(--ink); }
.nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--rule); border-radius: var(--r-pill); }
.lang a { display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 9px; border-radius: var(--r-pill);
          font-size: .875rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; color: var(--ink-2);
          transition: background-color var(--dur-1) ease, color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.lang a[aria-current] { background: var(--ink); color: var(--bg); }
.lang a:active { transform: scale(var(--press-sm)); }
.menu-btn { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: var(--r-pill);
            font-size: .9375rem; font-weight: 600; transition: border-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.menu-btn:active { transform: scale(var(--press)); }
.menu-ico { position: relative; width: 16px; height: 10px; flex: none; }
.menu-ico i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--dur-1) var(--ease-out); }
.menu-ico i:first-child { top: 0; }
.menu-ico i:last-child { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-ico i:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico i:last-child { transform: translateY(-4.25px) rotate(-45deg); }
/* the bar's own call to action: it appears only once the hero button has left the screen */
.bar-slot { display: grid; align-items: center; justify-items: end; }
.bar-slot > * { grid-area: 1 / 1; }
.bar-slot .lang { transition: opacity var(--dur-1) ease, visibility 0s; }
.bar.show-cta .bar-slot .lang { opacity: 0; visibility: hidden; transition: opacity var(--dur-1) ease, visibility 0s linear var(--dur-1); }
.bar-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill);
           opacity: 0; visibility: hidden; transform: translateY(-4px);
           background: var(--btn-bg); color: var(--btn-fg); font-size: .9375rem; font-weight: 620; text-decoration: none; white-space: nowrap;
           transition: background-color var(--dur-1) ease, opacity var(--dur-1) ease, transform var(--dur-1) var(--ease-out), visibility 0s linear var(--dur-1); }
.bar.show-cta .bar-cta { opacity: 1; visibility: visible; transform: none;
                         transition: background-color var(--dur-1) ease, opacity var(--dur-2) ease, transform var(--dur-2) var(--ease-out), visibility 0s; }
.nav { margin-left: 28px; }

/* the lamp: the theme switch. Lit = dark theme on */
.lamp { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--r-pill);
        transition: border-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.lamp:active { transform: scale(var(--press-sm)); }
html:not(.js) .lamp { display: none; }   /* without a script the switch would do nothing */
.lamp svg { width: 24px; height: 24px; overflow: visible; }
.l-cord { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.l-shade { fill: currentColor; }
.l-bulb { fill: var(--bg); stroke: currentColor; stroke-width: 1.5; transition: fill var(--lamp-t) var(--lamp-e); }
.l-ray { fill: none; stroke: var(--signal); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
         transition: stroke-dashoffset var(--lamp-t) var(--lamp-e) var(--stagger); }
.lamp[aria-pressed="true"] .l-bulb { fill: var(--signal); }
.lamp[aria-pressed="true"] .l-ray { stroke-dashoffset: 0; }
/* a theme change lands in one step: under html.is-theming only the lamp and the mark animate */
.is-theming *:not(.lamp, .lamp *, .brand *), .is-theming *::before, .is-theming *::after { transition: none !important; }

/* ============ BUTTONS AND LINKS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: var(--r-pill);
       background: var(--btn-bg); color: var(--btn-fg); font-size: 1.0625rem; line-height: 1.2; font-weight: 620; letter-spacing: -.005em;
       text-align: center; text-decoration: none; transition: background-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.btn:active { transform: scale(var(--press)); }
.btn svg, .btn-ghost svg, .bar-cta svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.is-ph { border-style: dashed; border-color: var(--line); color: var(--meta); cursor: not-allowed; }
.ph-tag { margin-left: 4px; padding: 2px 9px; border-radius: var(--r-pill); border: 1px solid var(--rule); color: var(--meta); font-size: .75rem; font-weight: 600; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: var(--r-pill);
             border: 1.5px solid var(--ink); color: var(--ink); font-size: 1.0625rem; line-height: 1.2; font-weight: 600; text-decoration: none;
             transition: background-color var(--dur-1) ease, color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.btn-ghost:active { transform: scale(var(--press)); }
.link-arrow, .btn-sec { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.0625rem; font-weight: 600;
                        text-decoration-line: underline; text-decoration-thickness: 1.5px; text-underline-offset: .32em; text-decoration-color: var(--link-ul); white-space: nowrap; }
.link-arrow svg, .btn-sec svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
                                transition: transform var(--dur-1) var(--ease-out); }
.link-arrow:active, .btn-sec:active { color: var(--meta); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ============ HERO ============ */
.hero { padding: clamp(36px, 5.4vw, 88px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: 1fr auto auto 1fr;
             grid-template-areas: ". chat" "copy chat" "act chat" ". chat"; column-gap: clamp(40px, 6vw, 104px); }
.hero-copy { grid-area: copy; }
.hero-act { grid-area: act; }
.hero-grid > .chat { grid-area: chat; align-self: center; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.034em; font-weight: var(--w-display); }
.h1-s { display: block; text-wrap: balance; }
.h1-b { display: block; color: var(--meta); }
.hero .lead { margin-top: clamp(22px, 2.4vw, 32px); }
.lead { max-width: 34em; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.hero-act .ctas { margin-top: clamp(28px, 3vw, 40px); }
.assure { margin-top: 18px; max-width: 46ch; font-size: var(--fs-meta); line-height: 1.55; color: var(--meta); }
/* the proof line on case pages and 404: a lamp and one fact */
.proof { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; max-width: 52ch; font-size: var(--fs-small); line-height: 1.5; color: var(--meta); }
.proof .ind { margin-top: 6px; }

/* ---------- the hero chat: the client's Telegram on an iPhone drawn in CSS (AL, 14 Oct 2026), dark in both themes ---------- */
.chat { position: relative; width: 100%; max-width: 336px; justify-self: end; }
.chat { isolation: isolate; }
.phone { position: relative; aspect-ratio: 71 / 147; padding: 9px; border-radius: 52px; background: var(--phone-body); box-shadow: 0 0 0 1.5px var(--phone-edge); }
/* side buttons */
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: var(--phone-edge); }
.phone::before { left: -4px; top: 16%; height: 4.5%; box-shadow: 0 52px 0 var(--phone-edge), 0 96px 0 var(--phone-edge); }
.phone::after { right: -4px; top: 26%; height: 10%; }
.phone-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 43px; background: var(--surface); }
.phone-status { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 2px 24px 0 30px;
                background: var(--bg); font-size: .875rem; font-weight: 650; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.phone-island { position: absolute; left: 50%; top: 11px; width: 31%; height: 26px; transform: translateX(-50%); border-radius: 14px; background: var(--phone-body); }
/* a short, soft shadow under the base (AL's idea) */
.phone-ground { position: relative; z-index: -1; display: block; height: 14px; margin: -18px 15% 0; border-radius: 50%; box-shadow: 0 16px 22px 2px var(--phone-ground); }
.phone-icons { display: inline-flex; align-items: center; gap: 5px; }
.phone-icons svg { width: auto; height: 11px; fill: currentColor; }
.phone-icons .bt-case { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .45; }
.phone-icons .bt-tip { opacity: .45; }
.chat-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 4px 16px 10px 10px; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.chat-back { flex: none; display: grid; place-items: center; width: 20px; color: var(--ink); }
.chat-back svg { width: 11px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-ava { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--ink); }
.chat-ava .mk { width: 21px; height: 21px; }
.chat-who { display: grid; min-width: 0; line-height: 1.25; }
.chat-name { font-size: .9375rem; font-weight: 600; }
.chat-sub { font-size: var(--fs-tiny); color: var(--meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* while the bot works, the line under its name says what it is doing */
.chat-sub.is-busy { color: var(--ok-ink); }
.chat-input { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px 28px; background: var(--bg); border-top: 1px solid var(--line-soft); }
.chat-field { flex: 1; min-width: 0; padding: 7px 14px; border: 1px solid var(--line-soft); border-radius: 18px; font-size: .875rem; line-height: 1.3; color: var(--meta); }
.chat-input svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--meta); }
.phone-home { position: absolute; left: 50%; bottom: 8px; width: 36%; height: 5px; transform: translateX(-50%); border-radius: 3px; background: var(--ink); opacity: .8; }
.chat-body { position: relative; flex: 1; min-height: 0; padding: 12px 10px; overflow: hidden;
             display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; }
.chat-list { display: flex; flex-direction: column; gap: 10px; }
/* without motion the chat sits at the bottom, as a chat does */
html:not(.motion) .chat-body { justify-content: flex-end; }
.msg { position: relative; max-width: 88%; padding: 5px; border-radius: var(--r-bubble); background: var(--surface-2); }
.msg-out { align-self: flex-end; border-radius: 14px 3px 14px 14px; background: var(--bubble-out); }
.msg-in { align-self: flex-start; }
.msg-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--paper); }
.msg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.msg-out .msg-photo { width: 104px; }
.msg-in .msg-photo { width: 180px; }   /* stays smaller than the title on a phone, so it is never the LCP */
.msg-meta { display: flex; align-items: center; justify-content: flex-end; gap: 5px; padding: 4px 7px 1px; font-size: var(--fs-tiny); color: var(--meta); }
.msg-meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.msg-text { padding: 6px 10px 2px; font-size: .9375rem; line-height: 1.45; }
/* the stage: "after" under "before", a lime scan line, a canvas for the background that crumbles away */
.stage .st-after { clip-path: inset(0 0 0 0); }
.stage .st-before { clip-path: inset(0 0 0 100%); }
.st-line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--accent);
           box-shadow: 0 0 0 1px rgba(20, 21, 22, .28); opacity: 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; margin: 7px 3px 2px; padding: 6px 11px 6px 8px; border-radius: 8px;
        font-size: .875rem; line-height: 1.3; font-weight: 600; }
.chip svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-ok { background: var(--ok-bg); color: var(--ok-ink); }
.chip-warn { background: var(--warn-bg); color: var(--warn-ink); }
.chat-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 0 6px; }
.chat-cap { font-size: var(--fs-tiny); line-height: 1.4; color: var(--meta); }
.pause { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 34px; padding: 0 13px 0 11px; border: 1px solid var(--rule); border-radius: var(--r-pill);
         font-size: .8125rem; font-weight: 600; color: var(--ink-2); transition: border-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.pause svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pause .i-play, .pause .i-replay { display: none; }
.is-paused .pause .i-play, .is-over .pause .i-replay { display: block; }
.is-paused .pause .i-pause, .is-over .pause .i-pause { display: none; }
.pause:active { transform: scale(var(--press)); }
html:not(.motion) .pause { display: none; }

/* ============ SECTIONS ============ */
.sec { padding-top: var(--sec); }
.sec-head { max-width: 46rem; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.03em; font-weight: var(--w-display); }
.sec-sub { margin-top: 18px; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--meta); }

/* ---------- examples: text and demo alternate, nothing boxed ---------- */
.ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 112px); row-gap: 36px; align-items: center;
      padding-top: clamp(64px, 7vw, 120px); }
.ex:nth-of-type(even) .ex-text { order: 2; }
.ex-text { max-width: 33rem; }
.ex-t { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -.026em; font-weight: var(--w-display); }
.ex-st { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: var(--fs-meta); font-weight: 500; color: var(--ink-2); }
.ex-d { margin-top: 20px; color: var(--ink-2); }
.ex-fig { margin-top: 20px; color: var(--ink-2); }
.ex-fig strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.ex-text .link-arrow { margin-top: 18px; }
.ex-media { position: relative; min-width: 0; }
.demo-cap { margin-top: 12px; font-size: var(--fs-tiny); line-height: 1.4; color: var(--meta); }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.replay { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 11px; border: 1px solid var(--rule); border-radius: var(--r-pill);
          font-size: .8125rem; font-weight: 600; color: var(--ink-2); transition: border-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out), color var(--dur-1) ease; }
.replay svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.replay:active { transform: scale(var(--press)); }
html:not(.motion) .replay { display: none; }

/* ---------- compare: "after" under "before", the range input does the dragging (mouse, touch, keyboard) ---------- */
.cmp { position: relative; max-width: 480px; }
.ex .cmp { margin-inline: auto; }
.cmp-box { --pos: 50%; position: relative; aspect-ratio: 4 / 5; background: var(--paper); user-select: none; -webkit-user-select: none; }
.cmp-box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cmp-after, .cmp-before { position: absolute; inset: 0; }
.cmp-before { overflow: hidden; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none;
            box-shadow: 0 0 0 1px rgba(20, 21, 22, .28); }
.cmp-grip { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
            background: var(--accent); color: #1C1E21; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45); }
.cmp-grip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cmp-lbl { position: absolute; top: 14px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(20, 21, 22, .72); color: #F4F5F6;
           font-size: .8125rem; font-weight: 600; pointer-events: none; }
.cmp-l { left: 14px; } .cmp-r { right: 14px; background: rgba(255, 255, 255, .9); color: #1C1E21; box-shadow: inset 0 0 0 1px rgba(28, 30, 33, .12); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.cmp-box:has(.cmp-range:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
/* once measured, the line moves with transform: no layout, no shift */
.cmp-box.is-tx .cmp-line { left: 0; }
.cmp-grip { transition: transform var(--dur-1) var(--ease-out); }
.cmp-box.is-grab .cmp-grip { transform: scale(1.1); }
.cmp-cap { display: block; margin-top: 12px; font-size: var(--fs-tiny); line-height: 1.4; color: var(--meta); }
.case-hero .cmp { margin-top: clamp(28px, 3vw, 44px); max-width: 460px; }

/* ---------- voice → Excel ---------- */
.vx { display: grid; gap: 14px; max-width: 520px; margin-inline: auto; }
.vx-note { justify-self: end; display: flex; align-items: center; gap: 12px; width: min(100%, 330px); padding: 10px 14px 10px 10px;
           background: var(--bubble-out); }
.vx-play { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.vx-play svg { width: 16px; height: 16px; fill: currentColor; }
.vx-wave { flex: 1; min-width: 0; height: 34px; }
.vx-wave svg { width: 100%; height: 34px; }
.vx-wave rect { fill: var(--ink); transition: fill var(--dur-1) linear, opacity var(--dur-1) linear; }
.vx-cell { transition: clip-path var(--dur-3) var(--ease-out); }
.vx-empty { transition: opacity var(--dur-2) ease; }
.vx-doubt { transition: background-color var(--dur-2) ease, color var(--dur-2) ease; }
.vx-check { transition: opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out); }
.vx-dur { flex: none; font-size: var(--fs-tiny); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.vx-sheet { background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden; }
.vx-file { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); font-size: .875rem; font-weight: 600; }
.vx-file svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-2); }
.vx-table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.4; table-layout: fixed; }
.vx-table th { padding: 9px 12px; text-align: left; font-weight: 600; color: var(--meta); background: var(--surface-2); border-bottom: 1px solid var(--line-soft); }
.vx-table td { padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.vx-table tr:last-child td { border-bottom: 0; }
.vx-table .c-lot { width: 3.6em; color: var(--meta); font-variant-numeric: tabular-nums; }
.vx-table .c-val { width: 8.6em; }
.vx-empty { display: inline-block; white-space: nowrap; padding: 1px 7px; border: 1px dashed var(--line); color: var(--meta); font-size: .8125rem; }
.vx-cell { display: block; }
.vx-doubt { padding: 0 3px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 600; }
.vx-check { display: flex; align-items: flex-start; gap: 9px; padding: 11px 14px 12px; border-top: 1px solid var(--line-soft); font-size: .875rem; line-height: 1.45; background: var(--warn-bg); color: var(--warn-ink); }
.vx-check svg { width: 17px; height: 17px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the assistant: a spoken request, a draft, and the yes ---------- */
.ax { position: relative; display: grid; gap: 12px; max-width: 470px; margin-inline: auto; }
.ax-ask { justify-self: end; display: flex; align-items: flex-start; gap: 10px; max-width: 88%; padding: 11px 15px 11px 11px;
          background: var(--bubble-out); font-size: .9375rem; line-height: 1.45; }
.ax-ask svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ax-card { background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden; }
.ax-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft);
          font-size: .875rem; font-weight: 600; }
.ax-top span:last-child { font-weight: 500; color: var(--meta); }
.ax-body { padding: 14px 16px 6px; font-size: .9375rem; line-height: 1.55; min-height: 7.6em; }
.ax-body .w { transition: opacity var(--dur-1) linear; }
.ax-file { display: inline-flex; align-items: center; gap: 8px; margin: 4px 16px 14px; padding: 6px 11px; background: var(--surface-2);
           font-size: .8125rem; font-weight: 600; }
.ax-file svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-2); }
.ax-confirm { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 16px;
              border-top: 1px solid var(--line-soft); background: var(--surface-2); }
.ax-q { font-size: .9375rem; font-weight: 600; }
.ax-btns { display: flex; gap: 8px; }
.ax-b { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: .875rem; font-weight: 600;
        border: 1.5px solid var(--rule); color: var(--ink); }
.ax-b.is-send { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--ink); }
.ax-sent { display: none; align-items: center; gap: 8px; min-height: 36px; font-size: .9375rem; font-weight: 600; color: var(--ok-ink); }
.ax-sent svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ax.is-sent .ax-q, .ax.is-sent .ax-btns { display: none; }
.ax.is-sent .ax-sent { display: inline-flex; }
@keyframes axSent { from { opacity: 0; transform: translateY(4px); } }
.motion .ax.is-sent .ax-sent { animation: axSent var(--dur-2) var(--ease-out) both; }
.ax-cursor { position: absolute; z-index: 2; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity var(--dur-1) ease; }
.ax-ask, .ax-file, .ax-confirm { transition: opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out); }
.ax-b.is-press { transform: scale(var(--press-sm)); }
.ax-b { transition: transform var(--dur-1) var(--ease-out); }
.ax-cursor svg { width: 22px; height: 22px; fill: var(--ink); stroke: var(--bg); stroke-width: 1.2; }

/* ---------- tagline: each sentence lights as it crosses a line a third up the viewport ---------- */
.tag { padding-top: var(--sec); }
.tag-t { max-width: 21ch; text-wrap: pretty; font-size: var(--fs-tag); line-height: 1.06; letter-spacing: -.032em; font-weight: var(--w-display); color: var(--ink); }
.tag-s { display: block; }
.tag-s { transition: color var(--dur-3) ease; }


/* ---------- how I work: rule one with the belt, then three short rules ---------- */
.rule-one { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(40px, 6vw, 104px); row-gap: 32px; align-items: center;
            margin-top: clamp(44px, 5vw, 72px); }
.p-t { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -.012em; font-weight: var(--w-head); }
.rule-one .p-t { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -.026em; font-weight: var(--w-display); }
.p-d { margin-top: 12px; color: var(--ink-2); }
.rule-one .p-d { margin-top: 18px; max-width: 40ch; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 56px); row-gap: 40px; margin-top: clamp(56px, 6vw, 96px); }
.belt { min-width: 0; }
.belt-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.belt-it { position: relative; aspect-ratio: 4 / 5; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-soft); }
.belt-it img { width: 100%; height: 100%; object-fit: cover; }
.belt-it.is-flip img { transform: scaleX(-1); }
.belt-badge { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
              background: var(--accent); color: #1C1E21; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.belt-it.is-warn .belt-badge { background: #F2B544; color: #3A2400; }
.belt-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.belt-it.is-warn { box-shadow: inset 0 0 0 2px #F2B544; }
.belt-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; padding: 11px 14px; background: var(--warn-bg); color: var(--warn-ink);
             font-size: .9375rem; line-height: 1.45; font-weight: 500; }
.belt-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.belt-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: var(--fs-meta); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.belt-sum b { color: var(--ink); }
.belt-badge { transition: opacity var(--dur-1) ease, transform var(--dur-2) var(--ease-out), background-color var(--dur-1) ease; }
.belt-note, .belt-sum { transition: opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out); }

/* ---------- questions ---------- */
.faq { max-width: 52rem; margin-top: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--rule); }
.qa { border-top: 1px solid var(--rule); }
.qa-h { font-size: var(--fs-q); line-height: 1.3; letter-spacing: -.012em; font-weight: var(--w-head); }
.qa-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; text-align: left; font-weight: inherit; letter-spacing: inherit; }
.qa-ico { flex: none; position: relative; width: 34px; height: 34px; border: 1.5px solid var(--rule);
          transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px;
                                  background: currentColor; transition: transform var(--dur-1) var(--ease-out); }
.qa-ico::after { transform: rotate(90deg); }
.qa.is-open .qa-ico::after { transform: rotate(0deg); }
.qa-btn:active .qa-ico { transform: scale(var(--press-sm)); }
.qa-a > div { overflow: hidden; min-height: 0; }
.qa-a p { max-width: 62ch; padding: 0 54px 26px 0; color: var(--ink-2); }
.js .qa-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--dur-1) var(--ease-out) var(--stagger), visibility 0s linear calc(var(--dur-1) + var(--stagger)); }
.js .qa.is-open .qa-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--dur-2) var(--ease-out), visibility 0s; }
/* the text fades in just after the row opens and out at once on close, so it is never seen cut */
.js .qa-a p { opacity: 0; transition: opacity var(--stagger) linear; }
.js .qa.is-open .qa-a p { opacity: 1; transition: opacity var(--dur-2) ease var(--stagger); }

/* ---------- who ---------- */
.who { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(28px, 4vw, 64px); row-gap: 24px; align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.who-pic { position: relative; width: clamp(120px, 12vw, 168px); aspect-ratio: 1; background: var(--surface); display: grid; place-items: center; }
.who-pic img { width: 100%; height: 100%; object-fit: cover; }
.who-text { display: grid; gap: 16px; }
.who-ini { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); line-height: 1; letter-spacing: -.04em; font-weight: var(--w-display); color: var(--ink-2); }
.who-text { max-width: 36em; font-size: var(--fs-lead); line-height: 1.55; }

/* ---------- contact ---------- */
.ct-text { margin-top: 20px; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.ct-act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(30px, 3vw, 42px); }
.ct-mail { margin-top: 22px; font-size: var(--fs-small); color: var(--meta); }
.mail { font-size: var(--fs-mail); line-height: 1.2; font-weight: var(--w-display); letter-spacing: -.02em; color: var(--ink); text-decoration-thickness: 2px;
        text-decoration-color: var(--accent); text-underline-offset: .18em; overflow-wrap: anywhere; }
.ct-mail .mail { display: inline-block; margin-top: 6px; }
.ct-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; }
.ct-links a { font-size: var(--fs-small); font-weight: 600; }
.ct-note { margin-top: 14px; font-size: var(--fs-meta); color: var(--meta); }
.ph { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- footer ---------- */
.tb { padding: var(--sec) 0 clamp(24px, 3vw, 40px); }
.tb-grid { border-top: 1px solid var(--rule); align-items: center; }
.tb-cell { padding: 22px 0 6px; font-size: var(--fs-meta); line-height: 1.5; color: var(--ink-2); }
.tb-mark { grid-column: 1 / 2; display: flex; align-items: center; color: var(--ink); }
.tb-copy { grid-column: 2 / 7; color: var(--meta); }
.tb-built { grid-column: 7 / 10; color: var(--meta); }
.tb-ctrl { grid-column: 10 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.tb-vat { display: block; }
.tb-vat[data-placeholder] { color: var(--ink-2); }

/* ---------- the mobile dock: one button within thumb reach, after the hero button scrolls away ---------- */
.dock { display: none; }

/* ============ CASE PAGES and 404 ============ */
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.crumb li { display: inline-flex; align-items: center; font-size: var(--fs-meta); font-weight: 500; color: var(--meta); }
.crumb li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; border-right: 1.5px solid var(--line); border-top: 1.5px solid var(--line); transform: rotate(45deg); }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumb a[aria-current] { color: var(--ink); }
.case-hero .h1 { margin-top: clamp(8px, 1.2vw, 16px); }
.cs-one { max-width: 36ch; margin-top: clamp(18px, 2vw, 26px); }
.cs-stat { margin-top: 22px; max-width: 60ch; }
.cs-stat .lbl { color: var(--ink); font-size: var(--fs-small); }
.cs-stat-d { display: block; margin-top: 2px; color: var(--ink-2); }
.cs-sec { padding-top: clamp(56px, 6vw, 104px); }
.rule { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 72px); row-gap: 12px; align-items: baseline;
        padding: clamp(24px, 3vw, 40px) 0; }
.rule-t { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -.014em; font-weight: var(--w-head); }
.rule-d { max-width: 62ch; color: var(--ink-2); }
.rule-d p { max-width: 62ch; }
.held li { position: relative; padding: 0 0 12px 20px; }
.held li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.held li:last-child { padding-bottom: 0; }
.case-hero .vx, .case-hero .ax { margin: clamp(28px, 3vw, 44px) 0 0; }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 5vw, 80px); }
.pg { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l ." "t a"; align-items: end; gap: 8px 16px;
      padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-card); background: var(--surface); text-decoration: none; transition: background-color var(--dur-1) ease; }
.pg .lbl { grid-area: l; }
.pg-t { grid-area: t; font-size: var(--fs-h4); line-height: 1.15; letter-spacing: -.014em; font-weight: var(--w-head); }
.pg svg { grid-area: a; width: 16px; height: 16px; margin-bottom: .4em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
          transition: transform var(--dur-1) var(--ease-out); }
.pg-prev { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: ". l" "a t"; }
.pg:active { background-color: var(--surface-2); }
.all-work { margin-top: 22px; }
.nf-act { margin-top: clamp(28px, 3vw, 40px); }
.nf-act + * { margin-top: 0; }

/* ============ BRAND MARK: stroke follows the ink, dot is the accent ============ */
.mk { flex: none; display: block; color: var(--ink); }
.mk-line { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: butt; stroke-linejoin: miter; }
.mk-x { opacity: 0; }
.mk-dot { fill: var(--accent); }
.mk-rot, .mk-dot { transform-box: fill-box; transform-origin: center; }
.motion .brand.is-lock .mk-rot { transform: rotate(90deg) scale(1); transition: transform var(--dur-2) var(--ease-out); }
.motion .brand.is-lock .mk-x { opacity: 1; transition: opacity var(--dur-1) ease var(--dur-1); }
.motion .brand.is-lock .mk-dot { transform: scale(1.1); transition: transform var(--dur-2) var(--ease-out); }
@keyframes mkRelease { 0% { transform: rotate(90deg) scale(1); } 30%, 44% { transform: rotate(90deg) scale(.74); } 100% { transform: rotate(180deg) scale(1); } }
@keyframes mkFourOut { 0%, 46% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes mkDotOut { 0% { transform: scale(1.1); } 30% { transform: scale(1.18); } 100% { transform: scale(1); } }
.motion .brand.is-release .mk-rot { animation: mkRelease var(--dur-3) var(--ease-in-out) both; }
.motion .brand.is-release .mk-x { animation: mkFourOut var(--dur-3) linear both; }
.motion .brand.is-release .mk-dot { animation: mkDotOut var(--dur-3) var(--ease-in-out) both; }
@media (forced-colors: active) { .mk-line { stroke: CanvasText; } .mk-dot { fill: Highlight; } }

/* ============ HOVER, only where a pointer can hover ============ */
@media (hover: hover) and (pointer: fine) {
  .nav-list a:hover { color: var(--ink); }
  .nav-list a:hover::after { transform: scaleX(1); }
  .lang a:not([aria-current]):hover { background: var(--signal); color: var(--on-signal); }
  .menu-btn:hover, .lamp:hover, .pause:hover, .replay:hover { border-color: var(--ink); }
  .btn:hover, .bar-cta:hover { background: var(--btn-hover); }
  .btn-ghost:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
  .link-arrow:hover, .btn-sec:hover { text-decoration-color: currentColor; }
  .link-arrow:hover svg, .btn-sec:hover svg { transform: translateX(3px); }
  .qa-btn:hover .qa-ico { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
  .mail:hover { text-decoration-thickness: 3px; }
  .ct-links a:hover { text-decoration-color: currentColor; }
  .pg:hover { background-color: var(--surface-2); }
  .pg-next:hover svg { transform: translateX(4px); }
  .pg-prev:hover svg { transform: translateX(-4px); }
  .cmp-box:hover:not(.is-grab) .cmp-grip { transform: scale(1.06); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1023.98px) {
  .menu-btn { display: inline-flex; }
  .bar-slot { display: block; }
  .bar-cta { display: none; }
  .bar.show-cta .bar-slot .lang { opacity: 1; visibility: visible; }
  .nav { margin-left: 0; }
  .dock { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: block; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
          background: color-mix(in srgb, var(--bg) 94%, transparent); border-top: 1px solid var(--rule);
          transform: translateY(110%); visibility: hidden; transition: transform var(--dur-1) var(--ease-out), visibility 0s linear var(--dur-1); }
  .dock.is-on { transform: none; visibility: visible; transition: transform var(--dur-2) var(--ease-out), visibility 0s; }
  .dock { display: flex; gap: 10px; justify-content: center; }
  .dock > a { flex: 1 1 0; max-width: 280px; min-height: 50px; padding: 0 14px; }
  .dock .btn-ghost { background: var(--bg); }
  html { scroll-padding-bottom: calc(91px + env(safe-area-inset-bottom)); }   /* what Tab reaches never lands under the dock (WCAG 2.4.11) */
  .menu { position: absolute; left: 0; right: 0; top: 100%; display: block; padding: 4px var(--pad) 24px;
          background: var(--nav-bg); border-bottom: 1px solid var(--nav-bd);
          clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path var(--dur-1) var(--ease-out), visibility 0s linear var(--dur-1); }
  .bar.menu-open .menu { clip-path: inset(0 0 -2px 0); visibility: visible; transition: clip-path var(--dur-2) var(--ease-out), visibility 0s; }
  html:not(.js) .bar { position: relative; }
  html:not(.js) .bar-in { flex-wrap: wrap; height: auto; min-height: var(--nav-h); }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .nav { order: 3; flex: 1 0 100%; }
  html:not(.js) .menu { position: static; clip-path: none; visibility: visible; padding: 0 0 16px; border: 0; }
  .nav-list { display: block; }
  .nav-list li + li { border-top: 1px solid var(--rule); }
  .nav-list a { display: flex; min-height: 58px; font-size: 1.375rem; font-weight: 560; letter-spacing: -.012em; color: var(--ink); }
  .nav-list a::after { display: none; }
  .menu .lang { margin-top: 16px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "copy" "act" "chat"; }
  .hero-grid > .chat { margin-top: clamp(44px, 8vw, 64px); }
  .hero-act .ctas { margin-top: clamp(28px, 5vw, 40px); }
  .chat { justify-self: center; }
  .principles { grid-template-columns: minmax(0, 1fr); row-gap: 32px; max-width: 40rem; }
}
@media (max-width: 899.98px) {
  .ex, .rule-one { grid-template-columns: minmax(0, 1fr); }
  .ex { row-gap: 0; }
  .ex-text { display: contents; }
  .ex-text > * { justify-self: start; }
  .ex-t { order: 1; }
  .ex-st { order: 2; }
  .ex-media { order: 3; margin: 26px 0 6px; }
  .ex-d, .ex-who, .ex-fig, .ex-text > .link-arrow { order: 4; }
  .tb-copy { grid-column: 2 / 8; } .tb-built { grid-column: 8 / -1; }
  .tb-ctrl { grid-column: 1 / -1; justify-content: flex-start; padding-top: 18px; }
}
@media (max-width: 767.98px) {
  .pager { grid-template-columns: minmax(0, 1fr); }
  .rule { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639.98px) {
  :root { --gut: 16px; --nav-h: 60px; }
  .brand { font-size: 1rem; }
  .brand-in { gap: 10px; }
  .bar-in { gap: 6px; }
  .menu-btn { padding: 0 12px; gap: 8px; }
  .lamp { width: 40px; height: 40px; }
  .h1 { letter-spacing: -.03em; }
  .ctas { gap: 12px 22px; }
  .hero-act .btn, .hero-act .btn-ghost { width: 100%; }
  :root { --brk: 14px; --brk-off: -6px; }
  .belt-grid { gap: 7px; }
  .belt-badge { width: 20px; height: 20px; right: 4px; top: 4px; }
  .belt-badge svg { width: 12px; height: 12px; }
  .qa-btn { gap: 14px; }
  .qa-a p { padding-right: 0; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .ct-act .btn, .ct-act .btn-ghost { width: 100%; }
  .tb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-mark { grid-column: 1 / 2; }
  .tb-ctrl { grid-column: 2 / 3; grid-row: 1; justify-content: flex-end; padding-top: 22px; }
  .tb-copy, .tb-built { grid-column: 1 / -1; padding-top: 14px; }
  .vx-table { font-size: .8125rem; }
  .vx-table th, .vx-table td { padding: 8px 9px; }
  .vx-table .c-val { width: 7.6em; }
}
@media (max-width: 359.98px) {
  .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ============ MOTION (only with html.motion, which the head script sets when reduced motion is not requested) ============ */
/* nothing enters on load: the hero is there from the first paint */

/* reduced motion: nothing travels or plays by itself (no html.motion: demos show their end state); what a person triggers answers with a short fade */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  a, button, .lang a, .jump a, .pg, .qa-ico, .bar { transition-duration: var(--dur-1) !important; }
  .btn:active, .btn-ghost:active, .bar-cta:active, .jump a:active, .lamp:active, .menu-btn:active, .lang a:active, .pause:active, .replay:active, .qa-btn:active .qa-ico { transform: none; opacity: .82; }
  .link-arrow:hover svg, .btn-sec:hover svg, .pg:hover svg { transform: none; }
  .bar-cta, .bar.show-cta .bar-cta { transform: none; }
  .js .qa-a { transition: none !important; }
  .js .qa-a > div { opacity: 0; transition: opacity var(--dur-1) ease !important; }
  .js .qa.is-open .qa-a > div { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1023.98px) {
  .menu, .bar.menu-open .menu { clip-path: none; }
  .menu { opacity: 0; transition: opacity var(--dur-1) ease, visibility 0s linear var(--dur-1) !important; }
  .bar.menu-open .menu { opacity: 1; transition: opacity var(--dur-1) ease, visibility 0s !important; }
  .dock, .dock.is-on { transform: none; }
  .dock { opacity: 0; transition: opacity var(--dur-1) ease, visibility 0s linear var(--dur-1) !important; }
  .dock.is-on { opacity: 1; transition: opacity var(--dur-1) ease, visibility 0s !important; }
}


/* =====================================================================================================
   14 Oct 2026 rework: the brackets of the mark, the fact strip, the jump links, «tu / io», the site demo,
   the chat stories, the contract demo, the terms list.
   ===================================================================================================== */
/* L brackets, as in the logo, only around the slider and the portrait */
:is(.cmp-box, .who-pic)::before, :is(.cmp-box, .who-pic)::after {
  content: ""; position: absolute; z-index: 3; width: var(--brk); height: var(--brk); pointer-events: none; border: 0 solid var(--ink); }
:is(.cmp-box, .who-pic)::before { top: var(--brk-off); left: var(--brk-off); border-top-width: 2.5px; border-left-width: 2.5px; }
:is(.cmp-box, .who-pic)::after { bottom: var(--brk-off); right: var(--brk-off); border-bottom-width: 2.5px; border-right-width: 2.5px; }
.chat-head { position: relative; }

/* buttons side by side in the hero and the contact section */
.hero-act .ctas { gap: 12px 14px; }
.btn-ghost { background: transparent; }

/* the fact strip under the hero: four plain facts, no boxes */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: space-between; gap: 14px 32px;
         margin-top: clamp(56px, 6.5vw, 96px); padding-top: 22px; border-top: 1px solid var(--rule); }
.facts li { display: flex; align-items: center; gap: 11px; font-size: var(--fs-small); font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.facts .ind { flex: none; }

/* jump links: the reader picks the example that looks like them */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 3vw, 36px); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); font-size: var(--fs-meta); font-weight: 600;
          color: var(--ink); text-decoration: none; transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.jump a:active { transform: scale(var(--press)); }

/* «tu / io»: who does what, in two ruled lines */
.ex-who { justify-self: stretch; margin-top: 24px; border-top: 1px solid var(--rule); }
.ex-who > div { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.ex-who dt { justify-self: start; padding: 1px 7px; font-size: var(--fs-meta); font-weight: 650; line-height: 1.5; border: 1.5px solid var(--ink); }
.ex-who > div:last-child dt { background: var(--accent); border-color: var(--accent); color: #1C1E21; }
.ex-who dd { margin: 0; font-size: 1.0625rem; color: var(--ink); }

/* the last row of the examples: an open door for everything else */
.ex-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 48px; align-items: center; margin-top: clamp(72px, 8vw, 128px);
           padding: clamp(26px, 3.4vw, 48px); background: var(--surface); }
.ex-more-t { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -.012em; font-weight: var(--w-head); }
.ex-more-d { max-width: 54ch; color: var(--ink-2); }
.ex-more .link-arrow { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- the hero chat stories: a voice note, a published job, a filled sheet ---------- */
.voice { display: flex; align-items: center; gap: 9px; width: 176px; padding: 6px 6px 2px 2px; }
.voice-play, .sx-voice .voice-play { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.voice-play svg { width: 12px; height: 12px; fill: currentColor; }
.voice-wave { flex: 1; min-width: 0; height: 22px; }
.voice-wave svg { width: 100%; height: 22px; }
.voice-wave rect { fill: var(--ink); opacity: .72; }
.voice-dur { flex: none; font-size: var(--fs-tiny); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.voice-tx { max-width: 224px; padding: 3px 8px 0; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.msg-out .msg-photo-s { width: 80px; }
.msg-out:has(.voice) { display: flex; flex-direction: column; align-items: flex-end; }
.pub { width: 208px; overflow: hidden; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-soft); }
.pub-url { padding: 6px 9px; border-bottom: 1px solid var(--line-soft); font-size: .75rem; color: var(--meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.pub-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pub-t { padding: 8px 10px 10px; font-size: .9375rem; line-height: 1.3; font-weight: 600; }
.sheet-msg { display: flex; align-items: center; gap: 11px; width: 212px; padding: 9px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-soft); }
.sheet-msg svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-2); }
.sheet-msg b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.sheet-msg span { display: block; font-size: var(--fs-tiny); color: var(--meta); }

/* ---------- the site demo: a photo and a voice note become a job on the town page, a Google photo, a line in the report ---------- */
.sx { position: relative; display: grid; gap: 14px; max-width: 520px; margin-inline: auto; }
.sx-in { justify-self: end; display: flex; align-items: center; gap: 4px; max-width: 92%; padding: 5px; background: var(--bubble-out); }
.sx-shot { flex: none; width: 96px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.sx-shot img { width: 100%; height: 100%; object-fit: cover; }
.sx-voice { display: flex; align-items: center; gap: 9px; padding: 4px 10px 4px 8px; font-size: .9375rem; line-height: 1.35; }
.sx-page { background: var(--bg); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.sx-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.sx-dots { display: inline-flex; gap: 5px; }
.sx-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.sx-url { min-width: 0; font-size: .8125rem; color: var(--meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-h { padding: 16px 16px 0; font-size: 1.1875rem; line-height: 1.2; letter-spacing: -.012em; font-weight: 600; }
.sx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px 16px 18px; }
.sx-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.sx-ph img { width: 100%; height: 100%; object-fit: cover; }
.sx-badge { position: absolute; left: 6px; top: 6px; padding: 2px 7px; background: var(--accent); color: #1C1E21; font-size: .75rem; line-height: 1.4; font-weight: 700; }
.sx-jt { display: block; margin-top: 7px; font-size: .8125rem; line-height: 1.3; font-weight: 600; }
.sx-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.sx-g { display: flex; align-items: center; gap: 11px; padding: 13px 14px; background: var(--surface); font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.sx-g b { color: var(--ink); font-weight: 600; }
.sx-g > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--ink); }
.sx-ok { margin-left: auto; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #1C1E21; }
.sx-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sx-rep { padding: 12px 14px; background: var(--surface); }
.sx-rep-h { margin-bottom: 4px; font-size: .8125rem; font-weight: 600; color: var(--meta); }
.sx-rep-r { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.sx-rep-r b { color: var(--ink); font-variant-numeric: tabular-nums; }
/* the photo in flight lives in the figure: it scrolls with the page and lands in its slot */
.sx-fly { position: absolute; z-index: 5; margin: 0; object-fit: cover; pointer-events: none; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .45); }
.sx-in, .sx-g, .sx-rep, .sx-ok, .sx-badge, .sx-job.is-new .sx-jt { transition: opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out); }
.sx-job.is-new .sx-ph { transition: box-shadow var(--dur-1) ease; }

/* ---------- the terms: the usual contract, struck out clause by clause, next to mine ---------- */
.deal { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px clamp(40px, 6vw, 104px); align-items: start; margin-top: clamp(44px, 5vw, 72px); }
.cx-card { padding: clamp(22px, 2.6vw, 34px); background: var(--surface); }
.cx-h { padding-bottom: 14px; border-bottom: 1px solid var(--rule); font-size: var(--fs-meta); font-weight: 600; color: var(--meta); }
.cx-list li { display: grid; grid-template-columns: 3.8rem minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.cx-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cx-n { padding-top: 3px; font-size: var(--fs-meta); font-weight: 500; color: var(--meta); }
.cx-t { font-size: var(--fs-q); line-height: 1.35; letter-spacing: -.008em; }
.cx-s { text-decoration: none; color: var(--meta); background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 58% / 100% 2px;
        -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 900ms var(--ease-in-out), color var(--dur-3) ease; }  /* 900 ms: the pace AL chose for each strike */
.deal-list { display: grid; gap: clamp(26px, 3vw, 36px); padding-top: 6px; }
.deal-list li { position: relative; padding-left: 34px; }
.deal-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; background: var(--accent); }
.deal-list .p-d { margin-top: 8px; }

@media (hover: hover) and (pointer: fine) {
  .jump a:hover { border-color: var(--ink); }
}
@media (max-width: 899.98px) {
  .deal { grid-template-columns: minmax(0, 1fr); }
  .ex-more { grid-template-columns: minmax(0, 1fr); }
  .ex-more .link-arrow { grid-column: 1; grid-row: auto; justify-self: start; white-space: normal; }
}
@media (max-width: 1023.98px) {
  .facts { grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; column-gap: 40px; }
}
@media (max-width: 639.98px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 48px; }
  .jump a { flex: 1 1 auto; justify-content: center; }
  .sx-out { grid-template-columns: minmax(0, 1fr); }
  .sx-grid { gap: 7px; padding: 10px 12px 14px; }
  .sx-h { padding: 14px 12px 0; }
  .sx-shot { width: 80px; }
  .who-pic { width: 128px; }
}

/* the contact section closes the page on a dark band (AL's pick, 14 Oct 2026) */
.ct-band { margin-top: var(--sec); padding: clamp(64px, 8vw, 128px) 0; background: var(--band-bg); color: var(--band-ink);
           border-block: 1px solid var(--band-rule); }
main:has(.ct-band) + .tb { padding-top: clamp(40px, 5vw, 72px); }
.ct-band .ct-text { color: var(--band-ink-2); }
.ct-band .btn { background: var(--band-btn-bg); color: var(--band-btn-fg); }
.ct-band .btn-ghost { border-color: var(--band-ink); color: var(--band-ink); }
.ct-band .ct-mail, .ct-band .ct-links a { color: var(--band-meta); }
.ct-band .mail { color: var(--band-ink); }
.ct-band :focus-visible { outline-color: var(--band-ink); }
@media (hover: hover) and (pointer: fine) {
  .ct-band .btn:hover { background: color-mix(in srgb, var(--band-btn-bg) 86%, #FFFFFF); }
  .ct-band .btn-ghost:hover { background: color-mix(in srgb, var(--band-ink) 10%, transparent); }
}


/* ---------- getting started: the heading stays put while four steps scroll past; a lime line follows the reader down
   the list and each step lights when the line reaches it ---------- */
.go { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(40px, 6vw, 112px); align-items: start; }
.go-side { position: sticky; top: calc(var(--nav-h) + 48px); }
.steps-cta { margin-top: clamp(28px, 3vw, 40px); }
.steps { position: relative; padding-left: clamp(36px, 4vw, 56px); }
.steps-track { position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--rule); }
.steps-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: center top; transform: scaleY(var(--p, 1)); }
.steps-dot { position: absolute; left: 50%; top: calc(var(--p, 1) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
             background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.steps-list { display: grid; }
.step { display: grid; grid-template-columns: clamp(56px, 6vw, 96px) minmax(0, 1fr); column-gap: clamp(16px, 2vw, 28px); align-items: start;
        padding: clamp(28px, 3.4vw, 48px) 0; border-top: 1px solid var(--rule); }
.step:first-child { border-top: 0; padding-top: 0; }
.step:last-child { padding-bottom: 0; }
.step-n { display: block; font-size: var(--fs-step); line-height: .86; letter-spacing: -.04em; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.step-t { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -.012em; font-weight: var(--w-head); }
.step-d { margin-top: 10px; max-width: 44ch; font-size: 1.0625rem; color: var(--ink-2); }
.step-n, .step-b { transition: color var(--dur-2) ease, opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out), text-decoration-color var(--dur-1) ease; }
@media (max-width: 899.98px) {
  .go { display: flex; flex-direction: column; }
  .go-side { display: contents; }
  .go .sec-head { order: 1; }
  .steps { order: 2; margin-top: 40px; }
  .steps-cta { order: 3; margin-top: 40px; }
}

/* ---------- the belt: the photo to look at grows and sends two rings, the bench gets a dashed frame, the others step back ---------- */
.belt-it.is-warn::after { content: ""; position: absolute; left: 7%; right: 7%; top: 50%; bottom: 2%; border: 2px dashed #E59A1A; opacity: 1;
                          transition: opacity var(--dur-2) ease; pointer-events: none; }
.belt-it { transition: box-shadow var(--dur-1) ease, opacity var(--dur-2) ease, transform var(--dur-3) var(--ease-out); }
.belt.is-done .belt-it:not(.is-warn) { opacity: .42; }
.belt.is-done .belt-it.is-warn { z-index: 1; transform: scale(1.08); }
/* two amber rings once the check is over, on a pseudo-element (transform, opacity only); within the 5 s of WCAG 2.2.2 */
.belt-it.is-warn::before { content: ""; position: absolute; inset: 0; z-index: 2; border: 2px solid #F2B544; opacity: 0; pointer-events: none; }
@keyframes warnRing { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.16); } }
.motion .belt.is-done .belt-it.is-warn::before { animation: warnRing calc(2 * var(--dur-3)) var(--ease-out) var(--dur-2) 2 both; }
.belt.is-done .belt-note { box-shadow: inset 3px 0 0 #F2B544; }

/* ---------- the terms: each struck clause lights the condition that replaces it ---------- */
/* conditions stay readable while they wait; the square lights in lime */
.deal-list :is(.p-t, .p-d) { transition: color var(--dur-2) ease; }
.deal-list li::before { transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1) ease; }

/* the hero's last words are the promise: ink, with a lime underline instead of the grey of the other titles */
.hero .h1-b { color: var(--ink); }
.hero .h1-b { text-decoration-line: underline; text-decoration-color: var(--accent); text-decoration-thickness: .1em; text-underline-offset: .12em; text-decoration-skip-ink: none; }

/* ---------- demos' starting state. The end state is in the HTML (no script, reduced motion, print); under html.motion this
   start applies from the first paint, main.js plays forward to .is-done, .is-cut holds transitions while «Rivedi» rewinds ---------- */
.is-cut, .is-cut *, .is-cut *::before, .is-cut *::after { transition: none !important; }
.replay[aria-disabled="true"] { color: color-mix(in srgb, var(--ink-2) 45%, var(--bg)); border-color: var(--line-soft); cursor: default; }
@media screen and (prefers-reduced-motion: no-preference) {
  .motion .vx:not(.is-done) .vx-wave rect:not(.is-played) { fill: var(--ink-2); opacity: .38; }
  .motion .vx:not(.is-done) tr:not(.is-on) .vx-cell { clip-path: inset(0 100% 0 0); }
  .motion .vx:not(.is-done) tr:not(.is-on) .vx-empty { opacity: 0; }
  .motion .vx:not(.is-done) .vx-doubt { background: transparent; color: inherit; }
  .motion .vx:not(.is-done) .vx-check { opacity: 0; transform: translateY(8px); }
  .motion .ax:not(.is-done):not(.is-asked) .ax-ask { opacity: 0; transform: translateY(10px); }
  .motion .ax:not(.is-done):not(.is-typing) .ax-body { opacity: 0; }
  .motion .ax:not(.is-done):not(.is-typed) .ax-body .w { opacity: 0; }
  .motion .ax:not(.is-done):not(.is-typed) .ax-file { opacity: 0; transform: translateY(6px); }
  .motion .ax:not(.is-done):not(.is-asking) .ax-confirm { opacity: 0; transform: translateY(100%); }
  .motion .belt:not(.is-done) .belt-it:not(.is-on) .belt-badge { opacity: 0; transform: scale(.4); }
  .motion .belt:not(.is-done) .belt-it.is-warn:not(.is-on) { box-shadow: inset 0 0 0 1px var(--line-soft); }
  .motion .belt:not(.is-done) .belt-note { opacity: 0; transform: translateY(8px); }
  .motion .belt:not(.is-done) .belt-it.is-warn::after { opacity: 0; }
  .motion .sx:not(.is-done):not(.is-sent) .sx-in { opacity: 0; transform: translateY(10px); }
  .motion .sx:not(.is-done):not(.is-pub) :is(.sx-job.is-new img, .sx-badge, .sx-job.is-new .sx-jt) { opacity: 0; }
  .motion .sx:not(.is-done):not(.is-pub) .sx-job.is-new .sx-ph { box-shadow: inset 0 0 0 1.5px var(--line-soft); }
  .motion .sx:not(.is-done):not(.is-google) :is(.sx-g, .sx-rep) { opacity: .8; }   /* still 4.5:1 while it waits */
  .motion .sx:not(.is-done):not(.is-google) .sx-ok { opacity: 0; transform: scale(.4); }
  .motion .deal:not(.is-done) .cx-list li:not(.is-on) .cx-s { background-size: 0 2px; color: var(--ink); }
  .motion .deal:not(.is-done) .deal-list li:not(.is-on) :is(.p-t, .p-d) { color: var(--meta); }
  .motion .deal:not(.is-done) .deal-list li:not(.is-on)::before { background-color: var(--rule); transform: scale(.6); }
  .motion .tag-t:not(.is-done) .tag-s:not(.is-on) { color: color-mix(in srgb, var(--ink) 50%, var(--bg)); }   /* 3:1 or more, large text */
  .motion .steps:not(.is-done) { --p: 0; }
  .motion .steps:not(.is-done) .step:not(.is-lit) .step-n { color: var(--rule); }
  .motion .steps:not(.is-done) .step:not(.is-lit) .step-b { opacity: .7; transform: translateY(10px); }   /* still 4.5:1 while it waits */
  .motion .steps:not(.is-done) .step-n { text-decoration-line: underline; text-decoration-thickness: 6px; text-decoration-color: transparent; text-underline-offset: 10px; }
  .motion .steps:not(.is-done) .step.is-now .step-n { color: var(--ink); text-decoration-color: var(--accent); }
}
