@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0b0c0e;
  --bg-elevated: #151719;
  --text: #ede9e2;
  --text-muted: #9a9a96;
  --gold: #d8a54b;
  --teal: #4c7a82;
  --border: rgba(255, 255, 255, 0.09);
  --max-width: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  margin: 0;
}

/* Header / nav */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.wordmark-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.wordmark span { color: var(--gold); }

.site-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.site-nav a { transition: color 0.2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--text); }

/* Hero */

.hero {
  position: relative;
  height: 78vh;
  min-height: 420px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.22) 38%, rgba(0, 0, 0, 0) 62%);
  z-index: 1;
  pointer-events: none;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 2;
  max-width: 560px;
}

.hero-caption h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-caption p {
  color: rgba(237, 233, 226, 0.78);
  font-weight: 300;
  margin-top: 0.6rem;
  font-size: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Filters */

.filters {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 2.5rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-pill {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover { border-color: var(--gold); color: var(--text); }

.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130a;
  font-weight: 500;
}

/* Gallery */

.gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2.5rem 4rem;
  column-count: 3;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-item .tag {
  display: none;
  background: rgba(11,12,14,0.72);
  color: var(--text);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .tag { opacity: 1; }

.gallery-item .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.8rem 0.6rem;
  background: linear-gradient(180deg, rgba(11,12,14,0) 0%, rgba(11,12,14,0.82) 100%);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.35;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.gallery-item:hover .caption { opacity: 1; }

.gallery-item.hidden { display: none; }

.gallery-item img { cursor: zoom-in; }

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 12, 14, 0.96);
  z-index: 100;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 3rem 2rem;
  cursor: zoom-out;
}

.lightbox.active { display: flex; }

.lightbox-image-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 78vh;
  line-height: 0;
}

.lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.watermark {
  position: absolute;
  bottom: 0.7rem;
  left: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.lightbox .watermark {
  bottom: 1.2rem;
  left: 1.5rem;
  font-size: 0.9rem;
}

.lightbox-caption {
  color: var(--text-muted);
  margin-top: 1.2rem;
  font-size: 0.95rem;
  text-align: center;
  max-width: 90vw;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
}

.lightbox-close:hover { color: var(--gold); }

@media (max-width: 600px) {
  .lightbox { padding: 1.5rem 1rem; }
  .lightbox-close { top: 0.75rem; right: 1rem; }
}

.empty-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  padding: 3rem 0;
  text-align: center;
  display: none;
}

/* About page */

.about-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  text-align: center;
}

.about-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-photo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: var(--bg-elevated);
  display: block;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.about-wordmark-logo {
  width: 170px;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.about-wrap h1 { font-size: 2.2rem; margin-bottom: 1.75rem; }

.about-wrap p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  text-align: left;
}

.about-wrap p strong { color: var(--text); font-weight: 500; }

/* Contact page */

.contact-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.contact-wrap h1 { font-size: 2.2rem; text-align: center; }

.contact-wrap > p {
  text-align: center;
  color: var(--text-muted);
  margin: 1rem 0 2.5rem;
}

.field { margin-bottom: 1.6rem; }

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.field input, .field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea { min-height: 140px; resize: vertical; }

.submit-btn {
  background: var(--gold);
  color: #17130a;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: block;
  margin: 0.5rem auto 0;
  transition: opacity 0.2s ease;
}

.submit-btn:hover { opacity: 0.88; }

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1.2rem;
}

/* honeypot field, hidden from real visitors */
.hp-field { position: absolute; left: -9999px; }

/* Footer */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer .socials { display: flex; gap: 1.2rem; }
.site-footer .socials a:hover { color: var(--gold); }

/* Responsive */

@media (max-width: 900px) {
  .gallery { column-count: 2; }
}

@media (max-width: 600px) {
  .site-header { padding: 1.25rem 1.25rem; }
  .site-nav { gap: 1.2rem; font-size: 0.88rem; }
  .gallery { column-count: 1; padding: 1rem 1.25rem 3rem; }
  .filters { padding: 1.75rem 1.25rem 0.25rem; }
  .hero-caption { left: 1.25rem; right: 1.25rem; bottom: 1.5rem; }
  .about-wrap, .contact-wrap { padding: 3rem 1.25rem 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Location sections (per-location curated layout) */

.locations {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2.5rem 2rem;
}

.location-section {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--border);
}

.location-section:first-child {
  border-top: none;
  padding-top: 0.5rem;
}

.location-heading {
  margin-bottom: 1.5rem;
}

.location-heading h2 {
  font-size: 1.7rem;
  color: var(--text);
}

.location-banner {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.banner-caption {
  margin: 0.5rem 0 1.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.location-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.location-grid .photo {
  display: flex;
  flex-direction: column;
}

.location-grid .photo-img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.location-grid .photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.5s ease;
}

.location-grid .photo:hover img { transform: scale(1.035); }

.location-grid .caption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.location-grid .full {
  grid-column: 1 / -1;
}

.location-grid .full-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.location-grid .full-photo img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.split-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.25rem;
  aspect-ratio: 1280 / 870;
  height: auto;
}

.split-portrait {
  flex: 0 0 44%;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
}

.split-portrait .portrait-frame {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
}

.split-portrait .portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.split-companions {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.split-companions .photo {
  flex: 1;
  margin: 0;
}

.split-companions .photo-img {
  position: relative;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.split-companions .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.split-companions .photo-img.frame-mode {
  display: grid;
  place-items: center;
  background: #000;
}

.split-companions .photo-img.frame-mode .portrait-frame {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
}

.split-companions .photo-img.frame-mode .portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.split-captions {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.25rem;
  margin-top: -0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.split-captions .split-portrait-cap { flex: 0 0 44%; }
.split-captions .split-companions-cap { flex: 1; }
.split-captions.reverse { flex-direction: row-reverse; }

.cap-sep {
  font-size: 1.4em;
  font-weight: 700;
  margin: 0 0.15em;
  display: inline-block;
  vertical-align: -0.02em;
}

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
  .split-row, .split-row.reverse { flex-direction: column; height: auto; }
  .split-portrait { flex: none; height: 20rem; }
  .split-captions, .split-captions.reverse { flex-direction: column; gap: 0.35rem; }
  .split-captions .split-portrait-cap, .split-captions .split-companions-cap { flex: none; }
}

@media (max-width: 600px) {
  .locations { padding: 1rem 1.25rem 1.5rem; }
  .location-section { padding: 2.25rem 0 2.5rem; }
}

