/* Generated by build_v5.py. Edit v5.section.css, not this file. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: var(--v4-0); }
:where([id]) { scroll-margin-top: var(--v4-6); }
.sr-only { position: absolute; inline-size: var(--v4-px); block-size: var(--v4-px); margin: calc(var(--v4-px) * -1); padding: var(--v4-0); overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: var(--v4-0); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--v4-font); font-size: var(--v4-fs-16); line-height: var(--v4-lh-body); color: var(--v4-ink); background: var(--v4-paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: anywhere; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: var(--v4-0); padding: var(--v4-0); }
ul, ol { list-style: none; }
fieldset { border: var(--v4-0); min-inline-size: var(--v4-0); }
img, svg { display: block; max-inline-size: 100%; }
a { color: inherit; }
.svg-defs { position: absolute; inline-size: var(--v4-0); block-size: var(--v4-0); overflow: hidden; }
.icon { inline-size: var(--v4-icon); block-size: var(--v4-icon); flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { inline-size: var(--v4-icon-sm); block-size: var(--v4-icon-sm); }
.skip { position: absolute; inset-block-start: var(--v4-2); inset-inline-start: var(--v4-2); z-index: 20; padding: var(--v4-3) var(--v4-4); border-radius: var(--v4-r-sm); background: var(--v4-ink); color: var(--v4-paper); font-size: var(--v4-fs-14); text-decoration: none; transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline: none; box-shadow: var(--v4-ring); }
:where(a, button, label, summary):focus-visible { outline: none; box-shadow: var(--v4-ring); border-radius: var(--v4-r-xs); }
main:focus { outline: none; }
.orb-live { display: inline-grid; place-items: center; flex-shrink: 0; border-radius: var(--v4-r-pill); }
.orb-live > img, .orb-live > canvas { inline-size: 100%; block-size: 100%; border-radius: var(--v4-r-pill); }

/* ---------- buttons and links ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--v4-2); block-size: var(--v4-btn-h); padding-inline: var(--v4-5); border: var(--v4-px) solid var(--v4-ink); border-radius: var(--v4-r-pill); background: var(--v4-ink); color: var(--v4-paper); font-size: var(--v4-fs-15); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-snug); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--v4-t-fast) var(--v4-ease), border-color var(--v4-t-fast) var(--v4-ease), transform var(--v4-t-fast) var(--v4-ease); }
.button:hover { background: var(--v4-ink-2); border-color: var(--v4-ink-2); }
.button:active { transform: scale(.98); }
.button:focus-visible { border-radius: var(--v4-r-pill); }
.button .icon { transition: transform var(--v4-t-fast) var(--v4-ease); }
.button:hover .icon { transform: translateX(var(--v4-0h)); }
.button.ghost { background: var(--v4-paper); border-color: var(--v4-line-strong); color: var(--v4-ink); }
.button.ghost:hover { background: var(--v4-panel); border-color: var(--v4-line-strong); }
.button.invert { background: var(--v4-paper); border-color: var(--v4-paper); color: var(--v4-night); }
.button.invert:hover { background: var(--v4-teal-wash); border-color: var(--v4-teal-wash); }
.link { display: inline-flex; align-items: center; gap: var(--v4-1h); min-block-size: var(--v4-btn-h-sm); color: var(--v4-ink); font-size: var(--v4-fs-15); font-weight: var(--v4-w-550); text-decoration: underline; text-decoration-color: var(--v4-line-strong); text-underline-offset: var(--v4-1h); transition: text-decoration-color var(--v4-t-fast) var(--v4-ease), color var(--v4-t-fast) var(--v4-ease); }
.link:hover { text-decoration-color: var(--v4-ink); }
.link:active { color: var(--v4-teal-ink); }
.link .icon { transition: transform var(--v4-t-fast) var(--v4-ease); }
.link:hover .icon { transform: translateX(var(--v4-0h)); }

/* Home v5, final design, section by section. Section 1: the opening and "one day".
   Drawn from the v4 token layer plus the v5 tokens below. Mobile is the base.

   One phone carries the story. It has two fronts, back to back: the owner's phone and, turned around,
   the customer's. The pinned scene is on only while the page carries html.film (script running, motion
   allowed, and a window tall enough to hold it). Without it the base layout shows the same story as
   stills, each beside its caption. The phone is drawn in its own unit (em = phone width / 25), so it
   scales as one piece. */

:root {
  /* Mobile label: double the glyph raster while retaining the original line box and visual size. */
  --v5-material-label-size: calc(var(--v4-fs-13) * 2);
  --v5-material-label-line: calc(var(--v4-fs-13) * 1.3);
  --v5-material-label-scale: .5;
  /* finish quality: one graphite edge profile, projected across each plane's depth axis. */
  --v5-quality-edge-profile: #132326 0%, #93B0AC 12%, #E0EFEB 17%, #4B6667 22%, #152628 46%, #080F10 78%, #708F8C 100%;
  --v5-quality-edge-block: linear-gradient(0deg, var(--v5-quality-edge-profile));
  --v5-lede-lines: 3;
  --v5-lede-lines-wide: 0;
  /* finish 2: narrower, higher-contrast metal and glass; em follows the doubled handset faces. */
  --v5-f2-device: linear-gradient(132deg, #D0E1DF 0%, #657F80 5%, #233638 13%, #111B1D 48%, #080C0C 78%, #537070 96%, #9CB7B3 100%);
  --v5-f2-device-edge: linear-gradient(90deg, var(--v5-quality-edge-profile));
  --v5-f2-device-rim: inset .055em .075em .025em rgb(242 255 252 / .95), inset -.07em -.09em .035em rgb(0 5 7 / .94), inset 0 0 0 .19em rgb(0 7 9 / .52);
  /* each streak runs across a corner of the glass, from one edge of the screen to the other, and stays on the corner's side of its box (below 50% for the top-left one, above 50% for the bottom-right one), so it never ends inside the glass with a hard cut */
  --v5-f2-lock-reflection: linear-gradient(to bottom right, transparent 30%, rgb(235 255 251 / .24) 40%, rgb(255 255 255 / .07) 45%, transparent 49.5%), linear-gradient(to bottom right, transparent 50.5%, rgb(223 251 247 / .03) 55%, rgb(223 251 247 / .15) 62%, transparent 72%), linear-gradient(180deg, transparent, rgb(227 255 249 / .34) 14%, rgb(227 255 249 / .08) 60%, transparent);
  --v5-f2-lock-reflection-size: 8.4em 4.5em, 11em 9em, .36em 78%;
  --v5-f2-lock-reflection-position: left top, right bottom, left .3em top 10%;
  --v5-f2-push-seat: inset .04em .07em .025em rgb(255 255 255 / 1), inset -.035em -.09em .045em rgb(17 36 38 / .14), 0 .06em .06em rgb(0 8 10 / .3), .18em .45em .64em -.28em rgb(0 8 10 / .48);
  --v5-f2-push-lip: inset 0 0 0 .035em rgb(255 255 255 / .85), inset 0 -.16em .08em -.11em rgb(17 36 38 / .2);
  --v5-f2-shell-edge: inset 0 0 0 1px rgb(38 63 64 / .18), inset 1px 2px 0 rgb(255 255 255 / 1), inset -1px -3px 1px rgb(38 63 64 / .09);
  --v5-f2-shell-cast: 0 2px 1px rgb(17 36 38 / .12), 2px 5px 6px -3px rgb(17 36 38 / .17), 10px 22px 32px -23px rgb(17 36 38 / .28);
  /* finish: shared light vocabulary; a broad cool-white source above the left shoulder. */
  --v5-finish-clear: rgb(255 255 255 / 0);
  --v5-finish-line: #DCE3E3;
  --v5-finish-device: linear-gradient(132deg, #566768 0%, #253234 16%, #111B1D 48%, #080C0C 78%, #253234 100%);
  --v5-finish-device-edge: linear-gradient(90deg, #121D1F 0%, #5A6C6E 18%, #253436 31%, #0B1113 72%, #344548 100%);
  --v5-finish-device-rim: inset .035em .045em .025em rgb(237 255 253 / .78), inset -.055em -.08em .04em rgb(0 5 7 / .9), inset 0 0 0 .17em rgb(0 7 9 / .55);
  --v5-finish-glass-edge: inset .035em .05em .04em rgb(218 255 250 / .24), inset -.035em -.04em .06em rgb(0 8 10 / .22);
  --v5-finish-glass: linear-gradient(128deg, rgb(255 255 255 / .045), rgb(255 255 255 / 0) 26%);
  --v5-finish-night-rim: inset .055em .1em .16em rgb(114 237 221 / .4), inset -.025em -.04em .05em rgb(121 225 215 / .12);
  --v5-finish-phone-cast: radial-gradient(ellipse at 54% 53%, rgb(13 30 30 / .24) 18%, rgb(13 30 30 / .15) 43%, rgb(13 30 30 / .055) 61%, rgb(13 30 30 / 0) 74%);
  --v5-finish-phone-bounce: radial-gradient(ellipse at 38% 40%, rgb(95 214 202 / .14), rgb(95 214 202 / .04) 40%, rgb(95 214 202 / 0) 68%);
  --v5-finish-push: inset .025em .04em .025em rgb(255 255 255 / .9), 0 .04em .08em rgb(0 8 10 / .2), .16em .42em .8em -.32em rgb(0 8 10 / .42);
  --v5-finish-keycap: inset .02em .04em .02em rgb(225 255 251 / .22), inset -.02em -.04em .04em rgb(0 8 10 / .18);
  --v5-finish-panel-edge: inset 0 0 0 1px rgb(17 36 38 / .12), inset 1px 2px 1px rgb(255 255 255 / .8);
  --v5-finish-panel-cast: 1px 2px 3px rgb(17 36 38 / .055), 8px 24px 42px -24px rgb(17 36 38 / .23);
  --v5-finish-recess: inset 0 1px 3px rgb(17 36 38 / .09), inset 0 -1px 0 rgb(255 255 255 / .8);
  --v5-finish-seam: inset 0 1px 0 rgb(17 36 38 / .06), inset 0 2px 0 rgb(255 255 255 / .85);
  /* v5: one colour per sector (the colour of that business), each 4.5:1 or better on white and on its wash */
  --v5-beauty: #A8452E; --v5-beauty-wash: #F8F0EE; --v5-beauty-line: #E8CFC9;
  --v5-promo: #2B5BD7; --v5-promo-wash: #EEF2FC; --v5-promo-line: #C8D4F5;
  --v5-routes: #176447; --v5-routes-wash: #ECF3F0; --v5-routes-line: #C3D7CF;
  --v5-studio: #4B45C6; --v5-studio-wash: #F1F0FA; --v5-studio-line: #D0CFF0;
  --v5-tech: #1F3A5F; --v5-tech-wash: #EDF0F4; --v5-tech-line: #C5CCD6;
  /* headings and text in Inter (owner's choice, 15/11/2026). «Ο Έ…» needs its word space pulled in: the tonos opens it */
  --v5-font-display: var(--v4-font);
  --v5-flair: normal;
  --v5-tonos: -0.09em;
  --v5-track-display: -0.032em;
  --v5-w-light: 300;
  /* type of the scene */
  --v5-display: clamp(2.25rem, 1.52rem + 2.86vw, 3.75rem);
  --v5-h2: clamp(1.875rem, 1.25rem + 2.6vw, 3.25rem);
  --v5-clock: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --v5-lh-display: 1.03;
  --v5-measure-display: 17ch;
  --v5-measure-h2: 17ch;
  /* the scene. On a phone the device runs wide and off the bottom of the screen, so its text can be read;
     the height that is left under the caption holds its width, so what matters stays above the fold */
  --v5-len: 3.6;
  --v5-device-exit-span: .28; /* viewport travel after sticky release, shared by both outgoing phones */
  --v5-phone-perspective: 110rem;
  --v5-pw: max(12rem, min(76vw, 24rem, calc((100svh - 17rem) / 1.5)));
  --v5-orb: 4.5rem;
  --v5-cap-w: min(35rem, 44%);
  --v5-cap-w-hero: min(40rem, 50%);
  --v5-pick-w: 27rem;
  --v5-device: #1C2626;
  --v5-device-2: #080C0C;
  --v5-white-a24: rgb(255 255 255 / .24);
  --v5-white-a12: rgb(255 255 255 / .12);
  --v5-ink-a45: rgb(6 12 12 / .45);
  --v5-rim: rgb(196 240 235 / .5);
  --v5-shadow-phone: rgb(13 30 30 / .34);
  --v5-shadow-push: 0 1px 2px rgb(6 12 12 / .2), 0 12px 26px -12px rgb(6 12 12 / .5);
  --v5-lock-top: #0C2A2B;
  --v5-lock-bottom: #06181A;
  --v5-lock-glow: rgb(95 214 202 / .26);
  --v5-screen-glow: rgb(95 214 202 / .2);
  --v5-sky-top: #061314;
  --v5-sky-bottom: #0C2222;
  --v5-dusk-top: #F4ECE6;
  --v5-dusk-bottom: #F0C7A4;
  --v5-ember: #B5654A;
  --v5-blur-shadow: 1.75rem;
  --v5-ping: rgb(95 214 202 / .75);
  --v5-t-ping: 760ms;
  --v5-t-drop: 560ms;
  --v5-t-arrive: 700ms;
  --v5-weight: 240ms;   /* how heavily the scenes follow the scroll: the time constant of their glide */
  --v5-weight-wheel: 30ms;   /* their glide while the site's smooth scroll already carries the wheel (smooth-scroll.js): the two glides add up, so this one is light */
  /* the phone's two fronts in the scene are laid out at this many times their size and shown scaled back down, so
     the browser draws their text with that many more pixels before it tilts and turns them. What is not in the
     phone's em is multiplied here, so it keeps its size on screen: hairlines stay one pixel, shadows stay put */
  --v5-ss: 2;
  --v5-ss-inv: 0.5;
  --v5-ss-px: calc(var(--v4-px) * var(--v5-ss));
  --v5-ss-shadow-push: 0 2px 4px rgb(6 12 12 / .2), 0 24px 52px -24px rgb(6 12 12 / .5);
  --v5-ss-shadow-tab: 0 2px 4px rgb(13 19 19 / .08), 0 0 0 2px rgb(13 19 19 / .04);
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 600px) {
  :root { --v5-orb: 6rem; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  :root { --v5-pw: min(20rem, 35svh); --v5-orb: 7rem; --v5-cap-w: min(35rem, 40%); --v5-cap-w-hero: min(40rem, 52%); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1100px) {
  :root { --v5-pw: min(24rem, 36svh); --v5-orb: 8.25rem; --v5-cap-w: min(35rem, 44%); --v5-cap-w-hero: min(40rem, 48%); }
}

/* ---------- small pieces shared by the page ---------- */
.rails > .header .brand { flex-shrink: 0; white-space: nowrap; }
.note { margin-block-start: var(--v4-4); font-size: var(--v4-fs-13); color: var(--v4-soft); text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--v4-2) var(--v4-5); margin-block-start: var(--v4-6); }
.cta-c { margin-block-start: var(--v4-4); }
.mark-orb { inline-size: 1.4em; block-size: 1.4em; border-radius: var(--v4-r-pill); flex: none; }
.soon { display: grid; gap: var(--v4-4); padding: var(--v4-section) var(--v4-gutter); border-block-start: var(--v4-px) solid var(--v4-line); color: var(--v4-muted); font-size: var(--v4-fs-15); }
.soon p { max-inline-size: var(--v4-measure-body); }
.soon b { color: var(--v4-ink); font-weight: var(--v4-w-600); }
.soon .fine { font-size: var(--v4-fs-13); color: var(--v4-soft); }

/* ---------- section 1: the base. Stills, each beside its caption ---------- */
.day { position: relative; --n: 0; --d: 0; --no: 0; --e: 0; }
.whose { display: none; }
.stage { --pw: var(--v5-pw); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(8, auto); justify-items: start; row-gap: var(--v4-8); padding: var(--v4-10) var(--v4-gutter) var(--v4-section); --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); }
.stage[data-sector="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.stage[data-sector="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.stage[data-sector="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.stage[data-sector="4"] { --brand: var(--v5-tech); --brand-wash: var(--v5-tech-wash); --brand-line: var(--v5-tech-line); }
/* The captions and the pictures are two lists laid over the same rows, so each caption sits with its own picture.
   Every wrapper of the device passes those rows on, so no box of the scene is missing when the scene is off. */
.caps, .cam, .ph, .ph-card, .face-o, .face-o .ph-body, .face-o .ph-screen { display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; grid-column: 1 / -1; grid-row: 1 / -1; justify-self: stretch; align-self: stretch; justify-items: start; min-inline-size: 0; }
.ph, .lock-still { font-size: calc(var(--pw) / 25); line-height: 1.3; }
@supports not (grid-template-rows: subgrid) {
  .caps, .cam, .ph, .ph-card, .face-o, .face-o .ph-body, .face-o .ph-screen { display: contents; }
}
.cap-hero { grid-row: 1; }
.lock-still, .orb-wrap { grid-row: 2; justify-self: center; }
.orb-wrap { align-self: start; z-index: 1; transform: translate(calc(var(--pw) * -0.5), -32%); }
.cap-a { grid-row: 3; scroll-margin-block-start: var(--v4-6); }
.face-c, .ph-rim { grid-row: 4; justify-self: center; }
.cap-b { grid-row: 5; }
.lock { grid-row: 6; justify-self: center; }
.lock-still { grid-row: 2; }
.cap-c { grid-row: 7; }
.app { grid-row: 8; justify-self: center; }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: repeat(4, auto); column-gap: var(--v4-20); row-gap: var(--v4-16); align-items: center; }
  .caps, .cam, .ph, .ph-card, .face-o, .face-o .ph-body, .face-o .ph-screen { align-items: center; }
  .caps { grid-column: 1; }
  .cam { grid-column: 2; }
  .cap-hero, .cap-a, .cap-b, .cap-c, .orb-wrap, .face-c, .ph-rim, .lock, .app { grid-column: 1; }
  @supports not (grid-template-rows: subgrid) {
    .orb-wrap, .face-c, .ph-rim, .lock, .app { grid-column: 2; }
  }
  .cap-hero, .orb-wrap, .lock-still { grid-row: 1; }
  .cap-a, .face-c, .ph-rim { grid-row: 2; }
  .cap-b, .lock { grid-row: 3; }
  .lock-still { grid-row: 1; }
  .cap-c, .app { grid-row: 4; }
}

/* captions */
.cap h1, .cap h2, .kick time { font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); }
.cap h1, .cap h2 { font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); text-wrap: balance; }
.cap h1 { font-size: var(--v5-display); line-height: var(--v5-lh-display); max-inline-size: var(--v5-measure-display); }
.cap h2 { font-size: var(--v5-h2); line-height: var(--v4-lh-tight); max-inline-size: var(--v5-measure-h2); }
.tw { word-spacing: var(--v5-tonos); white-space: nowrap; }
.lede { margin-block-start: var(--v4-5); font-size: var(--v4-fs-18); line-height: var(--v4-lh-body); color: var(--v4-muted); max-inline-size: var(--v4-measure-text); text-wrap: pretty; }
.kick { display: flex; align-items: baseline; gap: var(--v4-3); margin-block-end: var(--v4-4); font-size: var(--v4-fs-14); font-weight: var(--v4-w-500); color: var(--v4-muted); }
.kick time { font-size: var(--v5-clock); line-height: 1; font-weight: var(--v4-w-400); letter-spacing: var(--v4-track-tight); font-variant-numeric: tabular-nums; color: var(--v4-ink); }
/* what the assistant checks before it answers: one running line, the lead-in and the four things */
.checks-row { margin-block-start: var(--v4-5); font-size: var(--v4-fs-15); line-height: 1.75; color: var(--v4-ink-2); }
.checks-l { display: inline; margin-inline-end: var(--v4-2); color: var(--v4-muted); }
.checks { display: inline; }
.checks li { display: inline-flex; align-items: center; gap: var(--v4-1h); margin-inline-end: var(--v4-3); white-space: nowrap; }
.checks .icon { color: var(--v4-teal); stroke-width: 2.6; }

/* the sector switch: a grey track, the chosen part in white */
.pick { display: none; }
.js .pick-hero { display: grid; gap: var(--v4-2); margin-block-start: var(--v4-8); max-inline-size: var(--v5-pick-w); }
.pick-l { font-size: var(--v4-fs-13); color: var(--v4-soft); }
.pick-row { display: flex; gap: var(--v4-0h); padding: var(--v4-0h); border-radius: var(--v4-r-md); background: var(--v4-panel-2); }
.pick button { flex: 1 1 auto; min-block-size: var(--v4-btn-h-sm); padding-inline: var(--v4-1); border: var(--v4-0); border-radius: var(--v4-r-sm); background: none; color: var(--v4-muted); font: inherit; font-size: var(--v4-fs-12); font-weight: var(--v4-w-500); cursor: pointer; transition: background-color var(--v4-t-fast) var(--v4-ease), color var(--v4-t-fast) var(--v4-ease); }
.pick button:hover { color: var(--v4-ink); background: var(--v4-white-a70); }
.pick button:active { background: var(--v4-paper); }
.pick button[aria-pressed="true"] { background: var(--v4-paper); color: var(--v4-ink); font-weight: var(--v4-w-600); box-shadow: var(--v4-shadow-tab); }
.pick button:focus-visible { border-radius: var(--v4-r-sm); box-shadow: var(--v4-ring); }
.pick button[aria-pressed="true"]:focus-visible { box-shadow: var(--v4-ring), var(--v4-shadow-tab); }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (max-width: 359px) { .pick button { font-size: var(--v4-fs-11); } }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 420px) { .pick button { font-size: var(--v4-fs-13); } }

/* the orb */
.orb-wrap { position: relative; inline-size: var(--v5-orb); block-size: var(--v5-orb); }
.orb { display: block; position: relative; inline-size: 100%; block-size: 100%; }
.orb img { inline-size: 100%; block-size: 100%; border-radius: var(--v4-r-pill); }
.orb.live img { visibility: hidden; }

/* ---------- the device ---------- */
.face-c, .lock, .app, .ph-rim { position: relative; inline-size: var(--pw); aspect-ratio: 9 / 19.3; }
.lock, .app { border: 0.68em solid var(--v5-device); border-radius: 3.8em; overflow: hidden; }
.face-c .ph-body, .film .ph-body { position: absolute; inset: 0; padding: 0.68em; border-radius: 3.8em; background: linear-gradient(152deg, var(--v5-device), var(--v5-device-2) 64%); box-shadow: inset 0 0 0 var(--v4-px) var(--v5-white-a24), inset 0 0 0 0.2em var(--v5-ink-a45); }
@supports (color: color-mix(in oklab, red, blue)) {
  /* at night the edge of the device catches the light of its own screen */
  .face-c .ph-body, .film .ph-body { box-shadow: inset 0 0 0 var(--v4-px) var(--v5-white-a24), inset 0 0 0 0.2em var(--v5-ink-a45), 0 0 0 var(--v4-px) color-mix(in oklab, var(--v5-rim) calc(var(--n) * 100%), transparent); }
}
.face-c .ph-screen, .film .ph-screen { position: relative; block-size: 100%; border-radius: 3.15em; overflow: hidden; background: var(--v4-paper); color: var(--v4-ink); isolation: isolate; }
.face-c .ph-screen::before, .film .ph-screen::before, .lock::before, .app::before { content: ''; position: absolute; z-index: 5; inset-block-start: 0.9em; inset-inline-start: 50%; inline-size: 6.2em; block-size: 1.8em; margin-inline-start: -3.1em; border-radius: var(--v4-r-pill); background: var(--v5-device-2); }
.st { position: absolute; z-index: 4; inset-inline: 0; inset-block-start: 0; display: flex; align-items: flex-end; justify-content: flex-end; gap: 0.22em; block-size: 2.6em; padding-inline: 1.9em; color: inherit; opacity: 0.72; }
.sig { inline-size: 0.3em; border-radius: 0.08em; background: currentColor; }
.sig:nth-child(1) { block-size: 0.45em; } .sig:nth-child(2) { block-size: 0.7em; } .sig:nth-child(3) { block-size: 0.95em; }
.bat { position: relative; inline-size: 2.1em; block-size: 1em; margin-inline-start: 0.4em; border-radius: 0.32em; border: var(--v4-px) solid currentColor; }
.bat::after { content: ''; position: absolute; inset: 0.14em 30% 0.14em 0.14em; border-radius: 0.16em; background: currentColor; }

/* the customer's side: the business's own app, where the chat happens */
.face-c .ph-screen { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 1em; padding: 4.2em 1.15em 1.15em; }
.app-head { display: flex; align-items: center; gap: 0.85em; padding-block-end: 0.95em; border-block-end: var(--v4-px) solid var(--v4-line); }
.logo { display: grid; place-items: center; flex: none; inline-size: 3em; block-size: 3em; border-radius: 0.95em; background: var(--brand); color: var(--v4-paper); transition: background-color var(--v4-t-base) var(--v4-ease); }
.logo .icon { grid-area: 1 / 1; display: none; inline-size: 1.6em; block-size: 1.6em; }
.stage[data-sector="0"] .logo [data-s="0"], .stage[data-sector="1"] .logo [data-s="1"], .stage[data-sector="2"] .logo [data-s="2"], .stage[data-sector="3"] .logo [data-s="3"], .stage[data-sector="4"] .logo [data-s="4"] { display: block; }
.app-head span { display: grid; }
.app-head b { font-size: 1.6em; line-height: 1.15; font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); }
.app-head small { font-size: 1.25em; color: var(--v4-muted); }
.chat { display: grid; align-content: end; gap: 0.7em; min-block-size: var(--v4-0); overflow: hidden; }
.bub { max-inline-size: 88%; padding: 0.62em 0.9em; border-radius: 1.35em; font-size: 1.4em; line-height: 1.34; }
.bub.q { justify-self: end; background: var(--brand); color: var(--v4-paper); border-end-end-radius: 0.36em; transition: background-color var(--v4-t-base) var(--v4-ease); }
.bub.a { justify-self: start; background: var(--v4-panel-2); border-end-start-radius: 0.36em; }
.dots { display: none; }
.type { display: flex; align-items: center; padding: 0.8em 1.1em; border-radius: 1.6em; border: var(--v4-px) solid var(--v4-line); font-size: 1.3em; color: var(--v4-soft); }
.type.typing { color: var(--v4-ink); border-color: var(--v4-line-strong); }

/* the owner's lock screen: always dark, lit by its own notifications, with the light of the orb low on its wallpaper */
.lock { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; justify-items: center; padding: 4.9em 1.05em 1.25em; color: var(--v4-night-ink); background: radial-gradient(120% 44% at 50% 106%, var(--v5-lock-glow), transparent 72%), linear-gradient(172deg, var(--v5-lock-top), var(--v5-lock-bottom) 76%) var(--v5-lock-bottom); }
.wall { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; fill: none; stroke: var(--v4-night-teal); stroke-width: 0.45; opacity: 0.26; }
.lock-date { position: relative; font-size: 1.45em; font-weight: var(--v4-w-500); color: var(--v4-night-muted); }
.lock-time { position: relative; margin-block: 0.06em 0.5em; font-size: 4.2em; line-height: 1; font-weight: var(--v5-w-light); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.pushes { position: relative; justify-self: stretch; align-self: start; display: grid; gap: 0.6em; }
.push { position: relative; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); column-gap: 0.85em; align-items: center; padding: 0.95em 1.05em; border-radius: 1.7em; background: var(--v4-paper); color: var(--v4-ink); box-shadow: var(--v5-shadow-push); }
.push .mark-orb { grid-row: 1 / 4; inline-size: 2.6em; block-size: 2.6em; border-radius: 0.75em; }
.push-h { display: flex; justify-content: space-between; gap: 0.6em; font-size: 1.2em; color: var(--v4-muted); }
.push-h b { font-weight: var(--v4-w-600); color: var(--v4-ink-2); }
.push-t { font-size: 1.4em; font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); }
.push-b { font-size: 1.28em; line-height: 1.32; color: var(--v4-ink-2); }
.lock-keys { position: relative; justify-self: stretch; display: flex; align-items: flex-end; justify-content: space-between; padding-inline: 1.1em; }
.key { display: grid; place-items: center; inline-size: 3.5em; block-size: 3.5em; border-radius: var(--v4-r-pill); background: var(--v5-white-a12); }
.key .icon { inline-size: 1.65em; block-size: 1.65em; stroke-width: 1.6; }
.home-bar { inline-size: 9.5em; block-size: 0.38em; border-radius: var(--v4-r-pill); background: currentColor; opacity: 0.5; }

/* the owner's day, once the phone is unlocked: the dashboard as it sits on a phone */
.app { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto; gap: 0.9em; padding: 4.4em 1.15em 1.15em; background: var(--v4-paper); color: var(--v4-ink); }
.app-top { display: flex; align-items: center; gap: 0.8em; }
.app-top b { font-size: 1.75em; font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-tight); }
.menu { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.3em 0.65em 0.3em 0.5em; border: var(--v4-px) solid var(--v4-line-strong); border-radius: 0.8em; font-size: 1.25em; color: var(--v4-ink-2); }
.menu .icon { inline-size: 1.1em; block-size: 1.1em; }
.app-date { margin-block-start: -0.45em; font-size: 1.3em; color: var(--v4-muted); }
/* the tabs of the morning screen: one row per sector, in the same place; only the chosen sector's shows */
.segs { display: grid; min-inline-size: 0; }
.seg { grid-area: 1 / 1; display: flex; gap: 0.1em; padding: 0.24em; border-radius: 1em; background: var(--v4-panel-2); font-size: 1.12em; opacity: 0; visibility: hidden; transition: opacity var(--v4-t-base) var(--v4-ease), visibility var(--v4-t-base); }
.stage[data-sector="0"] .seg[data-s="0"], .stage[data-sector="1"] .seg[data-s="1"], .stage[data-sector="2"] .seg[data-s="2"], .stage[data-sector="3"] .seg[data-s="3"] { opacity: 1; visibility: visible; }
.seg span { flex: 1 1 auto; min-inline-size: 0; padding: 0.5em 0.1em; border-radius: 0.82em; text-align: center; color: var(--v4-muted); white-space: nowrap; }
.seg .on { background: var(--v4-paper); color: var(--v4-ink); font-weight: var(--v4-w-550); box-shadow: var(--v4-shadow-tab); }
.days { display: grid; align-content: start; min-block-size: var(--v4-0); }
.daylist { grid-area: 1 / 1; display: grid; align-content: start; gap: 0.6em; opacity: 0; visibility: hidden; transition: opacity var(--v4-t-base) var(--v4-ease), visibility var(--v4-t-base); }
.stage[data-sector="0"] .daylist[data-s="0"], .stage[data-sector="1"] .daylist[data-s="1"], .stage[data-sector="2"] .daylist[data-s="2"], .stage[data-sector="3"] .daylist[data-s="3"], .stage[data-sector="4"] .daylist[data-s="4"] { opacity: 1; visibility: visible; }
.daylist li { display: grid; grid-template-columns: 3.9em minmax(0, 1fr); align-items: center; gap: 0.3em; }
.daylist time { font-size: 1.25em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--v4-muted); }
.appt { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.75em; row-gap: 0.4em; padding: 0.7em 0.85em; border-radius: 1.15em; border: var(--v4-px) solid var(--v4-line); background: var(--v4-paper); }
.av { display: grid; place-items: center; inline-size: 2em; block-size: 2em; border-radius: var(--v4-r-pill); background: var(--brand-wash); color: var(--brand); font-style: normal; font-size: 1.25em; font-weight: var(--v4-w-600); transition: background-color var(--v4-t-base) var(--v4-ease), color var(--v4-t-base) var(--v4-ease); }
.appt-main { display: grid; min-inline-size: 0; }
.appt-main b { font-size: 1.32em; line-height: 1.22; font-weight: var(--v4-w-550); }
.appt-main small { font-size: 1.25em; color: var(--v4-muted); }
.by .appt { border-color: var(--brand); background: var(--brand-wash); transition: background-color var(--v4-t-base) var(--v4-ease), border-color var(--v4-t-base) var(--v4-ease); }
.by .av { background: var(--v4-paper); }
.tag-by { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 0.3em; padding: 0.14em 0.6em 0.14em 0.24em; border-radius: var(--v4-r-pill); background: var(--v4-paper); border: var(--v4-px) solid var(--brand-line); font-size: 1.25em; font-weight: var(--v4-w-600); color: var(--v4-ink-2); }
/* a state of the row, said in the product's own word (no orb: nothing here was done by the assistant) */
.tag-by.plain { padding-inline-start: 0.6em; }
.tag-by { white-space: nowrap; }
/* several states a row carries at once (a stop: visit, delivery, count): small plain marks under the row's words,
   across the whole row, wrapping as they must; a mark longer than the row breaks between its words */
.tags-by { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.3em; min-inline-size: 0; }
.tags-by .tag-by { min-inline-size: 0; padding: 0.12em 0.5em; border-radius: 0.55em; font-size: 1.02em; font-weight: var(--v4-w-500); line-height: 1.3; white-space: normal; }
/* a list led by the stop's number (routes): a narrow first column, so the row and its marks have the room */
.daylist.num li { grid-template-columns: 2.2em minmax(0, 1fr); }
.daylist.num time { justify-self: center; }
/* tabs with long words (studio): a little smaller, and a word may go to a second line rather than be cut */
.seg.tight { font-size: 0.98em; }
.seg.tight span { display: grid; place-items: center; min-inline-size: min-content; padding-inline: 0.3em; line-height: 1.15; white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: none; text-wrap: balance; }
/* a screen without tabs (routes): the row of tabs goes, and the list takes its room */
.stage[data-sector="0"] .segs:not(:has(> [data-s="0"])), .stage[data-sector="1"] .segs:not(:has(> [data-s="1"])), .stage[data-sector="2"] .segs:not(:has(> [data-s="2"])), .stage[data-sector="3"] .segs:not(:has(> [data-s="3"])) { display: none; }
.stage[data-sector="0"] .app:not(:has(.segs > [data-s="0"])), .stage[data-sector="1"] .app:not(:has(.segs > [data-s="1"])), .stage[data-sector="2"] .app:not(:has(.segs > [data-s="2"])), .stage[data-sector="3"] .app:not(:has(.segs > [data-s="3"])) { grid-template-rows: auto auto minmax(0, 1fr) auto; }
/* a sector with fewer things to check leaves the last tick out */
.checks li[hidden] { display: none; }
/* a list with no time or order in front (projects): the rows take the whole width */
.daylist.bare li { grid-template-columns: minmax(0, 1fr); }
.daylist.bare time { display: none; }
.dock { display: flex; align-items: center; gap: 0.6em; padding: 0.72em 0.95em; border-radius: 1.5em; border: var(--v4-px) solid var(--v4-line); background: var(--v4-panel); font-size: 1.3em; color: var(--v4-soft); }

/* ---------- the scene: pinned and driven by scroll (html.film) ---------- */
.film .day { block-size: calc((var(--v5-len) + 1) * 100svh); }
/* the sky: a warm dusk under a night that comes down from the top. Two fixed layers drawn by the section itself */
.film .day::before, .film .day::after { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.film .day::before { background: linear-gradient(180deg, var(--v5-dusk-top), var(--v5-dusk-bottom)); opacity: var(--d); }
.film .day::after { background: linear-gradient(180deg, var(--v5-sky-top), var(--v5-sky-bottom)); opacity: var(--no); }
/* the horizon keeps an ember while the night comes down: its own layer, so only opacity moves and the sky is never repainted */
.film .stage::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 42%, var(--v5-ember)); opacity: var(--e); pointer-events: none; }
.film .stage { position: sticky; inset-block-start: 0; z-index: 1; display: block; block-size: 100svh; padding: var(--v4-0); overflow: hidden; overflow: clip; }
/* until the script has placed the phone, the picture waits out of sight, so nothing is seen in the wrong place */
.film .stage:not(.set) .cam { visibility: hidden; }
.film .cam { display: block; position: absolute; inset: 0; perspective: var(--v5-phone-perspective); perspective-origin: 50% 45%; }
/* The flat exit composite wraps a separate projection layer, strictly outside the 3D roots.
   Both boxes cover the old camera, so its perspective origin and the phone's coordinates stay put.
   These wrappers make a box only in film mode; in the still page they pass the subgrid on, so it keeps its original layout. */
/* In the still page they are two more links of the device's subgrid chain (see "Every wrapper of the device passes
   those rows on"), so the phone lies exactly where it lay without them. */
