/* ============================================
   Cloud 9 Key West -- Immersive Visual Experience
   Scroll-driven, cinematic, pure CSS + vanilla JS
   Mobile-first, bold animations, modern luxury
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2c2c2a;
  background-color: #0a0a09;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ---------- Floating Nav ---------- */
.floating-nav {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.6rem 1.8rem;
  background: rgba(10, 10, 9, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-nav__link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.floating-nav__link:hover {
  color: rgba(250, 249, 246, 0.9);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .arrival__image {
    transform: none !important;
    opacity: 1 !important;
  }

  .arrival__letter {
    opacity: 1 !important;
    transform: none !important;
  }

  .arrival__tagline-word {
    opacity: 1 !important;
    transform: none !important;
  }

  .arrival__nine {
    animation: none !important;
  }

  .experience__slide img {
    transform: none !important;
  }

  .experience__overlay-line {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .location__reveal-line {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .details__heading--animated {
    clip-path: none !important;
    opacity: 1 !important;
  }

  .experience__watermark {
    display: none !important;
  }

  .vision__reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .floating-nav {
    opacity: 1 !important;
  }

  .details__material-item {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ============================================
   SCENE 1: THE ARRIVAL
   Full-viewport cinematic opening
   ============================================ */
.scene-arrival {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a09;
}

/* Background image with Ken Burns */
.arrival__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.arrival__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* will-change removed for mobile perf */
  transform: scale(1.12);
  opacity: 0;
  animation: arrivalImageReveal 3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes arrivalImageReveal {
  0% {
    opacity: 0;
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Gradient overlay -- dark vignette */
.arrival__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(10, 10, 9, 0.15) 0%, rgba(10, 10, 9, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 10, 9, 0.35) 0%, rgba(10, 10, 9, 0.05) 40%, rgba(10, 10, 9, 0.4) 100%);
}

/* Title */
.arrival__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.arrival__title-wrap {
  overflow: hidden;
}

.arrival__title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  color: #faf9f6;
  line-height: 0.88;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.arrival__title-line {
  display: block;
  overflow: hidden;
}

.arrival__title-line--1 {
  font-size: clamp(4.5rem, 14vw, 11rem);
}

.arrival__title-line--2 {
  font-size: clamp(5.5rem, 18vw, 14rem);
  margin-top: -0.1em;
}

/* Individual letter animation */
.arrival__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotateX(-40deg);
  /* will-change removed for mobile perf */
  animation: letterReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.7s + var(--i) * 0.07s);
}

.arrival__title-line--2 .arrival__letter {
  animation-delay: calc(1.1s + var(--i) * 0.07s);
}

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(110%) rotateX(-40deg);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* The "9" breathe animation after reveal */
.arrival__letter--nine {
  animation: letterReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             nineBreathe 6s ease-in-out 2.5s infinite;
}

@keyframes nineBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}

/* Gradient text on Cloud 9 */
.arrival__title-line--1 .arrival__letter,
.arrival__title-line--2 .arrival__letter {
  background: linear-gradient(135deg, #faf9f6 0%, #e8d5b0 50%, #faf9f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: letterReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             shimmer 8s ease-in-out 2.5s infinite;
}

.arrival__title-line--2 .arrival__letter {
  animation: letterReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             nineBreathe 6s ease-in-out 2.5s infinite,
             shimmer 8s ease-in-out 2.5s infinite;
  animation-delay: calc(1.1s + var(--i) * 0.07s), 2.5s, 2.5s;
}

.arrival__title-line--1 .arrival__letter {
  animation-delay: calc(0.7s + var(--i) * 0.07s), 2.5s;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Tagline word-by-word animation */
.arrival__tagline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.6);
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5em;
}

.arrival__tagline-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: taglineWordIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(1.6s + var(--tw) * 0.12s);
}

/* Designer credit under tagline */
.arrival__designer {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.6rem, 1vw, 0.75rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.35);
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateY(15px);
  animation: taglineWordIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 2.2s;
}

@keyframes taglineWordIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll cue */
.arrival__scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 2.8s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.arrival__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.5) 0%, transparent 100%);
  animation: scrollPulse 2.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.15; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}


/* ============================================
   SCENE 2: THE EXPERIENCE
   Scroll-driven full-viewport slideshow
   ============================================ */
.scene-experience {
  position: relative;
  height: 1100vh;
  background: #0a0a09;
}

.experience__sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

/* Cloud 9 watermark echo */
.experience__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.85;
  opacity: 0;
  transition: opacity 1.2s ease;
  /* will-change removed for mobile perf */
  mix-blend-mode: overlay;
}

.experience__watermark.is-visible {
  opacity: 1;
}

