/* Grijos vaikai – peržiūros versija 0.4. Linoraižinio pasaulis: dvi spalvos (Vokės mėlynai juoda ir
   vermilionas) ant šilto laikraštinio popieriaus; tamsioje temoje – tie patys rašalo blokai ant nakties lapo.
   Geltona – tik redakciniams ruošiniams („Laukia patvirtinimo“).
   Šriftas Bricolage Grotesque (OFL) – tik antraštėms, laikomas projekte; tekstas – sistemos šriftas.

   TEMOS. Numatytoji – pagal įrenginio nustatymą (prefers-color-scheme), veikia ir be JavaScript.
   Aiškus pasirinkimas: <html data-theme="light|dark"> (nustato įterptas scenarijus <head> ir assets/main.js).
   Tamsios temos kintamieji surašyti du kartus (medijos užklausoje ir [data-theme="dark"]) – blokai turi
   sutapti, tai tikrina scripts/check.mjs. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800; font-stretch: 75% 100%; font-display: swap;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  font-weight: 500 800; font-stretch: 75% 100%; font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Šviesi tema: šiltas laikraštinis popierius */
  color-scheme: light;
  --ink: #142235;          /* Vokės mėlynai juoda; rašalo blokai abiejose temose */
  --page-bg: #f5f0e6;      /* šiltas popierius */
  --page-fg: #142235;      /* 14.1:1 */
  --page-fg-soft: #404a59; /* antrinis tekstas, 7.9:1 */
  --page-rule: #142235;
  --page-line: rgb(20 34 53 / 28%);
  --page-accent: #b3321a;  /* vermilionas kaip tekstas, 5.5:1 */
  --page-key: rgb(20 34 53 / 55%);
  --page-wash-bg: #fff0a8; --page-wash-fg: #142235; --page-edge: #7a5f00;
  --field: #142235;
  --field-deep: #0d1826;   /* poraštė */
  --on-field: #f5f0e6;
  --on-field-soft: #bcc5cf; /* 9.2:1 */
  --field-line: rgb(245 240 230 / 26%);
  --field-accent: #ffb8a5;
  --field-wash-bg: #fff0a8; --field-wash-fg: #142235; --field-edge: #ffe45c;
  --red: #d2401f;          /* antra spausdinimo spalva: mygtukams, linijoms (balta 4.7:1) */
  --red-hover: #bd3a1c;
  --red-field: #b8361b;    /* stovyklos laukas: popierius ant jo 5.2:1 */
  --hl: #ffe45c;           /* žymeklis – TIK nepatvirtintam turiniui */
  --hl-ink: #142235;
  --hl-key: #7a5f00;
  --bar-bg: #ffe45c; --bar-fg: #142235;
  /* Vaikiška paletė (2026-11 pataisa): dangaus mėlyna, žolės žalia, koralinė ir saulės gintarinė – dekorui ir
     fonų juostoms. Saulės spalva – tik piešinių formoms; geltonas žymeklis (--hl) lieka tik ruošiniams. */
  --sky: #3d9bd9; --sky-soft: #d9eefb; --grass: #4aa34f; --grass-soft: #e0f0d5; --coral: #f26b4e; --coral-soft: #fde0d6; --sun: #ffb52e;
  --frame: #fffdf8; --doodle-line: #142235; --doodle-free: #142235; --doodle-paper: #fffdf8;
  /* „Oro“ kontekstas (antraštė ir šviesios juostos): šviesioje temoje – tamsus rašalas ant dangaus, tamsioje – kaip laukas */
  --air-fg: #142235; --air-fg-soft: #38455a; --air-line: rgb(20 34 53 / 24%); --air-accent: #a82e17;
  --air-wash-bg: #fff0a8; --air-wash-fg: #142235; --air-edge: #7a5f00;

  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: 1.25rem;
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --cut-h: 22px;
  /* Kalto krašto formos (kaukės): trys skirtingi rėžiai, kad kraštai nesikartotų kaip banga. */
  --cut-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V12l14-3 9 4 17-6 6 3 21-2 10 5 18-5 12 1 9-4 15 6 20-3 8 3 16-5 11 4 19-2 9 4 13-3 13 3V22z'/%3E%3C/svg%3E");
  --cut-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V10l8 2 12-6 7 5 16-1 5-4 14 6 22-3 9 4 6-6 18 2 11 5 20-4 7-3 15 4 10-2 12 5 24-4 9 2 17-3 13 3 15-2 30 0V22z'/%3E%3C/svg%3E");
  --cut-b-flip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath transform='matrix(1 0 0 -1 0 22)' d='M0 22V10l8 2 12-6 7 5 16-1 5-4 14 6 22-3 9 4 6-6 18 2 11 5 20-4 7-3 15 4 10-2 12 5 24-4 9 2 17-3 13 3 15-2 30 0V22z'/%3E%3C/svg%3E");
  --cut-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V14l11-5 6 3 15-4 9 5 13-2 7-5 18 4 10 3 14-6 8 2 17 1 12-4 9 4 22-2 16 2 13 4V22z'/%3E%3C/svg%3E");
  --cut: var(--cut-a); --cut-w: 240px;
  /* Rašalo grūdėtumas – mažas plytelės raštas, ne nuotrauka. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Tamsi tema: nakties lapas. Blokas A (pagal įrenginį, kai nepasirinkta šviesi) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
/* dark-tokens:start */
    color-scheme: dark;
    --page-bg: #0a0f16; --page-fg: #ece6d9; --page-fg-soft: #aab3bf; --page-rule: #d8d2c5;
    --page-line: rgb(236 230 217 / 22%); --page-accent: #ff9477; --page-key: rgb(236 230 217 / 28%);
    --page-wash-bg: #3a3110; --page-wash-fg: #ffeeb0; --page-edge: #c9a92e;
    --field: #17283e; --field-deep: #06090e; --on-field: #ece6d9; --on-field-soft: #b3bcc8; --field-line: rgb(236 230 217 / 24%);
    --field-wash-bg: #3a3110; --field-wash-fg: #ffeeb0; --field-edge: #c9a92e;
    --red-field: #17283e; --bar-bg: #3a3110; --bar-fg: #ffeeb0;
    --sky: #6db6e6; --sky-soft: #17283e; --grass: #79c07c; --grass-soft: #14261c; --coral: #ff8f73; --coral-soft: #2e1c18; --sun: #f0b445;
    --frame: #e6dfd0; --doodle-line: #0d1622; --doodle-free: #ece6d9; --doodle-paper: #f2ecdf;
    --air-fg: #ece6d9; --air-fg-soft: #b3bcc8; --air-line: rgb(236 230 217 / 24%); --air-accent: #ffb8a5;
    --air-wash-bg: #3a3110; --air-wash-fg: #ffeeb0; --air-edge: #c9a92e;
