/* Stilius perimtas iš KOSMOS iliustracijos: sepija, kaulo balta, plona plati tipografija,
   rašomosios mašinėlės tekstas, HUD rėmeliai, segmentų juostos, brūkšniniai kodai. */

/* ============ TOKENS ============ */
:root {
  --bg: #121110;
  --bg-2: #1a1816;
  --bg-3: #23201d;
  --fg: #ddd6cb;          /* popierius */
  --fg-2: #9b948a;
  --fg-3: #8a837a;
  --line: rgba(221, 214, 203, .14);
  --line-2: rgba(221, 214, 203, .3);
  --y: #ece4d8;           /* akcentas – kaulo balta, kaip iliustracijos juostos */
  --y-ink: #141210;
  --pad: clamp(16px, 3.2vw, 48px);
  --f-head: 'Exo 2', system-ui, sans-serif;
  --f-text: 'Courier Prime', 'Courier New', ui-monospace, monospace;
  --f-sans: var(--f-head);
  --f-mono: var(--f-text);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --track: .22em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
::selection { background: var(--y); color: var(--y-ink); }
.mono { font-family: var(--f-text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
:focus-visible { outline: 1px dashed var(--y); outline-offset: 4px; }

/* ============ HUD PRIMITYVAI ============ */
/* linija su tašku – kaip iliustracijos užrašų rodyklės */
.leader { display: block; position: relative; height: 1px; width: min(260px, 50%); background: var(--fg-2); margin: 26px 0 22px 8px; transform-origin: left; }
.leader::before, .leader::after { content: ''; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); }
.leader::before { left: -8px; } .leader::after { right: -3px; }
/* brūkšninis kodas */
.barcode { display: block; height: 34px; background: repeating-linear-gradient(90deg, var(--fg) 0 3px, transparent 3px 8px); opacity: .85; }
/* laiptuota rėmelio linija */
.section::before {
  content: ''; position: absolute; top: clamp(44px, 7vw, 100px); right: var(--pad); width: min(46vw, 620px); height: 26px; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 26' preserveAspectRatio='none'%3E%3Cpath d='M0 1 H330 L352 25 H600' fill='none' stroke='%23ddd6cb' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ============ GRAIN / SCRATCHES / CURSOR ============ */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .87 0 0 0 0 .84 0 0 0 0 .8 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }
body::after { /* vinjetė kaip sename atspaude */
  content: ''; position: fixed; inset: 0; z-index: 89; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0,0,0,.45) 100%);
}

/* kursorius: drobė virš visko; savasis paslepiamas tik kai drobė veikia (JS prideda .has-cursor) */
.cursor-net { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1000; pointer-events: none; mix-blend-mode: difference; display: none; }
html.has-cursor .cursor-net { display: block; }
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* kol dalelės rašo vardą – HTML tekstas paslėptas */
body.is-writing .hero__text, body.is-writing .graph__legend { opacity: 0 !important; }

/* segmentų „kopėčios“ kairėje – slinkimo indikatorius */
/* taškų grandinė kairėje – slinkimo progresas */
.ladder { position: fixed; left: 17px; top: 50%; transform: translateY(-50%); z-index: 75; display: grid; gap: 16px; }
.ladder::before { content: ''; position: absolute; left: 3.5px; top: 0; bottom: 0; width: 1px; background: var(--fg-3); }
.ladder i { position: relative; display: block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--fg-3); background: var(--bg); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.ladder i.on { background: var(--fg); border-color: var(--fg); }
.ladder i.cur { transform: scale(1.5); }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg); color: var(--fg);
  display: grid; grid-template-rows: auto 1fr auto; padding: var(--pad);
}
.loader__top { display: flex; justify-content: space-between; color: var(--fg-2); }
.loader__net { position: fixed; left: 50%; top: 50%; width: 56vmin; height: 56vmin; margin: -28vmin 0 0 -28vmin; overflow: visible; }
.loader__bottom { grid-row: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.loader__label { font-family: var(--f-head); font-weight: 200; font-size: clamp(26px, 3.4vw, 50px); letter-spacing: .3em; text-transform: uppercase; }
.loader__count { display: flex; gap: 28px; color: var(--fg-2); }
.loader__count b { color: var(--fg); font-weight: 400; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: 64px; padding: 0 var(--pad) 0 calc(var(--pad) + 22px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(var(--bg) 20%, rgba(18,17,16,0));
}
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 300; text-transform: uppercase; letter-spacing: var(--track); font-size: 13px; }
.nav__mark { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.nav__mark::after { content: ''; position: absolute; inset: 3px; background: currentColor; border-radius: 50%; }
.nav__links { display: flex; gap: clamp(14px, 1.8vw, 28px); font-family: var(--f-head); font-weight: 300; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.nav__links a { display: flex; gap: 6px; align-items: baseline; position: relative; color: var(--fg-2); transition: color .3s; }
.nav__links a i { font-style: normal; font-family: var(--f-text); font-size: 10px; opacity: .6; }
.nav__links a span { position: relative; }
.nav__links a span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--fg); }
.nav__links a:hover span::after, .nav__links a.is-active span::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__clock { color: var(--fg-2); }
.nav__clock b { font-weight: 400; color: var(--fg); }
/* garso jungiklis: išjungus – lygūs stulpeliai, įjungus – „groja“ */
.snd { display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px 0 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); transition: color .3s, border-color .3s, background .3s; }
.snd:hover { color: var(--fg); border-color: var(--fg-2); }
.snd__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.snd__bars i { display: block; width: 2px; height: 2px; background: currentColor; border-radius: 1px; transition: height .4s var(--ease); }
.snd[aria-pressed="true"] { color: var(--y-ink); background: var(--fg); border-color: var(--fg); }
.snd[aria-pressed="true"] .snd__bars i { animation: eq 1.1s ease-in-out infinite; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(2) { animation-delay: -.35s; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(3) { animation-delay: -.7s; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.snd__label { font-size: 11px; }
@media (max-width: 560px) { .snd { padding: 0 9px; } .snd__label { display: none; } }
@media (prefers-reduced-motion: reduce) { .snd[aria-pressed="true"] .snd__bars i { animation: none; height: 8px; } }
/* kalbos jungiklis – slankiklis: takelyje abi kalbos, šviesus slankiklis stovi ant aktyvios ir nuslysta */
.lang { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; cursor: pointer; }
.lang::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--fg); transition: transform .55s var(--ease); }
.lang[data-active="en"]::before { transform: translateX(100%); }
.lang [data-lang] { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-width: 38px; padding: 5px 10px; font-family: var(--f-text); font-size: 11px; letter-spacing: .12em; color: var(--fg-2); transition: color .4s; }
.lang [data-lang].is-active { color: var(--y-ink); }
.lang:hover [data-lang]:not(.is-active) { color: var(--fg); }
.nav__burger { display: none; width: 28px; height: 28px; position: relative; }
.nav__burger span { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 10px; } .nav__burger span:last-child { top: 17px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ HERO: CONNECTING THE DOTS ============ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__text { position: absolute; z-index: 3; left: calc(var(--pad) + 22px); bottom: clamp(36px, 8vh, 90px); max-width: 520px; pointer-events: none; transition: opacity .5s, transform .6s var(--ease); }
.hero__text a { pointer-events: auto; }
body.is-probing .hero__text { opacity: .14; }
.hero__bars { display: flex; gap: 8px; margin-bottom: 30px; }
.hero__bars i { width: 16px; height: 18px; background: var(--fg); }
.hero__bars b { width: min(260px, 46vw); height: 18px; background: var(--fg); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%); }
.hero__kicker { display: flex; align-items: center; gap: 10px; color: var(--fg-2); margin-bottom: 20px; }
.dot { width: 6px; height: 6px; background: var(--fg); border-radius: 50%; box-shadow: 0 0 0 4px rgba(236,228,216,.12); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(236,228,216,0); } }
.hero__title { font-family: var(--f-head); font-size: clamp(40px, 4.6vw, 82px); font-weight: 200; line-height: 1; letter-spacing: var(--track); text-transform: uppercase; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line__in { display: inline-block; will-change: transform; }
.hero__role { max-width: 34ch; font-size: clamp(15px, 1.15vw, 17px); color: var(--fg-2); }
.hero__slogan { margin-top: 18px; max-width: 46ch; font-size: clamp(14px, 1vw, 16px); color: var(--fg); line-height: 1.6; }
.hero__hint { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--fg); }
.hint-dot { width: 9px; height: 9px; border: 1px solid var(--fg); border-radius: 50%; position: relative; }
.hint-dot::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--fg); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__scroll { position: absolute; right: var(--pad); bottom: 18px; color: var(--fg-2); z-index: 3; }
.hero__scroll:hover { color: var(--fg); }

