:root {
  --bg: #000000;
  --black-1: #020202;
  --black-2: #050505;
  --black-3: #090909;
  --line: rgba(255,255,255,0.075);
  --line-soft: rgba(255,255,255,0.045);
  --text: #f4efe6;
  --muted: #aaa39a;
  --muted-2: #766f66;
  --gold: #b99a61;
  --gold-soft: rgba(185,154,97,0.14);
  --shadow: 0 28px 90px rgba(0,0,0,0.72);
  --container: min(1180px, calc(100vw - 56px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #000; }
body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.014), transparent 220px);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.container { width: var(--container); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(185,154,97,0.58);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 0.88rem; line-height: 1; }
.brand-copy small { font-size: 0.67rem; color: var(--muted-2); }
.main-nav { display: flex; gap: 24px; }
.main-nav a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.main-nav a:hover { color: var(--text); }
.nav-support {
  border: 1px solid rgba(185,154,97,0.42);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.82rem;
}
.nav-support:hover { background: var(--gold-soft); }
.hero {
  position: relative;
  min-height: clamp(680px, 88vh, 940px);
  display: flex;
  align-items: flex-end;
  padding: 128px 0 92px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.62) 35%, rgba(0,0,0,0.22) 72%, rgba(0,0,0,0.65) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.1) 42%, rgba(0,0,0,0.72) 100%),
    url('hero-moslavina.jpg') center / cover no-repeat;
  transform: scale(1.02);
  filter: saturate(0.88) contrast(1.08) brightness(0.78);
}
.hero-shell { position: relative; z-index: 1; }
.hero-copy { max-width: 820px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 0.68rem;
  font-weight: 700;
}
.hero h1,
.author-card h2,
.editorial-title h2,
.gallery-intro h2,
.support-grid h2,
.contact-grid h2,
.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
}
.hero h1 {
  font-size: clamp(4.4rem, 9.2vw, 9.4rem);
  max-width: 8.2ch;
}
.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.32vw, 1.24rem);
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.92rem;
}
.btn.primary { background: var(--gold); color: #050505; }
.btn.subtle {
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.018);
  color: var(--text);
}
.btn.subtle:hover { border-color: rgba(185,154,97,0.48); background: var(--gold-soft); }
.author-section,
.editorial-section,
.gallery-section,
.support-section,
.contact-section { padding: 88px 0; }
.author-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: stretch;
}
.author-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.075);
  background: #050505;
  box-shadow: var(--shadow);
  max-height: 560px;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-card {
  border: 1px solid rgba(255,255,255,0.075);
  background: rgba(5,5,5,0.82);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 50px);
  box-shadow: var(--shadow);
}
.author-card h2 { font-size: clamp(3rem, 5vw, 5.3rem); margin-bottom: 20px; }
.author-card p { color: var(--muted); margin: 0 0 15px; }
.author-card blockquote {
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 1px solid rgba(185,154,97,0.55);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--text);
}
.editorial-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 50px 0;
}
.editorial-title h2 { font-size: clamp(3.1rem, 5.8vw, 6.2rem); max-width: 9.5ch; }
.editorial-text p { margin: 0 0 16px; color: var(--muted); max-width: 62ch; }
.gallery-intro {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.gallery-intro h2 { font-size: clamp(3.2rem, 5.2vw, 5.5rem); }
.gallery-intro p { margin: 0; color: var(--muted); max-width: 60ch; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  border: 1px solid rgba(255,255,255,0.09);
  background: #050505;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 0.86rem;
}
.filter:hover, .filter.active { color: #050505; border-color: var(--gold); background: var(--gold); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 60px) clamp(26px, 3.2vw, 42px);
}
.photo-card { position: relative; background: transparent; border: 0; min-height: 0; }
.photo-card[hidden] { display: none !important; }
.photo-card .photo-open {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 28px 72px rgba(0,0,0,0.5);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.photo-card:nth-child(7n+1) img { aspect-ratio: 4 / 4.75; }
.photo-card:nth-child(5n+2) img { aspect-ratio: 4 / 3; }
.photo-card:hover img { transform: scale(1.025); filter: brightness(1.03); }
.photo-card:hover .photo-caption h3 { color: #fff7eb; }
.photo-caption { position: static; padding: 15px 2px 0; background: transparent; }
.photo-caption span {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.64rem;
  margin-bottom: 5px;
}
.photo-caption h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.05;
  font-size: clamp(1.56rem, 2vw, 2.12rem);
}
.support-grid, .contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(26px, 5vw, 60px);
  align-items: start;
}
.support-grid h2, .contact-grid h2 { font-size: clamp(3rem, 5.2vw, 5rem); }
.support-card, .contact-card {
  border: 1px solid rgba(255,255,255,0.075);
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.01));
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.support-card p { color: var(--muted); margin: 0 0 14px; max-width: 60ch; }
.support-note { color: var(--gold) !important; }
.compact { margin-top: 22px; }
.contact-signature { padding: 40px; }
.contact-name {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
  color: var(--text);
}
.contact-place { margin: 10px 0 30px; color: var(--muted); }
.contact-links { display: grid; gap: 14px; }
.contact-links a, .contact-links span {
  display: block;
  color: var(--text);
  border-top: 1px solid rgba(255,255,255,0.065);
  padding-top: 12px;
  font-size: 1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-links a:hover { color: var(--gold); border-color: rgba(185,154,97,0.35); }
.site-footer { padding: 34px 0 76px; color: var(--muted-2); }
.footer-wrap { border-top: 1px solid var(--line-soft); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; }
.floating-support {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  background: var(--gold);
  color: #050505;
  border-radius: 999px;
  padding: 13px 19px;
  font-weight: 800;
  box-shadow: 0 20px 48px rgba(0,0,0,0.62);
}
.lightbox { position: fixed; inset: 0; display: none; z-index: 100; }
.lightbox.open { display: block; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(8px); }
.lightbox-panel {
  position: relative;
  width: min(1180px, calc(100vw - 30px));
  max-height: calc(100vh - 30px);
  overflow: auto;
  margin: 15px auto;
  background: #000;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.lightbox-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; }
.lightbox img { width: 100%; max-height: calc(100vh - 32px); object-fit: contain; background: #000; }
.lightbox-copy { padding: 30px; }
#lightbox-meta { color: var(--gold); text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.72rem; margin: 0 0 12px; }
#lightbox-title { margin: 0 0 14px; font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1; font-weight: 500; }
#lightbox-text { margin: 0 0 24px; color: var(--muted); }
.lightbox-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lightbox-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.7);
  cursor: pointer;
  font-size: 1.45rem;
}
@media (max-width: 1080px) {
  .author-grid, .editorial-grid, .support-grid, .contact-grid, .lightbox-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-title h2 { max-width: none; }
}
@media (max-width: 760px) {
  :root { --container: calc(100vw - 28px); }
  .main-nav { display: none; }
  .nav-wrap { min-height: 66px; }
  .nav-support { padding: 8px 12px; font-size: 0.76rem; }
  .hero { min-height: 620px; padding: 102px 0 56px; }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.7) 52%, rgba(0,0,0,0.26) 100%),
      linear-gradient(0deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.24) 48%, rgba(0,0,0,0.72) 100%),
      url('hero-moslavina.jpg') center / cover no-repeat;
  }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 5.4rem); max-width: 7.2ch; }
  .author-section, .editorial-section, .gallery-section, .support-section, .contact-section { padding: 52px 0; }
  .author-photo { max-height: 360px; }
  .gallery-intro { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 34px; }
  .photo-card img, .photo-card:nth-child(7n+1) img, .photo-card:nth-child(5n+2) img { aspect-ratio: 4 / 3.25; }
  .author-card, .support-card, .contact-card, .lightbox-copy { padding: 24px; }
  .contact-signature { padding: 28px; }
  .floating-support { right: 14px; left: 14px; bottom: 14px; text-align: center; }
  .footer-wrap { flex-direction: column; }
}
