/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

:root {
  --bg:        #111009;
  --bg-2:      #161410;
  --bg-3:      #1B1914;
  --gold:      #C9A843;
  --gold-lt:   #E8D5A3;
  --gold-dk:   #7A5F10;
  --gold-grad: linear-gradient(135deg, #7A5F10 0%, #E8D5A3 42%, #C9A843 70%, #7A5F10 100%);
  --text:      #F0EAD6;
  --muted:     #8A8070;
  --palm:      #1E2518;
  --font-s:    'Cormorant Garamond', Georgia, serif;
  --font-u:    'Montserrat', Arial, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-s);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.6rem 3.5rem;
  transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(12, 11, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 3.5rem;
  border-color: rgba(201, 168, 67, 0.18);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.nav__logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(201, 168, 67, 0.25));
  transition: filter 0.3s ease;
}
.nav__logo img:hover {
  filter: drop-shadow(0 0 16px rgba(201, 168, 67, 0.5));
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2.6rem;
}

.nav__links a {
  font-family: var(--font-u);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 1px;
  background: var(--gold);
  transition: left 0.35s ease, right 0.35s ease;
}

.nav__links a:hover {
  color: var(--gold-lt);
}
.nav__links a:hover::after {
  left: 0;
  right: 0;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, #201B11 0%, #131109 55%, #090807 100%);
  overflow: hidden;
}

/* subtle noise grain overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Corner palm trees */
.palm-wrap {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.palm-wrap--tl { top: -14px; left: -14px; width: 280px; transform: scaleX(-1); }
.palm-wrap--tr { top: -14px; right: -14px; width: 280px; }
.palm-wrap--bl { bottom: -14px; left: -14px; width: 210px; transform: scaleX(-1) scaleY(-1); }
.palm-wrap--br { bottom: -14px; right: -14px; width: 210px; transform: scaleY(-1); }
.palm-wrap svg { width: 100%; height: auto; display: block; }

/* 4-pointed star accents */
.star {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.star::before {
  content: '';
  display: block;
  background: var(--gold);
  clip-path: polygon(50% 0%,54% 46%,100% 50%,54% 54%,50% 100%,46% 54%,0% 50%,46% 46%);
}
.star--a { top: 88px; left: 100px; }
.star--a::before { width: 22px; height: 22px; opacity: 0.45; }
.star--b { top: 88px; right: 100px; }
.star--b::before { width: 22px; height: 22px; opacity: 0.45; }
.star--c { bottom: 100px; right: 60px; }
.star--c::before { width: 30px; height: 30px; opacity: 0.35; }

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo-wrap {
  margin-bottom: 2.8rem;
}
.hero__logo {
  height: 155px;
  width: auto;
  filter:
    drop-shadow(0 0 28px rgba(201, 168, 67, 0.45))
    drop-shadow(0 0 70px rgba(201, 168, 67, 0.15));
}

.hero__name {
  font-family: var(--font-s);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.2rem;
  padding-right: 0.38em; /* offset letter-spacing on last char */
}

.hero__crown {
  font-family: var(--font-u);
  font-size: clamp(0.6rem, 1.4vw, 0.8rem);
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-lt);
  padding-right: 0.45em;
  margin-bottom: 2.8rem;
}

.hero__tagline {
  font-family: var(--font-s);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-top: 2.8rem;
  margin-bottom: 0.85rem;
}

.hero__sub {
  font-family: var(--font-u);
  font-size: clamp(0.55rem, 1vw, 0.68rem);
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 0.38em;
}

/* === DIVIDER === */
.divider {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  max-width: 380px;
}
.divider--sm { max-width: 260px; }
.divider--lg { max-width: 500px; }

.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.7;
}
.divider__gem {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(201, 168, 67, 0.6);
}

/* === SCROLL INDICATOR === */
.scroll-cue {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.scroll-cue.fi {
  animation-name: fi-scroll-cue;
}
@keyframes fi-scroll-cue {
  from { opacity: 0; transform: translateX(-50%) translateY(22px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-cue span {
  font-family: var(--font-u);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue__bar {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold-lt), transparent);
  transform-origin: top;
  animation: bar-drop 2.2s ease-in-out infinite;
}
@keyframes bar-drop {
  0%   { opacity: 0; transform: scaleY(0); }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}

/* === SECTIONS === */
.section {
  position: relative;
  padding: 9rem 2rem;
  overflow: hidden;
}
.section--alt  { background: var(--bg-2); }
.section--alt2 { background: var(--bg-3); }
.section--foot { background: var(--bg); padding: 7rem 2rem 4rem; }

/* subtle top border on sections */
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,67,0.2), transparent);
}

.section__inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.section__numeral {
  font-family: var(--font-s);
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  color: var(--gold-dk);
  font-style: italic;
  margin-bottom: 1.6rem;
  padding-right: 0.45em;
}

.section__heading {
  font-family: var(--font-s);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  padding-right: 0.18em;
  line-height: 1.15;
}

