/* The shell's blocks. Every value comes from tokens.css. Class names carry the k- prefix. */

/* the mark's own typeface, self-hosted (W12): Inter 4.1 from its official release, SIL Open Font License 1.1
   (fonts/LICENSE-Inter.txt). Only the mark uses it; everything else is the system font. */
@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--k-nav-h); }
/* nothing snaps up and down the page (13 Nov). The worked example's snap went first: it pulled the page onto it as
   you arrived, and a snap back from the page's end set off its scroll-up jump. The opening's went in batch 13: slow
   mouse-wheel scrolling was pulled back to it a notch at a time. The carousels still snap sideways, in their tracks. */
body {
  margin: 0; font-family: var(--k-font); font-size: var(--k-body); line-height: var(--k-body-lh);
  letter-spacing: var(--k-body-ls); font-weight: var(--k-weight-body);
  background: var(--m-base); color: var(--m-ink);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
html { font-size: var(--k-body); }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6, b, strong, dt, summary { font-weight: var(--k-weight-head); }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: var(--k-rule) solid var(--k-accent); outline-offset: 3px; border-radius: var(--k-radius-sm); }
.k-visually-hidden { position: absolute !important; width: var(--k-hair); height: var(--k-hair); overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.k-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: var(--k-space-2) var(--k-space-4); border-radius: var(--k-radius-pill); background: var(--k-accent); color: var(--k-accent-ink); text-decoration: none; }
.k-skip:focus { top: 8px; }

/* One look, day and night (D5, X8; the study page looks the same at 2 pm and 11:30 pm, dark mode on or off): the page's
   colours (--m-*) are the black Story set; a practical section (data-day="white", set by build.mjs), the cards that open
   and the footer take the white set. Each section paints its own solid background, and a section's theme maps the
   page's colours onto its own (--k-*). The cover, the typed step and the violet statement keep the brand's night. */
html { --m-base: var(--k-black); --m-ink: var(--k-ink-dark); --m-ink-2: var(--k-ink-2-dark); --m-line: var(--k-line-dark); --m-card: var(--k-black); --m-raise: var(--k-raise-dark); --m-link: var(--k-link-dark); --m-well: var(--k-well-dark); --m-nav: var(--k-nav-bg); --m-nav-solid: var(--k-nav-bg-solid); --m-nav-line: var(--k-nav-line); --m-mark-slash: var(--k-link-dark); color-scheme: dark; }
[data-day="white"], .k-dialog, .k-footer { --m-base: var(--k-white); --m-ink: var(--k-ink-light); --m-ink-2: var(--k-ink-2-light); --m-line: var(--k-line-light); --m-card: var(--k-white); --m-raise: var(--k-raise-light); --m-link: var(--k-accent); --m-well: var(--k-well-light); color-scheme: light; }
.k-footer { --m-base: var(--k-grey); }
[data-theme="dark"], [data-theme="light"], [data-theme="alt"], [data-theme="violet"] { --k-bg: var(--m-base); --k-ink: var(--m-ink); --k-ink-2: var(--m-ink-2); --k-line: var(--m-line); --k-card: var(--m-card); --k-raise: var(--m-raise); --k-link: var(--m-link); }
[data-theme="violet"] { --k-line: var(--k-lavender-line); }
.k-section { position: relative; color: var(--k-ink); background: var(--m-base); padding: var(--k-sec-top) 0 var(--k-sec-bottom); }
/* batch 17 (14 Nov): a merged section's old address, at its top, so the old link lands where the section does */
.k-alias { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }
.k-wrap { width: min(100% - 2 * var(--k-gutter), var(--k-text-width)); margin-inline: auto; }
.k-wrap-wide { width: min(100% - 2 * var(--k-gutter), var(--k-wide-width)); margin-inline: auto; }

/* type roles */
.k-eyebrow { font-size: var(--k-intro); font-weight: var(--k-weight-head); line-height: var(--k-title-lh); color: var(--k-ink-2); margin-bottom: var(--k-space-3); }
.k-h1 { font-size: var(--k-display); line-height: var(--k-display-lh); letter-spacing: var(--k-display-ls); font-weight: var(--k-weight-head); }
.k-h2 { font-size: var(--k-headline); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); font-weight: var(--k-weight-head); }
.k-chapter-h { font-size: var(--k-headline); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); font-weight: var(--k-weight-head); }
/* a line under its headline reads at full strength next to the pictures (X1), not in grey */
.k-line { font-size: var(--k-intro); line-height: var(--k-intro-lh); letter-spacing: var(--k-intro-ls); color: var(--k-ink); max-width: var(--k-line-width); }
.k-line strong { color: var(--k-ink); font-weight: var(--k-weight-head); }
.k-small { font-size: var(--k-small); line-height: var(--k-small-lh); }
.k-caption { font-size: var(--k-caption); line-height: var(--k-caption-lh); color: var(--k-ink-2); }
.k-center { text-align: center; }
.k-center .k-line { margin-inline: auto; }

/* links and buttons */
.k-link { color: var(--k-link); text-decoration: none; font-size: var(--k-intro); display: inline-flex; align-items: center; gap: var(--k-space-2); }
.k-link:hover { text-decoration: underline; }
.k-link-arrow::after { content: ""; width: var(--k-chevron); height: var(--k-chevron); border-right: var(--k-rule) solid currentColor; border-top: var(--k-rule) solid currentColor; transform: rotate(45deg); margin-left: var(--k-space-0-5); }
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--k-space-2); min-height: var(--k-target); padding: var(--k-space-2) var(--k-space-6); border-radius: var(--k-radius-pill); background: var(--k-accent); color: var(--k-accent-ink); border: 0; text-decoration: none; font-size: var(--k-body); cursor: pointer; white-space: nowrap; }
.k-btn:hover { filter: brightness(1.08); }
.k-btn-quiet { background: transparent; color: var(--k-link); border: var(--k-hair) solid currentColor; }
.k-more { display: inline-flex; align-items: center; gap: var(--k-space-2); margin-top: var(--k-space-6); padding: 0; border: 0; background: none; color: var(--k-ink); font-size: var(--k-body); cursor: pointer; }
.k-more-icon { position: relative; width: var(--k-control); height: var(--k-control); border-radius: var(--k-radius-round); background: var(--k-raise); border: var(--k-hair) solid var(--k-line); flex: none; }
.k-more-icon::before, .k-more-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--k-bar); height: var(--k-rule); margin: calc(-1 * var(--k-hair)) 0 0 calc(-1 * var(--k-space-2)); background: currentColor; border-radius: var(--k-radius-xs); }
.k-more-icon::after { transform: rotate(90deg); }
.k-more:hover .k-more-icon { border-color: var(--k-ink-2); }

/* local navigation (sticky) */
.k-nav { position: sticky; top: 0; z-index: 50; height: var(--k-nav-h); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.k-nav { background: var(--m-nav); color: var(--m-ink); border-bottom: var(--k-hair) solid var(--m-nav-line); --k-nav-ink-2: var(--m-ink-2); --k-mark-slash: var(--m-mark-slash); }
.k-nav-in { height: 100%; display: flex; align-items: center; gap: var(--k-space-6); width: min(100% - 2 * var(--k-gutter), var(--k-text-width)); margin-inline: auto; }
.k-brand { display: inline-flex; align-items: center; height: var(--k-target); margin-right: auto; text-decoration: none; color: inherit; }
.k-brand:hover { opacity: 0.82; }
.k-mark { display: inline-flex; align-items: baseline; font-family: var(--k-mark-font); font-size: var(--k-mark-size); font-weight: var(--k-mark-weight); line-height: var(--k-tight-lh); letter-spacing: var(--k-mark-ls); white-space: nowrap; }
.k-mark-x { display: inline-block; overflow: hidden; vertical-align: bottom; transition: max-width var(--k-mark-fold) var(--k-mark-ease), opacity var(--k-mark-fade) var(--k-ease); }
.k-mark-a { max-width: var(--k-mark-a); }
.k-mark-b { max-width: var(--k-mark-b); }
.k-mark-s { color: var(--k-mark-slash, var(--k-link-dark)); letter-spacing: var(--k-mark-slash-ls); margin: 0 var(--k-mark-slash-out) 0 var(--k-mark-slash-in); transition: margin var(--k-mark-fold) var(--k-mark-ease); }
.k-nav.is-scrolled .k-mark-x { max-width: 0; opacity: 0; }
.k-nav.is-scrolled .k-mark-s { margin-left: var(--k-mark-gap); }
.k-nav-links { display: flex; align-items: center; gap: var(--k-space-6); list-style: none; margin: 0; padding: 0; font-size: var(--k-caption); }
.k-nav-links a { text-decoration: none; opacity: 0.85; }
.k-nav-links a:hover { opacity: 1; }
.k-nav-links a[aria-current="page"] { opacity: 1; box-shadow: var(--k-shadow-underline); padding-bottom: var(--k-space-0-5); }
.k-nav-cta { min-height: var(--k-control-sm); padding: var(--k-space-1) var(--k-space-3); font-size: var(--k-caption); }
.k-nav-toggle { display: none; width: var(--k-control); height: var(--k-control); border: 0; background: none; cursor: pointer; padding: 0; }
.k-nav-toggle span { display: block; width: var(--k-chevron); height: var(--k-chevron); margin: var(--k-space-2) auto 0; border-right: var(--k-rule) solid currentColor; border-bottom: var(--k-rule) solid currentColor; transform: rotate(45deg); transition: transform var(--k-dur-control) var(--k-ease); }
.k-nav-toggle[aria-expanded="true"] span { transform: translateY(5px) rotate(225deg); }
@media (max-width: 734px) {
  .k-nav-in { gap: var(--k-space-2); }
  .k-nav-toggle { display: block; }
  .k-nav-links { display: none; position: absolute; top: var(--k-nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: var(--k-space-2) var(--k-gutter) var(--k-space-5); background: inherit; font-size: var(--k-body); }
  .k-nav-links { background: var(--m-nav-solid); }
  .k-nav.is-open .k-nav-links { display: flex; }
  .k-nav-links li a { display: block; padding: var(--k-space-3) 0; border-bottom: var(--k-hair) solid var(--k-nav-line-phone); }
  .k-nav-links a[aria-current="page"] { box-shadow: none; }
  html:not(.k-js) .k-nav-links { display: flex; position: static; flex-direction: row; padding: 0; font-size: var(--k-caption); background: none; }
  html:not(.k-js) .k-nav-links li a { border: 0; padding: 0; }
}

/* the A/B switch for Home's two arrangements (a prototype control) */
.k-switch { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: var(--k-space-0-5); padding: var(--k-space-1); border-radius: var(--k-radius-pill); background: var(--k-chip-bg); color: var(--k-grey); font-size: var(--k-caption); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--k-shadow-float); }
.k-switch span { padding: 0 var(--k-space-2) 0 var(--k-space-2); opacity: 0.7; }
.k-switch a { padding: var(--k-space-2) var(--k-space-3); border-radius: var(--k-radius-pill); text-decoration: none; }
.k-switch a[aria-current="page"] { background: var(--k-grey); color: var(--k-ink-light); }
html.k-clean .k-switch { display: none; }

/* reveal on entering the screen (shell.js adds .is-in) */
html.k-js.k-motion [data-reveal] { opacity: 0; transform: translateY(var(--k-reveal-shift)); transition: opacity var(--k-dur-move) var(--k-ease), transform var(--k-dur-move) var(--k-ease); transition-delay: calc(var(--k-i, 0) * var(--k-stagger)); }
html.k-js.k-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* media frames: a slot keeps its own shape; any picture fits inside it */
.k-frame { position: relative; overflow: hidden; border-radius: var(--k-radius-media); background: var(--k-raise); aspect-ratio: var(--k-ar-desk, 16 / 10); isolation: isolate; }
.k-frame[data-shape="cinema"] { --k-ar-desk: 16 / 9; }
.k-frame[data-shape="window"] { --k-ar-desk: 16 / 10; }
@media (max-width: 734px) {
  .k-frame { aspect-ratio: var(--k-ar-phone, 4 / 3); }
  .k-frame[data-phone="square"] { --k-ar-phone: 1 / 1; }
  .k-frame[data-phone="portrait"] { --k-ar-phone: 4 / 5; }
  .k-frame[data-phone="landscape"] { --k-ar-phone: 4 / 3; }
  .k-frame[data-phone="wide"] { --k-ar-phone: 16 / 10; }
}
.k-frame > img, .k-frame > video, .k-frame > picture, .k-frame > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--k-focus, 50% 0%); }
.k-frame { box-shadow: 0 0 0 var(--k-hair) var(--k-line); }
/* no will-change here: a layer kept for animation keeps the scale it was first drawn at, so a picture the camera zooms
   into later would show blurred; the camera's moves are transitions, which the browser animates and then redraws sharp */
.k-cam > .k-world { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; transition: transform var(--k-dur-reveal) var(--k-ease); }
.k-cam > .k-world > img, .k-cam > .k-world > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
/* a picture that zooms inside its own box (U-09): its layer is the frame, and the camera moves its view box */
.k-cam > .k-world.is-ovb { height: 100%; aspect-ratio: auto !important; transform: none !important; }
.k-cam > .k-world.is-ovb > img, .k-cam > .k-world.is-ovb > video { transition: object-view-box var(--k-dur-reveal) var(--k-ease); }
.k-cam > .k-world.is-ovb > .k-spot { transition: left var(--k-dur-reveal) var(--k-ease), top var(--k-dur-reveal) var(--k-ease), width var(--k-dur-reveal) var(--k-ease), height var(--k-dur-reveal) var(--k-ease), opacity var(--k-dur-fade) var(--k-ease); }
.k-spot { position: absolute; z-index: 1; pointer-events: none; transition: opacity var(--k-dur-fade) var(--k-ease); }
/* marks live inside the zoomed picture; --k-cam-inv (1 / the camera's scale) keeps their lines one on-screen thickness */
/* the dim reaches just past the picture's far edge (--k-spot-spread, set by the camera): a 9999 px shadow made the zoomed
   layer so large that the browser drew it at a lower resolution */
.k-spot-spotlight { border-radius: var(--k-radius-sm); border: calc(var(--k-rule) * var(--k-cam-inv, 1)) solid var(--k-spot-ring); outline: var(--k-spot-spread, var(--k-spot-reach)) solid var(--k-spot-dim); }
.k-spot-underline::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: calc(1.5 * var(--k-rule) * var(--k-cam-inv, 1)); border-radius: var(--k-radius-pill); background: var(--k-accent); }
.k-spot[data-step] { opacity: 0; }
.k-spot[data-step].is-on { opacity: 1; }
.k-playctl { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: var(--k-control); height: var(--k-control); border-radius: var(--k-radius-round); border: 0; background: var(--k-button-scrim); color: var(--k-grey); cursor: pointer; display: grid; place-items: center; }
.k-playctl svg { width: var(--k-bar); height: var(--k-bar); }
.k-playctl .k-i-play, .k-playctl[data-state="playing"] .k-i-pause, .k-playctl[data-state="ended"] .k-i-replay { display: block; }
.k-playctl .k-i-pause, .k-playctl .k-i-replay, .k-playctl[data-state="playing"] .k-i-play, .k-playctl[data-state="ended"] .k-i-play { display: none; }
html:not(.k-js) .k-playctl, .k-playctl[hidden] { display: none; }
.k-ph { display: grid; place-items: center; text-align: center; padding: var(--k-space-4); border: var(--k-rule) dashed var(--k-line); color: var(--k-ink-2); font-size: var(--k-small); background: var(--k-card); }

/* hero: the film, the headline glow, the offer bar */
.k-hero { overflow: hidden; }
.k-hero-text { text-align: center; position: relative; z-index: 1; }
.k-hero .k-eyebrow { color: var(--k-ink); font-size: var(--k-intro); margin-bottom: var(--k-space-2); }
.k-hero .k-h1 { position: relative; }
.k-hero .k-h1 span { white-space: nowrap; }
.k-glow { position: absolute; inset: -40% -10%; z-index: -1; pointer-events: none; background: radial-gradient(50% 45% at 50% 55%, color-mix(in srgb, var(--k-accent) 36%, transparent), transparent 70%); filter: blur(30px); opacity: 0.55; }
.k-hero .k-line { margin: var(--k-gap-head) auto 0; }
/* batch 18: on the story pages the sentence keeps room for two lines, so a one-line sentence leaves its second line
   empty and the More and the picture start where they do on a two-line page. Batch 30: the pages' small label is gone,
   so the rule names the story pages (every page with an opening but Home) */
body:not([data-page="home"]) .k-hero .k-line { min-height: calc(2em * var(--k-intro-lh)); }
.k-hero-film { width: var(--k-film-w); margin: var(--k-gap-media) auto 0; }
.k-hero-actions { display: flex; justify-content: center; align-items: center; gap: var(--k-space-3) var(--k-space-7); flex-wrap: wrap; margin-top: var(--k-gap-more); }
.k-hero-actions .k-more { margin-top: 0; }
.k-hero-actions .k-link { font-size: var(--k-body); }
.k-hero-cap { margin-top: var(--k-space-4); text-align: center; color: var(--k-ink-2); font-size: var(--k-small); line-height: var(--k-small-lh); text-wrap: balance; }
@media (max-width: 734px) {
  .k-hero .k-h1 span { white-space: normal; }
  .k-hero-film { width: calc(100% - 2 * var(--k-gutter)); }
}

/* section header: title on the left, an action on the right */
.k-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--k-space-5) var(--k-space-8); flex-wrap: wrap; margin-bottom: var(--k-space-10); }
.k-head .k-link { font-size: var(--k-body); white-space: nowrap; }
@media (max-width: 734px) { .k-head { flex-direction: column; align-items: flex-start; margin-bottom: var(--k-space-7); } }

