/* ── Brooklyn Beatties · Grand Tour 2026 ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --bg:        #1a1a1f;
  --bg2:       #22222a;
  --bg3:       #2a2a35;
  --accent:    #5b9bd5;
  --accent2:   #7ab8e8;
  --text:      #e8e8ec;
  --muted:     #9090a0;
  --border:    #33333f;
  --radius:    8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }

/* ── Password Gate ── */
#gate {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
#gate h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text);
}
#gate p { color: var(--muted); font-size: 0.95rem; }
#pw-input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  font-size: 1rem;
  width: 260px;
  outline: none;
}
#pw-input:focus { border-color: var(--accent); }
#pw-btn {
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#pw-btn:hover { background: var(--accent2); }
#pw-error {
  display: none;
  color: #e07070;
  font-size: 0.9rem;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26,26,31,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 1.5rem;
}
.nav-location {
  font-size: 0.8rem;
  color: var(--accent2);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-location::before { content: '📍 '; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ── Page title bar (replaces hero banners) ── */
.page-title-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem 2rem;
}
.page-title-bar h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--text);
  max-width: 1060px;
  margin: 0 auto;
}

/* ── Container ── */
.container { max-width: 1060px; margin: 0 auto; padding: 0 2rem; }

/* ── Location section heading ── */
.location-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 1.5rem;
}
.location-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}
.location-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Masonry photo grid ── */
.masonry-grid {
  margin-bottom: 2rem;
}
.masonry-grid img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  cursor: zoom-in;
  transition: opacity 0.2s;
  display: block;
}
.masonry-grid img:hover { opacity: 0.85; }

/* ── Video grid ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg2);
}
.video-wrap iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}
.video-caption {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Trip updates ── */
.updates-feed { padding: 2rem 0 4rem; }
.update-entry {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.update-entry:last-child { border-bottom: none; }
.update-date {
  padding-top: 0.25rem;
  text-align: right;
}
.update-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.update-date .month-year {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.update-location {
  font-size: 0.78rem;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.update-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.update-body p { color: #c0c0cc; margin-bottom: 1rem; line-height: 1.7; }
.update-photos {
  margin-top: 1rem;
}
.update-photos img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  display: block;
}
.update-video {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.update-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

/* ── Section intro text ── */
.section-intro {
  color: var(--muted);
  max-width: 620px;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Lightbox ── */
#lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
}
#lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  font-size: 2rem; color: #fff; cursor: pointer;
  line-height: 1; background: none; border: none;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; }
  .page-title-bar { padding: 1.5rem 1rem 1.25rem; }
  .update-entry { grid-template-columns: 1fr; gap: 0.4rem; }
  .update-date { text-align: left; display: flex; align-items: baseline; gap: 0.5rem; }
  .update-date .day { font-size: 1.4rem; }
  .video-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .masonry-grid img { transition: none; }
}
