/* ==========================================================================
   LightsByDesigno — the only stylesheet
   1 Fonts & design tokens   2 Base   3 Sidebar & project top bar
   4 Page headings   5 Photos & placeholders   6 Home & category grids
   7 Project pages   8 About & materials   9 Full-screen viewer
   ========================================================================== */

/* 1 ── Fonts & design tokens ─────────────────────────────────────────────────
   Self-hosted, SIL Open Font License (licences in assets/fonts).
   Playfair Display: editorial headings. Inter: navigation, text and interface. */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --bg: #ffffff;          /* page and sidebar */
  --bg-subtle: #fafaf9;   /* quiet hover backgrounds */
  --ink: #171717;         /* headings and primary text */
  --text: #404040;        /* body copy */
  --muted: #737373;       /* secondary text and labels */
  --bronze: #9c7140;      /* brand bronze from the logo: icons and accents */
  --gold-line: #c9a77a;   /* thin accent lines */
  --beige: #f2e9dc;       /* active navigation, icon discs */
  --line: #eae7e3;        /* hairline dividers */
  --placeholder: #f4f3f1; /* empty photo slots */
  --social: #2b2118;

  --sidebar: clamp(264px, 21vw, 308px);
  --pad: clamp(20px, 3.4vw, 52px);
  --gap: clamp(12px, 1.4vw, 20px);
  --topbar: 60px;
}

/* 2 ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.7 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, dl, dd { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
abbr[title] { text-decoration: none; }
[hidden] { display: none !important; }

.icon { display: inline-block; width: 1em; height: 1em; flex: none; fill: currentColor; vertical-align: middle; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; font-size: 14px;
}
.skip-link:focus { top: 12px; }

.main { min-width: 0; padding: 44px var(--pad) 80px; }

/* 3 ── Sidebar & project top bar ────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; background: var(--bg); }

.sidebar__logo { display: block; width: 100%; max-width: 224px; }
.sidebar__logo img, .topbar__logo img { width: 100%; height: auto; object-fit: contain; }

.sidebar__intro { margin-top: 22px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* Social links: solid icons on beige discs, the same style and size as the phone icon below. */
.sidebar__social { display: flex; align-items: center; gap: 10px; margin-top: 34px; }
.social {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--beige);
  font-size: 17px; color: var(--social);
  transition: background-color .25s, color .25s;
}
a.social:hover { background: var(--bronze); color: #fff; }

.sidebar__contact { display: grid; gap: 8px; margin-top: 22px; padding-bottom: 24px; }
.phone {
  display: inline-flex; align-items: center; gap: 14px; width: fit-content;
  font-size: 16px; font-weight: 600; letter-spacing: .01em; color: var(--ink);
}
.phone__icon {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--beige); font-size: 16px;
}
.email { padding-left: 50px; font-size: 13.5px; color: var(--muted); }
.phone:hover, .email:hover { color: var(--bronze); }

.sidebar__nav { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.sidebar__nav ul { display: grid; gap: 2px; }
.sidebar__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-left: -10px; padding: 10px 12px 10px 13px;
  border-left: 3px solid transparent; border-radius: 3px;
  font-size: 14.5px; color: var(--text);
  transition: background-color .2s, color .2s;
}
.sidebar__nav a:hover { color: var(--ink); }
.sidebar__nav a[aria-current] { background: var(--beige); border-left-color: var(--bronze); color: var(--ink); }
.sidebar__nav .icon { font-size: 14px; color: var(--muted); }

/* Areas We Serve: small and quiet, pushed to the bottom of the sidebar when there is room. */
.sidebar__areas { margin-top: auto; padding: 18px 0 16px; border-top: 1px solid var(--line); }
.sidebar__areas-list { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--text); }

.sidebar__tagline {
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}

.topbar { display: none; }

@media (min-width: 1024px) {
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 10; width: var(--sidebar);
    padding: 36px 24px 28px 40px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  }
  .main { margin-left: var(--sidebar); max-width: calc(var(--sidebar) + 1360px); padding: 44px var(--pad) 88px 48px; }
}

/* Phones and tablets: the same sidebar stays on screen as a compact left column (about a third of the
   width) with its own scroll, and the photos fill the rest. Sizes scale with the screen width. */
