/* MAS — green, ink, paper. Display serif (stand-in until Aventena webfont), DM Sans body, marker faces for stickers only. */
:root {
  --green: #8DD77C;
  --ink: #0B0B0B;
  --paper: #F6F4EE;
  --white: #FFFFFF;
  --stone: #D9D7D2;
  --muted: rgba(11, 11, 11, 0.68);
  --line: rgba(11, 11, 11, 0.22);
  --muted-inv: rgba(246, 244, 238, 0.74);
  --line-inv: rgba(246, 244, 238, 0.2);
  --display: 'Gloock', 'Times New Roman', serif;
  --body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --hand: 'Caveat', 'Comic Sans MS', cursive;
  --marker: 'Permanent Marker', 'Comic Sans MS', cursive;
  --gutter: 20px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 6vw, 52px); line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
.lead { margin: 0; font-size: 19px; line-height: 1.45; max-width: 34ch; }
.prose { margin: 0; font-size: 18px; line-height: 1.6; max-width: 60ch; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--green); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-right: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { height: 38px; width: auto; }
.brand span { font-size: 13px; font-weight: 600; line-height: 1.15; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.nav-desktop { display: none; gap: 28px; margin-right: 18px; }
.nav-desktop a { font-size: 16px; font-weight: 500; text-decoration: none; }
.nav-desktop a:hover { text-decoration: underline; text-underline-offset: 5px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.menu-panel { position: fixed; left: 0; right: 0; bottom: 0; top: calc(64px + env(safe-area-inset-top, 0px)); background: var(--ink); color: var(--paper); overflow-y: auto; z-index: 60; }
.menu-panel nav { display: flex; flex-direction: column; padding-block: 16px 40px; }
.menu-panel a { min-height: 64px; display: flex; align-items: center; font-family: var(--display); font-size: 32px; text-transform: uppercase; text-decoration: none; color: var(--paper); border-bottom: 1px solid var(--line-inv); }
.menu-panel a:hover { color: var(--green); }
.menu-panel a.menu-cta { margin-top: 28px; min-height: 56px; justify-content: center; font-family: var(--body); font-size: 18px; text-transform: none; color: var(--ink); border-bottom: 0; }
.menu-panel a.menu-cta:hover { color: var(--ink); }
body.menu-open { overflow: hidden; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .menu-panel { display: none; }
  .brand span { font-size: 14px; }
}

/* Buttons */
.btn { min-height: 56px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-size: 18px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-green { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn svg { flex-shrink: 0; }
.btn { white-space: nowrap; }

/* Hero */
.hero { background: var(--green); }
.hero-grid { display: grid; gap: 0; }
.hero-copy { padding-block: 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.title-art { display: flex; flex-direction: column; gap: 14px; }
.title-art .t1 { width: 100%; max-width: 560px; height: auto; }
.title-art .t2 { width: 128px; height: auto; }
.facts { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); margin: 0; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.facts dd { margin: 0; font-size: 17px; font-weight: 600; text-align: right; }
.cta-stack { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.hero-photo { width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter)); height: 360px; object-fit: cover; object-position: 50% 35%; }
.page-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 13vw, 96px); line-height: 0.92; text-transform: uppercase; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .hero-copy { padding-block: 64px; padding-right: 48px; }
  .hero-photo { width: 100%; margin-inline: 0; height: 100%; min-height: 560px; border-radius: 0; }
  .hero .wrap.hero-grid { padding-right: 0; }
  .cta-stack { flex-direction: row; }
}

/* Sections */
.section { padding-block: 64px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: var(--green); }

/* Kas laukia */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mosaic img { width: 100%; height: 170px; object-fit: cover; border-radius: 16px; }
.mosaic .wide { grid-column: 1 / -1; height: 250px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 24px; padding: 0; list-style: none; }
.pills li { height: 42px; padding: 0 16px; display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 16px; font-weight: 500; }
.feature { background: var(--green); border-radius: 20px; overflow: hidden; display: grid; }
.feature img { width: 100%; height: 320px; object-fit: cover; object-position: 50% 55%; }
.feature-body { padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 10px; }
.feature-body h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.feature-body p { margin: 0; font-size: 17px; }
@media (min-width: 900px) {
  .laukia-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .mosaic img { height: 220px; }
  .mosaic .wide { height: 340px; }
  .pills { margin-top: 0; }
}

/* Registracija */
.info-list { display: flex; flex-direction: column; margin: 0 0 28px; }
.info-list > div { display: flex; flex-direction: column; gap: 6px; padding-block: 18px; border-top: 1px solid var(--line-inv); }
.info-list > div:last-child { border-bottom: 1px solid var(--line-inv); }
.info-list h3 { margin: 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; }
.info-list .price { font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--green); }
.info-list p { margin: 0; font-size: 16px; color: var(--muted-inv); max-width: 60ch; }
.reg-foot { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.reg-foot .note { font-size: 15px; color: var(--muted-inv); text-align: center; }
.reg-foot .note strong { color: var(--paper); user-select: all; }
@media (min-width: 900px) {
  .reg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .reg-foot { align-items: flex-start; }
  .reg-foot .note { text-align: left; }
}

/* Akimirkos collage */
.akimirkos { background: var(--green); overflow: hidden; padding-block: 64px; }
.akimirkos .h2 { font-size: clamp(56px, 12vw, 96px); line-height: 0.95; }
.collage-frame { margin-block: 32px; }
.collage { position: relative; width: 390px; height: 1410px; margin-inline: auto; }
.collage > * { position: absolute; }
.collage img { object-fit: cover; border-radius: 14px; box-shadow: 0 12px 28px rgba(11, 11, 11, 0.25); }
.collage .bleed { border-radius: 0; }
.bubble { box-sizing: border-box; padding: 14px 18px 16px; border-radius: 22px; font-family: var(--hand); font-weight: 700; line-height: 1.05; box-shadow: 0 8px 18px rgba(11, 11, 11, 0.22); }
.bubble::after { content: ''; position: absolute; bottom: -9px; width: 20px; height: 20px; background: inherit; transform: rotate(45deg); border-radius: 3px; }
.bubble.tail-left::after { left: 28px; }
.bubble.tail-right::after { right: 28px; }
.bubble.ink { background: var(--ink); color: var(--paper); }
.bubble.paper { background: var(--paper); color: var(--ink); }
.marker-tag { padding: 10px 16px; background: var(--ink); color: var(--green); border-radius: 12px; font-family: var(--marker); font-size: 22px; line-height: 1; white-space: nowrap; box-shadow: 0 8px 18px rgba(11, 11, 11, 0.25); }
.whiteboard { width: 176px; height: 124px; padding: 10px 14px; background: var(--white); border: 7px solid var(--stone); border-radius: 14px; box-shadow: 0 8px 18px rgba(11, 11, 11, 0.22); display: flex; flex-direction: column; justify-content: center; }
.whiteboard .big { font-family: var(--marker); font-size: 38px; line-height: 1; }
.whiteboard .small { font-family: var(--hand); font-weight: 700; font-size: 24px; line-height: 1.1; padding-left: 8px; }
.badge { width: 82px; height: 82px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(11, 11, 11, 0.2); }
.badge img { height: 52px; width: auto; box-shadow: none; border-radius: 0; }

/* Apie + programs */
.about-photo { width: 100%; height: 260px; object-fit: cover; object-position: 55% 40%; border-radius: 16px; margin-block: 24px; }
.program-links { display: grid; gap: 12px; }
.program { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 16px; text-decoration: none; }
.program img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.program .txt { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; min-width: 0; }
.program .name { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.program .meta { font-size: 15px; }
.program.ink { background: var(--ink); color: var(--paper); }
.program.ink .meta { color: var(--muted-inv); }
.program.light { background: var(--white); border: 1px solid var(--line); }
.program.light .meta { color: var(--muted); }
@media (min-width: 900px) {
  .about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .about-photo { height: 420px; margin: 0; }
  .program-links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
}

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 64px; padding-block: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex-shrink: 0; transition: transform 0.2s ease; }
.faq details[open] summary { font-weight: 600; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 60ch; }

/* Footer */
.site-footer { background: var(--green); padding-block: 48px 40px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 64px; width: auto; }
.foot-brand .n1 { font-size: 17px; font-weight: 600; line-height: 1.25; }
.foot-brand .n2 { font-size: 14px; font-weight: 500; color: var(--muted); }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.foot-nav a { min-height: 44px; display: flex; align-items: center; font-size: 17px; font-weight: 500; text-decoration: none; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; padding-top: 24px; border-top: 1.5px solid var(--ink); }
.foot-contact .label { font-size: 14px; font-weight: 500; color: var(--muted); }
.foot-contact a { font-size: 18px; font-weight: 600; }
.foot-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.foot-meta a { min-height: 44px; display: flex; align-items: center; }
@media (min-width: 900px) {
  .site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .foot-meta { grid-column: 1 / -1; }
}

/* Vasaros page */
.summer-hero { position: relative; }
.summer-hero img { width: 100%; height: 420px; object-fit: cover; object-position: 55% 40%; }
.summer-hero .panel { background: var(--green); }
@media (min-width: 900px) { .summer-hero .panel { display: flex; align-items: center; } .summer-hero .panel .wrap { padding-inline: 48px; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; }
.steps li { counter-increment: step; display: flex; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line-inv); }
.steps li:last-child { border-bottom: 1px solid var(--line-inv); }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 30px; line-height: 1; color: var(--green); width: 28px; flex-shrink: 0; }
.steps h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.steps p { margin: 0; font-size: 16px; color: var(--muted-inv); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 8px; grid-auto-flow: dense; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.gallery .w2 { grid-column: span 2; }
.gallery .h2x { grid-row: span 2; }
@media (min-width: 900px) {
  .summer-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .summer-hero img { height: 100%; min-height: 640px; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 12px; }
}
