/* ============================================================
   HALCYON RESIDENCES — Cinematic Nocturne
   Palette: midnight forest, deep teal, champagne gold, warm ivory
   Type: Cormorant Garamond (display) + Outfit (body)
   Motion: scroll-pinned choreography, cinematic reveals
   ============================================================ */

:root {
  --midnight: #0b1512;
  --teal: #142820;
  --teal-light: #1e3a30;
  --gold: #c9a962;
  --gold-soft: rgba(201, 169, 98, 0.18);
  --gold-glow: rgba(201, 169, 98, 0.45);
  --ivory: #f3ede3;
  --ivory-soft: rgba(243, 237, 227, 0.72);
  --ivory-faint: rgba(243, 237, 227, 0.42);
  --ink: #0b1512;
  --shadow-deep: 0 32px 80px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --container: 1200px;
  --nav-h: 72px;
  --ease-cine: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-gold: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold-soft); color: var(--ivory); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- 21st-inspired: scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  box-shadow: 0 0 12px var(--gold-glow);
  pointer-events: none;
}

/* ---------- 21st-inspired: dark horizon glow ---------- */
.horizon-glow {
  position: absolute;
  bottom: -20%;
  left: -10%;
  right: -10%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%, rgba(30, 90, 60, 0.45) 0%, rgba(201, 169, 98, 0.12) 35%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: glow-breathe 8s var(--ease-cine) infinite alternate;
}

@keyframes glow-breathe {
  0% { opacity: 0.7; transform: scaleY(1); }
  100% { opacity: 1; transform: scaleY(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .horizon-glow { animation: none; opacity: 0.85; }
}

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

body.day-mode .hero-kenburns img {
  filter: brightness(1.15) saturate(0.9);
}

/* ---------- typography ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ivory-soft);
  max-width: 52ch;
}

.body.center { text-align: center; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.5s var(--ease-cine), color 0.5s var(--ease-cine), border-color 0.5s var(--ease-cine), transform 0.4s var(--ease-gold), box-shadow 0.5s var(--ease-cine);
}

.btn-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--midnight);
  box-shadow: 0 8px 32px var(--gold-glow);
}

/* ---------- 21st-inspired: interactive hover button ---------- */
.btn-interactive {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-interactive .btn-text {
  display: inline-block;
  transition: transform 0.45s var(--ease-cine), opacity 0.45s var(--ease-cine);
}

.btn-interactive .btn-hover-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(16px);
  transition: transform 0.45s var(--ease-cine), opacity 0.45s var(--ease-cine);
  z-index: 2;
}

.btn-interactive .btn-hover-text::after {
  content: "→";
  font-size: 14px;
}

.btn-interactive .btn-hover-bg {
  position: absolute;
  left: 20%;
  top: 40%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transition: left 0.45s var(--ease-cine), top 0.45s var(--ease-cine), width 0.45s var(--ease-cine), height 0.45s var(--ease-cine), border-radius 0.45s var(--ease-cine), transform 0.45s var(--ease-cine);
  z-index: 0;
}

.btn-interactive:hover .btn-text {
  transform: translateX(20px);
  opacity: 0;
}

.btn-interactive:hover .btn-hover-text {
  transform: translateX(0);
  opacity: 1;
}

.btn-interactive:hover .btn-hover-bg {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  transform: scale(1);
}

.btn-interactive:hover {
  color: var(--midnight);
  background: transparent;
  border-color: var(--gold);
}

.btn-sm { padding: 10px 20px; font-size: 11px; }
.btn-lg { padding: 16px 36px; font-size: 13px; }
.btn-full { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.6s var(--ease-cine), backdrop-filter 0.6s var(--ease-cine);
}

.nav.scrolled {
  background: rgba(11, 21, 18, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  transition: color 0.4s var(--ease-cine);
}

.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-cine);
}

.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(11, 21, 18, 0.96);
  backdrop-filter: blur(20px);
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease-cine), opacity 0.5s var(--ease-cine);
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

/* ---------- section dots ---------- */
.section-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--ivory-faint);
  background: transparent;
  transition: background 0.4s var(--ease-cine), border-color 0.4s var(--ease-cine), transform 0.4s var(--ease-gold);
}

.section-dots .dot.active,
.section-dots .dot:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 32px 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-kenburns {
  position: absolute;
  inset: -8%;
  overflow: hidden;
}

.hero-kenburns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  animation: kenburns 28s var(--ease-cine) infinite alternate;
  transition: filter 1.2s var(--ease-cine);
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1.5%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kenburns img { animation: none; transform: scale(1.05); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 21, 18, 0.35) 0%,
    rgba(11, 21, 18, 0.15) 40%,
    rgba(11, 21, 18, 0.75) 75%,
    rgba(11, 21, 18, 0.95) 100%
  );
}

