@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/instrument-serif-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}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/instrument-serif-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}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/inter-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}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/inter-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}

/* ===== Téma "navrh" – klidný galerijní design ===== */
:root {
  --bg: #fafaf7; --ink: #161616; --muted: #6a6a64; --line: #e4e4dc; --soft: #f0f0ea;
  --accent: #c8d400; --link: #6f7600;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1360px;
  --head: 70px; --wm: 1.875rem;
}
@property --head { syntax: '<length>'; inherits: true; initial-value: 70px; }
@property --wm { syntax: '<length>'; inherits: true; initial-value: 30px; }
html { transition: --head .25s ease, --wm .25s ease; }
html.is-scrolled { --head: 48px; --wm: 1.35rem; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; }
html.nav-open, html.lb-open { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 400; margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; text-decoration: none; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.wrap--text { max-width: 900px; }
.ph { display: block; width: 100%; height: 100%; background: var(--soft); }

/* ----- Header ----- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 250, 247, .92); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: var(--head); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { font-family: var(--serif); font-size: var(--wm); line-height: 1; text-decoration: none; letter-spacing: .005em; white-space: nowrap; }
.nav-wrap { display: flex; align-items: center; gap: 2.25rem; }
.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav a, .lang a { text-decoration: none; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; position: relative; display: inline-block; }
.nav a::after, .lang a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a.is-active::after, .lang a:hover::after, .lang a.is-active::after { transform: scaleX(1); }
.lang { display: flex; gap: .9rem; padding-left: 1.75rem; border-left: 1px solid var(--line); }
.lang.lang--bar { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; align-items: center; gap: .75rem; padding: .5rem 0; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.nav-toggle__icon { position: relative; width: 22px; height: 10px; }
.nav-toggle__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .25s ease, top .25s ease; }
.nav-toggle__icon i:first-child { top: 0; }
.nav-toggle__icon i:last-child { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --head: 64px; }
  html.is-scrolled { --head: 48px; }
  .js .bar { gap: 1rem; }
  .js .wordmark { margin-right: auto; }
  .js .lang.lang--bar { display: flex; gap: .75rem; padding: 0; border: 0; }
  .js .lang.lang--nav { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav-wrap { position: fixed; inset: var(--head) 0 auto 0; height: calc(100vh - var(--head)); height: calc(100dvh - var(--head)); overflow-y: auto; background: var(--bg); flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: 2.5rem var(--pad) 2.5rem; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; overflow-y: auto; }
  .js .nav-open .nav-wrap, html.nav-open .nav-wrap { visibility: visible; opacity: 1; transition: opacity .25s ease; }
  .js .nav ul { flex-direction: column; gap: .25rem; }
  .js .nav a { font-family: var(--serif); font-size: clamp(2.2rem, 10vw, 3.2rem); letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.2; }
  .js .nav a::after { bottom: .25rem; }
  .js .lang { border: 0; padding: 0; }
  .js .lang a { font-size: .85rem; }
  html:not(.js) .bar { height: auto; flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .nav-wrap { flex-wrap: wrap; gap: 1rem; }
  html:not(.js) .lang { border: 0; padding: 0; }
}

/* ----- Typography ----- */
.display { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.01em; margin: .4em 0 .5em; }
.display--sm { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-top: 0; }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; color: inherit; }
.eyebrow::before { content: ''; display: inline-block; width: 2rem; height: 2px; background: var(--accent); vertical-align: middle; margin-right: .75rem; }
.crumb { margin: 2rem 0 0; font-size: .8125rem; letter-spacing: .06em; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--link); }
.section__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin-bottom: 2rem; }
.section { padding-block: clamp(3rem, 7vw, 6rem) 0; }
.more-link { margin-top: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: calc(-1 * clamp(.5rem, 3vw, 3rem)); font-family: var(--serif); font-size: 1.5rem; }
.more-link a { color: var(--link); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: .1em; }
.more-link a:hover { color: var(--ink); }
.empty { color: var(--muted); padding: 3rem 0; }

