/* =========================================================
   STILYANA STANKOVA PHOTOGRAPHY - „ОБЕКТИВИ И ФОТОАПАРАТИ“
   Допълнителен слой към style.css
   ---------------------------------------------------------
   1. Рафтът с обективи (хоризонтален скрол)
   2. Симулатор на обектив (бленда + фокусно разстояние)
   3. Филмова лента
   4. Визьор върху кадрите в галерията
   5. Дребни камерни детайли
   6. Респонсив
   ========================================================= */

/* ---------------------------------------------------------
   1. РАФТЪТ С ОБЕКТИВИ
   --------------------------------------------------------- */
.optics {
  position: relative;
  background:
    radial-gradient(60vw 60vw at 82% 12%, rgba(197, 225, 5, .05), transparent 60%),
    rgba(18, 21, 16, .72);
  border-block: 1px solid var(--line);
}

.optics__pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(.8rem, 2vh, 1.6rem);
  overflow: hidden;
  padding-block: clamp(4.2rem, 9vh, 5.6rem) clamp(1.5rem, 4vh, 2.6rem);
}

/* фина техническа мрежа за фон */
.optics__pin::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 78%);
}
.optics__pin > * { position: relative; z-index: 1; }

.optics__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.optics__head h2 { font-size: clamp(1.6rem, 4vw, 2.9rem); }
.optics__head .eyebrow { margin-bottom: .55rem; }
.optics__hint {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.optics__hint i {
  width: 30px;
  height: 1px;
  background: var(--acid);
  position: relative;
}
.optics__hint i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border: 3.5px solid transparent;
  border-left-color: var(--acid);
}

.optics__viewport { overflow: hidden; }
.optics__track {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.8rem);
  padding-inline: var(--gutter);
  width: max-content;
  /* височината се води от екрана, за да не се реже нищо */
  height: clamp(340px, 62svh, 540px);
  will-change: transform;
}

/* ---- Картата на един обектив ---- */
.lens-card {
  --w: clamp(266px, 30vw, 400px);
  width: var(--w);
  height: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(44, 49, 40, .78), rgba(20, 23, 18, .9));
  border: 1px solid var(--line);
  transition: border-color .5s var(--ease), transform .6s var(--ease);
}
.lens-card:hover { border-color: rgba(197, 225, 5, .34); }

.lens-card__top {
  position: relative;
  flex: 1 1 auto;
  min-height: 110px;
  overflow: hidden;
  background: #0d0f0b;
}
.lens-card__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.3) brightness(.62) contrast(1.05);
  transform: scale(1.04);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}
.lens-card:hover .lens-card__shot {
  filter: grayscale(0) brightness(.72) contrast(1.02);
  transform: scale(1.09);
}
.lens-card__top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 11, .25) 0%, rgba(13, 15, 11, .1) 40%, rgba(13, 15, 11, .92) 100%);
}

/* голямото число с фокусното разстояние */
.lens-card__mm {
  position: absolute;
  left: .85rem;
  top: .5rem;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: .85;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .34);
  letter-spacing: -.02em;
  pointer-events: none;
}
.lens-card:hover .lens-card__mm {
  -webkit-text-stroke-color: rgba(197, 225, 5, .6);
}
.lens-card__mm small {
  font-size: .28em;
  -webkit-text-stroke: 0;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .18em;
  margin-left: .25em;
  vertical-align: super;
}

/* самият обектив */
.lens-card__lens {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 7%;
  height: 56%;
  width: auto;
  max-width: 104%;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .75));
  transition: transform .8s var(--ease);
}
.lens-card:hover .lens-card__lens { transform: translateX(-50%) translateY(-5px); }
.lens-card__lens .lens-ring { transform-box: fill-box; transform-origin: center; }

.lens-card__info {
  padding: clamp(.85rem, 1.8vw, 1.3rem) clamp(1rem, 2vw, 1.4rem) clamp(1rem, 2vw, 1.4rem);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 0 0 auto;
}

/* номер на обектива в ъгъла на кадъра */
.lens-card__idx {
  position: absolute;
  right: .8rem;
  top: .75rem;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .55);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}
