:root {
  --bg: #0b0b0a;
  --ink: #f2efe8;
  --muted: #8d8a82;
  --line: #2a2926;
  --glow: #ffcf8a;        /* akcentas, hover */
  --dust-mid: #ffe2b8;    /* dulkių spalva pakeliui */
  --dust-end: #ffbe6e;    /* dulkių spalva pabaigoje */
  --lime-mid: #c8f56a;    /* akcentinės dulkės: salotinė */
  --lime-end: #a3e635;
  --done: #ffcf8a;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--glow); color: var(--bg); }

.cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--gutter);
  mix-blend-mode: difference;
}
.bar a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { height: 240vh; position: relative; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; place-items: center; overflow: hidden;
}
.hero__title {
  font-weight: 600;
  font-size: min(13vw, 28vh);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
}
.hero__title span { display: inline; }
@media (max-width: 640px) {
  .hero__title { font-size: 24vw; }
  .hero__title span { display: block; }
}
.js-dust .hero__title { color: transparent; }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: opacity .4s;
}
.hero__hint i {
  width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent);
  animation: drip 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip { 0%{transform:scaleY(0)} 50%{transform:scaleY(1)} 100%{transform:scaleY(1);opacity:0} }

/* ---------- Wall (links) ---------- */
.wall {
  min-height: 100vh;
  padding: 18vh var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2.2fr;
  gap: 48px;
  align-content: start;
  border-top: 1px solid var(--line);
}
.label { display: grid; gap: 6px; align-self: start; position: sticky; top: 90px; }
.label b { font-weight: 600; font-size: 17px; color: var(--ink); }
.label p { color: var(--muted); font-size: 14px; }

.links { list-style: none; }
.links li { position: relative; }
.links li::after, .links li:first-child::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); transform-origin: left; transform: scaleX(var(--l, 1));
}
.links li:first-child::before { top: 0; bottom: auto; }
.links > li > a, .links > li > button { overflow: hidden; }
.links .t, .links .arr { display: inline-block; will-change: transform; }
.label, .foot { will-change: transform, opacity; }
.links > li > a, .links > li > button {
  width: 100%;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 0;
  font-size: clamp(34px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  text-align: left;
  transition: color .3s, padding .4s cubic-bezier(.2,.7,.2,1);
}
.links .arr svg { width: 0.5em; height: 0.5em; display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.links .arr { font-size: 1em; align-self: center; color: var(--muted); transition: color .3s; }
.links > li > a:hover, .links > li > button:hover { padding-left: 18px; color: var(--glow); }
.links > li > a:hover .arr svg { transform: translate(4px, -4px); }
.links > li > a:hover .arr { color: var(--glow); }
.links .arr svg { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.links button[aria-expanded="true"] .arr svg { transform: rotate(45deg); }
.links a:focus-visible, .links > li > button:focus-visible, .row button:focus-visible, .btn:focus-visible {
  outline: 1px solid var(--glow); outline-offset: 4px;
}

.contacts {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .6s cubic-bezier(.2,.7,.2,1);
}
.contacts > div { overflow: hidden; }
.contacts.open { grid-template-rows: 1fr; }
.contacts dl {
  display: grid; grid-template-columns: max-content 1fr; gap: 14px 32px;
  padding: 4px 0 30px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .5s .1s, transform .5s .1s;
}
.contacts.open dl { opacity: 1; transform: none; }
.contacts dd { font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -0.01em; }
.contacts dd a { border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.contacts dd a:hover { color: var(--glow); border-color: var(--glow); }
.contacts dt { padding-top: 0.7em; }

.foot {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14vh 0 28px;
}
.foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .wall { grid-template-columns: 1fr; gap: 36px; padding-top: 14vh; }
  .label { position: static; }
  .contacts dl { grid-template-columns: 1fr; gap: 4px; }
  .contacts dt { padding-top: 12px; }
}

/* ---------- Rekvizitai ---------- */
.page { max-width: 980px; margin: 0 auto; padding: 120px var(--gutter) 40px; min-height: 100vh; display: flex; flex-direction: column; }
.page h1 {
  font-size: clamp(44px, 9vw, 112px); font-weight: 600; letter-spacing: -0.035em; line-height: 0.95;
  margin: 14px 0 56px;
}
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.done { background: var(--done); border-color: var(--done); color: var(--ink); }

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.row .v { font-size: clamp(18px, 2.2vw, 24px); letter-spacing: -0.01em; word-break: break-word; }
.row button {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 8px 0 8px 12px; transition: color .25s; white-space: nowrap;
}
.row button:hover { color: var(--ink); }
.row button.done { color: var(--glow); }
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .row .cap { grid-column: 1 / -1; }
}
.page .foot { margin-top: auto; padding-top: 80px; padding-bottom: 0; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
