/* =====================================================================
   Top Mountain Resort · Botanical contemporary
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --ivory: #F7F5EF;
  --ivory-deep: #EEEBE2;
  --sage: #DDE5D8;
  --sage-deep: #CAD6C4;
  --pine: #294B3A;
  --pine-deep: #1E3A2C;
  --brass: #B38B5D;
  --brass-ink: #86663F;      /* brass for small text on light grounds (4.8:1) */
  --brass-light: #D3B690;    /* brass for small text on pine (5:1) */
  --ink: #292D28;
  --ink-soft: #565A53;
  --ink-muted: #6A6E66;
  --line: rgb(41 45 40 / .14);
  --line-strong: rgb(41 45 40 / .28);
  --line-light: rgb(247 245 239 / .2);
  --ivory-72: rgb(247 245 239 / .76);

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero: clamp(3rem, 1.5rem + 7.2vw, 9.4rem);
  --fs-d1: clamp(2.6rem, 1.5rem + 4.4vw, 6.2rem);
  --fs-d2: clamp(2.1rem, 1.4rem + 2.8vw, 4.2rem);
  --fs-d3: clamp(1.7rem, 1.25rem + 1.5vw, 2.6rem);
  --fs-lede: clamp(1.1rem, 1rem + .45vw, 1.38rem);
  --fs-body: clamp(.98rem, .94rem + .16vw, 1.06rem);
  --fs-small: .875rem;
  --fs-eyebrow: .72rem;

  --pad: clamp(20px, 5vw, 80px);
  --gap: clamp(14px, 2vw, 32px);
  --sec: clamp(96px, 13vw, 210px);
  --maxw: 1480px;
  --nav-h: 84px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 var(--fs-body)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--pine); color: var(--ivory); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--pine); color: var(--ivory); padding: 12px 18px; border-radius: 999px; font-weight: 600; transition: top .3s; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--sec); }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font: 600 var(--fs-eyebrow)/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-ink);
}
.eyebrow__n { font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: .9em; color: var(--ink-muted); }
.eyebrow__n::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--brass-light); }
.eyebrow--light .eyebrow__n { color: var(--ivory-72); }
.eyebrow--center { justify-content: center; width: 100%; }

.display {
  font: 300 var(--fs-d1)/.98 var(--serif); letter-spacing: -.015em;
  margin-top: clamp(18px, 2vw, 28px);
  text-wrap: balance;
}
.display--sm { font-size: var(--fs-d2); margin-top: 0; }
.display em, .hero__title em { font-style: italic; font-weight: 300; color: var(--pine); }
.lede { font: 400 var(--fs-lede)/1.55 var(--sans); color: var(--ink-soft); max-width: 34em; }
.body-copy { color: var(--ink-soft); max-width: 36em; }

/* split lines */
.ln { display: block; overflow: hidden; padding: 0 .12em .1em 0; margin-bottom: -.1em; }
.ln > span { display: block; will-change: transform; }

/* captions */
.cap { display: flex; gap: 1em; margin-top: 14px; font-size: .8rem; color: var(--ink-muted); letter-spacing: .02em; }
.cap span { flex: none; white-space: nowrap; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; color: var(--brass-ink); padding-top: .15em; }
.cap--light { color: var(--ivory-72); }
.cap--light span { color: var(--brass-light); }

/* media */
.pic { display: block; width: 100%; height: 100%; background: var(--ph, var(--sage)); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
/* a held-back photo (not yet loaded) shows its placeholder colour, not its alt text */
.pic[data-defer] img { color: transparent; }
.frame { position: relative; overflow: hidden; width: 100%; height: 100%; background: var(--sage); }
.parallax { position: absolute; inset: -8% 0; }
figure > .pic, figure > .frame { height: 100%; }
[data-img] { overflow: hidden; }

/* ---------- icons ---------- */
.i-arrow, .i-ext { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .5s var(--ease); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  min-height: 52px; padding: 0 1.75em; border-radius: 999px;
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease), transform .45s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover .i-arrow, .btn:focus-visible .i-arrow { transform: translateX(4px); }
.btn:hover .i-ext { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn--block { width: 100%; }

.btn--solid { background: var(--pine); color: var(--ivory); }
.btn--solid::before { background: var(--pine-deep); }
.btn--ivory { background: var(--ivory); color: var(--pine); }
.btn--ivory::before { background: var(--sage); }
.btn--glass { color: var(--ivory); border: 1px solid rgb(247 245 239 / .55); background: rgb(247 245 239 / .06); backdrop-filter: blur(6px); }
.btn--glass::before { background: var(--ivory); }
.btn--glass:hover, .btn--glass:focus-visible { color: var(--pine); border-color: var(--ivory); }
.btn--outline { color: var(--ink); border: 1px solid var(--line-strong); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover, .btn--outline:focus-visible { color: var(--ivory); border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; min-height: 44px;
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pine);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }
.link-arrow:hover .i-arrow { transform: translateX(4px); }
.link-arrow--light { color: var(--ivory); }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--pine); border-color: var(--pine); color: var(--ivory); }
.round-btn:disabled { opacity: .35; pointer-events: none; }
.round-btn--light { border-color: rgb(247 245 239 / .35); color: var(--ivory); }
.round-btn--light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* ======================= NAV ======================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; color: var(--ivory);
  transition: transform .6s var(--ease), color .5s var(--ease);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h); margin: 0; padding-inline: var(--pad);
  border-radius: 0; background: transparent;
  transition: height .6s var(--ease), margin .6s var(--ease), padding .6s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease), border-radius .6s var(--ease);
}
.nav.is-solid { color: var(--ink); }
.nav.is-solid .nav__inner {
  height: 64px; margin: 10px clamp(10px, 2vw, 28px) 0; padding-inline: clamp(18px, 2vw, 28px) 8px;
  background: rgb(247 245 239 / .93); border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgb(41 45 40 / .5);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.nav.is-hidden { transform: translateY(-120%); }

.brand { display: flex; align-items: center; min-height: 44px; }
/* the resort's own logo: white artwork used as a mask, so it takes the text colour
   (ivory over the hero, ink on the solid bar) and fades with it */
.logo {
  display: block; aspect-ratio: 900 / 196; background-color: currentColor;
  -webkit-mask: url(../assets/brand/logo.png) center / contain no-repeat;
  mask: url(../assets/brand/logo.png) center / contain no-repeat;
}
@media (forced-colors: active) { .logo { forced-color-adjust: none; background-color: CanvasText; } }
.brand__logo { height: clamp(38px, 3.2vw, 50px); transition: height .6s var(--ease); }
.nav.is-solid .brand__logo { height: 38px; }

.nav__links { display: none; }
.nav__links ul { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font: 500 .86rem/1 var(--sans); letter-spacing: .04em;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current::before {
  content: ''; position: absolute; left: 50%; top: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brass);
}

.nav__actions { display: flex; align-items: center; gap: 8px; }
.btn--nav { display: none; min-height: 46px; padding: 0 1.5em; background: var(--ivory); color: var(--pine); }
.btn--nav::before { background: var(--sage); }
.nav.is-solid .btn--nav { background: var(--pine); color: var(--ivory); }
.nav.is-solid .btn--nav::before { background: var(--pine-deep); }

.nav__toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 6px 0 14px; border-radius: 999px; font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.nav__toggle-icon { position: relative; width: 22px; height: 12px; }
.nav__toggle-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle-icon i:first-child { top: 1px; }
.nav__toggle-icon i:last-child { top: 9px; }
.menu-open .nav__toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .nav__toggle-icon i:last-child { top: 5px; transform: rotate(-45deg); }
.menu-open .nav { color: var(--ink); }
.menu-open .nav.is-solid .nav__inner { box-shadow: none; background: transparent; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ivory); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav-h) + 3vh) var(--pad) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease-io); }
.menu-open { overflow: hidden; }
.menu__links li { border-bottom: 1px solid var(--line); }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0;
  font: 300 clamp(2.2rem, 10vw, 3.4rem)/1.05 var(--serif);
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu__links a span { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; color: var(--brass-ink); }
.menu-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .07s); }
.menu__foot { display: grid; gap: 28px; opacity: 0; transition: opacity .6s var(--ease); }
.menu-open .menu__foot { opacity: 1; transition-delay: .6s; }
.menu__contact { display: grid; gap: 8px; }
.menu__phones { display: flex; flex-wrap: wrap; gap: 4px 20px; font: 400 1.35rem/1.3 var(--serif); }
.menu__phones a { min-height: 44px; display: inline-flex; align-items: center; }
.menu__addr { color: var(--ink-soft); font-size: .92rem; }

