/* „Po stiebą“ – printed Saturday schedule look. Warm paper, dark green ink, red pencil. */

/* ---------- Fonts (self-hosted; latin + latin-ext cover all Lithuanian letters) ---------- */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/fraunces-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: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/fraunces-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/fraunces-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: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/fraunces-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/fraunces-latin-ext-400-italic.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: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/fraunces-latin-400-italic.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-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 Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-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 Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-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+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: 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f3ebdb;
  --paper-deep: #ebdfc6;
  --card: #fbf6ea;
  --ink: #1c3a2a;
  --ink-soft: #46604f;
  --ink-faint: #7d8f80;
  --rule: rgba(28, 58, 42, .22);
  --rule-strong: rgba(28, 58, 42, .55);
  --pencil: #c4402c;
  --pencil-soft: rgba(196, 64, 44, .12);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --radius: 4px;
  --wrap: 1180px;
  --pad: clamp(18px, 4.5vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  /* subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .28  0 0 0 0 .16  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--pencil); }
:focus-visible { outline: 2.5px solid var(--pencil); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.muted { color: var(--ink-faint); }
.label, .section-no, .sheet-head, .legend-note, .stamp, .form-badge {
  font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--card); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  font: 600 16px/1.2 var(--sans); letter-spacing: .01em;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .1s, box-shadow .15s;
}
.btn:hover { color: var(--ink); background: rgba(28,58,42,.06); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--card); box-shadow: 3px 3px 0 var(--pencil); }
.btn-primary:hover { background: #24493a; color: var(--card); }
.btn-primary:disabled { background: var(--ink-faint); border-color: var(--ink-faint); box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: var(--card); }
.btn-danger { border-color: var(--pencil); color: var(--pencil); background: var(--card); }
.btn-danger:hover { background: var(--pencil); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 14px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-link { border: 0; background: none; padding: 0; min-height: 0; font: inherit; color: var(--pencil); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 235, 219, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.logo-mark { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark circle { stroke: var(--pencil); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { text-decoration: none; padding: 8px 12px; font-size: 15px; border-radius: var(--radius); }
.site-nav a:not(.nav-cta) { display: none; }
.nav-cta { border: 1.5px solid var(--ink); font-weight: 600; }
.nav-cta:hover { background: var(--ink); color: var(--card); }
@media (min-width: 860px) { .site-nav a:not(.nav-cta) { display: inline-block; } }

/* ---------- Hero / schedule sheet ---------- */
.hero { padding: 14px 0 36px; }
.sheet-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 3px double var(--rule-strong); border-bottom: 1px solid var(--rule-strong);
  padding: 7px 0; margin-bottom: 18px; color: var(--ink-soft); font-size: 11.5px;
}
.hero-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.hero-title {
  font-size: clamp(2.65rem, 11.4vw, 6.4rem);
  line-height: .98; letter-spacing: -.025em; font-weight: 400;
  font-variation-settings: 'SOFT' 50, 'WONK' 0;
}
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -24px rgba(28,58,42,.55); }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-soft); margin-top: 8px; }
.credit { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .04em; color: var(--ink-faint); }
.hero-lead { font-size: 18px; max-width: 34em; color: var(--ink-soft); margin: 0; }

