/* Patrik Hábl — minimalist portfolio
   Inspiration: jeffkoons.com, davidcerny.cz
   Font: Archivo (sans, bezpatkové, jednotné napříč webem)
*/

:root {
  --bg: #FAFAFA;
  --fg: #09090B;
  --muted: #71717A;
  --line: #E4E4E7;
  --accent: #09090B;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============ TOP BAR ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 32px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: var(--fg);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

/* Transparent on hero (homepage only) */
body.has-hero .topbar:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  justify-self: start;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  align-items: center;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  justify-self: center;
  white-space: nowrap;
}
.nav a { position: relative; transition: opacity .25s var(--ease); padding: 6px 0; }
.nav a:hover { opacity: 0.6; }
.nav a.active::after,
.nav a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
}

.lang {
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  justify-self: end;
  align-items: center;
  white-space: nowrap;
}
.lang button { opacity: .5; transition: opacity .2s var(--ease); padding: 4px 2px; color: inherit; }
.lang button.active { opacity: 1; }
.lang button:hover { opacity: 1; }
.lang .sep { opacity: .4; }

/* Mobile menu button */
.menu-toggle { display: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 820px) {
  .topbar { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .nav { display: none; }
  .lang { display: none; }
  body.has-hero .topbar { background: rgba(255,255,255,0.92); color: var(--fg); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,0,0,.06); }
  body.has-hero .topbar { color: var(--fg); }
  .nav.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000;
    color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 28px;
    gap: 16px;
    font-size: 28px;
    mix-blend-mode: normal;
  }
  .menu-toggle { display: block; }
}

/* ============ HERO (homepage) ============ */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-slide.active { opacity: 1; }