/* ======================= HERO ======================= */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  color: var(--ivory); overflow: hidden; background: var(--ivory);
}
.hero__media { position: absolute; inset: 0; background: var(--pine-deep); }
.hero__media .pic, .bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgvideo { opacity: 0; transition: opacity 1.4s var(--ease); }
.is-playing > .bgvideo { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(18 28 22 / .45) 0%, rgb(18 28 22 / 0) 20%),
    linear-gradient(0deg, rgb(18 28 22 / .74) 0%, rgb(18 28 22 / .5) 32%, rgb(18 28 22 / .14) 62%, rgb(18 28 22 / 0) 78%),
    linear-gradient(90deg, rgb(18 28 22 / .38) 0%, rgb(18 28 22 / .12) 45%, rgb(18 28 22 / 0) 70%);
}
.hero__inner {
  position: absolute; left: var(--pad); right: var(--pad);
  bottom: calc(clamp(110px, 17vh, 170px) + env(safe-area-inset-bottom));
  max-width: 1180px;
}
.hero__kicker { font: 600 .72rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); opacity: .92; }
.hero__kicker span { margin-inline: .5em; opacity: .6; }
.hero__title { font: 300 var(--fs-hero)/.9 var(--serif); letter-spacing: -.025em; margin-top: clamp(16px, 2.2vh, 26px); text-shadow: 0 2px 40px rgb(10 18 12 / .28); }
.hero__title em { color: var(--brass-light); }
.hero__lede { max-width: 31em; margin-top: clamp(18px, 3vh, 30px); font-size: var(--fs-lede); line-height: 1.55; color: rgb(247 245 239 / .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 40px); }

/* phones held upright: start the copy just under the nav instead of pinning it to the
   bottom, so tall screens don't open a large empty gap above the title. The scrim
   moves its weight to the top to keep the text readable over the video. */
@media (max-width: 599px) and (orientation: portrait) {
  .hero__inner { top: calc(var(--nav-h) + clamp(16px, 4vh, 40px)); bottom: auto; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgb(18 28 22 / .6) 0%, rgb(18 28 22 / .5) 35%, rgb(18 28 22 / .34) 62%, rgb(18 28 22 / .08) 80%, rgb(18 28 22 / .5) 100%),
      linear-gradient(90deg, rgb(18 28 22 / .3) 0%, rgb(18 28 22 / 0) 70%);
  }
}

.hero__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(26px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.scroll-cue__line { position: relative; width: 1px; height: 42px; background: rgb(247 245 239 / .3); overflow: hidden; }
.scroll-cue__line i { position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--ivory); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }
.hero__meta { display: none; align-items: center; gap: 14px; opacity: .85; }
.hero__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--brass-light); }

.vtoggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; justify-content: center; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ivory); }
.vtoggle__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgb(247 245 239 / .5); }
.vtoggle__icon::before, .vtoggle__icon::after { content: ''; position: absolute; top: 10px; width: 2px; height: 9px; background: currentColor; }
.vtoggle__icon::before { left: 11px; } .vtoggle__icon::after { left: 16px; }
.vtoggle[aria-pressed="true"] .vtoggle__icon::before { left: 11px; top: 9px; width: 0; height: 0; background: none; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vtoggle[aria-pressed="true"] .vtoggle__icon::after { display: none; }
.vtoggle__label { display: none; }

/* ======================= INTRO ======================= */
.intro__grid { display: grid; }
/* just the highlights: a slim heading strip, then the photos edge to edge */
.intro.section { padding-block: 0; }
/* the highlights open the section, so they need no gap above them */
.intro__grid > .hl:first-child { margin-top: 0; }

/* ---------- highlights: expanding panels (desktop), a swipe rail (phones and tablets) ---------- */
.hl { --hl-gap: 4px; --hl-grow: 6; --hl-dur: 6.5s; --hl-card: 86vw; position: relative; isolation: isolate; margin-top: clamp(96px, 12vw, 190px); background: var(--sage); color: var(--ink); }
/* the heading strip: kept slim, above the photos rather than over them. A light gradient: ivory under the
   small eyebrow (so it keeps its contrast), deepening to sage where the large heading meets the photos,
   with a faint warm brass glow behind the buttons */
.hl__head {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(12px, 1.4vw, 18px);
  padding: clamp(32px, 3.6vw, 60px) var(--pad) clamp(22px, 2.2vw, 34px);
  background:
    radial-gradient(46% 130% at 100% 100%, rgb(211 182 144 / .34), rgb(211 182 144 / 0) 72%),
    linear-gradient(180deg, var(--ivory) 0%, #EEF1E8 46%, var(--sage) 100%);
}
.hl__top { display: flex; align-items: center; gap: 18px; min-width: 0; }
.hl__top .eyebrow { flex: none; }
.hl__rule {
  flex: 1 1 auto; min-width: 24px; height: 1px; transform-origin: left;
  background: linear-gradient(90deg, var(--brass), rgb(41 45 40 / .14));
}
/* ink-soft and pine stay readable on the sage end too (the counter sits low on phones) */
.hl__count { flex: none; display: flex; align-items: baseline; gap: .5em; font: 600 .72rem/1 var(--sans); letter-spacing: .2em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hl__count b { font: italic 400 1.35rem/1 var(--serif); letter-spacing: 0; color: var(--pine); }
.hl__title {
  font: 300 clamp(2rem, 1.25rem + 2.3vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.015em; text-wrap: balance;
}
.hl__title em { font-style: italic; color: var(--pine); }
/* words of the heading rise out of a mask (set up by JS); the padding keeps italic tails unclipped */
.hl__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .14em 0; margin: 0 -.1em -.14em 0; }
.hl__title .w > span { display: inline-block; }
/* phones: the eyebrow fills the top row, so the counter sits beside the heading's last line instead */
@media (max-width: 599px) {
  .hl__head { position: relative; }
  .hl__top .eyebrow { flex: 0 1 auto; min-width: 0; }
  .hl__rule { min-width: 0; }
  .hl__count { position: absolute; right: var(--pad); bottom: 28px; }
  .hl__title { padding-right: 68px; }
}
/* phones swipe the rail, so the buttons only show on desktop */
.hl__ctrl { display: none; }
.hl__btns { display: flex; gap: 8px; }
.hl__play .hl__ico-play, .hl__play.is-stopped .hl__ico-pause { display: none; }
.hl__play.is-stopped .hl__ico-play { display: block; }

.hl__track {
  position: relative; display: flex; gap: var(--hl-gap);
  margin: 0; padding: 0;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.hl__track::-webkit-scrollbar { display: none; }
/* no spacer at the end: the last card stops flush with the right edge (and still becomes the open one),
   so the rail never shows an empty strip */
.hl-item {
  /* with the heading strip above, a card plus the strip fit one phone screen */
  position: relative; flex: 0 0 var(--hl-card); height: clamp(360px, 62vh, 560px); height: clamp(360px, 62svh, 560px); overflow: hidden;
  scroll-snap-align: start; background: var(--pine-deep); color: var(--ivory);
}
.hl-item__btn { position: absolute; inset: 0; display: block; width: 100%; cursor: zoom-in; }
.hl-item__btn:focus-visible { outline: 2px solid var(--brass-light); outline-offset: -8px; }
.hl-item__img { position: absolute; inset: 0; display: block; }
.hl-item__img .pic { position: absolute; inset: 0; }
.hl-item__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgb(16 26 20 / .82) 0%, rgb(16 26 20 / .42) 34%, rgb(16 26 20 / 0) 60%);
}
.hl-item__shade::after { content: ''; position: absolute; inset: 0; background: rgb(16 26 20 / .55); opacity: 0; transition: opacity 1s var(--ease); }
.hl-item__tab { display: none; }
.hl-item__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 10px; padding: 26px 22px 30px; pointer-events: none; }
.hl-item__num { font: 600 .64rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-light); }
.hl-item__title { font: 300 clamp(2rem, 1.5rem + 1.6vw, 3rem)/1.02 var(--serif); letter-spacing: -.01em; }
.hl-item__text { font-size: .92rem; line-height: 1.55; color: rgb(247 245 239 / .84); max-width: 30em; }
/* caption lines rise out of a mask when their photo becomes the active one */
.hl-reveal { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hl-reveal > span { display: block; transition: transform 1.1s var(--ease); }
.hl-item:not(.is-active) .hl-reveal > span, .hl.is-waiting .hl-reveal > span { transform: translateY(110%); transition-duration: .45s; transition-delay: 0s; }
.hl-item.is-active .hl-item__num .hl-reveal > span { transition-delay: .35s; }
.hl-item.is-active .hl-item__title .hl-reveal > span { transition-delay: .45s; }
.hl-item.is-active .hl-item__text .hl-reveal > span { transition-delay: .58s; }
/* slideshow progress along the bottom edge of the open panel */
.hl-item__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 2px; background: rgb(247 245 239 / .2); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.hl-item__bar i { display: block; height: 100%; background: var(--brass-light); transform: scaleX(0); transform-origin: left; }
.hl.is-auto .hl-item.is-active .hl-item__bar { opacity: 1; }
.hl.is-auto .hl-item.is-active .hl-item__bar i { animation: hl-progress var(--hl-dur) linear forwards; }
.hl.is-paused .hl-item__bar i { animation-play-state: paused; }
@keyframes hl-progress { to { transform: scaleX(1); } }

/* "View" badge that trails the pointer over the open panel (mouse only, added by JS) */
.hl-cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; }
.hl-cursor span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: rgb(247 245 239 / .86); color: var(--pine); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 600 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 18px 40px -18px rgb(16 26 20 / .55); transform: scale(0); transition: transform .55s var(--ease);
}
.hl-cursor.is-on span { transform: scale(1); }

