:root {
  --bg: #f8f7f3;
  --text: #141414;
  --muted: #6d6a64;
  --line: rgba(20, 20, 20, 0.1);
  --soft: #efede7;
  --max: 1240px;
  --transition: 320ms ease;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(180, 173, 158, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(120, 120, 120, 0.06), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 243, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
}

.brand-signature {
  padding: 6px 0;
}

.signature-mark {
  height: 48px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.02) saturate(0.95);
  transition: transform var(--transition), opacity var(--transition);
}

.brand:hover .signature-mark,
.brand:focus-visible .signature-mark {
  transform: translateY(-1px);
  opacity: 0.92;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 0.98rem;
  cursor: pointer;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-current {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-current::after {
  transform: scaleX(1);
}

/* =========================
   GLOBAL TYPE
========================= */

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 6rem);
  margin-bottom: 26px;
}

.section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.section-head p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.97rem;
}

/* =========================
   HERO
========================= */

.hero {
  padding: 80px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 500px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-copy .artist-quote p {
  font-family: "Literata", serif;
  color: rgba(40, 36, 32, 0.75);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--text);
  font-size: 0.92rem;
  transition: all var(--transition);
  cursor: pointer;
}

.button {
  background: var(--text);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background: #262626;
  border-color: #262626;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(20, 20, 20, 0.16);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

.hero-figure {
  position: relative;
  background: rgba(255, 255, 255, 0.56);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(20, 20, 20, 0.05);
  pointer-events: none;
  z-index: 2;
}

.hero-carousel {
  overflow: hidden;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f3f0ea;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1200ms ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide.active img {
  animation: heroKenBurns 5s ease forwards;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 300ms ease;
}

.hero-dot.active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.6);
}

.hero-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 3;
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.92);
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================
   ARTIST QUOTE
========================= */

.artist-quote {
  margin: 44px 0 50px;
  max-width: 620px;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  animation: quoteReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
}

.artist-quote p {
  margin: 0;
  font-family: "Literata", serif;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.6;
  letter-spacing: 0.005em;
  color: rgba(20, 20, 20, 0.9);
  text-wrap: pretty;
}

.artist-quote footer {
  font-family: "Literata", serif;
  margin-top: 18px;
  padding-top: 14px;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.42);
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  display: block;
  width: 100%;
  text-align: right;
}

@keyframes quoteReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   WORKS GRID
========================= */

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.entry-card {
  display: block;
}

.entry-media {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.54);
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(20, 20, 20, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.entry-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 700ms ease;
}



.entry-card:hover .entry-media,
.entry-card:focus-visible .entry-media {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.entry-card:hover .entry-media img,
.entry-card:focus-visible .entry-media img {
  transform: scale(1.035);
}

.entry-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.entry-meta h3 {
  font-size: 2.3rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.entry-meta span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* =========================
   ABOUT
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
}

.about-image {
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
}

.about-copy h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  margin-bottom: 3rem;
}

.about-copy p {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 1.5rem;
  font-size: 0.99rem;
}



.about-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
  gap: 23px;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-block;
  padding: 10px 18px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(40, 36, 32, 0.8);
  border: 1px solid rgba(40, 36, 32, 0.2);
  background: transparent;
  cursor: pointer;
  transition: all 200ms ease;
}

.btn-ghost:hover {
  background: rgba(40, 36, 32, 0.05);
  border-color: rgba(40, 36, 32, 0.4);
  color: rgba(40, 36, 32, 1);
}

/* =========================
   LIST / CONTACT
========================= */

.list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.list-block h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.list-item {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.94rem;
}

.list-item strong {
  color: var(--text);
  font-weight: 500;
}

.contact-box {
  max-width: 760px;
}

.contact-box h2 {
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  margin-bottom: 18px;
}

.contact-box p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 52ch;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: rgba(255, 255, 255, 0.42);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.contact-links a:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* =========================
   GALLERY PAGES
========================= */

.subhero {
  padding: 72px 0 24px;
}

