/* ============================================================
   Vernis — kurátorské kolekce tapet
   Design tokens
   ============================================================ */

:root {
  /* Artwork is delivered at 5248 × 3264; every frame follows it so
     nothing is cropped. Change both together if that ever changes. */
  --art-ratio: 5248 / 3264;
  --art-pad: 62.195%;

  --paper:        #F2EFE8;
  --paper-sunk:   #EAE6DD;
  --ink:          #17150F;
  --ink-soft:     #2A271E;
  --muted:        #4A463C;
  --faint:        #6E6959;

  --line:         rgba(23, 21, 15, 0.14);
  --line-strong:  rgba(23, 21, 15, 0.25);

  --accent:       #274134;

  --night:        #2B2419;   /* hero */
  --night-menu:   #0B0B0C;   /* overlay menu */
  --night-lb:     #08080A;   /* lightbox */
  --night-bar:    #17150F;   /* sticky price bar */

  --on-night:         #F2EFE8;
  --on-night-dim:     rgba(242, 239, 232, 0.6);
  --on-night-faint:   rgba(242, 239, 232, 0.55);
  --on-night-line:    rgba(242, 239, 232, 0.35);
  --on-night-hairline:rgba(242, 239, 232, 0.18);

  --serif: "Instrument Serif", Georgia, serif;
  --sans:  Archivo, "Helvetica Neue", Helvetica, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-slide: cubic-bezier(0.2, 0.7, 0.2, 1);

  --shell: 1360px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ============================================================
   Base
   ============================================================ */

html, body { margin: 0; padding: 0; background: var(--paper); }

body {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

* { box-sizing: border-box; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lightbox :focus-visible,
.overlay-menu :focus-visible,
.site-header :focus-visible { outline-color: var(--on-night); }

[hidden] { display: none !important; }

.shell { max-width: var(--shell); margin: 0 auto; }

/* The woven canvas texture that stands in for artwork. */
.tex {
  background-color: var(--c, var(--ink));
  background-image: repeating-linear-gradient(
    112deg,
    rgba(255, 255, 255, 0.05) 0 2px,
    rgba(0, 0, 0, 0) 2px var(--step, 11px)
  );
}

.eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn--cta {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  border: 0;
  padding: 18px 28px;
  transition: opacity 500ms var(--ease);
}
.btn--cta:hover { color: var(--paper); opacity: 0.88; }

.btn--ghost {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  padding: 15px 18px;
  transition: border-color 500ms ease, background 500ms ease;
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn__arrow { font-family: var(--sans); font-size: 13px; }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 4vw, 30px) var(--gutter);
  mix-blend-mode: difference;
}

.brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--on-night);
}

/* Značka jde dovnitř jako maska, ne jako obrázek: bere barvu z textu, takže
   se chová stejně pod mix-blend-mode: difference v hlavičce. Černé PNG by
   se v tom režimu ztratilo úplně. */
.brand__mark {
  flex: none;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("brand/logo/vernis-symbol-256.png") center / contain no-repeat;
  mask: url("brand/logo/vernis-symbol-256.png") center / contain no-repeat;
}
a.brand:hover { color: var(--on-night); }

.menu-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid rgba(242, 239, 232, 0.5);
  color: var(--on-night);
  padding: 9px 16px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 500ms ease;
}
.menu-btn:hover { border-color: var(--on-night); }
.menu-btn--light { border-color: var(--on-night-line); }

.menu-btn__icon {
  display: block;
  width: 14px;
  height: 5px;
  border-top: 1px solid var(--on-night);
  border-bottom: 1px solid var(--on-night);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--night);
}

.hero__bg { position: absolute; inset: -8% 0 0 0; }