.prose { max-width: 65ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }
.prose h2, .prose h3 { font-family: var(--serif); line-height: 1.15; margin-top: 1.6em; }
.prose h2 { font-size: 2rem; } .prose h3 { font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.2em; } .prose ul { list-style: disc; }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose .video, .prose .video-wrap { max-width: none; }
.prose blockquote { margin-left: 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 1.4rem; }
.prose .fig, .prose figure { margin: 2.25rem 0; max-width: none; }
.prose .fig img { width: 100%; height: auto; background: var(--soft); }
.prose figcaption { font-size: .875rem; color: var(--muted); margin-top: .6rem; max-width: 65ch; }
.prose .gallery-block { max-width: none; margin: 2rem 0; padding: 0; list-style: none; }
.prose .gallery-block img { width: 100%; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose .video-block figure { margin: 2.25rem 0; }
.prose .video-block iframe, .prose .video-block video { display: block; background: #000; }
.prose--page .fig--float { max-width: 360px; }
@media (min-width: 900px) {
  .prose--page .fig--float { float: right; width: 36%; margin: .4rem 0 1.5rem 2.5rem; }
  .wrap--text:has(.fig--float) { max-width: 1000px; }
  .wrap--text:has(.fig--float) .prose--page { max-width: none; }
  .wrap--text:has(.fig--float) .prose--page > :not(.fig) { max-width: 65ch; }
}
.prose::after { content: ''; display: block; clear: both; }

.meta { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 0 0 2.5rem; padding: 1.1rem 0; border-block: 1px solid var(--line); }
.meta dt { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.meta dd { margin: 0; }
.lead { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; max-width: 40ch; margin-bottom: 2rem; }
.lead p { margin: 0; }

/* ----- Hero ----- */
.hero { position: relative; height: 80vh; min-height: 460px; max-height: 920px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: #2a2a28; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 8, .72) 0%, rgba(10, 10, 8, .35) 35%, rgba(10, 10, 8, 0) 65%); }
.hero__text { position: relative; padding-bottom: clamp(2rem, 5vw, 4rem); }
.hero__title { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.01em; max-width: 18ch; text-wrap: balance; }
/* podtržení pod účařím každého řádku (pozadí inline odkazu u víceřádkového titulku zasahovalo do dalšího řádku) */
.hero__title a { text-decoration: underline 3px transparent; text-underline-offset: .1em; transition: text-decoration-color .3s ease; }
.hero__title a:hover, .hero__title a:focus-visible { text-decoration-color: var(--accent); }
.hero__title a::after { content: ''; position: absolute; inset: 0; }
.hero__title a:focus-visible { outline-color: #fff; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin: 1.25rem 0 0; font-size: 1rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hero__meta span + span { position: relative; }
.hero .eyebrow { color: #fff; }

/* ----- Cards ----- */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 1.6vw, 1.5rem); }
.card__link { display: block; text-decoration: none; }
.card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); margin-bottom: .75rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.card__link:hover img { transform: scale(1.03); }
.card__dates { display: block; font-size: .75rem; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card__title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; overflow-wrap: anywhere; margin: .25rem 0 .35rem; }
.card__link:hover .card__title { color: var(--link); }
.card__place { display: block; font-size: .8125rem; color: var(--muted); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .9rem; } .hero { height: 72vh; } }

/* ----- Category / works grids ----- */
.catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2.25rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.catgrid a { display: block; text-decoration: none; }
.catgrid__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); margin-bottom: .9rem; }
.catgrid__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.catgrid a:hover img { transform: scale(1.03); }
.catgrid__name { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; }
.catgrid a:hover .catgrid__name { color: var(--link); }
.section .catgrid { padding-bottom: 0; }
@media (max-width: 1000px) { .catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catgrid { grid-template-columns: 1fr; } }