.subhero-inner h1 {
  margin-bottom: 18px;
  animation: quoteReveal 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.gallery-section {
  padding-top: 34px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.gallery-card {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.gallery-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.56);
  padding: 14px;
  border: 1px solid rgba(20, 20, 20, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}



.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(248, 247, 243, 0.985);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 36px 24px 24px;
}


.lightbox.active {
  display: flex;
}

.gallery-lightbox-minimal {
  background: rgba(248, 247, 243, 0.985);
  opacity: 0;
  transition: opacity 240ms ease;
}


.gallery-lightbox-minimal.active {
  opacity: 1;
}

.gallery-minimal-stage {
  width: min(1400px, 100%);
  height: 100%;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 18px;
}

.gallery-minimal-figure-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.gallery-minimal-figure {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-minimal-figure img,
#galleryLightboxImage {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.06);
  opacity: 1;
  transition: opacity 500ms ease;
}

#galleryLightboxImage.is-visible {
  opacity: 1;
}

.gallery-minimal-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.gallery-meta-title,
#galleryLightboxTitle {
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  line-height: 1;
}

.gallery-meta-year,
.gallery-meta-technique,
.gallery-meta-sep,
#galleryLightboxYear,
#galleryLightboxTechnique {
  color: var(--muted);
}

.gallery-nav {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition), opacity var(--transition);
  align-self: center;
  justify-self: center;
  opacity: 0.7;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  color: var(--text);
  opacity: 1;
  transform: translateY(-1px);
}

.lightbox-close.minimal-close,
.minimal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
  min-height: auto;
  cursor: pointer;
}

.lightbox-close.minimal-close:hover,
.lightbox-close.minimal-close:focus-visible,
.minimal-close:hover,
.minimal-close:focus-visible {
  color: var(--text);
  transform: none;
}

.gallery-tap-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26%;
  z-index: 2;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.gallery-tap-zone-left {
  left: 0;
}

.gallery-tap-zone-right {
  right: 0;
}

.lightbox-controls {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.lightbox-btn,
.lightbox-close {
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  min-height: 44px;
  padding: 0 16px;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}

.lightbox-btn:hover,
.lightbox-close:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

/* =========================
   KRITIKA POPUP
========================= */

.kritika-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.42);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 999;
}

.kritika-overlay.active {
  display: flex;
}

.kritika-modal {
  position: relative;
  width: min(70vw, 980px);
  max-height: 82vh;
  overflow-y: auto;
  padding: 56px 64px;
  border: 1px solid rgba(40, 36, 32, 0.08);
  background:
    linear-gradient(rgba(250, 247, 241, 0.94), rgba(250, 247, 241, 0.94)),
    url("images/tekstura.jpg") center center / cover no-repeat;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.12),
    0 30px 70px rgba(0, 0, 0, 0.18);
  color: #2a2723;
}

.kritika-modal::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(40, 36, 32, 0.06);
  pointer-events: none;
}

