/* ============================================================
   Restaurace Arka — arka.veldon.cz
   Design system "Papír a křída": the printed menu (cream paper,
   brown ink, slab type, dotted leaders) + the bar chalkboard
   (near-black, chalk lettering, amber prices). All styling for
   the veldon-edit render output lives here; freeform templates
   carry structure only.
   ============================================================ */

/* ---------- fonts (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Aleo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/aleo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Aleo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/aleo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, 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: 'Aleo';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/aleo-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Aleo';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/aleo-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, 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: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/caveat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/caveat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  --paper: #f4ecdd;
  --paper-warm: #efe4cf;
  --paper-card: #f9f3e6;
  --ink: #2b1f16;
  --ink-soft: #5d4c3c;
  --line: rgba(43, 31, 22, 0.26);
  --line-soft: rgba(43, 31, 22, 0.14);
  --amber: #c8872b;
  --amber-deep: #a06818;
  --chalk-bg: #191410;
  --chalk-bg-2: #211a15;
  --chalk: #f0e9dc;
  --chalk-dim: #b5a893;
  --chalk-line: rgba(240, 233, 220, 0.22);
  --shadow-print: 0 1px 2px rgba(43, 31, 22, 0.14), 0 10px 28px -12px rgba(43, 31, 22, 0.38);
  --shadow-lift: 0 2px 4px rgba(43, 31, 22, 0.16), 0 18px 44px -16px rgba(43, 31, 22, 0.42);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  --font-slab: 'Aleo', 'Iowan Old Style', Georgia, serif;
  --font-chalk: 'Caveat', 'Segoe Script', cursive;
}

/* ---------- reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { padding: 0; }
button { font: inherit; }

/* scrollbars are part of the design (thin, palette-toned, site-wide) */
* { scrollbar-width: thin; scrollbar-color: rgba(93, 76, 60, 0.5) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(93, 76, 60, 0.45); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }

::selection { background: rgba(200, 135, 43, 0.4); }

body {
  font-family: var(--font-slab);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  background-image: var(--grain);
}

/* the printed-menu page frame around the whole site */
body::before {
  content: '';
  position: fixed;
  inset: 10px;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 70;
}
body::after {
  content: '';
  position: fixed;
  inset: 15px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
  z-index: 70;
}

:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 2px; border-radius: 2px; }

.arka-skip {
  position: absolute;
  left: -9999px;
  top: 24px;
  z-index: 120;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6em 1.1em;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.arka-skip:focus-visible { left: 24px; }

/* ---------- shared type + buttons ---------- */
.arka-h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}
.arka-h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.42em;
  border-radius: 2px;
  background: var(--amber);
}
.arka-lead { color: var(--ink-soft); max-width: 56ch; }
.arka-eyebrow,
.arka-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.arka-star { flex: none; }
.arka-body p + p { margin-top: 0.8em; }
.arka-body a { color: var(--amber-deep); }

