/* ============================================================================
   Jarmila Králová — warm cream + watercolour.
   Thesis: her own palette (obrazykralova.cz) — cream paper, warm orange mark,
   deep blue for links. No borrowed blue/violet, no borrowed crimson.
   ========================================================================== */

:root {
  /* --- Her fixed palette (verbatim) --------------------------------------- */
  --paper:      #F7ECDA;  /* warm cream — base background */
  --accent:     #ED7E11;  /* warm orange — CTAs, link hover, the mark */
  --link:       #1D5379;  /* deep blue — body links */
  --visited:    #6C4570;  /* muted plum — visited links */
  --panel:      #DCD0BA;  /* recessed panel */
  --border:     #CBB998;  /* hairline / rule */
  --gold:       #99804F;  /* label / wall-caption tone */
  --ink:        #444;     /* body text */

  /* --- Component vocabulary, remapped onto the palette above -------------- */
  --paper-2:    var(--panel);
  --ink-soft:   color-mix(in srgb, var(--ink) 80%, var(--paper));
  --muted:      var(--gold);
  --line:       var(--border);
  --crimson:    var(--accent);
  --crimson-dp: color-mix(in srgb, var(--accent) 78%, #000);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body:    "Instrument Sans", system-ui, -apple-system, sans-serif;
  --f-cat:     "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1600px;
}

/* ============================================================================
   Self-hosted fonts (GDPR — no Google Fonts CDN).
   Fraunces: variable font, wght 400–560, optical size + italic axis kept.
   Instrument Sans: 400 + 500. Space Mono: 400 + 700.
   latin + latin-ext subsets (latin-ext carries Czech diacritics: ě š č ř ž ů…).
   ========================================================================== */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 560;
  font-display: swap;
  src: url("../fonts/fraunces-normal-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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 560;
  font-display: swap;
  src: url("../fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 560;
  font-display: swap;
  src: url("../fonts/fraunces-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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 560;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-400-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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/instrument-sans-500-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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/instrument-sans-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-mono-400-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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-mono-700-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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-mono-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
a:hover { color: var(--accent); }
/* Chrome/UI links (brand mark, lang switch) stay neutral — the blue/orange
   pairing is reserved for real content links, not navigation furniture. */
.wordmark, .lang-switch a { color: inherit; }
.prose a:visited, .site-foot__links a:visited { color: var(--visited); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--crimson); outline-offset: 3px;
}

/* --- Catalogue label: the museum wall-label voice ------------------------- */
.cat {
  font-family: var(--f-cat);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- The signature mark ---------------------------------------------------- */
.mark { display: block; width: 120px; height: 12px; color: var(--crimson); }
.mark svg { width: 100%; height: 100%; }

/* ============================================================================
   Watercolour motif washes — her actual paint-washes, used as a soft header
   backdrop. Layered under a translucent paper tint so it reads as an aura
   behind the title, never competing with it; the rest of the section (grid,
   prose) sits on plain paper.
   ========================================================================== */
.section-motif {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: min(34rem, 62%) auto;
}
.section-motif--home {
  background-image:
    linear-gradient(color-mix(in srgb, var(--paper) 80%, transparent), color-mix(in srgb, var(--paper) 80%, transparent)),
    url("../motifs/motiv-uvodni.jpg");
}
.section-motif--gallery {
  background-image:
    linear-gradient(color-mix(in srgb, var(--paper) 86%, transparent), color-mix(in srgb, var(--paper) 86%, transparent)),
    url("../motifs/motiv-galerie.jpg");
}
.section-motif--profil {
  background-image:
    linear-gradient(color-mix(in srgb, var(--paper) 86%, transparent), color-mix(in srgb, var(--paper) 86%, transparent)),
    url("../motifs/motiv-profil.jpg");
}

/* ============================================================================
   Header
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head__inner {
  max-width: var(--maxw); margin: 0 auto; padding: .9rem var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.wordmark { text-decoration: none; line-height: 1; display: flex; flex-direction: column; gap: .18rem; }
.wordmark__name { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; letter-spacing: .01em; }
.wordmark__role { font-family: var(--f-cat); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.site-nav > a {
  text-decoration: none; font-size: .9rem; letter-spacing: .01em;
  padding-bottom: 3px; position: relative; color: var(--ink-soft);
}
.site-nav > a:hover { color: var(--ink); }
.site-nav > a[aria-current="page"] { color: var(--ink); }
.site-nav > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--crimson);
  clip-path: polygon(0 40%, 12% 0, 30% 60%, 55% 10%, 78% 70%, 100% 30%, 100% 100%, 0 100%);
}
.lang-switch { font-family: var(--f-cat); font-size: .72rem; letter-spacing: .08em; color: var(--muted); display: inline-flex; gap: .4rem; }
.lang-switch a { text-decoration: none; }
.lang-switch a.is-active { color: var(--crimson); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ============================================================================
   Flash messages
   ========================================================================== */
.flash { max-width: var(--maxw); margin: 0 auto; padding: .75rem var(--pad-x) 0; }
.flash__item {
  margin: 0; padding: .7rem 1rem; background: var(--paper-2);
  border-left: 3px solid var(--crimson); font-size: .92rem;
}

/* ============================================================================
   Hero (home) — typographic first, image optional
   ========================================================================== */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad-x) clamp(2rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: end;
}
.hero.has-image { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.hero__eyebrow { margin: 0 0 1.25rem; }
.hero__title {
  font-family: var(--f-display); font-weight: 430;
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5.4rem); line-height: 1;
  letter-spacing: -0.01em; margin: 0 0 1.5rem;
  font-optical-sizing: none;
}
.hero__title em { font-style: italic; color: var(--crimson); }
.hero__lede { max-width: 42ch; color: var(--ink-soft); font-size: 1.22rem; margin: 0 0 2rem; white-space: pre-line; }
.hero__figure { margin: 0; position: relative; }
.hero__figure img { width: 100%; height: auto; max-height: 44rem; object-fit: contain; object-position: center bottom; }
.hero__figcap { margin-top: .6rem; display: flex; gap: .8rem; }

/* Button / CTA — crimson underline mark on hover */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-cat); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer;
  padding: .1rem 0; position: relative;
}
.btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); transform-origin: left; transition: background .2s; }
.btn:hover::after { background: var(--crimson); }
.btn--solid {
  background: var(--ink); color: var(--paper); padding: .9rem 1.5rem;
}
.btn--solid::after { display: none; }
.btn--solid:hover { background: var(--crimson); }