html:not(.film) .ph-exit, html:not(.film) .ph-exit-view { display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; grid-column: 1 / -1; grid-row: 1 / -1; justify-self: stretch; align-self: stretch; justify-items: start; min-inline-size: 0; }
@supports not (grid-template-rows: subgrid) {
  html:not(.film) .ph-exit, html:not(.film) .ph-exit-view { display: contents; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  html:not(.film) .ph-exit, html:not(.film) .ph-exit-view { align-items: center; }
}
.film .ph-exit, .film .ph-exit-view { display: block; position: absolute; inset: 0; pointer-events: none; }
/* .ph-exit's opacity is written by v5.js as it leaves (the exit alpha), on the wrapper itself */
.film .ph-exit-view { perspective: var(--v5-phone-perspective); perspective-origin: 50% 45%; }
/* Restore inherited hits only on the rounded, painted fronts and their screen contents.
   The projection/3D containers and outside label stay transparent to the pointer;
   the existing face backfaces and screen clipping still bound the hit surface. */
.film .ph .ph-body { pointer-events: var(--v5-phone-hit, auto); }
.film .lock-still { display: none; }
.film .ph { display: block; position: absolute; inset-inline-start: 0; inset-block-start: 0; inline-size: var(--pw); aspect-ratio: 9 / 19.3; transform-style: preserve-3d; }
/* The layers that follow the phone every frame (its two edge plates, the shadow and the light it throws, the glass over
   each screen) are the ::before of childless <i> elements made by v5.js, not ::before and ::after of .ph, .cam and
   .ph-screen: what the scene writes on an <i> each frame (--turn, --px, --py, --shx, --shy, --sq, --v5-phone-exit,
   --glare) then restyles that <i> and its layer alone. The <i> is display: contents, so the box drawn is the very box
   the old ::before or ::after was (a child of the same parent, in the same place), and no element box is added. Written on .ph, .cam and .ph-card, every change restyled the whole phone, both fronts (about 380 elements a
   frame; measured 19/11/2026, 390x844, device scale 3, processor slowed 4x). Same rules, same order, same look. */
.ph-plate, .cam-glow, .cam-cast, .ph-glass { display: none; }
/* two plates between the fronts turn with the card (--turn), so the edge of the device is solid from every angle */
.film .ph > .ph-plate, .film .cam > .cam-glow, .film .cam > .cam-cast, .film .ph-screen > .ph-glass { display: contents; }
.film .ph > .ph-plate::before { content: ''; position: absolute; inset: 0; border-radius: 3.8em; background: var(--v5-device-2); transform-origin: 50% 50% -0.7em; pointer-events: none; }
.film .ph > .ph-plate-f::before { transform: rotateY(var(--turn, 0deg)) translateZ(-0.36em); }
.film .ph > .ph-plate-b::before { transform: rotateY(var(--turn, 0deg)) translateZ(-1.04em); }
/* the shadow the phone throws by day and the light its screen throws at night: both lie on the page, behind the
   device, and follow it by transform. The shadow leans with the hour the phone shows */
.film .cam > .cam-glow::before, .film .cam > .cam-cast::before { content: ''; position: absolute; z-index: -1; inset-inline-start: 0; inset-block-start: 0; inline-size: var(--pw); aspect-ratio: 9 / 19.3; pointer-events: none; translate: var(--px, 0) var(--py, 0); }
.film .cam > .cam-glow::before { border-radius: var(--v4-r-pill); background: radial-gradient(closest-side, var(--v5-screen-glow), transparent); opacity: calc(var(--n) * var(--v5-phone-exit, 1)); transform: scale(2.3, 1.55); }
.film .cam > .cam-cast::before { border-radius: calc(var(--pw) * 0.152); background: var(--v5-shadow-phone); filter: blur(var(--v5-blur-shadow)); opacity: calc((1 - var(--n) * 0.75) * var(--v5-phone-exit, 1)); transform: translate(var(--shx, calc(var(--pw) * 0.05)), var(--shy, calc(var(--pw) * 0.11))) scale(var(--sq, 1), 0.94); }
/* the device turns about its own middle, so each front comes to rest exactly on the page plane */
.film .ph-card { display: block; position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50% -0.7em; }
/* the edge is a closed band: walls left and right (these two), walls top and bottom, and facets round each corner,
   so from the side the device is one solid dark slab, its fronts flush with its edge */
.film .ph-card::before, .film .ph-card::after { content: ''; position: absolute; inset-block: 3.6em; inline-size: 1.4em; background: var(--v5-device-2); }
.film .ph-card::before { inset-inline-start: 0; transform: translateX(-50%) translateZ(-0.7em) rotateY(90deg); }
.film .ph-card::after { inset-inline-end: 0; transform: translateX(50%) translateZ(-0.7em) rotateY(90deg); }
/* in the still layout the pieces of the edge are the back of the still phone: the same dark material, lying exactly
   under it (same cell, same size), so the device is made of the same parts with and without the scene */
.ph-rim { display: block; border-radius: 3.8em; background: var(--v5-device-2); pointer-events: none; }
.film .ph-rim { inline-size: auto; aspect-ratio: auto; border-radius: var(--v4-0); }
.film .ph-rim { display: block; position: absolute; background: var(--v5-device-2); pointer-events: none; }
.film .rim-t, .film .rim-b { inset-inline: 3.6em; block-size: 1.4em; }
.film .rim-t { inset-block-start: 0; transform: translateY(-50%) translateZ(-0.7em) rotateX(90deg); }
.film .rim-b { inset-block-end: 0; transform: translateY(50%) translateZ(-0.7em) rotateX(90deg); }
/* a corner facet: centred on the corner's arc, as long as its chord, as deep as the device, turned to the tangent */
.film .rim-c { inline-size: var(--rl, 1em); block-size: 1.4em; margin: -0.7em calc(var(--rl, 1em) / -2); transform: translateZ(-0.7em) rotateZ(var(--ra, 0deg)) rotateX(90deg); }
.film .rim-tl { inset-inline-start: calc(3.8em + var(--dx, 0em)); inset-block-start: calc(3.8em + var(--dy, 0em)); }
.film .rim-tr { inset-inline-start: calc(100% - 3.8em + var(--dx, 0em)); inset-block-start: calc(3.8em + var(--dy, 0em)); }
.film .rim-bl { inset-inline-start: calc(3.8em + var(--dx, 0em)); inset-block-start: calc(100% - 3.8em + var(--dy, 0em)); }
.film .rim-br { inset-inline-start: calc(100% - 3.8em + var(--dx, 0em)); inset-block-start: calc(100% - 3.8em + var(--dy, 0em)); }
.film .face, .film .lock, .film .app, .film .orb-wrap { justify-self: auto; }
/* Each front is a flat sheet that carries its own transform and hides its own back: the form of the card turn that every engine draws the same way */
.film .face { display: block; position: absolute; inset: 0; inline-size: auto; aspect-ratio: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.film .face-o { transform: translateZ(0); }
.film .face-c { transform: translateZ(-1.4em) rotateY(180deg); }
/* section 1 only: each front is laid out at --v5-ss times its size from its top left corner and scaled back to
   the phone's size, so the picture the browser turns in 3D has --v5-ss times the pixels. Inside, everything is in
   the front's own em; the few lengths that are not take their scaled tokens here */
/* Each flat plane of the device also carries a clear border one screen pixel wide, with its colour kept inside it
   (padding-box): the edge a plane shows then lies inside its own picture, where the browser smooths it, instead of
   on the picture's border, where a plane turned in 3D draws stair-steps. Every box grows by that border outward,
   so what is seen keeps its exact size and place. */
.film .day .face { inset: calc(var(--v4-px) / var(--v5-ss) * -1) auto auto calc(var(--v4-px) / var(--v5-ss) * -1); inline-size: calc(100% * var(--v5-ss) + 2 * var(--v4-px)); block-size: calc(100% * var(--v5-ss) + 2 * var(--v4-px)); border: var(--v4-px) solid transparent; font-size: calc(var(--v5-ss) * 1em); transform-origin: 0 0; --v4-px: var(--v5-ss-px); --v5-shadow-push: var(--v5-ss-shadow-push); --v4-shadow-tab: var(--v5-ss-shadow-tab); }
.film .day .face-o { transform: translateZ(0) scale(var(--v5-ss-inv)); }
.film .day .face-c { transform: translateZ(calc(-1.4em / var(--v5-ss))) translateX(calc(100% / var(--v5-ss))) rotateY(180deg) scale(var(--v5-ss-inv)); }
.film .day .ph > .ph-plate::before { inset: calc(var(--v4-px) * -1); border: var(--v4-px) solid transparent; background-clip: padding-box; border-radius: calc(3.8em + var(--v4-px)); }
.film .day .ph-card::before, .film .day .ph-card::after { inset-block: calc(3.6em - var(--v4-px)); inline-size: calc(1.4em + 2 * var(--v4-px)); border: var(--v4-px) solid transparent; background-clip: padding-box; }
.film .day .rim-t, .film .day .rim-b { inset-inline: calc(3.6em - var(--v4-px)); block-size: calc(1.4em + 2 * var(--v4-px)); border: var(--v4-px) solid transparent; background-clip: padding-box; }
.film .day .rim-c { inline-size: calc(var(--rl, 1em) + 2 * var(--v4-px)); block-size: calc(1.4em + 2 * var(--v4-px)); margin: calc(-0.7em - var(--v4-px)) calc(var(--rl, 1em) / -2 - var(--v4-px)); border: var(--v4-px) solid transparent; background-clip: padding-box; }
.film .face-o .ph-body, .film .face-o .ph-screen { display: block; }
.film .lock, .film .app { position: absolute; inset: 0; inline-size: auto; aspect-ratio: auto; border: var(--v4-0); border-radius: var(--v4-0); }
.film .lock::before, .film .app::before { display: none; }
.film .app { z-index: 1; }
.film .lock { z-index: 2; }
.film .ph-screen > .ph-glass::before { content: ''; position: absolute; z-index: 6; inset: 0; background: linear-gradient(120deg, var(--v5-white-a24), transparent 30%); opacity: var(--glare, 0.3); pointer-events: none; }
.film .push { opacity: 0; }
.film .push.arrive { animation: v5-drop var(--v5-t-drop) var(--v4-ease) var(--v5-t-arrive) both; }
.film .push.again { animation: v5-drop var(--v5-t-drop) var(--v4-ease) both; }
.film .push.ping::after { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: v5-ping var(--v5-t-ping) var(--v4-ease) both; pointer-events: none; }
.film .chat > * { display: none; }
.film .chat > .in { display: block; animation: v5-pop var(--v4-t-base) var(--v4-ease) both; }
.film .chat > .dots.in { display: inline-flex; animation: none; }
.film .dots { justify-self: start; gap: 0.36em; padding: 0.85em 0.9em; border-radius: 1.35em; background: var(--v4-panel-2); }
.film .dots i { inline-size: 0.55em; block-size: 0.55em; border-radius: var(--v4-r-pill); background: var(--v4-soft); animation: v5-dot var(--v4-d-2) var(--v4-ease-in-out) infinite; }
.film .dots i:nth-child(2) { animation-delay: var(--v4-t-fast); }
.film .dots i:nth-child(3) { animation-delay: var(--v4-t-base); }
.film .whose { display: grid; position: absolute; inset-inline: -40%; inset-block-end: 100%; margin-block-end: 1.1em; justify-items: center; font-family: var(--v4-font); font-size: var(--v4-fs-13); font-weight: var(--v4-w-500); color: var(--v4-muted); opacity: 0; transition: color var(--v4-t-base) var(--v4-ease); }
.film .whose span { grid-area: 1 / 1; justify-self: center; opacity: 0; transition: opacity var(--v4-t-base) var(--v4-ease); white-space: nowrap; }
.film .day .whose span { font-size: var(--v5-material-label-size); line-height: var(--v5-material-label-line); transform: scale(var(--v5-material-label-scale)); }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  .film .day .whose span { font-size: inherit; line-height: inherit; transform: none; }
}
.film .whose[data-on="o"] [data-w="o"], .film .whose[data-on="c"] [data-w="c"] { opacity: 1; }
.film .orb-wrap { position: absolute; z-index: auto; inset-inline-start: 0; inset-block-start: 0; margin: calc(var(--v5-orb) / -2) 0 0 calc(var(--v5-orb) / -2); }
.film .moving .ph, .film .moving .ph-card { will-change: transform; }

/* The captions stay in the reading order for assistive technology at every moment; only their controls step aside */
.film .caps { display: block; position: absolute; inset: 0; pointer-events: none; }
.film .cap { position: absolute; inset-inline: var(--v4-gutter); inset-block-start: var(--v4-4); opacity: 0; pointer-events: none; }
.film .cap.on { pointer-events: auto; }
.film [data-act][inert] { visibility: hidden; }   /* the controls of a caption that is off are out of reach and out of sight; its words stay readable to assistive technology */
.film .cap-hero { opacity: 1; }
.film .checks li { opacity: 0.3; transition: opacity var(--v4-t-base) var(--v4-ease); }
.film .checks li .icon { transform: scale(0.6); transition: transform var(--v4-t-base) var(--v4-ease); }
.film .checks li.on { opacity: 1; }
.film .checks li.on .icon { transform: none; }
.film .day h2, .film .day .kick, .film .day .kick time { transition: color var(--v4-t-base) var(--v4-ease); }
.film .stage[data-night="1"] h2, .film .stage[data-night="1"] .kick time { color: var(--v4-night-ink); }
.film .stage[data-night="1"] .kick, .film .stage[data-night="1"] .whose { color: var(--v4-night-muted); }
/* on a phone the captions are short, and the sector switch waits beside the conversation, where a press shows the most */
.film .cap-a .lede { display: none; }
.film .cap-hero .lede { margin-block-start: var(--v4-4); }
.film .kick { margin-block-end: var(--v4-2); }
.film .checks-row { margin-block-start: var(--v4-2); font-size: var(--v4-fs-13); }
.film .checks li { gap: var(--v4-1); margin-inline-end: var(--v4-2); }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (max-width: 899px) {
  .film .pick-hero { display: none; }
  .film .cap-hero .link { display: none; }   /* on a phone the story starts with the first scroll, so the second link gives its room to the picture */
  .film .pick-a { display: block; margin-block-start: var(--v4-2); }
  .film .chat { align-content: start; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (max-width: 899px) and (max-height: 599px) {
  .film .pick-a { display: none; }   /* on the shortest phones the switch gives its room to the conversation */
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  .film .cap { inset-inline: var(--v4-gutter) auto; inline-size: var(--v5-cap-w); inset-block-start: 50%; }
  .film .cap-hero { inline-size: var(--v5-cap-w-hero); }
  .film .cap-a .lede { display: block; }
  .film .kick { margin-block-end: var(--v4-4); }
  .film .checks-row { margin-block-start: var(--v4-5); font-size: var(--v4-fs-15); }
  .film .checks li { gap: var(--v4-1h); margin-inline-end: var(--v4-3); }
}
@keyframes v5-pop { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@keyframes v5-drop { from { opacity: 0; translate: 0 -1.6em; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes v5-ping { from { box-shadow: 0 0 0 0 var(--v5-ping); } to { box-shadow: 0 0 0 0.9em transparent; } }
@keyframes v5-dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-0.18em); } }

/* ---------- reduced motion: nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* finish: satin graphite housing and a continuous polished chamfer; em follows the doubled faces. */
.day .face-c .ph-body, .film .day .ph-body {
  background: var(--v5-finish-device);
  box-shadow: var(--v5-finish-device-rim);
}
.film .day .ph-card::before, .film .day .ph-card::after,
.film .day .ph-rim { background-image: var(--v5-finish-device-edge); }
.day .lock, .day .app { border-color: var(--v5-device); }

/* finish: glass reflection is below six percent even at full scripted glare; the seal stays at the edge. */
.day .ph-screen { background-color: var(--v4-paper); }
.day .lock { background-color: var(--v5-lock-bottom); }
.film .day .ph-screen > .ph-glass::before {
  background: var(--v5-finish-glass);
  box-shadow: var(--v5-finish-glass-edge);
}
.day .ph-body::after {
  content: ''; position: absolute; inset: var(--v4-0); border-radius: inherit;
  box-shadow: var(--v5-finish-night-rim); opacity: var(--n, 0); pointer-events: none;
}
.day .push { box-shadow: var(--v5-finish-push); }
.day .key { box-shadow: var(--v5-finish-keycap); }

/* finish: soft photographic cast and local screen bounce, on existing shadow planes without a blur filter. */
.film .day .cam > .cam-cast::before { background: var(--v5-finish-phone-cast); filter: none; }
.film .day .cam > .cam-glow::before { background: var(--v5-finish-phone-bounce); }

/* finish: consistent quiet section seams; paper and every focus treatment keep their existing tokens. */
.rails :is(.rules, .life-stage, .kinds, .start, .grow, .end, .soon) { border-block-start-color: var(--v5-finish-line); }

/* finish 2: a bright chamfer against graphite, continuous through the existing corner facets. */
.day .face-c .ph-body, .film .day .ph-body {
  background: var(--v5-f2-device);
  box-shadow: var(--v5-f2-device-rim);
}
.film .day .ph-card::before, .film .day .ph-card::after,
.film .day .ph-rim { background-image: var(--v5-f2-device-edge); }
/* finish quality: top/bottom and corner facets carry thickness on their block axis,
   with block-end at the front after rotateX, opposite the walls' inline-start.
   A tangent-axis gradient repeats a bright stripe at every corner seam. Keep the
   original band geometry, overlap and two-sided paint; only the light's axis changes. */
.film .day .ph-rim { background-image: var(--v5-quality-edge-block); }

/* finish 2: visible glass only above the date, below the notifications, and in the empty left seal.
   Attached to the lock layer, so it disappears with that layer instead of crossing the app text. */
.film .day .lock::after {
  content: ''; position: absolute; inset: var(--v4-0); pointer-events: none;
  background-image: var(--v5-f2-lock-reflection);
  background-size: var(--v5-f2-lock-reflection-size);
  background-position: var(--v5-f2-lock-reflection-position);
  background-repeat: no-repeat;
}

/* finish 2: opaque notification sheet, with a rolled edge and a short seating shadow; ping keeps its after. */
.day .push { background-color: var(--v4-paper); box-shadow: var(--v5-f2-push-seat); }
.day .push::before {
  content: ''; position: absolute; inset: var(--v4-0); border-radius: inherit;
  box-shadow: var(--v5-f2-push-lip); pointer-events: none;
}

/* ---------- the header's one set of links (written by build_v5.py; chrome.css styles them and is linked after) ----------
   Κλάδοι, Πελάτες, Ξεκίνημα (scenes of this page) and Τιμές (the price page). On a phone they live in the menu; from
   820px they stand in the header and the menu button steps aside, so no link is ever there twice. `header.header` is
   one step more specific than chrome.css, which shows them only from 960px. */
.rails > header.header .header-nav a { white-space: nowrap; }
.rails > header.header .header-nav a:focus-visible, .rails > header.header .login:focus-visible { outline: none; box-shadow: var(--v4-ring); }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 820px) {
  .rails > header.header .header-nav { display: flex; gap: var(--v4-0h); margin-inline-start: var(--v4-2); }
  .rails > header.header .header-nav a { padding-inline: var(--v4-2); }
  .rails > header.header .menu-toggle, .rails > header.header .mobile-nav { display: none; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1024px) {
  .rails > header.header .header-nav { gap: var(--v4-1); margin-inline-start: var(--v4-6); }
  .rails > header.header .header-nav a { padding-inline: var(--v4-3); }
}

/* the line under the headline takes three lines in the page's Inter on a narrow phone and two in the font the browser shows
   before Inter arrives: its room is kept, so the buttons under it do not move when the font swaps in */
.cap-hero .lede { min-block-size: calc(var(--v5-lede-lines) * 1lh); }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 480px) {
  .cap-hero .lede { min-block-size: calc(var(--v5-lede-lines-wide) * 1lh); }
}

/* Home v5, final design. Section 2: «Όλα σε ένα».
   Six things a small business keeps its day in (a diary, unanswered messages, a customer spreadsheet,
   an hours sheet on the wall, a notebook with prices, a sticky note) lie scattered. As the visitor
   scrolls each one lifts off in its own way, comes in level with the line of the menu that replaces it,
   and is pressed into that line, which lights from it. The diary carries the same day and hours as the
   window, and becomes its list. The window takes the stage, nearly edge to edge; a phone with the same
   menu looks in from the corner. Mobile is the base; the still version (no script, reduced motion,
   short window) shows the pile, then the window, each under its own caption. The papers are drawn in
   their own unit (--v5-u), the window and the phone in theirs (width / 72, width / 25). */

:root {
  /* finish 2: matte paper has cut layers and a binding crease, rather than a glass reflection. */
  --v5-f2-paper-edge: inset 0 .06em 0 rgb(255 255 255 / .96), inset -.055em -.1em .07em rgb(81 67 35 / .18), .025em .09em 0 #E2D9C3, .045em .15em 0 rgb(81 67 35 / .17);
  --v5-f2-paper-gutter: inset .14em 0 .13em rgb(81 67 35 / .14);
  --v5-f2-window-bar: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 7%, #E7EEEC 13%, #F7FAF9 32%, #EDF3F1 94%, #D9E3DF 100%);
  /* finish: paper edges and satin window chrome, with no texture over the ink. */
  --v5-finish-paper-edge: inset 0 .055em 0 rgb(255 255 255 / .85), inset -.06em -.11em .16em rgb(81 67 35 / .1);
  --v5-finish-paper-gutter: inset .12em 0 .25em rgb(81 67 35 / .07);
  --v5-finish-tape-edge: inset 0 .06em 0 rgb(255 255 255 / .32), 0 .07em .1em rgb(81 67 35 / .08);
  --v5-finish-window-bar: linear-gradient(180deg, #FFFFFF, #F3F6F6);
  --v5-finish-window-dot: inset 0 .06em .1em rgb(17 36 38 / .16), 0 .05em 0 rgb(255 255 255 / .9);
  /* the old world: warm paper, three hands (ballpoint, pencil, marker) and print, a red correction, spreadsheet green */
  --v5-cream: #FBF7EC;
  --v5-cream-2: #F3EDDB;
  --v5-cream-line: #E3DBC6;
  --v5-sticky: #FBEFA6;
  --v5-sticky-2: #F1E07F;
  --v5-pen: #2D4FA8;
  --v5-pen-red: #B4412F;
  --v5-pencil: #62686D;
  --v5-sheet-green: #1F7A4D;
  --v5-sheet-line: #D6E0DA;
  --v5-chat: #E6F4E8;
  --v5-chat-line: #C5E2CB;
  --v5-tape: rgb(246 233 180 / .78);
  --v5-shadow-win: 0 1px 2px rgb(13 30 30 / .06), 0 28px 64px -28px rgb(13 30 30 / .34);
  --v5-shadow-drawer: 0 0 2.4em rgb(6 12 12 / .22);
  --v5-scrim: rgb(6 12 12 / .2);
  --v5-one-len: 2.05;
  --v5-u: 0.5rem;
  --v5-win-w: 57rem;
  --v5-mob-w: 12rem;
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 600px) {
  :root { --v5-u: 0.62rem; }
}
/* The wide layout of this section starts where its window (57.5rem) fits whole between the gutters: 984px.
   ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 984px) {
  /* the window is 72rem at most on a laptop, where a larger one would only run further under the fold; on a screen taller
     than 62.5rem it grows with the height, so a large monitor gets a large picture. The papers grow with the height too. */
  :root { --v5-u: clamp(0.72rem, 1.9svh, 1.3rem); --v5-win-w: max(57.5rem, min(88vw, 72rem + max(0rem, 100svh - 62.5rem) * 1.2)); --v5-mob-w: 15rem; }
}

/* ---------- the base: the pile under its caption, then the window under its own ---------- */
.one { position: relative; }
.one-stage { --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: var(--v4-8); padding: var(--v4-section) var(--v4-gutter); overflow: hidden; overflow: clip; }
.one-stage[data-sector="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.one-stage[data-sector="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.one-stage[data-sector="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.one-stage[data-sector="0"] .logo [data-s="0"], .one-stage[data-sector="1"] .logo [data-s="1"], .one-stage[data-sector="2"] .logo [data-s="2"], .one-stage[data-sector="3"] .logo [data-s="3"] { display: block; }
.one-cap { display: grid; justify-items: center; text-align: center; }
.one-cap h2 { font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: var(--v5-h2); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); max-inline-size: 22ch; text-wrap: balance; }
/* each word of the heading goes quiet as its thing finds its place */
.one-cap h2 span { transition: color var(--v4-t-slow) var(--v4-ease); }
.one-cap h2 .gone { color: var(--v4-soft); }
.one-cap .kick { justify-content: center; margin-block-end: var(--v4-3); }
.one-cap .lede { margin-block-start: var(--v4-3); }
.one-cap-2 { margin-block-start: var(--v4-10); }
.cta-one { justify-content: center; margin-block-start: var(--v4-3); }
/* what each thing becomes: a plain list here, one line at a time in the scene */
.one-says { display: grid; gap: var(--v4-0h); margin-block-start: var(--v4-4); font-size: var(--v4-fs-15); line-height: var(--v4-lh-body); color: var(--v4-muted); }
.one-says b { font-weight: var(--v4-w-600); color: var(--v4-ink); }
/* outside beauty and wellness: the menu is the platform's common one (the script shows the label then). In the plain page the label sits once, before the window; in the scene each caption carries its own. */
.one-cap .one-eg { margin-block-start: var(--v4-2); font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); color: var(--v4-muted); }
.one-cap .one-eg[hidden] { display: none; }
.one-cap .one-eg-film { display: none; }
.film .one-cap .one-eg-film:not([hidden]) { display: block; margin-block-start: var(--v4-1); }

/* ---------- the pile ---------- */
.one-pile { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; align-items: center; gap: calc(var(--v5-u) * 2.6) calc(var(--v5-u) * 3); font-size: var(--v5-u); line-height: 1.2; }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 600px) {
  .one-pile { grid-template-columns: repeat(3, auto); }
}
/* a paper's shadow parts from it and softens as it lifts (--lift runs from 0 on the table to 1 at the top of its flight).
   The expression lives on the paper itself, so that it is worked out with the paper's own --lift. */
.pap { --v5-shadow-paper: 0 1px 1px rgb(40 32 12 / .07), 0 calc(0.7em + var(--lift, 0) * 2.6em) calc(1.6em + var(--lift, 0) * 3.4em) calc(-0.75em + var(--lift, 0) * 0.3em) rgb(40 32 12 / calc(0.3 - var(--lift, 0) * 0.1)); position: relative; justify-self: center; transform: rotate(calc(var(--r, 0) * 1deg)); color: var(--v4-ink-2); box-shadow: var(--v5-shadow-paper); }
.scr { display: block; block-size: 1em; fill: none; stroke: var(--v5-pen); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.scr.red { stroke: var(--v5-pen-red); }
.scr.pencil { stroke: var(--v5-pencil); stroke-width: 0.85; }
.scr.marker { stroke: var(--v4-ink); stroke-width: 2.1; }

/* the diary, in ballpoint: the Wednesday of the window, one written line for each booking */
.pap-agenda { inline-size: 15em; padding: 1.1em 1em 1.3em 2.1em; border-radius: 0.3em 0.7em 0.7em 0.3em; background: linear-gradient(90deg, var(--v5-cream-2) 0 1.5em, var(--v5-cream) 1.5em) var(--v5-cream); }
.pap-agenda::before { content: ''; position: absolute; inset-block: 1.6em; inset-inline-start: 0.5em; inline-size: 0.5em; background: radial-gradient(circle at 50% 50%, var(--v4-paper) 0 0.24em, transparent 0.26em) 0 0 / 0.5em 2.5em repeat-y; }
.ag-day { display: flex; align-items: baseline; justify-content: space-between; padding-block-end: 0.5em; border-block-end: 0.12em solid var(--v5-pen-red); font-size: 0.95em; font-weight: var(--v4-w-600); letter-spacing: 0.04em; text-transform: uppercase; }
.ag-day small { font-size: 0.85em; font-weight: var(--v4-w-500); color: var(--v4-muted); text-transform: none; letter-spacing: 0; }
.ag-rows { display: grid; }
.ag-rows li { display: grid; grid-template-columns: 3em minmax(0, 1fr); align-items: center; block-size: 2.5em; border-block-end: var(--v4-px) solid var(--v5-cream-line); }
.ag-rows time { font-size: 0.8em; font-variant-numeric: tabular-nums; color: var(--v4-muted); }
.ag-rows .scr { block-size: 1em; }
.ag-rows .off .scr { visibility: hidden; }

/* the sticky note, in marker */
.pap-note { inline-size: 8.6em; block-size: 8.6em; padding: 2.1em 1em 1em; display: grid; align-content: start; gap: 0.8em; background: linear-gradient(160deg, var(--v5-sticky), var(--v5-sticky-2)) var(--v5-sticky); border-end-end-radius: 1.6em 0.5em; }
.pap-note::before { content: ''; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 1.2em; background: var(--v5-sticky-2); opacity: 0.6; }
.pap-note .scr { block-size: 1.3em; }
.pap-note b { justify-self: end; font-size: 1.5em; font-weight: var(--v4-w-600); color: var(--v4-ink); transform: rotate(-6deg); }

/* messages nobody answered yet, in the colour of a chat */
.pap-msgs { inline-size: 14.5em; display: grid; justify-items: start; gap: 0.5em; box-shadow: none; }
.pap-msgs li { position: relative; padding: 0.6em 0.9em; border-radius: 1.2em; border-end-start-radius: 0.3em; background: var(--v5-chat); border: var(--v4-px) solid var(--v5-chat-line); box-shadow: var(--v5-shadow-paper); font-size: 0.86em; color: var(--v4-ink); white-space: nowrap; }
.pap-msgs li:nth-child(2) { margin-inline-start: 1.4em; }
.pap-msgs li:nth-child(3) { margin-inline-start: 0.5em; }
.pap-msgs b { position: absolute; inset-block-start: -0.8em; inset-inline-end: -0.9em; display: grid; place-items: center; min-inline-size: 1.9em; block-size: 1.9em; padding-inline: 0.4em; border-radius: var(--v4-r-pill); background: var(--v4-ink); color: var(--v4-paper); font-size: 0.95em; font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; }

/* the customer spreadsheet, in print */
.pap-sheet { inline-size: 17.5em; background: var(--v4-paper); border: var(--v4-px) solid var(--v5-sheet-line); border-radius: 0.2em; overflow: hidden; }
.pap-sheet p { display: grid; grid-template-columns: 1.6em 1.15fr 1.4fr 1fr; }
.pap-sheet p > * { display: flex; align-items: center; block-size: 1.9em; padding-inline: 0.45em; border-inline-end: var(--v4-px) solid var(--v5-sheet-line); border-block-end: var(--v4-px) solid var(--v5-sheet-line); font-size: 0.74em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pap-sheet p > :first-child { justify-content: center; padding: 0; background: var(--v4-panel); color: var(--v4-muted); }
.pap-sheet .head > * { background: var(--v5-sheet-green); color: var(--v4-paper); font-weight: var(--v4-w-600); border-color: var(--v5-sheet-green); }
.pap-sheet .head > :first-child { background: var(--v5-sheet-green); }

/* the notebook with the prices, in pencil */
.pap-book { inline-size: 12em; padding: 1.25em 0.9em 1.3em 2.4em; display: grid; border-radius: 0.3em 0.8em 0.8em 0.3em; background: repeating-linear-gradient(180deg, transparent 0 1.65em, var(--v5-cream-line) 1.65em calc(1.65em + var(--v4-px))) var(--v5-cream); }
.pap-book::before { content: ''; position: absolute; inset-block-start: 1.25em; block-size: calc(1.65em * 6); inset-inline-start: 0.55em; inline-size: 1.1em; background: radial-gradient(circle at 35% 50%, var(--v4-ink-2) 0 0.2em, transparent 0.22em) 0 0 / 1.1em 1.65em repeat-y, linear-gradient(90deg, transparent 0.25em, var(--v4-line-strong) 0.25em 0.37em, transparent 0.37em); }
.pap-book li { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.4em; block-size: 1.65em; }
.pap-book .scr { block-size: 1.05em; }
.pap-book b { font-size: 0.82em; font-weight: var(--v4-w-500); font-style: italic; color: var(--v5-pencil); white-space: nowrap; }
/* outside beauty and wellness the notebook is a plain list in the same pencil: a name, and a place or person beside it; no prices */
.pap-book span, .pap-book i { display: none; }
.pap-book.plain { inline-size: 15em; }
.pap-book.plain .scr, .pap-book.plain b { display: none; }
.pap-book.plain span, .pap-book.plain i { display: block; min-inline-size: 0; font-weight: var(--v4-w-500); font-style: italic; color: var(--v5-pencil); white-space: nowrap; }
.pap-book.plain span { font-size: 0.8em; }
.pap-book.plain i { font-size: 0.72em; }
/* outside beauty and wellness the bubbles carry the sector's own questions, some longer: they may take two lines */
.pap-msgs li[hidden] { display: none; }
.pap-msgs.plain li { max-inline-size: 12.5em; white-space: normal; text-wrap: balance; }   /* no wider than the bubbles of beauty and wellness, so the spreadsheet beside it never lies over the words */

/* the hours sheet, printed and taped to the wall, one day corrected in red pen */
.pap-rota { inline-size: 12.5em; padding: 1em 1em 0.9em; background: var(--v4-paper); border: var(--v4-px) solid var(--v4-line); border-radius: 0.2em; }
.pap-rota::before { content: ''; position: absolute; inset-block-start: -0.7em; inset-inline-start: 50%; inline-size: 4.4em; block-size: 1.5em; margin-inline-start: -2.2em; background: var(--v5-tape); transform: rotate(-3deg); }
.rota-t { padding-block-end: 0.45em; margin-block-end: 0.3em; border-block-end: var(--v4-px) solid var(--v4-line-strong); font-size: 0.95em; font-weight: var(--v4-w-600); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.pap-rota li { position: relative; display: grid; grid-template-columns: 2.6em auto minmax(0, 1fr); align-items: center; column-gap: 0.3em; block-size: 1.6em; }
.pap-rota b { font-size: 0.8em; font-weight: var(--v4-w-600); }
.pap-rota li span { font-size: 0.8em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pap-rota .scr { block-size: 0.9em; justify-self: end; }
.pap-rota .fix span { text-decoration: line-through; text-decoration-color: var(--v5-pen-red); color: var(--v4-muted); }

/* ---------- the window: the dashboard on a computer ---------- */
.one-show { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; inline-size: 100%; padding-block-end: var(--v4-10); }
.win { justify-self: start; inline-size: var(--v5-win-w); font-size: calc(var(--v5-win-w) / 72); line-height: 1.3; border-radius: 1.1em; border: var(--v4-px) solid var(--v4-line-strong); background: var(--v4-paper); color: var(--v4-ink); box-shadow: var(--v5-shadow-win); overflow: hidden; }
/* where the window is wider than the screen it runs off to the right, and fades there, so the cut reads as "there is more" */
.win { -webkit-mask-image: linear-gradient(90deg, var(--v4-ink) calc(100vw - 7rem), transparent calc(100vw - 2.6rem)); mask-image: linear-gradient(90deg, var(--v4-ink) calc(100vw - 7rem), transparent calc(100vw - 2.6rem)); }
.win-bar { display: flex; align-items: center; gap: 0.5em; block-size: 2.3em; padding-inline: 1em; border-block-end: var(--v4-px) solid var(--v4-line); background: var(--v4-panel); }
.win-bar i { inline-size: 0.72em; block-size: 0.72em; border-radius: var(--v4-r-pill); background: var(--v4-line-strong); }
.win-body { display: grid; grid-template-columns: 15.5em minmax(0, 1fr); block-size: 38em; }
.side { display: grid; align-content: start; gap: 1em; padding: 1.1em 0.8em; border-inline-end: var(--v4-px) solid var(--v4-line); background: var(--v4-panel); overflow: hidden; }
.who { display: flex; align-items: center; gap: 0.7em; padding-inline: 0.4em; }
.who .logo { font-size: 0.8em; }
.who span { display: grid; min-inline-size: 0; }
.who b { font-size: 1.05em; font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); }
.who small { font-size: 0.82em; color: var(--v4-muted); }
.nav { display: grid; gap: 0.15em; }
.nav li { display: flex; align-items: center; gap: 0.7em; block-size: 2.35em; padding-inline: 0.7em; border-radius: 0.6em; font-size: 0.95em; color: var(--v4-ink-2); white-space: nowrap; }
.nav .icon, .nav .mark-orb { flex: none; inline-size: 1.25em; block-size: 1.25em; }
.nav li.on { background: var(--brand-wash); color: var(--brand); font-weight: var(--v4-w-600); }
.nav li b { display: grid; place-items: center; min-inline-size: 1.7em; block-size: 1.7em; margin-inline-start: auto; border-radius: var(--v4-r-pill); background: var(--brand); color: var(--v4-paper); font-size: 0.78em; font-weight: var(--v4-w-600); }
.nav .group { block-size: 2em; margin-block-start: 0.6em; font-size: 0.74em; font-weight: var(--v4-w-600); letter-spacing: 0.06em; text-transform: uppercase; color: var(--v4-muted); }
.view { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 1em; padding: 1.4em 1.6em 0; min-inline-size: 0; }
.view-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.view-head b { font-size: 1.7em; font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-tight); }
.w-btn { display: inline-flex; align-items: center; block-size: 2.5em; padding-inline: 1em; border-radius: 0.7em; background: var(--brand); color: var(--v4-paper); font-size: 0.92em; font-weight: var(--v4-w-600); white-space: nowrap; }
.view-tools { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.seg5 { display: flex; gap: 0.15em; padding: 0.22em; border-radius: 0.8em; background: var(--v4-panel-2); font-size: 0.9em; }
.seg5 span { padding: 0.42em 0.8em; border-radius: 0.62em; color: var(--v4-muted); white-space: nowrap; }
.seg5 .on { background: var(--v4-paper); color: var(--v4-ink); font-weight: var(--v4-w-550); box-shadow: var(--v4-shadow-tab); }
.w-date { display: flex; align-items: center; gap: 0.5em; font-size: 0.92em; color: var(--v4-ink-2); white-space: nowrap; }
.w-date b { font-weight: var(--v4-w-550); }
.w-date i { margin-inline-start: 0.3em; padding: 0.3em 0.75em; border: var(--v4-px) solid var(--v4-line-strong); border-radius: 0.6em; font-style: normal; }
.w-date .icon { inline-size: 1.15em; block-size: 1.15em; color: var(--v4-muted); }
.wdays { display: grid; align-content: start; min-block-size: var(--v4-0); }
.wday { grid-area: 1 / 1; display: grid; align-content: start; gap: 0.5em; opacity: 0; visibility: hidden; transition: opacity var(--v4-t-base) var(--v4-ease), visibility var(--v4-t-base); }
.one-stage[data-sector="0"] .wday[data-s="0"], .one-stage[data-sector="1"] .wday[data-s="1"], .one-stage[data-sector="2"] .wday[data-s="2"], .one-stage[data-sector="3"] .wday[data-s="3"] { opacity: 1; visibility: visible; }
.wday li { display: grid; grid-template-columns: 4.2em minmax(0, 1.5fr) minmax(0, 1fr) auto; align-items: center; gap: 1em; padding: 0.78em 1em; border: var(--v4-px) solid var(--v4-line); border-radius: 0.8em; background: var(--v4-paper); }
.wday time { font-size: 0.92em; font-variant-numeric: tabular-nums; color: var(--v4-muted); }
.w-what { display: flex; align-items: center; gap: 0.6em; min-inline-size: 0; }
.w-what b { font-weight: var(--v4-w-550); white-space: nowrap; }
.src { padding: 0.12em 0.65em; border-radius: var(--v4-r-pill); border: var(--v4-px) solid var(--brand-line); background: var(--v4-paper); font-style: normal; font-size: 0.78em; font-weight: var(--v4-w-600); color: var(--v4-ink-2); }
.w-who { font-size: 0.95em; color: var(--v4-ink-2); white-space: nowrap; }
.w-st { justify-self: end; padding: 0.2em 0.7em; border-radius: var(--v4-r-pill); background: var(--v4-teal-wash); color: var(--v4-teal-ink); font-size: 0.78em; font-weight: var(--v4-w-550); white-space: nowrap; }
.w-st.wait { background: var(--v4-panel-2); color: var(--v4-ink-2); }
.wday .by { border-color: var(--brand); background: var(--brand-wash); }
.w-dock { display: flex; align-items: center; gap: 0.7em; block-size: 3.3em; margin-inline: -1.6em; padding-inline: 1.6em; border-block-start: var(--v4-px) solid var(--v4-line); background: var(--v4-panel); font-size: 0.95em; color: var(--v4-muted); }

/* ---------- the phone: the same menu, opened as a drawer ---------- */
.mob { position: relative; justify-self: center; margin-block-start: var(--v4-8); inline-size: var(--v5-mob-w); aspect-ratio: 9 / 19.3; padding: 0.68em; border-radius: 3.8em; background: linear-gradient(152deg, var(--v5-device), var(--v5-device-2) 64%) var(--v5-device); box-shadow: inset 0 0 0 var(--v4-px) var(--v5-white-a24), inset 0 0 0 0.2em var(--v5-ink-a45), var(--v5-shadow-win); font-size: calc(var(--v5-mob-w) / 25); line-height: 1.3; color: var(--v4-ink); }
.mob-screen { position: relative; block-size: 100%; border-radius: 3.15em; overflow: hidden; background: var(--v4-paper); isolation: isolate; }
.mob-screen::before { content: ''; position: absolute; z-index: 5; inset-block-start: 0.9em; inset-inline-start: 50%; inline-size: 6.2em; block-size: 1.8em; margin-inline-start: -3.1em; border-radius: var(--v4-r-pill); background: var(--v5-device-2); }
.st-t { margin-inline-end: auto; font-size: 1.15em; font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; line-height: 1; }
/* the clock stands first in this status bar, so the three signal bars are counted among their own kind */
.mob .sig:nth-of-type(1) { block-size: 0.45em; }
.mob .sig:nth-of-type(2) { block-size: 0.7em; }
.mob .sig:nth-of-type(3) { block-size: 0.95em; }
.mob-page { position: absolute; inset: 0; display: grid; align-content: start; gap: 0.9em; padding: 3.6em 1.1em 1em; }
.mob-page::after { content: ''; position: absolute; inset: 0; background: var(--v5-scrim); }
.mob-top { display: flex; align-items: center; gap: 0.6em; font-size: 1.3em; }
.mob-top .icon { inline-size: 1.3em; block-size: 1.3em; }
.mob-top .logo { font-size: 0.56em; }
.mob-top b { font-weight: var(--v4-w-600); }
.mob-title { font-size: 1.75em; font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-tight); }
.mob-row { display: block; block-size: 4.4em; border-radius: 1.1em; border: var(--v4-px) solid var(--v4-line); }
.mob-drawer { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 86%; display: grid; align-content: start; gap: 1em; padding: 3.2em 0.7em 1em; background: var(--v4-panel); box-shadow: var(--v5-shadow-drawer); font-size: 1.45em; }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 984px) {
  /* the window fits whole here, so it stands in the middle and nothing of it fades; the phone stays in the flow, under it */
  .win { justify-self: center; -webkit-mask-image: none; mask-image: none; }
  .mob-drawer { inline-size: 80%; font-size: 1.3em; }
}

/* ---------- the scene: pinned and driven by scroll (html.film) ---------- */
.film .one { block-size: calc((var(--v5-one-len) + 1) * 100svh); }
/* the stage runs the whole width of the screen, past the rails of the page, so the picture can grow with the screen */
.film .one-stage { position: sticky; inset-block-start: 0; display: block; inline-size: 100vw; margin-inline-start: calc(50% - 50vw); block-size: 100svh; padding: var(--v4-0); }
/* until the script has placed its pieces, the picture waits out of sight */
.film .one-stage:not(.set) .one-pile, .film .one-stage:not(.set) .one-show { visibility: hidden; }
.film .one-cap { position: absolute; z-index: 3; inset-inline: var(--v4-gutter); inset-block-start: var(--v4-5); margin: var(--v4-0); }
/* the second caption waits unseen; its link can still be reached with the keyboard, and the scene comes to it when it is focused */
.film .one-cap-2 { opacity: 0; pointer-events: none; }
.film .one-cap-2.on { pointer-events: auto; }
/* one line at a time, in one place */
.film .one-says { grid-template-columns: minmax(0, 1fr); margin-block-start: var(--v4-2); }
.film .one-says li { grid-area: 1 / 1; opacity: 0; transition: opacity var(--v4-t-base) var(--v4-ease); }
.film .one-says li.on { opacity: 1; }
.film .one-pile { position: absolute; z-index: 2; inset: 0; display: block; perspective: 48rem; perspective-origin: 50% 42%; pointer-events: none; }
.film .pap { position: absolute; inset-inline-start: 0; inset-block-start: 0; transform: none; }
.film .one-show { position: absolute; z-index: 1; inset: 0; display: block; padding: var(--v4-0); }
.film .win, .film .mob { position: absolute; inset-inline: 0 auto; inset-block: 0 auto; margin: var(--v4-0); opacity: 0; transform-origin: 0 0; }
.film .pap { transform-origin: 50% 50%; }
/* the window comes up as an empty shell: its lines wait, faint, and each one lights when its thing is pressed into it */
.film .win .nav li, .film .win .view > * { opacity: 0.16; transition: opacity var(--v4-t-slow) var(--v4-ease); }
.film .win .nav li.lit, .film .win .view > .lit, .film .win.done .nav li, .film .win.done .view > * { opacity: 1; }
.film .win .nav li.lit[data-at] { animation: v5-land var(--v5-t-ping) var(--v4-ease); }
@keyframes v5-land { from { background-color: var(--brand-wash); box-shadow: 0 0 0 0.16em var(--brand-line); } to { background-color: transparent; box-shadow: 0 0 0 0 transparent; } }
.film .one-stage.moving .pap, .film .one-stage.moving .win, .film .one-stage.moving .mob { will-change: transform, opacity; }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 984px) {
  .film .one-cap { inset-block-start: clamp(2rem, 5.5svh, 4rem); }
}

/* finish: thin paper edges retain the existing lift-dependent cast; bindings have a shallow gutter. */
.pap:not(.pap-msgs) { box-shadow: var(--v5-finish-paper-edge), var(--v5-shadow-paper); }
.pap:is(.pap-agenda, .pap-book) { box-shadow: var(--v5-finish-paper-edge), var(--v5-finish-paper-gutter), var(--v5-shadow-paper); }
.pap-rota::before { box-shadow: var(--v5-finish-tape-edge); }

/* finish: the window is one manufactured shell; the app rows remain flat and readable. */
.win { border-color: var(--v5-finish-line); box-shadow: var(--v5-finish-panel-edge), var(--v5-finish-panel-cast); }
.win-bar { background-color: var(--v4-paper); background-image: var(--v5-finish-window-bar); }
.win-bar i { box-shadow: var(--v5-finish-window-dot); }
.w-dock { box-shadow: var(--v5-finish-seam); }

/* finish: the companion handset shares the opening's graphite and glass edge. */
.mob { background: var(--v5-finish-device); box-shadow: var(--v5-finish-device-rim), var(--v5-finish-panel-cast); }
.mob-screen { box-shadow: var(--v5-finish-glass-edge); }

/* finish 2: paper stack edges retain the scripted lift-dependent shadow and original ink backgrounds. */
.pap:not(.pap-msgs) { box-shadow: var(--v5-f2-paper-edge), var(--v5-shadow-paper); }
.pap:is(.pap-agenda, .pap-book) { box-shadow: var(--v5-f2-paper-edge), var(--v5-f2-paper-gutter), var(--v5-shadow-paper); }

/* finish 2: manufactured window lip and satin chrome; app rows stay untouched. */
.win { box-shadow: var(--v5-f2-shell-edge), var(--v5-f2-shell-cast); }
.win-bar { background-color: var(--v4-paper); background-image: var(--v5-f2-window-bar); }
.mob { background: var(--v5-f2-device); box-shadow: var(--v5-f2-device-rim), var(--v5-f2-shell-cast); }

/* Section 3. Static content first, three-screen scroll enhancement second.
   All numeric declaration values, including retained handset geometry, are root
   tokens. No keyframe animations: every visual change is a function of scroll. */
:root {
  /* finish quality: a sharp gasket separates the white display from the graphite body. */
  --v5-tour-glass-seat: inset .04em .06em 0 rgb(236 255 251 / .5), inset -.06em -.09em 0 rgb(0 8 10 / .3), inset 0 0 0 .08em rgb(17 36 38 / .14);
  --v5-tour-inline-size-1: 100%;
  --v5-tour-z-index-2: 0;

  --v5-tour-padding-4: 0.68em;
  --v5-tour-border-radius-5: 3.8em;
  --v5-tour-box-shadow-6: inset 0 0 0 var(--v4-px) var(--v4-line-strong);

  --v5-tour-line-height-8: 1.3;
  --v5-tour-z-index-9: -1;
  --v5-tour-inset-10: 0;
  --v5-tour-background-11: linear-gradient(152deg, var(--v5-device), var(--v5-device-2) 64%) var(--v5-device);
  --v5-tour-box-shadow-12: inset 0 0 0 var(--v4-px) var(--v5-white-a24), inset 0 0 0 0.2em var(--v5-ink-a45), var(--v5-shadow-win);

  --v5-tour-grid-template-columns-14: minmax(0, 1fr);
  --v5-tour-grid-template-rows-15: auto auto minmax(0, 1fr) auto;
  --v5-tour-gap-16: 0.7em;
  --v5-tour-block-size-17: 100%;
  --v5-tour-padding-18: 4.2em 1.1em 1em;
  --v5-tour-border-radius-19: 3.15em;
  --v5-tour-z-index-20: 5;
  --v5-tour-inset-block-start-21: 0.9em;
  --v5-tour-inset-inline-start-22: 50%;
  --v5-tour-inline-size-23: 6.2em;
  --v5-tour-block-size-24: 1.8em;
  --v5-tour-margin-inline-start-25: -3.1em;

  --v5-tour-block-size-27: 0.45em;
  --v5-tour-block-size-28: 0.7em;
  --v5-tour-block-size-29: 0.95em;
  --v5-tour-gap-30: 0.7em;
  --v5-tour-font-size-31: 1.3em;
  --v5-tour-inline-size-32: 1.25em;
  --v5-tour-block-size-33: 1.25em;
  --v5-tour-inline-size-34: 1.7em;
  --v5-tour-block-size-35: 1.7em;
  --v5-tour-border-radius-36: 0.5em;
  --v5-tour-inline-size-37: 1em;
  --v5-tour-block-size-38: 1em;
  --v5-tour-grid-template-columns-39: minmax(0, 1fr);
  --v5-tour-min-inline-size-40: 0;
  --v5-tour-grid-template-columns-41: minmax(0, 1fr);
  --v5-tour-gap-42: 0.7em;
  --v5-tour-min-inline-size-43: 0;
  --v5-tour-opacity-44: 1;
  --v5-tour-gap-45: 0.8em;
  --v5-tour-font-size-46: 1.75em;
  --v5-tour-padding-47: 0.5em 0.8em;
  --v5-tour-border-radius-48: 0.8em;
  --v5-tour-font-size-49: 1.15em;
  --v5-tour-grid-template-columns-50: minmax(0, 1fr);
  --v5-tour-grid-area-51: 1 / 1;
  --v5-tour-gap-52: 0.35em;
  --v5-tour-font-size-53: 1.1em;
  --v5-tour-padding-54: 0.25em 0.7em;
  --v5-tour-border-radius-55: 0.7em;
  --v5-tour-inline-size-56: 1.1em;
  --v5-tour-block-size-57: 1.1em;
  --v5-tour-gap-58: 0.5em;
  --v5-tour-padding-59: 0.42em 0.8em;
  --v5-tour-border-radius-60: 0.8em;
  --v5-tour-font-size-61: 1.15em;
  --v5-tour-opacity-62: 0;
  --v5-tour-inline-size-63: 1.1em;
  --v5-tour-block-size-64: 1.1em;
  --v5-tour-opacity-65: 1;
  --v5-tour-opacity-66: 0;
  --v5-tour-grid-template-columns-67: minmax(0, 1fr);
  --v5-tour-grid-area-68: 1 / 1;
  --v5-tour-grid-template-columns-69: minmax(0, 1fr);
  --v5-tour-gap-70: 0.42em;
  --v5-tour-opacity-71: 0;
  --v5-tour-opacity-72: 1;
  --v5-tour-grid-template-columns-73: 3.7em minmax(0, 1fr);
  --v5-tour-column-gap-74: 0.3em;
  --v5-tour-font-size-75: 1.2em;
  --v5-tour-grid-template-columns-76: minmax(0, 1fr);
  --v5-tour-gap-77: 0.12em;
  --v5-tour-min-inline-size-78: 0;
  --v5-tour-padding-79: 0.48em 0.85em;
  --v5-tour-border-radius-80: 1.1em;
  --v5-tour-gap-81: 0.5em;
  --v5-tour-font-size-82: 1.28em;
  --v5-tour-line-height-83: 1.22;
  --v5-tour-font-size-84: 0.86em;
  --v5-tour-gap-85: 0.7em;
  --v5-tour-font-size-86: 1.15em;
  --v5-tour-gap-87: 0.25em;
  --v5-tour-min-inline-size-88: 0;
  --v5-tour-inline-size-89: 1em;
  --v5-tour-block-size-90: 1em;
  --v5-tour-grid-template-columns-91: 2.7em minmax(0, 1fr);
  --v5-tour-inline-size-92: 2.1em;
  --v5-tour-block-size-93: 2.1em;
  --v5-tour-font-size-94: 1.1em;
  --v5-tour-margin-block-start-95: 0.32em;
  --v5-tour-padding-96: 0.16em 0.62em;
  --v5-tour-font-size-97: 1.12em;
  --v5-tour-gap-98: 0.3em;
  --v5-tour-margin-block-start-99: 0.32em;
  --v5-tour-min-inline-size-100: 0;
  --v5-tour-min-inline-size-101: 0;
  --v5-tour-padding-102: 0.12em 0.55em;
  --v5-tour-border-radius-103: 0.55em;
  --v5-tour-font-size-104: 1.05em;
  --v5-tour-line-height-105: 1.3;
  --v5-tour-transform-106: scale(0.96);
  --v5-tour-grid-column-107: 2;
  --v5-tour-grid-row-108: 1;
  --v5-tour-gap-109: 0.6em;
  --v5-tour-min-inline-size-110: 0;
  --v5-tour-padding-111: 0.48em 0.85em;
  --v5-tour-border-radius-112: 1.1em;
  --v5-tour-font-size-113: 1.15em;
  --v5-tour-min-inline-size-114: 0;
  --v5-tour-opacity-115: 0;
  --v5-tour-opacity-116: 1;
  --v5-tour-opacity-117: 0;
  --v5-tour-z-index-118: 6;
  --v5-tour-inset-119: 0;



  --v5-tour-line-height-123: 1.3;
  --v5-tour-border-radius-124: 1.6em;
  --v5-tour-grid-template-rows-125: auto minmax(0, 1fr) auto;
  --v5-tour-gap-126: .5em;
  --v5-tour-padding-127: 1.1em 1.2em .9em;
  --v5-tour-font-size-128: 1.3em;
  --v5-tour-gap-129: .6em;
  --v5-tour-padding-130: 1.1em;
  --v5-tour-max-inline-size-131: 100%;
  --v5-tour-padding-132: .62em .9em;
  --v5-tour-border-radius-133: 1.2em;
  --v5-tour-line-height-134: 1.32;
  --v5-tour-border-end-end-radius-135: .35em;
  --v5-tour-border-end-start-radius-136: .35em;
  --v5-tour-gap-137: .5em;
  --v5-tour-gap-138: .32em;
  --v5-tour-gap-139: .5em;
  --v5-tour-padding-140: .8em 1.1em 1.3em;
  --v5-tour-flex-141: 1 1 auto;
  --v5-tour-min-inline-size-142: 0;
  --v5-tour-padding-143: .55em .9em;
  --v5-tour-border-radius-144: 1.2em;
  --v5-tour-font-size-145: 1.12em;
  --v5-tour-inline-size-146: 2.7em;
  --v5-tour-block-size-147: 2.7em;
  --v5-tour-inline-size-148: 1.3em;
  --v5-tour-block-size-149: 1.3em;
  --v5-tour-grid-template-columns-150: repeat(2, minmax(0, 1fr));
  --v5-tour-max-inline-size-151: 60rem;
  --v5-tour-grid-column-152: 1 / -1;
  --v5-tour-grid-template-rows-153: auto minmax(0, 1fr);
  --v5-tour-inline-size-154: 100%;
  --v5-tour-z-index-155: 4;
  --v5-tour-transform-origin-156: 0 0;
  --v5-tour-z-index-157: 3;
  --v5-tour-grid-area-158: 1 / 1;
  --v5-tour-grid-area-159: 2 / 1;

  --v5-tour-padding-block-start-161: 2.6em;
  --v5-tour-grid-template-columns-162: minmax(0, .85fr) minmax(0, 1.15fr);
  --v5-tour-grid-template-rows-163: minmax(0, 1fr);
  --v5-tour-opacity-164: .55;
  --v5-tour-opacity-165: 1;
  --v5-tour-len: 2;
  --v5-tour-wide-width: clamp(24rem, 58svh, 33rem);
  --v5-tw: min(84vw, 19rem);
  --v5-tour-screen: 100svh;
  --v5-tour-one: 1;
  --v5-tour-zero: 0;
  --v5-tour-column: minmax(0, 1fr);
  --v5-tour-layer: 1 / 1;
  --v5-tour-copy-width: 24ch;
  --v5-tour-guide-room: 88px;
  --v5-tour-body-font: max(15px, 1.22em);
  --v5-tour-copy-font: min(var(--v5-h2), 7.2vw);
  --v5-tour-text-width: min(26rem, 34vw);
  --v5-tour-rail: 78rem;
  --v5-tour-control-size: 40px;
  --v5-tour-disabled: .48;
  --v5-tour-press: .97;
  --v5-tour-wave-height: 2.6em;
  --v5-tour-wave-width: .25em;
  --v5-tour-wave-small: .4;
  --v5-tour-wave-medium: .7;
  --v5-tour-fig-shadow: var(--v5-finish-panel-cast);
  --v5-tour-unit-1: 2.1444;
  --v5-tour-unit-2: 25;
  --v5-tour-unit-3: 100%;
  --v5-tour-unit-4: .9456;
  --v5-tour-unit-5: 25;
  --v5-tour-unit-6: 0;
  --v5-tour-unit-7: 1;
  --v5-tour-unit-8: 100%;
  --v5-tour-unit-9: 0;
  --v5-tour-unit-10: 0;
  --v5-tour-switch: 140ms;
  --v5-tour-fade: 3.5rem;
  --v5-tour-who-size: 1.05em;
  --v5-tour-voice-room: 5.6em;
  --v5-tour-sheet-gap: 12px;
}
.tour { position: relative; font-family: var(--v4-font); }
.tour * { font-family: var(--v4-font); }
.tour-stage { position: relative; display: grid; grid-template-columns: var(--v5-tour-column); gap: var(--v4-8); padding: var(--v4-section) var(--v4-gutter); }
.tour-text { display: grid; justify-items: center; text-align: center; gap: var(--v4-3); }
.tour-text h2 { font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: var(--v5-h2); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); max-inline-size: var(--v5-tour-copy-width); text-wrap: balance; }
.tour-help, .tour-context { font-size: var(--v4-fs-15); line-height: var(--v4-lh-body); color: var(--v4-muted); }
.tour-help { max-inline-size: var(--v5-tour-copy-width); }
.tour-input { display: flex; gap: var(--v4-1); padding: var(--v4-1); border: var(--v4-px) solid var(--v4-line-strong); border-radius: var(--v4-r-pill); background: var(--v4-panel); }
.tour-input button { font: inherit; font-size: var(--v4-fs-15); font-weight: var(--v4-w-550); min-inline-size: var(--v5-tour-control-size); min-block-size: var(--v5-tour-control-size); padding: var(--v4-2) var(--v4-4); border: var(--v4-px) solid transparent; border-radius: var(--v4-r-pill); background: transparent; color: var(--v4-ink-2); cursor: pointer; }
.tour-input button[aria-pressed="true"] { background: var(--v4-paper); border-color: var(--v4-line-strong); color: var(--v4-ink); }
.tour-input button:hover:not(:disabled) { background: var(--v4-panel-2); }
.tour-input button:focus-visible { outline: none; box-shadow: var(--v4-ring); }
.tour-input button:active:not(:disabled) { transform: scale(var(--v5-tour-press)); }
.tour-input button:disabled { opacity: var(--v5-tour-disabled); cursor: default; }
.tour-steps { display: grid; gap: var(--v4-2); }
.tour-say { font-size: var(--v4-fs-15); font-weight: var(--v4-w-550); color: var(--v4-ink-2); }
.tour-examples { display: grid; gap: var(--v4-16); min-inline-size: var(--v4-0); }
.tour-example { --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); position: relative; display: grid; grid-template-columns: var(--v5-tour-column); justify-items: center; gap: var(--v4-6); min-inline-size: var(--v4-0); }
.tour-example[data-s="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.tour-example[data-s="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.tour-example[data-s="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.tour-example[hidden] { display: none; }
.tour-context { display: grid; text-align: center; gap: var(--v4-1); }
.tour-view { display: grid; justify-items: center; inline-size: var(--v5-tour-inline-size-1); }
.tph { position: relative; z-index: var(--v5-tour-z-index-2); inline-size: var(--v5-tw); block-size: calc(var(--v5-tw) * var(--v5-tour-unit-1)); padding: var(--v5-tour-padding-4); border-radius: var(--v5-tour-border-radius-5); background: var(--v4-paper); box-shadow: var(--v5-tour-box-shadow-6); font-size: calc(var(--v5-tw) / var(--v5-tour-unit-2)); line-height: var(--v5-tour-line-height-8); color: var(--v4-ink); text-align: start; }
/* the dark body of the device (--bz: 1 whole, 0 gone; the scene lets it go once the camera is inside the screen) */
.tph::before { content: ''; position: absolute; z-index: var(--v5-tour-z-index-9); inset: var(--v5-tour-inset-10); border-radius: inherit; background: var(--v5-tour-background-11); box-shadow: var(--v5-tour-box-shadow-12); opacity: var(--bz, var(--v5-tour-one)); }
.tph-screen { position: relative; display: grid; grid-template-columns: var(--v5-tour-grid-template-columns-14); grid-template-rows: var(--v5-tour-grid-template-rows-15); gap: var(--v5-tour-gap-16); block-size: var(--v5-tour-block-size-17); padding: var(--v5-tour-padding-18); border-radius: var(--v5-tour-border-radius-19); overflow: hidden; background: var(--v4-paper); isolation: isolate; }
.tph-screen::before { content: ''; position: absolute; z-index: var(--v5-tour-z-index-20); inset-block-start: var(--v5-tour-inset-block-start-21); inset-inline-start: var(--v5-tour-inset-inline-start-22); inline-size: var(--v5-tour-inline-size-23); block-size: var(--v5-tour-block-size-24); margin-inline-start: var(--v5-tour-margin-inline-start-25); border-radius: var(--v4-r-pill); background: var(--v5-device-2); opacity: var(--bz, var(--v5-tour-one)); }
/* the clock stands first in this status bar, so the three signal bars are counted among their own kind */
.tph .sig:nth-of-type(1) { block-size: var(--v5-tour-block-size-27); }
.tph .sig:nth-of-type(2) { block-size: var(--v5-tour-block-size-28); }
.tph .sig:nth-of-type(3) { block-size: var(--v5-tour-block-size-29); }
.tp-bar { display: flex; align-items: center; gap: var(--v5-tour-gap-30); font-size: var(--v5-tour-font-size-31); }
.tp-bar .icon { flex: none; inline-size: var(--v5-tour-inline-size-32); block-size: var(--v5-tour-block-size-33); color: var(--v4-ink-2); }
.tp-bar b { margin-inline-end: auto; font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); }
.tp-logo { display: grid; place-items: center; flex: none; inline-size: var(--v5-tour-inline-size-34); block-size: var(--v5-tour-block-size-35); border-radius: var(--v5-tour-border-radius-36); background: var(--brand); color: var(--v4-paper); transition: background-color var(--v4-t-base) var(--v4-ease); }
.tp-bar .tp-logo .icon { display: none; inline-size: var(--v5-tour-inline-size-37); block-size: var(--v5-tour-block-size-38); color: inherit; }
.tour-stage[data-sector="0"] .tp-logo [data-s="0"], .tour-stage[data-sector="1"] .tp-logo [data-s="1"], .tour-stage[data-sector="2"] .tp-logo [data-s="2"], .tour-stage[data-sector="3"] .tp-logo [data-s="3"] { display: block; }
/* what stands above the list (the screen's title, its views, the date): one per sector, the chosen one shown */
.tp-tops { display: grid; grid-template-columns: var(--v5-tour-grid-template-columns-39); min-inline-size: var(--v5-tour-min-inline-size-40); }
.tp-top { display: none; grid-template-columns: var(--v5-tour-grid-template-columns-41); gap: var(--v5-tour-gap-42); min-inline-size: var(--v5-tour-min-inline-size-43); }
.tour-stage[data-sector="0"] .tp-top[data-s="0"], .tour-stage[data-sector="1"] .tp-top[data-s="1"], .tour-stage[data-sector="2"] .tp-top[data-s="2"], .tour-stage[data-sector="3"] .tp-top[data-s="3"] { display: grid; }
/* the views of the screen: one row per sector already, so the opening's stacking of its own rows is undone here */
.tp-top .seg { grid-area: auto; opacity: var(--v5-tour-opacity-44); visibility: visible; }
.tp-head { display: flex; align-items: center; justify-content: space-between; gap: var(--v5-tour-gap-45); }
.tp-head b { font-size: var(--v5-tour-font-size-46); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-tight); }
.tp-add { padding: var(--v5-tour-padding-47); border-radius: var(--v5-tour-border-radius-48); background: var(--brand); color: var(--v4-paper); font-size: var(--v5-tour-font-size-49); font-weight: var(--v4-w-600); white-space: nowrap; transition: background-color var(--v4-t-base) var(--v4-ease); }
.tp-line { display: grid; grid-template-columns: var(--v5-tour-grid-template-columns-50); align-items: center; }
.tp-date, .tp-ok { grid-area: var(--v5-tour-grid-area-51); }
.tp-date { display: flex; align-items: center; gap: var(--v5-tour-gap-52); font-size: var(--v5-tour-font-size-53); color: var(--v4-ink-2); white-space: nowrap; transition: opacity var(--v4-t-base) var(--v4-ease); }
.tp-date b { font-weight: var(--v4-w-550); }
.tp-date i { margin-inline-start: auto; padding: var(--v5-tour-padding-54); border: var(--v4-px) solid var(--v4-line-strong); border-radius: var(--v5-tour-border-radius-55); font-style: normal; }
.tp-date .icon { inline-size: var(--v5-tour-inline-size-56); block-size: var(--v5-tour-block-size-57); color: var(--v4-muted); }
/* what the page says after a change is saved: it takes the place of the date line for a moment */
.tp-ok { display: flex; align-items: center; gap: var(--v5-tour-gap-58); padding: var(--v5-tour-padding-59); border-radius: var(--v5-tour-border-radius-60); background: var(--v4-teal-wash); color: var(--v4-teal-ink); font-size: var(--v5-tour-font-size-61); font-weight: var(--v4-w-550); white-space: nowrap; opacity: var(--v5-tour-opacity-62); visibility: hidden; transition: opacity var(--v4-t-base) var(--v4-ease), visibility var(--v4-t-base); }
.tp-ok .icon { inline-size: var(--v5-tour-inline-size-63); block-size: var(--v5-tour-block-size-64); }
.tph[data-ok="new"] .tp-ok[data-ok="new"], .tph[data-ok="move"] .tp-ok[data-ok="move"] { opacity: var(--v5-tour-opacity-65); visibility: visible; }
.tph[data-ok] .tp-date { opacity: var(--v5-tour-opacity-66); }
.tp-days { display: grid; grid-template-columns: var(--v5-tour-grid-template-columns-67); align-content: start; min-block-size: var(--v4-0); overflow: hidden; }
.tp-day { grid-area: var(--v5-tour-grid-area-68); display: grid; grid-template-columns: var(--v5-tour-grid-template-columns-69); align-content: start; gap: var(--v5-tour-gap-70); opacity: var(--v5-tour-opacity-71); visibility: hidden; transition: opacity var(--v4-t-base) var(--v4-ease), visibility var(--v4-t-base); }
.tour-stage[data-sector="0"] .tp-day[data-s="0"], .tour-stage[data-sector="1"] .tp-day[data-s="1"], .tour-stage[data-sector="2"] .tp-day[data-s="2"], .tour-stage[data-sector="3"] .tp-day[data-s="3"] { opacity: var(--v5-tour-opacity-72); visibility: visible; }
.tp-day li { display: grid; grid-template-columns: var(--v5-tour-grid-template-columns-73); align-items: center; column-gap: var(--v5-tour-column-gap-74); }
.tp-day time { font-size: var(--v5-tour-font-size-75); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--v4-muted); }
.tp-appt { display: grid; grid-template-columns: var(--v5-tour-grid-template-columns-76); gap: var(--v5-tour-gap-77); min-inline-size: var(--v5-tour-min-inline-size-78); padding: var(--v5-tour-padding-79); border-radius: var(--v5-tour-border-radius-80); border: var(--v4-px) solid var(--v4-line); background: var(--v4-paper); }
.tp-appt b { display: flex; align-items: center; gap: var(--v5-tour-gap-81); font-size: var(--v5-tour-font-size-82); line-height: var(--v5-tour-line-height-83); font-weight: var(--v4-w-550); white-space: nowrap; }
.tp-appt .tag-by { font-size: var(--v5-tour-font-size-84); }
.tp-appt small { display: flex; align-items: center; gap: var(--v5-tour-gap-85); font-size: var(--v5-tour-font-size-86); color: var(--v4-muted); white-space: nowrap; }
.tp-with { display: inline-flex; align-items: center; gap: var(--v5-tour-gap-87); min-inline-size: var(--v5-tour-min-inline-size-88); font-style: normal; }
.tp-with .icon { flex: none; inline-size: var(--v5-tour-inline-size-89); block-size: var(--v5-tour-block-size-90); }
/* the other sectors' lists: an event with its time, a stop with its number, a project with its customer's initial;
   the state the list shows stands on its own line under the row's words */
