:root{
  --bg: #0b0c0f;
  --panel: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.66);
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(1100px 900px at 20% 10%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(900px 700px at 80% 30%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #050607, #0b0c0f 35%, #050607);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  letter-spacing: 0.2px;
}

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.brand{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.brand .title{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: 1.2px;
  font-size: 20px;
  text-transform: uppercase;
}
.brand .sub{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.nav a{
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--text);
}
.nav a:hover{
  background: rgba(255,255,255,0.08);
}

.hero{
  margin-top: 22px;
  padding: 26px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}
.hero h1{
  margin: 0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 0.6px;
}
.hero p{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.55;
}

.grid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.22);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,0.45);
  position:relative;
}

.thumb{
  width:100%;
  height: 240px;
  display:block;
  object-fit: cover;
  transform: scale(1.00);
  transition: transform 220ms ease;
}
.card:hover .thumb{
  transform: scale(1.03);
  filter: grayscale(100%) contrast(126%) brightness(1.03);
}

.caption{
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--muted);
}

.footer{
  margin-top: 28px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  padding: 18px;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.75);
  border-radius: 10px;
}
.lightbox .hint{
  position:absolute;
  bottom: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}