/* ---------- Variables ---------- */
:root {
  --bg: #fbfaf8;
  --bg-alt: #f2efe9;
  --text: #000000;
  --text-muted: rgba(0,0,0,0.62);
  --accent: #c9754f;
  --accent-dark: #a85f3d;
  --border: #e4e0d8;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

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

h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,250,248,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--text); }

.nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--text);
  border-radius: 30px;
  color: var(--text) !important;
}
.nav-cta:hover { background: var(--text); color: var(--bg) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 60px;
}

.hero-content { max-width: 820px; }

.hero-mission {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-text {
  padding: 0;
  border-radius: 0;
  color: var(--text);
  border-bottom: 1px solid var(--text);
}
.btn-text:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- Sections ---------- */
.section { padding: 100px 24px; scroll-margin-top: 90px; }
.section-alt { background: var(--bg-alt); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 48px;
}

/* ---------- Gallery (staggered / masonry) ---------- */
.gallery {
  column-count: 3;
  column-gap: 22px;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
}

/* Featured gallery: fewer, larger tiles that fill the section */
.gallery-featured {
  column-count: 2;
  column-gap: 32px;
}
.gallery-featured .gallery-item {
  margin-bottom: 32px;
  border-radius: 10px;
}
.gallery-featured .play-hint {
  width: 42px;
  height: 42px;
  font-size: 0.95rem;
  top: 20px;
  right: 20px;
}
.gallery-featured .gallery-caption {
  padding: 54px 24px 22px;
}
.gallery-featured .cap-title { font-size: 1.15rem; }
.gallery-featured .cap-tag { font-size: 0.8rem; }

.gallery-media {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-media { transform: scale(1.03); }

.play-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.gallery-item:hover .play-hint { opacity: 0; transform: scale(0.8); }

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.cap-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Instagram link tiles (no local media, fixed aspect ratio) */
.ig-tile {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%);
  color: #fff;
  transition: transform 0.5s ease;
}
.gallery-item:hover .ig-tile { transform: scale(1.03); }

.ig-icon { width: 34px; height: 34px; }

.ig-cta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cap-tag {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-lead {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 18px;
}
.about-text p:not(.about-lead) { color: var(--text-muted); }

.about-media {
  border-radius: 8px;
  overflow: hidden;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Contact ---------- */
.contact-inner { max-width: 620px; }

.contact-form { margin-top: 12px; }
.hidden-field { display: none; }

.form-row { margin-bottom: 26px; }
.form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 2px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn { border: none; cursor: pointer; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.site-footer p + p { margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gallery { column-count: 2; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; height: 300px; max-height: 340px; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
}

@media (max-width: 700px) {
  .gallery-featured { column-count: 1; }
}

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

/* Touch devices: no hover state, so keep the play hint visible as a tap cue */
@media (hover: none) {
  .play-hint { opacity: 0.9; }
}

/* ---------- Lightbox (click-to-play with sound) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,14,12,0.92);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 900px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-video {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 8px;
  background: #000;
  display: block;
}

.lightbox-caption {
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.85;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 600px) {
  .lightbox-close { top: -40px; }
}