/* next workshop card */
.next-card {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 14px 16px 16px; position: relative;
  box-shadow: 0 14px 30px -24px rgba(28,58,42,.6);
}
.next-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.next-top .label { color: var(--ink-soft); font-size: 11.5px; }
.next-body { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; margin-bottom: 12px; min-height: 104px; }
.next-date { display: grid; justify-items: center; text-align: center; line-height: 1; padding: 0 6px; }
.next-month { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.next-day-wrap { position: relative; display: inline-block; padding: 6px 14px 2px; }
.next-day { font-family: var(--serif); font-size: 58px; line-height: 1; font-weight: 400; display: block; min-width: 1.2em; }
.next-weekday { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-soft); }
.pencil-circle { position: absolute; inset: -10px -18px -6px -16px; width: calc(100% + 34px); height: calc(100% + 16px); overflow: visible; pointer-events: none; }
.pencil-circle path {
  fill: none; stroke: var(--pencil); stroke-width: 3.1; stroke-linecap: round; stroke-linejoin: round; opacity: .9;
  stroke-dasharray: 420; stroke-dashoffset: 0;
}
.next-card:not(.is-ready) .pencil-circle { opacity: 0; }
.next-card.is-ready .pencil-circle path { animation: draw 1.1s .25s cubic-bezier(.6,.1,.3,1) both; }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .next-card.is-ready .pencil-circle path { animation: none; } }
.next-info p { margin: 0; }
.next-line { font-size: 17px; }
.next-time { font-family: var(--mono); font-weight: 500; font-size: 18px; }
.next-workshop { font-family: var(--serif); font-size: 21px; line-height: 1.15; margin: 2px 0 4px !important; }
.next-seats { font-size: 14.5px; color: var(--ink-soft); }
.seats-low { color: var(--pencil) !important; font-weight: 600; }
.skeleton { color: transparent !important; background: linear-gradient(90deg, var(--paper-deep), #f1e7d3, var(--paper-deep)); background-size: 200% 100%; border-radius: 3px; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.next-empty { grid-column: 1 / -1; margin: 0; }

/* city switch (segmented) */
.city-switch { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; background: var(--card); }
.city-switch button {
  appearance: none; border: 0; background: transparent; color: var(--ink); cursor: pointer;
  font: 600 14px/1 var(--sans); padding: 9px 14px; min-height: 36px; border-radius: 999px;
}
.city-switch button[aria-pressed="true"] { background: var(--ink); color: var(--card); }

@media (min-width: 900px) {
  .hero { padding: 22px 0 64px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "title photo" "lead photo" "card photo";
    column-gap: clamp(32px, 5vw, 72px); row-gap: 24px; align-items: start;
  }
  .hero-title { grid-area: title; }
  .hero-lead { grid-area: lead; }
  .next-card { grid-area: card; max-width: 520px; }
  .hero-photo { grid-area: photo; align-self: stretch; }
  .hero-photo img { height: calc(100% - 34px); aspect-ratio: auto; min-height: 520px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 110px) 0; border-top: 1px solid var(--rule); }
.section-alt { background: rgba(235, 223, 198, .45); }
.section-no { color: var(--pencil); margin-bottom: 10px; }
.section h2 { font-size: clamp(2rem, 5.6vw, 3.4rem); max-width: 18em; margin-bottom: 14px; }
.section-lead { max-width: 40em; color: var(--ink-soft); font-size: 18px; margin-bottom: 28px; }

/* steps as schedule rows */
.steps { list-style: none; padding: 0; margin: 30px 0 36px; border-top: 1.5px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 1fr; gap: 4px 28px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.step-time { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--pencil); }
.steps h3 { font-size: 23px; }
.steps p { margin: 0; color: var(--ink-soft); max-width: 40em; }
@media (min-width: 760px) {
  .steps li { grid-template-columns: 120px minmax(200px, 1fr) 1.4fr; align-items: baseline; }
}

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 0 48px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--card); }
.facts div { padding: 14px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts div:nth-child(2n) { border-right: 0; }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.2; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div { border-bottom: 0 !important; border-right: 1px solid var(--rule) !important; }
  .facts div:last-child { border-right: 0 !important; }
}

