@charset "UTF-8";

:root {
  --carbon: #101110;
  --carbon-soft: #181a18;
  --carbon-mid: #242723;
  --ivory: #f1eadb;
  --ivory-dim: #c9c0ae;
  --paper: #e7decd;
  --cobalt: #3460de;
  --coral: #f16f5f;
  --sulfur: #ead44f;
  --oxidized: #6e806c;
  --line: rgba(241, 234, 219, 0.22);
  --line-dark: rgba(16, 17, 16, 0.22);
  --stage-width: min(92vw, 1680px);
  --mono: Bahnschrift, "Yu Gothic UI", "Noto Sans KR", "Arial Narrow", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { background: var(--carbon); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(52, 96, 222, 0.12), transparent 30rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%) 0 0 / 9px 9px,
    var(--carbon);
  color: var(--ivory);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

button, select { font: inherit; }
button { color: inherit; }
button:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--sulfur); outline-offset: 3px; }

.site-shell { width: min(100%, 1920px); margin: 0 auto; padding: 28px 44px 20px; }

.masthead, .footer-bar, .control-deck, .stage-controls, .mode-nav, .masthead__brand, .masthead__status {
  display: flex;
  align-items: center;
}

.masthead {
  justify-content: space-between;
  min-height: 36px;
  border-bottom: 1px solid var(--line);
  color: var(--ivory-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masthead__brand { gap: 12px; }
.brand-mark { color: var(--ivory); font-size: 16px; letter-spacing: 0.06em; }
.brand-rule { width: 32px; height: 1px; background: var(--coral); }
.masthead__status { gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sulfur); box-shadow: 0 0 0 3px rgba(234, 212, 79, 0.12); }
.status-separator { color: var(--line); }

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
  gap: clamp(36px, 9vw, 160px);
  align-items: end;
  padding: clamp(48px, 8vh, 120px) 0 50px;
}

.eyebrow, .hero-intro__note, .measure__line, .measure__stamp, .stage-counter, .filter-control, .stage-hint, .footer-bar, .slide-kicker, .slide-number, .slide-meta, .frame-label, .thumb-meta, .source-tag, .qa-tag, .lightbox__head, .lightbox__foot {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 18px; color: var(--cobalt); }
.hero-intro h1 { margin: 0; color: var(--ivory); font-size: clamp(76px, 11vw, 172px); font-weight: 800; letter-spacing: -0.08em; line-height: 0.78; }
.hero-intro h1 em { color: var(--coral); font-family: var(--serif); font-size: 0.95em; font-weight: 400; letter-spacing: -0.12em; }
.hero-intro__dek { max-width: 560px; margin: 34px 0 0; color: var(--ivory); font-family: var(--serif); font-size: clamp(20px, 2.2vw, 34px); letter-spacing: -0.025em; line-height: 1.06; }
.hero-intro__note { max-width: 450px; margin: 16px 0 0; color: var(--ivory-dim); letter-spacing: 0.04em; text-transform: none; }
.hero-intro__measure { align-self: stretch; display: flex; flex-direction: column; justify-content: end; gap: 0; border-left: 1px solid var(--line); padding-left: 24px; }
.measure__line { display: grid; grid-template-columns: 100px 1fr; gap: 10px; border-top: 1px solid var(--line); padding: 12px 0; color: var(--ivory-dim); }
.measure__line strong { color: var(--ivory); font-weight: 700; }
.measure__line b { color: var(--sulfur); font-size: 16px; }
.measure__stamp { align-self: end; margin-top: 25px; padding: 13px 18px; border: 1px solid var(--coral); color: var(--coral); text-align: right; transform: rotate(-3deg); }

.mode-nav { flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; }
.mode-button, .view-button, .clear-filters, .nav-button, .lightbox__close { appearance: none; cursor: pointer; border: 0; background: transparent; }
.mode-button { padding: 10px 14px; color: var(--ivory-dim); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: color 160ms ease, background 160ms ease; }
.mode-button span { margin-right: 8px; color: var(--oxidized); font-size: 10px; }
.mode-button:hover, .mode-button.is-active { color: var(--carbon); background: var(--ivory); }
.mode-button.is-active span { color: var(--coral); }

