:root {
  --ink: #e9e1cf;
  --muted: #afa892;
  --gold: #caa96b;
  --dark: #090d0c;
  --green: #101b17;
  --line: rgba(202, 169, 107, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--dark); font-family: "Noto Serif SC", serif; }
html.magic-cursor-enabled,
html.magic-cursor-enabled *,
html.magic-cursor-enabled *::before,
html.magic-cursor-enabled *::after {
  cursor: none !important;
}
a { color: inherit; text-decoration: none; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }

.magic-wand-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483647;
  width: 84px;
  height: 84px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-22px, -16px);
  transition: opacity .16s ease, filter .18s ease;
  will-change: transform, left, top;
}

.magic-wand-cursor.is-visible { opacity: 1; }

.magic-wand-cursor .wand-glow {
  position: absolute;
  left: 4px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 233, 151, .78), rgba(209, 157, 67, .26) 42%, transparent 72%);
  opacity: 0;
  transform: scale(.72);
  transition: opacity .18s ease, transform .18s ease;
  filter: blur(.2px);
}

.magic-wand-cursor .wand-shaft {
  position: absolute;
  left: 12px;
  top: 57px;
  width: 66px;
  height: 7px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 18px, rgba(83, 39, 13, .32) 18px 20px, transparent 20px 42px, rgba(255, 220, 151, .28) 42px 44px, transparent 44px),
    linear-gradient(180deg, #e8b872 0%, #b97634 45%, #6a3212 100%);
  box-shadow: inset 0 1px 0 #ffe2aa77, inset 0 -1px 0 #170704cc, 0 2px 4px #0007;
  clip-path: polygon(0 0, 9% 13%, 100% 40%, 100% 60%, 9% 87%, 0 100%);
  transform: rotate(-133deg);
  transform-origin: top center;
}

.magic-wand-cursor.is-hovering { filter: drop-shadow(0 0 4px rgba(255, 214, 117, .38)); }

.magic-wand-cursor.is-hovering .wand-glow {
  opacity: 1;
  transform: scale(1);
}

.magic-spark {
  position: fixed;
  z-index: 2147483646;
  width: var(--spark-size, 5px);
  height: var(--spark-size, 5px);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, #fff9c9 0 18%, #f2cf73 36%, transparent 72%);
  box-shadow: 0 0 8px rgba(238, 196, 88, .55);
  animation: magic-spark-fade .72s ease-out forwards;
  transform: translate(-50%, -50%);
}

@keyframes magic-spark-fade {
  from { opacity: .72; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(calc(-50% + var(--spark-x, 0px)), calc(-50% + var(--spark-y, 0px))) scale(.2); }
}