@media (min-width: 600px) {
  .hl { --hl-card: 64vw; }
}

/* phones and tablets: each photo drifts inside its frame as you swipe, and cards further along are shaded */
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .hl-item__img { transform: translateX(calc(var(--ps, 0) * -9%)) scale(calc(1 + var(--p, 0) * .2)); }
  .hl-item__shade::after { opacity: calc(var(--p, 0) * 1.4); transition: none; }
}

/* desktop: six panels side by side; the open one takes six shares of the width. Each photo is as wide
   as an open panel and stays centred, so a panel opening reveals more of it instead of resizing it. */
@media (min-width: 900px) {
  .hl { --hl-gap: 3px; grid-column: 1 / -1; }
  /* eyebrow and hairline across the top; the heading on one line with the buttons beside it */
  .hl__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
  .hl__top { grid-column: 1 / -1; }
  .hl__ctrl { display: flex; align-items: center; }
  /* the panels take about three fifths of the screen, so the strip and the panels fit with room to spare */
  .hl__track {
    container-type: inline-size; overflow: visible; margin: 0; padding: 0;
    height: clamp(400px, 62vh, 640px); height: clamp(400px, 62svh, 640px); scroll-snap-type: none;
  }
  .hl-item {
    --hl-open: calc((100cqw - (var(--n, 6) - 1) * var(--hl-gap)) * var(--hl-grow) / (var(--hl-grow) + var(--n, 6) - 1));
    flex: 1 1 0; min-width: 0; height: auto; transition: flex-grow 1.15s var(--ease-io);
  }
  .hl-item.is-active { flex-grow: var(--hl-grow); }
  .hl-item__img { inset: 0 auto; left: 50%; width: var(--hl-open); transform: translateX(-50%) scale(1.14); transition: transform 1.9s var(--ease); }
  .hl-item.is-active .hl-item__img { transform: translateX(-50%) scale(1); }
  .hl-item__shade::after { opacity: 1; }
  .hl-item.is-active .hl-item__shade::after { opacity: 0; }
  .hl-item:not(.is-active):hover .hl-item__shade::after { opacity: .7; }
  .hl-item__cap { right: auto; width: var(--hl-open); gap: 12px; padding: clamp(28px, 2.8vw, 48px); }
  .hl-item__text { max-width: 26em; }
  .hl-item__tab {
    position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    padding: 26px 0 32px; color: var(--ivory); pointer-events: none; transition: opacity .6s var(--ease) .45s;
  }
  .hl-item__tab b { font: italic 400 1.4rem/1 var(--serif); color: var(--brass-light); }
  .hl-item__tab span { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 .64rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; }
  .hl-item.is-active .hl-item__tab { opacity: 0; transition: opacity .3s var(--ease); }
  .hl.is-cursor-on .hl-item.is-active .hl-item__btn { cursor: none; }
}
/* browsers without container units: the photo simply fills its panel */
@supports not (width: 1cqw) {
  .hl-item { --hl-open: 100%; }
}

/* ======================= DISCOVER ======================= */
/* The overhead drone footage behind a pine scrim: the three chapters on the left,
   the film thumbnail on the right. Stacked on phones. */