/* 3D tinklas */
.graph { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.graph.is-drag { cursor: grabbing; }
.graph.is-pointing { cursor: pointer; }
.graph__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.graph__labels { position: absolute; inset: 0; pointer-events: none; }
.gl-label { position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap; padding: 4px 6px 4px 14px; margin-top: -12px;
  font-family: var(--f-text); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg);
  opacity: var(--depth, 1); transition: color .3s, opacity .3s; will-change: transform; }
.gl-label span { display: inline-block; transform: scale(calc(.82 + var(--depth, 1) * .2)); transform-origin: left center; transition: background .3s, color .3s; padding: 1px 4px; }
.gl-label--core { font-family: var(--f-head); font-size: 14px; letter-spacing: .2em; }
.gl-label.is-dim { opacity: calc(var(--depth, 1) * .28); }
.gl-label.is-hot span { background: rgba(18,17,16,.75); box-shadow: inset 2px 0 0 var(--fg); }
.gl-label.is-sel span { background: var(--fg); color: var(--y-ink); }
.graph.is-static { display: none; }
/* kol tinklas dar D ir V raidės – etiketės paslėptos, paskui iškyla */
.gl-label { transition: color .3s, opacity .9s; }
.graph:not(.is-formed) .gl-label { opacity: 0 !important; pointer-events: none; }
.gl-label.is-hidden { opacity: .06 !important; pointer-events: none; }
.gl-label.is-hidden.is-hot, .gl-label.is-hidden.is-sel { opacity: 1 !important; pointer-events: auto; }
.graph.is-formed .gl-label.is-sel, .graph.is-formed .gl-label.is-hot { opacity: 1; }

