@font-face { font-family: Oswald; font-weight: 500; font-display: swap; src: url(../assets/fonts/oswald-cyrillic-500.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Oswald; font-weight: 500; font-display: swap; src: url(../assets/fonts/oswald-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: Oswald; font-weight: 700; font-display: swap; src: url(../assets/fonts/oswald-cyrillic-700.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Oswald; font-weight: 700; font-display: swap; src: url(../assets/fonts/oswald-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(../assets/fonts/jetbrains-mono-cyrillic-400.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(../assets/fonts/jetbrains-mono-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(../assets/fonts/jetbrains-mono-cyrillic-700.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(../assets/fonts/jetbrains-mono-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }

:root {
  --bg: #0b0b0b;
  --surface: #141414;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --line: #333;
  --red: #e24b4a;
  --ok: #7fd18b;
  --head: Oswald, "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0 0 12px; letter-spacing: 0.01em; }
h2 { font-size: 34px; text-transform: uppercase; }
h3 { font-size: 22px; font-weight: 500; }
p { margin: 0 0 12px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

main, .footer { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 0 var(--gutter); }

.stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 68% 9%, #9cc8ff, transparent),
    radial-gradient(1.5px 1.5px at 42% 64%, #fff, transparent), radial-gradient(1px 1px at 85% 47%, #fff, transparent),
    radial-gradient(1px 1px at 8% 82%, #9cc8ff, transparent), radial-gradient(1px 1px at 57% 38%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 88%, #fff, transparent), radial-gradient(1px 1px at 30% 92%, #fff, transparent),
    radial-gradient(1px 1px at 76% 72%, #9cc8ff, transparent), radial-gradient(1px 1px at 22% 44%, #fff, transparent);
  background-size: 420px 420px;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 1; } }

.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--muted); padding-top: 20px; }
.hero { text-align: center; padding-bottom: 32px; }
.hero__poster { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); margin: 8px 0 20px; }
.hero__title { font-size: clamp(48px, 15vw, 76px); margin: 0; }
.hero__sub { font-family: var(--head); font-weight: 500; font-size: 18px; letter-spacing: 4px; text-transform: uppercase; }
.hero__meta { color: var(--muted); font-size: 13px; }

.countdown { display: flex; justify-content: center; gap: 10px; margin: 20px 0 8px; }
.countdown div { min-width: 64px; padding: 10px 6px; border: 1px solid var(--line); border-radius: var(--radius); }
.countdown span { display: block; font: 700 28px/1 var(--mono); }
.countdown small { color: var(--muted); font: 12px var(--mono); }
.seats { color: var(--muted); font-size: 14px; }
.seats[data-state="last"] { color: var(--text); }

.actions { display: grid; gap: 10px; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 8px;
  border: 1px solid var(--text); background: transparent; color: var(--text);
  font: 500 16px var(--body); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn--wide { width: 100%; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.section { padding: 40px 0; border-top: 1px solid var(--line); }
.dossier-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 12px; letter-spacing: 2px; }
.stamp { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--red); border: 1.5px solid var(--red); padding: 2px 8px; transform: rotate(-2deg); white-space: nowrap; }
.brief__text { font-size: 15px; color: #d8d8d8; }

.programme { list-style: none; padding: 0; margin: 0; }
.programme li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.programme .mono { color: var(--muted); margin-right: 10px; }
.programme__main { font-family: var(--head); font-size: 24px; font-weight: 700; text-transform: uppercase; border-bottom: none !important; padding-top: 18px !important; }

.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.look { background: var(--surface); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; }
.look img { border-radius: 6px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; margin-bottom: 10px; }
.look h3 { font-size: 18px; margin-bottom: 4px; }
.look p { font-size: 13px; color: var(--muted); flex: 1; }

.ticket { text-align: center; }
.ticket__price { font: 700 56px/1 var(--head); margin: 6px 0 10px; }
.fine { text-align: left; color: var(--muted); font-size: 13px; padding-left: 18px; margin-top: 20px; }
.fine li { margin-bottom: 6px; }

form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, legend { font-weight: 500; }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 16px var(--body);
}
input[aria-invalid="true"] { border-color: var(--red); }
.error { color: var(--red); min-height: 0; font-size: 13px; }
.error:empty, .hint:empty { display: none; }
.hint[data-state="ok"] { color: var(--ok); }
.hint[data-state="taken"] { color: var(--red); }
.file-btn { position: relative; overflow: hidden; justify-self: start; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-editor canvas { width: min(100%, 300px); aspect-ratio: 1; border-radius: var(--radius); touch-action: none; cursor: grab; background: var(--surface); }
.zoom { display: flex; align-items: center; gap: 10px; max-width: 300px; }
.zoom input { flex: 1; accent-color: var(--text); }

.looks-pick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.looks-pick legend { margin-bottom: 8px; }
.looks-pick label { position: relative; display: grid; gap: 4px; text-align: center; font-size: 12px; cursor: pointer; }
.looks-pick input { position: absolute; opacity: 0; }
.looks-pick img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; border: 2px solid transparent; }
.looks-pick input:checked + img { border-color: var(--text); }
.looks-pick input:focus-visible + img { outline: 2px solid var(--text); outline-offset: 2px; }
.looks-pick .error { grid-column: 1 / -1; }

.consent label { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--text); flex: none; }
.consent details { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--red); margin: 0; }
.form-error:empty { display: none; }

.result { text-align: center; padding-top: 12px; }
.result img { width: 100%; border-radius: var(--radius); margin: 12px 0 16px; }
.result__buttons { display: grid; gap: 10px; margin-bottom: 16px; }

.place__name { font: 500 24px var(--head); }
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 32px var(--gutter) 48px; border-top: 1px solid var(--line); }
.footer a { color: var(--muted); }

.video { position: relative; margin-bottom: 32px; }
.video video { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #000; }
.video__sound { position: absolute; right: 12px; bottom: 12px; background: rgba(11, 11, 11, 0.7); }

.flash { position: fixed; inset: 0; z-index: 50; background: #fff; opacity: 0; pointer-events: none; }
.flash.is-on { animation: flash 0.45s ease-out; }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }

.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.92); display: grid; place-content: center; gap: 14px; padding: var(--gutter); text-align: center; }
.overlay[hidden] { display: none; }
.overlay img { max-height: 70vh; width: auto; margin: 0 auto; border-radius: var(--radius); -webkit-touch-callout: default; }

@media (min-width: 720px) {
  .actions, .result__buttons { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars { animation: none; }
  .flash.is-on { animation: none; }
}

/* --- Design pass: the poster is the headline --- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { padding-top: 14px; margin-bottom: 10px; }
.hero { padding-bottom: 28px; }
.hero__poster { margin: 0 0 12px; border-radius: 6px; }
.hero__mission { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: 3px; color: var(--muted); margin: 0 2px 10px; }
.hero__mission span:first-child { color: var(--text); }
.countdown { gap: 8px; margin: 0 0 8px; }
.countdown div { flex: 1; min-width: 0; padding: 8px 4px; }
.countdown span { font-size: 26px; }
.actions { grid-template-columns: 1fr 1fr; margin-top: 12px; }

.programme__main { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding: 18px 16px !important; border: 1px solid var(--text) !important; border-radius: var(--radius); }
.programme__main::before { content: "ГЛАВНОЕ"; align-self: flex-start; font: 400 11px var(--mono); letter-spacing: 2px; color: var(--red); border: 1.5px solid var(--red); padding: 2px 8px; transform: rotate(-2deg); }

.ticket-wrap { border-top: none; }
.ticket {
  position: relative; padding: 24px 20px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
  -webkit-mask: radial-gradient(circle 12px at 0 132px, transparent 11px, #000 12px) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 132px, transparent 11px, #000 12px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 132px, transparent 11px, #000 12px) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 132px, transparent 11px, #000 12px) right / 51% 100% no-repeat;
}
.ticket::after { content: ""; position: absolute; left: 20px; right: 20px; top: 132px; border-top: 2px dashed var(--line); }
.ticket__label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 2px; color: var(--muted); }
.ticket__price { margin: 10px 0 34px; }
.ticket .btn { width: 100%; }

/* --- Hero structure: mobile = poster first, kicker above it, title for screen readers only --- */
.hero { display: flex; flex-direction: column; }
.hero__info { display: contents; }
.hero__info .kicker { order: -1; }
.hero__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__lead { display: none; }

/* --- Desktop --- */
@media (min-width: 960px) {
  main, .footer { max-width: 1180px; padding-left: 48px; padding-right: 48px; }
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; min-height: 100vh; padding: 40px 0; text-align: left; }
  .hero__poster { margin: 0; border-radius: 10px; max-height: calc(100vh - 80px); width: auto; max-width: 100%; justify-self: center; }
  .hero__info { display: block; }
  .hero__title { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: clamp(72px, 8vw, 128px); line-height: 0.9; margin: 8px 0 18px; }
  .hero__title span { display: block; font-weight: 500; font-size: 22px; letter-spacing: 6px; text-transform: uppercase; margin-top: 18px; color: var(--muted); }
  .hero__mission { max-width: 520px; font-size: 14px; }
  .hero__lead { display: block; max-width: 520px; color: #cfcfcf; font-size: 18px; margin-bottom: 24px; }
  .countdown { max-width: 520px; justify-content: flex-start; }
  .countdown span { font-size: 40px; }
  .seats { text-align: left; }
  .actions { max-width: 520px; }

  h2 { font-size: 48px; }
  .section { padding: 72px 0; }
  .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line); }
  .duo > .section { border-top: none; }
  .brief__text { font-size: 16px; }

  .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .look { padding: 14px; }

  .ticket { max-width: 560px; margin: 0 auto; }

  #anketa > h2, #anketa > .dossier-head { max-width: 860px; margin-left: auto; margin-right: auto; }
  form { grid-template-columns: 1fr 1fr; column-gap: 28px; max-width: 860px; margin: 0 auto; }
  .field--full { grid-column: 1 / -1; }
  .looks-pick { max-width: 560px; }
  .result, .closed { max-width: 760px; margin: 0 auto; }
  .result img { max-width: 680px; margin-left: auto; margin-right: auto; }

}

/* --- Video slot --- */
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.video__frame video { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.video__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; font-size: 15px;
  background: radial-gradient(circle at 50% 40%, #1c1c1c, var(--surface) 70%); }
.video__placeholder .stamp { font-size: 13px; }
.d-only { display: none; }

@media (min-width: 960px) {
  .duo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
  .duo:has(> .video[hidden]) { grid-template-columns: 1fr; }
  .duo:has(> .video[hidden]) .brief { max-width: 760px; }
  .duo .video__frame { max-height: 720px; }
  .programme-wrap .programme { max-width: 860px; columns: 2; column-gap: 48px; }
  .programme-wrap .programme li { break-inside: avoid; }
  .programme-wrap .programme__main { column-span: all; }
  .m-only { display: none; }
  .d-only { display: inline; }
  .countdown div { text-align: center; }
}

/* --- Intro: ~3.4s cinematic opener, pure CSS so it always ends even without JS --- */
.intro {
  position: fixed; inset: 0; z-index: 80; background: var(--bg); color: var(--text);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: max(18px, env(safe-area-inset-top, 0px)) 20px max(18px, env(safe-area-inset-bottom, 0px));
  animation: intro-out 0.5s ease-in 3.25s forwards; overflow: hidden;
}
.no-intro .intro, .intro.is-done { display: none; }
.intro__scan { position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background: repeating-linear-gradient(to bottom, #fff 0 1px, transparent 1px 4px); }
.intro__head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 2px; color: var(--muted); opacity: 0; animation: fade-in 0.4s 0.1s forwards; }
.intro__center { align-self: center; display: grid; justify-items: center; text-align: center; gap: 14px; }
.intro__line { margin: 0; max-width: 100%; font-size: 13px; letter-spacing: 3px; color: var(--muted); overflow: hidden; white-space: nowrap; width: 0; }
.intro__line--1 { animation: type 0.6s steps(22) 0.15s forwards, fade-out 0.3s 1.25s forwards; }
.intro__line--2 { animation: type 0.5s steps(24) 0.7s forwards, fade-out 0.3s 1.25s forwards; }
.intro__title {
  margin: 0; font: 700 clamp(48px, 15vw, 200px)/0.9 var(--head); white-space: nowrap; text-transform: uppercase;
  opacity: 0; transform: scale(1.18); filter: blur(8px); letter-spacing: 0.01em; max-width: 100%;
  animation: title-in 0.7s cubic-bezier(.2,.8,.2,1) 1.35s forwards;
}
.intro__stamp {
  margin: 6px 0 0; font: 400 clamp(14px, 4vw, 22px) var(--mono); letter-spacing: 4px; color: var(--red);
  border: 2px solid var(--red); padding: 6px 14px; opacity: 0; transform: rotate(-4deg) scale(2.4);
  animation: stamp-in 0.28s cubic-bezier(.3,1.6,.5,1) 2.05s forwards;
}
.intro__date { margin: 0; font-size: 13px; letter-spacing: 3px; color: var(--muted); opacity: 0; animation: fade-in 0.4s 2.45s forwards; }
.intro__skip { justify-self: center; background: none; border: 0; color: var(--muted); font-size: 12px; letter-spacing: 2px; padding: 10px 16px; cursor: pointer; }
.intro__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; animation: flash-hit 0.55s ease-out 2.95s forwards; }

@keyframes type { to { width: 100%; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; height: 0; margin: 0; } }
@keyframes title-in { to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes stamp-in { to { opacity: 1; transform: rotate(-4deg) scale(1); } }
@keyframes flash-hit { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

.programme__kicker { font-size: 18px; letter-spacing: 0.04em; color: var(--muted); }
.programme__title { display: block; font-size: clamp(36px, 11vw, 64px); line-height: 0.95; white-space: nowrap; }

.cookie-note { font-family: var(--body); font-size: 11px; color: #6c6c6c; margin-top: 8px; }

.num-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.num-chip { min-height: 32px; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; cursor: pointer; }
.num-chip:hover, .num-chip:focus-visible { border-color: var(--text); }

/* --- Venue as surveillance footage --- */
.venue { margin-top: 32px; max-width: 860px; }
.venue__head { margin-bottom: 14px; }
.venue__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cam { position: relative; margin: 0; overflow: hidden; border-radius: 6px; background: #000; aspect-ratio: 3 / 4; max-width: 100%; }
.cam--main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.cam img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(0.85); }
.cam::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(120, 160, 200, 0.10), rgba(120, 160, 200, 0.10)),
              repeating-linear-gradient(to bottom, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px); }
.cam::after { content: ""; position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(#f2f2f2, #f2f2f2) top left / 18px 2px no-repeat, linear-gradient(#f2f2f2, #f2f2f2) top left / 2px 18px no-repeat,
    linear-gradient(#f2f2f2, #f2f2f2) top right / 18px 2px no-repeat, linear-gradient(#f2f2f2, #f2f2f2) top right / 2px 18px no-repeat,
    linear-gradient(#f2f2f2, #f2f2f2) bottom left / 18px 2px no-repeat, linear-gradient(#f2f2f2, #f2f2f2) bottom left / 2px 18px no-repeat,
    linear-gradient(#f2f2f2, #f2f2f2) bottom right / 18px 2px no-repeat, linear-gradient(#f2f2f2, #f2f2f2) bottom right / 2px 18px no-repeat; }
.cam__hud { position: absolute; inset: 16px; font-size: 10px; letter-spacing: 1.5px; color: #f2f2f2; text-shadow: 0 0 4px #000; pointer-events: none; }
.cam__hud span { position: absolute; }
.cam__hud span:nth-child(1) { top: 0; left: 0; }
.cam__hud span:nth-child(2) { bottom: 0; left: 0; }
.cam__hud span:nth-child(3) { top: 0; right: 0; }
.cam__rec { color: var(--red); animation: rec 1.4s steps(1) infinite; }
.cam--main .cam__hud { font-size: 12px; }
@keyframes rec { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .cam__rec { animation: none; } }
@media (min-width: 960px) {
  .venue__grid { grid-template-columns: 2fr 1fr; max-width: 860px; }
  .cam--main { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
}

/* --- Entrance landmark: the only colour frame among the surveillance shots --- */
.place__intro { display: grid; gap: 20px; }
.place__hint { color: #cfcfcf; }
.cam--color img { filter: contrast(1.05) saturate(1.1); }
.cam--color::before { background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px); }
@media (min-width: 960px) {
}

/* --- Lightbox --- */
.lb-trigger { cursor: zoom-in; }
.lb-trigger:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.lb-open, .lb-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(5, 5, 5, 0.96); display: grid; grid-template-rows: 1fr auto; place-items: center;
  padding: max(56px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px)); }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 8px; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.lightbox__close { position: absolute; top: max(10px, env(safe-area-inset-top, 0px)); right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 20px; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: 8px; background: rgba(20, 20, 20, 0.7); color: var(--text); font-size: 36px; line-height: 1; cursor: pointer; }
.lightbox__nav--prev { left: 6px; }
.lightbox__nav--next { right: 6px; }
.lightbox__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding-top: 12px; text-align: center; max-width: 640px; }
.lightbox__caption { margin: 0; font-size: 14px; color: #cfcfcf; flex-basis: 100%; }
.lightbox__counter { font-size: 12px; color: var(--muted); letter-spacing: 2px; }
@media (min-width: 960px) {
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
  .lightbox__img { max-height: calc(100vh - 150px); }
}
