*{box-sizing:border-box}
:root{
  --bg:#020816;
  --panel:rgba(8,18,36,.72);
  --line:rgba(255,255,255,.08);
  --text:#eef4ff;
  --muted:#9fb0cc;
  --accent:#1f7aff;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --max:1360px;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(31,122,255,.18), transparent 25%),
    linear-gradient(180deg,#020814 0%,#04101f 45%,#020816 100%);
}
img{display:block;max-width:100%}
.wrap{width:min(calc(100% - 40px),var(--max));margin:0 auto}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(2,8,20,.75);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.nav{
  min-height:76px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.brand{
  color:#fff;text-decoration:none;font-weight:900;
  font-size:clamp(1.5rem,2vw,2.3rem);letter-spacing:-.04em;
}
.menu{display:flex;gap:10px;flex-wrap:wrap}
.menu a{
  color:#eef4ff;text-decoration:none;padding:10px 14px;border-radius:999px;
}
.menu a:hover{background:rgba(255,255,255,.07)}

.hero{padding:26px 0 18px}
.hero img{
  width:100%;
  height:min(62vh,640px);
  object-fit:cover;
  border-radius:30px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.gallery{padding:16px 0 70px}
.gallery h2{
  margin:0 0 20px;
  font-size:clamp(2.4rem,4.6vw,5rem);
  letter-spacing:-.06em;
}
.filters{
  display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px;
}
.filter{
  min-height:48px;padding:0 20px;border-radius:999px;
  border:1px solid rgba(90,176,255,.38);
  background:rgba(255,255,255,.02);color:#e8f0ff;
  font:inherit;font-weight:600;cursor:pointer;transition:.2s ease;
}
.filter.is-active,.filter:hover{
  background:linear-gradient(135deg,var(--accent),#0f63ff);
  color:#fff;box-shadow:0 12px 28px rgba(31,122,255,.25);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.card{
  overflow:hidden;border-radius:26px;background:var(--panel);
  border:1px solid var(--line);box-shadow:var(--shadow);
}
.open{
  position:relative;display:block;width:100%;
  border:0;background:transparent;padding:0;cursor:pointer;
}
.open img{
  width:100%;height:360px;object-fit:cover;transition:transform .45s ease;
}
.open:hover img{transform:scale(1.04)}
.badge{
  position:absolute;left:16px;bottom:16px;
  display:inline-flex;align-items:center;min-height:31px;
  padding:0 12px;border-radius:999px;
  background:rgba(0,0,0,.38);backdrop-filter:blur(8px);
  color:#fff;font-size:.82rem;font-weight:800;
}
.empty{
  padding:28px;text-align:center;border-radius:24px;
  background:var(--panel);border:1px solid var(--line);color:var(--muted);
}

.about{padding:0 0 80px}
.about-box{
  max-width:520px;
  padding:26px 28px;
  border-radius:28px;
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.about-box h3{
  margin:0;
  font-size:clamp(1.8rem,2.8vw,3rem);
  letter-spacing:-.05em;
}
.about-box p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.7;
}

.lightbox{
  position:fixed;inset:0;display:none;
  align-items:center;justify-content:center;
  background:rgba(2,8,20,.94);z-index:100;padding:24px;
}
.lightbox.show{display:flex}
.lightbox figure{margin:0;max-width:min(95vw,1200px);max-height:90vh}
.lightbox img{
  max-width:100%;max-height:calc(90vh - 60px);
  border-radius:20px;box-shadow:0 25px 70px rgba(0,0,0,.55);
}
.lightbox figcaption{
  margin-top:12px;text-align:center;color:#dce8ff;
}
.close{
  position:absolute;top:18px;right:18px;
  width:48px;height:48px;border-radius:999px;border:0;
  background:rgba(255,255,255,.08);color:#fff;font-size:2rem;cursor:pointer;
}

@media (max-width:980px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .nav{flex-direction:column;align-items:flex-start;padding:12px 0}
  .grid{grid-template-columns:1fr}
  .open img{height:300px}
  .hero img{height:300px}
}