/* legenda */
.graph__legend { position: absolute; z-index: 3; right: var(--pad); top: 84px; display: grid; gap: 8px; justify-items: end; color: var(--fg-2); }
.graph__legend li { display: flex; align-items: center; gap: 9px; cursor: default; transition: color .3s; }
.graph__legend li:hover { color: var(--fg); }
.legend__drag { margin-top: 6px; color: var(--fg-3); }
body.is-probing .graph__legend { opacity: 0; pointer-events: none; }

/* grupių simboliai (tokie patys kaip 3D mazgai) */
.sym { display: inline-block; width: 9px; height: 9px; flex: none; position: relative; }
.sym--tech { background: currentColor; }
.sym--art { background: currentColor; border-radius: 50%; }
.sym--practice { border: 1.5px solid currentColor; border-radius: 50%; }
.sym--people { background: currentColor; transform: rotate(45deg) scale(.8); }
.sym--org { border: 1px solid currentColor; border-radius: 50%; }
.sym--org::after { content: ''; position: absolute; inset: 2.5px; background: currentColor; border-radius: 50%; }

/* jungčių skydelis */
.probe { position: absolute; z-index: 4; right: var(--pad); top: 76px; bottom: 28px; width: min(430px, 36vw); overflow-y: auto; overscroll-behavior: contain;
  padding: 22px 22px 26px; background: rgba(18,17,16,.86); border: 1px solid var(--line-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); scrollbar-width: thin; }