.arka-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.78em 1.4em;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.arka-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-print); }
.arka-btn:active { transform: translateY(1px); box-shadow: none; }
.arka-btn--chalk { background: var(--ink); color: var(--paper); }
.arka-btn--chalk:hover { background: #3c2d1f; }
.arka-btn--amber { background: var(--amber); color: #241a12; }
.arka-btn--amber:hover { background: #d29538; }
.arka-btn--line { border-color: var(--amber-deep); color: var(--amber-deep); background: transparent; }
.arka-btn--line:hover { background: var(--amber-deep); color: var(--paper); }

/* ---------- header ---------- */
.arka-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 4px 0 -3px var(--line-soft);
}
.arka-header__bar {
  max-width: 1180px;
  margin-inline: auto;
  padding: 14px clamp(18px, 4vw, 40px) 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 28px;
}
.arka-header__brand img { height: 44px; width: auto; }
.arka-header__nav { min-width: 0; }
.arka-header__nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.arka-header__nav ul::-webkit-scrollbar { display: none; }
.arka-header__nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 0.45em 0.72em;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;
  color: var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.arka-header__nav a:hover { background: rgba(200, 135, 43, 0.16); }
.arka-header__nav a.is-active { color: var(--amber-deep); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 8px 8px 2px 2px; }
.arka-header__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--amber);
  color: #241a12;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55em 1.05em;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.arka-header__tel:hover { background: #d29538; transform: translateY(-1px); }
.arka-header__burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.arka-header__burger:hover { border-color: var(--amber-deep); color: var(--amber-deep); }
@media (max-width: 919px) {
  .arka-header__bar { grid-template-columns: 1fr auto auto; }
  .arka-header__brand { grid-row: 1; grid-column: 1; }
  .arka-header__brand img { height: 38px; }
  .arka-header__tel { grid-row: 1; grid-column: 3; justify-self: end; }
  .arka-header__tel span { display: none; }
  .arka-header__tel { padding: 0.62em; border-radius: 50%; }
  /* no-JS fallback: nav wraps under the logo row, always reachable */
  .arka-header__nav { grid-column: 1 / -1; }
  .arka-header__nav ul { flex-wrap: wrap; overflow: visible; }
  /* with JS: burger + chalkboard overlay replace the wrapped chips */
  body.arka-js .arka-header__nav { display: none; }
  body.arka-js .arka-header__burger { display: grid; grid-row: 1; grid-column: 2; }
}

/* mobile nav overlay — the pub chalkboard as the menu */
.arka-mobnav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: linear-gradient(180deg, var(--chalk-bg-2), var(--chalk-bg));
  background-image:
    var(--grain),
    radial-gradient(34rem 20rem at 12% 4%, rgba(240, 233, 220, 0.06), transparent 60%),
    linear-gradient(180deg, var(--chalk-bg-2), var(--chalk-bg));
  color: var(--chalk);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.arka-mobnav.is-open { opacity: 1; visibility: visible; }
.arka-mobnav__script {
  font-family: var(--font-chalk);
  font-size: 1.5rem;
  color: var(--amber);
  transform: rotate(-2deg);
  text-align: center;
  margin-bottom: 0.6em;
}
.arka-mobnav ul { list-style: none; display: grid; gap: 0.15em; text-align: center; }
.arka-mobnav a {
  display: inline-block;
  padding: 0.32em 0.6em;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--chalk);
  text-decoration: none;
  border-radius: 8px;
}
.arka-mobnav a:hover, .arka-mobnav a.is-active { color: var(--amber); }
.arka-mobnav__tel {
  margin-top: 1.6em;
  justify-self: center;
}
.arka-mobnav .arka-header__tel { padding: 0.55em 1.2em; border-radius: 999px; }
.arka-mobnav .arka-header__tel span { display: inline; }
.arka-mobnav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--chalk-line);
  border-radius: 50%;
  background: transparent;
  color: var(--chalk);
  font-size: 1.5rem;
  cursor: pointer;
}
.arka-mobnav__close:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- hero: printed-menu masthead + full-bleed photo band ---------- */
.arka-hero__head {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(48px, 7.5vw, 96px) clamp(18px, 4vw, 40px) clamp(36px, 4.5vw, 56px);
  text-align: center;
  background: radial-gradient(52rem 26rem at 50% -10%, rgba(200, 135, 43, 0.1), transparent 62%);
}
.arka-hero__head > * { animation: arka-rise 0.55s ease both; }
.arka-hero__head > *:nth-child(2) { animation-delay: 0.08s; }
.arka-hero__head > *:nth-child(3) { animation-delay: 0.16s; }
.arka-hero__head > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes arka-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.arka-hero__heading {
  font-size: clamp(3rem, 8.4vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  white-space: pre-line;
  margin-top: 0.4em;
  text-wrap: balance;
}
.arka-hero__sub {
  margin-top: 1em;
  margin-inline: auto;
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 52ch;
}
.arka-hero__cta {
  margin-top: 1.7em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
/* dotted price-leader rule, the menu-card signature */
.arka-hero__rule {
  width: min(320px, 60%);
  margin: 2.6em auto 0;
  border-top: 3px dotted var(--line);
}
.arka-hero__band {
  position: relative;
  height: clamp(250px, 36vw, 450px);
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.arka-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arka-hero__stamp {
  position: absolute;
  right: clamp(16px, 5vw, 64px);
  bottom: 26px;
  transform: rotate(-4deg);
  border: 2px solid var(--amber-deep);
  color: var(--amber-deep);
  background: color-mix(in srgb, var(--paper-card) 92%, transparent);
  border-radius: 9px;
  padding: 0.55em 0.9em;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: center;
  white-space: pre-line;
  line-height: 1.35;
  box-shadow: var(--shadow-print);
}

/* ---------- chalk surfaces (tap strip, daily board, footer) ---------- */
.arka-tap,
.arka-chalk,
#denni-menu,
.arka-footer {
  background: linear-gradient(180deg, var(--chalk-bg-2), var(--chalk-bg));
  background-image:
    var(--grain),
    radial-gradient(40rem 18rem at 8% 0%, rgba(240, 233, 220, 0.05), transparent 60%),
    radial-gradient(36rem 20rem at 92% 100%, rgba(240, 233, 220, 0.04), transparent 60%),
    linear-gradient(180deg, var(--chalk-bg-2), var(--chalk-bg));
  color: var(--chalk);
}
.arka-tap { border-block: 1px solid rgba(240, 233, 220, 0.12); }
.arka-tap__inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 16px clamp(18px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
}
.arka-tap__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-chalk);
  font-size: 1.5rem;
  color: var(--amber);
  transform: rotate(-2deg);
}
.arka-tap__line { font-weight: 600; letter-spacing: 0.02em; font-size: 1.06rem; }
.arka-tap__more {
  margin-left: auto;
  color: var(--chalk-dim);
  font-size: 0.95rem;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}
.arka-tap__more:hover { color: var(--amber); }

/* daily menu board: intro section + module section render as one board */
.arka-chalk--intro {
  padding: clamp(44px, 6vw, 72px) clamp(18px, 4vw, 40px) 8px;
}
.arka-chalk__in,
#denni-menu > * { max-width: 880px; margin-inline: auto; }
.arka-chalk__script {
  font-family: var(--font-chalk);
  font-size: 1.6rem;
  color: var(--amber);
  transform: rotate(-2deg);
  width: fit-content;
}
.arka-chalk__heading {
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.arka-chalk__heading::after {
  content: '';
  display: block;
  width: 84px;
  height: 4px;
  margin-top: 0.35em;
  border-radius: 2px;
  background: var(--amber);
  opacity: 0.85;
}
.arka-chalk__note { margin-top: 0.9em; color: var(--chalk-dim); max-width: 60ch; }
.arka-chalk__note a { color: var(--chalk); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.arka-chalk__note a:hover { color: var(--amber); }
#denni-menu { padding: 10px clamp(18px, 4vw, 40px) clamp(48px, 6vw, 76px); }
#denni-menu .ve-menu-card__heading {
  font-family: var(--font-chalk);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--amber);
  margin: 1.1em 0 0.4em;
  transform: rotate(-0.8deg);
  width: fit-content;
}
#denni-menu .ve-menu-card__item + .ve-menu-card__item { margin-top: 0.55em; }
#denni-menu .ve-menu-card__line { display: flex; align-items: baseline; gap: 0.6em; }
#denni-menu .ve-menu-card__name { font-weight: 500; }
#denni-menu .ve-menu-card__leader { flex: 1; border-bottom: 2px dotted var(--chalk-line); transform: translateY(-4px); min-width: 2ch; }
#denni-menu .ve-menu-card__price { font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
#denni-menu .ve-menu-card__desc { color: var(--chalk-dim); font-style: italic; font-size: 0.95rem; margin-top: 0.15em; }
#denni-menu:not(:has(.ve-menu-card__category))::after {
  content: 'Dnešní menu právě není vypsané - aktuální nabídku najdete na menicka.cz.';
  display: block;
  max-width: 880px;
  margin-inline: auto;
  color: var(--chalk-dim);
  font-style: italic;
  padding-bottom: 8px;
}

