:root {
  --bg: #0a0e1a;
  --bg-2: #10162a;
  --bg-3: #161d35;
  --fg: #e6eaf4;
  --muted: #8a93a8;
  --blue: #6fa8ff;
  --amber: #e8a33d;
  --line: rgba(255, 255, 255, 0.08);
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--amber); color: #1a1206; padding: 10px 16px; border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.accent { color: var(--amber); }

.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.7rem; border-radius: 100px; font-weight: 500; font-size: 0.98rem;
  letter-spacing: 0.01em; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  will-change: transform;
}
.btn--glow { background: var(--amber); color: #1a1206; box-shadow: 0 0 0 rgba(232, 163, 61, 0.5); }
.btn--glow:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(232, 163, 61, 0.35); }
.btn--ghost { border: 1px solid var(--line); color: var(--fg); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--blue); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.5rem);
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(10, 14, 26, 0.85), rgba(10, 14, 26, 0));
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; letter-spacing: 0.12em; }
.nav__mark {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--amber); position: relative; flex: none;
}
.nav__mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--blue); }
.nav__links { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); }
.nav__links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.nav__links a:hover { color: var(--fg); }
.nav__cta { color: var(--fg) !important; border: 1px solid var(--line); padding: 0.5rem 1.1rem; border-radius: 100px; }
.nav__cta:hover { border-color: var(--amber); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(111, 168, 255, 0.12), transparent 55%),
    radial-gradient(80% 70% at 50% 120%, rgba(232, 163, 61, 0.12), transparent 60%),
    linear-gradient(to bottom, transparent 40%, var(--bg) 96%);
}
.hero__inner { position: relative; z-index: 2; padding: 6rem 1.3rem 2rem; max-width: 880px; }
.hero__title { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.6rem; }
.hero__lead { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 560px; margin: 0 auto 2.4rem; }
.hero__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 100px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--blue); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- generic section ---------- */
section { padding: clamp(4.5rem, 11vw, 8rem) clamp(1.1rem, 4vw, 2.5rem); }
.place, .tours, .gallery, .booking { max-width: var(--maxw); margin: 0 auto; }

/* ---------- place / stats ---------- */
.place__photo { margin: 0 0 clamp(2rem, 5vw, 3rem); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 9; }
.place__photo img { width: 100%; height: 100%; object-fit: cover; }
.place__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.place__text { font-size: 1.12rem; color: #c3c9da; }
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stat { background: var(--bg-2); padding: 1.5rem 1.6rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.stat dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat dd { display: flex; align-items: baseline; gap: 0.35rem; }
.stat__num { font-size: 2.4rem; font-weight: 700; color: var(--fg); font-feature-settings: "tnum"; }
.stat__unit { font-family: var(--mono); color: var(--blue); font-size: 0.9rem; }

/* ---------- tours ---------- */
.tours__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.2rem; }
.tour { position: relative; padding: 2rem 1.7rem; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; overflow: hidden; }
.tour::before { content: ""; position: absolute; inset: -1px; border-radius: 20px; background: radial-gradient(120% 80% at 50% 0%, rgba(111, 168, 255, 0.16), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.tour:hover { transform: translateY(-6px); border-color: rgba(111, 168, 255, 0.4); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5); }
.tour:hover::before { opacity: 1; }
.tour__idx { font-family: var(--mono); color: var(--amber); font-size: 0.85rem; letter-spacing: 0.1em; }
.tour h3 { margin: 0.8rem 0 0.7rem; }
.tour p { color: var(--muted); font-size: 0.97rem; }
.tour__meta { display: block; margin-top: 1.3rem; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--blue); }

/* ---------- navigator ---------- */
.navigator { position: relative; max-width: var(--maxw); margin: 0 auto; text-align: center; overflow: hidden; }
.navigator__glow { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 40%, rgba(111, 168, 255, 0.14), transparent 70%); pointer-events: none; }
.navigator__inner { position: relative; max-width: 680px; margin: 0 auto; }
.navigator__lead { color: var(--muted); font-size: 1.1rem; margin: 1rem auto 2rem; }
.navigator__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.8rem; }
.navigator__chips li { font-family: var(--mono); font-size: 0.82rem; color: #c3c9da; padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 100px; background: rgba(255, 255, 255, 0.02); }
.navigator__hint { color: var(--muted); font-size: 0.95rem; }
.navigator__dot { color: var(--amber); }

/* ---------- gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.shot { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.shot__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: #d6dcec; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 8, 16, 0.75), transparent 55%); }
.shot--neb { background: radial-gradient(60% 55% at 35% 40%, #7b3f8f, transparent 60%), radial-gradient(50% 50% at 70% 65%, #2f5fb0, transparent 60%), #0c1124; }
.shot--milky { background: linear-gradient(160deg, #0b1126, #16203f), radial-gradient(90% 30% at 50% 50%, rgba(180, 200, 255, 0.5), transparent 60%); }
.shot--moon { background: radial-gradient(70% 70% at 65% 35%, #d8d2c4, #4a4a52 70%, #14131a); }
.shot--galaxy { background: radial-gradient(45% 45% at 50% 50%, #f0d9a8, #b06a8f 45%, #1a2350 75%, #0a0e1a); }

/* ---------- reviews ---------- */
.reviews { position: relative; text-align: center; overflow: hidden; }
.reviews__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.reviews__bg { position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 120% at 50% 50%, rgba(16, 22, 42, 0.55), rgba(10, 14, 26, 0.82)); }
.reviews__quote { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.reviews__quote p { font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; }
.reviews__quote footer { margin-top: 1.6rem; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--amber); }