.kritika-close {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(40, 36, 32, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 200ms ease;
}

.kritika-close:hover,
.kritika-close:focus-visible {
  color: rgba(40, 36, 32, 1);
}

.kritika-content {
  max-width: 680px;
  margin: 0 auto;
}

.kritika-content h2 {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1f1b18;
}

.kritika-content p {
  margin: 0 0 20px;
  font-family: "Literata", serif;
  font-size: 1.1rem;
  line-height: 2;
  letter-spacing: 0.01em;
  color: rgba(42, 39, 35, 0.92);
}

.kritika-content p:last-child {
  margin-bottom: 0;
}

.kritika-quote footer {
  text-align: right;
  font-family: "Literata", serif;
  font-size: 1.2rem;
  color: rgba(42, 39, 35, 0.92);
}

/* =========================
   KRITIKA PAGE
========================= */

.kritika-page {
  background:
    radial-gradient(circle at top left, rgba(180, 173, 158, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(120, 120, 120, 0.06), transparent 24%),
    var(--bg);
  color: var(--text);
}

.kritika-page-main {
  min-height: 100vh;
  padding: 18px 0 72px;
}

.kritika-page-wrap {
  max-width: 900px;
}

.kritika-section {
  scroll-margin-top: 110px;
}

.kritika-page-head {
  margin-bottom: 26px;
}

.kritika-page-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.kritika-section h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
  margin: 0;
}

.kritika-page-body {
  max-width: 760px;
}

.kritika-page-body h3 {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.12;
  color: #1b1b1b;
}

.kritika-page-body p {
  font-family: "Literata", serif;
  color: rgba(26, 26, 26, 0.95);
  font-size: 1.08rem;
  line-height: 1.95;
  margin: 0 0 22px;
  max-width: 70ch;
}

.kritika-page-body p:last-child {
  margin-bottom: 0;
}

.kritika-page-signoff {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-style: italic;
  color: #141414;
  max-width: 38ch;
}

.citat {
  margin: 0 0 36px;
  padding: 0 0 0 22px;
  border-left: 2px solid rgba(0, 0, 0, 0.2);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  line-height: 1.45;
  font-style: italic;
  color: #111;
  max-width: 30ch;
}

.citat span {
  display: block;
  margin-top: 14px;
  font-size: 1.1rem;
  font-style: normal;
  color: rgba(0, 0, 0, 0.7);
}

/* =========================
   AFORIZMI PAGE
========================= */

.aforizmi-page {
  background-color: #d8d3cb;
  color: #2f2a25;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.aforizmi-page .site-header {
  background: rgba(248, 247, 243, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  transition: box-shadow 300ms ease, background 300ms ease;
}

.aforizmi-page.scrolled .site-header {
  background: rgba(248, 247, 243, 0.92);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 14px 34px rgba(0, 0, 0, 0.1);
}

.aforizmi-bg-texture,
.aforizmi-bg-vignette,
.aforizmi-bg-soften {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.aforizmi-bg-texture {
  inset: -60px;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("images/tekstura.jpg") center center / cover no-repeat;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

.aforizmi-bg-vignette {
  z-index: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0) 45%, rgba(0,0,0,0.14) 100%);
  opacity: 0.42;
}

.aforizmi-bg-soften {
  z-index: 0;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.aforizmi-main {
  position: relative;
  z-index: 1;
}

.aforizmi-hero {
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 0 36px;
  border-top: 0;
}

.aforizmi-hero h1 {
  margin-bottom: 16px;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.08em;
  color: #2b2926;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.aforizmi-hero p {
  max-width: 42ch;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(47, 42, 37, 0.72);
}

.aforizmi-list {
  padding-top: 10px;
  border-top: 0;
}

.aforizmi-list .container {
  max-width: 1180px;
}

.aforizmi-item {
  display: flex;
  justify-content: center;
  padding: 22px 0 56px;
  margin-bottom: 34px;
}

.aforizmi-paper-wrap {
  position: relative;
  width: 100%;
  display: flex;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms ease, transform 900ms ease;
}

.aforizmi-paper-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}

.aforizmi-paper {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  transform-origin: center center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.36)),
    rgba(249, 245, 237, 0.82);
  border: 1px solid rgba(75, 61, 47, 0.06);
  border-radius: 2px;
  backdrop-filter: blur(1.2px);
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 14px 30px rgba(0,0,0,0.12),
    0 28px 50px rgba(0,0,0,0.10);
  transition: transform 350ms ease, box-shadow 350ms ease;
}

.aforizmi-paper:hover {
  box-shadow:
    0 4px 8px rgba(0,0,0,0.05),
    0 18px 34px rgba(0,0,0,0.14),
    0 34px 58px rgba(0,0,0,0.11);
}

.aforizmi-paper-shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -18px;
  height: 32px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.06) 45%, rgba(0,0,0,0.00) 75%);
  filter: blur(10px);
  transform: scaleX(0.92);
}

.aforizmi-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0,0,0,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.010) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.15;
  transform: scale(1.01);
}

