/* Onur Elektrik — site stilleri
   Tipografi: Archivo (değişken; wght + wdth). Renkler: marka turkuaz/mavi + mürekkep lacivert + bakır. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b1a2b;
  --ink-2: #12263a;
  --ink-3: #1b3350;
  --paper: #f3f6f8;
  --white: #ffffff;
  --line: #d9e0e6;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #22303d;
  --muted: #64737f;
  --muted-dark: #9fb0bf;
  --teal: #00a399;
  --teal-deep: #008c84;
  --teal-soft: #d9f3f1;
  --blue: #009be2;
  --copper: #d08a4a;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 76px);
  --max: 1360px;
  --section: clamp(72px, 10vw, 128px);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* içerik sol kenarı: kapsayıcı ortalanınca oluşan boşluk + oluk */
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--ink); padding: 10px 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-weight: 600; font-size: 16px; letter-spacing: 0.005em;
  border-radius: var(--radius);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--primary { background: var(--teal); color: var(--ink); }
.btn--primary:hover { background: #17b8ad; }
.btn--ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--outline { color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn:active { transform: translateY(1px); }

/* ---------- Üst menü ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-solid { background: rgba(11, 26, 43, 0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.nav__inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo img { width: 128px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; color: var(--white); font-weight: 500; font-size: 15px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__phone { margin-left: 10px; padding: 10px 18px !important; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius); font-weight: 600; }
.nav__phone::after { display: none; }
.nav__phone:hover { border-color: var(--teal); color: var(--teal); }
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 7px; align-items: center; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0; z-index: 1; padding: 110px var(--gutter) 40px;
    flex-direction: column; align-items: flex-start; gap: 8px;
    background: var(--ink); font-size: 28px; font-weight: 600; font-stretch: 110%;
    transform: translateY(-100%); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; }
  .nav__links a::after { display: none; }
  .nav__phone { margin: 24px 0 0; font-size: 18px; font-stretch: 100%; }
  .nav.is-open { background: var(--ink); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 26, 43, 0.88) 0%, rgba(11, 26, 43, 0.55) 45%, rgba(11, 26, 43, 0.15) 100%),
    linear-gradient(0deg, rgba(11, 26, 43, 0.95) 0%, rgba(11, 26, 43, 0.2) 45%, rgba(11, 26, 43, 0.35) 100%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 140px var(--gutter) clamp(72px, 10vh, 120px);
}
.hero__title {
  max-width: 13ch;
  font-size: clamp(42px, 7.2vw, 104px);
  line-height: 0.98; letter-spacing: -0.025em;
  font-weight: 650; font-stretch: 112%;
  text-wrap: balance;
}
.hero__text {
  max-width: 56ch; margin-top: 28px;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, 0.86);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__feed {
  position: absolute; z-index: 2; left: calc(var(--edge) - 25px); bottom: 0;
  width: 2px; height: clamp(72px, 10vh, 120px);
  background: linear-gradient(180deg, transparent, var(--teal));
}
.hero__feed-dot {
  position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 163, 153, 0.25);
}

/* ---------- Besleme hattı (tek hat şeması motifi) ---------- */
.page { position: relative; }
.feeder {
  position: absolute; top: 0; bottom: 0; left: calc(var(--edge) - 25px);
  width: 2px; pointer-events: none; z-index: 3;
}
.feeder__line { position: absolute; inset: 0; background: rgba(110, 130, 150, 0.32); }
.feeder__pulse {
  position: absolute; left: -2px; top: 0; width: 6px; height: 140px; margin-top: -140px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(208, 138, 74, 0) 0%, var(--copper) 55%, var(--teal) 100%);
  box-shadow: 0 0 14px rgba(208, 138, 74, 0.55);
  opacity: 0; transition: opacity 0.4s;
}
.feeder.is-live .feeder__pulse { opacity: 1; }
.tap {
  display: inline-block; vertical-align: middle; width: 22px; height: 2px; margin: 0 14px 0 -36px;
  background: var(--teal); position: relative; top: -2px;
}
.tap::after {
  content: ""; position: absolute; right: -4px; top: -4px; width: 8px; height: 8px;
  border: 2px solid var(--teal); border-radius: 50%; background: var(--paper);
}
.section__title--light .tap::after { background: var(--ink); }
@media (max-width: 1099px) {
  .feeder, .hero__feed, .tap { display: none; }
}
@media (min-width: 1100px) and (max-width: 1500px) {
  :root { --gutter: clamp(64px, 6vw, 90px); }
}

/* ---------- Bölümler ---------- */
.section { padding: var(--section) 0; }
.section__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section__title {
  font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.02em;
  font-weight: 650; font-stretch: 110%; color: var(--ink); text-wrap: balance;
}
.section__title--light { color: var(--white); }
.section__lead { max-width: 54ch; margin-top: 20px; font-size: 18px; color: var(--muted); }
.section__lead--light { color: var(--muted-dark); }

/* ---------- Hizmetler ---------- */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.services__intro { position: sticky; top: 100px; }
.services__figure { margin-top: 40px; max-width: 380px; }
.services__figure img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.services__figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.schedule { border-top: 2px solid var(--ink); background: var(--white); }
.schedule__head, .schedule__row {
  display: grid; grid-template-columns: 52px minmax(0, 1.1fr) minmax(0, 1.4fr) 130px;
  gap: 18px; align-items: baseline; padding: 18px 20px;
}
.schedule__head { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); padding-top: 14px; padding-bottom: 12px; }
.schedule__row { border-bottom: 1px solid var(--line); position: relative; transition: background-color 0.2s; }
.schedule__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); transform: scaleY(0); transition: transform 0.25s var(--ease); }
.schedule__row:hover { background: #fbfdfd; }
.schedule__row:hover::before { transform: scaleY(1); }
.schedule__no { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--muted); font-stretch: 90%; }
.schedule__name { font-weight: 600; color: var(--ink); font-size: 17px; }
.schedule__scope { color: var(--muted); font-size: 15px; line-height: 1.5; }
.schedule__type { font-size: 13px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.schedule__type i { width: 8px; height: 8px; border-radius: 2px; background: var(--teal); flex: none; }
.schedule__row[data-type="zayif-akim"] .schedule__type i { background: var(--blue); }
.schedule__row[data-type="aydinlatma"] .schedule__type i { background: #f2c14e; }
.schedule__row[data-type="otomasyon"] .schedule__type i { background: #7c6bd6; }
.schedule__row[data-type="bakim"] .schedule__type i { background: var(--copper); }

@media (max-width: 980px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .services__figure { display: none; }
  .schedule__head { display: none; }
  .schedule__row { grid-template-columns: 44px 1fr; grid-template-areas: "no name" "no scope" "no type"; gap: 4px 14px; padding: 16px 14px; }
  .schedule__no { grid-area: no; }
  .schedule__name { grid-area: name; }
  .schedule__scope { grid-area: scope; }
  .schedule__type { grid-area: type; margin-top: 6px; }
}

/* ---------- Projeler ---------- */
.projects { background: var(--white); border-top: 1px solid var(--line); }
.projects__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text); background: var(--white);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.chip small { font-size: 12px; color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.is-active small { color: var(--muted-dark); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.tile { margin: 0; }
.tile--wide { grid-column: span 2; grid-row: span 2; position: relative; aspect-ratio: 4 / 3; }
.tile--wide.tile--right { grid-column: 2 / span 2; }
.tile--wide .tile__btn { position: absolute; inset: 0; }
.tile--wide .tile__btn img { width: 100%; height: 100%; aspect-ratio: auto; }
.tile.is-hidden, .tile.is-filtered { display: none; }
.tile__btn {
  position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius);
  background: var(--ink-2); text-align: left; color: var(--white);
}
.tile__btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.4s; }
.tile__btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 26, 43, 0.9) 0%, rgba(11, 26, 43, 0.35) 40%, rgba(11, 26, 43, 0) 65%);
}
.tile__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px; display: grid; gap: 2px; }
.tile__cat { font-size: 13px; color: var(--teal); font-weight: 600; }
.tile__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; font-stretch: 105%; }
.tile--wide .tile__title { font-size: 26px; }
.tile__count { font-size: 13px; color: var(--muted-dark); }
.tile__btn:hover img { transform: scale(1.04); }
.tile__btn:focus-visible { outline-offset: 2px; }
.projects__more { display: flex; justify-content: center; margin-top: 40px; }
.projects__empty { padding: 48px 0; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--wide.tile--right { grid-column: span 2; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .tile--wide, .tile--wide.tile--right { grid-column: auto; grid-row: auto; }
  .tile--wide .tile__title { font-size: 20px; }
}

/* ---------- Bant ---------- */
.band { position: relative; min-height: 420px; display: flex; align-items: center; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.85; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 26, 43, 0.85), rgba(11, 26, 43, 0.25)); }
.band__inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 80px var(--gutter); }
.band__title { font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 650; font-stretch: 110%; max-width: 16ch; }
.band__text { max-width: 48ch; margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.82); }