/* ---------- booking ---------- */
.booking__card { max-width: 760px; margin: 0 auto; padding: clamp(1.6rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); text-align: center; }
.booking__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-bottom: 1.6rem; font-size: 0.85rem; color: var(--muted); }
.booking__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.moon { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.moon--new { background: var(--bg-3); border: 1px solid var(--line); }
.moon--half { background: linear-gradient(90deg, var(--bg-3) 50%, #cdd6ea 50%); }
.moon--full { background: #cdd6ea; }
.booking__calhead { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-bottom: 0.8rem; }
.cal__title { font-family: var(--mono); font-size: 0.92rem; letter-spacing: 0.06em; min-width: 165px; text-align: center; }
.cal__nav { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-3); color: var(--fg); font-size: 1.1rem; cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.cal__nav:hover { border-color: var(--blue); transform: translateY(-1px); }
.booking__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 360px; margin: 0 auto 6px; }
.booking__weekdays span { text-align: center; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); }
.booking__calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0 auto 1rem; max-width: 360px; }
.booking__calendar .cell { aspect-ratio: 1; border: 1px solid transparent; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); background: var(--bg-3); cursor: pointer; padding: 0; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.booking__calendar .cell--empty { background: none; border: none; cursor: default; }
.booking__calendar .cell:not(.cell--empty):not(:disabled):hover { transform: translateY(-1px); border-color: rgba(111, 168, 255, 0.5); }
.booking__calendar .cell__m { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.booking__calendar .cell--good { color: var(--fg); border-color: rgba(111, 168, 255, 0.45); background: rgba(111, 168, 255, 0.08); }
.booking__calendar .cell--past { opacity: 0.32; cursor: default; }
.booking__calendar .cell--sel { border-color: var(--amber); background: rgba(232, 163, 61, 0.14); color: var(--fg); }
.booking__selected { min-height: 1.2em; color: var(--amber); font-size: 0.9rem; margin-bottom: 0.8rem; font-family: var(--mono); }
.booking__note { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }

/* ---------- footer ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1.1rem, 4vw, 2.5rem) 3rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; border-top: 1px solid var(--line); }
.footer__brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 800; letter-spacing: 0.1em; }
.footer__brand small { font-family: var(--mono); font-weight: 400; letter-spacing: 0.04em; color: var(--muted); }
.footer h3 { font-size: 0.78rem; font-family: var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.9rem; font-weight: 500; }
.footer__tonight { list-style: none; color: #c3c9da; font-size: 0.95rem; display: grid; gap: 0.5rem; }
.footer__col p { color: #c3c9da; font-size: 0.95rem; }
.footer__col a:hover { color: var(--amber); }
.footer__rights { grid-column: 1 / -1; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- chat widget theme (AURORA) ---------- */
.cw-root { --cw-accent: var(--amber); --cw-bg: #0d1426; --cw-fg: var(--fg); }
.cw-msg.cw-assistant { background: rgba(111, 168, 255, 0.1); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .place__grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__scroll span { animation: none; }
}