.hero__weave {
  position: absolute;
  inset: 0;
  background-color: #3B3225;
  background-image: repeating-linear-gradient(
    112deg,
    rgba(255, 255, 255, 0.045) 0 2px,
    rgba(0, 0, 0, 0) 2px 11px
  );
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1600ms ease-in-out;
}
.hero__slide.is-on { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 6, 0.82) 0%,
    rgba(10, 9, 6, 0.46) 9%,
    rgba(10, 9, 6, 0.30) 26%,
    rgba(10, 9, 6, 0.34) 62%,
    rgba(10, 9, 6, 0.76) 100%
  );
}

.hero__nav {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(22px, 5vw, 56px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  max-width: calc(100% - 40px);
}

.hero__dots { display: flex; align-items: center; gap: 14px; }

.hero__dot {
  width: 14px;
  height: 1px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(242, 239, 232, 0.45);
  transition: width 700ms var(--ease), background 700ms var(--ease);
}
.hero__dot.is-on { width: 34px; background: var(--on-night); }

.hero__caption {
  margin: 0 0 0 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.62);
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
}

.hero__panel {
  width: min(660px, 100%);
  background: rgba(242, 239, 232, 0.94);
  padding: clamp(30px, 6vw, 64px) clamp(24px, 5.5vw, 64px) clamp(30px, 5vw, 56px);
  box-shadow: 0 40px 120px rgba(11, 10, 7, 0.55);
}

.hero__eyebrow { margin-bottom: 40px; }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 13vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.hero__lead {
  font-family: var(--serif);
  font-size: clamp(22px, 4.6vw, 34px);
  line-height: 1.16;
  margin: 0 0 22px;
  max-width: 30ch;
}
.hero__lead em { font-style: italic; color: var(--accent); }

.hero__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* ============================================================
   Manifest
   ============================================================ */

.manifest {
  display: flex;
  align-items: center;
  padding: clamp(110px, 16vw, 200px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.manifest__inner {
  max-width: var(--shell);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 64px;
  align-items: flex-start;
}

.manifest__label { flex: 0 1 180px; padding-top: 22px; }

.manifest__text {
  font-family: var(--serif);
  flex: 1 1 520px;
  max-width: 940px;
  font-size: clamp(29px, 5.6vw, 66px);
  line-height: 1.1;
  margin: 0;
  text-wrap: pretty;
}

/* ============================================================
   Collections
   ============================================================ */

.collections { padding: clamp(100px, 14vw, 160px) var(--gutter) 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: clamp(64px, 9vw, 120px);
}

.collection {
  padding-bottom: clamp(100px, 13vw, 180px);
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.collection__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 56px clamp(40px, 6vw, 96px);
  align-items: start;
}

.collection__info { position: static; }

.collection__num {
  font-family: var(--serif);
  font-size: clamp(74px, 15vw, 116px);
  line-height: 0.8;
  color: var(--ink);
  margin: 0 0 26px;
}

.collection__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 7.5vw, 58px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}

.collection__name a { color: inherit; transition: color 400ms ease; }
.collection__name a:hover { color: var(--accent); }

.collection__kicker { letter-spacing: 0.26em; margin-bottom: 34px; }

.collection__curator {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.42;
  color: var(--ink-soft);
  margin: 0 0 40px;
  text-wrap: pretty;
}

.spec {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 14px;
  margin: 0 0 38px;
}

.spec__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.spec__row dt { color: var(--faint); }
.spec__row dd { color: var(--ink); margin: 0; text-align: right; }

.collection__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.collection__actions .btn--ghost { gap: 10px; }
.collection__actions .btn__arrow { font-size: 13px; }

/* --- the stack of desktop compositions --- */

.stack {
  position: relative;
  padding-bottom: 76px;
  margin-bottom: 20px;
}

.stack__card {
  position: absolute;
  top: 0;
  left: 0;
  width: min(470px, 76%);
  box-shadow: 0 24px 60px rgba(11, 10, 7, 0.12);
  transition: transform 620ms var(--ease);
}
.stack__card:first-child { position: relative; }

.stack__mat { background: var(--paper-sunk); padding: 26px 26px 20px; }

.stack__label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 16px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.stack__card:first-child .stack__label { opacity: 1; }
.stack.is-open .stack__label { opacity: 1; }
.stack__label b { font-weight: 400; color: var(--ink); }

.stack__hint {
  position: absolute;
  left: 0;
  bottom: 18px;
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --- artwork plate, shared by stack / phones / detail tiles --- */

.plate {
  position: relative;
  cursor: pointer;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  transition: filter 600ms var(--ease), transform 600ms var(--ease);
}
.plate--wide { aspect-ratio: var(--art-ratio); }
.plate--tall { aspect-ratio: 9 / 19.5; width: 128px; }

.plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plate__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 500ms ease;
}
.plate:hover .plate__hover,
.plate:focus-visible .plate__hover { opacity: 1; }

.plate__hover span {
  background: rgba(242, 239, 232, 0.94);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* --- phone compositions --- */

.phones {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.phones__label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  width: 92px;
  padding-top: 4px;
}

.phones__row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
}

.phone-card { background: var(--paper-sunk); padding: 18px 18px 14px; }

.phone-card__meta {
  padding-top: 12px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.7;
}
.phone-card__meta b { font-weight: 400; color: var(--ink); display: block; }

/* ============================================================
   Gallery pages — one hall per page
   ============================================================ */

.hall-hero {
  position: relative;
  display: flex;
  height: min(72svh, 720px);
  min-height: 420px;
  overflow: hidden;
  background: var(--night);
}

.hall-hero__bg {
  position: absolute;
  inset: -8% 0 0 0;
  background-size: cover;
  background-position: center;
}

.hall-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 6, 0.82) 0%,
    rgba(10, 9, 6, 0.46) 9%,
    rgba(10, 9, 6, 0.32) 42%,
    rgba(10, 9, 6, 0.78) 100%
  );
}

