/* =========================================
   Lenka Kovalová — Doteky nedotknutelného
   ========================================= */

/* --- Písma (hostovaná u nás — návštěvník nic nestahuje z Googlu; variabilní fonty, latin + latin-ext) --- */
/* Cormorant Garamond italic 300 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond italic 300 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond italic 400 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond italic 400 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond normal 300 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 300 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond normal 400 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 400 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond normal 500 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 500 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond normal 600 — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 600 — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 italic 300 — latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 italic 300 — latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 italic 400 — latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 italic 400 — latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 normal 300 — latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 normal 300 — latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 normal 400 — latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 normal 400 — latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 normal 600 — latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 normal 600 — latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/source-sans-3-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --c-bg: #f0f4f8;
  --c-bg-warm: #e4edf5;
  --c-bg-deep: #0d1b2a;
  --c-text: #1a2b3c;
  --c-text-soft: #3d5a73;
  --c-text-muted: #4d6d83;
  --c-indigo: #0d1b2a;
  --c-indigo-light: #1b3a5c;
  --c-gold: #4a9eca;             /* linky a dekor; na text je --c-gold-text */
  --c-gold-text: #2b7094;
  --c-gold-soft: #6db3d8;
  --c-gold-pale: #cce3f0;
  --c-accent: #236fa0;
  --c-border: #c8d8e4;
  --c-white: #ffffff;

  --f-serif: 'Cormorant Garamond', 'Georgia', serif;
  --f-sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --w-content: 1140px;
  --w-narrow: 820px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--f-sans);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 1.7;
  font-weight: 300;
}

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

a:hover {
  color: var(--c-gold);
}

::selection {
  background: var(--c-gold-pale);
  color: var(--c-indigo);
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--f-serif);
  font-weight: 300;
  line-height: 1.15;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  color: var(--c-indigo);
  margin-bottom: 1.5rem;
}

.section-title--center {
  text-align: left;
}


/* =========================================
   Navigation
   ========================================= */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 0 2.5rem;
  transition: box-shadow 0.4s var(--ease-out);
}

/* Pozadí s rozmazáním je na pseudo-elementu, ne na .nav-wrap: backdrop-filter na rodiči
   by z něj udělal containing block pro position:fixed mobilní menu — zavřené menu
   (translateX(100%)) by pak trčelo za pravý okraj a stránka šla na mobilu posouvat do strany. */
.nav-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(240, 244, 248, 0);
  transition: background-color 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out);
}

.nav-wrap.scrolled {
  box-shadow: 0 1px 0 var(--c-border);
}

.nav-wrap.scrolled::before {
  background-color: rgba(240, 244, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 1.25rem 0;
  transition: padding 0.4s var(--ease-out);
}

.nav-wrap.scrolled .main-nav {
  padding: 0.85rem 0;
}

.nav-name {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-indigo);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  /* letter-spacing přidává mezeru i za poslední znak — bez korekce pravý okraj
     lišty opticky nelícuje s obsahem */
  margin-right: -0.082rem;
}

.nav-links a {
  font-family: var(--f-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-gold);
  transition: width 0.4s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--c-indigo);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-indigo);
  position: absolute;
  left: 0;
  transition: all 0.3s var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle.open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}


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

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2.5rem 3rem;
  position: relative;
  background-color: var(--c-bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--w-content);
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  padding-right: 2rem;
}

.hero-subtitle {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-top: 1rem;
  display: block;
}

.hero-name {
  font-family: var(--f-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--c-indigo);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 2px;
  box-shadow: 24px 24px 0 -2px var(--c-gold-pale);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-top: 1px solid var(--c-gold-soft);
  border-right: 1px solid var(--c-gold-soft);
  opacity: 0.5;
}

.hero-quote {
  max-width: var(--w-content);
  margin: 4rem auto 0;
  width: 100%;
  border-left: 2px solid var(--c-gold-soft);
  padding-left: 1.5rem;
}