.lens-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
}
.lens-card__title h3 {
  font-size: var(--step-1);
  letter-spacing: .01em;
}
.lens-card__f {
  font-family: var(--ff-display);
  font-size: var(--step--1);
  letter-spacing: .12em;
  color: var(--acid);
  border: 1px solid rgba(197, 225, 5, .38);
  padding: .12rem .5rem;
  white-space: nowrap;
}
.lens-card__desc {
  color: var(--muted);
  font-size: var(--step--1);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.lens-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-top: auto;
  padding-top: .6rem;
  border-top: 1px solid var(--line);
}
.lens-card__specs {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #d3d8c6;
  white-space: nowrap;
  overflow: hidden;
}
.lens-card__specs i { color: rgba(255, 255, 255, .28); font-style: normal; }
.lens-card__specs b { font-weight: 400; }
.lens-card__link {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--acid);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.lens-card__link::after {
  content: "↗";
  transition: transform .4s var(--ease);
}
.lens-card__link:hover::after { transform: translate(3px, -3px); }

/* лента с напредъка */
.optics__bar {
  margin-inline: var(--gutter);
  height: 2px;
  background: rgba(255, 255, 255, .1);
  position: relative;
}
.optics__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--acid);
  transform-origin: left;
  transform: scaleX(0);
}
.optics__spacer { height: 260vh; }

/* ---------------------------------------------------------
   2. СИМУЛАТОР НА ОБЕКТИВ
   --------------------------------------------------------- */
.sim {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
}
.sim__unit {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(39, 44, 37, .6), rgba(17, 20, 15, .8));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sim__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0a0b08;
}
.sim__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* разфокусираният слой */
.sim__img--bg {
  filter: blur(var(--blur, 0px)) brightness(var(--bri, 1));
  transform: scale(1.08);
}
/* острият слой - видим само там, където е фокусът */
.sim__img--fg {
  filter: brightness(var(--bri, 1));
  transform: scale(1.08);
  -webkit-mask-image: radial-gradient(ellipse var(--mw, 30%) var(--mh, 46%) at var(--mx, 50%) var(--my, 50%),
      #000 var(--m1, 40%), transparent var(--m2, 100%));
  mask-image: radial-gradient(ellipse var(--mw, 30%) var(--mh, 46%) at var(--mx, 50%) var(--my, 50%),
      #000 var(--m1, 40%), transparent var(--m2, 100%));
}
/* зумиращият слой (фокусно разстояние) */
.sim__img--zoom {
  transform: scale(var(--zoom, 1));
  transform-origin: var(--zx, 50%) var(--zy, 50%);
  transition: transform .12s linear;
}

/* визьорна рамка върху кадъра */
.sim__hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.sim__hud::before {
  content: "";
  position: absolute;
  inset: 14px;
  background:
    linear-gradient(var(--acid), var(--acid)) left    top    / 16px 1px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    top    / 1px 16px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   top    / 16px 1px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   top    / 1px 16px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    bottom / 16px 1px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    bottom / 1px 16px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   bottom / 16px 1px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   bottom / 1px 16px no-repeat;
  opacity: .8;
}
/* правило на третините */
.sim__hud::after {
  content: "";
  position: absolute;
  inset: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) 33.33% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) 66.66% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) 0 33.33% / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) 0 66.66% / 100% 1px no-repeat;
  opacity: .5;
}

/* фокусна скоба, която следва обекта */
.sim__af {
  position: absolute;
  z-index: 4;
  width: 22%;
  aspect-ratio: 1;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  translate: -50% -50%;
  pointer-events: none;
  background:
    linear-gradient(var(--acid), var(--acid)) left    top    / 12px 1.5px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    top    / 1.5px 12px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   top    / 12px 1.5px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   top    / 1.5px 12px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    bottom / 12px 1.5px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    bottom / 1.5px 12px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   bottom / 12px 1.5px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   bottom / 1.5px 12px no-repeat;
  animation: afPulse 2.4s var(--ease) infinite;
}
@keyframes afPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.94); }
}

