/* laq.jecode.click — design moderne, B/W luxe, responsive total */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0a;
  --bg-card: #131313;
  --text: #f5f5f4;
  --text-sub: #a8a29e;
  --text-muted: #57534e;
  --border: rgba(255,255,255,0.08);
  --accent: #f5f5f4;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(10,10,10,0.6);
  border-bottom: 1px solid var(--border);
}
.nav .brand {
  font-family: 'Italiana', serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.nav .menu { display: flex; gap: 24px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.18em; }
.nav .menu a { color: var(--text-sub); transition: color .2s; }
.nav .menu a:hover, .nav .menu a.on { color: var(--text); }
@media (max-width: 600px) { .nav .menu { display: none; } }

/* === HERO === */
.hero {
  min-height: 92vh;
  min-height: 92dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 900px; }
.hero .eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Italiana', serif;
  font-weight: 400;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-sub);
  max-width: 620px; margin: 0 auto;
}
.hero .scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--text-muted);
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

/* === SECTIONS === */
.section { padding: 100px 0; border-top: 1px solid var(--border); }
@media (max-width: 768px) { .section { padding: 64px 0; } }
.section-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--text-muted); margin-bottom: 16px;
}
.section h2 {
  font-family: 'Italiana', serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.section .lead {
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--text-sub);
  max-width: 700px; line-height: 1.7;
}

/* === GALLERIES GRID (homepage) === */
.galleries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 700px) {
  .galleries-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 1100px) {
  .galleries-grid { grid-template-columns: repeat(3, 1fr); }
}
.gal-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-card);
  display: block;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.8,.3,1.1);
}
.gal-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease, filter .4s ease;
  filter: brightness(0.85) saturate(0.95);
}
.gal-card:hover img { transform: scale(1.04); filter: brightness(1) saturate(1); }
.gal-card .gal-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.gal-card .gal-eyebrow {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--text-sub); margin-bottom: 8px;
}
.gal-card h3 {
  font-family: 'Italiana', serif; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  color: white;
}
.gal-card .placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1c1917, #0a0a0a);
  color: var(--text-muted);
  font-family: 'Italiana', serif; font-size: 48px;
}

/* === GALLERY DETAIL === */
.gal-hero {
  padding: 140px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.gal-hero h1 {
  font-family: 'Italiana', serif; font-weight: 400;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.05;
  margin-bottom: 18px;
}
.gal-hero .gal-sub { color: var(--text-sub); font-size: clamp(14px, 1.5vw, 17px); max-width: 600px; margin: 0 auto; }

.gal-photos {
  padding: 48px 0 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .gal-photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 64px 0 120px;
  }
}
@media (min-width: 1100px) {
  .gal-photos { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.gal-ph {
  position: relative;
  aspect-ratio: auto;
  cursor: zoom-in;
  background: var(--bg-card);
  overflow: hidden;
  border-radius: 2px;
}
.gal-ph img {
  width: 100%; height: auto;
  transition: transform .8s ease, filter .4s ease;
  filter: brightness(0.93);
}
.gal-ph:hover img { transform: scale(1.02); filter: brightness(1); }
.gal-ph figcaption {
  font-size: 12px; color: var(--text-muted);
  margin-top: 8px; padding: 0 4px;
  font-style: italic;
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.96);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; max-height: 92dvh; object-fit: contain; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: white; cursor: pointer; font-size: 22px;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  transition: background .2s;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: rgba(255,255,255,0.16); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }

/* === CTA / CONTACT === */
.cta {
  padding: 120px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta h2 {
  font-family: 'Italiana', serif; font-weight: 400;
  font-size: clamp(32px, 5vw, 60px);
  margin-bottom: 24px;
}
.cta p { color: var(--text-sub); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 0;
  border-radius: 100px;
  transition: transform .2s, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: white; }
.btn.outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--text);
}
.btn.outline:hover { background: var(--text); color: var(--bg); }

/* === FOOTER === */
footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
footer a { color: var(--text-sub); margin: 0 8px; }

/* === Empty states === */
.empty-state {
  text-align: center; padding: 80px 24px; color: var(--text-muted);
  font-style: italic;
}

/* === Image protection (light-touch) === */
.gal-ph img, .gal-card img, .lightbox img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}