.experience__watermark-cloud {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(5rem, 15vw, 14rem);
  color: rgba(250, 249, 246, 0.06);
  letter-spacing: 0.06em;
  user-select: none;
}

.experience__watermark-nine {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(7rem, 22vw, 20rem);
  color: rgba(250, 249, 246, 0.08);
  margin-top: -0.15em;
  letter-spacing: 0.02em;
  user-select: none;
}

/* Designer credit in slideshow */
.experience__designer-credit {
  position: absolute;
  bottom: 2.5rem;
  left: 3rem;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.4s ease 0.6s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.experience__designer-credit.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.experience__designer-credit-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.25);
}

/* Slides */
.experience__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.experience__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
  transform: scale(1.03);
}

.experience__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.experience__slide.is-leaving {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.experience__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* will-change removed for mobile perf */
  transform: scale(1.04);
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.experience__slide.is-active img {
  transform: scale(1.0);
}

/* Large editorial overlay text -- clip-path reveal animation */
.experience__overlay-text {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 8%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  pointer-events: none;
  max-width: 90%;
}

.experience__overlay-line {
  display: block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2.8rem, 6vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: rgba(250, 249, 246, 0.95);
  text-shadow:
    0 2px 40px rgba(10, 10, 9, 0.6),
    0 0 80px rgba(10, 10, 9, 0.4),
    0 4px 60px rgba(10, 10, 9, 0.3);
  opacity: 0;
  transform: translateY(30px);
  clip-path: inset(100% 0 0 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.experience__overlay-line--light {
  font-style: italic;
  color: rgba(250, 249, 246, 0.6);
}

/* Stagger the lines with clip-path reveal */
.experience__slide.is-active .experience__overlay-line:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition-delay: 0.2s;
}

.experience__slide.is-active .experience__overlay-line:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition-delay: 0.38s;
}

.experience__slide.is-active .experience__overlay-line:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition-delay: 0.56s;
}

.experience__slide.is-active .experience__overlay-line:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition-delay: 0.74s;
}

/* ---------- Per-slide text positioning ---------- */

/* TOP position (slides 0, 2) -- default is already top 8% */
.experience__slide--top .experience__overlay-text {
  top: 6%;
  bottom: auto;
}

/* BOTTOM position (slides 1, 3) */
.experience__slide--bottom .experience__overlay-text {
  top: auto;
  bottom: 12%;
}

/* ---------- Dark text variant (for bright images) ---------- */
.experience__slide--dark-text .experience__overlay-line {
  color: rgba(15, 15, 12, 0.9);
  text-shadow:
    0 1px 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(255, 255, 255, 0.15);
}

.experience__slide--dark-text .experience__overlay-line--light {
  color: rgba(15, 15, 12, 0.55);
}

/* Subtle light overlay for readability on slide 3 (master suite) */
.experience__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

/* Ensure overlay text stays above the overlay */
.experience__slide--dark-text .experience__overlay-text {
  z-index: 4;
}

/* Progress bar -- gradient glow */
.experience__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(250, 249, 246, 0.06);
  z-index: 5;
}

.experience__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(232, 213, 176, 0.4) 0%, rgba(250, 249, 246, 0.6) 100%);
  transition: width 0.3s ease;
  /* will-change removed for mobile perf */
  box-shadow: 0 0 12px rgba(232, 213, 176, 0.3);
}

/* Counter */
.experience__counter {
  position: absolute;
  top: 2.5rem;
  right: 3rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(250, 249, 246, 0.4);
}

.experience__counter-current {
  color: rgba(250, 249, 246, 0.8);
  font-weight: 400;
  min-width: 1.2em;
  text-align: right;
}

.experience__counter-sep {
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(250, 249, 246, 0.2);
}


/* ============================================
   SCENE 2.5: THE VISION
   Designer philosophy section
   ============================================ */
.scene-vision {
  position: relative;
  background: #0a0a09;
  overflow: hidden;
  min-height: 80vh;
}

.vision__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vision__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.2;
  filter: saturate(0.3);
}

.vision__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(10, 10, 9, 0.2) 0%, rgba(10, 10, 9, 0.7) 100%);
}

.vision__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 8rem 3rem;
  text-align: left;
}

.vision__label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.45);
  margin-bottom: 2rem;
}

.vision__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: rgba(250, 249, 246, 0.85);
  line-height: 1.3;
  margin-bottom: 2rem;
}

.vision__body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  color: rgba(250, 249, 246, 0.5);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

.vision__attribution {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.3);
}