.probe[hidden] { display: none; }
.probe__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--fg-2); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 18px; }
.probe__head b { color: var(--fg); font-weight: 400; }
.probe__chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.probe__chain li { display: flex; align-items: center; gap: 6px; }
.probe__chain li + li::before { content: ''; width: 14px; height: 1px; background: var(--fg-2); }
.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-text); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 5px 9px; color: var(--fg); transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--fg); }
.chip--on { background: var(--fg); color: var(--y-ink); border-color: var(--fg); }
.probe__title { margin-top: 22px; font-family: var(--f-head); font-weight: 200; font-size: clamp(24px, 2.2vw, 36px); letter-spacing: .08em; text-transform: uppercase; line-height: 1.12; }
.probe__text { margin-top: 12px; color: var(--fg-2); font-size: 14px; }
.probe__stats { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 18px; }
.probe__stats:empty { display: none; }
.probe__stats dt { font-family: var(--f-head); font-weight: 200; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; }
.probe__stats dd { color: var(--fg-2); margin-top: 6px; font-size: 10px; }
.probe__sub { margin-top: 22px; margin-bottom: 10px; color: var(--fg-3); }
.probe__sub[hidden] { display: none; }
.probe__rel { display: flex; flex-wrap: wrap; gap: 6px; }
.probe__works li a, .probe__works li > div { display: grid; grid-template-columns: 58px 1fr auto auto; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; transition: padding .4s var(--ease); }
.probe__works li a:hover { padding-left: 6px; }
.probe__works .mono { color: var(--fg-3); font-size: 11px; }
.probe__works b.mono { color: var(--fg); }
.probe__works i { font-style: normal; color: var(--fg-2); }
.probe__none { color: var(--fg-2); font-size: 13px; padding: 8px 0; font-style: italic; }
.probe__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.probe__btn { color: var(--fg-2); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.probe__btn:hover { color: var(--fg); border-color: var(--fg); }
.probe__btn[hidden] { display: none; }
.filters__tags { border-style: dashed !important; }

/* loader tinklas */
.net line { stroke: var(--fg); stroke-width: .3; stroke-dasharray: 1; fill: none; }
.net circle { fill: var(--fg); }

/* peržiūros kortelė – kūrinio žymių žvaigždynas */
.preview__net { position: absolute; inset: 8% 6% 22%; width: 88%; height: 70%; overflow: visible; }
.preview__net line { stroke: var(--fg-2); stroke-width: .4; }
.preview__net circle { fill: var(--fg); }
.preview__net text { fill: var(--fg-2); font-family: var(--f-text); font-size: 5px; text-anchor: middle; text-transform: uppercase; letter-spacing: .04em; }

/* ============ SECTIONS ============ */
.section { position: relative; padding: clamp(110px, 14vw, 210px) var(--pad) 0 calc(var(--pad) + 22px); }
.sec-head { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head__idx { color: var(--fg-2); }
.sec-head__title { font-family: var(--f-head); font-size: clamp(14px, 1.3vw, 18px); font-weight: 300; letter-spacing: var(--track); text-transform: uppercase; white-space: nowrap; }
.sec-head__line { flex: 1; max-width: 340px; height: 1px; background: var(--fg-2); transform-origin: left; position: relative; }
.sec-head__line::after { content: ''; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw__in { display: inline-block; }
.big-title { font-family: var(--f-head); font-size: clamp(32px, 5vw, 80px); font-weight: 200; letter-spacing: .08em; text-transform: uppercase; line-height: 1.05; max-width: 18ch; margin-bottom: clamp(36px, 5vw, 64px); }

/* about */
.about__lead { font-family: var(--f-head); font-size: clamp(26px, 3.6vw, 56px); font-weight: 200; line-height: 1.18; letter-spacing: .01em; max-width: 26ch; }
.about__lead .w { opacity: .14; }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); margin-top: clamp(64px, 9vw, 140px); align-items: start; }
.about__photo { position: relative; }
.about__photo::after { content: ''; position: absolute; inset: -10px; border: 1px solid var(--line-2); pointer-events: none; clip-path: polygon(0 0, 40px 0, 40px 1px, 1px 1px, 1px 40px, 0 40px, 0 0, 100% 0, 100% 100%, calc(100% - 40px) 100%, calc(100% - 40px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 40px), 100% calc(100% - 40px)); }
.about__photo-in { overflow: hidden; aspect-ratio: 2 / 3; background: var(--bg-2); }
.about__photo-in img { width: 100%; height: 115%; object-fit: cover; will-change: transform; filter: grayscale(1) sepia(.28) contrast(1.06) brightness(.92); }
.about__photo figcaption { margin-top: 14px; color: var(--fg-3); }
.about__side { display: grid; align-content: start; gap: 8px; color: var(--fg-2); padding-top: 14px; }
.about__side .leader { margin: 0 0 12px 8px; }
.about__geo { color: var(--fg); }
.about__text { display: grid; gap: 1.3em; font-size: clamp(15px, 1.15vw, 17px); color: var(--fg-2); max-width: 60ch; padding-top: 8px; }
.about__text p:first-child { color: var(--fg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2em; }
.tags li { font-family: var(--f-text); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 6px 12px; color: var(--fg); transition: background .3s, color .3s, border-color .3s; }
.tags li:hover { background: var(--fg); border-color: var(--fg); color: var(--y-ink); }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
/* skaiÄiÅ³ kortelÄ— apsiverÄia: priekyje skaiÄius, gale â€“ susijÄ™s tinklo mazgas ir â€žJunkimeâ€œ */
.stat { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 210px; perspective: 1200px; outline-offset: -4px; overflow: hidden; }
.stat__face { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s var(--ease); }
.stat__front { position: relative; min-height: 210px; }
.stat__back { background: var(--fg); color: var(--y-ink); transform: rotateY(180deg); }
.stat--flip { cursor: pointer; }
.stat--flip.is-flipped .stat__front, .stat--flip:focus-visible .stat__front { transform: rotateY(-180deg); }
.stat--flip.is-flipped .stat__back, .stat--flip:focus-visible .stat__back { transform: rotateY(0); }
@media (hover: hover) and (pointer: fine) {
  .stat--flip:hover .stat__front { transform: rotateY(-180deg); }
  .stat--flip:hover .stat__back { transform: rotateY(0); }
}
.stat__idx { color: var(--fg-3); display: flex; justify-content: space-between; align-items: center; }
.stat__back .stat__idx { color: rgba(20,18,16,.6); }
.stat__back .stat__idx span:first-child { display: flex; align-items: center; gap: 8px; color: var(--y-ink); }
.stat__ctx { font-size: 14px; line-height: 1.45; }
.stat__join { align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--y-ink); transition: letter-spacing .4s var(--ease); }
.stat__join:hover { letter-spacing: .14em; }
.stat__num { font-family: var(--f-head); font-size: clamp(48px, 5vw, 84px); font-weight: 200; letter-spacing: .02em; line-height: .9; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 .1em; }
.stat__num sup { font-size: .42em; color: var(--fg-2); line-height: 1; margin-top: .1em; }
.stat__num small { font-family: var(--f-text); font-size: 12px; letter-spacing: .08em; align-self: flex-end; margin-bottom: .6em; color: var(--fg-2); width: 100%; }
.stat__label { font-size: 14px; color: var(--fg-2); max-width: 24ch; line-height: 1.4; }
.stat--big { grid-column: span 2; }
.stat--big .stat__num { font-size: clamp(64px, 8.4vw, 140px); }

/* path */
.path__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 120px); }
.path__sub { color: var(--fg-2); margin-bottom: 22px; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); position: relative; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline li::after { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--fg); transition: width .8s var(--ease); }
.timeline li:hover::after { width: 100%; }
.timeline .y { font-size: 13px; color: var(--fg-2); padding-top: 6px; }
.timeline .r { font-family: var(--f-head); font-size: clamp(19px, 1.9vw, 28px); font-weight: 300; letter-spacing: .03em; line-height: 1.15; }
.timeline .o { color: var(--fg-2); margin-top: 6px; font-size: 15px; }
.timeline li.hl .r::after { content: ' ●'; font-size: .45em; vertical-align: middle; color: var(--fg); }
.timeline--sm .r { font-size: 17px; }
.timeline--sm li { grid-template-columns: 70px 1fr; }

