/* MarcusLabs — site styles. Colors only from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--charcoal); -webkit-text-size-adjust: 100%; overflow-x: clip; scrollbar-color: var(--cocoa) var(--charcoal); scroll-padding-top: calc(72 * var(--u)); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  position: relative; margin: 0; overflow-x: clip;
  font-family: var(--text); font-stretch: 100%; font-weight: 400;
  font-size: calc(15.5 * var(--u)); line-height: 1.62; color: var(--ink-2); background: var(--grain) 0 0 / 128px 128px repeat, var(--charcoal);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
/* a filled region's column (main.js fillScreens) sets its own base size, so its plain text grows with it */
.page-sec > .wrap, .page-hero-in { font-size: calc(15.5 * var(--u0) * min(var(--f), 1.2)); }
/* while main.js measures a region (fillBox): its layout without motion (no reveal rise, no drag, no transitions) */
.fill-measure, .fill-measure *, .fill-measure *::before, .fill-measure *::after { transform: none !important; translate: none !important; transition: none !important; }
.fill-settle, .fill-settle *, .fill-settle *::before, .fill-settle *::after { transition: none !important; }
a { color: var(--ink); text-underline-offset: calc(4 * var(--u)); text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
::selection { background: var(--amber); color: var(--charcoal); }
:focus-visible { outline: calc(2 * var(--u)) solid var(--amber); outline-offset: calc(3 * var(--u)); }
.tone-light :focus-visible, .nav.on-light :focus-visible { outline-color: var(--charcoal); }
[tabindex="-1"]:focus { outline: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--sans); font-stretch: var(--expanded); }
b, strong { color: var(--ink); font-weight: 650; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: calc(12 * var(--u)); top: calc(-60 * var(--u)); z-index: 60; background: var(--amber); color: var(--charcoal); padding: calc(8 * var(--u)) calc(12 * var(--u)); }
.skip:focus { top: calc(12 * var(--u)); }