.control-deck { justify-content: space-between; gap: 20px; padding: 19px 0 18px; }
.control-deck__left { display: flex; align-items: center; gap: 20px; }
.stage-counter { display: flex; align-items: baseline; gap: 13px; white-space: nowrap; color: var(--ivory-dim); }
.stage-counter b { color: var(--ivory); font-size: 14px; letter-spacing: 0.05em; }
.view-toggle { display: flex; border: 1px solid var(--line); }
.view-button { min-width: 58px; padding: 8px 10px; color: var(--ivory-dim); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; }
.view-button + .view-button { border-left: 1px solid var(--line); }
.view-button:hover, .view-button.is-active { color: var(--carbon); background: var(--sulfur); }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 8px; }
.filter-control { display: flex; align-items: center; gap: 7px; color: var(--ivory-dim); }
.filter-control select { max-width: 154px; min-width: 90px; padding: 7px 24px 7px 8px; border: 1px solid var(--line); border-radius: 0; color: var(--ivory); background: var(--carbon-soft); font-size: 10px; letter-spacing: 0.03em; text-overflow: ellipsis; }
.filter-control select option { color: var(--ivory); background: var(--carbon); }
.clear-filters { padding: 8px 0 8px 7px; color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.clear-filters:hover { color: var(--sulfur); }

.stage-region { width: var(--stage-width); max-width: 100%; margin: 0 auto; }
.stage-shell { position: relative; padding: 8px; background: var(--ivory); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26); }
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; color: var(--ivory); background: var(--carbon-soft); isolation: isolate; }
.stage::before { position: absolute; z-index: 4; inset: 0; pointer-events: none; content: ""; opacity: 0.14; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 100% 50%, 50% 100%; mix-blend-mode: soft-light; }
.stage-content { position: absolute; inset: 0; z-index: 1; min-height: 0; }
.stage-rail { position: absolute; z-index: 5; right: 20px; bottom: 16px; left: 20px; display: flex; justify-content: space-between; color: rgba(241,234,219,.68); font-size: 9px; font-weight: 700; letter-spacing: .11em; pointer-events: none; text-transform: uppercase; }
.stage-crop { position: absolute; z-index: 2; width: 22px; height: 22px; border-color: var(--carbon); pointer-events: none; }
.stage-crop--tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.stage-crop--tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.stage-crop--bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.stage-crop--br { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }

.stage-controls { justify-content: space-between; min-height: 52px; color: var(--ivory-dim); }
.nav-button { display: inline-flex; align-items: center; gap: 11px; min-width: 78px; padding: 13px 0; color: var(--ivory); font-size: 22px; transition: color 160ms ease, transform 160ms ease; }
.nav-button small { color: var(--ivory-dim); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.nav-button:hover { color: var(--coral); transform: translateX(-3px); }
.nav-button--next { justify-content: end; }
.nav-button--next:hover { transform: translateX(3px); }
.stage-hint { display: flex; align-items: center; gap: 7px; color: rgba(241,234,219,.58); letter-spacing: .06em; }
.keycap { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; padding: 0 4px; border: 1px solid var(--line); color: var(--ivory); font-size: 8px; }

.footer-bar { justify-content: space-between; gap: 14px; margin-top: 11px; padding-top: 14px; border-top: 1px solid var(--line); color: rgba(241,234,219,.5); font-size: 9px; }
.footer-accent { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--oxidized); }

