/* Lior Bar-Dov — a 42 km run, sideways */

:root {
  --paper: #f2efe8;
  --ink: #141414;
  --tomato: #ff4d1f;
  --sun: #ffb21e;
  --cobalt: #3346ff;
  --sky: #8ec5ff;
  --pink: #ff9fcb;
  --t-sun: #ffe4a8;
  --t-cobalt: #d9dcff;
  --t-pink: #ffd5e7;
  --t-sky: #d3e9ff;
  --t-tomato: #ffd2c2;
  --t-mint: #cdeedd;
  --t-lilac: #e6dcff;
  --t-rose: #ffe0d4;
  --t-ice: #d6eff4;
  --t-sand: #efe4cf;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ui: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
::selection { background: var(--tomato); color: var(--paper); }
:focus-visible { outline: 2px solid var(--tomato); outline-offset: 3px; }

/* ── labels (the type system) ── */
.label {
  display: table; white-space: nowrap;
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 6vw, 108px); line-height: 1.02;
  padding: .06em .16em .02em; letter-spacing: .004em;
}
.label + .label { margin-top: -.02em; }
.label--shift { margin-left: .5em; }
.label--tomato { background: var(--tomato); color: var(--paper); }
.label--cobalt { background: var(--cobalt); color: var(--paper); }
.label--sun { background: var(--sun); color: var(--ink); }
.label--pink { background: var(--pink); color: var(--ink); }
.label--paper { background: var(--paper); color: var(--ink); }
.label--sm { font-size: clamp(28px, 2.4vw, 42px); }
.p-work .label, .p-statement .label { font-size: clamp(40px, 4.6vw, 82px); }

.cap {
  position: relative; margin-top: 30px; padding-top: 16px; max-width: 32ch;
  font: 600 12px/1.6 var(--ui); letter-spacing: .07em; text-transform: uppercase;
}
.cap::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 2px; background: currentColor; }
.cap a { text-decoration: underline; text-underline-offset: 3px; }