/* горна лента с „екзиф“ данни */
.sim__exif {
  position: absolute;
  z-index: 5;
  left: 14px;
  right: 14px;
  top: 22px;
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  font-family: var(--ff-display);
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 5px rgba(0, 0, 0, .9);
  pointer-events: none;
}
.sim__exif b { color: var(--acid); font-weight: 500; }
.sim__rec {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.sim__rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4b3e;
  animation: recBlink 1.6s steps(1) infinite;
}
@keyframes recBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .18; } }

/* диаграма на ъгъла на видимост */
.sim__fov {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 18px;
  width: clamp(76px, 15%, 108px);
  opacity: .92;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .8));
}

/* бленда - графика */
.sim__iris {
  position: absolute;
  z-index: 5;
  left: 18px;
  bottom: 18px;
  width: clamp(72px, 14%, 104px);
  pointer-events: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .85));
}

/* контролната част под кадъра */
.sim__ctrl { padding: clamp(1rem, 2.2vw, 1.5rem); }
.sim__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .2rem;
}
.sim__label {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.sim__val {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1;
  color: var(--acid);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.sim__val small { font-size: .45em; color: var(--muted); letter-spacing: .12em; margin-left: .2em; }
.sim__note {
  color: var(--muted);
  font-size: var(--step--1);
  line-height: 1.55;
  margin: .55rem 0 0;
  min-height: 3.1em;
}

/* плъзгач с камерен вид */
.sim__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 34px;
  margin: .9rem 0 .2rem;
  cursor: grab;
  /* релсата се рисува върху самия input - най-съвместимият вариант */
  background:
    linear-gradient(90deg, var(--acid) 0 var(--fill, 0%), rgba(255, 255, 255, .14) var(--fill, 0%) 100%)
    center / 100% 4px no-repeat;
}
.sim__slider:active { cursor: grabbing; }
.sim__slider::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.sim__slider::-moz-range-track { height: 4px; background: transparent; }
.sim__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -11px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #0d0f0b 0 26%, transparent 27%),
    repeating-conic-gradient(from 0deg, #4a5140 0deg 7deg, #2c3126 7deg 14deg);
  border: 1.5px solid var(--acid);
  box-shadow: 0 0 0 4px rgba(197, 225, 5, .12), 0 4px 12px rgba(0, 0, 0, .6);
  transition: box-shadow .3s var(--ease);
}
.sim__slider:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(197, 225, 5, .16), 0 4px 12px rgba(0, 0, 0, .6); }
.sim__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #4a5140 0deg 7deg, #2c3126 7deg 14deg);
  border: 1.5px solid var(--acid);
  box-shadow: 0 0 0 4px rgba(197, 225, 5, .12);
}

/* скала под плъзгача */
.sim__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-display);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .3);
}
.sim__scale b {
  font-weight: 400;
  cursor: pointer;
  padding: .2rem .1rem;
  transition: color .3s var(--ease);
}
.sim__scale b:hover { color: var(--acid); }
.sim__scale b.is-on { color: var(--acid); }

/* ---------------------------------------------------------
   3. ФИЛМОВА ЛЕНТА
   --------------------------------------------------------- */
.filmstrip {
  position: relative;
  overflow: hidden;
  background: #0b0c09;
  border-block: 1px solid rgba(255, 255, 255, .07);
  padding-block: 17px;
  --hole: 11px;
}
/* перфорации */
.filmstrip::before,
.filmstrip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--hole);
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
      transparent 0 8px,
      rgba(226, 230, 214, .8) 8px 22px,
      transparent 22px 30px);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  opacity: .5;
}
.filmstrip::before { top: 3px; }
.filmstrip::after  { bottom: 3px; }

.filmstrip__track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: fsRoll 72s linear infinite;
}
.filmstrip:hover .filmstrip__track { animation-play-state: paused; }
@keyframes fsRoll { to { transform: translate3d(-50%, 0, 0); } }