.tp-date-o { grid-area: auto; white-space: normal; text-wrap: balance; }
.tp-day-o.lead-num li, .tp-day-o.lead-av li { grid-template-columns: var(--v5-tour-grid-template-columns-91); }
.tp-lead { display: grid; place-items: center; inline-size: var(--v5-tour-inline-size-92); block-size: var(--v5-tour-block-size-93); border-radius: var(--v4-r-pill); font-style: normal; font-size: var(--v5-tour-font-size-94); font-weight: var(--v4-w-600); }
.lead-num .tp-lead { background: var(--brand); color: var(--v4-paper); }
.lead-av .tp-lead { border: var(--v4-px) solid var(--brand-line); background: var(--brand-wash); color: var(--v4-ink-2); }
.tp-day-o .tp-appt { transition: transform var(--v4-t-fast) var(--v4-ease); }
.tp-day-o .tp-appt small { white-space: normal; }
.tp-tag { justify-self: start; margin-block-start: var(--v5-tour-margin-block-start-95); padding: var(--v5-tour-padding-96); border-radius: var(--v4-r-pill); border: var(--v4-px) solid var(--brand-line); background: var(--v4-paper); font-size: var(--v5-tour-font-size-97); font-weight: var(--v4-w-600); color: var(--v4-ink-2); white-space: nowrap; transition: transform var(--v4-t-fast) var(--v4-ease); }
.tp-tag.done { border-color: var(--v4-teal-wash); background: var(--v4-teal-wash); color: var(--v4-teal-ink); }
/* several states a row carries at once (an event and its report; a stop's visit, delivery and count): small plain
   marks that wrap; a mark longer than the row breaks between its words */
.tp-tags { display: flex; flex-wrap: wrap; gap: var(--v5-tour-gap-98); margin-block-start: var(--v5-tour-margin-block-start-99); min-inline-size: var(--v5-tour-min-inline-size-100); }
.tp-tags .tp-tag { min-inline-size: var(--v5-tour-min-inline-size-101); margin-block-start: var(--v4-0); padding: var(--v5-tour-padding-102); border-radius: var(--v5-tour-border-radius-103); font-size: var(--v5-tour-font-size-104); font-weight: var(--v4-w-500); line-height: var(--v5-tour-line-height-105); white-space: normal; }
.tp-day-o .press { transform: var(--v5-tour-transform-106); }
/* the free slot: one grey row, and in the same place the booking it becomes */
.tp-free .tp-slot, .tp-free .tp-appt { grid-column: var(--v5-tour-grid-column-107); grid-row: var(--v5-tour-grid-row-108); }
.tp-slot { display: flex; align-items: center; justify-content: space-between; gap: var(--v5-tour-gap-109); min-inline-size: var(--v5-tour-min-inline-size-110); padding: var(--v5-tour-padding-111); border-radius: var(--v5-tour-border-radius-112); border: var(--v4-px) dashed var(--v4-line-strong); background: var(--v4-panel); font-size: var(--v5-tour-font-size-113); color: var(--v4-muted); transition: opacity var(--v4-t-base) var(--v4-ease), visibility var(--v4-t-base); }
.tp-slot span { display: grid; min-inline-size: var(--v5-tour-min-inline-size-114); white-space: nowrap; }
.tp-slot .tp-with { overflow: hidden; text-overflow: ellipsis; }
.tp-slot em { flex: none; font-style: normal; font-weight: var(--v4-w-600); color: var(--brand); white-space: nowrap; }
.tp-free .tp-appt { opacity: var(--v5-tour-opacity-115); visibility: hidden; transition: opacity var(--v4-t-base) var(--v4-ease), visibility var(--v4-t-base); }
.tph.made .tp-free .tp-appt { opacity: var(--v5-tour-opacity-116); visibility: visible; }
.tph.made .tp-free .tp-slot { opacity: var(--v5-tour-opacity-117); visibility: hidden; }
/* the page goes quiet behind whatever stands over it */
.tp-scrim { position: absolute; z-index: var(--v5-tour-z-index-118); inset: var(--v5-tour-inset-119); background: var(--v5-scrim); opacity: var(--dim, var(--v5-tour-zero)); pointer-events: none; }


.tour .tp-top { display: grid; }
.tour .tp-logo .icon { display: block; }
.tour .tp-day { opacity: var(--v5-tour-one); visibility: visible; transition: none; }
.tour .tp-before, .tour .tp-after { display: grid; grid-area: auto; }
.tour .tp-date-after { grid-area: auto; white-space: normal; }
.tour .tp-date-before { white-space: normal; }
.tour .tph { block-size: auto; min-block-size: calc(var(--v5-tw) * var(--v5-tour-unit-1)); }
.tour .tph-screen { block-size: auto; min-block-size: calc(var(--v5-tw) * var(--v5-tour-unit-1)); }
.tour .tp-days { gap: var(--v4-4); }
.tour .tp-day-o .tp-appt b, .tour .tp-after .tp-appt small { white-space: normal; flex-wrap: wrap; }
.tour [data-result-record] .tp-appt { border-color: var(--brand-line); background: var(--brand-wash); }
.tour .tp-days { overflow: visible; }
.tph::before { background: var(--v5-f2-device); box-shadow: var(--v5-f2-device-rim), var(--v5-f2-shell-cast); }
/* finish quality: perimeter-only relief, with no reflection over appointment text. */
.tph-screen { box-shadow: var(--v5-tour-glass-seat); }
.tour-fig { position: relative; inline-size: min(var(--v5-tour-unit-3), calc(var(--v5-tw) * var(--v5-tour-unit-4))); font-size: calc(var(--v5-tw) / var(--v5-tour-unit-5)); line-height: var(--v5-tour-line-height-123); text-align: start; color: var(--v4-ink); background: var(--v4-paper); border: var(--v4-px) solid var(--v4-line); border-radius: var(--v5-tour-border-radius-124); box-shadow: var(--v5-tour-fig-shadow); }
.fig-ask { display: grid; grid-template-columns: var(--v5-tour-column); grid-template-rows: var(--v5-tour-grid-template-rows-125); }
.tf-t { display: flex; align-items: center; gap: var(--v5-tour-gap-126); padding: var(--v5-tour-padding-127); font-size: var(--v5-tour-font-size-128); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); }
.tf-talk { position: relative; display: grid; align-content: end; gap: var(--v5-tour-gap-129); padding: var(--v5-tour-padding-130); }
.tf-b, .tf-field { max-inline-size: var(--v5-tour-max-inline-size-131); padding: var(--v5-tour-padding-132); border-radius: var(--v5-tour-border-radius-133); font-size: var(--v5-tour-body-font); line-height: var(--v5-tour-line-height-134); overflow-wrap: break-word; }
.tf-turn { display: grid; justify-items: end; gap: var(--v5-tour-gap-138); justify-self: end; max-inline-size: var(--v5-tour-max-inline-size-131); min-inline-size: var(--v5-tour-min-inline-size-142); }
.tf-who { font-size: var(--v5-tour-who-size); font-weight: var(--v4-w-600); color: var(--v4-muted); letter-spacing: var(--v4-track-snug); }
.tf-b.q { justify-self: end; border-end-end-radius: var(--v5-tour-border-end-end-radius-135); background: var(--brand); color: var(--v4-paper); }
.tf-b.a { justify-self: start; border-end-start-radius: var(--v5-tour-border-end-start-radius-136); border: var(--v4-px) solid var(--v4-line); background: var(--v4-panel); }
.tf-field { display: none; border: var(--v4-px) solid var(--v4-line-strong); background: var(--v4-paper); }
.tf-voice { display: grid; justify-items: center; gap: var(--v5-tour-gap-137); font-size: var(--v5-tour-body-font); }
.tf-wave { display: flex; align-items: center; justify-content: center; gap: var(--v5-tour-gap-138); block-size: var(--v5-tour-wave-height); }
.tf-wave i { inline-size: var(--v5-tour-wave-width); block-size: var(--v5-tour-wave-height); transform: scaleY(var(--v5-tour-wave-small)); border-radius: var(--v4-r-pill); background: var(--brand); }
.tf-wave i:nth-child(odd) { transform: scaleY(var(--v5-tour-wave-medium)); }
.tf-wave i:nth-child(3n) { transform: none; }
.tf-transcript-label { font-size: var(--v5-tour-body-font); color: var(--v4-ink-2); }
.tf-compose { display: flex; align-items: center; gap: var(--v5-tour-gap-139); padding: var(--v5-tour-padding-140); }
.tf-compose > span { flex: var(--v5-tour-flex-141); min-inline-size: var(--v5-tour-min-inline-size-142); padding: var(--v5-tour-padding-143); border: var(--v4-px) solid var(--v4-line-strong); border-radius: var(--v5-tour-border-radius-144); font-size: var(--v5-tour-font-size-145); color: var(--v4-muted); }
.tf-round { display: grid; place-items: center; flex: none; inline-size: var(--v5-tour-inline-size-146); block-size: var(--v5-tour-block-size-147); border-radius: var(--v4-r-pill); border: var(--v4-px) solid var(--v4-line-strong); color: var(--v4-ink-2); }
.tf-round .icon { inline-size: var(--v5-tour-inline-size-148); block-size: var(--v5-tour-block-size-149); }
.tf-send { background: var(--brand); border-color: var(--brand); color: var(--v4-paper); }
/* Static mode keeps command, transcription label and result in ordinary flow.
   The example switch changes the label emphasis, never removes the content. */
