/* SIZL landing. Light and product-led, in the brand palette: butter carries the page surfaces (pains, modules, pricing, waitlist),
   periwinkle the accents and highlights (logo, markers, lines, Dough's arrows), white the cards. Ink type throughout. No dark surfaces.
   Product screens keep their own status colours (green OK, amber low). */
:root {
  --u: 1px;
  --peri: #8EA0FF;
  --peri-ink: oklch(0.5 0.16 275);
  --peri-soft: oklch(0.96 0.025 275);
  --butter: #F8ECC3;
  --butter-soft: oklch(0.975 0.025 92);
  --butter-line: oklch(0.86 0.06 90);
  --ink: oklch(0.18 0.008 30);
  --ink-2: oklch(0.42 0.008 30);
  --ground: oklch(0.975 0.002 30);
  --white: #fff;
  --line: oklch(0.91 0.004 30);
  --line-2: oklch(0.84 0.004 30);
  --ok: oklch(0.48 0.13 150);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(96px, 14vh, 168px);
  --shadow-tile: 0 1px 2px oklch(0.2 0.01 30 / .06), 0 24px 48px -24px oklch(0.2 0.02 275 / .28);
  --z-nav: 20;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html { overflow-x: clip; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: "Suisse Intl", system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.mono { font-family: "Input Mono", ui-monospace, monospace; letter-spacing: -0.02em; }

.h2 { margin: 0; font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.04em; }
.lede { margin: 0; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: var(--butter); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 99px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease-out), box-shadow .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 3px; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px oklch(0.2 0.02 275 / .6); }
.btn--ink:hover { background: oklch(0.27 0.01 30); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ── Nav: floating pill, fixed ── */
.nav { position: fixed; z-index: var(--z-nav); top: 14px; left: 50%; transform: translateX(-50%); width: min(1080px, calc(100% - 2 * var(--gutter))); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 7px 7px 7px 22px; background: oklch(1 0 0 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 99px; box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05), 0 10px 30px -18px oklch(0.2 0.01 30 / .25); transition: box-shadow .3s, transform .4s var(--ease-out); }
.nav.is-hidden { transform: translate(-50%, calc(-100% - 24px)); } /* tucked away while reading down, back on the first scroll up */
.nav.is-scrolled { box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .06), 0 16px 40px -16px oklch(0.2 0.01 30 / .3); }
.nav__logo { width: 64px; color: var(--peri); }
.nav__links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 450; color: var(--ink-2); }
.nav__links a { text-decoration: none; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--ink); }

/* ── 1 · Hero ── */
.hero { position: relative; min-height: max(760px, 100svh); display: grid; place-items: center; padding: 120px var(--gutter) 80px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(oklch(0.2 0.01 30 / .1) 1px, transparent 1.4px) 0 0 / 22px 22px; mask: radial-gradient(ellipse 60% 55% at 50% 48%, #000 20%, transparent 75%); }
.hero__copy { position: relative; z-index: 3; text-align: center; max-width: 980px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 450; color: var(--ink-2); margin-bottom: 28px; }
.pill img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: oklch(0.93 0.05 70); }
.hero h1 { margin: 0; font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.045em; }
.rot { display: inline-block; white-space: nowrap; vertical-align: bottom; }
.rot__w { display: inline-block; text-decoration: underline; text-decoration-color: var(--peri); text-decoration-thickness: .12em; text-underline-offset: .12em; }
.br-m { display: none; }
@media (max-width: 560px) { .br-m { display: inline; } }
.hl { position: relative; display: inline-block; padding: 0 .12em; margin: 0 -.04em; color: var(--ink); z-index: 0; }
.hl::before { content: ""; position: absolute; inset: .06em 0 -.02em; background: var(--peri); border-radius: .12em; z-index: -1; transform-origin: 0 50%; }
.hl.is-pre { color: var(--ink); }
.hl.is-pre::before { transform: scaleX(0); }
.hl.is-go { transition: color .25s .25s; }
.hl.is-go::before { transition: transform .7s var(--ease-out); }
.hero__lede { margin: 24px auto 0; max-width: 44ch; text-wrap: balance; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); }
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.frags { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 2; width: min(100%, 1680px); translate: -50% 0; pointer-events: none; } /* on wide screens the fragments stay around the copy instead of the screen edges */
.frag { position: absolute; left: var(--x); top: var(--y); will-change: transform; }
.frag__in { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-tile); padding: 12px; transform: rotate(var(--r, 0deg)); animation: bob var(--d, 7s) ease-in-out infinite alternate; }
@keyframes bob { from { translate: 0 -5px; } to { translate: 0 6px; } }
.frag .ui-row { box-shadow: none; border: 0; padding: 0; }
.f-food .frag__in { width: var(--s, 112px); aspect-ratio: 1; padding: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px var(--white), 0 28px 50px -24px oklch(0.3 0.03 60 / .45); }
.f-food img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f-food--b { --s: 108px; }
.f-food--c { --s: 164px; }
.f-fc .frag__in { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; }
.ring { width: 54px; height: 54px; }
.ring circle { fill: none; stroke-width: 6; }
.f-fc b { display: block; font: 22px "Input Mono", monospace; letter-spacing: -0.03em; }
.f-fc span { font-size: 12.5px; color: var(--ink-2); }
.f-dough .frag__in { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; width: 250px; border-radius: 20px; }
.f-dough img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); flex: none; }
.f-dough p { margin: 0; font-size: 13.5px; line-height: 1.35; }

/* ── 2 · Intro + graph ── */
.intro { padding: var(--section) var(--gutter) calc(var(--section) * .6); text-align: center; }
.intro__line { margin: 0 auto; max-width: 26ch; font-size: clamp(1.8rem, 3.4vw, 3.1rem); line-height: 1.15; letter-spacing: -0.035em; font-weight: 500; }
.nw { white-space: nowrap; }
.meet { display: inline-block; line-height: 1; padding: 3px 9px 3px 3px; border-radius: 99px; background: var(--butter); color: var(--ink); font-weight: 500; text-decoration: none; transition: background .2s; }
.meet:hover { background: var(--butter-line); }
.meet:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 2px; }
.meet img { display: inline-block; width: 22px; height: 22px; margin-right: 6px; vertical-align: -0.38em; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.intro__sub { margin: 18px auto 0; max-width: 58ch; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.55; text-wrap: pretty; }
.intro__line em { font-style: normal; background: linear-gradient(transparent 58%, var(--peri) 58% 92%, transparent 92%); }
.intro__line .mut { color: var(--ink-2); }
/* #what: the three modes are words in the heading. The current one carries the periwinkle marker (it sweeps in when the dough
   cursor lands on it); the others wait with a dotted underline. While the modes play by themselves, a thin line under the
   lit word fills up until the next one. */
.v3 .intro { position: relative; }
.gw button { all: unset; position: relative; font-weight: 700; letter-spacing: -0.04em; line-height: 1; padding: 0 .06em; margin: 0 -.06em; border-radius: .08em; cursor: pointer; white-space: nowrap;
  background: linear-gradient(transparent 58%, var(--peri) 58% 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  text-decoration: underline dotted oklch(0.62 0.09 275); text-decoration-thickness: .055em; text-underline-offset: .16em;
  transition: background-size .5s var(--ease-out), text-decoration-color .3s; }
.gw button.is-lit { background-size: 100% 100%; text-decoration-color: transparent; }
.gw button:not(.is-lit):hover { text-decoration-color: var(--peri-ink); }
.gw button:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: .08em; }
.gw button::after { content: ""; position: absolute; left: .06em; right: .06em; bottom: .06em; height: .05em; border-radius: 1px; background: oklch(0.45 0.16 275 / .55); transform: scaleX(0); transform-origin: 0 50%; }
.intro.is-run .gw button.is-lit::after { animation: gearrun var(--dur) linear both; }
/* The same dough cursor as in the hero, flown in: it starts above the heading and glides to the word */
.dcur.dcur--fly { left: 0; top: 0; z-index: 3; font-size: clamp(1.4rem, 2.4vw, 2.3rem); opacity: 0; transition: translate .9s cubic-bezier(.25, .8, .25, 1), opacity .4s; }
.dcur.dcur--fly.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .dcur.dcur--fly { animation: dcur-o 2.6s linear infinite; } }
@media (prefers-reduced-motion: reduce) { .dcur.dcur--fly { display: none; } .gw button { transition: none; } }
.v3 .intro__line { max-width: none; font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.22; text-wrap: balance; } /* one size for the sentence and the mode words; the words are bold */
.graph { position: relative; max-width: 1240px; margin: clamp(56px, 8vh, 88px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .7fr) minmax(0, 1.2fr); align-items: start; text-align: left; }
.graph__col { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.graph__label { font-size: 13px; color: var(--ink-2); margin: 0 0 4px 4px; }
.src { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; transition: box-shadow .3s; }
.src .ico { width: 32px; height: 32px; border-radius: 9px; background: var(--ground); display: grid; place-items: center; flex: none; }
.src .ico svg { width: 16px; height: 16px; stroke: var(--ink-2); fill: none; stroke-width: 1.5; }
.src small { margin-left: auto; font: 12px "Input Mono", monospace; color: var(--ink-2); white-space: nowrap; }
.src.is-live { box-shadow: inset 0 0 0 1.5px var(--ink); }
.hub { position: relative; z-index: 1; justify-self: center; align-self: center; width: 132px; height: 132px; border-radius: 34px; background: var(--peri); display: grid; place-items: center; color: var(--ink); box-shadow: 0 24px 50px -20px oklch(0.55 0.16 275 / .6); }
.hub svg { width: 72px; }
.hub::after { content: ""; position: absolute; inset: -10px; border-radius: 42px; border: 1.5px solid var(--peri); opacity: 0; }
.hub.is-pulse::after { animation: ring .9s var(--ease-out); }
@keyframes ring { from { opacity: .7; transform: scale(.9); } to { opacity: 0; transform: scale(1.25); } }
.hub small { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; color: var(--ink-2); }
.act { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; background: var(--white); border-radius: 14px; padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease-out); }
.act .chk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ground); transition: background .3s; }
.act .chk svg { width: 13px; height: 13px; stroke: var(--ink-2); fill: none; stroke-width: 2; transition: stroke .3s; }
.act b { display: block; font-size: 14.5px; font-weight: 500; }
.act span { font-size: 13px; color: var(--ink-2); }
.act .gain { font: 12.5px "Input Mono", monospace; color: var(--ok); white-space: nowrap; }
.act .gain--loss { color: var(--peri-ink); }
.act .gain--n { color: var(--ink-2); }
.act.is-live { box-shadow: inset 0 0 0 1.5px var(--peri), 0 14px 30px -18px oklch(0.55 0.16 275 / .5); transform: translateX(6px); }
.act.is-live .chk { background: var(--peri); }
.act.is-live .chk svg { stroke: #fff; }
.graph__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.graph__wires path { fill: none; stroke: oklch(0.86 0.004 30); stroke-width: 1.4; }
.dot { position: absolute; left: 0; top: 0; z-index: 2; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--peri); box-shadow: 0 0 0 4px oklch(0.64 0.16 275 / .18); offset-rotate: 0deg; opacity: 0; pointer-events: none; }

/* ── Product widget frame (investors.html) ── */
.card__stage { background: oklch(0.975 0.006 85); border-radius: 16px; padding: clamp(16px, 2vw, 26px); flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }

