/* vrsho.com */
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DejaVu Mono"; src: url("../fonts/DejaVuSansMono.woff") format("woff"); font-weight: 400; font-display: swap; }


:root {
  --night: #070b16;
  --card: rgba(255,255,255,.035);
  --stroke: rgba(160,190,255,.12);
  --stroke-2: rgba(160,190,255,.3);
  --text: #eaf0ff;
  --muted: #8f9bb8;
  --cyan: #45d4ff;
  --violet: #8b7bff;
  --amber: #ffb547;
  --red: #ff5a5a;
  --grad: linear-gradient(100deg, var(--cyan), var(--violet) 55%, #d77bff);
  --f-display: "Inter Display", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --wrap: 76rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(60rem 40rem at 90% -10%, rgba(139,123,255,.16), transparent 70%), radial-gradient(50rem 40rem at -10% 110%, rgba(27,109,255,.12), transparent 70%) var(--night) fixed; color: var(--text); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

main, header, footer { position: relative; z-index: 1; }

/* Nav */
.nav { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: .25rem; padding: .4rem .45rem .4rem 1.1rem; border: 1px solid var(--stroke); border-radius: 999px; background: rgba(10, 16, 32, .82); transition: background .3s, box-shadow .3s; white-space: nowrap; }
.nav.is-scrolled { background: rgba(10, 16, 32, .94); box-shadow: 0 10px 40px -10px rgba(0,0,0,.6); }
.nav__brand { font: 700 1rem/1 var(--f-display); margin-right: .9rem; display: flex; align-items: center; gap: .5rem; }
.nav__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
@keyframes blink { 50% { opacity: .35; } }
.nav__link { font-size: .9rem; color: var(--muted); padding: .45rem .8rem; border-radius: 999px; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav__cta { font-size: .88rem; padding: .48rem .95rem; border-radius: 999px; background: var(--text); color: var(--night); font-weight: 600; margin-left: .35rem; transition: background .2s; }
.nav__cta:hover { background: #fff; }
.nav__lang { font-size: .85rem; color: var(--muted); padding: .45rem .6rem; }
@media (max-width: 760px) { .nav__link { display: none; } .nav { top: .6rem; } }

/* Hero */
.hero { position: relative; min-height: 72svh; display: grid; align-items: center; overflow: hidden; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; }
#net { -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.hero__in { position: relative; z-index: 2; padding-block: 8rem 5rem; pointer-events: none; }
.hero__in a, .hero__in button { pointer-events: auto; }
.status { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); padding: .4rem .9rem .4rem .6rem; border: 1px solid var(--stroke); border-radius: 999px; background: rgba(10,16,32,.6); margin: 0 0 2rem; }
.status b { width: .55rem; height: .55rem; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62,224,143,.15); }
.hero__name { font: 700 clamp(4.2rem, 15vw, 9.5rem)/.92 var(--f-display); letter-spacing: -.045em; margin: 0; }
.hero__name .line { position: relative; display: block; overflow: hidden; padding-bottom: .06em; }
.hero__name .ch { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 150ms); }
.hero__name .line:nth-child(2) .ch { background-image: var(--grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }
.hero__sub { font: 600 clamp(1.25rem, 2.6vw, 1.9rem)/1.3 var(--f-display); letter-spacing: -.02em; color: var(--muted); margin: 1.5rem 0 0; max-width: 34ch; opacity: 0; animation: fade .8s var(--ease) 1s forwards; }
.hero__sub em { font-style: normal; color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; opacity: 0; animation: fade .8s var(--ease) 1.2s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.btn { position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.3rem; border-radius: 14px; font-weight: 600; font-size: .98rem; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); transition: transform .25s var(--ease), border-color .25s, background .25s; cursor: pointer; }
.btn svg { width: 1.15rem; height: 1.15rem; }
.btn:hover { border-color: var(--stroke-2); background: rgba(255,255,255,.08); }
.btn--primary { background: var(--text); color: var(--night); border-color: var(--text); }
.btn--primary:hover { background: #fff; }
.btn--icon { padding: .85rem; }
.btn--icon svg { width: 1.25rem; height: 1.25rem; }


.hero__links { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; max-width: 64rem; opacity: 0; animation: fade .8s var(--ease) 1s forwards; }
.hero__links a { display: flex; align-items: center; gap: .7rem; padding: .65rem 1.05rem .65rem .8rem; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(10,16,32,.6); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.hero__links a:hover { border-color: var(--stroke-2); background: rgba(20,28,50,.8); transform: translateY(-2px); }
.hero__links svg { width: 1.25rem; height: 1.25rem; color: var(--cyan); flex: none; }
.hero__links span { font-weight: 600; font-size: .95rem; line-height: 1.2; }
.hero__links small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) { .hero__links { display: grid; grid-template-columns: 1fr 1fr; } }


.hero__in { text-align: center; }
.hero__logo { margin: 0 auto; width: min(26rem, 72vw); }
.hero__logo img { width: 100%; height: auto; clip-path: inset(0 100% 0 0); animation: wipe 1.2s var(--ease) .15s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.hero__links { justify-content: center; margin-inline: auto; text-align: left; }
@media (max-width: 520px) { .hero__links li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Sections */
section.block { content-visibility: auto; contain-intrinsic-size: auto 900px; padding-block: clamp(4.5rem, 10vw, 8rem); }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--cyan); margin: 0 0 1rem; }
.kicker::before { content: ""; width: 1.4rem; height: 1px; background: currentColor; }
.h2 { font: 700 clamp(2.25rem, 5.5vw, 4.25rem)/1 var(--f-display); letter-spacing: -.04em; margin: 0 0 1rem; max-width: 18ch; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin: 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }

/* Featured project: Tesla */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); color: var(--text); }
.chip--new { background: rgba(69,212,255,.12); border-color: rgba(69,212,255,.35); color: var(--cyan); }
.feature h3 { font: 700 clamp(2rem, 4vw, 3rem)/1.02 var(--f-display); letter-spacing: -.035em; margin: 0 0 1rem; }
.feature p { color: var(--muted); margin: 0 0 1.5rem; max-width: 30rem; }
.feats { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; }
.feats li { display: flex; gap: .8rem; align-items: baseline; }
.feats li::before { content: ""; flex: none; width: .45rem; height: .45rem; border-radius: 2px; background: var(--cyan); transform: translateY(-.1rem) rotate(45deg); }
.feats span { color: var(--muted); }

.tablet { position: relative; aspect-ratio: 16 / 10.5; border-radius: 28px; padding: 14px; background: linear-gradient(145deg, #2a2f3d, #0d1018); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 80px -20px rgba(69,212,255,.25); transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.tablet:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.screen { position: relative; height: 100%; border-radius: 16px; overflow: hidden; background: #0b0f17; display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: auto 1fr auto; gap: 10px; padding: 12px; font-size: clamp(.55rem, 1.05vw, .8rem); transition: background .6s; }
.screen.day { background: #e9eef5; color: #121826; }
.scr-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.screen.day .scr-top { color: #5a6475; }
.scr-top b { color: inherit; font-weight: 600; }
.scr-mode { all: unset; cursor: pointer; padding: .2em .7em; border-radius: 999px; border: 1px solid currentColor; font-size: .9em; }
.panel-c { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 10px; transition: background .6s, border-color .6s; }
.screen.day .panel-c { background: #fff; border-color: #d8dfe9; }
.bat { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.bat__num { font: 700 3.2em/1 var(--f-display); letter-spacing: -.04em; }
.bat__num small { font-size: .4em; color: var(--muted); margin-left: .2em; }
.bat__bar { height: .7em; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.screen.day .bat__bar { background: #e2e8f0; }
.bat__bar i { display: block; height: 100%; width: var(--lvl, 0%); border-radius: inherit; background: linear-gradient(90deg, #3ee08f, #9cf2c4); transition: width 1.6s var(--ease); }

@keyframes flow { to { background-position: -200% 0; } }
.temps { display: flex; gap: 1.2em; color: var(--muted); }
.temps b { display: block; color: inherit; font: 600 1.5em/1.1 var(--f-display); }
.screen:not(.day) .temps b { color: var(--text); }
.map { grid-row: 2 / 4; grid-column: 2; position: relative; overflow: hidden; padding: 0; }
.map svg.roads { position: absolute; inset: -20%; width: 140%; height: 140%;  }
@keyframes pan { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-6%, 8%) rotate(8deg); } }
.map__car { position: absolute; left: 50%; top: 55%; width: 1.8em; height: 1.8em; margin: -.9em 0 0 -.9em; filter: drop-shadow(0 0 6px rgba(69,212,255,.8)); }
.map__label { position: absolute; left: 8px; top: 8px; font-size: .85em; padding: .2em .6em; border-radius: 6px; background: rgba(0,0,0,.45); color: #fff; }
.seats { display: flex; flex-direction: column; gap: 8px; }
.seats__title { color: var(--muted); }
.seats__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seat { all: unset; cursor: pointer; display: grid; place-items: center; gap: 2px; padding: .55em .2em; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); text-align: center; transition: background .25s, border-color .25s; }
.screen.day .seat { background: #f2f5f9; border-color: #d8dfe9; }
.seat[data-l="1"] { background: rgba(255,140,60,.18); border-color: rgba(255,140,60,.45); }
.seat[data-l="2"] { background: rgba(255,110,50,.3); border-color: rgba(255,110,50,.65); }
.seat[data-l="3"] { background: rgba(255,80,40,.45); border-color: rgba(255,80,40,.9); }
.seat svg { width: 1.6em; height: 1.6em; }
.seat .waves { display: flex; gap: 2px; height: .55em; }
.seat .waves i { width: .32em; border-radius: 2px; background: currentColor; opacity: .18; }
.seat[data-l="1"] .waves i:nth-child(-n+1), .seat[data-l="2"] .waves i:nth-child(-n+2), .seat[data-l="3"] .waves i { opacity: 1; color: #ff8a3d; }
.apps { grid-column: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.app { display: grid; place-items: center; aspect-ratio: 1.6; border-radius: 9px; font-size: .8em; font-weight: 600; color: #fff; }
.app:nth-child(1) { background: #c4302b; } .app:nth-child(2) { background: #8b1418; } .app:nth-child(3) { background: #2f6fde; } .app:nth-child(4) { background: #1a9e4b; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .tablet { transform: none; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--stroke); background: transparent; color: var(--muted); font-size: .92rem; cursor: pointer; transition: all .25s var(--ease); }
.filter:hover { color: var(--text); border-color: var(--stroke-2); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--night); border-color: var(--text); }
.filter sup { font-size: .7em; margin-left: .25em; opacity: .7; }

/* Projects: main + duo */
.main-proj { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--stroke); border-radius: 32px; background: linear-gradient(150deg, rgba(69,212,255,.09), rgba(139,123,255,.06) 45%, rgba(255,255,255,.015)); overflow: hidden; margin-bottom: 1rem; }
.main-proj::before { content: ""; position: absolute; width: 36rem; height: 36rem; left: -12rem; bottom: -20rem; border-radius: 50%; background: radial-gradient(circle, rgba(69,212,255,.22), transparent 65%); pointer-events: none; }
.main-proj > * { position: relative; }
.main-proj h3 { font: 700 clamp(2.6rem, 6vw, 4.5rem)/.95 var(--f-display); letter-spacing: -.045em; margin: 0 0 1rem; }
.main-proj p { color: var(--muted); margin: 0 0 1.5rem; max-width: 30rem; font-size: 1.1rem; }
.todo { border: 1px dashed rgba(255,181,71,.5); border-radius: 12px; padding: .75rem 1rem; color: var(--amber) !important; font-size: .95rem !important; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature--card { grid-template-columns: 1fr; gap: 2rem; align-content: start; padding: clamp(1.5rem, 3.5vw, 2.5rem); border: 1px solid var(--stroke); border-radius: 28px; background: var(--card); }
.feature--card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.feature--card .tablet { order: -1; transform: none; }
.feature--card .tablet:hover { transform: translateY(-4px); }
.feature--card .feats { margin-bottom: 1.5rem; }
@media (max-width: 960px) { .main-proj, .duo { grid-template-columns: 1fr; } .browser { transform: none; } }


/* Temelino phone */
.phone-stage { position: relative; display: grid; place-items: center; padding: 1rem 0; }
.phone { position: relative; width: min(19rem, 78vw); aspect-ratio: 9 / 18.5; border-radius: 2.6rem; padding: .7rem; background: linear-gradient(145deg, #2c3242, #0e121b); box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.1) inset, 0 0 90px -20px rgba(69,212,255,.3); transition: transform .8s var(--ease); }
.main-proj:hover .phone { transform: translateY(-6px); }
.phone__notch { position: absolute; top: 1.1rem; left: 50%; width: 5.5rem; height: 1.4rem; margin-left: -2.75rem; border-radius: 999px; background: #05070c; z-index: 2; }
.tml { position: relative; height: 100%; border-radius: 2rem; overflow: hidden; background: #f4f6f9; color: #141a26; padding: 2.8rem 1rem 1rem; font-size: .78rem; display: flex; flex-direction: column; }
.tml__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.tml__proj { font: 700 1rem/1 var(--f-display); }
.tml__avatars { display: flex; }
.tml__avatars i { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: .7rem; color: #fff; background: #2f6fde; border: 2px solid #f4f6f9; }
.tml__avatars i + i { margin-left: -.45rem; background: #e0608a; }
.tml__label { color: #6b7385; }
.tml__total { font: 700 2.1rem/1.1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tml__plan { color: #6b7385; margin-bottom: .7rem; }
.tml__bar { display: flex; height: .55rem; border-radius: 99px; background: repeating-linear-gradient(-45deg, #dfe4ec 0 4px, #eef1f6 4px 8px); overflow: hidden; gap: 2px; }
.tml__bar i { display: block; height: 100%; width: 0; transition: width 1.2s var(--ease); }
.tml__bar .paid { background: #1aa36a; border-radius: 99px 0 0 99px; }
.tml__bar .unpaid { background: #f0a020; }
.tml__legend { display: flex; gap: .7rem; margin: .45rem 0 .9rem; color: #6b7385; font-size: .68rem; }
.tml__legend b { display: inline-block; width: .5rem; height: .5rem; border-radius: 2px; margin-right: .25rem; }
.tml__legend .paid { background: #1aa36a; } .tml__legend .unpaid { background: #f0a020; } .tml__legend .plan { background: #cfd6e2; }
.tml__m2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .9rem; }
.tml__m2 > div { background: #fff; border-radius: .8rem; padding: .55rem .7rem; box-shadow: 0 1px 2px rgba(20,26,38,.06); }
.tml__m2 small { display: block; color: #6b7385; font-size: .66rem; }
.tml__m2 b { font: 700 1.05rem/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.tml__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.tml__list li { display: grid; grid-template-columns: 1.9rem 1fr auto; align-items: center; gap: .55rem; background: #fff; border-radius: .8rem; padding: .5rem .65rem; box-shadow: 0 1px 2px rgba(20,26,38,.06); }
.tml__list li.new { animation: slidein .7s var(--ease) both; }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.tml__list .ico { width: 1.9rem; height: 1.9rem; border-radius: .6rem; display: grid; place-items: center; background: #eef2f8; font-size: .9rem; }
.tml__list span small { display: block; color: #6b7385; font-size: .64rem; }
.tml__list b { font-variant-numeric: tabular-nums; }
.tml__fab { position: absolute; right: 1rem; bottom: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: #141a26; color: #fff; font-size: 1.4rem; box-shadow: 0 8px 20px -6px rgba(20,26,38,.5); }
.tml__fab.pulse { animation: fab .6s var(--ease); }
@keyframes fab { 50% { transform: scale(.85); } }
.scan { position: absolute; right: max(0rem, calc(50% - 15rem)); top: 22%; display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; border-radius: 14px; background: rgba(10,16,32,.95); border: 1px solid var(--stroke-2); font-size: .82rem; font-weight: 600; box-shadow: 0 20px 40px -15px rgba(0,0,0,.7); opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.scan.show { opacity: 1; transform: none; }
.scan svg { width: 1.5rem; height: 1.5rem; color: var(--cyan); flex: none; }
.scan small { display: block; font-weight: 400; color: var(--muted); }
@media (max-width: 520px) { .scan { right: 0; top: 8%; } }

/* Mi Band demo */
.sleep { order: -1; position: relative; aspect-ratio: 16 / 10.5; border-radius: 20px; background: radial-gradient(circle at 30% 50%, rgba(139,123,255,.22), transparent 60%), #0a0f1d; border: 1px solid var(--stroke); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: clamp(1rem, 3vw, 2rem); overflow: hidden; }
.watch { display: grid; justify-items: center; }
.watch__band { width: 3.4rem; height: 2.4rem; background: #1b1f2b; border-radius: 10px; }
.watch__band--t { border-radius: 10px 10px 4px 4px; } .watch__band--b { border-radius: 4px 4px 10px 10px; }
.watch__face { width: 5.2rem; height: 7.4rem; border-radius: 1.6rem; background: #000; border: 3px solid #2b3142; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; box-shadow: 0 0 30px -5px rgba(139,123,255,.5); }
.watch__time { font: 700 1.25rem/1 var(--f-display); }
.watch__state { display: flex; align-items: center; gap: .25rem; font-size: .62rem; color: var(--violet); opacity: .25; transition: opacity .4s; }
.watch__state svg { width: .7rem; height: .7rem; }
.sleep.is-asleep .watch__state { opacity: 1; }
.watch__hr { font-size: .6rem; color: var(--muted); } .watch__hr b { color: #ff6b81; font-size: .8rem; }
.flow { display: flex; justify-content: space-evenly; align-items: center; height: 2px; background: linear-gradient(90deg, rgba(139,123,255,.4), rgba(69,212,255,.4)); position: relative; }
.flow i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); opacity: 0; }
.sleep.is-sending .flow i { animation: travel 1.1s var(--ease) forwards; }
.sleep.is-sending .flow i:nth-child(2) { animation-delay: .15s; } .sleep.is-sending .flow i:nth-child(3) { animation-delay: .3s; }
@keyframes travel { 0% { opacity: 0; transform: translateX(-200%); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(300%); } }
.devs { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .82rem; }
.devs li { display: flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border-radius: 12px; border: 1px solid rgba(255,181,71,.4); background: rgba(255,181,71,.1); transition: all .45s var(--ease); white-space: nowrap; }
.bulb { width: .7rem; height: .7rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); transition: all .45s var(--ease); }
.devs li.off { border-color: var(--stroke); background: rgba(255,255,255,.03); color: var(--muted); }
.devs li.off .bulb { background: #3a4152; box-shadow: none; }
@media (max-width: 520px) { .sleep { grid-template-columns: auto 1fr; } .flow { display: none; } }


/* MURS-EKOM / Home Assistant demo */
.feature--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 1rem; padding: clamp(1.5rem, 3.5vw, 2.5rem); border: 1px solid var(--stroke); border-radius: 28px; background: var(--card); }
.feature--wide h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ha { position: relative; border-radius: 20px; background: #111827; border: 1px solid var(--stroke); padding: 1.1rem; display: grid; gap: .7rem; font-size: .9rem; overflow: hidden; }
.ha__card { background: #1f2937; border-radius: 14px; padding: .9rem 1rem; }
.ha__next small { color: #9ca3af; display: block; }
.ha__next b { font: 700 1.5rem/1.2 var(--f-display); display: block; margin: .15rem 0 .35rem; transition: opacity .3s; }
.ha__when { display: inline-block; font-size: .8rem; padding: .15rem .6rem; border-radius: 999px; background: rgba(69,212,255,.15); color: var(--cyan); }
.ha__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.ha__list li { display: flex; align-items: center; gap: .7rem; padding: .45rem .5rem; border-radius: 9px; transition: background .4s; }
.ha__list li i { width: .8rem; height: .8rem; border-radius: 3px; background: var(--c); flex: none; }
.ha__list li span { margin-left: auto; color: #9ca3af; font-size: .82rem; }
.ha__list li.on { background: rgba(69,212,255,.1); }
.ha__notif { position: absolute; left: 1rem; right: 1rem; top: 1rem; z-index: 2; display: flex; gap: .75rem; align-items: center; padding: .8rem .95rem; border-radius: 16px; background: rgba(240,244,250,.97); color: #111827; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transform: translateY(-140%); transition: transform .6s var(--ease); }
.ha.notify .ha__notif { transform: none; }
.ha__nicon { width: 2.2rem; height: 2.2rem; border-radius: 10px; display: grid; place-items: center; background: #18bcf2; color: #fff; flex: none; }
.ha__nicon svg { width: 1.2rem; height: 1.2rem; }
.ha__notif b { display: block; font-size: .88rem; }
.ha__notif small { color: #4b5563; font-size: .8rem; }
@media (max-width: 960px) { .feature--wide { grid-template-columns: 1fr; } .ha { order: -1; } }

/* Archive compact */
.head--sm { margin-bottom: 1.5rem; }
.h3 { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--f-display); letter-spacing: -.03em; margin: 0; }
.arch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: .6rem; }
.arc a { display: grid; grid-template-columns: 3rem 1fr auto; gap: .9rem; align-items: baseline; padding: .9rem 1.1rem; border-radius: 14px; border: 1px solid var(--stroke); background: var(--card); transition: border-color .25s, transform .3s var(--ease), background .25s; }
.arc a:hover { border-color: var(--stroke-2); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.arc time { font: 600 .85rem/1 var(--f-display); color: var(--cyan); }
.arc__t { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.arc__t small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.arc__v { font-size: .72rem; color: var(--muted); padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--stroke); }
.arc.is-hidden { display: none; }
.arc.is-leaving { opacity: 0; transform: scale(.96); transition: opacity .25s, transform .25s; }
.arc.is-entering { animation: pop .45s var(--ease) both; animation-delay: calc(var(--k, 0) * 40ms); }


/* Videos strip */
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.vid { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--stroke); aspect-ratio: 16/9; display: flex; align-items: flex-end; padding: 1rem; cursor: pointer; isolation: isolate; }
.vid::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg); transition: transform .8s var(--ease); }
.vid:hover::before { transform: scale(1.06); }
.vid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, rgba(5,8,18,.88)); }
.vid__play { position: absolute; top: 50%; left: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); transition: transform .4s var(--ease), background .3s; }
.vid:hover .vid__play { transform: scale(1.12); background: var(--red); border-color: var(--red); }
.vid__play svg { width: 1.1rem; margin-left: .15rem; }
.vid h3 { font: 600 1.02rem/1.25 var(--f-display); margin: 0; }
@media (max-width: 800px) { .vids { grid-template-columns: 1fr; } }


/* Video carousel */
.vhead { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.filter[aria-selected="true"] { background: var(--text); color: var(--night); border-color: var(--text); }
.varrows { display: flex; gap: .4rem; }
.varrow { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--stroke); background: transparent; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, opacity .2s; }
.varrow:hover { border-color: var(--stroke-2); }
.varrow:disabled { opacity: .3; cursor: default; }
.varrow svg { width: 1.1rem; height: 1.1rem; }
.vwrap { position: relative; }
.vtrack { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: .25rem; overscroll-behavior-x: contain; }
.vtrack::-webkit-scrollbar { display: none; }
.vtrack[hidden] { display: none; }
.vtrack .vid { scroll-snap-align: start; }
.vtrack:not([hidden]) { animation: pop .45s var(--ease); }
.vid h3 small { display: block; font: 400 .8rem/1.3 var(--f-body); color: var(--muted); margin-top: .15rem; }
.vmore { margin: 1.25rem 0 0; font-size: .92rem; }
.vmore a { color: var(--muted); border-bottom: 1px solid var(--stroke); }
.vmore a:hover { color: var(--text); }
@media (max-width: 900px) { .vtrack { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 600px) { .vtrack { grid-auto-columns: 85%; } }


/* 3D models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.m3d { border: 1px solid var(--stroke); border-radius: 22px; overflow: hidden; background: var(--card); display: flex; flex-direction: column; transition: border-color .3s; }
.m3d:hover { border-color: var(--stroke-2); }
.m3d__view { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, rgba(69,212,255,.08), transparent 65%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 24px 24px, #0a0f1d; }
.m3d__view canvas { width: 100%; height: 100%; cursor: grab; }
.m3d__view canvas:active { cursor: grabbing; }
.m3d__hint { position: absolute; left: .8rem; bottom: .7rem; font-size: .75rem; color: var(--muted); pointer-events: none; transition: opacity .3s; }
.m3d:hover .m3d__hint { opacity: 0; }
.m3d__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.m3d__meta { display: flex; gap: .4rem; align-items: center; margin-bottom: .7rem; }
.m3d__size { margin-left: auto; font-size: .8rem; color: var(--muted); }
.m3d h3 { font: 700 1.25rem/1.2 var(--f-display); letter-spacing: -.02em; margin: 0 0 .35rem; }
.m3d p { color: var(--muted); font-size: .93rem; margin: 0 0 1.2rem; }
.m3d__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.m3d__dl { font-size: .8rem; color: var(--muted); }
.btn--sm { padding: .55rem .95rem; font-size: .9rem; border-radius: 11px; }
@media (max-width: 960px) { .models { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .models { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--stroke); padding-block: 2.5rem; color: var(--muted); font-size: .9rem; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot__links { display: flex; gap: .5rem; }
.foot__links a { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--stroke); transition: border-color .2s, color .2s; }
.foot__links a:hover { border-color: var(--stroke-2); color: var(--text); }
.foot__links svg { width: 1.15rem; height: 1.15rem; }



/* ===== Inner pages ===== */
.page-head { padding-block: clamp(7rem, 14vw, 9rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-title { font: 700 clamp(2.6rem, 7vw, 4.75rem)/.95 var(--f-display); letter-spacing: -.045em; margin: 0 0 .9rem; }
.page-lead { color: var(--muted); font-size: 1.12rem; max-width: 40rem; margin: 0; }
.page-head + section.block { padding-top: 0; }
.empty { color: var(--muted); border: 1px dashed var(--stroke); border-radius: 16px; padding: 2rem; text-align: center; }
.back { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; transition: color .2s; }
.back::before { content: "‹"; font-size: 1.2em; line-height: 1; }
.back:hover { color: var(--text); }
.wrap--text { max-width: calc(46rem + 2 * var(--pad)); }

/* Article (project / post) */
.article { padding-top: clamp(6.5rem, 12vw, 8rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.article__title { font: 700 clamp(2.4rem, 6vw, 4rem)/1 var(--f-display); letter-spacing: -.04em; margin: 0 0 1rem; text-wrap: balance; }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 1.5rem; color: var(--muted); font-size: .92rem; }
.article__lead { font-size: 1.2rem; line-height: 1.55; color: var(--text); margin: 0 0 2rem; max-width: 40rem; }
.article__media { margin: 0 0 2.5rem; }
.article__media img { width: 100%; border-radius: 18px; border: 1px solid var(--stroke); }
.article__demo { margin: 0 0 2.5rem; }
.article__demo .tablet, .article__demo .sleep, .article__demo .ha { max-width: 40rem; margin-inline: auto; }
.article__demo .phone-stage { padding: 0; }
.article__aside { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--stroke); display: grid; grid-template-columns: auto 1fr; gap: .9rem 2rem; align-items: baseline; }
.aside-title { font: 600 .9rem/1.4 var(--f-display); color: var(--muted); margin: 0; }
.link-list, .tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.link-list a { display: inline-flex; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--stroke); font-weight: 600; font-size: .92rem; transition: border-color .2s; }
.link-list a:hover { border-color: var(--stroke-2); }
.tags li { font-size: .82rem; color: var(--muted); padding: .2rem .65rem; border-radius: 999px; border: 1px solid var(--stroke); }
.archive-note { margin-top: 2.5rem; color: var(--muted); font-size: .92rem; border-left: 2px solid var(--violet); padding-left: 1rem; }
@media (max-width: 560px) { .article__aside { grid-template-columns: 1fr; } }

.prose { font-size: 1.06rem; line-height: 1.75; color: #d5dcef; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--f-display); font-weight: 700; color: var(--text); letter-spacing: -.02em; line-height: 1.2; }
.prose > h2 { font-size: 1.75rem; margin-top: 2em; }
.prose > h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(69,212,255,.4); text-underline-offset: .2em; }
.prose a:hover { text-decoration-color: var(--cyan); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--cyan); }
.prose code { font-family: var(--f-code, "DejaVu Mono", ui-monospace, monospace); font-size: .86em; background: rgba(255,255,255,.06); border: 1px solid var(--stroke); border-radius: 6px; padding: .1em .38em; }
.prose pre { background: #0b1120; border: 1px solid var(--stroke); border-radius: 14px; padding: 1rem 1.2rem; overflow-x: auto; line-height: 1.55; }
.prose pre code { background: none; border: 0; padding: 0; font-size: .85rem; }
.prose blockquote { margin-inline: 0; border-left: 2px solid var(--violet); padding-left: 1.1rem; color: var(--muted); }
.prose img { border-radius: 14px; border: 1px solid var(--stroke); }
.prose hr { border: 0; border-top: 1px solid var(--stroke); margin-block: 2.5em; }
.prose iframe { max-width: 100%; border: 0; border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--stroke); padding: .55rem; text-align: left; }
.prose .yt { margin-block: 1.5em; }

/* YouTube click-to-load */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b1120; border: 1px solid var(--stroke); }
.yt__play { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt__play img { width: 100%; height: 100%; object-fit: cover; }
.yt__icon { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(7,11,22,.75); transition: color .2s; }
.yt__play:hover .yt__icon, .yt__play:focus-visible .yt__icon { color: var(--red); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Real video thumbnails in the carousel */
.vid { padding: 0; display: block; }
.vid .yt { border: 0; border-radius: 0; aspect-ratio: 16 / 9; }
.vtrack .vid { align-items: stretch; padding: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--stroke); background: var(--card); aspect-ratio: auto; display: flex; flex-direction: column; cursor: default; }
.vtrack .vid::before, .vtrack .vid::after { content: none; }
.vid__t { padding: .75rem .95rem .9rem; font: 600 .95rem/1.3 var(--f-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Archive page (by year) */
.years { list-style: none; margin: 0; padding: 0; }
.year { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 2rem; border-top: 1px solid var(--stroke); padding-block: 1.5rem; }
.year__label { font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--f-display); letter-spacing: -.03em; margin: 0; position: sticky; top: 6rem; align-self: start; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.year .arch { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
@media (max-width: 640px) { .year { grid-template-columns: 1fr; gap: .75rem; } .year__label { position: static; } }

/* 3D model detail */
.model { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.model__view { position: sticky; top: 6rem; aspect-ratio: 1; border-radius: 24px; overflow: hidden; border: 1px solid var(--stroke); }
.model__view.m3d__view { aspect-ratio: 1; }
.model__facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin: 1.5rem 0; font-size: .92rem; }
.model__facts dt { color: var(--muted); }
.model__facts dd { margin: 0; }
.no-gl canvas { display: none; }
.no-gl::after, .m3d__view.no-preview::after { content: attr(data-msg); position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 1rem; }
.m3d__view img.m3d__cover { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .model { grid-template-columns: 1fr; } .model__view { position: relative; top: 0; } }

/* Blog list */
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.post a { display: grid; grid-template-columns: 7rem 1fr; gap: 1.25rem; padding: 1.1rem 1.25rem; border-radius: 18px; border: 1px solid var(--stroke); background: var(--card); transition: border-color .25s; }
.post a:hover { border-color: var(--stroke-2); }
.post time { color: var(--cyan); font: 600 .9rem/1.6 var(--f-display); }
.post h3 { font: 700 1.25rem/1.25 var(--f-display); margin: 0 0 .3rem; }
.post p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 560px) { .post a { grid-template-columns: 1fr; gap: .25rem; } }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 18rem; column-gap: 1rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1rem; }
.gallery__item a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--stroke); }
.gallery__item img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item a:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--text); }
.lightbox::backdrop { background: rgba(4,7,15,.95); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 4.5rem 2rem; }
.lightbox img { max-height: calc(100vh - 8rem); max-width: 100%; width: auto; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { margin-top: 1rem; color: var(--muted); }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--stroke); border-radius: 999px; cursor: pointer; font: inherit; }
.lightbox__close { top: 1rem; right: 1rem; padding: .45rem 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; font-size: 1.6rem; }
.lightbox__prev { left: 1rem; } .lightbox__next { right: 1rem; }

/* Mobile nav: links collapse into a menu button */
.nav__toggle { display: none; }
@media (max-width: 760px) {
  .nav__toggle { display: inline-flex; align-items: center; background: none; border: 0; color: var(--muted); font-size: .88rem; padding: .45rem .7rem; cursor: pointer; }
  .nav.is-open { flex-wrap: wrap; justify-content: center; border-radius: 22px; max-width: calc(100vw - 1.5rem); }
  .nav.is-open .nav__link { display: inline-flex; }
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--text); color: var(--night); padding: .5rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav__link[aria-current="page"] { color: var(--text); }


/* Project blocks (generic) */
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.feature h3 a, .main-proj h3 a, .m3d h3 a { color: inherit; }
.feature h3 a:hover, .m3d h3 a:hover { text-decoration: underline; text-decoration-color: var(--stroke-2); text-underline-offset: .15em; }
.feature__visual { min-width: 0; }
.feature--card .feature__visual { order: -1; }
.feature--card .feature__visual .tablet { transform: none; }
.feature--card .feature__visual .sleep { order: 0; }
.cover-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; border: 1px solid var(--stroke); }
.feature__visual .yt { border-radius: 20px; }
.main-proj > .feature__visual { position: relative; }
.arch--others { margin-top: 1rem; }
@media (max-width: 960px) { .feature--wide .feature__visual { order: -1; } }

/* Schematik demo: a heating diagram draws itself from an AI prompt */
.sk { position: relative; border-radius: 20px; background: #0b1220; border: 1px solid var(--stroke); padding: .9rem; display: grid; gap: .6rem; overflow: hidden;
  background-image: radial-gradient(rgba(160,190,255,.12) 1px, transparent 1px); background-size: 14px 14px; }
.sk__tabs { display: flex; gap: .35rem; flex-wrap: wrap; font-size: .75rem; }
.sk__tabs span { padding: .2rem .6rem; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted); }
.sk__tabs span.on { background: rgba(69,212,255,.15); color: var(--cyan); }
.sk__svg { width: 100%; height: auto; display: block; }
.sk__svg text { fill: var(--muted); stroke: none; font: 9px "DejaVu Mono", ui-monospace, monospace; text-anchor: middle; }
.sk__s { stroke: #cfe0ff; stroke-width: 1.6; opacity: 0; transform: scale(.85); transform-box: fill-box; transform-origin: center; transition: opacity .35s, transform .35s; }
.sk__s rect.f { fill: rgba(255,107,107,.25); stroke: #ff6b6b; } .sk__s rect.r { fill: rgba(69,160,255,.25); stroke: #45a0ff; }
.sk__flame { stroke: #ffb547; }
.sk__p { stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease-out; }
.sk__p.f { stroke: #ff6b6b; } .sk__p.r { stroke: #45a0ff; }
.sk.s1 .sk__s { opacity: 1; transform: none; transition-delay: calc(var(--i) * 140ms); }
.sk.s2 .sk__p { stroke-dashoffset: 0; }
.sk__ok { position: absolute; right: .9rem; top: .85rem; font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(62,224,143,.14); color: #3ee08f; opacity: 0; transition: opacity .3s; }
.sk.s3 .sk__ok { opacity: 1; }
.sk__ai { display: flex; align-items: center; gap: .5rem; min-height: 2.2rem; padding: .45rem .7rem; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); font-size: .82rem; color: #dbe6ff; }
.sk__star { color: #a78bfa; }
.sk__caret { width: 1px; height: 1em; background: var(--cyan); }
.sk.s1 .sk__caret { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
}
