/* ================================================================
   Ahoy Bingo — design system
   Palette drawn from the vintage pirate logo: deep sea teal,
   dusty rose, parchment cream, brass gold.
   ================================================================ */

:root {
  --ink: #081c22;
  --ink-2: #0d2b33;
  --ink-3: #143a44;
  --teal: #3e6c77;
  --teal-soft: #6e97a1;
  --rose: #c4766f;
  --rose-deep: #9e5a55;
  --cream: #efe3cc;
  --cream-dim: #d8c9ae;
  --sand: #e8d9bc;
  --gold: #d9a441;
  --max-w: 1240px;
  --nav-h: 76px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-accent: "IM Fell English SC", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--rose); color: var(--ink); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* film grain over everything, very subtle */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: grain-shift 1.2s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ---------------------------------------------------------------- */
/* Preloader                                                         */
/* ---------------------------------------------------------------- */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader .compass {
  width: 74px;
  height: 74px;
  animation: compass-spin 2.6s var(--ease-out) infinite;
}
@keyframes compass-spin {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(200deg); }
  100% { transform: rotate(360deg); }
}
#preloader .load-word {
  font-family: var(--font-accent);
  letter-spacing: 0.35em;
  font-size: 15px;
  color: var(--cream-dim);
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- */
/* Navigation                                                        */
/* ---------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.nav.scrolled {
  background: rgba(8, 28, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(239, 227, 204, 0.08);
}
.nav.hidden { transform: translateY(-100%); }
.nav.menu-open { z-index: 1200; }
.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-accent);
  font-size: 21px;
  letter-spacing: 0.08em;
  color: var(--cream);
  white-space: nowrap;
  flex: none;
}
.nav-brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 17px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-ctas { display: flex; align-items: center; gap: 10px; }
.nav-ctas .btn { padding: 11px 18px; font-size: 12px; white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217, 164, 65, 0.25);
}
.btn.ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(239, 227, 204, 0.45);
}
.btn.ghost:hover {
  border-color: var(--cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.btn.rose { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.btn.rose:hover { box-shadow: 0 10px 30px rgba(196, 118, 111, 0.3); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1102;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(8, 28, 34, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: 4px;
  padding: 90px 0 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.2vh, 34px);
  line-height: 1.2;
  padding: 6px 20px;
  color: var(--cream);
}
.mobile-menu a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- */
/* Hero                                                              */
/* ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% 108%, rgba(196, 118, 111, 0.28), transparent 60%),
    linear-gradient(180deg, #05141a 0%, #0a2630 42%, #17434d 72%, #2a5a63 100%);
}
#ocean-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.6;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.75; }
}
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 120px 24px 140px;
  max-width: 1000px;
}
.hero-logo {
  width: clamp(96px, 13vw, 150px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55));
}
.hero-kicker {
  font-family: var(--font-accent);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.4vw, 15px);
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-shadow: 0 14px 50px rgba(0, 0, 0, 0.5);
}
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-title .char { display: inline-block; }
.hero-sub {
  margin: 26px auto 38px;
  max-width: 640px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: var(--sand);
  letter-spacing: 0.02em;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--cream-dim);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll .line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--cream-dim), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------------------------------------------------------- */
/* Marquee ribbon                                                    */
/* ---------------------------------------------------------------- */

.marquee {
  position: relative;
  background: var(--cream);
  color: var(--ink-2);
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(8, 28, 34, 0.15);
  border-bottom: 1px solid rgba(8, 28, 34, 0.15);
  transform: rotate(-1.2deg) scale(1.02);
  z-index: 10;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-accent);
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-track .dot { color: var(--rose-deep); font-size: 14px; }

/* ---------------------------------------------------------------- */
/* Shared section chrome                                             */
/* ---------------------------------------------------------------- */

section { position: relative; }
.section-pad { padding: 120px 28px; }
.wrap { max-width: var(--max-w); margin: 0 auto; }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.04;
  color: var(--cream);
  max-width: 16em;
}
.section-title em { font-style: italic; color: var(--rose); }
.lead {
  font-size: 18px;
  font-weight: 300;
  color: var(--cream-dim);
  max-width: 60ch;
}