@media (max-width: 1023.98px) {
  :root {
    --sidebar: clamp(108px, 33vw, 248px);
    --side-pad: clamp(9px, 2.6vw, 22px);
    --side-text: clamp(10.5px, 2.9vw, 13.5px);
  }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 10; width: var(--sidebar);
    padding: 30px var(--side-pad) 22px; border-right: 1px solid var(--line);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  }
  .sidebar::-webkit-scrollbar { display: none; }
  .main { margin-left: var(--sidebar); padding: 20px clamp(12px, 3.4vw, 32px) 56px; }

  .sidebar__logo { max-width: 100%; }
  .sidebar__intro { margin-top: 18px; font-size: var(--side-text); line-height: 1.55; }

  .sidebar__social { gap: clamp(4px, 1.6vw, 10px); margin-top: clamp(24px, 9vw, 40px); }
  .social { width: clamp(24px, 6.4vw, 34px); height: clamp(24px, 6.4vw, 34px); font-size: clamp(12px, 3.4vw, 16px); }

  .sidebar__contact { gap: 6px; margin-top: 20px; padding-bottom: 20px; }
  .phone { flex-wrap: wrap; gap: 6px clamp(6px, 1.8vw, 14px); font-size: clamp(10.5px, 3vw, 15px); letter-spacing: 0; }
  .phone__icon { width: clamp(24px, 6.4vw, 34px); height: clamp(24px, 6.4vw, 34px); font-size: clamp(12px, 3.4vw, 16px); }
  .email { padding-left: 0; font-size: var(--side-text); overflow-wrap: anywhere; }

  .sidebar__nav { padding: 18px 0; }
  .sidebar__nav a { margin-left: 0; padding: 9px clamp(5px, 1.4vw, 12px) 9px clamp(6px, 1.6vw, 13px); font-size: clamp(11px, 3.1vw, 14.5px); line-height: 1.3; }

  .sidebar__areas { padding: 14px 0 12px; }
  .sidebar__areas .eyebrow { font-size: clamp(9px, 2.4vw, 11px); letter-spacing: .16em; }
  .sidebar__areas-list { margin-top: 6px; font-size: var(--side-text); line-height: 1.4; }
  .sidebar__tagline { padding-top: 14px; font-size: clamp(8.5px, 2.3vw, 10.5px); letter-spacing: .2em; line-height: 1.6; }

  /* Project pages: a small top bar (back, logo, call) instead of the sidebar, and full-width content. */
  .page-focus .sidebar { display: none; }
  .page-focus .main { margin-left: 0; padding: 18px var(--pad) 64px; }
  .topbar {
    position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center;
    height: var(--topbar); padding: 0 clamp(8px, 2.6vw, 24px); background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .topbar__logo { justify-self: center; width: min(170px, 46vw); }
  .topbar__back, .topbar__call { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
  .topbar__back { font-size: 22px; }
  .topbar__call .icon { box-sizing: content-box; padding: 8px; border-radius: 50%; background: var(--beige); font-size: 16px; }
  .topbar__back:hover, .topbar__call:hover { color: var(--bronze); }
}

@media (max-width: 599.98px) {
  .sidebar__nav .icon { display: none; }
}

/* The narrowest phones: the phone icon loses its disc so the number fits on one line. */
@media (max-width: 359.98px) {
  .phone { gap: 5px; }
  .phone__icon { width: auto; height: auto; background: none; color: var(--bronze); font-size: 12px; }
}

/* 4 ── Page headings ──────────────────────────────────────────────────────── */
.page-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 48px; margin-bottom: 26px;
}
.page-head__main { min-width: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::after { content: ""; flex: none; width: 56px; height: 1px; background: var(--gold-line); }
.eyebrow--plain::after { display: none; }
.back { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.back .icon { font-size: 15px; }
.back:hover { color: var(--ink); }

.display {
  margin-top: 14px;
  font: 400 clamp(2.4rem, 1.15rem + 2.6vw, 3.75rem)/1.06 var(--font-serif);
  letter-spacing: .004em; text-transform: uppercase; color: var(--ink);
}

.page-head__aside {
  max-width: 320px; margin-bottom: 6px; padding-left: 22px;
  border-left: 1px solid var(--gold-line);
  font-size: 13.5px; line-height: 1.7; color: var(--muted);
}
.page-head__aside--caps { max-width: none; font-size: 11px; line-height: 2; letter-spacing: .28em; text-transform: uppercase; }

.lead { max-width: 60ch; margin-top: 14px; font-size: 14px; color: var(--muted); }
.empty { color: var(--muted); }

.button {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px;
  border: 1px solid var(--gold-line);
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
  transition: background-color .25s, border-color .25s;
}
.button .icon { font-size: 15px; }
.button:hover { background: var(--bg-subtle); border-color: var(--bronze); }
.center { margin-top: 44px; text-align: center; }

@media (max-width: 1023.98px) {
  .page-head { gap: 12px; margin-bottom: 18px; }
  .page-head__aside { flex-basis: 100%; max-width: 46ch; margin: 0; padding: 0; border: 0; }
  .page-head__aside--caps { font-size: 11px; line-height: 2; }
  .display { margin-top: 10px; font-size: clamp(19px, calc((67vw - 30px) / 8.2), 2.75rem); }
}

@media (max-width: 767.98px) {
  .eyebrow { gap: 12px; font-size: 10px; letter-spacing: .2em; }
  .eyebrow::after { width: 32px; }
  .main > .page-head .page-head__aside { display: none; } /* phones: photos right under the heading */
}

/* 5 ── Photos & placeholders ──────────────────────────────────────────────── */
/* Every photo sits in a fixed-ratio frame, so pages never jump while loading and
   portrait, landscape and square photos all fill the frame without distortion. */
.media { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 3 / 2); background: var(--placeholder); }
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 30%); /* favour the upper part: the ceilings are the subject */
  color: transparent;
}
.media--ph::before, .media.is-missing::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  background: url("../images/logo/favicon-192.png") center / contain no-repeat; opacity: .32;
}
.media.is-missing img { display: none; }

