/* ==========================================================================
   Espresinė — direction B "Navy siena" (chosen 2026-10-19)
   ==========================================================================
   House rules (shared with kavosbroliai):
   - navy, cream, brass; brass is the ONLY accent (links, hovers, small labels)
   - FF Hertz Pro for headings, Campton for everything else
   - radius 0, no shadows, hairlines
   Espresinė's own:
   - the FILM FRAME: a thick navy edge around photos (the café's wall is navy)
   - some prints tilted 2–3°, a ruled header, a hand-drawn brass underline
   - headings in sentence case (KB's are uppercase), one big Campton statement
   No !important anywhere; selectors stay one class deep where possible.
   ========================================================================== */

@font-face { font-family: "Campton"; font-weight: 300; font-display: swap; src: url(../fonts/campton-light.woff2) format("woff2"); }
@font-face { font-family: "Campton"; font-weight: 400; font-display: swap; src: url(../fonts/campton-book.woff2) format("woff2"); }
@font-face { font-family: "Campton"; font-weight: 500; font-display: swap; src: url(../fonts/campton-medium.woff2) format("woff2"); }
@font-face { font-family: "Hertz"; font-weight: 300; font-display: swap; src: url(../fonts/hertz-light.woff2) format("woff2"); }
@font-face { font-family: "Hertz"; font-weight: 500; font-display: swap; src: url(../fonts/hertz-book.woff2) format("woff2"); }
@font-face { font-family: "Hertz"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/hertz-italic.woff2) format("woff2"); }

:root {
	--esp-ink: #0c203e;          /* navy: the wall behind the bar */
	--esp-paper: #f8f8ef;        /* cream */
	--esp-brass: #af8644;        /* the only accent */
	--esp-grey: #43485a;         /* body text on cream (8.5:1) */
	--esp-line: rgba(12, 32, 62, .16);
	--esp-line-inv: rgba(248, 248, 239, .22);
	--esp-sans: "Campton", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--esp-serif: "Hertz", Georgia, "Times New Roman", serif;
	--esp-frame: 9px;            /* the film edge */
	--esp-wrap: 1180px;
	--esp-gap: clamp(28px, 5vw, 56px);
	--esp-sec: clamp(64px, 9vw, 112px);
	--esp-head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--esp-head-h) + 12px); }
body { margin: 0; background: var(--esp-paper); color: var(--esp-ink); font: 300 17px/1.6 var(--esp-sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--esp-ink); }
a:hover { color: var(--esp-brass); }
:focus-visible { outline: 2px solid var(--esp-brass); outline-offset: 3px; }
b, strong { font-weight: 500; }

.esp-skip { position: absolute; left: -9999px; top: 8px; background: var(--esp-ink); color: var(--esp-paper); padding: 8px 14px; z-index: 50; }
.esp-skip:focus { left: 8px; }

.esp-wrap { max-width: var(--esp-wrap); margin: 0 auto; padding: 0 24px; }
.esp-narrow { max-width: 760px; }
.esp-center { text-align: center; }
.esp-mt { margin-top: 32px; }
.esp-section { padding-bottom: var(--esp-sec); }
.esp-muted { color: var(--esp-grey); }
.esp-small { font-size: 14px; color: var(--esp-grey); }

/* ── Type ───────────────────────────────────────────────────────────────── */
.esp-h1 { font: 400 clamp(36px, 4.6vw, 60px)/1.08 var(--esp-serif); margin: 0 0 18px; text-wrap: balance; }
.esp-h2 { font: 400 clamp(28px, 3vw, 40px)/1.15 var(--esp-serif); margin: 0 0 18px; text-wrap: balance; }
.esp-h3 { font: 500 21px/1.25 var(--esp-serif); margin: 0 0 12px; }
.esp-lead { font: 300 clamp(18px, 1.6vw, 21px)/1.55 var(--esp-sans); color: var(--esp-grey); margin: 0; max-width: 46ch; }
.esp-eyebrow { font: 400 13px/1.4 var(--esp-sans); letter-spacing: .04em; color: var(--esp-brass); margin: 0 0 8px; }

/* The hand-drawn brass underline: used on a few links, never as decoration. */
.esp-u {
	text-decoration: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 3, 80 11, 120 6 S 180 4, 198 7' fill='none' stroke='%23af8644' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") bottom / 100% .34em no-repeat;
	padding-bottom: .14em;
}
.esp-u:hover { color: var(--esp-brass); }
.esp-u--light { color: var(--esp-paper); }
.esp-link { font: 500 14px var(--esp-sans); text-underline-offset: 4px; text-decoration-color: var(--esp-brass); }

