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

:root {
  --black: #1e1c1a;
  --white: #faf9f7;
  --cream: #f2efe9;
  --warm-gray: #e8e4de;
  --gray: #999;
  --text-muted: #777;
  --accent: #9EA89A;
  --serif: 'Cormorant', Georgia, serif;
  --sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

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

/* ── NAV (matches index) ── */
.gallery-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background 0.4s, padding 0.4s;
}

.gallery-nav.scrolled {
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 48px;
  border-bottom: 1px solid var(--warm-gray);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--white);
  transition: color 0.4s;
}

.gallery-nav.scrolled .nav-logo { color: var(--black); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 44px;
}

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

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: inline-block;
  overflow: hidden;
  position: relative;
  line-height: 1.2;
  vertical-align: middle;
}

.nav-links a .nav-cover-inner {
  display: block;
  position: relative;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-links a .nav-cover-inner::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  color: var(--accent);
  white-space: nowrap;
}

.nav-links a:hover .nav-cover-inner { transform: translateY(-100%); }

.gallery-nav.scrolled .nav-links a { color: var(--gray); }

.btn-book {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

/* ── Hamburger + Mobile drawer ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}
.gallery-nav.scrolled .hamburger span { background: var(--black); }

.mobile-drawer {
  position: fixed; top: 0; right: -100%;
  width: 100%; max-width: 460px; height: 100vh;
  background: var(--black); z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding: 80px 32px;
  transition: right 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.4);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer a {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.005em;
  line-height: 1.2;
  transition: color 0.3s, transform 0.3s;
}
.mobile-drawer a:hover { color: var(--accent); transform: translateX(4px); }
.mobile-drawer .drawer-cta {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  padding: 14px 28px;
  background: var(--accent); color: var(--white);
  border: 1px solid var(--accent);
  transition: background 0.3s, color 0.3s;
}
.mobile-drawer .drawer-cta:hover { background: var(--white); color: var(--accent); transform: none; }

.drawer-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: var(--white);
  font-size: 26px; font-family: var(--sans); font-weight: 300;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.drawer-close:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: rotate(90deg); }

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 199; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

body.drawer-open { overflow: hidden; }

.btn-book:hover {
  background: var(--white);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.25);
}

/* ── HERO ── */
.g-hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  background: var(--black);
}

.g-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  opacity: 0;
  animation: gHeroIn 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes gHeroIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.g-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.65) 100%);
}

.g-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: var(--white);
}

.g-hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(14px);
  animation: gFadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.g-hero-title {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 132px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(22px);
  animation: gFadeUp 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.g-hero-sub {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
  animation: gFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.g-divider {
  display: inline-block;
  font-weight: 300;
  opacity: 0.65;
}

@keyframes gFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.g-hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  animation: gFadeUp 1s ease 2s forwards;
}

.g-hero-scroll span {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  animation: gScrollBounce 1.8s ease-in-out infinite;
}

@keyframes gScrollBounce {
  0%, 100% { transform: rotate(45deg) translate(-3px, -3px); opacity: 0.7; }
  50%      { transform: rotate(45deg) translate(3px, 3px);   opacity: 1; }
}

/* ── VENDORS (editorial, centered) ── */
.g-vendors {
  padding: 130px 48px 110px;
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray);
  text-align: center;
}

.g-vendors-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.g-vendors-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.g-vendors-eyebrow::before, .g-vendors-eyebrow::after {
  content: ''; display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
}

.g-vendors-title {
  font-family: var(--serif-display);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin-bottom: 36px;
  color: var(--black);
}
.g-vendors-title em {
  font-family: var(--serif-romantic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.g-vendors-text {
  max-width: 720px;
  margin: 0 auto 72px;
}

.g-vendors-text p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
}

.g-readmore {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  transition: gap 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}

.g-readmore span {
  font-size: 18px;
  line-height: 1;
}

.g-readmore:hover {
  gap: 18px;
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Vendor grid — clean 3-up, no vertical label */
.g-vendors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 56px;
  border-top: 1px solid var(--warm-gray);
  padding-top: 64px;
  text-align: left;
}

.g-vendor {
  padding: 0 4px;
}

.g-vendor-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}

