/* ============================================================
   CONSILIUM / PRIVÉ — svetainės stilius
   Spalvos, tipografija ir proporcijos pagal Brand Book V2.
   ============================================================ */

/* ---------- Šriftas: IBM Plex Mono (self-hosted) ---------- */
/* latin-ext subsetas reikalingas lietuviškoms raidėms (ą č ę ė į š ų ū ž) */

@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext-300-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Spalvos ir kintamieji (Brand Book p.09) ---------- */
:root {
  --ink:          #16202C;
  --deep:         #0E1620;
  --brass:        #B08D57;
  --brass-light:  #CBA86A;
  --paper:        #F4F1EA;

  --text:         #E8E4DB;
  --text-dim:     rgba(232, 228, 219, 0.60);
  --text-faint:   rgba(232, 228, 219, 0.34);
  --hairline:     rgba(232, 228, 219, 0.12);
  --hairline-soft:rgba(232, 228, 219, 0.07);
  --brass-faint:  rgba(203, 168, 106, 0.16);

  --mono: 'IBM Plex Mono', ui-monospace, 'DejaVu Sans Mono', 'Liberation Mono', Menlo, Consolas, monospace;

  --gut: clamp(20px, 5vw, 64px);   /* horizontalus paraštė */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-section: 900ms;
}

/* ---------- Bazė ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;                 /* puslapis NESLENKA — sekcijos keičiasi vietoje */
  overscroll-behavior: none;
}

body {
  background: var(--deep);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Subtilus „terminalo" gridas + vinjetė fone */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 78%);
          mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(176,141,87,0.06), transparent 55%),
    radial-gradient(100% 100% at 50% 100%, rgba(0,0,0,0.45), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--brass); color: var(--deep); }

/* ---------- Tipografijos pagalbinės klasės (Brand Book p.10) ---------- */
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.kicker {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================================
   LOGOTIPAS  (CONSILIUM / PRIVÉ█)
   ============================================================ */
.logo {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  color: var(--text);
  line-height: 1;
  user-select: none;
}
.logo .sep    { color: var(--brass-light); margin: 0 0.35em; font-weight: 500; }
.logo .prive  { color: var(--brass-light); }
.logo .cursor {
  display: inline-block;
  width: 0.62em; height: 1em;
  margin-left: 0.14em;
  background: var(--brass-light);
  transform: translateY(0.06em);
  animation: cursor-blink 1.6s steps(1, end) infinite;   /* lėtas mirksėjimas — Brand Book p.11 */
}
@keyframes cursor-blink {
  0%, 55%  { opacity: 1; }
  56%,100% { opacity: 0; }
}

/* Brass brūkšnelis virš didelio logo (hero) — Brand Book hero */
.logo-rule {
  width: 56px; height: 2px;
  background: var(--brass);
  margin-bottom: 28px;
}

/* ============================================================
   KARKASAS: viršus / apačia (lieka vietoje), centras keičiasi
   ============================================================ */
.frame {
  position: fixed; inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  pointer-events: none;             /* praleidžia paspaudimus į turinį, išskyrus interaktyvius vaikus */
}
.frame > * { pointer-events: auto; }

/* ----- Viršutinė juosta ----- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: clamp(16px, 3vh, 30px) var(--gut);
  padding-top: max(clamp(16px, 3vh, 30px), env(safe-area-inset-top));
  padding-left: max(var(--gut), env(safe-area-inset-left));
  padding-right: max(var(--gut), env(safe-area-inset-right));
  background: linear-gradient(to bottom, var(--deep) 16%, rgba(14,22,32,0.7) 56%, transparent);
}
.topbar .logo { font-size: clamp(15px, 1.5vw, 18px); }

.nav {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
}
.nav-link {
  display: inline-flex; align-items: baseline; gap: 7px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 0;
  position: relative;
  transition: color 0.4s var(--ease);
}
.nav-link .num { font-size: 10px; color: var(--text-faint); transition: color 0.4s var(--ease); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--brass-light);
  transition: width 0.5s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--brass-light); }
.nav-link.active .num { color: var(--brass); }
.nav-link.active::after { width: 100%; }

.lang {
  display: inline-flex; align-items: center;
  margin-left: clamp(6px, 1.5vw, 16px);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
}
.lang button {
  font-size: 11px; letter-spacing: 0.12em;
  padding: 6px 9px; color: var(--text-faint);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang button.active { color: var(--deep); background: var(--brass-light); }
.lang button:not(.active):hover { color: var(--text); }

.menu-toggle { display: none; }

/* ----- Apatinė juosta ----- */
.botbar {
  margin-top: auto;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 3vh, 26px) var(--gut);
  padding-bottom: max(clamp(16px, 3vh, 26px), env(safe-area-inset-bottom));
  padding-left: max(var(--gut), env(safe-area-inset-left));
  padding-right: max(var(--gut), env(safe-area-inset-right));
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint);
  background: linear-gradient(to top, var(--deep) 16%, rgba(14,22,32,0.7) 56%, transparent);
}
.scroll-hint {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-faint);
}
.scroll-hint .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass-light);
  animation: hint-pulse 2.4s var(--ease) infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(3px); }
}