.reveal { opacity: 0; }

/* ---------------------------------------------------------------- */
/* About / community                                                 */
/* ---------------------------------------------------------------- */

.about { background: var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.about-copy p { margin: 18px 0; color: var(--cream-dim); font-weight: 300; }
.about-copy strong { color: var(--cream); font-weight: 500; }
.about-media { position: relative; }
.about-media .frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.about-media .frame img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}
.about-media .badge {
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: var(--rose);
  color: var(--ink);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  max-width: 240px;
}
.about-media .badge .big {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.about-media .badge .small {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

.pillars {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pillar {
  border: 1px solid rgba(239, 227, 204, 0.14);
  border-radius: 14px;
  padding: 34px 30px;
  background: linear-gradient(160deg, rgba(62, 108, 119, 0.16), rgba(8, 28, 34, 0));
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(217, 164, 65, 0.5); }
.pillar .icon { width: 44px; height: 44px; margin-bottom: 18px; color: var(--gold); }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pillar p { font-size: 15px; font-weight: 300; color: var(--cream-dim); }

/* ---------------------------------------------------------------- */
/* Rentals                                                           */
/* ---------------------------------------------------------------- */

.rentals {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(62, 108, 119, 0.25), transparent 60%),
    var(--ink-2);
}
.rentals-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.rental-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.rental-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 460px;
  isolation: isolate;
}
.rental-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
  z-index: -1;
}
.rental-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(8, 28, 34, 0) 30%, rgba(8, 28, 34, 0.9) 82%);
  z-index: 0;
  transition: background 0.5s;
}
.rental-card:hover img { transform: scale(1.06); }
.rental-card-body {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.rental-card h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--cream);
}
.rental-card p { color: var(--cream-dim); font-size: 15px; font-weight: 300; max-width: 40ch; }
.rental-card .go {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(239, 227, 204, 0.5);
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: background 0.35s, transform 0.35s var(--ease-out), color 0.35s;
}
.rental-card:hover .go {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: rotate(-45deg);
}
.rental-card .tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  background: rgba(8, 28, 34, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(239, 227, 204, 0.25);
  color: var(--sand);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rental-perks {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.perk {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(239, 227, 204, 0.2);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 300;
  color: var(--cream-dim);
  background: rgba(8, 28, 34, 0.4);
}
.perk svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

/* ---------------------------------------------------------------- */
/* Railway — pinned horizontal journey                               */
/* ---------------------------------------------------------------- */

.railway {
  background: var(--ink);
  overflow: hidden;
}
.railway-head { padding: 120px 28px 40px; }
.railway-journey {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.railway-track {
  display: flex;
  gap: 34px;
  padding: 20px 28px 60px;
  width: max-content;
  align-items: stretch;
}
@media (max-width: 820px) {
  .railway-journey { min-height: 0; display: block; }
}
.rail-panel {
  position: relative;
  width: min(62vw, 780px);
  height: min(62vh, 520px);
  flex: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.rail-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rail-panel .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 26px 20px;
  background: linear-gradient(transparent, rgba(8, 28, 34, 0.92));
  font-size: 15px;
  color: var(--sand);
  letter-spacing: 0.04em;
}
.rail-panel .num {
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: rgba(239, 227, 204, 0.9);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}
.rail-panel.intro-card {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(217, 164, 65, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  width: min(46vw, 520px);
}
.rail-panel.intro-card h3 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 16px;
}
.rail-panel.intro-card p { color: var(--cream-dim); font-weight: 300; }
.rail-panel.intro-card .sleepers {
  margin-top: 28px;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 30px);
  opacity: 0.5;
  border-radius: 4px;
}

/* mobile fallback: plain swipe scroll */
@media (max-width: 820px) {
  .railway-track {
    overflow-x: auto;
    width: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .rail-panel { scroll-snap-align: center; width: 82vw; height: 60vw; min-height: 300px; }
  .rail-panel.intro-card { width: 82vw; height: auto; }
}

/* ---------------------------------------------------------------- */
/* Activities                                                        */
/* ---------------------------------------------------------------- */

.activities {
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(196, 118, 111, 0.14), transparent 60%),
    var(--ink-2);
}
.activity-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.activity {
  border: 1px solid rgba(239, 227, 204, 0.13);
  border-radius: 14px;
  padding: 30px 26px;
  background: rgba(8, 28, 34, 0.45);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s;
}
.activity:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 118, 111, 0.55);
  background: rgba(20, 58, 68, 0.5);
}
.activity .icon { width: 38px; height: 38px; color: var(--rose); margin-bottom: 16px; }
.activity h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.activity p { font-size: 14px; font-weight: 300; color: var(--cream-dim); }