.hero-quote p {
  font-family: var(--f-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 300;
  color: var(--c-text-soft);
  line-height: 1.6;
}

.hero-quote cite {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--c-text-muted);
  animation: float 3s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* =========================================
   Sections — General
   ========================================= */

.section {
  padding: 6rem 2.5rem;
}

.section-inner {
  max-width: var(--w-content);
  margin: 0 auto;
}


/* =========================================
   About
   ========================================= */

.section-about {
  background-color: var(--c-bg-warm);
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.portrait-art {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.about-text {
  padding-top: 0.5rem;
}

.about-lead {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--c-indigo);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--c-text-soft);
}

.about-text em {
  color: var(--c-accent);
  font-style: italic;
}

/* About blockquote */
.about-quote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--c-gold);
  background: rgba(74, 158, 202, 0.06);
  border-radius: 0 2px 2px 0;
}

.about-quote p {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--c-indigo-light);
  line-height: 1.6;
  margin-bottom: 0 !important;
}

.about-quote cite {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-style: normal;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}


/* --- Exhibitions --- */

.exhibitions {
  border-top: 1px solid var(--c-border);
  padding-top: 2rem;
}

.exhibitions-title {
  margin: 0 0 1.5rem;
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-indigo);
}

.exhibitions-current {
  margin-bottom: 1rem;
}

.exhibitions-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 0.15rem;
}

.exh-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  align-items: baseline;
}

.exh-row[hidden] {
  display: none;
}

.exh-year {
  font-family: var(--f-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-gold-text);
}

.exh-detail {
  font-size: 0.88rem;
  color: var(--c-text-soft);
  line-height: 1.55;
}

.exh-detail strong {
  font-weight: 600;
  color: var(--c-text);
}

.exh-row--current {
  border-left: 2px solid var(--c-gold);
  padding-left: 0.85rem;
  border-bottom: none;
}

.exhibitions-more-btn,
.work-more {
  margin-top: 1.25rem;
  background: none;
  border: 1px solid var(--c-border);
  font-family: var(--f-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-text-soft);
  cursor: pointer;
  padding: 0.55rem 1.4rem;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.exhibitions-more-btn:hover,
.work-more:hover {
  color: var(--c-indigo);
  border-color: var(--c-gold);
}

@media (max-width: 760px) {
  .exhibitions-compact {
    grid-template-columns: 1fr;
  }
}


/* --- Atelier --- */

.atelier {
  border-top: 1px solid var(--c-border);
  padding-top: 2rem;
  margin-bottom: 3rem;
}

.atelier-title {
  margin: 0 0 1.5rem;
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-indigo);
}

.atelier-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.atelier-item {
  margin: 0;
}

.atelier-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}


/* =========================================
   Tvorba (Work)
   ========================================= */

.section-work {
  background-color: var(--c-bg);
}

.work-intro {
  text-align: left;
  max-width: var(--w-narrow);
  margin: 0 0 3rem;
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--c-text-soft);
  line-height: 1.65;
}

/* Category tabs — elegant pill style */
.work-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.25rem;
  margin-bottom: 3rem;
  padding: 0.35rem;
  background: rgba(13, 27, 42, 0.04);
  border-radius: 100px;
  max-width: max-content;
}