/* ----- Sekcijų indikatorius (taškai dešinėje) ----- */
.rail {
  position: fixed; right: clamp(14px, 2vw, 26px); top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex; flex-direction: column; gap: 16px;
  align-items: center;
}
.rail button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  transition: all 0.4s var(--ease);
  position: relative;
}
.rail button:hover { border-color: var(--brass-light); }
.rail button.active {
  background: var(--brass-light);
  border-color: var(--brass-light);
  box-shadow: 0 0 0 4px var(--brass-faint);
}

/* ============================================================
   SCENA + SEKCIJOS (keičiasi vietoje, cross-fade)
   ============================================================ */
.stage {
  position: fixed; inset: 0;
  z-index: 1;
}
.section {
  position: absolute; inset: 0;
  display: flex;
  padding: 13vh var(--gut) 14vh;
  opacity: 0;
  visibility: hidden;
  transform: translateY(34px) scale(0.992);
  transition:
    opacity var(--t-section) var(--ease),
    transform var(--t-section) var(--ease),
    visibility 0s linear var(--t-section);
  /* Centruoja kai telpa, slenka nuo viršaus kai netelpa (margin:auto ant .section-inner) */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.section.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity var(--t-section) var(--ease),
    transform var(--t-section) var(--ease),
    visibility 0s;
}
/* išeinanti sekcija — pasislenka priešinga kryptimi */
.section.leaving {
  transform: translateY(-34px) scale(0.992);
}

.section-inner {
  width: 100%;
  max-width: 1180px;
  margin: auto;                 /* vertikalus + horizontalus centravimas, su slinkimu kai netelpa */
  position: relative;
  z-index: 2;
}

/* Didelis blankus sekcijos numeris fone (stiprina „dizainas pasikeitė" pojūtį) */
.ghost-index {
  position: absolute;
  right: clamp(-8px, 1vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(180px, 34vw, 460px);
  font-weight: 700;
  line-height: 0.8;
  color: var(--text);
  opacity: 0.035;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
}

/* Turinio elementų „staggered" pasirodymas aktyvioje sekcijoje */
.section .reveal {
  opacity: 0; transform: translateY(18px);
}
.section.active .reveal {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------- HERO / PRADŽIA ---------- */
.hero .logo { font-size: clamp(23px, 7.4vw, 76px); max-width: 100%; }
.hero .logo .logo-rule { display: none; }
.hero-tagline {
  margin-top: 22px;
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim);
}
.hero-tagline b { color: var(--brass-light); font-weight: 500; }
.hero-statement {
  margin-top: clamp(30px, 5vh, 52px);
  max-width: 60ch;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
}
.hero-meta {
  margin-top: clamp(30px, 5vh, 48px);
  display: flex; flex-wrap: wrap; gap: 10px 34px;
}
.hero-meta .item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .item .k { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); }
.hero-meta .item .v { font-size: 14px; color: var(--text); }

