:root {
  --violet: #5a3cf4;
  --navy: #120042;
  --lime: #8ef04f;
  --white: #f6f5fb;
  --black: #080808;
  --m: 48px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 760px) { :root { --m: 18px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--violet); color: #fff;
  font: 500 18px/1.45 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .8s ease, color .8s ease;
  overflow-x: clip;
}
body.t-white { background: var(--white); color: var(--navy); }
body.t-lime { background: var(--lime); color: var(--navy); }
body.t-black { background: var(--black); color: #fff; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
body.t-lime :focus-visible { outline-color: var(--navy); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--navy); border-radius: 99px; }
.skip:focus { left: 8px; }

#shards { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .6s; }
main, footer { position: relative; z-index: 1; }

.disp { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; line-height: 1.04; margin: 0; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--m); }
.logo { font: 700 20px/.95 Inter, sans-serif; letter-spacing: -.04em; }
.logo--big { font-size: 32px; margin-bottom: 10px; }
.pill { justify-self: center; display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; transition: background .3s, transform .3s var(--ease); }
.pill:hover { transform: scale(1.05); }
.pill i { display: grid; gap: 3px; } .pill i b { display: block; width: 12px; height: 2px; background: currentColor; }
.cta { justify-self: end; padding: 12px 22px; border-radius: 99px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; transition: transform .3s var(--ease), background .3s, color .3s; }
.cta:hover { transform: scale(1.05); }
body.t-white .cta, body.t-lime .cta { background: var(--navy); color: #fff; }
body.t-white .pill, body.t-lime .pill { background: rgba(18, 0, 66, .08); }

/* Menu overlay */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--m); animation: fadeIn .4s var(--ease); }
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: inline-block; font: 400 clamp(52px, 9vw, 130px)/1.1 Anton, sans-serif; text-transform: uppercase; transition: color .25s, transform .4s var(--ease); }
.menu li a:hover { color: var(--lime); transform: translateX(12px); }
.menu p { margin-top: 40px; font-size: 16px; opacity: .8; }
.menu__close { position: absolute; top: 18px; right: var(--m); width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 18px; }
@keyframes fadeIn { from { opacity: 0; } }

/* Reveals: padding keeps Lithuanian accents inside the mask (Ž, Ė above; Į, Ą, Ų ogonek below),
   and the line pitch (1.04 + .44 - .38 = 1.1em) keeps them off the next line */
