:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #111;
  --text: #f4f1ea;
  --muted: #9d978d;
  --line: rgba(244, 241, 234, .14);
  --accent: #e9ff6a;
  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --radius: 14px;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(233,255,106,.08), transparent 28rem),
    linear-gradient(135deg, #050505, var(--bg) 55%, #12100e);
  color: var(--text);
  font-weight: 650;
}
a { color: inherit; text-decoration-color: rgba(244,241,234,.35); text-underline-offset: .25em; }
a:hover, a[aria-current="page"] { color: var(--accent); }
.site-header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
}
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(20px); background: rgba(9,9,9,.58); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.brand img { width: 1.75rem; height: 1.75rem; border-radius: .45rem; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
nav { display: flex; gap: 1rem; }
main { padding: 0 clamp(1rem, 3vw, 2rem) 2rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 34rem); gap: 1rem; align-items: end; margin: clamp(1rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.5rem); }
.eyebrow, .hints, footer, .intro, .caption { color: var(--muted); }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; }
h1 { margin: .15em 0 0; font-size: clamp(3.5rem, 16vw, 13rem); line-height: .8; letter-spacing: -.11em; font-weight: 900; }
.intro { max-width: 42rem; line-height: 1.7; }
.gallery-shell { position: relative; min-height: 50vh; overflow: visible; }
.gallery { columns: 4 300px; column-gap: clamp(.5rem, 1.4vw, 1rem); width: 100%; }
.state { min-height: 45vh; display: grid; place-items: center; color: var(--muted); }
.state:empty { display: none; }
.shot { display: block; width: 100%; margin: 0 0 clamp(.5rem, 1.4vw, 1rem); break-inside: avoid; border: 0; padding: 0; background: #161616; border-radius: clamp(6px, 1vw, 11px); overflow: hidden; cursor: zoom-in; box-shadow: 0 14px 36px rgba(0,0,0,.32); transform: translateZ(0); }
.shot img { display: block; width: 100%; height: auto; object-fit: cover; background: #111; transition: transform .35s ease, filter .35s ease; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.018); filter: contrast(1.05); }
.shot:focus-visible, button:focus-visible, .gallery:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.hints { text-align: center; font-size: .9rem; margin: 1rem 0 2rem; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--text); background:
  radial-gradient(circle at 20% 12%, rgba(255,255,255,.18), transparent 24rem),
  radial-gradient(circle at 78% 72%, rgba(233,255,106,.13), transparent 28rem),
  linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  backdrop-filter: blur(34px) saturate(1.45);
  -webkit-backdrop-filter: blur(34px) saturate(1.45);
}
.lightbox::backdrop { background: rgba(0,0,0,.54); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; box-shadow: 0 36px 110px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.10); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.lightbox button { position: fixed; border: 1px solid rgba(255,255,255,.20); border-radius: 999px; background: rgba(255,255,255,.10); color: var(--text); width: 3rem; height: 3rem; font-size: 2rem; cursor: pointer; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 12px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.16); }
.close { top: 1rem; right: 1rem; }
.prev { left: 1rem; top: 50%; }
.next { right: 1rem; top: 50%; }
.caption { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); margin: 0; padding: .35rem .7rem; text-align: center; font-size: .85rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(16px) saturate(1.35); -webkit-backdrop-filter: blur(16px) saturate(1.35); }
.legal { max-width: 880px; margin-inline: auto; }
.legal h1 { font-size: clamp(3rem, 10vw, 8rem); }
.card { margin: 1rem 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.035); line-height: 1.7; }
.back { color: var(--accent); }
@media (max-width: 760px) {
  main { padding-inline: .5rem; }
  .hero { grid-template-columns: 1fr; padding-inline: .5rem; }
  .gallery { columns: 2 150px; column-gap: .5rem; }
  .shot { margin-bottom: .5rem; border-radius: 7px; }
  .site-header, footer { align-items: flex-start; }
  .lightbox button { width: 2.7rem; height: 2.7rem; }
}
@media (max-width: 430px) {
  .gallery { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