.list-title { font-size: 26px; margin-bottom: 8px; }
.workshops { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.workshops li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px dashed var(--rule-strong); }
.workshops h4 { font-size: 22px; margin-bottom: 4px; }
.workshops p { margin: 0; color: var(--ink-soft); max-width: 36em; }
.price { font-family: var(--mono); font-weight: 500; font-size: 18px; white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; grid-template-columns: 1fr; }
.gallery li { position: relative; background: var(--card); padding: 10px 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 12px 26px -22px rgba(28,58,42,.7); display: flex; flex-direction: column; }
.g-open { display: block; overflow: hidden; border-radius: 2px; cursor: zoom-in; flex: 1; }
.g-open img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s ease; }
.g-open:hover img { transform: scale(1.03); }
.g-cap { font-family: var(--serif); font-style: italic; font-size: 16px; margin: 10px 2px 0; color: var(--ink-soft); }
.btn-want { margin-top: 10px; align-self: flex-start; }
@media (min-width: 620px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery li:nth-child(3n+2) { transform: translateY(26px); }
  .g-tall .g-open img { aspect-ratio: 4 / 5; }
  .g-wide .g-open img { aspect-ratio: 4 / 5; }
  .gallery { margin-bottom: 56px; }
}
.credits { font-size: 15px; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 14px; }
.credits summary { cursor: pointer; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.credits ul { padding-left: 18px; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0f1d15; color: #f3ebdb; overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: #0f1d15; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: max(10px, env(safe-area-inset-top)) 14px 6px; }
.lb-count { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; opacity: .8; }
.lb-close { appearance: none; border: 1px solid rgba(243,235,219,.4); background: transparent; color: inherit; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.lb-stage { position: relative; overflow: hidden; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.lb-track { display: flex; height: 100%; will-change: transform; }
.lb-track.animate { transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.lb-slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 6px; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); appearance: none; border: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(243,235,219,.14); color: #f3ebdb; font-size: 34px; line-height: 1; cursor: pointer; display: none; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-nav:hover { background: rgba(243,235,219,.28); }
@media (hover: hover) and (min-width: 700px) { .lb-nav { display: block; } }
.lb-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 16px max(16px, env(safe-area-inset-bottom)); }
.lb-cap { margin: 0; font-family: var(--serif); font-size: 18px; }
.lb-cap small { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; opacity: .7; margin-top: 2px; }
.lightbox .btn-primary { background: #f3ebdb; color: var(--ink); border-color: #f3ebdb; box-shadow: 3px 3px 0 var(--pencil); }

/* ---------- Locations ---------- */
.place { display: grid; gap: 20px; grid-template-columns: 1fr; }
.place-map-wrap { position: relative; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper-deep); }
.place-map { height: 340px; width: 100%; }
.place-map .leaflet-tile-pane { filter: sepia(.35) saturate(.75) hue-rotate(-8deg) contrast(.96); }
.place-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 18px; }
.place-card .city-switch { margin-bottom: 18px; }
.stamp { display: inline-block; color: var(--pencil); border: 1.5px solid var(--pencil); padding: 4px 8px; border-radius: 3px; transform: rotate(-1.5deg); font-size: 11.5px; margin-bottom: 10px; }
.place-card h3 { font-size: 28px; }
.place-city { color: var(--ink-soft); margin-bottom: 14px; }
.place-list-title { margin: 22px 0 6px; color: var(--ink-soft); font-size: 11.5px; }
.place-sessions { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.place-sessions li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.place-sessions .ps-when { font-family: var(--mono); font-weight: 500; font-size: 14px; }
.place-sessions .ps-what { grid-column: 1; color: var(--ink-soft); }
.place-sessions .btn { grid-row: 1 / span 2; grid-column: 2; }
.pin { width: 30px; height: 30px; }
.pin span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--pencil); background: rgba(251,246,234,.9); box-shadow: 0 0 0 4px rgba(196,64,44,.18); position: relative; }
.pin span::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--ink); }
.leaflet-popup-content-wrapper { border-radius: 4px; background: var(--card); color: var(--ink); font-family: var(--sans); }
.leaflet-popup-content { margin: 12px 14px; font-size: 14px; line-height: 1.35; }
.leaflet-popup-content strong { font-family: var(--serif); font-weight: 400; font-size: 17px; display: block; }
.popup-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pencil); }
.leaflet-container { font-family: var(--sans); }
@media (min-width: 900px) {
  .place { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
  .place-map { height: 100%; min-height: 520px; }
}

/* ---------- Booking ---------- */
.booking-layout { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .booking-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.booking { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 18px 16px 20px; position: relative; }
@media (min-width: 600px) { .booking { padding: 26px 28px 28px; } }
.form-badge { display: inline-block; background: var(--pencil-soft); color: var(--pencil); padding: 5px 9px; border-radius: 3px; font-size: 11.5px; margin-bottom: 8px; }
.booking fieldset { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 16px 0 18px; min-width: 0; }
.booking legend { font-family: var(--serif); font-size: 21px; padding: 0 0 10px; display: flex; align-items: baseline; gap: 10px; float: left; width: 100%; }
.booking legend + * { clear: both; }
.booking .n { font-family: var(--mono); font-size: 12px; width: 24px; height: 24px; border: 1.5px solid var(--ink); border-radius: 50%; display: inline-grid; place-items: center; transform: translateY(-2px); flex: none; }
.legend-note { color: var(--ink-faint); font-size: 11px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper);
  font-size: 15px; line-height: 1.2; cursor: pointer; transition: border-color .12s, background .12s;
}
.chip small { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--card); }
.chip input:checked + span small { color: rgba(251,246,234,.75); }
.chip input:focus-visible + span { outline: 2.5px solid var(--pencil); outline-offset: 2px; }
.chip input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.chips-dates .chip span { min-width: 104px; }