.aforizmi-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 78%, rgba(0,0,0,0.08) 100%);
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.aforizmi-line {
  position: absolute;
  top: 34px;
  left: 58px;
  width: 72px;
  height: 1px;
  background: rgba(0,0,0,0.16);
  z-index: 2;
}

.aforizmi-tape {
  position: absolute;
  width: 118px;
  height: 34px;
  top: -14px;
  left: 50%;
  z-index: 3;
  background: linear-gradient(180deg, rgba(255,255,255,0.54), rgba(239,228,194,0.40));
  border-left: 1px solid rgba(255,255,255,0.20);
  border-right: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 0 0 1px rgba(255,255,255,0.08) inset;
  opacity: 0.94;
  backdrop-filter: blur(1px);
}

.aforizmi-tape::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: auto, 4px 4px;
  opacity: 0.38;
}

.aforizmi-tape.left { left: 24%; transform: translateX(-50%) rotate(-3deg); width: 108px; }
.aforizmi-tape.right { left: 74%; transform: translateX(-50%) rotate(2.8deg); width: 112px; }
.aforizmi-tape.center { left: 50%; transform: translateX(-50%) rotate(-1deg); }

.aforizmi-content {
  position: relative;
  z-index: 2;
}

.aforizmi-text {
  margin: 20px 0 34px;
  font-family: "Literata", serif;
  font-weight: 400;
  font-size: clamp(26px, 3.3vw, 35px);
  line-height: 1.82;
  max-width: 32ch;
  color: #2d2924;
  text-wrap: balance;
}

.aforizmi-author {
  display: block;
  max-width: 32ch;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(47, 42, 37, 0.62);
}

.aforizmi-paper.paper-a { max-width: 820px; padding: 86px 58px 66px; }
.aforizmi-paper.paper-b { max-width: 690px; padding: 98px 52px 74px; }
.aforizmi-paper.paper-c { max-width: 760px; padding: 72px 62px 94px; }
.aforizmi-paper.paper-d { max-width: 640px; padding: 106px 50px 68px; }
.aforizmi-paper.paper-e { max-width: 850px; padding: 78px 68px 80px; }
.aforizmi-paper.paper-f { max-width: 720px; padding: 90px 56px 100px; }

