:root {
  --bg: #0b0b0c;
  --bg-soft: #121214;
  --ink: #f2efe8;
  --muted: #8f8b83;
  --hairline: rgba(255, 255, 255, 0.09);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(255,255,255,.18); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 2.2rem;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  z-index: 50;
}
.brand {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500;
  letter-spacing: .04em; color: var(--ink); text-decoration: none;
}
.links a {
  color: var(--muted); text-decoration: none; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; margin-left: 2rem;
  transition: color .25s;
}
.links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 6rem 1.5rem 3rem;
  background: radial-gradient(ellipse 80% 55% at 50% 38%, rgba(120, 80, 160, 0.14), transparent 70%);
}
.kicker {
  font-size: .78rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.6rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 1.02; letter-spacing: .01em;
}
.tagline {
  margin-top: 1.8rem; max-width: 34rem;
  color: var(--muted); font-size: 1.02rem; font-weight: 300;
}
.scroll-cue {
  margin-top: 3.2rem; color: var(--muted); text-decoration: none;
  font-size: 1.4rem; animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); opacity:.5 } 50% { transform: translateY(8px); opacity:1 } }

/* ---------- gallery ---------- */
.gallery-section { padding: 5rem 2.2rem 2rem; max-width: 1400px; margin: 0 auto; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1.1rem; margin-bottom: 2.4rem;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 500; font-size: 2.1rem; letter-spacing: .02em;
}
.count { color: var(--muted); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }

.grid { columns: 3; column-gap: 1.4rem; }
@media (max-width: 900px) { .grid { columns: 2; } }
@media (max-width: 560px) { .grid { columns: 1; } }

.card {
  break-inside: avoid; margin-bottom: 1.4rem;
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--bg-soft);
  border: 1px solid transparent;
  transition: border-color .3s;
}
.card img {
  width: 100%; display: block;
  transition: transform .7s cubic-bezier(.2,.6,.2,1), filter .5s;
}
.card:hover img { transform: scale(1.045); }
.card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 45%);
  opacity: 0; transition: opacity .35s;
  display: flex; align-items: flex-end; padding: 1.1rem 1.2rem;
}
.card:hover .veil { opacity: 1; }
.veil span {
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: .03em;
  transform: translateY(6px); transition: transform .35s;
}
.card:hover .veil span { transform: translateY(0); }

/* ---------- about / contact ---------- */
.about, .contact {
  max-width: 46rem; margin: 0 auto; padding: 5rem 1.5rem 1rem; text-align: center;
}
.about h2, .contact h2 {
  font-family: var(--serif); font-weight: 500; font-size: 2.1rem; margin-bottom: 1.6rem;
}
.about-body p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.02rem; }
.about-body p:first-child { color: var(--ink); font-size: 1.12rem; }
.contact p { color: var(--muted); margin-bottom: .8rem; }
.email {
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--hairline);
  transition: border-color .25s;
}
.email:hover { border-color: var(--ink); }

footer {
  text-align: center; padding: 4rem 1.5rem 2.5rem;
  color: var(--muted); font-size: .78rem; letter-spacing: .08em;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 6, 0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-figure {
  max-width: min(92vw, 1100px); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center;
}
.lb-figure img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.lb-figure figcaption {
  display: flex; justify-content: space-between; width: 100%;
  padding-top: 1rem; color: var(--muted); font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
}
#lb-title { font-family: var(--serif); font-size: 1.15rem; text-transform: none; letter-spacing: .03em; color: var(--ink); }

.lightbox button {
  position: absolute; background: none; border: none; color: var(--ink);
  font-size: 2rem; cursor: pointer; padding: 1rem; opacity: .65;
  transition: opacity .2s; font-family: var(--sans); font-weight: 300;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: .6rem; right: 1.2rem; font-size: 1.6rem; }
.lb-prev { left: .6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .6rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev { left: 0; } .lb-next { right: 0; } }
@media (max-width: 560px) {
  .nav { padding: .85rem 1.1rem; }
  .brand { font-size: 1.05rem; white-space: nowrap; }
  .links a { margin-left: 1rem; font-size: .7rem; }
}