/* ---------- print grain: part of each surface, so it scrolls with the page ---------- */
section, footer, aside { position: relative; color: var(--ink-2); }
.bg { position: absolute; inset: 0; z-index: 0; background: var(--grain) 0 0 / 128px 128px repeat, var(--bg); }
.wrap { position: relative; z-index: 3; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
.mono, .eyebrow, .k, .pill, .btn, kbd { font-family: var(--mono); }
.btn { font-family: "ML Arrows", var(--mono); }   /* the buttons' arrows; every letter still comes from ML Mono */
.mono { letter-spacing: .02em; }
.k { display: block; margin: 0 0 calc(14 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
h2.k, h3.k { font-family: var(--mono); font-stretch: 100%; font-weight: 400; line-height: 1.5; color: var(--ink-3); }
.h-xl { font-size: clamp(calc(34 * var(--u)), calc(5.3vw * var(--f)), calc(74 * var(--u))); line-height: 1.02; font-weight: 820; letter-spacing: -.018em; max-width: 15em; text-wrap: balance; }
.h-m { font-size: clamp(calc(20 * var(--u)), calc(1.9vw * var(--f)), calc(26 * var(--u))); line-height: 1.2; font-weight: 760; margin-bottom: calc(14 * var(--u)); letter-spacing: -.01em; text-wrap: balance; }
.lede { font-size: clamp(calc(15.5 * var(--u)), calc(1.2vw * var(--f)), calc(18 * var(--u))); line-height: 1.6; color: var(--ink-2); max-width: 38em; margin-top: calc(30 * var(--u)); }
.cap { margin-top: calc(14 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: .04em; color: var(--ink-3); }
.small { font-size: calc(12 * var(--u)); }
.note { font-size: calc(12 * var(--u)); color: var(--ink-3); letter-spacing: .03em; }

.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: calc(12 * var(--u)) calc(16 * var(--u)); margin: 0 0 calc(30 * var(--u));
  font-size: calc(12 * var(--u)); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow .idx { color: var(--accent); }
.eyebrow .t { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: calc(7 * var(--u)); padding: calc(4 * var(--u)) calc(9 * var(--u)) calc(3 * var(--u)); border: 1px solid var(--line); border-radius: calc(2 * var(--u));
  font-size: calc(11 * var(--u)); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.pill.live::before { content: ""; width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: var(--amber); animation: blink 2.4s steps(2, end) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(13 * var(--u)) calc(18 * var(--u)) calc(12 * var(--u)); border: 1px solid var(--ink); border-radius: calc(2 * var(--u));
  font-size: calc(12.5 * var(--u)); letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--ink); background: transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out; }
.btn:hover { background: var(--ink); color: var(--bg); transition-duration: 0s; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.btn-amber:hover { background: var(--cream); border-color: var(--cream); color: var(--charcoal); }
.tone-light .btn-amber:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.btn.is-soon { border-style: dashed; border-color: var(--line); color: var(--ink-3); cursor: default; }
.btn.is-soon:hover { background: transparent; color: var(--ink-3); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: calc(12 * var(--u)) calc(14 * var(--u)); margin-top: calc(34 * var(--u)); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; color: var(--cream);
  transition: transform .55s var(--ease-out), background-color .25s, color .25s; }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cocoa); opacity: 0; transition: opacity .25s; }
.nav.is-solid { background: var(--charcoal); }
.nav.is-solid::after { opacity: 1; }
.nav.on-light { background: var(--cream); color: var(--charcoal); }
.nav.on-light::after { background: var(--taupe); }
.nav.is-hidden { transform: translateY(-101%); }
.nav:focus-within { transform: none; }
.nav-in { display: flex; align-items: center; gap: calc(22 * var(--u)); height: calc(64 * var(--u)); padding-inline: clamp(calc(16 * var(--u)), calc(3vw * var(--f)), calc(40 * var(--u))); }
.nav-mark { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 870; font-size: calc(17 * var(--u)); letter-spacing: -.01em; color: inherit; text-decoration: none; }
.nav-mark:hover { color: inherit; }
.nav-where { margin: 0 auto 0 calc(8 * var(--u)); font-size: calc(11 * var(--u)); letter-spacing: .12em; color: var(--taupe); white-space: nowrap; }
.nav.on-light .nav-where { color: var(--cocoa); }
.nav-where i { font-style: normal; margin: 0 calc(4 * var(--u)); color: var(--cocoa); }
.nav.on-light .nav-where i { color: var(--taupe); }
.nav-where b { margin-left: calc(10 * var(--u)); color: inherit; font-weight: 400; }
.nav-links { display: flex; gap: calc(22 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: .1em; text-transform: uppercase; }
.nav-links a { color: var(--taupe); text-decoration: none; transition: color .15s; }
.nav.on-light .nav-links a { color: var(--cocoa); }
.nav-links a:hover, .nav-links a.is-here, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav.on-light .nav-links a:hover, .nav.on-light .nav-links a.is-here, .nav.on-light .nav-links a[aria-current="page"] { color: var(--charcoal); }
.nav-links a.is-here { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: calc(6 * var(--u)); }
.nav-cta { padding: calc(10 * var(--u)) calc(14 * var(--u)) calc(9 * var(--u)); font-size: calc(11.5 * var(--u)); }
.nav-menu { display: none; margin-left: auto; background: none; border: 1px solid currentColor; color: inherit; padding: calc(8 * var(--u)) calc(12 * var(--u)) calc(7 * var(--u)); font-size: calc(11.5 * var(--u)); letter-spacing: .1em; text-transform: uppercase; border-radius: calc(2 * var(--u)); cursor: pointer; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: calc(2 * var(--u)); pointer-events: none; }
.nav-progress i { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.menu { position: fixed; inset: 0; z-index: 19; background: var(--charcoal); display: grid; place-items: center; }
.menu[hidden] { display: none; }
.menu-in { display: grid; gap: calc(6 * var(--u)); width: min(calc(520 * var(--u)), 100% - calc(48 * var(--u))); }
.menu-in a:not(.btn) { display: flex; align-items: baseline; gap: calc(16 * var(--u)); padding: calc(10 * var(--u)) 0; border-bottom: 1px solid var(--cocoa);
  font-family: var(--sans); font-stretch: var(--expanded); font-weight: 800; font-size: clamp(calc(26 * var(--u)), calc(7vw * var(--f)), calc(40 * var(--u))); color: var(--cream); text-decoration: none;
  opacity: 0; transform: translateY(calc(14 * var(--u))); animation: menuIn .5s var(--ease-out) forwards; animation-delay: calc(60ms + var(--i, 0) * 45ms); }
.menu-in a span { font-size: calc(12 * var(--u)); color: var(--amber); font-weight: 400; }
.menu-in .btn { margin-top: calc(24 * var(--u)); justify-content: center; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(120 * var(--u)) 0 calc(36 * var(--u)); }
.hero-wrap { container-type: inline-size; padding-block: calc(4vh * var(--f)) calc(6vh * var(--f)); }
.hero-apps { display: flex; flex-wrap: wrap; align-items: center; gap: .2em .62em; margin: 0 0 clamp(calc(36 * var(--u)), calc(9vh * var(--f)), calc(120 * var(--u)));
  font-family: var(--sans); font-stretch: var(--expanded); font-weight: 870; font-size: clamp(calc(19 * var(--u)), 3.25cqi, calc(46 * var(--u))); line-height: 1; letter-spacing: .01em; color: var(--olive); }
.hero-apps a { color: var(--cocoa); text-decoration: none; }   /* the names in dark brown; the dots between them stay olive */
.hero-apps a:hover { color: var(--cream); }
.hero-apps i { font-style: normal; font-size: .45em; }
.hero-mark { margin: 0; font-family: var(--sans); font-stretch: var(--expanded); font-weight: 870; color: var(--cream); line-height: .9; letter-spacing: -.022em;
  font-size: calc(100cqi / 6.62); white-space: nowrap; }
.hm { display: inline-block; }
.hm .ch { display: inline; }  /* inline keeps the font's kerning between letters */
.hero-slogan { margin: clamp(calc(10 * var(--u)), 1.6cqi, calc(22 * var(--u))) 0 0; font-size: clamp(calc(17 * var(--u)), 3.45cqi, calc(50 * var(--u))); line-height: 1.2; color: var(--amber); letter-spacing: 0; }
.caret { display: inline-block; width: .55em; height: 1em; margin-left: .12em; vertical-align: -.14em; background: var(--amber); animation: blink 1.05s steps(2, end) infinite; }
.hero-row { margin-top: clamp(calc(40 * var(--u)), calc(7vh * var(--f)), calc(80 * var(--u))); }
.hero-live { display: inline-grid; gap: calc(6 * var(--u)); color: var(--stone); text-decoration: none; border-left: 1px solid var(--cocoa); padding: calc(4 * var(--u)) 0 calc(4 * var(--u)) calc(16 * var(--u)); }
.hero-live .mono { font-size: calc(11.5 * var(--u)); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); display: inline-flex; align-items: center; gap: calc(8 * var(--u)); }
.hero-live .dot { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: var(--amber); animation: blink 2.4s steps(2, end) infinite; }
.hero-live-t { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 650; font-size: clamp(calc(15 * var(--u)), calc(1.5vw * var(--f)), calc(19 * var(--u))); color: var(--cream); }
.hero-live:hover .hero-live-t { color: var(--amber); }
.hero-book { display: grid; gap: calc(6 * var(--u)); margin-top: clamp(calc(64 * var(--u)), calc(14vh * var(--f)), calc(170 * var(--u))); text-decoration: none; width: fit-content; }
.hb-title { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 870; font-size: clamp(calc(30 * var(--u)), 4.4cqi, calc(62 * var(--u))); line-height: 1; color: var(--cocoa); letter-spacing: -.01em; transition: color .3s; }
.hb-sub { font-size: clamp(calc(11 * var(--u)), 1.12cqi, calc(16 * var(--u))); color: var(--cocoa); letter-spacing: .01em; line-height: 1.35; }
.hero-book:is(:hover, :focus-visible) .hb-title, .hero-book:is(:hover, :focus-visible) .hb-sub { color: var(--taupe); }
.hero-foot { display: flex; align-items: center; gap: calc(16 * var(--u)); font-size: calc(11 * var(--u)); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.hf-line { flex: 1; height: 1px; background: var(--cocoa); transform-origin: 0 50%; }

/* hero intro */
.js .hm .ch { opacity: 0; }
.js .hm { transform: translateY(.22em); clip-path: inset(-10% -2% 100% -2%); }
.is-ready .hm { transform: none; clip-path: inset(-10% -2% -12% -2%); transition: transform 1.3s var(--ease-out) .1s, clip-path 1.1s var(--ease-out) .1s; }
.js .hero-apps a, .js .hero-apps i { opacity: 0; }
.js .hero-row, .js .hero-book, .js .hero-foot { opacity: 0; transform: translateY(calc(16 * var(--u))); }
.is-ready .hm .ch { opacity: 1; transition: opacity .55s ease-out; transition-delay: calc(160ms + var(--i) * 55ms); }
.is-ready .hero-apps a, .is-ready .hero-apps i { opacity: 1; transition: opacity .6s ease-out; transition-delay: calc(700ms + var(--i, 0) * 140ms); }
.is-ready .hero-row, .is-ready .hero-book, .is-ready .hero-foot { opacity: 1; transform: none; transition: opacity .9s ease-out, transform 1s var(--ease-out); }
.is-ready .hero-row { transition-delay: 1.9s; }
.is-ready .hero-book { transition-delay: 2.15s; }
.is-ready .hero-foot { transition-delay: 2.4s; }

/* ---------- sections ---------- */
.sec { padding: clamp(calc(140 * var(--u)), calc(15vw * var(--f)), calc(220 * var(--u))) 0 clamp(calc(110 * var(--u)), calc(12vw * var(--f)), calc(170 * var(--u))); }
.sec-head { margin-bottom: clamp(calc(56 * var(--u)), calc(7vw * var(--f)), calc(100 * var(--u))); }
.with-mark .app-mark { display: flex; align-items: center; gap: calc(18 * var(--u)); margin: 0 0 calc(34 * var(--u)); }
.app-mark img { width: calc(64 * var(--u)); height: calc(64 * var(--u)); border-radius: calc(15 * var(--u)); }
.app-mark img.ear { width: auto; border-radius: 0; }   /* Kritus: just the ear, no tile */
/* one letter spacing for all three names (KRITUS and KYKLUS once copied their apps' wider title tracking) */
.app-mark .wm { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 870; font-size: clamp(calc(22 * var(--u)), calc(2.4vw * var(--f)), calc(30 * var(--u))); letter-spacing: .06em; color: var(--ink); }
.app-mark .wm.olive { color: var(--olive); }
.app-mark .spin { border-radius: 50%; }

.block { margin-top: clamp(calc(80 * var(--u)), calc(10vw * var(--f)), calc(150 * var(--u))); }
.block-head { max-width: calc(720 * var(--u)); margin-bottom: calc(30 * var(--u)); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(calc(32 * var(--u)), calc(5vw * var(--f)), calc(80 * var(--u))); align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(calc(36 * var(--u)), calc(6vw * var(--f)), calc(96 * var(--u))); align-items: start; }

/* image reveal: palette dither first, then the real picture clears through it like lifting fog (main.js draws the
   fog on a canvas, .f, and adds .is-in at the end). Without scripts the real picture simply shows. */
.shot { position: relative; margin: 0; --bz: 0px; --bzt: 0px; }
.shot img { width: 100%; }
.shot .d { display: block; height: auto; image-rendering: pixelated; }
.shot .r, .shot .f { position: absolute; left: var(--bz); right: var(--bz); top: calc(var(--bz) + var(--bzt)); bottom: var(--bz);
  width: calc(100% - 2 * var(--bz)); height: calc(100% - 2 * var(--bz) - var(--bzt)); object-fit: cover; }
.shot .f { pointer-events: none; object-fit: fill; }   /* main.js crops it like the picture */
.js .shot .r { clip-path: inset(0 0 100% 0); }
.js .shot.is-in .r { clip-path: inset(0 0 0 0); }

.frame-169 { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--charcoal); overflow: hidden; }
.tab-stage .shot { position: absolute; inset: 0; }
.tab-stage .shot .d { width: 100%; height: 100%; object-fit: cover; }
.tab-stage .shot[hidden] { display: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: calc(14 * var(--u)); border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; padding: calc(12 * var(--u)) calc(16 * var(--u)) calc(11 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; position: relative; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: calc(2 * var(--u)); background: var(--amber); }
.tone-light .tab[aria-selected="true"]::after { background: var(--charcoal); }

/* matrix */
.matrix { display: grid; grid-template-columns: 1.05fr 1fr 1fr; border-top: 1px solid var(--ink); }
.matrix > div { padding: calc(18 * var(--u)) calc(18 * var(--u)) calc(20 * var(--u)) 0; border-bottom: 1px solid var(--line); display: grid; gap: calc(6 * var(--u)); align-content: start; }
.matrix b { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 760; font-size: calc(17 * var(--u)); }
.matrix span { font-size: calc(15 * var(--u)); line-height: 1.5; color: var(--ink-2); }
.mx-corner { font-size: calc(11 * var(--u)); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mx-cell { color: var(--ink); font-size: calc(16 * var(--u)); line-height: 1.45; transition: background-color .2s; padding-left: calc(14 * var(--u)) !important; border-left: 1px solid var(--line); }
.mx-cell .mono { font-size: calc(11 * var(--u)); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mx-cell:hover { background: var(--charcoal); color: var(--cream); }
.mx-cell:hover .mono { color: var(--amber); }

/* compare */
.compare { --p: 50%; touch-action: pan-y; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.cmp-b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p)); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 0; pointer-events: none; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: calc(2 * var(--u)); background: var(--amber); }
.cmp-handle i { position: absolute; top: 50%; left: calc(-19 * var(--u)); width: calc(38 * var(--u)); height: calc(38 * var(--u)); margin-top: calc(-19 * var(--u)); border-radius: 50%; background: var(--amber); }
.cmp-handle i::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 calc(16 * var(--u))/1 var(--mono); color: var(--charcoal); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-range:focus-visible + * { outline: none; }
.compare:focus-within { outline: calc(2 * var(--u)) solid var(--amber); outline-offset: calc(3 * var(--u)); }
.cmp-label { position: absolute; top: calc(12 * var(--u)); padding: calc(4 * var(--u)) calc(8 * var(--u)) calc(3 * var(--u)); font-size: calc(11 * var(--u)); letter-spacing: .1em; text-transform: uppercase; background: var(--charcoal); color: var(--cream); pointer-events: none; }
.cmp-label.l { left: calc(12 * var(--u)); } .cmp-label.r { right: calc(12 * var(--u)); background: var(--amber); color: var(--charcoal); }
.pairs { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); margin-top: calc(14 * var(--u)); }
.pair { background: none; border: 1px solid var(--line); color: var(--ink-3); padding: calc(9 * var(--u)) calc(12 * var(--u)) calc(8 * var(--u)); font-size: calc(11.5 * var(--u)); letter-spacing: .1em; text-transform: uppercase; border-radius: calc(2 * var(--u)); cursor: pointer; }
.pair[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }

/* steps + specs */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 calc(28 * var(--u)); }
.steps li { display: grid; gap: calc(8 * var(--u)); align-content: start; padding-top: calc(18 * var(--u)); border-top: 1px solid var(--ink); }
.steps .n { font-size: calc(12 * var(--u)); color: var(--accent); letter-spacing: .1em; }
.steps b { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 760; font-size: calc(18 * var(--u)); line-height: 1.25; text-wrap: balance; }
.steps span:last-child { font-size: calc(15 * var(--u)); line-height: 1.5; }
.specs { margin: calc(56 * var(--u)) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 calc(40 * var(--u)); font-size: calc(13 * var(--u)); }
.specs div { display: grid; grid-template-columns: calc(110 * var(--u)) 1fr; gap: calc(16 * var(--u)); padding: calc(12 * var(--u)) 0; border-top: 1px dotted var(--line); }
.specs dt { text-transform: uppercase; letter-spacing: .1em; font-size: calc(11 * var(--u)); color: var(--ink-3); padding-top: calc(2 * var(--u)); }
.specs dd { margin: 0; color: var(--ink); line-height: 1.5; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ink); }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } .prices .price { border-right: 0; border-bottom: 1px solid var(--line); } .prices .price:last-child { border-bottom: 0; } }
.price { padding: calc(28 * var(--u)) calc(26 * var(--u)) calc(26 * var(--u)); border-right: 1px solid var(--line); position: relative; }
.price:last-child { border-right: 0; }
.price > .mono:first-child { font-size: calc(12 * var(--u)); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: calc(10 * var(--u)); align-items: center; }
.price .amt { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 820; font-size: clamp(calc(36 * var(--u)), calc(3.6vw * var(--f)), calc(52 * var(--u))); line-height: 1.05; color: var(--ink); margin: calc(18 * var(--u)) 0 calc(12 * var(--u)); }
.price .amt small { font-size: .38em; font-weight: 500; margin-left: calc(4 * var(--u)); color: var(--ink-3); }
.price.is-pick::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: calc(5 * var(--u)); background: var(--amber); }