.city-lights-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-bottom: 40px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
  margin: 16px 0 24px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ivory-soft);
  max-width: 46ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s var(--ease-cine) infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ---------- vision (pinned scroll) ---------- */
.vision {
  position: relative;
  background: var(--midnight);
}

.vision-spacer {
  height: 300vh;
}

.vision-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.vision-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 70%, rgba(30, 58, 48, 0.5) 0%, var(--midnight) 65%);
}

.vision-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.vision-copy {
  position: absolute;
  z-index: 2;
  max-width: 340px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-cine), transform 0.8s var(--ease-cine);
}

.vision-copy.visible {
  opacity: 1;
  transform: translateY(0);
}

.vision-copy-left {
  left: 32px;
  bottom: 120px;
}

.vision-copy-right {
  right: 32px;
  bottom: 120px;
  display: flex;
  gap: 40px;
}

.vision-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.vision-progress {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 200px;
}

.vision-progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(243, 237, 227, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.vision-progress-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--gold);
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--gold-glow);
}

.vision-progress-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

/* ---------- sections ---------- */
.section {
  padding: 120px 32px;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head .kicker { margin-bottom: 12px; }
.section-head .h2 { margin-bottom: 20px; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-cine), transform 0.9s var(--ease-cine);
}

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

/* ---------- residences explorer ---------- */
.residences {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--teal) 100%);
}

.explorer {
  display: grid;
  grid-template-columns: 140px 1fr 340px;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 480px;
}

.explorer-mobile { display: none; }