/* chapter tag + bullets */
.chap { position: absolute; z-index: 3; top: 26px; left: 28px; display: flex; align-items: center; gap: 10px; font: 600 12px var(--ui); letter-spacing: .07em; text-transform: uppercase; }
.chap::before { content: ""; width: 10px; height: 10px; background: currentColor; }
.pts { list-style: none; margin: 32px 0 0; padding: 0; max-width: 40ch; display: grid; gap: 10px; font: 400 17px/1.5 var(--ui); white-space: normal; }
.pts li { position: relative; padding-left: 22px; }
.pts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--ink); }
.pts a { text-decoration: underline; text-underline-offset: 3px; }
.pts--light li::before { background: var(--paper); }
.pts--sm { font-size: 15px; gap: 8px; margin-top: 18px; max-width: 46ch; }
.logos { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.logos img { height: 24px; width: auto; filter: brightness(0); opacity: .82; }
.logos--light img { filter: brightness(0) invert(1); opacity: .9; }

/* ── fixed UI ── */
.cv, .nav, .km { position: fixed; z-index: 20; color: var(--ink); transition: color .4s var(--ease); }
body[data-ui="dark"] .cv, body[data-ui="dark"] .nav, body[data-ui="dark"] .km { color: var(--paper); }
.cv { top: 22px; right: 26px; font: 600 12px var(--ui); letter-spacing: .07em; text-decoration: none; border: 1.5px solid currentColor; border-radius: 999px; padding: 8px 14px; }
.cv:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav { left: 28px; bottom: 24px; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.nav-name { display: block; font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: .02em; margin-bottom: 4px; }
.nav-links { font-style: italic; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a.on { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.km { right: 28px; bottom: 28px; display: flex; align-items: center; gap: 12px; font: 600 12px var(--ui); letter-spacing: .07em; }
.km-num { font-variant-numeric: tabular-nums; min-width: 6.5ch; text-align: right; }
.km-bar { width: 120px; height: 2px; background: color-mix(in srgb, currentColor 22%, transparent); position: relative; }
.km-bar i { position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.km-hint { opacity: .55; transition: opacity .4s; }
body.moved .km-hint { opacity: 0; }

/* ── horizontal rail ── */
.rail { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.track { display: flex; height: 100%; width: max-content; will-change: transform; }
.panel { position: relative; flex: none; height: 100%; overflow: hidden; }

.split { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 5vw; height: 100%; padding: 0 6vw; }
.ill { width: 100%; max-height: 70vh; overflow: visible; }
.title-block { position: absolute; left: 7vw; top: 50%; transform: translateY(-50%); z-index: 2; }

.shape { position: absolute; display: block; background: var(--c); z-index: 1; }
.dot { width: 44px; aspect-ratio: 1; border-radius: 50%; animation: bob 5s ease-in-out infinite; }
.tri { width: var(--s, 70px); aspect-ratio: 1; clip-path: polygon(50% 0, 100% 100%, 0 100%); animation: spin-slow 22s linear infinite; }
.dia { width: 50px; aspect-ratio: 1; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); animation: bob 6s ease-in-out infinite reverse; }
.big-circle { width: var(--d, 62vh); aspect-ratio: 1; border-radius: 50%; left: 56%; top: 16%; z-index: 0; }
@keyframes bob { 50% { transform: translateY(-18px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.sticker { margin: 0; background: #fff; padding: 12px; box-shadow: 0 22px 44px -24px rgba(20, 20, 20, .55); transform: rotate(var(--r, -4deg)); }
.sticker img { width: 100%; height: auto; }

/* ── HERO ── */
.p-hero { width: 100vw; background: var(--sky); }
.sun { position: absolute; width: 46vh; aspect-ratio: 1; border-radius: 50%; background: var(--sun); right: 9vw; top: 9vh; }
.cloud { position: absolute; width: 240px; height: 80px; animation: drift 26s ease-in-out infinite alternate; }
.cloud i { position: absolute; bottom: 0; border-radius: 50%; background: #fff; }
.cloud i:nth-child(1) { left: 0; width: 46%; height: 70%; border-radius: 999px; }
.cloud i:nth-child(2) { left: 26%; width: 44%; height: 100%; }
.cloud i:nth-child(3) { left: 52%; width: 48%; height: 62%; border-radius: 999px; }
.c1 { left: 42%; top: 10%; }
.c2 { left: 74%; top: 58%; transform: scale(.7); animation-duration: 32s; }
.c3 { left: 30%; bottom: 7%; transform: scale(.55); animation-duration: 20s; }
@keyframes drift { to { margin-left: 60px; } }
.polaroid { position: absolute; z-index: 2; left: 7vw; top: 10vh; width: min(29vw, 54vh); margin: 0; padding: 14px 14px 62px; background: #fbf9f3; box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 26px 50px -24px rgba(20, 20, 20, .55); transform: rotate(-5deg); }
.polaroid img { width: 100%; height: auto; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font: italic 26px var(--serif); color: var(--ink); }
.polaroid::before { content: ""; position: absolute; top: -16px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255,255,255,.7); transform: rotate(3deg); }
.hero-id { position: absolute; z-index: 3; left: calc(7vw + min(29vw, 54vh) - 4vw); top: 36vh; }
.hero-name .label { font-size: clamp(64px, 10.5vw, 196px); line-height: .98; }
.p-hero .tri { --s: 64px; }

/* ── STATEMENT ── */
.p-statement { width: 100vw; }
.track-line { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.track-line--faint { stroke-dasharray: 2 14; opacity: .35; }
.rail-line { fill: none; stroke: var(--cobalt); stroke-width: 4; stroke-dasharray: 10 10; stroke-linecap: round; }
.target { fill: var(--cobalt); transform-box: fill-box; transform-origin: center; animation: hit 3.2s infinite; }
@keyframes hit { 0%, 57% { transform: scale(1); } 63% { transform: scale(1.3); } 72%, 100% { transform: scale(1); } }
.ripple { fill: none; stroke: var(--cobalt); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ripple 3.2s ease-out infinite; }
.r2 { animation-name: ripple2; } .r3 { animation-name: ripple3; }
@keyframes ripple { 0%, 59% { transform: scale(1); opacity: 0; } 61% { opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
@keyframes ripple2 { 0%, 65% { transform: scale(1); opacity: 0; } 67% { opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes ripple3 { 0%, 71% { transform: scale(1); opacity: 0; } 73% { opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
.miss { fill: none; stroke: var(--ink); stroke-width: 3; opacity: .3; }
.miss-x { stroke: var(--ink); stroke-width: 3; opacity: .3; }
.ball { fill: var(--tomato); }
.chip { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.chip--ink { fill: var(--ink); stroke: none; }
.chip-t { font: 600 12px var(--ui); letter-spacing: .07em; text-anchor: middle; fill: var(--ink); }
.chip-t--light { fill: var(--paper); }

/* ── WORK ── */
.p-work { width: 100vw; background: var(--bg, var(--paper)); }
.p-cover { width: 100vw; }
.p-cover--scale { background: var(--cobalt); color: var(--paper); }
.p-cover--scale .big-circle { left: 56%; top: 16%; }
.p-cover--zero { background: var(--ink); color: var(--paper); }
.blocks { position: absolute; right: 12vw; bottom: 14vh; width: 27vh; height: 27vh; }
.blocks i { position: absolute; width: 9vh; height: 9vh; background: var(--c); left: calc(var(--x) * 9vh); bottom: calc((3 - var(--y)) * 9vh); transform: translateY(-80vh); opacity: 0; transition: transform .8s cubic-bezier(.3,1.4,.5,1), opacity .3s; }
.is-in .blocks i { transform: none; opacity: 1; }
.blocks i:nth-child(2) { transition-delay: .12s; } .blocks i:nth-child(3) { transition-delay: .24s; } .blocks i:nth-child(4) { transition-delay: .4s; } .blocks i:nth-child(5) { transition-delay: .52s; } .blocks i:nth-child(6) { transition-delay: .7s; }

.up-tri { fill: var(--cobalt); }
.bar { fill: var(--ink); }
.coin { fill: var(--sun); stroke: var(--ink); stroke-width: 3; }

.pie-bg { fill: none; stroke: color-mix(in srgb, var(--ink) 10%, transparent); stroke-width: 44; }
.pie { fill: none; stroke: var(--cobalt); stroke-width: 44; stroke-dasharray: 0 100; transform: rotate(-90deg); transform-origin: 260px 210px; transition: stroke-dasharray 1.8s var(--ease) .2s; }
.is-in .pie { stroke-dasharray: 70 100; }
.pie-t { font-family: var(--display); font-size: 64px; text-anchor: middle; fill: var(--ink); }
.orbit { transform-origin: 260px 210px; animation: spin-slow 30s linear infinite; }
.o { fill: var(--c); }
.o--churn { transform-box: fill-box; transform-origin: center; animation: churn 7s ease-in-out infinite; }
@keyframes churn { 0%, 60% { opacity: 1; transform: translate(0, 0); } 75% { opacity: 0; transform: translate(-60px, -40px); } 85% { opacity: 0; transform: translate(0, 0); } 100% { opacity: 1; } }

.phone { fill: var(--ink); }
.screen { fill: var(--sky); }
.ph-time { font-family: var(--display); font-size: 46px; text-anchor: middle; fill: var(--ink); }
.card { fill: var(--c); }
.ln { fill: var(--ink); opacity: .85; }
.play { fill: var(--paper); }
.feed { animation: feed 8s var(--ease) infinite; }
@keyframes feed { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-80px); } 50%, 70% { transform: translateY(-160px); } 75%, 100% { transform: translateY(-240px); } }
.tag { animation: bob 5s ease-in-out infinite; transform-box: fill-box; }
.tag:nth-of-type(2) { animation-delay: -1.6s; } .tag:nth-of-type(3) { animation-delay: -3.2s; }

.pipe { fill: none; stroke: var(--ink); stroke-width: 34; }
.pipe-in { fill: none; stroke: var(--sky); stroke-width: 12; stroke-dasharray: 16 18; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.crack { fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; }
.drops { animation: gate 6s infinite; }
.drop { fill: var(--tomato); transform-box: fill-box; animation: fall 1.2s ease-in infinite; }
.d2 { animation-delay: .4s; } .d3 { animation-delay: .8s; }
@keyframes fall { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(180px); opacity: 0; } }
@keyframes gate { 0%, 56% { opacity: 1; } 60%, 100% { opacity: 0; } }
.patch { fill: var(--sun); stroke: var(--ink); stroke-width: 3; animation: patch 6s var(--ease) infinite; }
@keyframes patch { 0%, 54% { transform: translateY(-140px); opacity: 0; } 62%, 94% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-140px); opacity: 0; } }
.bell { transform-box: fill-box; transform-origin: 50% 0; animation: bell 6s infinite; }
.bell-b { fill: var(--tomato); }
@keyframes bell { 0%, 40% { opacity: .18; transform: rotate(0); } 43% { opacity: 1; transform: rotate(-16deg); } 47% { transform: rotate(14deg); } 51% { transform: rotate(-10deg); } 55% { transform: rotate(6deg); } 59%, 92% { opacity: 1; transform: rotate(0); } 100% { opacity: .18; } }
.saved { animation: saved 6s infinite; }
@keyframes saved { 0%, 60% { opacity: 0; } 66%, 94% { opacity: 1; } 100% { opacity: 0; } }

.team { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2vw; padding: 2vw 4vw; align-items: end; }
.m { display: block; width: 100%; aspect-ratio: 1; background: var(--c); animation: hop 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .09s); }
.m.ci { border-radius: 50%; }
.m.tr { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@keyframes hop { 0%, 55%, 100% { transform: translateY(0); } 25% { transform: translateY(-34%); } }

/* ── NIGHT ── */
.p-builds { background: var(--ink); color: var(--paper); }

.p-builds { display: flex; align-items: center; gap: 6vw; padding: 0 8vw 0 4vw; }
.build { position: relative; width: min(34vw, 66vh); flex: none; z-index: 1; }
.build-shot { display: block; position: relative; transform: rotate(var(--r)); transition: transform .6s var(--ease); }
.build-shot img { filter: grayscale(1) contrast(1.08); transition: filter .5s; }
.build:hover .build-shot { transform: rotate(0) scale(1.03); }
.build:hover .build-shot img { filter: none; }
.build-meta { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.build-meta img { width: 36px; height: 36px; border-radius: 9px; }
.go { display: inline-block; margin-top: 14px; font: italic 22px var(--serif); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.go:hover { color: var(--sun); }
.stamp { position: absolute; right: 7%; top: 14%; padding: 2px 14px; border: 3px solid var(--tomato); color: var(--tomato); background: rgba(255, 255, 255, .88); font: 34px var(--display); text-transform: uppercase; transform: rotate(-12deg); }
.p-builds .shape { z-index: 2; }

/* ── PRODUCTS ── */
.plogo { display: block; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 22px; box-shadow: 0 6px 16px -8px rgba(20,20,20,.4); }
.shot-wrap { display: flex; align-items: center; justify-content: center; }
.shot { display: block; position: relative; width: min(100%, 46vw); transform: rotate(var(--r)); transition: transform .6s var(--ease); }
.shot:hover { transform: rotate(0) scale(1.02); }
.p-product .go { color: var(--ink); }
.p-product .go:hover { color: var(--tomato); }

/* ── PATH (one screen) ── */
.p-path { width: 100vw; --road: 60vh; }
.path-head { position: absolute; left: 6vw; top: 11vh; z-index: 2; }
.path-head .label { font-size: clamp(40px, 4.4vw, 76px); }
.road { position: absolute; left: 0; right: 0; top: var(--road); height: 6px; background: var(--ink); }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: repeating-linear-gradient(90deg, var(--paper) 0 26px, transparent 26px 52px); }
.runner { position: absolute; top: -14px; left: 0; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: var(--tomato); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--ink); transition: left 3.8s linear .3s; }
.p-path.is-in .runner { left: calc(100% - 4vw); }
.miles { list-style: none; margin: 0; padding: 0; position: absolute; left: 6vw; right: 6vw; top: 0; bottom: 0; display: grid; grid-template-columns: repeat(9, 1fr); }
.miles li { position: relative; opacity: .2; transition: opacity .5s var(--ease); transition-delay: calc(.4s + var(--i) * .4s); }
.p-path.is-in .miles li { opacity: 1; }
.mt { position: absolute; left: 0; width: 210px; }
.miles li:nth-child(odd) .mt { bottom: calc(100% - var(--road) + 66px); }
.miles li:nth-child(even) .mt { top: calc(var(--road) + 32px); }
.miles b { display: block; font: 400 clamp(30px, 2.8vw, 48px)/1 var(--display); }
.miles span { display: block; margin-top: 10px; font: 600 11.5px/1.5 var(--ui); letter-spacing: .07em; text-transform: uppercase; }
.miles .co { display: block; height: 22px; width: auto; margin-top: 10px; filter: brightness(0); }
.miles em { display: block; margin-top: 2px; font: italic 19px/1.2 var(--serif); }
.ms { position: absolute; left: 0; top: calc(var(--road) - 46px); width: 44px; height: 44px; background: var(--c); }
.ms-tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ms-half { height: 22px; top: calc(var(--road) - 22px); border-radius: 44px 44px 0 0; }
.ms-box { transform: rotate(-8deg); }
.ms-ci { border-radius: 50%; }
.ms-dia { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ms-star { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.ms-flag { width: 4px; height: 56px; top: calc(var(--road) - 56px); background: var(--ink); }
.ms-flag::after { content: ""; position: absolute; left: 4px; top: 0; width: 36px; height: 26px; background: var(--tomato); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ms-ring { background: none; border: 4px dashed var(--ink); border-radius: 50%; }
.next em { font-size: 28px; }

/* ── CONTACT ── */
.p-contact { width: 100vw; background: var(--tomato); }
.p-contact .label--paper { background: var(--paper); }
.finish { position: absolute; top: 0; bottom: 0; right: 14vw; width: 9vw; background: repeating-conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%) 0 0 / 3vw 3vw; z-index: 0; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 44px; font: italic clamp(24px, 2.2vw, 34px) var(--serif); }
.contact-links a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.contact-links a:hover { color: var(--paper); }
.foot { margin-top: 56px; }

/* ── mobile: stack vertically ── */
@media (max-width: 820px) {
  html { scroll-snap-type: y proximity; }
  .panel { scroll-snap-align: start; }
  .stage { position: static; height: auto; overflow: visible; }
  .track { display: block; width: auto; transform: none !important; }
  .panel { width: auto !important; height: auto; min-height: 92svh; padding: 96px 22px 90px; }
  .split { display: block; padding: 0; height: auto; }
  .ill, .team { margin-top: 44px; }
  .ill { max-height: none; }
  .title-block { position: relative; left: auto; top: auto; transform: none; }
  .label { font-size: clamp(38px, 11vw, 64px) !important; white-space: normal; }
  .hero-name .label { font-size: clamp(56px, 18vw, 100px) !important; white-space: nowrap; }
  .label--shift { margin-left: .35em; }
  .p-hero { min-height: 100svh; }
  .sun { width: 46vw; right: -8vw; top: 6svh; }
  .polaroid { position: relative; left: auto; top: auto; width: 70vw; margin: 20px 0 0 4vw; padding: 10px 10px 48px; }
  .polaroid figcaption { font-size: 20px; bottom: 12px; }
  .hero-id { position: relative; left: auto; top: auto; margin: -12vw 0 0 10vw; }
  .chap { top: 64px; left: 22px; }
  .blocks { right: 6vw; bottom: 6vh; width: 27vw; height: 27vw; }
  .blocks i { width: 9vw; height: 9vw; left: calc(var(--x) * 9vw); bottom: calc((3 - var(--y)) * 9vw); }
  .pts { font-size: 16px; }
  .p-cover { min-height: 80svh; display: flex; align-items: center; }
  .big-circle { --d: 60vw !important; left: 40% !important; top: auto !important; bottom: -10%; }
  .finish { right: 0; width: 18vw; background-size: 6vw 6vw; opacity: .9; }
  .p-builds { display: block; padding: 40px 22px 60px; }
  .build { width: 100%; margin-bottom: 72px; }
  .p-path { --road: 0px; padding-left: 22px; }
  .path-head { position: relative; left: auto; top: auto; margin-bottom: 40px; }
  .road { left: 50px; right: auto; top: 260px; bottom: 90px; width: 6px; height: auto; }
  .road::after { display: none; }
  .runner { display: none; }
  .miles { position: relative; left: auto; right: auto; display: block; padding-left: 0; }
  .miles li { width: auto; min-width: 0; padding: 0 0 46px 120px; opacity: 1; min-height: 110px; }
  .mt { position: static; width: auto; }
  .shot { width: 100%; margin-top: 36px; }
  .ms { top: 0; left: 0; width: 64px; height: 64px; }
  .ms-half { top: 20px; height: 32px; }
  .ms-flag { height: 70px; } .ms-flag::after { width: 48px; height: 34px; }
  .cv { top: 16px; right: 16px; }
  .nav, .km, .cv { background: rgba(242, 239, 232, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 999px; }
  .nav, .km { padding: 6px 12px; }
  body[data-ui="dark"] .nav, body[data-ui="dark"] .km, body[data-ui="dark"] .cv { background: rgba(20, 20, 20, .82); }
  .nav { left: 18px; bottom: 16px; font-size: 18px; }
  .nav-name { display: none; }
  .km { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .is-in .pie, .pie { stroke-dasharray: 70 100; }
}