/* Vision reveal animation */
.vision__reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision__reveal:nth-child(1) { transition-delay: 0.1s; }
.vision__reveal:nth-child(2) { transition-delay: 0.25s; }
.vision__reveal:nth-child(3) { transition-delay: 0.4s; }
.vision__reveal:nth-child(4) { transition-delay: 0.55s; }
.vision__reveal:nth-child(5) { transition-delay: 0.7s; }

.vision__reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   SCENE 3: THE DETAILS
   Staggered masonry grid with scroll reveals
   ============================================ */
.scene-details {
  position: relative;
  background: #faf9f6;
}

.details__intro {
  position: relative;
  z-index: 2;
  padding: 8rem 3rem 3rem;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.details__intro.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.details__label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a9a8a;
  margin-bottom: 1rem;
}

.details__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: #2c2c2a;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* Dramatic clip-path reveal on the heading */
.details__heading--animated {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.details__intro.is-visible .details__heading--animated {
  clip-path: inset(0 0% 0 0);
  transition-delay: 0.25s;
}

/* Materials callouts */
.details__materials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem 2rem;
}

.details__material-item {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #8a9a8a;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.details__materials.is-visible .details__material-item:nth-child(1) { transition-delay: 0.1s; }
.details__materials.is-visible .details__material-item:nth-child(2) { transition-delay: 0.2s; }
.details__materials.is-visible .details__material-item:nth-child(3) { transition-delay: 0.3s; }
.details__materials.is-visible .details__material-item:nth-child(4) { transition-delay: 0.4s; }

.details__materials.is-visible .details__material-item {
  opacity: 1;
  transform: translateY(0);
}

/* CSS Snap Carousel */
.details__carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  padding: 3rem 3rem 4rem;
  max-width: 100%;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, black 3rem, black calc(100% - 3rem), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3rem, black calc(100% - 3rem), transparent);
}

.details__carousel::-webkit-scrollbar {
  display: none;
}

.details__item {
  flex: 0 0 72%;
  max-width: 72%;
  scroll-snap-align: center;
}

.details__item-img {
  overflow: hidden;
  border-radius: 2px;
}

.details__item-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.details__item:hover .details__item-img img {
  transform: scale(1.03);
}

.details__item-caption {
  display: block;
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #6a6a6a;
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}

.details__item:hover .details__item-caption {
  color: #3c3c3a;
}


/* ============================================
   SCENE 4: THE LOCATION
   Full-viewport with text overlay + staggered text reveals
   ============================================ */
.scene-location {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a09;
}

.location__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.location__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.55;
}

.location__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(10, 10, 9, 0.2) 0%, rgba(10, 10, 9, 0.6) 100%);
}

.location__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem;
  max-width: 720px;
}

.location__label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.45);
  margin-bottom: 2rem;
}

.location__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  color: #faf9f6;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.location__sub {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 300;
  color: rgba(250, 249, 246, 0.5);
  line-height: 1.7;
  letter-spacing: 0.03em;
}

/* Location text -- reveal animation */
.location__reveal-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  clip-path: inset(100% 0 0 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.location__reveal-line.is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  padding: 6rem 3rem;
  background: #faf9f6;
  text-align: center;
  overflow: hidden;
}

.footer__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.18;
  filter: grayscale(100%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #2c2c2a;
  margin-bottom: 0.3rem;
}

.footer__location {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #999;
}

.footer__divider {
  width: 60px;
  height: 1px;
  background: rgba(44, 44, 42, 0.15);
  margin: 1.8rem 0;
}

.footer__contact {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__contact:hover {
  color: #6a6a6a;
}

.footer__manager {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #bbb;
}

.footer__designer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #2c2c2a;
  margin-bottom: 0.2rem;
}

.footer__designer-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #999;
}

