/* ============================================================
   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; }

/* ============================================================
   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; }

.sheet--gallery{
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px){
  .sheet--gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .sheet--gallery{ grid-template-columns: 1fr; }
}

.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; }

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

.print__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.9) contrast(1.02);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.print:hover .print__media img{
  transform: scale(1.05);
  filter: sepia(0.06) saturate(1.02);
}

.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;
  background: var(--paper);
  padding: 10px 10px 34px;
  border-radius: 1px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.35);
  --r: -2deg;
  transition: transform 0.4s var(--ease);
}
.about__photo:hover{ transform: rotate(0deg); }

.about__photo img{
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: sepia(0.12) saturate(0.95) contrast(1.02);
}

.about__photo span{
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #7a6f5f;
}

.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){
  /* 1. Скрива голямото лого в първия блок на телефон */
  .hero__mark{ display: none !important; }
  
  /* 2. Настройки за навигацията на телефон */
  .site-header {
    justify-content: flex-end; /* Избутва бутона за менюто плътно вдясно */
  }
  
  .brand {
    position: absolute; /* Освобождава логото от потока */
    left: 50%; /* Измества го на 50% от екрана */
    transform: translateX(-50%); /* Центрира го абсолютно точно */
    margin-right: 0;
  }
  
  /* Останалите неща от мобилния изглед остават същите */
  .hero__grid{ grid-template-columns: 1fr; }
  .about__grid{ grid-template-columns: 1fr; }
  .about__photo{ max-width: 280px; margin: 0 auto; }
  /* ... надолу кода продължава без промяна ... */
  .about__grid{ grid-template-columns: 1fr; }
  .about__photo{ max-width: 280px; margin: 0 auto; }
  .sheet{ grid-template-columns: repeat(2, 1fr); }
  .aperture-scale{ grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .pinboard{ grid-template-columns: 1fr; }
  .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; right: 0; height: 100vh; width: min(320px, 82vw);
    background: var(--bg-alt);
    border-left: 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-family: var(--font-body);
    font-style: normal;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 0;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.4s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease);
  }
  .nav a::after{ display: none; }
  .nav a:hover{ color: var(--safelight-2); }

  .nav.is-open a{ opacity: 1; transform: translateX(0); }
  .nav.is-open a:nth-child(1){ transition-delay: 0.06s; }
  .nav.is-open a:nth-child(2){ transition-delay: 0.11s; }
  .nav.is-open a:nth-child(3){ transition-delay: 0.16s; }
  .nav.is-open a:nth-child(4){ transition-delay: 0.21s; }
  .nav.is-open a:nth-child(5){ transition-delay: 0.26s; }
  .nav.is-open a:nth-child(6){ transition-delay: 0.31s; }

  .nav-toggle{ display: flex; position: relative; z-index: 260; }
  .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); }
}
.social__grid{ grid-template-columns: repeat(3, 1fr); gap: 12px; }

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