.aforizmi-paper.align-left .aforizmi-text,
.aforizmi-paper.align-left .aforizmi-author {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.aforizmi-paper.align-center .aforizmi-text,
.aforizmi-paper.align-center .aforizmi-author {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.aforizmi-paper.signature-right .aforizmi-author {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.aforizmi-paper.signature-left .aforizmi-author {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.aforizmi-paper.tight .aforizmi-text {
  max-width: 28ch;
}

.aforizmi-paper.airy .aforizmi-text {
  max-width: 34ch;
}

.aforizmi-brush {
  position: absolute;
  right: -20px;
  bottom: 22px;
  width: 168px;
  height: 40px;
  z-index: 1;
  background: linear-gradient(90deg, rgba(121,93,58,0.00) 0%, rgba(121,93,58,0.03) 22%, rgba(121,93,58,0.07) 52%, rgba(121,93,58,0.04) 80%, rgba(121,93,58,0.00) 100%);
  transform: rotate(-5deg);
  border-radius: 60% 40% 55% 45% / 60% 38% 62% 40%;
  filter: blur(0.5px);
  opacity: 0.72;
}

/* raspored redova */
.r1  { justify-content: flex-start; }
.r2  { justify-content: flex-end; }
.r3  { justify-content: center; }
.r4  { justify-content: flex-start; }
.r5  { justify-content: flex-end; }
.r6  { justify-content: center; }
.r7  { justify-content: flex-start; }
.r8  { justify-content: flex-end; }
.r9  { justify-content: center; }
.r10 { justify-content: flex-start; }
.r11 { justify-content: flex-end; }
.r12 { justify-content: center; }
.r13 { justify-content: flex-start; }
.r14 { justify-content: flex-end; }
.r15 { justify-content: center; }
.r16 { justify-content: flex-start; }
.r17 { justify-content: flex-end; }
.r18 { justify-content: center; }
.r19 { justify-content: flex-start; }
.r20 { justify-content: flex-end; }
.r21 { justify-content: center; }
.r22 { justify-content: flex-start; }
.r23 { justify-content: flex-end; }
.r24 { justify-content: center; }
.r25 { justify-content: flex-start; }
.r26 { justify-content: flex-end; }
.r27 { justify-content: center; }
.r28 { justify-content: flex-start; }

.r1  .aforizmi-paper { max-width: 700px; transform: rotate(-1.1deg); }
.r2  .aforizmi-paper { max-width: 640px; transform: rotate(1.3deg); }
.r3  .aforizmi-paper { max-width: 760px; transform: rotate(-0.6deg); }
.r4  .aforizmi-paper { max-width: 680px; transform: rotate(1deg); }
.r5  .aforizmi-paper { max-width: 730px; transform: rotate(-1.4deg); }
.r6  .aforizmi-paper { max-width: 610px; transform: rotate(0.8deg); }
.r7  .aforizmi-paper { max-width: 690px; transform: rotate(-1deg); }
.r8  .aforizmi-paper { max-width: 660px; transform: rotate(1.2deg); }
.r9  .aforizmi-paper { max-width: 720px; transform: rotate(-0.7deg); }
.r10 .aforizmi-paper { max-width: 650px; transform: rotate(1deg); }
.r11 .aforizmi-paper { max-width: 610px; transform: rotate(-1.1deg); }
.r12 .aforizmi-paper { max-width: 760px; transform: rotate(0.7deg); }
.r13 .aforizmi-paper { max-width: 640px; transform: rotate(-0.9deg); }
.r14 .aforizmi-paper { max-width: 710px; transform: rotate(1.1deg); }
.r15 .aforizmi-paper { max-width: 690px; transform: rotate(-0.5deg); }
.r16 .aforizmi-paper { max-width: 740px; transform: rotate(0.9deg); }
.r17 .aforizmi-paper { max-width: 630px; transform: rotate(-1deg); }
.r18 .aforizmi-paper { max-width: 760px; transform: rotate(0.5deg); }
.r19 .aforizmi-paper { max-width: 700px; transform: rotate(-1.2deg); }
.r20 .aforizmi-paper { max-width: 640px; transform: rotate(1deg); }
.r21 .aforizmi-paper { max-width: 760px; transform: rotate(-0.4deg); }
.r22 .aforizmi-paper { max-width: 690px; transform: rotate(1deg); }
.r23 .aforizmi-paper { max-width: 650px; transform: rotate(-1.1deg); }
.r24 .aforizmi-paper { max-width: 730px; transform: rotate(0.6deg); }
.r25 .aforizmi-paper { max-width: 680px; transform: rotate(-0.8deg); }
.r26 .aforizmi-paper { max-width: 640px; transform: rotate(1.1deg); }
.r27 .aforizmi-paper { max-width: 760px; transform: rotate(-0.5deg); }
.r28 .aforizmi-paper { max-width: 700px; transform: rotate(0.8deg); }

/* =========================
   FOOTER
========================= */

.site-footer {
  font-family: "Literata", serif;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: rgba(40, 36, 32, 0.7);
  padding: 26px 0 34px;
}

.kritika-page .site-footer {
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

/* =========================
   DESKTOP / TABLET
========================= */

@media (max-width: 1024px) {
  .hero {
    padding: 56px 0 40px;
  }

  .hero-grid,
  .about-grid,
  .list-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy,
  .hero-figure,
  .about-image,
  .about-copy {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .entry-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .entry-media img,
  .gallery-card img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .section {
    padding: 72px 0;
  }

  .about-copy h2,
  .contact-box h2 {
    margin-bottom: 2rem;
  }



  .kritika-modal {
    width: min(86vw, 900px);
    padding: 44px 36px 34px;
  }
}

@media (max-width: 900px) {
  .gallery-minimal-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-nav {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .gallery-nav-prev { order: 2; }
  .gallery-minimal-figure-wrap { order: 1; }
  .gallery-nav-next { order: 3; }

  .gallery-minimal-figure img,
  #galleryLightboxImage {
    max-height: 68vh;
  }

  .gallery-minimal-meta {
    margin-top: 16px;
    gap: 8px;
  }

  .gallery-meta-title,
  #galleryLightboxTitle {
    width: 100%;
    font-size: 1.25rem;
  }

  .kritika-overlay {
    padding: 18px;
  }

  .kritika-modal {
    width: min(100vw - 36px, 900px);
    max-height: 86vh;
    padding: 44px 28px 34px;
  }

  .kritika-content {
    max-width: 100%;
  }

  .kritika-content h2 {
    margin-bottom: 18px;
  }

  .kritika-content p {
    font-size: 1rem;
    line-height: 1.82;
  }

  .kritika-page-body p {
    font-size: 1rem;
    line-height: 1.82;
  }

  .kritika-page-signoff {
    font-size: 1.3rem;
  }

  .citat {
    font-size: 1.45rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.menu-open {
    overflow: hidden;
  }

  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .site-header {
    background: rgba(248, 247, 243, 0.96);
  }

  .header-inner {
    min-height: 72px;
    gap: 16px;
    position: relative;
  }

  .brand {
    position: relative;
    z-index: 120;
  }

  .signature-mark {
    height: 34px;
  }

  .nav {
    display: none !important;
  }

  .nav-toggle.works-toggle,
  .gallery-home-link {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(20, 20, 20, 0.88);
    white-space: nowrap;
    cursor: pointer;
    transition: all 220ms ease;
  }

  .nav-toggle.works-toggle:hover,
  .nav-toggle.works-toggle:focus-visible,
  .gallery-home-link:hover,
  .gallery-home-link:focus-visible {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(20, 20, 20, 0.22);
    transform: translateY(-1px);
  }

  .nav-toggle.works-toggle.is-open {
    background: rgba(20, 20, 20, 0.92);
    color: #fff;
    border-color: rgba(20, 20, 20, 0.92);
  }

  .nav-toggle.works-toggle span,
  .gallery-home-link::before,
  .gallery-home-link::after {
    display: none !important;
    content: none !important;
  }

  .mobile-works-panel {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 14px;
    background: rgba(248, 247, 243, 0.98);
    border: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    z-index: 110;
  }

  .mobile-works-panel.open {
    display: flex;
  }

  .mobile-works-panel a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(20, 20, 20, 0.9);
    border-bottom: 1px solid rgba(20, 20, 20, 0.06);
  }

  .mobile-works-panel a:last-child {
    border-bottom: none;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  .hero {
    display: none !important;
  }

  #about {
    order: 1;
    border-top: 0;
    padding-top: 24px;
  }

  #works {
    order: 2;
  }

  #contact {
    order: 3;
    padding-top: 40px;
  }

  .section {
    padding: 40px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-image { order: 1; }
  .about-copy { order: 2; }

  #about .about-copy h2,
  #contact h2 {
    display: none;
  }

  .about-copy p,
  .contact-box p {
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1rem;
  }

  .about-actions {
    margin-top: 20px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 11px;
  }

  .entry-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .entry-media {
    margin-bottom: 12px;
    padding: 12px;
  }

  .entry-meta {
    align-items: center;
    text-align: center;
  }

  .entry-meta h3 {
    font-size: 2rem;
  }

  .entry-media img,
  .gallery-card img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-links a {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    text-align: center;
    font-size: 0.88rem;
    padding: 24px 0 28px;
  }

  /* galerije mobilno */
  .subhero,
  .gallery-subhero {
    display: none;
  }

  .gallery-section {
    padding-top: 20px;
  }

  /* .gallery-card img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    padding: 10px;
  } */
   .gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  padding: 10px;
}

.gallery-grid {
  gap: 64px;
}

  .lightbox {
    padding: 54px 10px 18px;
  }

  .gallery-minimal-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-minimal-figure img,
  #galleryLightboxImage {
    max-height: 70vh;
    transition: opacity 220ms ease;
  }

  .gallery-minimal-meta {
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
  }

  .gallery-meta-title,
  #galleryLightboxTitle {
    font-size: 1.2rem;
    width: 100%;
  }

  .gallery-meta-sep,
  .gallery-nav {
    display: none !important;
  }

  .gallery-tap-zone {
    display: block;
  }

  /* kritika popup mobilno */
  .kritika-overlay {
    padding: 0;
  }

  .kritika-modal {
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    max-height: 100vh;
    border: none;
    padding: 52px 18px 24px;
    overflow-y: auto;
  }

  .kritika-modal::before {
    display: none;
  }

  .kritika-content {
    max-width: 100%;
    margin: 0;
  }

  .kritika-content h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .kritika-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .kritika-quote footer {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 10px;
  }

  .kritika-close {
    top: 14px;
    right: 16px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  /* kritika page mobilno */
  .kritika-page-main {
    padding-top: 12px;
    padding-bottom: 48px;
  }

  .kritika-page-head {
    margin-bottom: 18px;
  }

  .kritika-page-body h3 {
    margin-bottom: 20px;
  }

  .kritika-page-body p {
    max-width: 100%;
  }

  /* aforizmi mobilno */
  .aforizmi-bg-texture {
    inset: -20px;
    transform: translate3d(0, 0, 0) scale(1.03);
  }

  .aforizmi-hero {
    min-height: 36vh;
    padding-top: 48px;
  }

  .aforizmi-item {
    padding: 18px 0 42px;
  }

  .aforizmi-paper {
    width: fit-content !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    padding: 40px 22px 34px !important;
  }

  .aforizmi-text {
    max-width: 24ch !important;
    font-size: clamp(18px, 4.5vw, 24px);
    line-height: 1.5;
  }

  .aforizmi-author {
    max-width: 24ch !important;
    margin-top: 18px;
  }

  .aforizmi-line {
    left: 26px;
    width: 40px;
  }

  .aforizmi-tape,
  .aforizmi-tape.left,
  .aforizmi-tape.right,
  .aforizmi-tape.center {
    width: 94px;
    height: 28px;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
  }

  .aforizmi-brush {
    width: 126px;
    height: 32px;
    right: -16px;
    bottom: 18px;
  }

  .aforizmi-paper-shadow {
    left: 8%;
    right: 8%;
    height: 20px;
    bottom: -14px;
  }
}

@media (min-width: 768px) {
  .mobile-works-panel,
  .nav-toggle.works-toggle,
  .gallery-home-link,
  .gallery-tap-zone {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--max), calc(100% - 18px));
  }

  #about {
    padding-top: 18px;
  }

  .section {
    padding: 46px 0;
  }

  .entry-meta h3 {
    font-size: 1.8rem;
  }

  .about-copy p,
  .contact-box p,
  .kritika-content p,
  .kritika-page-body p {
    font-size: 0.96rem;
  }

  .kritika-modal {
    padding: 44px 16px 22px;
  }
}