/* works */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font-family: var(--f-text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 8px 13px; transition: .3s; display: flex; gap: 8px; }
.filters button sup { color: var(--fg-3); font-size: 10px; }
.filters button:hover { border-color: var(--fg); }
.filters button.is-active { background: var(--fg); color: var(--y-ink); border-color: var(--fg); }
.filters button.is-active sup { color: var(--y-ink); }
.works__list { border-top: 1px solid var(--line); }
/* kÅ«rinio eilutÄ— â€“ mygtukas, iÅ¡siskleidÅ¾ia jungtys ir nuoroda */
.work { position: relative; border-bottom: 1px solid var(--line); }
.work::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--bg-2); opacity: 0; transition: opacity .4s; z-index: -1; }
.work:hover::before, .work.is-open::before { opacity: 1; }
.work__row { width: 100%; text-align: left; display: grid; grid-template-columns: 110px minmax(0, 1.25fr) minmax(0, 1fr) 240px; gap: 20px; align-items: baseline; padding: 20px 0; }
.work__y { font-size: 13px; color: var(--fg-2); }
.work__t { font-family: var(--f-head); font-size: clamp(20px, 2.2vw, 34px); font-weight: 300; letter-spacing: .02em; line-height: 1.1; transition: transform .6s var(--ease); }
.work:hover .work__t, .work.is-open .work__t { transform: translateX(14px); }
.work__d { color: var(--fg-2); font-size: 14px; }
.work__c { justify-self: end; color: var(--fg-3); text-align: right; display: flex; align-items: center; gap: 12px; }
.work__swap { display: grid; justify-items: end; }
.work__swap > * { grid-area: 1 / 1; transition: opacity .35s, transform .45s var(--ease); }
.work__tagline { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; color: var(--fg); opacity: 0; transform: translateY(6px); }
.work__tagline span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.work__tagline .sym { width: 7px; height: 7px; }
@media (hover: hover) { .work:hover .work__tagline { opacity: 1; transform: none; } .work:hover .work__tagline + * , .work:hover .work__cat { opacity: 0; transform: translateY(-6px); } }
.work.is-open .work__tagline { opacity: 0; }
.work.is-open .work__cat { opacity: 1; transform: none; }
.work__plus { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-2); color: var(--fg); font-weight: 400; transition: transform .5s var(--ease), background .3s, color .3s; }
.work:hover .work__plus { border-color: var(--fg); }
.work.is-open .work__plus { transform: rotate(45deg); background: var(--fg); color: var(--y-ink); }
.work.is-hidden { display: none; }
.work__more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 22px 130px; }
.work__more[hidden] { display: none; }
.work__more-h { color: var(--fg-3); margin-right: 6px; }
.chip--link { margin-left: auto; }
.works__more { display: inline-flex; gap: 8px; margin-top: 28px; color: var(--fg-2); border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: color .3s, border-color .3s; }
.works__more:hover { color: var(--fg); border-color: var(--fg); }