/* highlights carousel */
.k-hl { }
.k-hl-track { display: flex; gap: var(--k-space-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(var(--k-gutter), calc((100% - var(--k-wide-width)) / 2)); scroll-padding-inline: max(var(--k-gutter), calc((100% - var(--k-wide-width)) / 2)); }
.k-hl-track::-webkit-scrollbar { display: none; }
.k-hl-card { position: relative; flex: 0 0 min(100% - 2 * var(--k-gutter), var(--k-wide-width)); scroll-snap-align: start; scroll-snap-stop: always; display: grid; min-height: 0; aspect-ratio: 1260 / 612; border-radius: var(--k-radius-card); background: var(--k-c-bg); color: var(--k-c-ink); border: var(--k-hair) solid var(--k-c-line); overflow: hidden; isolation: isolate; }
.k-hl-card[data-card-theme="dark"] { --k-c-bg: var(--m-raise); --k-c-ink: var(--m-ink); --k-c-ink-2: var(--m-ink-2); --k-c-line: var(--m-line); --k-link: var(--m-link); --k-raise: var(--m-well); --k-line: var(--m-line); }
.k-hl-card[data-card-theme="light"] { --k-c-bg: var(--m-raise); --k-c-ink: var(--m-ink); --k-c-ink-2: var(--m-ink-2); --k-c-line: transparent; --k-link: var(--m-link); --k-raise: var(--m-well); --k-line: var(--m-line); }
.k-hl-card[data-card-theme="violet"] { --k-c-bg: var(--k-violet-card); --k-c-ink: var(--k-on-violet); --k-c-ink-2: var(--k-on-violet-2); --k-c-line: transparent; --k-link: var(--k-on-violet); --k-raise: var(--k-glass-2); --k-line: var(--k-glass-3); }
.k-hl-text { position: relative; z-index: 3; }
.k-hl-text .k-card-h { font-size: var(--k-title); line-height: var(--k-title-lh); letter-spacing: var(--k-title-ls); font-weight: var(--k-weight-head); color: var(--k-c-ink); }
.k-hl-text .k-card-line { margin-top: var(--k-space-2); font-size: var(--k-title); line-height: var(--k-title-lh); letter-spacing: var(--k-title-ls); font-weight: var(--k-weight-head); color: var(--k-c-ink-2); }
.k-hl-text .k-more { color: var(--k-c-ink); }
.k-hl-text .k-link { margin-top: var(--k-space-4); font-size: var(--k-body); }
.k-hl-media { position: relative; min-height: 0; min-width: 0; }
.k-hl-card .k-frame { box-shadow: 0 0 0 var(--k-hair) var(--k-c-line); }
/* side: words left, the picture bleeding off the right edge */
/* batch 11 (13 Nov): a wider text column (about 470 px at full width, was 297), so the lines don't stack into narrow rows */
.k-hl-card[data-layout="side"] { grid-template-columns: minmax(260px, 0.72fr) 1fr; align-items: center; gap: 0 var(--k-space-8); padding-left: var(--k-space-14); }
.k-hl-card[data-layout="side"] .k-frame { aspect-ratio: 16 / 10.4; width: 100%; margin-right: calc(-1 * var(--k-space-0-5)); border-radius: var(--k-radius-media) 0 0 var(--k-radius-media); }
/* side-r: the mirror */
.k-hl-card[data-layout="side-r"] { grid-template-columns: 1fr minmax(260px, 0.72fr); align-items: center; gap: 0 var(--k-space-8); padding-right: var(--k-space-14); }
.k-hl-card[data-layout="side-r"] .k-hl-text { order: 2; }
.k-hl-card[data-layout="side-r"] .k-frame { aspect-ratio: 16 / 10.4; width: 100%; margin-left: calc(-1 * var(--k-space-0-5)); border-radius: 0 var(--k-radius-media) var(--k-radius-media) 0; }
/* overlay: the picture fills the card; the words sit over its foot */
.k-hl-card[data-layout="overlay"] { grid-template: 1fr / 1fr; }
.k-hl-card[data-layout="overlay"] .k-hl-media { grid-area: 1 / 1; }
.k-hl-card[data-layout="overlay"] .k-frame { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.k-hl-card[data-layout="overlay"]::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--k-overlay-fade); }
.k-hl-card[data-layout="overlay"] .k-hl-text { grid-area: 1 / 1; align-self: end; padding: var(--k-space-12) var(--k-space-14); max-width: var(--k-line-width); --k-c-ink: var(--k-white); --k-c-ink-2: var(--k-on-violet-2); }
/* top: words across the top, the picture below to the card's foot */
.k-hl-card[data-layout="top"], .k-hl-card[data-layout="pair"] { grid-template-rows: auto minmax(0, 1fr); gap: var(--k-space-6); padding: var(--k-space-11) var(--k-space-14) 0; }
.k-hl-card[data-layout="top"] .k-hl-text { max-width: var(--k-measure); }
.k-hl-card[data-layout="top"] .k-frame, .k-hl-card[data-layout="pair"] .k-frame { aspect-ratio: auto; height: 100%; border-radius: var(--k-radius-media) var(--k-radius-media) 0 0; }
/* pair: two moments side by side */
.k-hl-card[data-layout="pair"] .k-hl-text { justify-self: center; text-align: center; max-width: var(--k-measure); }
.k-hl-card[data-layout="pair"] .k-hl-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--k-space-4); }
/* the active card's words arrive in turn */
@keyframes k-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.k-motion .k-hl-card[aria-hidden="false"] .k-hl-text > * { animation: k-rise var(--k-dur-move) var(--k-ease) both; }
html.k-motion .k-hl-card[aria-hidden="false"] .k-hl-text > :nth-child(2) { animation-delay: var(--k-stagger); }
html.k-motion .k-hl-card[aria-hidden="false"] .k-hl-text > :nth-child(3) { animation-delay: calc(2 * var(--k-stagger)); }
.k-hl-controls { display: flex; justify-content: center; align-items: center; gap: var(--k-space-4); margin-top: var(--k-space-7); }
.k-dots { display: flex; align-items: center; gap: 0; height: var(--k-control-lg); padding: 0 var(--k-space-5); border-radius: var(--k-radius-pill); background: var(--k-raise); }
.k-dot { position: relative; width: var(--k-badge); height: var(--k-target); border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.k-dot::before { content: ""; width: var(--k-dot); height: var(--k-dot); border-radius: var(--k-radius-pill); background: var(--k-ink-2); opacity: 0.75; transition: width var(--k-dur-control) var(--k-ease); }
.k-dot[aria-selected="true"] { width: calc(var(--k-dot-active) + var(--k-space-4)); }
.k-dot[aria-selected="true"]::before { width: var(--k-dot-active); background: color-mix(in srgb, var(--k-ink-2) 55%, transparent); }
.k-dot-fill { position: absolute; left: 8px; top: 50%; height: var(--k-dot); margin-top: calc(-1 * var(--k-space-1)); width: 0; max-width: var(--k-dot-active); border-radius: var(--k-radius-pill); background: var(--k-ink); }
.k-dot[aria-selected="true"] .k-dot-fill { width: calc(var(--k-dot-active) * var(--k-p, 0)); }
.k-dot:not([aria-selected="true"]) .k-dot-fill { display: none; }
.k-hl-pause { width: var(--k-control-lg); height: var(--k-control-lg); border-radius: var(--k-radius-round); border: 0; background: var(--k-raise); color: var(--k-ink); cursor: pointer; display: grid; place-items: center; }
.k-hl-pause svg { width: var(--k-icon); height: var(--k-icon); }
.k-hl-pause .k-i-play, .k-hl-pause[data-state="playing"] .k-i-pause, .k-hl-pause[data-state="ended"] .k-i-replay { display: block; }
.k-hl-pause .k-i-pause, .k-hl-pause .k-i-replay, .k-hl-pause[data-state="playing"] .k-i-play, .k-hl-pause[data-state="ended"] .k-i-play { display: none; }
html:not(.k-js) .k-hl-controls { display: none; }
@media (max-width: 1068px) {
  .k-hl-card, .k-hl-card[data-layout] { grid-template-columns: 1fr; grid-template-rows: auto auto; aspect-ratio: auto; padding: var(--k-space-10) 0 0; gap: var(--k-space-7); align-content: start; }
  .k-hl-card .k-hl-text, .k-hl-card[data-layout] .k-hl-text { order: 0; padding: 0 var(--k-space-10); text-align: center; max-width: none; justify-self: stretch; }
  .k-hl-card .k-frame, .k-hl-card[data-layout] .k-frame { position: relative; inset: auto; justify-self: stretch; width: 100%; height: auto; aspect-ratio: 16 / 10; margin: 0; border-radius: 0; }
  .k-hl-card[data-layout="overlay"] { grid-template: 1fr / 1fr; aspect-ratio: 4 / 4.4; padding: 0; }
  /* the overlay card's picture fills the card (stretch, so it never shrinks to its content's width) */
  .k-hl-card[data-layout="overlay"] .k-frame { position: absolute; inset: 0; justify-self: stretch; width: auto; aspect-ratio: auto; border-radius: 0; }
  .k-hl-card[data-layout="overlay"] .k-hl-text { text-align: left; padding: var(--k-space-8); align-self: end; }
  .k-hl-card[data-layout="pair"] .k-hl-media { width: 100%; margin: 0; gap: var(--k-space-0-5); }
  .k-hl-card[data-layout="pair"] .k-frame { width: 100%; aspect-ratio: 4 / 5; }
  /* every card is as tall as the tallest; its picture fills what the words leave, so no card ends in empty space */
  .k-hl-card:not([data-layout="overlay"]) { grid-template-rows: auto minmax(0, 1fr); }
  .k-hl-card:not([data-layout="overlay"]) .k-hl-media { display: grid; align-self: stretch; min-height: 0; }
  .k-hl-card:not([data-layout="overlay"]) .k-frame { height: 100%; aspect-ratio: auto; }
}
/* batch 5: on a tablet a card's picture is at least 16:9 of the card's width (padding in % reads the width). The pictures
   made for the site have no height of their own, where the drawn pictures they replaced set the cards' height, and
   16:9 is their tablet cut, so it shows whole. */
@media (min-width: 735px) and (max-width: 1068px) {
  .k-hl-card:not([data-layout="overlay"]):not([data-layout="pair"]) .k-hl-media::before { content: ""; grid-area: 1 / 1; padding-top: 56.25%; }
  .k-hl-card:not([data-layout="overlay"]):not([data-layout="pair"]) .k-hl-media > * { grid-area: 1 / 1; }
}
@media (max-width: 734px) {
  .k-hl-track { gap: var(--k-space-3); }
  .k-hl-card, .k-hl-card[data-layout] { flex-basis: calc(100% - 2 * var(--k-gutter) - var(--k-space-5)); padding-top: var(--k-space-8); gap: var(--k-space-6); }
  .k-hl-card .k-hl-text, .k-hl-card[data-layout] .k-hl-text { padding: 0 var(--k-space-6); }
  .k-hl-card .k-frame, .k-hl-card[data-layout] .k-frame { width: 100%; aspect-ratio: 4 / 3; }
  .k-hl-card[data-layout="overlay"] { aspect-ratio: 3 / 4.2; padding: 0; }
  .k-hl-card[data-layout="overlay"] .k-frame { width: auto; aspect-ratio: auto; }
  .k-hl-card[data-layout="overlay"] .k-hl-text { padding: var(--k-space-6); }
  .k-hl-card[data-layout="pair"] .k-hl-media { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; width: 100%; }
  .k-hl-card[data-layout="pair"] .k-frame { width: 100%; aspect-ratio: auto; min-height: var(--k-pair-min-h); }
  .k-hl-card:not([data-layout="overlay"]):not([data-layout="pair"]) .k-frame { min-height: var(--k-card-min-h); }
  .k-dots { height: var(--k-control-lg); padding: 0 var(--k-space-4); }
  .k-hl-pause { width: var(--k-control-lg); height: var(--k-control-lg); }
}

/* chapter: headline, line, a tap for more, one media spot */
.k-chapter .k-chapter-text { margin-bottom: var(--k-gap-media); }
.k-chapter .k-line { margin-top: var(--k-space-5); }
.k-chapter-media { width: min(100% - 2 * var(--k-gutter), var(--k-stage-width)); margin-inline: auto; }
.k-split { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: var(--k-space-16); align-items: center; }
.k-split[data-side="left"] { grid-template-columns: 0.58fr 0.42fr; }
.k-split[data-side="left"] .k-chapter-text { order: 2; }
.k-split .k-chapter-text { margin: 0; }
.k-split .k-chapter-h { font-size: var(--k-headline); }
@media (max-width: 1068px) {
  .k-split, .k-split[data-side="left"] { grid-template-columns: 1fr; gap: var(--k-gap-media); }   /* stacked: the words, then the media gap (D6) */
  .k-split[data-side="left"] .k-chapter-text { order: 0; }
  .k-split .k-chapter-h { font-size: var(--k-headline); }
}

/* page header for sub-pages */
.k-pagehead { }
.k-pagehead .k-h1 { margin-top: var(--k-space-1); }
.k-pagehead .k-line { margin-top: var(--k-gap-head); font-size: var(--k-intro); }

/* two-column comparison strip: without and with */
.k-compare2 { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--k-radius-card); overflow: hidden; border: var(--k-hair) solid var(--k-line); }
.k-compare2 > div { padding: var(--k-space-10) var(--k-space-11) var(--k-space-11); }
.k-compare2 > div + div { background: var(--k-raise); border-left: var(--k-hair) solid var(--k-line); }
.k-compare2 .k-tag { font-size: var(--k-small); font-weight: var(--k-weight-head); color: var(--k-ink-2); text-transform: none; margin-bottom: var(--k-space-4); }
.k-compare2 p:not(.k-tag) { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); }
.k-compare2 > div:first-child p:not(.k-tag) { color: var(--k-ink-2); }
@media (max-width: 734px) { .k-compare2 { grid-template-columns: 1fr; } .k-compare2 > div { padding: var(--k-space-7) var(--k-space-6) var(--k-space-8); } .k-compare2 > div + div { border-left: 0; border-top: var(--k-hair) solid var(--k-line); } }

