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

:root {
  --black: #161513;
  --ink: #2b2a27;
  --paper: #faf9f6;
  --line: #e4e1da;
  --muted: #8a8579;
  --accent: #6a7869;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  mix-blend-mode: normal;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.solid {
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(6px);
  padding: 16px 40px;
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; }
.brand img { height: 22px; width: auto; display: block; transition: opacity .25s ease; }
.brand .logo-white { display: block; }
.brand .logo-sage { display: none; }
.site-header.solid .brand .logo-white { display: none; }
.site-header.solid .brand .logo-sage { display: block; }

.site-header.transparent .nav a { color: #fff; }

.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav a.active::after,
.nav a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  color: #fff;
  padding: 0 40px 90px;
  max-width: 760px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
}
.hero p {
  margin-top: 18px;
  font-size: 16px;
  max-width: 480px;
  opacity: 0.92;
  font-weight: 300;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background .25s ease, color .25s ease;
}
.btn-light { color: #fff; }
.btn-light:hover { background: #fff; color: var(--black); }
.btn-dark { color: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--paper); }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* ---------- Intro (home) ---------- */
.intro { background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-grid img { width: 100%; height: 620px; object-fit: cover; }
.intro-text .section-eyebrow { text-align: left; }
.intro-text h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 20px; }
.intro-text p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }

/* ---------- Preview grid (home teaser) ---------- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.preview-grid a { overflow: hidden; aspect-ratio: 3/4; }
.preview-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.preview-grid a:hover img { transform: scale(1.06); }

.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Gallery filters ---------- */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.filter-btn {
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
  font-family: 'Jost', sans-serif;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.subfilters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 50px;
  min-height: 20px;
}
.subfilter-btn {
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}
.subfilter-btn:hover { color: var(--ink); }
.subfilter-btn.active { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* ---------- Album grid ---------- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.album-card { cursor: pointer; }
.album-card .thumb-wrap { overflow: hidden; aspect-ratio: 4/5; background: #eee; }
.album-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.album-card:hover img { transform: scale(1.05); }
.album-meta { padding: 18px 2px 0; }
.album-meta .a-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; }
.album-meta .a-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.album-card.hidden { display: none; }

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: 15px;
  display: none;
}
.empty-state.show { display: block; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,10,9,0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #fff;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  padding: 14px;
  font-family: 'Jost', sans-serif;
}
.lightbox-close { top: 14px; right: 20px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 34px; }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 34px; }
.lightbox-caption {
  position: absolute; bottom: 20px; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,0.7);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- About ---------- */
.about-hero { height: 46vh; min-height: 320px; }
.about-body { padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.about-grid img { width: 100%; height: 560px; object-fit: cover; }
.about-grid h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 22px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.stat-row { display: flex; gap: 46px; margin-top: 36px; }
.stat-row .num { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: var(--ink); }
.stat-row .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-hero { height: 40vh; min-height: 280px; }
.contact-body { padding: 90px 0 120px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-card {
  border: 1px solid var(--line);
  padding: 40px;
  text-align: center;
}
.contact-card .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-card .value { font-family: 'Cormorant Garamond', serif; font-size: 26px; margin-bottom: 18px; }
.availability-box {
  border: 1px solid var(--line);
  padding: 40px;
}
.availability-box h3 { font-size: 22px; margin-bottom: 14px; }
.availability-box p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; }

/* ---------- Footer ---------- */
footer {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
footer .f-brand { display: flex; justify-content: center; }
footer .f-brand img { height: 26px; width: auto; }
footer .f-links { margin-top: 14px; display: flex; gap: 22px; justify-content: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
footer .f-copy { margin-top: 20px; font-size: 11px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-grid img, .about-grid img { height: 380px; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .album-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .nav { position: fixed; top: 0; right: -280px; height: 100vh; width: 260px;
    background: var(--paper); flex-direction: column; padding: 100px 32px; gap: 26px;
    transition: right .3s ease; box-shadow: -4px 0 24px rgba(0,0,0,0.08); }
  .nav.open { right: 0; }
  .nav a { color: var(--ink) !important; font-size: 14px; }
  .nav-toggle {
    display: block; background: none; border: none; cursor: pointer;
    width: 26px; height: 18px; position: relative; z-index: 200;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: ''; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  }
  .nav-toggle span { top: 8px; }
  .nav-toggle::before { top: 0; }
  .nav-toggle::after { top: 16px; }
  .site-header.transparent .nav-toggle { color: #fff; }
  .site-header.transparent .nav.open a { color: var(--ink) !important; }
}
@media (max-width: 560px) {
  .album-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 70px 0; }
}