.masonry { columns: 3; column-gap: clamp(1rem, 2vw, 1.75rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.masonry li { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.masonry a { display: block; text-decoration: none; }
.masonry img { width: 100%; height: auto; background: var(--soft); transition: opacity .3s ease; }
.masonry a:hover img { opacity: .88; }
.masonry__title { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; margin-top: .55rem; }
.masonry a:hover .masonry__title { color: var(--link); }
.masonry--gallery { padding-bottom: clamp(2rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); }
.masonry--gallery a { cursor: zoom-in; }
@media (max-width: 1000px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } .masonry--gallery { columns: 2; column-gap: .6rem; } .masonry--gallery li { margin-bottom: .6rem; } }

.textcol { max-width: 65ch; margin-bottom: 1rem; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.videos video { width: 100%; background: #000; }

.downloads { margin: 2rem 0; max-width: 65ch; border-top: 1px solid var(--line); }
.downloads li { border-bottom: 1px solid var(--line); }
.downloads a { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; text-decoration: none; }
.downloads a:hover .downloads__name { color: var(--link); }
.downloads__ico { font-size: .625rem; font-weight: 600; letter-spacing: .1em; border: 1px solid var(--ink); padding: .2rem .4rem; border-radius: 2px; }
.downloads__name { flex: 1; }
.downloads__size { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.pager { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); margin-top: clamp(2rem, 5vw, 4rem); padding: 2rem 0 clamp(3rem, 6vw, 5rem); }
.pager a { text-decoration: none; display: block; max-width: 45%; }
.pager small { display: block; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.pager span { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.pager a:hover span { color: var(--link); }
.pager__next { text-align: right; margin-left: auto; }

/* ----- Publications ----- */
.books { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.25rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.books a { display: block; text-decoration: none; }
.books__cover { display: block; background: var(--soft); padding: 6%; transition: background .3s ease; }
.books__cover img, .pub__cover img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.books { align-items: start; }
.books li { scroll-margin-top: calc(var(--head) + 1.5rem); }
.books a:hover .books__cover { background: #e8e8e0; }
.books__title { display: block; margin-top: .8rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.books a:hover .books__title { color: var(--link); }
@media (max-width: 1000px) { .books { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .books { grid-template-columns: repeat(2, 1fr); } }
.pub { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: 2rem; }
.pub__cover { position: sticky; top: calc(var(--head) + 2rem); }
.pub__cover a { display: block; background: var(--soft); padding: 6%; cursor: zoom-in; }
.pub__dl { margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--ink); color: var(--bg); text-decoration: none; padding: .9rem 1.5rem; font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; transition: background .2s ease, color .2s ease; }
.btn small { opacity: .65; font-size: .75rem; letter-spacing: .02em; text-transform: none; }
.btn:hover { background: var(--accent); color: var(--ink); }
@media (max-width: 800px) { .pub { grid-template-columns: 1fr; } .pub__cover { position: static; max-width: 340px; } }

/* ----- Event ----- */
.event-hero { max-height: 70vh; overflow: hidden; background: var(--soft); }
.event-hero img { width: 100%; height: auto; max-height: 70vh; object-fit: cover; }

/* ----- Calendar ----- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips[hidden] { display: none; }
.chip { display: inline-block; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--accent); border-color: var(--accent); }
.chips--kind .chip { border-style: dashed; }
.chips--kind .chip.is-active { border-style: solid; }
.timeline { padding-bottom: clamp(3rem, 6vw, 6rem); }
.year { display: grid; grid-template-columns: minmax(7rem, 14rem) 1fr; gap: 0 clamp(1rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.year[hidden] { display: none; }
.year__label { font-family: var(--serif); font-size: clamp(3rem, 6.5vw, 6rem); line-height: 1; padding-top: 1rem; position: sticky; top: calc(var(--head) + .5rem); align-self: start; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.row[hidden] { display: none; }
@media (min-width: 761px) { .year { min-height: clamp(5.5rem, 9vw, 8.5rem); } }
.row a { display: grid; grid-template-columns: 11.5rem 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s ease; }
.rows .row:last-child a { border-bottom: 0; }
.row a:hover { padding-left: .5rem; }
.row__date { font-size: .875rem; color: var(--muted); }
.row__title { display: block; font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; }
.row a:hover .row__title { color: var(--link); }
.row__venue { display: block; font-size: .9rem; color: var(--muted); margin-top: .15rem; }
.tag { font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; white-space: nowrap; }
.tag--solo { border-color: var(--accent); color: var(--ink); background: rgba(200, 212, 0, .18); }
@media (max-width: 760px) {
  .year { display: block; }
  .year__label { position: static; font-size: 2.75rem; padding: 1rem 0 .25rem; }
  .row a { grid-template-columns: 1fr auto; gap: .2rem 1rem; }
  .row__date { grid-column: 1 / -1; }
}

/* ----- Footer ----- */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(3rem, 8vw, 7rem); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.foot { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: baseline; }
.foot__name { font-family: var(--serif); font-size: 1.375rem; line-height: 1; margin: 0; }
.foot__social ul { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; justify-content: flex-end; max-width: 34rem; }
.foot__social a { color: var(--ink); text-decoration: none; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid transparent; padding-bottom: .15rem; }
.foot__social a:hover { border-color: var(--accent); color: var(--ink); }
.foot__copy { grid-column: 1 / -1; margin: 1rem 0 0; font-size: .8125rem; color: var(--muted); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } .foot__social ul { justify-content: flex-start; } }

/* ----- Lightbox (GLightbox, vendor/glightbox) ----- */
.glightbox-container .goverlay { background: #000; }
.glightbox-container .ginner-container { width: 100vw; height: 100vh; height: 100dvh; max-width: none; }
.glightbox-container .gslide-media { width: 100%; height: 100%; max-width: none !important; max-height: none; }
/* fotka přes celé okno, bez ořezu; popisek leží přes spodní okraj */
.glightbox-container .gslide-image img { width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; }
.glightbox-container .gslide-description { position: absolute; left: 0; right: 0; bottom: 0; max-width: none !important; text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, .75)) !important; pointer-events: none; }
.glightbox-container .gdesc-inner { padding: 2rem 4rem .9rem; }
.glightbox-container .gslide-media { box-shadow: none; }
.glightbox-container .gdesc-inner { color: #e8e8e0; font-family: var(--sans, inherit); }
.glightbox-container .gclose:focus-visible, .glightbox-container .gnext:focus-visible, .glightbox-container .gprev:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.glightbox-container .gbtn:hover { background: var(--accent); }
.glightbox-container .gbtn:hover svg path { fill: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card__link:hover img, .catgrid a:hover img { transform: none; }
}

/* ----- Works in category (siblings strip) ----- */
.section__title--sm { font-size: 1.75rem; margin-bottom: 1.25rem; }
.siblings { margin-top: clamp(2rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.siblings__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 1rem; }
.siblings a { display: block; text-decoration: none; }
.siblings__media { display: block; aspect-ratio: 1; background: var(--soft); overflow: hidden; margin-bottom: .45rem; }
.siblings__media img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .25s; }
.siblings a:hover img, .is-current img { opacity: 1; }
.siblings__name { display: block; font-size: .8125rem; line-height: 1.3; color: var(--muted); }
.is-current .siblings__name { color: var(--ink); box-shadow: 0 2px 0 var(--accent); display: inline; }
.siblings + .pager { margin-top: 2rem; }
.prose iframe, .prose video { max-width: 720px; }

/* Typografické varianty (akce bez dostatečně velké fotky) */
.hero--typo { background: radial-gradient(120% 140% at 85% 0%, #3a3a35 0%, #1d1d1b 60%, #151514 100%); height: auto; min-height: 56vh; }
.hero--typo .hero__text { padding-top: clamp(5rem, 12vw, 9rem); }
.hero--typo .hero__title { font-size: clamp(3rem, 8vw, 7.5rem); max-width: 16ch; }
.hero--typo .hero__meta { font-size: 1.125rem; }
.card__media--typo { display: flex; flex-direction: column; justify-content: space-between; padding: .85rem 1rem; background: #232321; color: #f2f2ea; }
.card__media--typo .typo__year { font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; color: var(--accent); }
.card__media--typo .typo__kind { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: #b9b9b0; }

/* ===== v2 ===== */
.hero__perex { max-width: 52ch; margin: 1rem 0 0; font-size: 1.0625rem; line-height: 1.5; opacity: .92; }
.chip__n { opacity: .55; margin-left: .35rem; font-size: .7rem; }
.kgroup { display: grid; grid-template-columns: minmax(7rem, 14rem) 1fr; gap: 0 clamp(1rem, 3vw, 3rem); border-top: 1px solid var(--line); padding-bottom: 1rem; }
.kgroup__label { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; padding-top: 1rem; position: sticky; top: calc(var(--head) + .5rem); align-self: start; letter-spacing: -.01em; }
.row--more a { padding-block: .8rem; border-bottom: 0; }
.row__more { font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--link); }
.row--more a:hover .row__more { color: var(--ink); }
@media (max-width: 760px) { .kgroup { display: block; } .kgroup__label { position: static; padding: 1rem 0 .25rem; } }

.thumbgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; margin: clamp(1.5rem, 3vw, 2.5rem) 0; }
.thumbgrid a { display: block; cursor: zoom-in; background: var(--soft); aspect-ratio: 1; overflow: hidden; }
.thumbgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.thumbgrid a:hover img { transform: scale(1.03); }
@media (max-width: 520px) { .thumbgrid { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }

.works { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 0 clamp(2rem, 4vw, 4rem); padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.works__cats { position: sticky; top: calc(var(--head) + 1.5rem); align-self: start; }
.works__label { margin: 0 0 .6rem; font-size: .75rem; font-weight: 500; letter-spacing: .16em; color: var(--muted); }
.works__cats li { border-bottom: 1px solid var(--line); }
.works__cats a { display: block; padding: .5rem 0; text-decoration: none; font-family: var(--serif); font-size: 1.375rem; line-height: 1.15; white-space: nowrap; }
.works__cats a:hover { color: var(--link); }
.works__cats a.is-active { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .22em; }
.works__main { min-width: 0; }
.works__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; margin: 0 0 1.5rem; }
/* mřížka čtverců (kategorie / přehled děl) */
.sqgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.sqgrid a { display: block; text-decoration: none; }
.sq { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.sq img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.sqgrid a:hover img, .sqgrid a:focus-visible img { transform: scale(1.03); }
.sq__cap { position: absolute; inset: auto 0 0 0; padding: 1.6rem .7rem .6rem; font-family: var(--serif); font-size: 1.1rem; line-height: 1.15; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transition: opacity .25s; }
.sqgrid a:hover .sq__cap, .sqgrid a:focus-visible .sq__cap { opacity: 1; }
@media (hover: none) { .sq__cap { display: none; } }
.sq--text { display: flex; align-items: center; justify-content: center; padding: 1rem; text-align: center; }
.sq__name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; color: var(--ink); }
.sqgrid a:hover .sq__name { color: var(--link); }
.sqgrid__label { display: block; margin-top: .5rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.sqgrid a:hover .sqgrid__label { color: var(--link); }
/* detail díla: velká fotka v původním poměru, pak text a další fotky */
.detail__main { margin: 0 0 1.5rem; }
.detail__main a { display: inline-block; cursor: zoom-in; max-width: 100%; }
.detail__main img { display: block; width: auto; max-width: 100%; height: auto; max-height: 82vh; background: var(--soft); }
.detail__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; margin: 0 0 1.25rem; }
.works .crumb { margin: 0 0 1.25rem; }
.masonry--work { columns: 3; }
@media (max-width: 1000px) { .sqgrid { grid-template-columns: repeat(3, 1fr); } .masonry--work { columns: 2; } }
@media (max-width: 560px) { .sqgrid { grid-template-columns: repeat(2, 1fr); } .masonry--work { columns: 2; } }
@media (max-width: 800px) {
  .works { display: block; padding-top: 1.25rem; }
  .works__cats { position: static; margin: 0 calc(var(--pad) * -1) 1.5rem; padding: 0 var(--pad); overflow-x: auto; }
  .works__label { margin-bottom: .5rem; }
  .works__cats ul { display: flex; gap: .5rem; width: max-content; }
  .works__cats li { border: 0; }
  .works__cats a { font-family: var(--sans); font-size: .875rem; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; }
  .works__cats a.is-active { text-decoration: none; background: var(--accent); border-color: var(--accent); }
}
/* Home: pás Dílo (kategorie, pořadí/obrázky losuje server) */
.hwork__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.hwork__head .section__title { margin: 0; }
.hwork__head .section__title a { text-decoration: none; }
.hwork__head .section__title a:hover { color: var(--link); }
.hwork__all { font-size: .875rem; letter-spacing: .04em; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--accent); }
.hwork__all:hover { color: var(--link); }
/* stejná mřížka jako karty akcí (.cards) */
.hwork__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.hwork__grid a { display: block; text-decoration: none; }
.hwork__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.hwork__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.hwork__grid a:hover img { transform: scale(1.03); }
.hwork__name { display: block; margin-top: .8rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.hwork__grid a:hover .hwork__name { color: var(--link); }
.hwork__extra { display: none; }
@media (max-width: 1100px) { .hwork__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hwork__extra { display: block; } }
@media (max-width: 800px) { .hwork__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hwork__grid { gap: 1.5rem .9rem; } }
.books li.is-current .books__cover { background: #e8e8e0; box-shadow: 0 3px 0 var(--accent); }
.pub--detail { margin-top: 1.5rem; }

/* ----- Links page (standalone list of external links) ----- */
.page-links .prose { max-width: 36rem; }
.page-links .prose p { margin: 0 0 2.25rem; line-height: 2; }
.page-links .prose strong { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; line-height: 1.6; }
.page-links .prose a { text-decoration: none; color: var(--ink); font-size: 1.125rem; border-bottom: 1px solid var(--accent); padding-bottom: .05em; }
.page-links .prose a:hover { color: var(--link); }
.page-links .prose strong + br { display: none; }
.books__cover .ph { height: auto; aspect-ratio: 3 / 4; }