.filmstrip__frame {
  position: relative;
  width: clamp(120px, 15vw, 190px);
  aspect-ratio: 3 / 2;
  flex: 0 0 auto;
  overflow: hidden;
  background: #15170f;
  outline: 1px solid rgba(255, 255, 255, .08);
  outline-offset: -1px;
}
.filmstrip__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.18) saturate(.75) brightness(.72) contrast(1.08);
  transition: filter .55s var(--ease), transform .7s var(--ease);
}
.filmstrip__frame:hover img {
  filter: none;
  transform: scale(1.06);
}
.filmstrip__frame::after {
  content: attr(data-n);
  position: absolute;
  left: 4px;
  bottom: 3px;
  font-family: var(--ff-display);
  font-size: 8.5px;
  letter-spacing: .14em;
  color: rgba(255, 170, 60, .75);
  text-shadow: 0 1px 3px #000;
}
.filmstrip__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55));
  pointer-events: none;
}

/* ---------------------------------------------------------
   4. ВИЗЬОР ВЪРХУ КАДРИТЕ В ГАЛЕРИЯТА
   --------------------------------------------------------- */
.gal__item::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  background:
    /* ъглови скоби */
    linear-gradient(var(--acid), var(--acid)) left    top    / 15px 1.5px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    top    / 1.5px 15px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   top    / 15px 1.5px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   top    / 1.5px 15px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    bottom / 15px 1.5px no-repeat,
    linear-gradient(var(--acid), var(--acid)) left    bottom / 1.5px 15px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   bottom / 15px 1.5px no-repeat,
    linear-gradient(var(--acid), var(--acid)) right   bottom / 1.5px 15px no-repeat,
    /* правило на третините */
    linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)) 33.33% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)) 66.66% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)) 0 33.33% / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)) 0 66.66% / 100% 1px no-repeat;
}
.gal__item:hover::before,
.gal__item:focus-visible::before { opacity: 1; transform: none; }

/* централна фокусна точка + надпис */
.gal__item::after {
  content: "◉ AF";
  position: absolute;
  z-index: 3;
  right: 16px;
  top: 15px;
  font-family: var(--ff-display);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--acid);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .45s var(--ease) .08s, transform .45s var(--ease) .08s;
  pointer-events: none;
}
.gal__item:hover::after,
.gal__item:focus-visible::after { opacity: 1; transform: none; }

@media (hover: none) {
  .gal__item::before, .gal__item::after { display: none; }
}

/* ---------------------------------------------------------
   5. ДРЕБНИ КАМЕРНИ ДЕТАЙЛИ
   --------------------------------------------------------- */
/* списък „какво да ми напишеш“ до формата за контакт */
.checklist {
  margin-top: 1.4rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  background: rgba(39, 44, 37, .42);
}
.checklist h3 {
  font-size: var(--step-1);
  margin-bottom: .2rem;
}
.checklist .ticks { margin-top: 1.1rem; }
.checklist .ticks li { font-size: var(--step--1); }
.checklist .btn-row { margin-top: 1.5rem; }

/* лента с техническите данни над симулатора */
.sim-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  align-items: center;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}
.sim-strip b { color: var(--acid); font-weight: 400; }

/* ---------------------------------------------------------
   6. РЕСПОНСИВ
   --------------------------------------------------------- */
@media (max-width: 980px) {
  .sim { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* на телефон рафтът става обикновен хоризонтален скрол */
  .optics__pin {
    position: static;
    min-height: 0;
    padding-block: clamp(3.5rem, 9vw, 5rem);
  }
  .optics__spacer { display: none; }
  .optics__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .optics__viewport::-webkit-scrollbar { display: none; }
  .optics__track {
    transform: none !important;
    height: auto;
    padding-right: calc(var(--gutter) + 40px);
  }
  .lens-card { scroll-snap-align: center; --w: min(78vw, 330px); height: auto; }
  .lens-card__top { aspect-ratio: 16 / 10; flex: 0 0 auto; }
  .optics__bar { display: none; }
  .sim__fov, .sim__iris { width: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  .optics__pin { position: static; min-height: 0; }
  .optics__spacer { display: none; }
  .optics__viewport { overflow-x: auto; }
  .optics__track { transform: none !important; height: auto; }
  .lens-card { height: auto; }
  .lens-card__top { aspect-ratio: 16 / 10; flex: 0 0 auto; }
  .filmstrip__track { animation: none; }
  .sim__af { animation: none; }
  .sim__rec::before { animation: none; }
}