/* ---------- Bendra sekcijų antraštė ---------- */
.sec-head { margin-bottom: clamp(28px, 5vh, 56px); }
.sec-head .label { display: inline-flex; gap: 14px; align-items: baseline; }
.sec-head .label .idx { color: var(--brass); }
.sec-title {
  margin: 16px 0 0;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--text);
}
.sec-title .accent { color: var(--brass-light); }
.sec-intro {
  margin-top: 16px; max-width: 64ch;
  font-size: clamp(14px, 1.5vw, 16px); font-weight: 300;
  color: var(--text-dim); line-height: 1.75;
}

/* ---------- PASLAUGOS ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.service {
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--hairline);
  padding: clamp(20px, 2.2vw, 30px);
  position: relative;
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease), transform 0.5s var(--ease);
  background: linear-gradient(180deg, rgba(244,241,234,0.012), transparent);
}
.service:hover {
  border-top-color: var(--brass);
  border-color: var(--hairline);
  background: linear-gradient(180deg, rgba(176,141,87,0.05), transparent);
  transform: translateY(-3px);
}
.service .s-no { font-size: 11px; letter-spacing: 0.2em; color: var(--brass); }
.service h3 {
  margin: 16px 0 12px;
  font-size: clamp(16px, 1.7vw, 19px); font-weight: 500; letter-spacing: 0.02em;
  color: var(--text);
}
.service p {
  margin: 0 0 16px; font-size: 13.5px; font-weight: 300; line-height: 1.7;
  color: var(--text-dim);
}
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.service li {
  font-size: 12.5px; color: var(--text-dim); padding-left: 18px; position: relative; line-height: 1.5;
}
.service li::before { content: "›"; position: absolute; left: 0; color: var(--brass); }

/* ---------- SU KUO DIRBAME (kortelės, paspaudžiamos) ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.aud-card {
  display: flex; flex-direction: column;
  text-align: left; width: 100%;
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--hairline);
  padding: clamp(20px, 2.2vw, 30px);
  background: linear-gradient(180deg, rgba(244,241,234,0.012), transparent);
  cursor: pointer;
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease), transform 0.5s var(--ease);
}
.aud-card:hover, .aud-card:focus-visible {
  border-top-color: var(--brass);
  background: linear-gradient(180deg, rgba(176,141,87,0.05), transparent);
  transform: translateY(-3px);
  outline: none;
}
.aud-card[disabled], article.aud-card { cursor: default; }
.aud-card .a-no { font-size: 11px; letter-spacing: 0.2em; color: var(--brass); }
.aud-card .a-title {
  margin: 16px 0 10px;
  font-size: clamp(16px, 1.7vw, 19px); font-weight: 500; letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.4s var(--ease);
}
.aud-card:hover .a-title, .aud-card:focus-visible .a-title { color: var(--brass-light); }
.aud-card .a-desc {
  font-size: 13.5px; font-weight: 300; line-height: 1.7; color: var(--text-dim);
}
.aud-card .a-more {
  margin-top: 18px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-light);
  display: inline-flex; align-items: center; gap: 7px;
}
.aud-card .a-more span { transition: transform 0.4s var(--ease); display: inline-block; }
.aud-card:hover .a-more span, .aud-card:focus-visible .a-more span { transform: translateX(5px); }
.blog-note { margin-top: 26px; font-size: 12px; color: var(--text-faint); letter-spacing: 0.04em; }

/* ---------- KONTAKTAI ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.contact-lead {
  font-size: clamp(18px, 2.4vw, 28px); font-weight: 300; line-height: 1.5; color: var(--text);
  max-width: 22ch;
}
.contact-lead .accent { color: var(--brass-light); }
.contact-list { display: grid; gap: 2px; }
.contact-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: baseline;
  padding: 15px 0; border-top: 1px solid var(--hairline);
}
.contact-list .contact-row:last-child { border-bottom: 1px solid var(--hairline); }
.contact-row .c-k { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); padding-top: 3px; }
.contact-row .c-v { font-size: clamp(15px, 1.6vw, 17px); color: var(--text); }
a.c-link { position: relative; display: inline-block; color: var(--text); transition: color 0.4s var(--ease); }
a.c-link::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--brass-light); transition: width 0.45s var(--ease); }
a.c-link:hover { color: var(--brass-light); }
a.c-link:hover::after { width: 100%; }
.contact-note { margin-top: 22px; font-size: 12px; color: var(--text-faint); line-height: 1.7; max-width: 52ch; }

/* ============================================================
   BLOGO SKAITYMO OVERLAY (vienintelė vieta su vidiniu slinkimu)
   ============================================================ */
