/* Areca Ranches Homestay.
   Generated pages are written by build.mjs from config.js. Edit the look here.
   Motion lives in motion.js; this file works on its own when motion is off.

   Colour: warm onyx with ivory type and one accent, champagne gold, in the manner
   of a luxury resort. One theme (dark) on purpose: the photos glow against it.
   Type: Cormorant Garamond, a fine high-contrast serif, set large and light for
   headlines; Jost, a geometric sans, for reading, buttons and labels.
   Shape rule: photos and panels have square corners. Things you press (buttons,
   chips, icon buttons) are fully rounded. Form fields use --r-field. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Just the rupee sign, so prices set in the headline font use its own ₹ */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-rupee.woff2") format("woff2");
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Only downloaded when a page uses these characters (the ₹ sign) */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0d0c0a;
  --bg-2: #17150f;
  --bg-3: #221f17;
  --line: rgb(243 239 230 / 0.13);
  --line-strong: rgb(243 239 230 / 0.32);
  --ink: #f3efe6;
  --ink-2: #a9a294;
  --accent: #d4b67a;        /* champagne */
  --accent-hover: #e4cb95;
  --on-accent: #14110a;
  --field-bg: #13110d;
  --error: #ffab9e;
  --shadow: 0 40px 80px -30px rgb(0 0 0 / 0.75);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Cormorant Garamond", "Source Sans 3", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-field: 10px;
  --header: 72px;
  --gutter: 20px;
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gutter: 36px; } }
@media (min-width: 1300px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 20px); }
html:not(.has-motion) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  overflow-x: hidden;
}
/* Fine film grain over everything; fixed and click-through so it never repaints on scroll.
   Left off on touch screens, where a full-screen overlay costs frames while scrolling. */