.tour-ready .tour-stage[data-input="written"] .tf-voice { display: none; }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 600px) {
  :root { --v5-tw: min(54vw, 25rem); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  :root { --v5-tw: 19rem; }
  .tour-example { grid-template-columns: var(--v5-tour-grid-template-columns-150); align-items: center; max-inline-size: var(--v5-tour-max-inline-size-151); margin-inline: auto; }
  .tour-context { grid-column: var(--v5-tour-grid-column-152); }
}
/* The 2-screen pinned travel plus its 1-screen stage totals 3 screens. */
.film .tour.tour-ready { block-size: calc((var(--v5-tour-len) + var(--v5-tour-one)) * var(--v5-tour-screen)); }
.film .tour-ready .tour-stage { position: sticky; inset-block-start: var(--v4-0); block-size: var(--v5-tour-screen); padding: var(--v4-5) var(--v4-gutter) var(--v5-tour-guide-room); gap: var(--v4-3); grid-template-rows: var(--v5-tour-grid-template-rows-153); overflow: clip; }
.film .tour-ready .tour-text h2 { font-size: var(--v5-tour-copy-font); }
.film .tour-ready .tour-text { gap: var(--v4-2); }
.film .tour-ready .tour-steps { inline-size: var(--v5-tour-inline-size-154); }
.film .tour-ready .tour-steps li { grid-area: var(--v5-tour-layer); visibility: hidden; }
.film .tour-ready .tour-steps li.on { visibility: visible; }
.film .tour-ready .tour-examples { position: relative; min-block-size: var(--v4-0); }
.film .tour-ready .tour-example { position: absolute; inset: var(--v4-0); display: block; max-inline-size: none; margin: var(--v4-0); }
.film .tour-ready .tour-example[hidden] { display: none; }
.film .tour-ready .tour-context { position: absolute; inset-inline: var(--v4-0); inset-block-end: var(--v4-0); z-index: var(--v5-tour-z-index-155); background: var(--v4-paper); padding: var(--v4-1); }
.film .tour-ready .tour-view { position: absolute; inset: var(--v4-0); overflow: clip; display: block; pointer-events: none; }
.film .tour-ready .tph, .film .tour-ready .tour-fig { position: absolute; inset-block-start: var(--v4-0); inset-inline-start: var(--v4-0); transform-origin: var(--v5-tour-transform-origin-156); margin: var(--v4-0); }
.film .tour-ready .tour-fig { z-index: var(--v5-tour-z-index-157); }
.film .tour-ready .tph { block-size: calc(var(--v5-tw) * var(--v5-tour-unit-1)); min-block-size: var(--v4-0); }
.film .tour-ready .tph-screen { block-size: var(--v5-tour-block-size-17); min-block-size: var(--v4-0); }
.film .tour-ready .tp-days { gap: var(--v5-tour-gap-16); }
.film .tour-ready .tp-before { display: grid; grid-area: var(--v5-tour-layer); }
.film .tour-ready .tp-after { display: none; }
.film .tour-ready .tp-date-before { display: flex; }
.film .tour-ready .tp-date-after { display: none; }
.film .tour-ready .has-result .tp-before, .film .tour-ready .has-result .tp-date-before { display: none; }
.film .tour-ready .has-result .tp-after { display: grid; grid-area: var(--v5-tour-grid-area-159); }
.film .tour-ready .has-result .tp-date-after { display: flex; grid-area: var(--v5-tour-layer); }
.film .tour-ready .tf-talk { grid-template-rows: auto auto; }
.film .tour-ready .tf-turn { grid-area: var(--v5-tour-grid-area-158); justify-self: stretch; }
.film .tour-ready .tf-turn .tf-field, .film .tour-ready .tf-turn .tf-b.q { grid-area: var(--v5-tour-grid-area-159); }
.film .tour-ready .tf-turn .tf-field { justify-self: stretch; }
.film .tour-ready .tf-who { visibility: hidden; }
.film .tour-ready .tf-b.a { grid-area: var(--v5-tour-grid-area-159); }
.film .tour-ready .tf-field { display: block; visibility: hidden; }
.film .tour-ready .tf-b { visibility: hidden; }
.film .tour-ready .tf-voice { position: absolute; inset-inline: var(--v4-4); inset-block-start: var(--v4-3); align-content: start; display: grid; visibility: hidden; }
.film .tour-ready .tf-transcript-label { position: absolute; inset-inline: var(--v4-4); inset-block-start: var(--v4-0); visibility: hidden; }
/* the whole command stands in the sheet from the moment it opens, as a quiet draft; the scroll then sends it */
.film .tour-ready :is([data-phase="open"], [data-phase="recording"], [data-phase="text"]) .tf-field { visibility: visible; color: var(--v4-ink-2); background: var(--v4-panel); border-style: dashed; }
.film .tour-ready :is([data-phase="open"], [data-phase="recording"], [data-phase="text"], [data-phase="sent"], [data-phase="reply"]) .tf-who { visibility: visible; }
.film .tour-ready .tour-stage[data-input="spoken"] :is([data-phase="open"], [data-phase="recording"]) .tf-voice { visibility: visible; }
.film .tour-ready .tour-stage[data-input="spoken"] :is([data-phase="open"], [data-phase="recording"], [data-phase="text"]) .tf-talk { padding-block-start: var(--v5-tour-voice-room); }
.film .tour-ready .tour-stage[data-input="spoken"] [data-phase="text"] .tf-transcript-label { visibility: visible; inset-block-start: var(--v4-3); }
.film .tour-ready .tour-stage[data-input="spoken"] :is([data-phase="open"], [data-phase="recording"]) .tf-transcript-label { visibility: hidden; }
/* one line less on the phone: the transcription note shows only for the spoken example */
.tour-ready .tour-stage[data-input="written"] .tour-help { display: none; }
.film .tour-ready [data-phase="sent"] .tf-b.q, .film .tour-ready [data-phase="reply"] .tf-b.q, .film .tour-ready [data-phase="reply"] .tf-b.a { visibility: visible; }
/* Layers switch whole, never by fractions of the scroll: the sheet, the dimming and the device body each have two
   states and a short transition between them, so any scroll stop shows one complete picture. */
.film .tour-ready .tour-fig { opacity: var(--v5-tour-zero); visibility: hidden; transition: opacity var(--v5-tour-switch) var(--v4-ease), visibility var(--v5-tour-switch); }
.film .tour-ready .tour-fig.on { opacity: var(--v5-tour-one); visibility: visible; }
.film .tour-ready .tp-scrim { opacity: var(--v5-tour-zero); transition: opacity var(--v5-tour-switch) var(--v4-ease); }
.film .tour-ready .tph.dim .tp-scrim { opacity: var(--v5-tour-one); }
/* on a narrow screen the handset stands at full width and rises from the bottom edge of the window: its only cut is the window's own edge */
.film .tour-ready .tour-view { inset-block-end: var(--tv-ctx, var(--v4-0)); }
.film .tour-ready .tour-examples { margin-block-end: calc(-1 * var(--v5-tour-guide-room)); }
.film .tour-ready .tour-context { display: none; }
/* on a narrow screen the example's context is not shown beside the handset: its one line (what the example needs) sits under the switch, for the chosen sector only */
.tour-needs { display: none; font-size: var(--v4-fs-15); line-height: var(--v4-lh-body); color: var(--v4-muted); max-inline-size: 100%; overflow-wrap: anywhere; text-wrap: balance; }
.film .tour-ready .tour-stage[data-sector="0"] .tour-needs[data-s="0"], .film .tour-ready .tour-stage[data-sector="1"] .tour-needs[data-s="1"], .film .tour-ready .tour-stage[data-sector="2"] .tour-needs[data-s="2"], .film .tour-ready .tour-stage[data-sector="3"] .tour-needs[data-s="3"] { display: block; }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  .film .tour-ready .tour-examples { margin-block-end: var(--v4-0); }
  .film .tour-ready .tour-context { display: grid; }
  .film .tour-ready .tour-stage[data-sector="0"] .tour-needs[data-s="0"], .film .tour-ready .tour-stage[data-sector="1"] .tour-needs[data-s="1"], .film .tour-ready .tour-stage[data-sector="2"] .tour-needs[data-s="2"], .film .tour-ready .tour-stage[data-sector="3"] .tour-needs[data-s="3"] { display: none; }
  .film .tour-ready { --v5-tw: var(--v5-tour-wide-width); }
  .film .tour-ready .tour-stage { grid-template-columns: var(--v5-tour-grid-template-columns-162); grid-template-rows: var(--v5-tour-grid-template-rows-163); align-items: center; max-inline-size: var(--v5-tour-rail); margin-inline: auto; padding-block-start: var(--v4-8); gap: var(--v4-10); }
  .film .tour-ready .tour-text { justify-items: start; text-align: start; gap: var(--v4-4); }
  .film .tour-ready .tour-text h2 { font-size: var(--v5-h2); }
  .film .tour-ready .tour-examples { align-self: stretch; }
}

/* Home v5, final design. Section 4: «Εσύ βάζεις τους κανόνες».
   A demonstration the visitor works with their own hands, on one surface. Its main object is a board: two rails,
   one per person, each holding four time tiles. A rule sits beside the rail of the person it takes out, and one
   line runs from its switch through the person's name to the rail, so cause and consequence are one row (and, on a
   phone, one tap apart). A tile is a white flap when that start is free, a bare slot with the time struck through
   when it is not, and when a rule takes the person out the flaps turn away and one plate with the reason covers
   the rail. The customer's question (a button brings the next one) and one example of the reply are on the same
   surface; the times the reply offers are the flaps that take the business's colour, and they travel into the
   sentence. Mobile is the base. Without the script the section is a picture of one state (the controls are
   disabled in the markup and the script enables them). With reduced motion every change is immediate.
   The other three sectors (data-kind="rails", set by the script) show their own thing, not appointments: one
   question, two switches, each beside a rail of 2, 4 or 8 tiles that it lights. A lit tile takes the business's
   colour, an unlit one is a bare slot, a struck one is a slot with its text struck through (the exception of the
   routes sector, only while both switches are on), a past one is a hatched slot (routes: the days before the example's
   today). Their tiles hold words and dates, so a rail stands under its switch until the surface is wide
   enough for the switch, the line and a rail of eight to share one row. */

:root {
  /* finish 2: enamel glints in empty top margins; the type keeps its original flat backing. */
  --v5-f2-board-glint: linear-gradient(100deg, transparent 1%, #FFFFFF 16%, #FFFFFF 40%, rgb(120 153 147 / .36) 56%, transparent 83%);
  --v5-f2-board-glint-inset: .14rem .8rem auto;
  --v5-f2-board-glint-h: .16rem;
  --v5-f2-rail-seat: inset 0 2px 3px rgb(17 36 38 / .17), inset 0 -1px 0 rgb(255 255 255 / .96);
  --v5-f2-flap: inset 1px 2px 0 rgb(255 255 255 / 1), inset -1px -2px 0 rgb(17 36 38 / .12), 0 2px 1px rgb(17 36 38 / .2), 1px 4px 5px -3px rgb(17 36 38 / .23);
  --v5-f2-tile-glint: linear-gradient(100deg, transparent, #FFFFFF 22%, #FFFFFF 48%, rgb(175 197 190 / .4) 70%, transparent);
  --v5-f2-tile-glint-inset: .12rem .18rem auto;
  --v5-f2-tile-glint-h: .18rem;
  /* finish: moulded flaps, recessed tracks and ceramic switch caps. */
  --v5-finish-flap: inset 0 1px 0 rgb(255 255 255 / .9), 0 1px 1px rgb(17 36 38 / .13), 1px 3px 4px -3px rgb(17 36 38 / .24);
  --v5-finish-switch-cap: linear-gradient(135deg, rgb(255 255 255 / .24), rgb(255 255 255 / 0) 42%, rgb(17 36 38 / .12));
  --v5-finish-switch-shadow: inset 0 1px 1px rgb(255 255 255 / .34), 1px 2px 3px rgb(17 36 38 / .22);
  --v5-rules-tile: 2.5rem;
  --v5-rules-name: 3.5rem;
  --v5-rules-col: 18.5rem;         /* the rule's own column, where a rule stands beside its rail */
  --v5-rules-wire: 2.5rem;         /* the first stretch of the line that joins them */
  --v5-rules-head: 1.75rem;        /* on the widest layout the board and the conversation share their rows: the head */
  --v5-rules-row: 6.75rem;         /* and the two rows */
  --v5-rules-turn: 30rem;          /* the distance a tile is seen from while it turns over */
  --v5-rules-far: 75rem;           /* the distance the whole surface is seen from as it passes with the scroll */
  --v5-rules-lift: 2.5rem;         /* how far the two messages stand off the surface while it leans */
  --v5-shadow-desk: 0 1px 2px rgb(13 30 30 / .05), 0 34px 70px -38px rgb(13 30 30 / .34);
  --v5-shadow-rail: inset 0 1px 2px rgb(13 30 30 / .08);
  --v5-shadow-flap: 0 1px 0 rgb(13 30 30 / .12);
  --v5-rules-sw-w: 2.75rem;
  --v5-rules-sw-h: 1.625rem;
  --v5-rules-knob: 1.125rem;
  --v5-t-fly: 420ms;
  --v5-t-dot: 900ms;
  --v5-t-hit: 1100ms;
  --v5-t-none: 0ms;                /* a switch with no duration (visibility), delayed until a movement is over */
  --v5-rules-rail: 7rem;           /* the label column of a rail of words or dates (the other sectors) */
}

/* ---------- the base: the words, then the surface ---------- */
.rules { --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); position: relative; padding: var(--v4-section) var(--v4-gutter); border-block-start: var(--v4-px) solid var(--v4-line); }
.rules[data-sector="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.rules[data-sector="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.rules[data-sector="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.rules-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.rules-text { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: var(--v4-3); margin-block-end: var(--v4-7); }
.rules-text h2 { font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: var(--v5-h2); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); max-inline-size: 12ch; text-wrap: balance; }
.rules-lede { max-inline-size: 30ch; font-size: var(--v4-fs-17); line-height: var(--v4-lh-body); color: var(--v4-muted); text-wrap: pretty; }
.rules-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: var(--v4-4); row-gap: var(--v4-1h); margin-block-start: var(--v4-2h); padding-inline: var(--v4-2); }
/* the other sectors: one small line under the board, what the demonstration does not do */
.rules-note { flex: 1 1 16rem; max-inline-size: 60ch; font-size: var(--v4-fs-13); line-height: var(--v4-lh-body); color: var(--v4-muted); text-wrap: pretty; }
.rules-note:empty { display: none; }

/* one surface. In reading order on a narrow screen: the customer's question, the board with its rules, the reply.
   (In the document the board comes first, so the Tab key meets the rules and then the button, as the wide layout shows them.) */
.rules-desk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "ask" "board" "reply"; row-gap: var(--v4-3h); padding: var(--v4-3h) var(--v4-3h) var(--v4-4); border-radius: var(--v4-r-xl); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line), var(--v5-shadow-desk); }

/* the customer's side: whose turn it is, the button that brings the next question, the message */
.rules-ask { grid-area: ask; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h h" "q q" "more more"; align-items: center; column-gap: var(--v4-2); row-gap: var(--v4-2); }
.rules-ask-h { grid-area: h; font-size: var(--v4-fs-13); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); white-space: nowrap; }
.rules-more { grid-area: more; justify-self: end; display: flex; align-items: center; column-gap: var(--v4-1h); }
.rules-count { font-size: var(--v4-fs-12); font-weight: var(--v4-w-500); font-variant-numeric: tabular-nums; color: var(--v4-muted); }
.rules-next { display: inline-flex; align-items: center; column-gap: var(--v4-1h); min-block-size: var(--v4-btn-h-sm); padding-inline: var(--v4-2h); border: var(--v4-0); border-radius: var(--v4-r-pill); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); font: inherit; font-size: var(--v4-fs-13); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); white-space: nowrap; cursor: pointer; transition: box-shadow var(--v4-t-fast) var(--v4-ease), transform var(--v4-t-fast) var(--v4-ease), background-color var(--v4-t-fast) var(--v4-ease); }
.rules-next .icon { display: none; flex: none; inline-size: var(--v4-icon-sm); block-size: var(--v4-icon-sm); transition: transform var(--v4-t-slow) var(--v4-ease); }
.rules-next:hover { box-shadow: inset 0 0 0 var(--v4-px) var(--v4-ink); background: var(--v4-panel); }
.rules-next:hover .icon { transform: rotate(90deg); }
.rules-next:focus-visible { outline: none; box-shadow: inset 0 0 0 var(--v4-px) var(--v4-ink), var(--v4-ring); }
.rules-next:active { transform: scale(0.97); }
.rules-next:active .icon { transform: rotate(180deg); }
.rules-next:disabled { opacity: 0.5; pointer-events: none; }
/* the message: quiet, on the customer's side */
.rules-q { grid-area: q; justify-self: end; max-inline-size: 94%; min-block-size: calc(var(--v4-fs-15) * var(--v4-lh-snug) * 2 + var(--v4-2h) * 2); padding: var(--v4-2h) var(--v4-3h); border-radius: var(--v4-r-lg); border-end-end-radius: var(--v4-r-xs); background: var(--v4-panel-2); font-size: var(--v4-fs-15); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-500); color: var(--v4-ink); overflow-wrap: anywhere; text-wrap: pretty; }
.rules-q.pop { animation: v5-rules-pop var(--v4-t-base) var(--v4-ease) both; }
@keyframes v5-rules-pop { 0% { transform: translateY(var(--v4-2)) scale(0.96); opacity: 0.4; } 100% { transform: none; opacity: 1; } }

/* ---------- the board ---------- */
.board { grid-area: board; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-1); }
/* narrow: the day, and the service under it, so the header is as tall for every question */
.board-h { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico day" "svc svc"; align-items: center; column-gap: var(--v4-1h); row-gap: var(--v4-0h); font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); color: var(--v4-muted); }
.board-h .icon { grid-area: ico; inline-size: var(--v4-icon-sm); block-size: var(--v4-icon-sm); }
.board-h b { grid-area: day; font-weight: var(--v4-w-600); color: var(--v4-ink); white-space: nowrap; }
.board-h span { grid-area: svc; }
.board-cap { display: none; grid-area: cap; font-style: normal; font-weight: var(--v4-w-600); color: var(--v4-ink); }

/* a rule and the rail it bears on: one group, lit together for a moment when the rule is switched */
.rule-group { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-1); margin-inline: calc(var(--v4-2) * -1); padding: var(--v4-1h) var(--v4-2); border-radius: var(--v4-r-md); }
.rule-group.hit { animation: v5-rules-hit var(--v5-t-hit) var(--v4-ease) both; }
@keyframes v5-rules-hit { 0%, 30% { background-color: var(--brand-wash); } 100% { background-color: transparent; } }
/* the rule: a sentence and its switch. The input covers the whole rule, so the rule is the target. */
.rule { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--v4-3); min-block-size: var(--v4-btn-h-sm); }
.rule input { position: absolute; inset: var(--v4-0); z-index: 1; inline-size: 100%; block-size: 100%; margin: var(--v4-0); opacity: 0; cursor: pointer; }
.rule-t { font-size: var(--v4-fs-15); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-500); letter-spacing: var(--v4-track-snug); color: var(--v4-ink-2); overflow-wrap: anywhere; transition: color var(--v4-t-fast) var(--v4-ease); }
.rule-sw { position: relative; display: block; inline-size: var(--v5-rules-sw-w); block-size: var(--v5-rules-sw-h); border-radius: var(--v4-r-pill); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-0h) var(--v4-muted); transition: background-color var(--v4-t-base) var(--v4-ease), box-shadow var(--v4-t-base) var(--v4-ease); }
.rule-sw::after { content: ''; position: absolute; inset-block-start: calc((var(--v5-rules-sw-h) - var(--v5-rules-knob)) / 2); inset-inline-start: calc((var(--v5-rules-sw-h) - var(--v5-rules-knob)) / 2); inline-size: var(--v5-rules-knob); block-size: var(--v5-rules-knob); border-radius: var(--v4-r-pill); background: var(--v4-muted); transition: transform var(--v4-t-base) var(--v4-ease), background-color var(--v4-t-base) var(--v4-ease), inline-size var(--v4-t-fast) var(--v4-ease); }
/* on */
.rule input:checked ~ .rule-t { color: var(--v4-ink); }
.rule input:checked ~ .rule-sw { background: var(--brand); box-shadow: inset 0 0 0 var(--v4-0h) var(--brand); }
.rule input:checked ~ .rule-sw::after { transform: translateX(calc(var(--v5-rules-sw-w) - var(--v5-rules-sw-h))); background: var(--v4-paper); }
/* hover, focus, pressed */
.rule input:enabled:hover ~ .rule-t { color: var(--v4-ink); }
.rule input:enabled:hover ~ .rule-sw { box-shadow: inset 0 0 0 var(--v4-0h) var(--v4-ink); }
.rule input:focus-visible ~ .rule-sw { box-shadow: inset 0 0 0 var(--v4-0h) var(--v4-ink), var(--v4-ring); }
.rule input:enabled:active ~ .rule-sw::after { inline-size: calc(var(--v5-rules-knob) + var(--v4-1)); }
.rule input:enabled:checked:active ~ .rule-sw::after { transform: translateX(calc(var(--v5-rules-sw-w) - var(--v5-rules-sw-h) - var(--v4-1))); }
/* without the script the section is a picture: the switches keep their look and stop inviting a touch */
.rule input:disabled { cursor: default; }
.rule-wire { display: none; }

/* a person's rail: the name, then four slots */
.board-row { display: grid; grid-template-columns: var(--v5-rules-name) minmax(0, 1fr); align-items: center; column-gap: var(--v4-2); }
.board-n { display: flex; align-items: center; min-inline-size: 0; font-size: var(--v4-fs-14); font-weight: var(--v4-w-600); color: var(--v4-ink); }
.board-tiles { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); column-gap: var(--v4-1); padding: var(--v4-1); border-radius: var(--v4-r-md); background: var(--v4-panel-2); box-shadow: var(--v5-shadow-rail); overflow: hidden; }
/* a tile has two faces; every change is written on the hidden one and the tile turns over to it */
.tile { position: relative; display: block; block-size: var(--v5-rules-tile); font-style: normal; transform-style: preserve-3d; transform: perspective(var(--v5-rules-turn)) rotateX(calc(var(--turn, 0) * 180deg)); transition: transform var(--v4-t-slow) var(--v4-ease) calc(var(--i, 0) * var(--v4-stagger) * 0.5); }
.tile > b { position: absolute; inset: var(--v4-0); display: grid; place-items: center; border-radius: var(--v4-r-sm); -webkit-backface-visibility: hidden; backface-visibility: hidden; font-size: var(--v4-fs-13); font-weight: var(--v4-w-550); font-variant-numeric: tabular-nums; letter-spacing: var(--v4-track-snug); transition: background-color var(--v4-t-base) var(--v4-ease), color var(--v4-t-base) var(--v4-ease); }
.tile > b + b { transform: rotateX(180deg); }
/* the face that is not in front is hidden outright, from the middle of the turn (when the tile is edge-on) */
.tile > b { transition: background-color var(--v4-t-base) var(--v4-ease), color var(--v4-t-base) var(--v4-ease), visibility var(--v5-t-none) linear calc(var(--v4-t-slow) * 0.42 + var(--i, 0) * var(--v4-stagger) * 0.5); }
.tile[data-f="0"] > b + b, .tile[data-f="1"] > b:first-child { visibility: hidden; }
/* free: a white flap in the rail */
.tile > b[data-k="free"] { background: var(--v4-paper); box-shadow: var(--v5-shadow-flap); color: var(--v4-ink); }
/* not free for this service: no flap, the time struck through on the bare rail (colour is not the only sign) */
.tile > b[data-k="busy"] { color: var(--v4-muted); }
.tile > b[data-k="busy"] span { text-decoration: line-through; }
/* the person is out: the slot is bare, and one plate covers the whole rail */
.tile > b[data-k="out"] span { visibility: hidden; }
/* offered in the reply: the flap takes the business's colour, like the times in the sentence, and is marked with a
   dot under the time. It lies as flat as the others: it is a reading, not a button. */
.tile.pick > b[data-k="free"] { background: var(--brand-wash); color: var(--brand); font-weight: var(--v4-w-600); }
.tile.pick > b[data-k="free"]::after { content: ''; position: absolute; inset-block-end: var(--v4-1); inset-inline-start: calc(50% - var(--v4-0h)); inline-size: var(--v4-1); block-size: var(--v4-1); border-radius: var(--v4-r-pill); background: var(--brand); }
/* the other sectors: lit by its switch (a white flap like the others, ringed and lettered in the business's colour), unlit (a bare slot), struck
   (removed by the exception: a bare slot, the text struck through, so colour is not the only sign) */
.tile > b[data-k="lit"] { background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--brand-line), var(--v5-shadow-flap); color: var(--brand); font-weight: var(--v4-w-600); }
.tile > b[data-k="dim"], .tile > b[data-k="cut"] { color: var(--v4-muted); }
.tile > b[data-k="cut"] span { text-decoration: line-through; }
/* a day already past in the example (routes: before 16/11): a hatched slot, the date in the quiet weight, never lit */
.tile > b[data-k="past"] { background: repeating-linear-gradient(135deg, transparent 0 var(--v4-1h), var(--v4-line) var(--v4-1h) calc(var(--v4-1h) + var(--v4-px))); color: var(--v4-muted); font-weight: var(--v4-w-500); }
.tile > b span { white-space: nowrap; }
/* the plate: the reason the person is out, over the whole rail. One plain label; it closes from the name's side. */
.board-out { position: absolute; inset: var(--v4-1); z-index: 1; display: flex; align-items: center; padding-inline: var(--v4-3); border-radius: var(--v4-r-sm); background: var(--v4-paper); box-shadow: var(--v5-shadow-flap); font-size: var(--v4-fs-14); font-style: normal; font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); white-space: nowrap; -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); visibility: hidden; transition: clip-path var(--v4-t-base) var(--v4-ease), -webkit-clip-path var(--v4-t-base) var(--v4-ease), visibility var(--v5-t-none) linear var(--v4-t-base); pointer-events: none; }
.board-row.out .board-out { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path var(--v4-t-slow) var(--v4-ease) var(--v4-t-base), -webkit-clip-path var(--v4-t-slow) var(--v4-ease) var(--v4-t-base), visibility var(--v5-t-none) linear var(--v4-t-base); }
/* the light that passes over a rail while it is checked */
.board-light { position: absolute; z-index: 2; inset-block: var(--v4-0); inset-inline-start: -34%; inline-size: 34%; background: linear-gradient(90deg, transparent, var(--brand-line) 50%, transparent); mix-blend-mode: multiply; opacity: 0; pointer-events: none; }
.board-row.scan .board-light { animation: v5-rules-light var(--v4-t-slow) var(--v4-ease-in-out) both; }
@keyframes v5-rules-light { 0% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(400%); opacity: 1; } }

/* ---------- the reply: one example of what the receptionist answers ---------- */
.rules-reply { grid-area: reply; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: var(--v4-2h); justify-self: start; inline-size: min(100%, 27rem); min-block-size: calc(var(--v4-fs-15) * var(--v4-lh-body) * 3 + var(--v4-2h) * 2); padding: var(--v4-2h) var(--v4-3h); border-radius: var(--v4-r-lg); border-start-start-radius: var(--v4-r-xs); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); }
.rules-reply .mark-orb { inline-size: var(--v4-6); block-size: var(--v4-6); }
.rules-say { font-size: var(--v4-fs-15); line-height: var(--v4-lh-body); color: var(--v4-ink); text-wrap: pretty; transition: opacity var(--v4-t-fast) var(--v4-ease); }
.rt { font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--brand); }
/* while the board is being checked, the reply is three dots; they move for a counted number of beats, never for ever */
.rules-dots { position: absolute; inset-block-start: calc(var(--v4-2h) + var(--v4-2h)); inset-inline-start: calc(var(--v4-3h) + var(--v4-6) + var(--v4-2h)); display: none; column-gap: var(--v4-1); }
.rules-dots i { inline-size: var(--v4-1h); block-size: var(--v4-1h); border-radius: var(--v4-r-pill); background: var(--v4-muted); }
.rules-desk.wait .rules-dots i { animation: v5-rules-dot var(--v5-t-dot) var(--v4-ease-in-out) 3; }
.rules-desk.wait .rules-dots i:nth-child(2) { animation-delay: calc(var(--v5-t-dot) / 6); }
.rules-desk.wait .rules-dots i:nth-child(3) { animation-delay: calc(var(--v5-t-dot) / 3); }
@keyframes v5-rules-dot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(calc(var(--v4-0h) * -1.5)); } }
.rules-desk.wait .rules-say { opacity: 0; }
.rules-desk.wait .rules-dots { display: flex; }
/* a time on its way from the board to the reply (made by the script, removed when it lands) */
.rules-fly { position: absolute; z-index: 3; inset-block-start: var(--v4-0); inset-inline-start: var(--v4-0); display: grid; place-items: center; border-radius: var(--v4-r-xs); background: var(--brand-wash); box-shadow: inset 0 0 0 var(--v4-px) var(--brand-line), var(--v5-shadow-flap); font-size: var(--v4-fs-15); font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--brand); pointer-events: none; }

/* ---------- the other sectors (rails) ---------- */
/* one question: no next question, no counter, and the space they took closes up */
.rules[data-kind="rails"] .rules-more { display: none; }
/* a tile of words (the studio's version marks) may take two lines, between words only */
.rules[data-sector="3"] .tile > b span { padding-inline: var(--v4-1); line-height: var(--v4-lh-tight); text-align: center; white-space: normal; overflow-wrap: normal; }
.rules[data-kind="rails"] .rules-ask { grid-template-areas: "h h" "q q"; }
/* their headings are two sentences: a wider measure keeps them to three lines on a phone */
.rules[data-kind="rails"] .rules-text h2 { max-inline-size: 20ch; }
/* the day and the service belong to the appointments; the board has no header row of its own here */
.rules[data-kind="rails"] .board-h { display: none; }
/* narrow: the label of the rail over its tiles, so a rail of eight has the whole width */
.rules[data-kind="rails"] .board-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-1); }
.rules[data-kind="rails"] .board-n { font-size: var(--v4-fs-13); color: var(--v4-ink-2); }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 360px) {
  :root { --v5-rules-tile: 2.75rem; --v5-rules-name: 3.75rem; }
  .rules-desk { padding: var(--v4-4); row-gap: var(--v4-4); }
  .rules-ask { grid-template-areas: "h more" "q q"; }
  .rules-ask-h { font-size: var(--v4-fs-14); }
  .rules-next { padding-inline: var(--v4-3); font-size: var(--v4-fs-14); }
  .rules-next .icon { display: block; }
  .tile > b { font-size: var(--v4-fs-14); }
  .rules-q, .rule-t, .rules-say { font-size: var(--v4-fs-16); }
  .rules-q { min-block-size: calc(var(--v4-fs-16) * var(--v4-lh-snug) * 2 + var(--v4-2h) * 2); }
  .rules-reply { min-block-size: calc(var(--v4-fs-16) * var(--v4-lh-body) * 3 + var(--v4-2h) * 2); }
  .rules-fly { font-size: var(--v4-fs-16); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 480px) {
  :root { --v5-rules-tile: 3rem; --v5-rules-name: 4.5rem; }
  .rules-text { margin-block-end: var(--v4-8); }
  .rules-desk { padding: var(--v4-5); }
  .board-h { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "ico day svc"; }
  .board-h span::before { content: '\00B7'; margin-inline-end: var(--v4-1h); }
  .tile > b { font-size: var(--v4-fs-15); }
  .board-n { font-size: var(--v4-fs-15); }
  .rules-q { min-block-size: var(--v4-0); }
  .rules-reply { min-block-size: calc(var(--v4-fs-16) * var(--v4-lh-body) * 2 + var(--v4-2h) * 2); }
  /* the label of a rail beside its tiles again */
  .rules[data-kind="rails"] .board-row { grid-template-columns: var(--v5-rules-rail) minmax(0, 1fr); }
  .rules[data-kind="rails"] .board-n { font-size: var(--v4-fs-14); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 700px) {
  /* A rule stands beside its rail, and one line runs from its switch through the person's name to the rail: plain
     while the rule is off, the business's colour while the rule is taking this person out, dashed while the rule is
     on but does not bear on this question. The header is the head of the same columns. */
  :root { --v5-rules-name: 5.5rem; }
  .rules-desk { padding: var(--v4-6); row-gap: var(--v4-5); }
  .rules-ask { grid-template-columns: auto auto; justify-content: end; column-gap: var(--v4-3); }
  .board { row-gap: var(--v4-2); }
  .board-h { grid-template-columns: minmax(0, var(--v5-rules-col)) var(--v5-rules-wire) calc(var(--v5-rules-name) + var(--v4-2)) auto auto minmax(0, 1fr); grid-template-areas: "cap . . ico day svc"; font-size: var(--v4-fs-14); margin-block-end: var(--v4-1); }
  .board-cap { display: block; }
  .rule-group { grid-template-columns: minmax(0, var(--v5-rules-col)) var(--v5-rules-wire) minmax(0, 1fr); align-items: center; padding: var(--v4-2); }
  .rule-wire, .board-n::after { display: block; block-size: var(--v4-0h); border-radius: var(--v4-r-pill); background: var(--v4-line-strong); transition: background-color var(--v4-t-base) var(--v4-ease); }
  .rule-wire { margin-inline: var(--v4-2h) var(--v4-0); }
  .board-n { column-gap: var(--v4-2); padding-inline-start: var(--v4-2); }
  .board-n::after { content: ''; flex: 1 1 var(--v4-4); min-inline-size: var(--v4-3); margin-inline-end: calc(var(--v4-2) * -1); }
  .rule-group.on .rule-wire, .rule-group.on .board-n::after { background: repeating-linear-gradient(90deg, var(--v4-muted) 0 var(--v4-1), transparent var(--v4-1) var(--v4-2)); }
  .rule-group.on.out .rule-wire, .rule-group.on.out .board-n::after { background: var(--brand); }
  .board-out { font-size: var(--v4-fs-15); padding-inline: var(--v4-4); }
  /* the other sectors: a rail of eight does not fit beside a switch yet, so each switch stands over its rail and
     the switch lights only its own rail: the line between them is not needed until they share a row */
  .rules[data-kind="rails"] .rule-group { grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-1h); }
  .rules[data-kind="rails"] .rule-wire, .rules[data-kind="rails"] .board-n::after { display: none; }
  .rules[data-kind="rails"] .board-n { padding-inline-start: var(--v4-0); font-size: var(--v4-fs-15); }
  .rule-group.on.lit .rule-wire, .rule-group.on.lit .board-n::after { background: var(--brand); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  /* the words in one band above: the heading, and the line beside its foot */
  .rules-text { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: var(--v4-12); }
  .rules-lede { justify-self: end; font-size: var(--v4-fs-18); }
  /* the other sectors' headings are two sentences: their line stands under the heading, not squeezed beside it */
  .rules[data-kind="rails"] .rules-text { grid-template-columns: minmax(0, 1fr); }
  .rules[data-kind="rails"] .rules-lede { justify-self: start; max-inline-size: none; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1080px) {
  /* The board on the left, wide; the conversation beside it, on the same three rows: its head level with the
     board's head, the question level with the first rail, the reply level with the second. */
  :root { --v5-rules-tile: 4.5rem; --v5-rules-name: 6rem; --v5-rules-col: 13rem; }   /* the rule's column narrow until 1280px, so the times keep room beside it */
  .rules-text { margin-block-end: var(--v4-10); }
  .rules-text h2 { max-inline-size: none; }
  .rules-desk { grid-template-columns: minmax(0, 1fr) 19.5rem; grid-template-rows: var(--v5-rules-head) var(--v5-rules-row) var(--v5-rules-row); grid-template-areas: "board ask" "board ask" "board reply"; column-gap: var(--v4-8); row-gap: var(--v4-2); padding: var(--v4-7) var(--v4-8) var(--v4-8); }
  .board { grid-template-rows: var(--v5-rules-head) var(--v5-rules-row) var(--v5-rules-row); row-gap: var(--v4-2); padding-inline-end: var(--v4-8); border-inline-end: var(--v4-px) solid var(--v4-line); }
  .board-h { margin-block-end: var(--v4-0); font-size: var(--v4-fs-14); }
  .rule-group { padding: var(--v4-0) var(--v4-3); margin-inline: calc(var(--v4-3) * -1); }
  .board-n { font-size: var(--v4-fs-18); }
  .board-tiles { column-gap: var(--v4-1h); padding: var(--v4-1h); }
  .tile > b { font-size: var(--v4-fs-15); }
  .board-out { inset: var(--v4-1h); font-size: var(--v4-fs-18); }
  .tile.pick > b[data-k="free"]::after { inset-block-end: var(--v4-2h); inline-size: var(--v4-1h); block-size: var(--v4-1h); inset-inline-start: calc(50% - var(--v4-1h) / 2); }
  .rules-ask { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: var(--v5-rules-head) var(--v5-rules-row); grid-template-areas: "h more" "q q"; justify-content: stretch; column-gap: var(--v4-2); row-gap: var(--v4-2); }
  .rules-q { align-self: center; max-inline-size: 100%; }
  .rules-reply { align-self: center; inline-size: 100%; min-block-size: var(--v4-0); padding: var(--v4-3) var(--v4-4); }
  .rules-dots { inset-block-start: calc(var(--v4-3) + var(--v4-2h)); inset-inline-start: calc(var(--v4-4) + var(--v4-6) + var(--v4-2h)); }
  /* the other sectors: a switch over a lower rail fits the same row height; the header row stays as a quiet space,
     so who asks still stands level with the head of the board */
  .rules[data-kind="rails"] { --v5-rules-tile: 3rem; --v5-rules-row: 7.5rem; }
  .rules[data-kind="rails"] .board-h { display: grid; visibility: hidden; }
  .rules[data-kind="rails"] .rules-text h2 { max-inline-size: none; }
  .rules[data-kind="rails"] .tile > b { font-size: var(--v4-fs-16); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1280px) {
  :root { --v5-rules-col: 17.75rem; }
  .tile > b { font-size: var(--v4-fs-20); }
  /* wide enough: the switch beside its rail again, joined by its line, in the business's colour while it is on */
  .rules[data-kind="rails"] { --v5-rules-tile: 4.5rem; --v5-rules-row: 6.75rem; --v5-rules-rail: 8.5rem; }
  .rules[data-kind="rails"] .rule-group { grid-template-columns: minmax(0, var(--v5-rules-col)) var(--v5-rules-wire) minmax(0, 1fr); row-gap: var(--v4-0); }
  .rules[data-kind="rails"] .rule-wire, .rules[data-kind="rails"] .board-n::after { display: block; }
  .rules[data-kind="rails"] .board-n { padding-inline-start: var(--v4-2); font-size: var(--v4-fs-16); }
  .rules[data-kind="rails"] .tile > b { font-size: var(--v4-fs-18); }
  /* the studio's two tiles hold words: each switch stays over its rail, so the rail has the board's whole width */
  .rules[data-sector="3"] { --v5-rules-tile: 3rem; --v5-rules-row: 7.5rem; }
  .rules[data-sector="3"] .rule-group { grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-1h); }
  .rules[data-sector="3"] .rule-wire, .rules[data-sector="3"] .board-n::after { display: none; }
  .rules[data-sector="3"] .board-n { padding-inline-start: var(--v4-0); }
  .rules[data-sector="3"] .tile > b { font-size: var(--v4-fs-16); }
}

/* ---------- with the script and motion: the surface passes like a board on a table ---------- */
/* The script writes --tilt (from 1, below the middle of the window, through 0 in the middle, to -1 above it) and
   --lift (how far it leans, 0 to 1). The two messages stand off the surface by as much as it leans, so the pieces
   part as it passes and are one flat picture, sharp, while the visitor works it. */
.film .rules-desk { transform-style: preserve-3d; transform: perspective(var(--v5-rules-far)) rotateX(calc(var(--tilt, 0) * 7deg)); transform-origin: 50% 50%; }
.film .rules-ask, .film .rules-reply { transform: translateZ(calc(var(--lift, 0) * var(--v5-rules-lift))); }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1080px) {
  .film .rules-desk { transform: perspective(var(--v5-rules-far)) rotateX(calc(var(--tilt, 0) * 10deg)) rotateY(calc(var(--tilt, 0) * -5deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .tile, .tile > b, .rule-sw, .rule-sw::after, .rule-t, .rule-wire, .board-n::after, .rules-next, .rules-next .icon, .board-out, .board-row.out .board-out, .rules-say { transition: none; }
  .board-row.scan .board-light, .rules-q.pop, .rule-group.hit, .rules-desk.wait .rules-dots i { animation: none; }
}

/* finish: one porcelain board with a short contact edge and a soft cast to the lower right. */
.rules-desk { box-shadow: var(--v5-finish-panel-edge), var(--v5-finish-panel-cast); }

/* finish: the slots sit below the flaps; both selected and plain flaps keep their original solid colours. */
.board-tiles { box-shadow: var(--v5-finish-recess); }
.tile > b[data-k="free"], .board-out { box-shadow: var(--v5-finish-flap); }
.tile > b[data-k="lit"] { box-shadow: inset 0 0 0 var(--v4-px) var(--brand-line), var(--v5-finish-flap); }

/* finish: specular light only on the wordless knob; switch focus rings are untouched. */
.rule-sw::after { background-image: var(--v5-finish-switch-cap); box-shadow: var(--v5-finish-switch-shadow); }
.rule input:checked ~ .rule-sw::after { background-image: var(--v5-finish-switch-cap); }

/* finish 2: board lip catches the key only within its empty perimeter; no extra surface across the labels. */
.rules-desk { box-shadow: var(--v5-f2-shell-edge), var(--v5-f2-shell-cast); }
.rules-desk::before {
  content: ''; position: absolute; inset: var(--v5-f2-board-glint-inset);
  block-size: var(--v5-f2-board-glint-h); border-radius: var(--v4-r-pill);
  background: var(--v5-f2-board-glint); pointer-events: none;
}

/* finish 2: deeper rail contact and a narrow enamel highlight on offered or lit flaps only. */
.board-tiles { box-shadow: var(--v5-f2-rail-seat); }
.tile > b[data-k="free"], .board-out { box-shadow: var(--v5-f2-flap); }
.tile > b[data-k="lit"] { box-shadow: inset var(--v4-0) var(--v4-0) var(--v4-0) var(--v4-px) var(--brand-line), var(--v5-f2-flap); }
.tile.pick > b[data-k="free"]::before, .tile > b[data-k="lit"]::before {
  content: ''; position: absolute; inset: var(--v5-f2-tile-glint-inset);
  block-size: var(--v5-f2-tile-glint-h); border-radius: var(--v4-r-pill);
  background: var(--v5-f2-tile-glint); pointer-events: none;
}

/* Home v5, final design. Section 5: «Η διαδρομή ενός ραντεβού».
   One hour of one day, and six things that happen around it without the owner. The main object is a road: a pale
   ribbon that runs into the distance, and the visitor travels along it with the scroll. Six stops; at each stop one
   line and one signboard beside the road, carrying one drawn piece of the product. A ticket travels in front and
   says whose hour it is and in what state. Mobile is the base; the still version (no script, reduced motion, short
   window) lists the six stops, each with its picture under its line, says under two of them what became of the
   hour, shows the ticket at the end as the hour finished, and draws no road. The pictures are drawings of the
   product, labelled by where each one is seen. Only the signboard and the ticket cast a shadow. */

:root {
  /* finish 2: laminate perimeter and denser board contact, without reflecting over notification text. */
  --v5-f2-sign-lip: inset 1px 2px 0 rgb(255 255 255 / 1), inset -1px -3px 1px rgb(17 36 38 / .14), 0 2px 1px rgb(17 36 38 / .14);
  --v5-f2-sign-glint: linear-gradient(102deg, transparent, #FFFFFF 20%, #FFFFFF 48%, rgb(123 155 148 / .42) 65%, transparent 88%);
  --v5-f2-sign-glint-inset: .15rem .85rem auto;
  --v5-f2-sign-glint-h: .16rem;
  /* finish: laminated signs above the road, with a compact cast rather than a grey halo. */
  --v5-finish-sign-cast: 1px 2px 2px rgb(17 36 38 / .08), 7px 19px 30px -18px rgb(17 36 38 / .31);
  --v5-finish-ticket-cast: 1px 2px 2px rgb(17 36 38 / .08), 5px 14px 24px -15px rgb(17 36 38 / .27);
  --v5-finish-laminate-edge: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -1px 1px rgb(17 36 38 / .055);
  --v5-life-len: 2.7;
  --v5-life-fig: 19rem;            /* the width of a picture */
  --v5-shadow-sign: 0 1px 2px rgb(13 30 30 / .07), 0 26px 46px -26px rgb(13 30 30 / .44);
  --v5-shadow-ticket: 0 1px 2px rgb(13 30 30 / .08), 0 20px 36px -20px rgb(13 30 30 / .46);
  --v5-t-tick: 420ms;
  /* the small drawn pieces of the boards: a round lead, a mark, a bag, a proof */
  --v5-lf-dot: 1.625rem;
  --v5-lf-mark: 2.25rem;
  --v5-lf-bag: 0.875rem;
  --v5-lf-bag-h: 1.125rem;
  --v5-lf-proof: 4.5rem;
  --v5-lf-shot: 3.25rem;           /* the start's photo */
}

/* ---------- the base: the words, then the six stops with their pictures, then the hour as it ended ---------- */
.life { position: relative; }
.life-stage { --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding: var(--v4-section) var(--v4-gutter); border-block-start: var(--v4-px) solid var(--v4-line); }
.life-stage[data-sector="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.life-stage[data-sector="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.life-stage[data-sector="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.life-road { display: none; }
.life-text { display: grid; grid-template-columns: minmax(0, 1fr); }
.life-kick { font-size: var(--v4-fs-14); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-muted); }
.life-text h2 { margin-block-start: var(--v4-2); font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: var(--v5-h2); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); max-inline-size: 13ch; text-wrap: balance; }
.life-steps { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-12); column-gap: var(--v4-10); margin-block-start: var(--v4-10); }
.life-steps > li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: var(--v4-4); }
.life-say { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: var(--v4-2h); font-size: var(--v4-fs-18); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); }
.life-say i { font-size: var(--v4-fs-13); font-style: normal; font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--v4-muted); }
.life-say span { text-wrap: balance; }
/* what became of the hour, under the stop where it happened (the scene says it on the travelling ticket) */
.life-out { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--v4-2); row-gap: var(--v4-1); inline-size: min(100%, var(--v5-life-fig)); font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); color: var(--v4-ink-2); }
.life-out i, .lt-state i { padding: var(--v4-0h) var(--v4-2); border-radius: var(--v4-r-pill); background: var(--brand-wash); font-size: var(--v4-fs-12); font-style: normal; font-weight: var(--v4-w-600); color: var(--brand); white-space: nowrap; }

