:root{
  --bg:#0d0d0d;
  --panel:#101010;
  --fg:#ededeb;
  --muted:#8a8a86;
  --line:#1d1d1d;
  --gap:8px;
  --pad:clamp(8px,1vw,16px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* Centered identity inspired by the Wedding Films site */
.site-header{
  min-height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 20px 24px;
  background:var(--panel);
  border-bottom:1px solid var(--line);
}
.brand-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.brand{
  width:132px;
  height:132px;
  border-radius:50%;
  overflow:hidden;
  clip-path:circle(49.2% at 50% 50%);
  background:var(--panel);
  opacity:.88;
}
.brand img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  clip-path:circle(49.2% at 50% 50%);
  filter:brightness(.92) contrast(1.05);
}
.brand-label{
  margin-top:14px;
  color:#dededb;
  font-size:17px;
  font-weight:400;
  letter-spacing:.46em;
  padding-left:.46em;
}
.header-nav{
  margin-top:31px;
  display:flex;
  gap:30px;
  align-items:center;
  justify-content:center;
}
.header-nav a{
  color:#a2a29e;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  transition:color .2s ease;
}
.header-nav a:hover{color:#f2f2ef}

/* Photo-first gallery */
.gallery-wrap{
  padding:var(--gap);
  min-height:70vh;
}
.gallery{
  columns:3;
  column-gap:var(--gap);
}
.gallery-item{
  width:100%;
  display:inline-block;
  margin:0 0 var(--gap);
  border:0;
  padding:0;
  background:none;
  cursor:zoom-in;
  break-inside:avoid;
  overflow:hidden;
}
.gallery-item img{
  width:100%;
  height:auto;
  background:#111;
  transition:opacity .28s ease, transform .32s ease;
}
.gallery-item:hover img{
  opacity:.9;
  transform:scale(1.003);
}
.empty{
  color:#70706c;
  text-align:center;
  padding:18vh 0;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
}

footer{
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:30px;
  padding:28px 14px 32px;
  color:#666;
  font-size:9px;
  letter-spacing:.12em;
}

/* Fullscreen viewer */
.lightbox{
  width:100vw;
  height:100vh;
  max-width:none;
  max-height:none;
  padding:0;
  margin:0;
  border:0;
  background:#050505;
  color:white;
}
.lightbox[open]{display:grid;place-items:center}
.lightbox::backdrop{background:#050505}
.lightbox figure{
  width:100%;
  height:100%;
  margin:0;
  padding:46px 80px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox figure img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}
.lb-close,.lb-prev,.lb-next{
  position:fixed;
  z-index:3;
  border:0;
  background:none;
  color:white;
  cursor:pointer;
  font:inherit;
}
.lb-close{top:18px;right:24px;font-size:28px;line-height:1}
.lb-prev,.lb-next{top:50%;transform:translateY(-50%);padding:25px 18px;font-size:22px}
.lb-prev{left:5px}
.lb-next{right:5px}

@media(max-width:900px){
  .site-header{min-height:202px;padding-top:24px}
  .brand{width:108px;height:108px}
  .brand-label{font-size:14px;margin-top:12px}
  .header-nav{margin-top:25px;gap:25px}
  .gallery{columns:2}
  .lightbox figure{padding:44px 18px}
  .lb-prev,.lb-next{display:none}
}
@media(max-width:560px){
  .site-header{min-height:182px;padding:20px 12px}
  .brand{width:92px;height:92px}
  .brand-label{font-size:12px;letter-spacing:.38em;padding-left:.38em}
  .header-nav{margin-top:21px}
  .gallery{columns:1}
  footer{padding-left:10px;padding-right:10px}
}