/* ---------------------------------------------------------------- */
/* Map                                                               */
/* ---------------------------------------------------------------- */

.mapsec { background: var(--ink); }
.map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.map-viewer {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(217, 164, 65, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  aspect-ratio: 1;
  cursor: grab;
  background: #22343a;
  touch-action: none;
}
.map-viewer:active { cursor: grabbing; }
.map-viewer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.map-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 28, 34, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(239, 227, 204, 0.2);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  pointer-events: none;
  transition: opacity 0.4s;
}
.map-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-zoom button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(239, 227, 204, 0.3);
  background: rgba(8, 28, 34, 0.75);
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  transition: background 0.25s;
}
.map-zoom button:hover { background: var(--teal); }
.map-copy p { margin: 16px 0; color: var(--cream-dim); font-weight: 300; }
.map-copy .btn { margin-top: 14px; }

/* ---------------------------------------------------------------- */
/* Gallery                                                           */
/* ---------------------------------------------------------------- */

.gallery { background: var(--ink-2); }
.gallery-grid {
  margin-top: 60px;
  columns: 3;
  column-gap: 20px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  break-inside: avoid;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.8s var(--ease-out), filter 0.8s;
  filter: saturate(0.92);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(8, 28, 34, 0.75));
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item .cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  font-size: 13.5px;
  color: var(--sand);
  letter-spacing: 0.03em;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.045); filter: saturate(1.05); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(5, 16, 20, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(92vw, 1500px);
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.lightbox .lb-cap {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sand);
  font-size: 15px;
  text-align: center;
  max-width: 80vw;
}
.lightbox button {
  position: absolute;
  background: rgba(239, 227, 204, 0.08);
  border: 1px solid rgba(239, 227, 204, 0.25);
  color: var(--cream);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background 0.25s;
}
.lightbox button:hover { background: rgba(239, 227, 204, 0.2); }
.lightbox .lb-close { top: 26px; right: 26px; }
.lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------- */
/* News                                                              */
/* ---------------------------------------------------------------- */

.news { background: var(--ink); }
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  border: 1px solid rgba(239, 227, 204, 0.13);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(13, 43, 51, 0.55);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.news-card:hover { transform: translateY(-6px); border-color: rgba(217, 164, 65, 0.45); }
.news-card .thumb {
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: var(--ink-3);
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card time {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.news-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.15; }
.news-card p { font-size: 15px; font-weight: 300; color: var(--cream-dim); }
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--cream-dim);
  font-weight: 300;
  padding: 40px 0;
}

/* ---------------------------------------------------------------- */
/* Owners                                                            */
/* ---------------------------------------------------------------- */

.owners {
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(62, 108, 119, 0.3), transparent 65%),
    var(--ink-2);
}
.owners .wrap { text-align: center; }
.owners .kicker { justify-content: center; }
.owners .kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.owners .section-title { margin: 0 auto; }
.owner-cards {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.owner {
  width: 330px;
  perspective: 900px;
}
.owner .photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.owner .photo img { width: 100%; aspect-ratio: 0.95; object-fit: cover; object-position: top; }
.owner h3 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
}
.owner .role {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 4px;
}
.owner p.bio { font-size: 15px; font-weight: 300; color: var(--cream-dim); margin-top: 10px; }

/* ---------------------------------------------------------------- */
/* Marketplace                                                       */
/* ---------------------------------------------------------------- */