.tile, .photo { display: block; width: 100%; }
.tile img, .photo img { transition: transform .9s cubic-bezier(.2, .6, .2, 1); }
.tile:hover img, .photo:hover img { transform: scale(1.02); }
.photo { cursor: zoom-in; }

/* Arrows drawn over photos (project stage and full-screen viewer) */
.slide-nav {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center;
  width: 52px; height: 72px; margin-top: -36px;
  font-size: 30px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45));
  opacity: .9; transition: opacity .2s;
}
.slide-nav:hover { opacity: 1; }
.slide-nav--prev { left: 4px; }
.slide-nav--next { right: 4px; }

/* 6 ── Home & category grids ─────────────────────────────────────────────── */
/* One grid for the home page and all three categories: two equal columns, one photo ratio. */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.media--grid { --ratio: 8 / 5; }

@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .media--grid { --ratio: 4 / 3; }
}

/* 7 ── Project pages ──────────────────────────────────────────────────────── */
.project-head { margin-bottom: 18px; }
.project-head__row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 32px; margin-top: 16px;
}
.project-title { font: 400 clamp(2rem, 1.25rem + 1.5vw, 2.75rem)/1.15 var(--font-serif); color: var(--ink); }
.project-location { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.project-location .icon { font-size: 18px; color: var(--bronze); }

.gallery__stage { position: relative; }
.gallery__open { display: block; width: 100%; cursor: zoom-in; }
.media--stage { --ratio: 16 / 9; width: 100%; max-height: 58vh; } /* never so tall that it pushes the project text off screen */

.gallery__thumbs {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 8px) / 6);
  gap: 8px; margin-top: 8px; padding-bottom: 2px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
@media (pointer: coarse) {
  .gallery__thumbs { scrollbar-width: none; }
  .gallery__thumbs::-webkit-scrollbar { display: none; }
}
.gallery__thumbs > li { scroll-snap-align: start; }
.gallery__thumb { position: relative; display: block; width: 100%; }
.gallery__thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.gallery__thumb[aria-current="true"]::after { box-shadow: inset 0 0 0 2px var(--bronze); }
.media--thumb { --ratio: 16 / 9; }

/* Project Overview (left) and Project Details (right), directly under the thumbnails */
.project-info {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 0;
  margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line);
}
.project-info--single { grid-template-columns: minmax(0, 1fr); }
.project-info__overview { padding-right: clamp(32px, 4vw, 64px); }
.project-info__overview p { max-width: 62ch; }
.project-info__overview p + p { margin-top: 14px; }
.project-info__details { padding-left: clamp(28px, 3vw, 48px); border-left: 1px solid var(--line); }
.project-info--single .project-info__overview { padding-right: 0; }
.project-info--single .project-info__details { max-width: 560px; padding-left: 0; border-left: 0; }

.label {
  margin-bottom: 18px;
  font: 600 11.5px/1.4 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.specs__row { padding: 12px 0; border-top: 1px solid var(--line); }
.specs__row:first-child { padding-top: 0; border-top: 0; }
.specs dt { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--text); }
.specs dd li + li { margin-top: 2px; }