.hall-hero__inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(84px, 13vw, 124px) var(--gutter) clamp(30px, 6vw, 56px);
}

.backlink {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.7);
  transition: color 400ms ease, gap 400ms var(--ease);
}
.backlink:hover { color: var(--on-night); gap: 16px; }

.hall-hero__eyebrow {
  margin-top: auto;
  margin-bottom: 18px;
  color: rgba(242, 239, 232, 0.62);
}

.hall-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 12vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--on-night);
  margin: 0 0 16px;
}

.hall-hero__kicker {
  letter-spacing: 0.26em;
  color: rgba(242, 239, 232, 0.62);
}

.hall-intro {
  padding: clamp(72px, 10vw, 120px) var(--gutter) clamp(60px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hall-intro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}

.hall-intro__curator {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.3;
  color: var(--ink-soft);
  margin: 0 0 24px;
  text-wrap: pretty;
}

.hall-intro__note {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
}

/* The pinned price bar must not sit on top of the last line of the page. */
body[data-gallery] .site-footer { padding-bottom: clamp(96px, 12vw, 124px); }

/* ============================================================
   Exhibition grid
   ============================================================ */

.exhibition { padding: clamp(72px, 10vw, 120px) var(--gutter) clamp(110px, 14vw, 180px); }

.exhibition__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.exhibition__switch {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.exhibition__switch .eyebrow { font-size: 9.5px; letter-spacing: 0.2em; }

.seg { display: flex; border: 1px solid var(--line-strong); }

.seg__btn {
  background: transparent;
  color: var(--faint);
  border: 0;
  padding: 13px 20px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 500ms var(--ease), color 500ms var(--ease);
}
.seg__btn.is-on { background: var(--ink); color: var(--paper); }
.seg__btn:disabled { cursor: not-allowed; opacity: 0.45; }

/* Mobile compositions are not drawn yet; anything promising them is
   visibly held back rather than quietly shown. */
.is-soon { opacity: 0.55; }
.is-soon .plate { cursor: default; }

.soon-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.soon-tag--light {
  border-color: var(--on-night-line);
  color: var(--on-night-faint);
}

.exhibition__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 48px 40px;
  align-items: start;
  transition: grid-template-columns 620ms var(--ease);
}
/* Vysoké kompozice snesou užší sloupce. */
.exhibition__grid.is-mobile {
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
}
.exhibition__grid.is-mobile .tile { padding: 18px 18px 14px; }
.tile {
  background: var(--paper-sunk);
  padding: 26px 26px 20px;
}

.tile__plate {
  width: 100%;
  aspect-ratio: var(--art-ratio);   /* záloha; skutečný tvar dosadí app.js z katalogu */
}
.tile__plate .plate__hover span { padding: 9px 14px; font-size: 9.5px; }

.tile__meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--faint);
}
.tile__meta b { font-weight: 400; color: var(--ink); font-size: 10px; display: block; }