/* video */
.video { margin: 0; }
.video video { width: 100%; height: 100%; object-fit: cover; background: var(--charcoal); }

/* faq */
.faq { max-width: calc(860 * var(--u)); }
.faq details { border-top: 1px dotted var(--line); }
.faq details:last-of-type { border-bottom: 1px dotted var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: calc(20 * var(--u)); padding: calc(18 * var(--u)) 0;
  font-family: var(--sans); font-stretch: var(--expanded); font-weight: 700; font-size: clamp(calc(16 * var(--u)), calc(1.45vw * var(--f)), calc(19 * var(--u))); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { text-wrap: balance; }
.faq summary::after { content: "+" / ""; font-family: var(--mono); font-weight: 400; color: var(--accent); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 46em; padding: 0 0 calc(20 * var(--u)); margin: 0; }
.legal { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)) calc(22 * var(--u)); margin-top: calc(70 * var(--u)); padding-top: calc(18 * var(--u)); border-top: 1px solid var(--line); font-size: calc(12 * var(--u)); letter-spacing: .06em; }
.legal a { color: var(--ink-3); }

/* features */
.features { list-style: none; margin: 0; padding: 0; }
.features li { display: grid; align-content: start; gap: calc(6 * var(--u)); padding: calc(22 * var(--u)) 0 calc(24 * var(--u)); border-top: 1px solid var(--line); }
.features li .k { margin: 0 0 calc(4 * var(--u)); }
.features b { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 760; font-size: calc(19 * var(--u)); line-height: 1.25; text-wrap: balance; }
.features span:last-child { font-size: calc(15.5 * var(--u0) * min(var(--f), 1.2)); line-height: 1.55; }
.features.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: calc(40 * var(--u)); margin-top: clamp(calc(70 * var(--u)), calc(9vw * var(--f)), calc(130 * var(--u))); }

