/* Varelyno story (1 Nov, trial): one scroll, five scenes.
   Every class, id and colour variable here starts with s- so the story can sit
   on top of the landing page without touching anything below it. */
@font-face { font-family: Outfit; src: url('/static/outfit-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --s-ink: #10202f; --s-muted: #58687a; --s-blue: #0875bf;
  --s-ease: cubic-bezier(.16, .84, .3, 1);
}

/* the story on its own page (static/story/index.html) */
body.s-solo { margin: 0; background: #f7f5f0; color: var(--s-ink); font-family: Outfit, 'Segoe UI', system-ui, sans-serif; -webkit-font-smoothing: antialiased }
.s-solo *, .s-solo *::before, .s-solo *::after { box-sizing: border-box }
.s-solo a:not(.s-cta) { color: inherit }
.s-top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) clamp(16px, 4vw, 40px) 14px; pointer-events: none }
.s-top > * { pointer-events: auto }
.s-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; color: var(--s-ink); transition: color .4s }
.s-brand img { width: 32px; height: 32px; border-radius: 9px }
.s-top nav { display: flex; gap: 10px }
@media (max-width: 520px) { .s-top .s-ghost { display: none } }
.s-foot { padding: 40px 16px 60px; text-align: center; color: var(--s-muted); font-size: 14px }
.s-foot p { margin: 4px 0 }

/* on the landing page: the site's own header sits over the story, see-through, in the story's colours */
.lv-header.on-story { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none }
.lv-header.on-story .lv-brand, .lv-header.on-story .lv-signin { color: var(--s-ink); transition: color .4s }
.lv-header.on-story .lv-nav { color: var(--s-ink); opacity: .72; transition: color .4s }

.s-cta, .s-ghost { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600;
  font-size: 15px; padding: 10px 18px; border-radius: 999px; transition: transform .5s var(--s-ease), box-shadow .5s var(--s-ease) }