/* dark-tokens:end */
  }
}
/* Blokas B (aiškus pasirinkimas) – turi sutapti su bloku A */
:root[data-theme="dark"] {
/* dark-tokens:start */
    color-scheme: dark;
    --page-bg: #0a0f16; --page-fg: #ece6d9; --page-fg-soft: #aab3bf; --page-rule: #d8d2c5;
    --page-line: rgb(236 230 217 / 22%); --page-accent: #ff9477; --page-key: rgb(236 230 217 / 28%);
    --page-wash-bg: #3a3110; --page-wash-fg: #ffeeb0; --page-edge: #c9a92e;
    --field: #17283e; --field-deep: #06090e; --on-field: #ece6d9; --on-field-soft: #b3bcc8; --field-line: rgb(236 230 217 / 24%);
    --field-wash-bg: #3a3110; --field-wash-fg: #ffeeb0; --field-edge: #c9a92e;
    --red-field: #17283e; --bar-bg: #3a3110; --bar-fg: #ffeeb0;
    --sky: #6db6e6; --sky-soft: #17283e; --grass: #79c07c; --grass-soft: #14261c; --coral: #ff8f73; --coral-soft: #2e1c18; --sun: #f0b445;
    --frame: #e6dfd0; --doodle-line: #0d1622; --doodle-free: #ece6d9; --doodle-paper: #f2ecdf;
    --air-fg: #ece6d9; --air-fg-soft: #b3bcc8; --air-line: rgb(236 230 217 / 24%); --air-accent: #ffb8a5;
    --air-wash-bg: #3a3110; --air-wash-fg: #ffeeb0; --air-edge: #c9a92e;
/* dark-tokens:end */
}

/* Kontekstai: „lapas“ (popierius arba nakties lapas) ir „laukas“ (rašalo ar vermiliono blokas).
   Komponentai naudoja tik konteksto kintamuosius, todėl abi temos ir visi blokai dalijasi tomis pačiomis taisyklėmis. */
:root, .camp-sheet {
  --bg: var(--page-bg); --fg: var(--page-fg); --fg-soft: var(--page-fg-soft); --rule: var(--page-rule);
  --line: var(--page-line); --accent-text: var(--page-accent); --key: var(--page-key); --focus: var(--page-fg);
  --wash-bg: var(--page-wash-bg); --wash-fg: var(--page-wash-fg); --edge: var(--page-edge); --underline: var(--red);
}
.block-ink, .block-red, .site-header, .site-footer, .lb {
  --bg: var(--field); --fg: var(--on-field); --fg-soft: var(--on-field-soft); --rule: var(--on-field);
  --line: var(--field-line); --accent-text: var(--field-accent); --key: var(--field-line); --focus: var(--on-field);
  --wash-bg: var(--field-wash-bg); --wash-fg: var(--field-wash-fg); --edge: var(--field-edge); --underline: var(--red);
}
.block-red { --bg: var(--red-field); --fg-soft: var(--on-field); --accent-text: var(--on-field); --underline: var(--on-field); }
.site-footer, .lb { --bg: var(--field-deep); }

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

html {
  scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%;
  background: var(--page-bg);
  scrollbar-color: var(--page-fg-soft) var(--page-bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  caret-color: var(--red);
  overflow-wrap: break-word;
}

::selection { background: var(--red); color: #fff; }

img, svg { max-width: 100%; display: block; }
/* Įterptų SVG raižinių spalvos seka temą (atributai HTML – tik atsarginė reikšmė) */
.svg-ink { fill: var(--field); }
.svg-ink-line { stroke: var(--field); }
.svg-paper { fill: var(--on-field); }
.svg-paper-line { stroke: var(--on-field); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 100%;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.5rem + 3.3vw, 4.5rem); line-height: 1.02; letter-spacing: -0.028em; }
.h-display { font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.9rem); font-weight: 750; max-width: 20ch; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.2; }
p { margin: 0 0 1em; }
p, li, dd, figcaption { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
a:hover { text-decoration-thickness: 4px; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--page-bg); color: var(--page-fg); padding: .7rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Redakciniai ruošiniai (geltonas žymeklis) ---------- */
.preview-bar {
  background: var(--bar-bg); color: var(--bar-fg); font-size: .875rem; line-height: 1.4;
  padding: .45rem var(--gutter); text-align: center;
}

.tag {
  display: inline-block; font-family: var(--font-body); font-size: .75rem; font-weight: 700;
  padding: .12rem .45rem; vertical-align: .1em; line-height: 1.4; max-width: 100%;
}
.tag--todo { background: var(--hl); color: var(--hl-ink); box-shadow: inset 0 0 0 1px var(--hl-key); }

.placeholder {
  border-top: 2px dashed var(--edge); padding-top: .8rem; margin-top: 1.75rem; font-size: 1rem;
}
.placeholder p, .placeholder h3 {
  display: inline; background: var(--wash-bg); color: var(--wash-fg); padding: .08em .5em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.75;
}
.placeholder p { margin: 0; }
.placeholder .tag { display: table; margin-bottom: .45rem; }
.placeholder h3 { display: table; font-size: 1.15rem; margin: 0 0 .35rem; padding: .1em .5em; }
.placeholder a { text-decoration-color: currentColor; }

/* ---------- Antraštė ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg) var(--grain); color: var(--fg);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; min-height: 48px; text-decoration: none; color: var(--fg); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; color: var(--fg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-sub { font-size: .8rem; color: var(--fg-soft); }

.site-nav { display: flex; align-items: center; gap: .25rem .75rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.site-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 .7rem;
  color: var(--fg); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: 0;
  text-decoration-color: transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration-color: var(--underline); }

/* Temos perjungiklis: Šviesi / Tamsi / Pagal įrenginį. Be JavaScript nerodomas (tema – pagal įrenginį). */
.theme-switch { display: flex; align-items: center; margin: 0; padding: 0; border: 0; min-width: 0; }
.theme-switch-label { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--fg-soft); padding: 0; margin-right: .75rem; }
.theme-switch-set { display: flex; box-shadow: inset 0 0 0 2px var(--line); }
.theme-switch button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 44px; min-height: 44px; padding: 0 .65rem;
  background: transparent; color: var(--fg-soft); border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  transition: background-color .15s ease-out, color .15s ease-out;
}
.theme-switch button:hover { color: var(--fg); }
.theme-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.theme-switch svg { width: 20px; height: 20px; flex: none; }
.no-js .theme-switch { display: none; }
@media (min-width: 1181px) {
  .theme-switch-label, .theme-switch button span {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}

.header-call, .nav-toggle { display: none; }

@media (max-width: 1180px) {
  .header-inner { min-height: 64px; gap: .5rem; }
  .header-call, .nav-toggle {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .85rem;
    font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  }
  .header-call { background: var(--red); color: #fff; text-decoration: none; }
  .header-call:hover { background: var(--red-hover); }
  .header-call svg { width: 18px; height: 18px; }
  .nav-toggle { background: transparent; color: var(--fg); border: 2px solid var(--fg); border-radius: 0; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; transition: transform .2s cubic-bezier(.16, 1, .3, 1), top .2s cubic-bezier(.16, 1, .3, 1); }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-top: 1px solid var(--line);
    display: none; max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) .75rem; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { min-height: 52px; padding: 0; font-size: 1.3rem; }
  .theme-switch { flex-wrap: wrap; gap: .5rem 0; padding: 1rem var(--gutter) 1.5rem; border-top: 1px solid var(--line); }
  .theme-switch-label { flex: 1 0 100%; }
  .theme-switch-set { flex: 1; }
  .theme-switch button { flex: 1 1 auto; min-height: 48px; padding: 0 .5rem; gap: .4rem; white-space: nowrap; }
  /* Be JavaScript meniu lieka matomas */
  .no-js .site-nav { position: static; display: block; border: 0; width: 100%; max-height: none; }
  .no-js .nav-toggle { display: none; }
}
@media (max-width: 360px) {
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .theme-switch button { padding: 0 .3rem; font-size: .88rem; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .header-call span { display: none; }
  .header-call { padding: 0 .7rem; }
}

/* ---------- Spaudos blokai ir kalti kraštai ---------- */
.block-ink, .block-red { position: relative; background: var(--bg) var(--grain); color: var(--fg); }
.block-ink--cut::before, .block-red::before, .block-red::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--cut-h);
  background: inherit; pointer-events: none;
  -webkit-mask: var(--cut) 0 0 / var(--cut-w) 100% repeat-x; mask: var(--cut) 0 0 / var(--cut-w) 100% repeat-x;
}
.block-ink--cut::before, .block-red::before { top: calc(1px - var(--cut-h)); }
.block-red::after { bottom: calc(1px - var(--cut-h)); transform: scaleY(-1); z-index: 1; }
#metai { --cut: var(--cut-b); --cut-w: 300px; }
#stovykla { --cut: var(--cut-c); --cut-w: 200px; }
.block-red::after { -webkit-mask-position: 97px 0; mask-position: 97px 0; }
.block-ink p, .block-red p { max-width: 62ch; }