.reader {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(8, 13, 20, 0.86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
  display: flex; justify-content: center;
}
.reader.open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.reader-panel {
  width: 100%; max-width: 760px; height: 100%;
  overflow-y: auto;                 /* vidinis slinkimas — leidžiama tik straipsnyje */
  padding: clamp(64px, 12vh, 130px) var(--gut) 120px;
  background: linear-gradient(180deg, rgba(22,32,44,0.6), rgba(14,22,32,0.92));
  border-left: 1px solid var(--hairline); border-right: 1px solid var(--hairline);
  transform: translateY(18px); transition: transform 0.6s var(--ease);
  -webkit-overflow-scrolling: touch;
}
.reader.open .reader-panel { transform: none; }
.reader-close {
  position: fixed; top: clamp(18px, 3vh, 30px); right: var(--gut);
  z-index: 21;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim);
  border: 1px solid var(--hairline); padding: 9px 14px; border-radius: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.reader-close:hover { color: var(--brass-light); border-color: var(--brass-light); }
.reader-panel .r-date { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.reader-panel h1 { font-size: clamp(24px, 4vw, 38px); font-weight: 500; line-height: 1.2; margin: 16px 0 28px; color: var(--text); }
.reader-panel .r-body { font-size: 15.5px; font-weight: 300; line-height: 1.85; color: var(--text-dim); }
.reader-panel .r-body p { margin: 0 0 1.3em; }
.reader-panel .r-body h2 { font-size: 16px; font-weight: 500; letter-spacing: 0.04em; color: var(--text); margin: 2em 0 0.8em; }
.reader-panel .r-body strong { color: var(--text); font-weight: 500; }

/* ============================================================
   PRIVATUMO PRANEŠIMAS (BDAR) — diskretiškas, apačioje kairėje
   ============================================================ */
.notice {
  position: fixed;
  left: var(--gut); bottom: clamp(78px, 13vh, 112px);
  z-index: 16;
  width: min(440px, calc(100vw - 2 * var(--gut)));
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s;
  pointer-events: none;
}
.notice.show {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: auto;
}
.notice-inner {
  background: rgba(14, 22, 32, 0.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--brass);
  padding: 20px 22px 22px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.5);
}
.notice-title { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-light); }
.notice-text { margin: 0 0 18px; font-size: 12.5px; font-weight: 300; line-height: 1.7; color: var(--text-dim); }
.notice-btn {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text);
  border: 1px solid var(--hairline); padding: 11px 20px; border-radius: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.notice-btn:hover, .notice-btn:focus-visible { color: var(--deep); background: var(--brass-light); border-color: var(--brass-light); outline: none; }

/* ============================================================
   ĮKĖLIMO UŽSKLANDA
   ============================================================ */