.s-cta { background: var(--s-ink); color: var(--s-paper, #fff); box-shadow: 0 8px 24px rgba(16, 32, 47, .18) }
.s-ghost { background: var(--s-ghost, rgba(255, 255, 255, .7)); color: var(--s-ink); border: 1px solid rgba(127, 140, 160, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.s-cta:hover, .s-ghost:hover { transform: translateY(-2px) }
.s-big { font-size: 18px; padding: 15px 26px }

/* the stage: tall, with a sticky window that the scenes play in */
.s-story { position: relative; z-index: 2; height: 1000vh; font-family: Outfit, 'Segoe UI', system-ui, sans-serif; color: var(--s-ink); line-height: normal;
  --s-busy1: #ffb199; --s-busy2: #ff8fa3; --s-busy3: #ffd27a; --s-busy4: #f7a072;
  --s-calmc: #f7f5f0; --s-sky: #cfe6f7; --s-mint: #cdeee6; --s-lav: #e2dcf7 }
.s-story *, .s-story *::before, .s-story *::after { box-sizing: border-box }
.s-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden }
.s-bg { position: absolute; inset: 0; overflow: hidden }
.s-busy { background: linear-gradient(135deg, #ffe3d6, #ffd0dd) }
.s-calm { background: var(--s-calmc); clip-path: inset(50% 0 50% 0) }
.s-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .85 }
.s-b1 { width: 55vmax; height: 55vmax; left: -15vmax; top: -18vmax; background: var(--s-busy1) }
.s-b2 { width: 50vmax; height: 50vmax; right: -18vmax; top: 10vmax; background: var(--s-busy2) }
.s-b3 { width: 40vmax; height: 40vmax; left: 20vmax; bottom: -22vmax; background: var(--s-busy3) }
.s-b4 { width: 30vmax; height: 30vmax; right: 10vmax; bottom: -10vmax; background: var(--s-busy4) }
.s-c1 { width: 60vmax; height: 60vmax; left: -20vmax; top: -25vmax; background: var(--s-sky); opacity: .7 }
.s-c2 { width: 50vmax; height: 50vmax; right: -20vmax; bottom: -20vmax; background: var(--s-mint); opacity: .7 }
.s-c3 { width: 40vmax; height: 40vmax; right: 15vmax; top: -15vmax; background: var(--s-lav); opacity: .6 }

.s-giant { position: absolute; left: 50%; top: 50%; font-weight: 800; letter-spacing: -.055em; line-height: .85; white-space: nowrap;
  font-size: clamp(88px, 21vw, 360px); color: var(--s-ink); opacity: 0; will-change: transform, opacity; pointer-events: none; transition: color .4s }

/* on the landing page the site's own hero opens the story (data-hero); its dots break apart into scene 1 */
.s-story[data-hero] { height: 1180vh }
.s-hero { position: absolute; inset: 0; line-height: 1.6; will-change: opacity }
.s-hero .bhero { height: 100% }
.s-herobg { position: absolute; inset: 0 }
.s-hero .bhero-in { will-change: transform, opacity }
.s-seed { position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none }

.s-app { position: absolute; inset: 0; pointer-events: none; will-change: transform, opacity }
.s-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.s-links line { stroke: var(--s-wline, #cceaf6); stroke-width: 2; stroke-linecap: round }
.s-pieces { position: absolute; inset: 0 }

/* a piece: a card, and the real Varelyno map circle it becomes (2 Nov: the card rounds off into the circle, no 3D turn).
   The card's words are laid out at the card's full size (story.js sets it) and centred, so a growing or shrinking
   shape uncovers or covers them instead of squashing them. */
.s-piece { position: absolute; left: 0; top: 0; will-change: transform, width, height }
.s-flip { position: relative; width: 100%; height: 100% }
.s-face { position: absolute; inset: 0 }
.s-front { border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(60, 30, 20, .16); font-size: 15px; line-height: 1.3; color: #10202f }
.s-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 14px }
.s-back { opacity: 0; display: flex; align-items: center; justify-content: center; container-type: size }
.s-back .s-nlabel, .s-back .s-ntype, .s-back .s-nalert, .s-back .s-nwait, .s-back .s-nhandle,
.s-back .s-pnode strong, .s-back .s-pnode small { opacity: var(--s-nl, 1) }
.s-person .s-front { border-radius: 50% }

/* the map circle, as the app draws it (measured from the demo's computed styles, 1 Nov): a soft ball in the
   project's colour with a dotted ring round it, its progress ring, the name only, the resize handle at its foot.
   Late: a warm glow in and round it. Quiet: faded, with a dashed ring. QIP and audit: a ring of their own and a badge. */
.s-node { position: relative; width: 100cqmin; height: 100cqmin; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--s-wink, #243b4e);
  background: radial-gradient(circle at 32% 23%, var(--s-wsurf, #fff) 12%, color-mix(in srgb, var(--node) 7%, var(--s-wsurf, #fff)) 72%, color-mix(in srgb, var(--node) 12%, var(--s-wsurf, #fff)));
  border: 1px solid color-mix(in srgb, var(--node) 82%, #fff);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--node) 13%, transparent), inset 0 2px 5px rgba(255, 255, 255, .8) }
.s-node::before { content: ''; position: absolute; inset: -7%; border-radius: 50%; border: 1px dotted color-mix(in srgb, var(--node) 55%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--node) 10%, transparent); opacity: .55 }
.s-node.s-late::after { content: ''; position: absolute; inset: -45%; border-radius: 50%; pointer-events: none; filter: blur(6px);
  background: radial-gradient(circle, rgba(237, 15, 104, .26) 0%, rgba(240, 120, 60, .12) 42%, transparent 68%) }
.s-node.s-quiet { opacity: .62; filter: saturate(.6) }
.s-node.s-quiet::after { content: ''; position: absolute; inset: -4%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--node) 34%, transparent) }
.s-nring { position: absolute; inset: -7%; border-radius: 50%; border: 2px solid rgba(124, 92, 231, .85); box-shadow: 0 0 0 4px rgba(124, 92, 231, .12) }
.s-t-audit .s-nring { border: 2px dashed rgba(14, 154, 167, .85); box-shadow: 0 0 0 4px rgba(14, 154, 167, .12) }
.s-nprog { position: absolute; inset: -4%; width: 108%; height: 108%; transform: rotate(-90deg); overflow: visible }
.s-nbase { fill: none; stroke: var(--node); stroke-width: 2.6; opacity: .23 }
.s-nval { fill: none; stroke: var(--node); stroke-width: 3.2; stroke-linecap: round; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--node) 65%, transparent)) }
.s-nlabel { position: relative; z-index: 1; padding: 0 12% }
.s-ntitle { font-weight: 740; font-size: 12.5cqmin; line-height: 1.18; letter-spacing: -.01em }
.s-ntype { position: absolute; z-index: 2; left: 50%; top: -7%; transform: translate(-50%, -50%); padding: 1.6cqmin 4.2cqmin 1.3cqmin; border-radius: 999px;
  background: color-mix(in srgb, var(--node) 85%, #000); color: #fff; font-weight: 800; font-size: 6.4cqmin; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 0 0 2px var(--s-wsurf, #fff) }
.s-t-qip .s-ntype { background: #634ab9 } .s-t-audit .s-ntype { background: #0d7f8a }
.s-nalert { position: absolute; z-index: 2; right: 2%; top: 2%; width: 13cqmin; height: 13cqmin; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #ffe5eb; border: 1px solid #fff; color: #a75231; font-weight: 900; font-size: 7cqmin; box-shadow: 0 5px 12px rgba(30, 52, 78, .12) }
.s-nwait { position: absolute; z-index: 2; left: 0; top: 2%; padding: 1.2cqmin 3cqmin; border-radius: 999px; background: var(--s-wsurf, #fff);
  border: 1px solid rgba(127, 140, 160, .3); color: var(--s-wink); font-weight: 800; font-size: 5.6cqmin; opacity: .8; box-shadow: 0 4px 10px rgba(20, 52, 86, .08) }
.s-nhandle { position: absolute; z-index: 2; left: 50%; bottom: -8%; transform: translateX(-50%); width: 15cqmin; height: 15cqmin; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--s-wsurf, #fff); border: 1px solid var(--node);
  color: var(--s-waccent, #187bb1); font-weight: 800; font-size: 8.5cqmin; line-height: 1; box-shadow: 0 2px 8px rgba(22, 57, 87, .13) }
/* a person: the round avatar, the name on a little white label, the role under it */
.s-pnode { position: relative; width: 100cqmin; height: 100cqmin }
.s-pav { width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--s-wbg, #eef5f9); border: 2px solid color-mix(in srgb, var(--s-wink, #1e425b) 12%, var(--s-wsurf, #fff));
  color: var(--s-waccent, #187bb1); font-weight: 850; font-size: 34cqmin; box-shadow: 0 5px 15px color-mix(in srgb, var(--s-waccent, #187bb1) 10%, transparent) }
.s-pnode strong, .s-pnode small { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; border-radius: 5px;
  background: color-mix(in srgb, var(--s-wsurf, #fff) 92%, transparent) }
.s-pnode strong { top: calc(100% + 4px); padding: 1px 5px; font-size: 12px; font-weight: 650; color: var(--s-wink, #1e425b) }
.s-pnode small { top: calc(100% + 24px); padding: 0 3px; font-size: 9px; color: var(--s-wmuted, #637586) }
.s-plink { stroke-width: 1.3; stroke-dasharray: 3 4; stroke-linecap: round }

.sk-sticky { background: #ffe37a } .sk-sticky .s-card { font-weight: 600; font-size: 17px; transform: translate(-50%, -50%) rotate(-1deg) }
.sk-chat { background: #fff } .sk-chat .s-card b { display: block; font-size: 12px; color: #58687a; font-weight: 600 }
.sk-chat .s-card span { display: inline-block; margin-top: 6px; background: #dcf8c6; padding: 8px 11px; border-radius: 12px 12px 12px 3px }
.sk-sheet { background: #fff } .sk-sheet .s-card { padding: 0 }
.sk-sheet .s-card i { display: block; height: 22px; border-bottom: 1px solid #e3e7ea; background-image: linear-gradient(90deg, transparent 33%, #e3e7ea 33%, #e3e7ea calc(33% + 1px), transparent 0, transparent 66%, #e3e7ea 66%, #e3e7ea calc(66% + 1px), transparent 0) }
.sk-sheet .s-card b { display: block; background: #1e8e5a; color: #fff; font-size: 12px; padding: 6px 10px }
.sk-note { background: #fffdf6 } .sk-note .s-card { background-image: repeating-linear-gradient(#fffdf6 0 23px, #cfe0ee 23px 24px); font-family: 'Segoe Print', 'Bradley Hand', cursive; font-size: 16px }
.sk-mail { background: #fff } .sk-mail .s-card b { display: block; font-size: 12px; color: #58687a }
.sk-cal { background: #fff } .sk-cal .s-card b { display: block; background: #e5484d; color: #fff; margin: -12px -14px 8px; padding: 6px 14px; font-size: 12px }
.sk-person { background: #fff }

/* You, in the middle: as the app's centre node, your initials with "You" under them */
.s-you { position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; opacity: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 900;
  background: var(--s-wbg, #eef5f9); border: 3px solid var(--s-waccent, #187bb1); color: var(--s-waccent, #187bb1);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--s-waccent, #187bb1) 8%, transparent), 0 12px 40px rgba(8, 117, 191, .16); will-change: transform, opacity }
.s-you span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 14px; font-weight: 700; color: var(--s-wink, #243b4e) }
.s-you b, .s-you span { opacity: var(--s-yt, 1) }               /* at the end You becomes the mark's middle, without its words */

/* scene 3 to 5: the app's window, drawn live so it can wear every theme. Its box (story.js) casts the shadow while it changes shape. */
.s-winbox { position: absolute; inset: 0; pointer-events: none }
.s-win { position: absolute; left: 0; top: 0; opacity: 0; border-radius: 18px; overflow: hidden; will-change: transform, opacity;
  background: var(--s-wbg, #edf5fa); box-shadow: 0 40px 90px rgba(16, 32, 47, .22), 0 0 0 1px rgba(16, 32, 47, .08); color: var(--s-wink, #1e425b) }
.s-win svg { flex: 0 0 auto }
.s-win img { display: block }
/* the top bar, from the menu's edge on a computer: search, the Work / Personal switch, Quick capture, Two minutes, you */
.s-wtop { position: absolute; left: 0; right: 0; top: 0; height: 46px; background: var(--s-wsurf, #fff); border-bottom: 1px solid rgba(127, 140, 160, .18);
  font-size: 12px; color: var(--s-wink) }
.s-wtd, .s-wtm { height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 10px; white-space: nowrap }
.s-wtm { display: none; gap: 5px; padding: 0 7px }
.s-wtd > img, .s-wtm > img { width: 22px; height: 22px }
.s-wsearch { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 10px; border-radius: 9px;
  background: var(--s-wbg, #edf5fa); color: var(--s-wmuted, #5c778b); overflow: hidden }
.s-wsearch svg { width: 13px; height: 13px } .s-wsearch > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis }
.s-wsearch kbd { font: inherit; font-size: 9.5px; padding: 1px 5px; border-radius: 5px; border: 1px solid rgba(127, 140, 160, .3) }
.s-wswitch { display: flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--s-wbg, #edf5fa) }
.s-wswitch > span { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; font-weight: 700; color: var(--s-wmuted) }
.s-wswitch > span.on { background: var(--s-waccent, #187bb1); color: var(--s-wsurf, #fff) }
.s-wswitch svg { width: 15px; height: 15px }
.s-wbtn { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; background: var(--s-wsurf, #fff); font-weight: 650;
  border: 1px solid rgba(127, 140, 160, .22); box-shadow: 0 2px 6px rgba(20, 52, 86, .05) }
.s-wbtn svg { width: 14px; height: 14px } .s-bolt svg { color: #f07a2b; fill: #f07a2b }
.s-wacct { display: flex; align-items: center; gap: 7px; padding: 3px 9px 3px 3px; border-radius: 10px; border: 1px solid rgba(127, 140, 160, .22); font-size: 11px }
.s-wme { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 10px;
  background: var(--s-wbg, #eef5f9); color: var(--s-waccent, #187bb1); border: 1.5px solid color-mix(in srgb, var(--s-waccent, #187bb1) 30%, transparent) }
/* the menu: the brand, then the app's own line icons, counts and dividers; the page in view is lit */
.s-wside { position: absolute; left: 0; top: 0; bottom: 0; overflow: hidden; background: var(--s-wsurf, #fff); border-right: 1px solid rgba(127, 140, 160, .18);
  padding: 0 8px 10px; display: flex; flex-direction: column; gap: 1px; font-size: 12px }
.s-wbrand { height: 46px; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 6px; margin-bottom: 6px; white-space: nowrap }
.s-wbrand img { width: 24px; height: 24px } .s-wbrand span { display: flex; flex-direction: column; line-height: 1.1 }
.s-wbrand b { font-size: 15px; font-weight: 800; color: var(--s-waccent, #187bb1) } .s-wbrand small { font-size: 8.5px; font-weight: 700; color: var(--s-wink) }
.s-wit { position: relative; display: flex; align-items: center; gap: 9px; padding: 5px 9px; border-radius: 9px; color: var(--s-wink); white-space: nowrap;
  font-weight: 600; transition: background .35s, color .35s }
.s-wit i { display: flex } .s-wit svg { width: 15px; height: 15px }
.s-wit em { margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 800; color: var(--s-waccent, #187bb1) }
.s-wit.on { background: color-mix(in srgb, var(--s-waccent, #187bb1) 12%, var(--s-wsurf, #fff)); font-weight: 750 }
.s-wit.on::before { content: ''; position: absolute; left: -4px; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--s-waccent, #187bb1) }
.s-wdiv { flex: 0 0 auto; height: 1px; margin: 4px 8px; background: rgba(127, 140, 160, .2) }
/* the map's own layer: its header and tools, the time rings round You, the zoom and the overview */
.s-wmap { position: absolute; top: 46px; right: 0; bottom: 0; left: 0; overflow: hidden; font-size: 11px; color: var(--s-wink) }
.s-wmhead { position: absolute; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 12px; background: color-mix(in srgb, var(--s-wsurf, #fff) 55%, transparent); border-bottom: 1px solid rgba(127, 140, 160, .14); white-space: nowrap }
.s-wmt { display: flex; align-items: baseline; gap: 8px } .s-wmt b { font-size: 13px } .s-wmt small { font-size: 10px; color: var(--s-wmuted) }
.s-wtools { display: flex; align-items: center; gap: 5px }
.s-wseg { display: flex; padding: 2px; border-radius: 8px; background: var(--s-wbg, #edf5fa); border: 1px solid rgba(127, 140, 160, .18) }
.s-wseg span { padding: 3px 7px; border-radius: 6px; color: var(--s-wmuted) } .s-wseg span.on { background: var(--s-wsurf, #fff); color: var(--s-waccent, #187bb1); font-weight: 650 }
.s-wtool { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: var(--s-wsurf, #fff); border: 1px solid rgba(127, 140, 160, .22); font-weight: 650 }
.s-wtool svg { width: 12px; height: 12px }
.s-wrings { position: absolute; left: 50%; top: 50%; width: 0; height: 0 }
.s-wrings > * { position: absolute; left: 0; top: 0 }
.s-zone, .s-hz { border-radius: 50%; transform: translate(-50%, -50%) }
.s-zone { border: 1px dashed; opacity: .55 }
.s-z-now.s-zone { background: radial-gradient(circle, rgba(36, 169, 107, .1), rgba(36, 169, 107, .075) 58%, rgba(36, 169, 107, .035) 76%, transparent); border-color: rgba(36, 169, 107, .3) }
.s-z-next.s-zone { background: radial-gradient(circle, rgba(30, 134, 200, .08), rgba(30, 134, 200, .06) 58%, rgba(30, 134, 200, .03) 76%, transparent); border-color: rgba(30, 134, 200, .28) }
.s-z-later.s-zone { background: radial-gradient(circle, rgba(225, 77, 109, .07), rgba(225, 77, 109, .05) 58%, rgba(225, 77, 109, .024) 76%, transparent); border-color: rgba(225, 77, 109, .26) }
.s-hz { border: 1px solid color-mix(in srgb, var(--s-wink, #243b4e) 7%, transparent) }
.s-zl { padding: 2px 8px; border-radius: 999px; font-size: 8.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid; box-shadow: 0 4px 10px rgba(31, 59, 93, .06) }
.s-zl.s-z-now { background: color-mix(in srgb, #f0fcf5 92%, var(--s-wbg)); color: #18734a; border-color: rgba(36, 169, 107, .25) }
.s-zl.s-z-next { background: color-mix(in srgb, #f1f8fd 92%, var(--s-wbg)); color: #165d8d; border-color: rgba(30, 134, 200, .25) }
.s-zl.s-z-later { background: color-mix(in srgb, #fdf1f4 92%, var(--s-wbg)); color: #a3354f; border-color: rgba(225, 77, 109, .25) }
.s-wmini { position: absolute; right: 10px; bottom: 40px; width: 64px; height: 44px; border-radius: 8px; background: var(--s-wsurf, #fff);
  border: 1px solid rgba(127, 140, 160, .22); box-shadow: 0 4px 12px rgba(20, 52, 86, .08); overflow: hidden }
.s-wmini i { position: absolute; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; opacity: .8 }
.s-wmini .s-wmine { left: 50%; top: 50%; width: 5px; height: 5px; background: var(--s-waccent, #187bb1); opacity: 1 }
.s-wmini .s-wview { left: 18%; top: 16%; width: 64%; height: 68%; margin: 0; border-radius: 3px; border: 1px solid var(--s-waccent, #187bb1);
  background: color-mix(in srgb, var(--s-waccent, #187bb1) 8%, transparent); opacity: .7 }
.s-wzoom { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 3px 8px; border-radius: 8px;
  background: var(--s-wsurf, #fff); border: 1px solid rgba(127, 140, 160, .22); color: var(--s-wmuted) }
.s-wzoom b { font-weight: 600; font-size: 10px } .s-wzoom span { font-size: 13px; line-height: 1 }
/* the phone's bottom bar: icons and words, the Hub lit */
.s-wnav { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; display: none; justify-content: space-around; align-items: center; padding: 0 4px;
  background: var(--s-wsurf, #fff); border-top: 1px solid rgba(127, 140, 160, .18); font-size: 9.5px; color: var(--s-wmuted) }
.s-wnav span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 10px; border-radius: 10px }
.s-wnav span.on { background: color-mix(in srgb, var(--s-waccent, #187bb1) 10%, var(--s-wsurf, #fff)); color: var(--s-waccent, #187bb1); font-weight: 650 }
.s-wnav svg { width: 17px; height: 17px }
/* on a phone: no menu, a row of buttons on top, the tools floating over the map, the bottom bar */
.s-win.s-mob .s-wside, .s-win.s-mob .s-wtd, .s-win.s-mob .s-wmt, .s-win.s-mob .s-wfind { display: none }
.s-win.s-mob .s-wtm, .s-win.s-mob .s-wnav { display: flex }
.s-win.s-mob .s-wmhead { height: 34px; justify-content: flex-end; padding: 0 8px; background: none; border: 0 }
.s-wib { width: 28px; height: 28px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 9px;
  background: var(--s-wsurf, #fff); border: 1px solid rgba(127, 140, 160, .22); color: var(--s-wink) }
.s-wib svg { width: 15px; height: 15px }
.s-wtm .s-wswitch { margin-right: auto } .s-wtm .s-wswitch > span { padding: 5px 8px } .s-wtm .s-wme { width: 28px; height: 28px }
.s-win.s-mob .s-wmini { right: 8px; bottom: 8px; width: 52px; height: 36px } .s-win.s-mob .s-wzoom { right: 66px; bottom: 8px }

.s-feats { position: absolute; inset: 0; pointer-events: none }
/* no will-change here: these grow from small, and a layer kept from then would stay blurred */
.s-feat { position: absolute; left: 0; top: 0; opacity: 0; border-radius: 16px; overflow: hidden;
  background: var(--s-wsurf, #fff); box-shadow: 0 30px 60px rgba(16, 32, 47, .24), 0 8px 18px rgba(16, 32, 47, .1), 0 0 0 1px rgba(16, 32, 47, .06) }
.s-feat img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top }
.s-feat.s-shot { border-radius: 14px; background: #eef5f9 }
.s-feat.s-chip { border-radius: 999px; padding: 10px 16px 10px 12px; display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px;
  color: var(--s-wink, #10202f); white-space: nowrap }
.s-feat.s-chip i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px }

/* the end: the window closes into Varelyno's own mark (story.js) */
.s-end { position: absolute; left: 50%; top: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0;
  pointer-events: none; color: var(--s-ink); will-change: transform, opacity }
.s-mark { width: clamp(84px, 11vw, 130px); height: auto; overflow: visible }
.s-mark .s-sp { stroke: #80bce5; stroke-width: 2.1; stroke-linecap: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1 }
.s-mark .s-ring { stroke: #72a7cf; stroke-width: 2.1; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1 }
.s-end b { font-size: clamp(56px, 9vw, 120px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 10px; transition: color .4s }
.s-end span { font-size: clamp(17px, 2vw, 22px); color: var(--s-muted); transition: color .4s }

/* copy */
.s-copy { position: absolute; left: 50%; bottom: max(4vh, 28px); width: min(560px, calc(100% - 32px)); transform: translateX(-50%);
  text-align: center; opacity: 0; will-change: opacity, transform; pointer-events: none }
.s-kick { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--s-blue); transition: color .4s }
.s-line { margin: 0; font-size: clamp(19px, 2.2vw, 26px); font-weight: 500; line-height: 1.3; color: var(--s-ink); transition: color .4s }
.s-copy.s-final { top: 0; bottom: auto }
.s-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 18px 0 8px; pointer-events: auto }
.s-small { margin: 0; color: var(--s-muted); font-size: 15px; transition: color .4s }
.s-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--s-ink); opacity: .55 }
.s-hint::after { content: ''; display: block; width: 2px; height: 26px; margin: 8px auto 0; background: currentColor; animation: s-hint 1.6s var(--s-ease) infinite }
@keyframes s-hint { from { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } to { transform: scaleY(0); transform-origin: bottom } }
.s-dots { position: absolute; right: clamp(10px, 2vw, 24px); top: 50%; transform: translateY(-50%); display: grid; gap: 10px }
.s-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--s-ink); opacity: .2; transition: opacity .4s, transform .4s }
.s-dots i.on { opacity: .8; transform: scale(1.3) }

/* scene 5: the theme parade */
.s-themes { position: absolute; left: 50%; top: max(72px, 9vh); transform: translateX(-50%); text-align: center; opacity: 0; pointer-events: none; width: calc(100% - 32px) }
.s-tname { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--s-ink) }
.s-tname span { font-weight: 400; color: var(--s-muted) }
.s-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px }
.s-swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  transition: transform .5s var(--s-ease) }
.s-swatches i.on { transform: scale(1.5) }

/* animations off: no moving story, the same story as still pictures */
.s-still { display: none }
@media (prefers-reduced-motion: reduce) {
  .s-story { display: none }
  .s-still { display: block; position: relative; z-index: 2; max-width: 980px; margin: 0 auto; padding: 100px 16px 20px; font-family: Outfit, 'Segoe UI', system-ui, sans-serif; color: var(--s-ink) }
  .s-still article { padding: 40px 0; border-bottom: 1px solid rgba(24, 40, 90, .09) }
  .s-still h2 { font-size: clamp(56px, 14vw, 140px); letter-spacing: -.05em; line-height: .9; margin: 0 0 14px }
  .s-still p { font-size: 20px; margin: 0 0 18px }
  .s-still img { display: block; width: 100%; border-radius: 16px; border: 1px solid rgba(24, 40, 90, .09) }
  .s-still .s-pair { display: flex; gap: 14px } .s-still .s-pair img { width: calc(50% - 7px) }
  .s-still .s-buttons { justify-content: flex-start }
  /* the hero stays, still, above the still story */
  .s-story[data-hero] { display: block; height: auto }
  .s-story[data-hero] .s-stage { position: relative; height: auto; overflow: visible }
  .s-story[data-hero] .s-stage > :not(.s-hero) { display: none }
  .s-story[data-hero] .s-hero { position: relative }
}

@media (max-width: 759px) {
  .s-pnode strong { font-size: 9.5px; padding: 0 3px } .s-pnode small { display: none }
  .s-you { width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 17px } .s-you span { font-size: 11px; top: calc(100% + 3px) }
  .s-feat.s-chip { font-size: 13px; padding: 7px 12px 7px 8px } .s-feat.s-chip i { width: 22px; height: 22px; font-size: 12px }
  .s-themes { top: 64px } .s-swatches { gap: 6px } .s-swatches i { width: 13px; height: 13px }
  .s-copy { bottom: max(4vh, 24px) } .s-line { font-size: 17px }
  .s-buttons { margin: 12px 0 6px } .s-big { font-size: 16px; padding: 13px 20px }
}
