.public-nav {
  background: var(--bg); padding: 14px 40px;
  display: flex; align-items: center; gap: 28px;
  border-bottom: 1px solid var(--bdr);
  position: sticky; top: 0; z-index: 50;
}
.public-nav .brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.public-nav .brand-logo-img { height: 36px; width: auto; object-fit: contain; }
.public-nav .brand-name-text { font-family: var(--font-display); font-size: 18px; color: var(--accent); font-weight: 600; }
.public-nav .links { display: flex; gap: 22px; margin-left: auto; }
.public-nav .links a { color: var(--tx-2); font-size: 13px; }
.public-nav .links a:hover { color: var(--accent); }

.gallery-page { padding: 48px 40px; max-width: 1300px; margin: 0 auto; }
.gallery-hero { text-align: center; margin-bottom: 40px; }
.gallery-hero h1 { font-family: var(--font-display); font-size: 36px; margin-bottom: 8px; }
.gallery-hero p { font-size: 13px; color: var(--tx-3); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--bdr);
  aspect-ratio: 4/3;
  cursor: pointer; background: var(--card);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .goverlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: flex-end;
  padding: 12px;
  opacity: 0; transition: opacity .25s;
}
.gallery-item:hover .goverlay { opacity: 1; }
.gallery-item .goverlay .gtitle {
  font-size: 12px; color: #fff; font-weight: 500;
}

.gallery-empty { text-align: center; padding: 80px 20px; color: var(--tx-3); }
.gallery-empty .ico { font-size: 52px; margin-bottom: 12px; }

/* Lightbox */
.lb-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 1000; align-items: center; justify-content: center; }
.lb-bg.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 28px; font-size: 28px; color: #fff; cursor: pointer; background: none; border: none; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 32px; color: #fff; cursor: pointer; background: none; border: none; padding: 12px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-caption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 12px; }

/* Footer */
.public-footer { background: var(--surf); border-top: 1px solid var(--bdr); padding: 48px 40px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 200px repeat(4,1fr); gap: 32px; padding-bottom: 32px; }
.footer-brand .brand-img { height: 40px; width: auto; margin-bottom: 10px; display: block; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 16px; color: var(--accent); margin-bottom: 6px; }
.footer-brand .brand-tagline { font-size: 11px; color: var(--tx-3); line-height: 1.5; }
.footer-col h5 { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tx-3); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--tx-2); font-size: 12px; margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--bdr); padding: 14px 0; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--tx-3); }

@media (max-width: 768px) {
  .gallery-page { padding: 32px 20px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .public-nav .links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