.footer__back-to-top {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__back-to-top:hover {
  color: #6a6a6a;
}


/* ============================================
   RESPONSIVE -- TABLET
   ============================================ */
@media (max-width: 1024px) {
  .details__carousel {
    gap: 1.2rem;
    padding: 3rem 2rem 4rem;
  }

  .details__item {
    flex: 0 0 65%;
    max-width: 65%;
  }

  .experience__counter {
    top: 1.5rem;
    right: 1.5rem;
  }

  .experience__overlay-line {
    font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  }

  .experience__overlay-text {
    top: 8%;
    max-width: 60%;
  }
}


/* ============================================
   RESPONSIVE -- MOBILE (600px and below)
   MAJOR overhaul: bigger, bolder, more presence
   ============================================ */
@media (max-width: 600px) {

  /* ---- HERO ---- */
  .arrival__title-line--1 {
    font-size: clamp(5rem, 22vw, 7rem);
  }

  .arrival__title-line--2 {
    font-size: clamp(7rem, 35vw, 10rem);
    margin-top: -0.15em;
  }

  .arrival__tagline {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    margin-top: 1.8rem;
    gap: 0.4em;
  }

  .arrival__tagline-word {
    font-weight: 400;
  }

  .arrival__designer {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    margin-top: 1rem;
  }

  .arrival__content {
    padding: 0 1rem;
  }

  /* ---- SLIDESHOW ---- */
  .scene-experience {
    height: 800vh;
  }

  .experience__counter {
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
  }

  /* Overlay text base on mobile -- massive */
  .experience__overlay-text {
    left: 1.2rem;
    right: 1.2rem;
    transform: none;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
  }

  /* Per-slide positions on mobile */
  .experience__slide--top .experience__overlay-text {
    top: 5%;
    bottom: auto;
  }

  .experience__slide--bottom .experience__overlay-text {
    top: auto;
    bottom: 10%;
  }

  .experience__overlay-line {
    font-size: clamp(2.6rem, 10vw, 4rem);
    font-weight: 500;
    text-shadow:
      0 2px 30px rgba(10, 10, 9, 0.7),
      0 0 60px rgba(10, 10, 9, 0.5),
      0 4px 80px rgba(10, 10, 9, 0.4);
    line-height: 0.95;
    letter-spacing: -0.01em;
  }

  /* Dark text shadow override on mobile */
  .experience__slide--dark-text .experience__overlay-line {
    text-shadow:
      0 1px 15px rgba(255, 255, 255, 0.4),
      0 0 30px rgba(255, 255, 255, 0.2);
  }

  /* Watermark on mobile -- still visible but scaled */
  .experience__watermark-cloud {
    font-size: clamp(4rem, 18vw, 7rem);
  }

  .experience__watermark-nine {
    font-size: clamp(6rem, 28vw, 10rem);
  }

  /* ---- DETAILS ---- */
  .details__intro {
    padding: 5rem 1.5rem 2rem;
  }

  .details__heading {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .details__label {
    font-size: 0.72rem;
  }

  .details__carousel {
    gap: 1rem;
    padding: 2rem 1.5rem 3rem;
  }

  .details__item {
    flex: 0 0 82%;
    max-width: 82%;
  }

  .details__item-caption {
    font-size: 1.15rem;
    margin-top: 0.8rem;
  }

  /* Consistent ratio in carousel */
  .details__item-img img {
    aspect-ratio: 4 / 3;
  }

  /* Designer credit in slideshow -- reposition for mobile */
  .experience__designer-credit {
    left: 1.5rem;
    bottom: 2rem;
  }

  .experience__designer-credit-text {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }

  /* ---- LOCATION ---- */
  .location__content {
    padding: 2.5rem 1.5rem;
    max-width: 100%;
  }

  .location__label {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    margin-bottom: 1.5rem;
  }

  .location__heading {
    font-size: clamp(1.8rem, 8vw, 3rem);
    line-height: 1.2;
  }

  .location__sub {
    font-size: clamp(0.88rem, 3.8vw, 1.05rem);
    line-height: 1.6;
  }

  /* ---- FOOTER ---- */
  .site-footer {
    padding: 4rem 1.5rem;
  }

  .footer__name {
    font-size: 1.8rem;
  }

  .footer__divider {
    margin: 1.4rem 0;
  }

  .footer__designer-name {
    font-size: 2rem;
  }

  .site-footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  /* ---- FLOATING NAV ---- */
  .floating-nav {
    display: none;
  }

  /* ---- VISION ---- */
  .vision__content {
    padding: 5rem 1.5rem;
  }

  .vision__quote {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  /* ---- VISION BG OPACITY ---- */
  .vision__bg-image img {
    opacity: 0.12;
  }

  /* ---- MATERIALS ---- */
  .details__materials {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0 1.5rem 2rem;
  }
}


/* ============================================
   RESPONSIVE -- SMALL MOBILE (400px and below)
   Extra aggressive sizing for tiny screens
   ============================================ */
@media (max-width: 400px) {
  .arrival__title-line--1 {
    font-size: clamp(4.5rem, 24vw, 6rem);
  }

  .arrival__title-line--2 {
    font-size: clamp(6.5rem, 38vw, 9rem);
  }

  .experience__overlay-line {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
    font-weight: 500;
    line-height: 0.95;
  }

  .location__heading {
    font-size: clamp(1.6rem, 8.5vw, 2.6rem);
  }

  .details__heading {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
}


/* Very tall screens -- ensure arrival fills */
@media (max-height: 500px) {
  .scene-arrival {
    min-height: 100vh;
  }

  .experience__sticky {
    height: 100vh;
  }
}