/* ── Buttons: square, one system (KB 1.20.4 rules, B's colours) ─────────── */
.esp-btn {
	display: inline-block; padding: 12px 24px; border: 1px solid var(--esp-ink);
	font: 500 14px/1.2 var(--esp-sans); color: var(--esp-ink); text-decoration: none; background: transparent;
	transition: background-color .15s, color .15s, border-color .15s;
}
.esp-btn:hover { background: var(--esp-ink); color: var(--esp-paper); }
.esp-btn--brass { background: var(--esp-brass); border-color: var(--esp-brass); }
.esp-btn--brass:hover { background: var(--esp-ink); border-color: var(--esp-ink); }
.esp-btn--paper { background: var(--esp-paper); }
.esp-btn--paper:hover { background: var(--esp-brass); color: var(--esp-ink); border-color: var(--esp-brass); }
.esp-btn--light { color: var(--esp-paper); border-color: var(--esp-paper); }
.esp-btn--light:hover { background: var(--esp-paper); color: var(--esp-ink); }

/* ── Today bar + ruled header ──────────────────────────────────────────── */
.esp-topbar { background: var(--esp-ink); color: var(--esp-paper); text-align: center; font: 400 13px/1 var(--esp-sans); letter-spacing: .03em; padding: 9px 12px; }
.esp-topbar a { color: var(--esp-paper); text-decoration: none; }
.esp-topbar a:hover { color: var(--esp-brass); }
.esp-topbar b, .esp-today b { color: var(--esp-brass); font-weight: 500; }
.esp-topbar__sep { margin: 0 .5em; }

.esp-head {
	position: sticky; top: 0; z-index: 20;
	display: grid; grid-template-columns: 230px 1fr auto; align-items: stretch;
	background: var(--esp-paper); border-bottom: 1px solid var(--esp-ink); height: var(--esp-head-h);
}
.esp-head__cell { display: flex; align-items: center; justify-content: center; padding: 0 16px; border-left: 1px solid var(--esp-ink); text-decoration: none; font: 400 15px var(--esp-sans); color: var(--esp-ink); }
.esp-head__logo { border-left: 0; justify-content: flex-start; padding-left: 28px; }
.esp-head__logo .esp-logo { width: 150px; }
.esp-head__nav { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
a.esp-head__cell:hover { background: var(--esp-ink); color: var(--esp-paper); }
a.esp-head__logo:hover { background: none; } /* 0.1.1: the navy logo vanished on hover */
.esp-head__cell.is-current { background: linear-gradient(var(--esp-brass), var(--esp-brass)) bottom / 100% 3px no-repeat; }
.esp-burger { display: none; }

.esp-lang { display: flex; font: 500 12px/1 var(--esp-sans); }
.esp-lang span, .esp-lang a { padding: 6px 9px; border: 1px solid var(--esp-ink); text-decoration: none; color: var(--esp-ink); }
.esp-lang .is-on { background: var(--esp-ink); color: var(--esp-paper); }
.esp-lang a + span, .esp-lang span + a { border-left: 0; }
.esp-lang a:hover { background: var(--esp-brass); border-color: var(--esp-brass); }

/* Phone panel */
.esp-panel { position: fixed; inset: 0; z-index: 40; background: var(--esp-ink); color: var(--esp-paper); padding: 28px 24px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; }
.esp-panel[hidden] { display: none; }
.esp-panel nav { display: flex; flex-direction: column; border-top: 1px solid var(--esp-line-inv); }
.esp-panel nav a { color: var(--esp-paper); text-decoration: none; font: 400 28px/1.2 var(--esp-serif); padding: 14px 0; border-bottom: 1px solid var(--esp-line-inv); }
.esp-panel nav a[aria-current] { color: var(--esp-brass); }
.esp-panel__meta { margin: 0; font-size: 15px; color: rgba(248, 248, 239, .85); }
.esp-panel .esp-lang span, .esp-panel .esp-lang a { border-color: var(--esp-paper); color: var(--esp-paper); }
.esp-panel .esp-lang .is-on { background: var(--esp-paper); color: var(--esp-ink); }
.esp-panel__close { align-self: flex-start; background: none; border: 1px solid var(--esp-paper); color: var(--esp-paper); font: 500 14px var(--esp-sans); padding: 10px 18px; cursor: pointer; }

/* ── The film frame ────────────────────────────────────────────────────── */
.esp-film { position: relative; margin: 0; border: var(--esp-frame) solid var(--esp-ink); background: var(--esp-ink); outline: 1px solid rgba(12, 32, 62, .45); outline-offset: -3px; }
.esp-film img { width: 100%; height: 100%; object-fit: cover; }
.esp-film--square { aspect-ratio: 1 / 1; }
.esp-film--bw img { filter: grayscale(1) contrast(1.05); }
.esp-film--tilt-l, .esp-film--tilt-r { width: min(58%, 380px); aspect-ratio: 3 / 4; }
.esp-film--tilt-l { transform: rotate(-3deg); }
.esp-film--tilt-r { transform: rotate(2.5deg); }
.esp-film__cap { position: absolute; right: 10px; bottom: 10px; background: var(--esp-paper); color: var(--esp-ink); font: 500 11px/1 var(--esp-sans); padding: 5px 7px; }

/* ── Home: hero — three frames, the middle one leads ───────────────────── */
.esp-hero { display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: 12px; padding-top: 12px; height: min(78vh, 700px); overflow: hidden; }
.esp-hero .esp-film { height: 100%; }
.esp-hero__mid { position: relative; height: 100%; }
.esp-hero__btn { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); white-space: nowrap; }