/* placeholders */
.ph { display: grid; place-items: center; text-align: center; border: 1px dashed var(--line); color: var(--ink-3);
  background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px calc(11 * var(--u))); }
.ph span { background: var(--bg); padding: calc(8 * var(--u)) calc(12 * var(--u)) calc(7 * var(--u)); font-size: calc(11 * var(--u)); letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; }
.ph-phone { aspect-ratio: 9 / 16; max-width: calc(300 * var(--u)); border-radius: calc(30 * var(--u)); }
.ph-cover { aspect-ratio: 2 / 3; max-width: calc(240 * var(--u)); }
.ph-about { min-height: calc(180 * var(--u)); }
.ph-inline { color: var(--ink-3); border-bottom: 1px dashed var(--line); }

/* status & lists */
.status-card { border: 1px solid var(--line); padding: calc(26 * var(--u)) calc(26 * var(--u)) calc(28 * var(--u)); }
.kv { margin: 0; font-size: calc(13 * var(--u0) * min(var(--f), 1.2)); }
.kv div { display: grid; grid-template-columns: calc(130 * var(--u)) 1fr; gap: calc(14 * var(--u)); padding: calc(10 * var(--u)) 0; border-top: 1px dotted var(--line); }
.kv dt { color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-size: calc(11 * var(--u)); padding-top: calc(2 * var(--u)); }
.kv dd { margin: 0; color: var(--ink); }
.kv dd a { white-space: nowrap; }
.status-card .cta-row { margin-top: calc(24 * var(--u)); }
.mini-links { list-style: none; margin: calc(22 * var(--u)) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: calc(10 * var(--u)) calc(20 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: .06em; }
.mini-links.col { display: grid; gap: calc(12 * var(--u)); }
.mini-links a { color: var(--ink); }

/* reading cards strip */
.strip { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; }
.strip-in { display: flex; gap: clamp(calc(14 * var(--u)), calc(2vw * var(--f)), calc(26 * var(--u))); width: max-content; padding: calc(10 * var(--u)) 0 calc(20 * var(--u)); }
.card-shot { margin: 0; width: clamp(calc(180 * var(--u)), 20vw, calc(250 * var(--u))); flex: none; border: 1px solid var(--line); }
.card-shot img { width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
/* five whole cards in one row (Marcus, 2026-10-29: no partial card, nothing to drag); three, then two a row on smaller screens */
.card-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(calc(14 * var(--u)), calc(2vw * var(--f)), calc(26 * var(--u))); padding: calc(10 * var(--u)) 0 calc(20 * var(--u)); }
.card-row .card-shot { width: auto; }
@media (max-width: 860px) { .card-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .card-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Kritus */
.hps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(calc(24 * var(--u)), calc(4vw * var(--f)), calc(60 * var(--u))); }
.hps article { display: grid; gap: calc(10 * var(--u)); align-content: start; }
.hps p { margin: 0; }
.line-art { display: block; aspect-ratio: 2 / 1; background: var(--olive);
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease-io); margin-bottom: calc(8 * var(--u)); }
.hps.in .line-art { clip-path: inset(0 0 0 0); }
.hps article:nth-child(2) .line-art { transition-delay: .35s; }
.hps article:nth-child(3) .line-art { transition-delay: .7s; }