.times { display: grid; gap: 8px; }
.time { position: relative; }
.time input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.time > span {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "clock left" "name name"; gap: 2px 14px; align-items: baseline;
  padding: 12px 14px; border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); cursor: pointer;
}
.time .t-clock { grid-area: clock; font-family: var(--mono); font-weight: 500; font-size: 16px; white-space: nowrap; }
.time .t-name { grid-area: name; font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.time .t-left { grid-area: left; font-size: 14px; color: var(--ink-soft); text-align: right; white-space: nowrap; }
@media (min-width: 560px) {
  .time > span { grid-template-columns: 120px 1fr auto; grid-template-areas: "clock name left"; }
}
.time input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--card); }
.time input:checked + span .t-clock { color: var(--pencil); }
.time input:focus-visible + span { outline: 2.5px solid var(--pencil); outline-offset: 2px; }
.time input:disabled + span { opacity: .5; cursor: not-allowed; }
.times .muted { margin: 0; }

.seats-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.stepper button { appearance: none; border: 0; background: transparent; width: 48px; height: 48px; font-size: 24px; color: var(--ink); cursor: pointer; }
.stepper button:disabled { color: var(--ink-faint); opacity: .5; cursor: not-allowed; }
.stepper output { min-width: 40px; text-align: center; font-family: var(--serif); font-size: 26px; }
.seats-note { margin: 0; font-size: 15px; color: var(--ink-soft); }

.guest { border-top: 1px solid var(--rule); padding: 16px 0; }
.guest .label { color: var(--ink-soft); font-size: 11.5px; }
.guest p { margin: 4px 0 0; font-size: 15.5px; }
.summary { border-top: 1.5px solid var(--ink); padding: 14px 0; font-size: 15.5px; }
.summary strong { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.summary p { margin: 0 0 4px; }
.form-status { margin: 12px 0 0; min-height: 1.5em; font-size: 15.5px; }
.form-status.error { color: var(--pencil); font-weight: 600; }

.my-bookings .label { color: var(--ink-soft); font-size: 11.5px; margin: 0 0 8px; }
.mine-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.mine-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.mine-list .m-code { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; }
.mine-list .m-title { font-family: var(--serif); font-size: 18px; display: block; margin: 2px 0; }
.mine-list .m-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-size: 14.5px; }
.mine-list .m-cancelled { color: var(--ink-faint); }
.mine-list .m-cancelled .m-title { text-decoration: line-through; }

.confirmation { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; position: relative; box-shadow: 4px 4px 0 var(--pencil); }
.confirmation h3 { font-size: 28px; margin-bottom: 8px; }
.confirmation .code { font-family: var(--mono); font-size: 20px; letter-spacing: .06em; display: inline-block; border: 1.5px dashed var(--ink); padding: 4px 10px; margin: 6px 0 12px; }
.confirmation .c-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.confirmation .c-link { font-size: 13.5px; color: var(--ink-soft); word-break: break-all; margin-top: 12px; }

/* ---------- FAQ ---------- */
#klausimai details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
#klausimai details:first-of-type { border-top: 1.5px solid var(--ink); }
#klausimai summary { cursor: pointer; font-family: var(--serif); font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
#klausimai summary::-webkit-details-marker { display: none; }
#klausimai summary::after { content: '+'; font-family: var(--mono); color: var(--pencil); }
#klausimai details[open] summary::after { content: '−'; }
#klausimai details p { margin: 10px 0 0; color: var(--ink-soft); max-width: 40em; }

/* ---------- Modal ---------- */
.modal { border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--card); color: var(--ink); padding: 22px; max-width: min(440px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(15, 29, 21, .5); }
.modal h3 { font-size: 26px; margin-bottom: 10px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 3px double var(--rule-strong); padding: 36px 0 40px; font-size: 15px; color: var(--ink-soft); }
.footer-row { display: grid; gap: 20px; }
.logo-footer { font-size: 26px; color: var(--ink); margin-bottom: 4px; }
.footer-note p { max-width: 38em; }
.made-by { font-size: 13px; margin: 0; }
.made-by a { color: var(--ink-faint); }
@media (min-width: 760px) { .footer-row { grid-template-columns: 1fr 1.4fr; } }

/* ---------- Phone first-screen tuning ---------- */
@media (max-width: 899px) {
  .hero-photo { order: 3; }
  .hero-lead { order: 4; }
}
@media (max-width: 380px), (max-height: 700px) and (max-width: 899px) {
  .hero { padding-top: 10px; }
  .sheet-head { margin-bottom: 12px; }
  .hero-grid { gap: 14px; }
  .next-day { font-size: 50px; }
  .next-body { min-height: 92px; margin-bottom: 10px; }
}