/* ---------- Pradžia: tekstas ant lapo, šalia – rašalo klišė su atspaudu ---------- */
.hero { overflow-x: clip; padding-top: clamp(2rem, 5vw, 4.5rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: end;
}
.hero-copy { padding-bottom: clamp(3rem, 6vw, 5rem); align-self: center; }
.hero-copy h1 { max-width: 11ch; margin-bottom: .4em; }
.lead { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); line-height: 1.5; max-width: 38ch; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 64px;
  padding: .6rem 1.4rem .7rem; text-decoration: none; line-height: 1.15;
  transition: background-color .15s ease-out;
}
.btn--call { background: var(--red); color: #fff; }
.btn--call:hover { background: var(--red-hover); }
.btn--call:active { background: var(--red-field); }
.btn-label { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .01em; }
.btn-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

.link-arrow { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow::after { content: ""; flex: none; width: .55em; height: .55em; margin-left: .5em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.link-arrow:hover::after { transform: translateX(.2em) rotate(45deg); }

.hero-address { margin: 1.5rem 0 0; color: var(--fg-soft); font-size: 1rem; }
.hero-address a { color: var(--fg); }
.hero-note {
  margin: 1.75rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--fg-soft); font-size: .98rem; max-width: 44ch;
}
.hero-note strong { color: var(--fg); font-weight: 700; }

/* Klišė: rašalo laukas su kaltais kraštais viršuje ir apačioje, išbėgantis už dešinio lapo krašto */
.hero-print {
  margin: 0; margin-right: calc((100vw - min(100vw - 2 * var(--gutter), var(--wrap))) / -2);
  align-self: end; background: var(--field) var(--grain);
  padding: calc(var(--cut-h) + .5rem) 0 var(--cut-h);
  -webkit-mask: var(--cut-a) 0 0 / 240px var(--cut-h) repeat-x, var(--cut-b-flip) 60px 100% / 300px var(--cut-h) repeat-x, linear-gradient(#000, #000) 0 calc(var(--cut-h) - 1px) / 100% calc(100% - 2 * var(--cut-h) + 2px) no-repeat;
  mask: var(--cut-a) 0 0 / 240px var(--cut-h) repeat-x, var(--cut-b-flip) 60px 100% / 300px var(--cut-h) repeat-x, linear-gradient(#000, #000) 0 calc(var(--cut-h) - 1px) / 100% calc(100% - 2 * var(--cut-h) + 2px) no-repeat;
}
.hero-print img { width: 100%; height: auto; }

/* ---------- Skiltys ---------- */
.section { padding: var(--space-section) 0; }
.section--rule .wrap { border-top: 3px solid var(--rule); padding-top: clamp(2rem, 4vw, 3rem); }
.section--rule { padding-top: calc(var(--space-section) * .6); }
.section-lead { font-size: 1.2rem; line-height: 1.5; max-width: 52ch; color: var(--fg-soft); margin-bottom: 2.5rem; }
.muted { color: var(--fg-soft); }
.small { font-size: .92rem; }
.nowrap { white-space: nowrap; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.prose { max-width: 64ch; }
.prose-lead { font-size: 1.2rem; line-height: 1.5; }

/* Vieta: raižytas žemėlapis po antrašte */
.place { margin: clamp(2rem, 4vw, 3rem) 0 0; max-width: 380px; }
.place-map { width: 100%; height: auto; }
.place figcaption { margin-top: 1rem; color: var(--fg-soft); }
.place figcaption strong { color: var(--fg); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: block; margin-bottom: .2rem; }

/* Veiklos: vienas pagrindinis + rodyklė, ne vienodos kortelės */
.activities { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); margin-top: 2rem; }
.relief-mark { width: 96px; height: 96px; }
.activity-lead h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); letter-spacing: -0.015em; margin-top: 1rem; }
.activity-lead p { font-size: 1.15rem; line-height: 1.55; }
.activity-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2.5rem; }
.activity-list li { padding: 1.4rem 0; border-top: 2px solid var(--rule); }
.activity-list h3 { margin-bottom: .3rem; }
.activity-list p { margin: 0; color: var(--fg-soft); }

/* Metai: dekoratyvi iliustracija virš juostos. Dienos / nakties failą parenka tos pačios sąlygos kaip ir
   tamsios temos kintamuosius (įrenginio nustatymas be JavaScript arba [data-theme]); paslėptas variantas
   dėl loading="lazy" nesiunčiamas. Kadras kerpamas iš dešinės – gandras kairėje lieka visas. */
.year-art { margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
.year-art-frame { aspect-ratio: 3 / 1; background: var(--field-deep); outline: 1px solid var(--key); outline-offset: -1px; }
.year-art picture { display: block; height: 100%; }
.year-art img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.year-art .year-art-night { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .year-art .year-art-day { display: none; }
  :root:not([data-theme="light"]) .year-art .year-art-night { display: block; }
}
:root[data-theme="dark"] .year-art .year-art-day { display: none; }
:root[data-theme="dark"] .year-art .year-art-night { display: block; }
.year-art-src { margin-top: .7rem; color: var(--fg-soft); font-size: .92rem; }

/* Metai: spaudos juosta */
.year {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 3px solid var(--rule);
}
.year-item { position: relative; padding: 1.25rem .9rem 0 0; display: flex; flex-direction: column; gap: .35rem; }
.year-item::before {
  content: ""; position: absolute; top: -11px; left: 0; width: 3px; height: 19px; background: var(--rule);
}
.year-when { font-size: .9rem; color: var(--fg-soft); }
.year-what { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.year-item--stork::before { width: 15px; height: 15px; top: -9px; left: -6px; background: var(--red); border-radius: 50%; }
.year-item--stork .year-when { color: var(--accent-text); }

/* Metai nuotraukose: trys archyvo atspaudai su šaltinio parašais */
.seasons { margin: clamp(3rem, 6vw, 4.5rem) 0 0; }
.seasons-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 3vw, 2.5rem); }
.seasons-list li { max-width: 360px; }
.seasons-list a { display: block; background: var(--field-deep); outline: 1px solid var(--key); outline-offset: -1px; }
.seasons-list a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.seasons-list img { width: 100%; height: auto; transition: opacity .2s ease-out; }
.seasons-list a:hover img { opacity: .86; }
.seasons-list p { margin: .7rem 0 0; font-size: .98rem; line-height: 1.5; }
.seasons-src { margin: 1.5rem 0 0; color: var(--fg-soft); font-size: .95rem; }

.community { margin-top: clamp(3rem, 6vw, 4.5rem); max-width: 62ch; }
.community h3 { font-size: 1.5rem; }
.community p { color: var(--fg-soft); }

/* Paslaugos */
.services-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.75rem; }
.services-head .h-display { margin: 0; }
.services-head .muted { margin: 0; }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; border-top: 3px solid var(--rule); }
.services li {
  position: relative; padding: .95rem 0 .95rem 2.4rem; border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}
