:root {
  --bg: #f6f2ec;
  --bg-alt: #efe9e0;
  --ink: #2b241e;
  --ink-soft: #5c5349;
  --line: #ddd4c7;
  --accent: #8a6a52;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem);
  background: rgba(246, 242, 236, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  padding: clamp(4rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 8vh, 5rem);
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
}

.hero-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  letter-spacing: 0.02em;
}

/* Gallery */
.gallery-section {
  padding: 0 clamp(1rem, 3.5vw, 3rem) clamp(3rem, 8vh, 5rem);
}

.gallery {
  columns: 1;
  column-gap: clamp(1rem, 2vw, 1.75rem);
}

@media (min-width: 640px) {
  .gallery { columns: 2; }
}

@media (min-width: 1080px) {
  .gallery { columns: 3; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-alt);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.015);
}

/* About */
.about-section {
  padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 4vw, 3.5rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  max-width: 640px;
  margin: 0 auto;
}

.about-section h2,
.contact-section h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.about-inner p {
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}

.about-inner p:last-child { margin-bottom: 0; }

/* Contact */
.contact-section {
  padding: clamp(3.5rem, 10vh, 6rem) clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
}

.contact-section p {
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto 1.75rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
}

.contact-links a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 17, 14, 0.94);
  padding: clamp(1rem, 4vw, 3rem);
}

.lightbox.open { display: flex; }

.lb-frame {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.lb-frame img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lb-caption {
  margin: 0;
  color: #d9d0c4;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none;
  border: none;
  color: #efe9e0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.lb-close {
  top: clamp(0.75rem, 3vw, 1.75rem);
  right: clamp(0.75rem, 3vw, 1.75rem);
  font-size: 2.2rem;
  font-weight: 300;
}

.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 0.5rem 0.9rem;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.lb-prev:hover, .lb-next:hover { opacity: 1; }

.lb-prev { left: clamp(0.25rem, 2vw, 1rem); }
.lb-next { right: clamp(0.25rem, 2vw, 1rem); }

@media (max-width: 640px) {
  .lb-prev, .lb-next { font-size: 2.2rem; padding: 0.4rem 0.6rem; }
}
