:root {
  --bg: #050b10;
  --surface: #0b141d;
  --surface-soft: #111c27;
  --text: #ecf7ff;
  --muted: #b3c9d8;
  --line: rgba(100, 196, 252, 0.25);
  --primary: #64c4fc;
  --primary-strong: #34b0f5;
  --ok: #7ce2b7;
  --error: #ff9ca8;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 10% 5%,
      rgba(100, 196, 252, 0.12),
      transparent 42%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(100, 196, 252, 0.08),
      transparent 35%
    ),
    var(--bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

img,
video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 1.4rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(4, 10, 15, 0.94),
    rgba(4, 10, 15, 0.72)
  );
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 3.4vw, 1.35rem);
  letter-spacing: 0.015em;
  max-width: 70%;
  line-height: 1.2;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(100, 196, 252, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 0.42rem 0.92rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  top: 64px;
  right: 0.7rem;
  left: 0.7rem;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 13, 20, 0.96);
}

.site-nav.open {
  display: flex;
}

.site-nav a,
.footer-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  transition:
    color 220ms ease,
    background 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
  background: rgba(100, 196, 252, 0.14);
}

.hero {
  position: relative;
  min-height: 95vh;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-media,
.story-bg,
.zoom-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=2000&q=80");
  transform-origin: center center;
}

.hero-overlay,
.story-overlay,
.zoom-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 12, 0.52), rgba(4, 8, 12, 0.84)),
    linear-gradient(130deg, rgba(100, 196, 252, 0.2), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5.8rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 12vw, 5.8rem);
  line-height: 1;
  max-width: 16ch;
}

.hero-sub {
  margin-top: 1.1rem;
  max-width: 52ch;
  color: #d8ecfa;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(100, 196, 252, 0.42);
  background: rgba(4, 22, 34, 0.72);
  color: #c9ebff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.62rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-contact {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
  color: #e4f5ff;
  font-weight: 600;
  font-size: 0.93rem;
}

.contact-link svg {
  flex: 0 0 auto;
  color: var(--primary);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #ffffff;
}

.contact-divider {
  color: rgba(228, 245, 255, 0.65);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    color 260ms ease;
}

.btn-solid {
  background: var(--primary);
  color: #052235;
  box-shadow: 0 12px 28px rgba(100, 196, 252, 0.34);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: #83d1fd;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(100, 196, 252, 0.58);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(100, 196, 252, 0.12);
  transform: translateY(-2px);
}

.story {
  position: relative;
  min-height: 210vh;
  isolation: isolate;
}

.story-bg {
  background-image: url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=2000&q=80");
}

.story-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  align-items: center;
  z-index: 2;
}

.story-track {
  text-align: center;
}

.story-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 7vw, 4rem);
}

.story-line {
  margin-top: 1rem;
  font-size: clamp(1.2rem, 7vw, 2.8rem);
  opacity: 0.24;
  transform: translateY(22px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.story-line.active {
  opacity: 1;
  transform: translateY(0);
}

.section-pad {
  padding: 5rem 0;
}

.section-head h2,
.zoom-content h2,
.booking-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 7vw, 3.1rem);
}

.units {
  background: linear-gradient(180deg, #050c12 0%, #09131c 100%);
}

.units-grid {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.unit-card {
  border-radius: var(--radius);
  border: 1px solid rgba(100, 196, 252, 0.18);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  transition:
    transform 320ms ease,
    box-shadow 320ms ease;
}

.unit-image {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.unit-body {
  padding: 1rem;
}

.meta,
.desc,
.booking-copy p,
.empty-state,
.footer-wrap p {
  color: var(--muted);
}

.price {
  margin: 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.price span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.zoom-showcase {
  position: relative;
  min-height: 75vh;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.zoom-media {
  background-image: url("https://images.unsplash.com/photo-1619654297299-c8506221ca97?auto=format&fit=crop&w=2000&q=80");
  transform-origin: center;
}

.zoom-content {
  position: relative;
  z-index: 2;
  max-width: 66ch;
}

.booking {
  background: linear-gradient(180deg, #08111a 0%, #070f17 100%);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

.booking-copy p {
  margin-top: 0.9rem;
  max-width: 52ch;
}

.booking-card,
.dashboard {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  background: #08131d;
  border: 1px solid rgba(100, 196, 252, 0.34);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.82rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(100, 196, 252, 0.28);
}

.form-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.form-message {
  min-height: 1.4rem;
  font-weight: 700;
}

.form-message.success {
  color: var(--ok);
}

.form-message.error {
  color: var(--error);
}

.dashboard {
  margin-top: 2rem;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.booking-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}

.booking-item {
  border: 1px solid rgba(100, 196, 252, 0.24);
  background: #08131d;
  border-radius: 12px;
  padding: 0.85rem;
}

.booking-item p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050b10;
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 680px) {
  .container {
    width: min(1180px, calc(100% - 2.2rem));
  }

  .units-grid,
  .booking-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unit-image {
    height: 230px;
  }

  .hero-content {
    padding-top: 6.2rem;
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    border: 0;
    background: transparent;
    padding: 0;
    width: auto;
  }

  .site-nav a {
    border-radius: 999px;
  }

  .section-pad {
    padding: 6rem 0;
  }

  .booking-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 1rem;
  }
}

@media (min-width: 1040px) {
  .units-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zoom-showcase {
    min-height: 88vh;
  }
}

@media (hover: hover) and (pointer: fine) {
  .unit-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .story-line,
  .unit-card,
  .btn {
    transition: none;
  }
}