.explorer-tower {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tower-svg {
  width: 120px;
  height: auto;
}

.tower-floor {
  cursor: pointer;
  transition: fill 0.4s var(--ease-cine), opacity 0.4s var(--ease-cine);
}

.tower-floor:hover,
.tower-floor.active {
  opacity: 1 !important;
}

.tower-floor.penthouse { fill: #8B7355; }
.tower-floor.residence { fill: #2A4A3A; }
.tower-floor.studio { fill: #1E3530; }

.tower-floor.active.penthouse { fill: var(--gold); }
.tower-floor.active.residence { fill: #4A7A5A; }
.tower-floor.active.studio { fill: #3A6A5A; }

.tower-floor-preview {
  opacity: 0;
  transition: opacity 0.3s var(--ease-gold);
}

.tower-floor:hover .tower-floor-preview { opacity: 0.6; }

.tower-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ivory-faint);
}

.legend-item { display: flex; align-items: center; gap: 6px; }

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-swatch.penthouse { background: var(--gold); }
.legend-swatch.residence { background: #4A7A5A; }
.legend-swatch.studio { background: #3A6A5A; }

.explorer-plan {
  background: rgba(20, 40, 32, 0.6);
  border: 1px solid rgba(201, 169, 98, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s var(--ease-cine);
}

.explorer-plan.active-plan {
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 0 0 40px rgba(201, 169, 98, 0.08);
}

.plan-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.plan-room {
  fill: rgba(201, 169, 98, 0.08);
  stroke: rgba(201, 169, 98, 0.35);
  stroke-width: 1.5;
}

.plan-wall { stroke: var(--gold); stroke-width: 2; fill: none; }
.plan-label {
  fill: var(--ivory-faint);
  font-family: Outfit, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.explorer-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.unit-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-soft) transparent;
}

.unit-item {
  padding: 12px 16px;
  border: 1px solid rgba(201, 169, 98, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.4s var(--ease-cine), background 0.4s var(--ease-cine), transform 0.3s var(--ease-gold);
}

.unit-item:hover { border-color: rgba(201, 169, 98, 0.3); transform: translateX(4px); }

.unit-item.active {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.unit-item-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory);
}

.unit-item-meta {
  font-size: 11px;
  color: var(--ivory-faint);
  margin-top: 2px;
}

.unit-panel {
  background: rgba(11, 21, 18, 0.6);
  border: 1px solid rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.5s var(--ease-cine), opacity 0.5s var(--ease-cine);
}

.unit-panel.updating {
  opacity: 0.6;
  transform: translateY(6px);
}

.unit-tier {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.unit-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.unit-price {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.unit-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.unit-specs dt {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.unit-specs dd {
  font-size: 14px;
  font-weight: 500;
}

.unit-features {
  list-style: none;
  margin-bottom: 24px;
}

.unit-features li {
  font-size: 13px;
  color: var(--ivory-soft);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.unit-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

/* ---------- amenities ---------- */
.amenities {
  background: var(--teal);
  padding-bottom: 80px;
  overflow: hidden;
}

.amenities-head {
  padding: 0 32px;
  margin-bottom: 48px;
}

.amenities-track {
  display: flex;
  gap: 24px;
  padding: 0 32px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.amenities-track::-webkit-scrollbar { display: none; }

.amenity-card {
  flex: 0 0 min(420px, 80vw);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  transition: transform 0.6s var(--ease-cine);
  transform-style: preserve-3d;
}

.amenity-card:hover {
  transform: perspective(800px) rotateY(-2deg) rotateX(1deg) scale(1.02);
}

.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-cine);
}

.amenity-card:hover img { transform: scale(1.05); }

.amenity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 21, 18, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.amenity-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.amenity-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.amenity-overlay p {
  font-size: 13px;
  color: var(--ivory-soft);
  line-height: 1.6;
}

/* ---------- location ---------- */
.location {
  background: var(--midnight);
  overflow: hidden;
}

.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: center;
}

.map-svg {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 98, 0.12);
}

.map-pin-main {
  animation: pin-pulse 3s var(--ease-cine) infinite;
}

@keyframes pin-pulse {
  0%, 100% { r: 8; opacity: 1; }
  50% { r: 10; opacity: 0.7; }
}

.location-list {
  list-style: none;
  margin-top: 32px;
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.08);
  font-size: 14px;
  color: var(--ivory-soft);
}

.loc-distance {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  min-width: 48px;
}

.location-parallax {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  opacity: 0.06;
  pointer-events: none;
  transition: transform 0.1s linear;
}

.location-parallax img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ---------- register ---------- */
.register {
  background: linear-gradient(180deg, var(--midnight) 0%, #060e0b 100%);
  border-top: 1px solid rgba(201, 169, 98, 0.08);
}

.register-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}

.register-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 14px;
  color: var(--ivory-soft);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(20, 40, 32, 0.4);
  border: 1px solid rgba(201, 169, 98, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.register-form label span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  margin-bottom: 6px;
}

.register-form input,
.register-form select,
.register-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(11, 21, 18, 0.6);
  border: 1px solid rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-sm);
  color: var(--ivory);
  transition: border-color 0.4s var(--ease-cine);
}

.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.register-form textarea { resize: vertical; min-height: 80px; }

.form-note {
  font-size: 12px;
  color: var(--ivory-faint);
  text-align: center;
}

/* ---------- footer ---------- */
.footer {
  padding: 40px 32px;
  border-top: 1px solid rgba(201, 169, 98, 0.06);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.footer-copy {
  font-size: 12px;
  color: var(--ivory-faint);
}

.footer-hint {
  opacity: 0.45;
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: var(--ivory-faint);
  transition: color 0.4s var(--ease-cine);
}

.footer-links a:hover { color: var(--gold); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  padding: 16px 32px;
  background: var(--teal);
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: 14px;
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.6s var(--ease-cine), transform 0.6s var(--ease-cine);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .explorer {
    grid-template-columns: 100px 1fr 280px;
    gap: 20px;
  }

  .vision-copy-left,
  .vision-copy-right {
    max-width: 280px;
  }

  .vision-copy-right { gap: 24px; }
}

@media (max-width: 768px) {
  .nav-links, .section-dots { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 0 24px 60px; align-items: flex-end; }
  .hero-scroll-hint { display: none; }

  .vision-copy-left {
    left: 24px;
    bottom: 100px;
    max-width: 260px;
  }

  .vision-copy-right {
    right: 24px;
    bottom: 100px;
    gap: 16px;
  }

  .stat-num { font-size: 2rem; }

  .section { padding: 80px 24px; }

  .explorer { display: none; }
  .explorer-mobile { display: block; max-width: var(--container); margin: 0 auto; }

  .mobile-unit-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .mobile-unit-btn {
    padding: 10px 16px;
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 100px;
    font-size: 12px;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.4s var(--ease-cine), background 0.4s var(--ease-cine);
  }

  .mobile-unit-btn.active {
    border-color: var(--gold);
    background: var(--gold-soft);
  }

  .mobile-plan-wrap {
    background: rgba(20, 40, 32, 0.6);
    border: 1px solid rgba(201, 169, 98, 0.12);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
  }

  .mobile-detail {
    background: rgba(11, 21, 18, 0.6);
    border: 1px solid rgba(201, 169, 98, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
  }

  .location-layout,
  .register-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row { grid-template-columns: 1fr; }

  .amenity-card { flex: 0 0 min(320px, 85vw); }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .vision-copy-right { display: none; }
}