/* tabs */
.k-tabs-list { display: inline-flex; gap: var(--k-space-1); padding: var(--k-space-1); border-radius: var(--k-radius-pill); background: var(--k-raise); border: var(--k-hair) solid var(--k-line); margin: 0 auto var(--k-space-10); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.k-tabs-list::-webkit-scrollbar { display: none; }
.k-tabs-bar { text-align: center; }
.k-tab { border: 0; background: none; cursor: pointer; padding: var(--k-space-2) var(--k-space-5); border-radius: var(--k-radius-pill); font-size: var(--k-small); color: var(--k-ink-2); white-space: nowrap; }
.k-tab[aria-selected="true"] { background: var(--k-ink); color: var(--k-bg); }
.k-tabpanel[hidden] { display: none; }
html:not(.k-js) .k-tabpanel[hidden] { display: block; }
html:not(.k-js) .k-tabs-bar { display: none; }
.k-tabpanel .k-chapter-text { margin-bottom: var(--k-space-10); }
@media (max-width: 734px) { .k-tab { padding: var(--k-space-2) var(--k-space-4); } }

/* slides with arrows (a row of tiles that open) */
.k-slides { position: relative; }
.k-slides-track { display: flex; gap: var(--k-space-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: var(--k-space-1) max(var(--k-gutter), calc((100% - var(--k-wide-width)) / 2)) var(--k-space-2); scroll-padding-inline: max(var(--k-gutter), calc((100% - var(--k-wide-width)) / 2)); }
.k-slides-track::-webkit-scrollbar { display: none; }
.k-tile { flex: 0 0 clamp(260px, 30%, 372px); scroll-snap-align: start; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--k-space-8); min-height: var(--k-tile-h); padding: var(--k-space-8) var(--k-space-8) var(--k-space-6); border-radius: var(--k-radius-tile); background: var(--k-card); border: var(--k-hair) solid var(--k-line); text-align: left; cursor: pointer; color: var(--k-ink); }
.k-tile:hover { border-color: var(--k-ink-2); }
.k-tile .k-tile-text { display: flex; flex-direction: column; gap: var(--k-space-3); }
.k-tile .k-tile-h { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); }
.k-tile .k-tile-b { font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }
.k-tile .k-more-icon { align-self: flex-end; }
.k-paddles { display: flex; justify-content: flex-end; gap: var(--k-space-4); width: min(100% - 2 * var(--k-gutter), var(--k-wide-width)); margin: var(--k-space-6) auto 0; }
.k-paddle { width: var(--k-target); height: var(--k-target); border-radius: var(--k-radius-round); border: 0; background: var(--k-raise); color: var(--k-ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 var(--k-hair) var(--k-line); }
.k-paddle:disabled { opacity: 0.36; cursor: default; }
.k-paddle::before { content: ""; width: var(--k-chevron); height: var(--k-chevron); border-left: var(--k-rule) solid currentColor; border-bottom: var(--k-rule) solid currentColor; transform: translateX(2px) rotate(45deg); }
.k-paddle-next::before { transform: translateX(-2px) rotate(-135deg); }
html:not(.k-js) .k-paddles { display: none; }
@media (max-width: 734px) { .k-tile { flex-basis: 78%; min-height: var(--k-pair-min-h); } }

/* cards that open: a native dialog */
.k-dialog { width: min(100% - 2 * var(--k-space-4), var(--k-dialog-w)); max-height: min(100% - 2 * var(--k-space-8), var(--k-dialog-max-h)); padding: 0; border: 0; border-radius: var(--k-radius-card); background: var(--k-white); color: var(--m-ink); box-shadow: var(--k-shadow-dialog); }
.k-dialog::backdrop { background: var(--k-backdrop); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.k-dialog-in { padding: var(--k-space-16) var(--k-space-18) var(--k-space-16); }
.k-dialog .k-dialog-h { font-size: var(--k-headline); line-height: var(--k-headline-lh); font-weight: var(--k-weight-head); letter-spacing: var(--k-headline-ls); margin-bottom: var(--k-space-6); }
.k-dialog p { font-size: var(--k-intro); line-height: var(--k-intro-lh); color: var(--m-ink-2); }
.k-dialog p strong { color: var(--m-ink); }
.k-dialog .k-link { --k-link: var(--m-link); margin-top: var(--k-space-6); font-size: var(--k-body); }
.k-dialog-close { position: sticky; top: 16px; float: right; margin: var(--k-space-4) var(--k-space-4) 0 0; width: var(--k-control); height: var(--k-control); border-radius: var(--k-radius-round); border: 0; background: var(--k-control-dark); color: var(--k-white); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.k-dialog-close::before, .k-dialog-close::after { content: ""; position: absolute; width: var(--k-bar); height: var(--k-rule); background: currentColor; transform: rotate(45deg); border-radius: var(--k-radius-xs); }
.k-dialog-close::after { transform: rotate(-45deg); }
.k-dialog-film { width: min(100% - 2 * var(--k-space-4), var(--k-dialog-film)); background: var(--k-black); }
.k-dialog-film .k-dialog-in { padding: var(--k-space-16) var(--k-space-6) var(--k-space-6); }
.k-dialog-film video { width: 100%; height: auto; border-radius: var(--k-radius-ui); background: var(--k-black); }
@media (max-width: 734px) { .k-dialog-in { padding: var(--k-space-14) var(--k-space-6) var(--k-space-9); } }

/* the wide card that opens from the hero: the line explained, the glossary, the worked example */
.k-dialog-wide { width: min(100% - 2 * var(--k-space-4), var(--k-dialog-wide)); }
.k-dialog .k-dialog-lead { font-size: var(--k-intro); color: var(--m-ink); }
.k-dialog .k-dialog-sub { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); color: var(--m-ink); margin: var(--k-space-10) 0 var(--k-space-3); }
.k-dlg-sec { border-top: var(--k-hair) solid var(--m-line); margin-top: var(--k-space-10); }
.k-dlg-sec .k-dialog-sub { margin-top: var(--k-space-8); }
.k-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--k-space-4); }
.k-pillar { padding: var(--k-space-6) var(--k-space-6) var(--k-space-5); border-radius: var(--k-radius-media); background: var(--m-well); display: flex; flex-direction: column; gap: var(--k-space-2); }
.k-pillar h5 { font-size: var(--k-intro); font-weight: var(--k-weight-head); margin: 0; color: var(--m-ink); }
.k-pillar p { font-size: var(--k-body); line-height: var(--k-body-lh); }
.k-pillar .k-link { margin-top: auto; padding-top: var(--k-space-2); }
.k-gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--k-space-3) var(--k-space-7); margin: var(--k-space-6) 0 0; }
.k-gloss dt { font-weight: var(--k-weight-head); color: var(--m-ink); font-size: var(--k-body); }
.k-gloss dd { margin: var(--k-space-0-5) 0 0; color: var(--m-ink-2); font-size: var(--k-small); line-height: var(--k-small-lh); }
.k-gloss-1 { grid-template-columns: 1fr; gap: var(--k-space-4); }
.k-gloss-1 dd { font-size: var(--k-body); line-height: var(--k-body-lh); }
.k-slides-in .k-slides-track { padding: var(--k-space-1) 0 var(--k-space-2); scroll-padding-inline: 0; gap: var(--k-space-4); }
.k-slides-in .k-paddles { width: 100%; margin-top: var(--k-space-4); }
.k-slide { flex: 0 0 82%; scroll-snap-align: start; }
.k-slide .k-frame { --k-ar-desk: 16 / 10; box-shadow: 0 0 0 var(--k-hair) var(--k-line); }
.k-slide .k-step-n { font-size: var(--k-small); color: var(--m-ink-2); margin: var(--k-space-4) 0 var(--k-space-1); }
.k-slide h5 { font-size: var(--k-intro); font-weight: var(--k-weight-head); margin: 0 0 var(--k-space-2); color: var(--m-ink); }
.k-slide p:not(.k-step-n) { font-size: var(--k-body); }
.k-dialog .k-paddle { background: var(--m-well); color: var(--m-ink); box-shadow: 0 0 0 var(--k-hair) var(--m-line); }
@media (max-width: 734px) { .k-pillars, .k-gloss { grid-template-columns: 1fr; } .k-slide { flex-basis: 92%; } }

/* zoom stage: one viewport per step; the camera frames one part of a real picture under the step's words */
.k-zs-head { margin-bottom: 0; }
/* batch 8 (13 Nov): half a step longer than its steps, so the last one has a whole step of scroll too (shell.js 9) */
.k-zs { position: relative; height: calc((var(--k-steps, 5) + 0.5) * var(--k-step-len) * 1vh); height: calc((var(--k-steps, 5) + 0.5) * var(--k-step-len) * 1svh); }
/* batch 22 (16 Nov): on a desktop-width window each step takes half the window's height of scroll, so one ordinary scroll
   move always reaches the next step (at 70 a 450 px move could land inside the same step); a phone keeps the length above */
@media (min-width: 1069px) { .k-zs { --k-step-len: 50; } }
.k-zs-pin { position: sticky; top: var(--k-nav-h); height: calc(100vh - var(--k-nav-h)); height: calc(100svh - var(--k-nav-h)); display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--k-space-5); width: min(100% - 2 * var(--k-gutter), var(--k-wide-width)); margin-inline: auto; padding: var(--k-space-6) 0 var(--k-space-8); }
.k-zs-words { position: relative; list-style: none; margin: 0; padding: 0; min-height: var(--k-zs-words-h); text-align: center; }
.k-zs-w { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(10px); transition: opacity var(--k-dur-fade) var(--k-ease), transform var(--k-dur-fade) var(--k-ease); }
.k-zs-w.is-active { opacity: 1; transform: none; }
.k-zs-w .k-step-n { font-size: var(--k-small); color: var(--k-ink-2); margin-bottom: var(--k-space-2); font-variant-numeric: tabular-nums; }
.k-zs-h { font-size: var(--k-title); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); font-weight: var(--k-weight-head); }
.k-zs-line { margin: var(--k-space-2) auto 0; max-width: var(--k-line-width); font-size: var(--k-intro); line-height: var(--k-intro-lh); color: var(--k-ink); }
.k-zs-stage { position: relative; min-height: 0; display: grid; place-items: start center; }
.k-zs-cam { position: relative; width: min(100%, (100svh - var(--k-nav-h) - var(--k-zs-chrome-tab)) * 1.6); aspect-ratio: 16 / 10; border-radius: var(--k-radius-card); overflow: hidden; background: var(--k-white); box-shadow: 0 0 0 var(--k-hair) var(--k-line); transition: box-shadow var(--k-dur-fade) var(--k-ease); }
.k-zs-layer { position: absolute; inset: 0; opacity: 0; transition: opacity var(--k-dur-fade) var(--k-ease); }
.k-zs-layer.is-active { opacity: 1; }
.k-zs-layer > .k-frame { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: var(--k-white); }
.k-zs-cam > .k-zs-cam > .k-playctl { z-index: 5; }
.k-zs-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: var(--k-space-2); }
.k-zs-dots span { width: var(--k-dot); height: var(--k-dot); border-radius: var(--k-radius-pill); background: var(--k-line); transition: height var(--k-dur-control) var(--k-ease), background-color var(--k-dur-control); }
.k-zs-dots span.is-active { height: var(--k-badge); background: var(--k-ink); }
@media (max-width: 734px) {
  .k-zs-words { min-height: var(--k-zs-words-h-tab); }
  .k-zs-h { font-size: var(--k-title); }
  .k-zs-cam { width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--k-nav-h) - var(--k-zs-chrome-phone)); border-radius: var(--k-radius-media); }
  .k-zs-dots { right: -6px; }
}
html:not(.k-js) .k-zs { height: auto; }
html:not(.k-js) .k-zs-pin { position: static; height: auto; display: block; }
html:not(.k-js) .k-zs-w { position: static; opacity: 1; transform: none; margin-bottom: var(--k-space-4); }

/* the cover: the army, alive; it shrinks into a frame as the page scrolls on to the hero */
.k-cover { padding: var(--k-sec-top) 0 0; height: calc(var(--k-cover-len) * 1vh); height: calc(var(--k-cover-len) * 1svh); }
.k-cover-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; margin-top: calc(-1 * var(--k-sec-top)); }
.k-cover-stage { position: absolute; inset: 0; overflow: hidden; background: var(--k-violet-glow); transform: scale(calc(1 - 0.12 * var(--k-cover-p, 0))); border-radius: calc(var(--k-radius-card) * var(--k-cover-p, 0)); transform-origin: 50% 42%; }
.k-army { position: absolute; inset: -8% -10% -14%; perspective: 1700px; }
.k-army-grid { display: grid; grid-template-columns: repeat(9, minmax(150px, 1fr)); gap: var(--k-space-4); transform: rotateX(18deg) rotateZ(-5deg); transform-origin: 50% 0; animation: k-drift var(--k-dur-story) var(--k-ease) both; }
@keyframes k-drift { from { translate: -2.5% 0; } to { translate: 2.5% -3%; } }
.k-t { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--k-space-2) var(--k-space-2); padding: var(--k-space-3) var(--k-space-3) var(--k-space-3); border-radius: var(--k-radius-ui); background: var(--k-glass-1); border: var(--k-hair) solid var(--k-lavender-line); color: var(--k-lavender); font-size: var(--k-caption); line-height: var(--k-title-lh); transition: background-color var(--k-dur-fade), border-color var(--k-dur-fade), opacity var(--k-dur-fade); }
.k-t-id { color: var(--k-lavender-2); font-variant-numeric: tabular-nums; letter-spacing: var(--k-mono-ls); }
.k-t-who { width: var(--k-avatar); height: var(--k-avatar); border-radius: var(--k-radius-round); background: var(--k-lavender-line); font-size: var(--k-micro); display: grid; place-items: center; }
.k-t-role { grid-column: 1 / -1; justify-self: start; padding: var(--k-space-0-5) var(--k-space-2); border-radius: var(--k-radius-pill); background: var(--k-lavender-line); font-size: var(--k-caption); }
.k-t-plus { margin-left: var(--k-space-2); opacity: 0.72; }
.k-t-st { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--k-space-2); font-size: var(--k-caption); color: var(--k-lavender-2); }
.k-t-st::before { content: ""; width: var(--k-dot); height: var(--k-dot); border-radius: var(--k-radius-round); background: currentColor; }
.k-t[data-st="working"] .k-t-st { color: var(--k-green); }
.k-t[data-st="review"] .k-t-st { color: var(--k-review); }
.k-t[data-st="done"] { opacity: 0.6; }
.k-t[data-st="needs"] { background: var(--k-amber-bg); border-color: var(--k-amber-line); }
.k-t[data-st="needs"]::after { content: ""; position: absolute; inset: calc(-1 * var(--k-hair)); border-radius: inherit; border: var(--k-hair) solid var(--k-amber-line); pointer-events: none; animation: k-call var(--k-dur-beat) var(--k-ease-out) 2 both; }
.k-t[data-st="needs"] .k-t-st { color: var(--k-amber); }
.k-t.is-flash { background: var(--k-green-bg); border-color: var(--k-green-line); }
@keyframes k-call { from { transform: none; opacity: 1; } to { transform: scale(1.12); opacity: 0; } }
@keyframes k-blink { 50% { opacity: 0.35; } }
@keyframes k-file { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
html.k-motion .k-army-grid.is-filing .k-t { animation: k-file var(--k-dur-move) var(--k-ease) both; animation-delay: calc(var(--k-d) * var(--k-stagger) / 2 + var(--k-stagger)); }
.k-cover-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(58% 52% at 50% 50%, rgba(var(--k-veil), 0.86) 0%, rgba(var(--k-veil), 0.4) 62%, rgba(var(--k-veil), 0) 100%), linear-gradient(180deg, rgba(var(--k-veil), 0.55), rgba(var(--k-veil), 0) 28%, rgba(var(--k-veil), 0) 72%, rgba(var(--k-veil), 0.75)); }
.k-cover-text { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 var(--k-gutter); opacity: calc(1 - 1.7 * var(--k-cover-p, 0)); }
.k-cover-h { font-size: var(--k-display); line-height: var(--k-display-lh); letter-spacing: var(--k-display-ls); font-weight: var(--k-weight-head); color: var(--k-white); text-wrap: balance; }
.k-cover-h > span { display: block; }
.k-cover-h2 { background: var(--k-display-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-cover-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--k-space-2) var(--k-space-6); margin-top: var(--k-space-6); font-size: var(--k-small); color: var(--k-lavender-2); }
.k-cover-strip b { color: var(--k-white); font-weight: var(--k-weight-head); font-variant-numeric: tabular-nums; }
.k-cover-label { position: absolute; z-index: 2; left: 20px; bottom: 18px; font-size: var(--k-caption); color: var(--k-lavender-2); }
.k-cover-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: var(--k-chevron); height: var(--k-chevron); margin-left: calc(-1 * var(--k-space-2)); border-right: var(--k-rule) solid var(--k-white); border-bottom: var(--k-rule) solid var(--k-white); opacity: 0.7; transform: rotate(45deg); animation: k-cue var(--k-dur-beat) var(--k-ease) 3; }
@keyframes k-cue { 50% { translate: 0 6px; } }
@media (max-width: 734px) {
  .k-army { inset: -6% -40% -10%; }
  .k-army-grid { grid-template-columns: repeat(6, minmax(128px, 1fr)); gap: var(--k-space-2); }
  .k-t { padding: var(--k-space-2); font-size: var(--k-caption); border-radius: var(--k-radius-ui); }
  .k-cover-strip { font-size: var(--k-small); gap: var(--k-space-2) var(--k-space-4); }
}

/* pilot: the offer and the call to book */
.k-pilot-actions { display: flex; justify-content: center; align-items: center; gap: var(--k-space-4) var(--k-space-7); flex-wrap: wrap; margin-top: var(--k-space-8); }

/* footer */
.k-footer { background: var(--m-base); border-top: var(--k-hair) solid var(--m-line); color: var(--m-ink-2); font-size: var(--k-caption); line-height: var(--k-caption-lh); padding: var(--k-space-7) 0 var(--k-space-10); }
.k-footer a { color: var(--m-ink); text-decoration: none; }
.k-footer a:hover { text-decoration: underline; }
.k-footer-note { padding-bottom: var(--k-space-4); border-bottom: var(--k-hair) solid var(--m-line); max-width: var(--k-text-width); }
.k-footer-links { display: flex; flex-wrap: wrap; gap: var(--k-space-2) var(--k-space-6); list-style: none; margin: var(--k-space-4) 0 var(--k-space-3); padding: 0; }
.k-footer-full { font-weight: var(--k-weight-head); }

/* long text pages (full details, the sample task, the rules) */
.k-doc .k-wrap { width: min(100% - 2 * var(--k-gutter), var(--k-measure)); }
.k-doc h1 { font-size: var(--k-headline); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); font-weight: var(--k-weight-head); margin-bottom: var(--k-space-7); }
.k-doc h2 { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); margin: var(--k-space-14) 0 var(--k-space-4); scroll-margin-top: calc(var(--k-nav-h) + 16px); }
.k-doc h3 { font-size: var(--k-intro); margin: var(--k-space-8) 0 var(--k-space-2); }
.k-doc p, .k-doc li { font-size: var(--k-body); line-height: var(--k-read-lh); }
.k-doc p { margin: 0 0 var(--k-space-4); }
.k-doc ul, .k-doc ol { margin: 0 0 var(--k-space-4); padding-left: var(--k-space-6); }
.k-doc li { margin-bottom: var(--k-space-2); }
.k-doc a { color: var(--k-link); }
.k-doc code { font-size: var(--k-small); padding: var(--k-hair) var(--k-space-2); border-radius: var(--k-radius-sm); background: var(--k-card); }
.k-doc blockquote { margin: 0 0 var(--k-space-4); padding-left: var(--k-space-4); border-left: var(--k-rule) solid var(--k-line); color: var(--k-ink-2); }
.k-toc { margin: var(--k-space-2) 0 var(--k-space-10); border: var(--k-hair) solid var(--k-line); border-radius: var(--k-radius-ui); padding: var(--k-space-4) var(--k-space-5); }
.k-toc summary { cursor: pointer; font-weight: var(--k-weight-head); }
.k-toc ol { columns: 2; column-gap: var(--k-space-8); margin: var(--k-space-4) 0 var(--k-space-1); }
@media (max-width: 734px) { .k-toc ol { columns: 1; } }

/* ---------- the rest of the site ---------- */
/* a screen's words, shared by the sections below */
.k-words .k-line { margin-top: var(--k-space-5); }
/* batch 14 (13 Nov): the pilot's promise, a second paragraph set like the line it follows */
.k-words .k-line-after { margin-top: var(--k-space-4); }
.k-words.k-center .k-line, .k-center .k-peek-text { margin-inline: auto; }
.k-peek-text { margin-top: var(--k-space-4); max-width: var(--k-line-width); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }
.k-proof { margin-top: var(--k-space-4); }
.k-proof .k-link { font-size: var(--k-body); }
.k-pagehead-cta { display: flex; align-items: center; gap: var(--k-space-4) var(--k-space-6); flex-wrap: wrap; margin-top: var(--k-space-9); }
.k-pagehead-cta .k-small { max-width: var(--k-measure-sm); color: var(--k-ink-2); }
/* batch 16 (14 Nov, D3): the call's length under the pilot page's opening buttons, set like the end cards' last line
   (body size, in the secondary ink); the promise above them is a .k-line, set like the opening's line */
.k-pagehead-call { margin-top: var(--k-space-4); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }

/* S08, the scroll pull-back: the stage pins; scrolling widens the frame to the screen's edges and pulls the camera back */
.k-sz-sec { padding: 0; }
.k-sz { position: relative; height: calc(var(--k-sz-len, 2.4) * 100vh); height: calc(var(--k-sz-len, 2.4) * 100svh); }
.k-sz-pin { position: sticky; top: var(--k-nav-h); height: calc(100vh - var(--k-nav-h)); height: calc(100svh - var(--k-nav-h)); display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--k-space-7); padding-top: var(--k-space-9); overflow: hidden; }
.k-sz-words .k-chapter-h { font-size: var(--k-headline); }
.k-sz-words .k-line { margin-top: var(--k-space-4); }
.k-sz-words .k-more { margin-top: var(--k-space-4); }
.k-sz-stage { position: relative; min-height: 0; }
.k-sz-stage > .k-frame { position: absolute; top: 0; bottom: 0; left: calc((1 - var(--k-sz-p, 0)) * (var(--k-gutter) + 5vw)); right: calc((1 - var(--k-sz-p, 0)) * (var(--k-gutter) + 5vw)); aspect-ratio: auto; border-radius: calc(var(--k-radius-card) * (1 - var(--k-sz-p, 0))) calc(var(--k-radius-card) * (1 - var(--k-sz-p, 0))) 0 0; box-shadow: none; background: var(--k-white); }
html:not(.k-js) .k-sz { height: auto; }
html:not(.k-js) .k-sz-pin { position: static; height: auto; display: block; padding-bottom: var(--k-space-10); }
html:not(.k-js) .k-sz-stage > .k-frame { position: relative; aspect-ratio: 16 / 9; margin-top: var(--k-space-7); }

/* a clip with its beats: each beat lights up as the clip reaches it, and shows its moment when pressed */
.k-film-fig { width: min(100% - 2 * var(--k-gutter), var(--k-stage-width)); margin: var(--k-gap-media) auto 0; }
.k-frame[data-shape="wide"] { --k-ar-desk: 2 / 1; }
.k-beats { list-style: none; margin: var(--k-space-4) 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--k-space-4); }
.k-beat { width: 100%; display: flex; align-items: flex-start; gap: var(--k-space-3); padding: var(--k-space-4) var(--k-space-0-5) var(--k-space-1); border: 0; border-top: var(--k-rule) solid var(--k-line); background: none; color: var(--k-ink-2); text-align: left; cursor: pointer; font-size: var(--k-small); line-height: var(--k-small-lh); transition: color var(--k-dur-control) var(--k-ease), border-color var(--k-dur-control) var(--k-ease); }
.k-beat:hover { color: var(--k-ink); }
.k-beat-n { flex: none; width: var(--k-badge); height: var(--k-badge); margin-top: calc(-1 * var(--k-hair)); border-radius: var(--k-radius-round); border: var(--k-hair) solid currentColor; display: grid; place-items: center; font-size: var(--k-caption); font-variant-numeric: tabular-nums; }
.k-beat.is-past { color: var(--k-ink); border-top-color: var(--k-ink-2); }
.k-beat.is-now { color: var(--k-ink); border-top-color: var(--k-accent); }
.k-beat.is-now .k-beat-n { background: var(--k-accent); border-color: var(--k-accent); color: var(--k-accent-ink); }
@media (max-width: 734px) { .k-beats { grid-auto-flow: row; gap: var(--k-space-0-5); } .k-beat { padding-top: var(--k-space-2); } }

/* S13, the split lockup: the headline on one side, its line and explanation on the other */
.k-lockup { display: grid; grid-template-columns: minmax(0, 0.47fr) minmax(0, 0.53fr); gap: var(--k-space-6) var(--k-space-16); align-items: start; }
.k-lockup-h { font-size: var(--k-headline); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); font-weight: var(--k-weight-head); }
.k-lockup-body { padding-top: var(--k-space-2); }
.k-lockup-body .k-line { color: var(--k-ink); font-weight: var(--k-weight-head); }
.k-lockup-body .k-more { margin-top: var(--k-space-4); }
.k-lockup-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--k-space-5); margin-top: var(--k-gap-media); }
.k-lockup-sec .k-chapter-media { margin-top: var(--k-gap-media); }
.k-lockup-fig { margin: 0; }
.k-fig-label { margin-top: var(--k-space-3); font-size: var(--k-small); line-height: var(--k-small-lh); color: var(--k-ink-2); }
@media (max-width: 1068px) { .k-lockup { grid-template-columns: 1fr; } .k-lockup-media { grid-template-columns: 1fr; gap: var(--k-space-7); } }

/* S06, the pill viewer: pills beside one big picture; a pill opens its words and moves the camera to its part */
.k-viewer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--k-space-6); align-items: center; margin-top: var(--k-gap-media); }
.k-viewer-stage { position: relative; grid-column: 2; grid-row: 1; }
.k-viewer-stage > .k-frame { background: var(--k-white); }
.k-viewer-pills { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--k-space-2); align-content: center; }
.k-pill-btn { display: inline-flex; align-items: center; gap: var(--k-space-2); min-height: var(--k-target); padding: var(--k-space-2) var(--k-space-5) var(--k-space-2) var(--k-space-2); border-radius: var(--k-radius-pill); border: var(--k-hair) solid var(--k-line); background: var(--k-card); color: var(--k-ink); cursor: pointer; font-size: var(--k-body); font-weight: var(--k-weight-head); transition: background-color var(--k-dur-control) var(--k-ease), color var(--k-dur-control) var(--k-ease); }
.k-pill-plus { position: relative; flex: none; width: var(--k-badge); height: var(--k-badge); border-radius: var(--k-radius-round); background: var(--k-ink); color: var(--k-bg); }
.k-pill-plus::before, .k-pill-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--k-chevron); height: var(--k-rule); margin: calc(-1 * var(--k-hair)) 0 0 calc(-1 * var(--k-space-1)); border-radius: var(--k-radius-xs); background: currentColor; transition: transform var(--k-dur-control) var(--k-ease); }
.k-pill-plus::after { transform: rotate(90deg); }
.k-pill.is-open .k-pill-btn { background: var(--k-ink); color: var(--k-bg); border-color: var(--k-ink); }
.k-pill.is-open .k-pill-plus { background: var(--k-bg); color: var(--k-ink); }
.k-pill.is-open .k-pill-plus::after { transform: rotate(0deg); }
.k-pill-card { margin-top: var(--k-space-2); padding: var(--k-space-4) var(--k-space-4); border-radius: var(--k-radius-media); background: var(--k-card); border: var(--k-hair) solid var(--k-line); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink); }
.k-pill-card strong { color: var(--k-ink); }
.k-viewer-close { position: absolute; right: 14px; top: 14px; z-index: 4; width: var(--k-control); height: var(--k-control); border-radius: var(--k-radius-round); border: 0; background: var(--k-button-scrim); color: var(--k-white); cursor: pointer; display: grid; place-items: center; }
.k-viewer-close::before, .k-viewer-close::after { content: ""; position: absolute; width: var(--k-bar); height: var(--k-rule); border-radius: var(--k-radius-xs); background: currentColor; transform: rotate(45deg); }
.k-viewer-close::after { transform: rotate(-45deg); }
.k-viewer-close[hidden] { display: none; }
@media (max-width: 1068px) {
  .k-viewer { grid-template-columns: 1fr; gap: var(--k-space-5); }
  .k-viewer-stage, .k-viewer-pills { grid-column: 1; }
  .k-viewer-pills { grid-row: 2; width: min(100%, var(--k-measure-sm)); margin-inline: auto; }
}

/* S14, the fade tab stage: tabs under one stage crossfade its picture and the caption under them */
.k-ts { margin-top: var(--k-gap-media); }
.k-ts-stage { display: grid; width: min(100%, var(--k-stage-width)); margin-inline: auto; }
.k-ts-pane { grid-area: 1 / 1; min-width: 0; transition: opacity var(--k-dur-fade) var(--k-ease); }
html.k-js .k-ts-pane:not(.is-active) { opacity: 0; pointer-events: none; }
.k-ts-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--k-space-1) var(--k-space-8); margin-top: var(--k-space-6); }
/* batch 8 (13 Nov): "Several people on one ticket": one ticket shared by two teammates' computers, in our own drawing
   (build.mjs wallsHTML). Its toggle looks like the tab stage's tabs; the wide drawing above 734 px, the tall one below. */
.k-walls { margin: 0; display: grid; gap: var(--k-space-5); }
.k-walls-modes { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--k-space-1) var(--k-space-8); }
.k-walls-mode { border: 0; border-bottom: var(--k-rule) solid transparent; background: none; padding: var(--k-space-2) var(--k-space-0-5); cursor: pointer; color: var(--k-ink-2); font: inherit; font-size: var(--k-body); }
.k-walls-mode:hover { color: var(--k-ink); }
.k-walls-mode[aria-pressed="true"] { color: var(--k-ink); border-bottom-color: currentColor; }
.k-walls-svg { display: block; width: 100%; height: auto; overflow: visible; }
.k-walls-tall { display: none; max-width: 420px; margin-inline: auto; }
.k-walls-wall { stroke: var(--k-line); stroke-width: 1.2; }
.k-walls-team { fill: color-mix(in srgb, var(--k-ink) 3%, transparent); }
.k-walls-person { fill: color-mix(in srgb, var(--k-ink) 6%, transparent); }
.k-walls-ticket { fill: var(--m-base); stroke: var(--k-accent); stroke-width: 2; }
.k-walls-lbl { font-size: 12px; font-weight: var(--k-weight-head); letter-spacing: 0.08em; fill: var(--k-ink-2); }
.k-walls-who, .k-walls-name { fill: var(--k-ink); }
.k-walls-pic circle, .k-walls-pic path { fill: none; stroke: var(--k-ink); stroke-width: 1.6; stroke-linecap: round; }
.k-walls-agent { fill: var(--k-accent); stroke: var(--m-base); stroke-width: 3; }
.k-walls-talk line { stroke: var(--k-accent); stroke-width: 3; stroke-linecap: round; }
.k-walls-say { font-size: 14px; fill: var(--k-ink-2); }
.k-walls-steer line { stroke: var(--k-ink); stroke-width: 2; stroke-dasharray: 6 5; stroke-linecap: round; }
.k-walls-head { fill: var(--k-ink); }
.k-walls-talk, .k-walls-steer { transition: opacity var(--k-dur-control) var(--k-ease); }
.k-walls[data-mode="talk"] .k-walls-steer { opacity: 0; }
.k-walls[data-mode="steer"] .k-walls-talk { opacity: 0.18; }
.k-walls-cap { margin-inline: auto; max-width: var(--k-line-width); text-align: center; color: var(--k-ink-2); font-size: var(--k-body); line-height: var(--k-body-lh); min-height: calc(2em * var(--k-body-lh)); }
html:not(.k-js) .k-walls-modes { display: none; }
@media (max-width: 734px) { .k-walls-wide { display: none; } .k-walls-tall { display: block; } }
@media (prefers-reduced-motion: reduce) { .k-walls-talk, .k-walls-steer { transition: none; } }
.k-ts-tab { border: 0; border-bottom: var(--k-rule) solid transparent; background: none; padding: var(--k-space-2) var(--k-space-0-5) var(--k-space-2); cursor: pointer; color: var(--k-ink-2); font-size: var(--k-body); }
.k-ts-tab:hover { color: var(--k-ink); }
.k-ts-tab[aria-selected="true"] { color: var(--k-ink); border-bottom-color: currentColor; }
.k-ts-caps { display: grid; max-width: var(--k-line-width); margin: var(--k-space-4) auto 0; text-align: center; }
.k-ts-cap { grid-area: 1 / 1; font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); transition: opacity var(--k-dur-fade) var(--k-ease); }
.k-ts-cap strong { color: var(--k-ink); font-weight: var(--k-weight-head); }
html.k-js .k-ts-cap:not(.is-active) { opacity: 0; }
html:not(.k-js) .k-ts-stage, html:not(.k-js) .k-ts-caps { display: block; }
html:not(.k-js) .k-ts-pane + .k-ts-pane { margin-top: var(--k-space-5); }
html:not(.k-js) .k-ts-tabs { display: none; }

/* S10, the wide slide gallery: broad slides with a caption each, moved by paddles or a swipe */
.k-gallery { margin-top: var(--k-gap-media); }
.k-gslide { flex: 0 0 min(86%, 980px); scroll-snap-align: start; margin: 0; }
.k-gslide .k-frame { --k-ar-desk: 2 / 1; }
.k-gslide-cap { margin-top: var(--k-space-4); max-width: var(--k-line-width); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }
.k-gslide-cap strong { color: var(--k-ink); font-weight: var(--k-weight-head); }
@media (max-width: 734px) { .k-gslide { flex-basis: 88%; } }
/* batch 12 (13 Nov): Together's "Step into the work.", the gallery with 16:10 slides, 4:5 on a phone; a slide's caption is
   its screen's headline and line. The shared-ticket drawing fills its slide: the toggle above, the drawing below it,
   wide on desktop and compact on a phone, its type larger than on a page of its own */
.k-gallery-step .k-gslide .k-frame { --k-ar-desk: 16 / 10; }
.k-gslide-draw { aspect-ratio: 16 / 10; display: grid; min-height: 0; border-radius: var(--k-radius-media); background: var(--k-raise); box-shadow: 0 0 0 var(--k-hair) var(--k-line); padding: var(--k-space-3) var(--k-space-6) var(--k-space-6); overflow: hidden; }
.k-walls-slide { height: 100%; min-height: 0; grid-template-rows: auto minmax(0, 1fr); gap: var(--k-space-3); }
.k-walls-slide .k-walls-svg { width: 100%; height: 100%; min-height: 0; }
.k-walls-slide .k-walls-lbl { font-size: 15px; }
.k-walls-slide .k-walls-say { font-size: 16px; }
.k-walls-slim { display: none; }
@media (max-width: 734px) {
  .k-gslide-draw { aspect-ratio: 4 / 5; padding: var(--k-space-2) var(--k-space-3) var(--k-space-4); }
  .k-walls-slide .k-walls-wide { display: none; }
  .k-walls-slide .k-walls-slim { display: block; }
}
/* batch 12 (13 Nov): Together's "Accelerate together.", four tiles in one style, the violet of Home's v3 card: a picture
   drawn in glass, then the title and line in a wide column, then the tile's More */