.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-name {
  position: absolute;
  left: 40px; bottom: 48px;
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 10rem);
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: #fff;
  text-transform: none;
  max-width: 90vw;
  z-index: 2;
  padding: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.35);
}
/* radial podkres za jménem */
.hero-name::before {
  content: '';
  position: absolute;
  left: -10%; bottom: -20%;
  width: 130%; height: 180%;
  background: radial-gradient(60% 60% at 30% 60%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-name span { display: block; }
.hero-sub {
  position: absolute;
  right: 32px; bottom: 44px;
  text-align: right;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: difference;
  max-width: 40vw;
  z-index: 2;
}

.scroll-indicator {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-indicator::after {
  content: '';
  width: 1px; height: 28px;
  background: #fff;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

@media (max-width: 700px) {
  .hero-name { left: 20px; bottom: 72px; }
  .hero-sub { display: none; }
  .scroll-indicator { bottom: 20px; }
}

/* ============ HP ROZCESTNÍK ============ */
.hp-nav {
  padding: 120px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.hp-nav-intro {
  max-width: 820px;
  margin-bottom: 80px;
}
.hp-nav-intro h2 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.hp-nav-intro blockquote {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: #27272A;
  border-left: 2px solid var(--fg);
  padding-left: 20px;
  font-style: italic;
  font-weight: 400;
  max-width: 680px;
}
.hp-nav-intro blockquote cite {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}
.hp-nav-intro blockquote .quote-author {
  font-weight: 700;
  font-style: normal;
  white-space: nowrap;
}

.hp-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hp-card {
  position: relative;
  display: block;
  cursor: pointer;
  text-decoration: none;
}
.hp-card .tile {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #F4F4F5;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.hp-card .tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity .35s var(--ease), transform 1s var(--ease);
}
.hp-card .tile img[src] { opacity: 1; }
.hp-card:hover .tile { background: #E4E4E7; }
.hp-card:hover .tile img { transform: scale(1.04); }
.hp-card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
}
.hp-card-label h3 {
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}
.hp-card-label .arrow {
  font-size: 18px;
  color: var(--muted);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.hp-card:hover .arrow { transform: translateX(6px); color: var(--fg); }

@media (max-width: 900px) {
  .hp-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hp-nav { padding: 80px 20px; }
  .hp-cards { grid-template-columns: 1fr; gap: 16px; }
}

/* ============ HP FEATURED ============ */
.hp-featured {
  padding: 40px 32px 120px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.hp-featured .text .eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 600;
}
.hp-featured .text h2 {
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hp-featured .text p {
  font-size: 17px;
  line-height: 1.7;
  color: #27272A;
  margin-bottom: 28px;
  max-width: 48ch;
}
.hp-featured .text a.more {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .2s var(--ease);
}
.hp-featured .text a.more:hover { opacity: .6; }
.hp-featured figure img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hp-featured figure figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; letter-spacing: .04em; }

@media (max-width: 900px) {
  .hp-featured { grid-template-columns: 1fr; gap: 40px; padding: 20px 20px 80px; }
}

/* HP marquee / strip */
.hp-strip {
  padding: 60px 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.hp-strip .strip-label {
  padding: 0 32px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
}
.hp-strip .strip-label a { color: var(--fg); }
.hp-strip .strip-label a:hover { opacity: .6; }
.strip-track {
  display: flex;
  gap: 24px;
  padding: 0 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-track > a {
  flex: 0 0 380px;
  scroll-snap-align: start;
}
.strip-track figure { aspect-ratio: 4/5; overflow: hidden; }
.strip-track img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.strip-track a:hover img { transform: scale(1.04); }
.strip-track figcaption {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 16px;
}
.strip-track .title { font-weight: 500; }
.strip-track .meta { color: var(--muted); }
@media (max-width: 700px) {
  .strip-track > a { flex: 0 0 78%; }
  .hp-strip .strip-label { padding: 0 20px; }
  .strip-track { padding: 0 20px; }
}

/* HP exhibitions list */
.hp-exh {
  padding: 120px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.hp-exh h2 {
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.exh-list { border-top: 1px solid var(--line); }
.exh-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding .3s var(--ease);
}
.exh-item:hover { padding-left: 16px; }
.exh-item .year { font-weight: 600; font-size: 14px; letter-spacing: .06em; }
.exh-item .title { font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -0.01em; }
.exh-item .place { color: var(--muted); font-size: 14px; letter-spacing: .02em; }
@media (max-width: 700px) {
  .hp-exh { padding: 80px 20px; }
  .exh-item { grid-template-columns: 60px 1fr; }
  .exh-item .place { grid-column: 2; font-size: 13px; }
}

/* HP CTA kontakt */
.hp-cta {
  padding: 140px 32px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.hp-cta h2 {
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 56px;
}
.hp-cta .cta-card {
  display: inline-block;
  text-align: left;
  border: 1px solid var(--line);
  padding: 36px 44px;
  background: #fff;
}
.hp-cta .cta-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hp-cta .cta-info {
  font-size: 18px;
  line-height: 1.9;
}
.hp-cta .cta-info a {
  color: var(--fg);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}
.hp-cta .cta-info a:hover { border-bottom-color: var(--fg); }
@media (max-width: 600px) {
  .hp-cta { padding: 80px 20px; }
  .hp-cta .cta-card { padding: 28px 24px; display: block; }
  .hp-cta .cta-info { font-size: 16px; }
}

/* ============ PAGE LAYOUT (subpages) ============ */
.page {
  padding: 140px 32px 120px;
  max-width: 1400px;
  margin: 0 auto;
}
.page-title {
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 40px;
}
.page-intro {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 80px;
}

/* sub-nav under page header */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 60px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.subnav a { color: var(--muted); transition: color .2s var(--ease); }
.subnav a:hover, .subnav a.active { color: var(--fg); }

/* Grid of works (uniform tiles) */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
.grid .item { cursor: pointer; }
.grid .item figure {
  position: relative;
  overflow: hidden;
  background: #F4F4F5;
  border: 1px solid var(--line);
  aspect-ratio: 1/1;
  transition: background .25s var(--ease);
}
.grid .item:hover figure { background: #E4E4E7; }
.grid .item img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity .35s var(--ease), transform .9s var(--ease);
}
.grid .item img[src] { opacity: 1; }
.grid .item:hover img { transform: scale(1.03); }
.grid .item figcaption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  letter-spacing: .02em;
}
.grid .item figcaption .title { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.grid .item figcaption .meta { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .page { padding: 110px 20px 80px; }
}

/* ============ BIOGRAFIE / TEXT PAGES ============ */
.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
}
.prose h2 {
  font-weight: 600;
  font-size: 22px;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.prose p { margin-bottom: 20px; color: #27272A; }
.prose ul { margin: 16px 0 24px 18px; }
.prose li { margin-bottom: 6px; color: #27272A; }

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.bio-layout figure img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.bio-layout figure figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }

@media (max-width: 900px) {
  .bio-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ KONTAKT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 20px;
}
.contact-grid h3 {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 500;
}
.contact-grid p { font-size: 20px; line-height: 1.5; }
.contact-grid a { border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.contact-grid a:hover { border-color: var(--fg); }

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
footer a:hover { color: var(--fg); }

@media (max-width: 600px) { footer { padding: 28px 20px; } }

/* ============ VIP page ============ */
.vip-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px;
  text-align: center;
}
.vip-gate h1 {
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.vip-gate p { color: var(--muted); max-width: 480px; margin: 0 auto 32px; }
.vip-gate input {
  font: inherit;
  padding: 14px 20px;
  border: 1px solid var(--line);
  background: #fff;
  width: 260px;
  text-align: center;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: 14px;
}
.vip-gate input:focus { outline: 2px solid var(--fg); outline-offset: 2px; }
.vip-gate button {
  margin-left: 10px;
  padding: 14px 28px;
  background: var(--fg);
  color: #fff;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: opacity .2s var(--ease);
}
.vip-gate button:hover { opacity: .85; }

/* ============ EXHIBITION YEARLY LIST ============ */
.year-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.year-block:first-of-type { border-top: 1px solid var(--fg); }
.year-label {
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}
.year-items { list-style: none; display: grid; gap: 14px; }
.year-items li {
  font-size: 16px;
  line-height: 1.55;
  color: #27272A;
  padding-left: 18px;
  position: relative;
}
.year-items li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 1px;
  background: var(--muted);
}
.year-items li.has-gallery {
  cursor: pointer;
  transition: color .2s var(--ease);
}
.year-items li.has-gallery::after {
  content: '→';
  margin-left: 10px;
  font-size: 13px;
  color: var(--muted);
}
.year-items li.has-gallery:hover { color: var(--fg); }

details.year-group {
  border-top: 1px solid var(--line);
}
details.year-group > summary {
  list-style: none;
  cursor: pointer;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color .2s var(--ease);
}
details.year-group > summary:hover { color: var(--fg); }
details.year-group > summary::-webkit-details-marker { display: none; }
details.year-group > summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--muted);
}
details.year-group[open] > summary::after { content: '−'; }
details.year-group[open] > summary { color: var(--fg); }
details.year-group > .year-block:first-child { border-top: 0; padding-top: 8px; }

@media (max-width: 700px) {
  .year-block { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .year-label { font-size: 1.5rem; }
}

/* Embedded YouTube grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #000;
}
.video-item h3 {
  font-weight: 600;
  font-size: 16px;
  margin-top: 14px;
  letter-spacing: -0.01em;
}
.video-item p { color: var(--muted); font-size: 13px; margin-top: 4px; }
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; } }

/* DONÁTORSTVÍ — hero intro */
.don-hero {
  padding: 160px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.don-eyebrow {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 600;
}
.don-hero h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 40px;
  max-width: 950px;
}
.don-bullets {
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 36px;
}
.don-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: #27272A;
}
.don-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--fg);
}
.don-note {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  max-width: 720px;
}
@media (max-width: 600px) { .don-hero { padding: 110px 20px 60px; } }

/* DONÁTORSTVÍ — sekce */
.don-section {
  border-top: 1px solid var(--line);
  padding: 64px 0;
}
.don-section:first-of-type { border-top: 0; padding-top: 0; }
.don-section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.don-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--muted);
  padding-top: 8px;
}
.don-section-header h3 {
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.don-section-header p {
  font-size: 16px;
  line-height: 1.7;
  color: #27272A;
  max-width: 760px;
}
@media (max-width: 600px) {
  .don-section-header { grid-template-columns: 1fr; gap: 12px; }
}

.don-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.don-tier {
  border: 1px solid var(--line);
  padding: 32px 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.don-tier.featured {
  background: #FAFAF8;
  border-color: #C9C4B8;
  box-shadow: 0 1px 0 #C9C4B8 inset;
}
.don-tier-amount {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.don-tier-amount span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.don-tier.featured .don-tier-amount span { color: var(--muted); }
.don-tier-label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 24px 0 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.don-tier.featured .don-tier-label { color: var(--muted); border-top-color: var(--line); }
.don-tier ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.don-tier li {
  position: relative;
  padding-left: 18px;
}
.don-tier li::before {
  content: '+';
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
  color: var(--muted);
}
.don-tier.featured li::before { color: var(--muted); }
.don-tier-grid { grid-template-columns: 1fr 1fr; gap: 14px 32px !important; display: grid !important; }

@media (max-width: 1000px) {
  .don-tiers { grid-template-columns: 1fr; }
  .don-tier-grid { grid-template-columns: 1fr !important; }
}

.don-cta-btn {
  display: inline-block;
  padding: 18px 40px;
  background: var(--fg);
  color: #fff;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: opacity .2s var(--ease);
  border: 1px solid var(--fg);
}
.don-cta-btn:hover { opacity: .85; }

/* VIP banner — aktuality nahoře */
.vip-banner {
  background: #F4F2EC;
  color: var(--fg);
  padding: 80px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vip-banner-inner { max-width: 1400px; margin: 0 auto; }
.vip-banner-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--fg);
  padding: 6px 14px;
  margin-bottom: 40px;
}
.vip-banner-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.vip-banner-item h3 {
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--fg);
}
.vip-banner-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #3F3F46;
  margin-bottom: 18px;
}
.vip-banner-item a.more {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg);
  border-bottom: 1px solid var(--fg);
  padding-bottom: 2px;
}
.vip-banner-item a.more:hover { opacity: .6; }
@media (max-width: 800px) {
  .vip-banner { padding: 110px 20px 60px; }
  .vip-banner-items { grid-template-columns: 1fr; gap: 40px; }
}

/* Aktuality block (VIP) */
.aktuality { margin-top: 60px; display: grid; gap: 48px; }
.aktualita {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
}
.aktualita .date { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.aktualita h3 { font-size: 24px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.aktualita p { color: #27272A; line-height: 1.65; }
@media (max-width: 700px) { .aktualita { grid-template-columns: 1fr; gap: 8px; } }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 86vw; object-fit: contain; }
.lightbox .close {
  position: absolute;
  top: 20px; right: 28px;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  background: none;
  z-index: 2;
}
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 56px;
  line-height: 1;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  opacity: .7;
  transition: opacity .2s var(--ease);
  z-index: 2;
}
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; }
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover { opacity: 1; }
@media (max-width: 600px) {
  .lightbox .lb-prev { left: 4px; }
  .lightbox .lb-next { right: 4px; }
  .lightbox .lb-prev, .lightbox .lb-next { font-size: 40px; width: 48px; }
}

/* ============ PRINT / REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

/* ============ MEDIA / Tištěná média ============ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 24px 18px;
}
@media (min-width: 700px) {
  .media-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
.media-tile {
  display: block;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.media-tile:hover { transform: translateY(-2px); }
.media-cover {
  position: relative;
  aspect-ratio: 3/4;
  background: #F4F4F5;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.media-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .8s var(--ease);
}
.media-tile:hover .media-cover { border-color: var(--fg); box-shadow: 0 8px 28px -10px rgba(0,0,0,.18); }
.media-tile:hover .media-cover img { transform: scale(1.02); }
.media-info { padding-top: 14px; }
.media-info h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.media-info p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.media-date {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ============ PDF MODAL ============ */
.pdf-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 200;
  display: none;
  flex-direction: column;
}
.pdf-modal.open { display: flex; }
.pdf-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #09090B;
  color: #fff;
  gap: 16px;
}
.pdf-modal-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdf-modal-dl {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 14px;
  transition: background .2s var(--ease);
  white-space: nowrap;
}
.pdf-modal-dl:hover { background: rgba(255,255,255,.1); }
.pdf-modal-close {
  background: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px;
}
.pdf-modal-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #1A1A1A;
}
@media (max-width: 600px) {
  .pdf-modal-bar { padding: 10px 14px; }
  .pdf-modal-title { font-size: 12px; }
  .pdf-modal-dl { padding: 5px 10px; font-size: 11px; }
}

/* ============ VIDEO TILES (Filmy) ============ */
.video-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px 20px;
}
.video-tile { cursor: pointer; }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
  opacity: .92;
}
.video-tile:hover .video-thumb img { transform: scale(1.04); opacity: 1; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 48px; height: 48px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  padding-left: 3px;
  transition: background .2s var(--ease);
}
.video-tile:hover .video-play { background: rgba(0,0,0,.8); }
.video-tile p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--fg);
}
@media (max-width: 600px) {
  .video-tile-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; }
  .video-tile p { font-size: 13px; }
  .video-play { width: 38px; height: 38px; font-size: 13px; }
}