.cat-btn {
  background: none;
  border: none;
  font-family: var(--f-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.cat-btn:hover {
  color: var(--c-text);
}

.cat-btn.active {
  color: var(--c-indigo);
  background: var(--c-white);
  box-shadow: 0 1px 4px rgba(13, 27, 42, 0.08), 0 0 0 1px rgba(74, 158, 202, 0.2);
}

/* Work panels */
.work-panel {
  display: none;
}

.work-panel.active {
  display: block;
  animation: fadeUp 0.5s var(--ease-out);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-panel-content {
  max-width: var(--w-content);
}

.work-description {
  max-width: var(--w-narrow);
  margin: 0 0 2.5rem;
  text-align: left;
}

.work-description p {
  font-size: 0.95rem;
  color: var(--c-text-soft);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.work-note {
  font-size: 0.82rem !important;
  color: var(--c-text-muted) !important;
  font-style: italic;
}

.work-subheading {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--c-text-muted);
  margin: 2rem 0 1rem;
  letter-spacing: 0.04em;
}

.work-subheading:first-of-type {
  margin-top: 0;
}

/* Gallery layouts */
.work-gallery {
  columns: 2;
  column-gap: 1.5rem;
}

.work-gallery--asymmetric {
  columns: 2;
  column-gap: 1.5rem;
}

.work-gallery--grid {
  columns: 3;
  column-gap: 1.5rem;
}

/* Book layout — single column */
.work-gallery--book {
  columns: 1;
  max-width: 320px;
}

.work-item {
  margin: 0 0 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
}

/* Image container for hover overlay */
.work-item .gallery-img {
  width: 100%;
  object-fit: contain;
  border-radius: 2px;
  transition: transform 0.6s var(--ease-out),
              filter 0.6s var(--ease-out);
  background: var(--c-bg-warm);
}

.work-item:hover .gallery-img {
  transform: scale(1.04);
}

.work-item figcaption {
  padding: 0.85rem 0 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.work-item-title {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--c-text);
}

.work-item-meta {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
}


/* =========================================
   Shop / Díla k prodeji
   ========================================= */

.section-shop {
  background-color: var(--c-bg-warm);
}

.shop-intro {
  max-width: var(--w-narrow);
  margin: 0 0 2.5rem;
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--c-text-soft);
  line-height: 1.65;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem 1.5rem;
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: box-shadow 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
}

.shop-card:hover {
  box-shadow: 0 10px 28px rgba(13, 27, 42, 0.1);
  transform: translateY(-3px);
}

/* Ctvercove pole + object-fit: contain — dilo se nikdy neoreze,
   karty pritom v mrizce licuji. */
.shop-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-bg);
}

.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}

.shop-card:hover .shop-card-img img {
  transform: scale(1.04);
}

/* Stitek pro dila, ktera nejsou originaly */
.shop-card-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--c-border);
  border-radius: 2px;
  font-family: var(--f-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}

.shop-card-info {
  flex: 1;
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shop-card-cat {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: 0.35rem;
}

.shop-card-title {
  font-family: var(--f-serif);
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--c-indigo);
  line-height: 1.25;
}

.shop-card-detail {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-top: 0.25rem;
}

/* margin-top: auto drzi cenu a tlacitko u spodni hrany,
   takze v rade licuji i pri ruzne dlouhych nazvech. */
.shop-card-foot {
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.shop-card-price {
  font-family: var(--f-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-indigo);
  white-space: nowrap;
}

.shop-btn {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--c-accent);
  border-radius: 2px;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out);
}

.shop-btn:hover,
.shop-btn:focus-visible {
  background: var(--c-accent);
  color: var(--c-white);
}

.shop-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  font-style: italic;
}


/* =========================================
   Contact
   ========================================= */

.section-contact {
  background-color: var(--c-bg-deep);
  color: var(--c-bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-text .section-title {
  color: var(--c-gold-soft);
}

.contact-quote {
  margin-bottom: 2.5rem;
}

.contact-quote p {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(224, 236, 244, 0.7);
  line-height: 1.6;
}

.contact-info {
  font-style: normal;
  line-height: 2;
  font-size: 0.95rem;
  color: rgba(224, 236, 244, 0.8);
}

.contact-name {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-bg);
  margin-bottom: 0.25rem;
}

.contact-info a {
  color: var(--c-gold-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}

.contact-info a:hover {
  border-bottom-color: var(--c-gold-soft);
  color: var(--c-gold);
}

.contact-ic {
  font-size: 0.82rem;
  color: rgba(224, 236, 244, 0.6);
  margin-top: 0.5rem;
}

.contact-social {
  margin-top: 2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(224, 236, 244, 0.2);
  border-radius: 50%;
  color: rgba(224, 236, 244, 0.6);
  transition: all 0.3s var(--ease-out);
}

.social-link:hover {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

.contact-art {
  position: relative;
}

.contact-art figure {
  /* sirku drzi figure, aby popisek koncil presne pod obrazkem */
  margin: 0 0 0 auto;
  max-width: 450px;
}

.contact-art img {
  display: block;
  width: 100%;
  border-radius: 2px;
  opacity: 0.85;
}

.contact-art-caption {
  margin-top: 0.75rem;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(240, 244, 248, 0.65);
}

.contact-art::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: calc(50% - 30px);
  width: 60px;
  height: 1px;
  background: var(--c-gold-soft);
  opacity: 0.4;
}


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

.site-footer {
  background: var(--c-bg-deep);
  border-top: 1px solid rgba(224, 236, 244, 0.08);
  padding: 2rem 2.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(224, 236, 244, 0.6);
  letter-spacing: 0.03em;
}


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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out),
              visibility 0.4s var(--ease-out);
}