/* ============================================================
   Next hall
   ============================================================ */

.hall-next { padding: 0 var(--gutter) clamp(90px, 12vw, 140px); }

.hall-next__link {
  display: flex;
  align-items: baseline;
  gap: 14px 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 4vw, 44px) 0;
  transition: padding-left 600ms var(--ease-slide), color 400ms ease;
}
.hall-next__link:hover { padding-left: 18px; color: var(--ink); }

.hall-next__label { flex: none; width: 92px; }

.hall-next__name {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1;
}

.hall-next__meta { margin-left: auto; }
.hall-next__arrow { font-family: var(--sans); font-size: 15px; }

/* ============================================================
   Devices
   ============================================================ */

.devices {
  padding: clamp(100px, 14vw, 150px) var(--gutter) clamp(110px, 14vw, 170px);
  background: var(--paper-sunk);
}

.devices__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(52px, 8vw, 90px);
}

.devices__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1;
  margin: 0;
  max-width: 22ch;
}

.devices__note {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  max-width: 34ch;
  line-height: 2;
}

.devices__row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(30px, 5vw, 56px);
  flex-wrap: wrap;
  max-width: 100%;
}
/* The 720px monitor must be allowed to shrink, or its intrinsic width
   widens the layout viewport and pushes the fixed header off-screen. */
.devices__row > * { min-width: 0; max-width: 100%; }

.screen {
  background: var(--ink);
  padding: 14px;
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}
.screen__panel {
  width: 720px;
  max-width: 100%;
  aspect-ratio: var(--art-ratio);
  background-size: cover;
  background-position: center;
}

.screen__stand {
  width: min(820px, 104%);
  height: 13px;
  background: #211E17;
  border-radius: 0 0 10px 10px;
  margin-left: -2%;
  position: relative;
}
.screen__notch {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 92px;
  height: 4px;
  background: var(--ink);
  border-radius: 0 0 4px 4px;
}

.device__caption {
  margin-top: 22px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
}

.devices__phones {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.phone-mock { background: var(--ink); padding: 9px; border-radius: 30px; }
.phone-mock__panel { width: 150px; aspect-ratio: 9 / 19.5; border-radius: 22px; }

/* ============================================================
   Steps
   ============================================================ */

.steps { padding: clamp(110px, 14vw, 170px) var(--gutter); }

.steps__label {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 56px clamp(40px, 5vw, 72px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.step__num {
  font-family: var(--serif);
  font-size: 82px;
  line-height: 0.8;
  margin: 0 0 34px;
}

.step__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 14px;
}

.step__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq { padding: 40px var(--gutter) clamp(110px, 14vw, 180px); }

.faq__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px clamp(40px, 6vw, 96px);
  align-items: flex-start;
}

.faq__label {
  flex: 0 1 200px;
  position: static;
  align-self: start;
}

.faq__list { flex: 1 1 520px; border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__heading { margin: 0; font-weight: 400; }

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: 0;
  padding: clamp(24px, 3vw, 34px) 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 27px);
  color: var(--ink);
}