/* ============================================================================
   Section scaffolding
   ========================================================================== */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad-x); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.section__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); margin: 0; letter-spacing: -0.01em; }

/* ============================================================================
   Painting grid + wall-labels
   ========================================================================== */
/* Tvorba grid: each painting is a statement — two per row, generous space.
   Held to 85% width (centered) so the works sit ~15% smaller with more air. */
.grid {
  display: grid;
  gap: clamp(3rem, 6vw, 7rem) clamp(2rem, 4vw, 5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  max-width: 85%; margin-inline: auto;
}
.grid .work__label { padding-top: 1.25rem; }
.grid .work__title { font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.65rem); }
.grid .work__meta { gap: .55rem 1.1rem; }
.work { text-decoration: none; color: inherit; display: block; }
.work__frame { background: var(--paper-2); overflow: hidden; }
.work__frame img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.work:hover .work__frame img { transform: scale(1.03); }
.work__label { padding-top: .9rem; display: grid; gap: .3rem; }
.work__title { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 1.15rem; line-height: 1.15; }
.work__meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.status { font-family: var(--f-cat); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.status--available { color: var(--crimson); }
.status--sold, .status--not_for_sale { color: var(--muted); }
.status--reserved { color: var(--ink-soft); }
.status__dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: .4rem; vertical-align: middle; }

/* ============================================================================
   Painting detail
   ========================================================================== */
.detail { max-width: var(--maxw); margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad-x) 4rem; display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.detail__media { display: grid; gap: 1rem; }
.detail__media img { width: 100%; height: auto; background: var(--paper-2); }
.detail__thumbs { display: flex; flex-wrap: wrap; gap: .75rem; }
.detail__thumbs img { width: 5.5rem; height: 5.5rem; object-fit: cover; cursor: pointer; }
.detail__aside { position: sticky; top: 6rem; }
.detail__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.02; margin: .5rem 0 1.25rem; letter-spacing: -0.01em; }
.spec { list-style: none; margin: 1.5rem 0; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .55rem; }
.spec div { display: flex; justify-content: space-between; gap: 1rem; }
.spec dt { color: var(--muted); font-family: var(--f-cat); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.spec dd { margin: 0; text-align: right; }
.spec .price { font-family: var(--f-display); font-size: 1.25rem; }
.detail__desc { color: var(--ink-soft); margin: 1.25rem 0 2rem; }

/* ============================================================================
   Prose (about) + forms
   ========================================================================== */
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.2rem; color: var(--ink-soft); }
/* Plain-text CMS slots (mm_cms self-declaring text/textarea) render escaped,
   with no <p> wrapper — this preserves the editor's blank-line paragraph
   breaks instead of the browser collapsing them to a single space. */
.prose-text { white-space: pre-line; }
.lede-serif { font-family: var(--f-display); font-weight: 420; font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); line-height: 1.25; color: var(--ink); }