/* ---------- paper menu (stálá + nápoje) ---------- */
.arka-menu-intro {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(52px, 7vw, 88px) clamp(18px, 4vw, 40px) 12px;
}
.arka-menu-intro .arka-lead { margin-top: 1em; }
.arka-menu-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; }
.arka-menu-tabs__pill {
  display: inline-block;
  padding: 0.55em 1.25em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.arka-menu-tabs__pill:hover { border-color: var(--amber-deep); color: var(--amber-deep); }
.arka-menu-tabs__pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

#stala-nabidka, #napoje {
  max-width: 1180px;
  margin-inline: auto;
  padding: 26px clamp(18px, 4vw, 40px) clamp(40px, 5vw, 64px);
}
#stala-nabidka { padding-bottom: 8px; }
@media (min-width: 860px) {
  #stala-nabidka, #napoje { columns: 2; column-gap: clamp(40px, 6vw, 88px); }
}
#stala-nabidka .ve-menu-card__category,
#napoje .ve-menu-card__category {
  break-inside: avoid;
  margin-bottom: 2.1em;
}
#stala-nabidka .ve-menu-card__heading,
#napoje .ve-menu-card__heading {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.34em 0.85em 0.3em;
  border-radius: 3px 10px 4px 9px / 9px 4px 10px 3px;
  transform: rotate(-0.5deg);
  margin-bottom: 0.9em;
}
.ve-menu-card__item + .ve-menu-card__item { margin-top: 0.5em; }
.ve-menu-card__line { display: flex; align-items: baseline; gap: 0.55em; }
.ve-menu-card__name { font-weight: 600; }
.ve-menu-card__leader { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 2ch; }
.ve-menu-card__price { font-weight: 700; color: var(--amber-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ve-menu-card__desc { color: var(--ink-soft); font-size: 0.93rem; margin-top: 0.12em; }

/* JS-enhanced tabs: hide the inactive card, keep no-JS stacked fallback */
body.arka-tabs .arka-menu-panel-hidden { display: none; }

/* ---------- o nás ---------- */
.arka-onas {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.arka-onas__text .arka-body { margin-top: 1.2em; }
.arka-onas__text .arka-btn { margin-top: 1.6em; }
.arka-onas__media { position: relative; padding-bottom: 56px; }
.arka-onas__photo {
  border-radius: 12px;
  border: 6px solid #fdfaf2;
  box-shadow: var(--shadow-print);
  object-fit: cover;
}
.arka-onas__photo--a { width: 88%; aspect-ratio: 4 / 3; transform: rotate(0.8deg); }
.arka-onas__photo--b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  aspect-ratio: 5 / 3.4;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-lift);
}

/* ---------- rauty ---------- */
.arka-rauty { padding: 10px clamp(18px, 4vw, 40px) clamp(30px, 4vw, 48px); }
.arka-rauty__panel {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
  background: var(--paper-warm);
  background-image: var(--grain);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 4px var(--paper-warm), inset 0 0 0 5px var(--line-soft);
  border-radius: 4px;
  padding: clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.arka-rauty__panel::before,
.arka-rauty__panel::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--amber-deep);
}
.arka-rauty__panel::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.arka-rauty__panel::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.arka-rauty__text .arka-h2 { margin-top: 0.5em; }
.arka-rauty__text .arka-body { margin-top: 1.1em; max-width: 54ch; }
.arka-rauty__cta { margin-top: 1.5em; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.arka-rauty__ctanote {
  font-family: var(--font-chalk);
  font-size: 1.35rem;
  color: var(--ink-soft);
  transform: rotate(-2deg);
}
.arka-rauty__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.arka-rauty__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 6px solid #fdfaf2;
  box-shadow: var(--shadow-print);
}
.arka-rauty__photo--wide { grid-column: 1 / -1; aspect-ratio: 16 / 8.5; transform: rotate(0.5deg); }
.arka-rauty__photo:nth-child(2) { transform: rotate(-1.2deg); }
.arka-rauty__photo:nth-child(3) { transform: rotate(1.1deg); }