/* the ticket: the hour. It leads with whose it is and its state; the day, the time and the service are one small line. */
.life-ticket { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: var(--v4-1); margin-block-start: var(--v4-12); padding: var(--v4-3) var(--v4-4); border-radius: var(--v4-r-lg); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); }
.lt-when { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: var(--v4-2); font-size: var(--v4-fs-12); color: var(--v4-muted); }
.lt-when b { font-weight: var(--v4-w-600); color: var(--v4-ink-2); }
.lt-who { font-size: var(--v4-fs-16); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); }
.lt-state { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--v4-2); row-gap: var(--v4-0h); font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); color: var(--v4-ink-2); }
/* cancelled, and the open hour: plain, not in the business's colour */
.life-stage[data-sector="0"] .life-ticket[data-state="2"] .lt-state i, .life-stage[data-sector="0"] .life-ticket[data-state="3"] .lt-state i { background: var(--v4-panel-2); color: var(--v4-ink-2); }
.life-stage[data-sector="0"] .life-ticket[data-state="2"] .lt-who { text-decoration: line-through; color: var(--v4-muted); }
/* a line that is empty for a sector takes no room */
.lt-when b:empty, .lt-state span:empty { display: none; }

/* ---------- the pictures: flat pieces, told apart by their own anatomy ---------- */
.life-fig { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: var(--v4-2); inline-size: min(100%, var(--v5-life-fig)); color: var(--v4-ink); }
/* where this piece is seen */
.lf-where { display: flex; align-items: center; column-gap: var(--v4-1h); font-size: var(--v4-fs-12); font-weight: var(--v4-w-500); color: var(--v4-muted); }
.lf-where .icon { flex: none; inline-size: var(--v4-icon-sm); block-size: var(--v4-icon-sm); }
.lf-where:not(:first-child) { margin-block-start: var(--v4-2); }
/* a notice on a lock screen */
.lf-push { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-0h); padding: var(--v4-3) var(--v4-3h); border-radius: var(--v4-r-lg); background: var(--v4-panel); }
.lf-push-h { display: flex; align-items: center; column-gap: var(--v4-1h); font-size: var(--v4-fs-12); color: var(--v4-muted); }
.lf-push-h .mark-orb { inline-size: var(--v4-5); block-size: var(--v4-5); border-radius: var(--v4-r-xs); }
.lf-push-h b { font-weight: var(--v4-w-600); color: var(--v4-ink-2); }
.lf-push-h span { margin-inline-start: auto; white-space: nowrap; }
.lf-app-ico { display: grid; place-items: center; flex: none; inline-size: var(--v4-5); block-size: var(--v4-5); border-radius: var(--v4-r-xs); background: var(--brand); color: var(--v4-paper); }
.lf-app-ico .icon { inline-size: var(--v4-3); block-size: var(--v4-3); }
.lf-push-t { margin-block-start: var(--v4-1); font-size: var(--v4-fs-14); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); }
.lf-push-b { font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); color: var(--v4-ink-2); overflow-wrap: anywhere; }
/* a few lines of a conversation */
.lf-chat { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-1h); }
.lf-b { max-inline-size: 90%; padding: var(--v4-2) var(--v4-3); border-radius: var(--v4-r-lg); font-size: var(--v4-fs-14); line-height: var(--v4-lh-snug); overflow-wrap: anywhere; }
.lf-b.me { justify-self: end; border-end-end-radius: var(--v4-r-xs); background: var(--v4-panel-2); }
.lf-b.ai { justify-self: start; display: flex; align-items: flex-start; column-gap: var(--v4-2); border-start-start-radius: var(--v4-r-xs); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); }
.lf-b.ai .mark-orb { flex: none; inline-size: var(--v4-5); block-size: var(--v4-5); }
.lf-b.them { justify-self: start; border-start-start-radius: var(--v4-r-xs); background: var(--v4-panel-2); }
.lf-b.you { justify-self: end; border-end-end-radius: var(--v4-r-xs); background: var(--brand); color: var(--v4-paper); }
/* a card of the app or of the dashboard */
.lf-card { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-2h); padding: var(--v4-3h); border-radius: var(--v4-r-lg); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); }
.lf-card-h { display: flex; align-items: center; justify-content: space-between; column-gap: var(--v4-2); font-size: var(--v4-fs-13); font-weight: var(--v4-w-600); color: var(--v4-ink-2); }
.lf-card-h b { font-weight: var(--v4-w-600); color: var(--v4-ink); }
.lf-appt { display: grid; row-gap: var(--v4-0h); padding: var(--v4-2h) var(--v4-3); border-radius: var(--v4-r-md); background: var(--v4-panel); }
.lf-appt b { font-size: var(--v4-fs-15); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); }
.lf-appt span { font-size: var(--v4-fs-13); color: var(--v4-muted); }
.lf-acts { display: flex; flex-wrap: wrap; gap: var(--v4-1h); }
.lf-acts i, .lf-back i { padding: var(--v4-1h) var(--v4-3); border-radius: var(--v4-r-pill); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); font-size: var(--v4-fs-13); font-style: normal; font-weight: var(--v4-w-550); color: var(--v4-ink-2); white-space: nowrap; }
/* the one that was just touched */
.lf-acts i.on { background: var(--v4-panel-2); box-shadow: inset 0 0 0 var(--v4-0h) var(--v4-ink); color: var(--v4-ink); }
.lf-done { display: flex; align-items: center; column-gap: var(--v4-1h); font-size: var(--v4-fs-13); color: var(--v4-ink-2); }
.lf-done .icon { flex: none; inline-size: var(--v4-icon-sm); block-size: var(--v4-icon-sm); color: var(--v4-teal-ink); }
.lf-note { padding-inline-start: var(--v4-1); font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-500); color: var(--v4-ink-2); }
.lf-chip { padding: var(--v4-0h) var(--v4-2); border-radius: var(--v4-r-pill); background: var(--brand-wash); font-size: var(--v4-fs-12); font-style: normal; font-weight: var(--v4-w-600); color: var(--brand); white-space: nowrap; }
.lf-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--v4-1h); }
.lf-field span { padding: var(--v4-1h) var(--v4-2h); border-radius: var(--v4-r-md); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); font-size: var(--v4-fs-13); color: var(--v4-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-field i { padding: var(--v4-1h) var(--v4-3); border-radius: var(--v4-r-md); background: var(--v4-ink); font-size: var(--v4-fs-13); font-style: normal; font-weight: var(--v4-w-550); color: var(--v4-paper); }
.lf-back { display: flex; }
/* the second piece of a board (what the owner's own phone shows): on a narrow screen the scene leaves it out, so the road stays in view */
.lf-extra { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-2); margin-block-start: var(--v4-2); }

/* ---------- one set of pictures per sector: the stage's sector shows its own (no script: the appointment) ---------- */
.lf-set { display: none; }
.life-stage[data-sector="0"] .lf-set[data-s="0"], .life-stage[data-sector="1"] .lf-set[data-s="1"],
.life-stage[data-sector="2"] .lf-set[data-s="2"], .life-stage[data-sector="3"] .lf-set[data-s="3"] { display: contents; }
/* the turn of the hour under stop 4 belongs to the appointment alone */
.life-stage:not([data-sector="0"]) .life-out { display: none; }
/* a long title and a long state wrap under each other instead of running out of the card */
.lf-card-h { flex-wrap: wrap; row-gap: var(--v4-1); }
.lf-card-h b { min-inline-size: 0; overflow-wrap: anywhere; }
/* a row of a list: a lead (a letter, a number, an icon), the words, and a tail */
.lf-r { display: flex; align-items: center; column-gap: var(--v4-2h); padding: var(--v4-2) var(--v4-2h); border-radius: var(--v4-r-md); background: var(--v4-panel); }
.lf-r.on { background: var(--brand-wash); box-shadow: inset 0 0 0 var(--v4-px) var(--brand-line); }
.lf-r-m { display: grid; flex: 1; row-gap: var(--v4-0h); min-inline-size: 0; }
.lf-r-m b { font-size: var(--v4-fs-14); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); overflow-wrap: anywhere; }
.lf-r-m small { font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); color: var(--v4-muted); }
.lf-av { display: grid; place-items: center; flex: none; inline-size: var(--v5-lf-dot); block-size: var(--v5-lf-dot); border-radius: var(--v4-r-pill); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); font-size: var(--v4-fs-12); font-style: normal; font-weight: var(--v4-w-600); color: var(--v4-ink-2); }
.lf-num { font-variant-numeric: tabular-nums; }
.lf-r.on .lf-num { background: var(--brand); box-shadow: none; color: var(--v4-paper); }
.lf-ico { display: grid; place-items: center; flex: none; inline-size: var(--v5-lf-dot); block-size: var(--v5-lf-dot); border-radius: var(--v4-r-sm); background: var(--v4-paper); color: var(--brand); }
.lf-ico .icon, .lf-tick .icon, .lf-place .icon, .lf-stepper .icon { inline-size: var(--v4-icon-sm); block-size: var(--v4-icon-sm); }
.lf-tag { flex: none; padding: var(--v4-0h) var(--v4-2); border-radius: var(--v4-r-pill); background: var(--brand); font-size: var(--v4-fs-12); font-style: normal; font-weight: var(--v4-w-600); color: var(--v4-paper); white-space: nowrap; }
.lf-tag.plain { background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); color: var(--v4-ink-2); }
.lf-label { font-size: var(--v4-fs-12); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-muted); }
/* drawn lines of text: words the picture does not need to spell out */
.lf-lines { display: grid; row-gap: var(--v4-1h); }
.lf-bar { display: block; block-size: var(--v4-1h); border-radius: var(--v4-r-pill); background: var(--v4-line-strong); }
.lf-bar.w5 { inline-size: 45%; }
.lf-bar.w6 { inline-size: 55%; }
.lf-bar.w7 { inline-size: 65%; }
.lf-bar.w8 { inline-size: 76%; }
.lf-bar.w9 { inline-size: 88%; }
.lf-scribble { inline-size: 72%; padding-block: var(--v4-2h); }
.lf-scribble .lf-bar { background: var(--v4-line-strong); }
.lf-scribble .lf-bar.w9 { inline-size: 100%; }
/* ticked rows (a questionnaire, a brief) */
.lf-ticks { display: grid; row-gap: var(--v4-1h); }
.lf-ticks > span { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--v4-2); }
.lf-tick { display: grid; place-items: center; flex: none; inline-size: var(--v4-5); block-size: var(--v4-5); border-radius: var(--v4-r-pill); background: var(--brand-wash); color: var(--brand); }
/* three photos */
.lf-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v4-1h); }
.lf-thumbs i { aspect-ratio: 4 / 3; border-radius: var(--v4-r-sm); background: radial-gradient(circle at 72% 30%, var(--v4-paper) 0 11%, transparent 12%), linear-gradient(to top, var(--brand-line) 0 34%, var(--brand-wash) 34%); box-shadow: inset 0 0 0 var(--v4-px) var(--brand-line); }
.lf-thumbs i:nth-child(2) { background: radial-gradient(circle at 30% 34%, var(--v4-paper) 0 10%, transparent 11%), linear-gradient(to top, var(--brand-line) 0 46%, var(--brand-wash) 46%); }
.lf-thumbs i:nth-child(3) { background: radial-gradient(ellipse at 50% 100%, var(--brand-line) 0 44%, transparent 45%), var(--brand-wash); }
/* the start, at the place */
.lf-start { display: flex; align-items: center; column-gap: var(--v4-3); padding: var(--v4-2h) var(--v4-3); border-radius: var(--v4-r-md); background: var(--brand-wash); }
.lf-go { display: grid; place-items: center; flex: none; inline-size: var(--v5-lf-mark); block-size: var(--v5-lf-mark); border-radius: var(--v4-r-pill); background: var(--brand); color: var(--v4-paper); }
.lf-go .icon { inline-size: var(--v4-icon); block-size: var(--v4-icon); }
.lf-start span { display: grid; }
.lf-start b { font-size: var(--v4-fs-13); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-ink-2); }
.lf-start small { font-size: var(--v4-fs-20); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--v4-ink); }
.lf-place { display: flex; align-items: center; column-gap: var(--v4-1h); font-size: var(--v4-fs-13); font-weight: var(--v4-w-500); color: var(--v4-ink-2); }
.lf-place .icon { color: var(--brand); }
/* quantities: a name and a number, in two columns */
.lf-qty { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--v4-3); row-gap: var(--v4-1); padding: var(--v4-2) var(--v4-2h); border-radius: var(--v4-r-md); background: var(--v4-panel); font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); color: var(--v4-ink-2); }
.lf-qty b, .lf-grid b { font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--v4-ink); text-align: end; }
/* the van and its bags; bags are drawn, the count says how many */
.lf-van { display: flex; align-items: center; column-gap: var(--v4-2h); }
.lf-bags { display: flex; flex-wrap: wrap; gap: var(--v4-1); padding-block-start: var(--v4-1); }
.lf-bags i { position: relative; }
/* the bag's tie */
.lf-bags i::before { content: ""; position: absolute; inset-inline: 30%; inset-block-end: 100%; block-size: var(--v4-1); border-radius: var(--v4-r-xs) var(--v4-r-xs) var(--v4-0) var(--v4-0); background: var(--brand-line); }
.lf-bags i { inline-size: var(--v5-lf-bag); block-size: var(--v5-lf-bag-h); border-radius: var(--v4-r-xs) var(--v4-r-xs) var(--v4-r-sm) var(--v4-r-sm); background: var(--brand-wash); box-shadow: inset 0 0 0 var(--v4-px) var(--brand-line), inset 0 var(--v4-1) 0 var(--brand-line); }
.lf-two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: var(--v4-2h); align-items: start; }
.lf-two > span { display: grid; row-gap: var(--v4-1h); align-content: start; }
.lf-count { font-size: var(--v4-fs-13); font-weight: var(--v4-w-600); color: var(--v4-ink); }
.lf-act { display: flex; }
.lf-act i { flex: 1; padding: var(--v4-1h) var(--v4-3); border-radius: var(--v4-r-md); background: var(--v4-ink); font-size: var(--v4-fs-13); font-style: normal; font-weight: var(--v4-w-550); text-align: center; color: var(--v4-paper); }
/* a declared quantity, with its minus and plus */
.lf-stepper { display: flex; flex: none; align-items: center; column-gap: var(--v4-2); padding: var(--v4-1) var(--v4-2h); border-radius: var(--v4-r-pill); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); color: var(--v4-ink-2); }
.lf-stepper b { min-inline-size: 2ch; font-size: var(--v4-fs-14); font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; text-align: center; color: var(--v4-ink); }
.lf-minus { display: block; inline-size: var(--v4-2h); block-size: var(--v4-0h); border-radius: var(--v4-r-pill); background: currentColor; }
/* declared against counted */
.lf-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: var(--v4-3); row-gap: var(--v4-1h); align-items: baseline; padding: var(--v4-2) var(--v4-2h); border-radius: var(--v4-r-md); background: var(--v4-panel); font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); color: var(--v4-ink-2); }
.lf-grid small { font-size: var(--v4-fs-12); color: var(--v4-muted); text-align: end; }
.lf-grid .lf-off { justify-self: end; padding-inline: var(--v4-1h); border-radius: var(--v4-r-xs); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-ink); }
/* a logo being drawn: each version a little further along, the confirmed one darker */
.lf-logo { display: grid; place-items: center; flex: none; inline-size: var(--v5-lf-mark); block-size: var(--v5-lf-mark); border-radius: var(--v4-r-sm); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); }
.lf-logo b { inline-size: 56%; block-size: 56%; border-radius: var(--v4-r-pill) var(--v4-r-pill) var(--v4-r-pill) var(--v4-r-xs); box-shadow: inset 0 0 0 var(--v4-0h) var(--v4-line-strong); }
.lf-logo.v2 b { background: var(--v4-teal-line); box-shadow: none; }
.lf-logo.v3 b { background: var(--v4-teal); box-shadow: none; }
.lf-logo.v4 b { background: var(--v4-teal-ink); box-shadow: none; }
.lf-proof { position: relative; display: grid; place-items: center; padding-block: var(--v4-3); border-radius: var(--v4-r-md); background: var(--v4-panel); }
.lf-proof .lf-logo { inline-size: var(--v5-lf-proof); block-size: var(--v5-lf-proof); border-radius: var(--v4-r-md); }
.lf-ok { position: absolute; inset-block-end: var(--v4-2); inset-inline-end: var(--v4-2); display: grid; place-items: center; inline-size: var(--v5-lf-dot); block-size: var(--v5-lf-dot); border-radius: var(--v4-r-pill); background: var(--brand); color: var(--v4-paper); }
.lf-ok .icon { inline-size: var(--v4-icon-sm); block-size: var(--v4-icon-sm); }
/* a card title with a plain small heading over it (promo: «Καμπάνια» over the campaign's name; not a state) */
.lf-card-t { display: grid; row-gap: var(--v4-0h); min-inline-size: 0; }
.lf-card-t small { font-size: var(--v4-fs-12); font-weight: var(--v4-w-500); color: var(--v4-muted); }
/* one of a stop's own fields and its state: «Επίσκεψη: Στο σημείο» */
.lf-st { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--v4-1h); row-gap: var(--v4-1); padding-inline: var(--v4-1); font-size: var(--v4-fs-13); font-weight: var(--v4-w-500); color: var(--v4-ink-2); }
/* the small caption under a command to the owner's assistant */
.lf-cap { padding-inline-start: var(--v4-1); font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); color: var(--v4-muted); }
/* a version's mark, under its name; a long mark wraps instead of running out of the row */
.lf-mark { display: flex; }
.lf-mark .lf-tag { white-space: normal; }
/* a block of a stop under its heading; the bags with their count beside them */
.lf-pair { display: grid; row-gap: var(--v4-1h); }
.lf-bagrow { display: flex; align-items: center; column-gap: var(--v4-2h); }
/* a result on a version (studio: «Αποδεκτό»): a check and the word */
.lf-res { display: inline-flex; flex: none; align-items: center; column-gap: var(--v4-1); font-size: var(--v4-fs-12); font-style: normal; font-weight: var(--v4-w-600); color: var(--brand); }
.lf-res .icon { inline-size: var(--v4-icon-sm); block-size: var(--v4-icon-sm); }
/* the photo the start is recorded with, at the end of the start's row */
.lf-start .lf-shot { display: grid; grid-template-columns: minmax(0, 1fr); flex: none; inline-size: var(--v5-lf-shot); margin-inline-start: auto; }
/* the other sectors: the ticket's state is the stop's heading, an explanation, not a badge of the product */
.life-stage:not([data-sector="0"]) .lt-state i { padding: var(--v4-0); background: none; font-size: var(--v4-fs-13); color: var(--v4-ink); }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 700px) {
  .life-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the still version closes on the hour as it ended: one band across the page */
  .life-ticket { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--v4-6); padding: var(--v4-4) var(--v4-5); }
  .lt-when { flex-direction: column; align-items: flex-start; }
  .film .lt-when { flex-direction: row; align-items: baseline; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1100px) {
  .life-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- the scene: a road in perspective, the signboards beside it, the ticket in front ---------- */
.film .life { block-size: calc((1 + var(--v5-life-len)) * 100svh); }
.film .life-stage { position: sticky; inset-block-start: var(--v4-0); display: block; block-size: 100svh; inline-size: 100vw; margin-inline-start: calc(50% - 50vw); padding: var(--v4-0); overflow: hidden; overflow: clip; }
.film .life-road { position: absolute; inset: var(--v4-0); display: block; inline-size: 100%; block-size: 100%; }
.film .life-stage:not(.near) .life-road { visibility: hidden; }
/* a phone only: the road's shadow, on its own canvas under the road (v5.s5.js makes it) */
.life-shade { display: none; }
.film .life-shade { position: absolute; inset: var(--v4-0); display: block; inline-size: 100%; block-size: 100%; }
.film .life-stage:not(.near) .life-shade { visibility: hidden; }
/* the words stand over the top of the picture: the small line and the heading open the scene and go once the road is
   under way, and one stop's line shows at a time, in their place */
.film .life-text { position: absolute; z-index: 3; inset-block-start: var(--v4-0); inset-inline: var(--v4-0); grid-template-rows: auto auto; justify-items: center; padding: max(var(--v4-4), calc((100svh - 46rem) / 2 - var(--v4-4))) var(--v4-gutter) var(--v4-2); text-align: center; pointer-events: none; }
.film .life-kick { grid-area: 1 / 1; }
.film .life-text h2 { grid-area: 2 / 1; margin-block-start: var(--v4-1); font-size: var(--v4-fs-24); max-inline-size: none; }
.film .life-kick, .film .life-text h2 { transition: opacity var(--v4-t-base) var(--v4-ease); }
.film .life-stage.away .life-kick, .film .life-stage.away .life-text h2 { opacity: 0; }
.film .life-steps { grid-area: 1 / 1 / 3 / 2; align-self: center; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-0); margin-block-start: var(--v4-0); inline-size: 100%; }
.film .life-steps > li { position: static; grid-area: 1 / 1; justify-items: center; row-gap: var(--v4-0); }
.film .life-say { display: block; font-size: var(--v4-fs-16); opacity: 0; transition: opacity var(--v4-t-base) var(--v4-ease); }
.film .life-say i { display: none; }
.film .life-stage.away .life-steps > li.on .life-say { opacity: 1; }
.film .life-out, .film .lf-extra { display: none; }
/* a small phone: the ticket gives up its small first line (the day, the time, the service), which never changes */
.film .life-stage.short .lt-when { display: none; }
/* ...and a board is set a little tighter, so the tallest one keeps its words readable */
.film .life-stage.short .life-fig { padding: var(--v4-2h); row-gap: var(--v4-1h); }
.film .life-stage.short .lf-where:not(:first-child) { margin-block-start: var(--v4-1); }
/* a signboard is laid out by the script: it stands on its pole beside the road at its stop and is drawn at the size
   its distance gives it. The board is one object; the pieces on it are flat. */
.film .life-fig { position: absolute; z-index: 1; inset-block-start: var(--v4-0); inset-inline-start: var(--v4-0); box-sizing: content-box; inline-size: var(--v5-life-fig); padding: var(--v4-3h); border-radius: var(--v4-r-xl); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line), var(--v5-shadow-sign); text-align: start; transform-origin: 0 0; visibility: hidden; will-change: transform, opacity; pointer-events: none; }
.film .life-stage:not(.set) .life-fig, .film .life-stage:not(.set) .life-ticket { visibility: hidden; }
/* the ticket travels in front of the camera, over the road */
.film .life-ticket { position: absolute; z-index: 2; inset-block-end: max(var(--v4-8), calc((100svh - 46rem) / 2)); grid-template-columns: minmax(0, 1fr); inset-inline-start: 50%; justify-self: auto; inline-size: min(calc(100vw - var(--v4-gutter) * 2), 20rem); margin: var(--v4-0); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line), var(--v5-shadow-ticket); transform: translateX(-50%); transition: box-shadow var(--v4-t-base) var(--v4-ease), transform var(--v4-t-base) var(--v4-ease); pointer-events: none; }
/* at the stop that is about a conversation, not about the hour, the ticket steps back */
.film .life-ticket.aside { box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); transform: translateX(-50%) scale(0.95); }
.life-ticket.tick .lt-who, .life-ticket.tick .lt-state { animation: v5-life-tick var(--v5-t-tick) var(--v4-ease) both; }
@keyframes v5-life-tick { 0% { opacity: 0; transform: translateY(var(--v4-2)); } 100% { opacity: 1; transform: none; } }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 360px) {
  .film .life-say { font-size: var(--v4-fs-18); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  /* wide: the words are a column on the left, all six lines in view like an index; the road takes the rest */
  .film .life-text { inset-block: var(--v4-0); inset-inline: max(var(--v4-gutter), calc((100vw - var(--v4-rail)) / 2 + var(--v4-8))) auto; inline-size: min(30vw, 21.5rem); grid-template-rows: none; align-content: center; justify-items: start; padding: var(--v4-0); text-align: start; }
  .film .life-kick, .film .life-text h2, .film .life-steps { grid-area: auto; }
  .film .life-text h2 { margin-block-start: var(--v4-2); font-size: var(--v5-h2); max-inline-size: 11ch; }
  .film .life-stage.away .life-kick, .film .life-stage.away .life-text h2 { opacity: 1; }
  .film .life-steps { align-self: auto; row-gap: var(--v4-2h); margin-block-start: var(--v4-8); }
  .film .life-steps > li { grid-area: auto; justify-items: start; }
  .film .life-say, .film .life-stage.away .life-steps > li .life-say { display: grid; justify-content: start; font-size: var(--v4-fs-16); font-weight: var(--v4-w-500); color: var(--v4-muted); opacity: 1; transition: color var(--v4-t-base) var(--v4-ease); }
  .film .life-say i { display: inline; }
  .film .life-stage .life-steps > li.on .life-say { font-weight: var(--v4-w-600); color: var(--v4-ink); }
  .film .life-steps > li.on .life-say i { color: var(--brand); }
  .film .life-ticket { inset-block-end: var(--v4-8); inset-inline-start: var(--life-cx, 69%); }
  .film .lf-extra { display: grid; }
}
/* Wide and tall enough: the ticket stands above the guide's bar, which rests at the foot of the window and would cover
   the ticket's last line. In a shorter window the tallest board needs that room, so the ticket keeps its place. */
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) and (min-height: 680px) {
  .film .life-ticket { inset-block-end: calc(max(var(--v4-3), env(safe-area-inset-bottom)) + var(--v5-guide-dock-h) + var(--v4-3)); }
}

@media (prefers-reduced-motion: reduce) {
  .life-ticket.tick .lt-who, .life-ticket.tick .lt-state { animation: none; }
}

/* finish: signboards have a laminated edge; only the outer shell and moving ticket cast shadows. */
.film .life-fig { box-shadow: var(--v5-finish-panel-edge), var(--v5-finish-sign-cast); }
.life .lf-push { box-shadow: var(--v5-finish-laminate-edge); }

/* finish: the travelling ticket casts a tighter shadow; its parked state retains the original flat treatment. */
.film .life-ticket:not(.aside) { box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line), var(--v5-finish-ticket-cast); }

/* finish 2: the signboard's laminated edge catches the key; the poles remain owned by the canvas renderer. */
.film .life-fig { box-shadow: var(--v5-f2-sign-lip), var(--v5-finish-sign-cast); }
.film .life-fig::before {
  content: ''; position: absolute; inset: var(--v5-f2-sign-glint-inset);
  block-size: var(--v5-f2-sign-glint-h); border-radius: var(--v4-r-pill);
  background: var(--v5-f2-sign-glint); pointer-events: none;
}

/* Home v5, final design. Section 6: «Κλάδοι».
   Four spheres, one for each of the page's four sectors: the same sphere of the opening, in four colours. With the
   script they stand on a round platter seen in depth: each sphere carries its name, the chosen one stands in
   front and large, two stand beside it and one behind it. With motion the platter opens out of one sphere as the
   section comes into the window, its tilt follows the scroll, and it turns when a sector is chosen; with reduced
   motion the same platter stands still and every change is immediate. Beside it one panel: the chosen sector,
   where it hurts (the lead line), its kinds of business, then either the chosen kind's list of services, each
   with a block as long as its duration (beauty and wellness), or the five things the sector organises, and at the
   foot what it takes. Mobile is the base. Without the script the section is a picture of the first sector: the
   spheres two by two (four in a row on a wider phone), each over its name, the controls disabled in the markup. */

:root {
  /* finish 2: brighter upper silver, shaded near face and a compact sphere contact. */
  --v5-f2-platter-top: #FFFFFF;
  --v5-f2-platter-near: #C4D5D1;
  --v5-f2-platter-edge-light: #F6FFFC;
  --v5-f2-platter-edge-dark: #668781;
  --v5-f2-platter-edge-opacity: 1;
  --v5-f2-platter-stroke: 1.5px;
  --v5-f2-platter-contact: radial-gradient(ellipse 34% 25% at 50% 48%, rgb(17 36 38 / .44), transparent 100%), radial-gradient(ellipse at 58% 58%, rgb(17 36 38 / .22), rgb(17 36 38 / .07) 43%, transparent 72%);
  /* finish: a neutral satin platter leaves the sector colour to the spheres and its thin near edge. */
  --v5-finish-platter-top: #FAFCFC;
  --v5-finish-platter-near: #E3EAEA;
  --v5-finish-platter-edge: #A6B8B9;
  --v5-finish-platter-shade: radial-gradient(ellipse at 57% 52%, rgb(17 36 38 / .29) 0%, rgb(17 36 38 / .12) 30%, rgb(17 36 38 / 0) 70%);
  --v5-finish-platter-tint: .42;
  --v5-finish-bar-edge: inset 0 1px 0 rgb(255 255 255 / .24), inset 0 -1px 0 rgb(17 36 38 / .15);
  --v5-kinds-orb: 4.5rem;                                  /* a sphere, in the row of the picture without the script */
  --v5-kinds-big: clamp(6rem, 26vw, 7.25rem);              /* the sphere at the front of the platter */
  --v5-kinds-ring: calc(var(--v5-kinds-big) * 1.62 + 5.25rem);   /* the height the platter takes: the spheres and their names */
  --v5-kinds-name: 5.5rem;                                 /* the widest a name beside a sphere may be */
  --v5-kinds-lead: 15rem;                                  /* the widest the chosen name may be: each sector's full name on one line */
  --v5-kinds-chip: 2.25rem;                                /* the height of a kind-of-business chip */
  --v5-kinds-tag: 1.75rem;                                 /* the height of a kind-of-business tag (not a control) */
  --v5-kinds-mark: 1.625rem;                               /* the ring with the number of a line the sector organises */
  --v5-kinds-bar: 4rem;                                    /* the length of two hours on a service's time scale */
  --v5-hue-beauty: 192deg; --v5-hue-promo: 44deg; --v5-hue-routes: -22deg; --v5-hue-studio: 64deg;   /* the fallback picture of the sphere, turned toward each sector's colour */
  --v5-shadow-panel: 0 1px 2px rgb(13 30 30 / .05), 0 18px 36px -26px rgb(13 30 30 / .3);
  --v5-kinds-shade: radial-gradient(closest-side, rgb(13 30 30 / .34), rgb(13 30 30 / 0));   /* a sphere's shadow on the platter */
  --v5-t-row: 380ms;
}

/* ---------- the base: the words, the four spheres with their names, the panel ---------- */
.kinds { --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); position: relative; padding: var(--v4-section) var(--v4-gutter); border-block-start: var(--v4-px) solid var(--v4-line); overflow-x: clip; }   /* a sphere's glow at the edge of the platter must not widen the page */
.kinds[data-sector="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.kinds[data-sector="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.kinds[data-sector="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.kinds-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-4); }
.kinds-text { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.kinds-kick { font-size: var(--v4-fs-14); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-muted); }
.kinds-text h2 { margin-block-start: var(--v4-2); font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: var(--v5-h2); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); max-inline-size: 12ch; text-wrap: balance; }
.kinds-lede { margin-block-start: var(--v4-4); max-inline-size: 34ch; font-size: var(--v4-fs-17); line-height: var(--v4-lh-body); color: var(--v4-muted); text-wrap: pretty; }

/* the four sectors: a sphere over its name, two by two. The button is the control; the sphere is its picture. */
.kinds-ring { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; column-gap: var(--v4-2); row-gap: var(--v4-3); }
.kinds-plate { display: none; }
.kinds-ball { --ball: var(--v5-beauty); --hue: var(--v5-hue-beauty); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; row-gap: var(--v4-2); inline-size: 100%; max-inline-size: 9rem; padding: var(--v4-2) var(--v4-1); border: var(--v4-0); border-radius: var(--v4-r-lg); background: none; font: inherit; color: var(--v4-ink-2); cursor: pointer; transition: background-color var(--v4-t-fast) var(--v4-ease), transform var(--v4-t-fast) var(--v4-ease); }
.kinds-ball[data-s="1"] { --ball: var(--v5-promo); --hue: var(--v5-hue-promo); }
.kinds-ball[data-s="2"] { --ball: var(--v5-routes); --hue: var(--v5-hue-routes); }
.kinds-ball[data-s="3"] { --ball: var(--v5-studio); --hue: var(--v5-hue-studio); }
.kinds-orb { position: relative; display: block; inline-size: var(--v5-kinds-orb); block-size: var(--v5-kinds-orb); border-radius: var(--v4-r-pill); transition: filter var(--v4-t-fast) var(--v4-ease); }
.kinds-orb img { display: block; inline-size: 100%; block-size: 100%; border-radius: var(--v4-r-pill); filter: hue-rotate(var(--hue)); }
.kinds-orb.live img { visibility: hidden; }
.kinds-ball b { font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-snug); text-align: center; text-wrap: balance; transition: color var(--v4-t-fast) var(--v4-ease), opacity var(--v4-t-fast) var(--v4-ease); }
/* chosen: its name is strong and underlined in its own colour (a mark beyond the colour of the sphere) */
.kinds-ball[aria-pressed="true"] b { font-weight: var(--v4-w-600); color: var(--v4-ink); text-decoration: underline; text-decoration-color: var(--ball); text-decoration-thickness: var(--v4-0h); text-underline-offset: var(--v4-1h); }
.kinds-ball:enabled:hover { background: var(--v4-panel); }
.kinds-ball:enabled:hover b { color: var(--v4-ink); }
.kinds-ball:focus-visible { outline: none; box-shadow: var(--v4-ring); }
.kinds-ball:enabled:active { transform: scale(0.97); }
.kinds-ball:disabled, .kinds-chip:disabled { cursor: default; }