.boot {
  position: fixed; inset: 0; z-index: 50;
  background: var(--deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.boot.done { opacity: 0; visibility: hidden; }
.boot .logo { font-size: clamp(20px, 3.4vw, 30px); }

/* ============================================================
   RESPONSYVUMAS  (telpa nuo ~320px iki didelių ekranų)
   ============================================================ */

/* ----- Planšetės ir žemiau ----- */
@media (max-width: 900px) {
  .rail { display: none; }
  .ghost-index { font-size: clamp(150px, 46vw, 320px); opacity: 0.04; }
  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Mažesnės paraštės; turinys centruojasi kai telpa, slenka kai netelpa (margin:auto).
     Paraštės užtikrina, kad turinys neliptų po viršutine/apatine juosta. */
  .section {
    padding: calc(66px + env(safe-area-inset-top)) var(--gut) calc(60px + env(safe-area-inset-bottom));
  }
  /* Stipresnis fonas po juostomis — slenkantis turinys nekliūva ant logotipo/meniu */
  .topbar { background: linear-gradient(to bottom, var(--deep) 58%, rgba(14,22,32,0.94) 82%, transparent); }
  .botbar { background: linear-gradient(to top, var(--deep) 58%, rgba(14,22,32,0.94) 82%, transparent); }
}

/* ----- Telefonai ----- */
@media (max-width: 680px) {
  .nav .nav-link .txt { display: none; }          /* lieka tik numeriai */
  .nav { gap: 11px; }
  .nav-link { padding: 10px 6px; align-items: center; }   /* didesnis paspaudimo plotas */
  .nav-link .num { font-size: 12px; }
  .lang button { padding: 9px 11px; }                     /* didesnis paspaudimo plotas */
  .botbar .b-right { display: none; }
  .scroll-hint .txt { display: none; }            /* lieka tik mirksintis taškas */
  .botbar { gap: 10px; }
  .service ul { display: none; }                  /* glausta */
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-row .c-k { padding-top: 0; }
  .hero-meta { gap: 12px 22px; }
  /* BDAR pranešimas — per visą plotį, virš apatinės juostos */
  .notice { left: 14px; right: 14px; width: auto; bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* ----- Maži telefonai (≤420px) — sutankiname viršutinę juostą ----- */
@media (max-width: 420px) {
  .topbar { gap: 8px; }
  .topbar .logo { font-size: 12px; letter-spacing: 0.01em; }
  .topbar .logo .sep { margin: 0 0.16em; }
  .topbar .logo .cursor { width: 0.5em; margin-left: 0.08em; }
  .nav { gap: 8px; }
  .nav-link { padding: 9px 5px; }
  .lang { margin-left: 4px; }
  .lang button { padding: 7px 8px; font-size: 10px; }
  .hero-tagline { font-size: 10px; letter-spacing: 0.14em; }
  .sec-title { font-size: clamp(22px, 7vw, 30px); }
  .b-rights { display: none; }                    /* footer telpa: © Consilium / Privé · 2026 */
}

/* ----- Labai maži telefonai (≤360px) ----- */
@media (max-width: 360px) {
  .topbar .logo .cursor { display: none; }   /* žymeklis lieka hero logotipe */
  .topbar .logo { font-size: 11px; letter-spacing: 0; }
  .nav { gap: 7px; }
  .nav-link { padding: 9px 2px; }
  .lang button { padding: 6px 6px; font-size: 9px; letter-spacing: 0.06em; }
}

/* ----- Žemas ekranas (gulsčias telefonas) ----- */
@media (max-height: 480px) and (max-width: 900px) {
  .section { padding-top: calc(64px + env(safe-area-inset-top)); padding-bottom: calc(46px + env(safe-area-inset-bottom)); }
  .hero .logo { font-size: clamp(20px, 8vw, 38px); }
  .hero-tagline { margin-top: 14px; }
  .hero-statement { margin-top: 14px; }
  .hero-meta { margin-top: 16px; gap: 8px 22px; }
  .ghost-index { font-size: clamp(110px, 42vh, 230px); }
}

/* ---------- Sumažintas judesys ---------- */
@media (prefers-reduced-motion: reduce) {
  .logo .cursor { animation: none; }
  .scroll-hint .dot { animation: none; }
  .section, .section .reveal, .reader, .reader-panel, .boot { transition-duration: 0.001ms !important; }
}