.services li::before {
  content: ""; position: absolute; left: .2rem; top: 1.55rem; width: 1.2rem; height: 4px; background: var(--red);
}

/* Stovykla */
.split--camp { align-items: center; }
.camp-sheet { background: var(--bg); color: var(--fg); padding: clamp(1.25rem, 3vw, 2rem); }
.camp-sheet h3 { font-size: 1.45rem; }
.shifts { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.shifts li { display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; padding: .6rem 0; border-top: 1px solid var(--line); font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.shift-n { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--accent-text); }
.camp-sheet .small { color: var(--fg-soft); }
.camp-sheet .placeholder { margin-top: 1rem; }

/* Žingsniai */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; counter-reset: step; max-width: 960px; }
.steps li { counter-increment: step; border-top: 3px solid var(--rule); padding-top: 1rem; }
.steps li::before {
  content: counter(step); display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 3.5rem; line-height: 1; color: var(--accent-text); margin-bottom: .5rem;
}
.steps p { margin: 0; color: var(--fg-soft); }
.steps li.step-todo { border-top: 3px dashed var(--edge); }
.steps li.step-todo p { color: var(--fg); }
.steps li.step-todo .tag { display: table; margin-bottom: .45rem; }
.steps li.step-todo .step-hl { background: var(--wash-bg); color: var(--wash-fg); padding: .08em .25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.75; }

/* Parama */
.support { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; margin-top: 1.75rem; }
.support .placeholder { margin-top: 0; }
.support-main h3 { font-size: 1.5rem; }
.support-main p { font-size: 1.1rem; }
.quote { margin: clamp(3rem, 6vw, 5rem) 0 0; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.18; max-width: 26ch; margin: 0 0 .75rem;
}
.quote blockquote p::before { content: "„"; color: var(--accent-text); }
.quote blockquote p::after { content: "“"; color: var(--accent-text); }
.quote figcaption { color: var(--fg-soft); font-size: .95rem; }