/* Year links list (online články) */
.year-links li { padding-left: 0; }
.year-links li::before { display: none; }
.year-links li a {
  color: #27272A;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
  word-break: break-word;
}
.year-links li a:hover { color: var(--fg); border-bottom-color: var(--fg); }

/* Video modal */
.video-modal-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal-frame {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16/9;
  border: 0;
  background: #000;
}

/* /tvorba/ index — smaller tiles, 5 per row */
.grid.grid-tvorba-index {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 16px;
}
.grid.grid-tvorba-index .item figcaption { margin-top: 10px; }
.grid.grid-tvorba-index .item figcaption .title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
@media (max-width: 1000px) { .grid.grid-tvorba-index { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .grid.grid-tvorba-index { grid-template-columns: repeat(2, 1fr); } }


/* === donators carousel (2026-06-16) === */
.don-carousel {
  position: relative;
  display: block;
  min-height: 220px;
  margin-top: 24px;
}
.don-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
  padding: 40px 80px;
}
.don-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.don-carousel-slide a {
  display: block;
  text-align: center;
  color: inherit;
  text-decoration: none;
  max-width: 760px;
}
.don-carousel-date {
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.don-carousel-slide h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.don-carousel-more {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity .2s;
}
.don-carousel-slide a:hover .don-carousel-more { opacity: .6; }
.don-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 12px 18px;
  z-index: 2;
  transition: color .2s;
}
.don-carousel-arrow:hover { color: inherit; }
.don-carousel-arrow.prev { left: 0; }
.don-carousel-arrow.next { right: 0; }
.don-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.don-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.18);
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.don-carousel-dot.active { background: rgba(0,0,0,.7); }
@media (max-width: 640px) {
  .don-carousel-slide { padding: 30px 50px; }
  .don-carousel-arrow { font-size: 22px; padding: 8px 12px; }
}

/* aktualní projekty — list */
.akt-project {
  border-top: 1px solid var(--muted);
  padding: 32px 0;
  scroll-margin-top: 100px;
}
.akt-project:last-of-type { border-bottom: 1px solid var(--muted); }
.akt-project h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.akt-project .akt-date {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.akt-project p { margin: 8px 0; line-height: 1.6; }
.akt-project .akt-budget { margin-top: 14px; }
