/* ============================================================
   SOUTH BRITANNIA — STYLES
   Brand Colors:
     Forest:  #1A2E2A (dark bg from screenshots, adjusted)
     Tidal:   #859F94
     Stone:   #B5B3AD
     Sand:    #F2ECE3
     Gold:    #C17614
   ============================================================ */

:root {
  --forest: #1E2D2B;
  --forest-deep: #101f19;
  --tidal: #859F94;
  --stone: #B5B3AD;
  --sand: #F2ECE3;
  --gold: #C17614;
  --white: #FFFFFF;
  --black: #111111;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* scroll-snap-type: y proximity; */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'BasisGrotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--white);
  background: var(--forest);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section,
.section-footer {
  scroll-snap-align: start;
}

.section-splash {
  scroll-snap-align: none;
}

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

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

ul { list-style: none; }

/* ---- ANIMATION CLASSES ---- */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   SECTION 1A — SPLASH
   ============================================================ */
.section-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-deep);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.section-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  animation: fadeInUp 1.2s ease forwards;
}

.splash-icon {
  width: 140px;
  margin: 0 auto 24px;
  animation: splashPulse 2s ease-in-out infinite alternate;
}

.splash-text {
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  color: var(--white);
  opacity: 0;
  animation: fadeIn 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes splashPulse {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

/* ============================================================
   SECTION 1B/1C — HERO
   ============================================================ */
.section-hero {
  position: relative;
  width: 100%;
  height: 105vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  opacity: 0;
  transition: opacity 2s ease;
}

/* Phase 1: Image fades in (no overlay, no text) */
.hero-intro .hero-img {
  opacity: 0;
}

.hero-intro.hero-img-visible .hero-img {
  opacity: 1;
}

/* Slow zoom starts after image is visible */
.hero-intro.hero-img-visible .hero-img {
  animation: heroZoom 20s ease-in-out 0.5s infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}

/* Phase 2: Overlay darkens */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,35,32,0.35) 0%, rgba(20,35,32,0.2) 40%, rgba(20,35,32,0.3) 100%);
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-intro.hero-overlay-visible .hero-overlay {
  opacity: 1;
}

/* Phase 3: Nav elements fade in separately */
.hero-nav-hidden .nav-brand,
.hero-nav-hidden .nav-icon {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-intro.hero-nav-visible .hero-nav .nav-brand {
  opacity: 0.85;
  transition: opacity 1s ease;
}

.hero-intro.hero-nav-visible .hero-nav .nav-icon {
  opacity: 0.85;
  transition: opacity 1s ease 0.3s;
}

.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  z-index: 10;
}

.nav-brand {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  opacity: 0.85;
}

.nav-icon {
  width: 72px;
  opacity: 0.85;
}

/* Phase 4: Headline fades in */
.hero-headline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.hero-headline h1 {
  font-size: clamp(1.4rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 2s ease, transform 2s ease;
}

.hero-intro.hero-text-visible .hero-headline h1 {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTION 2 — QUOTE
   ============================================================ */
.section-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 105vh;
  background: var(--forest-deep);
  padding: 120px 24px 80px;
}

.quote-content {
  text-align: center;
  max-width: 1000px;
  margin-top: 40px;
}

.quote-reveal {
  opacity: 1;
}

.quote-reveal .word {
  display: inline-block;
  white-space: nowrap;
}

.quote-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.quote-reveal.visible .char {
  opacity: 1;
  transform: translateY(0);
}

.quote-line {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--white);
}

.quote-gold {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--gold);
  margin: 24px 0;
}

/* ============================================================
   SECTION 3 — VIDEO (DRIVING)
   ============================================================ */
.section-video-drive {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 105vh;
  background: var(--forest-deep);
  padding: 60px 48px;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.youtube-container iframe {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  border: none;
  pointer-events: none;
}

.yt-audio-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
}

.yt-audio-toggle:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* ---- VIDEO AUDIO TOGGLE ---- */
.video-audio-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.video-audio-toggle:hover {
  background: var(--gold);
  color: var(--forest-deep);
}

.video-audio-toggle svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   SECTION 4 — LOCATION / MAP
   ============================================================ */