.esp-statement { max-width: 920px; margin: 0 auto; padding: clamp(64px, 9vw, 104px) 24px; text-align: center; }
.esp-statement__text { font: 300 clamp(24px, 2.7vw, 36px)/1.36 var(--esp-sans); margin: 0 0 30px; text-wrap: balance; }
.esp-statement--small { padding-top: 0; }
.esp-statement--small .esp-statement__text { font-size: clamp(21px, 2.2vw, 28px); color: var(--esp-grey); }

/* ── Collage rows ──────────────────────────────────────────────────────── */
.esp-row { max-width: var(--esp-wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 0 24px 40px; }
.esp-row__txt { max-width: 460px; justify-self: center; width: 100%; }
.esp-row--print { padding-bottom: 72px; }
.esp-row--print .esp-film { margin: -40px 0 0 14%; }
.esp-row--print-r .esp-film { grid-column: 2; margin: -40px 0 0 18%; }

/* Šiandien bare: ruled chips, one coffee */
.esp-tabs { margin: 0 0 22px; }
.esp-chips { display: flex; flex-wrap: wrap; border: 1px solid var(--esp-ink); width: max-content; max-width: 100%; margin: 0 0 18px; }
.esp-chips button { all: unset; cursor: pointer; padding: 8px 14px; font: 400 14px/1.3 var(--esp-sans); border-left: 1px solid var(--esp-ink); }
.esp-chips button:first-child { border-left: 0; }
.esp-chips button[aria-selected="true"] { background: var(--esp-ink); color: var(--esp-paper); }
.esp-chips button:focus-visible { outline: 2px solid var(--esp-brass); outline-offset: -2px; }
.esp-coffee { border-top: 1px solid var(--esp-line); padding-top: 16px; }
.esp-js .esp-coffee[data-hidden] { display: none; } /* only once esp.js runs: without JS all three show */
.esp-coffee__name { font: 500 22px/1.2 var(--esp-serif); margin: 0 0 4px; }
.esp-coffee__origin { font-size: 14px; color: var(--esp-grey); margin: 0 0 6px; }
.esp-coffee__notes { font: italic 400 18px/1.4 var(--esp-serif); color: var(--esp-brass); margin: 0 0 12px; }

/* Programme rows (exhibition, tastings) */
.esp-prog { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--esp-ink); }
.esp-prog__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--esp-line); }
.esp-prog__when { font: 500 14px/1.4 var(--esp-sans); color: var(--esp-brass); }
.esp-prog__row--nodate { grid-template-columns: 1fr; }
.esp-prog__what { display: flex; flex-direction: column; gap: 2px; }
.esp-prog__title { font: 500 18px/1.3 var(--esp-serif); }
.esp-prog__text { font-size: 15px; color: var(--esp-grey); }
/* 0.4.0 — the exhibition's work under its artist, never on the same broken line. */
.esp-prog__work { font: italic 400 17px/1.3 var(--esp-serif); color: var(--esp-ink); }
.esp-prog--compact .esp-prog__row { padding: 9px 0; }
.esp-prog--compact .esp-prog__title { font-size: 16px; }
.esp-archive__more summary { cursor: pointer; margin: 4px 0 12px; font: 500 14px/1.4 var(--esp-sans); color: var(--esp-ink); text-decoration: underline; text-decoration-color: var(--esp-brass); text-underline-offset: 4px; }
.esp-archive__more[open] summary { margin-bottom: 0; }
.esp-archive__more .esp-prog { border-top: 0; }
.esp-archive .esp-prog { max-width: 720px; } /* the same measure as the news above it */

/* Three navy cards (black-and-white photos) */
.esp-cards { max-width: var(--esp-wrap); margin: 56px auto 0; padding: 0 24px var(--esp-sec); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.esp-card { background: var(--esp-ink); color: var(--esp-paper); display: flex; flex-direction: column; }
.esp-card img { aspect-ratio: 4 / 3; object-fit: cover; width: calc(100% - 2 * var(--esp-frame)); margin: var(--esp-frame) var(--esp-frame) 0; filter: grayscale(1) brightness(1.18) contrast(.94); }
/* 0.4.0 — Arnas: "a little bit too dark". Two causes: the filter also greyed the img's own
   navy border into near-black, and grayscale + contrast deepened dark photos. The frame is
   now the card's navy around the img (margin), and the photo is lifted, not flattened. */
.esp-card__body { padding: 20px 22px 26px; text-align: center; }
.esp-card__eyebrow { font: 400 12px var(--esp-sans); letter-spacing: .05em; color: var(--esp-brass); margin: 0 0 6px; }
.esp-card__title { font: 400 23px/1.25 var(--esp-serif); margin: 0 0 16px; }

/* The worst reviews, pinned on the navy wall */
.esp-wall { background: var(--esp-ink); color: var(--esp-paper); padding: var(--esp-sec) 24px; }
.esp-wall__h { font: 400 clamp(28px, 3vw, 40px)/1.15 var(--esp-serif); text-align: center; margin: 0 0 8px; }
.esp-wall__sub { text-align: center; margin: 0 0 48px; color: rgba(248, 248, 239, .82); }
.esp-notes { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.esp-note { margin: 0; background: var(--esp-paper); color: var(--esp-ink); padding: 26px 24px; transform: rotate(-1.5deg); }
.esp-note:nth-child(2) { transform: rotate(1.2deg) translateY(14px); }
.esp-note:nth-child(3) { transform: rotate(-.6deg); }
.esp-note__stars { color: var(--esp-brass); letter-spacing: 2px; }
.esp-note__text { margin: 10px 0 12px; }
.esp-note__text p { font: italic 400 19px/1.45 var(--esp-serif); margin: 0; }
.esp-note__who { font: 400 13px var(--esp-sans); color: var(--esp-grey); }
.esp-note__who a { color: var(--esp-grey); }
.esp-note__reply { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--esp-line); font-size: 15px; }
.esp-wall__foot { text-align: center; margin: 56px 0 0; }

/* Award strip */
.esp-award + .esp-section { padding-top: var(--esp-sec); }
.esp-award { display: flex; gap: 12px 28px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; margin: 0; padding: 26px 24px; border-bottom: 1px solid var(--esp-ink); }
.esp-award b { font: italic 400 22px/1.3 var(--esp-serif); }
.esp-award b a { text-decoration: none; }

/* News board */
.esp-news { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--esp-ink); }
.esp-news { max-width: 720px; }
/* 0.2.0: each item whole and short, like a post on a timeline: the date sits ABOVE
   (the side column read as stranded once the text could be several lines). */