/* ---------- Hakkımızda ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__p { margin-top: 22px; font-size: 18px; max-width: 60ch; }
.about__p:first-of-type { margin-top: 28px; }
.about__maint { margin-top: 36px; padding: 26px 28px; background: var(--white); border-left: 3px solid var(--copper); max-width: 60ch; }
.about__maint h3 { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.about__maint p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.about__figure img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about__figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 480px; }
}

/* ---------- İletişim ---------- */
.contact { background: var(--ink); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__list { margin-top: 36px; display: grid; gap: 18px; }
.contact__list div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.contact__list dt { color: var(--muted-dark); font-size: 15px; }
.contact__list dd { font-size: 17px; }
.contact__list a:hover { color: var(--teal); }
.map { margin-top: 32px; aspect-ratio: 16 / 9; background: var(--ink-2); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__load { padding: 12px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--white); font-weight: 500; }
.map__load:hover { border-color: var(--teal); color: var(--teal); }

.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--ink-2); border-radius: var(--radius); border: 1px solid var(--line-dark); }
.hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--muted-dark); }
.field input, .field textarea {
  width: 100%; padding: 14px 14px; font: inherit; color: var(--white);
  background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--radius);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 130px; }
.form__submit { justify-self: start; min-width: 200px; }
.form__status { min-height: 1.4em; font-size: 15px; color: var(--muted-dark); }
.form__status.is-ok { color: #4fd1c5; }
.form__status.is-err { color: #ff9b7a; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Alt bilgi ---------- */
.footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__inner img { width: 110px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: 14px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: 1fr auto;
  background: rgba(8, 18, 30, 0.97); color: var(--white);
}
.lightbox[hidden] { display: none; }
.lightbox__close { position: absolute; top: 14px; right: 18px; z-index: 2; width: 48px; height: 48px; font-size: 34px; line-height: 1; color: var(--white); border-radius: 50%; }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.1); }
.lightbox__stage { position: relative; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; min-height: 0; padding: 20px 0; }
.lightbox__figure { min-height: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; border-radius: var(--radius); }
.lightbox__nav { width: 64px; height: 100%; position: relative; }
.lightbox__nav::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); opacity: 0.8;
}
.lightbox__nav--next::before { transform: rotate(-135deg); }
.lightbox__nav:hover::before { opacity: 1; border-color: var(--teal); }
.lightbox__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; padding: 16px var(--gutter) 24px; border-top: 1px solid var(--line-dark); }
.lightbox__cat { font-size: 13px; color: var(--teal); font-weight: 600; }
.lightbox__info h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; font-stretch: 105%; margin-top: 2px; }
.lightbox__info p { font-size: 14px; color: var(--muted-dark); margin-top: 6px; max-width: 60ch; }
.lightbox__counter { display: block; margin-top: 8px; font-size: 13px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.lightbox__thumbs button { flex: none; width: 84px; height: 60px; border-radius: 3px; overflow: hidden; opacity: 0.5; transition: opacity 0.2s; outline-offset: -2px; }
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button.is-active, .lightbox__thumbs button:hover { opacity: 1; }
.lightbox__thumbs button.is-active { box-shadow: inset 0 0 0 2px var(--teal); }
body.lb-open { overflow: hidden; }
@media (max-width: 760px) {
  .lightbox__stage { grid-template-columns: 44px 1fr 44px; }
  .lightbox__nav { width: 44px; }
  .lightbox__figure img { max-height: calc(100vh - 260px); }
  .lightbox__panel { grid-template-columns: 1fr; gap: 14px; }
  .lightbox__thumbs button { width: 64px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