.discover { position: relative; background: var(--ivory); }
.discover__pin {
  position: relative; isolation: isolate; color: var(--ivory); background: var(--pine-deep);
  overflow: hidden; overflow: clip; /* clip, not hidden, so the thumbnail can stay sticky */
}
.discover__bg { position: absolute; inset: 0; z-index: -1; }
/* one screen tall and sticky: on phones the footage stays put while the stacked copy scrolls over it */
.discover__media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.discover__media .pic, .discover__media .bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* phones: copy runs over the whole picture, so the scrim is even (ivory text stays above 4.5:1) */
.discover__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(18 28 22 / .82) 0%, rgb(18 28 22 / .72) 30%, rgb(18 28 22 / .72) 75%, rgb(18 28 22 / .8) 100%);
}
.discover__vtoggle {
  position: absolute; right: var(--pad); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 1;
  font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.discover__inner { position: relative; display: grid; gap: clamp(48px, 8vw, 72px); padding-block: clamp(72px, 12vw, 150px); }
/* a size down from the other section titles, so the panel stays compact */
.discover__head .display { margin-top: clamp(16px, 2vw, 24px); font-size: var(--fs-d2); }
.discover .display em { color: var(--brass-light); }
.discover__chapters { display: grid; gap: clamp(30px, 5vw, 44px); margin-top: clamp(44px, 6vw, 64px); }
.dchap { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.dchap__n { grid-row: span 2; font: italic 400 1.4rem/1 var(--serif); color: var(--brass-light); }
.dchap h3 { font: 400 clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem)/1.1 var(--serif); }
.dchap p { color: var(--ivory-72); font-size: 1rem; margin-top: 10px; max-width: 30em; }
.discover__bar { display: none; }

/* film thumbnail: the film's poster, a play button, and the running time */
.dfilm {
  position: relative; display: block; width: 100%; border-radius: 6px; overflow: hidden; isolation: isolate;
  color: var(--ivory); text-align: left; background: var(--pine);
  box-shadow: 0 0 0 1px rgb(247 245 239 / .24), 0 34px 70px -28px rgb(6 12 8 / .8);
  -webkit-tap-highlight-color: transparent;
}
.dfilm__media { display: block; aspect-ratio: 16 / 9; }
.dfilm__media .pic img { transition: transform 1.4s var(--ease); }
.dfilm::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(18 28 22 / .74) 0%, rgb(18 28 22 / 0) 52%), rgb(18 28 22 / .12); }
.dfilm__play {
  position: absolute; z-index: 1; left: 50%; top: 44%; width: 62px; height: 62px; margin: -31px 0 0 -31px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgb(247 245 239 / .94); color: var(--pine);
  transition: transform .6s var(--ease);
}
.dfilm__play::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgb(247 245 239 / .7); animation: dfilm-ring 2.8s var(--ease) infinite; }
.dfilm__play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
@keyframes dfilm-ring { 0% { transform: scale(.8); opacity: 0; } 25% { opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.dfilm__label {
  position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 13px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font: 600 .7rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.dfilm__dur { font-weight: 500; letter-spacing: .08em; color: var(--ivory-72); font-variant-numeric: tabular-nums; }
.dfilm:hover .dfilm__media .pic img, .dfilm:focus-visible .dfilm__media .pic img { transform: scale(1.06); }
.dfilm:hover .dfilm__play, .dfilm:focus-visible .dfilm__play { transform: scale(1.08); }
.dfilm:active .dfilm__play { transform: scale(.95); }

/* pinned (desktop, set by JS): the panel holds still while the chapters change in place */
/* a frame about four fifths of the screen tall, held in the middle of the screen (see main.js),
   with the footage filling the frame */
.discover.is-pinned .discover__pin { height: clamp(520px, 80vh, 800px); height: clamp(520px, 80svh, 800px); }
.discover.is-pinned .discover__media { position: absolute; inset: 0; height: auto; }
.discover.is-pinned .discover__inner { height: 100%; align-content: center; padding-block: clamp(32px, 6vh, 64px); }
.discover.is-pinned .discover__chapters { grid-template-columns: minmax(0, 1fr); margin-top: clamp(32px, 4vh, 48px); }
/* all three chapters share one slot; the timeline shows one at a time */
.discover.is-pinned .dchap { grid-area: 1 / 1; padding: 0; border: 0; opacity: 0; visibility: hidden; }
.discover.is-pinned .dchap h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1.15; }
.discover.is-pinned .dchap p { font-size: 1rem; margin-top: 6px; }
.discover.is-pinned .discover__bar { display: block; position: relative; height: 1px; max-width: 440px; margin: 28px 0 0 46px; background: var(--line-light); }
.discover.is-pinned .discover__bar i { position: absolute; inset: 0; background: var(--brass-light); transform: scaleX(0); transform-origin: left; }

/* ======================= STAYS: one row of floating room photos ======================= */
/* A light section: a short heading, then five rooms in a row that float gently up and down at their
   own pace (a swipeable row on phones and tablets). "Show more rooms" adds five at a time. A faint,
   blurred tint of the room being looked at keeps the light ground from being flat. Each card's
   button opens all of that room's photos. */
.stays { position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: var(--ivory); padding-block: clamp(52px, 6vw, 92px) clamp(40px, 4.5vw, 72px); }
.stays__ambient { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.stays__amb { position: absolute; inset: -10%; background: center / cover no-repeat; filter: blur(60px) saturate(1.1); opacity: 0; transition: opacity 1.4s var(--ease); }
.stays__amb.is-on { opacity: .3; }
.stays::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(247 245 239 / .7) 0%, rgb(247 245 239 / .3) 50%, rgb(247 245 239 / .75) 100%);
}
.stays__head { display: grid; gap: 10px; align-items: end; }
.stays__head .display { font-size: var(--fs-d3); margin-top: 12px; }
.stays__lede { color: var(--ink-soft); max-width: 24em; text-wrap: pretty; }

/* phones and tablets: a row you swipe; every card sits a little higher or lower than its neighbour */
.rgal {
  display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none;
  margin: clamp(22px, 3vw, 36px) calc(-1 * var(--pad)) 0; padding: 14px var(--pad) 34px;
}
.rgal::-webkit-scrollbar { display: none; }
.rcard { flex: 0 0 min(64vw, 280px); scroll-snap-align: start; margin-top: var(--o, 0px); }
.rcard:nth-child(5n+2) { --o: 26px; }
.rcard:nth-child(5n+3) { --o: 8px; }
.rcard:nth-child(5n+4) { --o: 32px; }
.rcard:nth-child(5n) { --o: 14px; }
/* the gentle float: each card bobs on its own rhythm */
.rcard__float { animation: rfloat 6.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); }
@keyframes rfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.rcard:hover .rcard__float, .rcard:focus-within .rcard__float { animation-play-state: paused; }
.rcard__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; isolation: isolate;
  color: var(--ivory); text-align: left; background: var(--sage);
  box-shadow: 0 30px 46px -28px rgb(28 40 31 / .55), 0 8px 16px -12px rgb(28 40 31 / .3);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease); -webkit-tap-highlight-color: transparent;
}
.rcard__btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.rcard__img, .rcard__img .pic { position: absolute; inset: 0; }
.rcard__img .pic img { transition: transform 1.4s var(--ease); }
.rcard__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(16 26 20 / .78) 0%, rgb(16 26 20 / .22) 40%, rgb(16 26 20 / 0) 62%); }
/* a thin gold frame line that draws in on hover, like the mount around a print */
.rcard__btn::after {
  content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  border: 1px solid rgb(211 182 144 / 0); transition: inset .8s var(--ease), border-color .6s var(--ease), border-radius .8s var(--ease);
}
.rcard__label { position: absolute; z-index: 1; left: 14px; bottom: 13px; display: grid; gap: 5px; pointer-events: none; }
.rcard__kicker { font: 600 .58rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--brass-light); }
.rcard__num { font: 300 clamp(1.6rem, 1.3rem + 1vw, 2.3rem)/.95 var(--serif); letter-spacing: -.01em; }
.rcard__num--name { font-size: clamp(1.4rem, 1.15rem + .8vw, 2rem); }
/* the small button on the photo: the photo count, opening out to "View photos" */
.rcard__more {
  position: absolute; z-index: 3; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 11px 0 10px; border-radius: 999px; background: rgb(247 245 239 / .95); color: var(--pine);
  font: 600 .6rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; pointer-events: none;
  box-shadow: 0 10px 24px -12px rgb(4 10 6 / .6); transition: transform .5s var(--ease);
}
.rcard__more svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.rcard__count { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.rcard__cta { max-width: 0; margin-left: -7px; overflow: hidden; opacity: 0; transition: max-width .6s var(--ease), margin .6s var(--ease), opacity .4s var(--ease); }
/* hover or keyboard focus: the card stops floating, lifts, its frame line draws in, the button says what it does */
.rcard__btn:hover, .rcard__btn:focus-visible { transform: translateY(-8px); box-shadow: 0 44px 64px -30px rgb(28 40 31 / .6), 0 10px 20px -12px rgb(28 40 31 / .35); }
.rcard__btn:hover::after, .rcard__btn:focus-visible::after { inset: 9px; border-radius: 5px; border-color: rgb(211 182 144 / .85); }
.rcard__btn:hover .rcard__img .pic img, .rcard__btn:focus-visible .rcard__img .pic img { transform: scale(1.06); }
.rcard__btn:hover .rcard__cta, .rcard__btn:focus-visible .rcard__cta { max-width: 9em; margin-left: 0; opacity: 1; }
.rcard__btn:active .rcard__more { transform: scale(.95); }

/* show more: the count and the button on one line */
.stays__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: clamp(4px, 1vw, 12px); }
.stays__shown { font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.stays__shown b { color: var(--ink); font-weight: 600; }
.stays__morebtn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink); font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.stays__morebtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.stays__morebtn:hover { background: var(--pine); border-color: var(--pine); color: var(--ivory); }
/* the arrow points where the new rooms appear: along the row on phones and tablets, down on desktop */
.stays__morebtn svg { transform: rotate(-90deg); }
.stays__morebtn:hover svg { transform: rotate(-90deg) translateY(3px); }
.stays__morebtn.is-less svg { transform: rotate(90deg); }
.stays__morebtn.is-less:hover svg { transform: rotate(90deg) translateY(3px); }

/* ======================= EXPERIENCES ======================= */
/* compact on purpose: below 1100px a short header over a swipeable rail of cards;
   from 1100px the intro sits in a narrow column beside a 3 × 2 grid (see ≥ 1100px) */
.exp { background: var(--sage); padding-block: clamp(64px, 6.5vw, 104px); }
.exp__grid { display: grid; row-gap: clamp(28px, 4vw, 40px); }
.exp__head { display: grid; gap: 16px; justify-items: start; align-content: start; }
.exp__head .display { margin-top: 0; font-size: clamp(2.3rem, 3.5vw, 3.4rem); }
.exp__head .lede { max-width: 24em; font-size: clamp(1rem, .94rem + .25vw, 1.14rem); }
.exp__cta { margin-top: 2px; }