.esp-news__item { display: block; padding: 20px 0 22px; border-bottom: 1px solid var(--esp-line); scroll-margin-top: calc(var(--esp-head-h) + 16px); }
.esp-news__item:target { background: linear-gradient(90deg, rgba(175, 134, 68, .12), transparent 70%); }
.esp-news__date { display: block; font: 500 13px/1.5 var(--esp-sans); letter-spacing: .04em; color: var(--esp-brass); margin: 0 0 6px; }
.esp-news__title { font: 500 20px/1.3 var(--esp-serif); margin: 0 0 6px; color: var(--esp-ink); }
.esp-news__text { color: var(--esp-grey); font-size: 16px; }
.esp-news__text > :first-child { margin-top: 0; }
.esp-news__text > :last-child { margin-bottom: 0; }
.esp-news__text a { text-decoration-color: var(--esp-brass); text-underline-offset: 3px; }
.esp-news__img { margin: 14px 0 0; max-width: 420px; border: var(--esp-frame) solid var(--esp-ink); }
.esp-news__img img { display: block; width: 100%; height: auto; }
.esp-news-home { max-width: var(--esp-wrap); margin: 0 auto; padding: 0 24px var(--esp-sec); }
/* 0.2.1 — the record print beside the news, same two columns as the rows above, so it
   sits under "Kas vyksta"'s text the way the beans print sits under "Šiandien bare". */
.esp-news-home--print { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.esp-news-home--print > .esp-film { margin: 8px 0 0 18%; }
.esp-pager { display: flex; justify-content: space-between; padding-top: 18px; }

/* Street photo */
.esp-street { position: relative; }
.esp-street img { width: 100%; height: min(70vh, 620px); object-fit: cover; }
.esp-street__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }

/* ── Inner pages ───────────────────────────────────────────────────────── */
.esp-pagehead { max-width: var(--esp-wrap); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: clamp(40px, 6vw, 80px) 24px var(--esp-sec); }
.esp-pagehead--solo { grid-template-columns: 1fr; padding-bottom: 48px; }
.esp-pagehead--solo .esp-lead { max-width: 60ch; }
.esp-pagehead .esp-film { transform: rotate(1.5deg); }

.esp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--esp-gap); align-items: start; }
.esp-cols--3 { grid-template-columns: repeat(3, 1fr); }
.esp-box { border: 1px solid var(--esp-ink); padding: 28px; margin-bottom: var(--esp-sec); } /* .esp-section's bottom padding would sit INSIDE the border, so boxes keep their distance with a margin instead */
.esp-box > :last-child { margin-bottom: 0; }
.esp-box--ink { background: var(--esp-ink); color: var(--esp-paper); border-color: var(--esp-ink); padding: clamp(28px, 4vw, 48px); }
.esp-box--ink .esp-h2 { color: var(--esp-paper); }
.esp-box--ink p { max-width: 56ch; color: rgba(248, 248, 239, .85); }
/* 0.5.0 — on navy, the brass button's navy hover vanished into the box (Arnas: "gone on
   hover"). There it turns cream with navy words (15.2:1), like .esp-btn--light. */
.esp-box--ink .esp-btn--brass:hover, .esp-box--ink .esp-btn--brass:focus-visible { background: var(--esp-paper); border-color: var(--esp-paper); color: var(--esp-ink); }
/* 0.3.0 — the playlist, small, under the Muzika lead. */
.esp-pl { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--esp-line); max-width: 46ch; }
.esp-pl__h { font: 500 13px/1.4 var(--esp-sans); letter-spacing: .04em; color: var(--esp-brass); margin: 0 0 6px; }
.esp-pl__text { color: var(--esp-grey); font-size: 16px; margin: 0 0 14px; }
.esp-pl__btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid var(--esp-ink); color: var(--esp-ink); font: 500 14px/1.2 var(--esp-sans); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.esp-pl__btn svg { color: var(--esp-brass); flex: none; }
.esp-pl__btn:hover, .esp-pl__btn:focus-visible { background: var(--esp-ink); color: var(--esp-paper); }