/* the panel: the chosen sector, where it hurts and its kinds of business on top; the list under them, and what it takes */
.kinds-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; border-radius: var(--v4-r-xl); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong), var(--v5-shadow-panel); overflow: hidden; overflow: clip; }
.kinds-top { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-2h); padding: var(--v4-3) var(--v4-4); border-block-end: var(--v4-px) solid var(--v4-line-strong); background: var(--v4-panel); }
.kinds-of { display: flex; align-items: center; column-gap: var(--v4-2); font-size: var(--v4-fs-14); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); }
.kinds-of i { flex: none; inline-size: var(--v4-2h); block-size: var(--v4-2h); border-radius: var(--v4-r-pill); background: var(--brand); transition: background-color var(--v4-t-base) var(--v4-ease); }
.kinds-card [hidden] { display: none; }
/* where it hurts: the lead line of the panel */
.kinds-pain { font-size: var(--v4-fs-20); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-tight); color: var(--v4-ink); text-wrap: balance; }
.kinds-chips { display: flex; flex-wrap: wrap; gap: var(--v4-1h); min-block-size: var(--v5-kinds-chip); }
/* the kinds of business of a sector that has no list per kind: plain tags, square-cornered and flat, not buttons */
.kinds-tags { display: flex; flex-wrap: wrap; gap: var(--v4-1h); }
.kinds-tag { display: inline-flex; align-items: center; min-block-size: var(--v5-kinds-tag); padding-inline: var(--v4-2); border-radius: var(--v4-r-xs); background: var(--brand-wash); font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-500); color: var(--v4-ink-2); overflow-wrap: anywhere; transition: background-color var(--v4-t-base) var(--v4-ease); }
.kinds-chip { min-block-size: var(--v5-kinds-chip); padding-inline: var(--v4-3); border: var(--v4-0); border-radius: var(--v4-r-pill); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); font: inherit; font-size: var(--v4-fs-13); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-snug); color: var(--v4-ink-2); white-space: nowrap; cursor: pointer; transition: background-color var(--v4-t-fast) var(--v4-ease), box-shadow var(--v4-t-fast) var(--v4-ease), color var(--v4-t-fast) var(--v4-ease), transform var(--v4-t-fast) var(--v4-ease); }
.kinds-chip[aria-pressed="true"] { background: var(--brand); box-shadow: inset 0 0 0 var(--v4-px) var(--brand); font-weight: var(--v4-w-600); color: var(--v4-paper); }
.kinds-chip:enabled:not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 var(--v4-px) var(--v4-ink); color: var(--v4-ink); }
.kinds-chip:focus-visible { outline: none; box-shadow: inset 0 0 0 var(--v4-px) var(--v4-ink), var(--v4-ring); }
.kinds-chip:enabled:active { transform: scale(0.97); }
.kinds-sheet { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-3); padding: var(--v4-4) var(--v4-4) var(--v4-5); }
.kinds-head { display: grid; row-gap: var(--v4-0h); }
.kinds-head b { font-size: var(--v4-fs-18); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-tight); color: var(--v4-ink); overflow-wrap: anywhere; }
.kinds-head span { font-size: var(--v4-fs-13); font-weight: var(--v4-w-500); color: var(--v4-muted); }
/* a service: its name, a block as long as the service lasts on a scale of two hours (a tick every half hour), its minutes */
.kinds-list { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; border-block-start: var(--v4-px) solid var(--v4-line); }
.kinds-list li { display: grid; grid-template-columns: minmax(0, 1fr) var(--v5-kinds-bar) minmax(2.4em, auto); align-items: center; column-gap: var(--v4-3); min-block-size: var(--v4-btn-h); padding-block: var(--v4-1h); border-block-end: var(--v4-px) solid var(--v4-line); font-size: var(--v4-fs-16); line-height: var(--v4-lh-snug); color: var(--v4-ink); }
.kinds-list li span { min-inline-size: 0; overflow-wrap: anywhere; }
.kinds-list li em { position: relative; display: block; block-size: var(--v4-3h); background-image: linear-gradient(to right, var(--v4-line-strong) var(--v4-px), transparent var(--v4-px)); background-size: 25% 100%; box-shadow: inset calc(var(--v4-px) * -1) 0 0 var(--v4-line-strong); }
.kinds-list li em::after { content: ""; position: absolute; inset-block: var(--v4-0h); inset-inline-start: var(--v4-0); inline-size: calc(var(--m, 0.5) * 100%); border-radius: var(--v4-0h); background: var(--brand); transform-origin: 0 50%; transition: background-color var(--v4-t-base) var(--v4-ease); }
.kinds-list li i { font-style: normal; font-size: var(--v4-fs-15); font-weight: var(--v4-w-550); font-variant-numeric: tabular-nums; text-align: end; color: var(--v4-ink-2); }
.kinds-sheet.turn .kinds-list li { animation: v5-kinds-row var(--v5-t-row) var(--v4-ease) both; animation-delay: calc(var(--n, 0) * var(--v4-stagger) * 0.6); }
.kinds-sheet.turn .kinds-list li em::after { animation: v5-kinds-bar var(--v4-t-slow) var(--v4-ease) both; animation-delay: calc(var(--n, 0) * var(--v4-stagger) * 0.6 + var(--v4-t-fast)); }
/* what a sector organises: five lines, each with its number in a small ring of the sector's colour; no durations */
.kinds-org { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; border-block-start: var(--v4-px) solid var(--v4-line); }
.kinds-org li { display: grid; grid-template-columns: var(--v5-kinds-mark) minmax(0, 1fr); align-items: center; column-gap: var(--v4-3); min-block-size: var(--v4-btn-h); padding-block: var(--v4-1h); border-block-end: var(--v4-px) solid var(--v4-line); font-size: var(--v4-fs-16); line-height: var(--v4-lh-snug); color: var(--v4-ink); }
.kinds-org li span { min-inline-size: 0; overflow-wrap: anywhere; }
.kinds-org li i { display: grid; place-items: center; inline-size: var(--v5-kinds-mark); block-size: var(--v5-kinds-mark); border-radius: var(--v4-r-pill); box-shadow: inset 0 0 0 var(--v4-px) var(--brand-line); font-style: normal; font-size: var(--v4-fs-13); font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--v4-ink-2); }
.kinds-sheet.turn .kinds-org li { animation: v5-kinds-row var(--v5-t-row) var(--v4-ease) both; animation-delay: calc(var(--n, 0) * var(--v4-stagger) * 0.6); }
.kinds-sheet.turn .kinds-head b { animation: v5-kinds-row var(--v5-t-row) var(--v4-ease) both; }
@keyframes v5-kinds-row { 0% { opacity: 0; transform: translateY(var(--v4-2)); } 100% { opacity: 1; transform: none; } }
@keyframes v5-kinds-bar { 0% { transform: scaleX(0); } 100% { transform: none; } }
.kinds-foot { font-size: var(--v4-fs-14); line-height: var(--v4-lh-body); color: var(--v4-ink-2); text-wrap: pretty; }
/* what it takes: the last line of the panel, quiet but in body colour */
.kinds-needs { display: flex; align-items: baseline; column-gap: var(--v4-2); padding-block-start: var(--v4-3); border-block-start: var(--v4-px) solid var(--v4-line); font-size: var(--v4-fs-14); line-height: var(--v4-lh-body); font-weight: var(--v4-w-500); color: var(--v4-ink-2); text-wrap: pretty; }
.kinds-needs::before { content: ""; flex: none; inline-size: var(--v4-2); block-size: var(--v4-2); border-radius: var(--v4-r-pill); box-shadow: inset 0 0 0 var(--v4-px) var(--brand); transform: translateY(calc(var(--v4-px) * -1)); }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 480px) {
  :root { --v5-kinds-orb: 5rem; --v5-kinds-big: 9rem; --v5-kinds-ring: calc(var(--v5-kinds-big) * 1.62 + 6rem); --v5-kinds-name: 6.5rem; --v5-kinds-lead: 17rem; --v5-kinds-chip: var(--v4-btn-h-sm); --v5-kinds-bar: 5.5rem; }
  .kinds-in { row-gap: var(--v4-7); }
  .kinds-ring { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kinds-top { padding: var(--v4-5) var(--v4-6); }
  .kinds-chips { gap: var(--v4-2); }
  .kinds-chip { padding-inline: var(--v4-3h); font-size: var(--v4-fs-14); }
  .kinds-sheet { padding: var(--v4-5) var(--v4-6) var(--v4-6); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 700px) {
  /* a tablet: the words beside the platter, the panel under both */
  :root { --v5-kinds-big: 8rem; }
  .kinds-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "text ring" "card card"; column-gap: var(--v4-8); align-items: center; }
  .kinds-text { grid-area: text; }
  .kinds-ring { grid-area: ring; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kinds-card { grid-area: card; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  /* the words in a band across the top (the heading, and its line beside it); under it the platter, and the panel beside it */
  :root { --v5-kinds-orb: 8.5rem; --v5-kinds-big: clamp(9rem, 13.5vw, 12.5rem); --v5-kinds-name: 7.5rem; --v5-kinds-lead: 19rem; --v5-kinds-bar: 7rem; }
  .kinds-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "text text" "ring card"; column-gap: var(--v4-12); row-gap: var(--v4-8); align-items: start; }
  .kinds-text { grid-area: text; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--v4-12); align-items: end; }
  .kinds-kick, .kinds-text h2 { grid-column: 1; }
  .kinds-text h2 { max-inline-size: none; }
  .kinds-lede { grid-column: 2; grid-row: 2; margin-block: var(--v4-0) var(--v4-2); font-size: var(--v4-fs-18); }
  /* without the script: two spheres and two under them, large, so the picture holds its side of the panel */
  .kinds-ring { grid-area: ring; margin-block-start: var(--v4-8); row-gap: var(--v4-5); }
  .kinds-ball { max-inline-size: 11rem; row-gap: var(--v4-3); }
  .kinds-ball b { font-size: var(--v4-fs-15); }
  .kinds-card { grid-area: card; }
  .kinds-top { padding: var(--v4-5) var(--v4-7); }
  .kinds-sheet { padding: var(--v4-6) var(--v4-7) var(--v4-7); row-gap: var(--v4-4); }
  .kinds-head b { font-size: var(--v4-fs-20); }
  .kinds-pain { font-size: var(--v4-fs-24); }
  .kinds-list li { font-size: var(--v4-fs-17); }
}

/* ---------- with the script: the spheres stand on a round platter seen in depth ---------- */
/* Each button is placed and sized by the script (one transform: where it stands, its size by depth), so the
   button is exactly its sphere. The name hangs under the sphere, or over it for the two at the back; it is scaled
   back by the same factor, so every name keeps its own type size. */
.kinds-ring.ringed { display: block; block-size: var(--v5-kinds-ring); margin-block-start: var(--v4-0); }
.kinds-ring.ringed:not(.set) .kinds-ball { visibility: hidden; }
.kinds-ring.ringed .kinds-plate { display: block; position: absolute; inset: var(--v4-0); inline-size: 100%; block-size: 100%; overflow: visible; pointer-events: none; visibility: hidden; }
.kinds-ring.ringed.set .kinds-plate { visibility: visible; }
.kinds-plate path { fill: url(#kinds-fill); stroke: url(#kinds-edge); stroke-width: var(--v4-px); vector-effect: non-scaling-stroke; }
.kinds-plate .pw { fill: url(#kinds-edge); stroke: none; }   /* the platter's wall, under its top face */
.kinds-plate .pf-far { stop-color: var(--v4-panel); }
.kinds-plate .pf-near { stop-color: var(--brand-line); transition: stop-color var(--v4-t-slow) var(--v4-ease); }
.kinds-plate .pe-far { stop-color: var(--v4-line-strong); }
.kinds-plate .pe-near { stop-color: var(--brand); stop-opacity: 0.7; transition: stop-color var(--v4-t-slow) var(--v4-ease); }
.kinds-ring.ringed .kinds-ball { position: absolute; inset-block-start: var(--v4-0); inset-inline-start: var(--v4-0); display: block; inline-size: var(--v5-kinds-big); max-inline-size: none; block-size: var(--v5-kinds-big); padding: var(--v4-0); border-radius: var(--v4-r-pill); transition: none; }
.kinds-ring.ringed .kinds-ball:enabled:hover { background: none; }
/* the sphere's shadow on the platter, under its foot */
.kinds-ring.ringed .kinds-ball::after { content: ""; position: absolute; z-index: -1; inset-inline: 14%; inset-block: auto -5%; block-size: 16%; border-radius: var(--v4-r-pill); background: var(--v5-kinds-shade); pointer-events: none; }
.kinds-ring.ringed .kinds-orb { inline-size: 100%; block-size: 100%; }
.kinds-ring.ringed .kinds-ball:enabled:hover .kinds-orb { filter: brightness(1.16); }
.kinds-ring.ringed .kinds-ball:enabled:active .kinds-orb { filter: brightness(0.92); }
.kinds-ring.ringed .kinds-ball b { position: absolute; inset-block-start: 100%; inset-inline-start: 50%; display: block; inline-size: max-content; max-inline-size: var(--v5-kinds-name); margin-block-start: calc(var(--gap, var(--v4-2)) / var(--s, 1)); padding: var(--v4-0h) var(--v4-1); border-radius: var(--v4-r-sm); font-size: var(--v4-fs-13); transform: translateX(-50%) scale(calc(1 / var(--s, 1))); transform-origin: 50% 0; opacity: 0; }
.kinds-ring.ringed .kinds-ball.up b { inset-block: auto 100%; margin-block: var(--v4-0) calc(var(--v4-1) / var(--s, 1)); transform-origin: 50% 100%; }
/* the other groups' names are small tags hung on their spheres, so they read over the platter's rim; the chosen name stands free under the platter */
.kinds-ring.ringed .kinds-ball:not([aria-pressed="true"]) b { margin-block-start: calc(var(--v4-0h) / var(--s, 1)); padding: var(--v4-0h) var(--v4-1h); overflow-wrap: normal; background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); }
.kinds-ring.ringed .kinds-ball.up:not([aria-pressed="true"]) b { margin-block: var(--v4-0) calc(var(--v4-1) / var(--s, 1)); max-inline-size: var(--v5-kinds-lead); }   /* the name at the back has the platter's width to itself */
/* the names show once the platter is open; a name that changes side (under or over its sphere) blinks out for a moment */
.kinds-ring.ringed.named .kinds-ball b { opacity: 1; transition-duration: var(--v4-t-base); }
.kinds-ring.ringed.named .kinds-ball.swap b { opacity: 0; transition-duration: var(--v5-t-none); }
.kinds-ring.ringed .kinds-ball:focus-visible b { box-shadow: var(--v4-ring); }
.kinds-ring.ringed .kinds-ball[aria-pressed="true"] b { max-inline-size: var(--v5-kinds-lead); font-size: var(--v4-fs-16); letter-spacing: var(--v4-track-tight); }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 480px) {
  .kinds-ring.ringed .kinds-ball b { font-size: var(--v4-fs-14); }
  .kinds-ring.ringed .kinds-ball[aria-pressed="true"] b { font-size: var(--v4-fs-18); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  .kinds-ring.ringed { margin-block-start: var(--v4-4); }
  .kinds-ring.ringed .kinds-ball[aria-pressed="true"] b { font-size: var(--v4-fs-20); }
}

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1200px) and (min-height: 800px) {
  .kinds-ring.ringed { margin-block-start: var(--v4-12); }
}

@media (prefers-reduced-motion: reduce) {
  .kinds-ball, .kinds-ball b, .kinds-orb, .kinds-chip, .kinds-tag, .kinds-of i, .kinds-list li em::after, .kinds-plate .pf-near, .kinds-plate .pe-near, .kinds-ring.ringed.named .kinds-ball b { transition: none; }
  .kinds-sheet.turn .kinds-list li, .kinds-sheet.turn .kinds-org li, .kinds-sheet.turn .kinds-head b, .kinds-sheet.turn .kinds-list li em::after { animation: none; }
}

/* finish: satin silver platter, with the business colour restrained to the near cut edge. */
.kinds-plate .pf-far { stop-color: var(--v5-finish-platter-top); }
.kinds-plate .pf-near { stop-color: var(--v5-finish-platter-near); }
.kinds-plate .pe-far { stop-color: var(--v5-finish-platter-edge); }
.kinds-plate .pe-near { stop-opacity: var(--v5-finish-platter-tint); }
.kinds-ring.ringed .kinds-ball::after { background: var(--v5-finish-platter-shade); }

/* finish: a crisp catalogue sheet beside the platter, and enamel edges on its wordless duration bars. */
.kinds-card { box-shadow: var(--v5-finish-panel-edge), var(--v5-finish-panel-cast); }
.kinds-list li em::after { box-shadow: var(--v5-finish-bar-edge); }

/* finish 2: use the actual projected platter paths, so the glint and wall always follow its scripted tilt. */
.kinds-plate .pf-far { stop-color: var(--v5-f2-platter-top); }
.kinds-plate .pf-near { stop-color: var(--v5-f2-platter-near); }
.kinds-plate .pe-far { stop-color: var(--v5-f2-platter-edge-light); }
.kinds-plate .pe-near { stop-color: var(--v5-f2-platter-edge-dark); stop-opacity: var(--v5-f2-platter-edge-opacity); }
.kinds-plate .pt { stroke-width: var(--v5-f2-platter-stroke); }
.kinds-ring.ringed .kinds-ball::after { background: var(--v5-f2-platter-contact); }

/* finish 2: catalogue shell has a fine lower lip, while every service row keeps its plain paper. */
.kinds-card { box-shadow: var(--v5-f2-shell-edge), var(--v5-f2-shell-cast); }

/* Home v5, final design. Section 7: «Μας εμπιστεύονται».
   One object: the directory board at the entrance of an office building. A clear acrylic board held off the wall
   by four standoffs, with six holders. Five holders take a nameplate (the business's own mark on a chip, its name and its kind in the
   page's own typeface); the sixth is empty and says whose it is. The plate of the page's sector is printed in that
   sector's colour. With the script and motion the board rises into place as the section comes into the window and
   the plates slide into their holders one after another (v5.s7.js); otherwise the board stands finished.
   The acrylic is the material of the stand in section 8. Mobile is the base: one column of holders. */

:root {
  /* Material finish: a clear centre, refracted perimeter and a close metal-to-glass contact. */
  --v5-trust-acrylic: linear-gradient(112deg, #D0E3DF 0%, #F9FCFB 4%, #F3F8F7 65%, #DDEBE7 92%, #A8C5BF 99%, #F8FFFC 100%);
  --v5-trust-acrylic-rim: inset 1px 1px 0 #FFFFFF, inset -1px -1px 0 rgb(49 88 88 / .6), inset 3px 3px 0 rgb(255 255 255 / .72), inset -4px -4px 0 rgb(88 137 129 / .2), inset 6px 0 5px -4px rgb(255 255 255 / .95);
  --v5-trust-name: clamp(1.5rem, 2.05vw, 1.875rem);
  --v5-trust-slot-h: 5rem;
  --v5-trust-pad: 1.25rem;
  --v5-trust-bolt: .625rem;
  --v5-trust-bolt-in: .3125rem;
  --v5-trust-depth: 87.5rem;        /* how far the eye stands from the wall while the board rises */
  --v5-trust-head-measure: 14ch;
  --v5-trust-lede-measure: 30ch;
  /* the board's shadow on the wall: it stands a finger off it */
  --v5-trust-cast: 0 2.5rem 3rem -1.75rem rgb(17 36 38 / .34), 0 .875rem 1rem -.5rem rgb(17 36 38 / .18);
  /* the thickness of the acrylic, seen a little from above: its polished lower edge */
  --v5-trust-edge: 0 1px 0 #F6FFFD, 0 .25rem 0 #B4CCC8, 0 .3125rem 0 #7E9C99;
  /* the bead on a plate: the colour of its sector's sphere */
  --v5-trust-bead: .625rem;
  /* the chip that carries a business's own mark */
  --v5-trust-logo: 3rem;
  --v5-trust-logo-edge: rgb(17 36 38 / .1);
  --v5-trust-bead-shine: radial-gradient(circle at 34% 30%, rgb(255 255 255 / .75) 0%, rgb(255 255 255 / 0) 55%);
  /* a standoff's polished cap, and its seat on the acrylic */
  --v5-trust-bolt-face: radial-gradient(circle at 34% 30%, #FFFFFF 0%, #E2EBE9 26%, #A3B7B5 60%, #6D8786 100%);
  --v5-trust-bolt-seat: inset 0 0 0 1px rgb(255 255 255 / .5), inset -1px -2px 1px rgb(17 36 38 / .3), 0 0 0 1px rgb(45 82 78 / .26), 1px 2px 2px rgb(17 36 38 / .42), 2px 4px 4px rgb(17 36 38 / .14);
  /* a holder is a shallow recess in the board; a plate sits in it */
  --v5-trust-holder: inset 1px 2px 2px rgb(17 36 38 / .24), inset 0 0 0 1px rgb(17 36 38 / .1), 0 1px 0 rgb(255 255 255 / .95);
  --v5-trust-plate-seat: 0 1px 2px rgb(17 36 38 / .16), 0 0 0 1px rgb(17 36 38 / .06);
  /* the light that crosses the acrylic as the board rises */
  --v5-trust-glint-paint: linear-gradient(90deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / .5) 46%, rgb(255 255 255 / .82) 52%, rgb(255 255 255 / 0) 100%);
  --v5-trust-glint-w: 34%;
  --v5-trust-glint-lean: -18deg;
}

.trust { --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); position: relative; padding: var(--v4-section) var(--v4-gutter); border-block-start: var(--v4-px) solid var(--v4-line); overflow-x: clip; }
.trust[data-sector="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.trust[data-sector="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.trust[data-sector="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.trust-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-8); }

.trust-head { display: grid; grid-template-columns: minmax(0, 1fr); }
.trust-kick { font-size: var(--v4-fs-14); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-muted); }
.trust-head h2 { margin-block-start: var(--v4-2); font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: var(--v5-h2); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); max-inline-size: var(--v5-trust-head-measure); text-wrap: balance; }
.trust-lede { margin-block-start: var(--v4-4); max-inline-size: var(--v5-trust-lede-measure); font-size: var(--v4-fs-17); line-height: var(--v4-lh-body); color: var(--v4-muted); text-wrap: pretty; }

/* ---------- the board ---------- */
.trust-wall { perspective: var(--v5-trust-depth); }
.trust-board { position: relative; padding: var(--v5-trust-pad); border-radius: var(--v4-r-xl); background: var(--v5-trust-acrylic); box-shadow: var(--v5-trust-acrylic-rim), var(--v5-trust-edge), var(--v5-trust-cast); transform-origin: 50% 100%; }
.trust-bolt { position: absolute; z-index: 2; inline-size: var(--v5-trust-bolt); block-size: var(--v5-trust-bolt); border-radius: var(--v4-r-pill); background: var(--v5-trust-bolt-face); box-shadow: var(--v5-trust-bolt-seat); }
.trust-bolt.b1 { inset-block-start: var(--v5-trust-bolt-in); inset-inline-start: var(--v5-trust-bolt-in); }
.trust-bolt.b2 { inset-block-start: var(--v5-trust-bolt-in); inset-inline-end: var(--v5-trust-bolt-in); }
.trust-bolt.b3 { inset-block-end: var(--v5-trust-bolt-in); inset-inline-start: var(--v5-trust-bolt-in); }
.trust-bolt.b4 { inset-block-end: var(--v5-trust-bolt-in); inset-inline-end: var(--v5-trust-bolt-in); }

/* six holders of one size; a plate fills its holder */
.trust-slots { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--v4-2h); margin: var(--v4-0); padding: var(--v4-0); list-style: none; }
.trust-slot { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-block-size: var(--v5-trust-slot-h); padding: var(--v4-1); border-radius: var(--v4-r-md); background-color: var(--v4-panel-2); box-shadow: var(--v5-trust-holder); overflow: hidden; overflow: clip; }
.trust-plate { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--v4-3); min-inline-size: var(--v4-0); padding: var(--v4-3) var(--v4-4); border-radius: var(--v4-r-sm); background-color: var(--v4-paper); box-shadow: var(--v5-trust-plate-seat); transition: background-color var(--v4-t-base) var(--v4-ease); }
/* the business's own mark, in its own colours, on a white chip: it reads the same on a plain plate and on a coloured one */
.trust-logo { display: block; inline-size: var(--v5-trust-logo); block-size: var(--v5-trust-logo); border-radius: var(--v4-r-sm); background-color: var(--v4-paper); outline: var(--v4-px) solid var(--v5-trust-logo-edge); outline-offset: calc(var(--v4-px) * -1); overflow: hidden; overflow: clip; }
.trust-logo img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
.trust-words { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-1); min-inline-size: var(--v4-0); padding-inline-end: var(--v4-4); }
.trust-name { font-size: var(--v5-trust-name); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-tight); color: var(--v4-ink); transition: color var(--v4-t-base) var(--v4-ease); }
.trust-kind { font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-500); color: var(--v4-muted); transition: color var(--v4-t-base) var(--v4-ease); }
.trust-match { justify-self: start; margin-block-start: var(--v4-1); padding: var(--v4-0h) var(--v4-2); border-radius: var(--v4-r-pill); background-color: var(--v4-paper); font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); color: var(--brand); }
.trust-match[hidden] { display: none; }
/* a bead in the colour of the sector's sphere (section 6); a business without a sector has a plain one */
.trust-slot { --dot: var(--v4-line-strong); }
.trust-slot[data-trust-sector="0"] { --dot: var(--v5-beauty); }
.trust-slot[data-trust-sector="1"] { --dot: var(--v5-promo); }
.trust-slot[data-trust-sector="2"] { --dot: var(--v5-routes); }
.trust-slot[data-trust-sector="3"] { --dot: var(--v5-studio); }
.trust-bead { position: absolute; inset-block-start: var(--v4-4); inset-inline-end: var(--v4-4); inline-size: var(--v5-trust-bead); block-size: var(--v5-trust-bead); border-radius: var(--v4-r-pill); background: var(--v5-trust-bead-shine), var(--dot); transition: background-color var(--v4-t-base) var(--v4-ease); }
.trust-slot.match { --dot: var(--v4-paper); }
/* the plate of the page's sector is printed in the sector's colour */
.trust-slot.match .trust-plate { background-color: var(--brand); }
.trust-slot.match .trust-name, .trust-slot.match .trust-kind { color: var(--v4-paper); }
/* the empty holder */
.trust-yours { align-items: center; padding-inline: var(--v4-5); }
.trust-yours p { font-size: var(--v4-fs-16); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-500); color: var(--v4-muted); }

/* the light crosses the board only while it rises: its frame is always there (empty), the light only in the moving page */
.trust-glint { position: absolute; z-index: 3; inset: var(--v4-0); display: block; border-radius: inherit; overflow: hidden; overflow: clip; pointer-events: none; }
.film .trust-glint::before { content: ''; position: absolute; inset-block: var(--v4-0); inset-inline-start: var(--v4-0); inline-size: var(--v5-trust-glint-w); background: var(--v5-trust-glint-paint); opacity: var(--trust-ga, 0); transform: translateX(calc(var(--trust-g, -1.2) * 100%)) skewX(var(--v5-trust-glint-lean)); }
.film .trust-board.moving { will-change: transform; }
.film .trust-board.moving .trust-plate { will-change: transform; }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 600px) {
  :root { --v5-trust-pad: 1.75rem; --v5-trust-bolt: .75rem; --v5-trust-bolt-in: .5rem; --v5-trust-slot-h: 6rem; --v5-trust-logo: 3.25rem; }
  /* side by side, the holders of every row are one height */
  .trust-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--v4-3); }
  .trust-plate { padding: var(--v4-4) var(--v4-5); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  /* the heading on the left, the line that ties this to the sectors on the right, on the heading's last line */
  .trust-head { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--v4-8); align-items: end; }
  .trust-kick, .trust-head h2 { grid-column: 1; }
  .trust-lede { grid-column: 2; grid-row: 2; margin-block: var(--v4-0) var(--v4-2); font-size: var(--v4-fs-18); }
  .trust-in { row-gap: var(--v4-10); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1000px) {
  :root { --v5-trust-pad: 2.5rem; --v5-trust-bolt: 1.125rem; --v5-trust-bolt-in: .6875rem; --v5-trust-slot-h: 8rem; --v5-trust-logo: 3.75rem; }
  .trust-plate { column-gap: var(--v4-4); }
  .trust-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--v4-4); }
  .trust-plate { padding: var(--v4-4) var(--v4-6); }
  .trust-yours { padding-inline: var(--v4-6); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-plate, .trust-name, .trust-kind, .trust-bead { transition: none; }
}

/* Home v5, final design. Section 8: «Ξεκίνημα».
   Four steps, each marked with who does it, and one object: a small stand for a reception counter (a printed card
   inside a clear holder on a foot, drawn as real boxes in 3D, standing on a counter). The card carries the
   business's name, its app icon, a few services and a QR code. With the script and motion the card is printed in
   four passes as the section comes into the window, one pass a step: it comes in as a proof (the whole layout in
   pale lines) and each pass inks its own part (the name; the colour and the icon; the services; the code, row by
   row). The step being printed is marked in the list, and named over the stand on a phone. The stand turns a
   little with the scroll. Without motion, or without the script, the stand stands finished and the four steps are
   a plain numbered list. Mobile is the base: the heading, the steps, the button, the stand. */

:root {
  /* Upright cut profile; the foot retains its original tested surface. */
  --v5-material-acrylic-cut-profile: #F8FFFD 0%, #FFFFFF 8%, #729C96 13%, #D5EAE6 25%, #F7FFFD 36%, #B9D5CE 54%, #719A92 86%, #DDEFE9 100%;
  --v5-material-acrylic-cut-top: linear-gradient(0deg, var(--v5-material-acrylic-cut-profile));
  --v5-material-acrylic-foot-cut: linear-gradient(90deg, #F8FFFD 0%, #F8FFFD 8%, #86A6A3 14%, #D5EAE6 31%, #F7FFFD 43%, #A9C6C2 58%, #5C807E 88%, #C9E2DD 100%);
  /* finish 2: clear-margin reflections and seated acrylic; zoom handles these rem and pixel lengths. */
  --v5-f2-acrylic: linear-gradient(112deg, #FFFFFF 0%, #C8DCDA 3%, #F5FAF9 7%, #E0ECEA 86%, #A7C3C0 96%, #F6FFFD 100%);
  --v5-f2-acrylic-cut: linear-gradient(90deg, var(--v5-material-acrylic-cut-profile));
  --v5-f2-acrylic-rim: inset 1px 1px 0 #FFFFFF, inset -1px -1px 0 rgb(49 88 88 / .46), inset 3px 0 2px rgb(255 255 255 / .92);
  --v5-f2-acrylic-margin: linear-gradient(180deg, transparent 2%, rgb(255 255 255 / .96) 17%, rgb(255 255 255 / .2) 65%, transparent 96%), linear-gradient(115deg, transparent 15%, rgb(255 255 255 / .9) 28%, transparent 42%), linear-gradient(180deg, transparent 20%, rgb(255 255 255 / .8) 54%, transparent 82%);
  --v5-f2-acrylic-margin-size: .24rem 100%, 100% .3rem, .18rem 100%;
  --v5-f2-acrylic-margin-position: left .15rem top, left top .12rem, right .12rem top;
  --v5-f2-acrylic-streak-inset: 3% auto 6% .3rem;
  --v5-f2-acrylic-streak-w: .16rem;
  --v5-f2-foot-top: linear-gradient(116deg, transparent 25%, rgb(255 255 255 / .93) 29%, rgb(255 255 255 / .35) 33%, transparent 40%), linear-gradient(180deg, #B5CECA 0%, #F6FFFC 37%, #BED6D1 69%, #F3FCF9 96%, #719693 100%);
  --v5-f2-foot-slot: radial-gradient(ellipse 45% 12% at 50% 50%, rgb(17 36 38 / .42) 12%, rgb(17 36 38 / .12) 52%, transparent 100%);
  --v5-f2-counter-cast: radial-gradient(ellipse 39% 12% at 50% 48%, rgb(17 36 38 / .36) 10%, transparent 100%), radial-gradient(ellipse at 63% 58%, rgb(17 36 38 / .18) 12%, rgb(17 36 38 / .07) 43%, transparent 72%);
  --v5-f2-counter-top: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / .9) 44%, transparent 51%), linear-gradient(180deg, rgb(242 247 246 / 0), #F2F7F6 46%, #DFE8E6 100%);
  /* the reflection under the foot fades in every direction: no edge of its own shows on the counter */
  --v5-f2-counter-reflection: radial-gradient(ellipse 44% 92% at 50% 0, rgb(93 135 130 / .16), rgb(93 135 130 / .045) 52%, transparent 76%);
  --v5-f2-counter-reflection-inset: 47% 24% 5%;
  --v5-f2-counter-reflection-shape: polygon(2% 0, 98% 0, 91% 100%, 9% 100%);
  /* finish: polished acrylic edges, clear margins, and a matte printed insert. Zoom scales these lengths. */
  --v5-finish-acrylic: linear-gradient(132deg, #FFFFFF 0%, #F0F6F5 20%, #E3ECEB 64%, #FAFCFC 100%);
  --v5-finish-acrylic-edge: linear-gradient(90deg, #FCFFFF 0%, #A5BDBB 16%, #E5F2EF 30%, #C1D3D1 62%, #788F90 100%);
  --v5-finish-acrylic-top: linear-gradient(180deg, #FFFFFF, #DFEBE9 52%, #A8BFBD);
  --v5-finish-acrylic-rim: inset 1px 1px 0 rgb(255 255 255 / .96), inset -1px -1px 0 rgb(80 117 116 / .28), inset 2px 0 3px rgb(255 255 255 / .6);
  --v5-finish-acrylic-glint: linear-gradient(112deg, rgb(255 255 255 / 0) 36%, rgb(255 255 255 / .035) 44%, rgb(255 255 255 / 0) 51%);
  --v5-finish-card-seat: 0 0 0 1px rgb(17 36 38 / .12), 1px 2px 3px rgb(17 36 38 / .12), inset 0 1px 0 rgb(255 255 255 / .9);
  --v5-finish-stand-foot: linear-gradient(180deg, #F4FAF9 0%, #BACDCA 22%, #DFE9E7 48%, #A5B9B7 100%);
  --v5-finish-foot-seat: radial-gradient(ellipse 44% 16% at 50% 50%, rgb(17 36 38 / .19), rgb(17 36 38 / .075) 36%, rgb(17 36 38 / 0) 100%);
  --v5-finish-counter-cast: radial-gradient(ellipse at 64% 53%, rgb(17 36 38 / .2) 9%, rgb(17 36 38 / .09) 40%, rgb(17 36 38 / 0) 71%);
  --v5-finish-acrylic-streak-inset: 4% auto 5% 0;
  --v5-finish-acrylic-streak-w: .1rem;
  --v5-finish-acrylic-streak: linear-gradient(180deg, rgb(255 255 255 / 0), rgb(255 255 255 / .9) 18%, rgb(255 255 255 / .28) 70%, rgb(255 255 255 / 0));
  --v5-start-w: 13rem;              /* the holder's face */
  --v5-start-h: 18.5rem;
  --v5-start-d: 0.875rem;           /* how thick the holder is */
  --v5-start-foot-w: 16.5rem;       /* its foot: width, height, depth */
  --v5-start-foot-h: 0.625rem;
  --v5-start-foot-d: 5rem;
  --v5-start-desk-w: 26rem;         /* the counter it stands on: width and depth */
  --v5-start-desk-d: 14rem;
  --v5-start-code: 5.25rem;         /* the code on the card */
  --v5-start-see: 64rem;            /* how far the eye is from the stand */
  --v5-start-rx: -10deg;            /* seen a little from above */
  --v5-start-ry: -20deg;            /* and from its right side, at rest */
  --v5-start-ss: 2;                 /* the card is laid out at this many times its size and shown scaled back, so its words are drawn sharp on the turned plane */
  --v5-start-ss-back: 0.5;          /* 1 / --v5-start-ss */
  --v5-start-clear: linear-gradient(140deg, rgb(255 255 255 / .96), rgb(232 239 239 / .94) 60%, rgb(255 255 255 / .96));   /* the clear holder, catching the light */
  --v5-start-glint: linear-gradient(112deg, rgb(255 255 255 / 0) 38%, rgb(255 255 255 / .32) 47%, rgb(255 255 255 / 0) 56%);  /* one reflection across it */
  --v5-start-edge: linear-gradient(to right, rgb(203 212 212 / .95), rgb(240 244 244 / .95) 45%, rgb(170 184 184 / .95));     /* its cut edge */
  --v5-start-desk: linear-gradient(to bottom, rgb(246 248 248 / 0), rgb(246 248 248 / 1) 45%, rgb(238 242 242 / 1));        /* the counter's top, fading away from the viewer */
  --v5-start-fade: linear-gradient(to right, rgb(255 255 255 / 1), rgb(255 255 255 / 0) 18%, rgb(255 255 255 / 0) 82%, rgb(255 255 255 / 1));   /* and at its two ends */
  --v5-start-lip: linear-gradient(to right, rgb(226 232 232 / 0), rgb(226 232 232 / 1) 18%, rgb(210 218 218 / 1) 82%, rgb(210 218 218 / 0));     /* its near face */
  --v5-start-shade: radial-gradient(closest-side, rgb(13 30 30 / .32), rgb(13 30 30 / 0));
  --v5-shadow-card: 0 0 0 1px rgb(13 30 30 / .14), 0 1px 2px rgb(13 30 30 / .16), inset 0 0 0 1px rgb(255 255 255 / .6);
  --v5-shadow-recess: inset 0 0 0 1px rgb(13 30 30 / .12), inset 0 2px 3px rgb(13 30 30 / .06);
  --v5-shadow-foot: 0 1px 0 rgb(13 30 30 / .18);
}

/* ---------- the base ---------- */
.start { --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); position: relative; padding: var(--v4-section) var(--v4-gutter); border-block-start: var(--v4-px) solid var(--v4-line); overflow-x: clip; }
.start[data-sector="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.start[data-sector="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.start[data-sector="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.start-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-5); }
.start-kick { font-size: var(--v4-fs-14); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-muted); }
.start-head h2 { margin-block-start: var(--v4-2); font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: var(--v5-h2); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); max-inline-size: 12ch; text-wrap: balance; }

/* the four steps: the number, the line (and its smaller line), and who does it */
.start-steps { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; list-style: none; padding: var(--v4-0); border-block-start: var(--v4-px) solid var(--v4-line); }
.start-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--v4-3); align-items: start; padding-block: var(--v4-3); border-block-end: var(--v4-px) solid var(--v4-line); }
.start-n { display: grid; place-items: center; inline-size: var(--v4-7); block-size: var(--v4-7); border-radius: var(--v4-r-pill); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); font-style: normal; color: var(--v4-ink); transition: background-color var(--v4-t-base) var(--v4-ease), box-shadow var(--v4-t-base) var(--v4-ease), color var(--v4-t-base) var(--v4-ease); }
.start-n b { font-size: var(--v4-fs-13); font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; }
.start-steps p { display: grid; row-gap: var(--v4-0h); padding-block-start: var(--v4-0h); }
.start-steps span { font-size: var(--v4-fs-17); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); text-wrap: pretty; }
.start-steps small { display: grid; max-inline-size: 46ch; font-size: var(--v4-fs-14); line-height: var(--v4-lh-body); color: var(--v4-ink-2); }
.start-steps small i { font-style: normal; text-wrap: pretty; }
/* who: «Εσύ» is a plain tag; «Εμείς» is a filled one, so the one step that is not yours stands out */
.start-who { margin-block-start: var(--v4-0h); padding: var(--v4-0h) var(--v4-2); border-radius: var(--v4-r-pill); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); font-style: normal; font-size: var(--v4-fs-13); line-height: var(--v4-lh-body); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-ink-2); white-space: nowrap; }
.start-steps li[data-who="us"] .start-who { background: var(--v4-ink); box-shadow: none; color: var(--v4-paper); }
.start-cta { margin-block-start: var(--v4-0); }
/* the counter's plane reaches under the words on a wide window: the words stay above it */
.start-head, .start-steps, .start-cta { position: relative; z-index: 1; }

