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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: #fff;
  color: #111;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* ─── GLOBAL CENTERING ─── */
nav,
.page-intro,
.filter-bar,
.photo-grid,
.about-wrap,
.contact-wrap,
.legal-wrap,
.legal-section,
.page-header,
footer {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── NAV ─── */
nav {
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: #111; }

/* ─── PAGE INTRO ─── */
.page-intro {
  padding: 56px 48px 40px;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.page-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.page-intro .count {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
}

/* ─── FILTER ─── */
.filter-bar {
  padding: 20px 48px;
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}

.filter-btn {
  background: none;
  border: none;
  border-right: 1px solid #e8e8e8;
  color: #999;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:last-child { border-right: none; }
.filter-btn:hover { color: #111; background: #f0f0f0; }
.filter-btn.active { color: #111; font-weight: 400; }

/* ─── GRID ─── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px 48px 64px;
}

.grid-item {
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  position: relative;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s;
}

.grid-item:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 36px;
  cursor: pointer;
  padding: 20px 24px;
  transition: color 0.2s;
  font-family: 'Cormorant Garamond', serif;
}
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-prev:hover, .lightbox-next:hover { color: #fff; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
}

/* ─── EMPTY STATE ─── */
.empty-state {
  grid-column: 1 / -1;
  padding: 80px;
  text-align: center;
  color: #888;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  background: #fff;
}

/* ─── ABOUT ─── */
.about-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 48px 80px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

.about-content {
  padding-top: 8px;
}

.about-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.about-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-content p:first-of-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-style: italic;
  color: #333;
  line-height: 1.6;
}

/* ─── CONTACT ─── */
.contact-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 48px 80px;
}

.contact-wrap h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}

.contact-info dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
  margin-top: 28px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { font-size: 15px; color: #333; }
.contact-info dd a:hover { color: #111; }

form { display: flex; flex-direction: column; gap: 0; }

form input,
form textarea {
  background: none;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  color: #111;
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
  margin-bottom: 4px;
}
form input:focus,
form textarea:focus { border-bottom-color: #111; }
form textarea { min-height: 100px; margin-bottom: 24px; }

.btn {
  display: inline-block;
  background: #111;
  color: #fff;
  border: none;
  padding: 13px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.7; }

/* ─── LEGAL ─── */
.legal-wrap {
  max-width: 620px;
  padding: 64px 48px 80px;
}

.legal-wrap h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 48px;
}

.legal-wrap dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin-top: 28px;
  margin-bottom: 6px;
}
.legal-wrap dt:first-child { margin-top: 0; }
.legal-wrap dd { font-size: 15px; color: #333; line-height: 1.7; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid #e8e8e8;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #888;
  gap: 16px;
}
footer a:hover { color: #111; }
.footer-note {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #999;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 24px; }
  .page-intro, .filter-bar { padding-left: 24px; padding-right: 24px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
  .about-photo { aspect-ratio: 4/3; }
  .contact-wrap { padding: 48px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 20px 24px; }
}

@media (max-width: 540px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .legal-wrap { padding: 48px 24px; }
}