/* ---------- pivo ---------- */
.arka-pivo {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 40px) clamp(40px, 6vw, 72px);
}
.arka-pivo .arka-lead { margin-top: 1em; }
.arka-pivo__cards {
  margin-top: 2.2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(18px, 3vw, 32px);
}
.arka-pivo__card {
  background: var(--paper-card);
  background-image: var(--grain);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-print);
}
.arka-pivo__card {
  position: relative;
  text-align: center;
}
.arka-pivo__tap {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--amber);
  opacity: 0.7;
}
.arka-pivo__logo {
  height: clamp(96px, 12vw, 132px);
  width: auto;
  margin-inline: auto;
  mix-blend-mode: multiply;
  margin-bottom: 1.15em;
}
.arka-pivo__name { font-size: 1.35rem; font-weight: 800; }
.arka-pivo__origin {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-top: 0.35em;
}
.arka-pivo__text {
  margin-top: 0.85em;
  margin-inline: auto;
  max-width: 44ch;
  color: var(--ink-soft);
}

/* ---------- akce (ve-portfolio) ---------- */
#akce {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 56px) clamp(18px, 4vw, 40px) clamp(48px, 6vw, 80px);
}
#akce .ve-portfolio__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
#akce .ve-portfolio__heading {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
#akce .ve-portfolio__heading::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.42em;
  border-radius: 2px;
  background: var(--amber);
}
#akce .ve-portfolio__projects {
  margin-top: 2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3.5vw, 40px);
  align-items: start;
}
#akce .ve-portfolio__project {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px 14px 20px;
  box-shadow: var(--shadow-print);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