.nav { position: fixed; inset: 0 0 auto; z-index: 20; height: 72px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(#080c0be8, transparent); backdrop-filter: blur(3px); }
.brand { font-weight: 900; letter-spacing: .12em; }
.brand span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: "Playfair Display"; }
.nav nav { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.nav-cta { border: 1px solid var(--gold); padding: 10px 18px; color: var(--gold); font-size: 13px; }
.nav-login { height:39px; display:inline-flex; align-items:center; border: 1px solid var(--gold); padding: 0 18px; color: var(--gold); background: transparent; font-size: 13px; cursor: pointer; }
.nav-login[hidden] { display: none !important; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; filter: saturate(.7) contrast(1.1); }
.hero-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #060a09f5 8%, #080d0cb5 48%, #080d0c44), linear-gradient(0deg, #090d0c 0%, transparent 35%); }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(#e8d6a5 1px, transparent 1px); background-size: 75px 75px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-copy { z-index: 2; width: min(750px, 90%); margin-left: 9vw; padding-top: 50px; }
.eyebrow, .section-kicker { color: var(--gold); letter-spacing: .22em; font-family: "Playfair Display"; font-size: 11px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 18px 0 24px; font-size: clamp(62px, 9vw, 135px); line-height: .92; letter-spacing: -.07em; }
em { color: var(--gold); font-style: normal; }
.keep-together { white-space: nowrap; }
.hero-world { display: block; padding-left: 1.865em; }
.lead { max-width: 500px; color: #d0c9b7; font-size: 17px; line-height: 1.9; letter-spacing: .22px; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 55px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; padding: 15px 24px; border: 1px solid var(--gold); font: inherit; font-size: 14px; cursor: pointer; transition: .25s ease; }
.primary { color: #111; background: var(--gold); }
.primary:hover { background: #ead098; transform: translateY(-2px); }
.ghost:hover { color: #111; background: var(--ink); border-color: var(--ink); }
.trust-row { display: flex; gap: 35px; color: var(--muted); font-size: 11px; }
.trust-row strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 16px; }
.scroll-cue { position: absolute; z-index: 2; right: 5vw; bottom: 5vh; writing-mode: vertical-rl; color: var(--muted); font-size: 11px; letter-spacing: .16em; }
.scroll-cue span {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 30px;
  margin-top: 10px;
  color: var(--gold);
  font-size: 0;
  writing-mode: horizontal-tb;
}
.scroll-cue span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 24px;
  background: currentColor;
  transform: translateX(-50%);
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.section { padding: 120px 9vw; }
.story { background: linear-gradient(135deg, #0c1411, #090d0c); }
.story-grid { display: grid; grid-template-columns: minmax(600px, 1.18fr) minmax(360px, .82fr); gap: 5vw; margin-top: 35px; align-items: center; }
h2 { font-size: clamp(40px, 5.5vw, 78px); line-height: 1.18; letter-spacing: -.06em; }
.story-title { margin-bottom: 0; line-height: 1.1; letter-spacing: -.055em; }
.story-title span { display: inline-block; margin-top: .08em; }
.story-title em { display: inline-block; margin-top: .1em; }
.story-copy { max-width: 540px; color: var(--muted); line-height: 2; }
.text-link, .card a { color: var(--gold); font-size: 13px; }
.story-visuals { display: grid; grid-template-columns: 1.18fr .82fr; gap: 18px; margin-top: 90px; align-items: end; }
.story-visual { position: relative; margin: 0; overflow: hidden; background: #080b0a; }
.story-visual-main { aspect-ratio: 3 / 2; height: auto; }
.story-visual-detail { height: min(42vw, 500px); margin-bottom: -55px; }
.story-visual img { filter: saturate(.76) sepia(.14); transition: transform .8s ease, filter .5s ease; }
.story-visual-main img { object-position: 18% center; }
.story-visual-detail img { object-position: 32% center; }
.story-visual:hover img { transform: scale(1.025); filter: saturate(.9); }
.story-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #070b09d9 0%, transparent 38%); pointer-events: none; }
.story-visual figcaption { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 22px; display: flex; align-items: center; gap: 12px; color: #e9e1cf; font-size: 12px; letter-spacing: .1em; }
.story-visual figcaption span { color: var(--gold); font-family: "Playfair Display"; font-size: 18px; }

.experiences { background: #0d1210; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-head h2 { margin: 12px 0 0; }
.section-head p { max-width: 300px; color: var(--muted); line-height: 1.8; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.cards > .card { width: 100%; min-width: 0; box-sizing: border-box; grid-column: auto; }
.card { position: relative; isolation: isolate; min-height: clamp(360px, 27vw, 440px); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: #101914; border: 1px solid var(--line); transition: .3s ease; }
.card::before { content: ""; position: absolute; z-index: -2; inset: 0; background: var(--card-image) center / cover; filter: saturate(.6); transition: transform .6s ease, filter .5s ease; }
.card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #09100dd9 0%, #09100d35 38%, #07100dec 100%); }
.card-video::before { display: none; }
.card-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; filter: saturate(.9); transition: transform .6s ease, filter .5s ease; }
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.card:hover { transform: translateY(-8px); border-color: var(--gold); }
.card:hover::before { transform: scale(1.045); filter: saturate(.9); }
.card-video:hover .card-media { transform: scale(1.045); filter: saturate(.9); }
.card-number { align-self: flex-end; color: var(--gold); font-family: "Playfair Display"; }
.card-content { width: 100%; text-align: right; }
.card-content h3 { font-size: 28px; margin-bottom: 15px; }
.card-content p { min-height: 70px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.tag { display: inline-block; margin-bottom: 12px; padding: 4px 9px; color: #111; background: var(--gold); font-size: 10px; }

.gallery { padding: 88px 5vw 100px; background: #080b0a; }
.rooms-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.rooms-heading h2 { margin: 14px 0 18px; }
.rooms-heading p { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .06em; }
.rooms-showcase { max-width: 1440px; margin: auto; }
.rooms-hero, .room-tile { position: relative; margin: 0; overflow: hidden; background: #101914; }
.rooms-hero { height: min(58vw, 700px); }
.rooms-hero img, .room-tile img { filter: saturate(.76) sepia(.06); transition: transform .8s ease, filter .45s ease; }
.rooms-hero:hover img, .room-tile:hover img { transform: scale(1.025); filter: saturate(.98); }
.rooms-hero img.tone-match-warm { filter: saturate(.64) sepia(.18) hue-rotate(-10deg) brightness(1.03) contrast(.92); }
.rooms-hero:hover img.tone-match-warm { transform: scale(1.025); filter: saturate(.7) sepia(.16) hue-rotate(-10deg) brightness(1.08) contrast(.94); }
.room-tile img.tone-match-warm { filter: saturate(.54) sepia(.22) hue-rotate(-12deg) brightness(.82) contrast(1.08); }
.room-tile:hover img.tone-match-warm { transform: scale(1.025); filter: saturate(.68) sepia(.18) hue-rotate(-12deg) brightness(.88) contrast(1.08); }
.room-tile:has(img.tone-match-warm)::after { background: linear-gradient(0deg, #0508078f 0%, transparent 42%); }
.rooms-hero::after, .room-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #050807e8 0%, transparent 48%); pointer-events: none; }
.rooms-hero figcaption { position: absolute; z-index: 1; left: 38px; bottom: 32px; }
.rooms-hero figcaption span { color: var(--gold); font: 10px "Playfair Display"; letter-spacing: .22em; }
.rooms-hero figcaption h3 { margin: 8px 0 6px; font-size: clamp(26px, 3vw, 44px); }
.rooms-hero figcaption p { margin: 0; color: #c9c1ae; font-size: 12px; }
.rooms-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.room-tile { aspect-ratio: 3 / 2; }
.room-tile figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: baseline; gap: 12px; }
.room-tile figcaption span { color: var(--gold); font: 15px "Playfair Display"; }
.room-tile figcaption h3 { margin: 0; font-size: 15px; letter-spacing: .1em; }

.proof { text-align: center; background: #101914; border-block: 1px solid var(--line); }
blockquote { margin: 0 auto 70px; max-width: 950px; color: #e8dcc4; font-size: clamp(30px, 4.5vw, 68px); line-height: 1.45; letter-spacing: -.05em; }
.proof-stats { display: flex; justify-content: center; gap: 10vw; }
.proof-stats strong { display: block; color: var(--gold); font-family: "Playfair Display"; font-size: 42px; }
.proof-stats span { color: var(--muted); font-size: 12px; }

.booking { background: radial-gradient(circle at 75% 50%, #2a321c, #0b100e 55%); }
.booking-panel { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: center; }
.booking-panel h2 { margin: 18px 0; }
.booking-panel p { color: var(--muted); line-height: 1.8; }
.contact-card { padding: 40px; border: 1px solid var(--gold); background: #0a0f0dcc; box-shadow: 0 25px 70px #0008; }
.contact-card span, .contact-card small { display: block; color: var(--muted); font-size: 11px; }
.contact-card strong { display: block; margin: 20px 0; color: var(--gold); font-family: "Playfair Display"; font-size: 38px; letter-spacing: .08em; }
.contact-card .button { width: 100%; margin: 18px 0; }

footer { min-height: 156px; padding: 0 9vw; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; place-items: center; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
footer > * { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; }
footer .brand { display: flex; align-items: center; justify-content: center; }
.legal { line-height: 1.7; }
.floating-cta { display: none; }

.auth-chip {
  position: fixed;
  right: 22px;
  top: 78px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  color: #f7dfae;
  background: rgba(12, 8, 5, .78);
  border: 1px solid rgba(217, 181, 109, .42);
  backdrop-filter: blur(14px);
  font-size: 12px;
  letter-spacing: .08em;
}

.auth-chip a,
.auth-chip button {
  color: var(--gold);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.auth-chip.nav-auth-chip {
  position: static;
  justify-self: end;
  height: 39px;
  padding: 0 14px;
  background: transparent;
  backdrop-filter: none;
}

.auth-lock { overflow: hidden; }
.auth-modal[hidden] { display: none; }
.auth-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.auth-backdrop { position: absolute; inset: 0; background: rgba(3,2,1,.72); backdrop-filter: blur(12px); }
.auth-dialog { position: relative; width: min(520px, 94vw); padding: 34px; color: #f8ead0; background: linear-gradient(145deg,#21160e,#0b0705); border: 1px solid rgba(217,181,109,.45); box-shadow: 0 35px 90px #000d; }
.auth-close { position: absolute; right: 15px; top: 12px; color: var(--gold); background: transparent; border: 0; font-size: 28px; cursor: pointer; }
.auth-kicker { margin: 0 0 10px; color: var(--gold); font-size: 10px; letter-spacing: .22em; }
.auth-dialog h2 { margin: 0; font-size: 32px; }
.auth-reason { color: var(--muted); line-height: 1.8; }
.auth-tabs { display: flex; gap: 10px; margin: 24px 0 16px; }
.auth-tabs button,.auth-primary,#authSendCode { padding: 11px 15px; color: var(--gold); background: transparent; border: 1px solid var(--gold); cursor: pointer; }
.auth-tabs button.active,.auth-primary,#authSendCode { color: #120c07; background: var(--gold); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-panel label { display: block; margin: 12px 0; color: var(--muted); }
.auth-panel input { width: 100%; margin-top: 7px; padding: 13px; color: #fff4d9; background: #080503; border: 1px solid rgba(217,181,109,.32); outline: none; }
.auth-code-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.auth-primary { width: 100%; margin-top: 10px; font-weight: 800; }
.auth-primary.ghost { background: transparent; color: var(--gold); }
.auth-link-button { display: block; width: fit-content; margin: 14px auto 0; padding: 0; color: var(--gold); background: transparent; border: 0; cursor: pointer; font: inherit; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.auth-status,#authHint,.auth-panel p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.auth-qr { width: 210px; padding: 14px; color: #120c07; background: #f8ead0; text-align: center; }
.auth-qr i { display: block; width: 182px; height: 182px; margin-bottom: 9px; background: linear-gradient(90deg,#111 10px,transparent 10px) 0 0/26px 26px, linear-gradient(#111 10px,transparent 10px) 0 0/26px 26px, radial-gradient(circle,#111 0 8px,transparent 9px) 13px 13px/52px 52px, #f8ead0; }

@media (max-width: 800px) {
  .nav { height: 60px; padding: 0 20px; }
  .nav nav, .nav-cta { display: none; }
  .hero-copy { margin: 0 20px; padding-top: 90px; }
  h1 { font-size: 58px; }
  .lead { font-size: 14px; }
  .trust-row { gap: 18px; }
  .trust-row span:last-child { display: none; }
  .section { padding: 80px 20px; }
  .story-grid, .gallery, .booking-panel { grid-template-columns: 1fr; gap: 40px; }
  .story-visuals { grid-template-columns: 1fr; margin-top: 55px; }
  .story-visual-main, .story-visual-detail { height: 360px; margin-bottom: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 300px; }
  .gallery { padding-inline: 20px; }
  .rooms-heading { margin-bottom: 30px; text-align: left; }
  .rooms-hero { height: 420px; }
  .rooms-hero figcaption { left: 22px; bottom: 22px; }
  .rooms-strip { grid-template-columns: 1fr; }
  .proof-stats { gap: 25px; }
  .proof-stats strong { font-size: 28px; }
  footer { grid-template-columns: 1fr; text-align: center; padding-bottom: 100px; }
  .legal { text-align: center; }
  .floating-cta { position: fixed; z-index: 30; display: flex; justify-content: space-between; left: 15px; right: 15px; bottom: 15px; padding: 15px 20px; color: #111; background: var(--gold); font-size: 14px; box-shadow: 0 10px 35px #0009; }
}