.faq__sign {
  flex: none;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--faint);
  transition: transform 560ms var(--ease), color 400ms var(--ease);
}
.faq__q[aria-expanded="true"] .faq__sign {
  color: var(--accent);
  transform: rotate(45deg);
}

.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 620ms var(--ease), opacity 460ms var(--ease);
}
.faq__item.is-open .faq__body { grid-template-rows: 1fr; opacity: 1; }

.faq__clip { min-height: 0; overflow: hidden; }

.faq__a {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  padding: 0 clamp(0px, 8vw, 96px) 34px 0;
  max-width: 72ch;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: clamp(80px, 12vw, 110px) var(--gutter) 56px;
  border-top: 1px solid var(--line);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px 64px;
  flex-wrap: wrap;
  padding-bottom: clamp(56px, 8vw, 90px);
}

/* Patička se podepisuje celým lockupem. Zase jako maska, aby brala --ink
   a dala se kdykoliv obrátit na světlou variantu jedinou barvou. */
.site-footer__lockup {
  width: clamp(190px, 26vw, 268px);
  aspect-ratio: 2400 / 816;
  margin: 0 0 16px;
  background-color: var(--ink);
  -webkit-mask: url("brand/logo/vernis-lockup-900.png") left center / contain no-repeat;
  mask: url("brand/logo/vernis-lockup-900.png") left center / contain no-repeat;
}
.site-footer__top .eyebrow { letter-spacing: 0.28em; }

.site-footer__nav {
  display: flex;
  gap: 36px clamp(36px, 6vw, 88px);
  flex-wrap: wrap;
}

.site-footer__col {
  display: grid;
  gap: 16px;
  align-content: start;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-footer__col .eyebrow { letter-spacing: 0.2em; }

.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ============================================================
   Sticky price bar
   ============================================================ */

.pricebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--night-bar);
  border-top: 1px solid rgba(242, 239, 232, 0.15);
  transform: translateY(100%);
  transition: transform 620ms var(--ease);
}
.pricebar.is-on { transform: translateY(0); }

.pricebar__inner {
  padding: 12px clamp(16px, 4vw, 48px);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.pricebar__meta {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-night-dim);
}
.pricebar__name { color: var(--on-night); }

.pricebar__buy { display: flex; align-items: center; gap: 26px; }

.pricebar__price {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--on-night);
}

.pricebar__btn {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ============================================================
   Overlay menu
   ============================================================ */

.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--night-menu);
  color: var(--on-night);
  opacity: 0;
  pointer-events: none;
  transition: opacity 560ms var(--ease);
  overflow-y: auto;
}
.overlay-menu.is-on { opacity: 1; pointer-events: auto; }

.overlay-menu__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(18px, 4vw, 30px) var(--gutter);
}

.overlay-menu__body {
  padding: clamp(32px, 6vw, 60px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: flex-start;
}

.overlay-menu__nav { flex: 1 1 420px; }

.overlay-menu__label {
  color: rgba(242, 239, 232, 0.5);
  border-bottom: 1px solid var(--on-night-hairline);
  padding-bottom: 18px;
  margin-bottom: 8px;
}

.menu-link {
  display: flex;
  align-items: baseline;
  gap: 12px 26px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--on-night-hairline);
  color: var(--on-night);
  transition: padding-left 600ms var(--ease-slide), opacity 500ms ease;
}
.menu-link:hover { padding-left: 18px; color: var(--on-night); }

.menu-link__num {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--on-night-faint);
  width: 32px;
}

.menu-link__label {
  font-family: var(--serif);
  font-size: clamp(34px, 8vw, 62px);
  line-height: 1;
}

.menu-link__meta {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-night-faint);
}