/* 0.3.0 — Apie mus: the team and the press list under the card. */
.esp-team__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 32px 24px; }
.esp-member__photo { margin-bottom: 12px; }
.esp-member__blank { display: block; width: 100%; height: 100%; background: var(--esp-ink); }
.esp-member__name { font: 500 18px/1.3 var(--esp-serif); margin: 0; color: var(--esp-ink); }
.esp-member__role { font: 300 14px/1.4 var(--esp-sans); color: var(--esp-grey); margin: 2px 0 0; }
.esp-social--small { gap: 6px; margin-top: 10px; }
.esp-social--small a { width: 34px; height: 34px; }
.esp-social--small svg { width: 18px; height: 18px; }
.esp-press__list { list-style: none; margin: 0; padding: 0; max-width: 760px; border-top: 1px solid var(--esp-ink); }
.esp-press__item { padding: 18px 0 20px; border-bottom: 1px solid var(--esp-line); }
.esp-press__meta { font: 500 13px/1.5 var(--esp-sans); letter-spacing: .04em; color: var(--esp-brass); margin: 0 0 4px; }
.esp-press__title { font: 400 20px/1.35 var(--esp-serif); color: var(--esp-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.esp-press__title:hover, .esp-press__title:focus-visible { text-decoration-color: var(--esp-brass); }
.esp-press__title::after { content: " ↗"; font-family: var(--esp-sans); font-size: .8em; color: var(--esp-brass); }

/* 0.3.0 — Kontaktai: one 3-column grid for both rows; each top column opens on the same rule. */
.esp-wrap.esp-visit { padding-bottom: clamp(48px, 6vw, 72px); } /* .esp-wrap's phone padding shorthand would zero it */
.esp-visit__col { border-top: 1px solid var(--esp-ink); padding-top: 18px; }
.esp-visit__col > :last-child { margin-bottom: 0; }
.esp-visit .esp-hours { max-width: none; }
.esp-visit .esp-social { margin-top: 16px; }
.esp-visit__review { margin: 20px 0 0; }
.esp-wrap.esp-visit-boxes { align-items: stretch; padding-bottom: var(--esp-sec); }
.esp-visit-boxes .esp-box { margin-bottom: 0; }

/* 0.4.0 — Meniu: "Kava namams", the shop link at the bottom. */
.esp-shop__box { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 0; }
.esp-shop__box .esp-h2 { margin-top: 0; }
.esp-shop__box p { margin: 0; }

/* 0.2.0 — the about card (page-kavos-broliai.php): photo beside the text. */
.esp-about { max-width: var(--esp-wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 80px) 24px var(--esp-sec); }
.esp-about--solo { grid-template-columns: 1fr; max-width: 760px; }
.esp-about > .esp-film { transform: rotate(-1.5deg); }
.esp-about__txt .esp-prose { max-width: none; color: var(--esp-grey); }

.esp-prose { max-width: 720px; margin: 0 auto; padding: 0 24px var(--esp-sec); color: var(--esp-grey); }
.esp-prose--flush { padding: 0; margin: 0; }
.esp-prose h2, .esp-prose h3 { color: var(--esp-ink); font-family: var(--esp-serif); font-weight: 400; line-height: 1.2; }
.esp-prose h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.esp-prose h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.esp-prose a { text-decoration-color: var(--esp-brass); text-underline-offset: 3px; }
.esp-prose img { margin: 1.5em 0; }
/* Editor galleries and images get the film frame too. */
.esp-prose .wp-block-gallery figure.wp-block-image, .esp-prose .wp-block-image.is-style-film img { border: var(--esp-frame) solid var(--esp-ink); }
.esp-prose .wp-block-gallery { margin: 2em 0; }
/* Tables (legal pages). On a phone each row becomes a small card. */
.esp-prose .wp-block-table { margin: 1.6em 0; }
.esp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.esp-prose th, .esp-prose td { border: 1px solid var(--esp-ink); padding: 10px 12px; text-align: left; vertical-align: top; overflow-wrap: normal; word-break: normal; }
.esp-prose thead th { background: var(--esp-ink); color: var(--esp-paper); font-weight: 500; }
@media (max-width: 640px) {
	.esp-prose thead { display: none; }
	.esp-prose table, .esp-prose tbody, .esp-prose tr, .esp-prose td { display: block; width: auto; }
	.esp-prose tr { border: 1px solid var(--esp-ink); margin-bottom: 12px; padding: 6px 0; }
	.esp-prose td { border: 0; padding: 3px 14px; }
	.esp-prose td:first-child { color: var(--esp-ink); font-weight: 500; }
}

.esp-hours { border-collapse: collapse; width: 100%; max-width: 380px; margin: 0 0 16px; }
.esp-hours th, .esp-hours td { padding: 8px 0; border-bottom: 1px solid var(--esp-line); font-weight: 300; text-align: left; }
.esp-hours td { text-align: right; white-space: nowrap; }
.esp-hours .is-today th, .esp-hours .is-today td { font-weight: 500; color: var(--esp-ink); }
.esp-hours .is-today th::before { content: "› "; color: var(--esp-brass); }
.esp-rekv { color: var(--esp-grey); font-size: 15px; }

/* Menu */
.esp-menu { padding-bottom: var(--esp-sec); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px var(--esp-gap); }
.esp-menu__list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--esp-ink); }
.esp-menu__item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--esp-line); }
.esp-menu__name { font: 400 19px/1.3 var(--esp-serif); }
.esp-menu__price { font: 500 15px/1.6 var(--esp-sans); white-space: nowrap; }
.esp-menu__note { grid-column: 1 / -1; font: italic 400 16px/1.4 var(--esp-serif); color: var(--esp-brass); }
.esp-menu__foot { grid-column: 1 / -1; }