.section__label {
  font-family: var(--font-u);
  font-size: clamp(0.58rem, 1.1vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.8rem 0;
  padding-right: 0.42em;
}

.section__body {
  font-family: var(--font-s);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 300;
  line-height: 2.1;
  color: var(--muted);
  margin-top: 2.2rem;
  max-width: 660px;
}

/* highlight first letter */
.section__body::first-letter {
  font-size: 2em;
  line-height: 0.85;
  float: left;
  margin-right: 0.12em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* section palm accents */
.section .palm-wrap {
  opacity: 0.22;
  filter: none;
}
.section .palm-wrap--tl { width: 190px; }
.section .palm-wrap--tr { width: 190px; }
.section .palm-wrap--bl { width: 150px; }
.section .palm-wrap--br { width: 150px; }

/* === CONNECT / FOOTER === */
.connect__logo {
  height: 88px;
  width: auto;
  margin-bottom: 2.2rem;
  filter: drop-shadow(0 0 18px rgba(201,168,67,0.3));
}

.connect__tagline {
  font-family: var(--font-s);
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.connect__sub {
  font-family: var(--font-u);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
  padding-right: 0.38em;
}

.connect__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
  margin: 2.5rem 0 3rem;
  flex-wrap: wrap;
}

.connect__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-u);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.connect__link:hover { color: var(--gold); }
.connect__link:hover .connect__icon { stroke: var(--gold); }

.connect__icon {
  width: 19px;
  height: 19px;
  stroke: var(--muted);
  transition: stroke 0.3s ease;
  fill: none;
  flex-shrink: 0;
}

.connect__copy {
  font-family: var(--font-u);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-top: 1rem;
  padding-right: 0.22em;
}

.connect__credit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--font-u);
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3A3428;
  margin-top: 2rem;
}

.credit__heart {
  width: 11px;
  height: 11px;
  fill: #7A3020;
  flex-shrink: 0;
  animation: heartbeat 2.8s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.25); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.15); }
  56%       { transform: scale(1); }
}

.credit__cmg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #3A3428;
  text-decoration: none;
  transition: color 0.3s ease;
}
.credit__cmg:hover { color: var(--gold-dk); }

.credit__logo {
  height: 16px;
  width: auto;
  display: block;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.credit__cmg:hover .credit__logo {
  opacity: 0.75;
  filter: grayscale(0.4);
}

/* === GALLERY === */
.section--gallery {
  background: var(--bg);
  padding-bottom: 7rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  padding: 0 2rem;
}

.gallery__item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
  border: 1px solid rgba(201, 168, 67, 0.12);
  cursor: pointer;
  padding: 0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, opacity 0.4s ease;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 10, 6, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item:hover::after {
  opacity: 1;
}

.gallery__cta {
  text-align: center;
  margin-top: 3rem;
}

.gallery__ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-u);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border: 1px solid rgba(201, 168, 67, 0.25);
  transition: color 0.3s ease, border-color 0.3s ease;
  padding-right: calc(2.2rem + 0.32em);
}
.gallery__ig-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}
.gallery__ig-link:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 67, 0.55);
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 5, 3, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(201, 168, 67, 0.12);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lightbox__img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.lightbox__close {
  position: fixed;
  top: 1.8rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  transition: color 0.2s ease;
  z-index: 201;
}
.lightbox__close:hover { color: var(--gold); }

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(201, 168, 67, 0.2);
  color: var(--muted);
  cursor: pointer;
  padding: 0.9rem 0.75rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  z-index: 201;
}
.lightbox__nav svg { width: 22px; height: 22px; display: block; }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }
.lightbox__nav:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 67, 0.5);
  background: rgba(201, 168, 67, 0.06);
}

.lightbox__counter {
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-u);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
}

/* === REVEAL ANIMATIONS === */
.fi {
  opacity: 0;
  transform: translateY(22px);
  animation: fi 1s ease forwards;
}
.fi-1 { animation-delay: 0.15s; }
.fi-2 { animation-delay: 0.35s; }
.fi-3 { animation-delay: 0.55s; }
.fi-4 { animation-delay: 0.75s; }
.fi-5 { animation-delay: 0.95s; }
.fi-6 { animation-delay: 1.15s; }

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.34s; }
.reveal-d4 { transition-delay: 0.46s; }
.reveal-d5 { transition-delay: 0.58s; }

/* === HAMBURGER === */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  z-index: 151;
  position: relative;
}
.nav__hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s ease;
}
.nav__hamburger:hover span { background: var(--gold-lt); }
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--gold); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--gold); }

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(10, 9, 6, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mobile-menu__link {
  font-family: var(--font-s);
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.75rem 1rem;
  padding-right: calc(1rem + 0.2em);
  opacity: 0;
  transform: translateY(16px);
  transition: color 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu__link:hover { color: var(--gold-lt); }

.mobile-menu__close {
  position: absolute;
  top: 1.4rem;
  right: 1.8rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mobile-menu__close span {
  position: absolute;
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.mobile-menu__close span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu__close span:nth-child(2) { transform: rotate(-45deg); }
.mobile-menu__close:hover span { background: var(--gold-lt); }

.mobile-menu__copy {
  position: absolute;
  bottom: 1.8rem;
  font-family: var(--font-s);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav { padding: 1.3rem 2rem; }
  .nav.scrolled { padding: 0.9rem 2rem; }
  .nav__links { gap: 1.8rem; }
  .palm-wrap--tl,
  .palm-wrap--tr { width: 190px; }
  .palm-wrap--bl,
  .palm-wrap--br { width: 150px; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .hero__logo { height: 110px; }
  .section { padding: 6rem 1.5rem; }
  .star--a, .star--b { display: none; }
  .palm-wrap--tl,
  .palm-wrap--tr { width: 140px; }
  .palm-wrap--bl,
  .palm-wrap--br { width: 108px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 0 1.5rem; }
}