.xp-grid {
  display: flex; gap: 16px; margin-inline: calc(-1 * var(--pad));
  padding-inline: var(--pad); scroll-padding-inline: var(--pad);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.xp-grid::-webkit-scrollbar { display: none; }
.xp-grid:focus-visible { outline-offset: -2px; }
.xp { flex: 0 0 min(76vw, 320px); min-width: 0; scroll-snap-align: start; }
.xp__fig { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage-deep); }
.xp__fig .pic img { transition: transform 1.8s var(--ease); }
/* a fine ivory mount inside each photo */
.xp__fig::after {
  content: ''; position: absolute; inset: 10px; z-index: 1; pointer-events: none;
  border: 1px solid rgb(247 245 239 / .34); transition: inset 1s var(--ease), border-color 1s var(--ease);
}
.xp__body { padding-top: 16px; }
.xp__meta { display: flex; align-items: center; gap: 10px; font: 600 .64rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-ink); }
.xp__num { font: italic 400 1.2rem/1 var(--serif); font-variant-numeric: lining-nums; letter-spacing: 0; text-transform: none; }
.xp__when { display: inline-flex; align-items: center; gap: 10px; }
.xp__when::before { content: ''; width: 20px; height: 1px; background: currentColor; opacity: .55; }
.xp__name { margin-top: 10px; font: 300 clamp(1.45rem, 1.2rem + .5vw, 1.75rem)/1.1 var(--serif); letter-spacing: -.005em; text-wrap: balance; transition: color .7s var(--ease); }
.xp__text { margin-top: 6px; max-width: 24em; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
@media (hover: hover) {
  .xp:hover .xp__fig .pic img { transform: scale(1.045); }
  .xp:hover .xp__fig::after { inset: 15px; border-color: rgb(247 245 239 / .62); }
  .xp:hover .xp__name { color: var(--pine); }
}

/* below 1100px: a counter and hairline follow the rail */
.xp-progress { display: flex; align-items: center; gap: 16px; margin-top: 24px; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.xp-progress b { color: var(--pine); font-weight: 600; }
.xp-progress__bar { flex: 1; height: 1px; overflow: hidden; background: var(--line-strong); }
.xp-progress__bar i { display: block; height: 100%; background: var(--pine); transform: scaleX(.1667); transform-origin: left; transition: transform .5s var(--ease); }

/* Experiences / Dining: two tabs in the eyebrow row (so they add no height) switch the heading,
   the intro and the cards; both sets of cards fill the same grid, so the section keeps its height */
.exp__tabs { flex-wrap: wrap; row-gap: 10px; }
.exp__tab {
  display: inline-flex; align-items: center; min-height: 34px; margin-block: -10px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink-soft);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.exp__tab + .exp__tab { margin-left: -.3em; }
.exp__tab:hover { border-color: var(--pine); color: var(--pine); }
.exp__tab[aria-selected="true"] { background: var(--pine); border-color: var(--pine); color: var(--ivory); }
.exp__copy { display: grid; gap: 16px; justify-items: start; }
.exp__copy .display { margin-top: 0; }
/* the "On the table" card: the menu on pine, the same size as a photo card */
.xp--menu { display: flex; }
.xp__menu { flex: 1; display: grid; align-content: center; gap: 18px; padding: clamp(22px, 2.4vw, 36px); background: var(--pine); color: var(--ivory); }
.xp__menu .xp__meta { color: var(--brass-light); }
.xp__menulist { border-top: 1px solid var(--line-light); }
.xp__menulist li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-light); font: italic 300 clamp(1.25rem, 1.05rem + .6vw, 1.6rem)/1.2 var(--serif); }
.xp__menulist span { min-width: 22px; font: 600 .62rem/1 var(--sans); font-style: normal; letter-spacing: .18em; color: var(--brass-light); }

/* ======================= LOCATION / NEARBY ======================= */
/* a compact section: tighter spacing and smaller headings than the others */
.loc { background: var(--sage); overflow: hidden; }
.loc.section { padding-block: clamp(56px, 6vw, 96px); }
.loc__top { display: grid; gap: clamp(28px, 4vw, 56px); }
.loc__head { display: grid; gap: clamp(12px, 1.4vw, 18px); justify-items: start; }
.loc__head .display { margin-top: 0; font-size: var(--fs-d2); }
.loc__addr { font: 400 clamp(1.15rem, 1rem + .45vw, 1.4rem)/1.35 var(--serif); }
.loc__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.loc__facts { border-top: 1px solid var(--line-strong); align-self: end; }
.loc__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
.loc__facts dt { font: 600 .68rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.loc__facts dd { font: 400 clamp(1.1rem, .98rem + .4vw, 1.35rem)/1.2 var(--serif); text-align: right; }

.near { margin-top: clamp(44px, 5vw, 76px); }
.near__head { display: grid; gap: 20px; align-items: end; }
.near__head .display { font-size: var(--fs-d3); }
.near__head .lede { margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-body); }
.near__ctrl { display: flex; align-items: center; gap: 20px; }
.near__btns { display: none; gap: 8px; }
.scale { flex: 1; display: flex; align-items: center; gap: 12px; font: 600 .64rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.scale__line { position: relative; flex: 1; height: 1px; background: var(--line-strong); }
.scale__fill { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--pine); transform-origin: left; transform: scaleX(0); }
.scale__dot { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--brass); }
.scale__km { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-style: normal; white-space: nowrap; color: var(--pine); }

/* the photo wall: one even row of smaller portrait cards, the name on the photo; the description
   and directions also show in the lightbox when a photo is opened */
.rail {
  position: relative; display: flex; gap: clamp(10px, 1vw, 16px); margin-top: clamp(22px, 2.6vw, 34px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--pad) 10px; scroll-padding-inline: var(--pad);
  scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
/* drifting on its own: snapping would pull it back to a card edge on every step */
.rail.is-auto { scroll-snap-type: none; }
/* pause / play for the drifting wall (shown on every screen size) */
.near__auto { flex: none; width: 44px; height: 44px; }
.near__auto .near__ico-play, .near__auto.is-stopped .near__ico-pause { display: none; }
.near__auto.is-stopped .near__ico-play { display: block; }
.near__auto .near__ico-play { fill: currentColor; stroke: none; }
.rail.is-dragging .place { pointer-events: none; }
.rail:focus-visible { outline-offset: -2px; }
.place { position: relative; flex: 0 0 min(62vw, 240px); scroll-snap-align: start; border-radius: 8px; overflow: hidden; isolation: isolate; box-shadow: 0 24px 40px -28px rgb(28 40 31 / .5); }
.place__media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; cursor: zoom-in; background: var(--sage-deep); }
.place__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(16 26 20 / .82) 0%, rgb(16 26 20 / .3) 38%, rgb(16 26 20 / 0) 60%); }
.place__media .pic img { transition: transform 1.4s var(--ease); }
.place__media:hover .pic img { transform: scale(1.05); }
.place__km { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 7px 11px; border-radius: 999px; background: rgb(247 245 239 / .94); color: var(--pine); font: 700 .68rem/1 var(--sans); letter-spacing: .12em; }
.place__body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: var(--ivory); pointer-events: none; }
.place__type { font: 600 .58rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-light); }
.place__name { font: 400 clamp(1.2rem, 1.05rem + .45vw, 1.45rem)/1.1 var(--serif); margin-top: 7px; text-wrap: balance; }
.place__desc { display: none; }
/* directions: a small pill in the top corner */
.place .link-arrow {
  position: absolute; top: 10px; right: 10px; min-height: 30px; padding: 0 11px; gap: .4em; border-radius: 999px; pointer-events: auto;
  background: rgb(16 26 20 / .45); color: var(--ivory); font-size: .62rem; letter-spacing: .14em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .4s var(--ease), color .4s var(--ease);
}
.place .link-arrow .i-ext { width: 13px; height: 13px; }
.place .link-arrow:hover { background: var(--ivory); color: var(--pine); }
/* with a mouse, the directions pill waits for hover (or keyboard focus); touch screens always show it */
@media (hover: hover) {
  .place .link-arrow { opacity: 0; transform: translateY(-4px); transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
  .place:hover .link-arrow, .place:focus-within .link-arrow { opacity: 1; transform: none; }
}

.near__also { margin-top: clamp(30px, 3.5vw, 48px); display: grid; gap: 14px; }
.near__also .eyebrow { color: var(--ink-soft); }
.near__also ul { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.near__also li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-strong); font: 400 1.05rem/1.3 var(--serif); }
.near__also i { font: 600 .7rem/1.6 var(--sans); font-style: normal; letter-spacing: .12em; color: var(--pine); white-space: nowrap; }