/* Exhibition */
.esp-expo__artist { font: italic 400 19px var(--esp-serif); color: var(--esp-brass); margin: 0 0 10px; }

/* Record shelf */
.esp-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 24px; }
.esp-rec__cover { margin-bottom: 12px; }
.esp-rec__blank { display: block; width: 100%; height: 100%; background: radial-gradient(circle, var(--esp-brass) 0 9%, var(--esp-ink) 10% 100%); }
.esp-rec__artist { font: 500 14px/1.3 var(--esp-sans); margin: 0; }
.esp-rec__title { font: italic 400 18px/1.3 var(--esp-serif); margin: 2px 0 0; }
.esp-rec__title a { text-decoration-color: var(--esp-brass); }
.esp-rec__year { font: 300 14px var(--esp-sans); color: var(--esp-grey); font-style: normal; }

/* #kavdienybė board */
.esp-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 32px; }
.esp-board__item { aspect-ratio: 1 / 1; }
.esp-board .esp-film--tilt-l, .esp-board .esp-film--tilt-r { width: auto; aspect-ratio: 1 / 1; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.esp-foot { background: var(--esp-ink); color: var(--esp-paper); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 64px 40px 32px; }
.esp-foot a { color: var(--esp-paper); text-decoration: none; }
.esp-foot a:hover { color: var(--esp-brass); }
.esp-logo--big { width: 100%; max-width: 220px; } /* 0.2.0: was 380px, Arnas: smaller */
.esp-foot__h { font: 400 12px var(--esp-sans); letter-spacing: .06em; color: var(--esp-brass); margin: 0 0 14px; }
.esp-foot__col { font-size: 15px; line-height: 1.9; }
.esp-foot__col p { margin: 0; }
.esp-foot__col > a { display: block; }
/* 0.2.0 — Instagram / Facebook icons (esp_social()): square hairline buttons, 44px
   so a thumb hits them; the colour is the link colour of wherever they sit. */
.esp-social { list-style: none; display: flex; gap: 10px; margin: 18px 0 0; padding: 0; }
.esp-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; color: var(--esp-ink); transition: color .2s ease, background-color .2s ease; }
.esp-social a:hover, .esp-social a:focus-visible { background: var(--esp-ink); color: var(--esp-paper); }
.esp-foot .esp-social { margin-top: 14px; }
.esp-foot .esp-social a { color: var(--esp-paper); border-color: rgba(248, 248, 239, .35); }
.esp-foot .esp-social a:hover, .esp-foot .esp-social a:focus-visible { background: transparent; color: var(--esp-brass); border-color: var(--esp-brass); }
.esp-foot__credit { color: rgba(248, 248, 239, .75); margin-left: auto; }
.esp-foot__base .esp-lang + .esp-foot__credit { margin-left: 0; }
.esp-foot__base { grid-column: 1 / -1; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--esp-line-inv); padding-top: 20px; font-size: 13px; color: rgba(248, 248, 239, .75); }
.esp-foot__base .esp-lang { margin-left: auto; }
.esp-foot__consent { appearance: none; background: none; border: 0; border-radius: 0; margin: 0; padding: 0; font: inherit; color: var(--esp-paper); cursor: pointer; }
.esp-foot__consent:hover, .esp-foot__consent:focus-visible { color: var(--esp-brass); }
/* 0.5.8 — the footer's small text links were 21 px tall on phones; 4 px above and below
   makes each tap target ~29 px (WCAG 2.2 target size: 24 px). */
.esp-foot__base > a, .esp-foot__base > .esp-foot__consent, .esp-foot__base > .esp-foot__credit { display: inline-block; padding-top: 4px; padding-bottom: 4px; }
/* Complianz's own floating "manage consent" tab: the footer button does that job. */
#cmplz-manage-consent { display: none; }