#akce .ve-portfolio__project:nth-child(odd) { transform: rotate(-0.6deg); }
#akce .ve-portfolio__project:nth-child(even) { transform: rotate(0.6deg); }
#akce .ve-portfolio__project:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lift); }

/* upcoming: an amber date ribbon pinned to the poster's top-left */
.arka-akce__date {
  position: absolute;
  top: 24px;
  left: -6px;
  z-index: 2;
  background: var(--amber);
  color: #241a12;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 0.42em 0.85em;
  border-radius: 0 7px 7px 0;
  box-shadow: var(--shadow-print);
  transform: rotate(-2deg);
}
.arka-akce__date::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  border-width: 6px 6px 0 0;
  border-style: solid;
  border-color: var(--amber-deep) transparent transparent transparent;
}
/* past: a rubber "Proběhlo" stamp + the poster recedes */
.arka-akce__stamp {
  position: absolute;
  top: 40px;
  left: 50%;
  z-index: 2;
  translate: -50% 0;
  rotate: -9deg;
  border: 3px solid var(--amber-deep);
  color: var(--amber-deep);
  background: color-mix(in srgb, var(--paper-card) 78%, transparent);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22em 0.7em;
  border-radius: 7px;
  opacity: 0.92;
}
.arka-akce--past .ve-portfolio__image { filter: grayscale(0.55) contrast(0.96); opacity: 0.82; }
.arka-akce--past .ve-portfolio__title { color: var(--ink-soft); }
#akce .ve-portfolio__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}
#akce .ve-portfolio__title { font-size: 1.18rem; font-weight: 800; margin-top: 0.85em; padding-inline: 6px; }
#akce .ve-portfolio__description { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.35em; padding-inline: 6px; }

/* ---------- galerie (ve-gallery) ---------- */
#galerie {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 56px) clamp(18px, 4vw, 40px) clamp(56px, 7vw, 88px);
}
#galerie .ve-gallery__heading {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
#galerie .ve-gallery__heading::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.42em;
  border-radius: 2px;
  background: var(--amber);
}
#galerie .ve-gallery__images { margin-top: 1.8em; columns: 3; column-gap: 16px; }
@media (max-width: 899px) { #galerie .ve-gallery__images { columns: 2; } }
@media (max-width: 479px) { #galerie .ve-gallery__images { columns: 2; column-gap: 10px; } }
#galerie .ve-gallery__item {
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-print);
  cursor: zoom-in;
}
@media (max-width: 479px) { #galerie .ve-gallery__item { margin-bottom: 10px; } }
#galerie .ve-gallery__image {
  width: 100%;
  transition: transform 0.25s ease;
}
#galerie .ve-gallery__item:hover .ve-gallery__image { transform: scale(1.03); }