.g-vendor-name {
  font-family: var(--serif-display);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.005em;
  line-height: 1.25;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
  display: inline;
}

a.g-vendor-name:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* ── PHOTO GRID ── */
.g-grid-wrap {
  padding: 0 0 120px;
  background: var(--white);
}

.g-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 60px 6px 0;
  max-width: 100%;
}

.g-cell {
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4/5;
  position: relative;
  opacity: 0;
  transform: translateY(28px) scale(1.02);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.g-cell.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.g-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.97);
}

.g-cell:hover img {
  transform: scale(1.045);
  filter: brightness(1.02);
}

.g-cell.tall { aspect-ratio: 3/4; grid-row: span 1; }
.g-cell.wide { grid-column: span 2; aspect-ratio: 16/9; }

/* ── MORE STORIES ── */
.g-more {
  padding: 130px 48px 130px;
  text-align: center;
  background: var(--cream);
}

.g-more-eyebrow {
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.g-more-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 300;
  margin-bottom: 64px;
  letter-spacing: -0.01em;
}

.g-more-title em {
  font-style: italic;
  font-weight: 500;
}

.g-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.g-more-card {
  cursor: pointer;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.g-more-card:hover { transform: translateY(-4px); }

.g-more-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 24px;
}

.g-more-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  filter: brightness(0.97);
}

.g-more-card:hover .g-more-img img {
  transform: scale(1.06);
}

.g-more-card h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 2.4vw, 40px);
  font-weight: 500;
  margin-bottom: 8px;
}

.g-more-card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── FOOTER ── */
.g-footer {
  padding: 40px 48px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.g-footer .footer-logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--white);
}

.g-footer .footer-copy {
  font-size: 14px;
  color: #555;
  letter-spacing: 0.05em;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(20px);
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.ready .lightbox-img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  font-family: var(--sans);
  font-weight: 300;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 18, 16, 0.4);
  color: var(--white);
  font-family: var(--sans);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  z-index: 2;
}
.lightbox-arrow:hover {
  background: rgba(158, 168, 154, 0.6);
  border-color: var(--accent);
}
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }
.lightbox-arrow.prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-arrow.next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Gallery cells become clickable */
.g-cell { cursor: zoom-in; }

/* Body scroll lock when lightbox is open */
body.lightbox-active { overflow: hidden; }

@media (max-width: 600px) {
  .lightbox-stage { padding: 40px 16px; }
  .lightbox-arrow { width: 44px; height: 44px; font-size: 18px; }
  .lightbox-arrow.prev { left: 12px; }
  .lightbox-arrow.next { right: 12px; }
  .lightbox-close { top: 16px; right: 16px; width: 36px; height: 36px; font-size: 22px; }
  .lightbox-counter { bottom: 16px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .gallery-nav { padding: 18px 24px; }
  .gallery-nav .nav-links { display: none; }
  .gallery-nav .btn-book { padding: 10px 16px; font-size: 11px; }

  .g-vendors { padding: 80px 24px 80px; }
  .g-vendors-text { margin-bottom: 56px; }
  .g-vendors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 32px;
    padding-top: 48px;
  }

  .g-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 40px 6px 0; }
  .g-cell.wide { grid-column: span 2; }
  .g-cell { aspect-ratio: 3/4; }

  .g-more { padding: 80px 24px; }
  .g-more-grid { grid-template-columns: 1fr; gap: 36px; }

  .g-footer { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}

@media (max-width: 600px) {
  .g-hero { min-height: 600px; }
  .g-hero-eyebrow { font-size: 11px; letter-spacing: 0.32em; margin-bottom: 24px; }
  .g-hero-title { font-size: clamp(48px, 13vw, 80px); }
  .g-hero-sub { font-size: 11px; letter-spacing: 0.24em; gap: 8px; }

  .g-vendors-text p { font-size: 15px; }
  .g-vendors-grid { grid-template-columns: 1fr; gap: 32px; }
}