.gallery { display: grid; align-items: end; gap: clamp(calc(14 * var(--u)), calc(2.4vw * var(--f)), calc(34 * var(--u))); }
.gallery-kritus { grid-template-columns: 1.7fr 1fr 1fr 1fr; }
.gallery-kritus .phone:nth-child(2) { margin-bottom: 8%; }
.gallery-kritus .phone:nth-child(3) { margin-bottom: 22%; }
.gallery-kyklus { grid-template-columns: 1.9fr .8fr; grid-template-rows: auto auto; }
.gallery-kyklus .tablet-land { grid-column: 1; grid-row: 1; }
.gallery-kyklus .phone { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 18%; }
.gallery-kyklus .mac { grid-column: 1; grid-row: 2; width: 82%; margin-left: 18%; margin-top: -6%; }

.device { background: var(--charcoal); border: 1px solid var(--cocoa); }
.device .d, .device .r, .device .f { border-radius: calc(var(--rad) - var(--bz)); }
.device .d { width: calc(100% - 2 * var(--bz)); margin: var(--bz); margin-top: calc(var(--bz) + var(--bzt)); }
.phone { --bz: calc(7 * var(--u)); --rad: calc(30 * var(--u)); border-radius: var(--rad); }
.tablet, .tablet-land { --bz: calc(11 * var(--u)); --rad: calc(22 * var(--u)); border-radius: var(--rad); }
.mac { --bz: 0px; --bzt: calc(26 * var(--u)); --rad: calc(9 * var(--u)); border-radius: var(--rad); overflow: hidden; }
.mac .d, .mac .r, .mac .f { border-radius: 0; }
.mac-bar { position: absolute; top: 0; left: 0; right: 0; height: calc(26 * var(--u)); display: flex; gap: calc(7 * var(--u)); align-items: center; padding-left: calc(12 * var(--u)); border-bottom: 1px solid var(--cocoa); }
.mac-bar i { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: var(--cocoa); }
.mac-bar i:first-child { background: var(--amber); } .mac-bar i:nth-child(2) { background: var(--olive); } .mac-bar i:nth-child(3) { background: var(--taupe); }