/* lightbox — NEVER set `position` on a modal <dialog>: the UA positions it
   fixed in the viewport; overriding demotes it into page flow (opens at the
   document top, off-screen). margin:auto restores centering killed by the
   global reset; abs-positioned buttons anchor to the dialog because a fixed
   dialog is already their containing block. */
.arka-lightbox {
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(94vw, 1400px);
}
body.arka-locked { overflow: hidden; }
.arka-lightbox::backdrop { background: rgba(18, 12, 7, 0.88); }
.arka-lightbox img {
  max-width: min(94vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: 10px;
  border: 6px solid #fdfaf2;
}
.arka-lightbox__close,
.arka-lightbox__prev,
.arka-lightbox__next {
  position: absolute;
  border: 0;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(244, 236, 221, 0.94);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 700;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.arka-lightbox__close:hover,
.arka-lightbox__prev:hover,
.arka-lightbox__next:hover { background: var(--amber); transform: scale(1.05); }
.arka-lightbox__close { top: 10px; right: 10px; }
.arka-lightbox__prev { left: 10px; top: 50%; translate: 0 -50%; }
.arka-lightbox__next { right: 10px; top: 50%; translate: 0 -50%; }

/* ---------- kontakt ---------- */
.arka-kontakt {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 40px) clamp(64px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.arka-kontakt__list { margin-top: 1.6em; display: grid; gap: 1.05em; }
.arka-kontakt__row dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.arka-kontakt__row dd { margin: 0.15em 0 0; font-size: 1.08rem; }
.arka-kontakt__row a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.arka-kontakt__row a:hover { color: var(--amber-deep); }
.arka-kontakt__social { display: flex; gap: 1.1em; }
.arka-kontakt .arka-btn { margin-top: 1.7em; }
.arka-kontakt__map {
  position: relative;
  display: block;
  border-radius: 14px;
  border: 6px solid #fdfaf2;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform: rotate(0.5deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.arka-kontakt__map:hover { transform: rotate(0deg) translateY(-3px); }
.arka-kontakt__map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  border: 0;
  filter: sepia(0.12) saturate(0.94);
}
.arka-kontakt__maplink {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.6em 1.1em;
  border-radius: 9px;
  text-decoration: none;
  box-shadow: var(--shadow-print);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.arka-kontakt__maplink:hover { background: var(--amber-deep); transform: translateY(-1px); }

/* ---------- footer ---------- */
.arka-footer {
  text-align: center;
  padding: clamp(48px, 7vw, 80px) clamp(18px, 4vw, 40px) clamp(40px, 6vw, 64px);
}
.arka-footer__script {
  font-family: var(--font-chalk);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--amber);
  transform: rotate(-1.6deg);
  width: fit-content;
  margin-inline: auto;
}
.arka-footer__line { margin-top: 1.1em; color: var(--chalk-dim); }
.arka-footer__line a { color: var(--chalk); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.arka-footer__nav ul {
  margin-top: 1.2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em 1.6em;
  list-style: none;
}
.arka-footer__nav a { color: var(--chalk); text-decoration-style: dotted; text-underline-offset: 4px; }
.arka-footer__nav a:hover { color: var(--amber); }
.arka-footer__legal { margin-top: 1.6em; font-size: 0.88rem; color: var(--chalk-dim); }
.arka-footer__credit { color: var(--chalk-dim); text-decoration-style: dotted; text-underline-offset: 3px; }
.arka-footer__credit:hover { color: var(--amber); }

/* ---------- responsive collapses ---------- */
@media (max-width: 919px) {
  html { scroll-padding-top: 118px; }
  .arka-hero { grid-template-columns: 1fr; }
  .arka-hero__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .arka-onas { grid-template-columns: 1fr; }
  .arka-rauty__panel { grid-template-columns: 1fr; }
  .arka-kontakt { grid-template-columns: 1fr; }
  .arka-tap__more { margin-left: 0; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms; animation-iteration-count: 1; transition-duration: 0.01ms; }
}