/* =========================
   KRITIKA PAGE — FINAL POLISH
========================= */

.kritika-page-main {
  padding: 24px 0 80px;
}

.kritika-section {
  padding: 72px 0;
}

.kritika-page-wrap {
  max-width: 940px;
  margin: 0 auto;
}

.kritika-page-head {
  margin-bottom: 22px;
}

.kritika-page-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #111;
}

.kritika-page-body {
  max-width: 760px;
}

.kritika-page-body h3 {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

.kritika-page-body p {
  margin: 0 0 20px;
  font-family: "Literata", serif;
  font-size: 1.06rem;
  line-height: 2;
  letter-spacing: 0.002em;
  color: #1b1b1b;
  max-width: 68ch;
}

.kritika-page-body p:last-child {
  margin-bottom: 0;
}

.kritika-page-signoff {
  margin-top: 34px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.25;
  color: #111;
}

.kritika-page .site-footer {
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

@media (max-width: 900px) {
  .kritika-section {
    padding: 56px 0;
  }

  .kritika-page-body p {
    font-size: 1rem;
    line-height: 1.82;
  }

  .kritika-page-signoff {
    font-size: 1.28rem;
  }
}

@media (max-width: 640px) {
  .kritika-page-main {
    padding: 10px 0 48px;
  }

  .kritika-page-head {
    margin-bottom: 16px;
  }

  .kritika-page-body h3 {
    margin-bottom: 18px;
  }

  .kritika-page-body p {
    max-width: 100%;
  }
}
/* =========================
   KRITIKA PAGE — CLEAN GALLERY
========================= */

.kritika-page-main {
  padding: 32px 0 90px;
}

.kritika-section {
  padding: 78px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.kritika-section:first-of-type {
  border-top: 0;
}

.kritika-page-wrap {
  max-width: 1040px;
  margin: 0 auto;
}

.kritika-page-head {
  margin-bottom: 30px;
}

.kritika-page-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #141414;
}

.kritika-page-body {
  max-width: 9000px;
  padding-left: 34px;
  border-left: 1px solid rgba(20, 20, 20, 0.14);
  background: transparent;
  box-shadow: none;
}
.kritika-page-body::before {
  display: none;
}

.kritika-page-body h3 {
  margin: 0 0 26px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.15;
  color: #171717;
}

.kritika-page-body p {
  margin: 0 0 21px;
  font-family: "Literata", serif;
  font-size: 1.18rem;
  line-height: 1.92;
  color: rgba(20, 20, 20, 0.9);
  max-width: 72ch;
}

.kritika-page-body > p:first-of-type {
  font-size: 1.08rem;
  color: #141414;
}

.kritika-page-body > p:first-of-type::first-letter {
  float: none;
  font-size: inherit;
  padding: 0;
}

.kritika-page-signoff {
  margin-top: 34px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-style: italic;
  color: #141414;
}

@media (max-width: 700px) {
  .kritika-page-main {
    padding: 18px 0 56px;
  }

  .kritika-section {
    padding: 56px 0;
  }

  .kritika-page-body {
    padding-left: 18px;
  }

  .kritika-page-body p {
    font-size: 0.98rem;
    line-height: 1.78;
  }
}

.about-copy h2::before,
.contact-box h2::before {
  content: "";
  display: block;
  width: 6rem;
  height: 1px;
  background: var(--text);
  margin-bottom: 22px;
  opacity: 0.25;
}

/* ovo ispod izbrisati ako ti se ne svidja,  */

/* =========================
   GALLERY — MANUAL LAYOUT
========================= */

.gallery-card.is-tall img {
  height: 580px;
  object-fit: cover;
}

.gallery-card.is-wide {
  grid-column: span 2;
}

.gallery-card.is-wide img {
  height: auto;
  aspect-ratio: unset;
  object-fit: contain;
}

.gallery-card.is-full {
  grid-column: 1 / -1;
}

.gallery-card.is-full img {
  height: 500px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .gallery-card.is-wide,
  .gallery-card.is-full {
    grid-column: span 1;
  }

  .gallery-card.is-tall img,
  .gallery-card.is-wide img,
  .gallery-card.is-full img {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

/* =========================
   BACK TO TOP
========================= */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(20, 20, 20, 0.14);
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 20, 20, 0.3);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* kritika page */

/* prvo slovo kritike da bude uvecano */
.kritika-page-body > p:first-of-type::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 0.8;
  float: left;
  margin-right: 8px;
  margin-top: 6px;
  color: var(--text);
}

/* =========================
   KRITIKA SIDE PROGRESS
========================= */

.kritika-progress {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}

.kritika-progress-dot {
  width: 2px;
  height: 24px;
  background: rgba(20, 20, 20, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 300ms ease;
}

.kritika-progress-dot.active {
  height: 40px;
  background: rgba(20, 20, 20, 0.7);
}

.kritika-progress-dot:hover {
  background: rgba(20, 20, 20, 0.4);
}

@media (max-width: 1024px) {
  .kritika-progress {
    display: none;
  }
}