/* Kontaktai */
.contact-list dl { margin: 0; display: grid; gap: 1.5rem; }
.contact-place { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.contact-place .label { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; color: var(--fg-soft); margin: 0 0 .25rem; }
.contact-place .addr { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.015em; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; margin: 0 0 .5rem; }
.contact-list dl > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.contact-list dt { font-family: var(--font-display); font-size: 1rem; letter-spacing: .01em; color: var(--fg-soft); font-weight: 700; }
.contact-list dd { margin: .25rem 0 0; font-size: 1.2rem; line-height: 1.6; }
.contact-list dd.contact-big { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.015em; font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); line-height: 1.3; font-variant-numeric: tabular-nums; }
.contact-big a { text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Poraštė */
.site-footer { background: var(--bg); color: var(--fg-soft); padding: 3rem 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-inner > div { max-width: 52ch; }
.footer-inner p { margin: 0 0 .4rem; }
.footer-name { color: var(--fg); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }

/* ---------- Archyvo nuotraukos: atspaudai ant popieriaus ----------
   Nuotraukos – vienintelė vieta, kur leidžiamos pilnos spalvos. Jos „priklijuojamos“ kaip atspaudai:
   kvadratiniai kampai, 1px kraštas, jokių šešėlių, neapkarpomos (eilutės lygiuojamos pagal proporcijas). */
.sheet img, .album-row-strip img, .proof-strip img, .story-sheet img { width: 100%; height: auto; }

/* Lygiuotos eilutės: kiekvienas elementas auga pagal savo proporciją (--ar), paskutinė eilutė nesitempia */
.sheet, .album-row-strip, .story-sheet { --row-h: 200px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sheet::after { content: ""; flex: 999 1 0; }
.sheet > li, .album-row-strip > span, .story-sheet > li { flex: var(--ar) 1 calc(var(--ar) * var(--row-h)); min-width: 0; }
.sheet a, .story-sheet a { display: block; background: var(--field); outline: 1px solid var(--key); outline-offset: -1px; }
.sheet a img, .story-sheet a img { transition: opacity .2s ease-out; }
.sheet a:hover img, .story-sheet a:hover img { opacity: .86; }
.sheet a:focus-visible, .story-sheet a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Pradžios puslapis: istorija iš archyvo */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: start; }
.story-text blockquote { margin: 0 0 1rem; }
.story-text blockquote p { font-size: 1.15rem; line-height: 1.55; }
.story-text blockquote p:first-child::before { content: "„"; color: var(--accent-text); font-weight: 700; }
.story-text blockquote p:last-child::after { content: "“"; color: var(--accent-text); font-weight: 700; }
.story-src { color: var(--fg-soft); font-size: .95rem; }
.story-figure { margin: 0; }
.story-sheet { --row-h: 230px; }
.story-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.5rem; margin-top: 1.75rem; padding-top: 1rem; border-top: 3px solid var(--rule); }
.story-more .muted { margin: 0; }

/* Archyvo pradžia: lapas, dešinėje – atspaudų mozaika, išbėganti už krašto */
.archive-hero { padding-top: clamp(2rem, 5vw, 4rem); overflow-x: clip; }
.archive-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.archive-hero h1 { max-width: 11ch; }
.archive-hero .lead { max-width: 40ch; }
.archive-hero .placeholder { max-width: 52ch; }
.proof-strip {
  --row-h: 170px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: start;
  margin-right: calc((100vw - min(100vw - 2 * var(--gutter), var(--wrap))) / -2); max-height: calc(3 * var(--row-h) + 12px); overflow: hidden;
}
.proof-strip li { flex: var(--ar) 1 calc(var(--ar) * var(--row-h)); height: var(--row-h); background: var(--field); outline: 1px solid var(--key); outline-offset: -1px; }
.proof-strip img { height: 100%; width: 100%; object-fit: cover; }

.archive-albums { padding-top: calc(var(--space-section) * .75); }
.archive-note { max-width: 64ch; margin-bottom: 2rem; }
.album-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--rule); }
.album-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem clamp(1.5rem, 4vw, 3rem); padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.album-row-year { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); letter-spacing: -0.02em; line-height: 1; color: var(--accent-text); margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.album-row-year--none { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; color: var(--fg-soft); margin-bottom: .5rem; }
.album-row-title { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.2; margin: 0 0 .35rem; }
.album-row-title a { text-decoration-thickness: 2px; }
.album-row-count { margin: 0; color: var(--fg-soft); font-size: .98rem; }
.album-date { font-size: .92rem; color: var(--fg-soft); margin: .6rem 0 0; }
.album-row-strip { --row-h: 120px; flex-wrap: nowrap; overflow: hidden; text-decoration: none; }
.album-row-strip > span { background: var(--field); outline: 1px solid var(--key); outline-offset: -1px; }
.album-row:hover .album-row-title a { text-decoration-thickness: 4px; }

.chronicle { list-style: none; margin: 0; padding: 0; }
.chronicle li { border-top: 2px solid var(--rule); padding: 1rem 0 .25rem; max-width: 64ch; }
.chronicle p { color: var(--fg-soft); }

/* Albumo puslapis */
.album-head { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.album-head .wrap { position: relative; z-index: 2; }
.album-head::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--cut-h); bottom: calc(1px - var(--cut-h)); transform: scaleY(-1); z-index: 1;
  background: inherit; -webkit-mask: var(--cut-b) 0 0 / 300px 100% repeat-x; mask: var(--cut-b) 0 0 / 300px 100% repeat-x;
}
.crumb { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 700; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.crumb a::before { content: ""; width: .5em; height: .5em; margin-right: .5em; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); }
.album-title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); max-width: 22ch; }
.album-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; color: var(--fg-soft); margin: 0; font-variant-numeric: tabular-nums; }
.album-year { font-family: var(--font-display); font-weight: 800; color: var(--fg); }
.album-body { padding-top: clamp(2.5rem, 5vw, 4rem); }
.album-desc { margin-bottom: 2.5rem; }
.album-desc p:first-child { font-size: 1.2rem; line-height: 1.5; }
.sheet-group + .sheet-group { margin-top: 2.5rem; }
.sheet-cap { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; max-width: 64ch; margin: 0 0 .75rem; padding-top: .75rem; border-top: 2px solid var(--rule); }
.sheet-hint { margin: 2rem 0 0; }
.no-js .sheet-hint { display: none; }
.album-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-bottom: var(--space-section); }
.album-pager a { display: flex; flex-direction: column; gap: .2rem; padding-top: 1rem; border-top: 3px solid var(--rule); text-decoration: none; min-height: 44px; }
.album-pager a:hover .pager-title { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pager-next { text-align: right; }
.pager-label { font-size: .92rem; color: var(--fg-soft); }
.pager-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }

/* Peržiūros langas (lightbox): gilus rašalas abiejose temose (nuotraukoms – tamsus kambarys), kvadratiniai valdikliai */
.lb {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg) var(--grain); color: var(--fg);
  display: none; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "bar bar bar" "prev stage next";
}
.lb[open] { display: grid; }
.lb::backdrop { background: var(--field-deep); }
html.lb-open { overflow: hidden; }
.lb-bar { grid-area: bar; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem var(--gutter); }
.lb-count { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.lb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 48px; min-height: 48px; padding: 0 1rem;
  background: transparent; color: var(--fg); border: 2px solid var(--fg-soft); border-radius: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out;
}
.lb-btn svg { width: 22px; height: 22px; flex: none; }
.lb-btn:hover { background: var(--fg); color: var(--bg); }
.lb-close { border-color: var(--red); background: var(--red); color: #fff; }
.lb-close:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }
.lb-nav { align-self: center; margin: 0 var(--gutter); min-height: 64px; }
.lb-prev { grid-area: prev; }
.lb-next { grid-area: next; }
.lb-stage { grid-area: stage; margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; padding: 0 0 1.25rem; }
.lb-frame { position: relative; width: min(100%, calc(var(--lb-w) * 2), calc((100dvh - 12rem) * var(--lb-ar-n, 1.5))); max-height: calc(100dvh - 12rem); aspect-ratio: var(--lb-ar); }
.lb-img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .18s ease-out; }
.lb-img.is-in { opacity: 1; }
.lb-img.is-pull { clip-path: inset(0 0 100% 0); transition: opacity .1s linear, clip-path .42s cubic-bezier(.16, 1, .3, 1); }
.lb-img.is-pull.is-in { clip-path: inset(0); }
.lb-status[hidden] { display: none; }
.lb-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--fg-soft); text-align: center; padding: 1rem; }
.lb-cap { display: flex; flex-direction: column; gap: .15rem; text-align: center; max-width: 64ch; padding: 0 var(--gutter); }
.lb-cap-text { font-size: 1.05rem; line-height: 1.45; }
.lb-cap-file { font-size: .85rem; color: var(--fg-soft); overflow-wrap: anywhere; }