/* the picture: the stand on the counter */
.start-pic { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: var(--v4-2); }
.start-now { display: none; }
.start-stage { position: relative; display: grid; justify-items: center; align-items: end; inline-size: 100%; block-size: calc(var(--v5-start-h) + var(--v5-start-desk-d) * 0.3 + 3rem); padding-block-end: calc(var(--v5-start-desk-d) * 0.3); perspective: var(--v5-start-see); perspective-origin: 50% 36%; }
/* the room is seen a little from above; in it the counter faces the visitor and the stand turns on the counter */
.start-world { position: relative; inline-size: var(--v5-start-w); block-size: calc(var(--v5-start-h) + var(--v5-start-foot-h)); transform-style: preserve-3d; transform: rotateX(var(--v5-start-rx)); }
.start-stand { position: absolute; inset: var(--v4-0); transform-style: preserve-3d; transform: rotateY(var(--ry, var(--v5-start-ry))); }
/* the counter lies flat under the foot (its near edge is a crisp line), and the stand's shadow lies on it, away from the light */
.st-desk, .st-cast { position: absolute; inset-block-start: 100%; inset-inline-start: 50%; transform: rotateX(90deg); }
.st-desk { transform-origin: 50% 42%; }
.st-cast { transform-origin: 50% 59.5%; }
.st-lip { position: absolute; inset-block-start: 100%; inset-inline-start: 50%; inline-size: var(--v5-start-desk-w); block-size: var(--v4-1h); margin-inline-start: calc(var(--v5-start-desk-w) / -2); background: var(--v5-start-lip); transform: translateZ(calc(var(--v5-start-desk-d) * 0.58)); }
.st-desk { inline-size: var(--v5-start-desk-w); block-size: var(--v5-start-desk-d); margin: calc(var(--v5-start-desk-d) * -0.42) 0 0 calc(var(--v5-start-desk-w) / -2); background: var(--v5-start-fade), var(--v5-start-desk); }
.st-cast { inline-size: calc(var(--v5-start-foot-w) * 1.15); block-size: calc(var(--v5-start-foot-d) * 2.1); margin: calc(var(--v5-start-foot-d) * -1.25) 0 0 calc(var(--v5-start-foot-w) * -0.66); border-radius: var(--v4-r-pill); background: var(--v5-start-shade); }
.st-slab { position: absolute; inset-block-start: var(--v4-0); inset-inline-start: var(--v4-0); inline-size: var(--v5-start-w); block-size: var(--v5-start-h); transform-style: preserve-3d; }
/* the clear holder's face: the printed card sits in a shallow recess, and one reflection crosses the plastic */
.st-face { position: absolute; inset: var(--v4-0); display: grid; grid-template-columns: minmax(0, 1fr); padding: var(--v4-2) var(--v4-2) var(--v4-3); border-radius: var(--v4-0h); background: var(--v5-start-clear); box-shadow: var(--v5-shadow-recess); transform: translateZ(calc(var(--v5-start-d) / 2)); }
/* sharpness: the face is laid out at --v5-start-ss times its size (zoom scales every length in it, the tokens in rem
   included) and shown scaled back, so the browser draws the card's words with that many more pixels before it turns
   them in 3D. On the face the size and the push toward the visitor are divided by the zoom, so it lands where it was. */
.start .st-face { zoom: var(--v5-start-ss); inset: var(--v4-0) auto auto var(--v4-0); inline-size: var(--v5-start-w); block-size: var(--v5-start-h); transform-origin: 0 0; transform: translateZ(calc(var(--v5-start-d) / 2 / var(--v5-start-ss))) scale3d(var(--v5-start-ss-back), var(--v5-start-ss-back), var(--v5-start-ss-back)); }
.st-face::after { content: ""; position: absolute; inset: var(--v4-0); border-radius: var(--v4-0h); background: var(--v5-start-glint); pointer-events: none; }
.st-side { position: absolute; inset-block: var(--v4-0); inset-inline-start: calc(100% - var(--v5-start-d) / 2); inline-size: var(--v5-start-d); background: var(--v5-start-edge); transform: rotateY(90deg); }
.st-top { position: absolute; inset-inline: var(--v4-0); inset-block-start: calc(var(--v5-start-d) / -2); block-size: var(--v5-start-d); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); transform: rotateX(90deg); }
.st-base { position: absolute; inset-block-start: var(--v5-start-h); inset-inline-start: calc((var(--v5-start-w) - var(--v5-start-foot-w)) / 2); inline-size: var(--v5-start-foot-w); block-size: var(--v5-start-foot-h); transform-style: preserve-3d; }
.sb-front { position: absolute; inset: var(--v4-0); background: linear-gradient(to bottom, var(--v4-line), var(--v4-line-strong)); box-shadow: var(--v5-shadow-foot); transform: translateZ(calc(var(--v5-start-foot-d) / 2)); }
.sb-top { position: absolute; inset-inline: var(--v4-0); inset-block-start: calc(var(--v5-start-foot-d) / -2); block-size: var(--v5-start-foot-d); background: linear-gradient(to bottom, var(--v4-panel-2), var(--v4-paper)); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); transform: rotateX(90deg); }
.sb-side { position: absolute; inset-block: var(--v4-0); inset-inline-start: calc(100% - var(--v5-start-foot-d) / 2); inline-size: var(--v5-start-foot-d); background: var(--v4-line-strong); transform: rotateY(90deg); }

/* the printed card: a head, the list (always the room of three lines), and at its foot the code with its words beside it.
   --p1, --p2, --p3 and --q say how far each of the four passes has inked its part (1 when there is no motion). */
.st-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; row-gap: var(--v4-2); padding-block-end: var(--v4-3); border-radius: var(--v4-0h); background: var(--v4-paper); box-shadow: var(--v5-shadow-card); overflow: hidden; overflow: clip; }
/* its head: the app icon and the name, on the business's colour (the colour is laid from left to right by the second pass) */
.st-brand { position: relative; display: flex; align-items: center; column-gap: var(--v4-2); min-inline-size: 0; padding: var(--v4-2h) var(--v4-3); background-color: var(--brand); background-image: linear-gradient(to right, var(--brand) calc(var(--p2, 1) * 100%), var(--v4-panel) calc(var(--p2, 1) * 100%)); }
.st-icon { flex: none; display: grid; place-items: center; inline-size: var(--v4-8); block-size: var(--v4-8); border-radius: var(--v4-2); background: var(--v4-paper); font-style: normal; font-size: var(--v4-fs-15); font-weight: var(--v4-w-600); color: var(--brand); opacity: clamp(0, calc(var(--p2, 1) * 6), 1); }
.st-brand span { position: relative; display: grid; justify-items: start; row-gap: var(--v4-0h); min-inline-size: 0; }
.st-brand b { font-size: var(--v4-fs-15); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-paper); overflow-wrap: anywhere; clip-path: inset(0 calc((1 - var(--p1, 1)) * 100%) 0 0); }
.st-brand small { font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); color: var(--v4-paper); overflow-wrap: anywhere; clip-path: inset(0 calc((1 - clamp(0, var(--p2, 1) * 2 - 0.9, 1)) * 100%) 0 0); }
.st-list { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; list-style: none; min-block-size: calc((var(--v4-fs-12) * var(--v4-lh-snug) + var(--v4-1) * 2 + var(--v4-px)) * 3); padding: var(--v4-0) var(--v4-3); }
/* a service line: --r is how much of it the third pass has inked (the lines follow one another) */
.st-list li { --r: clamp(0, calc(var(--p3, 1) * 3 - var(--i, 0)), 1); position: relative; padding-block: var(--v4-1); border-block-end: var(--v4-px) solid var(--v4-line); font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); color: var(--v4-ink-2); }
.st-list li span { display: block; overflow-wrap: anywhere; clip-path: inset(0 calc((1 - var(--r)) * 100%) 0 0); }
.st-go { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--v4-3); align-items: end; padding-inline: var(--v4-3); }
.st-qr { position: relative; inline-size: var(--v5-start-code); block-size: var(--v5-start-code); }
.st-qr svg { display: block; inline-size: 100%; block-size: 100%; fill: var(--v4-ink); clip-path: inset(0 0 calc((1 - var(--q, 1)) * 100%) 0); }
/* the edge the code is printed along: only while it prints, and only as wide as the code */
.st-qr::after { content: ""; position: absolute; inset-inline: var(--v4-0); inset-block-start: calc(var(--q, 1) * 100%); block-size: var(--v4-px); background: var(--brand); opacity: 0; }
.st-scan { font-size: var(--v4-fs-13); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); clip-path: inset(0 calc((1 - clamp(0, var(--q, 1) * 4 - 3, 1)) * 100%) 0 0); }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 480px) {
  :root { --v5-start-w: 15rem; --v5-start-h: 21.5rem; --v5-start-foot-w: 19rem; --v5-start-foot-d: 5.5rem; --v5-start-desk-w: 32rem; --v5-start-desk-d: 16rem; --v5-start-code: 6.25rem; }
  .st-card { row-gap: var(--v4-2h); padding-block-end: var(--v4-4); }
  .st-brand { padding: var(--v4-3) var(--v4-4); }
  .st-go { padding-inline: var(--v4-4); }
  .st-list { padding-inline: var(--v4-4); min-block-size: calc((var(--v4-fs-13) * var(--v4-lh-snug) + var(--v4-1) * 2 + var(--v4-px)) * 3); }
  .st-list li { font-size: var(--v4-fs-13); }
  .st-scan { font-size: var(--v4-fs-15); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 700px) {
  /* a tablet: the heading across the top; under it the steps and the button on the left, a smaller stand on the right */
  :root { --v5-start-w: 13.5rem; --v5-start-h: 19.5rem; --v5-start-foot-w: 17rem; --v5-start-foot-d: 5rem; --v5-start-desk-w: 28rem; --v5-start-desk-d: 15rem; --v5-start-code: 5.5rem; }
  .start-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head head" "steps pic" "cta pic"; column-gap: var(--v4-6); row-gap: var(--v4-6); align-items: start; }
  .start-head { grid-area: head; }
  .start-head h2 { max-inline-size: none; }
  .start-steps { grid-area: steps; }
  .start-cta { grid-area: cta; }
  .start-pic { grid-area: pic; align-self: center; }
  .st-scan { font-size: var(--v4-fs-13); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1080px) {
  /* a desktop: the heading over the steps on the left, the stand large on the right, beside all of it */
  :root { --v5-start-w: 18.5rem; --v5-start-h: 26.5rem; --v5-start-d: 1rem; --v5-start-foot-w: 23.5rem; --v5-start-foot-h: 0.75rem; --v5-start-foot-d: 6.75rem; --v5-start-desk-w: 42rem; --v5-start-desk-d: 22rem; --v5-start-code: 8rem; }
  .start-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "head pic" "steps pic" "cta pic"; column-gap: var(--v4-8); row-gap: var(--v4-7); }
  .start-head h2 { max-inline-size: 12ch; }
  .st-face { padding: var(--v4-2h) var(--v4-2h) var(--v4-4); }
  .st-card { row-gap: var(--v4-3); padding-block-end: var(--v4-5); }
  .st-go { padding-inline: var(--v4-5); column-gap: var(--v4-4); }
  .st-brand { padding: var(--v4-4) var(--v4-5); column-gap: var(--v4-3); }
  .st-icon { inline-size: var(--v4-10); block-size: var(--v4-10); font-size: var(--v4-fs-18); }
  .st-brand b { font-size: var(--v4-fs-18); }
  .st-brand small { font-size: var(--v4-fs-13); }
  .st-list { padding-inline: var(--v4-5); min-block-size: calc((var(--v4-fs-14) * var(--v4-lh-snug) + var(--v4-1h) * 2 + var(--v4-px)) * 3); }
  .st-list li { padding-block: var(--v4-1h); font-size: var(--v4-fs-14); }
  .st-scan { font-size: var(--v4-fs-18); }
  .start-steps span { font-size: var(--v4-fs-18); }
  .start-steps small { max-inline-size: none; }
}

/* ---------- with the script and motion: a proof that is inked in four passes ---------- */
/* The section carries data-step (how many passes are done, 0 to 4) only while the page is in film mode, and the
   stand carries how far each pass has gone. What a pass has not inked yet is there as a proof: hairline outlines
   where the icon, the words and the code will be, which fade as the ink arrives. The step being printed has its
   number filled. */
.film .start[data-step] .start-steps li.now .start-n { background: var(--brand); box-shadow: inset 0 0 0 var(--v4-px) var(--brand); color: var(--v4-paper); }
/* over the stand, on a narrow window: the step being printed, in its own words */
.film .start[data-step] .start-now { display: block; min-block-size: calc(var(--v4-fs-14) * var(--v4-lh-snug) * 2); max-inline-size: 22rem; font-size: var(--v4-fs-14); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-snug); text-align: center; text-wrap: balance; color: var(--v4-ink); }
/* until the second pass has laid the colour past the name, the head is pale and its two lines are in dark ink */
.film .start[data-step]:not(.lit) .st-brand { background-color: var(--v4-panel); }
.film .start[data-step]:not(.lit) .st-brand b { color: var(--v4-ink); }
.film .start[data-step]:not(.lit) .st-brand small { color: var(--v4-ink-2); }
/* the proof: an outline for the icon, for the name and the kind of business, and for each service */
.film .start[data-step] .st-brand::before, .film .start[data-step] .st-brand span::before, .film .start[data-step] .st-brand span::after, .film .start[data-step] .st-list li::before { content: ""; position: absolute; border-radius: var(--v4-0h); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); pointer-events: none; }
.film .start[data-step] .st-brand::before { inset-block-start: 50%; inset-inline-start: var(--v4-3); inline-size: var(--v4-8); block-size: var(--v4-8); margin-block-start: calc(var(--v4-8) / -2); border-radius: var(--v4-2); opacity: calc(1 - clamp(0, var(--p2, 1) * 6, 1)); }
.film .start[data-step] .st-brand span::before { inset-block-start: 0.3em; inset-inline-start: var(--v4-0); inline-size: 5.5em; block-size: 0.85em; opacity: calc(1 - var(--p1, 1)); }
.film .start[data-step] .st-brand span::after { inset-block-end: 0.15em; inset-inline-start: var(--v4-0); inline-size: 7.5em; block-size: 0.6em; opacity: calc(1 - clamp(0, var(--p2, 1) * 2 - 0.9, 1)); }
.film .start[data-step] .st-list li::before { inset-block-start: 50%; inset-inline-start: var(--v4-0); inline-size: 62%; block-size: 0.6em; margin-block-start: -0.3em; opacity: calc(1 - var(--r)); }
.film .start[data-step] .st-list li:nth-child(2)::before { inline-size: 38%; }
.film .start[data-step] .st-list li:nth-child(3)::before { inline-size: 50%; }
/* until the code is printed its place is an outline */
.film .start[data-step]:not([data-step="4"]) .st-qr { outline: var(--v4-px) dashed var(--v4-line-strong); outline-offset: var(--v4-0h); }
.film .start.printing .st-qr::after { opacity: 1; }
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 700px) {
  .film .start[data-step] .start-now { display: none; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 1080px) {
  .film .start[data-step] .st-brand::before { inset-inline-start: var(--v4-5); inline-size: var(--v4-10); block-size: var(--v4-10); margin-block-start: calc(var(--v4-10) / -2); }
}

@media (prefers-reduced-motion: reduce) {
  .start-n { transition: none; }
}

/* finish: clear holder with polished cut edges; strong reflection stays outside the printed insert. */
.st-face { background-color: var(--v4-paper); background-image: var(--v5-finish-acrylic); box-shadow: var(--v5-finish-acrylic-rim); }
.st-face::before {
  content: ''; position: absolute; inset: var(--v5-finish-acrylic-streak-inset);
  inline-size: var(--v5-finish-acrylic-streak-w); background: var(--v5-finish-acrylic-streak);
  pointer-events: none;
}
.st-face::after { background: var(--v5-finish-acrylic-glint); }
.st-side { background: var(--v5-finish-acrylic-edge); }
.st-top { background: var(--v5-finish-acrylic-top); box-shadow: var(--v5-finish-acrylic-rim); }

/* finish: the printed stock sits against the acrylic; the face reflection over ink is capped at 3.5 percent. */
.st-card { background-color: var(--v4-paper); box-shadow: var(--v5-finish-card-seat); }

/* finish: the slot casts onto the foot, and the foot casts onto the counter; both use existing planes. */
.sb-top { background-image: var(--v5-finish-foot-seat), var(--v5-finish-acrylic-top); box-shadow: var(--v5-finish-acrylic-rim); }
.sb-front { background: var(--v5-finish-stand-foot); box-shadow: var(--v5-shadow-foot); }
.sb-side { background: var(--v5-finish-acrylic-edge); }
.st-cast { background: var(--v5-finish-counter-cast); }

/* finish 2: the strong reflection occupies only clear margins; the insert and QR receive no overlay. */
.st-face { background-image: var(--v5-f2-acrylic); box-shadow: var(--v5-f2-acrylic-rim); }
.st-face::before { inset: var(--v5-f2-acrylic-streak-inset); inline-size: var(--v5-f2-acrylic-streak-w); }
.st-face::after {
  background-image: var(--v5-f2-acrylic-margin);
  background-size: var(--v5-f2-acrylic-margin-size);
  background-position: var(--v5-f2-acrylic-margin-position);
  background-repeat: no-repeat;
}
.st-side { background: var(--v5-f2-acrylic-cut); }
.sb-side { background: var(--v5-material-acrylic-foot-cut); }
.st-top { background: var(--v5-material-acrylic-cut-top); box-shadow: var(--v5-f2-acrylic-rim); }

/* finish 2: a dark slot seats the holder; a white strip catches the foot's upper face. */
.sb-top { background-image: var(--v5-f2-foot-slot), var(--v5-f2-foot-top); box-shadow: var(--v5-f2-acrylic-rim); }
.sb-front { background: var(--v5-material-acrylic-foot-cut); box-shadow: var(--v5-shadow-foot); }
.st-cast { background: var(--v5-f2-counter-cast); }

/* finish 2: satin counter with a short, fading acrylic reflection on its own existing ground plane. */
.st-desk { background: var(--v5-start-fade), var(--v5-f2-counter-top); }
.st-desk::after {
  content: ''; position: absolute; inset: var(--v5-f2-counter-reflection-inset);
  background: var(--v5-f2-counter-reflection); clip-path: var(--v5-f2-counter-reflection-shape);
  pointer-events: none;
}

/* Home v5, final design. Section 9: «Μεγαλώνει μαζί σου».
   The base package and four additions, as the floors of a small building drawn as real boxes in 3D inside a frame
   of four posts: the ground floor is the base, solid, in the colour of the group the page is on, with a door; each
   addition is an empty storey of the frame (dashed edges) until the visitor ticks it, and then it is built (paper
   walls, a slab, lit windows, its number). A line adds up what is ticked: an estimate, nothing is bought. Beside
   the building the same things are a list: the base and its price first, then each addition with a tick box and
   the number of its floor. On a phone the building and the total stay at the top of the window while the list is
   ticked. With the script and motion the floors come down into the frame as the section comes into the window and
   the building turns a little with the scroll. Without the script the list is a plain price list and the building
   shows the base alone. Mobile is the base. */

:root {
  /* finish 2: folded model faces and glazed windows; zoom scales lengths with the existing storeys. */
  --v5-f2-building-roof: linear-gradient(126deg, transparent 22%, rgb(255 255 255 / .38) 27%, rgb(255 255 255 / .12) 33%, transparent 39%), linear-gradient(130deg, rgb(255 255 255 / .24), rgb(255 255 255 / .07) 53%, rgb(17 36 38 / .18));
  /* finish 2: wall shading sits behind the original windows; numbered plaques keep their opaque backing. */
  --v5-f2-building-wall-light: linear-gradient(116deg, rgb(255 255 255 / .12), rgb(255 255 255 / .025) 36%, transparent 55%, rgb(17 36 38 / .12));
  --v5-f2-building-wall-dark: linear-gradient(116deg, rgb(255 255 255 / .025), rgb(17 36 38 / .13) 55%, rgb(17 36 38 / .28));
  --v5-f2-building-roof-edge: inset 0 0 0 1px rgb(255 255 255 / .58), inset 1px 2px 0 rgb(255 255 255 / .64), inset -1px -3px 2px rgb(17 36 38 / .23);
  --v5-f2-building-front: inset 1px 2px 0 rgb(255 255 255 / .66), inset -1px -3px 1px rgb(17 36 38 / .27), inset .3rem 0 .5rem -.3rem rgb(255 255 255 / .26);
  --v5-f2-building-side: inset 1px 2px 0 rgb(255 255 255 / .36), inset .25rem 0 .4rem -.2rem rgb(17 36 38 / .38), inset 0 -3px 2px rgb(17 36 38 / .3);
  --v5-f2-building-windows: repeating-linear-gradient(90deg, #73958D 0%, currentColor 5%, currentColor 14%, #F2FFF9 18%, currentColor 23%, currentColor 42%, #87A89F 46%, transparent 46%, transparent 100%);
  --v5-f2-post-front: linear-gradient(90deg, #FFFFFF 0%, #E9F6F0 21%, #7A9B92 39%, #B2CBC1 63%, #587D76 100%);
  --v5-f2-post-side: linear-gradient(90deg, #D0E7DC 0%, #87A99F 19%, #426B64 100%);
  --v5-f2-building-ground: radial-gradient(ellipse 32% 25% at 52% 50%, rgb(17 36 38 / .34), transparent 100%), radial-gradient(ellipse at 60% 56%, rgb(17 36 38 / .2) 15%, rgb(17 36 38 / .07) 40%, transparent 72%);
  --v5-f2-door-glass: linear-gradient(126deg, #E1EEE9 0%, #FFFFFF 26%, #FFFFFF 33%, #DCEAE4 36%, #F9FCFA 68%, #D0E1DA 100%);
  --v5-f2-door-seat: inset 1px 2px 2px rgb(17 36 38 / .35), inset -1px -1px 0 rgb(255 255 255 / .9);
  /* finish: powder-coated architectural model, with a folded-metal frame. Faces retain their zoom convention. */
  --v5-finish-building-top: linear-gradient(130deg, rgb(255 255 255 / .25), rgb(255 255 255 / .1) 56%, rgb(17 36 38 / .06));
  --v5-finish-building-edge: inset 0 1px 0 rgb(255 255 255 / .48), inset 1px 0 0 rgb(255 255 255 / .2), inset 0 -2px 2px rgb(17 36 38 / .2);
  --v5-finish-building-side: inset 0 1px 0 rgb(255 255 255 / .22), inset 2px 0 3px rgb(17 36 38 / .16), inset 0 -2px 2px rgb(17 36 38 / .22);
  --v5-finish-building-roof: inset 0 0 0 1px rgb(255 255 255 / .32), inset 0 -2px 3px rgb(17 36 38 / .12);
  --v5-finish-building-shadow: radial-gradient(ellipse at 58% 53%, rgb(17 36 38 / .26) 14%, rgb(17 36 38 / .13) 36%, rgb(17 36 38 / 0) 69%);
  --v5-finish-post-front: linear-gradient(90deg, #F5FAF9 0%, #D5E1DF 33%, #95A9A8 100%);
  --v5-finish-post-side: linear-gradient(90deg, #B8C9C7, #7E9694);
  --v5-finish-door-recess: inset 1px 2px 3px rgb(17 36 38 / .16);
  --v5-grow-w: 5rem;                /* a floor: width, depth, height, and the gap to the next */
  --v5-grow-d: 3.25rem;
  --v5-grow-h: 1.1rem;
  --v5-grow-gap: 0.18rem;
  --v5-grow-post: 0.125rem;         /* a post of the frame */
  --v5-grow-room: 1.85;             /* the picture's width, in floor widths (room for the storeys' numbers beside it) */
  --v5-grow-see: 70rem;             /* how far the eye is from the building */
  --v5-grow-rx: -22deg;             /* seen from above */
  --v5-grow-ry: -34deg;             /* and from its right corner, at rest */
  --v5-grow-fall: 1.5rem;           /* how far above its place a floor starts, coming in */
  --v5-grow-win: repeating-linear-gradient(to right, currentColor 0, currentColor 46%, rgb(0 0 0 / 0) 46%, rgb(0 0 0 / 0) 100%);   /* a row of windows */
  --v5-grow-shade: radial-gradient(closest-side, rgb(13 30 30 / .28), rgb(13 30 30 / 0));
  --v5-grow-dark: rgb(13 30 30 / .22);     /* the side of a floor is in shadow */
  --v5-grow-dim: rgb(13 30 30 / .07);
  --v5-grow-slab: inset 0 -0.2rem 0 rgb(13 30 30 / .12);   /* the floor's slab, seen at the foot of its walls */
  --v5-t-hit: 620ms;
  --v5-grow-ss: 2;                  /* a floor's faces are laid out at this many times their size and shown scaled back, so their numbers, windows and edges are drawn sharp in 3D */
  --v5-grow-ss-back: 0.5;           /* 1 / --v5-grow-ss */
  --v5-grow-ss-mid: 25%;            /* the middle of the unscaled face, as a share of the scaled one: 50% / --v5-grow-ss */
}

/* ---------- the base ---------- */
.grow { --brand: var(--v5-beauty); --brand-wash: var(--v5-beauty-wash); --brand-line: var(--v5-beauty-line); position: relative; padding: var(--v4-section) var(--v4-gutter); border-block-start: var(--v4-px) solid var(--v4-line); overflow-x: clip; }
.grow[data-sector="1"] { --brand: var(--v5-promo); --brand-wash: var(--v5-promo-wash); --brand-line: var(--v5-promo-line); }
.grow[data-sector="2"] { --brand: var(--v5-routes); --brand-wash: var(--v5-routes-wash); --brand-line: var(--v5-routes-line); }
.grow[data-sector="3"] { --brand: var(--v5-studio); --brand-wash: var(--v5-studio-wash); --brand-line: var(--v5-studio-line); }
.grow[data-sector="4"] { --brand: var(--v5-tech); --brand-wash: var(--v5-tech-wash); --brand-line: var(--v5-tech-line); }
.grow-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-4); }
.grow-kick { font-size: var(--v4-fs-14); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-muted); }
.grow-head h2 { margin-block-start: var(--v4-2); font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: var(--v5-h2); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); max-inline-size: 12ch; text-wrap: balance; }
.grow-lede { margin-block-start: var(--v4-4); max-inline-size: 34ch; font-size: var(--v4-fs-17); line-height: var(--v4-lh-body); color: var(--v4-muted); text-wrap: pretty; }

/* the result: the building and the total. On a narrow window they stay at the top of the window, side by side,
   while the list under them is ticked (so a tick and what it builds are seen together). */
.grow-result { position: sticky; inset-block-start: var(--v4-0); z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--v4-3); margin-inline: calc(var(--v4-gutter) * -1); padding: var(--v4-1) var(--v4-gutter); border-block-end: var(--v4-px) solid var(--v4-line); background: var(--v4-paper); }

/* the building */
.grow-pic { display: grid; justify-items: center; }
.grow-stage { display: grid; justify-items: center; align-items: end; inline-size: calc(var(--v5-grow-w) * var(--v5-grow-room)); block-size: calc((var(--v5-grow-h) + var(--v5-grow-gap)) * 5 + var(--v5-grow-d) * 0.62 + 0.5rem); padding-block-end: calc(var(--v5-grow-d) * 0.42); perspective: var(--v5-grow-see); perspective-origin: 50% 30%; }
.grow-world { --tall: calc((var(--v5-grow-h) + var(--v5-grow-gap)) * 5); position: relative; inline-size: var(--v5-grow-w); block-size: var(--tall); transform-style: preserve-3d; transform: rotateX(var(--v5-grow-rx)) rotateY(var(--ry, var(--v5-grow-ry))); }
.gw-shade { position: absolute; inset-block-start: 100%; inset-inline-start: 50%; inline-size: calc(var(--v5-grow-w) * 1.9); block-size: calc(var(--v5-grow-d) * 2.2); margin: calc(var(--v5-grow-d) * -1.1) 0 0 calc(var(--v5-grow-w) * -1.05); border-radius: var(--v4-r-pill); background: var(--v5-grow-shade); transform: rotateX(90deg); }
/* the frame: a post at each corner, as tall as five storeys. Each post is two thin planes, one facing the front and one the side. */
.gw-post { position: absolute; inset-block-end: var(--v4-0); inset-inline-start: var(--v4-0); inline-size: var(--v4-0); block-size: var(--tall); transform-style: preserve-3d; }
.gw-post::before, .gw-post::after { content: ""; position: absolute; inset-block: var(--v4-0); inset-inline-start: calc(var(--v5-grow-post) / -2); inline-size: var(--v5-grow-post); background: var(--v4-line-strong); }
.gw-post::after { transform: rotateY(90deg); }
.gw-post[data-at="fl"] { transform: translate3d(0, 0, calc(var(--v5-grow-d) / 2)); }
.gw-post[data-at="fr"] { transform: translate3d(var(--v5-grow-w), 0, calc(var(--v5-grow-d) / 2)); }
.gw-post[data-at="br"] { transform: translate3d(var(--v5-grow-w), 0, calc(var(--v5-grow-d) / -2)); }
.gw-post[data-at="bl"] { transform: translate3d(0, 0, calc(var(--v5-grow-d) / -2)); }
/* a floor: a box. --f is its storey (0 = the ground floor), --k how far it has come down (1 = in place) */
.gw-floor { --k: clamp(0, calc(var(--in, 1) * 5 - var(--f, 0) + 0.4), 1); position: absolute; inset-inline-start: var(--v4-0); inset-block-end: calc(var(--f, 0) * (var(--v5-grow-h) + var(--v5-grow-gap))); inline-size: var(--v5-grow-w); block-size: var(--v5-grow-h); transform-style: preserve-3d; transform: translateY(calc((1 - var(--k)) * var(--v5-grow-fall) * -1)); color: var(--brand); }
/* finish quality: group opacity flattens preserve-3d while a floor enters.
   Fade the flat painted faces instead, retaining their depth and the same --k timeline. */
.gw-floor > :is(.gf-front, .gf-side, .gf-top) { opacity: var(--k); }
.gw-floor[data-floor="0"] { --k: 1; }
.grow.ready .gw-floor:not([data-floor="0"]) { cursor: pointer; }
/* empty: only the storey's edges, dashed */
.gf-front, .gf-side, .gf-top { position: absolute; box-sizing: border-box; border: var(--v4-px) dashed var(--v4-line-strong); transition: background-color var(--v4-t-base) var(--v4-ease), border-color var(--v4-t-base) var(--v4-ease); }
.gf-front { inset: var(--v4-0); transform: translateZ(calc(var(--v5-grow-d) / 2)); }
.gf-side { inset-block: var(--v4-0); inset-inline-start: calc(100% - var(--v5-grow-d) / 2); inline-size: var(--v5-grow-d); transform: rotateY(90deg); }
.gf-top { inset-inline: var(--v4-0); inset-block-start: calc(var(--v5-grow-d) / -2); block-size: var(--v5-grow-d); transform: rotateX(90deg); }
/* sharpness: each face is laid out at --v5-grow-ss times its size (zoom scales every length in it) and scaled back from
   its corner, so the browser draws it with that many more pixels before the 3D turn. Its place and size are divided by
   the zoom, the turns are made about the middle of the unscaled face, and the padding (a share of the floor's width)
   is multiplied by it: the faces land exactly where they were. */
.grow .gf-front, .grow .gf-side, .grow .gf-top { zoom: var(--v5-grow-ss); transform-origin: var(--v4-0) var(--v4-0); }
.grow .gf-front { inset: var(--v4-0) auto auto var(--v4-0); inline-size: var(--v5-grow-w); block-size: var(--v5-grow-h); transform: translateZ(calc(var(--v5-grow-d) / 2 / var(--v5-grow-ss))) scale3d(var(--v5-grow-ss-back), var(--v5-grow-ss-back), var(--v5-grow-ss-back)); }
.grow .gf-side { inset: var(--v4-0) auto auto calc(100% - var(--v5-grow-d) / 2 / var(--v5-grow-ss)); inline-size: var(--v5-grow-d); block-size: var(--v5-grow-h); transform: translate(var(--v5-grow-ss-mid), var(--v5-grow-ss-mid)) rotateY(90deg) translate(calc(var(--v5-grow-ss-mid) * -1), calc(var(--v5-grow-ss-mid) * -1)) scale3d(var(--v5-grow-ss-back), var(--v5-grow-ss-back), var(--v5-grow-ss-back)); }
.grow .gf-top { inset: calc(var(--v5-grow-d) / -2 / var(--v5-grow-ss)) auto auto var(--v4-0); inline-size: var(--v5-grow-w); block-size: var(--v5-grow-d); transform: translate(var(--v5-grow-ss-mid), var(--v5-grow-ss-mid)) rotateX(90deg) translate(calc(var(--v5-grow-ss-mid) * -1), calc(var(--v5-grow-ss-mid) * -1)) scale3d(var(--v5-grow-ss-back), var(--v5-grow-ss-back), var(--v5-grow-ss-back)); }
/* built: paper walls with a firm edge and a slab at their foot, the side in shadow, a row of windows lit in the group's colour */
.gw-floor.on .gf-front, .gw-floor.on .gf-side, .gw-floor.on .gf-top { border: var(--v4-px) solid var(--v4-ink-2); }
.gw-floor.on .gf-front { background: var(--v5-grow-win) 50% 42% / 12.5% 42% repeat-x, var(--v4-paper); background-clip: content-box, border-box; padding-inline: calc(9% * var(--v5-grow-ss)); box-shadow: var(--v5-grow-slab); }
.gw-floor.on .gf-side { background: var(--v5-grow-win) 50% 42% / 20% 42% repeat-x, linear-gradient(var(--v5-grow-dim), var(--v5-grow-dim)), var(--v4-paper); background-clip: content-box, border-box, border-box; padding-inline: calc(12% * var(--v5-grow-ss)); box-shadow: var(--v5-grow-slab); }
.gw-floor.on .gf-top { background: var(--brand-wash); }
/* the ground floor: the base, solid in the group's colour, its windows and its door cut out in paper */
.gw-floor[data-floor="0"] { color: var(--v4-paper); }
.gw-floor[data-floor="0"] .gf-front, .gw-floor[data-floor="0"] .gf-side, .gw-floor[data-floor="0"] .gf-top { border-color: var(--brand); }
.gw-floor[data-floor="0"] .gf-front { background: var(--v5-grow-win) 50% 36% / 12.5% 36% repeat-x, var(--brand); background-clip: content-box, border-box; box-shadow: none; }
.gw-floor[data-floor="0"] .gf-side { background: var(--v5-grow-win) 50% 36% / 20% 36% repeat-x, linear-gradient(var(--v5-grow-dark), var(--v5-grow-dark)), var(--brand); background-clip: content-box, border-box, border-box; box-shadow: none; }
.gw-floor[data-floor="0"] .gf-top { background: linear-gradient(rgb(255 255 255 / .18), rgb(255 255 255 / .18)), var(--brand); }
.gw-floor[data-floor="0"] .gf-front::after { content: ""; position: absolute; inset-block: 30% var(--v4-0); inset-inline-start: 50%; inline-size: 13%; margin-inline-start: -6.5%; border-radius: var(--v4-0h) var(--v4-0h) 0 0; background: var(--v4-paper); box-shadow: 0 0 0 var(--v4-0h) var(--brand); }
/* the addition's number, the same as on its row: beside the storey, at the left end of its front */
.gf-front[data-n]::before { content: attr(data-n); position: absolute; inset-block-start: 50%; inset-inline-end: calc(100% + var(--v4-1h)); margin-block-start: -0.5em; font-style: normal; font-size: var(--v4-fs-12); line-height: 1; font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--v4-ink-2); }
/* the floor whose row is under the pointer or has the focus, and for a moment the floor that was just ticked */
.gw-floor.hot .gf-front, .gw-floor.hot .gf-side, .gw-floor.hot .gf-top { border-color: var(--brand); border-style: solid; }
.gw-floor.hit { animation: v5-grow-hit var(--v5-t-hit) var(--v4-ease); }
@keyframes v5-grow-hit { 0% { transform: translateY(calc(var(--v5-grow-h) * -0.5)); } 100% { transform: none; } }

/* the total */
.grow-sum { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-0h); min-inline-size: 0; }
.gs-total { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--v4-2); }
.gs-total b { font-family: var(--v5-font-display); font-size: var(--v4-fs-24); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-tight); font-variant-numeric: tabular-nums; color: var(--v4-ink); }
.gs-total span { font-size: var(--v4-fs-15); color: var(--v4-ink-2); }
.gs-total small { flex-basis: 100%; font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); font-variant-numeric: tabular-nums; color: var(--v4-ink-2); }
.gs-note { font-size: var(--v4-fs-13); line-height: var(--v4-lh-snug); color: var(--v4-muted); text-wrap: pretty; }

/* the list: the base, then each addition with its tick box */
.grow-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.grow-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--v4-3); align-items: start; padding-block: var(--v4-3); border-block-end: var(--v4-px) solid var(--v4-line); }
.grow-row input { position: absolute; inset: var(--v4-0); z-index: 1; inline-size: 100%; block-size: 100%; margin: var(--v4-0); opacity: 0; cursor: pointer; }
.grow-row input:disabled { cursor: default; }
/* the tick box: a square that fills with the group's colour. The base's is always ticked and is not a control. */
.gr-check { display: grid; place-items: center; inline-size: var(--v4-6); block-size: var(--v4-6); margin-block-start: var(--v4-0h); border-radius: var(--v4-1h); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-0h) var(--v4-muted); color: transparent; transition: background-color var(--v4-t-fast) var(--v4-ease), box-shadow var(--v4-t-fast) var(--v4-ease), color var(--v4-t-fast) var(--v4-ease); }
.gr-check .icon { inline-size: var(--v4-4); block-size: var(--v4-4); stroke-width: 3; }
.grow-row input:checked ~ .gr-check { background: var(--brand); box-shadow: inset 0 0 0 var(--v4-0h) var(--brand); color: var(--v4-paper); }
/* the base is always in: a plain mark, not a box */
.gr-always { background: none; box-shadow: none; color: var(--brand); }
.gr-always .icon { inline-size: var(--v4-5); block-size: var(--v4-5); }
.grow-row input:enabled:hover ~ .gr-check { box-shadow: inset 0 0 0 var(--v4-0h) var(--v4-ink); }
.grow-row input:focus-visible ~ .gr-check { box-shadow: inset 0 0 0 var(--v4-0h) var(--v4-ink), var(--v4-ring); }
.grow-row input:enabled:active ~ .gr-check { background: var(--brand-line); }
/* without the script the list is a price list: no boxes to tick */
.grow-row input:disabled ~ .gr-check { display: none; }
.grow-row:has(input:disabled) { grid-template-columns: minmax(0, 1fr) auto; }
.gr-what { display: grid; justify-items: start; row-gap: var(--v4-0h); min-inline-size: 0; }
/* Fill the available name column: Firefox must not shrink-wrap the anonymous flex text
   beside its floor number. Long names wrap at spaces; short role names stay whole. */