/* ======================= QUESTIONS & ANSWERS ======================= */
/* hairline rows like the location facts; each question opens its answer (<details>), the first starts open */
.faq.section { padding-block: clamp(72px, 9vw, 140px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.faq__head { display: grid; gap: clamp(12px, 1.4vw, 18px); justify-items: start; align-content: start; }
.faq__head .lede { max-width: 26em; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(16px, 1.6vw, 22px) 0; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font: 400 clamp(1.2rem, 1.02rem + .6vw, 1.6rem)/1.25 var(--serif); color: var(--ink); text-wrap: balance; transition: color .4s var(--ease); }
.faq__q:hover h3 { color: var(--pine); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--ink); transition: transform .5s var(--ease), background-color .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--pine); border-color: var(--pine); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--ivory); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 clamp(0px, 4vw, 56px) clamp(18px, 1.8vw, 26px) 0; }
.faq__a p { color: var(--ink-soft); max-width: 42em; }
.faq__a a { color: var(--pine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.faq__a a:hover { text-decoration-thickness: 2px; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .faq__head { grid-column: 1 / 5; position: sticky; top: calc(var(--nav-h) + 24px); }
  .faq__list { grid-column: 6 / 13; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__icon, .faq__icon::before, .faq__icon::after, .faq__q h3 { transition: none; }
}

/* ======================= REVIEWS ======================= */
.reviews__inner { display: grid; justify-items: center; text-align: center; gap: 32px; }
.reviews__list { display: grid; width: 100%; max-width: 980px; }
.review { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.review.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.review blockquote p { font: 300 clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem)/1.18 var(--serif); }
.review figcaption { margin-top: 28px; display: grid; gap: 6px; font-size: .88rem; color: var(--ink-muted); }
.review figcaption b { font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.reviews__nav { display: flex; gap: 10px; }

/* ======================= BOOKING ======================= */
/* light: a soft gradient from ivory through pale sage to a warm parchment tint, so it stands apart from the
   sage experiences above it. The stops stay pale enough for the small brass labels to keep 4.5:1 contrast. */
.book {
  color: var(--ink);
  background:
    radial-gradient(70% 60% at 100% 0%, rgb(211 182 144 / .16), rgb(211 182 144 / 0) 70%),
    linear-gradient(165deg, var(--ivory) 0%, #EFF2EA 52%, #F5EFE4 100%);
}
.book__grid { display: grid; }
.book__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage-deep); }
.book__panel { padding: clamp(56px, 8vw, 120px) var(--pad); display: grid; gap: clamp(16px, 2vw, 24px); align-content: center; justify-items: start; }
.book__panel .display { margin-top: 0; }
.book__panel .display em { color: var(--pine); }
.book__lede { color: var(--ink-soft); max-width: 30em; font-size: var(--fs-lede); line-height: 1.55; }

.bform { width: 100%; max-width: 640px; margin-top: 18px; }
.bform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }
.field { display: grid; gap: 4px; padding: 14px 0 0; border-bottom: 1px solid var(--line-strong); transition: border-color .4s var(--ease); }
.field:focus-within { border-color: var(--pine); }
.field--wide { grid-column: 1 / -1; }
.field__label { font: 600 .64rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 4px 0 8px; border: 0; background: transparent; color: var(--ink);
  font: 400 1.3rem/1.2 var(--serif); color-scheme: light; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus { outline: none; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.field input[type="date"] { min-width: 0; }
.select { position: relative; display: block; }
.select::after { content: ''; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; opacity: .8; }
.select select { padding-right: 28px; cursor: pointer; }
.select option { color: var(--ink); background: var(--ivory); }
.stepper { display: flex; align-items: center; justify-content: space-between; }
.stepper button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 1.2rem; line-height: 1; transition: background-color .3s, color .3s, border-color .3s; }
.stepper button:hover { background: var(--pine); border-color: var(--pine); color: var(--ivory); }
.stepper input { text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bform__submit { margin-top: 32px; min-height: 58px; }
/* a deep rust, readable on the light ground (about 6:1) */
.bform__error { min-height: 1.6em; margin-top: 12px; color: #9A3B22; font-size: .92rem; }

.bresult { width: 100%; max-width: 640px; margin-top: 18px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-strong); background: rgb(247 245 239 / .6); display: grid; gap: 14px; justify-items: start; }
.bresult:focus { outline: none; }
.bresult__summary { font: 300 clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem)/1.2 var(--serif); }
.bresult__note { color: var(--ink-soft); }
.bresult__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.bresult__status { color: var(--pine); }
.bform__submit[disabled] { opacity: .7; cursor: progress; }

/* ======================= FOOTER ======================= */
/* A deep pine band, no taller than the light footer it replaced: the logo and one line
   about the estate, the section links, the hotline set large with the booking button,
   and the address. Each fact appears once; only the column labels are in capitals. */
.foot {
  --f-line: rgb(247 245 239 / .13);
  --f-soft: rgb(247 245 239 / .74);
  --f-mute: rgb(247 245 239 / .6);
  color: var(--ivory);
  background:
    radial-gradient(55% 95% at 86% 0%, rgb(211 182 144 / .1), transparent 72%),
    radial-gradient(45% 90% at 0% 100%, rgb(0 0 0 / .18), transparent 72%),
    var(--pine-deep);
}
.foot ::selection { background: var(--ivory); color: var(--pine-deep); }
.foot a:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 3px; border-radius: 2px; }
.foot .btn:focus-visible { border-radius: 999px; }

.foot__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 44px 32px; }
.foot__brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.foot__logo { height: 40px; }
.foot__line {
  max-width: 21em; color: var(--f-soft); text-wrap: balance;
  font: italic 300 clamp(1.24rem, 1.12rem + .36vw, 1.42rem)/1.32 var(--serif);
}

.foot__col { display: grid; align-content: start; justify-items: start; min-width: 0; }
.foot__col h3 { margin-bottom: 8px; font: 600 .64rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-light); }
.foot address { font-style: normal; color: var(--f-soft); font-size: .92rem; line-height: 1.6; text-wrap: balance; }

/* text links: soft ivory, an underline draws in from the left on hover */
.foot__nav a, .foot__phones a, .foot__wa, .foot__go, .foot__social a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--f-soft);
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + .78em) / 0 1px no-repeat;
  transition: color .3s, background-size .5s var(--ease);
}
.foot__nav a:hover, .foot__phones a:hover, .foot__wa:hover, .foot__go:hover, .foot__social a:hover { color: var(--ivory); background-size: 100% 1px; }
.foot__nav ul { display: flex; flex-wrap: wrap; column-gap: 26px; }
.foot__nav a { font-size: .95rem; }

/* the hotline, large; any other number shares the small line below it with WhatsApp */
.foot__reach { display: flex; flex-wrap: wrap; align-items: center; column-gap: 22px; }
.foot__phones { display: contents; }
.foot__phones a { font-size: .9rem; font-variant-numeric: tabular-nums; }
.foot__phones a:first-child {
  flex-basis: 100%; min-height: 0; margin-bottom: 2px; background: none; color: var(--ivory);
  font: 300 clamp(1.9rem, 1.45rem + 1vw, 2.3rem)/1.12 var(--serif); letter-spacing: .01em; white-space: nowrap;
}
.foot__phones a:first-child:hover { color: var(--brass-light); }
.foot__wa, .foot__go, .foot__social a { font: 600 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); }
.foot__wa .i-ext, .foot__go .i-ext, .foot__social .i-ext { width: 14px; height: 14px; color: var(--brass-light); }
.foot__wa:hover .i-ext, .foot__go:hover .i-ext, .foot__social a:hover .i-ext { transform: translate(2px, -2px); }
.foot__cta { width: 100%; margin-top: 16px; }
.foot__social div { display: flex; flex-wrap: wrap; column-gap: 22px; }