/* Slide primitives */
.slide { position: absolute; inset: 0; overflow: hidden; }
.slide--cover { display: grid; grid-template-columns: 1.25fr .75fr; gap: 6%; padding: clamp(28px, 5vw, 78px); background: linear-gradient(120deg, #191b19 0%, #131514 58%, #1d2c2a 100%); }
.slide--cover::after { position: absolute; right: -12%; bottom: -38%; width: 64%; height: 90%; border: 1px solid rgba(234,212,79,.42); border-radius: 50%; content: ""; transform: rotate(-18deg); }
.cover-copy { position: relative; z-index: 1; align-self: end; max-width: 720px; }
.slide-kicker { color: var(--sulfur); }
.cover-copy h2 { margin: 18px 0; color: var(--ivory); font-size: clamp(36px, 5vw, 86px); font-weight: 800; letter-spacing: -.075em; line-height: .84; }
.cover-copy h2 em { color: var(--coral); font-family: var(--serif); font-weight: 400; letter-spacing: -.08em; }
.cover-copy p { max-width: 640px; margin: 0; color: var(--ivory-dim); font-family: var(--serif); font-size: clamp(16px, 1.7vw, 24px); letter-spacing: -.02em; line-height: 1.25; }
.cover-aside { position: relative; z-index: 1; align-self: end; border-left: 1px solid var(--line); padding-left: 19px; }
.cover-metric { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 12px 0; color: var(--ivory-dim); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cover-metric strong { color: var(--sulfur); font-size: 28px; letter-spacing: -.04em; }
.cover-chapter { margin-top: 24px; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.slide--contact, .slide--grid { display: grid; grid-template-rows: auto 1fr auto; padding: 25px 28px 21px; background: var(--paper); color: var(--carbon); }
.slide--contact::before, .slide--grid::before { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-top: 1px solid var(--carbon); border-right: 1px solid var(--carbon); content: ""; opacity: .42; }
.slide-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 14px; }
.slide-header__copy { min-width: 0; }
.slide--contact .slide-kicker, .slide--grid .slide-kicker { color: var(--cobalt); }
.slide-title { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(22px, 3vw, 46px); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.slide-title small { display: block; margin-top: 5px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.slide-header__aside { max-width: 300px; padding-top: 3px; text-align: right; }
.slide-meta { color: #566159; font-size: 9px; }
.slide-line { margin: 7px 0 0; color: #566159; font-family: var(--serif); font-size: 12px; letter-spacing: -.01em; line-height: 1.25; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; min-height: 0; }
.contact-grid.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-grid.grid--9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.thumb { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; padding: 0; border: 1px solid rgba(16,17,16,.25); background: #d9cfbc; color: var(--carbon); cursor: pointer; text-align: left; }
.thumb:hover { border-color: var(--cobalt); box-shadow: inset 0 0 0 2px var(--cobalt); }
.thumb-media { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #c7bdab; }
.thumb-media img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
.thumb--pending .thumb-media { background: repeating-linear-gradient(135deg, rgba(16,17,16,.06) 0 7px, transparent 7px 14px), #d9cfbc; }
.thumb--rejected { border-color: var(--coral); }
.thumb--rejected .thumb-media { filter: grayscale(.85); }
.thumb__stamp { position: absolute; top: 7px; left: 7px; z-index: 1; padding: 4px 5px; background: var(--coral); color: var(--carbon); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.thumb__stamp--pending { background: var(--sulfur); }
.thumb__stamp--accepted { background: var(--oxidized); color: var(--ivory); }
.thumb-caption { display: flex; justify-content: space-between; gap: 7px; min-height: 28px; padding: 7px 8px 6px; border-top: 1px solid rgba(16,17,16,.16); font-size: 9px; font-weight: 700; letter-spacing: .05em; line-height: 1.15; }
.thumb-caption span:last-child { color: #5a655d; font-size: 8px; text-align: right; }
.contact-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 11px; color: #566159; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-foot strong { color: var(--cobalt); }

.slide--single { display: grid; grid-template-columns: minmax(0, 1.56fr) minmax(200px, .44fr); gap: 0; background: #0e100f; }
.single-figure { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; background: #151816; }
.single-figure::after { position: absolute; inset: 18px; border: 1px solid rgba(241,234,219,.2); pointer-events: none; content: ""; }
.single-figure img { display: block; width: 100%; height: 100%; object-fit: contain; }
.single-figure--pending { background: repeating-linear-gradient(-45deg, rgba(241,234,219,.04) 0 12px, transparent 12px 24px), #181a18; }
.single-figure__label { position: absolute; z-index: 1; top: 26px; left: 28px; padding: 7px 9px; background: var(--sulfur); color: var(--carbon); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.single-rail { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 32px 28px 28px; border-left: 1px solid var(--line); background: #171a18; }
.single-rail__top { display: flex; justify-content: space-between; gap: 10px; color: var(--ivory-dim); }
.slide-number { color: var(--coral); }
.single-rail h2 { margin: 28px 0 0; color: var(--ivory); font-family: var(--serif); font-size: clamp(26px, 3vw, 48px); font-weight: 400; letter-spacing: -.06em; line-height: .92; }
.single-rail h2 small { display: block; margin-top: 10px; color: var(--ivory-dim); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.single-rail__line { margin: 14px 0 0; color: var(--ivory-dim); font-family: var(--serif); font-size: 15px; letter-spacing: -.02em; line-height: 1.25; }
.single-rail__facts { border-top: 1px solid var(--line); }
.single-fact { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ivory-dim); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.single-fact strong { color: var(--ivory); font-weight: 700; overflow-wrap: anywhere; }
.single-rail__next { color: var(--sulfur); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.slide--source { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7%; padding: 38px 48px; background: var(--paper); color: var(--carbon); }
.source-intro h2 { margin: 12px 0; font-family: var(--serif); font-size: clamp(34px, 5vw, 74px); font-weight: 400; letter-spacing: -.07em; line-height: .88; }
.source-intro p { max-width: 360px; color: #59645c; font-family: var(--serif); font-size: 15px; line-height: 1.28; }
.source-table { align-self: stretch; border-top: 1px solid var(--line-dark); }
.source-row { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.source-tag { color: var(--cobalt); font-size: 9px; }
.source-row strong { display: block; margin-bottom: 5px; font-size: 13px; letter-spacing: .02em; }
.source-row p { margin: 0; color: #59645c; font-family: var(--serif); font-size: 13px; line-height: 1.25; }

.slide--empty { display: grid; place-items: center; padding: 30px; background: var(--carbon-soft); }
.empty-state { max-width: 580px; border-left: 2px solid var(--sulfur); padding-left: 22px; }
.empty-state h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 36px; font-weight: 400; letter-spacing: -.05em; }
.empty-state p { margin: 0; color: var(--ivory-dim); font-family: var(--serif); font-size: 16px; line-height: 1.35; }
.empty-state code { color: var(--sulfur); font-family: var(--mono); font-size: 11px; }

.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 24px; }
.lightbox__scrim { position: absolute; inset: 0; background: rgba(5, 6, 5, .92); backdrop-filter: blur(4px); }
.lightbox__window { position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; width: min(96vw, 1500px); height: min(92vh, 980px); padding: 18px; border: 1px solid rgba(241,234,219,.35); background: var(--carbon-soft); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lightbox__close { position: absolute; top: 12px; right: 18px; z-index: 2; width: 32px; height: 32px; color: var(--ivory); font-size: 28px; font-weight: 300; line-height: 1; }
.lightbox__close:hover { color: var(--coral); }
.lightbox__head, .lightbox__foot { display: flex; justify-content: space-between; gap: 16px; padding: 5px 52px 14px 5px; color: var(--ivory-dim); }
.lightbox__head strong { color: var(--ivory); font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
.lightbox__figure { display: grid; place-items: center; min-height: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); background: #0d0f0e; }
.lightbox__figure img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox__figure figcaption { position: absolute; bottom: 40px; left: 28px; max-width: 65%; color: var(--ivory-dim); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lightbox__foot { padding: 13px 5px 0; }

@media (max-width: 1120px) {
  .site-shell { padding-right: 24px; padding-left: 24px; }
  .hero-intro { gap: 42px; }
  .control-deck { align-items: flex-start; flex-direction: column; }
  .filters { justify-content: start; }
}

@media (max-width: 720px) {
  .site-shell { padding: 16px 12px 14px; }
  .masthead { min-height: 30px; font-size: 8px; }
  .brand-rule { width: 18px; }
  .masthead__status { gap: 5px; }
  .hero-intro { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .hero-intro h1 { font-size: clamp(70px, 21vw, 118px); }
  .hero-intro__dek { margin-top: 26px; font-size: 22px; }
  .hero-intro__measure { padding-left: 14px; }
  .measure__line { grid-template-columns: 94px 1fr; }
  .measure__stamp { margin-top: 16px; font-size: 8px; }
  .mode-nav { gap: 3px; }
  .mode-button { padding: 8px 7px; font-size: 9px; }
  .mode-button span { margin-right: 4px; font-size: 8px; }
  .control-deck { gap: 14px; padding: 14px 0; }
  .control-deck__left { width: 100%; justify-content: space-between; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .filter-control { justify-content: space-between; font-size: 8px; }
  .filter-control select { width: 65%; min-width: 0; max-width: none; font-size: 9px; }
  .clear-filters { justify-self: start; }
  .stage-shell { padding: 4px; }
  .stage-crop { width: 12px; height: 12px; }
  .stage-rail { right: 9px; bottom: 7px; left: 9px; font-size: 7px; }
  .stage-controls { min-height: 45px; }
  .stage-hint { display: none; }
  .nav-button { min-width: 58px; font-size: 19px; }
  .nav-button small { font-size: 8px; }
  .slide--cover { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .cover-copy h2 { font-size: clamp(34px, 11vw, 58px); }
  .cover-copy p { font-size: 15px; }
  .cover-aside { align-self: start; padding-left: 12px; }
  .cover-metric { padding: 7px 0; font-size: 8px; }
  .cover-metric strong { font-size: 21px; }
  .slide--contact, .slide--grid { padding: 18px 16px 15px; }
  .slide-header { padding-bottom: 8px; }
  .slide-title { font-size: 24px; }
  .slide-title small { font-size: 8px; }
  .slide-header__aside { max-width: 130px; }
  .slide-line { font-size: 10px; }
  .contact-grid { gap: 5px; }
  .thumb-caption { min-height: 20px; padding: 5px; font-size: 7px; }
  .thumb-caption span:last-child { font-size: 6px; }
  .thumb__stamp { top: 4px; left: 4px; padding: 3px 4px; font-size: 6px; }
  .contact-foot { margin-top: 6px; font-size: 7px; }
  .slide--single { grid-template-columns: minmax(0, 1.45fr) minmax(120px, .55fr); }
  .single-figure__label { top: 14px; left: 14px; padding: 5px; font-size: 7px; }
  .single-figure::after { inset: 9px; }
  .single-rail { padding: 17px 13px 14px; }
  .single-rail h2 { margin-top: 16px; font-size: 26px; }
  .single-rail h2 small { margin-top: 6px; font-size: 7px; }
  .single-rail__line { margin-top: 8px; font-size: 10px; }
  .single-fact { grid-template-columns: 42px 1fr; gap: 5px; padding: 6px 0; font-size: 7px; }
  .single-rail__next { font-size: 7px; }
  .slide--source { grid-template-columns: 1fr; gap: 12px; padding: 23px 20px; }
  .source-intro h2 { margin: 7px 0; font-size: 38px; }
  .source-intro p { margin: 0; font-size: 11px; }
  .source-row { grid-template-columns: 74px 1fr; gap: 10px; padding: 8px 0; }
  .source-row strong { margin-bottom: 3px; font-size: 10px; }
  .source-row p { font-size: 10px; }
  .footer-bar { align-items: flex-start; flex-direction: column; gap: 4px; font-size: 7px; }
  .lightbox { padding: 10px; }
  .lightbox__window { width: 100%; height: 80vh; padding: 9px; }
  .lightbox__head, .lightbox__foot { padding-right: 36px; font-size: 8px; }
  .lightbox__head strong { font-size: 13px; }
  .lightbox__figure figcaption { bottom: 30px; left: 13px; font-size: 8px; }
}

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