@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:       #080808;
  --bg2:      #111111;
  --bg3:      #1a1a1a;
  --cream:    #f0e6d3;
  --gold:     #c9a35a;
  --gold2:    #e8c47a;
  --muted:    #666;
  --border:   rgba(240,230,211,0.1);
  --r:        4px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 40px; height: 40px;
  background: rgba(201,163,90,0.3);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 6%;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.4s ease, padding 0.4s ease;
}
nav.scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(12px);
  padding: 18px 6%;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream); text-decoration: none;
}
.nav-logo span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--cream); }

/* ── HERO ── */
.hero {
  height: 100vh; min-height: 600px;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  padding: 0 6% 8%;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg);
}
.hero-featured {
  position: absolute; right: 0; top: 0;
  width: 55%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.35;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero-label {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300; line-height: 0.9;
  letter-spacing: -0.02em;
  opacity: 0; animation: fadeUp 0.9s 0.4s ease forwards;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  margin-top: 24px; max-width: 420px;
  font-size: 0.92rem; color: var(--muted); line-height: 1.7;
  opacity: 0; animation: fadeUp 0.9s 0.65s ease forwards;
}
.hero-line {
  width: 60px; height: 1px; background: var(--gold);
  margin: 28px 0;
  opacity: 0; animation: fadeUp 0.9s 0.8s ease forwards;
}
.hero-scroll {
  position: absolute; bottom: 42px; right: 6%; z-index: 2;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeIn 1s 1.2s ease forwards;
}
.hero-scroll::before {
  content: '';
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s 1.5s ease infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.3); }
}

/* ── GALLERY SECTION ── */
.gallery-section { padding: 100px 6% 80px; }

.gallery-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 56px;
  border-bottom: 1px solid var(--border); padding-bottom: 28px;
}
.gallery-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300;
  letter-spacing: 0.04em;
}
.gallery-count {
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}

/* FILTERS */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 52px;
}
.filter-btn {
  padding: 9px 22px; border-radius: 50px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: none; transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--cream); }
.filter-btn.active {
  background: var(--gold); border-color: var(--gold);
  color: var(--bg); font-weight: 500;
}

/* MASONRY GRID */
.gallery-grid {
  columns: 4 280px; gap: 16px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 16px;
  position: relative; overflow: hidden;
  border-radius: var(--r);
  cursor: none;
  opacity: 1; transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item.hidden { opacity: 0; transform: scale(0.95); pointer-events: none; height: 0; margin: 0; overflow: hidden; }
.gallery-item img {
  width: 100%; display: block;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--cream); letter-spacing: 0.04em;
  transform: translateY(10px); transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-overlay h3 { transform: translateY(0); }
.gallery-overlay span {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px;
  transform: translateY(10px); transition: transform 0.4s 0.05s ease;
}
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

.gallery-item .zoom-icon {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(8,8,8,0.7); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 0.85rem;
}
.gallery-item:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(4,4,4,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-img-wrap {
  position: relative; max-width: 82vw; max-height: 86vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 86vh;
  object-fit: contain; border-radius: var(--r);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
  transform: scale(0.94);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.lightbox.open .lightbox-img-wrap img { transform: scale(1); }

.lightbox-info {
  position: absolute; bottom: -50px; left: 0;
  display: flex; align-items: baseline; gap: 16px;
}
.lightbox-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--cream);
}
.lightbox-info span {
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
}

.lb-close {
  position: fixed; top: 28px; right: 36px;
  font-size: 1.6rem; color: var(--muted); background: none; border: none;
  cursor: none; transition: color 0.3s;
  line-height: 1;
}
.lb-close:hover { color: var(--cream); }

.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid var(--border); color: var(--muted);
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: all 0.3s;
  font-size: 1.1rem;
}
.lb-prev { left: 28px; }
.lb-next { right: 28px; }
.lb-prev:hover, .lb-next:hover {
  border-color: var(--gold); color: var(--cream);
  background: rgba(201,163,90,0.08);
}

.lb-counter {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.2em; color: var(--muted);
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 100px 6%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  border-top: 1px solid var(--border);
}
.about-img {
  position: relative;
}
.about-img img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--r); filter: grayscale(20%);
}
.about-img-frame {
  position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(201,163,90,0.3); border-radius: var(--r);
  pointer-events: none;
}
.about-label {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300;
  line-height: 1.1; margin-bottom: 24px;
}
.about-title em { font-style: italic; color: var(--gold); }
.about-body {
  color: var(--muted); font-size: 0.93rem; line-height: 1.85;
  max-width: 460px;
}
.about-body p { margin-bottom: 16px; }
.about-divider {
  width: 40px; height: 1px; background: var(--gold);
  margin: 28px 0;
}
.about-stat { display: flex; gap: 40px; margin-top: 36px; }
.stat-item strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 300; color: var(--cream);
  display: block; line-height: 1;
}
.stat-item span {
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}

/* ── CONTACT / FOOTER ── */
footer {
  padding: 70px 6% 40px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.footer-brand .nav-logo { font-size: 1.7rem; display: block; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-contact h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300; margin-bottom: 20px;
}
.footer-contact a {
  display: block; color: var(--muted); text-decoration: none;
  font-size: 0.88rem; margin-bottom: 10px; transition: color 0.3s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  grid-column: 1/-1; border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .gallery-grid { columns: 2 200px; }
  .about-section { grid-template-columns: 1fr; gap: 48px; }
  footer { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 6rem); }
  .hero-featured { width: 100%; opacity: 0.15; }
}
@media (max-width: 580px) {
  .gallery-grid { columns: 2 140px; gap: 10px; }
  .gallery-section { padding: 70px 4% 60px; }
  nav { padding: 20px 4%; }
  .nav-links { display: none; }
  .hero { padding: 0 4% 10%; }
  footer { padding: 50px 4% 30px; }
  .hero-scroll { display: none; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ── LIGHTBOX INFO BUTTON ── */
.lb-info-btn {
  position: fixed; top: 28px; right: 88px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400; font-style: italic;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: all 0.3s ease;
  z-index: 510;
}
.lb-info-btn:hover,
.lb-info-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,163,90,0.08);
}

/* ── LIGHTBOX TECH OVERLAY ── */
.lb-tech-overlay {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: min(340px, 85vw);
  background: rgba(10,10,10,0.97);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 72px 36px 48px;
  display: flex; flex-direction: column; justify-content: center;
  z-index: 520;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.lb-tech-overlay.open {
  transform: translateX(0);
}
.lb-tech-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none;
  color: var(--muted); font-size: 1rem;
  cursor: none; transition: color 0.3s;
}
.lb-tech-close:hover { color: var(--cream); }

.lb-tech-label {
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.lb-tech-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300;
  color: var(--cream); line-height: 1.2;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.lb-tech-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 22px;
}
.lb-tech-list li {
  display: flex; flex-direction: column; gap: 4px;
}
.lb-tech-list li span {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.lb-tech-list li strong {
  font-size: 0.95rem; font-weight: 400;
  color: var(--cream);
}