.line { display: block; overflow: hidden; padding: .2em 0 .24em; margin: -.17em 0 -.21em; }
.js .line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .in .line > span { transform: none; }
.in .line:nth-child(2) > span { transition-delay: .08s; }
.in .line:nth-child(3) > span { transition-delay: .16s; }
.js p.rv, .js .statement { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js p.rv.in, .js .hero .in p { opacity: 1; transform: none; }

/* Hero */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 90px 24px 60px; position: relative; }
.hero__name { margin: 0 0 22px; font: 600 15px/1.3 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.hero__title { font-size: clamp(64px, 11.5vw, 190px); }
.hero__title .dark { color: var(--navy); }
.hero__lead { margin: 28px auto 0; max-width: 34ch; font-size: 20px; }
.js .hero__lead { opacity: 0; transition: opacity 1s .5s; }
.js .hero .in .hero__lead { opacity: .95; }
.scrollhint { position: absolute; right: var(--m); bottom: 32px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); display: grid; place-items: center; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Dome */
.dome { margin-top: 6vh; background: var(--white); color: var(--navy); border-radius: 50% 50% 0 0 / 22vw 22vw 0 0; padding: 24vh 24px 24vh; text-align: center; }
.dome h2 { font-size: clamp(60px, 10vw, 170px); }
.dome h2 .v { color: var(--violet); }
.statement { max-width: 24ch; margin: 26vh auto 0; font: 700 clamp(28px, 3.2vw, 48px)/1.18 Inter, sans-serif; letter-spacing: -.03em; }

/* Lime chapter */
.lime { min-height: 110vh; padding: 22vh var(--m) 16vh; display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; }
.lime .big { margin: 0; font: 700 clamp(30px, 3.4vw, 54px)/1.14 Inter, sans-serif; letter-spacing: -.035em; max-width: 20ch; align-self: start; }
.lime .big a { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lime .small { margin: 0; max-width: 32ch; font-size: 17px; justify-self: end; }

/* Marquee */
.band { position: relative; z-index: 2; background: var(--navy); color: #fff; overflow: hidden; padding: 22px 0; transform: rotate(-2deg); margin: 0 -2vw; }
.band .track { display: flex; width: max-content; animation: mq 28s linear infinite; }
.band span { font: 400 clamp(28px, 3vw, 46px)/1 Anton, sans-serif; text-transform: uppercase; padding-right: 32px; white-space: nowrap; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Expertise */
.exp { padding: 22vh 24px 18vh; text-align: center; }
.exp__title { margin: 0 0 28px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.exp ul { list-style: none; margin: 0; padding: 0; }
.exp li a { display: inline-block; font: 400 clamp(52px, 9vw, 150px)/1.08 Anton, sans-serif; text-transform: uppercase; color: rgba(18, 0, 66, .13); transition: color .5s, transform .5s var(--ease); }
.exp li.on a, .exp li a:hover { color: var(--navy); }
.exp li a:hover { transform: scale(1.03); }
.exp li sup { font: 600 16px Inter, sans-serif; margin-left: 10px; vertical-align: top; position: relative; top: .6em; opacity: 0; transition: opacity .4s; }
.exp li.on sup { opacity: .6; }
.exp li p { margin: -4px auto 18px; max-width: 40ch; font-size: 16px; color: var(--navy); height: 0; overflow: hidden; opacity: 0; transition: opacity .4s, height .4s; }
.exp li.on p { height: 1.5em; opacity: .75; }

/* Sphere */
.sphere { height: 260vh; position: relative; }
.sphere .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
#globe { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.sphere .cap { position: absolute; left: 0; right: 0; bottom: 6vh; text-align: center; pointer-events: none; padding: 0 16px; }
.sphere .cap h2 { font-size: clamp(48px, 7vw, 120px); }
.sphere .cap p { margin: 12px 0 0; opacity: .75; font-size: 16px; }
.tip { position: absolute; pointer-events: none; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; opacity: 0; transform: translate(-50%, -150%); transition: opacity .2s; white-space: nowrap; }
.no-webgl .sphere { height: auto; }
.no-webgl .sphere .stage { position: static; height: auto; padding: 18vh 0 10vh; }
.no-webgl #globe { display: none; }
.no-webgl .sphere .cap { position: static; }

/* Archive */
.archive { padding: 18vh var(--m) 16vh; }
.archive__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.archive__head h2 { font-size: clamp(60px, 9vw, 150px); }
.archive__count { margin: 0 0 12px; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin: 36px 0 32px; }
.cats, .tones { display: flex; flex-wrap: wrap; gap: 8px; }
.cat { min-height: 44px; padding: 0 18px; border-radius: 99px; background: rgba(18, 0, 66, .07); font-size: 15px; font-weight: 600; transition: background .25s, color .25s, transform .25s var(--ease); }
.cat:hover { transform: translateY(-2px); }
.cat[aria-pressed="true"] { background: var(--navy); color: #fff; }
.cat small { margin-left: 6px; opacity: .55; font-size: 13px; }
.tone { width: 44px; height: 44px; border-radius: 50%; background: var(--t); box-shadow: inset 0 0 0 1px rgba(18, 0, 66, .15); transition: transform .25s var(--ease); }
.tone:hover { transform: scale(1.1); }
.tone[aria-pressed="true"] { transform: scale(1.12); outline: 3px solid var(--navy); outline-offset: 3px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.item { display: block; text-align: left; color: var(--navy); text-decoration: none; }
.js .item { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .item.in { opacity: 1; transform: none; }
.item__media { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 1216 / 951; background: rgba(18, 0, 66, .06); }
.item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.item:hover .item__media img { transform: scale(1.06); }
.item__media span { position: absolute; right: 14px; top: 14px; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.item:hover .item__media span, .item:focus-visible .item__media span { opacity: 1; transform: none; }
.item h3 { margin: 16px 0 4px; font: 700 20px/1.2 Inter, sans-serif; letter-spacing: -.02em; }
.item p { margin: 0; font-size: 15px; opacity: .7; }
.grid__empty { grid-column: 1 / -1; padding: 40px 0; font-size: 18px; }

/* Final + footer */
.final { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 6vw; align-items: center; padding: 16vh var(--m) 10vh; }
.final__lead { margin: 28px 0 0; max-width: 34ch; font-size: 20px; }
.final .contacts { justify-content: flex-start; }
.final .socials { justify-content: flex-start; }
.form { display: grid; gap: 18px; padding: 36px; border-radius: 28px; background: #fff; color: var(--navy); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: rgba(18, 0, 66, .06); color: var(--navy); font: inherit; font-size: 16px; font-weight: 500; resize: vertical; transition: background .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--violet); }
.field textarea::placeholder { color: rgba(18, 0, 66, .4); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 99px; background: rgba(18, 0, 66, .06); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.chips input:checked + span { background: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form .cta2 { margin-top: 0; background: var(--navy); color: #fff; border: 0; cursor: pointer; font-family: inherit; }
.form .cta2:hover { background: var(--violet); }
.form .cta2:disabled { opacity: .5; cursor: wait; transform: none; }
.form__status { margin: 0; font-size: 15px; font-weight: 600; }
.form__status[data-kind="ok"] { color: #1f8a3b; }
.form__status[data-kind="err"] { color: #d1243a; }
.final h2 { font-size: clamp(56px, 7vw, 150px); }
.final h2 .dark { color: var(--navy); }
.cta2 { display: inline-block; margin-top: 40px; padding: 18px 34px; border-radius: 99px; background: #fff; color: var(--navy); font-weight: 700; font-size: 18px; transition: transform .3s var(--ease), background .3s; }
.contacts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.contacts .cta2 { margin-top: 0; }
.cta2--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.socials { display: flex; gap: 24px; justify-content: center; margin: 24px 0 0; font-weight: 700; }
.socials a { color: #fff; border-bottom: 2px solid currentColor; }
.socials a:hover { color: var(--lime); }
.cta2:hover { transform: scale(1.05); background: var(--lime); }
.card { margin: 0 var(--m) var(--m); padding: 40px; border-radius: 28px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; font-size: 16px; }
.card h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.card p { margin: 0; opacity: .8; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.card a:hover { color: var(--lime); }
.card__legal { grid-column: 1 / -1; font-size: 14px; }

/* Case viewer */
.case { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: var(--navy); color: #fff; animation: caseIn .5s var(--ease); }
.case[hidden] { display: none; }
@keyframes caseIn { from { opacity: 0; transform: translateY(40px); } }
.case__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--m); }
.case__cat { margin: 0; font-size: 14px; opacity: .7; }
.case__title { margin-top: 4px; font-size: clamp(28px, 3.4vw, 52px); line-height: 1.12; }
.case__actions { display: flex; gap: 8px; flex-shrink: 0; }
.case__btn { min-height: 46px; padding: 0 20px; border-radius: 99px; display: inline-flex; align-items: center; background: rgba(255, 255, 255, .12); font-size: 15px; font-weight: 600; transition: background .25s, color .25s; }
.case__btn:hover { background: #fff; color: var(--navy); }
.case__close { width: 46px; padding: 0; justify-content: center; background: #fff; color: var(--navy); }
.case__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.case__images { width: min(1400px, 100%); margin: 0 auto; padding: 8px var(--m) 0; display: grid; gap: 14px; }
.case__images img { width: 100%; height: auto; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.case__next { display: flex; justify-content: space-between; gap: 12px; width: min(1400px, 100%); margin: 0 auto; padding: 40px var(--m) 64px; }

/* Tablet */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lime { grid-template-columns: 1fr; }
  .lime .small { justify-self: start; }
  .final { grid-template-columns: 1fr; }
  .final h2 { font-size: clamp(64px, 12vw, 150px); }
}
/* Phone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top { grid-template-columns: 1fr auto auto; gap: 8px; padding: 14px var(--m); }
  .pill { justify-self: end; }
  .cta { padding: 11px 16px; font-size: 13px; }
  .hero__name { font-size: 12px; margin-bottom: 16px; }
  .hero__title { font-size: 14.5vw; }
  .hero__lead { font-size: 17px; }
  .dome { border-radius: 50% 50% 0 0 / 12vw 12vw 0 0; padding: 18vh 18px 16vh; }
  .dome h2 { font-size: 15vw; }
  .statement { margin-top: 16vh; font-size: 26px; }
  .lime { padding: 16vh var(--m) 14vh; min-height: 0; }
  .lime .big { font-size: 28px; }
  .exp li a { font-size: 13vw; }
  .exp li.on p { height: 3em; }
  .sphere { height: 200vh; }
  .sphere .cap h2 { font-size: 13vw; }
  .filters { flex-direction: column; }
  .cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--m) * -1); padding: 0 var(--m) 4px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: none; }
  .tone { width: 40px; height: 40px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .final { grid-template-columns: 1fr; gap: 48px; padding: 14vh var(--m) 8vh; }
  .final h2 { font-size: 16vw; }
  .form { padding: 22px; border-radius: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .cta2 { font-size: 15px; padding: 16px 22px; }
  .card { grid-template-columns: 1fr; padding: 28px; border-radius: 22px; }
  .case__bar { flex-wrap: wrap; }
  .case__actions { order: -1; width: 100%; justify-content: space-between; }
  .case__title { font-size: 34px; }
  .case__images { gap: 10px; }
  .case__images img { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .line > span, .js p.rv, .js .item, .js .statement, .js .hero__lead { transform: none !important; opacity: 1 !important; }
}