.lightbox[hidden] {
  display: flex;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  margin: 0;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
  margin: 0 auto;
}

.lightbox-content figcaption {
  font-family: var(--f-serif);
  font-size: 1rem;
  color: rgba(224, 236, 244, 0.7);
  margin-top: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(224, 236, 244, 0.6);
  cursor: pointer;
  font-size: 2rem;
  padding: 0.5rem;
  transition: color 0.3s var(--ease-out);
  z-index: 1001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--c-gold);
}

.lightbox-close {
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  line-height: 1;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}


/* =========================================
   Scroll animations
   ========================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for work items */
.work-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.work-item.reveal:nth-child(3) { transition-delay: 0.2s; }
.work-item.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Ensure content visible without JS */
@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =========================================
   Responsive
   ========================================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-text {
    padding-right: 0;
    text-align: left;
  }

  .hero-image {
    max-width: 400px;
  }

  .hero-image img {
    box-shadow: 16px 16px 0 -2px var(--c-gold-pale);
  }

  .hero-image::before {
    display: none;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-portrait {
    max-width: 220px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-art {
    order: -1;
  }

  .contact-art figure {
    max-width: 300px;
    margin: 0 auto;
  }

  .work-gallery--asymmetric {
    columns: 2;
  }

  .work-gallery--grid {
    columns: 2;
  }

  .work-categories {
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: var(--c-bg);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .hero {
    padding: 5rem 1.5rem 2.5rem;
  }

  .hero-name {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .hero-quote {
    margin-top: 2.5rem;
  }

  .work-categories {
    gap: 0.2rem;
    padding: 0.25rem;
    border-radius: 10px;
  }

  .cat-btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
  }

  .work-gallery,
  .work-gallery--asymmetric,
  .work-gallery--grid {
    columns: 1;
  }

  .nav-wrap {
    padding: 0 1.5rem;
  }

  .main-nav {
    padding: 1rem 0;
  }

  .timeline::before {
    left: 25px;
  }

  .timeline-item {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .timeline-item::before {
    left: 22px;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* --- Galerie po řádcích (2026-10-09) ---
   Díla rozděluje do dvou sloupců už server (správa /sprava/, Render.php): další dílo jde vždy do
   kratšího sloupce, takže se čtou zleva doprava a shora dolů — stejně jako pořadí ve správě —
   a související díla stojí vedle sebe. Na mobilu jeden sloupec v původním pořadí (--o). */
.work-gallery--rows {
  columns: auto;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.work-gallery--rows > .work-col {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 640px) {
  .work-gallery--rows {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .work-gallery--rows > .work-col {
    display: contents;
  }

  .work-gallery--rows .work-item {
    order: var(--o);
  }
}

/* --- Tvorba: nejdřív 6 děl, další tlačítkem „Zobrazit další díla“ (2026-10-09) ---
   Díla od 7. má server označená .is-more. Skrývají se jen s JS (třídu .js přidává inline skript
   v <head> ještě před vykreslením — stránka se po načtení neposune a kotvy #prodej/#kontakt sedí);
   bez JS je vidět vše a tlačítko se neukáže. Po rozbalení tlačítko sbalí zpět („Skrýt další díla“). */
.work-more {
  display: none;
}

.js .work-more {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.js .work-panel:not(.show-all) .work-item.is-more {
  display: none;
}

/* Omezené animace (nastavení systému): bez plynulého posouvání stránky */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