.section-location {
  position: relative;
  background: var(--forest-deep);
  display: flex;
  align-items: center;
  padding: 80px 48px;
  min-height: 105vh;
  overflow: hidden;
}

.location-inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 700px;
  border-radius: 4px;
  overflow: hidden;
}

.location-card {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translate(-60px, -50%);
  max-width: 580px;
  background: rgba(9, 18, 14, 0.82);
  padding: 64px 52px;
  border-radius: 4px;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.location-card.visible {
  opacity: 1;
  transform: translate(0, -50%);
}

.location-label {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--stone);
  display: block;
  margin-bottom: 28px;
}

.location-title {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  color: var(--white);
}

.location-desc {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--stone);
  font-style: normal;
  margin-bottom: 40px;
}

.location-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.stat-number sub {
  font-size: 0.8rem;
  vertical-align: baseline;
  opacity: 0.7;
}

.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--stone);
  text-transform: uppercase;
}

.location-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   SECTION 5 — PROJECT HIGHLIGHTS
   ============================================================ */
.section-highlights {
  position: relative;
  height: 105vh;
  overflow: hidden;
}

.highlights-bg {
  position: absolute;
  inset: 0;
}

.highlights-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.highlights-card {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translate(60px, -50%);
  max-width: 580px;
  background: rgba(9, 18, 14, 0.82);
  padding: 64px 52px;
  border-radius: 4px;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.highlights-card.visible {
  opacity: 1;
  transform: translate(0, -50%);
}

.highlights-label {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--stone);
  display: block;
  margin-bottom: 28px;
}

.highlights-desc {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--stone);
  font-style: normal;
  margin-bottom: 40px;
}

.highlights-stats {
  display: flex;
  gap: 40px;
}

.highlights-stats .stat-number {
  font-size: 3rem;
}

/* ============================================================
   SECTION 5B — SURF THE SEA TO SKY
   ============================================================ */
.section-sea-to-sky {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 140vh;
  background: var(--forest-deep);
  padding: 80px 48px;
  gap: 80px;
  overflow: hidden;
}

.sea-to-sky-text {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-align: center;
  margin: 0;
  transition: opacity 3.5s ease, transform 3.5s ease;
}

.sea-to-sky-desc {
  max-width: 800px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sky-para {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  color: var(--stone);
  line-height: 1.85;
  text-align: justify;
  margin: 0;
  transition: opacity 2s ease, transform 2s ease;
}

.sky-para:nth-child(2) { transition-delay: 0.6s; }
.sky-para:nth-child(3) { transition-delay: 1.2s; }

.sea-to-sky-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 2.5s ease, transform 2.5s ease;
  transition-delay: 1.8s;
}

.sea-to-sky-icon {
  width: 100px;
  height: auto;
  animation: logoSpin 4s ease-in-out forwards;
}

@keyframes logoSpin {
  0% { transform: rotate(180deg); }
  100% { transform: rotate(0deg); }
}

/* ============================================================
   SECTION 6 — SBS INTRO
   ============================================================ */
.section-sbs-intro {
  position: relative;
  height: 105vh;
  overflow: hidden;
}

.sbs-intro-bg {
  position: absolute;
  inset: 0;
}

.sbs-intro-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.sbs-intro-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  z-index: 1;
  transition: background 3s ease;
}

.sbs-intro-overlay.lightened {
  background: rgba(255, 255, 255, 0.35);
}

.sbs-intro-overlay.light-off {
  background: rgba(255, 255, 255, 0);
}

.sbs-intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: 0;
  transition: opacity 3s ease;
}

.sbs-intro-logo.visible {
  opacity: 1;
}

.sbs-intro-logo.fade-out {
  opacity: 0.3;
  transition: opacity 3s ease;
}

.sbs-full-logo {
  max-width: 360px;
}

.sbs-intro-textbox {
  position: absolute;
  bottom: 48px;
  left: 48px;
  max-width: 520px;
  background: rgba(20, 35, 32, 0.6);
  backdrop-filter: blur(14px);
  padding: 48px 44px;
  border-radius: 4px;
  z-index: 2;
}

.sbs-intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--white);
  text-align: center;
}