.k-gtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--k-space-5); margin-top: var(--k-gap-media); }
.k-gtile { --k-c-ink: var(--k-on-violet); --k-c-ink-2: var(--k-on-violet-2); --k-link: var(--k-on-violet); position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--k-radius-card); background: var(--k-violet-card); color: var(--k-on-violet); overflow: hidden; isolation: isolate; }
.k-gtile-art { position: relative; aspect-ratio: 16 / 9; container-type: inline-size; }
.k-gtile-text { display: grid; align-content: start; gap: var(--k-space-2); padding: 0 var(--k-space-12) var(--k-space-12); }
.k-gtile-h { font-size: var(--k-title); line-height: var(--k-title-lh); letter-spacing: var(--k-title-ls); font-weight: var(--k-weight-head); color: var(--k-c-ink); }
.k-gtile-line { font-size: var(--k-title); line-height: var(--k-title-lh); letter-spacing: var(--k-title-ls); font-weight: var(--k-weight-head); color: var(--k-c-ink-2); }
.k-gtile .k-more { margin-top: var(--k-space-4); justify-self: start; color: var(--k-c-ink); }
@media (max-width: 899px) { .k-gtiles { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 734px) { .k-gtile-text { padding: 0 var(--k-space-8) var(--k-space-8); } }
/* the glass pictures (batch 12), in Home's frosted glass; sizes follow the picture's width (cqw). Each moves once as its
   tile comes into view; under reduced motion nothing moves and each shows its last frame */
.k-art { position: absolute; inset: 0; }
.k-glass { background: var(--k-panel-fill); border: var(--k-hair) solid var(--k-glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--k-shadow-float); }
.k-art-bar { display: block; height: max(4px, 0.9cqw); border-radius: 99px; background: rgba(255, 255, 255, 0.38); }
.k-art-bar-s { width: 60%; background: rgba(255, 255, 255, 0.22); }
.k-art-bar-l { flex: 1; }
/* every run, remembered: run records, each with its trace, filing in under a ticket */
.k-art-runs { display: grid; place-items: center; }
.k-art-col { position: relative; width: min(64%, 400px); display: grid; gap: 1.6cqw; }
.k-art-ticket { display: flex; align-items: center; gap: 1.8cqw; height: 9cqw; padding: 0 2.6cqw; border-radius: 2.2cqw; }
.k-art-dot { flex: none; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #a8f5dc; box-shadow: 0 0 1.4cqw rgba(168, 245, 220, 0.8); }
.k-art-tag { flex: none; font-size: clamp(10px, 2.1cqw, 14px); font-weight: var(--k-weight-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-on-violet); }
.k-art-run { position: relative; display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: 2cqw; height: 7cqw; margin-left: 5cqw; padding: 0 2.2cqw; border-radius: 1.8cqw; }
.k-art-run svg { display: block; width: 100%; height: 3.2cqw; overflow: visible; }
.k-art-run polyline { fill: none; stroke: #c9c1ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.k-art-bars { display: grid; gap: 1cqw; }
.k-art-thread { position: absolute; left: 2.5cqw; top: 9cqw; bottom: 3.5cqw; width: 1px; background: rgba(255, 255, 255, 0.35); }
.k-art-run::before { content: ""; position: absolute; left: -2.5cqw; top: 50%; width: 2.5cqw; height: 1px; background: rgba(255, 255, 255, 0.35); }
@keyframes k-run-in { from { opacity: 0; transform: translate(4cqw, -2cqw) scale(0.96); } }
@keyframes k-trace-draw { from { stroke-dashoffset: 1; } }
html.k-motion .k-gtile.is-in .k-art-run { animation: k-run-in 800ms var(--k-ease) both; animation-delay: calc(300ms + var(--i) * 500ms); }
html.k-motion .k-gtile.is-in .k-art-run polyline { animation: k-trace-draw 900ms var(--k-ease) both; animation-delay: calc(700ms + var(--i) * 500ms); }
/* looked up before they ask: the glass orb (its lines and points drawn by build.mjs, turned by shell.js 19) */
.k-art-orb { display: grid; place-items: center; }
.k-gorb { display: block; width: 100%; height: 100%; overflow: visible; }
.k-gorb-c { fill: none; stroke: #fff; stroke-width: 0.7; }
.k-gorb-back { stroke-opacity: 0.16; }
.k-gorb-front { stroke-opacity: 0.55; }
.k-gorb-p { fill: #fff; }
.k-gorb-mint { fill: #a8f5dc; }
.k-gorb-rim { fill: none; stroke: rgba(255, 255, 255, 0.62); stroke-width: 1.2; }
.k-gorb-rim2 { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
/* share what works: a department card copied across to a second team */
.k-art-share { display: grid; grid-template-columns: 1fr 1fr; gap: 6cqw; padding: 6cqw 7cqw; }
.k-art-zone { position: relative; display: grid; place-items: center; padding: 6cqw 2.6cqw 3cqw; border-radius: 2.6cqw; border: 1px dashed rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.04); }
.k-art-zone-lbl { position: absolute; top: 2.2cqw; left: 2.6cqw; font-size: clamp(9px, 1.9cqw, 13px); font-weight: var(--k-weight-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-on-violet-2); }
.k-art-dept { display: grid; gap: 1.5cqw; width: 100%; padding: 2.4cqw; border-radius: 2cqw; }
.k-art-dept-h { font-size: clamp(11px, 2.3cqw, 16px); font-weight: var(--k-weight-head); color: var(--k-on-violet); }
.k-art-role { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.4cqw; }
.k-art-role i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: rgba(201, 193, 255, 0.95); }
.k-art-role b { height: max(4px, 0.9cqw); width: calc(100% - var(--i) * 18%); border-radius: 99px; background: rgba(255, 255, 255, 0.36); }
.k-art-link { position: absolute; left: calc(50% - 4cqw); top: 54%; width: 7cqw; border-top: 1px dashed rgba(255, 255, 255, 0.65); transform-origin: left center; }
.k-art-link::after { content: ""; position: absolute; right: -1.2cqw; top: calc(-0.7cqw - 0.5px); border-left: 1.2cqw solid rgba(255, 255, 255, 0.8); border-top: 0.7cqw solid transparent; border-bottom: 0.7cqw solid transparent; }
@keyframes k-copy-across { from { opacity: 0; transform: translateX(-46cqw); } 25% { opacity: 1; } }
@keyframes k-link-in { from { opacity: 0; transform: scaleX(0); } }
html.k-motion .k-gtile.is-in .k-art-link { animation: k-link-in 700ms var(--k-ease) both; animation-delay: 300ms; }
html.k-motion .k-gtile.is-in .k-art-copy { animation: k-copy-across 1400ms var(--k-ease) both; animation-delay: 600ms; }
/* learn from your best work: Home's v3 stack, in the middle of its tile, its traces sweeping once */
.k-gtile .k-illo-versions { position: absolute; inset: 0; min-height: 0; }
.k-gtile .k-panels { right: auto; left: 50%; translate: -42% -50%; width: min(42%, var(--k-panel-w)); }
html.k-motion .k-gtile.is-in .k-trace { animation: k-trace var(--k-dur-beat) var(--k-ease-linear) 1 both; animation-delay: calc(var(--i) * 450ms); }
html.k-motion .k-gtile.is-in .k-panel { animation: k-panel-in var(--k-dur-slide) var(--k-ease) both; animation-delay: calc(var(--i) * var(--k-stagger) + var(--k-dur-control)); }
.k-dialog .k-dialog-sub-2 { font-size: var(--k-intro); line-height: var(--k-intro-lh); margin-top: var(--k-space-6); }

/* S17, the framed assurance panel */
.k-assure { display: flex; gap: var(--k-space-6); align-items: flex-start; padding: var(--k-space-8) var(--k-space-9); border-radius: var(--k-radius-card); border: var(--k-hair) solid var(--k-line); background: var(--k-card); }
.k-assure-icon { position: relative; flex: none; width: var(--k-target); height: var(--k-target); border-radius: var(--k-radius-round); background: color-mix(in srgb, var(--k-accent) 14%, transparent); }
.k-assure-icon::after { content: ""; position: absolute; left: 15px; top: 12px; width: var(--k-chevron); height: var(--k-icon); border-right: var(--k-rule) solid var(--k-accent); border-bottom: var(--k-rule) solid var(--k-accent); transform: rotate(45deg); }
.k-assure-h { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); }
.k-assure p { margin-top: var(--k-space-2); max-width: var(--k-line-width); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }
@media (max-width: 734px) { .k-assure { flex-direction: column; gap: var(--k-space-4); padding: var(--k-space-6) var(--k-space-6); } }

/* S18, the image band: the picture edge to edge, drifting slowly from one framing to the next while in view */
.k-band-words { max-width: var(--k-measure); }
.k-band { margin-top: var(--k-gap-media); }
.k-band > .k-frame { border-radius: 0; box-shadow: none; background: var(--k-white); }
/* D8 (U-09): the graph sits in the shared picture frame: the stage's width and the phone's gutters, the media corner,
   the frame's own hairline and no shadow */
.k-band { width: min(100% - 2 * var(--k-gutter), var(--k-stage-width)); margin-inline: auto; }
.k-band > .k-frame { border-radius: var(--k-radius-media); box-shadow: 0 0 0 var(--k-hair) var(--k-line); }
.k-frame[data-shape="band"] { --k-ar-desk: 12 / 5; }

/* S16 as words only: one big statement */
.k-statement-h { font-size: var(--k-display); line-height: var(--k-display-lh); letter-spacing: var(--k-display-ls); font-weight: var(--k-weight-head); background: var(--k-display-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-statement-sec .k-line { margin-top: var(--k-gap-head); font-size: var(--k-intro); }

/* timeline steps: the first two weeks */
.k-tl { position: relative; list-style: none; margin: var(--k-gap-media) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--k-space-10); }
.k-tl::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: var(--k-rule); background: var(--k-line); }
.k-tl-step { position: relative; padding-top: var(--k-space-11); }
.k-tl-dot { position: absolute; left: 0; top: 3px; width: var(--k-avatar); height: var(--k-avatar); border-radius: var(--k-radius-round); background: var(--k-accent); box-shadow: 0 0 0 var(--k-halo) var(--k-bg); }
.k-tl-when { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); }
.k-tl-text { margin-top: var(--k-space-2); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }
@media (max-width: 734px) {
  .k-tl { grid-template-columns: 1fr; gap: var(--k-space-8); padding-left: var(--k-space-9); }
  .k-tl::before { left: 8px; right: auto; top: 6px; bottom: 6px; width: var(--k-rule); height: auto; }
  .k-tl-step { padding-top: 0; }
  .k-tl-dot { left: -36px; top: 4px; }
}

/* the big stat: the price as the figure, its facts in a framed row */
.k-stat-h { font-size: var(--k-headline); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); font-weight: var(--k-weight-head); }
.k-stat-num { display: block; margin: var(--k-space-2) 0 var(--k-space-1); font-size: var(--k-display); line-height: var(--k-tight-lh); letter-spacing: var(--k-display-ls); font-weight: var(--k-weight-head); color: var(--k-ink); }
.k-stat-sec .k-line { margin-top: var(--k-space-6); }
.k-stat-sec .k-more { margin-top: var(--k-space-5); }
.k-stat-panel { list-style: none; margin: var(--k-gap-media) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--k-hair) solid var(--k-line); border-radius: var(--k-radius-card); overflow: hidden; }
.k-stat-item { padding: var(--k-space-7) var(--k-space-7) var(--k-space-8); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }
.k-stat-item + .k-stat-item { border-left: var(--k-hair) solid var(--k-line); }
@media (max-width: 734px) { .k-stat-panel { grid-template-columns: 1fr; } .k-stat-item + .k-stat-item { border-left: 0; border-top: var(--k-hair) solid var(--k-line); } }
/* Request access's price on a grey card in the page's one column (10 Nov), the amount in the accent */
.k-stat-card { padding: var(--k-space-11) var(--k-space-12) var(--k-space-12); border-radius: var(--k-radius-card); background: var(--m-well); }
.k-stat-card .k-stat-num { display: inline; margin: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; color: var(--k-accent); }
.k-stat-card .k-line { max-width: var(--k-measure); margin-top: var(--k-space-4); }
@media (max-width: 734px) { .k-stat-card { padding: var(--k-space-8) var(--k-space-6); } }

/* S21, the card rail: the IT questions, a card each */
.k-rail-sec .k-head { align-items: flex-end; }
.k-rail-sec .k-head .k-line { margin-top: var(--k-space-4); }
.k-rcard { flex: 0 0 clamp(260px, 27%, 330px); scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--k-space-4); min-height: var(--k-rail-h); padding: var(--k-space-8) var(--k-space-8) var(--k-space-8); border-radius: var(--k-radius-tile); background: var(--k-card); color: var(--k-ink); }
.k-rcard-n { width: var(--k-control); height: var(--k-control); border-radius: var(--k-radius-round); display: grid; place-items: center; background: color-mix(in srgb, var(--k-accent) 12%, transparent); color: var(--k-accent); font-weight: var(--k-weight-head); font-variant-numeric: tabular-nums; }
.k-rcard-h { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); }
.k-rcard-b { font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }
@media (max-width: 734px) { .k-rcard { flex-basis: 80%; min-height: 0; } }

/* questions before the call: answers folded behind their questions */
.k-faq { margin-top: var(--k-space-10); border-top: var(--k-hair) solid var(--k-line); }
/* Request access (10 Nov): every question in a box about six questions tall that scrolls on its own; the edge with more
   beyond it fades (shell.js marks which), and the page scrolls as usual everywhere else */
.k-faq-scroll { max-height: var(--k-faq-h); overflow-y: auto; scrollbar-width: thin; border-bottom: var(--k-hair) solid var(--k-line); }
/* batch 8, D5: the box's scroll bar sits out in the gutter, clear of the plus signs, at every width. The box reaches
   --k-faq-out past the questions' right edge and pads it back, so the questions and their plus signs stay put; its top
   and bottom lines are drawn only to the questions' edge, like the lines between them */
.k-faq.k-faq-scroll { margin-right: calc(-1 * var(--k-faq-out)); padding-right: var(--k-faq-out); border-top: 0; border-bottom: 0;
  background: linear-gradient(var(--k-line), var(--k-line)) left top / calc(100% - var(--k-faq-out)) var(--k-hair) no-repeat,
              linear-gradient(var(--k-line), var(--k-line)) left bottom / calc(100% - var(--k-faq-out)) var(--k-hair) no-repeat; }
.k-faq-scroll:focus-visible { outline-offset: var(--k-space-1); }
.k-faq-scroll .k-faq-item:last-child { border-bottom: 0; }
html.k-js .k-faq-scroll { --k-fade-up: 0px; --k-fade-down: 0px; -webkit-mask-image: linear-gradient(to bottom, transparent, var(--k-black) var(--k-fade-up), var(--k-black) calc(100% - var(--k-fade-down)), transparent); mask-image: linear-gradient(to bottom, transparent, var(--k-black) var(--k-fade-up), var(--k-black) calc(100% - var(--k-fade-down)), transparent); }
html.k-js .k-faq-scroll[data-more~="up"] { --k-fade-up: var(--k-space-12); }
html.k-js .k-faq-scroll[data-more~="down"] { --k-fade-down: calc(2 * var(--k-space-12)); }   /* longer than a question, so one always shows faded */
.k-faq-item { border-bottom: var(--k-hair) solid var(--k-line); }
.k-faq-item summary { position: relative; list-style: none; cursor: pointer; padding: var(--k-space-6) var(--k-space-12) var(--k-space-6) 0; font-size: var(--k-intro); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); }
.k-faq-item summary::-webkit-details-marker { display: none; }
.k-faq-item summary::before, .k-faq-item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: var(--k-bar); height: var(--k-rule); margin-top: calc(-1 * var(--k-hair)); border-radius: var(--k-radius-xs); background: currentColor; transition: transform var(--k-dur-control) var(--k-ease); }
.k-faq-item summary::after { transform: rotate(90deg); }
.k-faq-item[open] summary::after { transform: rotate(0deg); }
.k-faq-item p { max-width: var(--k-line-width); padding: 0 0 var(--k-space-6); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); }
.k-faq-item a { color: var(--k-link); }

/* the founders block, and the call to book */
.k-founders { list-style: none; margin: var(--k-gap-media) auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: var(--k-space-7); }
.k-person-ph { --k-ar-desk: 4 / 5; --k-ar-phone: 4 / 5; border-radius: var(--k-radius-media); }
.k-person-name { margin-top: var(--k-space-4); font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); }
.k-person-role { margin-top: var(--k-space-1); font-size: var(--k-body); color: var(--k-ink-2); }
.k-book { display: grid; justify-items: center; gap: var(--k-space-2); margin-top: var(--k-space-14); text-align: center; }
.k-book .k-more { margin-top: var(--k-space-2); }
.k-btn-big { min-height: var(--k-control-lg); padding: var(--k-space-4) var(--k-space-8); font-size: var(--k-intro); }
@media (max-width: 734px) { .k-founders { grid-template-columns: 1fr 1fr; gap: var(--k-space-4); } .k-person-name { font-size: var(--k-intro); } }

/* onward (restored 9 Nov): the next page in the Story's arc as a big card, and beside it the violet card
   with the pilot and the call. The ending is a practical section (white by day), so the next card takes the white
   set's well grey to stand out from it; the violet card keeps the brand's gradient. */
.k-onward { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--k-space-5); }
.k-onward:has(> :only-child) { grid-template-columns: 1fr; }
.k-onward-card { position: relative; display: flex; flex-direction: column; gap: var(--k-space-2); padding: var(--k-space-11) var(--k-space-12) var(--k-space-12); border-radius: var(--k-radius-card); background: var(--m-well); color: var(--k-ink); text-decoration: none; text-align: left; }
.k-onward-next:focus-visible { border-radius: var(--k-radius-card); }
.k-onward-next .k-eyebrow { margin: 0; font-size: var(--k-small); color: var(--k-ink-2); }
.k-onward-h { font-size: var(--k-headline); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); font-weight: var(--k-weight-head); }
.k-onward-b { max-width: var(--k-measure-sm); padding-right: var(--k-space-14); font-size: var(--k-intro); line-height: var(--k-intro-lh); color: var(--k-ink-2); }
.k-onward-go { position: absolute; right: 32px; bottom: 32px; width: var(--k-target); height: var(--k-target); border-radius: var(--k-radius-round); background: var(--k-ink); color: var(--k-bg); }
.k-onward-go::after { content: ""; position: absolute; left: 14px; top: 16px; width: var(--k-chevron); height: var(--k-chevron); border-right: var(--k-rule) solid currentColor; border-top: var(--k-rule) solid currentColor; transform: rotate(45deg); }
.k-onward-next:hover .k-onward-go, .k-onward-next:focus-visible .k-onward-go { background: var(--k-accent); color: var(--k-accent-ink); }
.k-onward-offer { justify-content: center; background: var(--k-violet-card); color: var(--k-white); }
.k-onward-offer p { font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-on-violet-2); }
.k-onward-offer .k-onward-lead { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); color: var(--k-white); }
.k-onward-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--k-space-4) var(--k-space-8); margin-top: var(--k-space-4); }
.k-onward-offer .k-btn { background: var(--k-white); color: var(--k-violet-ink-strong); }
.k-onward-offer .k-link { color: var(--k-white); font-size: var(--k-body); line-height: var(--k-onward-lh); font-weight: var(--k-weight-body); }
.k-onward-offer .k-more { margin-top: 0; color: var(--k-white); }
.k-onward-offer .k-more-icon { background: none; border-color: var(--k-on-violet-2); }
.k-onward-offer .k-more:hover .k-more-icon { border-color: var(--k-white); }
@media (max-width: 734px) { .k-onward-acts { flex-direction: column; align-items: flex-start; } }
@media (max-width: 1068px) { .k-onward { grid-template-columns: 1fr; } }
@media (max-width: 734px) { .k-onward-card { padding: var(--k-space-8) var(--k-space-6) var(--k-space-8); } .k-onward-go { right: 22px; bottom: 22px; } }

/* ---------- round 4 (6 Nov): the laptop, the illustrated cards, the worked example beside its stage ---------- */
/* the laptop: a drawing in our own code until the rendered picture lands; its screen shows the real app. Sizes are in
   container units, so one drawing serves the hero, a card, the diagram and the two small ones in the worked example. */