.overlay-menu__aside {
  flex: 0 1 220px;
  color: var(--on-night-faint);
  line-height: 2.4;
}
.overlay-menu__aside p { margin: 0; }
.overlay-menu__aside-title { color: var(--on-night); margin-bottom: 18px !important; }

/* ============================================================
   Lightbox
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--night-lb);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 560ms var(--ease);
}
.lightbox.is-on { opacity: 1; pointer-events: auto; }

.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: clamp(16px, 4vw, 26px) clamp(14px, 4vw, 34px);
}

.lightbox__counter { color: var(--on-night-faint); letter-spacing: 0.24em; }

.lightbox__tools { display: flex; align-items: center; gap: 20px; }

.seg--dark { border-color: var(--on-night-line); }
.seg--dark .seg__btn {
  color: var(--on-night-dim);
  padding: 10px 16px;
  transition: background 400ms var(--ease), color 400ms var(--ease);
}
.seg--dark .seg__btn.is-on { background: var(--paper); color: var(--ink); }

.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 44px);
  padding: 0 clamp(10px, 3vw, 34px);
}

.lightbox__arrow {
  flex: none;
  background: transparent;
  border: 1px solid var(--on-night-line);
  color: var(--on-night);
  width: 46px;
  height: 46px;
  cursor: pointer;
  font-size: 15px;
}

.lightbox__frame {
  width: min(88vw, 116vh);
  aspect-ratio: var(--art-ratio);
  transition: width 620ms var(--ease);
  background-size: cover;
  background-position: center;
  background-color: #111;
}

.lightbox.is-mobile .lightbox__frame { width: min(72vw, 42vh); }

.lightbox__caption {
  padding: clamp(18px, 4vw, 28px) clamp(14px, 4vw, 34px) clamp(24px, 4vw, 40px);
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-night-dim);
  line-height: 2;
}
.lightbox__caption p { margin: 0; color: inherit; }
.lightbox__title { color: var(--on-night) !important; font-size: 11px; }

/* ============================================================
   Two-column layouts
   The side rails only stick once their row actually has a second
   column beside them; in the stacked layout a sticky rail would
   travel over the block below it.
   ============================================================ */

@media (min-width: 940px) {
  .collection__info,
  .faq__label {
    position: sticky;
    top: 120px;
  }
}

/* ============================================================
   Katalog — stav sálu, inventární čísla, štítky
   ============================================================ */

.status {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
  vertical-align: 1px;
}
.status--open { border-color: var(--accent); color: var(--accent); }
.status--upcoming { border-style: dashed; }
.status--archive { opacity: 0.7; }

.hall-line {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--faint);
  max-width: 44ch;
}

.tile__inv,
.lightbox__counter {
  font-variant-numeric: tabular-nums;
}
.tile__inv {
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--faint);
  margin-bottom: 6px;
}
.lightbox__note {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-night-dim);
}

.tile__note {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

/* ============================================================
   Textové stránky (právní a podobné)
   ============================================================ */

body.page { padding-top: clamp(96px, 14vw, 140px); }

.prose { padding: 0 var(--gutter) clamp(90px, 12vw, 140px); }
.prose .shell { max-width: 760px; }

.prose .backlink { color: var(--faint); margin-bottom: clamp(28px, 5vw, 44px); }
.prose .backlink:hover { color: var(--ink); }

.prose__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.prose__meta { margin-bottom: clamp(36px, 6vw, 56px); }

.prose__lead {
  font-family: var(--serif);
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.2;
  margin: 38px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { padding-top: 0; border-top: 0; }

.prose p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 68ch;
}
.prose b { font-weight: 500; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.prose ul { margin: 0 0 16px; padding-left: 20px; max-width: 68ch; }
.prose li {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 7px;
}

/* Rozepsaná stránka v patičce: zmíněná, ale ne odkaz. */
.is-pending { opacity: 0.4; cursor: default; }

/* ============================================================
   Motion preferences
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 1ms !important; }
}