/* bottom bar: copyright and the time at the resort on the left, "Back to top" on the right */
.foot__legal {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy up" "time up";
  align-items: center; column-gap: 16px; row-gap: 2px;
  /* no room is kept for the phone contact bar: it slides away while the footer is on screen */
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--f-line);
  font-size: .76rem; color: var(--f-mute);
}
.foot__legal > p:first-child { grid-area: copy; }
.foot__time { grid-area: time; display: inline-flex; align-items: center; gap: 8px; }
.foot__time i { width: 6px; height: 6px; border-radius: 50%; background: var(--brass-light); animation: foot-pulse 2.8s var(--ease) infinite; }
.foot__time b { font-weight: 600; color: var(--ivory); font-variant-numeric: tabular-nums; }
@keyframes foot-pulse {
  0% { box-shadow: 0 0 0 0 rgb(211 182 144 / .5); }
  70%, 100% { box-shadow: 0 0 0 7px rgb(211 182 144 / 0); }
}
.foot__up { grid-area: up; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 600 .64rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); }
.foot__up-ico {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(247 245 239 / .3);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.foot__up-ico svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.foot__up:hover .foot__up-ico { background: var(--ivory); border-color: var(--ivory); color: var(--pine-deep); transform: translateY(-3px); }

/* ======================= PHONE CONTACT BAR ======================= */
/* Call now + WhatsApp, on phones and small tablets only (hidden from 900px up).
   It slides in once the hero has opened, and steps aside for the booking form,
   the footer (both have their own call and WhatsApp buttons) and the menu. */
.mbar {
  --off: translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgb(247 245 239 / .84);
  box-shadow: 0 0 0 1px rgb(41 45 40 / .08), inset 0 1px 0 rgb(255 255 255 / .7), 0 24px 48px -20px rgb(18 28 22 / .6);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transform: var(--off); transition: transform .8s var(--ease);
}
.mbar.is-on { transform: none; }
.menu-open .mbar { transform: var(--off); }
.mbar__btn {
  position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 16px 0 9px; border-radius: 999px;
  font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 -1px 0 rgb(0 0 0 / .12);
  transition: transform .35s var(--ease), filter .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.mbar__btn:active { transform: scale(.97); filter: brightness(.94); }
.mbar__btn--call { color: var(--ivory); background: linear-gradient(180deg, #36624C 0%, var(--pine) 55%, var(--pine-deep) 100%); }
/* Book now: the redesign's brass, with dark pine text (at least 5:1 contrast across the gradient) */
.mbar__btn--book { color: var(--pine-deep); background: linear-gradient(180deg, #E2CAA8 0%, var(--brass-light) 55%, #C3A277 100%); }
.mbar__btn--book .mbar__ico { background: rgb(30 58 44 / .1); box-shadow: inset 0 0 0 1px rgb(30 58 44 / .18); }
.mbar__label { overflow: hidden; text-overflow: ellipsis; }
.mbar__ico {
  position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2);
}
.mbar__ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* a soft light sweeps across both buttons as the bar arrives */
.mbar__btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / .26) 48%, rgb(255 255 255 / 0) 66%);
  transform: translateX(-110%);
}
.mbar.is-on .mbar__btn::before { transform: translateX(110%); transition: transform 1.3s var(--ease) .5s; }
.mbar.is-on .mbar__btn--book::before { transition-delay: .68s; }
/* and the phone icon rings a few times */
.mbar__btn--call .mbar__ico::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.mbar.is-on .mbar__btn--call .mbar__ico::after { animation: mbar-ring 2.6s var(--ease) 1.4s 3; }
@keyframes mbar-ring {
  0% { box-shadow: 0 0 0 0 rgb(247 245 239 / .5); }
  70%, 100% { box-shadow: 0 0 0 8px rgb(247 245 239 / 0); }
}
@media (max-width: 359px) {
  .mbar__btn { gap: 7px; padding-right: 12px; letter-spacing: .08em; }
  .mbar__ico { width: 30px; height: 30px; }
}
/* lift the hero's scroll cue and pause button clear of the bar */
@media (max-width: 899px) {
  .hero__foot { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* ======================= LIGHTBOX ======================= */
.lb, .film { position: fixed; inset: 0; z-index: 100; color: var(--ivory); }
.lb:focus, .film:focus { outline: none; }
.lb__bg, .film__bg { position: absolute; inset: 0; background: #1B201C; }
.film__close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); }

/* the photo viewer (rooms, highlights, nearby places): a light, frosted surface tinted by the photo on show
   (a blurred copy of it under an ivory veil), the photo itself raised on a soft shadow */
.lb { color: var(--ink); }
.lb__bg { overflow: hidden; background: var(--ivory); }
.lb__amb { position: absolute; inset: -14%; background: center / cover no-repeat; filter: blur(64px) saturate(1.35); opacity: 0; transition: opacity 1s var(--ease); }
.lb__amb.is-on { opacity: 1; }
.lb__bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 85% at 50% 42%, rgb(247 245 239 / .48) 0%, rgb(247 245 239 / .76) 62%, rgb(247 245 239 / .9) 100%);
}
.lb__stage { position: absolute; inset: 74px 14px 170px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.lb__img, .lb__video {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none;
  border-radius: 14px; box-shadow: 0 50px 90px -50px rgb(28 40 31 / .62), 0 18px 34px -24px rgb(28 40 31 / .38);
}
.lb__top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--pad); }
.lb__count { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; color: var(--ink-muted); }
.lb__count b { color: var(--ink); font-weight: 600; }
/* frosted pills for the controls, so they read on any tint */
.lb__close, .lb .round-btn { background: rgb(247 245 239 / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb__close {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.lb__close:hover, .lb .round-btn:hover { background: var(--pine); border-color: var(--pine); color: var(--ivory); }
/* the bottom row lets clicks through its empty middle (to the thumbnails on desktop) */
.lb__bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 16px var(--pad) calc(22px + env(safe-area-inset-bottom)); pointer-events: none; }
.lb__bottom > * { pointer-events: auto; }
.lb__cap { display: grid; gap: 6px; justify-items: start; max-width: 44em; }
.lb__meta { font: 600 .66rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }
.lb__meta:empty { display: none; }
.lb__title { font: 400 clamp(1.25rem, 1.05rem + .8vw, 1.9rem)/1.2 var(--serif); }
.lb__desc { color: var(--ink-soft); font-size: .9rem; max-width: 38em; }
.lb__desc:empty { display: none; }
.lb__nav { display: flex; gap: 8px; flex: none; }
.lb__fly { position: fixed; z-index: 101; object-fit: cover; pointer-events: none; border-radius: 14px; box-shadow: 0 50px 90px -50px rgb(28 40 31 / .62); }

/* room galleries: a strip of every photo of the room (above the caption on phones, in the bottom row on desktop) */
.lb--thumbs .lb__stage { bottom: 236px; }
.lb__thumbs { position: absolute; left: 0; right: 0; bottom: 168px; display: flex; justify-content: center; padding: 0 var(--pad); pointer-events: none; }
.lb__thumbs-track { display: flex; gap: 10px; max-width: 100%; padding: 5px; overflow-x: auto; scrollbar-width: none; pointer-events: auto; }
.lb__thumbs-track::-webkit-scrollbar { display: none; }
/* when the strip has more photos than room, its ends fade out */
.lb__thumbs-track.is-scroll { -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent); }
.lb__thumb {
  flex: none; width: 66px; height: 48px; border-radius: 7px; overflow: hidden; opacity: .6;
  box-shadow: 0 10px 18px -12px rgb(28 40 31 / .5); outline: 2px solid transparent; outline-offset: 3px;
  transition: opacity .4s var(--ease), outline-color .4s var(--ease), transform .4s var(--ease);
}
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumb:hover { opacity: .9; transform: translateY(-2px); }
.lb__thumb[aria-current="true"] { opacity: 1; outline-color: var(--pine); }

/* film: a blurred copy of the poster glows behind the player instead of a flat backdrop */
.film__bg { overflow: hidden; }
.film__bg::before { content: ''; position: absolute; inset: -12%; background: var(--film-bg, none) center / cover no-repeat; filter: blur(50px) saturate(1.2); opacity: .7; }
.film__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, rgb(27 32 28 / .22), rgb(27 32 28 / .88)); }
.film__stage { position: absolute; inset: 64px 0 24px; display: grid; place-items: center; pointer-events: none; }
/* sized to the film itself (16:9), so the native controls sit right under the picture */
.film__video { pointer-events: auto; width: min(100%, (100vh - 88px) * 16 / 9); aspect-ratio: 16 / 9; height: auto; background: #000; }
.film__top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px var(--pad); }
.film__title { font: 400 1.1rem/1.2 var(--serif); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.film__title span { margin-right: .8em; font: 600 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); }
.film__title em { display: none; font-style: normal; }

/* ======================= ANIMATION START STATES ======================= */
/* Only applied while html.anim is set (JS on, motion allowed). Removed if GSAP fails. */
.anim .hero__title .ln > span { transform: translateY(110%); }
.anim [data-hero-fade] { opacity: 0; }
.anim .hero__media { clip-path: inset(5% 4% 5% 4% round 14px); transform: scale(1.04); }
.anim .nav__inner { opacity: 0; }

/* single-column grids must be able to shrink below their content's min width (date inputs, figures) */
.intro__grid, .book__grid, .loc__top, .near__head,
.section-head, .exp__grid, .exp__head, .loc__head,
.book__panel, .near__also, .discover__chapters, .reviews__inner { grid-template-columns: minmax(0, 1fr); }
.book__panel > *, .bform, .bresult { min-width: 0; }