.k-device { position: relative; width: 100%; aspect-ratio: 1600 / 1000; container-type: inline-size; }
.k-device-glow { position: absolute; left: 12%; right: 12%; top: 10%; bottom: 0; border-radius: var(--k-radius-round); background: var(--k-device-glow-fill); filter: blur(5cqw); opacity: 0.6; pointer-events: none; }
.k-device-lid { position: absolute; left: 11cqw; width: var(--k-device-lid-w); top: 3cqw; height: var(--k-device-lid-h); border-radius: var(--k-radius-lid); padding: var(--k-device-bezel) var(--k-device-bezel) var(--k-device-chin); background: var(--k-device-shell); box-shadow: var(--k-shadow-device); }
.k-device-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--k-radius-screen); background: var(--k-device-screen); }
.k-device-wall { position: absolute; inset: 0; background: var(--k-device-wall); }
.k-device-notch { position: absolute; left: 50%; top: 1.05cqw; width: var(--k-device-notch-w); height: var(--k-device-notch-h); margin-left: calc(-0.5 * var(--k-device-notch-w)); border-radius: var(--k-radius-notch); background: var(--k-device-screen); }
.k-device-deck { position: absolute; left: 2.2cqw; right: 2.2cqw; top: 54.6cqw; height: var(--k-device-deck-h); border-radius: var(--k-radius-deck); background: var(--k-device-deck-fill); box-shadow: var(--k-shadow-deck); }
.k-device-lip { position: absolute; left: 50%; top: 0; width: var(--k-device-lip-w); height: var(--k-device-lip-h); margin-left: calc(-0.5 * var(--k-device-lip-w)); border-radius: var(--k-radius-lip); background: var(--k-device-lip-fill); }
.k-device-window { position: absolute; left: 5%; right: 5%; top: 7%; bottom: 8%; overflow: hidden; border-radius: var(--k-radius-screen); background: var(--k-white); box-shadow: var(--k-shadow-float); }
.k-device-window > img, .k-device-window > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
/* the hero's laptop shows the whole clip in its window (16:9), so the camera's zoom boxes are the clip's own fractions */
.k-device-scene .k-device-window { top: 50%; bottom: auto; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); }
/* the hero as a device film: the laptop floats on the page; the camera moves into its window and back out */
/* the whole laptop fits under the hero's words with the opening at the top of the window: the drawn laptop ends (its deck's foot) at 57.8% of
   its width, so its width is at most the height left under the words times 1 / 0.578; never narrower than 520 px */
.k-hero { --k-film-w: min(100% - 2 * var(--k-gutter), max(var(--k-hero-min), min(var(--k-hero-max), (100svh - var(--k-hero-above)) * 1.73))); }
.k-frame.k-device-film, .k-frame.k-stage, .k-frame.k-hero-clip { --k-ar-desk: 16 / 10; --k-ar-phone: 4 / 3; }
/* batch 6: Home's opening is a clip made for the site, shown whole in the opening's stage; black until its poster loads */
.k-frame.k-hero-clip { background: var(--k-black); }
.k-frame.k-device-film { background: transparent; box-shadow: none; border-radius: var(--k-radius-media); }
.k-device-film > .k-world { transition-duration: var(--k-dur-slide); }
.k-device-film .k-playctl { bottom: 4%; }

/* the illustrated cards: brand colours in both modes (night, dusk and violet), an illustration in place of a screen grab */
.k-hl-card[data-card-theme="night"] { --k-c-bg: var(--k-night-card); --k-c-ink: var(--k-on-violet); --k-c-ink-2: var(--k-lavender-2); --k-c-line: transparent; --k-link: var(--k-lilac); --k-raise: var(--k-glass-2); --k-line: var(--k-glass-3); }
.k-hl-card[data-card-theme="dusk"] { --k-c-bg: var(--k-dusk-card); --k-c-ink: var(--k-on-violet); --k-c-ink-2: var(--k-on-violet-2); --k-c-line: transparent; --k-link: var(--k-on-violet); --k-raise: var(--k-glass-2); --k-line: var(--k-glass-3); }
.k-hl-card { background: var(--k-c-bg); }
.k-illo { position: relative; width: 100%; height: 100%; min-height: 0; }
.k-hl-card[data-layout="top"] .k-illo, .k-hl-card[data-layout="side"] .k-illo, .k-hl-card[data-layout="side-r"] .k-illo { min-height: var(--k-illo-min-h); }
/* the VP's orb and a sentry's radar, side by side with a hairline between them */
.k-illo-pair { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; gap: 0 var(--k-illo-gap); padding: var(--k-illo-pad-pair); }
.k-illo-divide { align-self: stretch; margin: var(--k-illo-divide-m) 0; background: var(--k-hairline-v); }
.k-illo-item { margin: 0; display: grid; justify-items: center; gap: var(--k-space-4); text-align: center; }
.k-illo-item figcaption { display: grid; gap: var(--k-space-1); max-width: var(--k-tile-min); }
.k-illo-item strong { font-size: var(--k-intro); font-weight: var(--k-weight-head); color: var(--k-c-ink); }
.k-illo-item figcaption span { font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-c-ink-2); }
.k-orb, .k-radar { position: relative; display: block; width: var(--k-orb, var(--k-orb-size)); aspect-ratio: 1; border-radius: var(--k-radius-round); overflow: hidden; container-type: inline-size; }
.k-orb { background: var(--k-orb-fill); box-shadow: var(--k-shadow-orb); }
.k-orb-band { position: absolute; left: 6%; right: 6%; top: 43%; height: var(--k-orb-band-h); border-radius: var(--k-radius-round); background: var(--k-orb-band-fill); filter: blur(3.6cqw); }
@keyframes k-orb-band { from { transform: translateX(-10%) scaleX(0.82) rotate(-5deg); } to { transform: translateX(10%) scaleX(1.04) rotate(4deg); } }
.k-orb-rim { position: absolute; inset: 0; border-radius: var(--k-radius-round); background: var(--k-orb-rim-fill); -webkit-mask: radial-gradient(circle, transparent 64%, #000 67%); mask: radial-gradient(circle, transparent 64%, #000 67%); }
@keyframes k-spin { to { transform: rotate(360deg); } }
.k-radar { background: var(--k-radar-fill); box-shadow: var(--k-shadow-orb); }
.k-radar-ring { position: absolute; border-radius: var(--k-radius-round); border: var(--k-hair) solid var(--k-lilac-line); }
.k-radar-ring:nth-child(1) { inset: 11%; }
.k-radar-ring:nth-child(2) { inset: 28%; }
.k-radar-ring:nth-child(3) { inset: 46%; border: 0; background: var(--k-lilac); }
.k-radar-sweep { position: absolute; inset: 0; border-radius: var(--k-radius-round); background: var(--k-radar-sweep-fill); }
.k-radar-blip { position: absolute; left: 50%; top: 50%; width: var(--k-blip); height: var(--k-blip); margin: calc(-0.5 * var(--k-blip)); border-radius: var(--k-radius-round); background: var(--k-amber); box-shadow: var(--k-shadow-blip); transform: rotate(var(--a)) translateY(calc(var(--r) * -46cqw)); opacity: 0.9; }
/* The motion budget (notes/motion-rhythm.md): a picture plays its motion once as it arrives (its card is shown while the
   carousel is on screen, or its row comes into view), then holds. Nothing loops on its own. */
html.k-motion .k-hl[data-inview="true"] .k-hl-card[aria-hidden="false"] .k-orb-band, html.k-motion .is-in .k-tile-vis .k-orb-band { animation: k-orb-band var(--k-dur-beat) var(--k-ease) both; }
html.k-motion .k-hl[data-inview="true"] .k-hl-card[aria-hidden="false"] .k-radar-sweep, html.k-motion .is-in .k-tile-vis .k-radar-sweep { animation: k-spin var(--k-dur-beat) var(--k-ease) 2 both; }
html.k-motion .k-hl[data-inview="true"] .k-hl-card[aria-hidden="false"] .k-radar-blip, html.k-motion .is-in .k-tile-vis .k-radar-blip { animation: k-blip var(--k-dur-reveal) var(--k-ease) both; animation-delay: calc(var(--d, 0s) * 0.65 + var(--k-dur-control)); }
html.k-motion .k-hl[data-inview="true"] .k-hl-card[aria-hidden="false"] .k-orb-rim, html.k-motion .is-in .k-tile-vis .k-orb-rim { animation: k-rim-in var(--k-dur-beat) var(--k-ease) both; }
@keyframes k-rim-in { from { transform: rotate(-140deg); opacity: 0.2; } }
html.k-motion .k-hl[data-inview="true"] .k-hl-card[aria-hidden="false"] .k-trace { animation: k-trace var(--k-dur-beat) var(--k-ease-linear) 2 both; animation-delay: calc(var(--i) * var(--k-dur-move)); }
@keyframes k-blip { 0% { opacity: 0; scale: 0.3; } 45% { opacity: 1; scale: 1.35; } 100% { opacity: 0.9; scale: 1; } }
/* the ticket wall, small, inside the At scale card */
.k-illo-army { position: absolute; inset: -8% -14% -10%; perspective: 1400px; overflow: hidden; }
.k-army-mini { grid-template-columns: repeat(7, minmax(108px, 1fr)); gap: var(--k-space-2); }
.k-army-mini .k-t { padding: var(--k-space-2); font-size: var(--k-caption); border-radius: var(--k-radius-ui); }
/* the laptop on a card, with All agents on its screen */
.k-illo-laptop { display: grid; place-items: center; padding: var(--k-illo-pad-laptop); }
.k-device-card { width: min(100%, var(--k-line-width)); }
/* a question routed to a teammate and the answer back (drawn in SVG; its motion pauses when the card is away) */
.k-illo-team { display: grid; place-items: center; padding: var(--k-illo-pad-team); }
.k-illo-team svg { width: 100%; height: 100%; max-height: var(--k-team-max-h); overflow: visible; }
.k-tm circle { fill: var(--k-glass-1); stroke: var(--k-lilac-line); stroke-width: 1.5; }
.k-tm text { fill: var(--k-lavender-2); font: var(--k-weight-head) var(--k-draw-text) var(--k-font); text-anchor: middle; }
.k-tm-me circle, .k-tm-peer circle { fill: var(--k-violet-fill); stroke: var(--k-lilac-2); stroke-width: 2; }
.k-tm-me text, .k-tm-peer text { fill: var(--k-white); font-size: var(--k-draw-text-lg); }
.k-tm-arc { fill: none; stroke: var(--k-lilac-line); stroke-width: 2; stroke-dasharray: 5 8; }
.k-tm-go circle { fill: var(--k-amber); }
.k-tm-go text { fill: var(--k-amber-ink); font: var(--k-weight-head) var(--k-draw-chip) var(--k-font); text-anchor: middle; }
.k-tm-back circle { fill: var(--k-green); }
.k-tm-back text { fill: var(--k-green-ink); font: var(--k-weight-head) var(--k-draw-chip) var(--k-font); text-anchor: middle; }
.k-tm-cap { fill: var(--k-lavender-2); font: var(--k-weight-medium) var(--k-draw-text) var(--k-font); text-anchor: middle; }
/* skill versions settling into line as traces flow in */
/* the trace lines sweep sideways and stay inside the picture's column; above and below, the stack's glow and its
   lowest panel reach the card's own edges (13 Nov: a 300 px box cut them into a hard-edged rectangle) */
.k-illo-versions { overflow-x: clip; overflow-y: visible; }
.k-trace { position: absolute; left: 0; width: var(--k-trace-w); height: var(--k-rule); top: calc(26% + var(--i) * 11%); background: var(--k-trace-fill); opacity: 0; }
@keyframes k-trace { from { transform: translateX(-60%); opacity: 0; } 25% { opacity: 1; } to { transform: translateX(110%); opacity: 0; } }
.k-panels { position: absolute; right: 12%; top: 50%; width: min(46%, var(--k-panel-w)); aspect-ratio: 4 / 3; translate: 0 -50%; }
.k-panel { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: var(--k-space-4) var(--k-space-4); border-radius: var(--k-radius-media); color: var(--k-white); font-size: var(--k-intro); background: var(--k-panel-fill); border: var(--k-hair) solid var(--k-glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--k-shadow-float); transform: translate(calc((var(--n) - 1 - var(--i)) * -10%), calc((var(--n) - 1 - var(--i)) * 10%)); }
.k-panel:last-child { box-shadow: var(--k-shadow-panel-on); }
@keyframes k-panel-in { from { transform: translate(calc((var(--n) - 1 - var(--i)) * -22% - 10%), calc((var(--n) - 1 - var(--i)) * 18% + 12%)) rotate(-5deg); opacity: 0; } }
html.k-motion .k-hl[data-inview="true"] .k-hl-card[aria-hidden="false"] .k-panel { animation: k-panel-in var(--k-dur-slide) var(--k-ease) both; animation-delay: calc(var(--i) * var(--k-stagger) + var(--k-dur-control)); }
@media (max-width: 1068px) {
  .k-illo-pair { padding: var(--k-illo-pad-pair-tab); }
  .k-hl-card .k-illo { min-height: var(--k-illo-min-h); }
}
@media (max-width: 734px) {
  .k-illo-pair { grid-template-columns: 1fr; grid-template-rows: auto 1px auto; gap: var(--k-space-4) 0; }
  .k-illo-divide { margin: 0 var(--k-illo-divide-x); background: var(--k-hairline-h); }
  .k-orb, .k-radar { --k-orb: var(--k-orb-size); }
  .k-hl-card .k-illo { min-height: var(--k-tile-min); }
}

/* the carousel's welcome, once, when it first comes into view: the dots pill grows from a dot, its dots arrive in turn,
   the first card's illustration settles in */
@keyframes k-pill-grow { from { transform: scaleX(0.16); opacity: 0; } 60% { transform: scaleX(1.05); opacity: 1; } to { transform: none; } }
@keyframes k-pop { from { transform: scale(0); } 70% { transform: scale(1.22); } to { transform: none; } }
@keyframes k-illo-in { from { opacity: 0; transform: scale(0.94) translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
html.k-motion .k-hl.is-entering .k-dots { animation: k-pill-grow var(--k-dur-reveal) var(--k-ease-spring) both; }
html.k-motion .k-hl.is-entering .k-dot { animation: k-pop var(--k-dur-fade) var(--k-ease-spring) both; animation-delay: calc(var(--k-dur-control) + var(--k-n, 0) * var(--k-stagger) / 2); }
html.k-motion .k-hl.is-entering .k-hl-pause { animation: k-pop var(--k-dur-fade) var(--k-ease-spring) both; animation-delay: var(--k-dur-move); }
html.k-motion .k-hl.is-entering .k-hl-card[aria-hidden="false"] .k-illo { animation: k-illo-in var(--k-dur-slide) var(--k-ease) both; animation-delay: var(--k-dur-control); }

/* the worked example: the words and the five steps beside the stage; the stage fits the window, never cut */
.k-zs-pin { grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr); grid-template-rows: none; gap: 0 var(--k-space-12); align-items: start; padding: var(--k-space-6) 0; }
.k-zs-side { display: flex; flex-direction: column; gap: var(--k-space-4); min-width: 0; }
.k-zs-title { font-size: var(--k-small); line-height: var(--k-small-lh); font-weight: var(--k-weight-head); color: var(--k-ink-2); letter-spacing: var(--k-small-ls); }
.k-zs-words { min-height: var(--k-zs-words-h); text-align: left; }
.k-zs-words .k-zs-line { margin: var(--k-space-2) 0 0; max-width: var(--k-measure-sm); }
.k-zs-h { font-size: var(--k-title); }
.k-zs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--k-space-0-5); border-left: var(--k-hair) solid var(--k-line); }
.k-zs-list li { display: flex; gap: var(--k-space-3); margin-left: calc(-1 * var(--k-hair)); padding: var(--k-space-2) 0 var(--k-space-2) var(--k-space-4); border-left: var(--k-rule) solid transparent; font-size: var(--k-small); line-height: var(--k-small-lh); color: var(--k-ink-2); transition: color var(--k-dur-control) var(--k-ease), border-color var(--k-dur-control) var(--k-ease); }
.k-zs-list li span { font-variant-numeric: tabular-nums; opacity: 0.7; }
.k-zs-list li.is-active { color: var(--k-ink); border-left-color: var(--k-accent); }
.k-zs-link { font-size: var(--k-small); }
.k-zs-stage { height: 100%; place-items: center; }
.k-zs-cam { width: min(100%, (100vh - var(--k-nav-h) - var(--k-zs-chrome)) * 1.6); width: min(100%, (100svh - var(--k-nav-h) - var(--k-zs-chrome)) * 1.6); }
.k-zs-stage .k-zs-dots { display: none; }
/* desktop: the words and the picture share one row, centred on each other. The row is as tall as its contents, so it
   arrives right after the cards (D6), and it pins centred in the window below the menu bar (shell.js measures the row
   into --k-zs-row; until it has, the row pins under the menu bar) */
@media (min-width: 1069px) {
  html.k-js .k-zs-pin { height: auto; align-items: center; top: max(var(--k-nav-h), calc((100svh + var(--k-nav-h) - var(--k-zs-row, 100svh)) / 2)); }
  html.k-js .k-zs-stage { height: auto; }
}
@media (max-width: 1068px) {
  .k-zs-pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: var(--k-space-4); align-items: start; padding: var(--k-space-4) 0 var(--k-space-6); }
  .k-zs-list { display: none; }
  .k-zs-words { min-height: var(--k-zs-words-h-tab); }
  .k-zs-stage { place-items: start center; }
  .k-zs-cam { width: min(100%, (100svh - var(--k-nav-h) - var(--k-zs-chrome-tab)) * 1.6); }
  .k-zs-stage .k-zs-dots { display: flex; position: static; transform: none; justify-content: center; gap: var(--k-space-2); margin-top: var(--k-space-3); }
  .k-zs-stage .k-zs-dots span { width: var(--k-dot); height: var(--k-dot); }
  .k-zs-stage .k-zs-dots span.is-active { width: var(--k-badge); height: var(--k-dot); }
}
@media (max-width: 734px) {
  .k-zs-cam { width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--k-nav-h) - var(--k-zs-chrome-phone)); }
  .k-zs-h { font-size: var(--k-title); }
}
/* step 4, in typed words on two laptops: the question, the hand-over, the answer, the session carrying on */
.k-zs-kinetic { display: grid; place-items: center; background: var(--k-violet-glow); }
.k-kin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(64px, 0.3fr) minmax(0, 1fr); align-items: center; gap: 0 var(--k-illo-gap-sm); width: var(--k-kin-w); }
.k-kin-pc { display: grid; gap: var(--k-space-2); justify-items: center; }
.k-kin-who { font-size: var(--k-small); color: var(--k-lavender-2); }
.k-kin-screen { position: absolute; inset: 7% 6%; display: flex; flex-direction: column; justify-content: center; gap: var(--k-space-2); color: var(--k-white); font-size: var(--k-small); line-height: var(--k-small-lh); }
.k-kin-line { padding: var(--k-space-1) var(--k-space-2); border-radius: var(--k-radius-ui); background: var(--k-glass-2); border: var(--k-hair) solid var(--k-glass-3); }
.k-kin-line + .k-kin-line { background: var(--k-green-bg); border-color: var(--k-green-line); }
.k-kin-mid { position: relative; height: var(--k-space-10); display: grid; place-items: center; }
.k-kin-wire { position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: var(--k-rule) dashed var(--k-lilac-line); }
.k-kin-chip { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: var(--k-space-2) var(--k-space-3); border-radius: var(--k-radius-pill); font-size: var(--k-small); white-space: nowrap; font-weight: var(--k-weight-head); opacity: 0; }
.k-kin-go { background: var(--k-amber); color: var(--k-amber-ink); }
.k-kin-back { background: var(--k-green); color: var(--k-green-ink); }
@keyframes k-kin-line { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes k-kin-go { 0% { opacity: 0; transform: translateX(-90%); } 15% { opacity: 1; } 80% { opacity: 1; transform: translateX(90%); } 100% { opacity: 0; transform: translateX(110%); } }
@keyframes k-kin-back { 0% { opacity: 0; transform: translateX(90%); } 15% { opacity: 1; } 80% { opacity: 1; transform: translateX(-90%); } 100% { opacity: 0; transform: translateX(-110%); } }
.k-zs-kinetic .k-kin-line { opacity: 0; }
.k-zs-kinetic.is-on .k-kin-line { animation: k-kin-line var(--k-dur-fade) var(--k-ease) both; animation-delay: var(--k-at); }
.k-zs-kinetic.is-on .k-kin-go { animation: k-kin-go var(--k-dur-slide) var(--k-ease) both; animation-delay: var(--k-at); }
.k-zs-kinetic.is-on .k-kin-back { animation: k-kin-back var(--k-dur-slide) var(--k-ease) both; animation-delay: var(--k-at); }
@media (max-width: 734px) {
  .k-kin { grid-template-columns: 1fr; grid-template-rows: auto 4.2em auto; width: var(--k-kin-w-phone); gap: var(--k-space-1); }
  .k-kin-mid { height: 100%; }
  .k-kin-wire { left: 50%; right: auto; top: 0; bottom: 0; height: auto; border-top: 0; border-left: var(--k-rule) dashed var(--k-lilac-line); }
  @keyframes k-kin-go { 0% { opacity: 0; transform: translateY(-60%); } 15% { opacity: 1; } 80% { opacity: 1; transform: translateY(60%); } 100% { opacity: 0; } }
  @keyframes k-kin-back { 0% { opacity: 0; transform: translateY(60%); } 15% { opacity: 1; } 80% { opacity: 1; transform: translateY(-60%); } 100% { opacity: 0; } }
}

/* Steer's feature cards, each with a small object on the brand's night */
.k-tile-has-vis { padding-top: 0; overflow: hidden; }
.k-tile-vis { display: grid; place-items: center; height: var(--k-tile-vis-h); margin: 0 calc(-1 * var(--k-space-8)); background: var(--k-violet-glow); }
.k-tile-vis .k-orb, .k-tile-vis .k-radar { --k-orb: var(--k-orb-size-sm); }
.k-glyph-big { color: var(--k-lilac); }
.k-glyph-big svg { width: var(--k-control-lg); height: var(--k-control-lg); }

/* S19, the connector diagram: the laptop with what's on it, wired to the team's connectors */
.k-dg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 0.32fr) minmax(0, 0.78fr); align-items: center; margin-top: var(--k-gap-media); }
.k-dg-left, .k-dg-right { margin: 0; position: relative; }
.k-dg-chips { list-style: none; margin: var(--k-space-4) 0 0; padding: 0; display: flex; justify-content: center; gap: var(--k-space-2); flex-wrap: wrap; }
.k-dg-chips li { padding: var(--k-space-2) var(--k-space-4); border-radius: var(--k-radius-pill); background: var(--k-raise); border: var(--k-hair) solid var(--k-line); font-size: var(--k-small); }
.k-dg-left figcaption, .k-dg-right figcaption { margin-top: var(--k-space-3); text-align: center; font-size: var(--k-small); color: var(--k-ink-2); }
.k-dg-wires { width: 100%; height: var(--k-wire-h); overflow: visible; }
.k-dg-wire { fill: none; stroke: color-mix(in srgb, var(--k-accent) 75%, transparent); stroke-width: 1.6; stroke-dasharray: 3 9; }
html.k-motion .k-dg.is-in .k-dg-wire { animation: k-flow var(--k-dur-beat) var(--k-ease-linear) 3 both; animation-delay: calc(var(--i) * -1 * var(--k-dur-fade)); }
@keyframes k-flow { to { stroke-dashoffset: -24; } }
.k-dg-nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--k-space-4); }
.k-dg-node { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--k-radius-squircle); background: var(--k-raise); border: var(--k-hair) solid var(--k-line); color: var(--k-ink); }
.k-dg-node svg { width: var(--k-node-glyph); height: var(--k-node-glyph); }
@media (max-width: 1068px) { .k-dg { grid-template-columns: 1fr; gap: var(--k-space-7); } .k-dg-wires { display: none; } .k-dg-right { width: min(100%, var(--k-measure-sm)); margin-inline: auto; } }