@media (max-width: 767.98px) {
  .project-info { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .project-info__overview { padding-right: 0; }
  .project-info__details { padding: 0; border-left: 0; }
  .project-info__overview + .project-info__details { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
}

/* Extra project sections (e.g. the system explained, where we work), under the overview and details */
.project-section { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.project-section > p { max-width: 62ch; }
.project-section > p + p { margin-top: 14px; }
.project-section__call { margin-top: 24px; }
/* The phone number under the closing invitation: same look as the sidebar number, on every screen size. */
.project-section__call .phone { gap: 14px; font-size: 16px; letter-spacing: .01em; }
.project-section__call .phone__icon { width: 36px; height: 36px; font-size: 16px; background: var(--beige); color: var(--ink); }
.project-section .specs { max-width: 62ch; margin-top: 32px; }

.pager {
  display: flex; justify-content: space-between; gap: 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
}
.pager__link { display: grid; gap: 6px; max-width: 48%; }
.pager__link--next { justify-items: end; margin-left: auto; text-align: right; }
.pager__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.pager__title { font: 400 20px/1.3 var(--font-serif); color: var(--ink); transition: color .2s; }
.pager__link:hover .pager__title { color: var(--bronze); }

@media (max-width: 599.98px) {
  .project-info { margin-top: 32px; padding-top: 28px; }
  .gallery__stage { margin: 0 calc(-1 * var(--pad)); }
  .media--stage { --ratio: 4 / 3; }
  .gallery__thumbs { grid-auto-columns: calc((100% - 2 * 6px) / 2.6); gap: 6px; margin-top: 6px; }
  .media--thumb { --ratio: 4 / 3; }
  .pager__title { font-size: 17px; }
}

/* 8 ── About & materials ───────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px 56px; align-items: center; }
.media--about { --ratio: 3 / 2; }
.about__title { max-width: 14ch; font: 400 clamp(1.9rem, 1.2rem + 1.3vw, 2.6rem)/1.15 var(--font-serif); color: var(--ink); }
.about__text p { max-width: 46ch; margin-top: 18px; }
.about__text .button { margin-top: 28px; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; text-align: center; }
.features li > * { display: grid; justify-items: center; gap: 12px; font-size: 13px; color: var(--text); }
.features .icon { font-size: 30px; color: var(--bronze); }
.features a:hover span { color: var(--bronze); }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 56px; }
.media--about-more { --ratio: 3 / 2; }

.materials-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px var(--gap); margin-top: 6px; }
.media--material { --ratio: 4 / 3; }
.material__title { margin-top: 16px; font: 500 14.5px/1.4 var(--font-sans); color: var(--ink); }
.materials-grid p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

@media (max-width: 899.98px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .photo-grid, .materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599.98px) {
  .about { gap: 24px; }
  .about__title { font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .about__text p { margin-top: 12px; font-size: 13.5px; }
  .features { gap: 24px 12px; margin-top: 36px; }
  .features li > * { gap: 8px; font-size: 12px; }
  .features .icon { font-size: 24px; }
  .photo-grid, .materials-grid { grid-template-columns: minmax(0, 1fr); }
  .button { padding: 11px 14px; letter-spacing: .18em; }
}

/* 9 ── Full-screen viewer ─────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: #0f0e0d; color: #fff;
  grid-template-rows: auto minmax(0, 1fr) auto; overscroll-behavior: contain;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: #0f0e0d; }
.lightbox-open, .lightbox-open body { overflow: hidden; }

.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(12px, 3vw, 28px); }
.lightbox__close { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 15px; text-align: left; }
.lightbox__close .icon { font-size: 22px; }
.lightbox__count { font-size: 14px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

.lightbox__stage { --side: clamp(8px, 6vw, 88px); position: relative; min-height: 0; touch-action: pan-y; }
.lightbox__img {
  position: absolute; inset: 0 var(--side); margin: auto;
  width: auto; height: auto; max-width: calc(100% - 2 * var(--side)); max-height: 100%;
  user-select: none; -webkit-user-select: none; transition: opacity .25s;
}
.lightbox__img.is-loading { opacity: 0; }
.lightbox .slide-nav { font-size: 34px; }

.lightbox__thumbs { display: flex; gap: 8px; padding: 12px clamp(12px, 3vw, 28px) 18px; overflow-x: auto; scrollbar-width: none; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumbs > :first-child { margin-left: auto; }
.lightbox__thumbs > :last-child { margin-right: auto; }
.lightbox__thumbs button { flex: none; width: 92px; aspect-ratio: 16 / 10; opacity: .5; transition: opacity .2s; }
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px #fff; }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

@media (max-height: 520px) {
  .lightbox__bar { padding-block: 4px; }
  .lightbox__thumbs { padding-block: 6px 8px; }
  .lightbox__thumbs button { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
