/* Veloran v5 (from v4): one stylesheet for all five pages (DIRECTION.md). Black and white only; IBM Plex Sans for
   everything people read, Plex Mono for labels, indexes, times and UI chrome. One easing. Hierarchy by size and
   space. Sections: tokens, base, buttons, nav, hero, the square, chapters, show pieces and notes, the mocks
   (inbox, call, email, chat, audit, hand-off, day), flows, services rows, track and figures, questions, form,
   next service, footer, cursor, motion. */

/* ================================================================== tokens */
:root {
  --bg: #0a0a0a; --s1: #111111; --s2: #161616; --s3: #1c1c1c;
  --line: #262626; --line-2: #363636; --muted: #9a9a9a; --ink-2: #cfcfcf; --ink: #f5f5f5;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --dur: 500ms;
  --r: 12px; --r-sm: 8px;
  --gut: 48px; --gap: 24px; --max: 1440px;
  --nav-h: 72px;
  color-scheme: dark;
  /* names the kit's sound and cursor scripts read */
  --accent: #fff; --accent-ink: #0a0a0a;
}
@media (max-width: 1180px) { :root { --gut: 32px; } }
@media (max-width: 640px) { :root { --gut: 20px; --gap: 16px; --nav-h: 64px; } }

/* ================================================================== base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: calc(var(--nav-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/30px var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #3a3a3a var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 999px; border: 2px solid var(--bg); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-2); transition: text-decoration-color var(--dur) var(--ease); }
.link:hover { text-decoration-color: var(--ink); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.ring { width: 18px; height: 18px; flex: none; }
.ic { display: inline-block; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.arr { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease); }
sup { font: 500 13px/1 var(--mono); vertical-align: super; margin-left: 2px; }
sup a { color: var(--muted); }
sup a:hover { color: var(--ink); }
.skip { position: absolute; left: var(--gut); top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--r-sm); font: 500 15px/1 var(--sans); }
.skip:focus { top: 12px; }

/* ================================================================== buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px;
       font: 500 16px/1 var(--sans); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; text-decoration: none;
       transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 200ms var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn--block { width: 100%; }

/* ================================================================== nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgb(10 10 10 / 0); border-bottom: 1px solid transparent;
       transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.nav.is-scrolled, .nav.is-open { background: rgb(10 10 10 / .94); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__bar { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; border-radius: var(--r-sm); }
.logo__img { display: block; width: auto; height: 42px; }
.logo--lg .logo__img { height: 56px; }
@media (max-width: 640px) { .logo__img { height: 36px; } .logo--lg .logo__img { height: 48px; } }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; font: 400 15px/1 var(--sans); color: var(--ink-2); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.nav__link:hover, .nav__drop:focus-within > .nav__link, .nav__drop:hover > .nav__link { color: var(--ink); background: var(--s2); }
.chev { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.nav__drop { position: relative; }
.nav__drop:hover .chev, .nav__drop:focus-within .chev { transform: rotate(180deg); }
.menu { position: absolute; left: 50%; top: calc(100% + 10px); width: 640px; translate: -50% 0; padding: 8px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r);
        box-shadow: 0 24px 48px -16px rgb(0 0 0 / .8); opacity: 0; visibility: hidden; transform: translateY(-6px);
        transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__drop:hover .menu, .nav__drop:focus-within .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu__item { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; row-gap: 4px; padding: 16px; border-radius: var(--r-sm); transition: background-color var(--dur) var(--ease); }
.menu__item:hover, .menu__item:focus-visible { background: var(--s3); }
.menu__item[aria-current="page"] { background: var(--s2); }
.menu__n { font: 400 13px/22px var(--mono); color: var(--muted); }
.menu__name { font: 500 16px/22px var(--sans); }
.menu__line { grid-column: 2; font: 400 14px/20px var(--sans); color: var(--muted); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.sound-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: border-color var(--dur) var(--ease); }
.sound-toggle:hover { border-color: var(--ink); }
.sound-toggle svg { width: 16px; height: 16px; }
/* until the first gesture unlocks audio (js/sound.js): a small breathing dot, and a note on hover and focus */
.sound-toggle { position: relative; }
.sound-toggle.is-waiting::before { content: ""; position: absolute; right: 7px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: sound-wait 2.4s var(--ease) infinite; }
.sound-toggle.is-waiting::after { content: attr(data-note); position: absolute; right: 0; top: calc(100% + 8px); padding: 6px 10px; white-space: nowrap; font: 400 13px/1.4 var(--mono); color: var(--ink-2);
                                  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-sm); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.sound-toggle.is-waiting:hover::after, .sound-toggle.is-waiting:focus-visible::after { opacity: 1; transform: none; }
@keyframes sound-wait { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sound-toggle.is-waiting::before { animation: none; opacity: .8; } }
.nav__toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; }
.nav__toggle svg { width: 18px; height: 18px; }
.nav__sheet { border-top: 1px solid var(--line); padding: 16px 0 24px; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
.nav__sheet[hidden] { display: none; }
.sheet__label { margin: 16px 0 4px; font: 400 13px/20px var(--mono); color: var(--muted); }
.sheet__link { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); font: 400 19px/1.2 var(--sans); }
.sheet__link .menu__n { width: 24px; }
.nav__sheet .btn { margin-top: 24px; }
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: inline-grid; }
}
@media (max-width: 520px) { .nav__book { display: none; } }

/* ================================================================== hero */
.hero { padding-top: calc(var(--nav-h) + 56px); }
.hero__h { font: 500 clamp(44px, 5.2vw, 72px)/1.02 var(--sans); letter-spacing: -0.032em; text-wrap: balance; }
.hero__lead { font: 400 20px/32px var(--sans); color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.hero__fact { display: flex; align-items: center; gap: 10px; font: 400 14px/20px var(--mono); color: var(--muted); }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgb(255 255 255 / .12); }
.hero--home { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding-bottom: 48px; }
/* the words sit over the network (js/square.js), which fills the hero behind them; only the words take the pointer */
.hero--home .wrap { flex: 1; position: relative; z-index: 1; pointer-events: none; }
.hero--home .hero__text { pointer-events: auto; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.hero__text { grid-column: 1 / 6; display: grid; gap: 28px; padding-bottom: 24px; }
.hero__text .hero__h { margin-bottom: 4px; }
.hero__zone { grid-column: 6 / 13; height: min(72svh, 720px); min-height: 520px; }
@media (max-width: 1180px) { .hero__text { grid-column: 1 / 7; } .hero__zone { grid-column: 7 / 13; } }
@media (max-width: 900px) {
  .hero--home { min-height: 0; display: block; padding-top: calc(var(--nav-h) + 40px); }
  .hero__grid { display: block; }
  .hero__text { padding-bottom: 32px; }
  .hero--home .wrap { pointer-events: auto; }
  .hero__zone { display: none; }
}
@media (max-width: 640px) { .hero__lead { font-size: 18px; line-height: 30px; } }

/* service page hero: the h1 and the line, then the software, large */
.hero--svc { padding-bottom: 40px; }
.hero__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; margin-bottom: 56px; }
.hero__crumb { grid-column: 1 / -1; display: flex; gap: 10px; font: 400 14px/20px var(--mono); color: var(--muted); }
.hero__crumb a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.hero__crumb a:hover { color: var(--ink); }
.hero--svc .hero__h { grid-column: 1 / 8; max-width: 12ch; }
.hero__side { grid-column: 8 / 13; display: grid; gap: 22px; }
@media (max-width: 1180px) { .hero--svc .hero__h { grid-column: 1 / -1; } .hero__side { grid-column: 1 / 10; } }
@media (max-width: 768px) { .hero__side { grid-column: 1 / -1; } .hero__head { margin-bottom: 40px; } }