/* reduced motion: no transitions, no reveals; the script also stops autoplay */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: var(--k-dur-instant) !important; animation-duration: var(--k-dur-instant) !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ---------- batch 1 (6 Nov) ---------- */
/* a page that opens with one of its screens (Together, R5; Request access, A4): the page's name as a small title, so
   the screen's ruled headline leads */
.k-page-title { font-size: var(--k-intro); font-weight: var(--k-weight-head); line-height: var(--k-title-lh); color: var(--k-ink-2); margin-bottom: var(--k-space-4); }
/* batch 8 (12 Nov): a page's opening line, shown under its name (Request access): the name's size and colour in the
   body's weight, so it reads as the page's first sentence without competing with the headline */
.k-page-title:has(+ .k-page-open) { margin-bottom: var(--k-space-1); }
.k-page-open { font-size: var(--k-intro); line-height: var(--k-title-lh); color: var(--k-ink-2); margin-bottom: var(--k-space-4); }
/* X2: the opening's stage (Steer, At scale, Together): the clip fills the box, and the camera is its own view box
   (shell.js), so the box itself never moves; the beats sit under it */
.k-stage { background: var(--k-black); }
.k-stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-stage.is-moved > video { inset: auto; left: 0; top: 0; object-fit: fill; transform-origin: 0 0; }
/* one of a chapter's own features as a line under its picture (Together's live session: the limit stays, T4) */
.k-chapter-note { margin-top: var(--k-space-7); font-size: var(--k-intro); line-height: var(--k-intro-lh); font-weight: var(--k-weight-head); color: var(--k-ink); }
/* the way onward is a practical close, not a chapter: half the scale, so it sits close to the page's last line (T8) */
/* one spacing scale (H2, T8): consecutive Story sections share one gap, the section above's bottom padding (144 px, or
   224 px under big media), so a chapter's heading meets its picture instead of a screen of black */
/* the price as one offer (A5): the amount capped near the headline's size, what it includes right under it */
.k-stat-num { font-size: var(--k-display); }
.k-stat-includes { list-style: none; margin: var(--k-space-6) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--k-space-2) var(--k-space-7); font-size: var(--k-intro); line-height: var(--k-intro-lh); font-weight: var(--k-weight-head); color: var(--k-ink); }
.k-stat-includes li::before { content: "+ "; color: var(--k-accent); }
/* one FAQ (A1): the ruled headline and line, then every question one tap away */
.k-faq-head { margin-bottom: var(--k-space-7); }
.k-faq-head .k-line { margin-top: var(--k-space-3); }
/* a page opening on one of its screens (A4) */
.k-pagehead-screen .k-h1 { font-size: var(--k-headline); line-height: var(--k-headline-lh); }
.k-pagehead-screen .k-line { margin-top: var(--k-space-4); }
/* what is on screen at first paint never fades in (A3) */
html.k-js.k-motion [data-reveal].k-no-fade { transition: none; }
/* gradient words keep their descenders: the clip box reaches below the baseline (H1, the "g" in "Together") */
.k-cover-h2, .k-statement-h { padding-bottom: var(--k-descender); margin-bottom: calc(-1 * var(--k-descender)); }

/* the blog (X2): an index and a reading page per post, white like the full-text page */
.k-blog-h { font-size: var(--k-headline); line-height: var(--k-headline-lh); }
.k-post-card { display: grid; gap: var(--k-space-2); padding: var(--k-space-8) var(--k-space-8) var(--k-space-8); border-radius: var(--k-radius-card); background: var(--k-card); border: var(--k-hair) solid var(--k-line); color: var(--k-ink); text-decoration: none; transition: border-color var(--k-dur-control) var(--k-ease); }
.k-post-card:hover { border-color: var(--k-accent); }
.k-post-card-big { padding: var(--k-space-12) var(--k-space-12) var(--k-space-11); }
.k-post-card-h { font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); }
.k-post-card-big .k-post-card-h { font-size: var(--k-headline); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); }
.k-post-meta { font-size: var(--k-small); color: var(--k-ink-2); }
.k-post-dek { font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--k-ink-2); max-width: var(--k-measure); }
.k-blog-more { margin: var(--k-gap-media) 0 var(--k-space-6); }
.k-blog-more .k-line { margin-top: var(--k-space-2); }
.k-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--k-space-5); }
.k-post-back { font-size: var(--k-small); color: var(--k-link); text-decoration: none; }
.k-post-back::before { content: "\2190  "; }
.k-post-h { margin-top: var(--k-space-4); font-size: var(--k-headline); line-height: var(--k-headline-lh); letter-spacing: var(--k-headline-ls); font-weight: var(--k-weight-head); }
.k-post .k-post-dek { margin-top: var(--k-space-4); font-size: var(--k-intro); line-height: var(--k-intro-lh); }
.k-post .k-post-meta { margin-top: var(--k-space-3); }
.k-post-toc { margin-top: var(--k-space-9); padding: var(--k-space-5) var(--k-space-6); border-radius: var(--k-radius-media); background: var(--k-grey); }
.k-post-toc-h { font-size: var(--k-small); font-weight: var(--k-weight-head); color: var(--k-ink-2); margin-bottom: var(--k-space-2); }
.k-post-toc ol { margin: 0; padding-left: var(--k-space-6); display: grid; gap: var(--k-space-1); font-size: var(--k-body); }
.k-post-toc a { color: var(--k-link); text-decoration: none; }
.k-post-body { margin-top: var(--k-space-11); counter-reset: k-post; font-size: var(--k-body); line-height: var(--k-body-lh); }
.k-post-body > * + * { margin-top: var(--k-space-4); }
.k-post-body h2 { margin-top: var(--k-space-14); font-size: var(--k-title); line-height: var(--k-title-lh); font-weight: var(--k-weight-head); scroll-margin-top: calc(var(--k-nav-h) + 20px); }
.k-post-body h2::before { counter-increment: k-post; content: counter(k-post, decimal-leading-zero); display: block; margin-bottom: var(--k-space-2); font-size: var(--k-small); color: var(--k-accent); }
.k-post-body blockquote { margin: var(--k-space-8) 0; padding-left: var(--k-space-5); border-left: var(--k-rule) solid var(--k-accent); font-size: var(--k-intro); line-height: var(--k-intro-lh); color: var(--k-ink); }
.k-post-body ul { padding-left: var(--k-space-6); display: grid; gap: var(--k-space-2); }
@media (max-width: 734px) { .k-post-grid { grid-template-columns: 1fr; } .k-post-card-big { padding: var(--k-space-8) var(--k-space-6) var(--k-space-8); } }

/* ---------- batch 2 (6 Nov) ---------- */
/* X2: the practical pages' lighter opening (Request access, the blog): words on white, and one slow drift of light behind
   them as the page opens, the way the old site's top section moved; it settles and never loops */
.k-lite { overflow: hidden; isolation: isolate; }
.k-lite::before { content: ""; position: absolute; z-index: -1; inset: 0 -20%; background: var(--k-lite-glow); pointer-events: none; }
html.k-motion .k-lite::before { animation: k-lite var(--k-dur-story) var(--k-ease) both; }
@keyframes k-lite { from { opacity: 0; transform: translateX(-12%); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
/* P4: the price as words, in one lockup (the amount solid, at the headline's size); the two weeks as three dates on a
   track, their sentences behind the section's More */
.k-stat-lockup .k-stat-num { display: inline; margin: 0; font-size: inherit; line-height: inherit; }
.k-stat-lockup .k-stat-h { font-size: var(--k-headline); line-height: var(--k-headline-lh); }
.k-tl-sec .k-tl-step:not(:has(.k-tl-text)) { padding-bottom: 0; }
.k-pagehead .k-line strong { color: var(--k-ink); font-weight: var(--k-weight-head); }

/* X3: the shared pieces. Since 9 and 10 Nov every page ends with the violet card (the onward block above). */
.k-btn { font-weight: var(--k-weight-head); }
/* one view switch, under its stage (U-10): labels at small size in the head weight, 44 px targets, a 2 px accent line
   under the chosen one, one row that scrolls sideways on a phone rather than wrapping */
.k-ts-tabs { flex-wrap: nowrap; gap: var(--k-space-4); overflow-x: auto; scrollbar-width: none; }
.k-ts-tabs::-webkit-scrollbar { display: none; }
.k-ts-tab { min-height: var(--k-target); font-size: var(--k-small); font-weight: var(--k-weight-head); white-space: nowrap; border-bottom-width: var(--k-rule); }
.k-ts-tab[aria-selected="true"] { border-bottom-color: var(--k-accent); }
@media (max-width: 734px) { .k-ts-tabs { justify-content: flex-start; } }
/* one corner for product pictures (U-09) */
.k-zs-cam { border-radius: var(--k-radius-media); }
/* P2: the chart's parts are things to look at, not things to add: a chevron, not a plus */
.k-pill-plus::before { width: var(--k-chevron); height: var(--k-chevron); margin: calc(-0.5 * var(--k-chevron)) 0 0 calc(-0.6 * var(--k-chevron)); border-radius: 0; background: none; border-right: var(--k-rule) solid currentColor; border-bottom: var(--k-rule) solid currentColor; transform: rotate(-45deg); }
.k-pill-plus::after { display: none; }
.k-pill.is-open .k-pill-plus::before { transform: rotate(45deg); }

/* X9: the blog's cards, from one editorial card (U-03): artwork in our own drawing, the date and length, the title, the
   note's own line, and a clear way in; the whole card leads to the post */
.k-post-card { position: relative; display: grid; gap: 0; padding: 0; overflow: hidden; border-radius: var(--k-radius-card); background: var(--k-card); border: var(--k-hair) solid var(--k-line); }
.k-post-card-in { display: grid; gap: var(--k-space-3); padding: var(--k-space-8); }
.k-post-card-big .k-post-card-in { padding: var(--k-space-8) var(--k-space-10) var(--k-space-10); }
.k-post-card-h a { color: inherit; text-decoration: none; }
.k-post-card-h a::after { content: ""; position: absolute; inset: 0; }
.k-post-card:hover { border-color: var(--k-accent); }
.k-post-read { position: relative; min-height: var(--k-target); font-size: var(--k-body); }
.k-post-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--k-violet-glow); }
.k-art-orb { display: grid; place-items: center; --k-orb: var(--k-orb-size); }
.k-art-questions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: center; gap: var(--k-space-3); padding: 0 var(--k-space-8); }
.k-art-questions span { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--k-radius-ui); background: var(--k-glass-1); border: var(--k-hair) solid var(--k-lavender-line); color: var(--k-lavender); font-size: var(--k-intro); font-weight: var(--k-weight-head); }
.k-post-art.k-illo-army { position: relative; inset: auto; }
.k-post-art .k-army-grid { position: absolute; inset: -12% -10% -20%; }
@media (max-width: 734px) { .k-post-card-in, .k-post-card-big .k-post-card-in { padding: var(--k-space-6); } .k-art-questions { gap: var(--k-space-2); padding: 0 var(--k-space-4); } .k-art-questions span { font-size: var(--k-small); } }
/* X3: the task's full history stays within reach on a phone */
@media (max-width: 1068px) { .k-zs-link { justify-self: center; } }
/* the tool finder (B4), in At scale's "Equipped to do it right" More */
.k-tools { margin: var(--k-space-6) 0; }
.k-tools-field { display: grid; gap: var(--k-space-2); }
.k-tools-label { font-size: var(--k-small); line-height: var(--k-small-lh); color: var(--m-ink-2); }
.k-tools-q { width: 100%; height: var(--k-target); padding: 0 var(--k-space-4); border: var(--k-hair) solid var(--m-line); border-radius: var(--k-radius-ui); background: var(--m-base); color: var(--m-ink); font: inherit; font-size: var(--k-body); }
.k-dialog .k-tools-status { margin-top: var(--k-space-3); font-size: var(--k-small); line-height: var(--k-small-lh); color: var(--m-ink-2); }
.k-tools-status:empty { display: none; }
.k-tools-list { list-style: none; margin: var(--k-space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--k-tools-col)), 1fr)); gap: var(--k-space-1) var(--k-space-4); }
.k-tools-list[hidden], .k-tools-missing[hidden] { display: none; }
.k-tools-list li { display: flex; align-items: center; gap: var(--k-space-3); min-height: var(--k-target); font-size: var(--k-body); line-height: var(--k-body-lh); color: var(--m-ink); }
.k-tools-mono { flex: none; display: grid; place-items: center; width: var(--k-control); height: var(--k-control); border-radius: var(--k-radius-ui); background: var(--m-well); color: var(--m-ink-2); font-size: var(--k-small); font-weight: var(--k-weight-head); }
.k-tools-list li.k-tools-more { grid-column: 1 / -1; min-height: 0; font-size: var(--k-small); color: var(--m-ink-2); }
.k-tools-missing a { color: var(--m-link); }
/* B6: the list's headings and the dots go straight to a step */
.k-zs-go { display: flex; gap: inherit; width: 100%; margin: calc(-1 * var(--k-space-2)) 0; padding: var(--k-space-2) 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.k-zs-go:hover { color: var(--k-ink); }
.k-zs-dot { display: grid; place-items: center; width: var(--k-space-6); height: var(--k-target); margin: calc((var(--k-dot) - var(--k-target)) / 2) 0; padding: 0; border: 0; background: none; cursor: pointer; }
@media (max-width: 1068px) { .k-zs-stage .k-zs-dots { gap: 0; } }
/* the worked example's words: every step shares one grid cell, so the box always fits its tallest step (with its More)
   and nothing below it is covered (merge B's Mores made steps 2, 3, 6 and 7 taller than the box) */
html.k-js .k-zs-words { display: grid; }
html.k-js .k-zs-w { grid-area: 1 / 1; position: relative; inset: auto; }
/* ...and on a tablet or phone the picture takes the height left under them (the stage is a size container), so the
   picture and its dots always fit the screen however tall the words are */
@media (max-width: 1068px) {
  html.k-js .k-zs-stage { container-type: size; }
  html.k-js .k-zs-cam { width: min(100cqw, (100cqh - var(--k-space-3) - var(--k-dot)) * 1.6); }
}
@media (max-width: 734px) {
  html.k-js .k-zs-cam { max-height: calc(100cqh - var(--k-space-3) - var(--k-dot)); }   /* full width, as before; only its height gives */
}
/* D5 (U-04): on a phone, a selector of up to three labelled choices is a full-width stack: whole, wrapping labels, 44 px
   rows, and the accent bar beside the chosen one (as the worked example's step list) */
@media (max-width: 734px) {
  .k-ts-tabs:not(:has(> :nth-child(4))) { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 0; overflow: visible; border-left: var(--k-hair) solid var(--k-line); }
  .k-ts-tabs:not(:has(> :nth-child(4))) .k-ts-tab { width: 100%; min-height: var(--k-target); margin-left: calc(-1 * var(--k-hair)); padding: var(--k-space-2) var(--k-space-4); text-align: left; white-space: normal; border-bottom: 0; border-left: var(--k-rule) solid transparent; }
  .k-ts-tabs:not(:has(> :nth-child(4))) .k-ts-tab[aria-selected="true"] { border-left-color: var(--k-accent); }
}
/* D12: "Watch the film" beside the cards' label, a play icon before its words */
.k-film-link { font-size: var(--k-body); }
.k-film-link-icon { display: inline-grid; place-items: center; width: var(--k-badge); height: var(--k-badge); border-radius: var(--k-radius-round); border: var(--k-rule) solid currentColor; }
.k-film-link-icon svg { width: var(--k-space-2); height: var(--k-space-2); margin-left: var(--k-hair); }
/* D7 (U-05): the featured note: byline and title beside excerpt and "Read the note", over a capped picture band; a phone
   keeps the picture first */
.k-post-card-big { display: flex; flex-direction: column; }
.k-post-card-big .k-post-art { order: 2; aspect-ratio: auto; height: var(--k-feat-band-h); }
.k-post-feat-head, .k-post-feat-body { display: grid; gap: var(--k-space-3); align-content: start; }
@media (min-width: 735px) { .k-post-card-big .k-post-card-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--k-space-6) var(--k-space-12); align-items: end; } }
@media (max-width: 734px) { .k-post-card-big .k-post-art { order: -1; aspect-ratio: 16 / 9; height: auto; } }
/* D13: story sections rise out of black, once (shell.js 3b); practical white sections and the footer stay as they are */
/* only the rise is timed: a section below the fold hides at once at load, so it never fades out first */
html.k-rise.k-motion main > section[data-day="black"].is-risen > * { transition: opacity var(--k-dur-reveal) var(--k-ease); }
html.k-rise.k-motion main > section[data-day="black"]:not(.is-risen) > * { opacity: 0; }
/* D6 (G-home-307): on a tablet or phone, each worked-example step sits at the foot of the words box, right above the
   picture, so a short step leaves no void between its caption and its picture */