/* click ripple under the module cursor */
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ── 4 · Dough: sticky mascot, narrated day ── */
.dough { padding: var(--section) 0 calc(var(--section) * .8); background: var(--white); }
/* the title sits above both columns */
.dough__head { max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto clamp(32px, 5vh, 56px); padding: 0 var(--gutter); }
.dough__wrap { max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.dough__side { position: sticky; top: 90px; height: calc(100svh - 110px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.dough__stage { position: relative; display: grid; place-items: center; }
.dough__stage::before { content: ""; position: absolute; inset: 6% 2% 0; border-radius: 50%; background: radial-gradient(closest-side, oklch(0.95 0.04 70), transparent); }
/* the cast: one character per role, swapped as the right column scrolls (JS sets .is-on from the moment's data-who) */
.dough__stage > [data-who] { grid-area: 1 / 1; transition: opacity .45s var(--ease-out), scale .6s var(--ease-out); }
.dough__stage > [data-who]:not(.is-on) { opacity: 0; scale: .94; }
.dough__cast { position: relative; width: min(100%, 500px, 70svh); height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; -webkit-mask: radial-gradient(closest-side, #000 84%, transparent); mask: radial-gradient(closest-side, #000 84%, transparent); transform-origin: 50% 92%; } /* the white ground melts into the glow; the soft edge hides the frame and the confetti of each change */
/* plain Dough has no loop in the video, so it breathes */
@media (prefers-reduced-motion: no-preference) { .dough__cast.is-idle { animation: breathe 3.4s ease-in-out infinite; } }
@keyframes breathe { 50% { scale: .99 1.02; } }
.dough__role { display: none; }
.dough__vid { position: relative; width: min(100%, 440px, 68svh); height: auto; aspect-ratio: 1; object-fit: contain; transform-origin: 50% 100%; -webkit-mask: linear-gradient(#000 90%, transparent 99%); mask: linear-gradient(#000 90%, transparent 99%); }
.dough__shadow { position: absolute; bottom: 2%; width: 56%; height: 28px; border-radius: 50%; background: radial-gradient(closest-side, oklch(0.3 0.03 50 / .26), transparent); }
.say { position: absolute; top: 4%; right: 0; max-width: 250px; margin: 0; padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: var(--ink); color: #fff; font-size: 14.5px; line-height: 1.35; box-shadow: 0 16px 30px -18px oklch(0.2 0.02 275 / .6); }
.say span { display: block; }
.say { transform-origin: 0 100%; }
.skip { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--ink-2); text-underline-offset: 3px; }
.skip:hover { color: var(--ink); }
.dough__body:has(> .h2) { padding-top: 6vh; } /* full.html keeps its title in the column */
.dough__body .h2 { margin: 18px 0 18px; }
.dough__body .lede { max-width: 50ch; }
.dough__body .skip + .day { margin-top: 8vh; }
.dayclock { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; max-width: 420px; width: 100%; margin: 0 auto; font-size: 13px; color: var(--ink-2); } /* full.html only */
.dayclock b { font-weight: 400; font-size: 22px; color: var(--ink); letter-spacing: -0.03em; }
.dayclock .track { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.dayclock .track i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, .2)); transition: transform .5s var(--ease-out); }
.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.moment { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .3; transition: opacity .5s var(--ease-out); }
.moment.is-active { opacity: 1; }
.moment time, .moment__role { font-size: 14px; color: var(--ink); }
.dough__body { padding-top: 8vh; }
/* what you'd ask a role: messages to Dough, arriving one by one when the role comes up */
.asks { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 520px; margin: 0; padding: 0; list-style: none; }
.asks li { max-width: 100%; padding: 10px 16px; border-radius: 20px 20px 20px 6px; background: var(--bub, oklch(0.955 0.03 275)); color: var(--bub-ink, var(--ink)); font-size: 15.5px; line-height: 1.35; text-wrap: pretty; transform-origin: 0 100%; transition: opacity .35s var(--ease-out), transform .5s var(--ease-out); }
.js .moment:not(.is-active) .asks li { opacity: 0; transform: translateY(10px) scale(.96); }
/* each role's questions wear its clothes: the chef's red scarf, the cost controller's slate cardigan, the detective's trench, the partner's suit */
.moment[data-who="chef"] { --bub: #ab2533; --bub-ink: #fff; }
.moment[data-who="cost"] { --bub: #5f7084; --bub-ink: #fff; }
.moment[data-who="detective"] { --bub: #b89e7c; --bub-ink: var(--ink); }
.moment[data-who="partner"] { --bub: #171516; --bub-ink: #fff; }
/* rolling lists: a window of four (site.js sets its height); while it rolls the fifth shows below the edge and slides in; one line each on desktop so the window never changes height */
[data-roll] { position: relative; overflow: hidden; transition: height .5s var(--ease-out); }
.js [data-roll]:not(.is-rolling) > :nth-child(n+5), .js [data-roll].is-rolling > :nth-child(n+6) { display: none; }
.mw-roll { display: grid; gap: 8px; }
.mw-av { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); } /* each role is a Dough in costume */
@media (min-width: 981px) { .asks li { white-space: nowrap; } }
.moment.is-active .asks li:nth-child(2) { transition-delay: .14s; } .moment.is-active .asks li:nth-child(3) { transition-delay: .28s; } .moment.is-active .asks li:nth-child(4) { transition-delay: .42s; }
.po__row { gap: 12px; } .po__row > .mono, .po__head > span { flex: none; white-space: nowrap; } /* a price never breaks */
.ui-badge--e { background: var(--ground); font-size: 15px; }
.moment h3 { margin: 8px 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; }
.moment > p { margin: 0 0 22px; color: var(--ink-2); font-size: 16.5px; max-width: 46ch; }
.moment__say { display: none; }
.mw { background: var(--ui-bg, oklch(0.975 0.006 85)); border-radius: 20px; padding: 14px; display: grid; gap: 8px; max-width: 480px; }
.mw-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px 7px 7px; font-size: 13.5px; transition: transform .5s var(--ease-out), opacity .5s; }
.mw-row .ui-thumb, .mw-row .ui-badge { width: 30px; height: 30px; font-size: 10px; }
.mw-row .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-row b { font-weight: 400; font-size: 14px; }
.mw-row em { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.mw-row em.ok { background: oklch(0.95 0.05 150); color: oklch(0.42 0.12 150); }
.mw-row em.warn { background: oklch(0.95 0.04 275); color: oklch(0.5 0.16 275); }
.mw-row em.tag-s { background: var(--ground); color: var(--ink-2); }
.mw-foot { font-size: 12px; color: var(--ink-2); padding: 2px 4px; }
.moment.is-active .mw-row:nth-child(2) { transition-delay: .12s; } .moment.is-active .mw-row:nth-child(3) { transition-delay: .24s; }
.mw-stock { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); padding: 6px 4px 2px; }
.mw-stock .bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.mw-stock .bar i { display: block; height: 100%; width: 100%; background: var(--peri); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(.16); transition: transform 1.6s var(--ease-out); }
.js .moment:not(.is-active) .mw-stock .bar i { transform: scaleX(.7); }
.mw-stock b { font-weight: 400; color: var(--peri-ink); }
.vn { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 99px; padding: 8px 16px 8px 8px; width: fit-content; }
.vn__play { width: 30px; height: 30px; border-radius: 50%; background: var(--peri); position: relative; }
.vn__play::after { content: ""; position: absolute; left: 11px; top: 9px; border: 6px solid transparent; border-left: 9px solid #fff; border-right: 0; }
.vn__wave { width: 150px; height: 26px; background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 26' preserveAspectRatio='none'%3E%3Cpath d='M0 13 Q5 4 10 13 T20 13 Q25 2 30 13 T40 13 Q45 8 50 13 T60 13 Q65 0 70 13 T80 13 Q85 6 90 13 T100 13 Q105 3 110 13 T120 13 Q125 9 130 13 T140 13 Q145 7 150 13 V26 H0Z M0 13 Q5 22 10 13 T20 13 Q25 24 30 13 T40 13 Q45 18 50 13 T60 13 Q65 26 70 13 T80 13 Q85 20 90 13 T100 13 Q105 23 110 13 T120 13 Q125 17 130 13 T140 13 Q145 19 150 13 V0 H0Z' fill='black' fill-rule='evenodd'/%3E%3C/svg%3E") 0 0 / 100% 100%; opacity: .85; }
.moment.is-active .vn__wave { animation: wave 1.1s linear infinite; }
@keyframes wave { to { background-position: 12px 0; } }
.vn__t { font-size: 12px; opacity: .7; }
.vn__txt { margin: 4px 0; font-size: 15px; font-style: italic; color: var(--ink); }
.po { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; }
.po__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.po__head span { font-size: 11.5px; color: var(--ink-2); }
.po__row { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid var(--line); }
.po__foot { margin-top: 8px; display: grid; }
.po__foot > * { grid-area: 1 / 1; }
.po__ok { all: unset; justify-self: start; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; transition: transform .15s, opacity .3s; }
.po__ok.is-press { transform: scale(.94); }
.po__done { display: flex; align-items: center; gap: 8px; font-size: 13px; color: oklch(0.42 0.12 150); opacity: 0; transition: opacity .4s; }
.po__chk { width: 22px; height: 22px; border-radius: 50%; background: oklch(0.95 0.05 150) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232e8a4e' stroke-width='2'/%3E%3C/svg%3E"); }
.mw-voice.is-ok .po__ok { opacity: 0; pointer-events: none; } .mw-voice.is-ok .po__done { opacity: 1; }
.js .moment:not(.is-active) :is(.vn__txt, .po) { opacity: 0; }
.vn__txt, .po { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.mw-voice.pre .vn__txt, .mw-voice:is(.pre, .mid) .po { opacity: 0; transform: translateY(6px); }
.mw-close { background: none; padding: 0; gap: 8px; }
.toast { display: flex; align-items: center; gap: 10px; width: fit-content; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px 9px 10px; font-size: 13.5px; box-shadow: 0 10px 24px -18px oklch(0.2 0.02 275 / .4); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.toast i { width: 20px; height: 20px; border-radius: 50%; background: oklch(0.95 0.05 150) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232e8a4e' stroke-width='2'/%3E%3C/svg%3E"); }
.toast.wait i { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3' fill='%238EA0FF'/%3E%3C/svg%3E"); }
.toast:nth-child(2) { margin-left: 18px; } .toast:nth-child(3) { margin-left: 36px; } .toast:nth-child(4) { margin-left: 54px; }
.js .moment:not(.is-active) .toast { opacity: 0; transform: translateY(10px); }
.moment.is-active .toast:nth-child(2) { transition-delay: .25s; } .moment.is-active .toast:nth-child(3) { transition-delay: .5s; } .moment.is-active .toast:nth-child(4) { transition-delay: .75s; }

/* lens band */
.lens { position: relative; margin-top: clamp(80px, 12vh, 130px); padding-top: 64px; }
.lens__tag { position: absolute; z-index: 3; left: 50%; top: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; font: 15px "Input Mono", monospace; color: var(--ink-2); white-space: nowrap; }
.lens__tag b { font-weight: 400; color: var(--ink); }
.lens__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--peri); }
.lens__rows { position: relative; display: flex; flex-direction: column; gap: 12px; }
.lens__rows::after { content: ""; position: absolute; z-index: 2; left: 50%; top: -22px; bottom: -22px; width: 6px; margin-left: -3px; border-radius: 3px; background: var(--peri); box-shadow: 0 0 18px 2px oklch(0.64 0.16 275 / .45), 0 0 60px 10px oklch(0.64 0.16 275 / .15); }
.lane { position: relative; height: 56px; overflow: hidden; }
.half { position: absolute; inset: 0; }
.half--data { clip-path: inset(0 50% 0 0); }
.half--act { clip-path: inset(0 0 0 50%); }
.lane .track { position: absolute; inset: 0; display: flex; gap: 12px; width: max-content; animation: lane var(--t, 46s) linear infinite; }
.lane:nth-child(even) .track { --t: 58s; }
.lens:hover .lane .track { animation-play-state: paused; }
@keyframes lane { from { transform: translateX(calc(var(--w) / -2)); } to { transform: none; } }
.chip { flex: none; width: 300px; height: 56px; border-radius: 14px; display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 14px; }
.track--data .chip { border: 1px dashed var(--line-2); color: var(--ink-2); font: 12.5px "Input Mono", monospace; letter-spacing: -0.02em; }
.track--act .chip { background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px -14px oklch(0.2 0.02 275 / .3); font-weight: 450; }
.track--act .chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--peri); flex: none; }
.chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── 4b · Whole team: a phone with the real app, one screen per role ── */
.crew { padding: var(--section) var(--gutter) calc(var(--section) * .4); }
.crew__wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.crew__copy .lede { margin-top: 18px; max-width: 46ch; }
.crew__roles { margin-top: 32px; display: grid; gap: 6px; }
.crew__roles button { all: unset; cursor: pointer; position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 16px; overflow: hidden; transition: background .3s; }
.crew__roles button b { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink-2); transition: color .3s; }
.crew__roles button span { font-size: 14.5px; color: var(--ink-2); }
.crew__roles button i { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--line); opacity: 0; }
.crew__roles button i::after { content: ""; position: absolute; inset: 0; background: var(--peri); transform-origin: 0 50%; transform: scaleX(0); }
.crew__roles button:hover { background: oklch(1 0 0 / .6); }
.crew__roles button[aria-pressed="true"] { background: var(--white); box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05); }
.crew__roles button[aria-pressed="true"] b { color: var(--ink); }
.crew__roles button[aria-pressed="true"] i { opacity: 1; }
.crew__roles button.is-run i::after { animation: rolebar var(--dur, 8s) linear forwards; }
@keyframes rolebar { to { transform: scaleX(1); } }
.crew__roles button:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 2px; }
.lang { margin: 28px 0 0; max-width: 52ch; }
.lang p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.lang p b { color: var(--ink); font-weight: 500; }
.lang__demo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; font-size: 14.5px; }
.lang__in { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.lang__in em { font: normal 600 11px "Input Mono", monospace; padding: 3px 7px; border-radius: 99px; background: var(--ink); color: #fff; }
.lang__demo i { font-style: normal; color: var(--ink-2); }
.lang__out { padding: 6px 14px; border-radius: 99px; background: var(--butter); color: var(--ink); font-weight: 500; }
.crew__pay { margin: 28px 0 0; max-width: 52ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.crew__pay b { color: var(--ink); font-weight: 500; }
.crew__stage { display: grid; place-items: center; }
.crew__stage .handset { zoom: min(1, calc((100svh - 140px) / 700px)); }

.handset { position: relative; width: 340px; height: 700px; border-radius: 54px; background: oklch(0.2 0.006 30); box-shadow: inset 0 0 0 1.5px oklch(0.38 0.006 30), 0 50px 80px -40px oklch(0.2 0.02 275 / .55); }
.handset__island { position: absolute; z-index: 3; left: 50%; top: 22px; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.handset__time { position: absolute; z-index: 3; left: 44px; top: 26px; font: 600 14px "Suisse Intl", sans-serif; color: #2a2218; }
.ap { --ap-bg: oklch(0.97 0.012 85); --ap-card: oklch(0.985 0.008 85); --ap-line: oklch(0.91 0.015 85); --ap-ink: oklch(0.25 0.02 60); --ap-mute: oklch(0.5 0.02 70); --ap-acc: oklch(0.55 0.12 50);
  position: absolute; inset: 11px; border-radius: 43px; overflow: hidden; background: var(--ap-bg); color: var(--ap-ink); display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.ap.is-on { opacity: 1; visibility: visible; }
.ap__head { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; padding: 58px 14px 10px; }
.ap__btn { width: 38px; height: 38px; border-radius: 50%; background: oklch(0.985 0.01 85); box-shadow: 0 6px 14px -8px oklch(0.4 0.03 60 / .35), inset 0 0 0 1px var(--ap-line); display: grid; place-items: center; }
.ap__btn svg { width: 17px; height: 17px; fill: none; stroke: var(--ap-ink); stroke-width: 1.7; stroke-linecap: round; }
.ap__title { text-align: center; min-width: 0; }
.ap__title b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap__title b i { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid var(--ap-mute); border-bottom: 1.5px solid var(--ap-mute); transform: rotate(45deg) translate(-3px, -1px); margin-left: 6px; }
.ap__title small { display: block; color: var(--ap-mute); font-size: 11.5px; }
.ap__head--rec { background: oklch(0.955 0.012 85); padding-bottom: 12px; }
.ap__body { flex: 1; min-height: 0; padding: 6px 16px 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; position: relative; }
.ap__me { align-self: flex-end; max-width: 84%; margin: 0; padding: 10px 13px; border-radius: 18px; background: oklch(0.92 0.015 80); }
.ap__me--vn { display: grid; gap: 6px; }
.ap__me--vn small { font-size: 12px; color: var(--ap-mute); font-style: italic; }
.ap__vn { display: flex; align-items: center; gap: 8px; }
.ap__vn i { width: 24px; height: 24px; border-radius: 50%; background: var(--ap-ink); position: relative; flex: none; }
.ap__vn i::after { content: ""; position: absolute; left: 9px; top: 7px; border: 5px solid transparent; border-left: 7px solid #fff; border-right: 0; }
.ap__vn em { width: 120px; height: 16px; background: repeating-linear-gradient(90deg, var(--ap-ink) 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(90deg, #000 0 8%, transparent 8% 10%, #000 10% 40%, transparent 40% 42%, #000 42% 100%); opacity: .5; border-radius: 2px; }
.ap__vn small { font: 11px "Input Mono", monospace; color: var(--ap-mute); }
.ap__d { margin: 0; font-size: 13.5px; line-height: 1.45; }
.ap__tbl, .ap__po { background: var(--ap-card); border: 1px solid var(--ap-line); border-radius: 18px; overflow: hidden; }
.ap__tr { display: grid; grid-template-columns: minmax(0, 1fr) 36px 62px; gap: 8px; align-items: baseline; padding: 7px 12px; border-top: 1px solid var(--ap-line); }
.ap__tr span { color: var(--ap-acc); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap__tr b { font: 400 12.5px "Input Mono", monospace; text-align: right; }
.ap__th { border-top: 0; font-size: 11px; }
.ap__th span { color: var(--ap-ink); font-weight: 600; } .ap__th span:not(:first-child) { color: var(--ap-mute); font-weight: 400; text-align: right; font-family: "Input Mono", monospace; }
.ap__more { padding: 6px 12px 8px; text-align: right; font: 11px "Input Mono", monospace; color: var(--ap-mute); border-top: 1px solid var(--ap-line); }
.ap__po .ap__tr { grid-template-columns: minmax(0, 1fr) auto; }
.ap__po .ap__tr span { color: var(--ap-ink); font-weight: 400; }
.ap__po .ap__tot span { font-weight: 600; }
.ap__acts { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px; padding: 8px 10px 10px; border-top: 1px solid var(--ap-line); }
.ap__acts > span { grid-row: 1; padding: 8px 12px; border-radius: 12px; text-align: center; font-weight: 500; transition: opacity .3s, transform .2s; }
.ap__ghost { box-shadow: inset 0 0 0 1px var(--ap-line); }
.ap__ok { background: var(--ap-ink); color: #fff; }
.ap__done { position: absolute; inset: 8px 10px 10px; display: grid; place-items: center; background: oklch(0.94 0.06 150); color: oklch(0.42 0.12 150); opacity: 0; }
.ap__po.is-on .ap__ok, .ap__po.is-on .ap__ghost { opacity: 0; }
.ap__po.is-on .ap__done { opacity: 1; }
.ap__card { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--ap-card); border: 1px solid var(--ap-line); }
.ap__card small { display: block; color: var(--ap-mute); font-size: 12px; }
.ap__chk { width: 24px; height: 24px; border-radius: 50%; flex: none; background: oklch(0.94 0.06 150) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232e8a4e' stroke-width='2'/%3E%3C/svg%3E"); }
.ap__in { display: flex; align-items: center; gap: 10px; margin: 12px 12px 22px; padding: 8px 8px 8px 16px; border-radius: 26px; background: oklch(0.985 0.01 85); box-shadow: inset 0 0 0 1px var(--ap-line), 0 10px 20px -14px oklch(0.4 0.03 60 / .4); }
.ap__plus { font-size: 22px; line-height: 1; color: var(--ap-ink); }
.ap__ph { flex: 1; color: var(--ap-mute); font-size: 14px; }
.ap__mic { display: grid; } .ap__mic svg, .ap__send svg { width: 18px; height: 18px; fill: none; stroke: var(--ap-mute); stroke-width: 1.6; stroke-linecap: round; }
.ap__send { width: 34px; height: 34px; border-radius: 50%; background: oklch(0.93 0.015 80); display: grid; place-items: center; }
.ap__body--rec { padding: 0; gap: 0; justify-content: flex-start; }
.ap__scroll { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 80px; transition: transform 2.4s cubic-bezier(.45,0,.2,1); }
.ap__scroll.is-on { transform: translateY(-200px); }
.ap__hero { width: 100%; height: 170px; object-fit: cover; border-radius: 16px; border: 1px solid var(--ap-line); margin-bottom: 4px; }
.ap__kv { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ap-mute); }
.ap__kv b { font: 400 13px "Input Mono", monospace; color: var(--ap-ink); }
.ap__kv .ap__fc { color: var(--peri-ink); }
.ap__cap { margin-top: 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ap-mute); }
.ap__ing { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
.ap__ing img, .ap__rm { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.ap__rm { display: grid; place-items: center; font: normal 600 11px "Suisse Intl", sans-serif; background: oklch(0.96 0.025 275); color: oklch(0.47 0.16 275); }
.ap__ing span { font-size: 13px; line-height: 1.25; }
.ap__ing small { display: block; font: 10.5px "Input Mono", monospace; color: var(--ap-mute); }
.ap__ing b { font: 400 12.5px "Input Mono", monospace; }
.ap__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.ap__steps figure { margin: 0; }
.ap__steps img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.ap__steps figcaption { margin-top: 6px; font-size: 11.5px; line-height: 1.35; color: var(--ap-mute); }
.ap__steps figcaption i { font: normal 10.5px "Input Mono", monospace; margin-right: 5px; }
.ap__steps figcaption b { color: var(--ap-ink); font-weight: 600; font-size: 12px; margin-right: 4px; }
.ap__card--rc { cursor: default; }
.ap__card--rc img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.ap__card--rc span { flex: 1; font-weight: 500; }
.ap__card--rc i { font-style: normal; font-size: 20px; color: var(--ap-mute); }
.ap__sheet { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: var(--ap-bg); box-shadow: 0 -20px 40px -20px oklch(0.3 0.03 60 / .35); transform: translateY(102%); transition: transform .7s cubic-bezier(.16,1,.3,1); }
.ap__sheet.is-on { transform: none; }
.ap__steps figure:nth-child(3) img { transition: box-shadow .5s .9s; }
.ap__scroll.is-on .ap__steps figure:nth-child(3) img { box-shadow: 0 0 0 3px #8EA0FF; }
.ap__ask { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 8px; padding: 12px; border-radius: 20px; background: oklch(0.985 0.01 85 / .97); box-shadow: 0 -10px 30px -12px oklch(0.3 0.03 60 / .35), inset 0 0 0 1px var(--ap-line); }
.ap__ask .ap__me { max-width: 92%; }
.ap__tabs { display: flex; justify-content: space-around; margin: 0 14px 22px; padding: 4px; border-radius: 22px; background: oklch(0.93 0.012 80); font-size: 12.5px; color: var(--ap-mute); }
.ap__tabs span { padding: 7px 10px; border-radius: 18px; }
.ap__tabs .on { background: #fff; color: var(--ap-ink); font-weight: 500; box-shadow: 0 2px 6px -2px oklch(0.3 0.03 60 / .25); }

.pcard__fix { margin: 18px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px !important; color: var(--ink) !important; max-width: 44ch; }
.pcard__fix b { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; font-weight: 600; color: var(--peri-ink); }
.pcard__fix b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--peri); }

/* ── 5 · Pains: sticky stacking cards ── */
.pains { padding: var(--section) var(--gutter) calc(var(--section) * .6); background: var(--butter); }
.stack { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; gap: 28px; }
.pcard { position: sticky; top: calc(96px + var(--i, 0) * 14px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; min-height: min(400px, 56svh); padding: clamp(22px, 3vw, 40px); background: var(--white); border-radius: 32px; box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05), 0 -12px 40px -24px oklch(0.2 0.02 275 / .18); transform-origin: 50% 0; will-change: transform; }
.pcard__n { font: 13px "Input Mono", monospace; color: var(--ink-2); }
.pcard h3 { margin: 14px 0 14px; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.pcard__txt p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 44ch; }
.pcard__art { position: relative; height: clamp(280px, 36svh, 340px); border-radius: 24px; background: var(--ground); overflow: hidden; isolation: isolate; }
.pcard__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(oklch(0.2 0.01 30 / .09) 1px, transparent 1.3px) 0 0 / 18px 18px; }
.ar { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13.5px; }
.panel { background: var(--white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px oklch(0.2 0.02 275 / .35); }

/* 1 stock */
.ar-stock .kg-card { width: 260px; padding: 18px; background: var(--white); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px oklch(0.2 0.02 275 / .35); }
.ar-stock small { color: var(--ink-2); font-size: 12.5px; }
.ar-stock .kg { display: block; font-size: 44px; letter-spacing: -0.05em; line-height: 1.1; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.ar-stock .exp { font-size: 12.5px; color: var(--ink-2); }
.ar-stock .kg-bar { height: 8px; border-radius: 4px; background: var(--line); margin-top: 12px; overflow: hidden; }
.ar-stock .kg-bar i { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: inherit; transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.4,0,.2,1); }
.ar-stock .diff { position: absolute; top: 14%; right: 9%; padding: 7px 12px; border-radius: 99px; background: var(--peri-ink); color: #fff; font-size: 13px; transform: rotate(4deg); transition: opacity .3s, transform .5s var(--ease-out); }
.ar-stock .diff.off { opacity: 0; transform: rotate(4deg) scale(.6); }
.ar-stock .sus { position: absolute; bottom: 12%; display: flex; gap: 8px; }
.ar-stock .sus span { padding: 6px 12px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 13px; transition: background .15s, color .15s, box-shadow .15s; }
.ar-stock .sus span.on { background: var(--ink); color: #fff; box-shadow: none; }
.ar-stock .fly { position: absolute; width: 38px; height: 38px; border-radius: 10px; left: 50%; top: 46%; opacity: 0; box-shadow: 0 8px 18px -10px oklch(0.2 0.02 275 / .5); }

/* 2 excel */
.ar-xls { grid-template-columns: auto auto; gap: 28px; align-content: center; justify-content: center; }
.ar-xls .inv { background: var(--white); padding: 14px 16px 18px; width: 200px; font-size: 11px; white-space: nowrap; line-height: 1.9; color: var(--ink-2); box-shadow: 0 18px 30px -20px oklch(0.2 0.02 275 / .4); transform: rotate(-4deg); mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.ar-xls .inv b { display: block; color: var(--ink); font-weight: 400; border-bottom: 1px dashed var(--line-2); margin-bottom: 4px; }
.ar-xls .inv p { margin: 0; display: flex; justify-content: space-between; gap: 8px; border-radius: 4px; padding: 0 4px; margin-inline: -4px; transition: background .2s; }
.ar-xls .inv p.on { background: oklch(0.94 0.08 95); color: var(--ink); }
.ar-xls .sheet { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px oklch(0.2 0.02 275 / .35); font-size: 11.5px; width: 200px; }
.ar-xls .r { display: grid; grid-template-columns: 22px 1fr 64px; }
.ar-xls .r span { height: 28px; display: flex; align-items: center; padding: 0 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.ar-xls .r span:first-child, .ar-xls .r.h span { background: var(--ground); color: var(--ink-2); justify-content: center; }
.ar-xls .r .c.cur { outline: 2px solid oklch(0.5 0.13 150); outline-offset: -2px; }
.ar-xls .r .t { justify-content: flex-end; }
.ar-xls .r .t.err { background: oklch(0.95 0.04 275); color: var(--peri-ink); justify-content: center; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.ar-xls .tabs { display: flex; gap: 2px; padding: 4px; background: var(--ground); color: var(--ink-2); font-size: 10.5px; }
.ar-xls .tabs span { padding: 3px 7px; border-radius: 5px; }
.ar-xls .tabs span:first-child { background: var(--white); color: oklch(0.45 0.13 150); }
.ar-xls .tabs .more.bump { animation: bump .4s var(--ease-out); color: var(--peri-ink); }
@keyframes bump { 40% { transform: scale(1.35); } }
.ar-xls .clock { position: absolute; top: 14px; right: 16px; padding: 5px 10px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; }

/* 3 chat */
@keyframes dots { 30% { transform: translateY(-3px); opacity: .5; } }
@keyframes msgin { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* 4 pay */
.ar-pay .pay-card { width: 300px; padding: 16px 18px; background: var(--white); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px oklch(0.2 0.02 275 / .35); }
.ar-pay .pay-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; color: var(--ink-2); transition: opacity .3s, transform .4s var(--ease-out); }
.ar-pay .pay-row b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.ar-pay .pay-row.off { opacity: 0; transform: translateX(-8px); }
.ar-pay .pay-bar { display: flex; gap: 2px; height: 14px; margin: 10px 0 12px; border-radius: 6px; overflow: hidden; background: var(--line); }
.ar-pay .pay-bar i { flex: 0 0 0%; transition: flex-basis .7s var(--ease-out); }
.ar-pay .pay-bar i:nth-child(1) { background: oklch(0.3 0.01 30); } .ar-pay .pay-bar i:nth-child(2) { background: var(--peri); } .ar-pay .pay-bar i:nth-child(3) { background: oklch(0.72 0.15 275); } .ar-pay .pay-bar i:nth-child(4) { background: oklch(0.82 0.1 60); }
.ar-pay .pay-tot { display: flex; justify-content: space-between; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); transition: opacity .3s; }
.ar-pay .pay-tot b { font-weight: 400; font-size: 16px; }
.ar-pay .pay-tot.off, .ar-pay .pay-pill.off { opacity: 0; }
.ar-pay .pay-pill { position: absolute; right: 3%; top: 4%; padding: 8px 14px; border-radius: 99px; background: var(--peri-ink); color: #fff; font-size: 13px; font-weight: 500; transform: rotate(5deg); transition: opacity .3s, transform .5s var(--ease-out); }
.ar-pay .pay-pill.off { transform: rotate(5deg) scale(.6); }

/* 5 roles */
.ar-roles { grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 18px; }
.ar-roles .roles { display: grid; grid-template-columns: repeat(5, 76px); gap: 8px; }
.ar-roles .roles div { height: 104px; background: var(--white); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 4px; font-size: 11.5px; text-align: center; }
.ar-roles em { font-style: normal; width: 40px; height: 40px; border-radius: 50%; border: 1.5px dashed var(--line-2); display: grid; place-items: center; font-size: 10px; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s; }
.ar-roles em.you { border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 11px; animation: drop .5s var(--ease-out); }
@keyframes drop { from { transform: translateY(-30px) scale(.6); opacity: 0; } }
.ar-roles .hours { width: 412px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: var(--white); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 14px; font-size: 13px; color: var(--ink-2); }
.ar-roles .hbar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ar-roles .hbar i { display: block; height: 100%; width: 100%; background: var(--peri); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s var(--ease-out); }
.ar-roles .hours b { color: var(--ink); font-weight: 400; min-width: 44px; text-align: right; }

/* 6 new hire */
.ar-hire .qs { position: absolute; left: 8%; right: 30%; bottom: 14%; display: flex; flex-direction: column; gap: 8px; }
.ar-hire .q { display: grid; grid-template-columns: 50px 1fr; gap: 10px; align-items: center; background: var(--white); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 9px 12px; font-size: 13px; animation: msgin .4s var(--ease-out); transition: opacity .3s; }
.ar-hire .q small { font: 11px "Input Mono", monospace; color: var(--ink-2); }
.ar-hire .tally { position: absolute; right: 7%; top: 14%; text-align: center; background: var(--white); border-radius: 18px; padding: 12px 18px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--ink-2); }
.ar-hire .tally b { display: block; font-size: 34px; font-weight: 400; letter-spacing: -0.04em; color: var(--peri-ink); line-height: 1.1; }
.ar-hire .ghost { position: absolute; right: 7%; bottom: 14%; width: 120px; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--line-2); font-size: 12px; color: var(--ink-2); }
.ar-hire .ghost b { display: block; color: var(--ink); font-weight: 500; }

/* 7 chain */
@keyframes pulse { to { box-shadow: 0 0 0 16px oklch(0.64 0.16 275 / 0); } }
@keyframes alert { 0% { opacity: 0; transform: translateY(8px) scale(.9); } 12%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }

/* 8 list */
.ar-list { grid-template-columns: auto auto; gap: 22px; justify-content: center; align-content: center; }
.ar-list .pad { width: 230px; min-height: 220px; background: var(--white); border-radius: 4px 18px 18px 18px; padding: 14px 16px; font-size: 13px; line-height: 30px; color: var(--ink); box-shadow: 0 18px 36px -24px oklch(0.2 0.02 275 / .35), inset 0 0 0 1px var(--line); background-image: repeating-linear-gradient(transparent 0 29px, var(--line) 29px 30px); background-position: 0 14px; transform: rotate(-2deg); }
.ar-list .lines div { white-space: nowrap; overflow: hidden; }
.ar-list .lines div.x { text-decoration: line-through; text-decoration-color: var(--peri); color: var(--ink-2); }
.ar-list .lines div.caret::after { content: ""; display: inline-block; width: 1px; height: 14px; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.ar-list .more { font-weight: 400; color: var(--peri-ink); display: inline-block; }
.ar-list .more.bump { animation: bump .4s var(--ease-out); }
.ar-list .news { width: 180px; display: grid; gap: 8px; align-self: center; }
.ar-list .news small { font-size: 11.5px; color: var(--ink-2); }
.ar-list .news span { background: var(--white); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); line-height: 1.3; }

/* ── 6 · Modules ── */
.modules { padding: calc(var(--section) * .35) 0 0; }
.swap { height: 190vh; }
.swap__sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding: 96px var(--gutter) 40px; }
.swap__copy .lede { margin-top: 18px; max-width: 36ch; }
.swap__hint { transition: opacity .4s; margin-top: 28px; display: inline-flex; gap: 10px; align-items: center; font: 13px "Input Mono", monospace; color: var(--ink-2); }
.swap__hint b { font-weight: 400; color: var(--ink); }
.screen { position: relative; aspect-ratio: 1.3; max-height: 70svh; width: 100%; justify-self: center; }
.xl { position: absolute; inset: 0; border-radius: calc(18 * var(--u)); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-tile); overflow: hidden; display: flex; flex-direction: column; font: calc(11.5 * var(--u)) "Input Mono", monospace; letter-spacing: -0.02em; }
.xl__bar { display: flex; align-items: center; gap: calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); border-bottom: 1px solid var(--line); color: var(--ink-2); background: oklch(0.96 0.03 150); }
.xl__bar i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: calc(4 * var(--u)); background: oklch(0.5 0.13 150); color: #fff; font: 600 calc(11 * var(--u))/calc(18 * var(--u)) "Suisse Intl", sans-serif; text-align: center; font-style: normal; }
.xl__bar em { margin-left: auto; font-style: normal; color: var(--peri-ink); }
.xl__fx { display: flex; gap: calc(12 * var(--u)); padding: calc(6 * var(--u)) calc(14 * var(--u)); border-bottom: 1px solid var(--line); color: var(--ink-2); }
.xl__fx b { font-weight: 400; color: var(--ink); min-width: calc(28 * var(--u)); }
.xl__fx span { font-style: italic; color: var(--line-2); }
.xl__grid { flex: 1; display: grid; grid-template-columns: calc(30 * var(--u)) 1.55fr .95fr .95fr repeat(5, .8fr); grid-auto-rows: 1fr; }
.xl__grid > span { border-right: 1px solid oklch(0.93 0.003 30); border-bottom: 1px solid oklch(0.93 0.003 30); padding: 0 calc(6 * var(--u)); display: flex; align-items: center; justify-content: flex-end; white-space: nowrap; overflow: hidden; color: oklch(0.35 0.008 30); }
.xl__grid > .h { background: var(--ground); color: var(--ink-2); justify-content: center; font-size: calc(10.5 * var(--u)); }
.xl__grid > .t { justify-content: flex-start; }
.xl__grid > .b { background: oklch(0.96 0.03 150); color: var(--ink); }
.xl__grid > .yl { background: oklch(0.95 0.12 100); }
.xl__grid > .neg { color: var(--peri-ink); }
.xl__grid > .err { background: oklch(0.95 0.04 275); color: var(--peri-ink); justify-content: center; }
.xl__grid > .cur { outline: 2px solid oklch(0.5 0.13 150); outline-offset: -2px; }
.xl__tabs { display: flex; gap: 2px; padding: calc(5 * var(--u)) calc(8 * var(--u)); border-top: 1px solid var(--line); background: var(--ground); color: var(--ink-2); overflow: hidden; }
.xl__tabs span { padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: calc(6 * var(--u)); white-space: nowrap; }
.xl__tabs span:first-child { background: var(--white); color: oklch(0.45 0.13 150); box-shadow: inset 0 -2px 0 oklch(0.5 0.13 150); }
.sz { position: absolute; inset: 0; border-radius: calc(18 * var(--u)); background: var(--ui-bg); padding: calc(20 * var(--u)); display: flex; flex-direction: column; gap: calc(8 * var(--u)); box-shadow: var(--shadow-tile); clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0 round calc(18 * var(--u))); }
.sz__head { display: flex; align-items: center; gap: calc(10 * var(--u)); margin-bottom: calc(4 * var(--u)); }
.sz__head b { font-size: calc(17 * var(--u)); font-weight: 600; }
.sz__head small { font: calc(11.5 * var(--u)) "Input Mono", monospace; color: var(--ui-mute); }
.sz__head .seg { margin-left: auto; display: flex; gap: calc(4 * var(--u)); font-size: calc(12 * var(--u)); }
.sz__head .seg span { padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: calc(99 * var(--u)); background: var(--ui-card); box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-mute); }
.sz__head .seg span:first-child { background: var(--ui-ink); color: #fff; box-shadow: none; }
.sz__table { background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: calc(14 * var(--u)); overflow: hidden; }
.sz__row { display: grid; grid-template-columns: minmax(0, 1fr) calc(84 * var(--u)) calc(84 * var(--u)) calc(108 * var(--u)); gap: calc(10 * var(--u)); align-items: center; padding: calc(8 * var(--u)) calc(12 * var(--u)); border-top: 1px solid var(--ui-line); font-size: calc(13 * var(--u)); }
.sz__row:first-child { border-top: 0; font-size: calc(11.5 * var(--u)); color: var(--ui-mute); padding-block: calc(8 * var(--u)) calc(6 * var(--u)); }
.sz__row .n { display: flex; align-items: center; gap: calc(9 * var(--u)); min-width: 0; }
.sz__row .n img { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: calc(7 * var(--u)); flex: none; }
.sz__row .n span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz__row .q { font: calc(12.5 * var(--u)) "Input Mono", monospace; text-align: right; }
.sz__row .q.low { color: var(--peri-ink); }
.sz__row .s { justify-self: end; font-size: calc(11.5 * var(--u)); padding: calc(3 * var(--u)) calc(8 * var(--u)); border-radius: calc(99 * var(--u)); background: oklch(0.95 0.05 150); color: oklch(0.42 0.12 150); white-space: nowrap; }
.sz__row .s.warn { background: oklch(0.95 0.04 275); color: oklch(0.5 0.16 275); }
.sz__dough { margin-top: auto; display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--ui-card); border: 1px solid var(--ui-line); font-size: calc(13 * var(--u)); }
.sz__dough img { width: calc(34 * var(--u)); height: calc(34 * var(--u)); border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.92 0.05 70); flex: none; }
.sz__dough p { margin: 0; flex: 1; line-height: 1.35; }
.sz__dough button { all: unset; cursor: pointer; padding: calc(8 * var(--u)) calc(12 * var(--u)); border-radius: calc(10 * var(--u)); background: var(--ui-ink); color: #fff; font-size: calc(12.5 * var(--u)); font-weight: 500; white-space: nowrap; }
.sz__dough button:focus-visible { outline: 2px solid var(--ui-link); outline-offset: 2px; }
.bar-sweep { position: absolute; z-index: 3; top: -5%; bottom: -5%; left: calc(var(--p, 0) * 100%); width: calc(10 * var(--u)); margin-left: calc(-5 * var(--u)); border-radius: calc(3 * var(--u)); background: var(--peri); box-shadow: 0 0 calc(22 * var(--u)) calc(3 * var(--u)) oklch(0.64 0.16 275 / .5), 0 0 calc(70 * var(--u)) calc(14 * var(--u)) oklch(0.64 0.16 275 / .2); opacity: var(--bo, 0); pointer-events: none; }

/* 6a · Start today, fix as you go */
.easy { max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(64px, 10vh, 110px) var(--gutter) 0; }
.easy__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 24px; align-items: end; margin-bottom: 36px; }
.easy__demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rf { position: relative; background: var(--white); border-radius: 24px; padding: 18px; display: grid; gap: 6px; align-content: start; overflow: hidden; font-size: 13.5px; }
.rf__label { display: flex; align-items: center; gap: 8px; height: 34px; margin-bottom: 6px; }
.rf__label--old { width: fit-content; padding: 0 14px 0 10px; border-radius: 99px; background: oklch(0.88 0.004 30); color: oklch(0.38 0.006 30); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rf__label--old svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.rf__label--new svg { height: 30px; width: auto; color: var(--peri); }
.rf--new { box-shadow: inset 0 0 0 2px var(--peri), 0 24px 48px -28px oklch(0.55 0.16 275 / .45); }
.rf__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; min-height: 26px; }
.rf__head b { font-weight: 600; }
.rf__saved { font-style: normal; white-space: nowrap; flex: none; font-size: 12px; padding: 3px 9px; border-radius: 99px; background: oklch(0.95 0.07 85); color: oklch(0.48 0.12 65); opacity: 0; transition: opacity .3s; }
.rf__cols, .rf__row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 80px; gap: 10px; align-items: center; }
.rf__cols { font-size: 11.5px; color: var(--ui-mute); padding: 6px 10px 2px; }
.rf__cols span:not(:first-child), .rf__row span:not(:first-child) { text-align: right; }
.rf__row { padding: 9px 10px; border-radius: 12px; background: var(--ui-bg); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.rf__got { font-weight: 500; }
.rf__foot { display: flex; justify-content: flex-end; margin-top: 6px; }
.rf__btn { padding: 8px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 500; transition: transform .15s, background .3s; }
.rf__btn.is-press { transform: scale(.94); }
.rf__modal { position: absolute; left: 50%; top: 50%; width: min(300px, 86%); padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -20px oklch(0.2 0.02 275 / .45), 0 0 0 1px var(--line); translate: -50% -50%; opacity: 0; scale: .9; transition: opacity .25s, scale .35s var(--ease-out); pointer-events: none; }
.rf__modal b { display: block; color: oklch(0.5 0.16 275); }
.rf__modal p { margin: 6px 0 12px; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.rf__modal span { display: inline-block; padding: 6px 16px; border-radius: 8px; background: var(--ground); font-weight: 500; }
.rf--old::after { content: ""; position: absolute; inset: 0; background: oklch(0.2 0.01 30 / .18); opacity: 0; transition: opacity .25s; pointer-events: none; }
.rf--old.is-err::after { opacity: 1; }
.rf--old.is-err .rf__modal { opacity: 1; scale: 1; z-index: 1; animation: shake .4s .2s; }
.rf--old.is-err .rf__row:not(.ok) { border-color: oklch(0.7 0.16 275); background: oklch(0.96 0.03 275); }
.rf--new.is-ok .rf__saved { opacity: 1; }
.rf--new.is-ok .rf__row:not(.ok) { border-color: oklch(0.82 0.1 80); background: oklch(0.97 0.05 90); }
.rf--new.is-ok .rf__btn { background: oklch(0.48 0.13 150); }
.rf__dough { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; margin: 8px 0 0; padding: 10px 12px; border-radius: 14px; background: var(--ui-bg); font-size: 13px; line-height: 1.4; transition: opacity .4s, transform .5s var(--ease-out); }
.rf__dough img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.js .rf--new:not(.is-tip) .rf__dough { opacity: 0; transform: translateY(8px); }
.easy__pts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.easy__pts li { display: grid; gap: 4px; padding: 0 4px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.easy__pts b { color: var(--ink); font-weight: 600; font-size: 16px; }

.mods { margin: clamp(64px, 10vh, 110px) 0 var(--section); padding: var(--section) var(--gutter); background: var(--butter); }
.mods__in { max-width: 1240px; margin: 0 auto; }
.mods__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.mods__head .lede { color: oklch(0.28 0.03 60); }
.mods__pilot { display: flex; align-items: center; gap: 16px; margin: 0; color: oklch(0.28 0.03 60); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; }
.mods__pilot img { width: 72px; height: auto; flex: none; filter: drop-shadow(0 10px 14px oklch(0.45 0.04 75 / .35)); }
.mods__list { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 18px; margin-bottom: clamp(22px, 3vh, 32px); }
.mtab { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 16px 0 4px; border: 0; border-top: 2px solid oklch(0.17 0.02 275 / .14); background: none; color: var(--ink); text-align: left; white-space: nowrap; cursor: pointer; }
.mtab__n { font: 12.5px "Input Mono", monospace; color: oklch(0.5 0.03 70); transition: color .3s; }
.mtab__t { font-size: clamp(17px, 1.55vw, 22px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; color: oklch(0.5 0.03 70); transition: color .3s; }
.mtab:hover .mtab__t, .mtab[aria-selected="true"] .mtab__t, .mtab[aria-selected="true"] .mtab__n { color: var(--ink); }
.mtab:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.mtab__bar { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.mtab[aria-selected="true"] .mtab__bar { transform: none; }
.mods.is-live .mtab[aria-selected="true"] .mtab__bar { animation: mfill var(--dur, 6.5s) linear both; }
.mods__tabs:hover .mtab__bar { animation-play-state: paused; }
@keyframes mfill { from { transform: scaleX(0); } to { transform: none; } }
.mods__stage { container-type: inline-size; }
.mpanel { animation: mpin .5s var(--ease-out); }
.mpanel[hidden] { display: none; }
@keyframes mpin { from { opacity: 0; transform: translateY(10px); } }
.mpanel__d { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; min-height: 3em; margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: oklch(0.28 0.03 60); }
.mpanel__d span { max-width: 64ch; }
.mpanel__m { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.mpanel__d em { font: normal 12.5px "Input Mono", monospace; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.mode { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.mode img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }



/* Module screens: SIZL back-office screens drawn in HTML on a 72 × 36 em canvas; the font size follows the panel width.
   A cursor clicks the element marked data-hit in each frame, and the next frame fades in. */
.sys { position: relative; font-size: calc(100cqw / 72); aspect-ratio: 2 / 1; overflow: hidden; border-radius: 1.1em; background: rgb(250 248 242); color: var(--ui-ink); line-height: 1.35; box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .55), 0 0 0 1px oklch(0.17 0.02 275 / .08); }
.sys img { display: block; }
.shots { position: absolute; inset: 0; }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease-out); }
.shot.is-on { opacity: 1; }
.shots__cur { position: absolute; left: 0; top: 0; z-index: 3; width: 1.6em; opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.shots__cur.is-on { opacity: 1; }
.shots__cur svg { width: 100%; fill: var(--ink); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 3px oklch(0 0 0 / .3)); transition: transform .15s; }
.shots__cur.is-click svg { transform: scale(.82); }
.shots__cur.is-click::after { content: ""; position: absolute; left: -.5em; top: -.5em; width: 1.2em; height: 1.2em; border-radius: 50%; border: 2px solid var(--ink); animation: ripple .5s var(--ease-out) forwards; }
/* Dough drives the cursor: a name tag says what it is doing, and flips left near the right edge */
.shots__who { position: absolute; left: 1.05em; top: 1.05em; display: inline-flex; align-items: center; gap: .4em; width: max-content; padding: .22em .7em .22em .22em; border-radius: 99px 99px 99px .25em; background: var(--peri-ink); color: #fff; font-size: .74em; font-weight: 500; white-space: nowrap; box-shadow: 0 .5em 1.1em -.5em oklch(0.5 0.16 275 / .7); }
.shots__who img { width: 1.6em; height: 1.6em; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.shots__cur.is-left .shots__who { left: auto; right: .3em; flex-direction: row-reverse; padding: .22em .22em .22em .7em; border-radius: 99px 99px .25em 99px; }
/* frame chrome: page header, search, filters, tabs */
.fr { display: flex; flex-direction: column; gap: .9em; padding: 1.4em 1.8em; overflow: hidden; }
.fr__h { display: flex; align-items: center; gap: .6em; min-height: 2.2em; white-space: nowrap; }
.fr__h b { overflow: hidden; text-overflow: ellipsis; font-size: 1.45em; font-weight: 600; letter-spacing: -0.02em; }
.fr__h small { margin-right: auto; font: .72em "Input Mono", monospace; color: var(--ui-mute); }
.fr__crumb { font-size: 1.05em; color: var(--ui-mute); }
.fr__btn { flex: none; padding: .5em 1em; border-radius: .7em; background: var(--ui-ink); color: #fff; font-size: .8em; font-weight: 500; }
.fr__search { display: flex; align-items: center; gap: .55em; width: 15em; padding: .5em .9em; border: 1px solid var(--ui-line); border-radius: .7em; background: #fff; color: var(--ui-mute); font-size: .8em; white-space: nowrap; }
.fr__search::before { content: ""; flex: none; width: .75em; height: .75em; border: 1.5px solid currentColor; border-radius: 50%; }
.fr__search--on { border-color: var(--ui-ink); color: var(--ui-ink); box-shadow: 0 0 0 3px oklch(0.22 0.008 60 / .08); }
.fr__search--on::after { content: ""; width: 1px; height: 1.1em; margin-left: -.4em; background: currentColor; animation: blink 1s steps(1) infinite; }
.fr__search .q { clip-path: inset(0 100% 0 0); }
.shot.is-on .fr__search .q { animation: type .8s steps(4, end) .3s forwards; }
@keyframes type { to { clip-path: inset(0); } }
@keyframes blink { 50% { opacity: 0; } }
.fr__bar { display: flex; align-items: center; gap: .5em; }
.fr__chip { padding: .5em .9em; border: 1px solid var(--ui-line); border-radius: .7em; background: #fff; font-size: .8em; }
.fr__chip:not(:last-child)::after { content: " ▾"; color: var(--ui-mute); }
.fr__seg { display: flex; gap: .15em; padding: .2em; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); font-size: .8em; }
.fr__seg i { padding: .3em .9em; border-radius: 99px; color: var(--ui-mute); font-style: normal; }
.fr__seg i.on { background: var(--ui-ink); color: #fff; }
.fr__tabs { display: flex; gap: 1.6em; margin-top: -.3em; border-bottom: 1px solid var(--ui-line); font-size: .82em; }
.fr__tabs i { padding-bottom: .6em; color: var(--ui-mute); font-style: normal; }
.fr__tabs i.on { color: var(--ui-ink); box-shadow: inset 0 -2px 0 var(--ui-ink); }
.fr__dough { display: flex; align-items: center; gap: .8em; margin: auto 0 0; padding: .7em .9em; border-radius: .9em; background: var(--butter-soft); font-size: .85em; }
.fr__dough img { width: 2.2em; height: 2.2em; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.fr__dough > span:first-of-type { flex: 1; }
.rd__side .fr__dough { margin-top: 1em; }
.pr .fr__dough { margin-top: 2.2em; font-size: .78em; }
.fr__done { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; margin: auto 0 0; padding: .75em .9em; border-radius: .9em; background: oklch(0.95 0.06 145); color: oklch(0.36 0.1 145); font-size: .85em; }
.fr__done svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fr__done b { font-weight: 600; }
.fr__done span { padding: .15em .65em; border-radius: 99px; background: #fff; }
.fr--mn .dt { --cols: minmax(0, 1fr) 6em 10em 6em 4em; }
.dt__r.hi { border-radius: .6em; background: var(--butter-soft); }
.dt__r.ok { border-radius: .6em; background: oklch(0.97 0.035 145); }
.dt__num.up { color: oklch(0.42 0.12 145); font-weight: 600; }
.shot.is-on .dt__num.up { animation: pop .9s var(--ease-out) .3s both; }
@keyframes pop { from { transform: scale(1.25); opacity: 0; } }
.fc { display: flex; align-items: center; gap: .6em; font-family: "Input Mono", monospace; }
.fc i { position: relative; width: 5em; height: .4em; overflow: hidden; border-radius: .2em; background: var(--ui-line); }
.fc i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 2.5%); border-radius: inherit; background: var(--ui-ink); }
.fc--hot { color: var(--peri-ink); }
.fc--hot i::after { background: var(--peri); }
.tg { position: relative; display: block; width: 2.2em; height: 1.25em; margin-left: auto; border-radius: 99px; background: oklch(0.6 0.13 150); }
.tg::after { content: ""; position: absolute; top: .15em; right: .15em; width: .95em; height: .95em; border-radius: 50%; background: #fff; }
.lbl { margin: 0 0 .7em; font: .66em "Input Mono", monospace; letter-spacing: .04em; text-transform: uppercase; color: var(--ui-mute); }
.lbl--loss { margin-top: 1em; color: oklch(0.55 0.12 60); }
.st { display: inline-block; padding: .22em .7em; border-radius: 99px; font-size: .72em; font-style: normal; line-height: 1.3; }
.st--ok { background: oklch(0.95 0.06 145); color: oklch(0.42 0.12 145); box-shadow: inset 0 0 0 1px oklch(0.86 0.08 145); }
.st--low { background: oklch(0.95 0.08 85); color: oklch(0.45 0.1 70); }
.st--out { background: oklch(0.95 0.04 275); color: var(--peri-ink); }
/* thumbnails and code badges share one size (--th), set per context */
.th { width: var(--th, 2.2em); height: var(--th, 2.2em); flex: none; border-radius: .5em; object-fit: cover; }
.bd { display: grid; place-items: center; width: calc(var(--th, 2.2em) / .62); height: calc(var(--th, 2.2em) / .62); font: 600 .62em/1 "Input Mono", monospace; font-style: normal; }
.bd--rm { background: var(--ui-rm-bg); color: var(--ui-rm); }
.bd--sp, .bd--ds { background: var(--ui-sp-bg); color: var(--ui-sp); }
.bd--gd { background: oklch(0.95 0.03 250); color: oklch(0.45 0.1 250); }
.th--ico { display: grid; place-items: center; background: oklch(0.95 0.005 80); }
.th--ico svg { width: 55%; fill: none; stroke: var(--ui-mute); stroke-width: 1.6; }
.av { display: grid; place-items: center; width: 2.3em; height: 2.3em; flex: none; border-radius: 50%; color: #fff; font: 600 .7em/1 "Suisse Intl", sans-serif; font-style: normal; }
.av--o { background: oklch(0.62 0.16 275); } .av--n { background: oklch(0.68 0.13 75); } .av--v { background: oklch(0.6 0.12 280); }
/* tables */
.dt { display: grid; font-size: .82em; }
.dt__r { display: grid; grid-template-columns: var(--cols); align-items: center; gap: 1em; padding: .42em .6em; border-bottom: 1px solid var(--ui-line); }
.dt__r > span { min-width: 0; }
.dt__th { padding-block: 0 .55em; color: var(--ui-mute); }
.dt__th > span { font-size: .85em; }
.dt__th .dt__num { font-family: inherit; }
.dt__n { display: flex; align-items: center; gap: .75em; }
.dt__n > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dt small { display: block; font: .85em "Input Mono", monospace; color: var(--ui-mute); }
.dt__num { text-align: right; font-family: "Input Mono", monospace; white-space: nowrap; }
.dt__who { display: flex; align-items: center; gap: .55em; white-space: nowrap; }
.dt__when { font: .9em "Input Mono", monospace; color: var(--ui-mute); white-space: nowrap; }
.dt__r.loss { border-radius: .6em; background: var(--ui-loss-bg); }
.dt__r.loss > :nth-child(3) { color: var(--peri-ink); }
.fr--it .dt { --cols: minmax(0, 1fr) 8em 8em 5em 8.5em; }
.fr--sk .dt { --cols: minmax(0, 1fr) 6em 5em 5.5em 10em 3.5em; }
.fr--pl .dt { --cols: minmax(0, 1fr) 6em 11em 5em 5em; }
.mv .dt { --cols: 6.5em minmax(0, 1fr) 5.5em 5.5em; }
.mv .dt__r:not(.dt__th) { padding-block: 1.05em; }
/* recipes */
.rg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1em; }
.rc { display: flex; flex-direction: column; gap: .15em; padding-bottom: .7em; overflow: hidden; border: 1px solid var(--ui-line); border-radius: .9em; background: #fff; font-size: .82em; }
.rc__img { position: relative; aspect-ratio: 16 / 10; margin-bottom: .55em; }
.rc__img img { width: 100%; height: 100%; object-fit: cover; }
.rc__img i { position: absolute; left: .6em; top: .6em; display: flex; align-items: center; gap: .35em; padding: .25em .6em .25em .35em; border-radius: 99px; background: #fff; box-shadow: 0 2px 6px oklch(0 0 0 / .08); font: .78em "Input Mono", monospace; font-style: normal; }
.rc__img i::before { content: ""; width: .7em; height: .7em; border: .22em solid oklch(0.55 0.15 145); border-radius: 50%; }
.rc > b, .rc > small, .rc dl { margin-inline: .85em; }
.rc > b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.rc > small { display: flex; justify-content: space-between; padding-bottom: .55em; border-bottom: 1px solid var(--ui-line); font: .78em "Input Mono", monospace; color: var(--ui-mute); }
.rc small em { font: 1em "Suisse Intl", sans-serif; font-style: normal; color: oklch(0.45 0.12 145); }
.rc dl { display: flex; justify-content: space-between; margin-block: .45em 0; }
.rc dt { font-size: .66em; letter-spacing: .03em; text-transform: uppercase; color: var(--ui-mute); }
.rc dd { margin: .1em 0 0; }
.rd { display: grid; grid-template-columns: minmax(0, 1fr) 21em; gap: 2em; }
.rd__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; }
.rd figure { margin: 0; font-size: .78em; }
.rd figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .7em; }
.rd figcaption { margin-top: .5em; line-height: 1.35; color: var(--ui-mute); }
.rd figcaption b { display: block; margin-bottom: .15em; font-weight: 600; color: var(--ui-ink); }
.rd figcaption i { margin-right: .5em; font: normal .9em "Input Mono", monospace; color: var(--ui-mute); }
.rd__out { display: flex; align-items: center; gap: 1em; margin-bottom: 1.2em; }
.rd__out img { width: 8em; height: 6em; object-fit: cover; border: 1px solid var(--ui-line); border-radius: .8em; }
.rd__out dl { flex: 1; display: grid; gap: .3em; margin: 0; font-size: .8em; }
.rd__out dl div { display: flex; justify-content: space-between; }
.rd__out dt { color: var(--ui-mute); }
.rd__out dd { margin: 0; font-family: "Input Mono", monospace; }
.rd__out dd.hi { color: var(--peri-ink); }
.lns { display: grid; grid-template-columns: minmax(0, 1fr); }
.ln { --th: 2.1em; display: flex; align-items: center; gap: .7em; padding: .32em 0; border-top: 1px solid var(--ui-line); font-size: .8em; }
.ln > span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ln small { display: block; font: .85em "Input Mono", monospace; color: var(--ui-mute); }
.ln em { font: normal .95em "Input Mono", monospace; }
/* where an item goes, and what a production run turned into: lines are drawn between the cards by the script */
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wires path { fill: none; stroke: var(--ui-wire); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease-out) .25s; }
.wires path.is-loss { stroke: var(--ui-loss); }
.wires--top { z-index: 2; }
.wires path.is-point { stroke: var(--ui-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition-duration: .7s; transition-delay: 1.1s; }
.shot.is-on .wires path { stroke-dashoffset: 0; }
.fd, .pr { position: relative; z-index: 1; }
.fd { flex: 1; display: grid; grid-template-columns: 24em minmax(4em, 1fr) 28em; align-items: center; }
.fd__src { --th: 3.6em; display: flex; align-items: center; gap: 1em; padding: 1.1em 1.3em; border: 1.5px solid var(--ui-ink); border-radius: 1em; background: #fff; }
.fd__src b { display: block; font-size: 1.05em; font-weight: 600; }
.fd__src small, .fd__t small { display: block; font: .75em "Input Mono", monospace; color: var(--ui-mute); }
.fd__out { grid-column: 3; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8em; }
.fd__out .lbl { margin: 0; }
.fd__t { --th: 2.8em; position: relative; display: flex; align-items: center; gap: .9em; padding: .85em 1.1em; border: 1px solid var(--ui-line); border-radius: 1em; background: #fff; }
.fd__t img.th { border-radius: 50%; }
.fd__t span { flex: 1; min-width: 0; }
.fd__t em { font: normal 1em "Input Mono", monospace; }
.ver { position: absolute; right: calc(100% + .7em); white-space: nowrap; top: 50%; translate: 0 -50%; padding: .2em .6em; border-radius: 99px; background: rgb(250 248 242); box-shadow: inset 0 0 0 1px var(--ui-line); font: normal .68em "Input Mono", monospace; color: var(--ui-mute); }
.ver::after { content: " ●"; color: var(--ui-ok); }
.pr { flex: 1; display: grid; grid-template-columns: 25em 27em; justify-content: space-between; align-items: start; }
.pr__col { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2em; min-width: 0; }
/* outputs start lower, so the tuna paste sits level with the middle of its nine inputs and the wires fan in without crossing */
.pr__col + .pr__col { padding-top: 3.4em; }
.pi { --th: 1.5em; display: flex; align-items: center; gap: .6em; height: 2em; padding: 0 .75em 0 .3em; border: 1px solid var(--ui-line); border-radius: .6em; background: #fff; font-size: .78em; }
.pi .th { border-radius: .4em; }
.pi > span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pi em { font: normal .95em "Input Mono", monospace; }
.pi--more { padding-left: .75em; border-style: dashed; background: none; color: var(--ui-mute); }
.pi.loss { border-color: var(--ui-loss-line); background: var(--ui-loss-bg); }
.pi.loss em { color: var(--peri-ink); }
.fr__sum { font-size: .8em; color: var(--ui-mute); }
.fr__sum b { margin: 0 .3em 0 .9em; font: 600 1.15em "Input Mono", monospace; color: var(--ui-ink); }
.fr__sum b:first-child { margin-left: 0; }
.fr__sum b.hi { color: var(--peri-ink); }
/* stock movements and the week's balance */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; }
.kpi { display: grid; gap: .1em; padding: .6em .9em .65em; border: 1px solid var(--ui-line); border-radius: .9em; background: #fff; }
.kpi small { font-size: .7em; color: var(--ui-mute); }
.kpi b { font: 400 1.3em "Input Mono", monospace; letter-spacing: -0.03em; }
.kpi--hot { border-color: oklch(0.88 0.06 275); background: oklch(0.98 0.015 30); }
.kpi--hot b { color: var(--peri-ink); }
.mv { display: grid; grid-template-columns: minmax(0, 1fr) 30em; gap: 1.6em; align-items: start; }
/* the week's balance: a flexible step chart (the SVG stretches, lines keep their width, the text is HTML so it stays sharp);
   Dough's cursor points at the loss and says oops */
.ch { padding: 1em 1.1em .7em; border: 1px solid var(--ui-line); border-radius: 1em; background: #fff; }
.ch .lbl { margin-bottom: .2em; }
.ch__plot { position: relative; height: 15em; margin: 1.2em .4em 0 2.6em; }
.ch__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch__svg path { vector-effect: non-scaling-stroke; }
.ch__low { fill: oklch(0.64 0.16 275 / .06); }
.ch__base { fill: none; stroke: var(--ui-line); stroke-width: 1; }
.ch__area { fill: url(#ch-fill); }
.ch__line { fill: none; stroke: var(--ui-ink); stroke-width: 2; stroke-linejoin: round; }
.ch__par { fill: none; stroke: var(--peri); stroke-width: 1.5; stroke-dasharray: 5 4; }
.ch__tick, .ch__parl { position: absolute; translate: 0 -50%; font: .66em "Input Mono", monospace; white-space: nowrap; color: var(--ui-mute); }
.ch__tick { right: calc(100% + .7em); }
.ch__parl { left: .5em; translate: 0 -140%; color: var(--peri-ink); }
.ch__dot, .ch__pulse { position: absolute; width: .7em; height: .7em; margin: -.35em 0 0 -.35em; border-radius: 50%; }
.ch__dot { background: #fff; box-shadow: 0 0 0 .14em var(--ui-ink); }
.ch__dot.is-last { background: var(--peri); box-shadow: 0 0 0 .14em #fff, 0 0 0 .27em var(--peri); }
.ch__pulse { border: 2px solid var(--peri); opacity: 0; }
.shot.is-on .ch__pulse { animation: chpulse 1.8s var(--ease-out) 1.4s infinite; }
@keyframes chpulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.4); opacity: 0; } }
.ch__x { position: relative; height: 1.4em; margin: .6em .4em 0 2.6em; }
.ch__x span { position: absolute; top: 0; translate: -50% 0; font-size: .72em; white-space: nowrap; color: var(--ui-mute); }
.ch__x .is-hot { color: var(--peri-ink); font-weight: 600; }
.ch__cur { position: absolute; z-index: 2; width: 1.5em; margin: .05em 0 0 .1em; opacity: 0; transform: translate(-3em, -4em); transition: opacity .3s .6s, transform .9s cubic-bezier(.45, 0, .2, 1) .6s; }
.shot.is-on .ch__cur { opacity: 1; transform: none; }
.ch__cur > svg { display: block; width: 100%; fill: var(--ink); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 3px oklch(0 0 0 / .3)); }
.ch__tag { position: absolute; right: 2.8em; top: -.1em; display: flex; align-items: center; gap: .45em; padding: .25em .8em .25em .25em; border-radius: 1em .25em 1em 1em; white-space: nowrap; background: var(--peri-ink); color: #fff; font-size: .74em; line-height: 1.35; box-shadow: 0 .5em 1.1em -.5em oklch(0.5 0.16 275 / .7); }
.ch__tag img { width: 1.7em; height: 1.7em; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.ch__tag b { font-weight: 600; }
/* the rest of the system, as a launcher */
.fr--mo { position: absolute; inset: 0; }
.mo { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8em; }
.mo__t { position: relative; display: flex; flex-direction: column; gap: .6em; min-height: 10.6em; padding: 1em 1.05em; border: 1px solid var(--ui-line); border-radius: 1em; background: #fff; font-size: .85em; }
.mpanel:not([hidden]) .mo__t { animation: mpin .45s var(--ease-out) both; animation-delay: calc(var(--i) * 30ms); }
.mo__t svg { width: 1.9em; height: 1.9em; fill: none; stroke: var(--ui-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mo__t b { margin-top: auto; font-size: max(1em, 12px); font-weight: 600; line-height: 1.25; }
.mo__t em { position: absolute; right: .9em; top: 1em; display: flex; align-items: center; gap: .35em; font: normal .78em "Input Mono", monospace; color: oklch(0.45 0.12 145); }
.mo__t em::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--ui-ok); }
.mo__t--ask { border-style: dashed; background: none; }
.mo__t--ask span { color: var(--ui-mute); }
/* Import: the spreadsheet-to-SIZL screen, played by time; it is drawn in design pixels (--u) scaled to the panel */
.m-imp { --u: calc(100cqw / 936); }
.m-imp .screen { max-height: none; aspect-ratio: 2 / 1; }
/* Narrow panels (tablets, phones): a taller canvas with bigger type, fewer columns */
@container (max-width: 899px) {
  .sys { font-size: clamp(11px, 100cqw / 28, 14px); aspect-ratio: auto; height: 38em; }
  .m-imp { --u: 1px; }
  .m-imp .screen { aspect-ratio: auto; height: 470px; }
  .fr { gap: .7em; padding: 1.1em; }
  .fr__h b { font-size: 1.2em; }
  .fr__h .fr__search, .fr__chip, .fr__h .st, .fr__sum, .ver, .kpis { display: none; }
  .fr__bar .fr__search { flex: 1; width: auto; }
  .rg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd { grid-template-columns: minmax(0, 1fr); gap: .8em; }
  .rd__grid figure:nth-child(n+4) { display: none; }
  .rd figcaption { height: 1.4em; overflow: hidden; }
  .fr--it .dt { --cols: minmax(0, 1fr) 5em; }
  .fr--it .dt__r > :is(:nth-child(2), :nth-child(3), :nth-child(5)) { display: none; }
  .fd { grid-template-columns: minmax(0, 1fr) 2.2em minmax(0, 1.3fr); }
  .fd__src { flex-direction: column; align-items: flex-start; gap: .6em; padding: .8em; }
  .fd__src b { font-size: .9em; }
  .fd__out { gap: .5em; }
  .fd__t { --th: 2em; gap: .5em; padding: .6em .7em; font-size: .85em; }
  .fr--sk .dt { --cols: minmax(0, 1fr) 5em 3.6em; }
  .fr--sk .dt__r > :is(:nth-child(3), :nth-child(4), :nth-child(5)) { display: none; }
  .mv { grid-template-columns: minmax(0, 1fr); gap: .8em; }
  .mv .dt { --cols: 5.4em minmax(0, 1fr) 4.6em; }
  .mv .dt__r:not(.dt__th) { padding-block: .6em; }
  .mv .dt__r > :nth-child(4) { display: none; }
  .ch__plot { height: 11em; }
  .fr--pl .dt { --cols: minmax(0, 1fr) 4.6em 3.6em; }
  .fr--pl .dt__r > :is(:nth-child(3), :nth-child(4)) { display: none; }
  .pr { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2em; }
  .pi { --th: 1.4em; padding-right: .5em; }
  .mo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
  .mo__t { min-height: 0; gap: .5em; padding: .75em; font-size: .75em; }
  .mo__t em { font-size: 0; right: .75em; top: .9em; }
  .mo__t em::before { width: .45rem; height: .45rem; }
  .mpanel__m { flex-flow: row wrap; align-items: center; gap: 8px 14px; }
  .fr--mn .dt { --cols: minmax(0, 1fr) 4.4em 3.6em; }
  .fr--mn .dt__r > :is(:nth-child(4), :nth-child(5)) { display: none; }
  .fc i { display: none; }
  .fr__h .fr__seg { display: none; }
}

/* ── 7 · How it works: sandwich ── */
.how { overflow: clip; }
.how__track { height: 420vh; position: relative; }
.how__sticky { background: var(--ground); /* sticky makes its own stacking context: the clip multiplies against this */ position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr; padding: clamp(96px, 13svh, 130px) var(--gutter) 24px; overflow: hidden; }
.how__head { text-align: center; }
.how__h { position: relative; display: inline-block; }
.pix { position: absolute; right: -.1em; bottom: calc(100% - .14em); width: 96px; height: auto; animation: pixbob .8s steps(1) infinite; }
@media (min-width: 981px) { .pix { right: auto; left: calc(100% + 14px); bottom: .1em; } }
.pix__wb, .pix__ec { opacity: 0; }
.pix__wa { animation: pixa .8s steps(1) infinite; } .pix__wb { animation: pixb .8s steps(1) infinite; }
.pix__ec { animation: blink 4.2s steps(1) infinite; } .pix__eo { animation: blinko 4.2s steps(1) infinite; }
@keyframes pixa { 50% { opacity: 0; } }
@keyframes pixb { 50% { opacity: 1; } }
@keyframes pixbob { 50% { transform: translateY(4px); } }
@keyframes blink { 0%, 94% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes blinko { 0%, 94% { opacity: 1; } 95%, 100% { opacity: 0; } }
.how__head .lede { margin-top: 12px; }
.sw { position: relative; max-width: 1240px; width: 100%; height: min(100%, 720px); margin: 0 auto; display: grid; place-items: center; align-self: center; min-height: 0; } /* tall screens: the notes stay close to the sandwich */
.sw__stage { position: relative; width: min(660px, 100%, calc(100% - 480px), calc((100svh - 290px) * 1.03)); }
/* The clip's background is flattened to pure white, so multiply turns it into the page colour. */
/* Wide: the frame is cropped to 720×700 around the sandwich, so it reads half as big again;
   the clip has it 26px left of centre, the translate puts it back. */
.sw__art { display: block; width: 100%; height: auto; aspect-ratio: 720 / 700; object-fit: cover; object-position: 50% 56%; translate: 3.6% 0; mix-blend-mode: multiply;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent), linear-gradient(transparent, #000 22%, #000 80%, transparent); -webkit-mask-composite: source-in;
          mask: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent) intersect, linear-gradient(transparent, #000 22%, #000 80%, transparent); }
/* The toast falls out of a blur: a frosted band over the top of the frame that fades out downwards. */
.sw__stage::before { content: ""; position: absolute; z-index: 1; inset: -60px -40px auto; height: calc(36% + 60px); pointer-events: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask: linear-gradient(transparent, #000 30%, #000 50%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in;
          mask: linear-gradient(transparent, #000 30%, #000 50%, transparent) intersect, linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); } /* every edge feathered, so the band itself has no visible border */
.sw__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.sw__lines path { fill: none; stroke: var(--peri); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease-out); }
.sw__lines circle { fill: var(--peri); stroke: #fff; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease-out); }
.sw__lines .is-on path { stroke-dashoffset: 0; transition-delay: .25s; }
.sw__lines .is-on circle { opacity: 1; transform: none; }
.sw__lines .is-on circle + circle { transition-delay: .8s; }
.note { position: absolute; z-index: 2; width: clamp(220px, calc(50% - 320px), 310px); background: var(--white); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-tile); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.note h3 { margin: 6px 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.note p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.note .k { font: 12px "Input Mono", monospace; color: var(--peri-ink); }
.note--r { right: 0; } .note--l { left: 0; }
.note[data-l="2"] { top: 0; } .note[data-l="1"] { top: 50%; translate: 0 -50%; } .note[data-l="0"] { bottom: 0; }
.js .note:not(.is-on) { opacity: 0; transform: translateY(12px); }

/* ── 6c · POS (coming soon) ── */
.pos { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto var(--section); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--white); scroll-margin-top: 90px; }
.pos__copy .h2 { margin: 18px 0; }
.pos__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.pos__list li { display: grid; gap: 2px; padding-left: 22px; position: relative; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.pos__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--peri); }
.pos__list b { color: var(--ink); font-weight: 500; }
.pos__stage { position: relative; padding: 24px 0 40px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.pos__v { grid-area: 1 / 1; position: relative; transition: opacity .45s var(--ease-out), transform .55s var(--ease-out), visibility .45s; }
.pos__v:not(.is-on) { opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); pointer-events: none; }
.pmode { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 26px 0 18px; padding: 5px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.pmode__t { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border: 0; border-radius: 13px; background: none; font: inherit; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; }
.pmode__t b { font-size: 15px; font-weight: 600; color: var(--ink); }
.pmode__t span { font-size: 12.5px; line-height: 1.3; }
.pmode__t:hover { background: var(--ground); }
.pmode__t[aria-selected="true"] { background: var(--ink); color: oklch(0.82 0.006 30); }
.pmode__t[aria-selected="true"] b { color: #fff; }
.pmode__t:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 2px; }
.pmode__p > p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.pmode__p .pos__list { margin-top: 20px; }
.pmode__p .pmode__note { margin-top: 18px; font-size: 13.5px; }
.pmode__p:not([hidden]) { animation: pmin .45s var(--ease-out); }
@keyframes pmin { from { opacity: 0; transform: translateY(6px); } }
/* Mode 2: your POS syncing into SIZL */
.sync { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.sync__card { background: var(--white); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-tile); display: grid; gap: 8px; font-size: 13.5px; }
.sync__card--pos { background: oklch(0.22 0.008 30); color: oklch(0.88 0.006 30); }
.sync__h { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid oklch(0.5 0.006 30 / .25); font-size: 14px; }
.sync__h b { font-weight: 600; }
.sync__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; display: block; }
.sync__logo { width: 34px; color: var(--peri); }
.sync__row { display: flex; gap: 10px; align-items: baseline; }
.sync__row > span:first-child { font-family: "Input Mono", monospace; font-size: 12px; opacity: .6; }
.sync__card--sizl .sync__row > span:first-child { font: inherit; opacity: 1; }
.sync__row small { display: block; font-size: 11.5px; opacity: .65; }
.sync__row b { margin-left: auto; font: 400 13px "Input Mono", monospace; }
.sync__card--sizl .sync__row b { color: var(--peri-ink); }
.sync__fc { margin-top: 4px; padding: 8px 10px; border-radius: 10px; background: oklch(0.95 0.04 150); color: oklch(0.38 0.1 150); display: flex; justify-content: space-between; }
.sync__wire { position: relative; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.sync__wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--peri); animation: wire 1.8s linear infinite; }
.sync__wire i:nth-child(2) { animation-delay: -.6s; } .sync__wire i:nth-child(3) { animation-delay: -1.2s; }
.sync__wire span { position: absolute; top: -24px; left: 50%; translate: -50% 0; white-space: nowrap; font: 11px "Input Mono", monospace; color: var(--ink-2); }
@keyframes wirev { from { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } to { top: calc(100% - 8px); opacity: 0; } }
@keyframes wire { from { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
/* Mode 3: a Z-report photo, read by Dough */
.zr { position: relative; display: grid; justify-items: start; padding: 36px 0 56px 9%; border-radius: 28px; background: var(--ground); }
.zr__photo { filter: drop-shadow(0 18px 22px oklch(0.3 0.03 275 / .22)) drop-shadow(0 1px 1px oklch(0.3 0.03 275 / .15)); width: min(300px, 62%); }
.zr__paper { position: relative; padding: 22px 20px 30px; background: #fff; font: 12.5px/1.65 "Input Mono", monospace; color: oklch(0.3 0.006 30); rotate: -2.5deg; overflow: hidden;
  -webkit-mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat;
          mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat; }
.zr__c { text-align: center; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed oklch(0.8 0.006 30); }
.zr__l { display: grid; grid-template-columns: 1fr 28px 64px; gap: 6px; }
.zr__l span:not(:first-child) { text-align: right; }
.zr__l--new { background: oklch(0.95 0.06 85); margin: 0 -6px; padding: 0 6px; border-radius: 4px; }
.zr__tot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed oklch(0.8 0.006 30); font-weight: 700; }
.zr__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--peri); box-shadow: 0 0 14px 4px oklch(0.64 0.16 275 / .35); animation: zscan 3.2s var(--ease-out) infinite; }
@keyframes zscan { 0% { top: 4%; opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { top: 96%; opacity: 0; } }
.zr__dough { position: absolute; right: 4%; bottom: 22px; width: min(280px, 58%); display: grid; grid-template-columns: 32px 1fr; gap: 6px 10px; padding: 14px; border-radius: 18px; background: var(--white); box-shadow: 0 24px 44px -22px oklch(0.3 0.05 275 / .5); font-size: 13.5px; line-height: 1.45; }
.zr__dough img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.zr__dough p { margin: 0; }
.zr__btns { grid-column: 2; display: flex; gap: 6px; }
.zr__btns em { font-style: normal; font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 99px; background: var(--ground); }
.zr__btns em:first-child { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .sync { grid-template-columns: minmax(0, 1fr); }
  .sync__wire { width: 2px; height: 64px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px); }
  .sync__wire i { left: -3px; top: 0; animation-name: wirev; }
  .sync__wire span { top: 50%; left: 14px; translate: 0 -50%; }
  .zr { padding-left: 6%; padding-bottom: 150px; }
  .zr__photo { width: min(300px, 86%); }
  .zr__paper { font-size: 11px; padding: 18px 14px 26px; }
  .zr__l { grid-template-columns: 1fr 22px 58px; }
  .zr__dough { width: auto; left: 6%; right: 6%; bottom: 20px; }
}
.term { width: min(100%, 640px); margin: 0 auto; }
.term__screen { position: relative; z-index: 1; width: 100%; aspect-ratio: 760 / 475; padding: 0; border-radius: 22px; background: oklch(0.2 0.006 30); box-shadow: inset 0 0 0 1px oklch(0.32 0.006 30), 0 30px 60px -30px oklch(0.2 0.02 275 / .55); overflow: hidden; }
.term__screen::before { content: ""; position: absolute; inset: 11px; border-radius: 12px; background: #fff; }
.term__neck { width: 16%; height: 54px; margin: -2px auto 0; background: linear-gradient(90deg, oklch(0.78 0.004 30), oklch(0.9 0.004 30) 45%, oklch(0.74 0.004 30)); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.term__base { width: 42%; height: 14px; margin: 0 auto; border-radius: 10px 10px 4px 4px; background: linear-gradient(oklch(0.86 0.004 30), oklch(0.72 0.004 30)); box-shadow: 0 16px 24px -12px oklch(0.2 0.02 275 / .45); }
.pos-ui { position: absolute; left: 11px; top: 11px; width: 760px; height: 475px; transform-origin: 0 0; transform: scale(var(--k, .8)); border-radius: 12px; overflow: hidden; background: var(--ui-bg); display: flex; flex-direction: column; font-size: 12px; }
.pos-ui__bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--ui-line); }
.pos-ui__bar svg { width: 34px; color: var(--ui-accent); }
.pos-ui__bar b { font-weight: 600; font-size: 13px; }
.pos-ui__bar > span { color: var(--ui-mute); }
.pos-ui__bar nav { display: flex; gap: 4px; margin: 0 auto; padding: 3px; border-radius: 99px; background: var(--ui-bg); border: 1px solid var(--ui-line); }
.pos-ui__bar nav span { padding: 4px 12px; border-radius: 99px; color: var(--ui-mute); }
.pos-ui__bar nav .on { background: var(--ui-ink); color: #fff; }
.pos-ui__bar em { font: normal 11.5px "Input Mono", monospace; color: var(--ui-mute); }
.pos-ui__main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 236px; }
.pos-ui__menu { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.pos-ui__cats { display: flex; gap: 6px; align-items: center; }
.pos-ui__cats span { padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--ui-line); color: var(--ui-mute); }
.pos-ui__cats .on { background: var(--ui-ink); border-color: var(--ui-ink); color: #fff; }
.pos-ui__cats i { margin-left: auto; font-style: normal; color: var(--ui-mute); padding: 5px 12px; border-radius: 99px; border: 1px solid var(--ui-line); background: #fff; min-width: 90px; }
.pos-ui__grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 8px; }
.pt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--ui-line); transition: transform .15s, border-color .15s, background .15s; }
.pt img { width: 46px; height: 46px; border-radius: 50%; margin-bottom: auto; }
.pt b { margin-top: 6px; font-weight: 500; font-size: 12.5px; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.pt span { font: 11.5px "Input Mono", monospace; color: var(--ui-mute); }
.pt em { position: absolute; top: 8px; right: 8px; font: normal 500 10px "Suisse Intl", sans-serif; padding: 2px 6px; border-radius: 99px; }
.pt .low { background: oklch(0.95 0.07 80); color: oklch(0.5 0.12 65); }
.pt .out { background: var(--ui-ink); color: #fff; }
.pt.is-out { opacity: .5; }
.pt.is-out img { filter: grayscale(1); }
.pt.is-tap { transform: scale(.95); border-color: var(--ui-ink); background: oklch(0.97 0.01 85); }
.pos-ui__ticket { background: #fff; border-left: 1px solid var(--ui-line); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.pos-ui__th { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--ui-line); }
.pos-ui__th b { font-size: 15px; font-weight: 600; }
.pos-ui__th span { color: var(--ui-mute); font-size: 11px; }
.pos-ui__lines { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
/* The ticket splits by guest: the seat picked on the floor plan opens that guest's part of the order */
.pos-ui__gs { display: flex; gap: 4px; }
.pos-ui__gs span { padding: 3px 9px; border-radius: 99px; background: var(--ui-bg); box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-mute); font-size: 10.5px; transition: background .25s, color .25s, box-shadow .25s, transform .15s; }
.pos-ui__gs span.on { background: oklch(0.93 0.07 150); box-shadow: inset 0 0 0 1px oklch(0.6 0.13 150); color: oklch(0.36 0.1 150); }
.pos-ui__gs span.is-press { transform: scale(.92); }
.pg { padding-top: 2px; font: 10px "Input Mono", monospace; letter-spacing: -0.01em; color: var(--ui-mute); }
.pg + .pl ~ .pg { margin-top: 2px; padding-top: 6px; border-top: 1px dashed var(--ui-line); }
.pl { display: grid; grid-template-columns: 24px 1fr auto; gap: 6px; align-items: start; }
.pl i { font: normal 11.5px "Input Mono", monospace; color: var(--ui-mute); padding-top: 1px; }
.pl span { font-size: 12px; line-height: 1.25; }
.pl small { display: block; font-size: 10.5px; color: var(--ui-mute); }
.pl b { font: 400 12px "Input Mono", monospace; }
.pos-ui__sum, .pos-ui__tot { display: flex; justify-content: space-between; }
.pos-ui__sum { color: var(--ui-mute); font-size: 11px; padding-top: 8px; border-top: 1px solid var(--ui-line); }
.pos-ui__sum span:last-child { font-family: "Input Mono", monospace; }
.pos-ui__tot { font-weight: 600; font-size: 14px; }
.pos-ui__tot b { font: 400 15px "Input Mono", monospace; }
.pos-ui__btns { display: grid; gap: 6px; }
.pos-ui__btns span { display: grid; place-items: center; height: 36px; border-radius: 10px; font-weight: 500; transition: transform .15s, background .3s, color .3s; }
.pos-ui__btns .send { border: 1px solid var(--ui-line); }
.pos-ui__btns .pay { background: var(--ui-accent); color: var(--ui-ink); display: flex; justify-content: center; gap: 6px; align-items: center; }
.pos-ui__btns .pay i { font: normal 12px "Input Mono", monospace; }
.pos-ui__btns .is-press { transform: scale(.95); }
.is-sent .send { background: oklch(0.95 0.05 150); border-color: transparent; color: oklch(0.42 0.12 150); }
.is-paid .pay { background: oklch(0.48 0.13 150); }
.pos-ui__floor { display: none; flex: 1; min-height: 0; grid-template-columns: 1fr 236px; }
.pos-ui.is-tables .pos-ui__floor { display: grid; }
.pos-ui.is-tables .pos-ui__main { display: none; }
.pf { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.pf__head { display: flex; gap: 6px; align-items: center; }
.pf__head > span { padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--ui-line); color: var(--ui-mute); }
.pf__head > .on { background: var(--ui-ink); border-color: var(--ui-ink); color: #fff; }
.pf__head i { margin-left: auto; display: flex; align-items: center; gap: 5px; font-style: normal; font-size: 11px; color: var(--ui-mute); }
.pf__head i b { width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; border: 1px solid var(--ui-line); }
.pf__room { flex: 1; min-height: 0; display: grid; position: relative; }
.pf__svg { grid-area: 1 / 1; transition: filter .45s, opacity .45s; }
.pos-ui.is-zoom .pf__svg { filter: blur(3px); opacity: .4; }
.tb.is-hold .tb__top { stroke: oklch(0.6 0.13 150); stroke-width: 3; transition: stroke-width .7s; }
.tb.is-hold { transform: scale(.94); transition: transform .7s; }
.pf__zoom { grid-area: 1 / 1; position: relative; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .3s; }
.pos-ui.is-zoom .pf__zoom { opacity: 1; }
.pz { position: relative; width: 340px; height: 236px; transform: scale(.6); transition: transform .5s var(--ease-out); }
.pos-ui.is-zoom .pz { transform: none; }
.pz__t { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; translate: -50% -50%; display: grid; place-content: center; text-align: center; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1.5px oklch(0.8 0.05 250), 0 18px 34px -16px oklch(0.3 0.03 60 / .4); font-size: 34px; font-weight: 600; line-height: 1.1; }
.pz__t small { font: 11px "Input Mono", monospace; color: var(--ui-mute); }
.pz__s { position: absolute; display: flex; align-items: center; gap: 7px; padding: 6px 13px 6px 6px; border-radius: 99px; background: #fff; border: 1.5px dashed oklch(0.8 0.012 75); font-size: 13px; font-weight: 500; color: var(--ui-mute); white-space: nowrap; transition: transform .35s var(--ease-out), background .3s, border-color .3s, box-shadow .3s; }
.pz__s b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ui-bg); font-size: 12px; }
.pz__s.is-on { border-style: solid; border-color: oklch(0.78 0.02 70); background: oklch(0.955 0.012 75); color: var(--ui-ink); }
.pz__s.is-on b { background: oklch(0.86 0.018 75); }
.pz__s--1 { left: 50%; top: 0; translate: -50% 0; } .pz__s--3 { left: 50%; bottom: 0; translate: -50% 0; }
.pz__s--2 { right: 0; top: 50%; translate: 0 -50%; } .pz__s--4 { left: 0; top: 50%; translate: 0 -50%; }
.pos-ui.is-guest .pz__s--2 { transform: scale(1.12); border-color: oklch(0.6 0.13 150); background: oklch(0.93 0.07 150); box-shadow: 0 0 0 5px oklch(0.75 0.12 150 / .25); }
.pos-ui.is-guest .pz__s--2 b { background: oklch(0.6 0.13 150); color: #fff; }
.pz__card { position: absolute; right: 14px; bottom: 12px; display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: var(--ui-ink); color: #fff; font-size: 12px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease-out); }
.pz__card span { color: oklch(0.8 0.006 30); font-size: 11.5px; }
.pos-ui.is-guest .pz__card { opacity: 1; transform: none; }
.pf__svg { width: 100%; height: 100%; }
.pf__floor { fill: oklch(0.982 0.004 85); }
.pf__wall { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pf__wall--o { stroke: oklch(0.83 0.016 75); stroke-width: 8; }
.pf__wall--i { stroke: oklch(0.975 0.005 85); stroke-width: 3.5; }
.pf__win { stroke: oklch(0.9 0.03 220); stroke-width: 4; }
.pf__glass { stroke: oklch(0.9 0.03 220); stroke-width: 4; }
.pf__door { fill: none; stroke: oklch(0.72 0.015 75); stroke-width: 1.2; stroke-dasharray: 3 3; }
.pf__kitchen { fill: url(#hatch); }
.pf__bar { fill: #fff; stroke: oklch(0.82 0.015 75); stroke-width: 1.2; }
.pf__mach { fill: oklch(0.9 0.01 75); } .pf__case { fill: oklch(0.95 0.02 80); stroke: oklch(0.85 0.015 75); }
.pf__bench { fill: oklch(0.95 0.008 80); stroke: oklch(0.82 0.015 75); stroke-width: 1.2; }
.pf__cush line { stroke: oklch(0.85 0.015 75); stroke-width: 1; }
.pf__plant ellipse { fill: oklch(0.8 0.09 140); stroke: oklch(0.6 0.1 145); stroke-width: .8; }
.pf__pot { fill: oklch(0.93 0.01 75); stroke: oklch(0.8 0.015 75); }
.pf__core { fill: oklch(0.62 0.1 145); }
.pf__lbl { font: 500 11px "Suisse Intl", sans-serif; fill: oklch(0.42 0.02 60); text-anchor: middle; }
.pf__lbl--s { font-size: 9px; fill: var(--ui-mute); }
.tb { transition: transform .15s; transform-box: fill-box; transform-origin: center; }
.tb__top { fill: #fff; stroke: oklch(0.84 0.012 75); stroke-width: 1.2; filter: drop-shadow(0 2px 2.5px oklch(0.5 0.03 60 / .18)); transition: fill .4s, stroke .4s; }
.tb__n { font: 600 14px "Suisse Intl", sans-serif; text-anchor: middle; fill: var(--ui-ink); }
.tb__l { font: 9.5px "Input Mono", monospace; text-anchor: middle; fill: var(--ui-mute); }
.ch { fill: oklch(0.985 0.004 85); stroke: oklch(0.82 0.014 75); stroke-width: 1.1; transition: fill .4s, stroke .4s; }
.tb:not(.s-free):not(.s-res) .ch.on { fill: oklch(0.86 0.018 75); stroke: oklch(0.74 0.02 70); }
.s-free .tb__top { stroke-dasharray: 4 3; filter: none; }
.s-res .tb__top { fill: oklch(0.965 0.02 300); stroke: oklch(0.78 0.06 300); }
.s-res .tb__l { fill: oklch(0.45 0.12 300); }
.s-seat .tb__top { fill: oklch(0.965 0.02 250); stroke: oklch(0.8 0.05 250); }
.s-food .tb__top { fill: oklch(0.97 0.05 88); stroke: oklch(0.8 0.1 80); }
.s-bill .tb__top { fill: oklch(0.965 0.025 275); stroke: oklch(0.78 0.1 275); }
.s-bill .tb__l, .is-alert .tb__l { fill: var(--ui-rm); }
.is-alert .tb__top { stroke: #8EA0FF; stroke-width: 1.8; animation: tbwait 1.4s ease-in-out infinite; }
.is-alert .ch.on { stroke: oklch(0.75 0.12 275); }
.tb__badge circle { fill: #8EA0FF; } .tb__badge text { font: 700 9.5px "Suisse Intl", sans-serif; fill: var(--ui-ink); text-anchor: middle; }
@keyframes tbwait { 50% { stroke-width: 3.5; } }
.tb.is-tap { transform: scale(.92); }
.tb.is-tap .tb__top, .tb.is-tap .ch { fill: oklch(0.86 0.1 150); stroke: oklch(0.6 0.13 150); }
.tb.is-paid .tb__top { fill: oklch(0.94 0.06 150); stroke: oklch(0.65 0.13 150); stroke-dasharray: none; }
.tb.is-paid .tb__l { fill: oklch(0.45 0.13 150); }
.pf__head i b.s-free { background: #fff; border-style: dashed; border-color: oklch(0.75 0.012 75); } .pf__head i b.s-res { background: oklch(0.965 0.02 300); border-color: oklch(0.78 0.06 300); }
.pf__head i b.s-seat { background: oklch(0.965 0.02 250); border-color: oklch(0.8 0.05 250); } .pf__head i b.s-food { background: oklch(0.97 0.05 88); border-color: oklch(0.8 0.1 80); } .pf__head i b.s-bill { background: oklch(0.965 0.025 275); border-color: oklch(0.78 0.1 275); }
.pos-ui__side { background: #fff; border-left: 1px solid var(--ui-line); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.ps { display: flex; justify-content: space-between; font-size: 12px; color: var(--ui-mute); }
.ps b { font: 400 13px "Input Mono", monospace; color: var(--ui-ink); }
.pa { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; background: var(--ui-bg); font-size: 11.5px; color: var(--ui-mute); }
.pa:first-of-type { margin-top: 6px; }
.pa b { font-weight: 600; color: var(--ui-ink); font-size: 12px; }
.pa.warn { background: oklch(0.95 0.07 85); }
.kds { position: absolute; z-index: 2; right: -2%; bottom: 0; width: 220px; padding: 12px 14px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 24px 40px -20px oklch(0.2 0.02 275 / .6); transition: opacity .4s, transform .5s var(--ease-out); }
.kds__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid oklch(1 0 0 / .14); }
.kds__h b { font-weight: 600; font-size: 13.5px; }
.kds__t { font: 12px "Input Mono", monospace; color: oklch(0.85 0.12 85); }
.kds__l { display: grid; gap: 4px; padding: 8px 0; font-size: 13px; }
.kds__l small { margin-top: -3px; font-size: 11.5px; color: oklch(0.85 0.12 85); }
.kds__f { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: oklch(1 0 0 / .6); }
.kds__bump { padding: 3px 10px; border-radius: 8px; background: var(--peri); color: var(--ink); font-weight: 500; }
.js .pos__stage:not(.is-sent) .kds { opacity: 0; transform: translateY(14px) scale(.96); }

/* ── 7b · Why not build it yourself ── */
.vis { border-radius: 20px; padding: 20px; display: flex; flex-direction: column; }
.vis--cc { padding: 0; overflow: hidden; background: var(--white); color: var(--ink); font-family: "Input Mono", monospace; box-shadow: var(--shadow-tile), 0 0 0 1px var(--line); }
.cc__bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: oklch(0.965 0.003 30); font-size: 12px; color: var(--ink-2); }
.cc__bar time { margin-left: auto; }
.cc__body { padding: 18px 20px 16px; }
.cc__head { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #D97757; border-radius: 10px; }
.cc__bot { width: 52px; height: 31px; flex: none; fill: #D97757; overflow: visible; animation: ccbob 1.4s steps(2) infinite; }
.cc__eye { fill: var(--white); transform-box: fill-box; transform-origin: 50% 50%; transition: transform .2s; }
.vis--cc.is-limit .cc__bot { animation: none; }
.vis--cc.is-limit .cc__eye { transform: scaleY(.25) translateY(1.5px); }
@keyframes ccbob { 50% { transform: translateY(-2px); } }
.cc__head div { display: grid; gap: 2px; font-size: 12.5px; color: var(--ink-2); }
.cc__head b { font-size: 15px; font-weight: 600; color: var(--ink); }
.cc__log { display: grid; gap: 10px; padding-top: 18px; font-size: 14px; line-height: 1.45; }
.cc__log p { margin: 0; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.cc__u { color: var(--ink-2); }
.cc__u--loud { color: var(--ink); font-weight: 600; }
.cc__a i { font-style: normal; color: oklch(0.6 0.15 150); }
.cc__a em { font-style: normal; color: #C15F3C; }
.cc__limit { display: grid; gap: 2px; margin-top: 4px !important; padding: 12px 14px; border-radius: 10px; background: oklch(0.97 0.03 45); border: 1px solid #D97757; }
.cc__limit b { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: #B4532F; }
.cc__limit span { font-size: 13px; color: var(--ink-2); }
.cc__in { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.cc__in i { width: 8px; height: 17px; background: var(--ink); animation: cccaret 1.1s steps(1) infinite; }
@keyframes cccaret { 50% { opacity: 0; } }
.cc__hint { display: block; margin-top: 6px; padding-left: 2px; font-size: 11.5px; color: var(--ink-2); }
.vis--cc.is-play .cc__log p:not(.is-on) { opacity: 0; transform: translateY(8px); }

.cc__dots { display: flex; gap: 6px; flex: none; }
.cc__dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; } .cc__dots i + i { background: #FEBC2E; } .cc__dots i + i + i { background: #28C840; }

/* ── Hero meta line, mid-page CTAs ── */
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 26px 0 0; font-size: 13.5px; color: var(--ink-2); }
.hero__meta > span { display: inline-flex; align-items: center; }
.hero__meta > span + span::before { content: ""; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: var(--ink-2); }
.hero__meta > span:first-child::before { content: ""; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px oklch(0.48 0.13 150 / .15); }
.next { max-width: 1240px; margin: clamp(48px, 7vh, 80px) auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; text-align: center; }
.next p { margin: 0; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -0.01em; color: var(--ink-2); text-wrap: balance; }
.next b { color: var(--ink); font-weight: 600; }
.next__btns { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.next--wide { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: calc(var(--section) * -0.4) auto var(--section); }

/* ── 7c · Compare: one table; on phones SIZL sits next to one rival at a time ── */
.vs { padding: var(--section) var(--gutter); background: var(--white); }
.vs__wrap { max-width: 1240px; margin: 0 auto; }
.vs__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40ch); gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.vs__pick { display: none; }
.vs__tbl { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14.5px; line-height: 1.4; }
.vs__tbl th, .vs__tbl td { padding: 16px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.vs__tbl thead th, .vs__tbl thead td { border-top: 0; padding-bottom: 16px; vertical-align: bottom; font-size: 15px; font-weight: 600; }
.vs__tbl thead td { width: 13%; }
.vs__tbl thead [data-c="sizl"] { width: 19%; }
.vs__tbl tbody th { font-weight: 500; }
.vs__tbl td { color: var(--ink-2); }
.vs__tbl [data-c="sizl"] { background: var(--butter-soft); color: var(--ink); font-weight: 500; }
.vs__tbl tbody [data-c="sizl"] { border-top-color: var(--butter-line); }
.vs__tbl thead [data-c="sizl"] { border-radius: 18px 18px 0 0; padding-top: 18px; }
.vs__tbl thead [data-c="sizl"] svg { width: 52px; color: var(--peri); }
.vs__tbl tbody tr:last-child [data-c="sizl"] { border-radius: 0 0 18px 18px; }
.vs__src { margin: 18px 0 0; font-size: 13px; color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.diy { max-width: 1240px; margin: clamp(72px, 11vh, 120px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.diy h3 { margin: 0 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.diy__copy > p { margin: 0; max-width: 52ch; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.diy__list { list-style: none; margin: 20px 0; padding: 0; }
.diy__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.diy__list li:last-child { border-bottom: 1px solid var(--line); }
.diy__list li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; border-radius: 3px; background: var(--peri); }

/* ── 7d · Pricing ── */
.price { padding: var(--section) var(--gutter); }
.price__wrap { max-width: 1040px; margin: 0 auto; }
.price__head { text-align: center; }
.price__head .h2 { max-width: 20ch; margin: 0 auto; }
.price__head .lede { max-width: 52ch; margin: 18px auto 0; }
.plans { margin-top: clamp(40px, 6vh, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.plan__price { margin: 14px 0 0; display: flex; align-items: baseline; gap: 8px; color: var(--ink-2); font-size: 15px; }
.plan__price b { font: 400 clamp(48px, 5.2vw, 68px)/1 "Input Mono", monospace; letter-spacing: -0.06em; color: var(--ink); }
.plan__for { margin: 14px 0 0; max-width: 38ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.plan ul { list-style: none; flex: 1; margin: 24px 0 30px; padding: 22px 0 0; display: grid; align-content: start; gap: 11px; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; line-height: 1.4; }
.plan li::before { content: ""; width: 12px; height: 7px; margin: 5px 0 0 2px; border: solid var(--ink); border-width: 0 0 2px 2px; rotate: -45deg; }
.plan .btn { align-self: flex-start; }
.plan--start { background: var(--butter); box-shadow: 0 30px 60px -30px oklch(0.55 0.04 85 / .55); }
.plan--start .plan__price, .plan--start .plan__for { color: oklch(0.3 0.03 60); }
.plan--start ul { border-top-color: oklch(0.17 0.02 275 / .15); }
.price__note { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--ink-2); }

/* ── Pilot numbers, waitlist perks ── */
.proof { margin: 24px 0 0; }
.proof div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.proof dt { font-size: 14px; color: var(--ink-2); }
.proof dd { margin: 0; font-size: 17px; letter-spacing: -0.03em; }
.wl__perks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; max-width: 40ch; }
.wl__perks li { position: relative; padding-left: 28px; color: oklch(0.2 0.03 275); font-size: 15.5px; line-height: 1.4; }
.wl__perks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border: solid var(--ink); border-width: 0 0 2px 2px; rotate: -45deg; }
@media (min-width: 981px) { .wl__panel > div:first-child { padding-bottom: clamp(150px, 15vw, 210px); } }
.wl__perks b { font-weight: 600; color: oklch(0.17 0.02 275); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form__done .form__next { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.form__next a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .vs__head, .diy, .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .vs__pick { display: flex; gap: 6px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 16px; padding: 2px var(--gutter) 4px; scrollbar-width: none; }
  .vs__pick button { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; cursor: pointer; }
  .vs__pick button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
  .vs__pick button:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 2px; }
  .vs__tbl { font-size: 13.5px; }
  .vs__tbl th, .vs__tbl td { padding: 12px 10px; }
  .vs__tbl thead td { width: 27%; }
  .vs__tbl thead [data-c="sizl"] { width: 37%; }
  .vs__tbl [data-c]:not([data-c="sizl"]) { display: none; }
  .vs__wrap[data-vs="excel"] [data-c="excel"], .vs__wrap[data-vs="syrve"] [data-c="syrve"], .vs__wrap[data-vs="gpt"] [data-c="gpt"], .vs__wrap[data-vs="diy"] [data-c="diy"] { display: table-cell; }
  .next--wide { margin-top: 0; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ── Bright screens: red chapters (A) and our places (B) between the product demos ── */
.chapter { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(96px, 13vh, 150px) max(var(--gutter), calc((100% - 1240px) / 2)); background: var(--butter); color: var(--ink); }
.chapter::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(oklch(0.35 0.04 85 / .16) 1.2px, transparent 1.6px) 0 0 / 24px 24px; }
.chapter__h { margin: 0; color: var(--ink); font-weight: 600; font-size: clamp(3rem, 7vw, 6rem); line-height: .98; letter-spacing: -0.045em; }
.chapter__copy p { margin: 28px 0 0; max-width: 40ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.chapter--pains .chapter__h { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
.chapter--pains { margin: calc(var(--section) * -1) calc(var(--gutter) * -1) 0; min-height: 88svh; }
.pains .next p { color: oklch(0.28 0.03 60); }

/* The paperwork pile on the pains chapter */
.paper { position: relative; height: clamp(380px, 50vh, 480px); }
.paper > * { position: absolute; margin: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -24px oklch(0.4 0.04 75 / .55); transform: rotate(var(--r)); animation: bob var(--d, 7s) ease-in-out infinite alternate; }
.paper__inv { left: 2%; top: 4%; width: 240px; padding: 16px 18px; font-size: 12.5px; line-height: 1.85; color: var(--ink-2); }
.paper__inv b { display: block; margin-bottom: 4px; font-weight: 400; color: var(--ink); }
.paper__inv p { display: flex; justify-content: space-between; margin: 0; }
.paper__inv em { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 99px; background: oklch(0.95 0.04 275); color: var(--peri-ink); font-style: normal; }
.paper__xls { right: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; font-size: 13.5px; }
.paper__xls i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: oklch(0.5 0.12 150); color: #fff; font: 600 13px "Suisse Intl", sans-serif; font-style: normal; }
.paper__xls em { padding: 2px 8px; border-radius: 99px; background: oklch(0.95 0.04 275); color: var(--peri-ink); font-size: 12px; font-style: normal; white-space: nowrap; }
.paper__note { right: 10%; top: 26%; width: 210px; display: grid; gap: 6px; padding: 18px 18px 22px; border-radius: 4px; background: #fff repeating-linear-gradient(transparent 0 25px, oklch(0.88 0.03 240) 25px 26px) 0 14px; font: 14px "Input Mono", monospace; letter-spacing: -0.02em; }
.paper__note s { color: var(--ink-2); }
.paper__msg { left: 12%; bottom: 8%; max-width: 270px; padding: 12px 16px; border-radius: 18px 18px 18px 6px; font-size: 15px; line-height: 1.35; }
.paper__msg small { display: block; margin-bottom: 2px; color: var(--ink-2); font-size: 12px; }
.paper__clock { right: 2%; bottom: 2%; padding: 8px 18px; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -0.05em; color: var(--peri-ink); }

/* B · Our places: Flow and Sizl side by side on one screen */
.places { padding: var(--section) var(--gutter); }
.places__head { max-width: 1120px; margin: 0 auto clamp(32px, 5vh, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; }
.places__head .lede { max-width: 46ch; }
.places__grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spot { display: flex; flex-direction: column; margin: 0; overflow: hidden; border-radius: 28px; background: var(--white); box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05), 0 24px 48px -32px oklch(0.2 0.02 275 / .3); }
.spot__media { position: relative; aspect-ratio: 16 / 9; background: oklch(0.85 0.03 70); }
.spot__media > img, .spot__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot__body { flex: 1; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px); }
.spot h3 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.spot h3 span { color: var(--ink-2); font-weight: 500; }
.spot p { margin: 12px 0 0; max-width: 52ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.spot .proof { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.spot a { align-self: flex-start; margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }

@media (max-width: 980px) {
  .chapter, .places__head { grid-template-columns: minmax(0, 1fr); }
  .places .proof { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .chapter { padding-top: 88px; }
  .chapter--pains { min-height: 0; padding-bottom: 48px; }
  .paper { height: 430px; margin: 0 -8px; }
  .paper__inv { left: 0; top: 0; width: 200px; font-size: 11.5px; }
  .paper__xls { top: 150px; right: -4px; font-size: 12px; }
  .paper__xls span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .paper__note { top: 200px; right: auto; left: 0; width: 180px; font-size: 12.5px; }
  .paper__clock { top: 222px; bottom: auto; right: 4%; }
  .paper__msg { left: auto; right: 0; bottom: 0; max-width: 210px; font-size: 14px; }
  .places__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .spot__media { aspect-ratio: 4 / 3; }
}

/* ── 8 · Team ── */
.team { padding: var(--section) var(--gutter); background: var(--white); }
.team__wrap { max-width: 1240px; margin: 0 auto; }
.mani { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mani__line { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.18; letter-spacing: -0.03em; font-weight: 500; }
.mani__line span { color: var(--ink-2); }
.mani__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.mani__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.mani__list li:first-child { border-top: 0; padding-top: 6px; }
.mani__list li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--peri); margin-top: 7px; }
.founders { margin-top: clamp(64px, 10vh, 110px); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.founder { margin: 0; }
.founder__ph { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--ground); }
.founder__note { position: absolute; z-index: 1; left: 12px; right: 12px; top: 12px; margin: 0; padding: 8px 12px; border-radius: 14px; background: oklch(1 0 0 / .94); color: var(--ink); font-size: 13px; line-height: 1.35; box-shadow: 0 8px 20px -10px oklch(0.2 0.01 30 / .4); }
.founder__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: transform .8s var(--ease-out), filter .5s; }
.founder:hover .founder__ph img { transform: scale(1.03); filter: none; }
.founder__ph--pix img { filter: none; image-rendering: pixelated; }
.founder figcaption { padding: 16px 4px 0; }
.founder b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.founder .role { display: block; font: 12.5px "Input Mono", monospace; color: var(--ink-2); margin-top: 2px; }
.founder p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }


/* Short variant: founders shrink to a row */
.who .h2 { margin-bottom: 20px; }
.who .mani__line { max-width: 44ch; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.who .mani__line b { font-weight: 600; }
.founders--sm { margin-top: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 24px; }
.founders--sm .founder { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; }
.founders--sm .founder__ph { aspect-ratio: 1; border-radius: 50%; }
.founders--sm figcaption { padding: 4px 0 0; }
.founders--sm .founder p { margin-top: 6px; font-size: 14px; }

/* ── 9 · Waitlist ── */
.wl { padding: var(--section) var(--gutter) calc(var(--section) * .7); }
.wl__panel { position: relative; max-width: 1240px; margin: 0 auto; background: var(--butter); color: var(--ink); border-radius: 32px; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); overflow: hidden; isolation: isolate; }
.wl__panel .h2 { color: var(--ink); }
.wl__panel .lede { color: oklch(0.28 0.03 60); margin-top: 18px; max-width: 38ch; }
.wl__talk { position: absolute; z-index: -1; left: clamp(24px, 5vw, 72px); bottom: -70px; }
.wl__dough { width: clamp(140px, 16vw, 220px); transform: rotate(-6deg); }
.wl__bub { position: absolute; left: 82%; bottom: calc(70px + 58%); width: max-content; max-width: min(300px, 26vw); margin: 0; padding: 14px 18px; border-radius: 20px 20px 20px 6px; background: #fff; color: var(--ink); font-size: 15.5px; line-height: 1.4; box-shadow: 0 18px 40px -18px oklch(0.3 0.1 275 / .55); }
.wl__bub b { font-weight: 600; }
.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 16px; align-content: start; box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .5); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 13.5px; font-weight: 500; }
.field label i, .field legend i { font-style: normal; color: var(--ink-2); font-weight: 400; }
.field input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: oklch(0.52 0.006 30); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.18 0.008 30 / .08); }
.field input[aria-invalid="true"] { border-color: var(--peri-ink); }
.field .err { font-size: 13px; color: var(--peri-ink); min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.segs label { position: relative; }
.segs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segs span { display: grid; place-items: center; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 450; transition: background .2s, color .2s, border-color .2s; }
.segs input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.segs input:focus-visible + span { outline: 2px solid var(--peri-ink); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 4px; }
.form__note { margin: 0; font-size: 12.5px; color: var(--ink-2); text-align: center; }
.form__inv { margin: -4px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.form__inv a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.form__done { display: none; text-align: center; padding: 24px 8px; }
.form__done img { width: 96px; margin: 0 auto 12px; }
.form__done b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.form__done p { margin: 6px 0 0; color: var(--ink-2); }
.form.is-done > :not(.form__done) { display: none; }
.form.is-done .form__done { display: block; animation: pop .6s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ── 10 · FAQ ── */
.faq { padding: calc(var(--section) * .5) var(--gutter) var(--section); }
.faq__wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); }
.faq__side .lede { margin-top: 16px; max-width: 30ch; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 4px; border-radius: 6px; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: background .25s, transform .35s var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink); border-radius: 1px; transition: transform .35s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--ink); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details > p { margin: 0; padding: 0 56px 24px 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 64ch; }

/* ── Footer ── */
.foot { padding: 56px var(--gutter) 40px; border-top: 1px solid var(--line); background: var(--white); }
.foot__wrap { max-width: 1240px; margin: 0 auto; font-size: 14px; color: var(--ink-2); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 36px; }
.foot__logo { width: 72px; color: var(--peri); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a, .foot a { text-decoration: none; transition: color .2s; }
.foot nav a:hover, .foot a:hover { color: var(--ink); }
.legal { margin: 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.legal dt { font: 12px "Input Mono", monospace; color: var(--ink-2); margin-bottom: 6px; }
.legal dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.45; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; }

/* ── Responsive ── */
@media (max-height: 800px) and (min-width: 761px) { .f-food--c { display: none; } }
@media (max-width: 1100px) {
  .f-fc { display: none; }
  .f-food { scale: .8; }
}
@media (max-width: 980px) {
  /* Phones: a top-down flow, data → SIZL → actions, with arrows instead of the desktop wires */
  .graph { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .graph__label { margin: 0 0 12px; text-align: center; font-size: 15px; font-weight: 600; color: var(--ink); }
  .graph__col:first-of-type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .graph__col:first-of-type .graph__label { grid-column: 1 / -1; }
  .src { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 14px; line-height: 1.25; }
  .src small { margin-left: 0; }
  .graph__col:first-of-type::after, .graph__col:last-of-type::before { content: "↓"; grid-column: 1 / -1; display: grid; place-items: center; height: 64px; color: var(--peri); font-size: 20px; font-weight: 600;
    background: repeating-linear-gradient(180deg, var(--line-2) 0 5px, transparent 5px 9px) center / 2px 100% no-repeat; text-shadow: 0 0 0 var(--ground), 0 -2px 0 var(--ground), 0 2px 0 var(--ground); }
  .graph__col:last-of-type::before { margin-bottom: 8px; }
  .graph__wires, .dot { display: none; }
  .hub small { position: static; transform: none; color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
  .hub { width: auto; height: auto; padding: 22px 28px; display: flex; gap: 16px; }
  .hub svg { width: 56px; }
  .dough__head, .dough__wrap, .mani, .faq__wrap, .wl__panel { grid-template-columns: minmax(0, 1fr); }
  .dough__side { position: sticky; top: 78px; z-index: 2; height: auto; background: var(--white); padding: 6px 0 6px; flex-direction: row; align-items: center; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); box-shadow: 0 10px 20px -18px oklch(0.2 0.01 30 / .4); }
  .dough__stage { display: flex; align-items: center; gap: 12px; width: 100%; }
  .dough__vid, .dough__cast { width: 52px; flex: none; }
  .dough__stage > [data-who]:not(.is-on) { display: none; }
  .dough__role { display: block; margin: 0; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
  .dough__stage::before, .dough__shadow { display: none; }
  .say { position: static; flex: 1; max-width: none; font-size: 13.5px; border-radius: 16px 16px 16px 4px; }
  .js .moment:not(.is-active) .mw-row, .js .moment:not(.is-active) .toast, .js .moment:not(.is-active) :is(.vn__txt, .po, .asks li) { opacity: 1; transform: none; }
  .mw-row em { white-space: normal; text-align: right; }
  .dayclock { display: none; }
  .dough__body { padding-top: 8px; }
  .moment { min-height: 0; padding: 36px 0; opacity: 1; }
  .day { margin-top: 24px; }
  .pcard { grid-template-columns: minmax(0, 1fr); top: calc(84px + var(--i, 0) * 10px); min-height: 0; }
  .swap { height: auto; }
  .swap__sticky { position: static; height: auto; grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .screen { max-height: none; }
  .mods__head { grid-template-columns: minmax(0, 1fr); }
  .mods__list { display: flex; gap: 22px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .mods__list::-webkit-scrollbar { display: none; }
  .mtab { flex: none; }
  .how__track { height: auto; }
  .how__sticky { position: static; height: auto; padding-top: 0; padding-bottom: var(--section); overflow: visible; }
  .sw { margin-top: 56px; height: auto; display: flex; flex-direction: column; gap: 12px; }
  .sw__stage { width: min(100%, 380px); margin: 0 auto 24px; }
  .sw__art { aspect-ratio: 720 / 800; object-fit: cover; object-position: 50% 83%; translate: 3.6% 0; } /* phones: drop the empty sky the toast falls from */
  .note { position: static; width: 100%; }
  .note[data-l] { translate: none; }
  .sw__lines { display: none; }
  .note[data-l="0"] { order: 1; } .note[data-l="1"] { order: 2; } .note[data-l="2"] { order: 3; }
  .wl__talk { position: static; display: flex; align-items: flex-end; gap: 12px; margin-top: 28px; }
  .wl__dough { width: 76px; flex: none; }
  .wl__bub { position: static; max-width: none; width: auto; }
  .pos { grid-template-columns: minmax(0, 1fr); }
  .easy__head, .easy__demo, .easy__pts { grid-template-columns: minmax(0, 1fr); }
  .crew__wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .crew__copy { display: contents; }
  .crew__stage { margin-top: 28px; }
  .crew__pay { order: 1; }
  .crew__roles { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; margin: 24px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .crew__roles button { grid-template-columns: auto; padding: 10px 14px; }
  .crew__roles button span { display: none; }
  .crew__roles button i { left: 14px; right: 14px; }
  .how__sticky { padding-top: 40px; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .founder b { font-size: 16px; } .founder p { font-size: 13.5px; }
  .founder__note { left: 8px; right: 8px; top: auto; bottom: 8px; padding: 6px 9px; border-radius: 10px; font-size: 11px; } /* small card: keep the face clear */
  .pcard__art { height: 300px; }
  .ar-roles .roles { grid-template-columns: repeat(5, 58px); gap: 5px; } .ar-roles .roles div { height: 92px; font-size: 10px; } .ar-roles .hours { width: 310px; }
  .ar-xls { gap: 12px; } .ar-xls .inv { width: 130px; font-size: 10.5px; } .ar-xls .sheet { width: 170px; }
  .ar-list .news { display: none; }
  .ar-stock .sus span { font-size: 12px; padding: 5px 9px; }
  .hero { padding-top: 110px; align-content: center; }
  .f-food--a, .f-food--c { display: none; }
  .hero { padding-bottom: 210px; }
  .f-food--b { --x: 64% !important; top: auto; bottom: 22px; scale: .7; }
  .f-dough { --x: 2% !important; top: auto; bottom: 20px; scale: .8; }
  .chip { width: 240px; }
  .lens__tag { font-size: 13px; gap: 14px; }
  .xl__grid { grid-template-columns: 26px 1.5fr 1fr .8fr .8fr; }
  .xl__grid > .x { display: none; }
  .screen { aspect-ratio: auto; height: 470px; }
  .sz__row { grid-template-columns: minmax(0, 1fr) 62px 62px; }
  .sz__row > :nth-child(4), .sz__head .seg { display: none; }
  .segs { grid-template-columns: repeat(2, 1fr); }
  .faq details > p { padding-right: 0; }
  .fc-list div { grid-template-columns: 32px minmax(0, 1fr) 46px; }
  .fc-list .bar { display: none; }
  .ar-roles .roles { grid-template-columns: repeat(5, minmax(0, 1fr)); width: calc(100% - 24px); } .ar-roles .hours { width: calc(100% - 24px); }
  .pos { padding: 24px 16px; border-radius: 24px; }
  .pos__stage { padding: 16px 0 120px; }
  .kds { right: 0; width: 200px; }
  .term__neck { height: 30px; }
  .pix { width: 72px; }
}
@media (max-width: 420px) { .pill__more { display: none; } .ar-roles .roles div { font-size: 8.5px; letter-spacing: -0.02em; padding-inline: 1px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frag__in, .lane .track, .pix, .pix *, .vn__wave, .cc__bot, .cc__in i, .sync__wire i, .zr__scan { animation: none !important; }
  .hl.is-go, .hl.is-go::before { transition: none; }
  .faq details::details-content { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-height: 700px) and (max-width: 980px) { .pcard { position: relative; top: 0; } }

/* Phones: tighter rhythm. Sections sit closer, and widgets that only work wide are dropped. */
@media (max-width: 760px) {
  :root { --section: 64px; }
  .graph { margin-top: 36px; }
  .stack { gap: 16px; }
  .pcard { gap: 18px; padding: 20px; border-radius: 24px; }
  .pcard__art { height: 260px; }
  .lens { display: none; }
  .easy { padding-top: 56px; }
  .mods { margin-top: 56px; }
  .pos__stage { padding-bottom: 32px; align-items: start; }
  .pos__v:not(.is-on) { position: absolute; top: 16px; left: 0; right: 0; }
  .founders { margin-top: 40px; }
  .mani { gap: 24px; }
}

/* ── why.html: why → how → what (built by tools/build_why.py from index.html) ── */
.hero--why h1 { font-size: clamp(2.5rem, 5.8vw, 5rem); }
.odds { padding: var(--section) var(--gutter); background: var(--butter); }
.odds__in { max-width: 1240px; margin: 0 auto; }
.odds .h2 { max-width: 15ch; }
.odds__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin: clamp(40px, 6vh, 72px) 0 clamp(32px, 5vh, 56px); }
.odds__n { padding-top: 18px; border-top: 2px solid var(--ink); }
.odds__n b { display: block; font-size: clamp(3.2rem, 7.5vw, 6.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: .95; }
.odds__n span { display: block; margin-top: 12px; font-size: clamp(16px, 1.3vw, 19px); color: oklch(0.28 0.03 60); }
.odds__why { max-width: 58ch; margin: 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.odds__fatal { margin: clamp(48px, 8vh, 88px) 0 0; font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.odds__fatal mark { padding: 0 .1em; border-radius: .1em; background: var(--peri); color: var(--ink); }
.odds__fatal span { display: block; max-width: 56ch; margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; letter-spacing: 0; line-height: 1.5; color: oklch(0.28 0.03 60); }
.odds__src { margin: 40px 0 0; font: 12.5px/1.5 "Input Mono", monospace; color: oklch(0.35 0.03 60); }
.know__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.learned { padding: var(--section) var(--gutter); background: var(--white); }
.learned__in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.learned__list { display: grid; margin: 0; padding: 0; list-style: none; }
.learned__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5em; padding: 22px 0; border-top: 1px solid var(--line); font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.learned__list li:last-child { border-bottom: 1px solid var(--line); }
.learned__list li::before { content: ""; display: inline-block; width: .42em; height: .42em; margin-top: .36em; border-radius: 3px; background: var(--peri); }
.bridge { padding: var(--section) var(--gutter); background: var(--peri); color: var(--ink); text-align: center; }
.bridge__in { max-width: 920px; margin: 0 auto; }
.bridge__h { margin: 0; font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
.bridge__logo { display: inline-block; width: 2.1em; height: auto; vertical-align: -0.1em; color: var(--ink); }
.bridge__lede { max-width: 52ch; margin: 24px auto 32px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
@media (max-width: 760px) {
  .odds__row { grid-template-columns: minmax(0, 1fr); }
  .know__head, .learned__in { grid-template-columns: minmax(0, 1fr); }
  .hero--why .f-food--a { display: block; --x: 6% !important; top: auto; bottom: 26px; scale: .7; } /* no Dough bubble here, so coffee balances the pancakes */
}

/* ═══ v3 conversion page (index.html, 2026-10-09): hero says what it is, offer + form in one panel ═══ */
.skiplink { position: absolute; z-index: calc(var(--z-nav) + 1); left: 16px; top: -64px; padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; text-decoration: none; transition: top .2s var(--ease-out); }
.skiplink:focus { top: 16px; }

.hero--v3 .hero__copy { max-width: 1120px; }
.hero--v3 h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); text-wrap: balance; }
.hero--v3 .hero__lede b { color: var(--ink); font-weight: 500; }
/* Hero: a small dough cursor next to "AI". It circles a little, melts into a ball, wobbles and forms back into a cursor.
   Frames: assets/img/dough-cursor.webp, frames 1–12 of Roman's sheet (128 px). The loop runs 1→10, wobbles on 11–12 and
   goes back down 9→1, so the cursor it returns to is the same frame it left (the sheet's own way back, 13–20, draws a
   smaller cursor and made it jump). Reduced motion: a still cursor. */
.ai { position: relative; }
.dcur { position: absolute; z-index: 1; left: calc(100% - .2em); top: .74em; width: .78em; height: .78em; pointer-events: none;
  background: url("img/dough-cursor.webp?v=2") 0 0 / 1200% 100% no-repeat; filter: drop-shadow(0 .06em .08em oklch(0.45 0.05 70 / .35)); }
@media (prefers-reduced-motion: no-preference) {
  .dcur { animation: dcur-f 3.95s step-end infinite, dcur-o 2.6s linear infinite; }
}
@keyframes dcur-f {
  0.00% { background-position-x: 0.000%; }
  35.44% { background-position-x: 9.091%; }
  37.34% { background-position-x: 18.182%; }
  39.24% { background-position-x: 27.273%; }
  41.14% { background-position-x: 36.364%; }
  43.04% { background-position-x: 45.455%; }
  44.94% { background-position-x: 54.545%; }
  46.84% { background-position-x: 63.636%; }
  48.73% { background-position-x: 72.727%; }
  50.63% { background-position-x: 81.818%; }
  62.03% { background-position-x: 90.909%; }
  65.06% { background-position-x: 100.000%; }
  68.10% { background-position-x: 90.909%; }
  71.14% { background-position-x: 100.000%; }
  74.18% { background-position-x: 90.909%; }
  77.22% { background-position-x: 81.818%; }
  84.81% { background-position-x: 72.727%; }
  86.71% { background-position-x: 63.636%; }
  88.61% { background-position-x: 54.545%; }
  90.51% { background-position-x: 45.455%; }
  92.41% { background-position-x: 36.364%; }
  94.30% { background-position-x: 27.273%; }
  96.20% { background-position-x: 18.182%; }
  98.10% { background-position-x: 9.091%; }
  100% { background-position-x: 0%; }
}
/* small circles: turn, step out, turn back, so the sprite itself never tilts */
@keyframes dcur-o { from { transform: rotate(0deg) translateX(.07em) rotate(0deg); } to { transform: rotate(360deg) translateX(.07em) rotate(-360deg); } }
.hero__proof { display: inline-flex; align-items: center; gap: 12px; margin: 30px 0 0; padding: 6px 16px 6px 6px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); text-align: left; }
.hero__pics { display: flex; flex: none; }
.hero__pics img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white); }
.hero__pics img + img { margin-left: -10px; }
.hero--v3 .hero__meta { margin-top: 16px; }
.hero--v3 .hero__meta > span:first-child::before { content: none; }
@media (max-width: 560px) { .hero__proof { border-radius: 20px; font-size: 13.5px; } }
.hero--v3 .hero__lede { max-width: 48ch; }
.pill--go { text-decoration: none; color: var(--ink-2); transition: box-shadow .2s; }
.pill--go:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.pill--go b { font-weight: 600; color: var(--ink); }
.f-dough p b { font-weight: 600; }

/* 5 · What opens December 1: the long page's module player, without its outer margins */
.v3 .modules { padding: 0; }
.mods--v3 { margin: 0; padding-bottom: calc(var(--section) * .5); }
.pos-line { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) calc(var(--section) * .6); font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); background: var(--butter); }
.v3 .modules { background: var(--butter); }
/* On butter the warm near-black reads brown and dirty. Text on the yellow surfaces takes a cool ink from the periwinkle side
   instead: crisper against the yellow and on brand (the waitlist button follows, since it is drawn in --ink) */
.v3 :is(.pains, .mods--v3, .join) { --ink: oklch(0.2 0.035 275); --ink-2: oklch(0.36 0.035 275); }
.v3 :is(.pains .next p, .mpanel__d, .join__head .lede, .then li) { color: var(--ink-2); }
.v3 :is(.mtab__n, .mtab__t) { color: oklch(0.5 0.035 275); }
.v3 .mtab:hover .mtab__t, .v3 .mtab[aria-selected="true"] :is(.mtab__t, .mtab__n) { color: var(--ink); }
/* The butter has light and grain: brighter under the heading, warmer in the lower corners, a fine paper noise on top */
.mods--v3 { position: relative; isolation: isolate; background:
  radial-gradient(80% 45% at 30% 0%, oklch(0.985 0.035 95 / .85), transparent 70%),
  radial-gradient(55% 45% at 0% 100%, oklch(0.89 0.08 80 / .55), transparent 75%),
  radial-gradient(50% 40% at 100% 75%, oklch(0.9 0.075 82 / .45), transparent 75%),
  var(--butter); }
.mods--v3::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .16 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px; }
/* Every module opens the same way: one or two lines of what it does, the pain it fixes under them, then the screen */
.v3 .mpanel__d { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 8px; min-height: 3em; }
.v3 .mpanel__d span { max-width: 74ch; }
.v3 .mpanel__d em { color: var(--ink-2); }
/* POS: the card is as tall as the other modules' screens (2:1 of the stage), lifted the same way */
.pos--tab { box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .55), 0 0 0 1px oklch(0.17 0.02 275 / .06); }
@container (min-width: 900px) { .pos--tab { min-height: 50cqw; align-content: center; } }
.pos-line b { color: var(--ink); font-weight: 600; }
.graph__src { margin: 28px auto 0; font-size: 13.5px; color: var(--ink-2); }

/* 6 · Proof: the people under the two places */
.makers { max-width: 1120px; margin: clamp(56px, 8vh, 88px) auto 0; }
.makers__line { margin: 0; max-width: 60ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.makers__line b { color: var(--ink); font-weight: 600; }
/* The team opens with the deck's line: 25+ years of food operations between us, then the founders */
.makers__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 16px clamp(32px, 5vw, 72px); align-items: end; }
.makers__h { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.mk { padding: 0 .08em; margin: 0 -.04em; background: linear-gradient(transparent 58%, var(--peri) 58% 92%, transparent 92%); }
@media (max-width: 760px) { .makers__head { grid-template-columns: minmax(0, 1fr); } }
/* The industry number under the pains heading, sourced, in the deck's mono */
.chapter__stat { margin: 22px 0 0; max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--ink-2); }
.chapter__stat b { font: 1.3em "Input Mono", monospace; letter-spacing: -0.03em; color: var(--ink); }
.chapter__stat small { display: block; margin-top: 6px; font: 12.5px "Input Mono", monospace; color: var(--ink-2); }
/* Dough's pitch from the deck, under its heading */
.dough__pitch { margin: 16px 0 0; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); }
.dough__pitch b { padding: 0 .08em; color: var(--ink); font-weight: 600; background: linear-gradient(transparent 58%, var(--peri) 58% 92%, transparent 92%); }

/* 7 · Two ways in: plans on the left, the form on the right, what happens next underneath */
.wl--v3 { padding-top: calc(var(--section) * .7); }
.join { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--butter); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "head head" "plans form" "then then"; gap: 32px clamp(28px, 4vw, 56px); }
.join__head { grid-area: head; }
.join__head .lede { margin-top: 16px; max-width: 46ch; color: oklch(0.28 0.03 60); }
.join__form { grid-area: form; align-self: start; display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 32px); border-radius: 24px; background: var(--white); box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .5); }
.join__form .segs { grid-template-columns: repeat(3, 1fr); }
.join__form .btn { width: 100%; margin-top: 4px; }
.join__form .btn:disabled { opacity: .6; cursor: progress; }
.join__fail { margin: 0; font-size: 13.5px; color: var(--peri-ink); text-align: center; }
.join__fail:empty { display: none; }
.join__pick { display: none; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--butter-soft); font-size: 14px; color: var(--ink-2); }
.join__pick b { color: var(--ink); font-weight: 600; }
.join__pick a { margin-left: auto; color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 980px) { .join__pick { display: flex; gap: 12px; } }
.join__talk { margin: -4px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.join__talk a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.join.is-done .join__form > :not(.form__done) { display: none; }
.join.is-done .form__done { display: block; animation: pop .6s var(--ease-out); }
.join .form__done b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.then { grid-area: then; list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--butter-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.then li { display: grid; gap: 4px; font-size: 15px; line-height: 1.4; color: oklch(0.28 0.03 60); }
.then b { color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
/* v3 · Two ways in, calm (Roman, 2026-10-19: "too much noise"): the choice is one row of two tiles, what it gives is one short
   list under it (no ticks, no cards inside cards), the form is one white card, the price after launch one muted line. */
.v3 .join { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-areas: "head form" "plans form"; gap: 28px clamp(32px, 5vw, 88px); align-items: start; }
.v3 .join__head .lede b { color: var(--ink); font-weight: 600; }
.v3 .join__plans { grid-area: plans; display: grid; gap: 22px; align-content: start; }
.perks { margin: 0; padding: 0 4px; list-style: none; display: grid; gap: 10px; }
.perks li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.perks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--peri); }
.perks b { color: var(--ink); font-weight: 600; }
.v3 .join__form { grid-area: form; gap: 14px; }
.v3 .join__form :is(input, select) { width: 100%; min-width: 0; box-sizing: border-box; }
.v3 .join__form select { height: 48px; padding: 0 40px 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23514c4a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; font: inherit; font-size: 15px; color: var(--ink); appearance: none; cursor: pointer; }
.v3 .join__form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.18 0.008 30 / .08); }
@media (max-width: 980px) {
  .v3 .join { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "plans" "form"; }
}
@media (max-width: 980px) {
  .join { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "plans" "form" "then"; }
}
@media (max-width: 640px) {
  .then { grid-template-columns: minmax(0, 1fr); }
  .hero--v3 .hero__meta { flex-direction: column; align-items: center; gap: 2px; }
  .hero--v3 .hero__meta > span + span::before { content: none; }
}
/* v3 pacing: the same blocks as the long page, a little tighter, so the whole story fits in about eleven screens */
.v3 .pill__more { display: inline; }
@media (min-width: 981px) {
  .v3 .chapter--pains { min-height: 0; padding-block: clamp(80px, 10vh, 100px); }
  .v3 .pcard { min-height: 0; }
  .v3 .pcard__art { height: clamp(260px, 32svh, 300px); }
  /* one role per screen: blocks sit far apart, a bit larger, and snap to the middle (mandatory only inside the cast, see site.js) */
  .v3 .moment { min-height: 76svh; scroll-snap-align: center; scroll-snap-stop: always; } /* one role per swipe, however hard */
  .v3 .moment > * { zoom: 1.1; }
  .v3 .dough__body { padding-bottom: 12vh; } /* room for the last role to reach the middle while Dough is still pinned */
  @media (prefers-reduced-motion: no-preference) {
    html.snap-cast:has(.v3 .dough) { scroll-snap-type: y mandatory; }
  }
  .v3 .spot__media { aspect-ratio: 2 / 1; }
}
.v3 .places { padding-bottom: calc(var(--section) * .6); }
/* 6b · Real cases from the seed deck: seven cards in a strip that scrolls right (two per screen on a laptop, one on a phone), the
   same arrows as the pains strip. Each card is simple: title, "Before." and "Now." in a line or two, then one big saving and what
   the AI cost. */
.cases { padding: calc(var(--section) * .5) var(--gutter) var(--section); }
.cases__head { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; }
.cases__head .lede { margin-top: 18px; max-width: 46ch; }
.cases__head .lede b { color: var(--ink); font-weight: 600; }
.cases__test { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cases__test li { display: flex; gap: 12px; align-items: baseline; font-size: 16.5px; line-height: 1.4; color: var(--ink); }
.cases__test li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--peri); translate: 0 -2px; }
.cases__bar { display: flex; justify-content: flex-end; gap: 8px; max-width: 1240px; margin: 28px auto 16px; }
.cstrip { --edge: max(var(--gutter), calc((100vw - 1240px) / 2)); display: flex; gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--edge) 28px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); overscroll-behavior-x: contain; scrollbar-width: none; }
.cstrip::-webkit-scrollbar { display: none; }
.cstrip:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: -2px; }
.case { flex: 0 0 min(612px, 86vw); display: flex; flex-direction: column; gap: 16px; padding: 28px 30px 30px; border-radius: 28px; background: var(--white); box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05), 0 24px 48px -28px oklch(0.2 0.02 275 / .22); scroll-snap-align: start; }
.case__top { display: flex; align-items: center; justify-content: space-between; margin: 0; }
.case__tag { padding: 5px 12px; border-radius: 99px; background: var(--butter); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.case__n { font: 12.5px "Input Mono", monospace; color: var(--ink-2); }
.case h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.case__was, .case__now { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.case__was b, .case__now b { color: var(--ink); font-weight: 600; }
.case__now b { color: var(--peri-ink); }
/* the bill: what it cost before, what it costs now, what is left over */
.case__bill { display: grid; margin: auto 0 0; padding-top: 8px; }
.case__bill > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.case__bill dt { display: grid; gap: 2px; font-size: 15px; font-weight: 500; color: var(--ink); }
.case__bill dt small { font-size: 13.5px; font-weight: 400; color: var(--ink-2); }
.case__bill dd { margin: 0; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.case__bill dd b { font: 400 20px "Input Mono", monospace; letter-spacing: -0.02em; color: var(--ink); }
.case__bill .case__saved { align-items: center; padding: 16px 0 0; border-top: 1px dashed var(--ink-2); }
.case__saved dt { font-size: 17px; font-weight: 600; }
.case__saved dd { font-size: 15px; font-weight: 500; color: var(--ink); }
.case__saved dd b { font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.case--human { flex-basis: min(420px, 86vw); justify-content: flex-end; background: var(--butter); box-shadow: none; }
.case--human img { width: 72px; height: 72px; margin-bottom: auto; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.case--human .case__tag { background: var(--white); }
.case__quote { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.cases__src { max-width: 1240px; margin: 4px auto 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 980px) { .cases__head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .cases__bar { display: none; } .case { padding: 22px 20px 24px; } .case__saved dd b { font-size: 36px; } } /* phones: the value goes under its bar, so the bars keep their length */
.v3 .faq { padding-top: calc(var(--section) * .6); padding-bottom: calc(var(--section) * .7); }

/* "agentic AI OS" in the hero, the diagram and the FAQ link to how.html, the plain-words explainer */
.explain { color: inherit; text-decoration: underline dotted var(--peri-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .2s; }
.explain:hover { color: var(--peri-ink); }
.explain:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 2px; border-radius: 4px; }
.under-open { display: flex; width: max-content; margin: 16px auto 0; }

/* v3 · POS: the long page's POS block is the first module tab */
.pos--tab { width: 100%; margin: 0; }
.pos--tab .pos__stage { padding: 0; }
.pos__h { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
/* The copy sits on the screen's top edge; the switch is quiet (periwinkle like the #what gears, not ink like a CTA);
   the three mode texts share one grid cell, so switching never moves anything */
.pos--tab { align-items: start; }
.pos--tab .lede { margin-top: 12px; max-width: 34ch; }
.pos--tab .pmode { display: inline-grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; margin: 24px 0 18px; padding: 4px; border-radius: 99px; background: var(--butter-soft); box-shadow: inset 0 0 0 1px oklch(0.9 0.04 90); }
.pos--tab .pmode__t { padding: 8px 16px; border-radius: 99px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-align: center; white-space: nowrap; }
.pos--tab .pmode__t:hover { background: oklch(0.95 0.04 90); color: var(--ink); }
.pos--tab .pmode__t[aria-selected="true"] { background: var(--peri); color: var(--ink); }
.pmode__ps { display: grid; }
.pmode__ps > .pmode__p { grid-area: 1 / 1; }
.pos--tab .pmode__p[hidden] { display: block; visibility: hidden; }
.pos--tab .pmode__p > p { max-width: 40ch; }
.pos__feat { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 0; padding: 0; list-style: none; font: 12.5px/1.5 "Input Mono", monospace; letter-spacing: -0.02em; color: var(--ink); }
.pos__feat li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.pos__feat li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--peri); }
/* The kitchen ticket stands beside the monitor, low on the left, so it never covers Charge */
.pos--tab .kds { left: -4%; right: auto; bottom: -6px; }
@media (max-width: 760px) { .pos--tab .pmode { display: grid; } .pos--tab .pmode__t { padding: 8px 4px; font-size: 13.5px; } .pos--tab .kds { left: 0; bottom: -20px; scale: .78; transform-origin: 0 100%; } }
/* v3 · The full menu: one big line about all 24 modules over a food photo, edge to edge (the Apple "Ultraversatile" layout).
   The band closes the butter section; the photo sits on the right and fades into a table-coloured gradient behind the text,
   which lines up with the page's content edge. */
.mods--v3 { padding-bottom: 0; overflow-x: clip; }
.mods__all { container-type: inline-size; position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(50vw, 92svh); margin: clamp(72px, 12vh, 140px) calc(50% - 50vw) 0; background: linear-gradient(#efe3d5, #e4d5c5 55%, #d6c5b4); }
/* The board itself instead of a photo (Roman, 2026-10-23): in front, a crisp card with the twelve nearest modules, the six that launch
   in Q1 2027 marked; behind it, the whole board of 24, huge and out of focus, drifting slower than the page */
.mods__viz { position: absolute; inset: 0 0 0 38%; z-index: -1; pointer-events: none; }
.mods__haze { position: absolute; top: -8%; bottom: -8%; left: 0; right: -22%; display: grid; align-content: center; font-size: clamp(14px, 2cqw, 32px); filter: blur(10px); opacity: .75; -webkit-mask: linear-gradient(90deg, transparent, #000 34%); mask: linear-gradient(90deg, transparent, #000 34%); }
.mods__card { position: absolute; top: 50%; right: max(var(--gutter), calc((100cqw - 1240px) / 2)); width: min(46cqw, 620px); translate: 0 -50%; padding: 1.2em 1.2em 1.1em; border-radius: 1.5em; background: oklch(0.993 0.004 80); box-shadow: 0 2px 4px oklch(0.3 0.03 60 / .08), 0 40px 80px -36px oklch(0.3 0.05 60 / .5); font-size: clamp(10px, 1.05cqw, 15px); color: var(--ui-ink); }
.mods__cardh { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; margin: 0 .2em 1em; }
.mods__cardh b { font-size: 1.3em; font-weight: 600; letter-spacing: -0.02em; }
.mods__cardh span { font: .85em "Input Mono", monospace; color: var(--ui-mute); }
.mods__card .mo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.mods__viz .mo__t { min-height: 7.4em; gap: .5em; padding: .9em; }
.mods__card .mo__t:not(.is-next) { border-color: oklch(0.8 0.01 60); box-shadow: 0 1px 2px oklch(0.3 0.03 60 / .06); }
.mods__card .mo__t.is-next { background: oklch(0.975 0.004 80); color: var(--ui-mute); }
.mods__card .mo__t.is-next svg { stroke: var(--ui-mute); }
.mo__when { position: absolute; top: .9em; right: .9em; font: normal .78em "Input Mono", monospace; color: var(--ui-mute); }
.mods__more { margin: 1em .2em 0; font-size: .95em; line-height: 1.4; color: var(--ui-mute); }
/* A slow drift: the blurred board moves a little slower than the page (CSS scroll timeline; browsers without it keep it still) */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .mods__all { overflow: clip; view-timeline: --menu block; }
    .mods__haze { animation: menu-drift linear both; animation-timeline: --menu; animation-range: cover; }
  }
}
@keyframes menu-drift { from { translate: 0 -6%; } to { translate: 0 6%; } }
/* The next section slides over the band (Apple-style): as the band leaves, it holds still at the top of the screen, edge to
   edge, and dims, while "It already runs our own café" rides up over it with rounded top corners */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) { /* wide only: on a phone the band is taller than the screen and the next section would cover the module card */
  @supports (animation-timeline: view()) {
    .mods__all { view-timeline: --menu block; view-timeline-inset: 0px; animation: menu-stay linear both; animation-timeline: --menu; animation-range: exit 0% exit 100%; }
    .mods__all::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: oklch(0.22 0.02 60); opacity: 0; animation: menu-dim linear both; animation-timeline: --menu; animation-range: exit 0% exit 100%; }
    .v3 .modules + section { position: relative; z-index: 1; margin-top: -32px; border-radius: 32px 32px 0 0; background: var(--ground); box-shadow: 0 -30px 60px -30px oklch(0.3 0.03 70 / .45); } /* whichever section comes next (pricing since 2026-11-05) rides over the pinned band; without its own layer the band showed through it */
  }
}
@keyframes menu-stay { to { translate: 0 100%; } }
@keyframes menu-dim { to { opacity: .45; } }
.mods__allt { max-width: 48%; padding: clamp(48px, 8vh, 96px) 0 clamp(48px, 8vh, 96px) max(var(--gutter), calc((100% - 1240px) / 2)); }
.mods__big { margin: 0 0 clamp(16px, 1.8cqw, 28px); font-size: clamp(2.6rem, 6cqw, 6rem); font-weight: 600; letter-spacing: -0.04em; line-height: .95; text-wrap: balance; }
.mods__allt p { max-width: 30ch; margin: 0; color: oklch(0.4 0.02 60); font-size: clamp(17px, 1.5cqw, 22px); line-height: 1.45; text-wrap: pretty; }
.mods__allt b { color: var(--ink); font-weight: 600; }
/* Narrow: the text first, the card under it with the blurred board behind */
@media (max-width: 760px) {
  .mods__all { flex-direction: column; align-items: stretch; min-height: 0; }
  .mods__allt { max-width: none; padding: 48px var(--gutter) 0; }
  .mods__all { overflow: clip; }
  .mods__viz { position: relative; inset: auto; z-index: 0; padding: 32px var(--gutter) 48px; }
  .mods__haze { top: 0; bottom: 0; left: -10%; right: -60%; font-size: 22px; -webkit-mask: linear-gradient(transparent, #000 30%); mask: linear-gradient(transparent, #000 30%); }
  .mods__card { position: relative; top: auto; right: auto; width: auto; translate: none; font-size: 12px; }
}
/* v3 · Stock: the Import sheet sits on top of the Stock screens and sweeps away into SIZL, then Dough starts clicking */
.m-stock { --u: calc(100cqw / 936); }
.m-stock .sys.screen { max-height: none; }
.m-stock .xl { z-index: 2; border-radius: 0; box-shadow: none; clip-path: inset(0 0 0 calc(var(--p, 0) * 100%)); }
@container (max-width: 899px) { .m-stock { --u: 1px; } }
/* v3 · Hero: the category pill wraps on phones; founders: five in a row, Kirill as a monogram until there's a photo */
.pill--go { text-align: left; }
@media (max-width: 560px) { .pill--go { border-radius: 22px; } }
.hero--v3 .hero__lede { max-width: 60ch; text-wrap: balance; font-size: clamp(17px, 1.55vw, 22px); }
.makers .founders--sm { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.founder__ph--mono { display: grid; place-items: center; background: var(--peri-soft); }
.founder__ph--mono span { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--peri-ink); }
.makers .founders--sm { gap: 20px 18px; }
.makers .founders--sm .founder { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
.makers .founder__ph--mono span { font-size: 19px; }
/* v3 · Hero lede: a soft periwinkle marker under "an AI agent built in", a quieter echo of the H1 highlight */
.hero__lede .mark { font-style: normal; padding: 0 .08em; background: linear-gradient(transparent 56%, oklch(0.84 0.09 275 / .75) 56% 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* v3 pains: messenger threads (stock, new hire), a food cost sheet that falls behind the prices, and a clearly marked "With SIZL" answer */
.v3 .pcard__fix { padding: 14px 16px; border-top: 0; border-radius: 16px; background: var(--peri-soft); }
.v3 .pcard__fix b { padding: 3px 10px; border-radius: 99px; background: var(--peri); color: var(--ink); }
.v3 .pcard__fix b::before { content: none; }

.ar-chat { padding: 12px; }
.ar-chat .chat { display: flex; flex-direction: column; width: min(380px, 100%); height: 100%; border-radius: 18px; overflow: hidden; background: var(--butter-soft); box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px oklch(0.2 0.02 275 / .35); }
.chat__top { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center; padding: 9px 14px; background: var(--white); border-bottom: 1px solid var(--line); line-height: 1.2; }
.chat__top i { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--peri-soft); color: var(--peri-ink); font: 600 13px "Suisse Intl", sans-serif; font-style: normal; }
.chat__top b { font-weight: 600; font-size: 14px; }
.chat__top small { color: var(--ink-2); font-size: 11.5px; }
.chat__log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 8px 12px 10px; overflow: hidden; }
.chat__log p { max-width: 82%; margin: 0; padding: 7px 11px 6px; border-radius: 14px 14px 14px 4px; background: var(--white); box-shadow: 0 1px 1px oklch(0.2 0.01 30 / .06); font-size: 13.5px; line-height: 1.35; animation: msgin .35s var(--ease-out); }
.chat__log p.out { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--butter); }
.chat__log p.off { display: none; }
.chat__log small { display: block; color: var(--peri-ink); font-size: 11.5px; font-weight: 600; }
.chat__log time { float: right; margin: 5px 0 0 10px; color: var(--ink-2); font: 10.5px "Input Mono", monospace; }
.chat__log .typing { display: flex; gap: 4px; padding: 11px 13px; }
.chat__log .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); animation: dots 1s infinite; }
.chat__log .typing i:nth-child(2) { animation-delay: .15s; } .chat__log .typing i:nth-child(3) { animation-delay: .3s; }
.ar-chat .diff { position: absolute; top: 12px; right: max(12px, calc(50% - 206px)); padding: 7px 12px; border-radius: 99px; background: var(--peri-ink); color: #fff; font-size: 13px; transform: rotate(4deg); transition: opacity .3s, transform .5s var(--ease-out); }
.ar-chat .diff.off { opacity: 0; transform: rotate(4deg) scale(.6); }
/* Pain 1 in clay, like the Google-review illustration: no app window, just puffy hand-shaped bubbles on the dotted ground.
   Each bubble has a soft top-left highlight, a pressed-in lower edge and a cast shadow, and leans a little. */
.ar-chat .chat--clay { width: min(360px, 100%); overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.chat--clay .chat__top { justify-self: start; padding: 2px 4px 0; border: 0; background: none; }
.chat--clay .chat__top i { width: 34px; height: 34px; background: radial-gradient(circle at 34% 28%, oklch(0.9 0.08 65), oklch(0.74 0.14 50) 62%, oklch(0.62 0.15 42)); color: #fff; font-size: 15px; text-shadow: 0 1px 1px oklch(0.4 0.1 40 / .55); box-shadow: 0 7px 12px -5px oklch(0.45 0.1 45 / .55); }
.chat--clay .chat__log { gap: 11px; padding: 10px 8px 14px; overflow: visible; }
.chat--clay .chat__log p { align-self: flex-start; padding: 10px 15px 9px; border-radius: 22px 22px 22px 8px; background: #fbf5ec; color: var(--ink); font-weight: 500; text-shadow: 0 1px 0 rgb(255 255 255 / .7); rotate: -1.4deg;
  box-shadow: inset 2px 3px 3px rgb(255 255 255 / .95), inset -3px -5px 8px oklch(0.78 0.035 70 / .55), 0 14px 20px -12px oklch(0.4 0.05 70 / .5), 0 2px 3px oklch(0.4 0.05 70 / .12); }
.chat--clay .chat__log p.out { align-self: flex-end; border-radius: 22px 22px 8px 22px; background: oklch(0.9 0.09 88); rotate: 1.6deg;
  box-shadow: inset 2px 3px 3px rgb(255 255 255 / .75), inset -3px -5px 8px oklch(0.7 0.1 78 / .5), 0 14px 20px -12px oklch(0.45 0.08 75 / .55), 0 2px 3px oklch(0.4 0.05 70 / .12); }
.chat--clay .chat__log time { color: oklch(0.5 0.03 70); text-shadow: none; }
.chat--clay .chat__log .typing { rotate: -1.4deg; }
.chat--clay .chat__log .typing i { background: oklch(0.62 0.03 70); }
.ar-chat:has(.chat--clay) .diff { background: var(--peri); color: var(--ink); font-weight: 600; box-shadow: inset 2px 2px 3px rgb(255 255 255 / .6), inset -2px -3px 5px oklch(0.5 0.15 275 / .45), 0 10px 16px -8px oklch(0.4 0.12 275 / .55); }
@media (max-width: 760px) { .chat--clay .chat__top small { display: none; } .ar-chat:has(.chat--clay) .diff { font-size: 12px; } } /* the sticker clears Miguel's name */

.ar-cost { grid-template-columns: auto auto; gap: 18px; justify-content: center; align-content: center; align-items: center; }
.ar-cost .fcs { width: 250px; overflow: hidden; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px oklch(0.2 0.02 275 / .35); font-size: 12px; }
.fcs__h { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); font: 12.5px "Suisse Intl", sans-serif; }
.fcs__h i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: oklch(0.5 0.12 150); color: #fff; font: 600 11px "Suisse Intl", sans-serif; font-style: normal; }
.fcs__h em { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: oklch(0.95 0.04 275); color: var(--peri-ink); font-size: 11px; font-style: normal; white-space: nowrap; }
.fcs__r { display: grid; grid-template-columns: 1fr 44px 50px; align-items: center; height: 30px; padding: 0 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fcs__r > :not(:first-child) { text-align: right; }
.fcs__k { height: 24px; background: var(--ground); color: var(--ink-2); font-size: 10.5px; }
.fcs__r s { text-decoration: none; transition: color .3s; }
.ar-cost.done .fcs__r s { color: var(--ink-2); text-decoration: line-through; }
.fcs__r b { font-weight: 400; color: var(--peri-ink); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s var(--ease-out); }
.ar-cost.done .fcs__r b { opacity: 1; transform: none; }
.ar-cost.done .fcs__r:nth-child(4) b { transition-delay: .2s; } .ar-cost.done .fcs__r:nth-child(5) b { transition-delay: .4s; }
.fcs__f { padding: 8px 10px; color: var(--ink-2); font-size: 11px; transition: opacity .3s; }
.fcs__f b { font-weight: 400; color: var(--peri-ink); }
.fcs__f.off { opacity: 0; }
.ar-cost .px { position: relative; width: 190px; height: 96px; }
.px p { position: absolute; inset: 0 0 auto; margin: 0; padding: 8px 12px 9px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 12px 24px -16px oklch(0.2 0.02 275 / .4); font-size: 13px; line-height: 1.35; z-index: calc(20 - var(--k, 0)); opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .35s, transform .45s var(--ease-out); }
.px p.on { opacity: calc(1 - var(--k, 0) * .3); transform: translateY(calc(var(--k, 0) * 9px)) scale(calc(1 - var(--k, 0) * .05)); }
.px small { display: block; color: var(--ink-2); font-size: 11px; }
.px span { display: block; color: var(--peri-ink); font-size: 12px; }
@media (max-width: 980px) {
  .ar-cost { grid-template-columns: minmax(0, 250px); gap: 12px; }
  .ar-cost .px { order: -1; width: 100%; height: 50px; }
  .px p { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .px small { display: none; }
  .fcs__r { height: 26px; }
}
@media (max-width: 760px) { .pcard__art:has(.ar-chat) { height: 340px; } }
.px p.on:not(.top) > * { visibility: hidden; } /* cards under the newest one are just the pile */
.px p.on:not(.top) { color: transparent; }

/* Recipes (index): seven photos and a voice note go in, Dough writes the card step by step */
.upl { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 25em; gap: 2em; }
.upl__pics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7em; }
.upl__pics i { position: relative; overflow: hidden; border-radius: .7em; aspect-ratio: 4 / 3; background: var(--ui-line); }
.upl__pics img { width: 100%; height: 100%; object-fit: cover; }
.upl__pics i::after { content: ""; position: absolute; left: .5em; right: .5em; bottom: .5em; height: .3em; border-radius: 99px; background: #fff; transform-origin: 0 50%; opacity: 0; }
.shot.is-on .upl__pics i { animation: nwin .45s var(--ease-out) both; animation-delay: calc(.15s + var(--n) * .1s); }
.shot.is-on .upl__pics i::after { animation: nwup .9s var(--ease-out) both; animation-delay: calc(.25s + var(--n) * .1s); }
@keyframes nwin { from { opacity: 0; transform: translateY(-1.2em) scale(.9) rotate(-3deg); } }
@keyframes nwup { 0% { opacity: 1; transform: scaleX(0); } 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.upl__said { margin: 1em 0 0; font-size: 1.05em; line-height: 1.45; font-style: italic; }
.shot.is-on .upl__said span { animation: nwsay .5s var(--ease-out) both; animation-delay: calc(.7s + var(--n) * .3s); }
@keyframes nwsay { from { opacity: 0; filter: blur(4px); } }
.gen { position: relative; }
.gen span + span { position: absolute; inset: .22em .7em; }
.shot.is-on .gen span:first-child { animation: nwout .3s 4s both; }
.shot.is-on .gen span + span { animation: nwin .4s var(--ease-out) 4.1s both; }
@keyframes nwout { to { opacity: 0; } }
.fr--gen.is-on :is(.rd__grid figure, .ln, .rd__out, .fr__dough) { animation: nwstep .5s var(--ease-out) both; }
@keyframes nwstep { from { opacity: 0; transform: translateY(.8em); } }
.fr--gen.is-on .rd__grid figure:nth-child(2) { animation-delay: .45s; } .fr--gen.is-on .ln:nth-child(2) { animation-delay: .6s; }
.fr--gen.is-on .rd__grid figure:nth-child(3) { animation-delay: .9s; } .fr--gen.is-on .ln:nth-child(3) { animation-delay: 1.05s; }
.fr--gen.is-on .rd__grid figure:nth-child(4) { animation-delay: 1.35s; } .fr--gen.is-on .ln:nth-child(4) { animation-delay: 1.5s; }
.fr--gen.is-on .rd__grid figure:nth-child(5) { animation-delay: 1.8s; }
.fr--gen.is-on .rd__grid figure:nth-child(6) { animation-delay: 2.25s; } .fr--gen.is-on .ln:nth-child(5) { animation-delay: 2.4s; } .fr--gen.is-on .ln:nth-child(6) { animation-delay: 2.55s; }
.fr--gen.is-on .rd__grid figure:nth-child(1), .fr--gen.is-on .ln:nth-child(1) { animation-delay: .15s; }
.fr--gen.is-on .rd__out { animation-delay: 2.9s; }
.fr--gen.is-on .rd__out .hi { animation: pop .6s var(--ease-out) 3.4s both; }
.fr--gen.is-on .fr__dough { animation-delay: 3.8s; }
@media (max-width: 760px) {
  .upl { grid-template-columns: minmax(0, 1fr); gap: 1.2em; }
  .upl__pics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5em; }
}
.upl__drop { display: flex; flex-direction: column; padding: 1em; border: 1.5px dashed var(--ui-line); border-radius: 1em; }
.upl__add { margin-top: auto; padding-top: 1em; color: var(--ui-mute); font-size: .8em; text-align: center; }
.upl__voice { display: flex; flex-direction: column; }
.upl__lang { margin: auto 0 0; padding: .7em .9em; border-radius: .9em; background: var(--butter-soft); font-size: .8em; color: var(--ui-mute); }
@media (max-width: 760px) { .fr--new .fr__h small, .fr--gen .ln small { display: none; } }
.chat__log p.emo { padding: 0 2px; background: none; box-shadow: none; font-size: 30px; line-height: 1.1; }
@media (max-width: 760px) { .fr--gen .rd__out { margin-bottom: .6em; } .fr--gen .rd__out img { width: 6em; height: 4.4em; } }

/* Production (index): Dough points at the salmon loss, asks the chef, and the loss is recalculated after the weigh-in */
.dq { display: grid; gap: .45em; margin-top: 1.1em; font-size: .78em; }
.dq .fr__dough { margin: 0; font-size: 1em; padding: .55em .7em; }
.dq .fr__dough img { width: 1.9em; height: 1.9em; }
.dq .fr__btn { position: relative; font-size: .9em; transition: background .3s, color .3s; }
.fr--pr .fr__btn span + span { position: absolute; inset: .5em 1em; opacity: 0; text-align: center; white-space: nowrap; }
.fr--pr .fr__btn { position: relative; transition: background .3s, color .3s; }
.is-acted :is(.dq, .dm) .fr__btn { background: oklch(0.95 0.06 145); color: oklch(0.42 0.12 145); }
.is-acted :is(.dq, .dm) .fr__btn span:first-child { opacity: 0; } .is-acted :is(.dq, .dm) .fr__btn span + span { opacity: 1; }
.dq__rui { display: flex; align-items: flex-start; gap: .55em; margin: 0 0 0 2.6em; }
.dq__rui i { display: grid; place-items: center; flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--peri-soft); color: var(--peri-ink); font: 600 .9em "Suisse Intl", sans-serif; font-style: normal; }
.dq__rui > span { padding: .45em .75em; border-radius: .25em 1em 1em 1em; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); line-height: 1.35; }
.dq__rui small { display: block; color: var(--peri-ink); font-weight: 600; font-size: .9em; }
.dq__rui, .dq__done { opacity: 0; }
.is-acted .dq__rui { animation: nwstep .45s var(--ease-out) 4.6s both; opacity: 1; }
.is-acted .dq__done { animation: nwstep .45s var(--ease-out) 6.4s both; opacity: 1; background: oklch(0.95 0.06 145); }
.dq__done b { font-weight: 600; }
.pi--sal em { position: relative; display: inline-grid; }
.pi--sal em span { grid-area: 1 / 1; text-align: right; transition: opacity .3s; }
.pi--sal em span + span { opacity: 0; }
.is-acted .pi--sal em span:first-child { opacity: 0; transition-delay: 6.7s; } .is-acted .pi--sal em span + span { opacity: 1; transition-delay: 6.7s; }
.is-acted .pi--sal { animation: pop .6s var(--ease-out) 6.7s both; }
.v3 .pr__col + .pr__col { padding-top: 0; }

/* Stock chart (index): a smooth line that draws itself, a soft periwinkle fill, and Dough's note above the loss point */
.v3 .ch__line { stroke-width: 2.5; stroke-linecap: round; }
/* the line reveals left to right (a dash animation would break: the stroke is non-scaling) */
.v3 .shot.is-on .ch__svg { animation: chdraw 1.4s var(--ease-io) .2s both; }
@keyframes chdraw { from { clip-path: inset(-20% 100% -20% -2%); } to { clip-path: inset(-20% -2% -20% -2%); } }
.v3 .ch__low { fill: oklch(0.64 0.16 275 / .045); }
.v3 .ch__base { stroke-dasharray: 2 4; }
.v3 .ch__dot { width: .8em; height: .8em; margin: -.4em 0 0 -.4em; box-shadow: 0 0 0 .16em var(--ui-ink), 0 .2em .5em oklch(0.2 0.02 275 / .25); }
.v3 :is(.ch__low, .ch__area) { stroke: none; } /* .ch also names the POS chairs, whose stroke would leak in */

/* Voice note (Recipes upload): a light messenger-style player whose bars fill in as it plays */
.vm { display: flex; align-items: center; gap: .8em; width: fit-content; padding: .45em 1.1em .45em .45em; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line), 0 .6em 1.4em -.8em oklch(0.3 0.04 275 / .35); }
.vm__play { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--peri); }
.vm__play svg { width: 1em; height: 1em; fill: #fff; margin-left: .12em; }
.vm__bars { display: flex; align-items: center; gap: .16em; height: 2em; }
.vm__bars i { width: .2em; height: calc(var(--h) * 100%); border-radius: 99px; background: oklch(0.86 0.02 275); }
.shot.is-on .vm__bars i { animation: vmplay .25s linear both; animation-delay: calc(.6s + var(--n) * .065s); }
@keyframes vmplay { to { background: var(--peri-ink); } }
.vm__t { font-size: .78em; color: var(--ui-mute); }

/* Menu (index): the board in columns, and a chat where the owner asks Dough for seasonal drinks */
.mb { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 20em; gap: 1.2em; }
.mb__board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; align-items: start; }
.mb__col { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5em; padding: .7em; border: 1px solid var(--ui-line); border-radius: 1.1em; background: oklch(0.955 0.01 85); }
.mb__col--hot { border-color: oklch(0.88 0.05 275); background: oklch(0.97 0.015 275); }
.mb__head { display: flex; align-items: center; justify-content: space-between; gap: .5em; min-height: 1.7em; padding: 0 .3em; font-size: .85em; }
.mb__head b { font-weight: 600; }
.mb__head small { font: .85em "Input Mono", monospace; color: var(--ui-mute); }
.mb__ok { padding: .15em .6em; border-radius: 99px; background: oklch(0.95 0.06 145); color: oklch(0.42 0.12 145); font-size: .8em; font-style: normal; white-space: nowrap; }
.mb__it { --th: 2.3em; display: flex; align-items: center; gap: .6em; padding: .4em .5em .4em .4em; border: 1px solid var(--ui-line); border-radius: .8em; background: #fff; font-size: .8em; }
.mb__it .th { width: var(--th); height: var(--th); border-radius: 50%; object-fit: cover; flex: none; }
.mb__it > span { flex: 1; min-width: 0; line-height: 1.25; }
.mb__it small { display: block; color: var(--ui-mute); font-size: .9em; }
.mb__it em { padding: .1em .55em; border-radius: 99px; background: var(--peri); color: #fff; font-size: .78em; font-style: normal; font-weight: 500; }
.mb__cam { display: grid; place-items: center; border: 1px dashed oklch(0.84 0.015 85); background: var(--ui-bg); }
.mb__cam svg { width: 1em; height: 1em; fill: none; stroke: var(--ui-mute); stroke-width: 1.3; }
.mb__it--new { border-color: oklch(0.86 0.06 275); }
.mb__chat { display: flex; flex-direction: column; min-height: 0; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 1.1em; background: #fff; }
.mb__top { display: flex; align-items: center; gap: .55em; padding: .6em .8em; border-bottom: 1px solid var(--ui-line); font-size: .85em; }
.mb__top img { width: 1.9em; height: 1.9em; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.mb__top b { font-weight: 600; } .mb__top small { color: var(--ui-mute); }
.mb__log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .5em; padding: .8em; background: var(--butter-soft); font-size: .8em; line-height: 1.4; }
.mb__out { align-self: flex-end; border-bottom-right-radius: .25em !important; background: var(--ui-ink); color: #fff; }
.mb__in { align-self: flex-start; border-bottom-left-radius: .25em !important; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); }
.mb__in b { font-weight: 600; }
.mb__typing { display: flex; gap: .3em; align-self: flex-start; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); }
.mb__typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--ui-mute); animation: dots 1s infinite; }
.mb__typing i:nth-child(2) { animation-delay: .15s; } .mb__typing i:nth-child(3) { animation-delay: .3s; }
.mb__field { display: flex; align-items: center; gap: .6em; margin: .6em; padding: .45em .45em .45em .9em; border: 1px solid var(--ui-line); border-radius: 99px; font-size: .8em; }
.mb__send { display: grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 50%; background: var(--peri-ink); }
.mb__send svg { width: 1em; height: 1em; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes mbtype { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes mbdots { 0% { opacity: 0; max-height: 0; padding-block: 0; } 12%, 85% { opacity: 1; max-height: 3em; padding-block: .7em; } 100% { opacity: 0; max-height: 0; padding-block: 0; margin-top: -.5em; } }
/* new drinks take no room until they arrive, so the column grows when they land */
.mb__it--new { overflow: hidden; }
.shot.is-on .mb__it--new { animation: mbnew 1.8s var(--ease-out) both; animation-delay: calc(12.85s + var(--k) * .45s); }
@keyframes mbnew { 0% { max-height: 0; padding-block: 0; border-width: 0; margin-top: -.6em; opacity: 0; background: var(--peri-soft); } 25% { max-height: 5em; padding-block: .55em; border-width: 1px; margin-top: 0; opacity: 1; background: var(--peri-soft); } 100% { max-height: 5em; padding-block: .55em; border-width: 1px; margin-top: 0; opacity: 1; background: #fff; } }
.shot.is-on .mb__ok { animation: nwstep .4s var(--ease-out) 13.75s both; }
@media (max-width: 760px) {
  .mb { grid-template-columns: minmax(0, 1fr); gap: .8em; }
  .mb__board { grid-template-columns: minmax(0, 1fr); }
  .mb__col:not(.mb__col--hot) { display: none; }
}
.mb__col { gap: .6em; padding: .8em; }
.mb__it { --th: 2.8em; padding: .55em .6em .55em .5em; font-size: .86em; }
.mb__head { font-size: .92em; }

/* All modules (index): Live in colour, and "Missing one?" opens a chat bubble for a module wish */
.v3 .mo__t em { padding: .25em .65em; border-radius: 99px; background: oklch(0.94 0.07 145); color: oklch(0.38 0.12 145); font-size: max(.78em, 11.5px); font-weight: 500; }
.v3 .mo__t:has(em) { border-color: oklch(0.86 0.07 145); }
.v3 .mo__t--ask { all: unset; box-sizing: border-box; position: relative; display: flex; flex-direction: column; gap: .6em; min-height: 10.6em; padding: 1em 1.05em; border-radius: 1em; background: var(--peri); color: var(--ink); font-size: .85em; cursor: pointer; transition: transform .2s var(--ease-out), box-shadow .2s; }
.v3 .mo__t--ask:hover { transform: translateY(-2px); box-shadow: 0 .8em 1.6em -.9em oklch(0.5 0.16 275 / .8); }
.v3 .mo__t--ask:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 3px; }
.v3 .mo__t--ask[aria-expanded="true"] { background: var(--peri-ink); color: #fff; }
.v3 .mo__t--ask svg { stroke: currentColor; }
.v3 .mo__t--ask span { color: inherit; opacity: .8; }
.wish { position: absolute; right: 1.8em; bottom: 11.2em; z-index: 4; display: grid; gap: .55em; width: 23em; padding: .9em; border-radius: 1.2em 1.2em .3em 1.2em; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 1.6em 3em -1.4em oklch(0.3 0.06 275 / .45); font-size: .85em; animation: nwstep .3s var(--ease-out); }
.wish[hidden] { display: none; }
.wish__top { display: flex; align-items: center; gap: .55em; }
.wish__top img { width: 2em; height: 2em; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.wish__top b { flex: 1; font-weight: 600; }
.wish__x { all: unset; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; color: var(--ui-mute); font-size: 1.2em; cursor: pointer; }
.wish__x:hover { background: var(--ui-bg); }
.wish__x:focus-visible { outline: 2px solid var(--peri-ink); }
.wish__ask { padding: .55em .8em; border-radius: .3em 1em 1em 1em; background: var(--butter-soft); line-height: 1.4; }
.wish__f { display: grid; gap: .25em; }
.wish__f span { font-size: .85em; color: var(--ui-mute); }
.wish__f :is(input, textarea) { width: 100%; box-sizing: border-box; padding: .55em .7em; border: 1px solid var(--ui-line); border-radius: .7em; background: #fff; color: var(--ui-ink); font: inherit; resize: none; }
.wish__f :is(input, textarea):focus { outline: none; border-color: var(--peri-ink); box-shadow: 0 0 0 3px oklch(0.64 0.16 275 / .15); }
.wish__f ::placeholder { color: oklch(0.55 0.01 60); }
.wish__go { all: unset; justify-self: end; padding: .55em 1.3em; border-radius: 99px; background: var(--ui-ink); color: #fff; font-weight: 500; cursor: pointer; }
.wish__go:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 2px; }
.wish.is-busy .wish__go { opacity: .5; pointer-events: none; }
.wish__done { margin: 0; font-size: .9em; }
.wish__done:empty { display: none; }
.wish.is-sent :is(.wish__f, .wish__go) { display: none; }
.wish.is-sent .wish__done { padding: .55em .8em; border-radius: 1em 1em .3em 1em; background: oklch(0.95 0.06 145); color: oklch(0.36 0.1 145); justify-self: end; }
@media (max-width: 760px) {
  .v3 .mo__t--ask { min-height: 0; gap: .5em; padding: .75em; font-size: .75em; }
  .wish { left: 1em; right: 1em; bottom: 1em; width: auto; }
}

/* The message Dough drafts for the prep cook: opens on "Write to Tiago", shows "Sent", then gets out of the way */
.dm { position: absolute; right: 1.8em; bottom: 8.6em; z-index: 3; display: grid; gap: .7em; width: 25em; padding: .9em 1em 1em; border-radius: 1.1em; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 1.6em 3em -1.2em oklch(0.3 0.06 275 / .45); font-size: .82em; opacity: 0; visibility: hidden; transform: translateY(.8em) scale(.97); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
.is-ask .dm { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.is-acted .dm { animation: dmgo .45s var(--ease-out) 3.8s forwards; }
@keyframes dmgo { to { opacity: 0; transform: translateY(.8em) scale(.97); visibility: hidden; } }
.dm__top { display: flex; align-items: center; gap: .6em; }
.dm__top i { display: grid; place-items: center; flex: none; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--peri-soft); color: var(--peri-ink); font: 600 .95em "Suisse Intl", sans-serif; font-style: normal; }
.dm__top span { flex: 1; line-height: 1.25; } .dm__top b { display: block; font-weight: 600; } .dm__top small { color: var(--ui-mute); }
.dm__top em { padding: .2em .65em; border-radius: 99px; background: var(--butter-soft); font-size: .82em; font-style: normal; color: var(--ui-mute); white-space: nowrap; }
.dm__msg { margin: 0; padding: .7em .9em; border-radius: 1em 1em .3em 1em; background: var(--peri-soft); line-height: 1.45; }
.dm__foot { display: flex; align-items: center; justify-content: space-between; gap: .8em; }
.dm__foot small { color: var(--ui-mute); }
@media (max-width: 760px) {
  .fr--pr .dq { position: absolute; left: -.2em; right: -.2em; bottom: 0; z-index: 2; margin: 0; padding: .5em; border-radius: 1em; background: rgb(250 248 242); box-shadow: 0 -1em 1.6em -.6em rgb(250 248 242); }
  .fr--pr .dm { left: 1.1em; right: 1.1em; width: auto; bottom: 1.1em; }
}
@media (max-width: 760px) { .mb__col { gap: .4em; padding: .6em; } .mb__it { --th: 2.2em; padding: .35em .5em .35em .4em; } .mb__log { padding: .6em; } }
@media (max-width: 760px) { .v3 .mo__t em { right: .55em; top: .6em; padding: .15em .5em; font-size: max(.7em, 10px); } }
@media (max-width: 760px) { .fr--gen .rd__side .fr__dough { margin-top: .5em; padding: .45em .7em; } .fr--gen .lbl { margin-bottom: .45em; } }

/* Production: the message goes out in Tiago's language */
.dm__top em, .dm__msg, .dm__foot small { display: grid; }
.dm__top em > span, .dm__msg > span, .dm__foot small > span { grid-area: 1 / 1; transition: opacity .4s, filter .5s; }
:is(.dm__top em, .dm__msg, .dm__foot small) > span + span { opacity: 0; filter: blur(3px); }
.is-acted :is(.dm__top em, .dm__msg, .dm__foot small) > span:first-child { opacity: 0; transition-delay: .5s; }
.is-acted :is(.dm__top em, .dm__msg, .dm__foot small) > span + span { opacity: 1; filter: none; transition-delay: .6s; }
.is-acted .dm__top em { background: var(--peri-soft); color: var(--peri-ink); transition: background .3s .5s, color .3s .5s; }
/* Menu chat: yesterday's exchange above today's, and a placeholder around the typing */
.mb__log .mb__day { align-self: center; max-width: none; padding: .1em .6em; color: var(--ui-mute); font-size: .85em; }
.mb__field { position: relative; }
.mb__ph { position: absolute; left: .9em; color: var(--ui-mute); pointer-events: none; }
@media (max-width: 760px) {
  /* Production on phones: just the outputs and losses, full names, no wires */
  .v3 .fr--pr .pr { grid-template-columns: minmax(0, 1fr); }
  .v3 .fr--pr .pr__col:first-child, .v3 .fr--pr .wires { display: none; }
}

/* Menu chat script: three messages typed and sent, Dough answers, makes two photos, and the drinks land in their column.
   Each message takes no room until it arrives (--t), so older ones move up like a real chat. */
.mb__log > * { margin: 0; max-width: 88%; padding: .55em .8em; border-radius: 1em; }
.mb__log > .m { overflow: hidden; }
.shot.is-on .mb__log > .m { animation: mbmsg .5s var(--ease-out) var(--t) both; }
@keyframes mbmsg { from { max-height: 0; padding-block: 0; margin-top: -.5em; opacity: 0; } to { max-height: 16em; opacity: 1; } }
.shot.is-on .mb__typing { animation: mbdots var(--d, 1.1s) var(--t) both; }
.mb__gen { display: grid; gap: .45em; }
.mb__pics { display: flex; gap: .45em; }
.mb__pics img { width: 5.4em; height: 5.4em; border-radius: .8em; object-fit: cover; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); }
.shot.is-on .mb__pics img { animation: mbgen 1.6s var(--ease-out) 7.8s both; }
.shot.is-on .mb__pics img + img { animation-delay: 8.2s; }
@keyframes mbgen { from { filter: blur(12px) saturate(0) brightness(1.15); opacity: .4; transform: scale(.94); } }
/* the field: each message appears letter by letter over the placeholder, then goes on Send */
.mb__q { position: absolute; left: .9em; right: 2.6em; overflow: hidden; white-space: nowrap; background: #fff; opacity: 0; }
.shot.is-on .mb__q { animation: mbq calc(var(--b) - var(--a)) steps(1, end) var(--a) forwards; }
@keyframes mbq { from { opacity: 1; } to { opacity: 0; } }
.mb__q i { display: inline-block; font-style: normal; }
.shot.is-on .mb__q i { animation: mbtype calc((var(--b) - var(--a)) * .8) steps(var(--n), end) var(--a) both; }
.mb__send { margin-left: auto; }
.shot.is-on .mb__send { animation: pop .4s var(--ease-out) 2.85s, pop .4s var(--ease-out) 7.65s, pop .4s var(--ease-out) 11.55s; }
.mb__log { min-height: 0; overflow: hidden; } .mb__log > * { flex-shrink: 0; } /* older messages leave at the top; the field stays put */
/* Pains intro (index): words only, no paper pile */
.v3 .chapter--pains { grid-template-columns: minmax(0, 1fr); }
.v3 .chapter--pains .chapter__h { max-width: 16ch; text-wrap: balance; }
.v3 .chapter--pains .chapter__copy p { max-width: 52ch; }
.v3 .chapter--pains .chapter__copy { width: 100%; max-width: 1240px; margin-inline: auto; } /* same left edge as the cards below */

/* Pains as a horizontal strip (index): eight problem cards, art on top, then the one you can't count */
.v3 .stack__bar { display: flex; justify-content: flex-end; gap: 8px; max-width: 1240px; margin: 0 auto 16px; }
@media (min-width: 981px) { .v3 .chapter--pains { padding-bottom: 0; } .v3 .stack__bar { position: relative; z-index: 1; margin-top: -44px; margin-bottom: 36px; } } /* the arrows sit level with the title's last line, the cards follow close */
.stack__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--butter-line); transition: opacity .2s, transform .2s var(--ease-out), background .2s; }
.stack__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stack__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.stack__btn:active:not(:disabled) { transform: scale(.94); }
.stack__btn:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 3px; }
.stack__btn:disabled { opacity: .35; cursor: default; }
.v3 .stack--h { --edge: max(var(--gutter), calc((100vw - 1240px) / 2)); display: flex; gap: 16px; max-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--edge) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); overscroll-behavior-x: contain; scrollbar-width: none; }
.v3 .stack--h::-webkit-scrollbar { display: none; }
.v3 .stack--h:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: -2px; }
.v3 .stack--h .pcard { position: relative; top: auto; flex: 0 0 min(420px, 82vw); display: flex; flex-direction: column; gap: 18px; min-height: 0; padding: 14px 14px 24px; border-radius: 28px; transform: none; will-change: auto; scroll-snap-align: start; }
.v3 .stack--h .pcard__art { height: 300px; border-radius: 18px; container-type: inline-size; }
/* Picture cards (Roman's illustrations): the scene fills the art box; a cut-out sits on the dotted ground */
.pcard__art--pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__art--cut img { box-sizing: border-box; padding: 4% 3%; object-fit: contain; }
.v3 .stack--h .pcard__txt { padding: 0 10px; }
.v3 .stack--h .pcard h3 { margin: 8px 0 10px; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.12; text-wrap: balance; }
.v3 .stack--h .pcard__txt p { font-size: 15.5px; }
.pcard--more { justify-content: center; padding: 32px 30px !important; background: var(--peri) !important; }
.pcard--more b { font-size: clamp(6rem, 9vw, 8rem); font-weight: 500; line-height: .8; letter-spacing: -0.04em; color: var(--ink); }
.pcard--more h3 { margin-top: 18px !important; }
.pcard--more p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; max-width: 30ch; }
/* scenes in a narrow card: the same compact layouts phones get */
@container (max-width: 480px) {
  .ar-xls { gap: 12px; } .ar-xls .inv { width: 130px; font-size: 10.5px; } .ar-xls .sheet { width: 170px; }
  .ar-roles .roles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; width: calc(100% - 24px); } .ar-roles .roles div { height: 92px; font-size: 10px; } .ar-roles .hours { width: calc(100% - 24px); }
  .ar-list .news { display: none; }
  .ar-cost { grid-template-columns: minmax(0, 250px); gap: 12px; }
  .ar-cost .px { order: -1; width: 100%; height: 50px; }
  .px p { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .px small { display: none; }
  .fcs__r { height: 26px; }
}
@media (max-width: 760px) { .v3 .stack__bar { display: none; } .v3 .stack--h .pcard__art { height: 330px; } }
.v3 .stack--h .pcard { align-items: stretch; } /* the art keeps its width: it has inline-size containment */
.fcs__r b.dn { color: var(--ok); }
/* avocados */
.ar-rot .crate { width: min(300px, calc(100% - 32px)); padding: 14px 16px 12px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px oklch(0.2 0.02 275 / .35); }
.ar-rot .crate small { color: var(--ink-2); font-size: 12px; }
.crate__g { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 10px 0; font-size: 30px; line-height: 1.15; text-align: center; }
.crate__g i { font-style: normal; transition: filter .5s, transform .5s var(--ease-out), opacity .5s; }
.crate__g i.bad { filter: grayscale(1) sepia(.9) brightness(.5); opacity: .55; transform: rotate(14deg) scale(.86); }
.crate__n { font-size: 12.5px; color: var(--ink-2); } .crate__n b { color: var(--peri-ink); font-weight: 400; }
.ar-rot .diff { position: absolute; top: 12px; right: 12px; padding: 7px 12px; border-radius: 99px; background: var(--peri-ink); color: #fff; font-size: 13px; transform: rotate(4deg); transition: opacity .3s, transform .5s var(--ease-out); }
.ar-rot .diff.off { opacity: 0; transform: rotate(4deg) scale(.6); }
/* the shopping note gets a title */
.pad__t { display: block; font-weight: 400; color: var(--ink-2); font-size: 12px; }
/* reviews */
.chat--rev .chat__log small { color: var(--ink-2); font-weight: 500; }
.stars { display: block; color: oklch(0.72 0.15 75); letter-spacing: 1px; font-size: 13px; }
.chat--rev .chat__top i { background: oklch(0.95 0.06 85); color: oklch(0.6 0.13 75); }
/* file lists (kitchen kit) */
.ar-files .files { display: grid; gap: 7px; width: min(330px, calc(100% - 32px)); }
.files__t { margin: 0 0 2px; padding: 7px 12px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 12.5px; } .files__t b { color: var(--ink); font-weight: 500; }
.fl { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 7px 10px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; line-height: 1.25; transition: opacity .3s, transform .4s var(--ease-out); }
.fl.off { opacity: 0; transform: translateY(6px); }
.fl i { grid-row: span 2; display: grid; place-items: center; height: 30px; border-radius: 7px; color: #fff; font: 600 9.5px "Suisse Intl", sans-serif; font-style: normal; }
.fl__w { background: oklch(0.5 0.13 255); } .fl__p { background: oklch(0.55 0.17 25); } .fl__i { background: oklch(0.6 0.1 200); } .fl__x { background: oklch(0.5 0.12 150); }
.fl span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .fl small { color: var(--ink-2); font-size: 11px; }
.ar-files .diff { position: absolute; top: 12px; right: 12px; padding: 7px 12px; border-radius: 99px; background: var(--peri-ink); color: #fff; font-size: 13px; transform: rotate(4deg); transition: opacity .3s, transform .5s var(--ease-out); }
.ar-files .diff.off { opacity: 0; transform: rotate(4deg) scale(.6); }
.fl .fl__k { background: var(--butter); font-size: 15px; }
@container (min-width: 361px) and (max-width: 480px) { .ar-xls .inv { width: 165px; } }

/* Stock chart note (index): pinned to the plot's top right, so it can never run past the card; a dashed line drops to the loss */
.ch__note { position: absolute; right: -.3em; top: -2.6em; z-index: 3; display: flex; align-items: center; gap: .45em; max-width: calc(100% + .3em); padding: .25em .8em .25em .25em; border-radius: 1em; background: var(--peri-ink); color: #fff; font-size: .74em; line-height: 1.35; white-space: nowrap; box-shadow: 0 .5em 1.1em -.5em oklch(0.5 0.16 275 / .7); opacity: 0; transform: translateY(.4em); transition: opacity .35s 1.3s, transform .5s var(--ease-out) 1.3s; }
.ch__note img { width: 1.7em; height: 1.7em; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.ch__note b { font-weight: 600; }
.ch__note > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ch__link { position: absolute; top: 0; z-index: 2; border-left: 1.5px dashed var(--peri-ink); opacity: 0; transition: opacity .35s 1.5s; }
.shot.is-on .ch__note { opacity: 1; transform: none; } .shot.is-on .ch__link { opacity: 1; }
.fl .fl__r { background: var(--peri-ink); }

/* All 24 modules: the six that open December 1 are tinted; "Missing one?" is a bar across the bottom */
.v3 .fr--mo .mo { flex: 1; min-height: 0; grid-template-rows: repeat(4, minmax(0, 1fr)) auto; }
.v3 .fr--mo .mo__t { min-height: 0; }
.v3 .mo__t--d1 { background: var(--peri-soft); border-color: oklch(0.85 0.06 275); }
.mo__key { display: inline-flex; align-items: center; gap: .5em; font-size: max(.78em, 12.5px); color: var(--ui-mute); }
.mo__key i { width: 1em; height: 1em; border-radius: .3em; background: var(--peri-soft); box-shadow: inset 0 0 0 1px oklch(0.8 0.08 275); }
.v3 .fr--mo .mo__t--ask { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; gap: .7em; padding: .75em 1.05em; }
.v3 .fr--mo .mo__t--ask b { margin: 0; }
.v3 .mo__t--ask > i { margin-left: auto; font-style: normal; font-size: 1.5em; line-height: 1; transition: transform .25s var(--ease-out); }
.v3 .mo__t--ask[aria-expanded="true"] > i { transform: rotate(45deg); }
.v3 .fr--mo .wish { bottom: 4.6em; }
@container (max-width: 899px) {
  .v3 .fr--mo .mo { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)) auto; }
  .v3 .fr--mo .mo__t:not(.mo__t--ask) { gap: .35em; padding: .6em; font-size: .68em; }
  .v3 .fr--mo .mo__t svg { width: 1.6em; height: 1.6em; }
  .v3 .fr--mo .mo__t b { font-size: max(1em, 11px); }
  .v3 .fr--mo .mo__t svg { flex: none; }
  .mods__all .sys { height: 44em; } /* room for three-line tile names under their icons */
  .v3 .fr--mo .fr__h small { display: none; }
}

/* What SIZL does: a three-way switch (Classic → Coworking → Autopilot) over one SIZL window that changes with it.
   Same task in every mode: add two dishes to Brunch and price them. Without JS or with reduced motion the window shows end states. */
/* rhythm: copy, then a clear break, then the switch held tight to the window it drives */
.gear { max-width: 1400px; margin: clamp(32px, 5vh, 48px) auto 0; }
@keyframes gearrun { to { transform: scaleX(1); } }
.gear + .under-open { margin-top: clamp(36px, 5vh, 56px); }

/* the window: the real SIZL screens. Dough's panel on the left (as in the app), the Items page on the right; the mode
   sets the panel's share. The Items flow (catalog → New item → the dish form → catalog) is played by the module player
   (.shots with data-manual): your cursor in Classic, Dough's big one in Coworking. */
/* The window is 40em tall: the type follows the width but also the screen height, so the window always fits
   under the nav together with the two-line heading above it (250px = nav, heading and gaps) */
.mui-stage { position: relative; margin-top: 14px; font-size: clamp(11px, min(1vw, (100svh - 250px) / 40), 14.5px); container-type: inline-size; }
.mui { --cw: 0%; position: relative; display: flex; max-width: 100%; height: 40em; margin: 0 auto; transition: max-width .7s var(--ease-out), border-radius .7s var(--ease-out), transform .7s var(--ease-out); overflow: hidden; border-radius: 1.1em; background: rgb(248 247 243); color: var(--ui-ink); font-size: inherit; line-height: 1.35; text-align: left; box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .55), 0 0 0 1px oklch(0.17 0.02 275 / .08); }
.mui[data-g="1"] { max-width: calc(100% - 27em); }
.mui[data-g="2"] { --cw: 27em; }
/* Coworking → Autopilot in two steps. First the screen on the right fades out whole (.is-off): the window already holds just
   the chat, shifted so it stays put, and the screen hangs outside it with its own background and shadow. Then the chat
   moves to the centre and narrows into the phone. */
.mui.is-off { max-width: 27em; overflow: visible; border-radius: 1.1em 0 0 1.1em; transform: translateX(calc((27em - 100cqw) / 2)); transition: none; }
.mui.is-off .mui__app { flex: 0 0 calc(100cqw - 27em); border-radius: 0 1.1em 1.1em 0; background: rgb(248 247 243); box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .55), 0 0 0 1px oklch(0.17 0.02 275 / .08); opacity: 0; }
.mui[data-g="3"] { --cw: 100%; }
.mui__chat { flex: 0 0 var(--cw); display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; overflow: hidden; box-shadow: inset -1px 0 var(--ui-line); transition: flex-basis .7s var(--ease-out); }
.mui__app { flex: 1 1 0; transition: opacity .3s ease; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; overflow: hidden; }
.ly { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.mui__chat .ly { min-width: 24em; }
/* the screen keeps its full width (the stage minus the chat) while the window morphs, so it is clipped, not reflowed */
.mui__app .ly { min-width: calc(100cqw - 27em); }
.mui[data-g="1"] .ly--a1, .mui:not([data-g="1"]) .ly--a2, .mui:not([data-g="3"]) .ly--c2, .mui[data-g="3"] .ly--c3 { opacity: 1; visibility: visible; transition-delay: 0s; }
.mui svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.xs { display: inline-grid; }
.xs--l { display: grid; }
.xs > * { grid-area: 1 / 1; font-style: normal; }
.xs > :is(.o, .v) { opacity: 0; }

/* Each mode opens in four beats: the empty layout (shapes only) → a blur with a soft white glow → the words → the real
   screen, which then plays. The Autopilot caption is as narrow as the phone. */
.mui__intro { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 1.6em; padding: 2em; border-radius: 1.1em; text-align: center; pointer-events: none; }
/* the blur covers the whole window evenly, with a white veil; over the phone it takes the screen, not the frame */
.mui::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: oklch(1 0 0 / .62); -webkit-backdrop-filter: blur(24px) saturate(1.05); backdrop-filter: blur(24px) saturate(1.05); opacity: 0; pointer-events: none; transition: opacity .55s var(--ease-out); }
.gear.is-blur .mui::after { opacity: 1; }
.gear.is-text .mui__intro { pointer-events: auto; }
.mui__intro > :is(.mui__cap, .mui__skip) { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), visibility 0s .5s; }
.mui__intro > .mui__cap { grid-area: 1 / 1; }
.mui__cap[data-g="3"] { max-width: 19.5em; } /* Autopilot: the caption sits on the phone, not across the stage */
.gear.is-text .mui__intro > :is(.mui__cap.is-cur, .mui__skip) { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.gear.is-text .mui__intro > .mui__skip { transition-delay: .15s; }
.mui__cap h3 { margin: 0; color: var(--ink); font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.mui__cap p { max-width: 40ch; margin: .7em auto 0; color: var(--ink-2); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; text-wrap: balance; }
.mui__cap .meet { padding: .08em .35em .08em .08em; }
.mui__cap .meet img { width: 1.05em; height: 1.05em; margin-right: .2em; vertical-align: -0.2em; }
.mui__skip { all: unset; position: relative; overflow: hidden; padding: .7em 1.6em; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px -14px oklch(0.3 0.05 275 / .5); color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; }
.mui__skip i { position: absolute; inset: 0; background: var(--peri-soft); transform: scaleX(0); transform-origin: 0 50%; }
.gear.is-text .mui__skip i { animation: gearrun var(--read) linear both; }
.mui__skip span { position: relative; }
.mui__skip:hover { box-shadow: inset 0 0 0 1px var(--peri), 0 8px 20px -14px oklch(0.3 0.05 275 / .5); }
.mui__skip:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 3px; }

/* Autopilot: the same window with Dough's chat, only narrower and rounder; the chat itself doesn't change */
.mui[data-g="3"] { max-width: 23.5em; border-radius: 2.8em; } /* wide enough for the chat header as it is in Coworking */
.mui[data-g="3"] .mui__chat .ly { min-width: 0; }
.mui[data-g="3"] .wres { flex-wrap: wrap; }
.mui[data-g="3"] .bub { max-width: 90%; }

/* Dough's panel */
.dx__top { display: flex; flex: none; align-items: center; gap: .7em; padding: 1em 1.1em .8em; }
.dx__av { flex: none; overflow: hidden; width: 2.8em; height: 2.8em; border-radius: 50%; background: oklch(0.68 0.13 262); }
.dx__av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.dx__who { flex: 1; min-width: 0; line-height: 1.3; white-space: nowrap; }
.dx__who b { font-size: 1.05em; font-weight: 600; }
.dx__who small { color: var(--ui-mute); font-size: .95em; }
.dx__st { display: flex; align-items: center; gap: .45em; color: var(--ui-mute); font-size: .9em; }
.dx__st > i { flex: none; width: .5em; height: .5em; border-radius: 50%; background: oklch(0.6 0.15 145); }
.dx__seg { display: flex; gap: .15em; padding: .22em; border-radius: .8em; background: oklch(0.93 0.006 80); }
.dx__seg i { display: flex; align-items: center; gap: .35em; padding: .35em .6em; border-radius: .6em; color: var(--ui-mute); font-size: .9em; font-style: normal; }
.dx__seg i.on { background: #fff; color: var(--ui-ink); box-shadow: 0 1px 2px oklch(0 0 0 / .08); }
.dx__seg svg { width: 1.2em; height: 1.2em; }
.dx__ico { display: flex; color: var(--ui-mute); }
.dx__ico svg { width: 1.4em; height: 1.4em; }
.log { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; min-height: 0; overflow: hidden; padding: 0 1.1em .2em; line-height: 1.4; text-wrap: pretty; -webkit-mask-image: linear-gradient(transparent, #000 1.6em); mask-image: linear-gradient(transparent, #000 1.6em); }
.log > * { flex-shrink: 0; }
.bub { --pb: .6em; width: fit-content; max-width: 86%; margin: .55em 0 0; padding: .6em .85em; border-radius: 1em 1em 1em .25em; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); }
.bub--me { align-self: flex-end; border-radius: 1em 1em .25em 1em; background: var(--ui-ink); color: #fff; box-shadow: none; }
.job { --pb: .8em; display: grid; gap: .5em; margin: .55em 0 0; padding: .8em 1em; list-style: none; border-radius: 1em; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); }
.job li { display: flex; align-items: center; gap: .6em; text-wrap: balance; }
.job i { position: relative; flex: none; width: 1.35em; height: 1.35em; }
.job i::before, .job i::after { content: ""; position: absolute; inset: 0; }
.job i::before { box-sizing: border-box; border: 2px solid var(--peri); border-top-color: transparent; border-radius: 50%; opacity: 0; }
.job i::after, .ip__toast i { border-radius: 50%; background: oklch(0.95 0.05 150) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232e8a4e' stroke-width='2'/%3E%3C/svg%3E") center / contain; }
.wres { --pb: .7em; display: flex; align-items: center; gap: 1em; margin: .55em 0 0; padding: .7em .7em .7em .8em; border-radius: 1em; background: #fff; box-shadow: inset 0 0 0 1.5px var(--peri); }
.wres__d { display: grid; grid-template-columns: auto auto; column-gap: .6em; align-items: center; }
.wres__d img { grid-row: span 2; width: 2.6em; height: 2.6em; border-radius: .6em; object-fit: cover; }
.wres__d b { font-weight: 500; }
.wres__d small { color: var(--ui-mute); font: .85em "Input Mono", monospace; }
.wres__ok { margin-left: auto; padding: .55em 1.1em; border-radius: 99px; background: var(--ui-ink); color: #fff; font-weight: 500; }
.dx__comp { position: relative; flex: none; margin: .6em 1em 1em; padding: .85em 1em .6em; border: 1px solid var(--ui-line); border-radius: 1em; background: #fff; box-shadow: 0 1px 3px oklch(0 0 0 / .04); }
.dx__ph { display: block; max-height: 2em; overflow: hidden; color: oklch(0.62 0.01 70); white-space: nowrap; text-overflow: ellipsis; }
/* typed text wraps like in a real chat field: it types letter by letter (JS splits it into <i>s with their turn, --k),
   a letter not typed yet takes no room, so the field grows line by line; it goes back to one line on Send */
.fq { display: block; max-height: 0; overflow: hidden; text-wrap: pretty; }
.fq i { font-style: normal; }
.dx__tools { display: flex; align-items: center; justify-content: space-between; margin-top: .7em; color: var(--ui-mute); }
.dx__tools > i { font-size: 1.35em; font-style: normal; line-height: 1; }
.dx__tools > span { display: flex; align-items: center; gap: .8em; }
.dx__tools svg { width: 1.3em; height: 1.3em; }
.dx__send { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: oklch(0.62 0.012 60); color: #fff; }
.dx__send svg { width: 1.1em; height: 1.1em; stroke-width: 1.8; }

/* the Items page */
.ip, .ni, .fi { display: flex; flex-direction: column; }
.ip__bar { display: flex; flex: none; align-items: center; gap: 1em; height: 3.4em; padding: 0 1.6em; border-bottom: 1px solid var(--ui-line); white-space: nowrap; }
.ip__apps, .ip__cog { display: flex; color: var(--ui-mute); }
.ip__apps svg, .ip__cog svg { width: 1.35em; height: 1.35em; }
.ip__cog { margin-left: auto; }
.ip__crumb { display: flex; align-items: center; gap: .55em; font-size: .95em; }
.ip__crumb s { color: var(--ui-mute); text-decoration: none; }
.ip__crumb b { position: relative; font-weight: 500; }
.ip__crumb b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.2em; height: 2px; background: var(--ui-ink); }
.ip__crumb span { margin-left: .9em; color: var(--ui-mute); }
.ip__head { display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 1em; padding: 1.4em 1.6em 1.1em; }
.ip__head h4 { margin: 0; font-size: 2em; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.ip__head p { display: flex; align-items: center; gap: .45em; margin: .55em 0 0; color: var(--ui-mute); font-size: .9em; white-space: nowrap; }
.ip__tg { position: relative; width: 1.9em; height: 1.1em; border-radius: 99px; background: oklch(0.9 0.005 80); }
.ip__tg::after { content: ""; position: absolute; left: .15em; top: .15em; width: .8em; height: .8em; border-radius: 50%; background: #fff; }
.ip__new { flex: none; padding: .65em 1.1em; border-radius: .7em; background: var(--ui-ink); color: #fff; font-size: .95em; font-weight: 500; }
.ip__filters { display: flex; flex: none; align-items: center; gap: .55em; overflow: hidden; padding: .85em 1.6em; border-block: 1px solid var(--ui-line); font-size: .88em; white-space: nowrap; }
.ip__search { display: flex; align-items: center; gap: .55em; width: 13em; padding: .6em .9em; border-radius: .6em; background: oklch(0.94 0.004 80); color: var(--ui-mute); }
.ip__search::before { content: ""; flex: none; width: .75em; height: .75em; border: 1.5px solid currentColor; border-radius: 50%; }
.ip__chip { padding: .55em .8em; border: 1px solid var(--ui-line); border-radius: .6em; background: #fff; }
.ip__chip b { font-weight: 600; }
.ip__chip--add { color: var(--ui-mute); }
.ip__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5em, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 1em; overflow: hidden; padding: 1.2em 1.6em; }
.ic { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 1em; background: #fff; }
.ic > * { flex-shrink: 0; }
.ic img { width: 100%; height: 9em; background: rgb(247 248 243); object-fit: cover; }
.ic b { overflow: hidden; padding: .7em .9em 0; font-weight: 500; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.ic > span { display: flex; align-items: center; gap: .5em; padding: .55em .9em .8em; font-size: .78em; }
.ic i { color: var(--ui-mute); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.ic code { padding: .15em .45em; border-radius: .35em; background: oklch(0.95 0.03 250); color: oklch(0.45 0.12 255); font: 1em "Input Mono", monospace; }
.ic em { margin-left: auto; color: var(--ui-ink); font: normal 1.1em "Input Mono", monospace; }
.ic--new { border-color: var(--peri); box-shadow: 0 0 0 3px oklch(0.64 0.16 275 / .22); }
.shot.is-on .ic--new { animation: icin .6s var(--ease-out) .25s both; }
.shot.is-on .ic--late { animation-delay: 1s; }
@keyframes icin { from { opacity: 0; transform: translateY(.6em) scale(.96); } }
.ip__toast { position: absolute; left: 50%; bottom: 1.4em; display: flex; align-items: center; gap: .6em; margin: 0; padding: .7em 1.1em .7em .8em; border-radius: .8em; background: var(--ui-ink); color: #fff; font-size: .92em; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 1em 2em -1em oklch(0 0 0 / .45); }
.ip__toast i { flex: none; width: 1.4em; height: 1.4em; }
.shot.is-on .ip__toast { animation: fadein .4s var(--ease-out) .9s both; }
/* New item */
.ni__in { flex: 1; width: 100%; max-width: 52em; margin: 0 auto; padding: 2.4em 1.6em; box-sizing: border-box; text-align: center; }
.ni__in h4 { margin: 0; font-size: 1.9em; font-weight: 500; letter-spacing: -0.02em; }
.ni__in p { max-width: 36em; margin: .6em auto 0; color: var(--ui-mute); }
.ni__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; margin-top: 1.8em; }
.ni__t { display: grid; justify-items: center; gap: .7em; padding: 1.4em .5em; border: 1px solid var(--ui-line); border-radius: .9em; background: #fff; font-size: .95em; white-space: nowrap; }
.ni__t i { display: grid; place-items: center; box-sizing: border-box; min-width: 2.6em; height: 2.6em; padding: 0 .4em; border-radius: .6em; background: var(--bg); color: var(--fg); font: 600 .85em "Input Mono", monospace; }
/* the dish form, simplified: name, category, price and photos */
.fi__act { display: flex; gap: .4em; margin-left: auto; font-size: .95em; }
.fi__cancel { padding: .55em 1em; color: var(--ui-mute); }
.fi__save { padding: .55em 1.2em; border-radius: .7em; background: var(--ui-ink); color: #fff; font-weight: 500; }
.fi__in { display: flex; flex-direction: column; gap: 1.3em; overflow: hidden; padding: 1.4em 1.6em; }
.fi__k { margin-bottom: -.7em; color: var(--ui-mute); font-size: .78em; letter-spacing: .06em; text-transform: uppercase; }
.fi__name, .fi__price { display: grid; align-items: center; }
.fi__name > *, .fi__price > * { grid-area: 1 / 1; justify-self: start; }
.fi__name { height: 2.5em; padding: 0 .65em; border: 1px solid var(--ui-line); border-radius: .5em; background: #fff; font-size: 1.6em; letter-spacing: -0.02em; transition: border-color .2s, box-shadow .2s; }
.fi__ph { color: oklch(0.68 0.012 250); }
.fi .ty { white-space: nowrap; clip-path: inset(0 100% 0 0); }
.fi__sec > b { display: block; margin-bottom: .6em; font-size: 1.15em; font-weight: 500; }
.fi__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em; }
.fi__f { display: grid; align-content: start; gap: .35em; }
.fi__f > small { font-size: .85em; }
.fi__sel { position: relative; display: flex; align-items: center; gap: .6em; box-sizing: border-box; min-height: 2.8em; padding: 0 .9em; border: 1px solid var(--ui-line); border-radius: .6em; background: #fff; transition: border-color .2s, box-shadow .2s; }
.fi__sel:not(.fi__price)::after { content: ""; position: absolute; right: 1em; top: 50%; width: .45em; height: .45em; border: solid var(--ui-mute); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
.fi__c { display: grid; place-items: center; width: 2.2em; height: 1.8em; border-radius: .4em; background: oklch(0.95 0.03 250); color: oklch(0.45 0.12 255); font: 600 .8em "Input Mono", monospace; }
.fi__sel.fi__price { display: grid; font: 1em "Input Mono", monospace; }
.fi__price > .fi__fc { justify-self: end; color: var(--ui-mute); font: .8em "Suisse Intl", sans-serif; opacity: 0; }
.ni__in .ni__hint { display: grid; place-items: center; max-width: none; height: 7em; margin: 1em 0 0; border: 1.5px dashed oklch(0.86 0.012 85); border-radius: .9em; color: oklch(0.62 0.01 70); }
.fi__area { display: block; height: 4.6em; padding: .8em .9em; box-sizing: border-box; border: 1px solid var(--ui-line); border-radius: .6em; background: #fff; color: oklch(0.68 0.012 250); }
.fi__drop { position: relative; display: flex; align-items: center; gap: .55em; box-sizing: border-box; min-height: 2.8em; padding: 0 .9em; border: 1.5px dashed oklch(0.84 0.015 85); border-radius: .6em; font-size: .95em; }
.fi__drop svg { width: 1.2em; height: 1.2em; }
.fi__pic { position: absolute; right: .35em; top: .3em; width: 2.1em; height: 2.1em; border-radius: .45em; object-fit: cover; opacity: 0; }
.shot.is-name .fi__name .fi__ph, .shot.is-price .fi__price .fi__ph { opacity: 0; }
.shot.is-name .fi__name .ty { animation: mdtype 1.1s steps(11) both; }
.shot.is-price .fi__price .ty { animation: mdtype .7s steps(6) both; }
.shot.is-name:not(.is-price) .fi__name, .shot.is-price .fi__price { border-color: var(--ui-ink); box-shadow: 0 0 0 3px oklch(0.22 0.008 60 / .08); }
.shot.is-price .fi__fc { animation: fadein .4s var(--ease-out) .6s both; }
.shot.is-price .fi__pic { animation: fadein .4s var(--ease-out) 1.2s both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
/* the cursor here is bigger: Dough's in periwinkle with its tag, yours in ink */
.gear .shots__cur { width: 2.1em; }
.gear .shots[data-pace] .shots__cur { transition-duration: .42s, .3s; }
.gear .shots__cur svg { fill: var(--peri-ink); }
.gear .shots__who { left: 1.6em; top: 1.8em; gap: .45em; padding: .3em .9em .3em .3em; font-size: .95em; }
.gear .shots__who img { width: 1.8em; height: 1.8em; }
.gear .shots__cur.is-left .shots__who { left: auto; right: .8em; padding: .3em .3em .3em .9em; }
.gear [data-who="You"] .shots__cur svg { fill: var(--ui-ink); }
.gear [data-who="You"] .shots__who { padding: .3em .9em; background: var(--ui-ink); box-shadow: none; }
.gear [data-who="You"] .shots__who img { display: none; }

/* chat start states (JS present, motion allowed) */
.mui.is-armed .m { opacity: 0; }
/* when a scene stops, its messages fade out first and only then collapse, so the chat doesn't blink empty */
.mui.is-armed .log > .m { max-height: 0; margin-top: 0; padding-block: 0; transition: opacity .25s, max-height 0s .25s, margin 0s .25s, padding 0s .25s; }
.mui.is-armed .xs > .o { opacity: 1; }
.mui.is-armed .xs > .n { opacity: 0; }
.mui.is-armed .job i::before { opacity: 1; }
.mui.is-armed .job i::after { opacity: 0; }
/* chat playing */
.mui.is-on .m { animation: mdin .45s var(--ease-out) var(--t) both; }
/* after growing, a message keeps a roomy cap (not --h), so a resize mid-scene can't clip it */
.mui.is-on .log > .m { max-height: 30em; margin-top: var(--mt, .55em); padding-block: var(--pb, 0); opacity: 1; animation: mdgrow .5s var(--ease-out) var(--t) backwards; }
.mui.is-on .xs > .o { animation: mdout .25s var(--t) both; }
.mui.is-on .xs > .n { animation: mdin .4s var(--ease-out) var(--t) both; }
.mui.is-on .xs > .v { animation: mdin .4s var(--ease-out) var(--t) both, mdout .25s var(--u) forwards; } /* a middle state: in at --t, out at --u */
.mui.is-on .dx__ph { animation: fqshut .15s var(--t) both, fqopen .2s var(--b) forwards; }
.mui.is-on .fq { animation: fqopen .25s var(--t) both, fqshut .2s var(--b) forwards; }
.mui.is-on .fq i { animation: fqword 1ms calc(var(--t) + var(--k) * 36ms) backwards; }
@keyframes fqword { from, to { font-size: 0; } }
@keyframes fqopen { from { max-height: 0; opacity: 0; } to { max-height: 8em; opacity: 1; } }
@keyframes fqshut { from { max-height: 8em; opacity: 1; } to { max-height: 0; opacity: 0; } }
.mui.is-on .dx__send { animation: mdink .2s var(--t) both, mdgray .3s var(--b) forwards; }
.mui.is-on .job i::before { animation: mdspin .8s linear infinite, mdout .2s var(--d) both; }
.mui.is-on .job i::after { animation: mdin .3s var(--ease-out) var(--d) both; }
.mui.is-on .wres__ok { animation: mdping 1.8s 10.3s 3; }
/* the start state zeroes padding and margin, so the end values come from --mt / --pb; --h is the message's own height */
@keyframes mdgrow { from { max-height: 0; margin-top: 0; padding-block: 0; opacity: 0; } to { max-height: calc(var(--h, 30em) + 2 * var(--pb, 0px)); margin-top: var(--mt, .55em); padding-block: var(--pb, 0); opacity: 1; } }
@keyframes mdin { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mdout { from { opacity: 1; } to { opacity: 0; } }
@keyframes mdshow { to { opacity: 1; } }
@keyframes mdink { to { background: var(--ui-ink); } }
@keyframes mdgray { from { background: var(--ui-ink); } to { background: oklch(0.62 0.012 60); } }
@keyframes mdtype { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes mdspin { to { rotate: 360deg; } }
@keyframes mdping { from { box-shadow: 0 0 0 0 oklch(0.64 0.16 275 / .55); } to { box-shadow: 0 0 0 10px oklch(0.64 0.16 275 / 0); } }
@media (max-width: 760px) {
  .mui-stage { font-size: 10.5px; }
  .mui { flex-direction: column; height: 56em; }
  .mui[data-g="3"] { max-width: 25em; }
  .mui__intro { padding: 1.4em; }
  .mui[data-g="1"] { max-width: 100%; }
  .mui.is-off { max-width: 100%; overflow: hidden; border-radius: 1.1em; transform: none; } /* phones: the lower screen just fades */
  .mui.is-off .mui__app { flex: 1 1 0; border-radius: 0; box-shadow: none; }
  .mui[data-g="2"] { --cw: 41%; }
  .mui__chat { box-shadow: inset 0 -1px var(--ui-line); }
  .mui :is(.mui__chat, .mui__app) .ly { min-width: 0; }
  .dx__seg { display: none; }
  .ip__bar, .ip__head, .ip__filters, .ip__grid, .fi__in { padding-inline: 1.1em; }
  .ip__crumb span, .ip__chip { display: none; }
  .ip__search { flex: 1; width: auto; }
  .ip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7em; }
  .ic img { height: 7.5em; }
  .ni__in { padding: 1.6em 1.1em; }
  .ni__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em; margin-top: 1.2em; }
  .ni__t { grid-auto-flow: column; justify-content: start; align-items: center; padding: .7em; }
  .ni__hint, .fi__sec:last-child { display: none; }
  .wres { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .mui, .mui__chat { transition: none; } }

/* ── UI rules pass (Roman, 2026-10-19, the 13-rule thread). Overrides for the landing chrome only; the product mock-ups keep their
   own conventions (periwinkle for losses and alerts is how the SIZL app marks them).
   1  no backgrounds that say nothing: category tags are plain labels, not pills
   2  no filled card unless it is the main one: Vlada's card is white like the rest
   3  spacing on a 4/8 scale in the parts we built (cases, form)
   4  a label sits closer to its field (8px) than to the next field (24px)
   5–6 periwinkle marks what you click and the highlighted phrase; plain text, bullets and tags are ink or grey
   10 headings 1.1, body 1.4–1.5
   11 one primary button per screen: the nav button is secondary, the hero keeps the primary
   12 tags no longer look like buttons ── */
.v3 :is(.h2, .chapter__h, .hero h1, .mods__big, .makers__h) { line-height: 1.1; }
.v3 .nav__cta { box-shadow: inset 0 0 0 1.5px var(--ink); }
.v3 .nav__cta:hover { background: var(--ink); color: #fff; }
.v3 .case { gap: 16px; padding: 32px; }
.v3 .case__tag, .v3 .case--human .case__tag { padding: 0; border-radius: 0; background: none; font: 12px "Input Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.v3 .case__now b { color: var(--ink); }
.v3 .case--human { background: var(--white); box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05), 0 24px 48px -28px oklch(0.2 0.02 275 / .22); }
.v3 :is(.cases__test, .perks, .pos__feat) li::before { background: oklch(0.7 0.01 60); }
.v3 .join__form { gap: 24px; }
.v3 .join__form .field { gap: 8px; }
.v3 .join__form .field-row { gap: 24px 12px; }
.v3 .founder__ph--mono span { color: var(--ink-2); }
@media (max-width: 760px) { .v3 .case { padding: 24px 20px; } }

/* 6, 12: the chosen mode word is a control, so it gets a control's mark (a solid periwinkle underline that sweeps in when the
   cursor lands), not the marker band the page uses for highlighted phrases */

/* Pain scenes in clay, like card 1: puffy cream surfaces with a soft top-left highlight, a pressed-in lower edge and a cast shadow.
   Stickers become clay periwinkle; pictures and scenes alternate along the strip. */
.v3 .stack--h { --clay: inset 2px 3px 3px rgb(255 255 255 / .95), inset -3px -5px 8px oklch(0.78 0.035 70 / .55), 0 14px 20px -12px oklch(0.4 0.05 70 / .5), 0 2px 3px oklch(0.4 0.05 70 / .12); }
.v3 .stack--h :is(.fcs, .px p, .crate, .pad, .files__t, .fl, .inv, .sheet, .news span) { background-color: #fbf5ec; box-shadow: var(--clay); }
.v3 .stack--h .fcs { border-radius: 20px; rotate: -1.2deg; }
.v3 .stack--h .px p { border-radius: 18px; }
.v3 .stack--h .crate { border-radius: 26px; rotate: -1.4deg; }
.v3 .stack--h .pad { border-radius: 10px 24px 24px 24px; }
.v3 .stack--h .files__t { rotate: -1deg; }
.v3 .stack--h .fl { border-radius: 18px; }
.v3 .stack--h .fl:nth-child(odd) { rotate: .8deg; } .v3 .stack--h .fl:nth-child(even) { rotate: -.8deg; }
.v3 .stack--h .sheet { border-radius: 18px; rotate: 1.6deg; }
.v3 .stack--h .fl i { box-shadow: inset 1px 2px 2px rgb(255 255 255 / .35), inset -1px -2px 3px rgb(0 0 0 / .18); }
.v3 .stack--h :is(.diff, .clock) { background: var(--peri); color: var(--ink); font-weight: 600; box-shadow: inset 2px 2px 3px rgb(255 255 255 / .6), inset -2px -3px 5px oklch(0.5 0.15 275 / .45), 0 10px 16px -8px oklch(0.4 0.12 275 / .55); }
.chat--clay .chat__log p.emo { background: none; box-shadow: none; text-shadow: none; }
.pcard__art--r img { object-position: 70% 50%; } /* keeps the spreadsheet's title in frame */

/* CTA after a section: one big line, the terms, one big button. On pains, Dough's cursor is clicking it. */
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; margin-right: -4px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .25s var(--ease-out); }
.btn:hover svg { translate: 3px 0; }
.v3 .next--go { flex-direction: column; gap: 0; margin-top: clamp(64px, 9vh, 104px); }
.v3 .next--go p.next__h { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); }
.v3 .next--go p.next__s { margin-top: 12px; max-width: 52ch; color: var(--ink-2); }
.next--go .btn { position: relative; margin-top: 28px; }
.next--go .btn .dcur { font-size: 46px; left: calc(100% - .62em); top: .66em; z-index: 1; }
.v3 .dough .next--go { margin-bottom: 0; padding-inline: var(--gutter); } /* the Dough section has no side padding of its own */
.mods__allt .btn { margin-top: 28px; }

/* Case icon: a clay sticker beside the tag and the title; the bill still sits at the bottom of the card */
.v3 .case:not(.case--human) { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; column-gap: 20px; }
.v3 .case:not(.case--human) > * { grid-column: 1 / -1; }
.v3 .case > .case__ic { grid-column: 1; grid-row: 1 / span 2; width: 96px; height: 96px; align-self: center; }
.v3 .case:not(.case--human) > .case__top { grid-column: 2; align-self: end; }
.v3 .case:not(.case--human) > h3 { grid-column: 2; align-self: start; }
.v3 .case:not(.case--human) > .case__bill { align-self: end; }
@media (max-width: 760px) { .v3 .case:not(.case--human) { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; } .v3 .case > .case__ic { width: 72px; height: 72px; } }

.v3 .join__plans .perks { grid-area: perks; }

/* Team names: first name over last name */


/* Join, dressed: perks are ticks, the founders who set you up close the column */
.v3 .join__form { position: relative; }
.v3 .join .perks li { padding-left: 26px; }
.v3 .join .perks li::before { left: 0; top: .28em; width: 16px; height: 16px; border-radius: 0; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.v3 .join .perks li:first-child { font-size: 18px; color: var(--ink); }
.v3 .join__plans { grid-template-areas: "perks" "team"; }
.join__team { grid-area: team; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--butter-line); }
.join__team .faces { display: flex; flex: none; }
.join__team img { width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; border: 2px solid var(--butter); object-fit: cover; background: var(--ground); filter: grayscale(1) contrast(1.04); }
.join__team img:first-child { margin-left: 0; }
.join__team img[src$=".svg"] { filter: none; }
.join__team p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.join__team b { color: var(--ink); font-weight: 600; }
.join__team { flex-wrap: wrap; } .join__team p { flex: 1 1 220px; } /* the line drops under the faces when the column is narrow */
@media (max-width: 760px) {
}

/* Join, rules pass: spacing on the 4/8 scale; field borders reach 3:1; the form card is flat white on butter; the note lines up with the fields */
.v3 .join { padding: 48px; gap: 32px 48px; }
.v3 .join__plans { gap: 24px; }
.v3 .join .perks { gap: 12px; padding: 0; }
.join__team { gap: 16px; padding-top: 24px; }
.v3 .join__form { padding: 32px; box-shadow: none; }
.v3 .join__form input { padding-inline: 16px; }
.v3 .join__form select { padding-left: 16px; }
.v3 .join__form :is(input, select):not(:focus) { border-color: oklch(0.66 0.01 60); }
.v3 .join__form .btn { margin-top: 0; }
.v3 .form__note { text-align: left; }
@media (max-width: 760px) { .v3 .join { padding: 24px; gap: 32px; } .v3 .join__form { padding: 24px; } }

/* Waitlist only (Roman, 2026-10-19): a compact form, fields 16 apart */
.v3 .join__form { gap: 16px; }

/* Cases: the arrows sit under the strip, at the end of the footnote line */
.cases__foot { max-width: 1240px; margin: 8px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cases__foot .cases__src { margin: 0; }
.cases__foot .cases__bar { flex: none; margin: 0; }

/* #what mode words: the periwinkle highlight from the hero instead of a dotted underline. All three sit on a soft tint so they read as choices;
   the chosen one fills with the hero's periwinkle, sweeping in from the left */
.v3 .gw button { padding: 0 .12em; margin: 0 -.02em; border-radius: .12em; text-decoration: none;
  background: linear-gradient(var(--peri), var(--peri)) no-repeat 0 0 / 0% 100%, oklch(0.9 0.05 275 / .6); transition: background-size .5s var(--ease-out), background-color .2s; }
.v3 .gw button.is-lit { background-size: 100% 100%; }
.v3 .gw button:not(.is-lit):hover { background-color: oklch(0.84 0.08 275 / .75); }

/* Phones, shorter (Roman, 2026-10-19): Dough sits big above the roles instead of pinned under the nav,
   lower place photos, the team in two columns without bios, the legal block in two columns */
@media (max-width: 980px) {
  .v3 .dough__side { position: static; z-index: auto; margin: 0 0 8px; padding: 0; background: none; box-shadow: none; justify-content: center; }
  .v3 .dough__stage { justify-content: center; }
  .v3 .dough__vid, .v3 .dough__cast { width: min(260px, 64vw); }
  .v3 .dough__role { display: none; }
}
@media (max-width: 760px) {
  .v3 .moment[data-who="dough"] .mw { display: none; }
  .v3 .spot__media { aspect-ratio: 16 / 10; }
  .v3 .makers .founders--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .v3 .makers .founders--sm .founder p { display: none; }
  .legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Pains and cases drift on their own (site.js); snapping would pull every frame back to a card, so it's off while they drift */
#pain-list.is-drift, #case-list.is-drift { scroll-snap-type: none; }
#pain-list.is-drift > *, #case-list.is-drift > * { translate: var(--drift, 0) 0; will-change: translate; }

/* Footer contact reads as a link */
.legal dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal dd a:hover { color: var(--peri-ink); }

/* Pains intro (Roman: too heavy on the left, too many lines): on wide screens the title runs on one line, the stat and its source
   share one line under it, and the arrows sit level with that line at the right */
@media (min-width: 981px) {
  .v3 .chapter--pains .chapter__h { max-width: none; font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
  .v3 .chapter--pains .chapter__copy p.chapter__stat { max-width: calc(100% - 140px); }
  .v3 .chapter__stat small { display: inline; margin: 0 0 0 10px; }
}

/* Phones (impeccable adapt, 2026-10-23). The first screen ends at its button: the floating fragments only ever appear under a mouse, so on a
   phone they left 240px of blank under the CTA. The pill fits its line, the Dough section closes its seams, and on touch screens the
   mode words, the "How it works" button and the footer links get 44px targets. */
@media (max-width: 760px) {
  .v3 .hero { min-height: 0; padding-bottom: 64px; }
  .v3 .hero .frag { display: none; }
  .v3 .pill__more { display: none; }
  .v3 .pill { gap: 8px; font-size: 13px; }
  .v3 .dough__head { margin-bottom: 8px; }
  .v3 .dough__body { padding-top: 0; }
  .v3 .day { margin-top: 0; }
  .v3 .moment { padding: 28px 0; }
  .v3 .form__note { font-size: 13.5px; }
  .v3 .mods__list { -webkit-mask: linear-gradient(90deg, #000 82%, transparent); mask: linear-gradient(90deg, #000 82%, transparent); } /* the tab row scrolls: the last tab fades instead of being cut */
}
@media (pointer: coarse) {
  .v3 .gw button::before { content: ""; position: absolute; inset: -11px -2px; }
  .under-open { min-height: 44px; }
  .foot nav { gap: 0 20px; }
  .foot nav a { padding-block: 12px; }
}

/* Modules: the next screen fades in instead of popping */
@media (prefers-reduced-motion: no-preference) { .mpanel:not([hidden]) { animation: mpanel-in .4s var(--ease-out); } }
@keyframes mpanel-in { from { opacity: 0; translate: 0 6px; } }

/* Dough's cross-fade copy (site.js blend): the same box, mask and blend as the video, stacked over it in the stage's one cell */
.dough__stage > .dough__cast { grid-area: 1 / 1; }
.dough__ghost { z-index: 1; opacity: 0; pointer-events: none; }
@media (max-width: 980px) { .v3 .dough__stage { display: grid; place-items: center; } }

/* Cases: the cards keep their distance from the intro now that the arrows moved under the strip */
.v3 .cstrip { margin-top: clamp(32px, 4vw, 56px); }

/* v4 · #product: five steps as a plain list, one picture each (Roman, 2026-11-05: "simplify to the max"; the brief will change) */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid oklch(0.3 0.04 70 / .14); }
.steps li { display: grid; grid-template-columns: 3.5em minmax(0, 1fr) minmax(0, 300px); gap: clamp(16px, 3vw, 48px); align-items: center; padding: clamp(24px, 3.5vw, 40px) 0; border-bottom: 1px solid oklch(0.3 0.04 70 / .14); }
.steps__n { align-self: start; padding-top: .55em; font: 13px "Input Mono", monospace; color: oklch(0.5 0.035 275); }
.steps h3 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.steps p { margin: 0; max-width: 52ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: oklch(0.28 0.03 60); }
.steps__art { display: grid; place-items: center; }
.steps__pic { width: auto; max-width: 100%; height: 150px; object-fit: contain; filter: drop-shadow(0 16px 16px oklch(0.4 0.05 70 / .18)); }
.steps__pos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.steps__pos img { box-sizing: border-box; width: 100%; height: 44px; padding: 12px 14px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-tile); object-fit: contain; }
@media (max-width: 760px) {
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps__n { padding-top: 0; }
  .steps__art { justify-items: start; }
  .steps__pic { height: 120px; }
}

/* v4 · Hero objects (Roman, 2026-11-05): clay objects from Codex instead of the food photos, each with a tag that says
   what SIZL did with it. They fly in with the rest (site.js); then the invoice gets scanned, the tags pop in, and the food-cost ring counts down (site.js). */
.f-obj .frag__in { width: auto; aspect-ratio: auto; padding: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; display: grid; justify-items: center; }
.f-obj__pic { position: relative; display: block; width: var(--s, 128px); filter: drop-shadow(0 22px 22px oklch(0.35 0.04 70 / .22)) drop-shadow(0 2px 3px oklch(0.35 0.04 70 / .12)); }
.f-obj__pic img { display: block; width: 100%; height: auto; }
.f-food--a.f-obj { --s: 118px; } .f-food--b.f-obj { --s: 112px; } .f-food--c.f-obj { --s: 150px; }
.f-obj__tag { margin-top: -10px; padding: 7px 13px; border-radius: 99px; background: var(--white); box-shadow: var(--shadow-tile); font-size: 13px; line-height: 1.2; white-space: nowrap; color: var(--ink-2); }
.f-obj__tag b { color: var(--ink); font-weight: 600; }
.f-obj__scan { position: absolute; left: 8%; right: 8%; top: 10%; height: 3px; border-radius: 3px; background: var(--peri); box-shadow: 0 0 14px 4px oklch(0.64 0.16 275 / .35); opacity: 0; }
.ring__v { transition: stroke-dashoffset 1.8s cubic-bezier(.2, .8, .2, 1); }
@keyframes ftag { from { opacity: 0; transform: translateY(8px) scale(.9); } }
@keyframes fscan { 0% { opacity: 0; top: 10%; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; top: 86%; } }
@media (prefers-reduced-motion: no-preference) {
  .f-obj__tag { animation: ftag .5s var(--ease-out) calc(1.5s + var(--i, 0) * .2s) both; }
  .f-obj__scan { animation: fscan 1.1s ease-in-out 1.1s 2; }
}
@media (max-width: 1100px) and (min-width: 761px) { /* keep the right-hand fragments and their tags inside the screen */
  .hero .f-food--b.f-obj, .hero .f-dough { left: auto; right: 3%; }
}

/* v4 · The 42% screen (Roman, 2026-11-05): the stat from the pains header, now under the cards, as a waffle of 100 restaurants.
   29 fill first (2024), then 13 more in the darker step (2025) while the number counts 0 → 29 → 42 (site.js). Colours validated
   with the dataviz checker on this surface; the light step is under 3:1, so the key carries the numbers in text. */
.lossy { --wa: #8496F5; --wb: #3B47C2; --we: oklch(0.93 0.012 80); padding: clamp(48px, 8vh, 88px) 0 0; }
.lossy__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: center; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(28px, 3.6vw, 48px); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-tile); }
.lossy__h { margin: 0; max-width: 18ch; font-size: clamp(20px, 2vw, 30px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.lossy__n { display: block; margin-bottom: .08em; font-size: clamp(76px, 9vw, 140px); letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; color: var(--wb); }
.lossy__s { margin: 14px 0 0; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.45; color: var(--ink-2); }
.lossy__s small { display: block; margin-top: 10px; font: 12.5px "Input Mono", monospace; color: oklch(0.5 0.02 70); }
.lossy__viz { margin: 0; justify-self: end; width: min(100%, 264px); }
.lossy__yr { display: flex; gap: 12px; margin: 0 0 10px; font: 600 13px "Input Mono", monospace; }
.lossy__yr span:first-child { color: oklch(0.6 0.02 70); }
.waffle { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.waffle i { aspect-ratio: 1; border-radius: 3px; background: var(--we); }
.waffle i.a { background: var(--wa); } .waffle i.b { background: var(--wb); }
.lossy__key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.lossy__key span { display: inline-flex; align-items: center; gap: 7px; }
.lossy__key b { color: var(--ink); font-weight: 600; }
.k { width: 12px; height: 12px; border-radius: 3px; } .k--a { background: var(--wa); } .k--b { background: var(--wb); }
.lossy__unit { flex-basis: 100%; font: 12.5px "Input Mono", monospace; color: oklch(0.5 0.02 70); }
@keyframes wfill { from { background: var(--we); scale: .55; } 60% { scale: 1.12; } }
@keyframes yrdim { to { color: oklch(0.6 0.02 70); } }
@keyframes yrlit { from { color: oklch(0.6 0.02 70); } }
@media (prefers-reduced-motion: no-preference) {
  .lossy.is-pre .waffle i:is(.a, .b) { background: var(--we); }
  .lossy.is-go .waffle i.a { animation: wfill .45s var(--ease-out) calc(.2s + var(--i) * 30ms) both; }
  .lossy.is-go .waffle i.b { animation: wfill .5s var(--ease-out) calc(1.7s + var(--i) * 70ms) both; }
  .lossy.is-pre .lossy__yr span:first-child, .lossy.is-go .lossy__yr span:first-child { color: var(--ink); }
  .lossy.is-go .lossy__yr span:first-child { animation: yrdim .3s 1.6s forwards; }
  .lossy.is-go .lossy__yr span:last-child { animation: yrlit .3s 1.6s backwards; }
  .lossy.is-pre .lossy__yr span:last-child { color: oklch(0.6 0.02 70); }
}
@media (max-width: 860px) {
  .lossy__in { grid-template-columns: minmax(0, 1fr); }
  .lossy__viz { justify-self: start; width: min(100%, 220px); }
}

.chapter--pains .chapter__stat { font-size: clamp(19px, 1.7vw, 24px); color: var(--ink); } /* "Each of these costs you money." sits over the cards now */

/* v4 · Why AI (Roman, 2026-11-05): the end of the pains is one statement on its own screen instead of the waitlist button.
   The two lines rise in when the block comes into view (site.js adds .is-in); without motion they are simply there. */
.why-ai { display: grid; place-content: center; min-height: min(78svh, 760px); padding: clamp(64px, 10vh, 120px) var(--gutter); text-align: center; background: var(--peri); }
.why-ai__h { margin: 0 auto; max-width: 17ch; font-size: clamp(38px, 5.6vw, 84px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; color: var(--ink); }
.why-ai__h em { font-style: normal; padding: 0 .06em; background: linear-gradient(transparent 58%, var(--butter) 58% 92%, transparent 92%); }
.why-ai__s { margin: 26px auto 0; max-width: 34ch; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; color: oklch(0.22 0.04 275); text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .why-ai.is-pre > * { opacity: 0; transform: translateY(28px); }
  .why-ai.is-in > * { transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
  .why-ai.is-in > :nth-child(2) { transition-delay: .25s; }
}
.why-ai__h { margin-block: 0; }

/* v4 · Pricing (Roman, 2026-11-05): after the five steps, on the site's existing plan cards (.price/.plans/.plan above):
   Base $50, Standard $200, pay as you go, Enterprise per project. Enterprise always last (Roman, 2026-11-08): four across, two by two
   on mid widths, one column on phones. */
.price { background: var(--ground); }
.price__in { max-width: 1240px; margin: 0 auto; }
.price__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 24px; align-items: end; }
.price__lede { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--ink-2); }
.price .plans { list-style: none; padding: 0; margin-bottom: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .price .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }
.price .plan { position: relative; }
.plan--main { box-shadow: inset 0 0 0 2px var(--peri); }
.plan__tag { position: absolute; top: -13px; left: clamp(24px, 3vw, 40px); margin: 0; padding: 5px 12px; border-radius: 99px; background: var(--peri); color: var(--ink); font-size: 13px; font-weight: 600; }
.plan__name { margin: 0; }
.plan__price--word b { font-size: clamp(30px, 2.5vw, 38px); }
.plan .btn { margin-top: auto; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
:is(.v3, .cafe) .plan.plan--payg { background: transparent; box-shadow: none; border: 1.5px dashed oklch(0.3 0.02 70 / .3); } /* the no-plan option: an outline, not a card */
.price__note { margin: 20px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .price__head { grid-template-columns: minmax(0, 1fr); }
  .price .plans { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* v4 · Hero v4 (Roman, 2026-11-08): his reference, in SIZL colours. Copy left (kicker, "Spend less. Sell more.", lede, CTA),
   Dough (dough-lg) right with the two entry points as clay cards: Operations and Growth; a strip of five features under it.
   Hand-drawn strokes draw in on load, the cards rise, the tick pops, the growth line draws, Dough breathes. */
.hero--v4 { --hu-a: #B9E21C; --hu-b: #8EA0FF; display: flex; flex-direction: column; min-height: 0; padding: 104px var(--gutter) clamp(48px, 7vh, 88px); background: #FCE8D6; }
.h4 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; max-width: 1280px; margin: 0 auto; }
.h4__copy { position: relative; z-index: 2; }
.h4__kick { position: relative; display: inline-block; margin: 0 0 clamp(16px, 2.4vh, 26px); font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.h4__kw { position: relative; white-space: nowrap; }
.h4__u { position: absolute; left: 0; width: 100%; height: .32em; overflow: visible; fill: none; stroke-linecap: round; }
.h4__u path { stroke-width: 9; vector-effect: non-scaling-stroke; }
.h4__u--kick { width: 100%; height: 12px; bottom: -14px; } .h4__u--kick path { stroke: var(--hu-a); stroke-width: 6; }
.hero--v4 h1 { margin: 0; font-size: clamp(3.4rem, 7.6vw, 7.4rem); font-weight: 700; line-height: .98; letter-spacing: -0.055em; text-wrap: initial; }
.h4__l { display: block; white-space: nowrap; }
.h4__w { position: relative; display: inline-block; }
.h4__u--a, .h4__u--b { bottom: -.06em; left: -2%; width: 104%; height: .18em; }
.h4__u--a path { stroke: var(--hu-a); } .h4__u--b path { stroke: var(--hu-b); }
.h4__lede { margin: clamp(26px, 4vh, 40px) 0 0; max-width: 24ch; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.h4__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: clamp(28px, 4.5vh, 44px); }
.h4__cta .btn svg { width: 20px; height: 20px; fill: none; stroke: var(--hu-a); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h4__for { margin: 0; padding-left: 26px; border-left: 1.5px solid oklch(0.2 0.02 70 / .5); font-family: "Suisse Works", Georgia, serif; font-style: italic; font-size: 17px; line-height: 1.35; max-width: 17em; }

.h4__art { position: relative; aspect-ratio: 1.05; }
.h4__dough { position: absolute; left: 16%; top: 6%; width: 66%; height: auto; filter: drop-shadow(0 40px 34px oklch(0.4 0.06 60 / .28)); transform-origin: 50% 100%; }
.h4__zap { position: absolute; left: 73%; top: 2%; width: 12%; overflow: visible; fill: none; stroke: var(--hu-a); stroke-width: 9; stroke-linecap: round; }
.h4__card { position: absolute; width: 47%; padding: clamp(16px, 1.8vw, 26px); border-radius: clamp(18px, 2vw, 28px); background: var(--white); box-shadow: inset 0 -5px 0 oklch(0.94 0.01 80), 0 34px 50px -26px oklch(0.35 0.05 60 / .45); }
.h4__card--ops { left: 0; top: 57%; rotate: -1.5deg; }
.h4__card--grow { right: 0; top: 54%; rotate: 2deg; }
.h4__ch { display: flex; align-items: center; gap: 14px; margin: 0; }
.h4__ch .ico { flex: none; width: clamp(22px, 2.6vw, 38px); height: auto; padding-right: 14px; border-right: 1.5px solid oklch(0.2 0.02 70 / .25); box-sizing: content-box; }
.h4__ch b { font-size: clamp(17px, 1.75vw, 26px); font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
.h4__cs { margin: 12px 0 0; padding-bottom: 14px; border-bottom: 1px solid oklch(0.2 0.02 70 / .1); font-size: clamp(13px, 1.15vw, 17px); color: var(--ink-2); white-space: nowrap; }
.h4__ops { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.h4__tick { display: grid; place-items: center; flex: none; width: clamp(34px, 3.3vw, 48px); aspect-ratio: 1; border-radius: 10px; background: var(--hu-a); box-shadow: inset 0 -3px 0 oklch(0.6 0.15 125 / .45); }
.h4__tick svg { width: 62%; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.h4__ops > span { display: grid; gap: 10px; flex: 1; }
.h4__ops > span i { height: 11px; border-radius: 6px; background: oklch(0.88 0.01 80); }
.h4__ops > span i + i { width: 62%; }
.h4__chart { display: block; width: 100%; height: clamp(64px, 7vw, 104px); margin-top: 14px; overflow: visible; }
.h4__area { fill: url(#h4g); }
.h4__line { fill: none; stroke: #5B6CF0; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.h4__chart circle { fill: #5B6CF0; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.h4__feats { list-style: none; display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; width: 100%; max-width: 1280px; margin: clamp(20px, 4vh, 48px) auto 0; padding: 0; }
.h4__feats li { display: flex; align-items: center; gap: 14px; padding: 6px clamp(10px, 2vw, 34px); font-size: clamp(14px, 1.15vw, 18px); font-weight: 500; }
.h4__feats li:first-child { padding-left: 0; } .h4__feats li:last-child { padding-right: 0; }
.h4__feats li + li { border-left: 1.5px solid oklch(0.2 0.02 70 / .18); }
.h4__feats .ico { width: 30px; height: 30px; flex: none; }

@keyframes h4draw { from { stroke-dashoffset: 1; } }
@keyframes h4rise { from { opacity: 0; translate: 0 40px; } }
@keyframes h4pop { from { scale: .3; opacity: 0; } 70% { scale: 1.15; } }
@keyframes h4breathe { from { transform: translateY(0) scale(1, 1); } to { transform: translateY(-10px) scale(.99, 1.015); } }
@keyframes h4zap { 0%, 80%, 100% { opacity: 1; scale: 1; } 88% { opacity: .35; scale: .85; } }
@keyframes h4in { from { opacity: 0; translate: 0 18px; } }
@media (prefers-reduced-motion: no-preference) {
  .h4__u path, .h4__line { stroke-dasharray: 1; animation: h4draw .9s cubic-bezier(.6, 0, .2, 1) both; }
  .h4__u--kick path { animation-delay: .35s; } .h4__u--a path { animation-delay: .75s; } .h4__u--b path { animation-delay: 1.05s; }
  .h4__line { animation-duration: 1.4s; animation-delay: 1.6s; }
  .h4__area { animation: h4in .8s var(--ease-out) 2.4s both; }
  .h4__chart circle { animation: h4pop .4s var(--ease-out) both; transform-box: fill-box; transform-origin: center; }
  .h4__chart circle:nth-of-type(1) { animation-delay: 1.6s; } .h4__chart circle:nth-of-type(2) { animation-delay: 1.95s; }
  .h4__chart circle:nth-of-type(3) { animation-delay: 2.4s; } .h4__chart circle:nth-of-type(4) { animation-delay: 2.9s; }
  .h4__copy > * { animation: h4in .8s var(--ease-out) both; }
  .h4__copy > :nth-child(2) { animation-delay: .1s; } .h4__copy > :nth-child(3) { animation-delay: .25s; } .h4__copy > :nth-child(4) { animation-delay: .35s; }
  .h4__card--ops { animation: h4rise .9s var(--ease-out) .55s both; }
  .h4__card--grow { animation: h4rise .9s var(--ease-out) .75s both; }
  .h4__tick { animation: h4pop .5s var(--ease-out) 1.4s both; }
  .h4__zap { animation: h4in .5s var(--ease-out) 1.2s backwards, h4zap 3.5s ease-in-out 2s infinite; transform-origin: 0 100%; }
  .h4__feats li { animation: h4in .6s var(--ease-out) both; animation-delay: calc(.9s + var(--k, 0) * 80ms); }
}
@media (max-width: 1100px) { .h4__feats { grid-template-columns: repeat(3, auto); row-gap: 10px; } .h4__feats li:nth-child(4) { border-left: 0; padding-left: 0; } }
@media (max-width: 860px) {
  .hero--v4 { min-height: 0; padding-top: 100px; }
  .h4 { grid-template-columns: minmax(0, 1fr); }
  .h4__kick { font-size: 12px; letter-spacing: .16em; line-height: 2.3; } .h4__u--kick { bottom: -4px; height: 9px; }
  .h4__art { width: min(100%, 520px); margin: 8px auto 0; }
  .h4__cs { white-space: normal; }
  .h4__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .h4__feats li, .h4__feats li:first-child, .h4__feats li:last-child, .h4__feats li + li { padding: 0; border: 0; font-size: 14px; }
  .h4__card { width: 49%; padding: 14px; } .h4__ch { gap: 10px; } .h4__ch .ico { padding-right: 10px; } .h4__ch b { font-size: 15px; }
  .h4__feats .ico { width: 24px; height: 24px; }
}

/* v4 · Header from the reference (Roman, 2026-11-08): no pill; a bold black "SIZL." wordmark, plain links and a black
   "Join the waitlist →" with a lime arrow. Transparent over the hero, butter glass once the page scrolls. Index only for now. */
.nav--v4 { top: 0; width: 100%; max-width: none; padding: 20px max(var(--gutter), calc((100% - 1240px) / 2)); /* same 1240px column as the hero copy, so the logo lines up with the headline */ border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .3s, box-shadow .3s, transform .4s var(--ease-out); }
.nav--v4.is-scrolled { padding-block: 12px; background: oklch(0.95 0.045 92 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 oklch(0.3 0.03 70 / .1); }
.nav--v4.is-hidden { transform: translate(-50%, -100%); }
.nav__word .nav__logo { display: block; width: auto; height: clamp(34px, 3vw, 42px); color: var(--ink); } /* the lowercase wordmark is the logo everywhere (Roman, 2026-11-14) */
.nav__word { font-size: clamp(26px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: var(--ink); text-decoration: none; }
.nav--v4 .nav__links { gap: clamp(28px, 3.6vw, 56px); margin-left: auto; margin-right: clamp(24px, 3vw, 48px); font-size: 16px; font-weight: 500; color: var(--ink); }
.nav--v4 .nav__links a:hover, .nav--v4 .nav__links a[aria-current] { color: oklch(0.45 0.02 70); }
.v3 .nav--v4 .nav__cta, .nav--v4 .nav__cta { height: 54px; padding: 0 26px; gap: 14px; font-size: 16px; background: var(--ink); color: #fff; box-shadow: none; }
.v3 .nav--v4 .nav__cta:hover { background: oklch(0.27 0.01 30); }
.nav--v4 .nav__cta svg { width: 20px; height: 20px; fill: none; stroke: #B9E21C; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .nav--v4 { padding: 14px var(--gutter); } .v3 .nav--v4 .nav__cta, .nav--v4 .nav__cta { height: 44px; padding: 0 18px; font-size: 14.5px; } }
.hero--v4::before { content: none; } /* no dot grid on this hero */

/* v5 · Two heroes from Roman's references (2026-11-08), one to one. A: cream, "Less admin. More kitchen.", the character
   holding the card (cut from the reference). B: the same copy with a live SIZL screen in perspective, a character from his
   sheet, periwinkle where the reference has lime, and five features under it. ?hero=b shows B; anything else shows A. */
.hero--b, .hero-b .hero--a { display: none; }
.hero-a .hero--a, .hero-b .hero--b { display: block; } /* block, not the old hero grid: the grid shrank the 1240px column */
.nav--v4 { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav--v4 .nav__links { justify-self: center; margin: 0; gap: clamp(28px, 3.4vw, 52px); font-size: 15.5px; }
.v3 .nav--v4 .nav__cta, .nav--v4 .nav__cta { justify-self: end; border-radius: 10px; height: 46px; padding: 0 20px; font-size: 15px; }
.nav--v4 .nav__cta svg { stroke: #fff; }

.hero--a, .hero--b { min-height: 0; padding: 112px var(--gutter) clamp(40px, 7vh, 80px); }
.hero--a { --vi-tint: #EDF6C8; --vi-deep: #4E6A08; background: #F9F2E8; } /* A keeps the lime: pale lime circles, olive icons */ /* the cream of the character image, so its edges vanish */
.hero--b { --vi: #795BCE; --vi-h: #6B4CBD; --vi-tint: #EBE8FE; --vi-deep: #6343B3; --vi-ink: #462F80; background: #F9F2E8; } /* violet at hue 292: across the wheel from the dough orange (67), deeper than the periwinkle */
.hero--a::before, .hero--b::before { content: none; }
.hx { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; width: 100%; max-width: 1240px; margin: 0 auto; }
.hx__copy { position: relative; z-index: 2; }
.hx__kick { margin: 0 0 clamp(24px, 4vh, 40px); font-size: clamp(12px, .95vw, 15px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; line-height: 1.6; }
.hx__kw { position: relative; white-space: nowrap; }
.hx__u { position: absolute; left: 0; bottom: -16px; width: 100%; height: 12px; overflow: visible; fill: none; stroke-linecap: round; }
.hx__u path { stroke: #B9E21C; stroke-width: 6; vector-effect: non-scaling-stroke; }
.hero--b .hx__u path { stroke: var(--vi); }
.hero .hx__h { margin: 0; font-size: clamp(3rem, 6.3vw, 6.6rem); font-weight: 700; line-height: .93; letter-spacing: -0.058em; text-wrap: initial; white-space: nowrap; }
.hx__btn { display: inline-flex; align-items: center; gap: 14px; height: clamp(50px, 4vw, 60px); padding: 0 clamp(22px, 2vw, 32px); border-radius: 10px; font-size: clamp(16px, 1.25vw, 19px); font-weight: 500; text-decoration: none; transition: transform .2s var(--ease-out), background .2s; }
.hx__btn svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s var(--ease-out); }
.hx__btn:hover svg { translate: 4px 0; }
.hx__btn--ink { background: var(--ink); color: #fff; }
.hx__btn--peri { background: var(--vi); color: #fff; }
.hx__btn--peri:hover { background: var(--vi-h); }

.ha__sub { margin: clamp(18px, 2.6vh, 28px) 0 0; font-size: clamp(20px, 1.9vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.ha__lede { margin: clamp(16px, 2.4vh, 26px) 0 clamp(26px, 4vh, 40px); max-width: 40ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.35; color: oklch(0.42 0.01 70); }
.ha__art { justify-self: end; width: min(100%, 540px); }
.ha__art img { display: block; width: 100%; height: auto; -webkit-mask: linear-gradient(90deg, transparent, #000 6% 94%, transparent), linear-gradient(transparent, #000 6% 94%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 6% 94%, transparent), linear-gradient(transparent, #000 6% 94%, transparent); mask-composite: intersect; }

.hb__sub { margin: clamp(18px, 2.6vh, 28px) 0 clamp(26px, 4vh, 40px); max-width: 24ch; font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -0.015em; line-height: 1.25; }
.hb__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hb__for { margin: 0; padding-left: 28px; border-left: 1.5px solid oklch(0.2 0.02 70 / .35); font-family: "Suisse Works", Georgia, serif; font-style: italic; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.35; max-width: 15em; color: oklch(0.3 0.01 70); }
.hb__art { position: relative; aspect-ratio: 1.22; }
.hb__dough { position: absolute; left: -12%; bottom: -2%; width: 54%; height: auto; z-index: 2; filter: drop-shadow(0 30px 26px oklch(0.4 0.05 60 / .25)); }
.hb__feats { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; max-width: 1240px; margin: clamp(40px, 7vh, 88px) auto 0; padding: 0; }
.hb__feats li { display: grid; gap: 10px; align-content: start; }
.hb__fi { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; background: var(--vi-tint); color: var(--vi-deep); }
.hb__fi .ico { width: 22px; height: 22px; stroke-width: 1.7; }
.hb__feats b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.hb__feats span { max-width: 24ch; font-size: 14.5px; line-height: 1.45; color: oklch(0.42 0.01 70); }

/* the SIZL screen in perspective */
.hu { position: absolute; right: 0; top: 10%; width: 80%; display: grid; grid-template-columns: 22% minmax(0, 1fr); gap: 2.4%; padding: 2.6%; border-radius: 18px; background: oklch(0.985 0.006 85); box-shadow: 0 1px 0 #fff inset, 0 50px 80px -40px oklch(0.35 0.04 70 / .35), 0 0 0 1px oklch(0.3 0.02 70 / .06); transform: perspective(1800px) rotateY(-16deg) rotateX(5deg) rotateZ(.5deg); transform-origin: 30% 50%; font-size: clamp(7px, .68vw, 10.5px); color: var(--ink); }
.hu .ico { width: 1.25em; height: 1.25em; flex: none; }
.hu__logo { display: block; margin: .4em .4em 1.4em; font-size: 1.7em; font-weight: 700; letter-spacing: -0.06em; }
.hu__side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25em; }
.hu__side li { display: flex; align-items: center; gap: .7em; padding: .65em .7em; border-radius: .6em; color: oklch(0.4 0.01 70); }
.hu__side li.on { background: var(--vi-tint); color: var(--ink); font-weight: 500; }
.hu__main { display: grid; gap: 1.1em; }
.hu__card { display: flex; gap: 1.2em; padding: 1.4em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 1px oklch(0.3 0.02 70 / .06), 0 10px 24px -16px oklch(0.3 0.02 70 / .25); }
.hu__card > div:first-child { flex: 1; min-width: 0; }
.hu__lbl { display: flex; align-items: center; gap: .6em; margin: 0 0 .8em; font-weight: 500; }
.hu__big { display: flex; align-items: center; gap: .1em; margin: 0; }
.hu__big b { font-size: 2.8em; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.hu__chip { margin-left: .8em; padding: .25em .6em; border-radius: .4em; background: var(--vi-tint); font-size: .95em; font-style: normal; font-weight: 600; color: var(--vi-ink); white-space: nowrap; }
.hu small { display: block; margin-top: .5em; color: oklch(0.5 0.01 70); }
.hu__spark { width: 42%; height: 6em; align-self: center; overflow: visible; }
.hu__area { fill: url(#hug); }
.hu__line { fill: none; stroke: var(--vi-deep); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hu__t { margin: 0; font-size: 1.2em; font-weight: 600; }
.hu__btn { display: inline-block; margin-top: 1.4em; padding: .7em 1.1em; border-radius: .5em; background: var(--ink); color: #fff; font-weight: 500; }
.hu__dish { width: 34%; }
.hu__dish img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .7em; }
.hu__dish p { display: flex; align-items: center; margin: .8em 0 0; } .hu__dish p b { font-size: 1.3em; white-space: nowrap; } .hu__dish .hu__chip { margin-left: .6em; }
.hu__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.hu__mini { display: grid; gap: .5em; padding: 1.2em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 1px oklch(0.3 0.02 70 / .06), 0 10px 24px -16px oklch(0.3 0.02 70 / .25); }
.hu__mini b { font-size: 1.2em; } .hu__mini span { color: oklch(0.45 0.01 70); line-height: 1.4; }
.hu__ic { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: .6em; background: var(--vi-tint); color: var(--vi-deep); margin-bottom: .4em; }

@keyframes hxin { from { opacity: 0; translate: 0 22px; } }
@keyframes hxdraw { from { stroke-dashoffset: 1; } }
@keyframes hxpop { from { opacity: 0; scale: .6; } 70% { scale: 1.08; } }
@keyframes huin { from { opacity: 0; transform: perspective(1800px) rotateY(-28deg) rotateX(8deg) translateX(60px); } }
@keyframes hupulse { 0%, 100% { box-shadow: 0 0 0 0 oklch(0.56 0.17 292 / 0); } 50% { box-shadow: 0 0 0 .5em oklch(0.56 0.17 292 / .2); } }
@media (prefers-reduced-motion: no-preference) {
  .hx__copy > * { animation: hxin .8s var(--ease-out) both; }
  .hx__copy > :nth-child(2) { animation-delay: .08s; } .hx__copy > :nth-child(3) { animation-delay: .18s; } .hx__copy > :nth-child(4) { animation-delay: .26s; } .hx__copy > :nth-child(5) { animation-delay: .34s; }
  .hx__u path { stroke-dasharray: 1; animation: hxdraw .9s cubic-bezier(.6, 0, .2, 1) .5s both; }
  .ha__art { animation: hxin 1s var(--ease-out) .2s both; }
  .hu { animation: huin 1.2s var(--ease-out) .2s both; }
  .hu__line { stroke-dasharray: 1; animation: hxdraw 1.4s ease-in-out 1s both; }
  .hu__area { animation: hxin .8s var(--ease-out) 1.9s both; }
  .hu__chip { animation: hxpop .45s var(--ease-out) 1.6s both; }
  .hu__rec { animation: hxin .7s var(--ease-out) 1.2s both; }
  .hu__mini { animation: hxin .6s var(--ease-out) both; animation-delay: calc(1.5s + var(--k) * .12s); }
  .hu__btn { animation: hupulse 2.6s ease-in-out 3s infinite; }
  .hb__dough { animation: hxin .9s var(--ease-out) .6s both; }
  .hb__feats li { animation: hxin .6s var(--ease-out) both; }
  .hb__feats li:nth-child(2) { animation-delay: .08s; } .hb__feats li:nth-child(3) { animation-delay: .16s; } .hb__feats li:nth-child(4) { animation-delay: .24s; } .hb__feats li:nth-child(5) { animation-delay: .32s; }
}
@media (max-width: 1100px) { .hb__feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .nav--v4 { display: flex; } .nav--v4 .nav__links { display: none; }
  .hero--a, .hero--b { padding-top: 96px; }
  .hx { grid-template-columns: minmax(0, 1fr); }
  .hx__h { font-size: clamp(3rem, 14vw, 5rem); }
  .hx__kick { font-size: 12px; letter-spacing: .18em; margin-bottom: 30px; }
  .hb__art { margin-top: 24px; }
  .hu { font-size: 7px; }
  .hb__dough { left: -2%; width: 50%; }
  .hb__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .hb__feats span { font-size: 14.5px; }
}

/* v5 · Heroes fit one screen (Roman, 2026-11-08): sizes follow the window height as well as its width, so the copy, the art
   and the five features stay above the fold from ~700px tall up. */
.hero--a, .hero--b { padding: 92px var(--gutter) clamp(20px, 3.5vh, 44px); }
.hx__kick { margin-bottom: clamp(14px, 2.8vh, 32px); }
.hero .hx__h { font-size: clamp(2.6rem, min(6vw, 10.4vh), 6.2rem); }
.ha__sub { margin-top: clamp(10px, 2vh, 24px); font-size: clamp(18px, min(1.7vw, 3vh), 28px); }
.ha__lede { margin: clamp(8px, 1.4vh, 18px) 0 clamp(16px, 3vh, 32px); }
.hx__btn { height: clamp(46px, 6vh, 56px); }
.ha__art { width: min(100%, 520px, 54vh); }
.hb__art { justify-self: end; width: min(100%, calc(58vh * 1.22)); }
.hb__feats { margin-top: clamp(18px, 3.6vh, 48px); gap: 24px; }
.hb__feats li { gap: 6px; }
.hb__fi { width: clamp(36px, 4.6vh, 44px); height: clamp(36px, 4.6vh, 44px); margin-bottom: 4px; }
.hb__fi .ico { width: 20px; height: 20px; }
.hb__feats b { font-size: 16px; }
.hb__feats span { font-size: 14px; line-height: 1.4; }
@media (max-width: 900px) { .hero--a, .hero--b { padding-top: 88px; } .ha__art, .hb__art { width: 100%; } }
/* v5 · Heroes: a soft warm gradient instead of the flat cream (Roman, 2026-11-08). Lighter top left, warmer bottom right,
   a pale glow behind the copy; the cream behind the art stays close to the character image's own (#F9F2E8). */
.hero--a, .hero--b { background:
  radial-gradient(48% 60% at 22% 28%, oklch(0.995 0.008 85 / .9), transparent 70%),
  radial-gradient(70% 32% at 78% 112%, oklch(0.9 0.05 62 / .6), transparent 75%),
  radial-gradient(45% 34% at 0% 108%, oklch(0.92 0.04 72 / .55), transparent 75%),
  linear-gradient(180deg, #FBF6EE 0%, #F9F2E8 28%, #F9F2E8 64%, #F4E8D6 100%); }
.ha__art { justify-self: center; } /* A: the character sits closer to the copy (Roman: the gap was too wide) */
/* v5 · Heroes: radial instead of the soft linear (Roman: "still flat"). The light core sits behind the art and stays exactly the
   character image's cream (#F9F2E8) for 320px, then warms out to the edges, so the page gets depth and A's image edges stay invisible. */
.hero--a, .hero--b { background: radial-gradient(circle at 66% 42%, #F9F2E8 0 320px, #F3E6D3 760px, #EDDDC5 1200px); }
.hx__copy p, .hb__feats span, .hb__feats b { text-wrap: pretty; } /* no lone last words in the hero copy and features */
.hb__ic { display: block; width: clamp(40px, 5.2vh, 48px); height: auto; margin: 0 0 6px -2px; filter: drop-shadow(0 6px 8px oklch(0.4 0.05 60 / .18)); } /* clay icons from Codex instead of line icons in circles */

/* v5 · Hero C (Roman, 2026-11-08): centred copy and two buttons; six Doughs from his pose sheet walk in from both edges, bobbing
   side-on, line up under the copy and turn to face the visitor. Rough on purpose for now. ?hero=c shows it. */
.hero--c { display: none; }
.hero-c .hero--c { display: block; }
.hero-c .hero--a, .hero-c .hero--b { display: none; }
.hero--c { min-height: 0; padding: 104px var(--gutter) 0; background: radial-gradient(ellipse 80% 70% at 50% 62%, #FBF6EE 0, #F6ECDD 55%, #EDDDC5 100%); text-align: center; }
.hero--c::before { content: none; }
.hc { max-width: 1000px; margin: 0 auto; }
.hc .hx__kick { margin-bottom: clamp(14px, 2.6vh, 28px); }
.hc .hx__h { white-space: normal; }
.hc .ha__lede { margin-left: auto; margin-right: auto; }
.hc__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hx__btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hx__btn--line:hover { background: oklch(0.2 0.02 70 / .05); }
.hc__crowd { display: flex; justify-content: center; align-items: flex-end; gap: clamp(4px, 1.4vw, 24px); margin-top: clamp(20px, 4vh, 44px); padding-bottom: clamp(18px, 3vh, 32px); }
.hc__d { position: relative; margin: 0; --d: calc(.5s + var(--i) * .22s); }
.hc__d::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 2px; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, oklch(0.35 0.04 60 / .28), transparent); z-index: -1; }
.hc__turn { display: block; }
.hc__d img { display: block; width: auto; height: clamp(110px, 19vh, 200px); }
@keyframes hcwalk { from { translate: calc(var(--from) * 75vw) 0; } }
@keyframes hcturn { from { transform: perspective(700px) rotateY(calc(var(--from) * -72deg)) scaleX(.86); } }
@keyframes hcbob { to { translate: 0 -10px; rotate: calc(var(--from) * -4deg); } }
@keyframes hchop { 40% { translate: 0 -14px; } }
@media (prefers-reduced-motion: no-preference) {
  .hc__d { animation: hcwalk 1.7s cubic-bezier(.25, .6, .35, 1) var(--d) both; }
  .hc__turn { animation: hcturn .42s cubic-bezier(.3, 1.4, .5, 1) calc(var(--d) + 1.55s) both, hchop .45s ease-out calc(var(--d) + 1.6s); }
  .hc__d img { animation: hcbob .21s ease-in-out var(--d) 8 alternate; }
}
@media (max-width: 900px) {
  .hero--c { padding-top: 92px; }
  .hc__crowd { gap: 0; margin-inline: calc(var(--gutter) * -1); }
  .hc__d { margin: 0 -3vw; } .hc__d img { height: 120px; }
  .hc__d:nth-child(n+5) { display: none; }
}

/* v5 · Hero C, take 2 (Roman): longer headline, more air, smaller Doughs */
.hero .hc__h { max-width: 15ch; margin: 0 auto; font-size: clamp(2.4rem, min(5vw, 8.6vh), 5.2rem); line-height: .98; text-wrap: balance; }
.hc__h span { display: block; margin-top: .12em; color: oklch(0.45 0.02 70); }
.hero--c { padding-top: clamp(112px, 15vh, 150px); }
.hc .hx__kick { margin-bottom: clamp(20px, 3.6vh, 40px); }
.hc .ha__sub { margin-top: clamp(18px, 3.4vh, 36px); }
.hc .ha__lede { margin-bottom: clamp(24px, 4.4vh, 48px); }
.hc__crowd { margin-top: clamp(40px, 7vh, 80px); padding-bottom: clamp(24px, 4vh, 44px); }
.hc__d img { height: clamp(84px, 14vh, 150px); }
@media (max-width: 900px) { .hc__d img { height: 96px; } }
.hero .hc__h { max-width: 17ch; font-size: clamp(2.4rem, min(4.8vw, 8.2vh), 5rem); }
.hc__h span { margin-top: .22em; font-size: .56em; letter-spacing: -0.04em; white-space: nowrap; }
.hero--c { padding-top: clamp(104px, 12.5vh, 130px); }
@media (max-width: 900px) { .hx__kick { line-height: 2.3; } .hx__u { bottom: -5px; height: 9px; } .hc__h span { white-space: normal; font-size: .62em; } }
.hc__cta { margin-top: clamp(28px, 5vh, 52px); } /* C: the captions under the headline are gone (the headline already says restaurant) */

/* v5 · Hero C, take 4 (Roman): air back, and doodles on the empty sides (his pick of the mock-ups): lime and violet sparkles,
   squiggle ribbons, dots and the three strokes. They pop in after the copy, then twinkle, float or flicker. */
.hero--c { position: relative; padding-top: clamp(120px, 16vh, 170px); }
.hc .hx__kick { margin-bottom: clamp(26px, 4.6vh, 50px); }
.hc__cta { margin-top: clamp(40px, 7vh, 72px); }
.hc__crowd { margin-top: clamp(48px, 8.5vh, 96px); padding-bottom: 0; }
.hero--c .hb__feats { text-align: left; margin-top: clamp(36px, 6vh, 64px); padding-bottom: clamp(28px, 5vh, 56px); }
.hc__doodles { position: absolute; inset: 0; pointer-events: none; }
.hc__dd { position: absolute; display: block; rotate: var(--r); }
.hc__dd svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes ddin { from { opacity: 0; scale: .3; } }
@keyframes ddtw { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .72; opacity: .55; } }
@keyframes ddfl { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes ddzap { 0%, 82%, 100% { opacity: 1; } 90% { opacity: .3; } }
@media (prefers-reduced-motion: no-preference) {
  .hc__dd { animation: ddin .6s cubic-bezier(.3, 1.5, .5, 1) calc(.8s + var(--k) * .09s) both; }
  .hc__dd--tw svg { animation: ddtw 2.8s ease-in-out calc(1.6s + var(--k) * .37s) infinite; }
  .hc__dd--fl svg { animation: ddfl 3.6s ease-in-out calc(1.4s + var(--k) * .3s) infinite; }
  .hc__dd--zap svg { animation: ddzap 3.4s ease-in-out 2s infinite; }
}
@media (max-width: 900px) {
  .hero--c { padding-top: 104px; }
  .hc__dd { scale: .6; }
  .hc__dd:not(.hc__dd--tw) { display: none; }
}
/* Hero C, take 4b: air and the five features both on one screen */
.hero--c { padding-top: clamp(104px, 13vh, 140px); }
.hc .hx__kick { margin-bottom: clamp(22px, 3.8vh, 44px); }
.hc__cta { margin-top: clamp(32px, 5.6vh, 60px); }
.hc__crowd { margin-top: clamp(36px, 6.4vh, 76px); }
.hc__d img { height: clamp(80px, 12.6vh, 140px); }
.hero--c .hb__feats { margin-top: clamp(26px, 4.4vh, 48px); padding-bottom: clamp(22px, 4vh, 44px); }
@media (max-height: 800px) { .hero--c .hb__feats { padding-bottom: 12px; } }
@media (max-width: 900px) { .hc__doodles { display: none; } } /* phones: no free sides, the doodles would sit on the copy */

/* the kitchen sketches on the sides: each draws itself, holds, fades, and the next one draws */
.hc__dg { position: absolute; top: 28%; width: clamp(96px, 9vw, 150px); overflow: visible; fill: none; stroke: var(--c); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.hc__dg--l { left: 8%; rotate: -6deg; } .hc__dg--r { right: 8%; top: 24%; rotate: 5deg; }
.hc__dg g { opacity: 0; transition: opacity .45s; }
.hc__dg g.is-on { opacity: 1; }
.hc__dg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hc__dg g.is-on path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.5, 0, .3, 1); }
.hc__dg g.is-on path:nth-child(2) { transition-delay: .5s; } .hc__dg g.is-on path:nth-child(3) { transition-delay: .9s; } .hc__dg g.is-on path:nth-child(4) { transition-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { .hc__dg g:first-child { opacity: 1; } .hc__dg path { stroke-dashoffset: 0; } }
/* v5 · Hero C, take 5 (Roman: "too much at the bottom"): the Doughs are the features. Each wears a name tag; what it does pops up
   above it on hover or focus, and once on its own after the line-up (site.js .is-tip). The separate strip of five is gone. */
.hc__crowd { margin-top: clamp(44px, 8vh, 92px); padding-bottom: clamp(40px, 7vh, 80px); gap: clamp(10px, 2.2vw, 36px); }
.hc__d { outline: none; cursor: default; }
.hc__d figcaption { position: relative; }
.hc__tag { display: inline-block; margin-top: 10px; padding: 5px 11px; border-radius: 99px; background: oklch(1 0 0 / .7); box-shadow: 0 0 0 1px oklch(0.3 0.03 70 / .1); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.hc__tip { position: absolute; left: 50%; bottom: calc(100% + clamp(84px, 13vh, 150px)); width: 220px; translate: -50% 8px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 18px 36px -18px oklch(0.3 0.04 70 / .45), 0 0 0 1px oklch(0.3 0.03 70 / .06); font-size: 13.5px; line-height: 1.4; color: oklch(0.38 0.01 70); text-align: left; opacity: 0; pointer-events: none; transition: opacity .25s, translate .3s var(--ease-out); z-index: 4; }
.hc__tip b { display: block; margin-bottom: 3px; color: var(--ink); font-weight: 600; }
.hc__tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; translate: -50% 0; rotate: 45deg; background: #fff; }
.hc__d:is(:hover, :focus-visible, .is-tip) .hc__tip { opacity: 1; translate: -50% 0; }
.hc__d:is(:hover, :focus-visible, .is-tip) .hc__tag { background: var(--ink); color: #fff; }
.hc__d:is(:hover, :focus-visible) .hc__turn { translate: 0 -6px; transition: translate .25s var(--ease-out); }
.hc__d:focus-visible .hc__tag { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 900px) {
  .hc__d { margin: 0 -1vw; }
  .hc__d img { height: 84px; }
  .hc__d:nth-child(n+4) { display: none; }
  .hc__tag { font-size: 11.5px; padding: 4px 8px; }
  .hc__tip { display: none; }
}
/* the card opens under the name tag, in room the crowd reserves for it, instead of over the buttons */
.hc__tip { top: calc(100% + 10px); bottom: auto; translate: -50% -6px; }
.hc__tip::after { top: -6px; bottom: auto; }
.hc__crowd { padding-bottom: clamp(104px, 13vh, 128px); }
@media (max-width: 900px) { .hc__crowd { padding-bottom: 36px; } } /* phones show no cards, so no room is reserved for them */

/* Hero C is the hero now (Roman, 2026-11-08); A and B are archived in docs/hero-variants-ab.html */
.hero--c { display: block; }
.hc__dg { transition: opacity .4s; }

/* v6 · Hero D (Roman, 2026-11-08): his café reference. ?hero=d shows it (C stays the default for now). The café scene and the five
   agents are Codex images; the sticky note writes itself (box, tick, words, one line after another, again every 14 s or on hover);
   the agents pop up from behind the counter one by one, bob a little, hop on hover; their labels sit on the counter. */
.hero--d { display: none; }
.hero-d .hero--d { display: block; }
.hero-d .hero--c { display: none; }
.hero--d { position: relative; min-height: min(100svh, 940px); padding: clamp(96px, 12vh, 120px) var(--gutter) 0; text-align: center; overflow: hidden; background: #F6E8D8; }
.hero--d::before { content: none; }
.hd__bg { position: absolute; inset: 0; background: url(img/hero-d/bg.webp?v=2) center bottom / cover no-repeat; }
.hd { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; }
.hd .hx__kick { margin-bottom: clamp(16px, 2.8vh, 28px); }
.hero .hd__h { margin: 0 auto; max-width: 14ch; font-size: clamp(2.8rem, min(5.6vw, 9.4vh), 6rem); line-height: .95; white-space: normal; text-wrap: balance; }
.hd__lede { margin: clamp(14px, 2.4vh, 24px) auto clamp(20px, 3.4vh, 34px); max-width: 44ch; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.4; color: oklch(0.35 0.01 70); text-wrap: balance; }
.hd__how svg circle { fill: none; } .hd__how svg path { fill: currentColor; stroke: none; }
.hd .hx__btn { background-color: var(--btn-bg, transparent); }
.hd .hx__btn--ink { --btn-bg: var(--ink); }
.hd .hx__btn--line { --btn-bg: oklch(1 0 0 / .55); }

/* the sticky note */
.hd__note { position: absolute; z-index: 2; right: 8%; top: 21%; width: clamp(170px, 14vw, 240px); padding: 26px 22px 20px; background: linear-gradient(180deg, #F1F59A, #E7EE7C); box-shadow: 0 2px 2px oklch(0.4 0.06 110 / .12), 0 26px 34px -18px oklch(0.35 0.06 90 / .45); rotate: -4deg; font-family: Caveat, "Bradley Hand", cursive; text-align: left; cursor: pointer; }
.hd__note::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; background: linear-gradient(225deg, transparent 50%, oklch(0.86 0.09 110) 50%); }
.hd__note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hd__note li { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; color: #2D3326; line-height: 1; }
.hd__note li svg { width: 1.05em; height: 1.05em; flex: none; overflow: visible; fill: none; stroke: #2D3326; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hd__line { display: block; width: 72%; margin: 12px 0 0 18%; overflow: visible; fill: none; stroke: #2D3326; stroke-width: 2.2; stroke-linecap: round; }
.hd__note :is(.hd__box, .hd__tick), .hd__line path { stroke-dasharray: 1; }
@keyframes hdpen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hdwrite { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hd__note.is-go .hd__box { animation: hdpen .45s ease-out calc(var(--k) * 1.5s) both; }
.hd__note.is-go .hd__tick { animation: hdpen .35s ease-out calc(var(--k) * 1.5s + .45s) both; }
.hd__note.is-go li span { animation: hdwrite .7s steps(14, end) calc(var(--k) * 1.5s + .75s) both; }
.hd__note.is-go .hd__line path { animation: hdpen .6s ease-out 4.6s both; }
.hd__note:not(.is-go) :is(.hd__box, .hd__tick), .hd__note:not(.is-go) .hd__line path { stroke-dashoffset: 1; }
.hd__note:not(.is-go) li span { clip-path: inset(0 100% 0 0); }

/* the agents on the counter */
.hd__crew { position: absolute; z-index: 1; left: 50%; bottom: clamp(18px, 3.4vh, 40px); translate: -50% 0; display: flex; align-items: flex-end; gap: clamp(8px, 2vw, 40px); width: min(1300px, 92vw); justify-content: center; }
.hd__m { position: relative; margin: 0; display: grid; justify-items: center; }
.hd__m img { display: block; height: clamp(150px, 27vh, 280px); width: auto; filter: drop-shadow(0 14px 12px oklch(0.4 0.05 60 / .18)); transition: translate .3s var(--ease-out); }
.hd__m figcaption { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; padding: 9px 16px; border-radius: 99px; background: oklch(1 0 0 / .82); box-shadow: 0 10px 24px -14px oklch(0.3 0.04 70 / .45), 0 0 0 1px oklch(0.3 0.03 70 / .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: clamp(13px, 1.05vw, 16px); font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.hd__m figcaption .ico { width: 22px; height: 22px; }
.hd__m:hover img { translate: 0 -10px; }
.hd__m:hover figcaption { background: var(--ink); color: #fff; }
.hd__zap { position: absolute; top: -4%; right: -6%; width: 22%; overflow: visible; fill: none; stroke: #B9E21C; stroke-width: 10; stroke-linecap: round; z-index: 1; }
.hd__m--mega .hd__zap { right: -14%; top: 4%; }
@keyframes hdup { from { opacity: 0; translate: 0 60px; } 70% { translate: 0 -8px; } }
@keyframes hdbob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes hdzap { 0%, 80%, 100% { opacity: 1; scale: 1; } 88% { opacity: .3; scale: .85; } }
@media (prefers-reduced-motion: no-preference) {
  .hd > * { animation: hxin .8s var(--ease-out) both; }
  .hd > :nth-child(2) { animation-delay: .08s; } .hd > :nth-child(3) { animation-delay: .16s; } .hd > :nth-child(4) { animation-delay: .24s; }
  .hd__m { animation: hdup .8s cubic-bezier(.3, 1.3, .5, 1) calc(.7s + var(--i) * .35s) both; }
  .hd__m img { animation: hdbob 3.4s ease-in-out calc(2.6s + var(--i) * .5s) infinite; }
  .hd__m:hover img { animation-play-state: paused; }
  .hd__zap { animation: hdzap 3.2s ease-in-out calc(2.4s + var(--i) * .7s) infinite; transform-origin: 0 100%; }
  .hd__note { animation: hxin .8s var(--ease-out) .5s both; }
}
@media (prefers-reduced-motion: reduce) { .hd__note :is(.hd__box, .hd__tick), .hd__note .hd__line path { stroke-dashoffset: 0 !important; } .hd__note li span { clip-path: none !important; } }
@media (max-width: 1100px) { .hd__note { display: none; } }
@media (max-width: 900px) {
  .hero--d { min-height: 760px; padding-top: 96px; }
  .hd__crew { gap: 0; width: 100%; }
  .hd__m:nth-child(n+4) { display: none; }
  .hd__m img { height: 150px; }
  .hd__m figcaption { font-size: 12px; padding: 6px 10px; gap: 6px; } .hd__m figcaption .ico { width: 16px; height: 16px; }
}
.hd__m--chef img { height: clamp(170px, 31vh, 320px); } /* the hat makes him taller; the body stays the size of the others */
.hd__crew { width: min(1080px, 74vw); gap: clamp(4px, 1.4vw, 28px); bottom: clamp(14px, 2.6vh, 32px); }
.hd__m img { height: clamp(130px, 22vh, 230px); }
.hd__m--chef img { height: clamp(150px, 25.5vh, 266px); }
.hd__bg { background-size: max(112%, 100vh * 1.5 * 1.04) auto; background-position: 72% 100%; } /* a touch larger and shifted left, so the plant clears the SIZL logo */
/* Hero D on phones: the agents stand under the buttons instead of over them, three of them, on the counter */
@media (max-width: 900px) {
  .hero--d { min-height: 0; padding-bottom: 18px; }
  .hd .hx__kick { font-size: 11px; letter-spacing: .14em; }
  .hd__crew { position: relative; left: auto; bottom: auto; translate: none; margin: 34px auto 0; width: 100%; justify-content: center; }
  .hd__m img, .hd__m--chef img { height: 128px; }
  .hd__m--chef img { height: 146px; }
  .hd__bg { background-size: auto 100%; background-position: 60% 100%; }
}

/* Hero D letter board (Roman: the chalkboard looked AI-made): black felt with grooves in an oak frame; white plastic letters
   are pushed in one by one, each a touch crooked. Then the croissant price is swapped, digit by digit, the way the Food cost
   agent would after a new invoice. Again every 16 s or on hover. Hidden where the note is hidden. */
.hd__board { position: absolute; z-index: 2; left: 4%; top: 31%; width: clamp(190px, 15vw, 250px); padding: 16px 16px 14px; border-radius: 4px;
  background: repeating-linear-gradient(180deg, #1f1d1b 0 7px, #161413 7px 8px);
  box-shadow: 0 0 0 9px #C9A47A, 0 0 0 10px #B08A60, 0 30px 40px -22px oklch(0.3 0.04 60 / .55); rotate: -1deg; cursor: pointer; }
.hd__board ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.hd__board li { display: flex; justify-content: space-between; gap: 10px; min-height: 1.2em; font: 700 clamp(12px, .95vw, 15px)/1.2 "Suisse Intl", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #F2EEE6; }
.hd__board li:first-child { justify-content: center; margin-bottom: 4px; letter-spacing: .22em; }
.hd__l { display: inline-block; rotate: var(--r, 0deg); translate: 0 var(--y, 0); white-space: pre; }
@keyframes hdpush { from { opacity: 0; translate: 0 -7px; scale: 1.25; } }
@keyframes hdpull { to { opacity: 0; translate: 0 -7px; scale: 1.25; } }
@media (prefers-reduced-motion: no-preference) {
  .hd__board { animation: hxin .8s var(--ease-out) .4s both; }
  .hd__board .hd__l { opacity: 0; }
  .hd__board.is-go .hd__l { opacity: 1; animation: hdpush .18s cubic-bezier(.3, 1.4, .5, 1) calc(var(--i) * 55ms) both; }
  .hd__board .hd__l.is-out { animation: hdpull .16s ease-in calc(var(--j) * 120ms) both !important; }
}
@media (max-width: 1100px) { .hd__board { display: none; } }
.hero--d { padding-top: clamp(124px, 17vh, 168px); } /* the kicker is gone (Roman), so the headline gets the air above it */
@media (max-width: 900px) { .hero--d { padding-top: 112px; } }
/* new plain background (no chalkboard, lamp or plant), so no shift is needed any more */
.hd__bg { background-size: cover; background-position: 50% 100%; }
@media (max-width: 900px) { .hd__bg { background-size: auto 100%; background-position: 60% 100%; } }
.hd__board { width: clamp(210px, 16.5vw, 280px); top: 30%; padding: 18px 18px 16px; }
.hd__board li { font-size: clamp(13px, 1.05vw, 16px); }
/* Hero D marker (Roman): "control panel" and "AI agents" are swiped with a lime highlighter, a little uneven, after the copy lands */
.hd__mk { color: inherit; background: linear-gradient(100deg, oklch(0.9 0.19 122 / 0) 0, oklch(0.9 0.19 122 / .85) .25em, oklch(0.91 0.18 120 / .7) calc(100% - .3em), oklch(0.9 0.19 122 / 0) 100%) 0 88% / 100% 46% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; margin: 0 -.06em; border-radius: .2em .5em .3em .4em; }
.hd__mk--2 { background-size: 100% 58%; background-position: 0 80%; }
@keyframes hdmk { from { background-size: 0% 46%; } }
@keyframes hdmk2 { from { background-size: 0% 58%; } }
@media (prefers-reduced-motion: no-preference) {
  .hd__mk { animation: hdmk .7s cubic-bezier(.6, 0, .3, 1) .9s both; }
  .hd__mk--2 { animation: hdmk2 .55s cubic-bezier(.6, 0, .3, 1) 1.5s both; }
}
/* new bread agents (Roman: "make them a bit different, less slop"): each is a different bread, so each gets its own height */
.hd__m img { height: clamp(120px, 20vh, 205px); }
.hd__m--chef img { height: clamp(140px, 24vh, 245px); }
.hd__m--calc img { height: clamp(150px, 25.5vh, 260px); }
.hd__m--clip img { height: clamp(122px, 20.5vh, 210px); }
.hd__m--mega img { height: clamp(160px, 27vh, 280px); }
.hd__m--box img { height: clamp(112px, 19vh, 195px); }
@media (max-width: 900px) {
  .hd__m img { height: 116px; } .hd__m--chef img { height: 138px; } .hd__m--calc img { height: 146px; } .hd__m--clip img { height: 118px; }
}
.hd__m img { height: clamp(134px, 23vh, 235px); }
.hd__m--chef img { height: clamp(158px, 27vh, 280px); }
.hd__m--calc img { height: clamp(168px, 29vh, 298px); }
.hd__m--clip img { height: clamp(138px, 23.5vh, 240px); }
.hd__m--mega img { height: clamp(180px, 31vh, 320px); }
.hd__m--box img { height: clamp(126px, 21.5vh, 222px); }
/* back to the dough agents (Roman: no bread): the sizes from before */
.hd__m img { height: clamp(130px, 22vh, 230px); }
.hd__m--calc img, .hd__m--clip img, .hd__m--mega img, .hd__m--box img { height: clamp(130px, 22vh, 230px); }
.hd__m--chef img { height: clamp(150px, 25.5vh, 266px); }
@media (max-width: 900px) { .hd__m img, .hd__m--calc img, .hd__m--clip img { height: 128px; } .hd__m--chef img { height: 146px; } }
/* dough agents, take 3 (Roman: different, less slop, still dough): each its own build, so each its own height */
.hd__m--chef img { height: clamp(146px, 25vh, 255px); }
.hd__m--calc img { height: clamp(150px, 26vh, 262px); }
.hd__m--clip img { height: clamp(140px, 24vh, 244px); }
.hd__m--mega img { height: clamp(112px, 19vh, 190px); }
.hd__m--box img { height: clamp(136px, 23vh, 236px); }
@media (max-width: 900px) { .hd__m--chef img { height: 132px; } .hd__m--calc img { height: 138px; } .hd__m--clip img { height: 126px; } }

/* Hero D: the agents stand on the counter (Roman: "не нравится, что они парят"); a tight contact shadow under the feet
   replaces the soft drop shadow that read as height. 2026-11-08 Roman: no squash and stretch at all ("убери растягивания"):
   on hover the agent wiggles from its feet and lime motion marks burst out on both sides. */
.hd__m img { transform-origin: 50% 100%; filter: none; background: radial-gradient(closest-side, oklch(0.35 0.05 60 / .32), oklch(0.35 0.05 60 / 0)) var(--sx, 50%) 100% / 64% 14px no-repeat; box-sizing: content-box; padding-bottom: 6px; margin-bottom: -6px; }
.hd__m:hover img { translate: none; scale: none; animation: none; }
.hd__zap--l { right: auto; left: -6%; scale: -1 1; }
.hd__m--mega .hd__zap--l { left: -2%; }
.hd__m:not(.hd__m--chef, .hd__m--mega) .hd__zap, .hd__zap--l { opacity: 0; animation: none; }
@keyframes hdwiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -3.5deg; } 55% { rotate: 2.5deg; } 80% { rotate: -1deg; } }
@keyframes hdburst { 0% { opacity: 0; translate: var(--bx, -8px) 8px; } 45% { opacity: 1; translate: 0 0; } 100% { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hd__m:is(:hover, :focus-visible) img { animation: hdwiggle .6s ease-in-out; }
  .hd__m:is(:hover, :focus-visible) .hd__zap { opacity: 1; animation: hdburst .35s var(--ease-out) both; }
  .hd__m:is(:hover, :focus-visible) .hd__zap--l { --bx: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hd__m:is(:hover, :focus-visible) .hd__zap { opacity: 1; } }

/* Hero D lamp (Roman: "почему нет лампы?"): a cut-out matte terracotta pendant hanging over the letter board, so it lights
   the menu; a separate layer, so it follows the board at every width. Hidden with the board below 1100px. */
.hd__lamp { position: absolute; z-index: 1; top: 0; left: calc(4% + clamp(210px, 16.5vw, 280px) * .68); translate: -50% 0; height: 25%; width: auto; pointer-events: none; filter: drop-shadow(0 22px 26px oklch(0.4 0.05 60 / .16)); }
@media (max-width: 1100px) { .hd__lamp { display: none; } }
/* the new megaphone agent is a squat cushion with the megaphone up: the size of the others, shadow under the body, not the megaphone */
.hd__m--mega img { height: clamp(136px, 23vh, 236px); --sx: 25%; background-size: 46% 14px; }

/* 2026-11-08 Roman: prices on the hero D board change like an old airport split-flap board. Each digit is a dark cell with a
   seam across the middle; a flip folds it down from the top. */
.hd__p { display: inline-flex; gap: 2px; perspective: 160px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.hd__f { display: inline-block; min-width: .78em; padding: .06em .04em 0; border-radius: 2px; text-align: center; white-space: pre;
  background: linear-gradient(180deg, #34302d 0 49%, #0b0a09 49% 53%, #2a2724 53% 100%); box-shadow: inset 0 1px 0 oklch(1 0 0 / .07), 0 1px 1px oklch(0 0 0 / .5); transform-origin: 50% 52%; }
.hd__f--dot { min-width: 0; padding: 0; background: none; box-shadow: none; }
@keyframes hdflap { from { transform: rotateX(-85deg); filter: brightness(.5); } }
.hd__f.is-flip { animation: hdflap 70ms linear; }

/* 2026-11-08 Roman: the sticky note showed stray dots (a zero-length stroke with round caps still paints a dot) and he wants
   real tasks that just get ticked. Tasks and boxes are written from the start; only the ticks go in, one by one. */
.hd__note .hd__box { stroke-dashoffset: 0 !important; animation: none !important; }
.hd__note li span { clip-path: none !important; animation: none !important; }
@keyframes hdtick { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
.hd__note:not(.is-go) :is(.hd__tick, .hd__line path) { opacity: 0; }
.hd__note.is-go .hd__tick { animation: hdtick .35s ease-out calc(.4s + var(--k) * .9s) both; }
.hd__note.is-go .hd__line path { animation: hdtick .5s ease-out 3.2s both; }
.hd__note li { white-space: nowrap; }
.hd__note { width: clamp(200px, 16.5vw, 280px); } /* room for "Order produce" */

/* 2026-11-08 Roman: the sticky note's pasted-on corner triangle looked wrong. A real note is glued along the top and its
   bottom edge lifts off the wall: the paper darkens toward the bottom, the bottom-right corner curls a little, and the
   shadow grows toward the free corner while the glued top barely casts one. */
.hd__note::after { display: none; }
.hd__note { border-radius: 1px 1px 30px 2px / 1px 1px 6px 2px;
  background:
    linear-gradient(180deg, oklch(0.5 0.1 110 / .06) 0 17%, transparent 17.5%),
    radial-gradient(70% 40% at 100% 100%, oklch(0.55 0.1 105 / .16), transparent 70%),
    linear-gradient(180deg, #F4F6A2 0%, #EEF191 62%, #E3E77C 100%);
  box-shadow: 0 1px 1px oklch(0.4 0.06 110 / .14), 0 2px 4px -2px oklch(0.4 0.06 110 / .18),
    6px 16px 16px -12px oklch(0.3 0.05 90 / .42), 14px 30px 32px -24px oklch(0.3 0.05 90 / .38); }

/* 2026-11-08 Roman: the agents looked like they hovered, because their feet sat on the counter's front face (the brown band,
   the bottom 44 of the photo's 1024 px), not on its top. The crew now stands just above that edge. The bg is "cover", so
   the band is 44/1536 of the width or 44/1024 of the hero height, whichever scale wins. ponytail: assumes the hero is about
   its min-height; a much taller hero would push the band up a few px. */
@media (min-width: 901px) { .hd__crew { bottom: calc(max(100vw * 44 / 1536, min(100svh, 940px) * 44 / 1024) + 4px); } }
.hd__m img { animation: none; } /* no idle bob either: the old hdbob came back once the breathing was gone */
/* the motion marks sit beside the head, below the hover bubble (which covers the top of the head) */
.hd__m:not(.hd__m--mega) .hd__zap { top: 16%; right: -14%; }
.hd__m:not(.hd__m--mega) .hd__zap--l { right: auto; left: -14%; }
.hd__m--mega .hd__zap--l { top: 14%; left: -10%; }
/* while one agent is hovered, the neighbours' idle marks step aside so the two sets never overlap (Roman: the box agent's marks
   ran into the megaphone's) */
.hd__crew:has(.hd__m:is(:hover, :focus-visible)) .hd__m:not(:hover, :focus-visible) .hd__zap { opacity: 0; animation: none; transition: opacity .15s; }
.hd__m--box .hd__zap--l { display: none; } /* its left side is the megaphone horn */
.mui__skip { display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; } /* Safari dropped the label below the pill with the unset button box (Roman, 2026-11-08) */

/* Pricing: what "free" means, under the lede (cafe.html) */
.price__stack { grid-column: 2; margin: -12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.price__stack b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .price__stack { grid-column: auto; margin-top: -8px; } }
