/* ============================================================
   TOKENS
   ============================================================ */
:root{
  --bg:            #100C0B;
  --bg-alt:        #17120F;
  --bg-alt-2:      #1D1613;
  --paper:         #F1E8D9;
  --ink:           #F5EFE3;
  --ink-dim:       #ADA192;
  --ink-faint:     #675D52;

  --safelight:     #C1392B;
  --safelight-2:   #E2573F;
  --gold:          #C9A227;
  --gold-bright:   #E4C158;

  --line:          rgba(245,239,227,0.10);
  --line-strong:   rgba(245,239,227,0.22);

  --font-display:  'Fraunces', serif;
  --font-body:     'Work Sans', sans-serif;
  --font-mono:     'Space Mono', monospace;

  --container:     min(1180px, 92vw);
  --radius:        2px;

  --ease:          cubic-bezier(.22,.7,.2,1);
  --ease-spring:   cubic-bezier(.34,1.4,.4,1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; background: var(--bg); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
::selection{ background: var(--safelight); color: var(--ink); }

:focus-visible{
  outline: 1px solid var(--safelight-2);
  outline-offset: 4px;
}

h1,h2,h3{ margin:0; font-weight:400; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  background: rgba(16,12,11,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand__logo{ height: 60px; width: auto; }

.nav{ display: flex; gap: 38px; }

.nav a{
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s var(--ease);
}
.nav a::after{
  content:'';
  position:absolute; left:0; right:100%; bottom:0; height: 1px;
  background: var(--safelight-2);
  transition: right 0.35s var(--ease);
}
.nav a:hover{ color: var(--ink); }
.nav a:hover::after{ right:0; }

.nav-toggle{
  display:none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span{
  width: 22px; height: 1px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-backdrop{ display: none; }

.lang-toggle{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 12px;
  margin-left: 22px;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lang-toggle:hover{ color: var(--ink); border-color: var(--safelight-2); }

@media (max-width: 980px){
  .lang-toggle{ margin-left: 12px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.35s var(--ease);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  will-change: transform;
}

.btn--primary{
  background: var(--safelight);
  border-color: var(--safelight);
  color: var(--ink);
}
.btn--primary:hover{
  background: var(--safelight-2);
  border-color: var(--safelight-2);
}

.btn--ghost{ background: transparent; color: var(--ink-dim); }
.btn--ghost:hover{ border-color: var(--ink); color: var(--ink); }

.btn--wide{ width:100%; }

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
main > section{ padding: 140px 5vw; position: relative; }

.section-head{ max-width: var(--container); margin: 0 auto 56px; }

.section-eyebrow{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--safelight-2);
  margin: 0 0 14px;
}

.section-title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 58px);
  color: var(--ink);
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  /* Използваме dvh за перфектна височина на мобилни телефони */
  min-height: 100dvh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 5vw 60px;
  position: relative;
  /* ... останалият код надолу ... */
  background:
    radial-gradient(ellipse 60% 50% at 78% 45%, rgba(193,57,43,0.14), transparent 70%),
    var(--bg);
}

.hero__grid{
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero__eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--safelight-2);
  margin: 0 0 22px;
}

.hero__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 28px;
}
.hero__title em{
  font-style: italic;
  color: var(--safelight-2);
}

.hero__desc{
  max-width: 460px;
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-dim);
  margin: 0 0 40px;
}

.hero__cta{ display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__exif{
  display: flex;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  flex-wrap: wrap;
}

.hero__mark{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__field{
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__field span{
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--safelight-2);
  opacity: 0;
  animation: ember-rise 8s ease-in infinite;
}
.hero__field span:nth-child(1){ left: 14%; bottom: 6%;  animation-delay: 0s; }
.hero__field span:nth-child(2){ left: 82%; bottom: 10%; background: #c1392b; animation-delay: 0.7s; }
.hero__field span:nth-child(3){ left: 46%; bottom: 2%;  width: 3px; height: 3px; animation-delay: 1.4s; }
.hero__field span:nth-child(4){ left: 68%; bottom: 78%; background: #c1392b; animation-delay: 2.1s; }
.hero__field span:nth-child(5){ left: 8%;  bottom: 82%; animation-delay: 2.8s; }
.hero__field span:nth-child(6){ left: 30%; bottom: 90%; background: #c1392b; width: 5px; height: 5px; animation-delay: 3.5s; }
.hero__field span:nth-child(7){ left: 92%; bottom: 55%; animation-delay: 4.2s; }
.hero__field span:nth-child(8){ left: 4%;  bottom: 48%; background: #c1392b; width: 3px; height: 3px; animation-delay: 4.9s; }
.hero__field span:nth-child(9){ left: 55%; bottom: 12%; animation-delay: 5.6s; }
.hero__field span:nth-child(10){ left: 24%; bottom: 66%; background: #c1392b; animation-delay: 6.3s; }
.hero__field span:nth-child(11){ left: 88%; bottom: 30%; animation-delay: 1.0s; }
.hero__field span:nth-child(12){ left: 40%; bottom: 94%; background: #c1392b; width: 3px; height: 3px; animation-delay: 3.0s; }
.hero__field span:nth-child(13){ left: 16%; bottom: 26%; animation-delay: 5.0s; }
.hero__field span:nth-child(14){ left: 74%; bottom: 92%; background: #c1392b; animation-delay: 2.4s; }
.hero__field span:nth-child(15){ left: 60%; bottom: 40%; width: 5px; height: 5px; animation-delay: 6.8s; }
.hero__field span:nth-child(16){ left: 96%; bottom: 74%; background: #c1392b; animation-delay: 0.3s; }

.logo-mark{
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  animation: logo-enter 1s var(--ease-spring) forwards 0.1s;
}

@keyframes logo-enter{
  to{ opacity: 1; transform: scale(1); }
}

.logo-mark__aura{
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(226,84,61,0.5),
    rgba(122,31,38,0.32),
    rgba(90,18,22,0.22),
    rgba(178,58,46,0.4),
    rgba(226,84,61,0.5)
  );
  filter: blur(42px);
  animation: aura-move 12s ease-in-out infinite;
}

@keyframes aura-move{
  0%{ transform: rotate(0deg) scale(1); }
  50%{ transform: rotate(180deg) scale(1.2); }
  100%{ transform: rotate(360deg) scale(1); }
}

.logo-mark__pigment{
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  mix-blend-mode: screen;
}
.logo-mark__pigment--1{
  width: 55%; height: 55%;
  left: -6%; top: 10%;
  background: radial-gradient(circle, rgba(226,84,61,0.4), transparent 70%);
  animation: pigment-drift-1 9s ease-in-out infinite;
}
.logo-mark__pigment--2{
  width: 46%; height: 46%;
  right: -8%; bottom: 6%;
  background: radial-gradient(circle, rgba(122,31,38,0.45), transparent 70%);
  animation: pigment-drift-2 11s ease-in-out infinite;
}

@keyframes pigment-drift-1{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(6%,-8%) scale(1.12); }
}
@keyframes pigment-drift-2{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-8%,6%) scale(1.15); }
}

@keyframes ember-rise{
  0%{ opacity: 0; transform: translateY(0) scale(0.6); }
  15%{ opacity: 0.9; }
  75%{ opacity: 0.4; }
  100%{ opacity: 0; transform: translateY(-90px) scale(1.1); }
}

.logo-mark__frame{
  position: relative;
  display: block;
  width: 64%;
}

.logo-mark__img{
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 55%;
  animation: logo-breathe 5.5s ease-in-out infinite, logo-glow-shift 8s ease-in-out infinite;
}

@keyframes logo-breathe{
  0%,100%{ transform: scale(1) rotate(-1.4deg); }
  50%{ transform: scale(1.035) rotate(1.4deg); }
}

@keyframes logo-glow-shift{
  0%,100%{ filter: drop-shadow(0 0 26px rgba(226,84,61,0.32)); }
  50%{ filter: drop-shadow(0 0 42px rgba(178,58,46,0.55)); }
}

.logo-mark__shine{
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.9) 50%, transparent 60%);
  background-size: 260% 260%;
  -webkit-mask-image: url('pics/7.svg');
  mask-image: url('pics/7.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  pointer-events: none;
  animation: shine-sweep-loop 11s ease-in-out infinite;
}

@keyframes shine-sweep-loop{
  0%{ background-position: -130% -130%; opacity: 0; }
  4%{ opacity: 0.85; }
  22%{ background-position: 130% 130%; opacity: 0.85; }
  30%{ opacity: 0; }
  100%{ background-position: 130% 130%; opacity: 0; }
}

.hero__scroll{
  position: absolute;
  bottom: 40px;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.hero__scroll-arrow{
  display: inline-block;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(5px); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee{
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg-alt);
}

.marquee__track{
  display: inline-flex;
  white-space: nowrap;
  gap: 26px;
  align-items: center;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-dim);
}

.marquee__dot{ color: var(--safelight-2); font-size: 10px; }

@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ============================================================
   WORK — CONTACT SHEET
   ============================================================ */
.filters{ display: flex; gap: 8px; margin-top: 30px; flex-wrap: wrap; }

.filter{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter:hover{ color: var(--ink); border-color: var(--ink-dim); }
.filter.is-active{ background: var(--ink); color: var(--bg); border-color: var(--ink); }

.sheet{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work__more{
  max-width: var(--container);
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-hero{
  max-width: var(--container);
  margin: 0 auto;
  padding: 160px 5vw 60px;
  position: relative;
}

.gallery-hero__back{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin-bottom: 28px;
  transition: color 0.3s var(--ease);
}
.gallery-hero__back:hover{ color: var(--safelight-2); }

.gallery-hero__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 68px);
  color: var(--ink);
  margin: 0 0 20px;
}
.gallery-hero__title em{ font-style: italic; color: var(--safelight-2); }

.gallery-hero__desc{
  max-width: 520px;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-dim);
}

.work--gallery{ padding-top: 20px; padding-bottom: 120px; }

/* ============================================================
   MASONRY — снимките се виждат цели, без crop, без картон
   ============================================================ */
.masonry{
  max-width: var(--container);
  margin: 0 auto;
  column-count: 3;
  column-gap: 20px;
}

.shot{
  margin: 0 0 20px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  position: relative;
}

/* хоризонтален кадър (напр. видео thumbnail) — заема цялата ширина на решетката */
.shot--wide{
  column-span: all;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.shot img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}
.shot img:hover{ opacity: 0.88; }
.shot img.is-not-ready{ cursor: default; }
.shot img.is-not-ready:hover{ opacity: 1; }

.shot video{
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #000;
}

.shot__play{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.85);
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,239,227,0.6);
  border-radius: 50%;
  background: rgba(8,6,5,0.35);
  color: #fff;
  font-size: 15px;
  pointer-events: none;
  opacity: 0.9;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.shot:hover .shot__play{
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
}

.shot figcaption{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 2px 0;
}

.shot__title{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
}

.shot__exif{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
}

@media (max-width: 980px){
  .masonry{ column-count: 2; }
}
@media (max-width: 640px){
  .masonry{ column-count: 1; }
}

/* ============================================================
   LIGHTBOX — снимките се отварят на цял екран
   ============================================================ */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(8,6,5,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open{
  opacity: 1;
  visibility: visible;
}

.lightbox__frame{
  margin: 0;
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__frame{ transform: scale(1); }

.lightbox__frame img{
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

.lightbox__frame video{
  display: none;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  background: #000;
}
.lightbox__frame.is-video img{ display: none; }
.lightbox__frame.is-video video{ display: block; }

.lightbox__frame figcaption{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  text-align: center;
}

.lightbox__close{
  position: absolute;
  top: 24px; right: 28px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  z-index: 510; /* ДОБАВЕНО ТУК */
}
/* ... */
.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 510; /* ДОБАВЕНО ТУК */
}
.lightbox__nav:hover{ border-color: var(--safelight-2); color: var(--safelight-2); }
.lightbox__nav--prev{ left: 24px; }
.lightbox__nav--next{ right: 24px; }

@media (max-width: 640px){
  .lightbox{ padding: 16px; }
  .lightbox__close{ top: 14px; right: 14px; width: 38px; height: 38px; }
  .lightbox__nav{ width: 42px; height: 42px; font-size: 20px; }
  .lightbox__nav--prev{ left: 8px; }
  .lightbox__nav--next{ right: 8px; }
}

.print{
  background: var(--paper);
  padding: 12px 12px 16px;
  border-radius: 1px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.5s var(--ease-spring), opacity 0.4s var(--ease);
  position: relative;
}
.print:nth-child(2n){ --r: 0.6deg; }
.print:nth-child(3n){ --r: -0.7deg; }
.print:hover{ transform: rotate(0deg) translateY(-6px); }

.print.is-hidden{ display: none; }
.shot.is-hidden{ display: none; }

.print__media{
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #000;
}

.print__media img, .print__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.print:hover .print__media img, .print:hover .print__media video {
  transform: scale(1.05);
}

.print__play{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.8);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,239,227,0.6);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.print:hover .print__play{ opacity: 1; transform: translate(-50%,-50%) scale(1); }

.print__meta{
  padding: 16px 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #17120F;
}

.print__num{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--safelight);
}

.print__meta h3{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
}

.print__exif{
  font-family: var(--font-mono);
  font-size: 10px;
  color: #7a6f5f;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about{ background: var(--bg-alt); }

.about__grid{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.62fr 1fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.about__photo{
  position: relative;
  --r: 0deg;
}

.about__photo img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.about__statement{
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}
.about__statement strong{ color: var(--safelight-2); font-weight: 600; }

.meter{ display: flex; flex-direction: column; gap: 26px; }

.meter__row{ display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 16px; }

.meter__label{
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.meter__bar{
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.meter__fill{
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--safelight), var(--safelight-2));
  border-radius: 2px;
  transition: width 1.2s var(--ease);
}
[data-reveal].is-visible .meter__fill{ width: var(--val); }

.meter__val{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  text-align: right;
}

/* ============================================================
   PROCESS — APERTURE SCALE
   ============================================================ */
.aperture-scale{
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.aperture-scale__line{
  position: absolute;
  top: -30px;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.aperture-scale__line span{
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--safelight), var(--safelight-2));
  transition: width 1.4s var(--ease);
}
.process.is-inview .aperture-scale__line span{ width: 100%; }

.aperture-scale__f{
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--safelight-2);
  margin-bottom: 16px;
}

.aperture-scale__item h3{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}

.aperture-scale__item p{
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-dim);
  line-height: 1.7;
}

/* ============================================================
   WORDS — PINBOARD
   ============================================================ */
.words{ background: var(--bg-alt); }

.pinboard{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.pin{
  margin: 0;
  background: var(--paper);
  color: #17120F;
  padding: 30px 26px;
  border-radius: 1px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.32);
  transform: rotate(-0.8deg);
  transition: transform 0.4s var(--ease);
}
.pin--alt{ transform: rotate(0.9deg); }
.pin:hover{ transform: rotate(0deg) translateY(-4px); }

.pin p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 16px;
}

.pin cite{
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  color: #7a6f5f;
}

.review-cta{
  max-width: 560px;
  margin: 70px auto 0;
  text-align: center;
}

.review-cta__text{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 26px;
}

.review-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.review-form .btn{ align-self: center; margin-top: 4px; }

/* honeypot поле — скрито за хора, видимо за ботове */
.field--hidden{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   SOCIAL
   ============================================================ */
/* ============================================================
   SOCIAL
   ============================================================ */
.social__grid{
  max-width: 900px; /* По-тесен контейнер за по-добра подредба */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Променяме от 4 на 3 колони */
  gap: 20px;
}

.social__card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 24px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.social__card::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,36,31,0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.social__card:hover{
  border-color: var(--safelight-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(193,57,43,0.16);
}
.social__card:hover::before{ opacity: 1; }

/* Иконките */
.social__icon {
  width: 34px;
  height: 34px;
  fill: var(--safelight);
  margin-bottom: 12px;
  transition: transform 0.35s var(--ease), fill 0.3s var(--ease), filter 0.3s var(--ease);
}
.social__card:hover .social__icon {
  transform: scale(1.1) rotate(-4deg);
  fill: var(--safelight-2);
  filter: drop-shadow(0 0 10px rgba(226,87,63,0.5));
}

.social__name{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.social__handle{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  position: relative;
}
.social__arrow{
  position: absolute;
  top: 22px; right: 22px;
  font-size: 15px;
  color: var(--safelight-2);
  transition: transform 0.3s var(--ease);
}
.social__card:hover .social__arrow{ transform: translate(3px,-3px); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner{ max-width: 700px; margin: 0 auto; }

.contact__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact__title em{ font-style: italic; color: var(--safelight-2); }

.contact__sub{ color: var(--ink-dim); font-size: 16px; font-weight: 300; margin-bottom: 50px; }

.contact__form{ display: flex; flex-direction: column; gap: 22px; margin-bottom: 50px; }

.field{ display: flex; flex-direction: column; gap: 8px; }

.field label{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.field input, .field textarea{
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus{ border-color: var(--safelight-2); outline: none; }

.field__note{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--safelight-2);
  min-height: 18px;
  margin: 0;
}

.contact__meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact__meta > a{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal]{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

.print, .pin, .about__photo{ opacity: 0; transform: translateY(20px) rotate(var(--r, 0deg)); }
.print.is-visible, .pin.is-visible, .about__photo.is-visible{ opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }


/* ============================================================
   ИЗЧИСТЕНА НАВИГАЦИЯ (центрирана)
   ============================================================ */
.site-header{
  justify-content: center;
  gap: 80px;
}
.brand{ margin-right: auto; }
.brand__logo{ height: 45px; }

/* ============================================================
   RESPONSIVE (МОБИЛЕН ИЗГЛЕД)
   ============================================================ */
@media (max-width: 980px){
  .hero__mark{ display: none !important; }
  
  /* ХЕДЪР - Логото в центъра */
  .site-header { 
    justify-content: center; 
  }
  
  .brand { 
    position: relative; 
    left: auto; 
    transform: none; 
    margin: 0; 
  }
  
  /* Менюто отива плътно вляво */
  .nav-toggle { 
    position: absolute; 
    left: 5vw; 
    top: 50%;
    transform: translateY(-50%);
    display: flex; 
    z-index: 260; 
  }
  
  /* Бутонът за език отива плътно вдясно */
  .lang-toggle { 
    position: absolute; 
    right: 5vw; 
    top: 50%;
    transform: translateY(-50%);
    margin: 0; 
  }

  /* ОСТАНАЛИ СЕКЦИИ */
  .hero__grid{ grid-template-columns: 1fr; }
  .about__grid{ grid-template-columns: 1fr; }
  .about__photo{ max-width: 280px; margin: 0 auto; }
  .aperture-scale{ grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .social__grid{ grid-template-columns: repeat(2, 1fr); }

  .nav-backdrop{
    display: block; position: fixed; inset: 0;
    background: rgba(10,8,7,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); z-index: 240;
  }
  
  .nav-backdrop.is-open{ opacity: 1; pointer-events: auto; }
  
  .nav{
    position: fixed; top: 0; left: 0; height: 100vh; width: min(320px, 82vw);
    background: var(--bg-alt); border-right: 1px solid var(--line-strong);
    box-shadow: 20px 0 50px rgba(0,0,0,0.4);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 40px 44px;
    transform: translateX(-100%); transition: transform 0.45s var(--ease); z-index: 250;
  }
  
  .nav.is-open{ transform: translateX(0); }
  
  .nav a{
    font-size: 15px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
    opacity: 0; transform: translateX(-18px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  
  .nav a::after{ display: none; }
  .nav.is-open a{ opacity: 1; transform: translateX(0); }
  
  /* Анимация на хамбургер иконката */
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); background: var(--safelight-2); }
  .nav-toggle.is-open span:nth-child(2){ opacity: 0; }
  .nav-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); background: var(--safelight-2); }
  
  .session__row--horizontal { grid-template-columns: repeat(2, 1fr); }
  .session__row--vertical { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  main > section{ padding: 100px 6vw; }
  .hero{ padding-top: 110px; }
  .meter__row{ grid-template-columns: 90px 1fr 36px; }
  .social__grid{ grid-template-columns: 1fr; }
  .session__row--horizontal,
  .session__row--vertical {
    grid-template-columns: 1fr;
  }
}


.sessions { 
  max-width: var(--container); 
  margin: 0 auto; 
}

.session { 
  margin-bottom: 64px; 
}

.session.is-hidden { 
  display: none; 
}

.session__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.session__row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 16px; /* Разстояние между снимките */
}

/* Използваме flex-grow, за да накараме снимките да запълнят оставащото място на реда */
.session__row .shot { 
  margin: 0; 
  flex-grow: 1; 
  flex-shrink: 1; 
  flex-basis: 300px; /* Базова ширина (хоризонталните ще заемат повече) */
  display: flex;
  flex-direction: column;
}

/* Ако искаш портретните/вертикалните да са по-тесни от хоризонталните, им даваме по-малка базова ширина */
.session__row .shot:has(img[src*="DSC09262"]), 
.session__row .shot:has(img[src*="DSC09247"]), 
.session__row .shot:has(img[src*="DSC00533"]), 
.session__row .shot:has(img[src*="DSC01226"]),
.session__row .shot:has(img[src*="DSC00562"]),
.session__row .shot:has(img[src*="DSC00891"]),
.session__row .shot:has(img[src*="DSC00415"]),
.session__row .shot:has(img[src*="DSC00359"]),
.session__row .shot:has(img[src*="DSC00370"]),
.session__row .shot:has(img[src*="DSC08447-2"]),
.session__row .shot:has(img[src*="DSC07989"]),
.session__row .shot:has(img[src*="DSC07820"]) {
   flex-basis: 200px; 
}

.session__row .shot img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; /* Гарантира, че снимките запълват контейнера плътно */
  border-radius: var(--radius); 
  cursor: pointer; 
}

.session__row .shot figcaption { 
  width: 100%; 
  margin-top: 8px;
}

/* За видеото — на цял ред */
.session__row .shot--wide { 
  flex: 1 1 100%; 
  max-width: 760px; 
  margin: 0 auto; 
}

.session__row .shot--wide video { 
  width: 100%; 
  height: auto; 
}

.session__row .shot--wide iframe { 
  width: 100%; 
  aspect-ratio: 16 / 9; 
  border-radius: var(--radius);
  border: none;
  display: block;
}

/* Адаптивност */
@media (max-width: 980px) {
  .session__row .shot { 
    flex-basis: 40%; 
  }
}

@media (max-width: 640px) {
  .session__row .shot { 
    flex-basis: 100%; 
  }
}