/* ============================================================
   SECTION 7 — VIDEO (SURFING)
   ============================================================ */
.section-video-surf {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 105vh;
  background: var(--forest-deep);
  padding: 100px 120px;
}

.section-video-surf .video-frame {
  max-width: 900px;
}

/* ============================================================
   SECTION 8 — COMMUNITY
   ============================================================ */
.section-community {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 105vh;
  background: var(--forest-deep);
  color: var(--white);
  padding: 200px 48px 60px;
  gap: 72px;
  overflow: hidden;
}

.community-video {
  width: 100%;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7.5;
  border-radius: 6px;
}

.community-video video {
  width: 102%;
  height: 120%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.community-headline {
  max-width: 1200px;
  width: 100%;
  padding: 64px 64px;
}

.community-headline p {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.85;
  color: var(--stone);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-align: justify;
  margin-bottom: 18px;
}

.community-headline p:last-child {
  margin-bottom: 0;
}

.community-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  align-items: center;
}

.community-left {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.community-img-left {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-right {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.community-img-right {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-video-embed {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.community-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.community-yt-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.community-yt-audio {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
}

.community-yt-audio:hover {
  background: rgba(0, 0, 0, 0.6);
}

.community-yt-wrap .community-video-embed {
  width: 100%;
  height: 100%;
}

.yt-audio-wrap {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

.yt-audio-wrap .video-audio-toggle {
  position: relative;
}

.community-icon {
  text-align: center;
  padding: 56px 0 64px;
}

.community-sbs-icon {
  width: 72px;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* ============================================================
   SECTION 9 — WAVEGARDEN COVE
   ============================================================ */
.section-wavegarden {
  position: relative;
  height: 105vh;
  overflow: hidden;
}

.wavegarden-bg {
  position: absolute;
  inset: 0;
}

.wavegarden-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.wavegarden-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 700px;
  width: 90%;
  z-index: 2;
  background: rgba(20, 35, 32, 0.78);
  border-radius: 12px;
  padding: 56px 52px;
  text-align: center;
}

.wavegarden-content.reveal {
  opacity: 0;
  transform: translate(-50%, -40%);
}

.wavegarden-content.reveal.visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.wavegarden-content p {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: none;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wavegarden-gold {
  color: var(--gold) !important;
}

/* ============================================================
   SECTION 10 — CLUBHOUSE / ARCHITECTURE
   ============================================================ */
.section-clubhouse {
  background: var(--forest-deep);
  color: var(--white);
  padding: 160px 48px;
  overflow: hidden;
}

.clubhouse-label {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--stone);
  display: block;
  margin-bottom: 48px;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.clubhouse-render-top,
.clubhouse-render-bottom {
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.clubhouse-render-wide {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.clubhouse-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 48px auto;
  align-items: center;
}

.clubhouse-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.clubhouse-render-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clubhouse-text-wrap {
  padding: 0 24px;
}

.clubhouse-text-wrap p {
  font-size: 1.25rem;
  line-height: 1.85;
  color: var(--white);
  margin-bottom: 18px;
  text-align: justify;
  text-align-last: left;
}

.clubhouse-text-left {
  max-width: 1200px;
  width: 100%;
  margin: 48px auto 24px;
  padding-right: 27%;
}

.clubhouse-text-left p {
  font-size: 1.25rem;
  line-height: 1.85;
  color: var(--stone);
  margin-bottom: 18px;
  text-align: justify;
  letter-spacing: 0.03em;
}

.clubhouse-text-right {
  max-width: 1200px;
  width: 100%;
  margin: 80px auto 48px;
  padding-left: 30%;
  text-align: right;
}

.clubhouse-text-right p {
  font-size: 1.25rem;
  line-height: 1.85;
  color: var(--stone);
  margin-bottom: 18px;
  text-align: justify;
  letter-spacing: 0.03em;
}

.clubhouse-italic {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 32px;
}

.clubhouse-gold {
  color: var(--gold) !important;
}

/* ============================================================
   SECTION 11 — PHASES
   ============================================================ */
.section-phases {
  position: relative;
  height: 105vh;
  overflow: hidden;
}

.phases-bg {
  position: absolute;
  inset: 0;
}

.phases-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.phases-overlay {
  display: none;
}

.phases-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 1300px;
  width: 92%;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.phases-content.visible {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.phases-intro {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 60px;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.phases-intro.phase-visible {
  opacity: 1;
  transform: translateY(0);
}

.phases-list {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
}

.phase-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.phase-box {
  flex: 1;
  background: rgba(9, 18, 14, 0.82);
  padding: 36px 32px;
  border-radius: 4px;
}

.phase-item.phase-visible {
  opacity: 1;
  transform: translateY(0);
}

.phase-icon {
  font-size: 0.8rem;
  color: var(--white);
  margin-top: 4px;
  flex-shrink: 0;
}

.phase-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.phase-info h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--stone);
  margin-left: 8px;
}

.phase-subtitle {
  font-size: 0.95rem;
  color: var(--stone);
  display: block;
  margin-bottom: 14px;
  line-height: 1.6;
}

.phase-bullets {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.phase-bullets li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.phase-closing {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--stone);
  font-style: italic;
  margin-top: 8px;
}

.phase-info p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   SECTION 12 — STAY CONNECTED
   ============================================================ */
.section-subscribe {
  position: relative;
  height: 105vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.subscribe-bg {
  position: absolute;
  inset: 0;
}

.subscribe-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.subscribe-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 50, 55, 0.6);
}

.subscribe-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.subscribe-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 36px;
  color: var(--white);
  text-transform: uppercase;
}

.kit-embed-wrap {
  max-width: 560px;
  margin: 0 auto;
}

/* Hide Kit branding */
.kit-embed-wrap a[href*="kit.com"],
.kit-embed-wrap [data-element="powered-by"],
.kit-embed-wrap .formkit-powered-by,
.kit-embed-wrap .formkit-powered-by-convertkit {
  display: none !important;
}

/* Hide Kit popups/modals */
.formkit-overlay,
.formkit-modal,
.formkit-popup,
.formkit-sticky-bar,
.formkit-slide-in,
[data-formkit-toggle],
.formkit-form[data-format="modal"],
.formkit-form[data-format="slide in"],
.formkit-form[data-format="sticky bar"] {
  display: none !important;
}

/* Force inline layout */
.kit-embed-wrap .formkit-form[data-uid] {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.kit-embed-wrap .formkit-fields {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.kit-embed-wrap .formkit-field {
  flex: 1 !important;
}

.kit-embed-wrap .formkit-input {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  letter-spacing: 0.05em !important;
  padding: 12px 18px !important;
  font-family: 'BasisGrotesque', -apple-system, sans-serif !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 100% !important;
}

.kit-embed-wrap .formkit-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  letter-spacing: 0.05em !important;
}

.kit-embed-wrap .formkit-input:focus {
  border-color: rgba(193, 118, 20, 0.5) !important;
}

.kit-embed-wrap .formkit-submit {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: auto !important;
  width: auto !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: border-color 0.3s ease, background 0.3s ease !important;
}

.kit-embed-wrap .formkit-submit:hover {
  border-color: rgba(193, 118, 20, 0.5) !important;
  background: rgba(193, 118, 20, 0.08) !important;
}

.kit-embed-wrap .formkit-submit span {
  color: #ffffff !important;
  font-size: 12px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-family: 'BasisGrotesque', -apple-system, sans-serif !important;
  font-weight: 400 !important;
  padding: 12px 24px !important;
  display: block !important;
}

.kit-embed-wrap .formkit-guarantee,
.kit-embed-wrap .formkit-alert {
  color: rgba(212, 205, 196, 0.5) !important;
  font-size: 12px !important;
  background: transparent !important;
}

.kit-embed-wrap .formkit-alert-success {
  color: #d4cdc4 !important;
  border: 1px solid rgba(193, 118, 20, 0.3) !important;
  border-radius: 4px !important;
  padding: 12px 18px !important;
  margin-top: 12px !important;
}

/* ============================================================
   SECTION 13 — FOOTER
   ============================================================ */
.section-footer {
  background: var(--forest-deep);
  padding: 72px 48px 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  gap: 48px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 20px;
}

.footer-brand {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--stone);
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  color: var(--white);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-divider {
  max-width: 1400px;
  margin: 48px auto 0;
  height: 1px;
  background: var(--tidal);
}

.footer-contact {
  max-width: 1400px;
  margin: 24px auto 0;
  text-align: left;
  font-size: 13px;
  color: rgba(212, 205, 196, 0.6);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(212, 205, 196, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact-sep {
  margin: 0 12px;
  opacity: 0.4;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  /* ---- GLOBAL: normalize all section heights ---- */
  .section-quote,
  .section-highlights,
  .section-video-surf,
  .section-video-drive,
  .section-community,
  .section-sea-to-sky,
  .section-clubhouse,
  .section-location {
    height: auto !important;
    min-height: auto !important;
    overflow: visible;
  }

  /* Sections with absolute backgrounds need min-height */
  .section-hero {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible;
  }

  .section-sbs-intro {
    height: auto !important;
    min-height: 80vh !important;
    overflow: hidden;
  }

  .section-wavegarden {
    height: auto !important;
    min-height: 60vh !important;
    overflow: hidden;
  }

  .section-phases {
    height: auto !important;
    min-height: auto !important;
    overflow: hidden;
  }

  .section-subscribe {
    height: auto !important;
    min-height: 50vh !important;
    overflow: hidden;
  }

  /* ---- Disable parallax transforms on all images ---- */
  .hero-img,
  .highlights-img,
  .sbs-intro-img,
  .wavegarden-img,
  .phases-img,
  .subscribe-img,
  .map-img {
    transform: none !important;
  }

  /* ---- HIGHLIGHTS: stack image + card vertically ---- */
  .section-highlights {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .highlights-bg {
    position: relative;
    min-height: 40vh;
  }

  .highlights-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 0;
    max-width: 100%;
    width: 100%;
    padding: 36px 24px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .highlights-card.visible {
    transform: none;
  }

  .highlights-desc {
    font-size: 1rem;
  }

  .highlights-stats .stat-number {
    font-size: 2rem;
  }

  /* ---- LOCATION: stack map + card ---- */
  .section-location {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .location-inner {
    min-height: auto;
  }

  .location-map {
    position: relative;
    min-height: 40vh;
  }

  .map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .location-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    max-width: 100%;
    padding: 36px 24px;
    margin-top: 32px;
  }

  .location-card.visible {
    transform: none;
    opacity: 1;
  }

  /* ---- SBS INTRO ---- */
  .sbs-intro-bg {
    position: absolute;
    inset: 0;
  }

  .sbs-intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sbs-full-logo {
    max-width: 240px;
  }

  .sbs-intro-textbox {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 24px;
    padding: 24px 20px;
  }

  /* ---- VIDEO SECTIONS ---- */
  .section-video-drive {
    padding: 24px 16px;
  }

  .section-video-surf {
    padding: 24px 16px;
  }

  /* ---- COMMUNITY: stack images ---- */
  .section-community {
    padding: 32px 24px;
    gap: 16px;
  }

  .community-images {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .community-left,
  .community-right {
    aspect-ratio: 16 / 10;
  }

  .community-icon {
    padding: 48px 0 60px;
  }

  /* ---- CLUBHOUSE ---- */
  .clubhouse-layout {
    grid-template-columns: 1fr;
  }

  /* ---- PHASES: stack boxes vertically ---- */
  .section-phases {
    position: relative;
  }

  .phases-bg {
    position: absolute;
    inset: 0;
  }

  .phases-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .phases-content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: 100%;
    padding: 48px 24px;
    margin: 0;
    width: 100%;
    z-index: 2;
  }

  .phases-content.visible {
    transform: none;
  }

  .phases-list {
    flex-direction: column;
    gap: 20px;
  }

  /* ---- SEA TO SKY ---- */
  .section-sea-to-sky {
    padding: 80px 24px;
  }

  /* ---- SUBSCRIBE ---- */
  .section-subscribe {
    padding: 60px 0;
  }

  /* ---- WAVEGARDEN ---- */
  .section-wavegarden {
    position: relative;
  }

  .wavegarden-bg {
    position: absolute;
    inset: 0;
  }

  .wavegarden-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .wavegarden-content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: 100%;
    width: 100%;
    padding: 48px 24px;
    z-index: 2;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .wavegarden-content.visible {
    transform: none;
  }

  /* ---- FOOTER ---- */
  .footer-inner {
    flex-direction: column;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 36px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .hero-nav {
    padding: 20px 24px;
  }

  .nav-brand {
    font-size: 0.65rem;
  }

  .nav-icon {
    width: 36px;
  }

  .section-quote {
    padding: 60px 24px;
  }

  .section-video-drive {
    padding: 16px 12px;
  }

  .section-location {
    padding: 0;
  }

  .location-card {
    padding: 32px 20px;
  }

  .location-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .sbs-intro-left {
    padding: 48px 24px;
  }

  .wavegarden-content {
    padding: 32px 24px;
  }

  .section-clubhouse {
    padding: 48px 24px;
  }

  .clubhouse-text-left p,
  .clubhouse-text-right p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .phases-content {
    padding: 32px 16px;
  }

  .phase-box {
    padding: 28px 20px;
  }

  .phase-info h3 {
    font-size: 1rem;
  }

  .phase-bullets li,
  .phase-closing,
  .phase-info p {
    font-size: 0.9rem;
  }

  .section-subscribe {
    padding: 60px 0;
  }

  .subscribe-content h2 {
    font-size: 1.4rem;
  }

  .section-footer {
    padding: 48px 24px 32px;
  }

  .footer-nav {
    gap: 24px;
  }

  .community-headline p {
    font-size: 1rem;
  }

  .community-headline {
    padding: 16px 24px;
  }

  .section-community {
    padding: 32px 20px;
    gap: 16px;
  }

  .community-images {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .community-right {
    padding: 0;
  }

  .sea-to-sky-headline {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }

  .sea-to-sky-text p {
    font-size: 1rem;
  }

  .section-sea-to-sky {
    padding: 60px 20px;
  }

  .highlights-stats {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================================
   UTILITY — PARALLAX HINT
   ============================================================ */
.parallax-bg {
  transition: transform 0.1s linear;
}

/* Stat number counter animation */
.stat-number {
  transition: opacity 0.6s ease;
}

/* Smooth image load */
img {
  opacity: 0;
  transition: opacity 0.6s ease;
}

img.loaded {
  opacity: 1;
}

/* Force visible for key structural images */
.hero-img,
.splash-icon,
.nav-icon,
.footer-logo,
.sbs-full-logo,
.community-sbs-icon,
.clubhouse-sbs-icon {
  opacity: 1;
}

/* ============================================================
   LANDSCAPE MOBILE (e.g. phone rotated)
   ============================================================ */
@media (max-width: 900px) and (max-height: 500px) {
  .hero-headline h1 {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    padding: 0 24px;
  }

  .highlights-card {
    padding: 24px 40px !important;
    overflow-y: auto;
    max-height: 80vh;
  }

  .highlights-desc {
    font-size: 0.65rem !important;
    line-height: 1.6;
  }

  .community-headline {
    padding: 16px 40px;
  }

  .community-headline p {
    font-size: 0.9rem;
  }

  .section-community {
    padding: 32px 32px;
    gap: 16px;
  }

  .community-images {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .section-quote {
    padding: 40px 24px;
  }
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(18, 30, 24, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(133, 159, 148, 0.15);
  padding: 12px 32px;
  animation: cookieSlideUp 0.5s ease forwards;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner.cookie-hiding {
  animation: cookieSlideDown 0.4s ease forwards;
}

@keyframes cookieSlideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cookie-content p {
  font-family: 'BasisGrotesque', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'BasisGrotesque', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 6px 18px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.cookie-accept {
  background: var(--gold);
  color: var(--forest-deep);
}

.cookie-accept:hover {
  background: #d4851a;
}

.cookie-decline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(133, 159, 148, 0.4);
}

.cookie-decline:hover {
  border-color: var(--white);
}

@media (max-width: 640px) {
  .kit-embed-wrap .formkit-fields {
    flex-direction: column !important;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .cookie-banner {
    padding: 10px 16px;
  }
}