.marketplace {
  position: relative;
  background: var(--ink-2);
  overflow: hidden;
}
.market-bg { position: absolute; inset: 0; }
.market-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
  opacity: 0.28;
}
.market-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink-2) 25%, rgba(13, 43, 51, 0.55) 70%, rgba(13, 43, 51, 0.25) 100%);
}
.marketplace .wrap { position: relative; z-index: 2; padding: 150px 28px; }
.market-copy { max-width: 560px; }

/* ---------------------------------------------------------------- */
/* Visit CTA + footer                                                */
/* ---------------------------------------------------------------- */

.visit {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.visit-bg {
  position: absolute;
  inset: 0;
}
.visit-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.34;
  will-change: transform;
}
.visit-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 28, 34, 0.55) 50%, var(--ink) 100%);
}
.visit .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 170px 0;
}
.visit h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 84px);
  font-weight: 600;
  line-height: 1.02;
}
.visit p { margin: 22px auto 40px; max-width: 52ch; color: var(--sand); font-weight: 300; font-size: 18px; }
.visit .hero-ctas { justify-content: center; }

footer {
  background: #051318;
  border-top: 1px solid rgba(239, 227, 204, 0.09);
  padding: 70px 28px 36px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 74px; }
.footer-brand p { font-size: 14px; font-weight: 300; color: var(--cream-dim); max-width: 36ch; }
footer h4 {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 15px; font-weight: 300; color: var(--cream-dim); transition: color 0.25s; }
footer ul a:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(239, 227, 204, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(216, 201, 174, 0.55);
  font-weight: 300;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--cream); }

/* ---------------------------------------------------------------- */
/* News page                                                          */
/* ---------------------------------------------------------------- */

.page-head {
  padding: calc(var(--nav-h) + 90px) 28px 70px;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(62, 108, 119, 0.35), transparent 65%),
    var(--ink);
  text-align: center;
}
.page-head .kicker { justify-content: center; }
.page-head .kicker::after {
  content: "";
  width: 42px; height: 1px; background: var(--gold); opacity: 0.7;
}
.news-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 130px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.post {
  border: 1px solid rgba(239, 227, 204, 0.13);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(13, 43, 51, 0.5);
}
.post .cover { max-height: 420px; overflow: hidden; }
.post .cover img { width: 100%; object-fit: cover; }
.post .inner { padding: 40px 44px 44px; }
.post time {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.post h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  margin: 10px 0 18px;
}
.post .text p { margin: 14px 0; color: var(--cream-dim); font-weight: 300; }
.post .text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- */
/* Rental pages (CasperLet embeds)                                    */
/* ---------------------------------------------------------------- */