/* ---------- Responsyvumas ---------- */
@media (max-width: 1080px) {
  .year { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2rem; border-top: 0; }
  .year-item { border-top: 3px solid var(--rule); }
  .support { grid-template-columns: 1fr 1fr; }
  .support-main { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .activities { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .hero-print { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .story, .album-row, .archive-grid { grid-template-columns: minmax(0, 1fr); }
  .proof-strip { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); max-height: calc(2 * var(--row-h) + 6px); }
  .album-row-strip { --row-h: 96px; }
}
@media (max-width: 640px) {
  :root { --gutter: 1.125rem; --cut-h: 16px; --space-section: 3.5rem; }
  html { scroll-padding-top: 76px; }
  .preview-bar { font-size: .8rem; padding-block: .35rem; }
  .preview-more { display: none; }
  .hero-copy h1 { max-width: none; }
  .activity-list, .services { grid-template-columns: minmax(0, 1fr); }
  .year { grid-template-columns: 1fr; row-gap: 0; border-left: 3px solid var(--rule); margin-left: .5rem; padding-left: 1.25rem; }
  .year-item { border-top: 0; padding: .7rem 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: .75rem; }
  .year-item::before { top: 1.35rem; left: calc(-1.25rem - 11px); width: 19px; height: 3px; }
  .year-item--stork::before { top: 1.05rem; left: calc(-1.25rem - 9px); width: 15px; height: 15px; }
  .year-when { order: 2; }
  .year-art-frame { aspect-ratio: 3 / 2; }
  .seasons-list { grid-template-columns: minmax(0, 1fr); }
  .support { grid-template-columns: 1fr; }
  .hero-actions { gap: .75rem 1.5rem; }
  .btn--call { width: 100%; }
  .steps li::before { font-size: 3rem; }
  .sheet { --row-h: 112px; gap: 4px; }
  .story-sheet { --row-h: 130px; gap: 4px; }
  .proof-strip { --row-h: 104px; }
  .album-pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; }
  /* Peržiūra telefone: valdikliai apačioje, po nykščiu */
  .lb { grid-template-columns: 1fr 1fr; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "bar bar" "stage stage" "prev next"; }
  .lb-nav { margin: 0; min-height: 56px; border-width: 2px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .lb-prev { border-right: 1px solid var(--line); }
  .lb-stage { padding-bottom: .75rem; }
  .lb-frame { max-height: calc(100dvh - 14rem); width: min(100%, calc(var(--lb-w) * 2), calc((100dvh - 14rem) * var(--lb-ar-n, 1.5))); }
}

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

@media print {
  :root { --page-bg: #fff; --page-fg: #000; --page-fg-soft: #333; --field: #fff; --field-deep: #fff; --red-field: #fff; --on-field: #000; --on-field-soft: #333; --grain: none; }
  .site-header, .preview-bar, .hero-print, .place-map, .lb, .proof-strip, .theme-switch { display: none; }
  .block-ink--cut::before, .block-red::before, .block-red::after, .album-head::after { display: none; }
  /* Spaudai – visada dienos variantas */
  :root:root .year-art .year-art-day { display: block; }
  :root:root .year-art .year-art-night { display: none; }
}

/* Centro albumas: tikros archyvo akimirkos pirmame ekrane. */
@font-face {font-family:"Source Sans 3";src:url("fonts/source-sans-3-latin.woff2") format("woff2");font-weight:200 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F;}
@font-face {font-family:"Source Sans 3";src:url("fonts/source-sans-3-latin-ext.woff2") format("woff2");font-weight:200 900;font-display:swap;unicode-range:U+0100-024F,U+1E00-1EFF;}
.hero {padding-bottom:clamp(2rem,5vw,4rem)}
.hero-grid {align-items:center;grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
.hero-copy {padding-bottom:0}
.hero-copy h1 {font-size:clamp(2.4rem,4.6vw,4rem);font-weight:700;max-width:15ch;line-height:1.06}
.h-display {font-weight:700}
.hero-album {margin:0;min-width:0}
.hero-photos {display:grid;grid-template-columns:1.3fr 1fr;gap:10px;align-items:stretch}
.hero-photos a {display:block;overflow:hidden;outline:1px solid var(--page-line);outline-offset:-1px}
.hero-photos img {display:block;width:100%;height:180px;object-fit:cover;object-position:center 20%}
.hero-photos .hero-photo-main {grid-column:1/-1}
.hero-photo-main img {height:auto;aspect-ratio:578/434;object-fit:contain}
.hero-album figcaption {font-size:.95rem;color:var(--page-fg-soft);margin-top:.8rem}
#prisijungti {padding-block:clamp(2.5rem,5vw,4.5rem)}
#stovykla {border-top:3px solid var(--red)}
#stovykla::before,#stovykla::after {display:none}
#archyvas {padding-top:clamp(2.5rem,5vw,4rem)}
@media(max-width:850px){
 .hero-grid {display:grid;grid-template-columns:1fr;gap:1.1rem}
 .hero-copy {display:contents}
 .hero-copy h1 {grid-row:1;max-width:18ch;margin-bottom:0}
 .hero-album {grid-row:2}
 .hero-photos>a:not(.hero-photo-main){display:none}
 .hero-photo-main img {max-height:280px;object-fit:contain;background:var(--field)}
 .hero-copy .lead {grid-row:3;font-size:1.12rem;max-width:none;margin:0}
 .hero-actions {grid-row:4;margin-top:0}
 .hero-address {grid-row:5;margin-top:.25rem}
 .hero-album figcaption {font-size:.85rem;margin-top:.5rem}
}

/* ---------- Vaikiška pataisa (2026-11): daugiau spalvų ir piešinėlių ----------
   Antraštė ir „rašalo“ juostos šviesioje temoje tampa dangaus / žolės spalvos, kalti kraštai – bangomis,
   nuotraukos – priklijuotais atspaudais su spalvotais šešėliais, antraštės – su ranka pieštu pabraukimu. */
:root {
  --cut-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V11C40 -3 80 -3 120 11S200 25 240 11V22z'/%3E%3C/svg%3E");
  --cut-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V12Q37.5 -6 75 12T150 12T225 12T300 12V22z'/%3E%3C/svg%3E");
  --cut-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V11Q25 0 50 11T100 11T150 11T200 11V22z'/%3E%3C/svg%3E");
  --scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 14'%3E%3Cpath d='M0 0h56a28 14 0 0 1-56 0z'/%3E%3C/svg%3E");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8c9-7 15-7 24 0s15 7 24 0 15-7 24 0 15 7 24 0 12-6 18-3' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  --doodle: var(--coral);
}
.site-header, .block-ink, #prisijungti {
  --bg: var(--sky-soft); --fg: var(--air-fg); --fg-soft: var(--air-fg-soft); --rule: var(--air-fg);
  --line: var(--air-line); --accent-text: var(--air-accent); --key: var(--air-line); --focus: var(--air-fg);
  --wash-bg: var(--air-wash-bg); --wash-fg: var(--air-wash-fg); --edge: var(--air-edge); --underline: var(--red);
}
#prisijungti, #kontaktai { --bg: var(--grass-soft); }
#prisijungti { --doodle: var(--coral); }
#veiklos, #paslaugos { --doodle: var(--grass); }
#metai, #parama { --doodle: var(--sun); }
#stovykla { --doodle: var(--sun); }
#archyvas, .archive-albums { --doodle: var(--sky); }
#kontaktai { --doodle: var(--coral); }

/* Antraštė: dangaus juosta su debesėlių kraštu */
.site-header { background: var(--bg); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 12px; pointer-events: none;
  background: var(--bg); -webkit-mask: var(--scallop) 0 0 / 48px 12px repeat-x; mask: var(--scallop) 0 0 / 48px 12px repeat-x;
}
.site-nav a { border-radius: 10px; }
.theme-switch-set { border-radius: 12px; overflow: hidden; }
.header-call { border-radius: 999px; }
.nav-toggle { border-radius: 12px; }
.btn { border-radius: 18px; }
.btn--call { box-shadow: 0 5px 0 var(--sun); }
.tag { border-radius: 5px; }

/* Juostos: šviesios, be grūdėtumo, bangos vietoj kaltų kraštų */
.block-ink { background: var(--bg); }
#prisijungti { position: relative; background: var(--bg); color: var(--fg); margin-top: var(--cut-h); }
#prisijungti::before {
  content: ""; position: absolute; left: 0; right: 0; height: var(--cut-h); top: calc(1px - var(--cut-h));
  background: inherit; pointer-events: none;
  -webkit-mask: var(--cut-c) 0 0 / 200px 100% repeat-x; mask: var(--cut-c) 0 0 / 200px 100% repeat-x;
}
#prisijungti.section--rule .wrap { border-top: 0; padding-top: 0; }
#stovykla { border-top: 0; }
#stovykla::before, #stovykla::after { display: block; }
.section--rule .wrap { border-top: 5px dotted var(--doodle); }

/* Antraštės: ranka pieštas spalvotas pabraukimas */
.h-display::after {
  content: ""; display: block; width: min(5.5em, 70%); height: .32em; margin-top: .28em;
  background: var(--doodle); -webkit-mask: var(--squiggle) 0 0 / 100% 100% no-repeat; mask: var(--squiggle) 0 0 / 100% 100% no-repeat;
}
.services-head .h-display::after { margin-bottom: .2em; }
.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.14em; height: .2em;
  background: var(--coral); -webkit-mask: var(--squiggle) 0 0 / 100% 100% no-repeat; mask: var(--squiggle) 0 0 / 100% 100% no-repeat;
}

/* Piešinėliai: plokščios spalvos su rašalo kontūru; kontūras seka temą */
.doodle { overflow: visible; pointer-events: none; }
.doodle * { vector-effect: non-scaling-stroke; }
.doodle .dl { stroke: var(--doodle-line); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.doodle .dn { fill: none; }
/* Laisvos linijos (be užpildo po jomis) tamsioje temoje šviesios, kad neišnyktų nakties lape */
.doodle .df { stroke: var(--doodle-free); }
.doodle .df.d-ink { fill: var(--doodle-free); }
.doodle .d-ink { fill: var(--doodle-line); }
.doodle .d-ray { fill: none; stroke: var(--sun); stroke-width: 4.5; stroke-linecap: round; }
.doodle .f-sky { fill: var(--sky); }
.doodle .f-grass { fill: var(--grass); }
.doodle .f-coral { fill: var(--coral); }
.doodle .f-sun { fill: var(--sun); }
.doodle .f-paper { fill: var(--doodle-paper); }

/* Pradžia: nuotraukos kaip priklijuoti atspaudai, aplink – saulė, kamuolys, pieštukas, lapas */
.hero-photos { position: relative; gap: 22px 20px; }
.hero-photos a {
  overflow: visible; outline: 0; background: var(--frame); padding: 8px; position: relative;
  box-shadow: 8px 8px 0 var(--grass); rotate: 1.4deg; transition: rotate .25s cubic-bezier(.16, 1, .3, 1);
}
.hero-photos a:last-of-type { box-shadow: 8px 8px 0 var(--sun); rotate: -1.6deg; }
.hero-photos .hero-photo-main { box-shadow: 12px 12px 0 var(--sky); rotate: -1.1deg; }
.hero-photos a:hover { rotate: 0deg; }
.hero-photos a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.hero-photo-main::before {
  content: ""; position: absolute; z-index: 1; top: -13px; left: calc(50% - 46px); width: 92px; height: 26px;
  background: var(--coral); opacity: .9; rotate: -3deg;
}
.hero-photos .doodle { position: absolute; z-index: 2; }
.hero-photos .doodle-sun { width: 96px; top: -46px; right: -30px; rotate: 10deg; }
.hero-photos .doodle-ball { width: 70px; left: -34px; bottom: -26px; rotate: -12deg; }
.hero-photos .doodle-pencil { width: 92px; right: -30px; bottom: -34px; }
.hero-photos .doodle-leaf { width: 62px; left: -36px; top: 15%; rotate: -28deg; }
.hero-photos img { height: 150px; }
.hero-photo-main img { height: auto; }
.hero-album figcaption { margin-top: 1.6rem; }
.hero { padding-bottom: clamp(3rem, 6vw, 5rem); }

/* Žingsniai: skaičiai spalvotuose skrituliuose */
.steps li { border-top: 0; padding-top: 0; }
.steps li::before {
  display: grid; place-items: center; width: 1.55em; height: 1.55em; border-radius: 50%;
  font-size: 2.4rem; color: var(--fg); background: var(--coral-soft); box-shadow: inset 0 0 0 3px var(--coral); margin-bottom: .8rem;
}
.steps li:nth-child(2)::before { background: var(--sky-soft); box-shadow: inset 0 0 0 3px var(--sky); }
.steps li.step-todo { border-top: 0; }
#prisijungti .wrap { position: relative; }
.steps-doodle { position: absolute; right: 0; bottom: -1rem; width: 150px; rotate: 6deg; }

/* Veiklos: kiekviena su savo piešinėliu */
.relief-mark { width: 112px; height: 112px; rotate: -5deg; }
.activity-list li { display: flex; gap: 1rem; align-items: flex-start; border-top: 3px dotted var(--line); }
.activity-list .doodle { flex: none; width: 54px; height: 54px; margin-top: .1rem; }
.activity-list li:nth-child(odd) .doodle { rotate: -6deg; }
.activity-list li:nth-child(even) .doodle { rotate: 5deg; }

/* Metai: iliustracija ir nuotraukos rėmeliuose */
.year-art-frame { outline: 0; border: 8px solid var(--frame); border-radius: 20px; overflow: hidden; box-shadow: 10px 10px 0 var(--sun); }
.seasons-list a { background: var(--frame); padding: 7px; outline: 0; box-shadow: 7px 7px 0 var(--coral); rotate: -1.2deg; }
.seasons-list li:nth-child(2) a { box-shadow: 7px 7px 0 var(--grass); rotate: 1deg; }
.seasons-list li:nth-child(3) a { box-shadow: 7px 7px 0 var(--sky); rotate: -.6deg; }
.year-item--stork::before { background: var(--coral); }

/* Sąrašai: spalvoti taškai vietoj brūkšnių */
.services { border-top: 5px dotted var(--doodle); }
.services li::before { width: .8rem; height: .8rem; border-radius: 50%; top: 1.4rem; left: .4rem; background: var(--coral); }
.services li:nth-child(3n + 2)::before { background: var(--sky); }
.services li:nth-child(3n)::before { background: var(--grass); }
.camp-sheet { border-radius: 18px; box-shadow: 10px 10px 0 var(--sun); }
.story-more { border-top: 5px dotted var(--doodle); }
.contact-doodle { width: 64px; margin-bottom: .75rem; rotate: 18deg; }

@media (max-width: 1080px) {
  .steps-doodle { display: none; }
}
@media (max-width: 850px) {
  .hero-photos { gap: 0; margin: 14px 6px 8px 0; }
  .hero-photo-main img { background: var(--frame); }
  .hero-photos .hero-photo-main { box-shadow: 8px 8px 0 var(--sky); }
  .hero-photos .doodle-sun { width: 68px; top: -32px; right: -8px; }
  .hero-photos .doodle-ball { width: 48px; left: -10px; bottom: -16px; }
  .hero-photos .doodle-pencil { width: 60px; right: -6px; bottom: -22px; }
  .hero-photos .doodle-leaf { display: none; }
  .hero-album figcaption { margin-top: 1.3rem; }
}
@media (max-width: 640px) {
  .activity-list .doodle { width: 46px; height: 46px; }
  .year-art-frame { border-width: 6px; border-radius: 14px; box-shadow: 6px 6px 0 var(--sun); }
  .camp-sheet { box-shadow: 6px 6px 0 var(--sun); }
  .seasons-list li { margin-right: 8px; }
}
@media print {
  .doodle, .site-header::after, #prisijungti::before, .hero-photo-main::before { display: none; }
  .hero-photos a, .seasons-list a, .year-art-frame, .camp-sheet, .btn--call { box-shadow: none; rotate: none; }
}

@media (prefers-reduced-motion: reduce) { .hero-photos a { transition: none; } }

/* Popieriaus upė: iliustruota pradžia, tikros nuotraukos tik archyve. */
.illustration-frame {position:relative; padding:8px; background:var(--frame); box-shadow:10px 10px 0 var(--sky); border-radius:22px; transform:rotate(-1deg)}
.illustration-frame img {display:block; width:100%; height:auto; border-radius:15px}
.hero-illustration {padding:15px 10px 5px 0}
.hero-illustration figcaption {margin-top:1.3rem}
.seasons-list li {padding:1rem 0 0; border-top:5px dotted var(--coral)}
.seasons-list li:nth-child(2) {border-color:var(--grass)}
.seasons-list li:nth-child(3) {border-color:var(--sky)}
.story-illustration {background:var(--frame);padding:8px;border-radius:18px;box-shadow:8px 8px 0 var(--grass);margin-bottom:1rem}
.story-illustration img {display:block;width:100%;height:auto;border-radius:12px}
:root[data-theme="dark"] .hero-illustration img,:root[data-theme="dark"] .story-illustration img {filter:brightness(.88) saturate(.92)}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .hero-illustration img,:root:not([data-theme="light"]) .story-illustration img {filter:brightness(.88) saturate(.92)}}
@media(max-width:850px){.hero-illustration {grid-row:2}.illustration-frame {padding:5px;box-shadow:6px 6px 0 var(--sky)}}

/* ---------- Antriniai puslapiai: Tėvams, Apie centrą, Dokumentai (2026-11) ----------
   Ta pati sistema kaip pradžioje: dangaus juostos antraštė, punktyrinės skilčių linijos, geltona – tik ruošiniams. */
.d-sky { --doodle: var(--sky); }
.d-grass { --doodle: var(--grass); }
.d-coral { --doodle: var(--coral); }
.d-sun { --doodle: var(--sun); }
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-head .wrap { position: relative; z-index: 2; }
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--cut-h); bottom: calc(1px - var(--cut-h)); transform: scaleY(-1); z-index: 1;
  background: inherit; pointer-events: none; -webkit-mask: var(--cut-b) 0 0 / 300px 100% repeat-x; mask: var(--cut-b) 0 0 / 300px 100% repeat-x;
}
.page-head h1 { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.8rem); font-weight: 700; max-width: 16ch; margin-bottom: .4em; }
.page-head .lead { max-width: 48ch; }
.page-jump ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.page-jump a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.page-head + .section { padding-top: calc(var(--space-section) * .85 + var(--cut-h)); }
.link-row { display: flex; flex-wrap: wrap; gap: .1rem 1.75rem; margin: 1.25rem 0 0; }
.invite-lead { font-size: 1.15rem; line-height: 1.55; max-width: 56ch; margin: 1.25rem 0 0; }
.services--single { grid-template-columns: minmax(0, 1fr); }
.facts { margin: 1.5rem 0 0; }
.facts > div { border-top: 3px dotted var(--line); padding: .9rem 0; }
.facts dt { font-family: var(--font-display); font-weight: 700; color: var(--fg-soft); }
.facts dd { margin: .2rem 0 0; }
/* Ruošinio sąrašas: kiekviena eilutė – tas pats geltonas žymeklis kaip ruošinio pastraipoje */
.placeholder ul { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .3rem; justify-items: start; }
.placeholder li { position: relative; background: var(--wash-bg); color: var(--wash-fg); padding: .15em .5em .15em 1.5em; }
.placeholder li::before { content: "–"; position: absolute; left: .5em; }
.split > .placeholder { margin-top: 0; }
.page-contact { --bg: var(--grass-soft); --doodle: var(--coral); }
.page-contact .hero-actions { margin-top: 1.5rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); font-family: var(--font-display); font-weight: 700; }
@media (max-width: 640px) {
  .page-jump ul { gap: 0 1.25rem; }
  .footer-nav ul { flex-direction: column; }
}
@media print { .page-head::after, .page-jump { display: none; } }