.gr-what b { display: flex; justify-self: stretch; align-items: baseline; column-gap: var(--v4-2); font-size: var(--v4-fs-17); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-snug); color: var(--v4-ink); overflow-wrap: normal; }
/* the number of the addition's floor (the same number is on the floor) */
.gr-mark { flex: none; font-style: normal; font-size: var(--v4-fs-13); line-height: 1; font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--v4-muted); }
.gr-what small { font-size: var(--v4-fs-14); line-height: var(--v4-lh-snug); color: var(--v4-muted); }
.gr-what span { display: grid; max-inline-size: 46ch; margin-block-start: var(--v4-1); font-size: var(--v4-fs-14); line-height: var(--v4-lh-body); color: var(--v4-ink-2); }
.gr-what span i { font-style: normal; text-wrap: pretty; }
/* the badge: «Προαιρετικό» is quiet; «Κατόπιν αιτήματος» is a tag, because the tick does not order anything */
.gr-badge { margin-block-start: var(--v4-0h); font-style: normal; font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-550); letter-spacing: var(--v4-track-snug); color: var(--v4-muted); }
.gr-badge[data-kind="ask"] { padding: var(--v4-0h) var(--v4-2); border-radius: var(--v4-r-pill); background: var(--v4-panel-2); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-line-strong); font-weight: var(--v4-w-600); color: var(--v4-ink); }
.gr-price { display: grid; justify-items: end; row-gap: var(--v4-0h); white-space: nowrap; }
.gr-price b { font-size: var(--v4-fs-17); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--v4-ink); }
.gr-price small { font-size: var(--v4-fs-13); color: var(--v4-muted); }
.grow-base .gr-what b { font-size: var(--v4-fs-18); font-weight: var(--v4-w-600); }
.grow-base .gr-price b { font-size: var(--v4-fs-24); line-height: var(--v4-lh-tight); letter-spacing: var(--v4-track-tight); }
.gs-more { margin-block-start: var(--v4-0); }
/* two quiet lines under the list of additions: the roles, and what the total holds */
.grow-fine { max-inline-size: 60ch; padding-block-start: var(--v4-3); font-size: var(--v4-fs-14); line-height: var(--v4-lh-body); color: var(--v4-muted); text-wrap: pretty; }
.grow-fine + .grow-fine { padding-block-start: var(--v4-1); }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 700px) {
  /* a tablet: the heading with a larger building beside it, then the list, then the total. Nothing sticks. */
  :root { --v5-grow-w: 9.5rem; --v5-grow-d: 6.1rem; --v5-grow-h: 2.1rem; --v5-grow-gap: 0.28rem; --v5-grow-fall: 3rem; --v5-grow-post: 0.1875rem; --v5-grow-room: 1.85; }
  .gr-mark { display: grid; place-items: center; align-self: center; inline-size: var(--v4-5); block-size: var(--v4-5); border-radius: var(--v4-1); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-ink-2); font-size: var(--v4-fs-12); color: var(--v4-ink); }
  .gf-front[data-n]::before { font-size: var(--v4-fs-13); }
  .grow-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "head pic" "list list" "sum more"; column-gap: var(--v4-8); row-gap: var(--v4-5); align-items: center; }
  .grow-result { display: contents; }
  .grow-head { grid-area: head; }
  .grow-pic { grid-area: pic; }
  .grow-list { grid-area: list; }
  .grow-sum { grid-area: sum; }
  .gs-more { grid-area: more; justify-self: end; align-self: end; }
  .gs-total b { font-size: var(--v4-fs-32); }
  .gs-total span { font-size: var(--v4-fs-17); }
  .gs-total small, .gs-note { font-size: var(--v4-fs-14); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  /* a desktop: the heading across the top; under it the building on the left, and on the right the list, the total and the link */
  :root { --v5-grow-w: 15.5rem; --v5-grow-d: 10rem; --v5-grow-h: 3.5rem; --v5-grow-gap: 0.4rem; --v5-grow-fall: 5rem; --v5-grow-post: 0.25rem; }
  .grow-in { grid-template-columns: minmax(0, 10fr) minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head head head" "pic list list" ". sum more"; column-gap: var(--v4-8); row-gap: var(--v4-5); align-items: start; }
  .grow-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--v4-8); align-items: end; margin-block-end: var(--v4-3); }
  .grow-sum { align-self: center; }
  .grow-kick, .grow-head h2 { grid-column: 1; }
  .grow-head h2 { max-inline-size: none; }
  .grow-lede { grid-column: 2; grid-row: 2; margin-block: var(--v4-0) var(--v4-2); font-size: var(--v4-fs-18); }
  .grow-pic { align-self: center; }
  .grow-stage { inline-size: calc(var(--v5-grow-w) * 1.75); }
  .grow-list { border-block-start: var(--v4-px) solid var(--v4-line); }
  .gs-more { justify-self: end; align-self: center; }
  .gr-what span { max-inline-size: none; }
  /* on a desktop the storey's number is a tile on its front, like the one on its row */
  .gf-front[data-n]::before { inset-inline: var(--v4-2) auto; display: grid; place-items: center; inline-size: var(--v4-5); block-size: var(--v4-5); margin-block-start: calc(var(--v4-5) / -2); border-radius: var(--v4-1); background: var(--v4-paper); box-shadow: inset 0 0 0 var(--v4-px) var(--v4-ink-2); font-size: var(--v4-fs-12); color: var(--v4-ink); }
  .gw-floor.on .gf-front { background-position: 62% 42%, 0 0; padding-inline: calc(22% * var(--v5-grow-ss)) calc(9% * var(--v5-grow-ss)); }
}

@media (prefers-reduced-motion: reduce) {
  .gf-front, .gf-side, .gf-top, .gr-check { transition: none; }
  .gw-floor.hit { animation: none; }
}

/* finish: the frame has distinct lit and shaded metal faces; empty storeys remain dashed and empty. */
.gw-post::before { background: var(--v5-finish-post-front); }
.gw-post::after { background: var(--v5-finish-post-side); }
.gw-shade { background: var(--v5-finish-building-shadow); }

/* finish: folded edges and slab contact define the built floors without changing any window geometry. */
.gw-floor.on .gf-front { box-shadow: var(--v5-finish-building-edge), var(--v5-grow-slab); }
.gw-floor.on .gf-side { box-shadow: var(--v5-finish-building-side), var(--v5-grow-slab); }
.gw-floor.on .gf-top { background-color: var(--brand-wash); background-image: var(--v5-finish-building-top); box-shadow: var(--v5-finish-building-roof); }
.gw-floor[data-floor="0"] .gf-front { box-shadow: var(--v5-finish-building-edge); }
.gw-floor[data-floor="0"] .gf-side { box-shadow: var(--v5-finish-building-side); }
.gw-floor[data-floor="0"] .gf-top { background-color: var(--brand); background-image: var(--v5-finish-building-top); }
.gw-floor[data-floor="0"] .gf-front::after { box-shadow: var(--v5-finish-door-recess), 0 0 0 var(--v4-0h) var(--brand); }

/* finish 2: glass stays within the existing repeated window rectangles; vacant floors remain unpainted. */
.grow { --v5-grow-win: var(--v5-f2-building-windows); }
.gw-floor.on .gf-front {
  background-color: var(--v4-paper); background-image: var(--v5-grow-win), var(--v5-f2-building-wall-light);
  box-shadow: var(--v5-f2-building-front), var(--v5-grow-slab);
}
.gw-floor.on .gf-side {
  background-color: var(--v4-paper); background-image: var(--v5-grow-win), var(--v5-f2-building-wall-dark);
  box-shadow: var(--v5-f2-building-side), var(--v5-grow-slab);
}
.gw-floor[data-floor="0"] .gf-front {
  background-color: var(--brand); background-image: var(--v5-grow-win), var(--v5-f2-building-wall-light);
  box-shadow: var(--v5-f2-building-front);
}
.gw-floor[data-floor="0"] .gf-side {
  background-color: var(--brand); background-image: var(--v5-grow-win), var(--v5-f2-building-wall-dark);
  box-shadow: var(--v5-f2-building-side);
}
.gw-floor.on .gf-top, .gw-floor[data-floor="0"] .gf-top {
  background-image: var(--v5-f2-building-roof); box-shadow: var(--v5-f2-building-roof-edge);
}

/* finish 2: folded posts, recessed glazed door and a denser contact under the model. */
.gw-post::before { background: var(--v5-f2-post-front); }
.gw-post::after { background: var(--v5-f2-post-side); }
.gw-shade { background: var(--v5-f2-building-ground); }
.gw-floor[data-floor="0"] .gf-front::after {
  background-color: var(--v4-paper); background-image: var(--v5-f2-door-glass);
  box-shadow: var(--v5-f2-door-seat), var(--v4-0) var(--v4-0) var(--v4-0) var(--v4-0h) var(--brand);
}

/* Home v5, final design. Section 10: the closing.
   One object: a clock that shows the visitor's own time, with the receptionist's sphere as its hub. Under it, on
   the same stage, a line that uses that time, the offer and the button; on a wide window, under the button, a
   quiet working QR code that opens the access-request page on a phone. The stage is a rounded panel: pale by day
   and dark after 20:00 and before 07:00 by the visitor's clock. Under the stage, on the page's own paper, the
   small print. With the script and motion the dial rises to face the visitor as the section comes into the window
   (its hands always tell the true time). Without the script there is no dial at all: the sphere, the offer, the
   button. Mobile is the base; everything is centred, since this is where the page ends. The dial's size follows
   the window's height too, so the offer and the button stay in view with the clock on a short window. */

:root {
  /* A recessed crystal gasket and a narrow outer bevel separate face, metal and silhouette. */
  --v5-material-clock-bevel: radial-gradient(closest-side, transparent calc(100% - .56rem), rgb(41 68 65 / .42) calc(100% - .5rem), rgb(239 250 245 / .82) calc(100% - .44rem), transparent calc(100% - .36rem), transparent calc(100% - .09rem), rgb(255 255 255 / .68) calc(100% - .045rem), rgb(43 70 67 / .46) 100%);
  --v5-material-clock-bevel-night: radial-gradient(closest-side, transparent calc(100% - .56rem), rgb(0 10 12 / .84) calc(100% - .5rem), rgb(154 196 182 / .42) calc(100% - .44rem), transparent calc(100% - .36rem), transparent calc(100% - .09rem), rgb(172 219 204 / .35) calc(100% - .045rem), rgb(0 10 12 / .75) 100%);
  /* finish 2: polished annulus with a narrow crystal reflection, below the SVG hands and ticks. */
  --v5-f2-clock-ring: .48rem;
  --v5-f2-clock-rim: conic-gradient(from 180deg, #78918F 0%, #D9E8E3 17%, #FFFFFF 24%, #FFFFFF 27%, #78928E 31%, #E8F3EF 41%, #A4BCB7 51%, #405F60 68%, #B8CEC8 81%, #F6FFFC 86%, #78918F 100%);
  --v5-f2-clock-rim-night: conic-gradient(from 180deg, #172C2D 0%, #5F827E 17%, #B1D5CC 24%, #CDE8E0 27%, #315451 31%, #6F9690 41%, #315451 51%, #0D2023 68%, #476E67 81%, #7DA69D 86%, #172C2D 100%);
  --v5-f2-clock-crystal: linear-gradient(128deg, transparent 18%, rgb(24 59 56 / .065) 20%, rgb(255 255 255 / .95) 21%, rgb(255 255 255 / .85) 24%, rgb(24 59 56 / .045) 25%, transparent 29%);
  --v5-f2-clock-crystal-night: linear-gradient(128deg, transparent 18%, rgb(189 231 219 / .025) 20%, rgb(221 250 239 / .16) 21%, rgb(221 250 239 / .075) 24%, transparent 29%);
  --v5-f2-clock-seat: inset .06rem .08rem .02rem rgb(255 255 255 / .96), inset -.06rem -.09rem .03rem rgb(17 36 38 / .52), inset 0 0 0 .52rem rgb(17 36 38 / .1), inset .2rem .32rem .35rem rgb(17 36 38 / .12), .14rem .2rem .13rem rgb(17 36 38 / .18), .65rem 1.25rem 1.8rem -.65rem rgb(17 36 38 / .26);
  /* finish: ceramic dial in a machined bezel; the two lighting states share one upper-left key. */
  --v5-finish-clock-face: radial-gradient(ellipse at 38% 36%, rgb(95 214 202 / .075), rgb(95 214 202 / 0) 43%);
  --v5-finish-clock-face-night: radial-gradient(ellipse at 39% 37%, rgb(95 214 202 / .17), rgb(95 214 202 / 0) 55%);
  --v5-finish-clock-rim: conic-gradient(from 180deg, #91A5A5, #E8F1EF 24%, #FFFFFF 37%, #C6D6D4 50%, #6F8989 70%, #CFDCDA 87%, #91A5A5);
  --v5-finish-clock-rim-night: conic-gradient(from 180deg, #182A2D, #567977 24%, #9ABCB6 37%, #3A5757 50%, #102326 70%, #476563 87%, #182A2D);
  --v5-finish-clock-ring: .36rem;
  --v5-finish-clock-full: 100%;
  --v5-finish-clock-shine: inset .035rem .05rem .035rem rgb(255 255 255 / .72), inset -.035rem -.05rem .035rem rgb(17 36 38 / .24);
  --v5-finish-clock-stage: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -1px 0 rgb(17 36 38 / .055);
  --v5-finish-clock-stage-night: inset 0 1px 0 rgb(170 214 207 / .12), inset 0 -1px 0 rgb(0 8 10 / .5);
  --v5-finish-clock-cast: var(--v5-finish-clock-shine), inset 0 0 0 calc(.36rem + 1px) rgb(17 36 38 / .12), inset .2rem .3rem .65rem rgb(17 36 38 / .09), .12rem .2rem .25rem rgb(17 36 38 / .1), .65rem 1.25rem 1.8rem -.65rem rgb(17 36 38 / .26);
  --v5-finish-clock-cast-night: inset .035rem .05rem .035rem rgb(198 244 234 / .28), inset 0 0 0 calc(.36rem + 1px) rgb(0 8 10 / .24), inset .2rem .3rem .65rem rgb(0 8 10 / .38), .12rem .2rem .25rem rgb(0 8 10 / .3), .65rem 1.25rem 1.8rem -.65rem rgb(0 8 10 / .65);
  --v5-end-dial: min(15rem, 34svh);          /* the clock */
  --v5-end-code: 4.75rem;                    /* the QR code */
  --v5-end-see: 58rem;                       /* how far the eye is from the dial */
  --v5-end-lie: 62deg;                       /* how far back the dial lies as it comes in */
  --v5-end-night: #0D1313;                   /* the stage after dark (the page's ink) */
  --v5-end-night-2: #182222;                 /* the dial's face after dark */
  --v5-end-night-soft: #CBD4D4;              /* quiet text after dark */
  --v5-end-night-line: #36454A;
  /* the dial as one object: a bezel with thickness, a face set back in it, a shadow thrown down and to the right */
  --v5-shadow-dial: inset 0 0 0 0.4rem #FFFFFF, inset 0 0 0 calc(0.4rem + 1px) rgb(13 30 30 / .14), inset 0.3rem 0.5rem 0.9rem rgb(13 30 30 / .1), 0 0 0 1px rgb(13 30 30 / .12), 0.6rem 1.4rem 2.2rem -0.8rem rgb(13 30 30 / .36);
  --v5-shadow-dial-night: inset 0 0 0 0.4rem #26343A, inset 0 0 0 calc(0.4rem + 1px) rgb(0 0 0 / .6), inset 0.3rem 0.5rem 1rem rgb(0 0 0 / .5), 0 0 0 1px rgb(255 255 255 / .1), 0.6rem 1.6rem 2.6rem -0.6rem rgb(0 0 0 / .8);
  --v5-shadow-hub: 0 0 0 0.3rem var(--end-face), 0 0 0 calc(0.3rem + 1px) var(--end-line), 0.15rem 0.35rem 0.5rem 0.3rem rgb(13 30 30 / .22);   /* the collar the sphere sits in, and its shadow on the face */
}

/* ---------- the base ---------- */
.end { position: relative; padding: var(--v4-section) var(--v4-gutter); border-block-start: var(--v4-px) solid var(--v4-line); overflow-x: clip; }
.end-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: var(--v4-6); }
/* the stage: a rounded panel that carries the clock, the words and the button */
.end-stage { --end-bg: var(--v4-panel); --end-face: var(--v4-paper); --end-ink: var(--v4-ink); --end-ink-2: var(--v4-ink-2); --end-soft: var(--v4-muted); --end-line: var(--v4-line-strong); --end-shadow: var(--v5-shadow-dial);
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; inline-size: 100%; padding: var(--v4-8) var(--v4-4) var(--v4-8); border-radius: var(--v4-r-xl); background: var(--end-bg); color: var(--end-ink); text-align: center; }
/* after dark */
.end.night .end-stage { --end-bg: var(--v5-end-night); --end-face: var(--v5-end-night-2); --end-ink: var(--v4-paper); --end-ink-2: var(--v4-paper); --end-soft: var(--v5-end-night-soft); --end-line: var(--v5-end-night-line); --end-shadow: var(--v5-shadow-dial-night); }

/* without the script: no dial, only the sphere */
.end-clock { display: grid; justify-items: center; inline-size: 100%; margin-block-end: var(--v4-5); perspective: var(--v5-end-see); perspective-origin: 50% 0; }
.end-dial { position: relative; inline-size: calc(var(--v5-end-dial) * 0.3); block-size: calc(var(--v5-end-dial) * 0.3); border-radius: var(--v4-r-pill); }
.end-dial svg { display: none; }
.end-orb { position: absolute; inset: var(--v4-0); display: block; border-radius: var(--v4-r-pill); }
.end-orb img { display: block; inline-size: 100%; block-size: 100%; border-radius: var(--v4-r-pill); }
.end-orb.live img { visibility: hidden; }
/* with the script: the clock, the sphere as its hub, the hands coming out from behind the hub */
.end.live .end-dial { inline-size: var(--v5-end-dial); block-size: var(--v5-end-dial); background: var(--end-face); box-shadow: var(--end-shadow); transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--in, 1)) * var(--v5-end-lie))) scale(calc(0.86 + 0.14 * var(--in, 1))); }
.end.live .end-dial svg { display: block; inline-size: 100%; block-size: 100%; overflow: visible; }
.end.live .end-orb { inset: 37%; box-shadow: var(--v5-shadow-hub); }
.ed-ticks { fill: none; stroke: var(--end-soft); stroke-width: 1.5; stroke-linecap: round; }
.eh-h, .eh-m { stroke: var(--end-ink); stroke-linecap: round; }
.eh-h { stroke-width: 4.6; transform: rotate(var(--hh, 0deg)); }
.eh-m { stroke-width: 2.8; transform: rotate(var(--mm, 0deg)); }

/* the words */
.end-now { max-inline-size: 36ch; font-size: var(--v4-fs-17); line-height: var(--v4-lh-body); color: var(--end-ink-2); text-wrap: balance; }
.end-now [data-end-clock]:not([hidden]) { display: block; }
.end-now time { font-weight: var(--v4-w-600); font-variant-numeric: tabular-nums; color: var(--end-ink); }
.end h2 { margin-block-start: var(--v4-3); font-family: var(--v5-font-display); font-variation-settings: var(--v5-flair); font-size: min(var(--v5-h2), 8.2vw); line-height: var(--v4-lh-tight); font-weight: var(--v4-w-550); letter-spacing: var(--v5-track-display); color: var(--end-ink); text-wrap: balance; }
.end-lede { margin-block-start: var(--v4-3); font-size: var(--v4-fs-17); line-height: var(--v4-lh-body); color: var(--end-soft); text-wrap: balance; }
/* the button, in the middle under the offer; the code (on a wide window) is a quiet second way, under it */
.end-act { display: grid; justify-items: center; row-gap: var(--v4-5); margin-block-start: var(--v4-5); }
.end-qr { display: none; }
/* after dark the button is light on dark: the same button, turned over */
.end.night .end-stage .button { border-color: var(--v4-paper); background: var(--v4-paper); color: var(--v4-ink); }
.end.night .end-stage .button:hover { border-color: var(--v5-end-night-soft); background: var(--v5-end-night-soft); }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 480px) {
  :root { --v5-end-dial: min(17rem, 34svh); }
  .end-stage { padding: var(--v4-10) var(--v4-6); }
  .end-now, .end-lede { font-size: var(--v4-fs-18); }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 900px) {
  :root { --v5-end-dial: min(19rem, 34svh); }
  .end-stage { padding: var(--v4-12) var(--v4-8); }
  .end-clock { margin-block-end: var(--v4-6); }
  .end-qr { display: flex; align-items: center; column-gap: var(--v4-3); text-align: start; }
  .eq-code { flex: none; inline-size: var(--v5-end-code); block-size: var(--v5-end-code); border-radius: var(--v4-1); background: var(--v4-paper); fill: var(--v4-ink); box-shadow: 0 0 0 var(--v4-px) var(--end-line); }
  .end-qr span { max-inline-size: 16ch; font-size: var(--v4-fs-14); line-height: var(--v4-lh-snug); color: var(--end-soft); }
}

/* a short window: a tighter stage, so the clock, the offer and the whole button are in view together */
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (max-height: 640px) {
  :root { --v5-end-dial: min(13rem, 27svh); }
  .end { padding-block: var(--v4-10); }
  .end-stage { padding-block: var(--v4-5); }
  .end-clock { margin-block-end: var(--v4-3); }
  .end h2 { margin-block-start: var(--v4-2); }
  .end-lede { margin-block-start: var(--v4-2); }
  .end-act { margin-block-start: var(--v4-4); row-gap: var(--v4-3); }
}

/* finish: the dial's metal annulus is painted behind its marks; no overlay can dull the hands. */
.end.live .end-dial {
  background-color: var(--end-face);
  background-image: var(--v5-finish-clock-face), radial-gradient(closest-side, var(--end-face) calc(var(--v5-finish-clock-full) - var(--v5-finish-clock-ring)), var(--v5-finish-clear) calc(var(--v5-finish-clock-full) - var(--v5-finish-clock-ring))), var(--v5-finish-clock-rim);
  box-shadow: var(--v5-finish-clock-cast);
}

/* finish: at night the same metal catches a dim cool key, with local teal spill around the hub. */
.end.live.night .end-dial {
  background-color: var(--end-face);
  background-image: var(--v5-finish-clock-face-night), radial-gradient(closest-side, var(--end-face) calc(var(--v5-finish-clock-full) - var(--v5-finish-clock-ring)), var(--v5-finish-clear) calc(var(--v5-finish-clock-full) - var(--v5-finish-clock-ring))), var(--v5-finish-clock-rim-night);
  box-shadow: var(--v5-finish-clock-cast-night);
}

/* finish: a quiet stage edge; all offer text continues to sit on its original plain colour. */
.end-stage { box-shadow: var(--v5-finish-clock-stage); }
.end.night .end-stage { box-shadow: var(--v5-finish-clock-stage-night); }

/* finish 2: sharper alternating metal values and a crystal band behind the dial markings. */
.end.live .end-dial {
  background-color: var(--end-face);
  background-image: var(--v5-material-clock-bevel), var(--v5-f2-clock-crystal), var(--v5-finish-clock-face), radial-gradient(closest-side, var(--end-face) calc(var(--v5-finish-clock-full) - var(--v5-f2-clock-ring)), var(--v5-finish-clear) calc(var(--v5-finish-clock-full) - var(--v5-f2-clock-ring))), var(--v5-f2-clock-rim);
  box-shadow: var(--v5-f2-clock-seat);
}

/* finish 2: the same reflection is dimmed at night; the night stage and offer are unchanged. */
.end.live.night .end-dial {
  background-color: var(--end-face);
  background-image: var(--v5-material-clock-bevel-night), var(--v5-f2-clock-crystal-night), var(--v5-finish-clock-face-night), radial-gradient(closest-side, var(--end-face) calc(var(--v5-finish-clock-full) - var(--v5-f2-clock-ring)), var(--v5-finish-clear) calc(var(--v5-finish-clock-full) - var(--v5-f2-clock-ring))), var(--v5-f2-clock-rim-night);
  box-shadow: var(--v5-finish-clock-cast-night);
}

/* Home v5, the guide: «Οδηγός της σελίδας» (written from the start on 18/11/2026; its words and markup come from the builder build_v5_s11.py).
   One dark capsule at the foot of the window, in the material of the page's phone, with the product's sphere.
   States, set as classes on .guide by the script (v5.guide.js):
     (none)          the capsule, open: the sphere, the words, the two buttons
     .small          only the sphere (it stands in a corner: .left for the other corner, .low when both are taken)
     .peek           a small capsule opened for a moment by the pointer or the keyboard
     .center         the capsule stands in the middle (the top of the page, and the whole tour)
     .tour           the tour: the stop's name, its two lines, back / next / ask / end, and the progress line
     .asking         the panel of questions is open over the page
   The script moves the capsule between these shapes with one smooth animation of its box; with reduced motion the
   shapes simply change. Without the script the guide is not shown. Mobile is the base. */

:root {
  --v5-guide-z: 60;
  --v5-guide-dock-h: 3.5rem;             /* the room other scenes keep at the foot of the window for the capsule */
  --v5-guide-edge: .75rem;
  --v5-guide-orb: 2.75rem;
  --v5-guide-orb-sm: 1.75rem;
  --v5-guide-pad: .375rem;
  --v5-guide-radius: 1.75rem;
  --v5-guide-rest-max: 31rem;
  --v5-guide-tour-max: 46rem;
  --v5-guide-panel-w: 27rem;
  --v5-guide-panel-h: min(35rem, calc(100svh - 2.5rem));
  --v5-guide-low: -1.875rem;             /* how far under the window's foot the sphere waits when both corners hold words */
  --v5-guide-quiet: #A9BFBC;
  --v5-guide-surface: #0C1414;
  --v5-guide-field: #1B2727;
  --v5-guide-hover: #253232;
  --v5-guide-press: #314040;
  --v5-guide-line: #3A4A4A;
  --v5-guide-main-hover: #E4ECEA;
  --v5-guide-main-press: #D2DEDB;
  --v5-guide-paint: linear-gradient(152deg, var(--v5-device), var(--v5-device-2) 64%);
  --v5-guide-rim: inset 0 0 0 1px rgb(255 255 255 / .09), inset 0 1px 0 rgb(255 255 255 / .16);
  --v5-guide-cast: 0 1.25rem 2rem -1rem rgb(8 12 12 / .55), 0 .25rem .75rem -.25rem rgb(8 12 12 / .35);
  --v5-guide-ball-ring: 0 0 0 1px rgb(150 235 228 / .4);
  --v5-guide-veil: rgb(8 12 12 / .3);
  --v5-guide-meter-h: .1875rem;
  --v5-guide-meter-inset: 1.75rem;
  --v5-guide-meter-track: rgb(255 255 255 / .14);
  --v5-guide-x: var(--v5-guide-edge);    /* where the visitor dragged the capsule: the script sets both */
  --v5-guide-y: var(--v5-guide-edge);
  --v5-guide-mt: var(--v5-guide-t);      /* the thin line's own time and curve: the script makes it creep while the tour rests */
  --v5-guide-me: var(--v4-ease);
  --v5-guide-t: 460ms;                   /* one change of shape; the script reads it */
  --v5-guide-in: 320ms;
  --v5-guide-rise: .75rem;
  --v5-guide-shift: .25rem;
  --v5-guide-shrunk: .97;
  --v5-guide-grown: 1.04;
  --v5-guide-q-max: 86%;
  --v5-guide-z-top: 61;
  --v5-guide-none: 0;
  --v5-guide-full: 1;
  --v5-guide-half: .5;
  --v5-guide-m: 0;                       /* the tour's progress, 0 to 1; the script sets it on the meter */
  --v5-guide-dot: .3125rem;
  --v5-guide-up: 0px;                    /* how far above the foot the folded sphere stands; the script sets it on .guide */
}

.guide[hidden], .guide [hidden] { display: none; }
.guide, .guide button, .guide input { font-family: var(--v4-font); }

/* ---------- the capsule ---------- */
.guide-bar { position: fixed; z-index: var(--v5-guide-z); inset-block-end: calc(max(var(--v5-guide-edge), env(safe-area-inset-bottom)) + var(--v5-guide-up)); inset-inline: auto var(--v5-guide-edge); box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--v4-2) var(--v4-3); inline-size: fit-content; max-inline-size: min(var(--v5-guide-rest-max), calc(100vw - var(--v5-guide-edge) * 2)); padding: var(--v5-guide-pad); border-radius: var(--v5-guide-radius); background-color: var(--v5-guide-surface); background-image: var(--v5-guide-paint); box-shadow: var(--v5-guide-rim), var(--v5-guide-cast); color: var(--v4-paper); overflow: hidden; overflow: clip; transition: opacity var(--v4-t-base) var(--v4-ease); }
.guide.left .guide-bar { inset-inline: var(--v5-guide-edge) auto; }
.guide.center .guide-bar { inset-inline: var(--v5-guide-edge); margin-inline: auto; }
.guide.low .guide-bar { inset-block-end: var(--v5-guide-low); }
/* in the tour, when what has just appeared lies at the foot of the window, the caption stands at the top */
.guide.high .guide-bar { inset-block: max(var(--v5-guide-edge), env(safe-area-inset-top)) auto; }
/* the visitor can drag it anywhere: it then stands where it was put */
.guide-bar { touch-action: none; -webkit-user-select: none; user-select: none; cursor: grab; }
.guide.free .guide-bar { inset-inline: var(--v5-guide-x) auto; inset-block-end: var(--v5-guide-y); margin-inline: var(--v4-0); }
.guide.dragging .guide-bar, .guide.dragging .guide-bar * { cursor: grabbing; }
.guide.asking .guide-bar { opacity: var(--v5-guide-none); pointer-events: none; }
.guide.wait .guide-bar { visibility: hidden; }

/* the sphere: a button that folds the capsule and opens it again */
.guide-orb { display: grid; place-items: center; inline-size: var(--v5-guide-orb); block-size: var(--v5-guide-orb); padding: var(--v4-0); border: var(--v4-0); border-radius: var(--v4-r-pill); background: none; color: inherit; cursor: pointer; }
.guide-orb:focus-visible { outline: none; box-shadow: var(--v4-ring-night); }
.guide-ball { position: relative; display: block; inline-size: var(--v5-guide-orb); block-size: var(--v5-guide-orb); border-radius: var(--v4-r-pill); box-shadow: var(--v5-guide-ball-ring); overflow: hidden; transition: transform var(--v4-t-fast) var(--v4-ease); }
.guide-ball img { display: block; inline-size: 100%; block-size: 100%; border-radius: var(--v4-r-pill); }
.guide-ball.live img { visibility: hidden; }
.guide-ball-sm { inline-size: var(--v5-guide-orb-sm); block-size: var(--v5-guide-orb-sm); }
.guide-orb:hover .guide-ball { transform: scale(var(--v5-guide-grown)); }
.guide-orb:active .guide-ball { transform: scale(var(--v5-guide-shrunk)); }

/* the words */
.guide-line { display: none; grid-template-columns: minmax(0, 1fr); row-gap: var(--v4-0h); min-inline-size: var(--v4-0); padding-inline-end: var(--v4-1); }
.guide-line small { font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-500); color: var(--v5-guide-quiet); }
.guide-line b { font-size: var(--v4-fs-15); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-paper); }
.guide-line p { margin: var(--v4-0h) var(--v4-0) var(--v4-0); font-size: var(--v4-fs-14); line-height: var(--v4-lh-body); color: var(--v4-paper); }
.guide-line.swap > * { animation: v5-guide-swap var(--v5-guide-in) var(--v4-ease) both; }
@keyframes v5-guide-swap { from { opacity: var(--v5-guide-none); transform: translateY(var(--v5-guide-shift)); } to { opacity: var(--v5-guide-full); transform: none; } }

/* the buttons on the dark surface: a ring, and the main one filled */
.guide-acts { display: flex; align-items: center; gap: var(--v4-2); }
.guide-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--v4-1h); box-sizing: border-box; min-block-size: var(--v4-btn-h-sm); min-inline-size: var(--v4-btn-h-sm); padding: var(--v4-0) var(--v4-3h); border: var(--v4-0); border-radius: var(--v4-r-pill); background-color: var(--v5-guide-surface); box-shadow: inset 0 0 0 var(--v4-px) var(--v5-guide-line); color: var(--v4-paper); font-size: var(--v4-fs-14); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); white-space: nowrap; cursor: pointer; transition: background-color var(--v4-t-fast) var(--v4-ease), color var(--v4-t-fast) var(--v4-ease); }
.guide-btn:hover { background-color: var(--v5-guide-hover); }
.guide-btn:active { background-color: var(--v5-guide-press); }
.guide-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 var(--v4-px) var(--v5-guide-line), var(--v4-ring-night); }
.guide-btn:disabled { opacity: var(--v5-guide-half); pointer-events: none; }
.guide-btn-icon { padding: var(--v4-0); }
.guide-btn-main { background-color: var(--v4-paper); box-shadow: none; color: var(--v4-ink); }
.guide-btn-main:hover { background-color: var(--v5-guide-main-hover); }
.guide-btn-main:active { background-color: var(--v5-guide-main-press); }
.guide-btn-main:focus-visible { box-shadow: var(--v4-ring-night); }

/* open at the top of the page: the sphere and the two buttons (the words join them on a wider window) */
.guide-acts-rest, .guide-acts-tour { grid-column: 2; }
.guide.small:not(.peek):not(.tour) .guide-bar { grid-template-columns: auto; }
.guide.small:not(.peek):not(.tour) .guide-acts { display: none; }

/* ---------- the tour ---------- */
.guide.tour .guide-bar { max-inline-size: min(var(--v5-guide-tour-max), calc(100vw - var(--v5-guide-edge) * 2)); inline-size: 100%; padding-block-end: var(--v4-3); align-items: start; }
.guide.tour .guide-line { display: grid; padding-block-start: var(--v4-0h); }
.guide.tour .guide-acts-tour { grid-column: 1 / -1; justify-content: space-between; }
.guide.tour .guide-acts-tour .guide-btn-main { flex: 1 1 auto; }
.guide.tour.small .guide-line p { display: none; }
.guide-meter { position: absolute; inset-inline: var(--v5-guide-meter-inset); inset-block-end: var(--v4-1); display: block; block-size: var(--v5-guide-meter-h); border-radius: var(--v4-r-pill); background-color: var(--v5-guide-meter-track); overflow: hidden; }
.guide-meter i { display: block; block-size: 100%; border-radius: inherit; background-color: var(--v4-night-teal); transform-origin: 0 50%; transform: scaleX(var(--v5-guide-m)); transition: transform var(--v5-guide-mt) var(--v5-guide-me); }
/* the main button of the tour: «Παύση» while it plays, «Συνέχεια» or «Επόμενο» while it waits */
.guide-ic { display: inline-flex; }
.guide:not(.playing) .guide-ic-pause, .guide.playing .guide-ic-go { display: none; }

/* ---------- the panel of questions ---------- */
.guide-veil { position: fixed; z-index: var(--v5-guide-z); inset: var(--v4-0); background-color: var(--v5-guide-veil); opacity: var(--v5-guide-none); transition: opacity var(--v4-t-base) var(--v4-ease); touch-action: none; }
.guide.asking .guide-veil { opacity: var(--v5-guide-full); }
.guide-panel { position: fixed; z-index: var(--v5-guide-z-top); inset-block-end: max(var(--v5-guide-edge), env(safe-area-inset-bottom)); inset-inline: var(--v5-guide-edge); margin-inline: auto; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto auto; inline-size: min(var(--v5-guide-panel-w), calc(100vw - var(--v5-guide-edge) * 2)); max-block-size: var(--v5-guide-panel-h); border-radius: var(--v5-guide-radius); background-color: var(--v5-guide-surface); background-image: var(--v5-guide-paint); box-shadow: var(--v5-guide-rim), var(--v5-guide-cast); color: var(--v4-paper); overflow: hidden; overflow: clip; transform-origin: 50% 100%; opacity: var(--v5-guide-none); transform: translateY(var(--v5-guide-rise)) scale(var(--v5-guide-shrunk)); transition: opacity var(--v4-t-base) var(--v4-ease), transform var(--v5-guide-t) var(--v4-ease); }
.guide.asking .guide-panel { opacity: var(--v5-guide-full); transform: none; }
.guide-panel:focus-visible { outline: none; box-shadow: var(--v5-guide-rim), var(--v5-guide-cast), var(--v4-ring-night); }
.guide-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--v4-2h); padding: var(--v4-2h) var(--v4-2h) var(--v4-2) var(--v4-4); }
.guide-head b { font-size: var(--v4-fs-15); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); letter-spacing: var(--v4-track-snug); color: var(--v4-paper); }
.guide-log { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: var(--v4-3); min-block-size: var(--v5-guide-dock-h); padding: var(--v4-2) var(--v4-4) var(--v4-4); overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--v5-guide-line) transparent; }
.guide-log:focus-visible { outline: none; box-shadow: inset var(--v4-ring-night); }
.guide-hello { font-size: var(--v4-fs-14); line-height: var(--v4-lh-body); color: var(--v5-guide-quiet); }
.guide-q { justify-self: end; max-inline-size: var(--v5-guide-q-max); padding: var(--v4-2) var(--v4-3); border-radius: var(--v4-r-lg) var(--v4-r-lg) var(--v4-r-xs) var(--v4-r-lg); background-color: var(--v5-guide-field); font-size: var(--v4-fs-14); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-500); color: var(--v4-paper); overflow-wrap: anywhere; }
.guide-a { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; row-gap: var(--v4-2); font-size: var(--v4-fs-15); line-height: var(--v4-lh-body); color: var(--v4-paper); overflow-wrap: anywhere; }
.guide-a small { font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); font-weight: var(--v4-w-600); color: var(--v5-guide-quiet); }
.guide-a.wait { color: var(--v5-guide-quiet); }
.guide-q, .guide-a { animation: v5-guide-swap var(--v5-guide-in) var(--v4-ease) both; }
.guide-chips { display: flex; flex-wrap: wrap; gap: var(--v4-2); margin: var(--v4-0); padding: var(--v4-0) var(--v4-4) var(--v4-3); list-style: none; }
.guide-chips .guide-btn { min-block-size: var(--v4-btn-h-sm); padding: var(--v4-1h) var(--v4-3); font-size: var(--v4-fs-13); font-weight: var(--v4-w-500); white-space: normal; text-align: start; }
.guide-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--v4-2); padding: var(--v4-0) var(--v4-2h) var(--v4-2); }
.guide-form input { box-sizing: border-box; inline-size: 100%; min-inline-size: var(--v4-0); block-size: var(--v4-btn-h); padding: var(--v4-0) var(--v4-4); border: var(--v4-0); border-radius: var(--v4-r-pill); background-color: var(--v5-guide-field); box-shadow: inset 0 0 0 var(--v4-px) var(--v5-guide-line); color: var(--v4-paper); font-size: var(--v4-fs-16); }
.guide-form input::placeholder { color: var(--v5-guide-quiet); opacity: var(--v5-guide-full); }
.guide-form input:hover { background-color: var(--v5-guide-hover); }
.guide-form input:focus-visible { outline: none; box-shadow: inset 0 0 0 var(--v4-px) var(--v5-guide-line), var(--v4-ring-night); }
.guide-form .guide-btn { min-block-size: var(--v4-btn-h); min-inline-size: var(--v4-btn-h); }
.guide-fine { padding: var(--v4-0) var(--v4-4) var(--v4-3); font-size: var(--v4-fs-12); line-height: var(--v4-lh-snug); color: var(--v5-guide-quiet); }

/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 480px) {
  /* room for the words beside the sphere */
  .guide-bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .guide-line { display: grid; }
  .guide.small:not(.peek):not(.tour) .guide-line { display: none; }
  .guide-acts-rest { grid-column: 3; }
}
/* ds-allow-hardcode: CSS variables cannot be used in breakpoint query conditions. */
@media (min-width: 760px) {
  :root { --v5-guide-edge: 1.25rem; }
  /* the tour on one line: the sphere, the words, the controls */
  .guide.tour .guide-bar { align-items: center; padding-block-end: var(--v4-2h); }
  .guide.tour .guide-acts-tour { grid-column: 3; justify-content: flex-end; }
  .guide.tour .guide-acts-tour .guide-btn-main { flex: 0 0 auto; }
  .guide.tour .guide-line { padding-block: var(--v4-1); }
}

@media (prefers-reduced-motion: reduce) {
  .guide-bar, .guide-ball, .guide-btn, .guide-veil, .guide-panel, .guide-meter i { transition: none; }
  .guide-line.swap > *, .guide-q, .guide-a { animation: none; }
  .guide-orb:hover .guide-ball, .guide-orb:active .guide-ball { transform: none; }
}