.two-col { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.portrait img { width: 100%; height: auto; background: var(--paper-2); }

.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.form label { display: grid; gap: .35rem; font-family: var(--f-cat); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); padding: .75rem .85rem; border-radius: 0;
}
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form .errorlist { color: var(--crimson); font-family: var(--f-body); text-transform: none; letter-spacing: 0; list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.hp { position: absolute; left: -9999px; }

/* ============================================================================
   Empty state
   ========================================================================== */
.empty { text-align: center; padding: clamp(3rem, 8vw, 7rem) var(--pad-x); color: var(--muted); }
.empty .mark { margin: 1.5rem auto 0; }

/* ============================================================================
   Footer
   ========================================================================== */
.site-foot { border-top: 1px solid var(--line); margin-top: 2rem; }
.site-foot__inner { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem var(--pad-x); display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: baseline; justify-content: space-between; }
.site-foot__note { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; margin: 0; max-width: 40ch; }
.site-foot__links { display: flex; gap: 1.5rem; margin: 0; font-family: var(--f-cat); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.site-foot__links a { text-decoration: none; }
.site-foot__links a:hover { color: var(--crimson); }
.site-foot__mm { flex-basis: 100%; margin: 1rem 0 0; font-family: var(--f-cat); font-size: .7rem; letter-spacing: .06em; color: var(--muted); }
.site-foot__mm a { color: var(--muted); }

/* ============================================================================
   Series — chips + grouped blocks
   ========================================================================== */
.chips {
  display: flex; flex-wrap: wrap; gap: .5rem .6rem;
  margin: -1rem 0 2.75rem;
}
.chip {
  font-family: var(--f-cat); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { border-color: var(--crimson); color: var(--crimson); }

.series { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.series:last-child { margin-bottom: 0; }
.series__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  margin-bottom: 1rem;
}
.series__title {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); margin: 0; letter-spacing: -0.01em;
}
.series__more { text-decoration: none; white-space: nowrap; }
.series__more:hover { color: var(--crimson); }
.series__intro { max-width: 60ch; margin: 0 0 1.75rem; }
.series__intro--lead { margin-bottom: 2.5rem; }

.detail__series { margin: 0 0 1.25rem; }
.detail__series a { text-decoration: none; border-bottom: 1px solid var(--crimson); }

/* ============================================================================
   Home — featured 2×2 (each work given room to breathe)
   ========================================================================== */
.feature-grid {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  max-width: 82%; margin-inline: auto;
}
.feature-grid .work__title { font-size: 1.35rem; }
.feature-grid .work__label { padding-top: 1.1rem; }

/* Home — studio/process band (full-bleed panel) --------------------------- */
.band { background: var(--paper-2); margin-top: clamp(3rem, 6vw, 5.5rem); }
.band__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad-x);
  display: grid; gap: clamp(1.75rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center;
}
.band__figure { margin: 0; }
.band__figure img { width: 100%; height: clamp(18rem, 34vw, 30rem); object-fit: cover; }
.band__text .lede-serif { margin: 0 0 1.5rem; }

/* ============================================================================
   About — exhibitions
   ========================================================================== */
.section--tight { padding-top: 0; }
.about__links { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; align-items: center; margin: 0; }

.exhib-photos {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.exhib-photo { margin: 0; }
.exhib-photo img { width: 100%; height: clamp(16rem, 26vw, 22rem); object-fit: cover; background: var(--paper-2); }
.exhib-photo figcaption { margin-top: .55rem; }

.exhib-list { margin: 0; }
.exhib-list__row {
  display: grid; grid-template-columns: 5rem 1fr; gap: 1rem;
  padding: .95rem 0; border-top: 1px solid var(--line); align-items: baseline;
}
.exhib-list__row:last-child { border-bottom: 1px solid var(--line); }
.exhib-list dd { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; }
.exhib-list__title { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; }
.exhib-list__place { color: var(--muted); }

/* Three-up variant — e.g. the SCARF series (3 pieces fit in one row). */
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100%;
  gap: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
}
.grid--3 .work__title { font-size: clamp(1.1rem, 0.95rem + 0.4vw, 1.35rem); }

/* Editorial photo strip (About exhibitions, Zakázky studio shots) ---------- */
.photo-strip {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.photo-strip__item { margin: 0; }
.photo-strip__item img {
  width: 100%; height: clamp(14rem, 22vw, 20rem);
  object-fit: cover; background: var(--paper-2);
}
/* Full/uncropped variant — show the whole photo (ragged bottoms are fine). */
.photo-strip--full { align-items: start; }
.photo-strip--full .photo-strip__item img { height: auto; object-fit: contain; }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .feature-grid, .band__inner, .grid, .photo-strip { grid-template-columns: 1fr; }
  .grid, .feature-grid { gap: clamp(2.5rem, 8vw, 4rem); max-width: 100%; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .hero.has-image, .detail, .two-col { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 20rem);
    background: var(--paper); border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 5rem var(--pad-x) 2rem; gap: 1.5rem;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: -20px 0 60px rgba(0,0,0,.06);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > a { font-size: 1.25rem; font-family: var(--f-display); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .work:hover .work__frame img { transform: none; }
}