/* ================================================================== the square (js/square.js) */
.sq { position: relative; }
.sq__view { position: relative; height: 100%; touch-action: pan-y; }
.sq__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s var(--ease); }
.sq__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.sq.is-ready .sq__canvas { opacity: 1; }
.sq.is-ready .sq__poster { opacity: 0; }
.sq__tip { position: absolute; left: 0; top: 0; z-index: 3; max-width: 300px; font: 400 15px/1.5 var(--sans); color: var(--ink-2); text-wrap: pretty; pointer-events: none; }
.sq__lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sq__lines path { fill: none; stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.sq__lines circle { fill: #fff; }
.sq__lines text { fill: var(--ink); font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums; }
.sq.is-legend .loop-pause { bottom: auto; top: 8px; }
.sq__desc { display: none; }
.sq__tip { display: none !important; }
.sq__note { position: absolute; left: 0; top: 0; z-index: 1; padding: 3px 8px; font: 500 14px/20px var(--mono); color: var(--ink); white-space: nowrap; background: rgb(10 10 10 / .9); border: 1px solid rgb(255 255 255 / .18); border-radius: 6px; opacity: 0; pointer-events: none; }
/* the hero network: behind the whole hero above 900px, the poster and the controls in its right column */
.hero__net { position: absolute; inset: 0; z-index: 0; }
.hero__net .sq__view { height: 100%; }
.hero__net .sq__poster { left: auto; right: calc(max(0px, (100% - var(--max)) / 2) + var(--gut)); top: calc(var(--nav-h) + 16px); bottom: 36px; width: min(48%, 680px); height: auto; opacity: .5; }
.hero__net .loop-pause { right: calc(max(0px, (100% - var(--max)) / 2) + var(--gut)); bottom: 20px; }
.hero__net.is-legend .loop-pause { top: auto; bottom: 20px; }
.hero__net .sq__hint { right: auto; bottom: 24px; }
@media (max-width: 900px) {
  .hero__net { position: relative; inset: auto; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
  .hero__net .sq__view { height: 560px; }
  .hero__net .sq__poster { inset: 0; width: 100%; height: 100%; }
  .hero__net .loop-pause, .hero__net.is-legend .loop-pause { top: auto; bottom: 8px; right: calc(var(--gut) + 8px); }
  .hero__net .sq__hint { left: 0; right: 0; bottom: 4px; }
}
.sq__links { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sq__link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 9px 16px; background: var(--bg); border: 1px solid rgb(255 255 255 / .34); border-radius: var(--r-sm);
            color: var(--ink); font: 500 17px/1.3 var(--sans); letter-spacing: -0.005em; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.sq__idx { flex: none; width: 22px; font: 500 14px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sq__name { flex: 1; min-width: 0; }
.sq__arr { width: 12px; height: 12px; flex: none; transition: transform var(--dur) var(--ease); }
.sq__link:hover, .sq__link:focus-visible, .sq__link.is-on { background: #fff; border-color: #fff; color: var(--bg); }
.sq__link:hover .sq__idx, .sq__link:focus-visible .sq__idx, .sq__link.is-on .sq__idx { color: var(--bg); }
.sq__link:hover .sq__arr, .sq__link.is-on .sq__arr { transform: translateX(3px); }
.sq__hint { position: absolute; left: 0; right: 0; bottom: 4px; z-index: 2; text-align: center; font: 400 13px/1.4 var(--mono); color: var(--muted); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.sq.has-hint .sq__hint { opacity: 1; }
.sq.is-open .sq__hint { opacity: 0; }
.loop-pause { position: absolute; right: 8px; bottom: 8px; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color var(--dur) var(--ease); }
.loop-pause:hover { border-color: var(--ink); }
.loop-pause svg { width: 14px; height: 14px; fill: currentColor; }
/* open, the chips are one column right of the square (js/square.js sets the column's place, its width and each
   chip's offset once per size); they are the same width and height, evenly spaced */
@media (min-width: 768px) {
  .sq.is-live .sq__links { top: 0; right: auto; bottom: auto; display: block; width: var(--cw, 260px); transform: translate(var(--cx, 0px), var(--cy, 0px)); pointer-events: none; }
  .sq.is-live .sq__links li { position: absolute; left: 0; top: 0; width: 100%; transform: translateY(var(--y, 0px)); opacity: 0; transition: opacity .3s var(--ease); }
  .sq.is-live .sq__link { height: var(--ch, 48px); }
  .sq.is-live.is-open .sq__links li { opacity: 1; pointer-events: auto; transition-delay: calc(.15s + var(--i, 0) * 80ms); }
  /* radial: each label out from its own quadrant, as wide as its words, quiet until it is selected */
  .sq.is-live.is-radial .sq__links li { width: max-content; transform: translate(var(--x, 0px), var(--y, 0px)); }
  .sq.is-radial .sq__link { height: auto; min-height: 48px; padding: 10px 18px; white-space: nowrap; color: var(--ink); background: rgb(10 10 10 / .92); border-color: rgb(255 255 255 / .5); box-shadow: 0 6px 24px rgb(0 0 0 / .6); }
  .sq.is-radial .sq__link:hover, .sq.is-radial .sq__link:focus-visible, .sq.is-radial .sq__link.is-on { background: #fff; border-color: #fff; color: var(--bg); }
  .sq.is-radial .sq__desc { display: block; position: absolute; left: 0; width: var(--dw, 250px); padding: 10px 14px; background: rgb(10 10 10 / .92); border: 1px solid rgb(255 255 255 / .14); border-radius: var(--r-sm); font: 400 16px/1.5 var(--sans); color: var(--ink); text-wrap: pretty; opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
  .sq.is-radial li.to-u .sq__desc { bottom: calc(100% + 8px); }
  .sq.is-radial li.to-d .sq__desc { top: calc(100% + 8px); transform: translateY(-4px); }
  .sq.is-radial li.desc-r .sq__desc { left: auto; right: 0; text-align: right; }
  .sq.is-radial .sq__link.is-on + .sq__desc { opacity: 1; transform: none; }
  .sq.is-live .sq__links li:focus-within { opacity: 1; }
}
@media (max-width: 767px) {
  .sq { display: flex; flex-direction: column; gap: 12px; }
  .sq__view { flex: none; height: 340px; }
  .sq__links { position: static; grid-template-columns: 1fr; }
  .sq__hint { position: static; order: -1; text-align: left; }
  .sq__tip { display: none; }
  .loop-pause { bottom: auto; top: 44px; }
  .hero__net .sq__view { height: 70vw; min-height: 260px; }
  .hero__net .loop-pause, .hero__net.is-legend .loop-pause { top: 44px; bottom: auto; }
}

/* ================================================================== chapters */
.chapter { padding: 152px 0 0; }
.chapter__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.rail { grid-column: 1 / 4; }
.rail__in { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); margin-right: 24px; }
.rail__idx { font: 400 14px/20px var(--mono); color: var(--muted); }
.rail__name { font: 400 14px/20px var(--mono); color: var(--ink); }
.chapter__body { grid-column: 4 / 13; min-width: 0; }
.statement { font: 500 clamp(30px, calc(2.4vw + 18px), 52px)/1.12 var(--sans); letter-spacing: -0.026em; max-width: 22ch; text-wrap: balance; }
.statement .muted { color: var(--muted); }
@media (max-width: 960px) {
  .chapter { padding-top: 112px; }
  .rail { grid-column: 1 / -1; margin-bottom: 24px; }
  .rail__in { position: static; display: flex; gap: 14px; margin: 0; padding-top: 12px; }
  .chapter__body { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .chapter { padding-top: 88px; } .statement { font-size: 30px; line-height: 1.16; letter-spacing: -0.022em; } }
@media (max-width: 380px) { .statement { font-size: 28px; } }

/* ================================================================== show pieces and their notes */
.show { margin-top: 56px; }
.show__frame { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.show--hero .show__frame { box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.show__tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.notes ol { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 32px var(--gap); margin-top: 32px; }
.note { position: relative; padding-top: 20px; border-top: 1px solid var(--line); transition: border-color var(--dur) var(--ease); }
.note__n { position: absolute; top: -12px; left: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font: 500 13px/1 var(--mono); color: var(--ink); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.note p { font: 400 17px/28px var(--sans); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.note p b, .note p strong { font-weight: 500; color: var(--ink); }
.note.is-lit { border-top-color: var(--ink); }
.note.is-lit .note__n { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.note.is-lit p { color: var(--ink); }
@media (max-width: 1180px) { .notes ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .notes[style*="--n:3"] ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .notes ol, .notes[style*="--n:3"] ol { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* the numbered pin on the UI: a white disc on the thing the note explains */
.has-pin { position: relative; }
.pin { position: absolute; z-index: 5; top: -10px; left: -10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg);
       font: 600 13px/1 var(--mono); box-shadow: 0 0 0 4px var(--s1); pointer-events: none; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.pin--l { left: -32px; top: 50%; margin-top: -11px; }
.pin--r { left: auto; right: -11px; top: -11px; }
.pin--tl { left: -11px; top: -11px; }
.pin.is-lit { transform: scale(1.18); box-shadow: 0 0 0 4px var(--s1), 0 0 0 6px var(--ink); }
.dev__l .pin--inline { width: 20px; height: 20px; font-size: 13px; margin-right: 6px; vertical-align: -5px; }
.call__status { display: inline-flex; align-items: center; }
.call__status .pin--inline { vertical-align: 0; }
@media (max-width: 860px) { .pin--l { left: -8px; top: -11px; margin-top: 0; } }

/* ================================================================== the mocks: shared */
.mock { position: relative; font: 400 15px/22px var(--sans); color: var(--ink); }
.mock__bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); background: var(--s1); }
.mock__crumb { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/1 var(--mono); color: var(--muted); }
.mock__crumb .ring { width: 15px; height: 15px; color: var(--ink); }
.mock__crumb > span:nth-child(2) { color: var(--ink); }
.mock__sep { color: var(--muted); }
.mock__sp { flex: 1; }
.mock__live { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mock__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.replay { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink-2); font: 400 13px/1 var(--mono); cursor: pointer; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.replay::before { content: ""; position: absolute; inset: -4px; }
.replay { position: relative; }
.replay:hover { border-color: var(--ink); color: var(--ink); }
.replay svg { width: 14px; height: 14px; }
.replay[hidden] { display: none; }
@media (max-width: 640px) {
  .mock__bar { gap: 8px; padding-left: 14px; }
  .mock__crumb > :nth-child(n+3) { display: none; }
  .legend { display: none; }
}
.pane__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; border-bottom: 1px solid var(--line); font: 500 15px/20px var(--sans); }
.pane__h--sub { border-top: 1px solid var(--line); }
.pane__meta { display: block; font: 400 13px/18px var(--mono); color: var(--muted); }
.thread__who { display: grid; gap: 2px; padding: 10px 0; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 13px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.chip--on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip--new { border-color: var(--ink); color: var(--ink); }
.chip--dim { color: var(--muted); }
.swap { display: inline-grid; justify-items: start; }
.swap > * { grid-area: 1 / 1; }
.avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--s3); border: 1px solid var(--line-2); font: 500 14px/1 var(--mono); color: var(--ink); }
.avatar--sm { width: 34px; height: 34px; font-size: 13px; }
.avatar--v { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.avatar--v .ring { width: 16px; height: 16px; }
.thread { display: grid; align-content: start; gap: 12px; padding: 20px; }
.msg { max-width: 86%; display: grid; gap: 6px; justify-self: start; }
.msg__meta { font: 400 13px/18px var(--mono); color: var(--muted); justify-self: start; }
.msg__body { padding: 11px 14px; border-radius: 14px; background: var(--s3); border: 1px solid var(--line); font: 400 15px/22px var(--sans); text-wrap: pretty; }
.msg--in .msg__body { border-top-left-radius: 4px; }
.msg--out { justify-self: end; }
.msg--out .msg__meta { justify-self: end; }
.msg--out .msg__body { background: var(--ink); color: var(--bg); border-color: var(--ink); border-top-right-radius: 4px; }
.msg__src { justify-self: end; font: 400 13px/18px var(--mono); color: var(--ink-2); }
.event { justify-self: center; padding: 6px 12px; border: 1px dashed var(--line-2); border-radius: 999px; font: 400 13px/18px var(--mono); color: var(--muted); text-align: center; }
.event--on { border-style: solid; border-color: var(--ink); color: var(--ink); }
.slots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.slot { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 13px/1 var(--mono); color: var(--ink-2); background: var(--s1); transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease); }
.slot[data-mark] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.kv { display: grid; }
.kv__row { display: grid; gap: 2px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.kv dt { font: 400 13px/18px var(--mono); color: var(--muted); }
.kv dd { font: 400 15px/22px var(--sans); color: var(--ink); min-height: 22px; transition: background-color 600ms var(--ease); }
.toast, .note-card { margin: 16px; padding: 14px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); display: grid; gap: 6px; box-shadow: 0 16px 32px -12px rgb(0 0 0 / .8); }
.toast__t { display: flex; align-items: center; gap: 8px; font: 500 15px/20px var(--sans); }
.toast__t .ic { width: 18px; height: 18px; }
.toast p, .note-card p { font: 400 14px/21px var(--sans); color: #2a2a2a; }
.note-card .chip { justify-self: start; background: var(--bg); color: var(--ink); border-color: var(--bg); }
.toast .pin, .note-card .pin { box-shadow: 0 0 0 4px var(--s1); }

/* ---------------------------------------------------------------- 1. inbox */
.inbox { display: grid; grid-template-columns: 264px minmax(0, 1fr) 280px; min-height: 700px; }
.inbox__list { border-right: 1px solid var(--line); }
.inbox__crm { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.inbox__crm .toast { margin-top: auto; }
.rows { display: grid; }
.row { display: grid; gap: 4px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.row .swap, .row > .chip { margin-top: 4px; }
.row.is-sel { background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2); }
.row__top { display: flex; justify-content: space-between; gap: 8px; }
.row__name { font: 500 15px/20px var(--sans); }
.row__time { font: 400 13px/20px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.row__what { font: 400 14px/20px var(--sans); color: var(--muted); }
.mock--inbox .thread .msg--in .msg__meta { margin-left: 0; }
@media (max-width: 1180px) { .inbox { grid-template-columns: minmax(0, 1fr) 280px; } .inbox__list { display: none; } }
@media (max-width: 768px) {
  .inbox { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .inbox__crm { border-left: 0; border-top: 1px solid var(--line); }
  .inbox .kv { grid-template-columns: 1fr 1fr; }
  .inbox .kv__row:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- 2. call */
.call { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 680px; }
.call__main { min-width: 0; }
.call__side { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.call__side .note-card { margin-top: auto; }
.call__head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.call__who { display: grid; gap: 2px; }
.call__name { font: 500 17px/22px var(--sans); }
.wave { padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.wave__bars { display: flex; align-items: center; gap: 3px; height: 72px; }
.wave__bars i { flex: 1; height: calc(var(--h) * 100%); min-height: 3px; border-radius: 2px; background: var(--ink-2); transform-origin: center; }
.wave__who { display: flex; gap: 20px; margin-top: 12px; font: 400 13px/18px var(--mono); color: var(--muted); }
.wave__who span { display: inline-flex; align-items: center; gap: 8px; transition: color 300ms var(--ease); }
.wave__who span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.wave__a { color: var(--ink); }
.wave__a::before { background: currentColor; }
.transcript { display: grid; gap: 4px; padding: 16px 24px 24px; }
.tline { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 7px 0; }
.tline__who { font: 400 13px/22px var(--mono); color: var(--muted); }
.tline__text { font: 400 15px/22px var(--sans); color: var(--ink-2); }
.tline--agent .tline__who, .tline--agent .tline__text { color: var(--ink); }
@media (max-width: 960px) { .call { grid-template-columns: minmax(0, 1fr); } .call__side { border-left: 0; border-top: 1px solid var(--line); } .call .kv { grid-template-columns: 1fr 1fr; } .call .kv__row:nth-child(odd) { border-right: 1px solid var(--line); } }
@media (max-width: 640px) { .tline { grid-template-columns: minmax(0, 1fr); gap: 0; } .call__head { flex-wrap: wrap; padding: 16px; } .call__head .mock__sp { display: none; } .wave, .transcript { padding-left: 16px; padding-right: 16px; } }

/* ---------------------------------------------------------------- 3. email */
.mail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 660px; }
.mail__side { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.mailcard { display: grid; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--s2); }
.mailcard p { font: 400 15px/23px var(--sans); color: var(--ink-2); text-wrap: pretty; }
.mailcard__h { display: flex; align-items: center; gap: 12px; }
.mailcard__h b { display: block; font: 500 15px/20px var(--sans); }
.mailcard--draft { background: var(--s1); border-color: var(--ink); }
.mailcard--draft p { color: var(--ink); }
.mailcard__f { display: flex; justify-content: flex-end; }
.fus { display: grid; padding: 8px 0; }
.fu { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: start; padding: 14px 20px; position: relative; }
.fu::before { content: ""; position: absolute; left: 29px; top: 34px; bottom: -14px; width: 1px; background: var(--line-2); }
.fu:last-child::before { display: none; }
.fu__dot { grid-row: 1 / 3; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--s1); position: relative; z-index: 1; transition: background-color 400ms var(--ease), border-color 400ms var(--ease); }
.fu[data-mark] .fu__dot { background: var(--ink); border-color: var(--ink); }
.fu__day { font: 500 15px/20px var(--sans); display: flex; gap: 10px; align-items: baseline; }
.fu__day .pane__meta { display: inline; }
.fu__text { grid-column: 2; font: 400 14px/21px var(--sans); color: var(--muted); }
.fu .swap { grid-column: 3; grid-row: 1; justify-items: end; }
.routes { display: grid; gap: 10px; padding: 16px 20px 20px; }
.route { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--s2); }
.route__who { font: 400 14px/20px var(--sans); color: var(--ink-2); }
.route__who b { font-weight: 500; color: var(--ink); margin-right: 4px; }
.route .chip { justify-self: start; }
@media (max-width: 960px) { .mail { grid-template-columns: minmax(0, 1fr); } .mail__side { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------------------------------------------------------------- 4. chat on a listing page */
.mock__bar--browser { padding-left: 12px; }
.url { display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--s2); font: 400 13px/1 var(--mono); color: var(--muted); }
.url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url .ic { width: 14px; height: 14px; }
.site { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; padding: 32px; min-height: 700px; background: var(--bg); }
.listing { display: grid; align-content: start; gap: 14px; }
.plan { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--s1); }
.plan svg { width: 100%; height: auto; max-height: 300px; }
.plan__wall { fill: none; stroke: var(--ink-2); stroke-width: 2; }
.plan__door { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.plan text { fill: var(--muted); font: 400 13px var(--mono); text-anchor: middle; }
.plan__tag { position: absolute; left: 16px; bottom: 12px; font: 400 13px/1 var(--mono); color: var(--muted); }
.listing__price { margin-top: 10px; font: 400 14px/20px var(--mono); color: var(--muted); }
.listing__t { font: 500 32px/1.1 var(--sans); letter-spacing: -0.02em; }
.listing__f { display: flex; flex-wrap: wrap; gap: 8px; }
.listing__f li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 14px/1 var(--sans); color: var(--ink-2); }
.listing__d { font: 400 16px/26px var(--sans); color: var(--muted); max-width: 46ch; }
.widget { display: flex; flex-direction: column; align-self: start; border: 1px solid var(--line-2); border-radius: 14px; background: var(--s1); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .9); }
.widget__h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.widget__h b { display: block; font: 500 15px/20px var(--sans); }
.thread--chat { padding: 16px; gap: 10px; }
.msg--right { justify-self: end; }
.msg--right .msg__body { border-top-left-radius: 14px; border-top-right-radius: 4px; }
.thread--chat .msg--out { justify-self: start; }
.thread--chat .msg--out .msg__body { border-top-right-radius: 14px; border-top-left-radius: 4px; }
.thread--chat .slots { justify-content: flex-start; }
.thread--chat .event { justify-self: stretch; }
.widget__in { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 0 14px; height: 44px; border: 1px solid var(--line); border-radius: 999px; font: 400 14px/1 var(--sans); color: var(--muted); }
.widget__in .ic { width: 16px; height: 16px; }
@media (max-width: 1180px) { .site { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding: 24px; } }
@media (max-width: 860px) {
  .site { grid-template-columns: minmax(0, 1fr); padding: 16px; min-height: 0; }
  .plan, .listing__d { display: none; }
  .listing { gap: 10px; }
  .listing__t { font-size: 24px; }
}

/* ---------------------------------------------------------------- 5. audit */
.audit { min-height: 620px; display: flex; flex-direction: column; }
.atable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.atable th, .atable td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font: 400 15px/22px var(--sans); }
.atable thead th { position: relative; font: 400 13px/18px var(--mono); color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
.atable thead .pin { left: -2px; top: 50%; margin-top: -11px; }
.atable thead th.has-pin { padding-left: 32px; }
.atable tbody th { font-weight: 500; color: var(--ink); }
.atable__what { color: var(--ink-2); }
.atable .num { text-align: right; font-family: var(--mono); font-size: 14px; }
.atable thead .num { font-size: 13px; }
.verdict { display: inline-flex; min-height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; font: 500 13px/1 var(--mono); border: 1px solid var(--line-2); color: var(--ink-2); }
.verdict--replace { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.verdict--automate { border-color: var(--ink); color: var(--ink); }
.asum { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; border-top: 1px solid var(--line); }
.asum p { display: grid; gap: 4px; padding: 18px 20px; }
.asum p + p { border-left: 1px solid var(--line); }
.asum b { font: 500 20px/26px var(--sans); }
.asum span { font: 400 14px/21px var(--sans); color: var(--muted); }
@media (max-width: 860px) {
  .atable thead { display: none; }
  .atable, .atable tbody { display: block; }
  .atable tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .atable th, .atable td { padding: 0; border: 0; }
  .atable tbody th { grid-column: 1; }
  .atable tr > td:last-child { grid-column: 2; grid-row: 1; }
  .atable__what { grid-column: 1 / -1; }
  .atable .num { text-align: left; display: inline; color: var(--muted); }
  .atable .num::before { content: attr(data-l) ": "; font-family: var(--mono); }
  .atable tr > td.num:nth-of-type(3) { grid-column: 1 / -1; }
  .asum { grid-template-columns: 1fr; }
  .asum p + p { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- 6. hand-off */
.handoff { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; gap: 0; padding: 28px; }
.handoff__done, .handoff__team { border: 1px solid var(--line); border-radius: 10px; background: var(--bg); align-self: stretch; }
.handoff__done > .pin { left: -11px; top: -11px; margin: 0; }
.checks { display: grid; padding: 8px 0; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); transition: background-color 400ms var(--ease), border-color 400ms var(--ease); }
.check__box svg { width: 14px; height: 14px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 300ms var(--ease); }
.check[data-mark] .check__box { background: var(--ink); border-color: var(--ink); }
.check[data-mark] .check__box svg { opacity: 1; }
.check__text { font: 400 15px/22px var(--sans); }
.check time { font: 400 13px/1 var(--mono); color: var(--muted); }
.handoff__arrow { display: grid; justify-items: center; gap: 6px; color: var(--ink); padding: 0 8px; }
.handoff__arrow span { font: 400 13px/1.3 var(--mono); color: var(--muted); text-align: center; }
.handoff__arrow svg { width: 64px; height: 16px; }
.handcard { display: grid; gap: 12px; padding: 20px; }
.handcard__t { font: 500 17px/24px var(--sans); }
.handcard__s { font: 400 15px/23px var(--sans); color: var(--ink-2); padding: 14px 16px; border-radius: 8px; background: var(--s2); border: 1px solid var(--line); }
.handcard__s .pin, .handcard__l .pin { left: -11px; top: -11px; margin: 0; }
.handcard__l { margin-top: 4px; font: 400 13px/18px var(--mono); color: var(--muted); }
.needs { display: grid; gap: 8px; }
.needs li { display: flex; align-items: center; gap: 12px; font: 400 15px/22px var(--sans); }
.needs__box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1px solid var(--ink-2); }
@media (max-width: 860px) {
  .handoff { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 12px; min-height: 0; }
  .handoff__arrow { padding: 4px 0; }
  .handoff__arrow svg { transform: rotate(90deg); width: 36px; height: 36px; }
}

/* ---------------------------------------------------------------- 7. the day */
.legend { display: inline-flex; gap: 16px; font: 400 13px/1 var(--mono); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 10px; height: 10px; border-radius: 2px; }
.legend__v::before { background: var(--ink); }
.legend__p::before { border: 1px solid var(--ink-2); }
.day { --lane: 168px; --label: 120px; position: relative; display: grid; grid-template-columns: var(--label) minmax(0, 1fr); padding: 0 40px 32px 24px; }
.day__axis { grid-column: 2; position: relative; height: 56px; border-bottom: 1px solid var(--line); }
.day__axis span { position: absolute; left: calc(var(--t) * 100%); bottom: 12px; translate: -50% 0; font: 400 13px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.day__axis span::after { content: ""; position: absolute; left: 50%; top: calc(100% + 6px); width: 1px; height: 6px; background: var(--line-2); }
.day__lane { grid-column: 1 / -1; display: grid; grid-template-columns: var(--label) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.day__name { align-self: center; font: 400 14px/20px var(--mono); color: var(--ink); }
.day__track { position: relative; height: var(--lane); }
/* the after-hours band and the playhead sit over the track column */
.day__after, .day__now, .day__hand { position: absolute; top: 56px; bottom: 32px; }
.day__after { left: calc(24px + var(--label) + (100% - 64px - var(--label)) * var(--t)); right: 40px; background: rgb(255 255 255 / .035); border-left: 1px dashed var(--line-2); }
.day__after > span { position: absolute; bottom: 10px; left: 12px; font: 400 13px/22px var(--mono); color: var(--ink-2); white-space: nowrap; }
.day__now { left: calc(24px + var(--label)); width: 1px; background: var(--ink); opacity: 0; pointer-events: none; }
.day__now span { position: absolute; top: -26px; left: 0; translate: -50% 0; padding: 3px 7px; border-radius: 4px; background: var(--ink); color: var(--bg); font: 500 13px/1 var(--mono); }
.dev, .dblk { position: absolute; left: calc(var(--t) * 100%); top: calc(22px + var(--r) * 72px); display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: opacity 400ms var(--ease); }
.dev__m { width: 10px; height: 10px; flex: none; border-radius: 2px; background: var(--ink); translate: -5px 0; transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease); }
.dev__l { display: grid; font: 400 14px/18px var(--sans); color: var(--ink); }
.dev__l time { font: 400 13px/16px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.dev--end { flex-direction: row-reverse; translate: -100% 0; }
.dev--end .dev__m { translate: 5px 0; }
.dev--end .dev__l { text-align: right; }
.dblk { display: grid; gap: 6px; align-items: start; width: calc(var(--d) * 100%); }
.dblk__b { display: block; width: 100%; height: 10px; border: 1px solid var(--ink-2); border-radius: 3px; transition: background-color 400ms var(--ease); }
.day__hand { left: calc(24px + var(--label) + (100% - 64px - var(--label)) * var(--t)); top: 164px; height: 78px; bottom: auto; width: 1px; background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat; }
.day__hand::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 9px; height: 9px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); rotate: 45deg; translate: 0 -2px; }
.day__hand > .pin { left: -11px; top: auto; bottom: -34px; }
.dev > .pin, .dblk > .pin { left: -38px; top: 50%; margin-top: -11px; }
.dblk > .pin { top: 0; margin-top: -6px; }
.pin--inline { position: relative; inset: auto; display: inline-grid; margin: 0 8px 0 0; vertical-align: -5px; }
@media (max-width: 860px) {
  /* a phone: the day runs down the screen, the two lanes side by side */
  .day { --label: 0px; --vh: 780px; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); padding: 16px 12px 24px; column-gap: 10px; }
  .day__axis { grid-column: 1; grid-row: 1; height: calc(32px + var(--vh)); border: 0; }
  .day__axis span { left: 0; bottom: auto; top: calc(32px + var(--t) * var(--vh)); translate: 0 -50%; }
  .day__axis span:nth-child(even) { display: none; }
  .day__axis span::after { display: none; }
  .day__lane { grid-column: auto; grid-row: 1; display: block; border: 0; }
  .day__name { height: 32px; }
  .day__track { height: var(--vh); }
  .dev, .dblk { left: 0; top: calc(var(--t) * var(--vh)); translate: 0 -8px; width: auto; align-items: flex-start; }
  .dev--end { flex-direction: row; translate: 0 -8px; }
  .dev--end .dev__m, .dev__m { translate: 0; margin-top: 4px; }
  .dev--end .dev__l { text-align: left; }
  .dev__l { font-size: 14px; white-space: normal; }
  .dblk { display: flex; gap: 8px; }
  .dblk__b { width: 10px; height: 10px; flex: none; margin-top: 4px; }
  .day__after { left: 12px; right: 12px; top: calc(16px + 32px + var(--t) * var(--vh)); bottom: 24px; border-left: 0; border-top: 1px dashed var(--line-2); }
  .day__after > span { left: auto; right: 8px; top: auto; bottom: 8px; }
  .day__now, .day__hand { display: none; }
}

/* ================================================================== flows (js/flows.js draws the wires) */
.show__frame--flow { padding: 56px 48px; background: var(--s1); }
.flow { position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), minmax(84px, auto)); column-gap: 64px; row-gap: 28px; }
.flow__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow__wires path { fill: none; stroke: var(--line-2); stroke-width: 1.25; }
.flow__wires path.lit { stroke: var(--ink); stroke-width: 1.5; }
.flow__wires circle { fill: #fff; }
.fnode { position: relative; z-index: 1; grid-column: var(--c); grid-row: var(--r) / span var(--rs); align-self: center; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s2); transition: border-color 500ms var(--ease), background-color 500ms var(--ease), color 500ms var(--ease); }
.fnode .ic { width: 20px; height: 20px; color: var(--ink-2); }
.fnode__t { display: grid; gap: 2px; min-width: 0; }
.fnode__l { font: 500 15px/20px var(--sans); }
.fnode__s { font: 400 14px/19px var(--sans); color: var(--muted); }
.fnode--core { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fnode--core .ic { color: var(--bg); }
.fnode--core .fnode__s { color: #4a4a4a; }
.fnode--warn { border-style: dashed; }
.fnode.is-hit { border-color: var(--ink); }
.fnode--core.is-hit { box-shadow: 0 0 0 6px rgb(255 255 255 / .08); }
.flow__say { position: relative; min-height: 30px; margin-top: 36px; font: 400 17px/28px var(--sans); color: var(--ink); text-align: center; }
.flow__say span { display: block; }
.js .flow__say.is-on span { position: absolute; inset: 0 0 auto; opacity: 0; transition: opacity 400ms var(--ease); }
.js .flow__say.is-on span.is-now { opacity: 1; position: relative; }
.js .flow__say:not(.is-on) span:not(:first-child) { display: none; }
/* v6: the sample call's stage count, over the line being said */
.flow__say[data-stage]::before { content: attr(data-stage); display: block; margin-bottom: 8px; font: 500 13px/20px var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--s1); }
.tabs[hidden] { display: none; }
.tab { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tabpanel + .tabpanel { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.tabpanel__t { margin-bottom: 24px; font: 400 14px/20px var(--mono); color: var(--muted); }
.js .tabs:not([hidden]) ~ * .tabpanel__t, .has-tabs .tabpanel__t { display: none; }
.has-tabs .tabpanel + .tabpanel { margin-top: 0; padding-top: 0; border-top: 0; }
.tabpanel[hidden] { display: none; }
@media (max-width: 1180px) { .show__frame--flow { padding: 48px 32px; } .flow { column-gap: 40px; } }
@media (max-width: 860px) {
  .show__frame--flow { padding: 32px 16px; }
  .flow { grid-template-columns: repeat(var(--pcols), minmax(0, 1fr)); grid-template-rows: repeat(var(--prows), auto); column-gap: 12px; row-gap: 40px; }
  .fnode { grid-column: var(--pc) / span var(--ps); grid-row: var(--pr); justify-self: stretch; padding: 12px; gap: 10px; }
  .fnode[style*="--ps:2"] { justify-self: center; min-width: 60%; }
  .fnode .ic { width: 18px; height: 18px; }
  .flow__say { font-size: 16px; line-height: 26px; }
}

/* ================================================================== services rows (homepage, chapter 02) */
.svc { margin-top: 56px; border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 260px 48px; align-items: center; gap: 24px; min-height: 148px; padding: 28px 24px 28px 4px; border-bottom: 1px solid var(--line); border-radius: 2px; transition: background-color var(--dur) var(--ease), padding var(--dur) var(--ease); }
.svc__row:hover, .svc__row:focus-visible { background: var(--s1); padding-left: 20px; }
.svc__n { align-self: start; padding-top: 10px; font: 400 14px/20px var(--mono); color: var(--muted); }
.svc__text { display: grid; gap: 8px; }
.svc__name { font: 500 32px/1.15 var(--sans); letter-spacing: -0.02em; }
.svc__line { font: 400 18px/28px var(--sans); color: var(--muted); max-width: 40ch; }
.svc__go { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.svc__row:hover .svc__go { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.svc__row:hover .arr { transform: translateX(2px); }
.mini { position: relative; display: grid; height: 92px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--s1); overflow: hidden; }
.mini__cap { display: flex; justify-content: space-between; gap: 8px; align-self: end; font: 400 13px/1 var(--mono); color: var(--muted); }
.mini__wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.mini__wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: var(--ink-2); }
.mini__lines { display: grid; gap: 8px; align-content: start; }
.mini__lines i { display: block; height: 7px; border-radius: 4px; background: var(--ink-2); transform-origin: left; }
.mini__lines i:nth-child(1) { width: 92%; } .mini__lines i:nth-child(2) { width: 78%; } .mini__lines i:nth-child(3) { width: 54%; }
.mini__day { display: inline-flex; align-items: center; gap: 6px; }
.mini__day::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.mini--chat { align-content: center; gap: 8px; }
.mini__b { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 12px; font: 400 14px/1 var(--sans); white-space: nowrap; }
.mini__b--in { justify-self: start; background: var(--s3); border: 1px solid var(--line-2); color: var(--ink-2); }
.mini__b--out { justify-self: end; background: var(--ink); color: var(--bg); position: relative; }
.mini__dots { display: none; gap: 4px; }
.mini__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--bg); }
.mini--opt { align-content: center; }
.mini__stack { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px; }
.mini__stack i { font: normal 400 13px/1 var(--mono); padding: 7px 8px; border: 1px dashed var(--line-2); border-radius: 6px; color: var(--muted); }
.mini__one { margin-top: 10px; justify-self: start; padding: 7px 12px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 500 13px/1 var(--mono); }
@media (max-width: 1180px) { .svc__row { grid-template-columns: 48px minmax(0, 1fr) 220px 48px; } }
@media (max-width: 768px) {
  .svc__row { grid-template-columns: 1fr 48px; gap: 16px; padding: 24px 0; min-height: 0; }
  .svc__row:hover { padding-left: 0; background: none; }
  .svc__n { grid-column: 1; padding: 0; }
  .svc__text { grid-column: 1; }
  .svc__go { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .mini { grid-column: 1 / -1; }
  .svc__name { font-size: 26px; }
  .svc__line { font-size: 17px; line-height: 27px; }
}

/* ================================================================== how we work: the track and the figures */
.track { margin-top: 56px; padding: 40px 40px 8px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); }
.track__chart { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto 52px 40px 52px; row-gap: 14px; }
.track__ruler { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.track__ruler span { padding: 0 0 12px 10px; border-left: 1px solid var(--line); font: 400 13px/18px var(--mono); color: var(--muted); }
.track__ruler span:last-child { border-left-style: dashed; }
.track__bar { position: relative; display: flex; align-items: center; padding: 0 16px; border-radius: 8px; font: 500 16px/1 var(--sans); }
.track__bar > .pin { left: -11px; top: -11px; }
.track__bar--a { grid-column: 1 / 2; grid-row: 2; margin-right: 6px; background: var(--ink); color: var(--bg); }
.track__bar--d { grid-column: 2 / 5; grid-row: 2; display: grid; grid-template-columns: 1fr 2fr; align-items: stretch; padding: 0; }
.track__solid { display: flex; align-items: center; padding: 0 16px; background: var(--ink); color: var(--bg); border-radius: 8px 0 0 8px; }
.track__more { display: flex; align-items: center; padding: 0 16px; border: 1px dashed var(--ink-2); border-left: 0; border-radius: 0 8px 8px 0; font: 400 13px/1 var(--mono); color: var(--ink-2); }
.track__live { grid-column: 2 / 5; grid-row: 3; position: relative; display: flex; align-items: center; justify-content: center; }
.track__live::before { content: ""; position: absolute; left: 33.33%; right: 0; top: 50%; height: 12px; translate: 0 -50%; border: 1px solid var(--muted); border-top: 0; }
.track__live span { position: relative; left: 16.66%; padding: 0 10px; background: var(--s1); font: 400 13px/1 var(--mono); color: var(--ink); translate: 0 6px; }
.track__bar--o { grid-column: 3 / 6; grid-row: 4; border: 1px dashed var(--ink-2); color: var(--ink); }
.track__bar--o::after { content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); rotate: 45deg; translate: 0 -50%; }
.notes--phases ol { margin-top: 40px; padding-bottom: 32px; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 72px; }
.fig { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.fig__n { font: 500 clamp(56px, 7vw, 104px)/0.95 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fig__a { color: var(--muted); font-size: clamp(24px, 3vw, 44px); letter-spacing: -0.01em; margin-right: 0.12em; }
.fig__l { font: 400 18px/28px var(--sans); color: var(--ink-2); max-width: 26ch; }
.foot { margin-top: 32px; font: 400 15px/24px var(--sans); color: var(--muted); }
@media (max-width: 860px) {
  .track { padding: 28px 16px 4px; }
  .track__chart { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto 44px 34px 44px; }
  .track__ruler span { padding-left: 4px; font-size: 13px; }
  .track__ruler span:nth-child(5) { font-size: 0; }
  .track__ruler span:nth-child(5)::after { content: "After"; font-size: 13px; }
  .track__ruler span { font-size: 0; }
  .track__ruler span::before { content: "W" counter(wk); font-size: 13px; }
  .track__ruler { counter-reset: wk; }
  .track__ruler span { counter-increment: wk; }
  .track__ruler span:nth-child(5)::before { content: none; }
  .track__bar { padding: 0 10px; font-size: 14px; }
  .track__live span { font-size: 13px; white-space: nowrap; left: 8%; }
}
@media (max-width: 560px) { .figs { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; } }

/* ================================================================== questions */
.faq { margin-top: 56px; border-top: 1px solid var(--line); }
.faq__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); padding: 32px 0; border-bottom: 1px solid var(--line); }
.faq dt { font: 500 22px/30px var(--sans); letter-spacing: -0.01em; text-wrap: balance; }
.faq dd { font: 400 18px/30px var(--sans); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.faq__more { margin-top: 28px; font: 400 18px/30px var(--sans); color: var(--muted); }
.faq__more .link { color: var(--ink); }
@media (max-width: 768px) { .faq__item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; } .faq dt { font-size: 20px; line-height: 28px; } }

/* ================================================================== the form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; max-width: 880px; }
.field { display: grid; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 15px/20px var(--sans); color: var(--ink); }
.field input, .field textarea { width: 100%; min-height: 56px; padding: 14px 16px; background: var(--s1); border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); font: 400 17px/26px var(--sans); caret-color: var(--ink); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.field textarea { resize: vertical; min-height: 168px; }
.field input:hover, .field textarea:hover { border-color: #4a4a4a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--s2); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--ink); border-style: dashed; }
.field__err { font: 400 15px/22px var(--sans); color: var(--ink); }
.field__err::before { content: "! "; font-family: var(--mono); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.form__note { font: 400 16px/24px var(--sans); color: var(--muted); }
.form__status { grid-column: 1 / -1; font: 400 17px/26px var(--sans); color: var(--ink); }
.form__status:empty { display: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; gap: 20px; } .form__foot .btn { width: 100%; } }

/* ================================================================== next service */
.next { padding-top: 152px; }
.next__link { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label label" "name arr" "line arr"; column-gap: 24px; row-gap: 10px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: padding var(--dur) var(--ease); }
.next__link:hover { padding-left: 16px; padding-right: 16px; }
.next__label { grid-area: label; font: 400 14px/20px var(--mono); color: var(--muted); }
.next__n { display: none; }
.next__name { grid-area: name; font: 500 clamp(32px, 4vw, 56px)/1.05 var(--sans); letter-spacing: -0.028em; }
.next__line { grid-area: line; font: 400 18px/28px var(--sans); color: var(--muted); }
.next__link .arr { grid-area: arr; align-self: center; width: 40px; height: 40px; }
.next__link:hover .arr { transform: translateX(6px); }
@media (max-width: 640px) { .next { padding-top: 96px; } .next__link .arr { width: 28px; height: 28px; } }

/* ================================================================== footer */
.footer { margin-top: 152px; border-top: 1px solid var(--line); }
.footer__close { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 104px 0 96px; }
.footer__h { font: 500 clamp(40px, 5.4vw, 80px)/1.02 var(--sans); letter-spacing: -0.034em; max-width: 14ch; text-wrap: balance; }
.footer__cols { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--gap); padding: 48px 0; border-top: 1px solid var(--line); }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand p { font: 400 16px/26px var(--sans); color: var(--muted); max-width: 34ch; }
.footer__col h3 { margin-bottom: 14px; font: 400 13px/20px var(--mono); color: var(--muted); }
.footer__col ul { display: grid; gap: 2px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 36px; font: 400 16px/22px var(--sans); color: var(--ink-2); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__legal { display: flex; justify-content: space-between; padding: 24px 0 40px; border-top: 1px solid var(--line); font: 400 13px/20px var(--mono); color: var(--muted); }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } .footer__close { padding: 80px 0 64px; } }
@media (max-width: 640px) { .footer { margin-top: 112px; } .footer__close .btn { width: 100%; } }

/* ================================================================== the hover effect (js/cursor.js) */
.cursor-ring { position: fixed; left: -14px; top: -14px; z-index: 200; width: 28px; height: 28px; border: 1px solid #fff; border-radius: 50%; pointer-events: none; mix-blend-mode: difference; opacity: 0;
               transition: opacity .2s ease, width .3s var(--ease), height .3s var(--ease), left .3s var(--ease), top .3s var(--ease), background-color .3s var(--ease); }
.cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hot { width: 48px; height: 48px; left: -24px; top: -24px; background: #fff; }
.cursor-ring.is-down { width: 18px; height: 18px; left: -9px; top: -9px; }
.cursor-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s ease;
               background-image: radial-gradient(circle, rgb(255 255 255 / .3) 1px, transparent 1.6px); background-size: 24px 24px;
               -webkit-mask-image: radial-gradient(160px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%);
               mask-image: radial-gradient(160px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%); }
.cursor-grid.is-on { opacity: 1; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-ring, .cursor-grid { display: none; } }

/* ================================================================== motion: one easing, visible by default */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.35); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes dots { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* statements: the lines rise 16px and fade in, 60ms apart (js/site.js splits them; the rest state is visible) */
/* the rest state is always the visible one: the rise plays as an animation from below, once, when the line enters */
[data-reveal] .w { display: inline-block; }
[data-reveal].is-rev .w { animation: lineIn 700ms var(--ease) backwards; animation-delay: calc(var(--l, 0) * 60ms); }
@keyframes lineIn { from { opacity: 0; transform: translateY(16px); } }

/* the mocks while they play (js/demos.js adds .is-playing; without it, the end state shows) */
.is-playing [data-at]:not(.is-in) { opacity: 0; transform: translateY(8px); }
.is-playing [data-at] { transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.is-playing .swap > [data-at]:not(.is-in) { transform: none; }
.is-playing tr[data-at]:not(.is-in) { transform: none; }
[data-gone] { opacity: 0; }
.is-playing [data-gone]:not(.is-gone) { opacity: 1; }
.is-playing [data-gone] { transition: opacity 300ms var(--ease); }
.is-playing .slot[data-mark]:not(.is-marked) { background: var(--s1); color: var(--ink-2); border-color: var(--line-2); }
.is-playing .fu[data-mark]:not(.is-marked) .fu__dot { background: var(--s1); border-color: var(--line-2); }
.is-playing .check[data-mark]:not(.is-marked) .check__box { background: transparent; border-color: var(--line-2); }
.is-playing .check[data-mark]:not(.is-marked) .check__box svg { opacity: 0; }
.is-playing .check[data-mark]:not(.is-marked) .check__text { color: var(--muted); }
.is-playing .dev[data-mark]:not(.is-marked), .is-playing .dblk[data-mark]:not(.is-marked), .is-playing .day__hand[data-mark]:not(.is-marked) { opacity: .28; }
.is-playing .dblk[data-mark].is-marked .dblk__b { background: rgb(255 255 255 / .2); }
.is-run .day__now { opacity: 1; animation: sweep var(--sweep, 9000ms) linear 400ms both; }
.is-done .day__now { opacity: 0; transition: opacity 600ms var(--ease); }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(var(--span, 0px)); } }
.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: currentColor; animation: caret 900ms steps(1) infinite; }
.type__ghost { visibility: hidden; }
.type { display: grid; }
.type > * { grid-area: 1 / 1; }
/* the call: the waveform moves while someone speaks, and says who */
.is-playing .wave__bars i { animation: wave 900ms var(--ease) infinite; animation-delay: calc(var(--d) * -1); }
.mock--call:not(.is-playing) .wave__bars i, .mock--call.is-done .wave__bars i { animation: none; }
.mock--call[data-state="caller"] .wave__bars i { background: var(--muted); }
.mock--call[data-state="caller"] .wave__a { color: var(--muted); }
.mock--call[data-state="caller"] .wave__a::before { background: transparent; }
.mock--call[data-state="caller"] .wave__c { color: var(--ink); }
.mock--call[data-state="caller"] .wave__c::before { background: currentColor; }
.mock--call.is-done .wave__bars i { background: var(--line-2); }
/* the mini demos loop gently, only while on screen */
.mini.is-live .mini__wave i { animation: wave 1100ms var(--ease) infinite; animation-delay: calc(var(--d) * -1); }
.mini.is-live .mini__lines i { animation: draw 3.6s var(--ease) infinite; }
.mini.is-live .mini__lines i:nth-child(2) { animation-delay: .25s; }
.mini.is-live .mini__lines i:nth-child(3) { animation-delay: .5s; }
@keyframes draw { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.mini.is-live .mini__day::before { animation: tick 3.6s var(--ease) infinite; }
.mini.is-live .mini__day:nth-child(2)::before { animation-delay: .6s; }
.mini.is-live .mini__day:nth-child(3)::before { animation-delay: 1.2s; }
@keyframes tick { 0%, 20% { background: transparent; box-shadow: inset 0 0 0 1px var(--muted); } 30%, 100% { background: var(--ink); box-shadow: none; } }
.mini.is-live .mini__dots { display: inline-flex; animation: hide 4s steps(1) infinite; }
.mini.is-live .mini__dots i { animation: dots 900ms var(--ease) infinite; }
.mini.is-live .mini__dots i:nth-child(2) { animation-delay: .15s; }
.mini.is-live .mini__dots i:nth-child(3) { animation-delay: .3s; }
.mini.is-live .mini__ans { animation: show 4s steps(1) infinite; }
@keyframes hide { 0% { display: inline-flex; } 40%, 100% { display: none; } }
@keyframes show { 0% { display: none; } 40%, 100% { display: inline; } }
.mini.is-live .mini__stack i { animation: fold 4.4s var(--ease) infinite; }
.mini.is-live .mini__stack i:nth-child(2) { animation-delay: .12s; } .mini.is-live .mini__stack i:nth-child(3) { animation-delay: .24s; } .mini.is-live .mini__stack i:nth-child(4) { animation-delay: .36s; }
.mini.is-live .mini__one { animation: rise 4.4s var(--ease) infinite; }
@keyframes fold { 0%, 30% { opacity: 1; transform: none; } 50%, 80% { opacity: .2; transform: translateY(6px) scale(.96); } 100% { opacity: 1; transform: none; } }
@keyframes rise { 0%, 35% { opacity: .2; } 50%, 85% { opacity: 1; } 100% { opacity: .2; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .mini__dots { display: none !important; }
}
/* a mock opened partway: what came before is simply there */
.is-jump [data-at], .is-jump [data-gone], .is-jump .slot, .is-jump .fu__dot, .is-jump .check__box { transition: none !important; }

/* ================================================================== edit mode (js/edit-mode.js: localhost only) */
.edit-pill { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
             display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px;
             background: var(--bg); color: var(--ink); font: 400 13px/1 var(--mono); cursor: pointer;
             transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.edit-pill:hover { border-color: var(--ink); }
.edit-pill__dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.edit-pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.edit-pill[aria-pressed="true"] .edit-pill__dot { background: currentColor; }
.edit-bar { position: fixed; inset: 0 0 auto 0; z-index: 95; display: flex; align-items: center; gap: 16px; height: var(--edit-bar); padding: 0 var(--gut);
            background: var(--ink); color: var(--bg); font: 400 13px/1 var(--mono); }
.edit-bar[hidden] { display: none; }
.edit-bar__msg { margin-right: auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.edit-bar__pending { color: #4a4a4a; white-space: nowrap; }
.edit-bar__btn { min-height: 32px; padding: 0 14px; border: 1px solid var(--bg); border-radius: 999px; background: var(--bg); color: var(--ink); font: 500 13px/1 var(--mono); cursor: pointer; white-space: nowrap; }
.edit-bar__btn--ghost { background: transparent; color: var(--bg); }
.edit-bar__btn:focus-visible { outline: 2px solid var(--bg); outline-offset: 2px; }
.edit-toast { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 56px); z-index: 90; max-width: min(520px, calc(100vw - 32px));
              padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--s2); color: var(--ink); font: 400 13px/20px var(--mono);
              opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.edit-toast.is-on { opacity: 1; transform: none; }
.edit-toast code { font: inherit; padding: 1px 6px; border-radius: 4px; background: var(--s3); border: 1px solid var(--line); }
:root { --edit-bar: 44px; }
html.has-edit-ui body { padding-bottom: 76px; } /* room for the pill under the last line */
html.is-editing .nav { top: var(--edit-bar); }
html.is-editing [data-edit-id] { outline: 1px dashed transparent; outline-offset: 3px; cursor: text; caret-color: currentColor; transition: outline-color 200ms var(--ease); }
html.is-editing [data-edit-id]:hover { outline-color: color-mix(in srgb, currentColor 55%, transparent); }
html.is-editing [data-edit-id]:focus, html.is-editing [data-edit-id]:focus-visible { outline: 1px dashed currentColor; outline-offset: 3px; }
html.is-editing [data-edit-id]:empty::before { content: "Empty"; color: var(--muted); }
@media (max-width: 640px) { .edit-bar__msg { font-size: 0; } .edit-bar__msg::before { content: "Editing"; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .edit-toast { transition: none; } }

/* ================================================================== the dive and the arrival (js/square.js, js/arrive.js) */
/* the dive: the words, the labels and the leaders go in the first 200ms; a veil closes the last of it */
html.sq-diving .hero__text, html.sq-diving .sq__links, html.sq-diving .sq__lines, html.sq-diving .sq__hint { opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.sq__veil { position: fixed; inset: 0; z-index: 300; width: 100%; height: 100%; background: var(--bg); opacity: 0; pointer-events: none; }
.sq__tunnel { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
html.sq-diving .sq__veil { pointer-events: auto; cursor: wait; }
/* the arrival: the page is covered before it paints, then resolves under the receding lattice */
html.is-arriving body::before { content: ""; position: fixed; inset: 0; z-index: 299; background: var(--bg); animation: arrive-safety 0s linear 1.6s forwards; }
html.is-arriving.arrive-go body::before { display: none; }
@keyframes arrive-safety { to { opacity: 0; visibility: hidden; } }
.arrive { position: fixed; inset: 0; z-index: 300; width: 100%; height: 100%; pointer-events: none; }
html.is-arriving .hero__crumb, html.is-arriving .hero--svc .hero__h, html.is-arriving .hero__side, html.is-arriving .hero--svc .tour { opacity: 0; transform: translateY(18px); }
html.arrive-go .hero__crumb, html.arrive-go .hero--svc .hero__h, html.arrive-go .hero__side, html.arrive-go .hero--svc .tour { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
html.arrive-go .hero__crumb { transition-delay: .12s; }
html.arrive-go .hero--svc .hero__h { transition-delay: .18s; }
html.arrive-go .hero__side { transition-delay: .28s; }
html.arrive-go .hero--svc .tour { transition-delay: .38s; }
/* browsers that cross-fade between pages on their own: a quiet one */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ================================================================== v5: the guided step-through (js/demos.js) */
/* one thing at a time: the piece, one lit area, one large caption, a step count. The resting state (no JS) is
   the piece at its end state with every caption listed under it. */
.chapter__wide { grid-column: 1 / -1; min-width: 0; }
.tour { margin-top: 72px; }
.hero--svc .tour { margin-top: 0; }
.tour .show { margin-top: 0; }
.tour .inbox, .tour .call, .tour .mail, .tour .site, .tour .audit { min-height: 0; }
.tour__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.tour__view { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
.tour__side { grid-column: 1 / -1; grid-row: 2; min-width: 0; margin-top: 40px; }
.tour__count, .tour__bar { display: none; }
.tour__steps { display: grid; gap: 28px; counter-reset: step; }
.tour__step { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline; }
.tour__step::before { content: counter(step); font: 400 14px/1 var(--mono); color: var(--muted); }
.tour__cap { font: 500 24px/1.32 var(--sans); letter-spacing: -0.014em; color: var(--ink); max-width: 30ch; text-wrap: pretty; }
.tour__foot { margin-top: 28px; }

/* pinned (wide screens): the stage sticks under the nav for one screen per step */
.tour.is-pinned { margin-top: 40px; }
.hero--svc .tour.is-pinned { margin-top: -24px; }
.tour.is-pinned .tour__track { position: relative; height: calc(100svh - var(--nav-h) + var(--steps) * 72svh); }
.tour.is-pinned .tour__stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); padding: 28px 0; align-items: start; }
/* a short piece (the system chart) sits in the middle of the stage; a tall mock starts at the top, its caption level with it */
.tour.is-pinned[data-tour="system"] .tour__stage { align-items: center; }
.tour.is-pinned .tour__view { align-self: start; }
.tour.is-pinned[data-tour="system"] .tour__view { align-self: center; }
.tour.is-pinned .tour__side { grid-column: 1 / 5; grid-row: 1; margin: 0; padding: 56px 32px 0 0; display: grid; gap: 28px; align-content: start; }
.tour.is-pinned[data-tour="system"] .tour__side { padding-top: 0; align-self: center; }
.tour.is-pinned .tour__view { grid-column: 5 / 13; grid-row: 1; position: relative; }
.tour.is-pinned .tour__view > figure { transform-origin: top left; }
.tour.is-pinned .tour__count { display: block; font: 400 14px/20px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.tour__now { color: var(--ink); }
.tour.is-pinned .tour__bar { display: flex; gap: 6px; max-width: 220px; }
.tour__bar i { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); transition: background-color var(--dur) var(--ease); }
.tour__bar i.is-on { background: var(--ink); }
.tour.is-pinned .tour__steps { display: grid; gap: 0; }
.tour.is-pinned .tour__step { grid-area: 1 / 1; display: block; opacity: 0; transform: translateY(18px); pointer-events: none;
                              transition: opacity 450ms var(--ease), transform 650ms var(--ease); }
.tour.is-pinned .tour__step.is-past { transform: translateY(-18px); }
.tour.is-pinned .tour__step.is-now { opacity: 1; transform: none; pointer-events: auto; transition-delay: 120ms; }
.tour.is-pinned .tour__step::before { display: none; }
.tour.is-pinned .tour__cap { font-size: clamp(24px, calc(0.9vw + 13px), 28px); line-height: 1.3; max-width: 22ch; }
html.is-editing .tour.is-pinned .tour__step:not(.is-now) { visibility: hidden; }
.tour.is-settling .tour__step, .tour.is-settling .tour__spot { transition: none !important; }
@media (max-width: 1180px) { .tour.is-pinned .tour__side { padding-right: 8px; } }

/* the spotlight: one area of the mock lit, the rest under a 70% veil (so it reads at about 30%) */
.tour__spot { position: absolute; left: 0; top: 0; z-index: 8; width: 0; height: 0; border-radius: 10px; pointer-events: none; opacity: 0;
              box-shadow: 0 0 0 1px rgb(255 255 255 / .8), 0 0 0 4000px rgb(10 10 10 / .7);
              transition: transform 700ms var(--ease), width 700ms var(--ease), height 700ms var(--ease), opacity 400ms var(--ease); }

/* stacked (phones, short screens, reduced motion): each step its own crop of the mock, its caption under it */
.tour.is-stacked { margin-top: 48px; }
.tour.is-stacked .tour__view:has(.mock) { display: none; }
.tour.is-stacked:has(.tour__crop) .tour__side { margin-top: 0; }
.tour.is-stacked .tour__steps { gap: 48px; }
.tour.is-stacked .tour__step:has(.tour__crop) { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
.tour.is-stacked .tour__step:has(.tour__crop)::before { display: none; }
.tour__crop { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); }
.tour__cropin.show__frame { position: absolute; left: 0; right: 0; top: 0; border: 0; border-radius: 0; overflow: hidden; }
.tour.is-stacked .tour__cap { font-size: 22px; line-height: 1.36; }
@media (max-width: 640px) { .tour { margin-top: 40px; } .tour__step { grid-template-columns: 36px minmax(0, 1fr); } }

/* ---------------------------------------------------------------- the system view (homepage, chapter 01) */
.show--system .show__frame--flow { padding: 56px 40px; }
.flow--story { grid-template-columns: 1.12fr 1fr 1.12fr; grid-template-rows: repeat(var(--rows), minmax(104px, auto)); column-gap: 64px; row-gap: 36px; }
.flow--story .fnode { padding: 18px 20px; gap: 14px; }
.flow--story .fnode__l { font-size: 17px; line-height: 23px; }
.flow--story .fnode__s { font-size: 15px; line-height: 21px; }
.flow--story .fnode--core { padding: 28px 24px; }
.flow--story .fnode--core .fnode__l { font-size: 22px; line-height: 28px; letter-spacing: -0.01em; }
.flow--story .fnode { transition: opacity 600ms var(--ease), border-color 500ms var(--ease), background-color 500ms var(--ease), color 500ms var(--ease); }
.tour.is-pinned .flow--story .fnode:not(.is-hit) { opacity: .3; }
.flow--story .fnode--done.is-hit { border-color: var(--ink); }
@media (max-width: 860px) {
  .show--system .show__frame--flow { padding: 24px 10px; }
  .flow--story { column-gap: 10px; row-gap: 44px; grid-template-rows: repeat(var(--prows), auto); }
  .flow--story .fnode { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 8px; }
  .flow--story .fnode[style*="--ps:3"] { justify-self: stretch; align-items: center; text-align: center; }
  .flow--story .fnode__l { font-size: 14px; line-height: 19px; hyphens: manual; }
  .flow--story .fnode__s { font-size: 13px; line-height: 18px; }
  .flow--story .fnode--core .fnode__l { font-size: 19px; }
}

/* ---------------------------------------------------------------- the stack audit's hand-work column */
.atable__yours { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px dashed var(--line-2); border-radius: 999px; font: 400 13px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.atable__h { font: 400 14px/20px var(--mono); color: var(--ink-2); }
@media (max-width: 860px) { .atable__h { grid-column: 1 / -1; } .atable__h::before { content: attr(data-l) ": "; font-family: var(--mono); color: var(--muted); } }

/* ================================================================== v5: the hand-off relay (change 6) */
/* read top to bottom: Veloran's steps on the left, the hand-off line across, your people's steps on the right */
.relay { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 96px; margin-top: 56px; }
.relay::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.relay__head { padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line-2); font: 400 14px/20px var(--mono); color: var(--ink); }
.relay__head--p { grid-column: 2; }
.relay__list { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.relay__step { grid-column: 1; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.relay__step--p { grid-column: 2; }
.relay__n { font: 400 14px/1 var(--mono); color: var(--muted); }
.relay__step p { font: 500 23px/1.3 var(--sans); letter-spacing: -0.014em; color: var(--ink); max-width: 26ch; text-wrap: pretty; }
.relay__hand { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: subgrid; align-items: center; padding: 28px 0 20px; }
.relay__line { grid-column: 1 / -1; grid-row: 1; position: relative; height: 1px; background: var(--ink); }
.relay__line::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); rotate: 45deg; translate: -2px -50%; }
.relay__label { grid-column: 1 / -1; grid-row: 1; justify-self: center; position: relative; padding: 6px 16px; background: var(--bg); border: 1px solid var(--ink); border-radius: 999px; font: 400 14px/20px var(--mono); color: var(--ink); }
.relay__card { grid-column: 2; grid-row: 2; margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s1); display: grid; gap: 6px; }
.relay__card-t { font: 500 16px/22px var(--sans); color: var(--ink); }
.relay__card-s { font: 400 16px/25px var(--sans); color: var(--ink-2); }
/* with JS: each step lights as it reaches the reading line; the rest wait in grey */
.relay.is-live .relay__list > li { transition: opacity 600ms var(--ease); }
.relay.is-live .relay__step p { transition: color 600ms var(--ease); }
.relay.is-live .relay__step:not(.is-on) p { color: #6e6e6e; }
.relay.is-live .relay__hand:not(.is-on) { opacity: .35; }
.relay.is-live .relay__hand .relay__line { transform-origin: left; transition: transform 900ms var(--ease); }
.relay.is-live .relay__hand:not(.is-on) .relay__line { transform: scaleX(.08); }
@media (max-width: 860px) {
  .relay { grid-template-columns: minmax(0, 1fr); column-gap: 0; margin-top: 48px; }
  .relay::before, .relay__head { display: none; }
  .relay__list { grid-template-columns: minmax(0, 1fr); }
  .relay__step, .relay__step--p { grid-column: 1; grid-template-columns: 36px minmax(0, 1fr); padding: 22px 0; }
  .relay__step--p { padding-left: 20px; border-left: 1px solid var(--ink); }
  .relay__step p { font-size: 21px; }
  .relay__hand { grid-template-columns: minmax(0, 1fr); padding: 28px 0; }
  .relay__label { justify-self: start; }
  .relay__card { grid-column: 1; }
}

/* ================================================================== v5: talk to the voice agent (calls.html; js/voice-demo.js) */
.voice__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); margin-top: 56px; }
.voice__call { display: grid; align-content: start; gap: 20px; padding: 32px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); }
.voice__btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg);
              font: 500 18px/1 var(--sans); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 200ms var(--ease); }
.voice__btn:hover { background: #fff; }
.voice__btn:active { transform: scale(.98); }
.voice__btn:disabled { opacity: .5; cursor: progress; }
.voice__btn[data-live] { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.voice__ic { width: 22px; height: 22px; }
.voice__status { display: flex; align-items: center; gap: 10px; font: 400 15px/22px var(--mono); color: var(--ink-2); }
.voice__status i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-2); }
.voice__status[data-state="live"] i { background: var(--ink); border-color: var(--ink); animation: blink 1.6s var(--ease) infinite; }
.voice__status[data-state="error"] { color: var(--ink); }
.voice__note { font: 400 16px/26px var(--sans); color: var(--muted); max-width: 40ch; }
.voice__log { display: flex; flex-direction: column; min-height: 340px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.voice__lines { display: grid; align-content: start; gap: 8px; padding: 20px 24px; max-height: 420px; overflow-y: auto; }
.voice__lines:empty { display: none; }
.voice__lines li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.voice__lines b { font: 400 13px/26px var(--mono); color: var(--muted); }
.voice__lines span { font: 400 17px/26px var(--sans); color: var(--ink-2); }
.voice__lines li.is-agent span { color: var(--ink); }
.voice__empty { margin: auto; padding: 24px; font: 400 16px/26px var(--sans); color: var(--muted); text-align: center; }
.voice__empty[hidden] { display: none; }
@media (max-width: 860px) { .voice__panel { grid-template-columns: 1fr; } .voice__call { padding: 24px; } .voice__lines li { grid-template-columns: 1fr; gap: 0; } }
.tour__note { font: 400 14px/22px var(--sans); color: var(--muted); max-width: 34ch; }
.tour.is-pinned .tour__note { margin-top: 8px; }
.tour:not(.is-pinned) .tour__note { margin-top: 28px; }

/* ================================================================== v6 (meeting of 2026-11-30) */
/* the industries menu: two items, so a narrower panel */
.menu--industries { width: 520px; }

/* the homepage line that rotates through the industries (js/site.js, [data-rot]); the cell keeps the height of the
   tallest word, so nothing under it moves. Without JS, or under reduced motion, the first word stays. */
.rot { display: grid; }
.rot__w { grid-area: 1 / 1; opacity: 0; transform: translateY(.25em); transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.rot__w.is-now { opacity: 1; transform: none; }
.rot__w.is-out { opacity: 0; transform: translateY(-.25em); }
.hero__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero__pick-l { width: 100%; margin-bottom: 2px; font: 400 14px/20px var(--mono); color: var(--muted); }
.pick { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 15px/1 var(--sans); color: var(--ink); background: rgb(10 10 10 / .5); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
a.pick:hover, a.pick:focus-visible { border-color: var(--ink); background: var(--s2); }
.pick.is-soon { color: var(--muted); border-style: dashed; }

/* the industry pages: a photograph behind the hero, black and white and darkened (media/verticals) */
.hero--photo { position: relative; isolation: isolate; min-height: min(92svh, 920px); display: flex; align-items: flex-end; padding-bottom: 72px; }
.hero--photo > .wrap { position: relative; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--s1); }
.hero__bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.74); transform: scale(1.06); animation: bg-in 1800ms var(--ease) both; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(10 10 10 / .7) 0, rgb(10 10 10 / .2) 30%, rgb(10 10 10 / .55) 62%, var(--bg) 100%),
              linear-gradient(90deg, rgb(10 10 10 / .62) 0, rgb(10 10 10 / 0) 70%); }
@keyframes bg-in { from { opacity: 0; transform: scale(1.12); } }
.hero--photo .hero__head { margin-bottom: 0; }
.hero--photo .hero__h { grid-column: 1 / 8; max-width: 15ch; }
.hero--photo .hero__lead { color: var(--ink); }
@media (max-width: 1080px) { .hero--photo .hero__h, .hero--photo .hero__side { grid-column: 1 / -1; } .hero--photo { min-height: 86svh; padding-bottom: 48px; } }

/* the industries on the homepage: one card each, its photograph behind */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 56px; }
.ind { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; gap: 10px; min-height: 440px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); transition: border-color var(--dur) var(--ease); }
.ind__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1) brightness(.5); transform: scale(1.02); transition: transform 1200ms var(--ease), filter var(--dur) var(--ease); }
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 10 10 / 0) 15%, rgb(10 10 10 / .94) 88%); }
a.ind:hover, a.ind:focus-visible { border-color: var(--line-2); }
a.ind:hover .ind__bg, a.ind:focus-visible .ind__bg { transform: scale(1.07); filter: grayscale(1) brightness(.64); }
.ind__n { font: 400 14px/20px var(--mono); color: var(--muted); }
.ind__name { font: 500 30px/1.15 var(--sans); letter-spacing: -0.02em; }
.ind__line { font: 400 17px/26px var(--sans); color: var(--ink-2); max-width: 30ch; }
.ind__go { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; background: rgb(10 10 10 / .4); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
a.ind:hover .ind__go { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ind--soon { border-style: dashed; background: transparent; }
.ind--soon::after { content: none; }
.ind--soon .ind__name { color: var(--muted); }
@media (max-width: 1080px) { .inds { grid-template-columns: 1fr; } .ind { min-height: 300px; } }

/* services rows that are not links (the dental page tells them in place) */
.svc__row--static:hover { background: none; padding-left: 4px; }

/* the five kinds of call, and the points about patients (dental.html) */
.kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--gap); margin-top: 56px; }
.kinds--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kind { display: grid; align-content: start; gap: 12px; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); }
.kind__n { font: 400 14px/20px var(--mono); color: var(--muted); }
.kind__t { font: 500 26px/1.2 var(--sans); letter-spacing: -0.015em; }
.kind__s { font: 400 17px/27px var(--sans); color: var(--ink-2); text-wrap: pretty; }
.kind__a { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-2); font: 400 16px/25px var(--sans); color: var(--ink); text-wrap: pretty; }
@media (max-width: 860px) { .kinds--2 { grid-template-columns: 1fr; } }

/* plain words: the questions' list, the term in mono */
.gloss dt { font: 500 20px/30px var(--mono); letter-spacing: 0; }

/* the figure that is a span of weeks */
.fig__n .fig__a:last-child { margin: 0 0 0 .12em; }

/* booking, one question at a time (js/book.js). Without JS every question shows at once. */
.book { display: grid; gap: 28px; margin-top: 56px; max-width: 780px; }
.book__head { display: none; align-items: center; gap: 20px; }
.js .book__head { display: flex; }
.book__count { font: 400 14px/20px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.book__bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; flex: 1; max-width: 320px; }
.book__bar i { height: 3px; border-radius: 2px; background: var(--line-2); transition: background-color var(--dur) var(--ease); }
.book__bar i.is-on { background: var(--ink); }
.book__step { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.js .book__step:not(.is-now) { display: none; }
.js .book__step.is-now { animation: step-in 500ms var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } }
.book__q { display: block; float: left; width: 100%; padding: 0; font: 500 clamp(26px, calc(1.6vw + 14px), 36px)/1.2 var(--sans); letter-spacing: -0.02em; text-wrap: balance; }
.book__q + * { clear: both; }
.book__hint { font: 400 16px/24px var(--sans); color: var(--muted); }
.book__in { width: 100%; min-height: 60px; padding: 14px 18px; background: var(--s1); border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); font: 400 20px/30px var(--sans); caret-color: var(--ink); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
textarea.book__in { min-height: 140px; resize: vertical; font-size: 18px; }
.book__in::placeholder { color: #6a6a6a; }
.book__in:hover { border-color: #4a4a4a; }
.book__in:focus { outline: none; border-color: var(--ink); background: var(--s2); }
.book__in:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.book__step.is-bad .book__in { border-color: var(--ink); border-style: dashed; }
.book__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.book__times { display: flex; flex-wrap: wrap; gap: 8px; }
.book__times[hidden] { display: none; }
.book__day, .book__time { position: relative; display: block; cursor: pointer; }
.book__day input, .book__time input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.book__day span, .book__time span { display: grid; place-items: center; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font: 500 16px/22px var(--sans); text-align: center; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.book__day span { min-height: 72px; gap: 2px; }
.book__day small { font: 400 13px/16px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; transition: color var(--dur) var(--ease); }
.book__time span { min-width: 92px; font-family: var(--mono); font-weight: 400; }
.book__day:hover span, .book__time:hover span { border-color: var(--ink); }
.book__day input:checked + span, .book__time input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.book__day input:checked + span small { color: #555; }
.book__day input:focus-visible + span, .book__time input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.js .book__fallback { display: none; }
.book__sum { padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--s1); font: 400 16px/26px var(--sans); color: var(--ink-2); }
.book__sum[hidden] { display: none; }
.book__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.book__nav [hidden] { display: none; }
html:not(.js) .book__nav [data-book-next], html:not(.js) .book__nav [data-book-back] { display: none; }
.book__cal { margin-left: 8px; font: 400 16px/24px var(--sans); color: var(--ink-2); }
@media (max-width: 640px) { .book__days { grid-template-columns: repeat(3, minmax(0, 1fr)); } .book__nav .btn { flex: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; transform: none; }
  .rot__w { transition: none; }
  .js .book__step.is-now { animation: none; }
  .ind__bg { transition: none; }
}
/* the rotating line needs the room: the words take six columns on the homepage, the network the rest */
@media (min-width: 1081px) { .hero--home .hero__text { grid-column: 1 / 7; } .hero--home .hero__zone { grid-column: 7 / 13; } .hero--home .hero__h > span[aria-hidden] { display: block; } }

/* ================================================================== v6, second round (2026-11-30) */
/* the industries menu now holds four, in the usual two columns */
.menu--industries { width: 640px; }
.menu__item--all .menu__n { font-size: 16px; }

/* a page with no photograph behind the hero (services.html) */
.hero--plain { padding-bottom: 24px; }
.hero--plain .hero__head { margin-bottom: 0; }

/* the "something else" box under the three industry cards: a stack of three sheets, the top one the link */
.other { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: 24px; row-gap: 8px; align-items: center; margin-top: calc(var(--gap) + 16px); padding: 32px 96px 32px 28px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--s1); transition: border-color var(--dur) var(--ease); }
.stack { position: relative; isolation: isolate; margin-top: calc(var(--gap) + 36px); }
.stack__l { position: absolute; left: 18px; right: 18px; top: -13px; bottom: 13px; border: 1px solid #4a4a4a; border-radius: var(--r); background: #121212; transition: transform var(--dur) var(--ease); }
.stack__l + .stack__l { left: 36px; right: 36px; top: -26px; bottom: 26px; border-color: #333; background: #0d0d0d; z-index: -1; }
.stack:hover .stack__l:first-child { transform: translateY(-3px); }
.stack:hover .stack__l + .stack__l { transform: translateY(-6px); }
.stack .other { margin-top: 0; z-index: 1; }
.other:hover, .other:focus-visible { border-color: var(--ink); }
.other__n { grid-row: 1 / 3; align-self: start; padding-top: 6px; font: 400 14px/20px var(--mono); color: var(--muted); }
.other__t { font: 500 30px/1.15 var(--sans); letter-spacing: -0.02em; }
.other__s { grid-column: 2; font: 400 17px/26px var(--sans); color: var(--ink-2); max-width: 48ch; }
.other__tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.other__tags span { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 13px/1 var(--mono); color: var(--ink-2); }
.other .ind__go { top: 50%; translate: 0 -50%; }
.other:hover .ind__go { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 640px) { .other { grid-template-columns: 1fr; padding: 28px 24px 88px; } .other__n, .other__s, .other__tags { grid-column: 1; grid-row: auto; } .other .ind__go { top: auto; bottom: 24px; left: 24px; translate: none; } }

/* a normal day: moments on a line, the time in mono */
.day { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.day__m { position: relative; display: grid; gap: 10px; align-content: start; }
.day__m::before { content: ""; position: absolute; top: -33px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--bg); }
.day__t { font: 500 15px/20px var(--mono); color: var(--ink); }
.day__s { font: 400 18px/28px var(--sans); color: var(--ink-2); text-wrap: pretty; }
.day__foot { margin-top: 40px; font: 500 22px/32px var(--sans); letter-spacing: -0.01em; max-width: 36ch; text-wrap: balance; }
@media (max-width: 860px) { .day { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); padding: 0 0 0 24px; gap: 28px; } .day__m::before { top: 6px; left: -29px; } }

/* the team's system: two options side by side, "or" between */
.opts { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 16px; margin-top: 56px; }
.opt { display: grid; align-content: start; gap: 12px; padding: 32px 28px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--s1); }
.opt--b { background: var(--s2); }
.opt__k { font: 400 14px/20px var(--mono); color: var(--muted); }
.opt__t { font: 500 28px/1.2 var(--sans); letter-spacing: -0.02em; }
.opt__s { font: 400 17px/28px var(--sans); color: var(--ink-2); text-wrap: pretty; }
.opts__or { align-self: center; font: 400 14px/1 var(--mono); color: var(--muted); }
@media (max-width: 860px) { .opts { grid-template-columns: 1fr; } .opts__or { justify-self: center; } }

/* what the client decides: a checklist */
.tune { margin-top: 56px; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r); }
.tune__h { font: 500 24px/1.25 var(--sans); letter-spacing: -0.015em; }
.tune__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin-top: 24px; }
.tune__i { display: flex; gap: 12px; align-items: start; font: 400 17px/26px var(--sans); color: var(--ink-2); }
.tune__i .ic { width: 18px; height: 18px; margin-top: 4px; color: var(--ink); }
.tune__note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 16px/26px var(--sans); color: var(--muted); }
.chapter__body > .opts + .tune { margin-top: 24px; }
@media (max-width: 640px) { .tune__list { grid-template-columns: 1fr; } }


/* ================================================================== v6, round 3 (2026-11-30) */
/* details and definitions: one closed panel under every hero */
.defs { padding-top: 32px; }
.defs__box { border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); }
.defs__box > summary { display: flex; align-items: center; gap: 16px; padding: 18px 24px; cursor: pointer; list-style: none; }
.defs__box > summary::-webkit-details-marker { display: none; }
.defs__t { font: 500 16px/24px var(--sans); }
.defs__s { font: 400 14px/20px var(--mono); color: var(--muted); }
.defs__chev { width: 14px; height: 14px; margin-left: auto; transition: transform var(--dur) var(--ease); }
.defs__box[open] .defs__chev { transform: rotate(180deg); }
.defs__box > summary:hover .defs__t { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.defs__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px 32px; padding: 8px 24px 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.defs__i dt { font: 500 15px/22px var(--mono); }
.defs__i dd { margin-top: 4px; font: 400 15px/24px var(--sans); color: var(--ink-2); }
.hero--home + .defs { padding-top: 0; }
@media (max-width: 640px) { .defs__s { display: none; } }

/* the fact line is gone: the buttons sit under the lead */
.hero__side .btns, .hero__text .btns { margin-top: 4px; }

/* a figure that is words, not a number */
.fig--words .fig__n { font-size: clamp(36px, 4vw, 56px); }

/* what it handles: four tiles that jump to their scenario */
.hand { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 48px; }
.hand__i { display: grid; gap: 8px; align-content: start; height: 100%; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--s1); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.hand__i:hover, .hand__i:focus-visible { border-color: var(--ink); background: var(--s2); }
.hand__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.hand__n { font: 400 13px/18px var(--mono); color: var(--muted); }
.hand__name { font: 500 22px/1.2 var(--sans); letter-spacing: -0.01em; }
.hand__line { font: 400 15px/22px var(--sans); color: var(--ink-2); }
@media (max-width: 1080px) { .hand { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* and the slim bar of the same four, under the nav while the scenarios are on screen (js/jump.js) */
.jump { position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 45; background: rgb(10 10 10 / .94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.jump.is-on { opacity: 1; transform: none; pointer-events: auto; }
.jump[hidden] { display: none; }
.jump__in { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.jump__a { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink-2); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.jump__a:hover { border-color: var(--ink); color: var(--ink); }
.jump__a.is-now { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.jump__n { font: 400 12px/1 var(--mono); opacity: .7; }

/* the scenarios: a short conversation and its stages on the left, a structured record on the right */
.cv { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; padding: 20px; }
.cv__call { display: grid; gap: 16px; align-content: start; }
.cv__caller { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--s2); }
.cv__caller .swap { margin-left: auto; }
.cv__ring { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.cv__ring .ic { width: 18px; height: 18px; }
.wave--sm { height: 40px; }
.cv__talk { display: grid; gap: 10px; }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 14px; font: 400 16px/24px var(--sans); }
.bub--in { justify-self: start; background: var(--s3); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.bub--out { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.stage { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border: 1px solid var(--line-2); border-radius: 10px; font: 500 13px/1 var(--mono); color: var(--ink); text-align: center; }
.stage .ic { width: 18px; height: 18px; }
.is-playing .stage[data-at]:not(.is-in) { opacity: .3; transform: none; }
.is-playing .stage[data-at].is-in { background: var(--s2); border-color: var(--ink); }
/* the record (the "CRM display"): header, status, labelled rows */
.prec { display: grid; align-content: start; border: 1px solid var(--line-2); border-radius: 12px; background: var(--s1); overflow: hidden; }
.prec__head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); background: var(--s2); }
.prec__who { display: grid; gap: 2px; min-width: 0; }
.prec__name { font: 500 17px/22px var(--sans); }
.prec__sub { font: 400 13px/18px var(--mono); color: var(--muted); }
.prec__head .pill { margin-left: auto; }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 12px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.pill--on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.prec__grid { display: grid; grid-template-columns: 1fr 1fr; }
.prec__row { display: grid; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prec__row:nth-child(odd):not(.prec__row--wide) { border-right: 1px solid var(--line); }
.prec__row--wide { grid-column: 1 / -1; }
.prec__row dt { font: 400 12px/16px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.prec__row dd { font: 500 15px/22px var(--sans); color: var(--ink); }
.prec__foot { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font: 500 14px/20px var(--sans); }
.prec__foot .ic { width: 18px; height: 18px; }
/* the email */
.em { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--s2); }
.em--out { background: var(--s1); border-color: var(--ink); }
.em__meta { display: flex; align-items: center; gap: 10px; font: 400 14px/20px var(--sans); color: var(--ink-2); }
.em__meta b { color: var(--ink); font-weight: 500; }
.em__subj { font: 500 16px/24px var(--sans); }
.em__body { font: 400 16px/24px var(--sans); color: var(--ink-2); }
.slots2 { display: grid; gap: 8px; padding: 16px; }
.slot2 { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; font: 500 15px/20px var(--sans); }
.slot2 span:first-child { font-family: var(--mono); font-weight: 400; }
.slot2__tag { font: 500 12px/1 var(--mono); padding: 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.slot2--new { border-color: var(--ink); }
.slot2--new .slot2__tag { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slot2--old.is-marked, .slot2--old:not([data-mark]) { opacity: .45; text-decoration: line-through; text-decoration-color: var(--muted); }
.is-playing .slot2--old[data-mark]:not(.is-marked) { opacity: 1; text-decoration: none; }
@media (max-width: 860px) { .cv { grid-template-columns: 1fr; padding: 14px; } .bub { max-width: 92%; } }

/* the patient record, static: details on the left, today's timeline on the right */
.pr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--gap); margin-top: 48px; }
.pr__main { padding: 20px 24px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--s1); }
.pr__h { font: 400 13px/18px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tl { position: relative; display: grid; gap: 18px; margin-top: 18px; }
.tl::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.tl__i { position: relative; display: grid; grid-template-columns: 36px auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; }
.tl__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--s3); border: 1px solid var(--line-2); }
.tl__ic .ic { width: 16px; height: 16px; }
.tl__k { font: 500 15px/20px var(--sans); }
.tl__t { font: 400 13px/18px var(--mono); color: var(--muted); }
.tl__s { grid-column: 2 / -1; font: 400 15px/22px var(--sans); color: var(--ink-2); }
@media (max-width: 860px) { .pr { grid-template-columns: 1fr; } }

/* the team's day: what goes, what the time is for */
.swap2 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; margin-top: 48px; }
.swap2__col { padding: 24px 28px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--s1); }
.swap2__col--b { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.swap2__h { font: 400 13px/18px var(--mono); text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.swap2__col ul { display: grid; gap: 12px; margin-top: 16px; }
.swap2__col li { font: 500 17px/26px var(--sans); }
.swap2__col:not(.swap2__col--b) li { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--line-2); }
.swap2__arrow { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; }
.lede { margin-top: 32px; max-width: 62ch; font: 400 18px/30px var(--sans); color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 860px) { .swap2 { grid-template-columns: 1fr; } .swap2__arrow { justify-self: center; transform: rotate(90deg); } }

/* one place: two sample screens, then what comes with it */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 48px; }
.shots__i { display: grid; gap: 20px; align-content: start; }
.shots__i figcaption { display: grid; gap: 8px; }
.shots__note { margin-top: 16px; font: 400 14px/20px var(--mono); color: var(--muted); }
.shot { overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: #0f0f0f; box-shadow: 0 24px 60px -30px rgb(0 0 0 / .9); font-family: var(--sans); }
.shot__bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--s2); font: 400 12px/1 var(--mono); color: var(--muted); }
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 9px; height: 9px; border-radius: 50%; background: #333; }
/* Teams-like */
.tm { display: grid; grid-template-columns: 44px 128px minmax(0, 1fr); min-height: 330px; }
.tm__rail { display: grid; align-content: start; justify-items: center; gap: 14px; padding: 14px 0; background: #141414; border-right: 1px solid var(--line); }
.tm__rail i { width: 20px; height: 20px; border-radius: 6px; background: #2a2a2a; }
.tm__rail i.is-on { background: var(--ink-2); }
.tm__list { padding: 14px 10px; border-right: 1px solid var(--line); background: #121212; }
.tm__team { font: 500 12px/16px var(--sans); color: var(--muted); margin-bottom: 10px; }
.tm__ch { padding: 6px 8px; border-radius: 6px; font: 400 13px/18px var(--sans); color: var(--ink-2); }
.tm__ch.is-on { background: var(--s3); color: var(--ink); font-weight: 500; }
.tm__main { display: grid; align-content: start; gap: 12px; padding: 14px 16px; }
.tm__h { font: 500 14px/20px var(--sans); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.tm__post { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.tm__by { display: flex; gap: 8px; align-items: baseline; font: 400 12px/16px var(--sans); color: var(--muted); }
.tm__by b { color: var(--ink); font-weight: 500; font-size: 13px; }
.tm__card { margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line-2); border-left: 3px solid var(--ink); border-radius: 8px; background: var(--s1); }
.tm__tag { font: 500 11px/14px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tm__title { margin-top: 4px; font: 500 14px/20px var(--sans); }
.tm__line { font: 400 13px/18px var(--sans); color: var(--ink-2); }
.tm__btn { display: inline-block; margin-top: 8px; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 6px; font: 500 12px/1 var(--sans); }
/* our system */
.vsys { display: grid; grid-template-columns: 110px minmax(0, 1fr); min-height: 330px; }
.vsys__nav { display: grid; align-content: start; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--line); background: #121212; }
.vsys__nav p { padding: 7px 10px; border-radius: 6px; font: 400 13px/18px var(--sans); color: var(--ink-2); }
.vsys__nav p.is-on { background: var(--ink); color: var(--bg); font-weight: 500; }
.vsys__main { display: grid; align-content: start; gap: 14px; padding: 14px 16px; }
.vsys__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vsys__kpis p { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; }
.vsys__kpis b { font: 500 22px/1.1 var(--sans); }
.vsys__kpis span { font: 400 11px/14px var(--mono); color: var(--muted); }
.vsys__t { width: 100%; border-collapse: collapse; font: 400 13px/18px var(--sans); }
.vsys__t td { padding: 9px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vsys__t td:first-child { font-family: var(--mono); color: var(--muted); }
.vs { font: 400 12px/16px var(--sans); color: var(--ink-2); }
.vs--warn { color: var(--ink); font-weight: 500; }
.vs--warn::before { content: "● "; font-size: 9px; vertical-align: 1px; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.feat { display: grid; gap: 6px; align-content: start; }
.feat .ic { width: 22px; height: 22px; margin-bottom: 6px; }
.feat__t { font: 500 17px/24px var(--sans); }
.feat__s { font: 400 15px/23px var(--sans); color: var(--ink-2); }
@media (max-width: 1080px) { .shots { grid-template-columns: 1fr; } .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } .tm { grid-template-columns: 0 110px minmax(0, 1fr); } .tm__rail { display: none; } .vsys { grid-template-columns: 1fr; } .vsys__nav { display: none; } .vsys__t td:nth-child(3) { display: none; } }

/* the sector page: a short hero over the choice */
.hero--sector { padding-bottom: 8px; }
.wave--sm { padding: 0; border: 0; }
.wave--sm .wave__bars { height: 40px; }
.mock--cv.is-done .wave__bars i { animation: none; }
/* the dental page's slim bar sits under the nav: the pinned scenarios start below it */
html:has(.jump) .tour.is-pinned .tour__stage { top: calc(var(--nav-h) + 56px); height: calc(100svh - var(--nav-h) - 56px); }
html:has(.jump) .tour.is-pinned .tour__track { height: calc(100svh - var(--nav-h) - 56px + var(--steps) * 72svh); }
/* phones: the scenarios stay inside the screen, and the Teams sample drops its side columns */
@media (max-width: 860px) { .cv { grid-template-columns: minmax(0, 1fr); } .cv__caller { flex-wrap: wrap; } .cv__caller .swap { margin-left: 52px; } .prec__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .tm { grid-template-columns: minmax(0, 1fr); } .tm__list { display: none; } }

/* landing pages: a centred column, no side rail (index.html, sector.html, definitions.html) */
.chapter--center .rail { display: none; }
.chapter--center .chapter__body { grid-column: 1 / -1; width: 100%; max-width: 1120px; margin: 0 auto; }
.chapter--center .statement { margin: 0 auto; max-width: 24ch; text-align: center; }
.chapter--center .book { margin-left: auto; margin-right: auto; }
.chapter--center .book__head { justify-content: center; }
.chapter--center .book__q, .chapter--center .book__hint { text-align: center; }
.chapter--center .book__nav { justify-content: center; }
.chapter--center .book__days { margin: 0 auto; width: 100%; }
.chapter--center .book__times { justify-content: center; }
.chapter--center .form__status { text-align: center; }
.chapter--center .gloss { margin-top: 40px; }
.chapter--center .gloss__h { margin-top: 56px; font: 400 14px/20px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
/* the one way to the definitions: a quiet button in the nav */
.nav__defs { display: inline-flex; align-items: center; gap: 8px; }
.nav__defs .q { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font: 500 11px/1 var(--mono); }
@media (max-width: 1180px) { .nav__defs span:not(.q) { display: none; } .nav__defs { padding: 0 13px; } }
@media (max-width: 1080px) { .nav__defs { display: none; } }

/* ================================================================== round 5 (2026-11-30): the slider, the inbox, one place */
/* the tabs: the "what do you want to learn more about" tiles, now buttons over the slider */
.slider { margin-top: 8px; }
.hand { margin-top: 40px; }
button.hand__i { width: 100%; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.hand__i[aria-selected="true"] { border-color: var(--ink); background: var(--s2); }
.hand__i[aria-selected="true"] .hand__ic { box-shadow: 0 0 0 4px rgb(255 255 255 / .12); }
/* the track: one slide in view, the next one peeking, snapping */
.slider__track { display: flex; gap: var(--gap); margin-top: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 90%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); transition: opacity var(--dur) var(--ease); }
.slider.is-js .slide:not(.is-now) { opacity: .45; }
.slide__text { display: grid; gap: 14px; align-content: start; padding-top: 4px; }
.slide__n { font: 400 13px/18px var(--mono); color: var(--muted); }
.slide__h { font: 500 30px/1.15 var(--sans); letter-spacing: -0.02em; }
.slide__lead { font: 400 18px/28px var(--sans); color: var(--ink-2); text-wrap: pretty; }
.slide__pts { display: grid; gap: 10px; margin-top: 4px; }
.slide__pts li { display: flex; gap: 10px; align-items: start; font: 400 16px/24px var(--sans); color: var(--ink-2); }
.slide__pts .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--ink); }
.slide__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.slide__more { justify-self: start; margin-top: 6px; font: 500 15px/22px var(--sans); }
.slide__show { min-width: 0; }
.show--slide .show__frame { box-shadow: 0 30px 60px -40px rgb(0 0 0 / .9); }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.slider__arr { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.slider__arr:hover { border-color: var(--ink); }
.slider__arr:disabled { opacity: .3; cursor: default; }
.slider__arr[data-prev] .arr { transform: rotate(180deg); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--line-2); cursor: pointer; transition: background-color var(--dur) var(--ease); }
.slider__dots button.is-on { background: var(--ink); }
html:not(.js) .slider__nav { display: none; }
@media (max-width: 1180px) { .slide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .slide { flex-basis: 94%; padding: 18px; gap: 20px; } .slide__h { font-size: 26px; } }
/* the record inside a slide */
.mock--rec { padding: 16px; }
.mock--rec .pr { margin-top: 0; }

/* the email, laid out like the Gmail app (light) */
.mock--gm { background: #f6f8fc; color: #1f1f1f; font: 400 14px/20px var(--sans); }
.gm__top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; }
.gm__top .replay { margin-left: 4px; color: #1f1f1f; border-color: #c4c7c5; background: #fff; }
.gm__burger { display: grid; gap: 3px; width: 18px; }
.gm__burger i { height: 2px; border-radius: 1px; background: #444746; }
.gm__brand { display: inline-flex; align-items: center; gap: 6px; font: 400 18px/1 var(--sans); color: #444746; }
.gm__brand .ic { width: 20px; height: 20px; color: #c5221f; }
.gm__search { flex: 1; display: flex; align-items: center; gap: 10px; max-width: 520px; height: 40px; padding: 0 16px; border-radius: 999px; background: #e9eef6; color: #444746; }
.gm__search .ic { width: 16px; height: 16px; }
.gm__me { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; background: #0b57d0; color: #fff; font: 500 12px/1 var(--sans); }
.gm__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.gm__nav { display: grid; align-content: start; gap: 2px; padding: 4px 8px 16px; }
.gm__compose { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin: 4px 0 12px; padding: 14px 18px; border-radius: 16px; background: #c2e7ff; color: #001d35; font: 500 14px/1 var(--sans); }
.gm__compose .ic { width: 16px; height: 16px; }
.gm__nav p { display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 0 999px 999px 0; color: #1f1f1f; font: 400 14px/20px var(--sans); }
.gm__nav p .ic { width: 16px; height: 16px; color: #444746; }
.gm__nav p.is-on { background: #d3e3fd; font-weight: 600; }
.gm__nav p b { margin-left: auto; font-weight: 600; }
.gm__main { margin: 0 12px 12px 0; border-radius: 16px; background: #fff; overflow: hidden; }
.gm__list { border-bottom: 1px solid #e3e3e3; }
.gm__row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid #f1f1f1; color: #5e5e5e; font-size: 13px; }
.gm__row:last-child { border-bottom: 0; }
.gm__row--new { color: #1f1f1f; font-weight: 600; background: #f2f6fc; }
.gm__row--new .gm__line span { font-weight: 400; color: #5e5e5e; }
.gm__from, .gm__line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm__time { font-size: 12px; }
.gm__thread { display: grid; gap: 14px; padding: 16px 18px 20px; }
.gm__subj { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 20px/28px var(--sans); color: #1f1f1f; }
.gm__label { padding: 2px 8px; border-radius: 4px; background: #e9eef6; font: 400 12px/18px var(--sans); color: #444746; }
.gm__label--v { background: #1f1f1f; color: #fff; }
.gm__msg { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.gm__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #7cacf8; color: #fff; font: 500 13px/1 var(--sans); }
.gm__av--me { background: #1f1f1f; }
.gm__who { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #1f1f1f; }
.gm__by { padding: 1px 7px; border: 1px solid #c4c7c5; border-radius: 999px; font: 400 11px/16px var(--sans); color: #444746; }
.gm__text { margin-top: 2px; font-size: 14px; line-height: 21px; color: #1f1f1f; }
.gm__msg--me .gm__text { padding: 10px 12px; border-radius: 10px; background: #f2f6fc; }
@media (max-width: 860px) { .gm__body { grid-template-columns: minmax(0, 1fr); } .gm__nav { display: none; } .gm__main { margin: 0 8px 8px; } .gm__row { grid-template-columns: 90px minmax(0, 1fr) auto; } .gm__brand span { display: none; } }

/* the chat on an industry's own page (chatSite): a page header block in place of the floor plan */
.plan--page { display: grid; place-items: center; align-content: center; gap: 8px; }
.plan__big { font: 500 28px/1.1 var(--sans); letter-spacing: -0.02em; color: var(--ink); }

/* one place: the tools a team uses on the left, Veloran on the right */
.hub { display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 48px; }
.hub__side { display: grid; gap: 20px; align-content: start; }
.hub__k { font: 500 17px/24px var(--sans); color: var(--ink-2); }
.hub__apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hub__app { display: grid; justify-items: center; gap: 10px; padding: 18px 8px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); text-align: center; }
.hub__icon { width: 32px; height: 32px; background: var(--ink); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.hub__name { font: 400 13px/16px var(--sans); color: var(--ink-2); }
.hub__link { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.hub__link span { width: 28px; height: 1px; background: var(--line-2); }
.hub__link .arr { width: 22px; height: 22px; }
.hub__core { display: grid; justify-items: center; gap: 14px; padding: 36px 24px; border: 1px solid var(--ink); border-radius: 20px; background: radial-gradient(120% 120% at 50% 0%, rgb(255 255 255 / .08), transparent 60%), var(--s1); text-align: center; }
.hub__appicon { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 26px; background: #000; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px rgb(255 255 255 / .06), 0 24px 50px -20px rgb(0 0 0 / .9); }
.hub__appicon img { width: 76px; height: 76px; }
.hub__vname { font: 500 26px/1.1 var(--sans); letter-spacing: -0.02em; }
.hub__vsub { max-width: 30ch; font: 400 15px/23px var(--sans); color: var(--ink-2); }
@media (max-width: 1080px) { .hub { grid-template-columns: minmax(0, 1fr); } .hub__link { justify-content: center; transform: rotate(90deg); } }
@media (max-width: 640px) { .hub__apps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.slider__track { align-items: flex-start; }
/* phones: the tabs become one row of pills over the slider */
@media (max-width: 640px) {
  .slider .hand { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 28px; }
  .slider .hand::-webkit-scrollbar { display: none; }
  .slider .hand__i { flex: none; width: auto; height: auto; display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; }
  .slider .hand__ic, .slider .hand__n, .slider .hand__line { display: none; }
  .slider .hand__name { font-size: 15px; line-height: 20px; white-space: nowrap; }
  .slider .hand__i[aria-selected="true"] { background: var(--ink); color: var(--bg); }
}

/* ================================================================== round 6: smaller tabs, shorter slides, a walkthrough */
.slider .hand { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.slider .hand__i { flex: 1 1 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; align-items: center; height: auto; padding: 12px 16px; border-radius: 12px; }
.slider .hand__ic { grid-row: 1 / 3; width: 34px; height: 34px; margin: 0; }
.slider .hand__ic .ic { width: 16px; height: 16px; }
.slider .hand__n { display: none; }
.slider .hand__name { font: 500 16px/22px var(--sans); }
.slider .hand__line { font: 400 13px/18px var(--sans); color: var(--muted); }
.slider__track { margin-top: 20px; }
.slide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; padding: 24px; align-items: center; }
.slide__text { gap: 10px; }
.slide__h { font-size: 26px; }
.slide__lead { font-size: 16px; line-height: 25px; }
.slide__show { overflow: hidden; }
.slide__show figure { transform-origin: 0 0; }
.slide__chips { margin-top: 2px; }
/* the walkthrough: one caption at a time */
.walk { display: grid; gap: 12px; margin-top: 6px; padding: 18px 18px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); }
.walk__count { font: 400 13px/18px var(--mono); color: var(--muted); }
.walk__steps { display: grid; }
.walk__step p { font: 500 19px/28px var(--sans); letter-spacing: -0.01em; text-wrap: pretty; }
.slider.is-js .walk__step { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); pointer-events: none; }
.slider.is-js .walk__step.is-now { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .walk__step + .walk__step { margin-top: 10px; }
.walk__bar { display: flex; gap: 6px; }
.walk__bar i { flex: 1; height: 3px; border-radius: 2px; background: var(--line-2); transition: background-color var(--dur) var(--ease); }
.walk__bar i.is-on { background: var(--ink); }
.walk__btns { display: flex; gap: 8px; margin-top: 2px; }
.walk__btns .btn:disabled { opacity: .35; cursor: default; }
html:not(.js) .walk__btns, html:not(.js) .walk__bar, html:not(.js) .walk__count { display: none; }
@media (max-width: 1180px) { .slide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .slider .hand { flex-wrap: nowrap; }
  .slider .hand__i { flex: none; display: inline-flex; padding: 10px 16px; border-radius: 999px; }
  .slider .hand__ic, .slider .hand__line { display: none; }
  .slide { padding: 16px; gap: 16px; }
  .walk__step p { font-size: 17px; line-height: 26px; }
}

/* the website chat (round 6): a light web page, the chat window over it */
.mock--ws { background: #fff; color: #1f1f1f; }
.mock--ws .mock__bar { background: #f1f3f4; border-bottom: 1px solid #e3e3e3; color: #444746; }
.mock--ws .url { background: #fff; border-color: #dadce0; color: #444746; }
.mock--ws .replay { color: #1f1f1f; border-color: #c4c7c5; background: #fff; }
.ws { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 24px; padding: 20px 20px 22px 24px; background: #fafafa; }
.ws__page { display: grid; align-content: start; gap: 8px; color: #1f1f1f; }
.ws__nav { display: flex; align-items: center; gap: 16px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid #ececec; font: 400 13px/18px var(--sans); color: #5f6368; }
.ws__nav b { margin-right: auto; font: 600 15px/18px var(--sans); color: #1f1f1f; letter-spacing: -0.01em; }
.ws__img { height: 110px; border-radius: 10px; background: linear-gradient(135deg, #e8eaed, #f6f7f8 55%, #e3e5e8); margin-bottom: 6px; }
.ws__kicker { font: 500 12px/16px var(--mono); color: #5f6368; text-transform: uppercase; letter-spacing: .05em; }
.ws__h { font: 600 24px/1.2 var(--sans); letter-spacing: -0.02em; }
.ws__p { font: 400 14px/21px var(--sans); color: #444746; max-width: 38ch; }
.ws__price { font: 600 15px/22px var(--sans); }
.ws__facts { display: flex; flex-wrap: wrap; gap: 6px; }
.ws__facts li { padding: 4px 10px; border: 1px solid #dadce0; border-radius: 999px; font: 400 12px/16px var(--sans); color: #444746; }
.ws__chat { display: grid; grid-template-rows: auto 1fr auto; align-self: start; border: 1px solid #e3e3e3; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .35); overflow: hidden; }
.ws__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1f1f1f; color: #fff; }
.ws__av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #1f1f1f; }
.ws__av .ring { width: 16px; height: 16px; }
.ws__who { display: grid; gap: 1px; font: 400 12px/16px var(--sans); color: #c4c7c5; }
.ws__who b { font: 600 14px/18px var(--sans); color: #fff; }
.ws__who i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #34a853; vertical-align: 1px; }
.ws__msgs { display: grid; align-content: start; gap: 8px; padding: 14px; min-height: 200px; }
.ws__b { max-width: 86%; padding: 9px 12px; border-radius: 14px; font: 400 13.5px/20px var(--sans); }
.ws__b--in { justify-self: end; background: #1f1f1f; color: #fff; border-bottom-right-radius: 4px; }
.ws__b--out { justify-self: start; background: #f1f3f4; color: #1f1f1f; border-bottom-left-radius: 4px; }
.ws__ev { display: flex; align-items: center; gap: 6px; justify-self: center; margin-top: 4px; padding: 5px 10px; border-radius: 999px; background: #e6f4ea; color: #137333; font: 500 12px/16px var(--sans); }
.ws__ev .ic { width: 14px; height: 14px; }
.ws__input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 10px 12px; border: 1px solid #dadce0; border-radius: 999px; font: 400 13px/18px var(--sans); color: #80868b; }
.ws__input .ic { width: 16px; height: 16px; color: #1f1f1f; }
@media (max-width: 860px) { .ws { grid-template-columns: minmax(0, 1fr); padding: 14px; } .ws__page { display: none; } }
.slide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
@media (max-width: 1180px) { .slide { grid-template-columns: minmax(0, 1fr); } }
/* the caption that is leaving goes at once, so two never overlap */
.slider.is-js .walk__step:not(.is-now) { visibility: hidden; transition: none; }
/* round 7: inside the slider the animations are as tall as their content, nothing pushed to the bottom */
.slide .inbox, .slide .call, .slide .mail, .slide .site, .slide .audit { min-height: 0; }
.slide .call__side { justify-content: flex-start; }
.slide .call__side .note-card { margin: 14px 16px 16px; }
.slide .wave { padding: 16px 20px 12px; }
.slide .wave__bars { height: 56px; }
.slide .transcript { padding-bottom: 16px; }
.slide__show figure, .slide__show .show { margin: 0; }

/* Round 8: the Google booking page (CALENDAR in tools/shell.mjs). It shows first; the email form waits behind "Send us a request instead". */
.cal { display: grid; gap: 20px; margin-top: 56px; max-width: 780px; }
.cal__frame { overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
.cal__frame iframe { display: block; width: 100%; height: 700px; border: 0; }
.cal__note, .cal__alt { font: 400 16px/24px var(--sans); color: var(--ink-2); }
.cal__alt button.link { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.book--alt { margin-top: 8px; }
.js .book--alt:not(.is-open) { display: none; }
.chapter--center .cal { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 640px) { .cal__frame iframe { height: 780px; } }