/* ======================= ≥ 600px ======================= */
@media (min-width: 600px) {
  .btn--nav { display: inline-flex; }
  .hero__meta { display: flex; }
  .vtoggle__label { display: inline; }
  .film__title em { display: inline; }
  .rcard { flex-basis: min(36vw, 300px); }
  .near__also ul { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  /* footer: the brand line across the top, then Explore, Reservations and Visit side by side */
  .foot__main { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 40px); }
  .foot__brand { grid-column: 1 / -1; }
  .foot__nav ul { display: grid; }
  .foot__nav a, .foot__phones a, .foot__wa, .foot__go, .foot__social a { min-height: 34px; }
  .foot__cta { width: auto; }
  .foot__legal { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "copy time up"; }
  .foot__up { justify-self: end; }
}

/* ======================= ≥ 900px (desktop composition) ======================= */
@media (min-width: 900px) {
  .near__btns { display: flex; }
  .near__auto { width: 52px; height: 52px; }
  .place { flex-basis: clamp(200px, 16.4vw, 250px); }

  .intro__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  /* bleed to the screen edge, however wide the page is */

  /* discover: copy on the left, film on the right (sticky while the chapters scroll past) */
  .discover__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .discover__info { grid-column: 1 / 7; }
  .discover__film { grid-column: 9 / 13; position: sticky; top: calc(var(--nav-h) + 40px); margin-top: clamp(80px, 9vw, 150px); }
  /* darkest behind the copy, opening up around the thumbnail so the footage shows */
  .discover__media::after {
    background:
      linear-gradient(90deg, rgb(18 28 22 / .88) 0%, rgb(18 28 22 / .8) 38%, rgb(18 28 22 / .5) 60%, rgb(18 28 22 / .28) 100%),
      linear-gradient(180deg, rgb(18 28 22 / .35) 0%, rgb(18 28 22 / 0) 22%, rgb(18 28 22 / 0) 78%, rgb(18 28 22 / .35) 100%);
  }
  .discover__vtoggle { bottom: 24px; }
  .discover.is-pinned .discover__inner { align-items: center; }
  .discover.is-pinned .discover__film { position: static; margin-top: 0; }
  .dfilm__play { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
  .dfilm__play svg { width: 24px; height: 24px; }
  .dfilm__label { left: 20px; right: 20px; bottom: 16px; }

  /* rooms: heading and note on one line, then five to a row (each "Show more" adds a row) */
  .stays__head { grid-template-columns: minmax(0, 1fr) auto; column-gap: 64px; }
  .stays__lede { margin-bottom: .35em; }
  .rgal {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px clamp(14px, 1.6vw, 24px);
    overflow: visible; scroll-snap-type: none; margin: clamp(26px, 3vw, 40px) 0 0; padding: 0 0 40px;
  }
  .rcard__more { right: 12px; bottom: 12px; height: 34px; }
  .stays__morebtn svg { transform: none; }
  .stays__morebtn:hover svg { transform: translateY(3px); }
  .stays__morebtn.is-less svg { transform: rotate(180deg); }
  .stays__morebtn.is-less:hover svg { transform: rotate(180deg) translateY(3px); }

  /* location */
  .loc__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .loc__head { grid-column: 1 / 7; }
  .loc__facts { grid-column: 8 / 13; }
  .near__head { grid-template-columns: 1fr minmax(320px, 40%); }
  .near__also { grid-template-columns: 180px 1fr; align-items: start; }
  .near__also ul { grid-template-columns: repeat(2, 1fr); }

  /* booking */
  .book__grid { grid-template-columns: 5fr 7fr; min-height: 100vh; }
  .book__media { aspect-ratio: auto; height: 100%; }
  .book__media .pic { position: absolute; inset: 0; }
  .book__panel { padding: clamp(80px, 9vw, 150px) clamp(40px, 7vw, 130px); }

  /* footer */
  /* one row of four: brand, Explore, Reservations, Visit (Reservations gets the most room
     until 1100px, so the hotline and the button stay on one line) */
  .foot__main {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .6fr) minmax(0, 1.2fr) minmax(0, .95fr);
    column-gap: clamp(28px, 3.6vw, 76px); padding-block: clamp(48px, 4.4vw, 64px) clamp(36px, 3.4vw, 50px);
  }
  .foot__brand { grid-column: auto; gap: 16px; }
  .foot__logo { height: clamp(40px, 3.2vw, 46px); }
  .foot__col h3 { margin-bottom: 10px; }
  .foot__nav a, .foot__phones a, .foot__wa, .foot__go, .foot__social a { min-height: 28px; }
  .foot__cta { min-height: 48px; }
  .foot__legal { padding-block: 14px; }
  .foot__up { min-height: 36px; }

  .mbar { display: none; }

  /* desktop: a bigger photo; the thumbnails join the bottom row, between the caption and the arrows */
  .lb__stage { inset: 88px clamp(80px, 8vw, 140px) 132px; }
  .lb--thumbs .lb__stage { bottom: 132px; }
  .lb__thumbs { bottom: calc(17px + env(safe-area-inset-bottom)); }
  .lb--thumbs .lb__thumbs-track { max-width: 46vw; }
  .lb--thumbs .lb__cap { max-width: 22vw; }
  .lb__thumb { width: 64px; height: 46px; }
  .film__stage { inset: 84px var(--pad) 40px; }
  .film__video { width: min(100%, (100vh - 124px) * 16 / 9); }
  .film__title { font-size: 1.35rem; }
}

@media (min-width: 1100px) {
  .nav__links { display: block; }
  .nav__toggle { display: none; }
  .menu { display: none; }

  /* experiences: the intro in a narrow column that stays in view, beside a 3 × 2 grid of cards
     (narrower screens keep the swipeable rail, where the cards stay a comfortable size) */
  .exp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); column-gap: clamp(40px, 4.5vw, 80px); align-items: start; }
  .exp__head { position: sticky; top: calc(var(--nav-h) + 28px); }
  .xp-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 44px) clamp(18px, 1.8vw, 28px);
    margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .xp__body { padding-right: 4%; }
  .xp-progress { display: none; }
  .xp--menu { grid-column: span 2; }
  .xp__menulist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }

  .foot__main { grid-template-columns: minmax(0, 1.45fr) minmax(0, .7fr) minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(28px, 4.2vw, 76px); }
}

@media (min-width: 1280px) {
  .near__also ul { grid-template-columns: repeat(4, 1fr); }
}

/* short landscape phones: keep the hero usable */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 480px; }
  .hero__lede { display: none; }
  .hero__inner { bottom: 90px; }
  /* the contact bar waits until the hero has scrolled away here, so the cue goes back down */
  .hero__foot { bottom: calc(26px + env(safe-area-inset-bottom)); }
}

/* ======================= PLAIN PAGES (404, back soon: served by index.php) ======================= */
.plain-page { min-height: 100vh; display: grid; place-items: center; background: var(--ivory); }
.plain { width: min(100% - 2 * var(--pad), 560px); padding-block: 64px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.plain__brand { color: var(--pine); margin-bottom: 12px; }
.plain__brand .logo { height: 46px; }
.plain .display { font-size: var(--fs-d2); margin: 0; }
.plain p { color: var(--ink-soft); font-size: var(--fs-lede); line-height: 1.55; }

/* ======================= REDUCED MOTION ======================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- "Check your booking" dialog (js/lookup.js) ---------- */
.lookup { border: 0; padding: 0; border-radius: 20px; width: min(440px, calc(100vw - 32px)); background: var(--ivory); color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
.lookup::backdrop { background: rgb(15 25 18 / .6); backdrop-filter: blur(3px); }
.lookup__form { position: relative; display: grid; gap: 14px; padding: 32px 28px 28px; }
.lookup__kicker { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.lookup h2 { margin: -6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.lookup__lede { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.lookup label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); }
.lookup input:not(.lookup__hp) { font: inherit; font-size: 1rem; font-weight: 500; letter-spacing: normal; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); }
.lookup input:focus-visible { outline: 2px solid var(--pine); outline-offset: 1px; }
.lookup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lookup__msg { margin: 0; min-height: 1.2em; color: #9b2c1f; font-size: .9rem; }
.lookup__go { justify-self: stretch; justify-content: center; }
.lookup__go[disabled] { opacity: .6; cursor: wait; }
.lookup__x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.lookup__x:hover { background: rgb(41 45 40 / .08); }
.lookup__msg--info { color: var(--ink-soft); font-weight: 600; }
.lookup__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 40vh; overflow: auto; }
.lookup__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.lookup__list a:hover, .lookup__list a:focus-visible { border-color: var(--pine); }
.lookup__list b { font-weight: 700; letter-spacing: .04em; }
.lookup__list span { grid-column: 1; font-size: .85rem; color: var(--ink-soft); }
.lookup__list i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