.numbers { list-style: none; margin: clamp(calc(80 * var(--u)), calc(9vw * var(--f)), calc(130 * var(--u))) 0 0; padding: calc(26 * var(--u)) 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(5, 1fr); gap: calc(24 * var(--u)); }
.numbers li { display: grid; gap: calc(8 * var(--u)); }
.numbers b { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 820; font-size: clamp(calc(28 * var(--u)), calc(3.3vw * var(--f)), calc(48 * var(--u))); line-height: 1; font-variant-numeric: tabular-nums; }
.numbers .mono { font-size: calc(11.5 * var(--u)); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

.log { list-style: none; margin: 0; padding: 0; font-size: calc(13 * var(--u)); }
.log li { display: grid; grid-template-columns: calc(110 * var(--u)) calc(48 * var(--u)) 1fr; gap: calc(14 * var(--u)); padding: calc(12 * var(--u)) 0; border-top: 1px dotted var(--line); }
.log time { color: var(--ink-3); }
.log b { font-weight: 700; }
.log span { color: var(--ink-2); }

/* Kyklus */
.spin { will-change: transform; }
.kbd-card { border: 1px solid var(--line); padding: calc(26 * var(--u)); }
.kbd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: calc(15 * var(--u)); }
.kbd-list li { display: grid; grid-template-columns: calc(150 * var(--u)) 1fr; align-items: center; padding: calc(9 * var(--u)) 0; border-top: 1px dotted var(--line); }
kbd { display: inline-block; min-width: calc(26 * var(--u)); text-align: center; padding: calc(4 * var(--u)) calc(6 * var(--u)) calc(3 * var(--u)); margin-right: calc(4 * var(--u)); border: 1px solid var(--ink); border-bottom-width: calc(2 * var(--u)); border-radius: calc(3 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1; color: var(--ink); }
.palettes { margin: 0; border: 1px solid var(--line); background: var(--charcoal); }
.palettes img { width: 100%; height: auto; }
.mascot-note { align-items: center; }

/* Book */
.book .sec-head { text-align: left; }
.book-title { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 870; font-size: clamp(calc(54 * var(--u)), calc(10.4vw * var(--f)), calc(156 * var(--u))); line-height: .92; letter-spacing: -.025em; color: var(--cream); }   /* no offset shadow (the user, 2026-10-26) */
.book-sub { margin-top: calc(26 * var(--u)); font-size: clamp(calc(13 * var(--u)), calc(1.25vw * var(--f)), calc(17 * var(--u))); color: var(--taupe); max-width: 40em; }
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(calc(28 * var(--u)), calc(7vw * var(--f)), calc(120 * var(--u))); margin-top: calc(20 * var(--u)); }
.dip { margin: 0; transform: translateX(calc(var(--apart, 0) * var(--dir) * 1px)); }
.dip-k { --dir: -1; } .dip-a { --dir: 1; margin-top: 18%; }
.dip img { width: 100%; height: auto; border: 1px solid var(--cocoa); }
.dip figcaption { margin-top: calc(14 * var(--u)); display: grid; gap: calc(4 * var(--u)); font-size: calc(15 * var(--u)); }
.dip figcaption .mono { font-size: calc(12 * var(--u)); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.pull { margin: clamp(calc(90 * var(--u)), calc(11vw * var(--f)), calc(160 * var(--u))) 0 0; max-width: calc(1000 * var(--u)); }
.pull p { font-family: var(--sans); font-stretch: var(--expanded); font-weight: 300; font-size: clamp(calc(30 * var(--u)), calc(4.6vw * var(--f)), calc(66 * var(--u))); line-height: 1.08; letter-spacing: -.02em; color: var(--cream); margin: 0; text-wrap: balance; }
.pull p::before { content: "“"; display: block; font-weight: 800; color: var(--amber); font-size: .9em; line-height: .6; margin-bottom: .1em; }
.pull.small p { font-size: clamp(calc(24 * var(--u)), calc(3.3vw * var(--f)), calc(46 * var(--u))); color: var(--taupe); }
.tests { border: 1px solid var(--line); padding: calc(26 * var(--u)); display: grid; gap: calc(4 * var(--u)); }
.tests label { display: grid; grid-template-columns: calc(26 * var(--u)) 1fr; gap: calc(12 * var(--u)); align-items: start; padding: calc(10 * var(--u)) 0; border-top: 1px dotted var(--line); cursor: pointer; color: var(--ink); font-size: calc(16 * var(--u0) * min(var(--f), 1.2)); line-height: 1.45; }
.tests input { appearance: none; -webkit-appearance: none; width: calc(18 * var(--u)); height: calc(18 * var(--u)); margin: calc(2 * var(--u)) 0 0; border: 1px solid var(--ink-2); border-radius: calc(2 * var(--u)); display: grid; place-items: center; cursor: pointer; }
.tests input:checked { background: var(--amber); border-color: var(--amber); }
.tests input:checked::after { content: ""; width: calc(9 * var(--u)); height: calc(5 * var(--u)); border-left: calc(2 * var(--u)) solid var(--charcoal); border-bottom: calc(2 * var(--u)) solid var(--charcoal); transform: translateY(-1px) rotate(-45deg); }
.tests-out { margin: calc(14 * var(--u)) 0 0; font-size: calc(12 * var(--u)); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tests-out.ok { color: var(--amber); }
.toc { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.toc li { display: grid; grid-template-columns: calc(40 * var(--u)) 1fr; gap: calc(8 * var(--u)); padding: calc(14 * var(--u)) 0; border-top: 1px dotted var(--line); color: var(--ink); font-family: var(--sans); font-stretch: var(--expanded); font-weight: 650; font-size: calc(17 * var(--u)); line-height: 1.35; text-wrap: balance; }
.toc li .mono { color: var(--amber); font-weight: 400; font-size: calc(12 * var(--u)); padding-top: calc(4 * var(--u)); }
.toc em { grid-column: 2; display: block; font-style: normal; font-size: calc(12 * var(--u)); color: var(--ink-3); font-weight: 400; letter-spacing: .04em; margin-top: calc(4 * var(--u)); font-stretch: 100%; }
.book-side { display: grid; gap: calc(22 * var(--u)); justify-items: start; }
.book-side .kv { width: 100%; }

/* Downloads */
.term { border: 1px solid var(--line); overflow-x: auto; }
.term-bar { display: flex; justify-content: space-between; gap: calc(20 * var(--u)); padding: calc(11 * var(--u)) calc(16 * var(--u)) calc(10 * var(--u)); border-bottom: 1px solid var(--line); font-size: calc(12 * var(--u)); color: var(--ink-3); }
.term-bar [data-type-term]::before { content: "$ " / ""; color: var(--amber); }
.files { width: 100%; border-collapse: collapse; font-size: calc(13 * var(--u)); min-width: calc(720 * var(--u)); }
.files th { text-align: left; font-weight: 400; font-size: calc(11 * var(--u)); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: calc(12 * var(--u)) calc(16 * var(--u)); border-bottom: 1px solid var(--line); }
.files td { padding: calc(12 * var(--u)) calc(16 * var(--u)); border-bottom: 1px dotted var(--line); color: var(--ink); vertical-align: top; }
.files tr:last-child td { border-bottom: 0; }
.files tbody tr { transition: background-color .15s; }
.files tbody tr:hover { background: var(--cocoa); }
.files tbody tr:hover a, .files tbody tr:hover .st, .files tbody tr:hover .off { color: var(--cream); }
.files td:last-child { text-align: right; white-space: nowrap; }
.files a { color: var(--amber); text-decoration: none; }
.files a:hover { text-decoration: underline; color: var(--cream); }
.st { color: var(--taupe); }
.st::before { content: "○ " / ""; }
.st.live { color: var(--cream); }
.st.live::before { content: "● " / ""; color: var(--amber); }
.off { color: var(--taupe); }
.term { scrollbar-color: var(--line) transparent; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(11, 1fr); gap: calc(10 * var(--u)); }
.swatches button { width: 100%; display: grid; gap: calc(10 * var(--u)); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--ink-2); }
.swatches i { display: block; aspect-ratio: 1; background: var(--c); border: 1px solid var(--cocoa); transition: transform .3s var(--ease-out); }
.swatches button:hover i { transform: translateY(calc(-4 * var(--u))); }
.swatches span { font-size: calc(11 * var(--u)); line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.swatches button.copied span::after { content: " · copied"; color: var(--amber); }
.timeline li { grid-template-columns: calc(110 * var(--u)) calc(150 * var(--u)) 1fr; }

/* Footer */
.footer { padding: clamp(calc(120 * var(--u)), calc(14vw * var(--f)), calc(200 * var(--u))) 0 calc(34 * var(--u)); overflow: hidden; }
.footer-in { container-type: inline-size; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: calc(40 * var(--u)); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(8 * var(--u)); font-size: calc(13 * var(--u)); }
.foot-cols ul a { color: var(--stone); text-decoration: none; }
.foot-cols ul a:hover { color: var(--amber); }
.foot-slogan { margin: clamp(calc(80 * var(--u)), calc(10vw * var(--f)), calc(140 * var(--u))) 0 0; font-size: clamp(calc(16 * var(--u)), calc(2.2vw * var(--f)), calc(28 * var(--u))); color: var(--amber); }
.foot-mark { margin: calc(8 * var(--u)) 0 0; font-family: var(--sans); font-stretch: var(--expanded); font-weight: 870; font-size: calc(100cqi / 6.62); line-height: .82; letter-spacing: -.022em; color: var(--cocoa); white-space: nowrap;
  transform: translateY(calc((1 - var(--rise, 1)) * 40%)); }
.foot-legal { display: flex; justify-content: space-between; gap: calc(16 * var(--u)); flex-wrap: wrap; margin: calc(26 * var(--u)) 0 0; padding-top: calc(14 * var(--u)); border-top: 1px solid var(--cocoa); font-size: calc(11.5 * var(--u)); letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }

/* ---------- reveal & motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(calc(24 * var(--u))); transition: opacity .9s ease-out, transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.split-line { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.split-in { display: inline-block; transform: translateY(108%); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--l, 0) * 95ms); }
.is-split.in .split-in { transform: none; }

.motion-toggle { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: calc(4 * var(--u)); }
.menu-in .motion-toggle { justify-self: center; margin-top: calc(18 * var(--u)); color: var(--taupe); font-size: calc(12 * var(--u)); letter-spacing: .1em; text-transform: uppercase; }
.motion-off .caret, .motion-off .pill.live::before, .motion-off .hero-live .dot { animation: none; }
.motion-off .menu-in a { animation: none; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .menu-in a { animation: none; opacity: 1; transform: none; }
  .nav { transition: none; }
  .foot-mark { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .split-in { transform: none; transition: none; }
  .line-art { clip-path: none; transition: none; }
  .js .hm, .js .hm .ch, .js .hero-apps a, .js .hero-apps i, .js .hero-row, .js .hero-book, .js .hero-foot { opacity: 1; transform: none; transition: none; }
  .caret, .pill.live::before, .hero-live .dot { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .swatches { grid-template-columns: repeat(6, 1fr); }
  .nav-links { display: none; }
  .nav-menu { display: inline-block; }
  .gallery-kritus { grid-template-columns: 1.4fr 1fr 1fr; }
  .gallery-kritus .phone:nth-child(4) { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid-2, .split { grid-template-columns: 1fr; }
  .features.cols-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: calc(28 * var(--u)); }
  .specs { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(3, 1fr); row-gap: calc(36 * var(--u)); }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .hps { grid-template-columns: 1fr; }
  .line-art { max-width: calc(420 * var(--u)); }
  .nav-where { display: none; }
}
@media (max-width: 640px) {
  .numbers b { font-size: clamp(calc(22 * var(--u)), calc(7.2vw * var(--f)), calc(28 * var(--u))); }
  body { font-size: calc(16 * var(--u)); }
  .page-sec > .wrap, .page-hero-in { font-size: calc(16 * var(--u0) * min(var(--f), 1.2)); }
  .nav-cta { display: none; }
  .nav-in { height: calc(56 * var(--u)); }
  .matrix { grid-template-columns: 1fr; }
  .mx-corner { display: none; }
  .mx-cell { border-left: 0; padding-left: 0 !important; }
  .prices { grid-template-columns: 1fr; }
  .price { border-right: 0; border-bottom: 1px solid var(--line); }
  .features.cols-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery-kritus { grid-template-columns: 1fr 1fr; }
  .gallery-kritus .tablet { grid-column: 1 / -1; }
  .gallery-kritus .phone:nth-child(3), .gallery-kritus .phone:nth-child(4) { display: none; }
  .gallery-kritus .phone { margin-bottom: 0 !important; }
  .gallery-kyklus { grid-template-columns: 1fr; }
  .gallery-kyklus .tablet-land, .gallery-kyklus .mac, .gallery-kyklus .phone { grid-column: 1; grid-row: auto; width: 100%; margin: 0; }
  .gallery-kyklus .phone { width: 62%; justify-self: center; }
  .diptych { grid-template-columns: 1fr; }
  .dip-a { margin-top: 0; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .log li, .timeline li { grid-template-columns: 1fr; gap: calc(2 * var(--u)); }
  .kv div { grid-template-columns: 1fr; gap: calc(2 * var(--u)); }
  .kbd-list li { grid-template-columns: 1fr; gap: calc(6 * var(--u)); }
  .foot-cols { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: calc(4 * var(--u)); }
}

/* footer extras */
.foot-extra { display: flex; flex-wrap: wrap; justify-content: space-between; gap: calc(24 * var(--u)) calc(40 * var(--u)); margin-top: calc(64 * var(--u)); padding-top: calc(22 * var(--u)); border-top: 1px dotted var(--cocoa); font-size: calc(12 * var(--u)); letter-spacing: .06em; }
.updates { display: grid; gap: calc(10 * var(--u)); }
.updates label { text-transform: uppercase; letter-spacing: .1em; color: var(--taupe); }
.upd-row { display: flex; gap: calc(8 * var(--u)); flex-wrap: wrap; }
.updates input { width: min(calc(300 * var(--u)), 70vw); padding: calc(12 * var(--u)) calc(12 * var(--u)) calc(11 * var(--u)); border: 1px dashed var(--cocoa); border-radius: calc(2 * var(--u)); background: transparent; color: var(--cream); font: inherit; }
.updates input::placeholder { color: var(--cocoa); }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(10 * var(--u)); align-content: end; }

/* AI Slides: illustrative run log */
.runlog { margin-top: calc(44 * var(--u)); max-width: calc(640 * var(--u)); border: 1px solid var(--ink); background: var(--charcoal); color: var(--stone); font-family: var(--mono); font-size: calc(13 * var(--u)); line-height: 1.7; }
.runlog-bar { display: flex; justify-content: space-between; padding: calc(8 * var(--u)) calc(14 * var(--u)) calc(7 * var(--u)); border-bottom: 1px solid var(--cocoa); font-size: calc(11 * var(--u)); letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.runlog ol { list-style: none; margin: 0; padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u)); min-height: 13.5em; }
.runlog li { white-space: pre-wrap; overflow-wrap: anywhere; padding-left: 2ch; text-indent: -2ch; }
.runlog .tune { margin-top: calc(6 * var(--u)); color: var(--cream); }
.runlog .sub { padding-left: 4ch; color: var(--taupe); }
@media (min-width: 861px) and (max-width: 1200px) { .runlog { font-size: calc(12 * var(--u)); line-height: 1.6; } }
@media (min-width: 861px) and (max-width: 1023px) { .runlog { font-size: calc(11 * var(--u)); line-height: 1.55; } .runlog ol { padding: calc(12 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u)); } }
@media (max-width: 860px) { .runlog { margin-inline: 0; } }   /* a <figure>'s own 40 px side margins pushed it off a phone */
.runlog li.is-off { visibility: hidden; }
.runlog .p { color: var(--amber); }
.runlog .ok { color: var(--cream); }
.runlog .bar { display: inline-block; width: 16ch; color: var(--olive); text-indent: 0; }   /* not the line's hanging indent */

/* Older Safari: no overflow:clip / container units */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
  .split-line { overflow: hidden; }
}
@supports not (font-size: 1cqi) {
  .hero-apps { font-size: clamp(calc(19 * var(--u)), calc(2.6vw * var(--f)), calc(46 * var(--u))); }
  .hero-slogan { font-size: clamp(calc(17 * var(--u)), calc(2.75vw * var(--f)), calc(50 * var(--u))); }
  .hb-title { font-size: clamp(calc(30 * var(--u)), calc(3.5vw * var(--f)), calc(62 * var(--u))); }
  .hb-sub { font-size: clamp(calc(11 * var(--u)), calc(0.9vw * var(--f)), calc(16 * var(--u))); }
}