/* ── Consent banner (Complianz) — 0.1.2, ported from kavosbroliai kb.css ──────
   Complianz builds the banner from custom properties declared on :root in a
   stylesheet that loads after this one; redeclared on body.theme--esp they win
   on specificity. House rules: navy ground, cream text, one brass button,
   radius 0, no shadow, no logo/title/X ("Neigti" says it out loud). The title
   stays in the DOM, clipped: it names the dialog for screen readers. */
body.theme--esp {
	--cmplz_banner_width: 400px;
	--cmplz_banner_background_color: #0c203e;
	--cmplz_banner_border_color: rgba(175, 134, 68, .55);  /* brass: navy panel over a navy footer needs an edge */
	--cmplz_banner_border_width: 1px 1px 1px 1px;
	--cmplz_banner_border_radius: 0 0 0 0;
	--cmplz_banner_margin: 10px;
	--cmplz_text_color: rgba(248, 248, 239, .78);
	--cmplz_hyperlink_color: #af8644;
	--cmplz_text_font_size: 14px;
	--cmplz_link_font_size: 12px;
	--cmplz_title_font_size: 13px;
	--cmplz_category_body_font_size: 12px;
	--cmplz_category_header_title_font_size: 13px;
	--cmplz_category_header_active_font_size: 11px;
	--cmplz_category_header_always_active_color: rgba(248, 248, 239, .5);
	--cmplz_button_font_size: 11px;
	--cmplz_button_border_radius: 0 0 0 0;
	--cmplz_button_accept_background_color: #af8644;
	--cmplz_button_accept_border_color: #af8644;
	--cmplz_button_accept_text_color: #0c203e;
	--cmplz_button_deny_background_color: transparent;
	--cmplz_button_deny_border_color: rgba(248, 248, 239, .35);
	--cmplz_button_deny_text_color: rgba(248, 248, 239, .78);
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: rgba(248, 248, 239, .35);
	--cmplz_button_settings_text_color: rgba(248, 248, 239, .78);
	--cmplz_slider_active_color: #af8644;
	--cmplz_slider_inactive_color: rgba(248, 248, 239, .28);
	--cmplz_slider_bullet_color: #0c203e;
}
/* `body` prefix on purpose: the plugin's own rules are 0,2,0 and load second. */
body .cmplz-cookiebanner .cmplz-header { display: contents; }
body .cmplz-cookiebanner .cmplz-logo,
body .cmplz-cookiebanner .cmplz-close,
body .cmplz-cookiebanner .cmplz-divider { display: none; }
body .cmplz-cookiebanner .cmplz-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmplz-cookiebanner,
body .cmplz-cookiebanner.cmplz-show,
body .cmplz-cookiebanner.cmplz-show:hover { box-shadow: none; }
body .cmplz-cookiebanner { font-family: var(--esp-sans); padding: 22px 24px 20px; }
body .cmplz-cookiebanner .cmplz-message { margin-bottom: 4px; line-height: 1.55; }
.cmplz-cookiebanner .cmplz-message a { text-decoration: none; border-bottom: 1px solid rgba(175, 134, 68, .5); }
/* Three equal thirds (Complianz ships flex: initial + nowrap → lopsided row). */
body .cmplz-cookiebanner .cmplz-buttons { align-items: stretch; }
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	flex: 1 1 0; min-width: 0; width: auto; white-space: normal; min-height: 0;
	padding: 11px 8px; font-family: var(--esp-sans); font-weight: 500;
	letter-spacing: .1em; text-transform: uppercase; line-height: 1.25;
	border-width: 1px; border-style: solid;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny:hover,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover { border-color: var(--esp-brass); color: var(--esp-paper); }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover { background-color: var(--esp-paper); border-color: var(--esp-paper); }
.cmplz-cookiebanner .cmplz-links .cmplz-link { text-decoration: none; letter-spacing: .06em; }
.cmplz-cookiebanner .cmplz-links .cmplz-link:hover { color: var(--esp-paper); }
body .cmplz-cookiebanner .cmplz-categories .cmplz-category { background-color: rgba(248, 248, 239, .05); border: 1px solid var(--esp-line-inv); }
@media (max-width: 768px) {
	/* Keep the row; a panel ON the page (inset on three sides), not a band of it. */
	body .cmplz-cookiebanner .cmplz-buttons { flex-direction: row; }
	body .cmplz-cookiebanner { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 12px)); width: auto; }
}
@media (max-width: 420px) {
	body.theme--esp { --cmplz_button_font_size: 10px; }
	body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn { padding: 11px 4px; letter-spacing: .06em; }
	body .cmplz-cookiebanner { padding: 20px 18px 18px; }
}
/* Landscape phone: Complianz's max-height:400px block stretches a two-line banner
   to full height with zoom .6; give the height back to the content (kb CHANGELOG). */
@media (max-height: 400px) {
	body .cmplz-cookiebanner { height: auto !important; max-height: calc(100vh - 20px); zoom: 1 !important; padding: 18px 18px 16px !important; gap: 12px; }
	body .cmplz-cookiebanner .cmplz-body { flex: 0 1 auto !important; margin-top: 0 !important; }
	body .cmplz-cookiebanner .cmplz-buttons { gap: 8px !important; }
	body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn { height: auto !important; zoom: 1 !important; font-size: var(--cmplz_button_font_size) !important; line-height: 1.25 !important; padding: 11px 8px !important; white-space: normal !important; }
}
/* The generated cookie policy (#cmplz-document) is styled by the plugin with ID
   selectors, so the prose rules are restated at that weight. */
