:root {
  --ink: #12120b;
  --paper: #efece4;
  --white: #f6f4ee;
  --gold: #d8b98c;
  --clay: #8e745e;
  --sand: #d5c7af;
  --display: "Bodoni Moda", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  height: 100dvh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; transform: scale(1.06); animation: bgBreath 16s ease-out forwards; }
@keyframes bgBreath { to { transform: scale(1); } }
.veil { position: fixed; inset: 0; background: linear-gradient(0deg, rgba(6,9,5,.78), rgba(6,9,5,.38) 45%, rgba(6,9,5,.55)); }
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

/* ---- top & bottom bars ---- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 26px 30px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-align: center; line-height: .83; }
.brand__name { font-family: var(--display); font-size: 24px; letter-spacing: .18em; margin-right: -.18em; }
.brand__place { margin-top: 6px; font-size: 8px; letter-spacing: .6em; margin-right: -.6em; opacity: .72; }
.sound-toggle { justify-self: start; display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 0; cursor: pointer; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; transition: opacity .2s ease; }
.sound-toggle:hover { opacity: 1; }
.sound-toggle__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound-toggle__bars i { width: 1px; height: 4px; background: currentColor; }
.sound-toggle__bars i:nth-child(2) { height: 9px; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i { animation: soundbar .8s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) { animation-delay: .2s; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) { animation-delay: .4s; }
@keyframes soundbar { from { height: 3px; } to { height: 12px; } }
.lang-toggle { justify-self: end; }
.lang-toggle { border: 1px solid rgba(255,255,255,.4); background: none; width: 44px; height: 32px; cursor: pointer; font-size: 10px; letter-spacing: .12em; transition: background .25s ease, color .25s ease; }
.lang-toggle:hover { background: var(--white); color: var(--ink); }

.bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }
.bottom__links { display: inline-flex; gap: 22px; }
.bottom__links a:hover { color: var(--gold); }

/* ---- center portal ---- */
.portal { position: relative; z-index: 10; height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 90px 22px 70px; }
.eyebrow { margin: 0 0 14px; font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); animation: rise .8s ease .1s backwards; }
.title { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 7.5vw, 84px); line-height: .95; letter-spacing: -.04em; animation: rise .8s ease .2s backwards; }
.title em { font-style: italic; color: var(--sand); }
.tagline { margin: 0 0 clamp(26px, 4.6vh, 46px); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .85; animation: rise .8s ease .26s backwards; }

.cta-wrap { display: flex; flex-direction: column; align-items: center; margin: 0 0 clamp(24px, 4.4vh, 44px); animation: rise .8s ease .38s backwards; }
.cta {
  display: inline-flex; align-items: center; gap: 14px; border: 0; cursor: pointer;
  padding: 16px 34px; background: var(--gold); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s ease;
}
.cta:hover { background: var(--white); }
.cta svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s ease; }
.cta:hover svg { transform: translateX(5px); }
.trustline { margin: 13px 0 0; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }

.subnav { display: flex; flex-direction: column; align-items: center; gap: 1px; animation: rise .8s ease .46s backwards; }
.subnav__item {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer;
  padding: 7px 6px; color: var(--white); opacity: .82;
  font-family: var(--display); font-weight: 400; font-size: clamp(17px, 2.6vh, 22px); letter-spacing: -.01em; line-height: 1;
  transition: opacity .2s ease, color .2s ease;
}
.subnav:hover .subnav__item { opacity: .4; }
.subnav .subnav__item:hover { opacity: 1; color: var(--gold); }
.subnav__item svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .7; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- panels ---- */
.panel {
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  font-family: var(--sans);
  position: fixed; inset: 0; z-index: 100; background: var(--paper); color: var(--ink);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.75,.2,1), visibility .4s ease;
}
.panel.is-open { opacity: 1; visibility: visible; transform: none; }
.panel__head {
  position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 30px; background: rgba(239,236,228,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(18,18,11,.14);
}
.panel__head h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.01em; }
.panel__close { border: 0; background: none; font-family: var(--display); font-size: 34px; line-height: 1; cursor: pointer; padding: 0 4px; }
.panel__close:hover { color: var(--clay); }
.panel__body { max-width: 860px; margin: 0 auto; padding: 34px 22px 80px; }
.panel__lead { margin: 0 0 30px; font-family: var(--display); font-size: clamp(19px, 2.4vw, 25px); line-height: 1.35; }
.panel__cta {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 0 26px; min-height: 56px;
  border: 0; background: var(--ink); color: var(--white); cursor: pointer;
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.panel__cta:hover { background: var(--clay); }
.panel__cta svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ---- carousel ---- */
.carousel { margin: 0 0 30px; }
.carousel__frame { position: relative; aspect-ratio: 16 / 10; max-height: 58vh; width: 100%; overflow: hidden; background: var(--sand); }
.carousel__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.carousel__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 12px; }
.carousel__bar figcaption { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.carousel__count { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .5; }

.carousel__nav {
  position: absolute; top: 0; bottom: 0; width: 74px; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; color: rgba(255,255,255,.82);
  transition: color .25s ease;
}
.carousel__prev { left: 0; justify-content: flex-start; padding-left: 16px; background: linear-gradient(90deg, rgba(6,10,6,.4), transparent 80%); }
.carousel__next { right: 0; justify-content: flex-end; padding-right: 16px; background: linear-gradient(270deg, rgba(6,10,6,.4), transparent 80%); }
.carousel__nav:hover { color: #fff; }
.carousel__navlabel {
  writing-mode: vertical-rl; text-transform: uppercase;
  font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .36em;
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
}
.carousel__prev .carousel__navlabel { transform: rotate(180deg); }
.carousel__navlabel::before { content: ""; width: 1px; height: 28px; background: currentColor; opacity: .65; }

/* ---- interior: separated bottom section ---- */
.studio-extra { margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(18,18,11,.16); }
.studio-extra h3 { margin: 0 0 14px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.facts-inside { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.facts-inside li { padding: 10px 0; border-bottom: 1px solid rgba(18,18,11,.1); font-family: var(--display); font-size: 18px; }

/* ---- facts ---- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; border-top: 1px solid rgba(18,18,11,.16); padding-top: 26px; }
.facts--single { grid-template-columns: 1fr; }
.facts h3 { margin: 0 0 14px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.facts ul { margin: 0; padding: 0; list-style: none; }
.facts li { padding: 9px 0; border-bottom: 1px solid rgba(18,18,11,.1); font-family: var(--display); font-size: 18px; }

/* ---- district gallery ---- */
.district-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 32px; }
.district-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---- location block (amenities panel) ---- */
.location-block { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(18,18,11,.16); }
.location-block h3 { margin: 0 0 10px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.location-text { margin: 0; font-family: var(--display); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.4; }
.location-map { display: inline-block; margin-top: 12px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid rgba(18,18,11,.3); }
.location-map:hover { color: var(--clay); border-color: var(--clay); }

/* ---- host line ---- */
.host-line { margin: -14px 0 24px; font-size: 12px; color: rgba(18,18,11,.7); }
.host-line:empty { display: none; }
.host-line strong { font-weight: 600; color: var(--ink); }

/* ---- reviews link (contact panel) ---- */
.reviews-link { display: inline-block; margin: 0 0 26px; border: 0; background: none; padding: 0 0 3px; cursor: pointer; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); border-bottom: 1px solid rgba(142,116,94,.5); transition: color .2s ease, border-color .2s ease; }
.reviews-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---- contact ---- */
.contact-links { margin: 8px 0 40px; }
.contact-links__main {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 26px; background: var(--ink); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  transition: background .25s ease;
}
.contact-links__main:hover { background: var(--clay); }
.contact-links__main svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s ease; }
.contact-links__main:hover svg { transform: translateX(6px); }
.contact-links__row { display: flex; gap: 26px; margin-top: 22px; }
.contact-links__row a { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid rgba(18,18,11,.3); transition: color .2s ease, border-color .2s ease; }
.contact-links__row a:hover { color: var(--clay); border-color: var(--clay); }
.contact-place { margin: 0; padding-top: 24px; border-top: 1px solid rgba(18,18,11,.16); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }

/* ---- agent launcher ---- */
.agent-launch {
  position: fixed; z-index: 40; right: 24px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer;
  padding: 12px 18px; border-radius: 30px; background: var(--gold); color: var(--ink);
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform .2s ease, background .2s ease;
}
.agent-launch:hover { transform: translateY(-2px); background: var(--white); }
.agent-launch__dot { width: 8px; height: 8px; border-radius: 50%; background: #2f7d4f; animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,125,79,.5); }
  70% { box-shadow: 0 0 0 8px rgba(47,125,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,125,79,0); }
}

/* ---- agent chat ---- */
.panel--agent { display: flex; flex-direction: column; overflow: hidden; }
.panel--agent .panel__head { flex: 0 0 auto; }
.agent { flex: 1 1 auto; display: flex; flex-direction: column; width: 100%; max-width: 720px; margin: 0 auto; min-height: 0; padding: 0 22px; }
.agent__log { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 26px 0; }
.bubble { max-width: 84%; padding: 12px 16px; font-size: 15px; line-height: 1.5; border-radius: 16px; }
.bubble--bot { align-self: flex-start; background: #fff; border: 1px solid rgba(18,18,11,.1); border-bottom-left-radius: 4px; }
.bubble--user { align-self: flex-end; background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; }
.bubble__cta {
  display: inline-block; margin-top: 12px; padding: 9px 16px; border: 0; cursor: pointer;
  background: var(--gold); color: var(--ink); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.bubble__cta:hover { background: var(--clay); color: var(--white); }
.agent__chips { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 30px; border-top: 1px solid rgba(18,18,11,.14); }
.chip {
  border: 1px solid rgba(18,18,11,.3); background: none; cursor: pointer; padding: 9px 15px; border-radius: 20px;
  font-family: var(--sans); font-size: 12px; color: var(--ink); transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---- booking ---- */
.benefits { margin: 0 0 26px; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
.book-form { border-top: 1px solid rgba(18,18,11,.16); }
.book-form label { display: grid; gap: 8px; padding: 17px 0; border-bottom: 1px solid rgba(18,18,11,.14); }
.book-form label span { font-size: 8px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .55; }
.book-form input, .book-form select { width: 100%; border: 0; background: transparent; outline: 0; font-family: var(--display); font-size: 22px; color: var(--ink); }
.book-form button {
  width: 100%; min-height: 62px; margin-top: 26px; border: 0; padding: 0 24px; background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
}
.book-form button:hover { background: var(--clay); }
.book-form button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s ease; }
.book-form button:hover svg { transform: translateX(6px); }
.fine { margin: 14px 0 0; font-size: 9px; line-height: 1.55; opacity: .5; }
.quote { margin: 18px 0 0; font-family: var(--display); font-size: 19px; line-height: 1.4; color: var(--ink); }
.quote:empty { display: none; }
.quote small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 10px; letter-spacing: .06em; opacity: .55; }

.mini-faq { margin-top: 44px; }
.mini-faq h3 { margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.mini-faq details { border-bottom: 1px solid rgba(18,18,11,.14); }
.mini-faq summary { list-style: none; cursor: pointer; position: relative; padding: 16px 40px 16px 0; font-family: var(--display); font-size: 19px; }
.mini-faq summary::-webkit-details-marker { display: none; }
.mini-faq summary::before, .mini-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1px; background: var(--ink); transition: transform .25s ease; }
.mini-faq summary::after { transform: rotate(90deg); }
.mini-faq details[open] summary::after { transform: rotate(0); }
.mini-faq details p { margin: -4px 0 18px; max-width: 640px; font-size: 13px; line-height: 1.7; color: rgba(18,18,11,.65); }

/* ---- location ---- */
.location-points { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(18,18,11,.16); }
.location-points li { padding: 16px 0; border-bottom: 1px solid rgba(18,18,11,.12); font-family: var(--display); font-size: clamp(18px, 2.2vw, 23px); line-height: 1.35; }

/* ---- reviews ---- */
.reviews { display: grid; gap: 6px; }
.review { border-top: 1px solid rgba(18,18,11,.14); padding: 22px 0 20px; }
.review p { margin: 0 0 14px; font-family: var(--display); font-size: clamp(17px, 2vw, 21px); line-height: 1.45; font-style: italic; }
.review footer { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 700; transform: translate(-50%, 30px);
  background: var(--ink); color: var(--paper); padding: 14px 18px; font-size: 11px;
  opacity: 0; visibility: hidden; transition: .25s ease; box-shadow: 0 15px 50px rgba(0,0,0,.3);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }

/* ---- mobile ---- */
@media (max-width: 640px) {
  .top { padding: 18px 20px; }
  .sound-toggle__label { display: none; }
  .bottom { padding: 16px 20px; font-size: 8px; }
  .portal { padding: 80px 18px 64px; }
  .title { font-size: clamp(40px, 12vw, 56px); }
  .subnav__item { font-size: clamp(16px, 2.4vh, 20px); }
  .panel__head { padding: 14px 18px; }
  .panel__body { padding: 24px 18px 70px; }
  .carousel__frame { aspect-ratio: 4 / 3; }
  .carousel__nav { width: 54px; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .facts-inside { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