@media (hover: none), (max-width: 899px) { body::after { display: none; } }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-weight: 500; font-size: clamp(3.2rem, 10vw, 9.5rem); line-height: 0.95; letter-spacing: -0.01em; }
h2 { font-weight: 500; font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 0.98; letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
figure { margin: 0; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 12px 18px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.section { padding-block: clamp(80px, 12vw, 180px); }
.section--tint { background: var(--bg-2); }
.cap { margin: 12px 0 0; font-size: 0.92rem; color: var(--ink-2); }
.kind { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.kind .icon { width: 1.1em; height: 1.1em; color: var(--accent); }

/* Words of a heading, each in its own mask so motion.js can raise them */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.split .w > span { display: inline-block; }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-3); }
.media > img, .media img { width: 100%; height: 100%; object-fit: cover; }
img[data-fade] { opacity: 0; transition: opacity .9s var(--ease); }
img[data-fade].is-loaded { opacity: 1; }
.media.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.06) 50%, transparent 70%) 0 0 / 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Buttons and links ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px;
  font: 500 0.8rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, translate .2s var(--ease);
}
.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0 1px; }
.btn--primary, .btn--accent, .btn--light, .site-footer .btn--light { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover, .btn--accent:hover, .btn--light:hover { background: var(--accent-hover); }
.btn--ghost, .btn--ghost-light { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover, .btn--ghost-light:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.74rem; }
.btn--block { width: 100%; }
.btn.is-busy { opacity: .75; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-weight: 650; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--line-strong); padding-bottom: 5px; transition: border-color .25s, gap .3s var(--ease); }
.link-arrow:hover { border-color: var(--accent); gap: 16px; }
.link-arrow .icon { width: 1.1em; height: 1.1em; color: var(--accent); }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .2s, translate .15s; }
.icon-btn:hover { border-color: var(--accent); }
.text-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 30px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.2rem/1 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; margin-right: auto; }
.brand .icon { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.5; }
.brand__logo { display: block; width: auto; height: 54px; }
@media (max-width: 560px) { .brand__logo { height: 44px; } }
.footer__logo { display: block; width: auto; height: 96px; margin-bottom: 14px; }
.nav { display: flex; gap: 28px; }
.nav a { position: relative; color: var(--ink-2); text-decoration: none; font-weight: 400; font-size: 0.96rem; letter-spacing: 0.02em; padding: 6px 0; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); }
.header-wa, .header-cta { flex: none; }
.header-wa { width: 44px; padding: 0; }
.header-wa .icon { width: 1.3em; height: 1.3em; }
.nav-toggle { display: none; place-items: center; width: 46px; height: 46px; margin-right: -8px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
@media (max-width: 1179px) {
  .nav-toggle { display: inline-grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity .3s, translate .3s var(--ease), visibility .3s; }
  .nav.is-open { visibility: visible; opacity: 1; translate: 0 0; }
  .nav a { padding: 14px 0; font: 500 2rem/1.1 var(--font-display); color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
}
@media (max-width: 560px) {
  .header-cta { width: 44px; padding: 0; }
  .header-cta .btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .brand span { font-size: 1.05rem; }
}

/* ---------- Home hero: full-bleed cinematic photo with text overlay ---------- */
/* The header sits above the hero (it is sticky, not over it), so the hero fills the rest of
   the screen and the buttons always end above the fold */
.hero { position: relative; height: calc(100svh - var(--header)); min-height: 560px; max-height: 1100px; overflow: hidden; display: flex; align-items: flex-end; }
/* The hero stays put and the rest of the page slides up over it */
@supports (position: sticky) {
  .hero { position: sticky; top: var(--header); z-index: 0; }
  .over { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 -32px 70px -24px rgb(0 0 0 / 0.75); }
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* Shade: solid at the bottom and down the left, where the text is, clear over the rest of the photo */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgb(13 12 10 / 0.92) 0%, rgb(13 12 10 / 0.6) 30%, rgb(13 12 10 / 0.18) 55%, transparent 80%),
    linear-gradient(to right, rgb(13 12 10 / 0.55) 0%, rgb(13 12 10 / 0.25) 40%, transparent 62%); }
.hero__content { position: relative; z-index: 2; display: grid; align-items: end; gap: clamp(32px, 5vw, 64px); width: 100%; padding-bottom: clamp(36px, 6vh, 72px); }
.hero__where { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 clamp(10px, 1.6vh, 20px); font-weight: 600; color: rgb(243 239 230 / 0.7); font-size: 0.95rem; letter-spacing: 0.02em; }
.hero__where .icon { color: var(--accent); }
.hero__where, .hero__lead, .hero__sub { text-shadow: 0 1px 14px rgb(0 0 0 / 0.55); }
.hero__title { margin: 0; }
.hero__name .w { display: block; }
.hero__name { display: block; font-size: clamp(3.6rem, min(12vw, 17svh), 13rem); line-height: 0.9; font-weight: 500; letter-spacing: -0.01em; margin-left: -0.04em; text-shadow: 0 4px 40px rgb(0 0 0 / 0.3); }
.hero__sub { display: block; margin-top: clamp(12px, 1.8vh, 20px); font: italic 400 clamp(1.2rem, 2vw, 1.7rem)/1.2 var(--font-display); letter-spacing: 0; color: var(--accent); }
.hero__lead { max-width: 32em; margin: clamp(12px, 2vh, 22px) 0 clamp(14px, 2.4vh, 28px); color: rgb(243 239 230 / 0.72); font-size: 1.1rem; line-height: 1.55; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(16px, 2.6vh, 28px); }
.hero__chips > * { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-size: 0.88rem; font-weight: 600; color: var(--ink); background: rgb(13 12 10 / 0.5); border: 1px solid rgb(243 239 230 / 0.16); border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__chips a { text-decoration: none; transition: border-color .25s, background-color .25s; }
.hero__chips a:hover { border-color: var(--accent); background: rgb(13 12 10 / 0.7); }
.hero__chips .icon { width: 1em; height: 1em; color: var(--accent); }

@media (min-width: 1000px) {
  .hero__content { grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 5vw, 96px); }
}

/* The deck floats at the bottom-right on desktop, like a preview gallery */
.deck { position: relative; width: min(calc(100% - 80px), 400px, calc((100svh - var(--header) - 190px) * 0.65)); justify-self: end; align-self: end; perspective: 1600px; }
.deck__cards { position: relative; aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform .6s var(--ease); touch-action: pan-y; cursor: pointer; user-select: none; -webkit-user-select: none; }
.deck__card {
  position: absolute; inset: 0; z-index: calc(20 - var(--p));
  transform: translate3d(calc(var(--p) * -34px), calc(var(--p) * -30px), calc(var(--p) * -40px)) rotate(calc(var(--p) * -3.4deg));
  opacity: clamp(0, 4 - var(--p), 1);
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
  filter: brightness(calc(1 - var(--p) * 0.2));
}
.deck__card .media { width: 100%; height: 100%; box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.9); }
@media (hover: none), (max-width: 899px) {
  .deck__card { filter: none; transition: transform .7s var(--ease), opacity .7s var(--ease); }
  .deck__card .media { box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.8); }
}
.deck__card img { pointer-events: none; }
.deck__card.is-out { transform: translate3d(70%, 8%, 120px) rotate(12deg) rotateY(-24deg); opacity: 0.9; filter: none; transition: transform .42s cubic-bezier(.5, 0, .75, 0), opacity .42s; z-index: 30; }
.deck__bar { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.deck__cap { flex: 1; margin: 0; font: 600 1.05rem/1.3 var(--font-display); color: rgb(243 239 230 / 0.72); }
.deck__btns { display: flex; gap: 8px; }
/* Phones and tablets: one screen, the photo behind and the text over a deeper shade.
   The deck would repeat the background photo and push the buttons off screen, so it is
   left to the photo sections further down. */
@media (max-width: 999px) {
  .hero { height: auto; min-height: calc(100svh - var(--header)); max-height: none; }
  .hero__content { padding-top: 32px; }
  .hero__name { font-size: clamp(3.4rem, min(18vw, 11svh), 7.5rem); }
  .hero__lead { font-size: 1.02rem; }
  .hero::after { background: linear-gradient(to top, rgb(13 12 10 / 0.94) 0%, rgb(13 12 10 / 0.8) 40%, rgb(13 12 10 / 0.45) 70%, rgb(13 12 10 / 0.2) 100%); }
  .hero .deck { display: none; }
}
@media (max-width: 999px) and (max-height: 700px) {
  .hero__where { margin-bottom: 6px; }
  .hero__lead { margin: 10px 0 14px; line-height: 1.45; }
  .hero__chips { margin-bottom: 14px; }
  .hero__chips > * { padding: 4px 11px; font-size: 0.82rem; }
}
/* Very short phones (iPhone SE): the chips already say what the line does */
@media (max-width: 999px) and (max-height: 620px) { .hero__lead { display: none; } }

/* ---------- Statement ---------- */
.statement { padding: clamp(110px, 18vh, 220px) 0; }
.statement__text { margin: 0; max-width: 1240px; font: 500 clamp(1.9rem, 4.6vw, 4.4rem)/1.08 var(--font-display); letter-spacing: -0.01em; text-wrap: pretty; }

/* ---------- Numbers ---------- */
.numbers { padding-bottom: clamp(90px, 13vw, 180px); }
.numbers__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 20px; margin: 0; }
.numbers__list > div { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.numbers dt { font-size: 0.92rem; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.numbers dd { margin: 0; display: grid; gap: 10px; }
.numbers strong { font: 500 clamp(3rem, 6vw, 6.2rem)/0.85 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.numbers dd span { color: var(--ink-2); font-size: 0.98rem; max-width: 18em; }
@media (min-width: 900px) { .numbers__list { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- Rooms: sideways panels ---------- */
.hs { position: relative; }
.hs__pin { overflow: hidden; }
.hs__track { display: flex; gap: 24px; padding: 0 var(--gutter) 40px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.hs__track::-webkit-scrollbar { display: none; }
.hs__intro, .hs__panel { flex: none; scroll-snap-align: start; }
.hs__intro { width: 86vw; padding-bottom: 28px; }
.hs__intro p { color: var(--ink-2); font-size: 1.1rem; max-width: 26em; }
.hs__panel { width: 82vw; }
.hs__media { aspect-ratio: 4 / 3; }
.hs__panel figcaption { display: flex; align-items: flex-end; gap: 18px; margin-top: 18px; }
.hs__n { font: 500 4.6rem/0.75 var(--font-display); color: var(--accent); letter-spacing: -0.01em; }
.hs__panel figcaption strong { display: block; font: 600 1.5rem/1.1 var(--font-display); color: var(--ink); }
.hs__panel figcaption span:last-child { color: var(--ink-2); }
.hs__panel--rate { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 32px; background: var(--bg-2); }
.hs__price { margin: 0 0 14px; font: 500 clamp(3.6rem, 7.2vw, 7rem)/0.85 var(--font-display); letter-spacing: -0.01em; color: var(--accent); }
.hs__panel--rate p:not(.hs__price) { color: var(--ink-2); max-width: 24em; }
.hs__panel--rate .btn-row { margin-top: 18px; }
.hs__intro .btn-row { margin: 8px 0 4px; }
.hs__book { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 650; color: var(--accent); text-decoration: none; }
.hs__book:hover { text-decoration: underline; }
.hs__book .icon { width: 1.1em; height: 1.1em; }
@media (min-width: 900px) {
  .hs__pin { height: 100svh; display: flex; align-items: center; }
  .hs__track { gap: 4vw; padding: 0 var(--gutter); overflow: visible; align-items: center; width: max-content; }
  .hs__intro { width: min(36vw, 560px); }
  .hs__panel { width: min(46vw, calc(64svh * 1.333)); }
  .hs__panel--rate { width: min(32vw, 480px); align-self: stretch; margin: 6vh 0; }
  html:not(.has-motion) .hs__pin { height: auto; padding-block: 80px; }
  html:not(.has-motion) .hs__track { overflow-x: auto; width: auto; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(60px, 9vw, 120px) 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; gap: clamp(36px, 5vw, 80px); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 0.3em; font: 500 clamp(2.8rem, 7.4vw, 7rem)/1 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee__track .icon { width: 0.62em; height: 0.62em; color: var(--accent); stroke-width: 1.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Days ---------- */
.duo { padding-block: clamp(100px, 14vw, 200px); }
.duo__grid { display: grid; gap: 56px; align-items: center; }
.duo__media { aspect-ratio: 4 / 5; }
.steps { display: grid; gap: 28px; margin-top: 44px; }
.steps li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.steps__when { font: 600 1.6rem/1 var(--font-display); color: var(--accent); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .duo__grid { grid-template-columns: 5fr 6fr; gap: clamp(56px, 8vw, 140px); } }
@media (max-width: 520px) { .steps li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Flyover ---------- */
.fly { position: relative; background: var(--bg); }
.fly__pin { position: relative; height: 100svh; overflow: hidden; }
.fly__map.terrain { position: absolute; inset: 0; height: auto; margin: 0; background: #958f80; }
.fly__map .terrain__labels { transition: opacity .5s var(--ease); }
.fly__map .terrain__stage { inset: 0; cursor: default; }
.fly__map .terrain__note { inset: 0; background: var(--bg-2); }
.fly__map .terrain__north { position: absolute; right: var(--gutter); top: 24px; }
.fly__cards { position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%; width: min(420px, 34vw); height: min(78svh, 640px); pointer-events: none; }
.fly__card {
  position: absolute; inset: auto 0 50% 0; translate: 0 calc(50% + 30px); opacity: 0; visibility: hidden;
  padding: 26px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); pointer-events: auto;
  transition: opacity .6s var(--ease), translate .8s var(--ease), visibility .6s;
}
.fly__card.is-on { opacity: 1; visibility: visible; translate: 0 50%; }
.fly__card--intro { background: transparent; border: 0; box-shadow: none; padding: 0; }
.fly__title { font-size: clamp(2.8rem, 5.6vw, 5.4rem); }
.fly__card--intro p { color: var(--ink-2); font-size: 1.1rem; }
.fly__media { aspect-ratio: 16 / 10; margin: -26px -26px 20px; }
.fly__card h3 { font-size: 1.8rem; }
.fly__card p { color: var(--ink-2); margin-bottom: 0; }
.fly__card--intro .btn { margin-top: 24px; }
.fly__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px !important; }
.fly__links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.fly__links .icon { width: 1.05em; height: 1.05em; }
.fly__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.fly__credit { position: absolute; right: var(--gutter); bottom: 12px; margin: 0; max-width: 60%; text-align: right; font-size: 0.72rem; color: rgb(243 239 230 / 0.55); }
.fly__credit a { color: inherit; }
@media (max-width: 899px) { .fly__credit { left: 12px; right: 12px; bottom: 6px; max-width: none; text-align: left; font-size: 0.66rem; } .fly__cards { bottom: 34px !important; } }
.fly:not(.is-live) .fly__credit { position: static; max-width: none; text-align: left; padding: 12px var(--gutter) 0; }
.fly__progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@media (max-width: 899px) {
  .fly__cards { left: 12px; right: 12px; top: auto; bottom: 18px; translate: none; width: auto; height: 46svh; }
  .fly__card { inset: auto 0 0 0; translate: 0 30px; padding: 18px; }
  .fly__card.is-on { translate: 0 0; }
  .fly__media { aspect-ratio: 21 / 9; margin: -18px -18px 14px; }
  .fly__card h3 { font-size: 1.45rem; }
  .fly__card p { font-size: 0.95rem; }
  .fly__card--intro { padding: 18px; background: var(--bg-2); border: 1px solid var(--line); }
  .fly__title { font-size: 2.6rem; }
  .fly__map .terrain__stage { bottom: 36svh; }
}
/* Without motion: an ordinary map with the cards listed underneath */
.fly:not(.is-live) .fly__pin { height: auto; overflow: visible; padding-bottom: 60px; }
.fly:not(.is-live) .fly__map.terrain { position: relative; height: 70svh; }
.fly:not(.is-live) .fly__map .terrain__stage { bottom: 0; }
.fly:not(.is-live) .fly__cards { position: static; translate: none; width: auto; height: auto; display: grid; gap: 20px; padding: 32px var(--gutter) 0; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.fly:not(.is-live) .fly__card { position: static; opacity: 1; visibility: visible; translate: none; }
.fly:not(.is-live) .fly__progress { display: none; }

/* ---------- 3D map pieces ---------- */
.terrain { position: relative; height: clamp(360px, 52vw, 640px); margin-top: 28px; touch-action: pan-y; }
.terrain__stage { position: absolute; inset: 0 0 64px; cursor: grab; outline-offset: -3px; }
.terrain.is-dragging .terrain__stage { cursor: grabbing; }
.terrain__stage canvas { display: block; width: 100%; height: 100%; }
.terrain__note { position: absolute; inset: 0 0 64px; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--ink-2); background: var(--bg-2); }
.terrain.is-ready .terrain__note { display: none; }
.terrain__ui { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; pointer-events: none; }
.terrain__ui > * { pointer-events: auto; }
.terrain:not(.is-ready) .terrain__ui { display: none; }
.terrain__north { display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 50%; font: 700 0.8rem/1 var(--font-body); color: var(--ink); background: var(--bg); z-index: 2; }
.terrain__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink-2); }
.terrain__btns { display: flex; gap: 8px; margin-left: auto; }
.terrain__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.terrain__label { position: absolute; left: 0; top: 0; pointer-events: auto; color: var(--ink); text-decoration: none; font: 600 0.84rem/1 var(--font-body); white-space: nowrap; }
.terrain__label::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.terrain__label span { position: absolute; left: 6px; bottom: 4px; padding: 6px 10px; border-radius: 999px; background: rgb(13 12 10 / 0.86); border: 1px solid var(--line); transition: opacity .25s, scale .25s var(--ease), background-color .25s, color .25s; transform-origin: 0 100%; }
.terrain__label:hover span, .terrain__label:focus-visible span, .terrain__label.is-active span { background: var(--ink); color: var(--bg); }
.terrain__label.is-dot span { opacity: 0; scale: 0.6; }
.terrain__label.is-dot:hover span, .terrain__label.is-dot:focus-visible span { opacity: 1; scale: 1; }
.terrain__label.is-active { z-index: 3; }
.terrain__label.is-active span { scale: 1.08; }
.terrain__label.is-home::before { width: 12px; height: 12px; left: -6px; top: -6px; background: var(--accent); box-shadow: 0 0 0 4px rgb(212 182 122 / 0.25); }
.terrain__label.is-home span { background: var(--accent); color: var(--on-accent); border-color: transparent; font-size: 0.92rem; padding: 7px 12px; }

/* ---------- Photo strip (home) ---------- */
.strip { padding: clamp(100px, 13vw, 190px) 0; }
.strip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 32px; margin-bottom: 40px; }
.strip__head h2 { margin: 0; }
.strip__head .link-arrow { margin: 0; }
.strip__list { display: grid; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip__list li { aspect-ratio: 3 / 4; scroll-snap-align: start; }
@media (min-width: 900px) {
  .strip__list { display: flex; height: min(68svh, 640px); overflow: visible; }
  .strip__list li { flex: 1; aspect-ratio: auto; transition: flex .9s var(--ease); }
  .strip__list li:hover { flex: 3.2; }
}

/* ---------- Inner page head ---------- */
.page-head { position: relative; height: min(84svh, 880px); min-height: 520px; overflow: hidden; }
.page-head__photo { position: absolute; inset: 0; filter: brightness(0.58); }
.page-head__inner { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); margin: auto; display: grid; gap: 22px; }
.page-head h1 { margin: 0; color: #fff; }
.page-head__aside p { color: rgb(255 255 255 / 0.86); font-size: 1.12rem; max-width: 32em; }
@media (min-width: 900px) { .page-head__inner { grid-template-columns: 1fr minmax(320px, 440px); column-gap: 56px; align-items: end; } }
.page-head--plain { height: auto; min-height: 0; padding: clamp(64px, 12vh, 140px) 0 clamp(40px, 6vw, 80px); overflow: visible; }
.page-head--plain h1 { font-size: clamp(3.6rem, 13vw, 12rem); }
.page-head__lead { color: var(--ink-2); font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 34em; margin: 28px 0 0; }

/* ---------- Rooms page ---------- */
.room-cols { display: grid; gap: 36px; margin-top: 56px; }
.room-cols li { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.room-cols .tally__n { display: block; font: 500 clamp(4.4rem, 8vw, 7rem)/0.8 var(--font-display); color: var(--accent); letter-spacing: -0.01em; }
.room-cols h3 { margin: 18px 0 6px; font-size: 1.6rem; }
.room-cols p { margin: 0 0 20px; color: var(--ink-2); }
@media (min-width: 760px) { .room-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.room-photos { display: grid; gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.room-photos .media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .room-photos { grid-template-columns: 4fr 3fr 3fr; align-items: start; }
  .room-photos figure:first-child .media { aspect-ratio: 4 / 5; }
  .room-photos figure:nth-child(2) { margin-top: 120px; }
  .room-photos figure:nth-child(3) { margin-top: 40px; }
}
.rate { display: grid; gap: 32px; align-items: end; }
.rate__price { margin: 0; font: 500 clamp(4.5rem, 13vw, 12rem)/0.85 var(--font-display); letter-spacing: -0.01em; color: var(--accent); }
.rate__price span { display: block; margin-top: 24px; font: 500 1.15rem/1.3 var(--font-body); letter-spacing: 0; color: var(--ink-2); }
.rate__includes { font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--font-display); }
.rate__text p:not(.rate__includes) { color: var(--ink-2); max-width: 30em; margin-bottom: 28px; }
@media (min-width: 900px) { .rate { grid-template-columns: 7fr 5fr; gap: 72px; } }
.know { display: grid; gap: 48px; margin-top: 56px; }
.know__group h3 { padding-top: 18px; border-top: 2px solid var(--accent); margin-bottom: 24px; font-size: 1.6rem; }
.know__group ul { display: grid; gap: 22px; }
.know__group li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.know__group .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }
.know__group strong { display: block; font-weight: 650; }
.know__group p { margin: 2px 0 0; color: var(--ink-2); }
@media (min-width: 900px) { .know { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.faq-wrap { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .faq-wrap { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .faq-wrap h2 { position: sticky; top: calc(var(--header) + 40px); }
}
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 600; font-size: 1.12rem; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.7rem/0.8 var(--font-body); color: var(--accent); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 26px; color: var(--ink-2); max-width: 40em; }

/* ---------- Facilities page ---------- */
.bento { display: grid; gap: 16px; }
.bento__cell { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.bento__media { aspect-ratio: 16 / 10; }
.bento__media img { transition: scale 1.2s var(--ease); }
.bento__cell:hover .bento__media img { scale: 1.05; }
.bento__body { padding: clamp(26px, 3vw, 44px); }
.bento__body h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin-bottom: 24px; }
.bento__body ul { display: grid; gap: 16px; }
.bento__body li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 1.1rem; font-weight: 500; }
.bento__body .icon { width: 28px; height: 28px; color: var(--accent); }
.bento__body small { display: block; font-size: 0.95rem; font-weight: 400; color: var(--ink-2); }
.bento__cell--3 { background: var(--accent); border-color: transparent; }
.bento__cell--3 h2, .bento__cell--3 li, .bento__cell--3 .icon, .bento__cell--3 small { color: var(--on-accent); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .bento__cell--1 { grid-column: 1 / 8; }
  .bento__cell--2 { grid-column: 8 / 13; }
  .bento__cell--2 .bento__media { aspect-ratio: 4 / 3; }
  .bento__cell--3 { grid-column: 1 / 6; }
  .bento__cell--4 { grid-column: 6 / 13; }
  .bento__cell--1 .bento__body ul, .bento__cell--4 .bento__body ul { grid-template-columns: 1fr 1fr; }
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { padding: 10px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: 0.98rem; font-weight: 500; }
.chips--lg li { padding: 16px 26px; font: 500 clamp(1.1rem, 2vw, 1.6rem)/1 var(--font-display); }
.ideal h2 { margin-bottom: 0; }

/* ---------- Places page ---------- */
.places { padding-top: clamp(80px, 10vw, 140px); }
.places__tip { max-width: 44em; color: var(--ink-2); font-size: 1.05rem; margin-bottom: clamp(48px, 6vw, 80px); }
.places__list { display: grid; gap: clamp(56px, 7vw, 88px); }
.place { scroll-margin-top: calc(var(--header) + 24px); }
.place__media { aspect-ratio: 3 / 2; margin-bottom: 22px; }
.place__body { max-width: 34em; }
.place__body h2 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); margin-bottom: 14px; }
.place__body > p:not(.kind) { color: var(--ink-2); }
.place__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 0; }
.place__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.place:target h2 { color: var(--accent); }
@media (min-width: 900px) {
  .places__list { grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 110px; }
  .place:nth-child(4n + 1) { grid-column: 1 / 8; }
  .place:nth-child(4n + 2) { grid-column: 8 / 13; margin-top: 180px; }
  .place:nth-child(4n + 3) { grid-column: 1 / 6; }
  .place:nth-child(4n + 4) { grid-column: 6 / 13; margin-top: 110px; }
  .place:nth-child(4n + 2) .place__media, .place:nth-child(4n + 3) .place__media { aspect-ratio: 4 / 5; }
}
.credits { padding: 0 0 clamp(72px, 9vw, 120px); font-size: 0.92rem; color: var(--ink-2); }
.credits h2 { font-size: 1.4rem; margin-bottom: 16px; }
.credits ul { columns: 2 340px; column-gap: 40px; }
.credits li { break-inside: avoid; margin-bottom: 6px; }

/* ---------- What guests say ---------- */
.reviews-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.reviews-sec__rail { min-width: 0; }   /* lets the card row scroll inside its column */
@media (min-width: 1000px) { .reviews-sec__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; } }
.reviews-sec__head h2 { margin-bottom: 28px; }
.score { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.score__num { margin: 0; font: 500 clamp(4.5rem, 8vw, 7rem)/0.85 var(--font-display); color: var(--accent); font-variant-numeric: lining-nums; }
.score__stars { display: flex; gap: 3px; margin: 0 0 8px; color: var(--accent); }
.score__stars .icon, .rcard__stars .icon { width: 1.15em; height: 1.15em; fill: currentColor; }
.score__count { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.rcards { display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 400px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rcards::-webkit-scrollbar { display: none; }
.rcard { display: flex; flex-direction: column; margin: 0; padding: clamp(24px, 3vw, 34px); background: var(--bg-2); border: 1px solid var(--line); scroll-snap-align: start; }
.rcard__stars { display: flex; gap: 3px; margin: 0 0 18px; color: var(--accent); }
.rcard blockquote { flex: 1; margin: 0 0 24px; font: italic 400 1.22rem/1.45 var(--font-display); color: var(--ink); }
.rcard figcaption { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.rcard figcaption strong { font-weight: 600; }
.rcard figcaption span { color: var(--ink-2); font-size: 0.88rem; }
.rcards__nav { display: flex; gap: 10px; margin-top: 18px; }
@media (hover: none) { .rcards__nav { display: none; } }
.footer__social { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.footer__social .icon { width: 1.15em; height: 1.15em; color: var(--accent); }

/* ---------- Sightseeing packages (Places page) ---------- */
.packages__head { display: grid; gap: 24px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.packages__head h2 { margin: 0; }
.packages__lead { max-width: 34em; color: var(--ink-2); font-size: 1.1rem; }
@media (min-width: 900px) { .packages__head { grid-template-columns: 1fr minmax(320px, 520px); column-gap: 64px; } }
.packages__eg { margin: 0 0 18px; font: italic 400 1.2rem/1.3 var(--font-display); color: var(--ink-2); }
.packages__days { display: grid; gap: 20px; }
@media (min-width: 900px) { .packages__days { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.pday { padding-bottom: 8px; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.pday__media { aspect-ratio: 16 / 10; margin-bottom: 18px; }
.pday__day { margin: 0 0 4px; font: 500 0.78rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pday h3 { font-size: 1.8rem; margin-bottom: 12px; }
.pday ul { display: grid; gap: 6px; }
.pday li a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.pday li a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Getting here (Contact page) ---------- */
.getting-here h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.travel { display: grid; gap: 40px; }
@media (min-width: 900px) { .travel { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.travel__group h3 { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 2px solid var(--accent); margin-bottom: 22px; font-size: 1.7rem; }
.travel__group h3 .icon { width: 0.9em; height: 0.9em; color: var(--accent); }
.travel__group ul { display: grid; gap: 18px; }
.travel__group strong { display: block; font-weight: 600; }
.travel__group p { margin: 3px 0 0; color: var(--ink-2); }
.travel__note { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 46em; color: var(--ink-2); font-size: 0.95rem; }
.travel__note .link-arrow { margin: 10px 0 0; }

/* ---------- Gallery ---------- */
.gallery-ring { padding: clamp(16px, 3vw, 40px) 0 0; }
.ring { --card-w: min(72vw, 460px); perspective: 1900px; padding: 24px 0 36px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; overflow: hidden; }
.ring:active { cursor: grabbing; }
.ring__track { position: relative; margin: 0 auto; width: var(--card-w); aspect-ratio: 4 / 5; transform-style: preserve-3d; }
.ring__item { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ring__card { display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; cursor: inherit; box-shadow: var(--shadow); }
.ring__card img { pointer-events: none; filter: brightness(0.42) saturate(0.7); transition: filter .7s var(--ease), opacity .8s var(--ease); }
.ring__item.is-front .ring__card { cursor: zoom-in; }
.ring__item.is-front .ring__card img { filter: none; }
.ring__bar { display: flex; align-items: center; justify-content: center; gap: 24px; }
.ring__cap { margin: 0; max-width: 34em; text-align: center; font: italic 400 clamp(1.15rem, 1.8vw, 1.45rem)/1.3 var(--font-display); color: var(--ink); }
.ring__nav { display: flex; gap: 10px; flex: none; }
@media (max-width: 640px) { .ring__bar { flex-direction: column; gap: 14px; } }

.gallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.gallery__head h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 0.78rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.filter span { font: 500 0.95rem/1 var(--font-display); letter-spacing: 0; color: var(--accent); font-variant-numeric: lining-nums; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.filter.is-on span { color: var(--on-accent); }
.gallery__grid { columns: 3 320px; column-gap: clamp(16px, 2vw, 28px); }
.gallery__grid li { break-inside: avoid; margin-bottom: clamp(28px, 3.5vw, 48px); }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__item .media { display: block; }
.gallery__item img { transition: scale 1.2s var(--ease), filter .6s var(--ease); }
.gallery__item:hover img { scale: 1.04; }
.gallery__grid figcaption { margin-top: 12px; max-width: 30em; font: italic 400 1.08rem/1.35 var(--font-display); color: var(--ink-2); }

.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100svh; max-width: none; max-height: none; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(6 5 4 / 0.96); }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 16px; padding: 0 clamp(16px, 8vw, 120px); }
.lightbox img { max-height: 80svh; max-width: 100%; width: auto; opacity: 0; transition: opacity .5s var(--ease); touch-action: pan-y; }
.lightbox img.is-loaded { opacity: 1; }
.lightbox.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 120px; height: 1px; margin-left: -60px; background: linear-gradient(90deg, transparent, var(--accent), transparent) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
.lightbox__caption { max-width: 40em; text-align: center; font: italic 400 clamp(1.05rem, 1.6vw, 1.3rem)/1.35 var(--font-display); color: var(--ink); }
.lightbox__close, .lightbox__nav { position: fixed; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: rgb(13 12 10 / 0.7); color: var(--ink); cursor: pointer; transition: border-color .25s, color .25s; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: max(16px, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(16px, env(safe-area-inset-right)); }
.lightbox.is-single .lightbox__nav { display: none; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); translate: none; } }

/* ---------- Contact ---------- */
.contact-sec { padding-top: 0; }
.contact { display: grid; gap: 56px; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: 6fr 5fr; gap: 72px; } }
.contact__phone { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 28px; color: var(--ink); text-decoration: none; font: 500 clamp(3rem, 7vw, 6rem)/0.9 var(--font-display); letter-spacing: -0.01em; }
.contact__phone .icon { width: 0.6em; height: 0.6em; color: var(--accent); }
.contact__phone:hover span { color: var(--accent); }
.contact__address { margin: 44px 0 28px; }
.contact__address h2 { font-size: 1.4rem; margin-bottom: 10px; }
.contact__address p { margin: 0 0 4px; }
.map { aspect-ratio: 4 / 3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) brightness(0.9); }
.form { padding: clamp(26px, 4vw, 48px); background: var(--bg-2); border: 1px solid var(--line); }
.form h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); margin-bottom: 8px; }
.form__hint { color: var(--ink-2); margin-bottom: 30px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: 0.98rem; }
.optional { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-field);
  background: var(--field-bg); color: var(--ink); font: inherit; font-size: 1rem; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 0; color: var(--error); font-size: 0.94rem; font-weight: 500; }
.reviews { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review blockquote { margin: 12px 0; font-size: 1.2rem; }
.review figcaption { color: var(--ink-2); }
.review__stars { display: flex; gap: 2px; color: var(--accent); }
.review__stars .icon { fill: currentColor; }

/* ---------- 404 ---------- */
.lost { position: relative; display: grid; align-items: end; min-height: calc(100svh - var(--header)); overflow: hidden; }
.lost__photo { position: absolute; inset: 0; filter: brightness(0.4) saturate(0.85); }
.lost__code { position: absolute; right: var(--gutter); top: 46%; translate: 0 -50%; margin: 0; pointer-events: none; font: italic 300 clamp(9rem, 30vw, 27rem)/0.8 var(--font-display); font-variant-numeric: lining-nums; color: transparent; -webkit-text-stroke: 1px rgb(212 182 122 / 0.6); }
.lost__inner { position: relative; padding-block: clamp(56px, 12vh, 140px) clamp(40px, 8vh, 96px); }
.lost h1 { margin: 0; color: #fff; font-size: clamp(3.2rem, 9vw, 8rem); }
.lost__lead { max-width: 32em; margin: 22px 0 30px; color: rgb(255 255 255 / 0.84); font-size: 1.14rem; }
.lost__links { margin-top: clamp(40px, 7vh, 72px); }
.lost__links ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); column-gap: 28px; }
.lost__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-top: 1px solid rgb(255 255 255 / 0.22); color: #fff; text-decoration: none; font: 500 1.45rem/1.1 var(--font-display); transition: color .25s, border-color .25s; }
.lost__links a .icon { width: 1em; height: 1em; color: var(--accent); transition: translate .35s var(--ease); }
.lost__links a:hover { color: var(--accent); border-color: var(--accent); }
.lost__links a:hover .icon { translate: 6px 0; }
@media (max-width: 640px) { .lost__code { top: 18px; translate: none; } }

/* ---------- Footer ---------- */
.site-footer { background: #080706; color: var(--ink-2); padding: clamp(90px, 12vw, 170px) 0 28px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.site-footer h2 { color: var(--ink); }
.footer__call { padding-bottom: clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--line); }
.footer__big { font-size: clamp(3.4rem, 11vw, 11rem); margin-bottom: 22px; }
.footer__call p { max-width: 40em; }
.footer__phone { display: inline-block; margin: 26px 0 36px; font: 500 clamp(3rem, 9vw, 8rem)/0.9 var(--font-display); letter-spacing: -0.01em; text-decoration: none; color: var(--accent) !important; }
.footer__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 10px; }
.footer__grid { display: grid; gap: 36px; padding: 52px 0; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1.4fr; } }
.footer__grid h2 { font: 650 1rem/1.3 var(--font-body); margin-bottom: 14px; }
.footer__grid ul { display: grid; gap: 8px; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--accent); }
.footer__grid address p { margin: 0 0 8px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.3rem/1 var(--font-display); text-decoration: none; margin-bottom: 12px; }
.footer__brand .icon { width: 30px; height: 30px; stroke-width: 1.5; color: var(--accent); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.footer__links { display: inline-flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__admin { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.footer__admin:hover { color: var(--accent); }
.share-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* Phone booking bar */
.bookbar { display: none; }
@media (max-width: 899px) {
  .bookbar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 45;
    display: flex; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 999px;
    background: rgb(13 12 10 / 0.94); box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.8);
    translate: 0 140%; transition: translate .5s var(--ease);
  }
  .bookbar.is-on { translate: 0 0; }
  .bookbar .btn { min-height: 48px; }
  .bookbar .btn:first-child { flex: 1; }
  .bookbar__wa { width: 48px; padding: 0; }
  .site-footer { padding-bottom: 96px; }
}
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; translate: -50% 20px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 650; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s var(--ease); }
.toast.is-visible { opacity: 1; translate: -50% 0; }

/* ---------- Reveal on scroll (site.js) ---------- */
.js .reveal { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease) var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: none; }

/* ---------- Print ---------- */
@media print {
  body::after, .site-header, .terrain, .ring, .ring__nav, .toast, .lightbox, .map, .skip-link, .btn-row, .btn, .nav-toggle, .deck__bar, .marquee, .share-link, .place__links, .lost__code, .lost__links { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, .hero__title { color: #000 !important; }
  .hero, .page-head { height: auto; min-height: 0; position: static; }
  .over { box-shadow: none; background: none; }
  .hero__photo, .page-head__photo { position: static; height: 300px; filter: none; }
  .hero__content, .page-head__inner { position: static; }
  .site-footer { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; translate: none !important; }
  img[data-fade] { opacity: 1 !important; }
}

/* Prices, counts and phone numbers in upright figures, so they line up */
.numbers strong, .hs__n, .hs__price, .room-cols .tally__n, .tally__n, .rate__price, .steps__when,
.contact__phone, .footer__phone, .notfound__code { font-variant-numeric: lining-nums; }

/* No grey flash when a link or button is tapped on a phone */
html { -webkit-tap-highlight-color: transparent; }

/* Older phones and browsers (before iOS 15.4) don't know "svh" screen units: give them the
   classic screen height instead, so full-screen sections never collapse */
@supports not (height: 1svh) {
  .hero { height: calc(100vh - var(--header)); }
  .lost { min-height: calc(100vh - var(--header)); }
  .hero__name { font-size: clamp(3.6rem, min(12vw, 17vh), 13rem); }
  .deck { width: min(calc(100% - 120px), 500px, calc((100vh - var(--header) - 190px) * 0.8)); }
  .fly__pin, .lightbox { height: 100vh; }
  .fly__cards { height: min(78vh, 640px); }
  .lightbox img { max-height: 80vh; }
  .page-head { height: min(84vh, 880px); }
  .fly:not(.is-live) .fly__map.terrain { height: 70vh; }
  @media (min-width: 900px) {
    .hs__pin { height: 100vh; }
    .hs__panel { width: min(46vw, calc(64vh * 1.333)); }
    .strip__list { height: min(68vh, 640px); }
  }
  @media (max-width: 899px) {
    .fly__cards { height: 46vh; }
    .fly__map .terrain__stage { bottom: 36vh; }
  }
}
