/* D4 „Viršelis“ - darbalaukis ant Simonos nuotraukos. Žetonai - DESIGN.md */

@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hankengrotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F3F1EC;
  --paper-2: #E9E6DF;
  --white: #FFFFFF;
  --ink: #121212;
  --muted: #5B5853;
  --line: #D9D5CC;

  --plum: #4F0C28;        /* lipdukas, pažymėjimas, žymeklis „Tu“, kontaktai */
  --peri: #C5D2F8;        /* periwinkle - sąrašo fonas, aplankai, tekstas ant slyvos */
  --peri-dark: #9FAEE6;   /* aplanko nugarėlė */
  --peri-muted: #4A4760;  /* antrinis tekstas ant periwinkle */
  --blue: var(--plum);
  --folder: var(--plum);        /* aplankai bordo (Simonos prašymas) */
  --folder-dark: #6E1F3E;

  --display: "Montserrat", Arial, sans-serif;
  --sans: "Inter", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --menubar: 48px;
  --dock-space: 120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, video { display: block; width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

.sketch-bar { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; padding: 9px var(--gutter); text-align: center; }

/* ============ VIRŠUTINĖ JUOSTA ============ */
.menubar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 8px;
  min-height: var(--menubar);
  padding-inline: 14px;
  background: rgba(243, 241, 236, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
}
.menubar__name {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
}
.menubar__nav { display: flex; gap: 2px; margin-left: 8px; }
.menubar__nav button { min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; font-weight: 600; cursor: pointer; }
.menubar__nav button:hover { background: var(--paper-2); }
.menubar__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.barcode { width: 92px; height: 22px; stroke: var(--ink); stroke-width: 1.6; }
.menubar__clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menubar__city { color: var(--muted); }
@media (max-width: 759px) { .menubar__nav, .barcode { display: none; } }

/* ============ VIRŠELIS ============ */
.desk { position: relative; background: var(--paper-2); overflow: hidden; }

/* Nuotraukos sluoksnis - per visą plotį */
.desk__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.desk__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nuotraukos vieta: išplaukęs žmogus ofise (kaip pavyzdyje 11), kol nėra tikros */
.photo-ph { position: absolute; inset: 0; background: linear-gradient(180deg, #DAD6CF 0%, #CFCBC3 55%, #B9B2A6 100%); }
.photo-ph i { position: absolute; border-radius: 50%; filter: blur(34px); }
.ph-wall { left: -10%; top: -20%; width: 70%; height: 80%; background: #ECE9E3; filter: blur(60px) !important; border-radius: 40% !important; }
.ph-desk { left: -5%; right: -5%; bottom: -18%; height: 36%; background: #A9865F; border-radius: 30% !important; filter: blur(40px) !important; }
.ph-hair { left: 50%; top: 6%; width: 26vw; max-width: 330px; min-width: 170px; height: 36%; transform: translateX(-50%); background: #4A3328; }
.ph-face { left: 50%; top: 12%; width: 15vw; max-width: 190px; min-width: 110px; height: 24%; transform: translateX(-50%); background: #D9AE93; }
.ph-shirt { left: 50%; top: 36%; width: 52vw; max-width: 680px; min-width: 300px; height: 70%; transform: translateX(-50%); background: #8DB3D9; border-radius: 40% 40% 20% 20% !important; }
.ph-arm { left: 62%; top: 52%; width: 14vw; max-width: 180px; min-width: 90px; height: 28%; background: #D9AE93; transform: rotate(-25deg); }
.ph-note {
  position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%);
  padding: 6px 12px; border-radius: 6px;
  background: rgba(18, 18, 18, .72); color: #fff;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* Centras: antraštė per žmogų */
.desk__center { position: relative; z-index: 2; text-align: center; }
.cover__kicker {
  display: table;
  margin-inline: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
h1 { font: inherit; }
.cover__name {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(80px, 14.6vw, 222px);
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ink);
  -webkit-text-stroke: 0;
}
.sticker {
  position: absolute;
  color: var(--peri) !important;
  right: clamp(8%, 18vw, 26%);
  top: -22px;
  z-index: 2;
  display: inline-block;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: left;
  transform: rotate(-4deg);
  box-shadow: 0 10px 24px -14px rgba(18, 18, 18, .6);
}

/* Pažymėjimo rėmelis su mėlynais taškais - „redaguojamas tekstas“ */
.select {
  position: relative;
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  padding: 14px 22px;
  max-width: 21em;
  border: 1.5px solid var(--blue);
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 450;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: left;
}
.select strong { display: block; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.select__h { position: absolute; width: 10px; height: 10px; background: var(--white); border: 1.5px solid var(--blue); border-radius: 50%; }
.select__h--tl { left: -6px; top: -6px; } .select__h--tc { left: calc(50% - 5px); top: -6px; } .select__h--tr { right: -6px; top: -6px; }
.select__h--ml { left: -6px; top: calc(50% - 5px); } .select__h--mr { right: -6px; top: calc(50% - 5px); }
.select__h--bl { left: -6px; bottom: -6px; } .select__h--bc { left: calc(50% - 5px); bottom: -6px; } .select__h--br { right: -6px; bottom: -6px; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -0.15em; background: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}

/* Lapelis: labas.txt */
.note {
  z-index: 3;
  width: 268px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 40px -28px rgba(18, 18, 18, .5);
  font-size: 14px; line-height: 1.45;
  overflow: hidden;
}
.note__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.note__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.note__bar span { margin-left: 6px; }
.note__hi { padding: 14px 16px 0; font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.note > p:not(.note__bar):not(.note__hi) { padding: 6px 16px 0; }
.note__counts { padding: 10px 16px 14px !important; margin-top: 6px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--muted); }
.note__counts b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Piktogramos ant nuotraukos */
.icon {
  display: grid; justify-items: center; align-content: start; gap: 8px;
  padding: 6px; border: 0; border-radius: 10px; background: transparent;
  cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none;
}
.icon__thumb { display: grid; place-items: center; transition: transform .15s; }
.icon:hover .icon__thumb { transform: translateY(-3px); }
.icon__label {
  max-width: 190px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: 0.01em;
  text-align: center; overflow-wrap: break-word;
}
.icon:focus-visible { outline: none; }
.icon:focus-visible .icon__label, .icon.is-dragging .icon__label { background: var(--blue); }
.icon:focus-visible .icon__thumb { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 8px; }

/* Darbų miniatiūros - kaip nuotraukytės su baltu kraštu (pavyzdys 13) */
.thumb {
  position: relative; display: block; overflow: hidden;
  border: 4px solid var(--white);
  background: var(--paper-2);
  box-shadow: 0 14px 28px -16px rgba(18, 18, 18, .6);
}
.thumb--site { width: 164px; aspect-ratio: 16 / 11; }
.thumb__bar { display: flex; align-items: center; gap: 4px; height: 12px; padding-inline: 6px; background: var(--white); border-bottom: 1px solid var(--line); }
.thumb__bar i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.thumb__ph { position: absolute; inset: 12px 0 0; }
.thumb--9x16 { width: 84px; aspect-ratio: 9 / 16; }
.thumb--4x5 { width: 112px; aspect-ratio: 4 / 5; }
.thumb--1x1 { width: 108px; aspect-ratio: 1; }
.thumb--191 { width: 160px; aspect-ratio: 1.91 / 1; }
.thumb__play { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--white); }
.thumb__play::after { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 7px 0 7px 10px; border-color: transparent transparent transparent var(--ink); }

/* Vaizdų vietų tonai - tikri darbai bus nuotraukos; kol kas rašytiniai popieriaus tonai */
.tone-a { background-color: #CFCAC0; }
.tone-b { background-color: #D8D3C9; }
.tone-c { background-color: #3A3732; }
.tone-d { background-color: #E1DDD4; }
.thumb--site.tone-a .thumb__ph { background: #CFCAC0; }
.thumb--site.tone-b .thumb__ph { background: #D8D3C9; }
.thumb.tone-c .thumb__play { background: var(--white); }

/* Aplankai - klasikiniai mėlyni */
.icon--folder svg { width: 84px; height: 66px; filter: drop-shadow(0 10px 12px rgba(18, 18, 18, .22)); }
.folder-back { fill: var(--folder-dark); }
.folder-front { fill: var(--folder); }
.icon--file svg { width: 58px; height: 72px; filter: drop-shadow(0 10px 12px rgba(18, 18, 18, .2)); }
.file-body { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.file-fold { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.file-lines { fill: none; stroke: var(--muted); stroke-width: 3; stroke-linecap: round; }

/* Žymekliai */
.cursor { position: absolute; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.cursor svg { width: 22px; height: 22px; fill: var(--ink); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.cursor b { margin-top: 16px; padding: 3px 9px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; color: #fff; }
.cursor--me b { background: var(--ink); }
.cursor--you svg { fill: var(--blue); }
.cursor--you b { background: var(--plum); color: var(--peri); }

/* ---- Kompiuteris: laisva drobė ant nuotraukos ---- */
@media (min-width: 900px) {
  .desk { height: clamp(700px, calc(100svh - var(--menubar) - 36px), 1000px); }
  .desk__center {
    position: absolute; left: 50%; top: 53%;
    width: min(92vw, 1400px);
    transform: translateX(-50%);
  }
  .note { position: absolute; left: 3.5%; top: 66%; }
  .desk__icons { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
  .desk__icons .icon { position: absolute; left: var(--x); top: var(--y); pointer-events: auto; }
  .desk__icons .icon.is-dragging { cursor: grabbing; z-index: 50; }
  .deco { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
  .cursor--me { left: calc(3.5% + 216px); top: calc(66% + 36px); }
  .cursor--you { left: calc(50% + 300px); top: 72%; }
  .thumb--site { width: clamp(120px, 11.4vw, 164px); }
  .thumb--9x16 { width: clamp(64px, 5.9vw, 84px); }
  .thumb--4x5 { width: clamp(84px, 7.8vw, 112px); }
  .thumb--191 { width: clamp(120px, 11.2vw, 160px); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .cursor--you { animation: drift 9s ease-in-out infinite; }
  @keyframes drift { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(14px, 22px); } 60% { transform: translate(-8px, -14px); } }
}
@media (min-width: 900px) and (max-width: 1279px), (min-width: 900px) and (max-height: 859px) {
  .desk__icons .icon { left: var(--x-md, var(--x)); top: var(--y-md, var(--y)); }
  .desk__center { top: 46%; }
  .select { max-width: 19em; }
  .note { top: 67%; width: 248px; }
  .cursor--me { top: calc(72% + 36px); }
  .cursor--you { left: calc(50% + 290px); top: 66%; }
}

/* ---- Telefonas: viršelis + pradžios ekranas ---- */
@media (max-width: 899px) {
  .desk { display: grid; gap: 20px; padding: 0 0 28px; }
  .desk__photo { position: relative; height: 56svh; min-height: 380px; }
  .ph-note { font-size: 11px; bottom: 10%; }
  .desk__center { margin-top: -140px; padding-inline: var(--gutter); }
  .sticker { position: static; display: table; margin: 12px auto 0; transform: rotate(-3deg); }
  .select { margin-top: 14px; }
  .note { margin: 4px var(--gutter) 0; width: auto; max-width: 440px; }
  .desk__icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 6px; padding-inline: var(--gutter); align-items: start; }
  .desk__icons .icon { padding: 4px 0; }
  .desk__icons .icon__thumb { width: 64px; height: 64px; overflow: hidden; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
  .desk__icons .thumb { width: 100%; height: 100%; aspect-ratio: auto; border: 0; box-shadow: none; }
  .desk__icons .icon--folder .icon__thumb svg { width: 46px; height: 36px; filter: none; }
  .desk__icons .icon--file .icon__thumb svg { width: 34px; height: 42px; filter: none; }
  .desk__icons .icon__label { font-size: 11px; max-width: 100%; padding: 2px 6px; background: transparent; color: var(--ink); font-weight: 600; }
  .desk__icons .icon:hover .icon__thumb { transform: none; }
  .deco { display: none; }
}

/* ============ SĄRAŠAS ============ */
.list { background: var(--peri); }
.list > * { max-width: 1320px; margin-inline: auto; }
.list { padding: clamp(56px, 8vw, 112px) var(--gutter) var(--dock-space); }
.list .meta, .list .credit, .list__intro, .list .case dt, .list .contact__lead, .list .about__text, .list .foot, .list .filter__n { color: var(--peri-muted); }
.list__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.list__head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 9vw, 136px); line-height: 0.86; letter-spacing: -0.05em; text-transform: uppercase; }
.list__intro { max-width: 30em; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
@media (max-width: 759px) { .list__head { grid-template-columns: 1fr; } }

.group { padding-block: clamp(32px, 5vw, 64px); border-top: 1.5px solid var(--ink); scroll-margin-top: 56px; }
.group__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.group__h { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.group > .group__h { margin-bottom: 28px; }
.group__n { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; align-self: start; margin-top: 4px; }
.count { display: inline-grid; place-items: center; min-width: 2.3em; padding: 0.3em 0.55em; background: var(--ink); color: #fff; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.tag { display: inline-block; padding: 1px 8px; border: 1.5px dashed var(--plum); color: var(--plum) !important; border-radius: 999px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
h3 { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.credit { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.credit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }

.ph { display: grid; place-items: center; gap: 10px; align-content: center; text-align: center; padding: 10px; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.35;
  background-image: repeating-linear-gradient(135deg, transparent 0 12px, rgba(18, 18, 18, .06) 12px 13px); }
.ph.tone-c { color: #fff; background-image: repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, .08) 12px 13px); }
.ph--desktop { aspect-ratio: 16 / 10; }
.ph--mobile { aspect-ratio: 390 / 844; font-size: 11px; padding: 4px; }
.ph--9x16 { aspect-ratio: 9 / 16; } .ph--4x5 { aspect-ratio: 4 / 5; } .ph--1x1 { aspect-ratio: 1; } .ph--191 { aspect-ratio: 1.91 / 1; }
.play { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--white); }
.play::after { content: ""; position: absolute; left: 20px; top: 16px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--ink); }

.work--site { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 28px clamp(24px, 4vw, 64px); }
.work--site + .work--site { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.work--site .work__media { position: relative; padding: 0 7% 8% 0; }
.browser { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding-inline: 12px; background: var(--white); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser__url { margin-left: 8px; padding: 2px 10px; border-radius: 6px; background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone { position: absolute; right: 0; bottom: 0; width: 24%; min-width: 84px; border: 5px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 18px 30px -18px rgba(18, 18, 18, .5); }
.work__body { display: grid; gap: 12px; align-content: center; }
.case { display: grid; gap: 4px; }
.case dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; color: var(--muted); }
.case dt:first-child { margin-top: 0; }
.go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; margin-top: 4px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; }
@media (max-width: 759px) { .work--site { grid-template-columns: minmax(0, 1fr); } }

.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.filter:hover { background: var(--white); }
.filter[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.filter[aria-pressed="true"] .filter__n { color: #fff !important; }
.filter__n { font-size: 12px; font-weight: 700; opacity: .8; font-variant-numeric: tabular-nums; }

.ads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
@media (max-width: 1023px) { .ads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 359px) { .ads { grid-template-columns: minmax(0, 1fr); } }
.work--ad { display: grid; gap: 12px; }
.work--ad .work__media { border: 4px solid var(--white); box-shadow: 0 14px 28px -20px rgba(18, 18, 18, .5); overflow: hidden; }
.work--ad .work__body { gap: 6px; }
.work--ad .work__body > p:not(.meta):not(.credit) { font-size: 15px; }
@media (max-width: 599px) { .ads { gap: 24px 14px; } .work--ad h3 { font-size: 18px; } .play { width: 42px; height: 42px; } .play::after { left: 16px; top: 12px; border-width: 9px 0 9px 14px; } }

.about__text { max-width: 40em; font-size: 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 700; }
.contact__lead { max-width: 30em; font-size: 18px; color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--plum); }
.btn--line { border: 2px solid var(--ink); }
.btn--line:hover { background: var(--white); }

.foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: 13px; font-weight: 600; }
.foot a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 64px; padding-inline: 8px; color: var(--ink); text-underline-offset: 4px; }

/* ============ DOCK ============ */
.dock {
  position: fixed; left: 50%; bottom: 14px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 7px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(18, 18, 18, .12); border-radius: 18px;
  box-shadow: 0 18px 40px -18px rgba(18, 18, 18, .45);
}
.dock__btn { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background-color .15s; }
.dock__btn:hover { background: rgba(18, 18, 18, .06); transform: translateY(-4px); }
.dock__btn svg { width: 34px; height: 34px; }
.mail-body { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.mail-flap { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.list-lines { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.dock__btn--list circle { fill: var(--ink); }
.dock__sep { width: 1px; height: 32px; margin-inline: 4px; background: rgba(18, 18, 18, .15); }
.dock__tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); padding: 4px 9px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
.dock__btn:hover .dock__tip, .dock__btn:focus-visible .dock__tip { opacity: 1; }
@media (max-width: 359px) { .dock { gap: 0; padding: 5px; } .dock__btn { width: 46px; height: 46px; } .dock__btn svg { width: 30px; height: 30px; } }

/* ============ LANGAS ============ */
.win { width: min(980px, calc(100vw - 32px)); max-width: none; max-height: min(88svh, 920px); padding: 0; border: 1px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(18, 18, 18, .55); overflow: hidden; }
.win[open] { display: flex; flex-direction: column; }
.win::backdrop { background: rgba(18, 18, 18, .4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.win__bar { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 4px 6px 4px 16px; background: var(--paper); border-bottom: 1px solid var(--line); flex: none; }
.win__title { min-width: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__back { min-height: 44px; padding: 0 12px; margin-left: -10px; border: 0; border-radius: 8px; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.win__back:hover, .win__close:hover { background: var(--paper-2); }
.win__close { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.win__close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.win__body { overflow: auto; padding: clamp(16px, 3vw, 36px); overscroll-behavior: contain; }
.win__body .work--ad { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 24px clamp(24px, 4vw, 48px); }
.win__body .work--ad .work__media { max-width: 340px; width: 100%; justify-self: center; }
.win__body .work--ad[data-ratio="191"] { grid-template-columns: minmax(0, 1fr); }
.win__body .work--ad[data-ratio="191"] .work__media { max-width: 640px; justify-self: start; }
.win__body .group { padding-block: 8px; border-top: 0; }
@media (max-width: 759px) {
  .win { width: 100vw; max-height: 92svh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .win__body .work--ad { grid-template-columns: minmax(0, 1fr); }
  .win__body .work--ad .work__media { max-width: 240px; }
}
.folder__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.folder__info { color: var(--muted); font-size: 14px; font-weight: 600; }
.folder__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 12px; align-items: end; }
.folder__grid .icon__label { background: transparent; color: var(--ink); }
.folder-back { fill: var(--folder-dark); } .folder-front { fill: var(--folder); }
@media (max-width: 599px) { .folder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .folder__grid .thumb--site, .folder__grid .thumb--191 { width: 140px; } .folder__grid .thumb--4x5 { width: 104px; } .folder__grid .thumb--9x16 { width: 80px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ===== Šriftų variantas D: Hanken Grotesk (kaip Litebox) ===== */
:root { --display: "Hanken Grotesk", Arial, sans-serif; --sans: "Hanken Grotesk", Arial, sans-serif; }
body { font-weight: 400; font-size: 17px; }
.menubar__name, .note__hi, .select strong, .list__head h2, .group__h, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; text-transform: none; }
.list__head h2 { font-weight: 600; letter-spacing: -0.045em; line-height: 0.9; }
.select { font-weight: 400; }
.select strong { font-weight: 600; }
.icon__label, .meta, .credit, .filter, .btn, .go, .count, .cover__kicker, .menubar__nav button, .menubar__clock { font-weight: 500; }
.cover__kicker, .meta, .case dt, .group__n { letter-spacing: 0.06em; }

/* =====================================================================
   D5 - galutinė versija. Spalvos, šriftas ir struktūra - iš D4d, nekeista.
   Čia tik: metalinės detalės, darbo langas kaip atvejo studija, nauji blokai,
   mikro-sąveikos (≤ 250 ms), smulkmenos, LT/EN vieta, telefonas.
   ===================================================================== */
:root {
  --r-s: 6px;   /* etiketės, užuominos, žymekliai */
  --r-m: 10px;  /* lapelis, naršyklės rėmelis, piktogramos */
  --r-l: 14px;  /* langas, dock */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: .2s;
  --line-peri: rgba(74, 71, 96, .34); /* plonos linijos ant periwinkle */
}

/* ---- Smulkmenos: skaičiai, kampai, fokusas ---- */
.group__n, .count, .filter__n, .note__counts, .menubar__clock, .bento__n, .folder__info, .browser__url, .ph, .about__cap { font-variant-numeric: tabular-nums; }
.menubar__nav button, .win__back, .win__close, .menubar__lang { border-radius: 8px; }
.icon, .note, .browser { border-radius: var(--r-m); }
.icon__label, .cursor b, .dock__tip { border-radius: var(--r-s); }
.win { border-radius: var(--r-l); }
.dock { border-radius: 16px; }
.dock__btn { border-radius: 10px; }
.filter:focus-visible, .btn:focus-visible, .go:focus-visible, .menubar__name:focus-visible, .skip:focus-visible { border-radius: 999px; }
.list-lines { stroke-width: 3; }
.mail-body, .mail-flap { stroke-width: 2.4; }
.go, .btn, .filter, .menubar__nav button, .win__back, .win__close, .dock__btn, .chips li, .bento__cell { transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.go:hover, .btn--ink:hover { background: var(--plum); color: #fff; }
.go { cursor: pointer; }
.btn--line:hover { background: var(--white); border-color: var(--plum); color: var(--plum); }
.filter:hover { background: var(--white); border-color: var(--plum); }
.filter[aria-pressed="true"]:hover { background: var(--plum); }
.chips li:hover { background: var(--white); }

/* ---- Meniu juosta: LT / EN ---- */
.menubar__right { gap: 14px; }
.menubar__lang {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 44px; min-width: 44px; padding: 0 10px;
  color: var(--ink); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; white-space: nowrap;
}
.menubar__lang b { font-weight: 700; }
.menubar__lang span[aria-hidden] { color: var(--line); }
.menubar__lang-off { color: var(--muted); }
.menubar__lang:hover { background: var(--paper-2); }
.menubar__nav button { white-space: nowrap; }
@media (max-width: 1023px) { .barcode { display: none; } }
@media (max-width: 759px) { .menubar__right { gap: 8px; } .menubar__lang { padding: 0 6px; } }

/* ---- Nuotrauka: lengvas šiltas gradientas apačioje, kad tekstai ant jos skaitytųsi (ne pilkinimas) ---- */
.desk__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(79, 12, 40, 0) 46%, rgba(79, 12, 40, .18) 78%, rgba(62, 10, 32, .40) 100%);
}

/* ---- Metalinė detalė 1: chromuota juosta hero (iš LinkedIn „S“) ---- */
.chrome { position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.chrome path { fill: none; stroke-linecap: round; }
.chrome__shadow { stroke: rgba(18, 18, 18, .45); stroke-width: 22; }
.chrome__edge { stroke: #26272C; stroke-width: 19; opacity: .92; }
.chrome__body { stroke: url(#chrome-body); stroke-width: 17; }
.chrome__hi { stroke: url(#chrome-hi); stroke-width: 2.5; opacity: .9; }
.chrome--img { width: clamp(120px, 14vw, 220px); left: auto; right: 6%; top: 44%; }

/* ---- Žymeklis „Simona“ - chromuota rodyklė ---- */
.cursor--me svg path { fill: url(#chrome-cur); stroke: #2A2B30; stroke-width: 1.1; }

/* ---- Mikro-sąveikos: failai ir aplankai ant darbalaukio ---- */
.icon__thumb { transition: transform var(--t) var(--ease); }
.icon:hover .icon__thumb, .icon:focus-visible .icon__thumb { transform: translateY(-4px); }
.icon__label { background: rgba(18, 18, 18, .84); transition: background-color var(--t) var(--ease); }
.icon:hover .icon__label { background: var(--ink); }
.thumb { transition: box-shadow var(--t) var(--ease); }
.icon:hover .thumb { box-shadow: 0 22px 34px -16px rgba(18, 18, 18, .7); }
.folder-front { transform-box: fill-box; transform-origin: 50% 100%; transition: transform var(--t) var(--ease); }
.icon--folder:hover .folder-front, .icon--folder:focus-visible .folder-front, .dock__btn:hover .folder-front { transform: skewX(-7deg) scaleY(.9); }
.icon--file:hover .file-lines { stroke: var(--plum); }
.file-lines { transition: stroke var(--t) var(--ease); }

/* ---- Dock: metalinis kraštas + užuominos ---- */
.dock { border-color: transparent; }
.dock::before {
  content: ""; position: absolute; inset: -1px; border-radius: 17px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(118deg, #FFFFFF 0%, #B5B7BD 20%, #F5F5F6 38%, #6F7178 56%, #E9EAEC 76%, #FFFFFF 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.dock__tip { transform: translate(-50%, 4px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.dock__btn:hover .dock__tip, .dock__btn:focus-visible .dock__tip { transform: translate(-50%, 0); }
.dock__btn { transition: transform var(--t) var(--ease), background-color var(--t) var(--ease); }

/* ---- Telefonas: viršelis toks pat stiprus - aplankai ant nuotraukos, lipdukas ant nuotraukos, lapelis virš dock ---- */
@media (max-width: 899px) {
  .desk { gap: 16px; }
  .desk__photo { height: 46svh; min-height: 360px; }
  .desk__center { margin-top: -132px; }
  .sticker { position: absolute; right: 14px; top: -58px; margin: 0; z-index: 3; }
  .desk__icons .icon--folder { position: absolute; top: 12px; z-index: 3; padding: 4px; gap: 4px; }
  .desk__icons .icon--folder[data-open="folder:site"] { left: 10px; }
  .desk__icons .icon--folder[data-open="folder:ad"] { right: 10px; }
  .desk__icons .icon--folder .icon__thumb { width: 60px; height: 46px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .desk__icons .icon--folder .icon__thumb svg { width: 60px; height: 46px; filter: drop-shadow(0 8px 10px rgba(18, 18, 18, .28)); }
  .desk__icons .icon--folder .icon__label { background: rgba(18, 18, 18, .84); color: #fff; padding: 2px 8px; }
  /* Juosta kerta rėmelio vidurį bet kokiame plotyje: viršus = nuotraukos apačia - 42px - 0,622 × plotis (kreivės y ties ekrano viduriu) */
  .chrome { left: -30%; width: 160%; bottom: auto; top: calc(max(50svh, 360px) - 42px - 62.2vw); }
  .note { width: auto; }
}

/* ---- Sąrašas: plonos banguotos linijos fone ---- */
.list { position: relative; overflow: hidden; }
.waves { position: absolute; pointer-events: none; fill: none; stroke: var(--plum); stroke-width: 1; opacity: .34; }
.waves--list { right: -4%; top: 0; width: min(58vw, 760px); height: auto; margin: 0; max-width: none; }
.group--contact { position: relative; overflow: hidden; }
.waves--contact { right: -6%; top: 50%; width: min(52vw, 620px); height: auto; transform: translateY(-50%); margin: 0; max-width: none; }
.group--contact > :not(.waves) { position: relative; }
@media (max-width: 759px) { .waves--list { width: 90vw; top: -40px; } .waves--contact { width: 80vw; } }

/* ---- Darbo laukai: Užduotis / Ką padariau / Kodėl taip ---- */
.case { gap: 14px; }
.case > div { display: grid; gap: 4px; }
.case dt { margin-top: 0; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.gallery { display: none; }
.list .ads .case { display: none; }         /* sąraše reklamai - vienas sakinys; laukai - lange */
.work__lead { font-size: 15px; }
.go--small { min-height: 44px; font-size: 14px; }

/* ---- Kaip dirbu: bento tinklelis plonomis linijomis ---- */
.group__intro { max-width: 32em; color: var(--muted); font-size: 16px; }
.list .group__intro { color: var(--peri-muted); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-peri); border: 1px solid var(--line-peri); }
.bento__cell { grid-column: span 2; display: grid; align-content: start; gap: 12px; min-height: 230px; padding: 22px 24px 24px; background: var(--peri); }
.bento__cell:hover { background: rgba(255, 255, 255, .32); }
.bento__cell--wide { grid-column: span 3; }
.bento__n { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--peri-muted); }
.bento__cell h3 { font-size: clamp(20px, 2vw, 25px); margin-top: 18px; }
.bento__cell p { max-width: 30em; font-size: 16px; color: var(--peri-muted); }
@media (max-width: 1023px) { .bento__cell, .bento__cell--wide { grid-column: span 3; min-height: 200px; } }
@media (max-width: 599px) { .bento__cell, .bento__cell--wide { grid-column: span 6; min-height: 0; padding: 18px 16px 20px; } .bento__cell h3 { margin-top: 8px; } }

/* ---- Apie mane: nuotrauka + tekstas + žymos ---- */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px clamp(24px, 5vw, 72px); align-items: start; }
.about__photo { position: relative; max-width: 460px; }
.about__photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--r-m); border: 1px solid rgba(18, 18, 18, .18); }
.about__photo::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); pointer-events: none; background: linear-gradient(180deg, rgba(79, 12, 40, 0) 58%, rgba(62, 10, 32, .38) 100%); }
.about__cap { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.about__body { display: grid; gap: 16px; }
.list .about__text, .about__text { color: var(--ink); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.list .about__text--2 { color: var(--peri-muted); }
.about__text--2 { color: var(--muted); font-size: 17px; }
.about .chips { margin-top: 8px; }
@media (max-width: 759px) { .about { grid-template-columns: minmax(0, 1fr); } .about__photo { max-width: 300px; } }

/* ---- Langas: atvejo studija ---- */
/* Svetainė lange: meta → pavadinimas → didelis vaizdas → trys laukai → nuoroda → galerija (tvarka per grid order, DOM lieka kaip sąraše) */
.win__body .work--site { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.win__body .work--site .work__body { display: contents; }
.win__body .work--site .meta { order: 1; }
.win__body .work--site h3 { order: 2; margin-bottom: 8px; }
.win__body .work--site .work__media { order: 3; padding: 0 9% 10% 0; margin-bottom: 8px; }
.win__body .work--site .phone { width: 22%; }
.win__body .work--site .case { order: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.win__body .work--site .go { order: 5; margin-top: 8px; }
.win__body .work--site .credit { order: 6; }
.win__body .work--site .gallery { order: 7; }
.win__body .work--site h3, .win__body .work--ad h3 { font-size: clamp(26px, 3vw, 36px); }
.win__body .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.win__body .gallery--2 { grid-template-columns: repeat(2, minmax(0, 150px)); grid-column: 1 / -1; }
.win__body .work--ad[data-ratio="4x5"] .gallery--2 { grid-template-columns: repeat(2, minmax(0, 190px)); }
.win__body .work--ad[data-ratio="191"] .gallery--2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
.win__body .work--ad { gap: 24px clamp(24px, 4vw, 56px); }
.win__body .work--ad .case { display: grid; }
.win__body .work--ad .work__body { gap: 10px; }
.win__body .work--ad .work__lead { font-size: 17px; }
.win__body .work--ad .case { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
/* Video reklama lange - telefono rėmelis */
.win__body .work--ad[data-ratio="9x16"] .work__media, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media {
  position: relative; max-width: 300px; padding: 0;
  border: 9px solid var(--ink); border-radius: 40px; background: var(--ink);
  box-shadow: 0 0 0 1.5px #5A5B60, 0 36px 60px -30px rgba(18, 18, 18, .65);
}
.win__body .work--ad[data-ratio="9x16"] .work__media::before, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media::before { content: ""; position: absolute; top: 9px; left: 50%; z-index: 2; width: 86px; height: 24px; margin-left: -43px; border-radius: 999px; background: var(--ink); }
.win__body .work--ad[data-ratio="9x16"] .work__media > *, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media > * { border-radius: 30px; overflow: hidden; }
.win__body .work--ad[data-ratio="4x5"] .work__media { max-width: 400px; }
@media (max-width: 759px) {
  .win__body .work--site .case { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .win__body .work--ad[data-ratio="9x16"] .work__media { max-width: 240px; border-width: 7px; border-radius: 32px; }
  .win__body .work--ad[data-ratio="9x16"] .work__media > * { border-radius: 24px; }
  .win__body .gallery--2, .win__body .work--ad[data-ratio="4x5"] .gallery--2, .win__body .work--ad[data-ratio="191"] .gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Lango „išaugimas“ iš failo vietos - transform-origin nustato main.js */
@media (prefers-reduced-motion: no-preference) {
  .win.win--in { animation: win-in .22s var(--ease) both; }
  .win.win--in::backdrop { animation: fade-in .22s ease-out both; }
  @keyframes win-in { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
  @keyframes fade-in { from { opacity: 0; } }
}

/* ---- D5 tekstų integracija (orkestratorius) ---- */
.bento__cell--big { grid-column: span 4; }
@media (max-width: 1023px) { .bento__cell--big { grid-column: span 3; } }
@media (max-width: 599px) { .bento__cell--big { grid-column: span 6; } }
.foot__self { color: var(--peri-muted); }
.meta__role { display: block; }
.bento__cell--big p { max-width: 40em; }
.go--soon { background: transparent; color: var(--peri-muted); border: 1px dashed var(--peri-muted); font-weight: 600; cursor: default; }
.win .go--soon { color: var(--muted); border-color: var(--line); }
.menubar__lang { cursor: default; }

/* ============ D5b - DANGUS: fonas be veido, nuotrauka kaip failas ============ */
.desk { background: var(--peri); }
.desk__img { object-position: 50% 50%; }
.desk__photo::after { background: linear-gradient(180deg, rgba(79, 12, 40, 0) 55%, rgba(79, 12, 40, .10) 80%, rgba(62, 10, 32, .22) 100%); }
.icon--me { position: relative; }
.icon--me .icon__thumb { position: relative; overflow: visible; }
.thumb--me { width: 136px; aspect-ratio: 4 / 5; border-width: 6px 6px 22px; transform: rotate(-3deg); background: var(--white); }
.thumb--me img { display: block; width: 100%; height: 100%; object-fit: cover; }
.icon--me .icon__thumb .sticker { position: absolute; right: -24px; top: -14px; left: auto; margin: 0; transform: rotate(7deg); font-size: 13px; padding: 7px 12px; z-index: 2; }
.icon--me:hover .thumb--me { transform: rotate(-1deg); }
@media (max-width: 899px) {
  .desk { min-height: calc(100svh - var(--menubar)); background: var(--peri) url("assets/dangus-laikinas.jpg") center / cover no-repeat; gap: 8px; padding: 0 0 var(--dock-space); }
  .desk::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
  .desk__photo { display: none; }
  .desk__icons { order: -1; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 6px; padding: 78px var(--gutter) 0; }
  .cover__kicker { display: none; } /* telefone piliulė dubliuoja antraštę - vietos lapeliui virš dock */
  .desk__icons .icon { padding: 2px 0; gap: 5px; }
  .desk__icons .icon__thumb { width: 62px; height: 62px; border-radius: 12px; background: var(--white); border: 1px solid rgba(18, 18, 18, .14); box-shadow: 0 10px 18px -12px rgba(18, 18, 18, .5); }
  .desk__icons .icon__label { background: rgba(18, 18, 18, .84); color: #fff; border-radius: 6px; padding: 2px 6px; font-size: 10.5px; }
  .desk__icons .icon--me { order: -1; }
  .desk__icons .icon--me .icon__thumb { overflow: visible; background: transparent; border: 0; box-shadow: none; border-radius: 0; }
  .thumb--me { width: 56px; border-width: 3px 3px 9px; }
  .icon--me .icon__thumb .sticker { font-size: 9px; padding: 3px 6px; right: -10px; top: auto; bottom: 3px; transform: rotate(-6deg); }
  .desk__center { margin-top: 0; position: relative; z-index: 2; }
  .select { margin-top: 10px; }
  .note { position: relative; z-index: 2; margin: 0 var(--gutter); font-size: 13px; line-height: 1.4; }
  .note__hi { padding-top: 10px; font-size: 17px; }
  .note__counts { padding: 8px 16px 10px !important; }
  .chrome { top: 34%; z-index: 1; }
}

/* ---- D5b: metalinės detalės - trys plonos chromo juostelės vietoj vienos storos ---- */
.chrome { top: 0; bottom: auto; height: 100%; }
.chrome__shadow { stroke: rgba(40, 20, 40, .28); }
.chrome__r--1 .chrome__body { stroke-width: 7; } .chrome__r--1 .chrome__edge { stroke-width: 9; } .chrome__r--1 .chrome__shadow { stroke-width: 9; } .chrome__r--1 .chrome__hi { stroke-width: 1.4; }
.chrome__r--2 .chrome__body { stroke-width: 10; } .chrome__r--2 .chrome__edge { stroke-width: 12.5; } .chrome__r--2 .chrome__shadow { stroke-width: 13; } .chrome__r--2 .chrome__hi { stroke-width: 1.8; }
.chrome__r--3 .chrome__body { stroke-width: 5; } .chrome__r--3 .chrome__edge { stroke-width: 7; } .chrome__r--3 .chrome__shadow { stroke-width: 7; } .chrome__r--3 .chrome__hi { stroke-width: 1.2; }
@media (min-width: 900px) { .chrome { width: 100%; left: 0; } }
@media (max-width: 899px) {
  .chrome { left: 0; width: 100%; height: 100%; top: 0; }
  .chrome__r--1 { display: none; } /* telefone viršuje failai - juostelė ten tik trukdytų */
  .chrome__r--2 { transform: translateY(-150px); } /* kerta antraštės rėmelį, ne lapelį */
  /* Telefonas: aplankai tame pačiame tinklelyje kaip failai - niekas nelimpa */
  .desk__icons { padding-top: 14px; gap: 4px 6px; }
  .desk__icons .icon--folder { position: static; order: -2; padding: 2px 0; gap: 5px; }
  .desk__icons .icon--folder .icon__thumb { width: 52px; height: 52px; }
  .desk__icons .icon--folder .icon__thumb svg { width: 50px; height: 40px; filter: drop-shadow(0 6px 8px rgba(18, 18, 18, .28)); }
  .desk__icons .icon__thumb { width: 52px; height: 52px; border-radius: 10px; }
  .thumb--me { width: 50px; }
  .desk__icons .icon--me { order: 0; }
  .desk__icons .icon__label { font-size: 10px; padding: 1px 5px; }
}

/* ---- D5b: metalinės detalės = skysto chromo lašai (vietoj juostų) ---- */
.chrome { display: none; }
.metal { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.metal__blob { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); overflow: visible; filter: drop-shadow(0 14px 18px rgba(40, 20, 40, .28)); }
.metal__blob--1 { transform: rotate(-12deg); }
.metal__blob--2 { transform: rotate(8deg); }
.metal__blob--3 { transform: rotate(-22deg); }
.metal__blob--4 { transform: rotate(18deg); }
.metal__blob--5 { transform: rotate(-30deg); }
.metal__blob--6 { transform: rotate(14deg); }
@media (min-width: 900px) and (max-width: 1279px), (min-width: 900px) and (max-height: 859px) {
  .metal__blob { left: var(--x-md, var(--x)); top: var(--y-md, var(--y)); width: var(--s-md, var(--s)); height: var(--s-md, var(--s)); }
}
@media (max-width: 899px) {
  .metal { position: static; }
  .metal__blob { display: none; }
  .metal__blob--1, .metal__blob--2, .metal__blob--4 { display: block; left: var(--x-sm); top: var(--y-sm); width: var(--s-sm); height: var(--s-sm); }
}

/* ---- Telefonas: failai išmėtyti, ne eilėmis (Simonos prašymas), bet nesiliečia - pozicijos data-pos-sm / --x-sm ---- */
@media (max-width: 899px) {
  .desk__icons { display: block; position: relative; height: 304px; padding: 0 var(--gutter); }
  .desk__icons .icon, .desk__icons .icon--folder { position: absolute; left: var(--x-sm); top: var(--y-sm); padding: 2px 0; width: auto; }
  .desk__icons .icon__label { max-width: 84px; }
  /* 2026-10-14: išėmus panda_english_lab.jpg piktogramų sumažėjo viena - lyginiai / nelyginiai sukeisti, kad kiekviena liktų pasukta kaip anksčiau */
  .desk__icons .icon:nth-child(even) { transform: rotate(-3deg); }
  .desk__icons .icon:nth-child(odd) { transform: rotate(2.5deg); }
  .desk__icons .icon--me { transform: rotate(-2deg); }
  .desk__icons .icon--folder[data-open="folder:ad"] { transform: rotate(3deg); }
  .metal { position: absolute; inset: 0; z-index: 1; }
  .metal__blob--1, .metal__blob--2, .metal__blob--4 { left: calc(var(--gutter) + var(--x-sm)); }
}
@media (max-width: 339px) { .metal__blob--1 { width: 36px; height: 36px; } }

/* ---- D5b metalas v5: PNG iškarpos (Simonos pavyzdys), plotis = --s, aukštis pagal proporciją ---- */
img.metal__blob { height: auto; filter: drop-shadow(0 16px 18px rgba(40, 20, 40, .30)); }
@media (min-width: 900px) and (max-width: 1279px), (min-width: 900px) and (max-height: 859px) { img.metal__blob { height: auto; } }
@media (max-width: 899px) { img.metal__blob { height: auto; } }

/* ---- D5b: antraštė kaip pranešimas su nuotrauka (Simonos pasirinkimas Z2), bordo raidės ---- */
.select { display: none; }
.msg { position: relative; width: fit-content; max-width: min(92vw, 30em); margin: 22px auto 0; text-align: left; }
.msg__from { margin: 0 0 4px 70px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--peri-muted); }
.msg__from span { color: var(--ink); }
.msg__card {
  position: relative; display: block; width: 100%; min-height: 70px;
  padding: 13px 20px 14px 72px; border: 1px solid rgba(18, 18, 18, .12); border-radius: 14px;
  background: rgba(255, 255, 255, .93); color: var(--ink); text-align: left; cursor: pointer;
  box-shadow: 0 22px 36px -26px rgba(18, 18, 18, .55);
  font: inherit; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.msg__card:hover { transform: translateY(-2px); box-shadow: 0 26px 40px -24px rgba(18, 18, 18, .6); }
.msg__card:focus-visible { outline: 3px solid var(--plum); outline-offset: 4px; }
.msg__avatar { position: absolute; left: 14px; top: 13px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(18, 18, 18, .25); }
.msg__text { margin: 0; font-size: clamp(17px, 1.6vw, 23px); font-weight: 450; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.msg__text strong { display: block; margin-bottom: 2px; font-size: 1.12em; font-weight: 800; color: var(--plum); }
.msg__sticker { position: absolute; right: -18px; top: -16px; left: auto; margin: 0; padding: 6px 10px; font-size: 12px; transform: rotate(6deg); }
@media (max-width: 899px) {
  .msg { margin: 10px auto 0; max-width: 100%; }
  .msg__from { margin-left: 62px; }
  .msg__card { padding: 12px 16px 13px 62px; min-height: 62px; }
  .msg__avatar { width: 38px; height: 38px; left: 12px; top: 12px; }
  .msg__text { font-size: 16px; }
  .msg__sticker { right: -6px; top: -14px; font-size: 10px; padding: 4px 7px; }
}

/* ---- Žinutė: didesnė nuotraukytė (Simonos prašymas) ---- */
.msg__card { padding: 15px 22px 16px 94px; min-height: 90px; }
.msg__avatar { width: 62px; height: 62px; left: 15px; top: 14px; }
.msg__from { margin-left: 94px; }
@media (max-width: 899px) {
  .msg__card { padding: 13px 16px 14px 76px; min-height: 76px; }
  .msg__avatar { width: 50px; height: 50px; left: 13px; top: 13px; }
  .msg__from { margin-left: 76px; }
}
@media (min-width: 900px) and (max-width: 1023px) {
  .msg__card { padding: 12px 18px 13px 76px; min-height: 74px; }
  .msg__avatar { width: 50px; height: 50px; left: 13px; top: 12px; }
  .msg__from { margin-left: 76px; }
  .msg__text { font-size: 16px; }
}

/* ---- Išdėstymas v2 (Simonos prašymas): lapelis viršuje kairėje, kiti tolygiai trimis eilėmis ---- */
@media (min-width: 900px) {
  .note { left: 3.5%; top: 3%; }
  .cursor--me { left: calc(3.5% + 238px); top: calc(3% + 150px); }
}
@media (min-width: 900px) and (max-width: 1279px), (min-width: 900px) and (max-height: 859px) {
  .note { top: 3%; }
  .cursor--me { top: calc(3% + 150px); }
}

/* ---- Žinutė aukščiau (Simonos prašymas, 1920 px ekrane reels lipo ant piliulės) ---- */
@media (min-width: 900px) { .desk__center { top: 48%; } }
@media (min-width: 900px) and (max-width: 1279px), (min-width: 900px) and (max-height: 859px) { .desk__center { top: 44%; } }
.metal__blob--7 { transform: rotate(-10deg); }
.metal__blob--8 { transform: rotate(16deg); }
@media (min-width: 900px) and (max-width: 1100px) { img.metal__blob { width: calc(var(--s-md, var(--s)) * .7); } }
@media (min-width: 900px) and (max-width: 1100px) { .metal__blob--7 { display: none; } }

/* ============ PROJEKTAS „DABAR KURIU“ (Panda English) - darbas be vizualų: paletė, charakteris, žingsniai ============ */
.thumb--brand { width: 124px; aspect-ratio: 1; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: 3fr 2fr; background: var(--white); }
.thumb--brand i { background: var(--c); }
.thumb--brand i:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .desk__icons .thumb--brand { width: clamp(96px, 8.4vw, 124px); } }
@media (max-width: 899px) { .desk__icons .thumb--brand { width: 100%; height: 100%; aspect-ratio: auto; } }
.folder__grid .thumb--brand { width: 120px; }

.work--brand { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px clamp(28px, 4vw, 64px); align-items: start; }
.brand__head { grid-column: 1 / -1; display: grid; gap: 10px; max-width: 46em; }
.brand__head h3 { font-size: clamp(28px, 3.2vw, 40px); }
.brand__head .work__lead { font-size: clamp(17px, 1.4vw, 19px); }
.brand__h { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.list .brand__h, .list .brand__note, .list .steps time { color: var(--peri-muted); }
.brand__story > p { max-width: 36em; font-size: 17px; line-height: 1.5; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border-radius: 999px; background: var(--ink); color: #fff !important; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #00D37F; box-shadow: 0 0 0 3px rgba(0, 211, 127, .25); }
@media (prefers-reduced-motion: no-preference) { .status i { animation: status-pulse 2s ease-in-out infinite; } @keyframes status-pulse { 50% { box-shadow: 0 0 0 6px rgba(0, 211, 127, 0); } } }

.traits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 20px; background: rgba(18, 18, 18, .18); border: 1px solid rgba(18, 18, 18, .18); border-radius: 12px; overflow: hidden; }
.traits li { padding: 16px 18px 18px; background: var(--white); font-size: 15px; line-height: 1.45; }
.list .traits li { background: rgba(255, 255, 255, .55); }
.traits b { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 800; color: var(--plum); }

.brand__note { max-width: 32em; margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.palette { display: grid; gap: 8px; }
.palette li { display: grid; grid-template-columns: 44px auto minmax(0, 1fr); grid-template-areas: "sw name name" "sw hex role"; column-gap: 12px; align-items: center; }
.palette .sw { grid-area: sw; width: 44px; height: 44px; border-radius: 10px; background: var(--c); border: 1px solid rgba(18, 18, 18, .14); }
.palette__main .sw { box-shadow: 0 0 0 3px var(--white), 0 0 0 4px rgba(18, 18, 18, .2); }
.palette b { grid-area: name; font-size: 15px; font-weight: 800; }
.palette code { grid-area: hex; font-family: var(--sans); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.palette li > span:last-child { grid-area: role; font-size: 13px; color: var(--muted); }
.list .palette li > span:last-child { color: var(--peri-muted); }

.brand__steps { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(18, 18, 18, .18); }
.steps { display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; font-size: 15px; }
.steps time { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.steps__next { color: var(--plum); font-weight: 600; }
.steps__next time { color: var(--plum) !important; }

@media (max-width: 899px) {
  .work--brand { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .traits { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
/* Lange - tas pats išdėstymas, siauresnis */
.win__body .work--brand { gap: 28px clamp(24px, 3vw, 40px); }
.win__body .brand__head h3 { font-size: clamp(26px, 3vw, 36px); }
.steps { margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) and (max-width: 1400px) { .metal__blob--7 { display: none; } }

/* ============ Panda: personažas, animacijos, lapai (2026-10-14) ============ */
.thumb--loop { width: clamp(96px, 7.6vw, 116px); aspect-ratio: 1; background: #fff; border-radius: 4px; }
.thumb--loop video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .desk__icons .thumb--loop { width: 100%; height: 100%; aspect-ratio: auto; } }
.folder__grid .thumb--loop { width: 116px; }

.brand__head { grid-column: 1 / 2; align-self: center; }
.brand__hero { grid-column: 2 / 3; grid-row: 1; position: relative; justify-self: center; width: min(100%, 300px); margin: 0; }
.brand__hero img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(18, 18, 18, .18)); }
.brand__say { position: absolute; left: -14%; top: 4%; max-width: 12em; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #00D37F; color: #1A1A32; font-size: 15px; font-weight: 800; line-height: 1.2; box-shadow: 0 10px 18px -12px rgba(18, 18, 18, .5); }
.brand__loops, .brand__sheets { grid-column: 1 / -1; }
.loops { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.loops li { display: grid; gap: 6px; justify-items: center; }
.loops video { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; background: #fff; border: 1px solid rgba(18, 18, 18, .12); }
.loops span { font-size: 13px; font-weight: 700; }
.sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sheets figure { margin: 0; display: grid; gap: 6px; }
.sheets img { display: block; width: 100%; height: auto; border-radius: 14px; background: #fff; border: 1px solid rgba(18, 18, 18, .12); }
.sheets figcaption { font-size: 13px; font-weight: 700; }
.sheets__wide { grid-column: 1 / -1; }
.list .loops span, .list .sheets figcaption { color: var(--peri-muted); }
@media (min-width: 900px) { .win__body .loops { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .brand__head, .brand__hero { grid-column: 1 / -1; }
  .brand__hero { grid-row: auto; width: min(70%, 240px); }
  .brand__say { left: -22%; font-size: 13px; }
  .loops { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheets { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) { .metal__blob--2 { display: none !important; } }
.sheets { align-items: start; }

/* ============ Panda aplankas (2026-10-14, v2) - Simona: „pirmame ekrane atskirai nereikia, sudėti į projekto folderį“ ============ */
/* Darbalaukis: bordo aplankas kaip kiti + mažas žalias taškas „vyksta“ (Pandos paletės #00D37F) */
.icon--project .icon__thumb { position: relative; }
.icon__live { position: absolute; top: 7px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: #00D37F; box-shadow: 0 0 0 2.5px #fff, 0 2px 6px rgba(18, 18, 18, .35); }
@media (prefers-reduced-motion: no-preference) {
  .icon__live { animation: live-pulse 2.4s ease-in-out infinite; }
  @keyframes live-pulse { 0% { box-shadow: 0 0 0 2.5px #fff, 0 0 0 2.5px rgba(0, 211, 127, .55); } 70%, 100% { box-shadow: 0 0 0 2.5px #fff, 0 0 0 9px rgba(0, 211, 127, 0); } }
}
@media (max-width: 899px) { .icon__live { width: 9px; height: 9px; top: 6px; right: 0; box-shadow: 0 0 0 2px #fff, 0 2px 5px rgba(18, 18, 18, .35); } }

/* Sąrašas: vykstantis projektas - tas pats kompiuterio + telefono vaizdas kaip svetainės, ne atskiras skyrius */
.work--now { margin-bottom: clamp(40px, 6vw, 72px); }
.work--now .browser > img, .work--now .phone > img { display: block; width: 100%; height: auto; }
.work--now .case dd { max-width: 34em; }
.go--folder { gap: 10px; padding: 0 22px 0 18px; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.go--folder svg { width: 22px; height: 18px; flex: none; overflow: visible; }
.go--folder:hover { background: var(--white); color: var(--plum); border-color: var(--plum); }
.go--folder:hover .folder-front { transform: skewX(-7deg) scaleY(.9); }
.win .go--folder { display: none; } /* lange (pristatymas.html) jau esame aplanke */
/* Lange: meta → pavadinimas → sakinys → didelis vaizdas → du laukai → galerija */
.win__body .work--now .work__lead { order: 2; font-size: 17px; max-width: 46em; }
.win__body .work--now .case { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.win__body .work--now .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.win__body .work--now .gallery img { border-radius: 8px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 759px) { .win__body .work--now .case { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .win__body .work--now .gallery { grid-template-columns: minmax(0, 1fr); } }

/* Aplanko langas: tikros miniatiūros */
/* Kaip Finder: visi failai vienoje eilėje, miniatiūra telpa į ~112 × 96 dėžutę, proporcijos nekarpomos */
.folder--project .folder__info { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.folder--project .folder__grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 28px 8px; }
.folder--project .icon__thumb { min-height: 100px; align-content: end; }
.folder--project .icon__label { padding-inline: 3px; }
.folder--project .thumb--pic img { width: auto; height: auto; max-width: 104px; max-height: 92px; background: #fff; }
.folder--project .thumb--loop, .folder--project .thumb--brand { width: 88px; }
.thumb--shot { background: #fff; }
.folder--project .thumb--shot { width: 112px; }
.thumb--shot img { position: absolute; left: 0; top: 12px; width: 100%; height: calc(100% - 12px); object-fit: cover; object-position: 50% 0; }
.thumb--txt { display: grid; align-content: start; gap: 4px; width: 66px; aspect-ratio: 210 / 297; padding: 8px 6px; border: 1px solid var(--line); background: #fff; text-align: left; }
.thumb__h { font-size: 7px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
.thumb__p { font-size: 5px; font-weight: 500; line-height: 1.4; color: var(--muted); }
/* Užvedus / fokusas aplanko lange - etiketė tamsi su baltu tekstu (anksčiau tamsus fonas + tamsus tekstas - nesimatė) */
.folder__grid .icon:hover .icon__label, .folder__grid .icon:focus-visible .icon__label { color: #fff; }
.folder__grid .icon:hover .icon__label { background: var(--ink); }
@media (max-width: 599px) {
  .folder--project .folder__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 4px; }
  .folder--project .thumb--pic img { max-width: 96px; max-height: 84px; }
  .folder--project .thumb--shot { width: 100px; }
  .folder--project .thumb--loop, .folder--project .thumb--brand { width: 80px; }
}
/* Telefone sąraše - be „Toliau“ (jis yra apie_projekta.txt), kad blokas nebūtų aukštesnis už svetainės darbą */
@media (max-width: 759px) { .list .work--now .case__next { display: none; } }

/* Lange: Pandos failai */
.pf { display: grid; gap: 14px; }
.pf .brand__h, .pf .brand__note { margin: 0; }
.pf--sheet figure { margin: 0; display: grid; gap: 8px; }
.pf--sheet img { border-radius: 14px; border: 1px solid rgba(18, 18, 18, .12); background: #fff; }
.pf--sheet figcaption { font-size: 13px; font-weight: 700; color: var(--muted); }
.pf--sheet-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pf--loops .loops { margin-top: 6px; }
/* spalvos.png - paletės lapas: didelės spalvos, pagrindinė per du langelius */
.pf--palette .palette { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 14px; margin-top: 8px; }
.pf--palette .palette li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sw" "name" "hex" "role"; row-gap: 2px; align-items: start; }
.pf--palette .palette .sw { width: 100%; height: 88px; margin-bottom: 8px; border-radius: 12px; }
.pf--palette .palette__main { grid-column: span 2; }
.pf--palette .palette__main .sw { box-shadow: none; }
/* apie_projekta.txt - istorija per visą plotį: tekstas kairėje, keturios savybės dešinėje */
.pf--about .brand__story { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 clamp(24px, 4vw, 48px); align-items: start; }
.pf--about .brand__story .brand__h { grid-column: 1 / -1; }
.pf--about .brand__story > p { font-size: 19px; line-height: 1.5; }
.pf--about .traits { margin-top: 0; }
@media (max-width: 759px) {
  .pf--sheet-2 { grid-template-columns: minmax(0, 1fr); }
  .pf--palette .palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf--palette .palette .sw { height: 64px; }
  .pf--about .brand__story { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pf--about .brand__story > p { font-size: 17px; }
}
/* Ilgesnė etiketė „Panda English Lab“ - aplankas lygiuojamas pagal tą pačią ašį kaip „Svetainės“ / „Reklamos“ (96 px piktogramos centras) */
@media (min-width: 900px) { .desk__icons .icon--project { translate: calc(48px - 50%) 0; } }

/* Patikrų pataisos (2026-10-14): „Tu“ žymeklis juda ±22 px - vidutiniuose ekranuose pakeltas, kad judėdamas nekliudytų display_1200x628.jpg;
   „Simona“ žymeklis 900-1024 px lietė feed_4x5.jpg apačią - 8 px žemiau (vis dar prie lapelio krašto). */
@media (min-width: 900px) and (max-width: 1279px), (min-width: 900px) and (max-height: 859px) {
  .cursor--you { top: 62%; }
  .cursor--me { top: calc(3% + 158px); }
}

/* ---- Po CD kritiko (2026-10-14): langas nešokinėja, be pasikartojimų, failų peržiūra, aplankas ---- */
@media (min-width: 760px) { .win { margin-block: max(16px, 6svh) auto; } }
@media (max-width: 759px) { .win { height: 88svh; } }
#panda .meta__role, .pf--about .meta__role { display: none; }
.list .work--now .case__next { display: none; }
.win__body .work--now .case { display: none; }
.win__body .work--now .gallery { grid-template-columns: minmax(0, 1fr); }
.pf--sheet img { width: auto; max-width: 100%; max-height: 62svh; margin-inline: auto; }
.icon__live, .status i { animation-iteration-count: 3 !important; }
.icon__label { text-wrap: balance; }

/* ---- Tikras svetainės darbas: nuotraukos rėmeliuose, miniatiūra darbalaukyje (2026-10-14) ---- */
.thumb__ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.work--site .browser > img, .work--site .phone > img { display: block; width: 100%; height: auto; }
.work--site .phone > img { aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.win__body .work--site .gallery img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.thumb__ph img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.win__body .work--site .case { align-items: start; }
.win__body .work--site .case > div { align-content: start; }

/* ---- DayNest aplankas: personažų istorijos ir gyva eilė (2026-10-14) ---- */
.pf--row video { display: block; width: 100%; height: auto; border-radius: 14px; background: #fff; border: 1px solid rgba(18, 18, 18, .12); }
.pf--person { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 32px; align-items: start; }
.person__pic { margin: 0; position: sticky; top: 0; display: grid; place-items: end center; padding: 20px 16px 0; border-radius: 16px; background: #EAF7FD; }
.person__pic img { display: block; width: auto; max-width: 100%; height: auto; max-height: 380px; }
.person__body { display: grid; gap: 12px; max-width: 40em; }
.person__body h3 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.person__role { margin: 0; color: var(--muted); font-size: 15px; }
.person__quote { margin: 4px 0 0; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--plum); }
.person__story p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.person__traits { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.person__traits li { padding: 5px 12px; border-radius: 999px; background: var(--paper-2); font-size: 13px; font-weight: 600; }
.person__phrase { margin: 4px 0 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--plum); font-size: 17px; line-height: 1.45; }
@media (max-width: 759px) {
  .pf--person { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .person__pic { position: static; justify-self: center; width: min(100%, 220px); }
  .person__pic img { max-height: 260px; }
}
/* Mažiausi telefonai: ilgesnis prisistatymas (2026-10-14) telpa virš dock */
@media (max-width: 359px) {
  .msg__card { padding: 11px 12px 12px 60px; min-height: 64px; }
  .msg__avatar { width: 38px; height: 38px; left: 11px; top: 11px; }
  .msg__from { margin-left: 60px; }
  .msg__text { font-size: 14.5px; line-height: 1.28; }
}

/* ---- Dock: lygus kraštas vietoj įstrižo metalinio gradiento (Simona 2026-10-14: „kreivas, lyg banguotas“) ---- */
.dock::before { content: none; }
.dock { border: 1px solid rgba(18, 18, 18, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 18px 40px -18px rgba(18, 18, 18, .45); }
.foot { align-items: center; }

/* ---- Tikras dangus - Simonos nuotrauka IMG_4261 (2026-10-14) ---- */
@media (max-width: 899px) { .desk { background-image: url("assets/dangus/img_4261-telefonas.jpg"); background-position: center top; } }
.msg__from, .msg__from span { color: #fff; text-shadow: 0 1px 3px rgba(10, 20, 50, .45); }

/* ---- WiseTeam: tikros reklamos - 16:9 video ir PMax vaizdai (2026-10-14) ---- */
.thumb--16x9 { width: 156px; aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .desk__icons .thumb--16x9 { width: clamp(96px, 10.4vw, 156px); } }
.folder__grid .thumb--16x9 { width: 140px; }
.thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.thumb__play { z-index: 1; box-shadow: 0 2px 8px rgba(18, 18, 18, .3); }
.work--ad .work__media > video, .work--ad .work__media > img { display: block; width: 100%; height: auto; background: #111; }
.work--ad[data-ratio="16x9"] .work__media > video { aspect-ratio: 16 / 9; }
.win__body .work--ad[data-ratio="16x9"] { grid-template-columns: minmax(0, 1fr); }
.win__body .work--ad[data-ratio="16x9"] .work__media { max-width: 820px; justify-self: start; }
.win__body .work--ad[data-ratio="191"] .work__media { max-width: 760px; }
.win__body .work--ad .gallery img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.win__body .work--ad[data-ratio="16x9"] .gallery--2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.win__body .work--ad[data-ratio="191"] .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
@media (max-width: 759px) { .win__body .work--ad[data-ratio="191"] .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .win__body .work--ad[data-ratio="16x9"] .gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.list .ads .work--ad .work__media > video { pointer-events: auto; }

/* ---- WiseTeam kabliukai: kiti formatai lange ---- */
.gallery--formats figure { margin: 0; display: grid; gap: 6px; align-content: start; }
.gallery--formats figcaption { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.win__body .work--ad .gallery--formats { grid-template-columns: 1.78fr 1fr .8fr; align-items: start; grid-column: 1 / -1; }
.win__body .work--ad .gallery--formats img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 599px) { .win__body .work--ad .gallery--formats { grid-template-columns: 1fr 1fr; } .win__body .work--ad .gallery--formats figure:first-child { grid-column: 1 / -1; } }
@media (min-width: 900px) and (max-width: 1279px), (min-width: 900px) and (max-height: 859px) { .cursor--me { top: calc(3% + 168px); } }

/* ---- iPhone rėmelis video lange (Simona 2026-10-14: „ilgesni, atkartoti iPhone“) - ekranas 19,5:9, video 9:16 viduryje, nenukirptas.
   Programoje (2026-10-15) - ir sąrašo reklamų kortelėse. ---- */
.win__body .work--ad[data-ratio="9x16"] .work__media, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media {
  max-width: 290px; width: 100%; aspect-ratio: 9 / 19.5; padding: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  border: 10px solid #1D1D1F; border-radius: 52px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='12' viewBox='0 0 66 12'%3E%3Cg fill='%23fff'%3E%3Crect x='0' y='7' width='3' height='4' rx='1'/%3E%3Crect x='4.5' y='5' width='3' height='6' rx='1'/%3E%3Crect x='9' y='3' width='3' height='8' rx='1'/%3E%3Crect x='13.5' y='1' width='3' height='10' rx='1'/%3E%3Cpath d='M30 3.2a9 9 0 0 1 11 0l-1.3 1.5a7 7 0 0 0-8.4 0zM32.3 6a5.5 5.5 0 0 1 6.4 0l-1.3 1.5a3.6 3.6 0 0 0-3.8 0zM35.5 8.4l1.6 1.8-1.6 1.6-1.6-1.6z'/%3E%3Crect x='44.5' y='1.5' width='19' height='9' rx='2.6' fill='none' stroke='%23fff' stroke-opacity='.5'/%3E%3Crect x='46' y='3' width='14' height='6' rx='1.4'/%3E%3Crect x='64.3' y='4.3' width='1.4' height='3.4' rx='.7' fill-opacity='.5'/%3E%3C/g%3E%3C/svg%3E") no-repeat right 22px top 17px / 58px auto,
    linear-gradient(#fff, #fff) no-repeat center bottom 8px / 36% 5px,
    #000;
  box-shadow: 0 0 0 1.5px #8E8F94, 0 0 0 3px #2A2A2D, 0 40px 70px -30px rgba(18, 18, 18, .6);
}
.win__body .work--ad[data-ratio="9x16"] .work__media::before, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media::before { top: 10px; width: 92px; height: 27px; margin-left: -46px; background: #000; border-radius: 999px; }
.win__body .work--ad[data-ratio="9x16"] .work__media::after, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media::after { content: "9:41"; position: absolute; top: 15px; left: 28px; z-index: 2; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.win__body .work--ad[data-ratio="9x16"] .work__media > video, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media > video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 0; flex: none; background: #000; }
@media (max-width: 759px) {
  .win__body .work--ad[data-ratio="9x16"] .work__media, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media { max-width: 230px; border-width: 8px; border-radius: 42px; background-position: right 17px top 13px, center bottom 6px, 0 0; background-size: 48px auto, 36% 4px, auto; }
  .win__body .work--ad[data-ratio="9x16"] .work__media::before, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media::before { top: 8px; width: 74px; height: 22px; margin-left: -37px; }
  .win__body .work--ad[data-ratio="9x16"] .work__media::after, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media::after { top: 11px; left: 22px; font-size: 12px; }
  .win__body .work--ad[data-ratio="9x16"] .work__media > video, [data-fonas="programa"] .list .work--ad[data-ratio="9x16"] .work__media > video { border-radius: 0; }
}
@media (min-width: 760px) { .win__body .work--ad[data-ratio="9x16"] .work__media { max-width: max(240px, min(290px, calc((88svh - 150px) * .4615))); } }

/* ---- Projekto aplankai: miniatiūros nesuspaudžiamos (kritika 2026-10-15) ----
   .thumb > img yra absolute, todėl .thumb--pic be savo dydžio susitraukdavo iki rėmelio. */
.folder--project .thumb--pic > img { position: static; }

/* ---- Reklamų filtras paslėptas (Simona 2026-10-15): visos reklamos vienos platformos - filtras nieko nefiltruoja ---- */
[data-filters] { display: none; }

/* ---- Sąrašo video paleidimo mygtukas (vietoj naršyklės juostos, 2026-10-15) ---- */
.vplay { position: absolute; left: 50%; top: 50%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 0; border: 0; border-radius: 0; background: var(--white, #fff); cursor: pointer; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .6); transition: transform .2s ease; }
.vplay::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #121212; }
.vplay:hover { transform: scale(1.06); }
.vplay:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[data-fonas="programa"] .vplay { background: var(--pg-peri); }
[data-fonas="programa"] .vplay:focus-visible { outline-color: var(--pg-peri); }
@media (prefers-reduced-motion: reduce) { .vplay { transition: none; } .vplay:hover { transform: none; } }
.win__body .work--ad[data-ratio] .work__media > .vplay, [data-fonas="programa"] .list .work--ad[data-ratio] .work__media > .vplay { border-radius: 0; overflow: visible; } /* iPhone rėmelio vaikų apvalinimas mygtukui netaikomas */