.page-head.has-image {
  position: relative;
  padding-bottom: 110px;
  background:
    linear-gradient(180deg, rgba(8, 28, 34, 0.6) 0%, rgba(8, 28, 34, 0.8) 55%, var(--ink) 100%),
    var(--head-img) center 45% / cover no-repeat;
}
.page-head .lead { margin: 22px auto 0; text-align: center; }
.crumbs {
  margin-bottom: 26px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.crumbs a { transition: color 0.25s; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 10px; opacity: 0.5; }

.rise {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.rental-page { background: var(--ink); padding: 10px 28px 130px; }
.rental-page .rental-perks { justify-content: center; margin-top: 0; }

.embed-shell {
  margin-top: 46px;
  border-radius: 18px;
  background: var(--cream);
  padding: 12px;
  border: 1px solid rgba(217, 164, 65, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.embed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding: 6px 10px 14px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.embed-bar .live { display: inline-flex; align-items: center; gap: 10px; }
.embed-bar .live::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4c9a5b;
  box-shadow: 0 0 0 0 rgba(76, 154, 91, 0.6);
  animation: live-pulse 2s infinite;
}
@keyframes live-pulse {
  70% { box-shadow: 0 0 0 9px rgba(76, 154, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 154, 91, 0); }
}
.embed-bar a {
  color: var(--rose-deep);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.embed-bar a:hover { color: var(--ink-2); }

.embed-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #eeeeee;
  min-height: 320px;
}
.embed-frame::before {
  content: "Loading live availability…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-family: var(--font-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 14px;
}
.embed-frame.loaded::before { display: none; }
.embed-frame iframe {
  position: relative;
  width: 100%;
  height: clamp(720px, 88vh, 1000px);
  border: 0;
  display: block;
  background: transparent;
}

.help-cards {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.help-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(239, 227, 204, 0.14);
  border-radius: 14px;
  padding: 30px 28px;
  background: linear-gradient(160deg, rgba(62, 108, 119, 0.16), rgba(8, 28, 34, 0));
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.help-card:hover { transform: translateY(-5px); border-color: rgba(217, 164, 65, 0.5); }
.help-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.help-card p { font-size: 15px; font-weight: 300; color: var(--cream-dim); flex: 1; }
.help-card .more {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.mobile-menu a[aria-current="page"] { color: var(--gold); }

/* Forms (license application) */
.form-wrap { max-width: 920px; margin: 0 auto; }
.form-card {
  background: rgba(13, 43, 51, 0.62);
  border: 1px solid rgba(239, 227, 204, 0.14);
  border-radius: 18px;
  padding: 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 26px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.field label.req::after { content: " *"; color: var(--gold); }
.field input[type="text"],
.field input[type="number"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(239, 227, 204, 0.22);
  background: rgba(8, 28, 34, 0.75);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select option { background: var(--ink-2); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: rgba(216, 201, 174, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.2);
}
.field input[type="file"] { padding: 10px 12px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(217, 164, 65, 0.6);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.field .hint { margin-top: 7px; font-size: 13px; color: rgba(216, 201, 174, 0.7); font-weight: 300; }
.field .error { display: none; margin-top: 7px; font-size: 14px; color: #eea99e; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d06a5c; }
.field .check { display: flex; align-items: flex-start; gap: 12px; margin: 0; text-transform: none; letter-spacing: 0.01em; font-size: 16px; font-weight: 400; color: var(--cream); cursor: pointer; }
.field .check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.field[hidden] { display: none; }
.photo-preview { margin-top: 12px; width: 180px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(239, 227, 204, 0.25); }
.photo-preview[hidden] { display: none; }
.photo-preview img { width: 100%; display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg {
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(208, 106, 92, 0.14);
  border: 1px solid rgba(208, 106, 92, 0.45);
  color: #f0b3a9;
  font-size: 15px;
}
.form-msg[hidden] { display: none; }
.form-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.form-actions .btn:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
.form-success { text-align: left; }
.form-success[hidden], .form-card[hidden] { display: none; }
.form-success .tier-num { display: block; margin-bottom: 8px; }
.form-success .lead { margin-top: 18px; }
.form-success .fine { margin-top: 14px; font-size: 15px; color: var(--cream-dim); }
.form-success .fine strong { color: var(--gold); letter-spacing: 0.12em; }
@media (max-width: 720px) {
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
}

.tier { text-align: left; }
.tier-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.tier p strong { color: var(--cream); font-weight: 500; }
.referral-how { margin-top: 90px; max-width: 760px; }
.referral-how .lead strong { color: var(--cream); font-weight: 500; }
.referral-how .fine { margin-top: 14px; font-size: 14px; color: var(--cream-dim); font-style: italic; }
.refer-line { margin-top: 28px; text-align: center; font-size: 15px; color: var(--cream-dim); font-weight: 300; }
.refer-line a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .help-cards { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- */
/* Responsive                                                        */
/* ---------------------------------------------------------------- */

@media (max-width: 1080px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .about-grid, .map-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media .frame img { height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1320px) {
  .nav-links { display: none; }
  .nav-ctas { display: none; }
  .nav-burger { display: block; }
}

@media (max-width: 900px) {
  .rental-cards { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section-pad { padding: 90px 20px; }
  .gallery-grid { columns: 1; }
  .about-media .badge { left: 12px; bottom: -24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .post .inner { padding: 30px 24px 34px; }
  .activity-grid { grid-template-columns: 1fr; }
  .lightbox .lb-prev { left: 10px; }
  .lightbox .lb-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  * { scroll-behavior: auto !important; }
}