/* peržiūros kortelė prie kursoriaus – iliustracijos fragmentas */
.preview { position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4 / 5; pointer-events: none; z-index: 70; opacity: 0; }
.preview__in { position: absolute; inset: 0; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-2); }
.preview__in img { width: 100%; height: 100%; object-fit: cover; }
.preview__gen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 16px;
  background: radial-gradient(circle at 50% 45%, rgba(236,228,216,.06), transparent 60%), var(--bg); }
.preview__gen::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(18,17,16,.55), rgba(18,17,16,0) 35%, rgba(18,17,16,.75)); }
.preview__gen > * { position: relative; }
.preview__gen b { font-family: var(--f-head); font-size: 22px; font-weight: 300; letter-spacing: .04em; line-height: 1.1; text-transform: uppercase; color: var(--fg); }
.preview__gen span { color: var(--fg-2); }

/* world */
.world__counts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.wc { padding: 26px 0 30px 22px; border-right: 1px solid var(--line); }
.wc:first-child { padding-left: 0; } .wc:last-child { border-right: 0; }
.wc b { display: block; font-family: var(--f-head); font-size: clamp(72px, 11vw, 190px); font-weight: 200; letter-spacing: .02em; line-height: .9; }
.wc b sup { color: var(--fg-2); font-size: .35em; }
.wc span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); margin: clamp(50px, 7vw, 100px) calc(var(--pad) * -1) clamp(50px, 7vw, 100px) calc((var(--pad) + 22px) * -1); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--f-head); font-size: clamp(34px, 5vw, 80px); font-weight: 200; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding-right: .6em; display: flex; align-items: center; gap: .6em; }
.marquee__track span::after { content: ''; width: .14em; height: .14em; border-radius: 50%; background: var(--fg); }
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--fg-2); }
.events { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
.ev { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.ev__y { font-size: 13px; color: var(--fg); padding-top: 2px; }
.ev__c { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.ev__e { font-size: 15px; line-height: 1.4; margin-top: 4px; }

/* speaking */
.speaking__head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: end; margin-bottom: clamp(50px, 7vw, 100px); }
.speaking__head .big-title { margin-bottom: 0; }
.speaking__note { color: var(--fg-2); font-size: clamp(15px, 1.15vw, 17px); max-width: 46ch; margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--fg); color: var(--y-ink); font-family: var(--f-head); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; padding: 16px 26px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: background .3s; }
.btn:hover { background: #fff; }
.btn:hover .arrow { transform: translate(4px, -4px); }
.arrow { display: inline-block; transition: transform .5s var(--ease); }
.formats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: clamp(50px, 7vw, 100px); }
/* formatai ir temos â€“ nuorodos Ä¯ laiÅ¡kÄ… */
.fmt { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 240px; perspective: 1200px; cursor: pointer; outline-offset: -4px; overflow: hidden; }
.fmt__face { position: absolute; inset: 0; padding: 24px 22px 26px; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s var(--ease); }
.fmt__front { position: relative; min-height: 240px; }
.fmt__front::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.fmt:hover .fmt__front::after { transform: scaleX(1); }
.fmt__back { background: var(--fg); color: var(--y-ink); transform: rotateY(180deg); }
.fmt.is-flipped .fmt__front { transform: rotateY(-180deg); }
.fmt.is-flipped .fmt__back { transform: rotateY(0); }
.fmt__i { color: var(--fg-2); display: flex; justify-content: space-between; gap: 12px; }
.fmt__back .fmt__i { color: var(--y-ink); }
.fmt__t { margin-top: auto; font-family: var(--f-head); font-size: clamp(19px, 1.7vw, 26px); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; transition: transform .6s var(--ease); }
.fmt:hover .fmt__t { transform: translateY(-6px); }
.fmt__d { margin-top: 18px; font-size: 14px; line-height: 1.5; }
.fmt__mail { margin-top: auto; align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--y-ink); transition: letter-spacing .4s var(--ease); }
.fmt__mail:hover { letter-spacing: .14em; }
/* temos: uÅ¾vedus iÅ¡ deÅ¡inÄ—s iÅ¡slysta trumpas paaiÅ¡kinimas */
.topic { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.topic:last-child { border-bottom: 1px solid var(--line); }
.topic__row { width: 100%; text-align: left; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 20px 0; font-family: var(--f-head); font-size: clamp(19px, 2.2vw, 34px); font-weight: 200; letter-spacing: .03em; line-height: 1.15; transition: color .3s; }
.topic__row .mono { color: var(--fg-3); font-family: var(--f-text); }
.topic__t { transition: transform .6s var(--ease); max-width: 58%; }
.topic__plus { font-family: var(--f-text); font-weight: 400; font-size: 14px; color: var(--fg-2); transition: transform .5s var(--ease), opacity .3s; }
.topic__info { position: absolute; right: 0; top: 50%; width: min(38%, 460px); margin: 0; padding-left: 22px; border-left: 1px solid var(--fg-2); color: var(--fg-2); font-size: 14px; line-height: 1.5; opacity: 0; transform: translate(40px, -50%); transition: opacity .45s, transform .7s var(--ease); pointer-events: none; }
.topic:hover .topic__row, .topic.is-open .topic__row { color: #fff; }
.topic:hover .topic__t, .topic.is-open .topic__t { transform: translateX(12px); }
.topic:hover .topic__info, .topic.is-open .topic__info { opacity: 1; transform: translate(0, -50%); }
.topic:hover .topic__plus, .topic.is-open .topic__plus { opacity: 0; }
@media (max-width: 960px) {
  .topic__t { max-width: none; }
  .topic__info { position: static; width: auto; max-height: 0; padding: 0 0 0 16px; transform: translateX(20px); transition: max-height .6s var(--ease), opacity .4s, transform .6s var(--ease), padding .4s; }
  .topic.is-open .topic__info { max-height: 200px; padding-bottom: 18px; transform: none; }
  .topic:hover .topic__info { transform: none; }
  .topic.is-open .topic__plus { opacity: 1; transform: rotate(45deg); }
  .topic__row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
  .topic__row .mono { grid-column: 1 / -1; }
  .topic:hover .topic__t, .topic.is-open .topic__t { transform: none; }
}

/* contact */
.contact { padding-bottom: clamp(80px, 10vw, 160px); }
/* „Kurkime kartu“: nuotrauka + kam kuris el. paštas */
.contact__grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; max-width: 1200px; }
.contact__photo img { width: 180px; height: 230px; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) sepia(.28) contrast(1.06) brightness(.92); border: 1px solid var(--line-2); }
.contact__photo figcaption { margin-top: 8px; color: var(--fg-3); font-size: 10px; }
.contact .contact__title { margin-bottom: 34px; }
.routes { border-top: 1px solid var(--line); }
.routes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 30px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.routes__k { color: var(--fg-2); font-size: 15px; }
.routes__mail { font-family: var(--f-head); font-weight: 300; font-size: clamp(18px, 1.8vw, 28px); letter-spacing: .04em; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .3s; }
.routes__mail:hover { border-color: var(--fg); }
.routes__mail:hover .arrow { transform: translate(4px, -4px); }
.door__photo { width: 112px; margin-bottom: 14px; }
.door__photo img { width: 112px; height: 140px; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) sepia(.28) contrast(1.06) brightness(.92); border: 1px solid var(--line-2); }
.door__photo figcaption { margin-top: 6px; color: var(--fg-3); font-size: 9px; letter-spacing: .06em; white-space: nowrap; }
.contact__title { font-family: var(--f-head); font-size: clamp(44px, 7.4vw, 124px); font-weight: 200; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.contact__note { color: var(--fg-2); margin: 28px 0 40px; max-width: 48ch; font-size: 16px; }
.contact__list { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 40px; }
.contact__list dt { color: var(--fg-3); margin-bottom: 8px; }
.contact__list dd { color: var(--fg); font-size: 13px; }
.contact__photo .about__photo-in { aspect-ratio: 3 / 4; }
.doors { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.door { padding: 26px 26px 30px 0; display: flex; flex-direction: column; gap: 10px; }
.door + .door { border-left: 1px solid var(--line); padding-left: 26px; }
.door__k { color: var(--fg-3); line-height: 1.6; }
.door__t { font-family: var(--f-head); font-size: clamp(18px, 1.7vw, 26px); font-weight: 300; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; margin-top: 6px; }
.door__mail { align-self: flex-start; font-size: clamp(15px, 1.3vw, 19px); border-bottom: 1px solid var(--line-2); padding-bottom: 6px; margin-top: 14px; transition: border-color .3s; word-break: break-all; }
.door__mail:hover { border-color: var(--fg); }
.door__mail:hover .arrow { transform: translate(4px, -4px); }
.door__sub { color: var(--fg-2); margin-top: 4px; }
.door__sub:hover { color: var(--fg); }

/* footer */
.footer { padding: 0 var(--pad) 22px calc(var(--pad) + 22px); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; color: var(--fg-2); margin-bottom: 20px; }
.footer__top .barcode { width: min(420px, 40vw); }
.footer__name { font-family: var(--f-head); font-size: 17vw; font-weight: 200; letter-spacing: .12em; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--fg-2); white-space: nowrap; }
.footer__row { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; color: var(--fg-2); flex-wrap: wrap; }
.footer__row a:hover { color: var(--fg); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1280px) { .nav__links a i { display: none; } }
@media (max-width: 1100px) {
  .stats, .formats { grid-template-columns: repeat(2, 1fr); }
  .work__row { grid-template-columns: 80px 1fr; gap: 8px 20px; }
  .work__more { padding-left: 100px; }
  .work__d { grid-column: 2; }
  .work__c { grid-column: 2; justify-self: start; text-align: left; }
  .nav__clock { display: none; }
}
@media (max-width: 960px) {
  .hero { height: auto; min-height: 0; padding-bottom: 40px; }
  .graph { position: relative; inset: auto; height: 64svh; min-height: 420px; }
  .hero__text { position: relative; left: auto; bottom: auto; padding: 0 var(--pad); margin-top: -40px; }
  body.is-probing .hero__text { opacity: 1; }
  .hero__scroll, .legend__drag { display: none; }
  .graph__legend { display: none; }
  .probe { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 58svh; border-width: 1px 0 0; padding: 18px var(--pad) 26px; z-index: 85; }
  .gl-label { font-size: 10px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .ladder { display: none; }
  .nav, .section, .hero, .footer { padding-left: var(--pad); }
  .marquee { margin-left: calc(var(--pad) * -1); }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px; padding: var(--pad); background: var(--bg); font-size: 26px; opacity: 0; pointer-events: none; transition: opacity .4s; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__links a { color: var(--fg); }
  .nav__links a i { display: inline; font-size: 12px; }
  .nav__burger { display: block; }
  .about__grid, .path__grid, .contact__grid, .speaking__head { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .contact__photo img { width: 120px; height: 150px; }
  .routes li { grid-template-columns: 1fr; }
  .events { grid-template-columns: 1fr; }
  .contact__list { grid-template-columns: 1fr; gap: 20px; }
  .doors { grid-template-columns: 1fr; }
  .door { padding-right: 0; }
  .door + .door { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .work__more { padding-left: 0; }
  .fmt__go { opacity: 1; transform: none; }
  .preview { display: none; }
  .section::before { width: 60vw; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat__front { min-height: 180px; }
  .stat__face { padding: 16px 14px; }
  .stat__ctx { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .stat__back .stat__idx span:first-child { font-size: 10px; }
  .stat__label { font-size: 13px; }
  .formats { grid-template-columns: 1fr; }
  .fmt { min-height: 0; }
  .fmt__t { margin-top: 40px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .wc { padding-left: 12px; } .wc span { font-size: 10px; }
  .hero__title { font-size: clamp(34px, 11vw, 60px); letter-spacing: .14em; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__top .barcode { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .dot, .hint-dot::after { animation: none; }
  .about__lead .w { opacity: 1 !important; }
}

/* ============ MOBILE PATAISOS ============ */
body.hero-out .probe { visibility: hidden; pointer-events: none; }
.gl-label.is-left { padding: 4px 14px 4px 6px; }
.gl-label.is-left span { transform-origin: right center; }
@media (max-width: 860px) {
  .nav { background: rgba(18,17,16,.95); border-bottom: 1px solid var(--line); height: 58px; }
  .section::before { display: none; }
  .lang [data-lang] { padding: 9px 11px; }
  .nav__burger { width: 40px; height: 40px; }
  .nav__burger span { left: 9px; right: 9px; }
  .nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
  .nav__logo { padding: 10px 0; }
  .stat__join, .fmt__mail { padding: 10px 0 6px; }
  .works__more { padding: 12px 0 8px; }
  .routes__mail { padding: 8px 0 6px; }
  .footer__row a { padding: 10px 0; }
  .wc span, .stat__back .stat__idx span:first-child, .filters button sup { font-size: 11px; }
  .gl-label { font-size: 11px; }
}
@media (max-width: 1100px) { .work__row { grid-template-columns: 80px minmax(0, 1fr); } }
@media (hover: none), (max-width: 860px) { .work__tagline { display: none; } }
.work__c, .work__swap { min-width: 0; }
@media (max-width: 420px) {
  .nav { gap: 10px; }
  .nav__logo { white-space: nowrap; font-size: 11px; letter-spacing: .14em; gap: 8px; min-width: 0; }
  .nav__right { gap: 8px; flex: none; }
  .nav { padding-left: 14px; padding-right: 10px; }
  .sec-head__title { white-space: normal; letter-spacing: .14em; line-height: 1.4; }
  .sec-head__line { min-width: 28px; }
  .lang [data-lang] { padding: 9px 7px; }
  .nav__burger { width: 36px; }
  .work__row { grid-template-columns: 56px minmax(0, 1fr); gap: 6px 14px; }
  .work__t { font-size: 20px; overflow-wrap: anywhere; }
  .hero__title { letter-spacing: .1em; }
  .contact__title { letter-spacing: .06em; }
}