@media (max-width: 1068px) { html.k-js .k-zs-w { align-self: end; } }
/* D6: More sits on its line's top, so the space under it is the media gap alone (an inline button otherwise keeps the
   line's descender below it) */
.k-more { vertical-align: top; }
/* D4: a spotlight pointing out of its frame stays off (shell.js 4b) */
.k-spot.is-out { display: none; }
/* D12: on a phone the cards' label and "Watch the film" share one line, as on desktop (they fit side by side) */
@media (max-width: 734px) { .k-hl .k-head { flex-direction: row; align-items: center; justify-content: space-between; } }

/* batch 19 (run 2's, kept on 15 Nov): Home's worked example in one style. Every step dims the app as much as the assign
   clip dims its own window, and lights one part; a spotlight can belong to a stretch of its clip (shell.js), on desktop
   and tablet. On a phone the frame is too narrow for step 1's light, so step 1 there is the plain panel */
.k-zs { --k-spot-dim: rgba(12, 10, 30, 0.54); }
.k-spot[data-step][data-from].is-on:not(.is-now) { opacity: 0; }
@media (max-width: 734px) { .k-spot[data-from] { display: none; } }

/* batch 20 (16 Nov): At scale as on port 8997, the version picked for launch (run-3/scale-changes.md).
   "Built like your team.": a column of pills beside one scene. At rest a pill is a grey
   pill with a plus in a ring; pressed, its label fades, the same pill grows into its card (423 px at desktop) and the text
   fades in, its name bold and run in. Two round buttons left of the column step through the pills. The scene: a laptop in
   Home's room with the real app on its screen, set in perspective by shell.js; each pill turns the screen to face you and
   lights one part. --k-pl-card is the open card's width, --k-pl-pad its padding, --k-pl-h a pill's height */
.k-pl { --k-pl-card: 423px; --k-pl-pad: 28px; --k-pl-h: 56px; --k-pl-fill: rgba(42, 42, 45, 0.72); --k-pl-ink: #f5f5f7; --k-pl-ring: #8f83ee;
  position: relative; display: grid; grid-template-columns: 44px 23px var(--k-pl-card) 32px minmax(0, 1fr); align-items: center; width: min(1392px, 100% - 48px); margin: var(--k-gap-media) auto 0; }
.k-pl-stage { grid-column: 5; grid-row: 1; position: relative; aspect-ratio: 2752 / 1536; overflow: hidden; border-radius: 28px; background: #050505; isolation: isolate; }
.k-pl-cam { position: absolute; left: 0; top: 0; width: 2752px; height: 1536px; transform-origin: 0 0; will-change: transform; }
.k-pl-plate { position: absolute; inset: 0; width: 2752px; height: 1536px; display: block; max-width: none; }
.k-pl-screen { position: absolute; left: 0; top: 0; width: 1990px; height: 1244px; transform-origin: 0 0; overflow: hidden; background: #0e0e10; }
.k-pl-shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.55s ease; }
.k-pl-shot.is-on { opacity: 1; }
.k-pl-shot img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left top; display: block; }
.k-pl-glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 38%), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0) 30%); }
.k-pl-tile { position: absolute; }
.k-pl-tile img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; display: block; }
.k-pl-tile .k-pl-refl { top: 100%; transform: scaleY(-1); opacity: 0.22; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 42%); mask-image: linear-gradient(to top, #000 0%, transparent 42%); }
.k-pl-tile::after { content: ""; position: absolute; left: 5%; right: 5%; bottom: -4px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); filter: blur(4px); }
.k-pl-spill { position: absolute; left: -35%; right: -35%; top: 78%; height: 80%; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 236, 196, 0.3), rgba(150, 236, 196, 0)); mix-blend-mode: screen; }
.k-pl-spill.is-violet { background: radial-gradient(closest-side, rgba(168, 150, 255, 0.3), rgba(168, 150, 255, 0)); }
.k-pl-spot { position: absolute; border-radius: 18px; box-shadow: 0 0 0 4000px rgba(10, 10, 14, 0.46); outline: 3px solid rgba(143, 131, 238, 0.95); outline-offset: 4px; opacity: 0; transition: left 0.95s cubic-bezier(0.42, 0, 0.18, 1), top 0.95s cubic-bezier(0.42, 0, 0.18, 1), width 0.95s cubic-bezier(0.42, 0, 0.18, 1), height 0.95s cubic-bezier(0.42, 0, 0.18, 1), opacity 0.5s ease; }
.k-pl-spot.is-on { opacity: 1; }
.k-pl .k-pl-close { right: 16px; top: 16px; z-index: 3; width: 44px; height: 44px; }
.k-pl .k-pl-list { grid-column: 3; grid-row: 1; align-self: center; position: relative; z-index: 2; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.k-pl .k-pl-list .k-pill { position: relative; flex: none; height: var(--k-pl-h); border-radius: calc(var(--k-pl-h) / 2); background: var(--k-pl-fill); overflow: hidden; }
.k-pl.is-ready .k-pl-list .k-pill { transition: width 0.5s cubic-bezier(0.25, 1.12, 0.4, 1), height 0.5s cubic-bezier(0.25, 1.12, 0.4, 1), border-radius 0.35s ease; }
.k-pl .k-pl-list .k-pill.is-open { border-radius: 28px; }
.k-pl .k-pl-list .k-pill:has(.k-pill-btn:focus-visible) { outline: 2px solid var(--k-pl-ring); outline-offset: 3px; }
.k-pl .k-pl-list .k-pill-btn { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 10px; height: var(--k-pl-h); min-height: 0; margin: 0; padding: 0 32px 0 14px; border: 0; border-radius: 0; background: none; color: var(--k-pl-ink); font-size: 17px; line-height: 21px; font-weight: 600; letter-spacing: -0.374px; white-space: nowrap; outline: none; transition: opacity 0.4s ease-in-out 0.35s; }
.k-pl .k-pl-list .k-pill.is-open .k-pill-btn { opacity: 0; pointer-events: none; background: none; color: var(--k-pl-ink); border: 0; transition: opacity 0.15s ease; }
.k-pl .k-pl-list .k-pill-plus, .k-pl .k-pl-list .k-pill.is-open .k-pill-plus { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; background: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.k-pl .k-pl-list .k-pill-plus::before, .k-pl .k-pl-list .k-pill-plus::after, .k-pl .k-pl-list .k-pill.is-open .k-pill-plus::before { content: ""; display: block; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; border: 0; border-radius: 1px; background: currentColor; transform: none; }
.k-pl .k-pl-list .k-pill-plus::after, .k-pl .k-pl-list .k-pill.is-open .k-pill-plus::after { transform: rotate(90deg); }
/* the card: one paragraph, its name bold and run in; laid out even while closed, so it can fade and be measured */
.k-pl .k-pl-list .k-pill-card, .k-pl .k-pl-list .k-pill-card[hidden] { display: block; position: absolute; left: 0; top: 0; width: var(--k-pl-card); box-sizing: border-box; margin: 0; padding: var(--k-pl-pad); border: 0; border-radius: 0; background: none; color: var(--k-pl-ink); font-size: 17px; line-height: 25px; font-weight: 400; letter-spacing: -0.374px; opacity: 0; transform: translateY(var(--k-pl-pad)); visibility: hidden; transition: opacity 0.15s ease, transform 0s linear 0.15s, visibility 0s linear 0.15s; }
.k-pl .k-pl-list .k-pill.is-open .k-pill-card { opacity: 1; transform: none; visibility: visible; transition: opacity 0.6s ease-in-out 0.25s, transform 0.4s ease-in-out 0.25s, visibility 0s; }
.k-pl .k-pl-list .k-pill-card strong { font-weight: 600; color: var(--k-pl-ink); }
.k-pl .k-pl-list .k-pill-card p { margin: 0; }
.k-pl .k-pl-list .k-pill-card p + p, .k-pl .k-pl-list .k-pill-card .k-pl-finder { margin-top: 12px; }
/* previous and next: two round buttons left of the column, one above the other, shown while a pill is open */
.k-pl-nav { grid-column: 1; grid-row: 1; align-self: center; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.k-pl:not([data-open="0"]) .k-pl-nav { opacity: 1; visibility: visible; transition: opacity 0.3s ease 0.2s, visibility 0s; }
.k-pl-nav button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--k-pl-fill); color: var(--k-pl-ink); cursor: pointer; display: grid; place-items: center; transition: opacity 0.25s ease, background-color 0.2s ease; }
.k-pl-nav button:hover:not(:disabled) { background: rgba(72, 72, 76, 0.82); }
.k-pl-nav button:disabled { opacity: 0.4; cursor: default; }
.k-pl-nav button:focus-visible { outline: 2px solid var(--k-pl-ring); outline-offset: 3px; }
.k-pl-nav svg { width: 16px; height: 16px; }
.k-pl-finder .k-tools { margin: 0; }
.k-pl-finder .k-tools-field { display: block; }
.k-pl-finder .k-tools-label { display: block; font-size: 14px; line-height: 20px; letter-spacing: -0.224px; opacity: 0.78; margin-bottom: 6px; }
.k-pl-finder input { width: 100%; box-sizing: border-box; }
.k-pl-finder .k-tools-list { max-height: 120px; overflow: auto; }
/* tablet and phone: the picture on top, the pills under it; the buttons sit either side of the open card */
@media (max-width: 1068px) {
  .k-pl { display: block; width: calc(100% - 48px); }
  .k-pl-stage { max-width: 900px; margin: 0 auto; }
  .k-pl .k-pl-list { width: var(--k-pl-card); margin: 24px auto 0; }
  .k-pl-nav { position: absolute; left: 0; top: 0; flex-direction: row; justify-content: space-between; gap: 0; pointer-events: none; }
  .k-pl-nav button { pointer-events: auto; width: 44px; height: 88px; border-radius: 22px; background: none; }
  .k-pl-nav button:hover:not(:disabled) { background: none; }
  .k-pl-nav svg { width: 20px; height: 20px; transform: rotate(-90deg); }
  .k-pl-nav button:disabled { opacity: 0; }
}
@media (max-width: 734px) {
  .k-pl { --k-pl-card: min(310px, 100vw - 80px); --k-pl-pad: 24px; --k-pl-h: 44px; width: calc(100% - 32px); margin-top: var(--k-gap-media); }
  .k-pl-stage { aspect-ratio: 4 / 3; border-radius: 18px; position: sticky; top: 60px; z-index: 3; box-shadow: 0 18px 30px 6px #000; }
  .k-pl .k-pl-list { margin-top: 18px; }
  .k-pl .k-pl-list .k-pill-btn { padding: 0 32px 0 16px; font-size: 14px; line-height: 18px; letter-spacing: -0.224px; }
  .k-pl .k-pl-list .k-pill-card, .k-pl .k-pl-list .k-pill-card[hidden] { font-size: 14px; line-height: 20px; letter-spacing: -0.224px; }
  .k-pl-nav button { width: 40px; }
  .k-pl .k-pl-close { right: 10px; top: 10px; width: 36px; height: 36px; }
}
/* "Tickets that start themselves": one made clip, no switch, in a frame that crops its empty foot of table */
.k-tk-fig { width: min(100% - 2 * var(--k-gutter), 1180px); margin: var(--k-gap-media) auto 0; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: var(--k-tk-ar); }
.k-tk-fig video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--k-tk-at); }
@media (max-width: 734px) { .k-tk-fig { border-radius: 14px; aspect-ratio: var(--k-tk-ar-p); } .k-tk-fig video { object-position: var(--k-tk-at-p); } }
/* "Desktop agents, not cloud agents": its two sentences as two choices beside one picture that changes */
.k-dk { display: grid; grid-template-columns: 1.9fr 1fr; gap: 40px; align-items: center; width: min(1320px, 100% - 48px); margin: var(--k-gap-media) auto 0; }
.k-dk-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; background: #050505; }
.k-dk-pic { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.k-dk-pic.is-on { opacity: 1; }
.k-dk-pic img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transform-origin: 0 0; transition: transform 1.2s cubic-bezier(0.42, 0, 0.18, 1); }
.k-dk-pic picture { display: block; width: 100%; height: 100%; }
.k-dk-pic.is-screen { padding: 2.2%; box-sizing: border-box; background: radial-gradient(120% 90% at 50% 40%, #1d1b2b 0%, #08080b 70%); }
.k-dk-shot { position: relative; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.k-dk-shot img { object-position: left top; border-radius: 0; box-shadow: none; }
.k-dk-spot { position: absolute; border-radius: 8px; box-shadow: 0 0 0 3000px rgba(10, 10, 14, 0.3); outline: 2px solid rgba(143, 131, 238, 0.95); outline-offset: 2px; opacity: 0; transition: all 0.7s cubic-bezier(0.42, 0, 0.18, 1); }
.k-dk-spot.is-on { opacity: 1; }
.k-dk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.k-dk-item { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-left: 2px solid rgba(255, 255, 255, 0.16); padding: 12px 0 12px 20px; cursor: pointer; opacity: 0.62; transition: opacity 0.35s ease, border-color 0.35s ease; }
.k-dk-item:hover { opacity: 0.8; }
.k-dk-item[aria-pressed="true"] { opacity: 1; border-left-color: #8f83ee; }
.k-dk-item:focus-visible { outline: 2px solid #8f83ee; outline-offset: 3px; }
.k-dk-item span { display: block; font-size: 19px; line-height: 1.4; }
@media (max-width: 1068px) { .k-dk { grid-template-columns: 1.3fr 1fr; gap: 28px; } }
@media (max-width: 734px) {
  .k-dk { display: block; width: calc(100% - 32px); }
  .k-dk-stage { aspect-ratio: 1 / 1; border-radius: 18px; position: sticky; top: 60px; z-index: 3; box-shadow: 0 18px 30px 6px #000; }
  .k-dk-list { margin-top: 18px; }
  .k-dk-item span { font-size: 17px; }
}