.esp-prose #cmplz-document a { text-decoration-color: var(--esp-brass); text-underline-offset: 3px; }
.esp-prose #cmplz-document h2,
.esp-prose #cmplz-document h3 { font-family: var(--esp-serif); font-weight: 400; color: var(--esp-ink); text-transform: none; line-height: 1.2; padding-bottom: 0; }
.esp-prose #cmplz-document h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.esp-prose #cmplz-document h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.esp-foot .esp-lang span, .esp-foot .esp-lang a { border-color: var(--esp-paper); color: var(--esp-paper); }
.esp-foot .esp-lang .is-on { background: var(--esp-paper); color: var(--esp-ink); }

/* ── Phone and narrow tablet ───────────────────────────────────────────── */
@media (max-width: 980px) {
	:root { --esp-frame: 6px; --esp-head-h: 62px; }
	body { font-size: 16px; }
	.esp-head { grid-template-columns: 1fr auto auto; }
	.esp-head__nav { display: none; }
	.esp-head__logo { padding-left: 16px; }
	.esp-head__logo .esp-logo { width: 128px; }
	.esp-head__lang { padding: 0 12px; }
	.esp-burger { display: flex; gap: 6px; cursor: pointer; background: none; font: 500 14px var(--esp-sans); color: var(--esp-ink); border-top: 0; border-bottom: 0; border-right: 0; }
	.esp-hero { grid-template-columns: .35fr 1fr .35fr; gap: 8px; height: 62vh; padding-top: 8px; }
	.esp-hero__btn { bottom: 18px; font-size: 13px; padding: 10px 14px; }
	.esp-row, .esp-pagehead { grid-template-columns: 1fr; gap: 28px; padding-left: 20px; padding-right: 20px; }
	.esp-row--flip .esp-row__txt { order: 2; }
	.esp-row--print .esp-film, .esp-row--print-r .esp-film { grid-column: 1; width: 64%; margin: -24px 0 0 18%; }
	.esp-pagehead { padding-top: 32px; padding-bottom: 56px; }
	.esp-pagehead .esp-film { order: -1; }
	/* One column: a square photo the full width of a landscape phone is several screens tall. */
	.esp-row > .esp-film--square, .esp-pagehead > .esp-film { width: 100%; max-width: 520px; justify-self: center; }
	.esp-cards { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
	.esp-cols, .esp-cols--3 { grid-template-columns: 1fr; gap: 0; }
	.esp-visit { gap: 36px; }
	.esp-visit-boxes { gap: 16px; }
	.esp-team__list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 28px 16px; }
	.esp-wrap { padding-left: 20px; padding-right: 20px; } /* 0.3.0: not the shorthand — it zeroed every .esp-section's bottom spacing on phones */
	.esp-prog__row { grid-template-columns: 1fr; gap: 2px; }
	.esp-about { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px 56px; }
	.esp-about > .esp-film { width: 100%; max-width: 520px; justify-self: center; }
	.esp-board { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.esp-wall { padding-left: 20px; padding-right: 20px; }
	.esp-foot { grid-template-columns: 1fr; padding: 48px 24px 28px; }
	.esp-foot__base .esp-lang { margin-left: 0; }
	.esp-foot__credit { margin-left: 0; }
	.esp-news-home { padding-left: 20px; padding-right: 20px; }
	.esp-news-home--print { grid-template-columns: 1fr; gap: 28px; }
	.esp-news-home--print > .esp-film { width: 64%; margin: 0 0 0 18%; }
}
@media (max-width: 420px) {
	.esp-hero__btn { white-space: normal; text-align: center; width: max-content; max-width: 86%; }
	.esp-street__btn { white-space: normal; text-align: center; max-width: 86%; }
}
/* 0.5.9 — upright phones and tablets (Arnas chose option C, 2026-10-30): the middle photo
   full width on top, the two side photos as tiles under it — instead of two slivers. */
@media (max-width: 980px) and (orientation: portrait) {
	.esp-hero { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 30%; height: 76vh; padding-left: 12px; padding-right: 12px; }
	.esp-hero__mid { grid-column: 1 / -1; grid-row: 1; }
	.esp-hero > .esp-hero__side:first-child { grid-column: 1; grid-row: 2; }
	.esp-hero > .esp-hero__side:last-child { grid-column: 2; grid-row: 2; }
}
/* Landscape phones: the hero must not eat the screen. */
@media (max-height: 500px) and (orientation: landscape) {
	.esp-hero { height: 88vh; }
	.esp-head { position: static; }
	/* 0.5.8 — the open phone menu is taller than a sideways phone: "Uždaryti" was below
	   the fold. Close goes first, the links get smaller. */
	.esp-panel { padding: 16px 24px; gap: 14px; }
	.esp-panel__close { order: -1; }
	.esp-panel nav a { font-size: 22px; padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none; }
}
