/* =========================================================
   Deja View Mount Martha
   Warm cream, near-black, softly rounded photography.
   Instrument Serif for headlines, Familjen Grotesk for text.
   ========================================================= */

:root {
  --cream: #EDE6DA;
  --paper: #F5F1EA;
  --white: #FBFAF7;
  --ink: #161514;
  --ink-2: #3D3935;
  --muted: #7C756D;
  --panel: #23201D;
  --rule: rgba(22, 21, 20, .14);
  --rule-lt: rgba(255, 255, 255, .2);
  --night: #0D0F10;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Familjen Grotesk", "Helvetica Neue", system-ui, sans-serif;

  --ease: cubic-bezier(.22, .61, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --gutter: clamp(18px, 3.4vw, 56px);
  --max: 1440px;
  --section: clamp(110px, 14vw, 210px);
  --gap: clamp(14px, 1.8vw, 28px);
  --r: 14px;
  --r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0; background: var(--cream); color: var(--ink-2);
  font-family: var(--sans); font-weight: 400; font-size: clamp(15.5px, 1.02vw, 17px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color 1s var(--ease), color 1s var(--ease);
}
body.is-night { background: var(--night); color: #BDB7AE; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.ph { overflow: hidden; border-radius: var(--r); position: relative; background: rgba(22,21,20,.06); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- type ---------- */
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.6rem; }
.eyebrow--light { color: rgba(255,255,255,.72); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7.6vw, 7.8rem); line-height: .94; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.display--light { color: #F7F3EC; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: .98; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .5em; }
.h2--light { color: #F7F3EC; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.8rem); line-height: 1.02; color: var(--ink); margin: 0 0 .55em; }
body.is-night .display, body.is-night .h2 { color: #F7F3EC; }
.tags { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 1.8em; }
.fine { font-size: .84rem; color: var(--muted); }
.fine a { color: var(--ink); }

.arrow-link {
  position: relative; display: inline-flex; gap: 10px; align-items: center; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 6px;
}
.arrow-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .6s var(--ease); }
.arrow-link:hover::after { transform: scaleX(0); transform-origin: right; }
.arrow-link span { transition: transform .6s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }

.center-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(64px, 8vw, 120px); }
.center-head__sub { max-width: 52ch; margin: 2rem auto 0; font-size: 1.05rem; color: var(--ink-2); }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 76px; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center; color: var(--ink);
  transition: transform .7s var(--ease), color .5s var(--ease), background-color .5s var(--ease);
}
.hdr.is-solid { background: rgba(237,230,218,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hdr.is-light { color: #F7F3EC; }
.hdr.is-light.is-solid { background: rgba(13,15,16,.45); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__logo { position: relative; display: block; width: clamp(100px, 8.4vw, 128px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hdr__logo img { width: 100%; transition: opacity .5s var(--ease); }
.hdr__logo-light { position: absolute; inset: 0; opacity: 0; }
.hdr.is-light .hdr__logo-light, .menu-open .hdr__logo-light { opacity: 1; }
.hdr.is-light .hdr__logo-dark, .menu-open .hdr__logo-dark { opacity: 0; }
.hdr.is-top .hdr__logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.hdr__right { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hdr__link { text-decoration: none; }
.hdr__menu { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: 12px; }
.hdr__dots { width: 10px; height: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; transition: transform .6s var(--ease); }
.hdr__dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.hdr__menu:hover .hdr__dots, .menu-open .hdr__dots { transform: rotate(45deg); }
.menu-open .hdr { color: #F7F3EC; background: transparent; backdrop-filter: none; }

/* =========================================================
   MENU
   ========================================================= */
.menu { position: fixed; inset: 0; z-index: 35; padding: 10px; visibility: hidden; transition: visibility 0s linear .9s; }
.menu-open .menu { visibility: visible; transition: none; }
.menu__panel {
  height: 100%; border-radius: var(--r-lg); background: var(--panel); color: #F7F3EC; padding: 110px clamp(24px, 5vw, 80px) 40px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; overflow-y: auto;
  clip-path: inset(0 0 100% 0 round var(--r-lg)); transition: clip-path .9s var(--ease-io);
}
.menu-open .menu__panel { clip-path: inset(0 0 0% 0 round var(--r-lg)); }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px; text-decoration: none; padding: 2px 0;
  font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08;
  transform: translateY(105%); transition: transform .9s var(--ease), opacity .4s;
}
.menu__list a span { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; opacity: .5; width: 22px; }
.menu__list:hover a { opacity: .45; }
.menu__list a:hover { opacity: 1; }
.menu-open .menu__list a { transform: none; transition-delay: calc(var(--i, 0) * 35ms + 250ms); }
.menu__side { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; font-size: 14px; }
.menu__side img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease) .4s, transform .9s var(--ease) .4s; }
.menu-open .menu__side img { opacity: 1; transform: none; }
.menu__side a { text-decoration: none; opacity: .8; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; color: #F7F3EC; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13,15,16,.55) 0%, rgba(13,15,16,.18) 38%, rgba(13,15,16,.12) 60%, rgba(13,15,16,.6) 100%),
  linear-gradient(90deg, rgba(13,15,16,.35) 0%, rgba(13,15,16,0) 55%); }
.hero__top { position: absolute; top: clamp(96px, 13vh, 140px); left: var(--gutter); right: var(--gutter); }
.hero__sign { margin: 0 0 clamp(18px, 3vh, 30px) -1.2%; width: min(46vw, 640px); filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.hero__sign img { width: 100%; }
.hero__links { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.hero__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(90px, 15vh, 150px);
  display: flex; justify-content: space-between; gap: 16px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.hero__caption { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.8); }

/* =========================================================
   STORY (word fill)
   ========================================================= */
.story { padding: var(--section) 0; }
.story__grid { display: grid; grid-template-columns: 1fr 5fr; gap: var(--gap); }
.story__grid > .eyebrow { padding-top: 1.2em; }
.story__text { font-family: var(--sans); font-weight: 500; font-size: clamp(1.9rem, 3.7vw, 3.75rem); line-height: 1.08; letter-spacing: -.025em; color: var(--ink); margin: 0 0 clamp(48px, 6vw, 90px); max-width: 22ch; max-width: none; }
.story__thumb { display: inline-block; width: 1.75em; height: .86em; border-radius: 10px; overflow: hidden; vertical-align: -0.06em; margin-right: .22em; }
.story__thumb img { width: 100%; height: 100%; object-fit: cover; }
.story__text .w { transition: none; }
.js-motion .story__text .w { opacity: .14; }
.story__foot { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap) clamp(32px, 6vw, 100px); padding-top: 28px; border-top: 1px solid var(--rule); }
.story__foot > p { max-width: 40ch; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.facts dt { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1; color: var(--ink); }

/* =========================================================
   GATHER (collage converges, then expands)
   ========================================================= */
.gather { position: relative; height: 340vh; }
.gather__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.gather__title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; text-align: center; z-index: 1; width: 100%;
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: 1; color: var(--ink); }
.gcard { position: absolute; left: 50%; top: 50%; width: clamp(180px, 22vw, 360px); aspect-ratio: 4 / 3; margin: 0; border-radius: var(--r); overflow: hidden; z-index: 2; box-shadow: 0 30px 60px -30px rgba(22,21,20,.35); }
.gcard img { width: 100%; height: 100%; object-fit: cover; }
.gcard--main { z-index: 3; box-shadow: none; }
html:not(.js-motion) .gcard { transform: translate(-50%, -50%); }

/* =========================================================
   01 ARRIVAL
   ========================================================= */
.arrival__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.arrival__text { grid-column: 1 / 6; padding-top: 6vh; }
.arrival__text > p:not(.eyebrow):not(.tags) { max-width: 44ch; }
.arrival__hall { grid-column: 7 / 10; aspect-ratio: 3 / 4; }
.arrival__stair { grid-column: 10 / 13; aspect-ratio: 3 / 4; margin-top: 22vh; }

/* =========================================================
   02 THE VIEW
   ========================================================= */
.reveal { position: relative; height: 260vh; background: var(--night); }
.reveal__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.reveal__window { position: absolute; inset: 0; clip-path: inset(25% 36% 25% 36% round 20px); will-change: clip-path; }
.reveal__window img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.reveal__veil { position: absolute; inset: 0; opacity: 0; background:
  linear-gradient(90deg, rgba(13,15,16,.8) 0%, rgba(13,15,16,.55) 50%, rgba(13,15,16,.1) 88%),
  linear-gradient(0deg, rgba(13,15,16,.55) 0%, rgba(13,15,16,0) 55%); }
.reveal__pre { position: absolute; left: 0; right: 0; bottom: 9vh; margin: 0; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.reveal__pre .eyebrow { margin: 0; }
.reveal__pre em { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.reveal__post { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 10vh, 110px); max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 72px); align-items: end; color: rgba(255,255,255,.85); opacity: 0; }
.reveal__deg { font-family: var(--serif); font-size: clamp(6rem, 16vw, 16rem); line-height: .78; margin: 0; color: #F7F3EC; letter-spacing: -.04em; }
.reveal__post p:last-child { max-width: 46ch; margin: 0; }

/* =========================================================
   03 KITCHEN
   ========================================================= */
.kitchen__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.kitchen__main { grid-column: 1 / 9; aspect-ratio: 3 / 2; }
.kitchen__side { grid-column: 9 / 13; padding-left: clamp(0px, 1.5vw, 24px); }
.kitchen__thumb { width: 52%; aspect-ratio: 3 / 4; margin-bottom: 32px; }

/* =========================================================
   04 BALCONY stacked cards
   ========================================================= */
.stack { display: grid; gap: 14vh; }
.scard {
  position: sticky; top: calc(92px + var(--i, 0) * 18px); height: min(76vh, 700px); min-height: 460px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; transform-origin: 50% 0;
}
.scard__text { border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; }
.scard--dark .scard__text { background: var(--panel); color: rgba(255,255,255,.75); }
.scard--light .scard__text { background: var(--white); }
.scard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1; margin: 0; max-width: 11ch; color: var(--ink); }
.scard--dark h3 { color: #F7F3EC; }
.scard__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.scard__foot p { margin: 0; max-width: 32ch; font-size: .92rem; }
.pager { display: flex; gap: 6px; flex: none; }
.pager i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1px solid currentColor; opacity: .35; }
.pager i.is-on { opacity: 1; }
.scard__img { border-radius: var(--r-lg); overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   05 POOL
   ========================================================= */
.pool { background: var(--paper); }
.pool__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: safe center; padding: 96px 0 40px; overflow: hidden; }
.pool__head { display: grid; grid-template-columns: 1fr auto; gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 4vh, 48px); }
.pool__head .h2 { margin: 0; }
.pool__lede { max-width: 36ch; margin: 0; }
.pool__lede span { display: block; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.pool__track { display: flex; align-items: flex-start; gap: var(--gap); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.pool__item { flex: none; }
.pool__item img { height: clamp(240px, calc(100vh - 400px), 560px); width: auto; object-fit: cover; border-radius: var(--r); }
.pool__item--l img { aspect-ratio: 3 / 2; }
.pool__item--p img { aspect-ratio: 3 / 4; }
.pool__item--s img { aspect-ratio: 1; }
.pool__item figcaption { margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pool__item figcaption span { color: var(--ink); margin-right: 12px; }
.pool__quote { flex: none; width: min(440px, 80vw); align-self: center; margin: 0 8vw 0 2vw; }
.pool__quote p { font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; color: var(--ink); margin: 0 0 16px; }
.pool__quote cite { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   06 ROOM GALLERY
   ========================================================= */
.rooms-g { position: relative; height: 320vh; }
.rooms-g__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; padding: 96px var(--gutter) 32px;
  display: grid; grid-template-columns: 1fr minmax(0, 44vw) 1fr; grid-template-rows: minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: stretch;
}
.rooms-g__media { grid-column: 2; position: relative; border-radius: var(--r-lg); overflow: hidden; background: rgba(22,21,20,.08); }
.rooms-g__media figure { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io); }
.rooms-g__media figure.is-on { clip-path: inset(0 0 0 0); }
.rooms-g__media figure.was-on { clip-path: inset(0 0 0 0); z-index: -1; }
.rooms-g__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.8s var(--ease); }
.rooms-g__media figure.is-on img { transform: scale(1); }
.rooms-g__copy { grid-column: 3; position: relative; display: flex; flex-direction: column; justify-content: center; }
.rooms-g__copy article { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-40%); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s linear .7s; }
.rooms-g__copy article.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .9s var(--ease) .25s, transform 1s var(--ease) .25s; }
.rooms-g__copy .h2 { font-size: clamp(2.2rem, 3.6vw, 3.8rem); }
.rooms-g__copy p:not(.eyebrow):not(.tags) { max-width: 34ch; }
.rooms-g__next { position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; }
.rooms-g__next img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.rooms-g__count { grid-column: 1; align-self: end; margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rooms-g__count span { margin-right: 10px; }
.rooms-g__count b { color: var(--ink); font-weight: 600; }

/* =========================================================
   07 AFTER DARK
   ========================================================= */
.night__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); row-gap: clamp(32px, 5vw, 72px); }
.night__text { grid-column: 1 / 8; }
.night__text > p:not(.eyebrow) { max-width: 46ch; margin-top: 2rem; }
.night__glow { grid-column: 9 / 13; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.night__pool { grid-column: 1 / 5; aspect-ratio: 4 / 3; }
.night__deck { grid-column: 5 / 9; aspect-ratio: 4 / 3; margin-top: 8vh; }

/* =========================================================
   08 BEDROOMS
   ========================================================= */
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 90px); align-items: end; }
.feature__img { aspect-ratio: 3 / 2; }
.feature__text > p:not(.eyebrow):not(.tags) { max-width: 42ch; }
.config { margin-top: clamp(80px, 10vw, 150px); background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 52px); }
.config__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-bottom: 24px; }
.config__head .h3 { margin: 0; }
.switch { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--cream); }
.switch button { padding: 9px 18px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: background-color .5s var(--ease), color .5s var(--ease); }
.switch button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.rooms { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.rooms th, .rooms td { text-align: left; padding: 15px 16px 15px 0; border-top: 1px solid var(--rule); font-weight: 400; vertical-align: baseline; }
.rooms thead th { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.rooms tbody th { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-weight: 400; }
.rooms .bed { color: var(--ink); font-weight: 600; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.rooms .bed.is-flip { opacity: 0; transform: translateY(-6px); }
.rooms td:last-child { color: var(--muted); font-size: .9rem; }
.config .fine { margin: 0; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: var(--gap); }
.strip figure { aspect-ratio: 4 / 5; }

/* =========================================================
   09 OCCASIONS
   ========================================================= */
.occ { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.occ article:nth-child(2) { margin-top: 8vh; }
.occ figure { aspect-ratio: 4 / 5; }
.occ figure img { transition: transform 1.4s var(--ease); }
.occ article:hover figure img { transform: scale(1.04); }
.occ h3 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--ink); margin: 22px 0 10px; }
.occ p { font-size: .95rem; max-width: 36ch; }

/* =========================================================
   MARQUEE
   ========================================================= */
.mq { position: relative; height: 130vh; overflow: hidden; display: grid; align-items: center; }
.mq__line { display: flex; gap: .4em; white-space: nowrap; font-family: var(--sans); font-weight: 500; font-size: clamp(5rem, 15vw, 15rem); line-height: 1; letter-spacing: -.05em; color: var(--ink); will-change: transform; }
.mq__line span::after { content: "/"; margin-left: .4em; font-weight: 400; opacity: .3; }
.mq__img { position: absolute; left: 50%; top: 50%; width: clamp(220px, 24vw, 380px); aspect-ratio: 4 / 5; margin: 0; border-radius: var(--r); overflow: hidden; transform: translate(-50%, -50%); }
.mq__img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   GUEST WORDS
   ========================================================= */
.words { text-align: center; padding-top: 0; }
.quotes { display: grid; max-width: 1000px; margin: 0 auto; }
.quotes blockquote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s linear .9s; }
.quotes blockquote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 1.1s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.quotes p { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 4.2rem); line-height: 1.02; color: var(--ink); margin: 0 auto 28px; max-width: 20ch; text-wrap: balance; }
.quotes p::before { content: "\201C"; } .quotes p::after { content: "\201D"; }
.quotes cite { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quotes__nav { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 44px; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.quotes__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink); transition: background-color .4s, color .4s; }
.quotes__nav button:hover { background: var(--ink); color: var(--paper); }

/* =========================================================
   LOCATION
   ========================================================= */
.place { padding-top: 0; }
.place__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 7vw, 130px); align-items: center; }
.place__img { aspect-ratio: 4 / 5; }
.near { margin: 2.2rem 0; }
.near div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--rule); }
.near div:last-child { border-bottom: 1px solid var(--rule); }
.near dd { margin: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); white-space: nowrap; }

/* =========================================================
   10 RATES
   ========================================================= */
.stay { background: var(--paper); }
.stay__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 7vw, 130px); align-items: start; }
.stay__grid > div:first-child > p:not(.eyebrow) { max-width: 36ch; }
.rates { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.rates th, .rates td { text-align: left; padding: 20px 16px 20px 0; border-top: 1px solid var(--rule); vertical-align: baseline; font-weight: 400; }
.rates tr:last-child > * { border-bottom: 1px solid var(--rule); }
.rates th { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); width: 22%; }
.rates td:nth-child(2) { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.3rem); color: var(--ink); white-space: nowrap; }
.rates small { font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.rates td:last-child { font-size: .9rem; color: var(--muted); text-align: right; padding-right: 0; }
.faq { margin-top: clamp(48px, 6vw, 88px); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.7rem); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.3rem; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { max-width: 62ch; padding-bottom: 22px; margin: 0; }

/* =========================================================
   ENQUIRE
   ========================================================= */
.finale { position: relative; color: rgba(255,255,255,.84); overflow: hidden; background: var(--night); padding: calc(var(--section) * 1.2) 0 var(--section); margin: 0 10px; border-radius: var(--r-lg); }
.finale__bg { position: absolute; inset: 0; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); }
.finale__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,15,16,.25) 0%, rgba(13,15,16,.65) 45%, rgba(13,15,16,.92) 100%); }
.finale__grid { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 500px); gap: clamp(40px, 8vw, 140px); align-items: end; padding-top: 14vh; }
.finale__title { margin-bottom: .3em; }
.finale__grid > div > p:not(.eyebrow) { max-width: 38ch; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
.field { grid-column: 1 / -1; position: relative; padding-top: 22px; margin-bottom: 16px; }
.field--half { grid-column: span 1; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #F7F3EC; background: transparent; border: 0; border-bottom: 1px solid var(--rule-lt);
  padding: 8px 0 10px; border-radius: 0; transition: border-color .5s var(--ease); color-scheme: dark;
}
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #F7F3EC; }
.field label { position: absolute; left: 0; top: 30px; font-size: .95rem; color: rgba(255,255,255,.6); pointer-events: none; transform-origin: left top; transition: transform .5s var(--ease), color .5s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.is-fixed {
  transform: translateY(-26px) scale(.74); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.field.is-invalid input { border-color: #E9A08A; }
.send { grid-column: 1 / -1; justify-self: start; margin-top: 12px; padding: 16px 30px; border-radius: 99px; background: #F7F3EC; color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: 12px; transition: transform .5s var(--ease), background-color .5s; }
.send:hover { background: #fff; }
.send:active { transform: scale(.98); }
.enquiry__status { grid-column: 1 / -1; margin: 14px 0 0; font-size: .86rem; color: rgba(255,255,255,.8); min-height: 1.4em; }

/* =========================================================
   FOOTER CARD
   ========================================================= */
.foot { padding: 10px; }
.foot__card { border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); }
.foot__top, .foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.foot__bot a { text-decoration: none; color: var(--ink); }
.foot__mid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: clamp(48px, 7vw, 110px) 0; margin: 24px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.foot__logo { width: min(520px, 70vw); }
.foot__cols { display: flex; gap: clamp(32px, 5vw, 80px); }
.foot__cols div { display: flex; flex-direction: column; gap: 6px; }
.foot__cols .eyebrow { margin-bottom: 8px; }
.foot__cols a { text-decoration: none; color: var(--ink); }
.foot__cols a:hover { text-decoration: underline; }

/* floor plan */
.plan { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 94vh; }
.plan::backdrop { background: rgba(13,15,16,.86); }
.plan img { max-height: 88vh; width: auto; background: #fff; border-radius: var(--r); }
.plan__close { display: block; margin: 0 0 12px auto; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* =========================================================
   MOTION STATES & FALLBACKS
   ========================================================= */
.js-motion [data-reveal] { opacity: 0; transform: translateY(26px); }
.js-motion [data-hero-fade] { opacity: 0; }
.js-motion [data-sign] { clip-path: inset(0 100% 0 0); }

html:not(.js-motion) .reveal { height: auto; }
html:not(.js-motion) .reveal__stage { position: relative; }
html:not(.js-motion) .reveal__window { clip-path: none; }
html:not(.js-motion) .reveal__window img, html:not(.js-motion) .finale__bg img { transform: none; }
html:not(.js-motion) .reveal__veil { opacity: 1; }
html:not(.js-motion) .reveal__pre { display: none; }
html:not(.js-motion) .reveal__post { opacity: 1; }
html:not(.js-motion) .pool__track { width: auto; overflow-x: auto; }
html:not(.js-motion) .gather { height: auto; }
html:not(.js-motion) .gather__stage { position: relative; height: auto; padding: 0 var(--gutter) var(--section); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
html:not(.js-motion) .gather__title { position: static; transform: none; grid-column: 1 / -1; margin-bottom: 40px; }
html:not(.js-motion) .gcard { position: static; transform: none; width: auto; }
html:not(.js-motion) .gcard--main { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
html:not(.js-motion) .rooms-g { height: auto; }
html:not(.js-motion) .stack .scard { position: relative; top: auto; }
html:not(.js-motion) .mq { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .menu__panel { grid-template-columns: 1fr; }
  .menu__side img { display: none; }
  .stay__grid, .place__grid { grid-template-columns: 1fr; }
  .rooms td:last-child, .rooms th:last-child { display: none; }
}

/* room gallery collapses to a simple list below 900px */
@media (max-width: 900px) {
  .rooms-g { height: auto; padding: var(--section) 0; }
  .rooms-g__stage { position: relative; height: auto; display: block; padding: 0 var(--gutter); }
  .rooms-g__media { display: none; }
  .rooms-g__copy article { position: static; transform: none !important; opacity: 1; visibility: visible; margin-bottom: 64px; }
  .rooms-g__copy article::before { content: ""; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); margin-bottom: 24px; background-size: cover; background-position: center; }
  .rooms-g__copy article:nth-of-type(1)::before { background-image: url("../assets/img/living-balcony-sm.webp"); }
  .rooms-g__copy article:nth-of-type(2)::before { background-image: url("../assets/img/rumpus-sm.webp"); }
  .rooms-g__copy article:nth-of-type(3)::before { background-image: url("../assets/img/fireplace-sm.webp"); }
  .rooms-g__next, .rooms-g__count { display: none; }
}

@media (max-width: 767px) {
  :root { --section: 100px; }
  .hdr { height: 64px; }
  .hdr__link { display: none; }
  .hdr__logo { width: 96px; }

  .hero__sign { width: 86vw; }
  .hero__meta { flex-wrap: wrap; justify-content: flex-start; gap: 8px 22px; bottom: 96px; font-size: 10.5px; }
  .hero__caption { font-size: 12px; }

  .story__grid { grid-template-columns: 1fr; }
  .story__text { font-size: 1.85rem; }
  .story__foot { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }

  .gather { height: 300vh; }
  .gcard { width: 46vw; }
  .gather__title { font-size: 2.4rem; }

  .arrival__grid, .kitchen__grid, .night__grid { grid-template-columns: 1fr; }
  .arrival__grid > *, .kitchen__grid > *, .night__grid > * { grid-column: 1 !important; grid-row: auto !important; margin-top: 0 !important; }
  .arrival__text { padding-top: 0; }
  .arrival__stair { width: 70%; justify-self: end; }
  .kitchen__side { padding: 0; }
  .kitchen__thumb { display: none; }

  .reveal__window { clip-path: inset(28% 14% 28% 14% round 16px); }
  .reveal__post { grid-template-columns: 1fr; gap: 10px; }

  .stack { gap: 6vh; }
  .scard { position: relative; top: auto; height: auto; min-height: 0; grid-template-columns: 1fr; }
  .scard__img { aspect-ratio: 4 / 3; order: -1; }
  .scard__text { gap: 40px; }
  .scard__foot { flex-direction: column; align-items: flex-start; }

  .pool__pin { min-height: 0; padding: var(--section) 0; }
  .pool__head { grid-template-columns: 1fr; }
  .pool__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .pool__track::-webkit-scrollbar { display: none; }
  .pool__item { scroll-snap-align: start; }
  .pool__item img { height: 50vh; max-height: 420px; }
  .pool__item--l img { aspect-ratio: 4 / 5; }

  .feature { grid-template-columns: 1fr; }
  .rooms th, .rooms td { padding-right: 10px; }
  .rooms thead th:nth-child(2), .rooms tbody td:nth-child(2) { display: none; }
  .strip { grid-template-columns: 1fr 1fr; }
  .occ { grid-template-columns: 1fr; row-gap: 56px; }
  .occ article { margin: 0 !important; }
  .mq { height: 90vh; }
  .rates td:last-child { display: none; }
  .finale { margin: 0 6px; }
  .finale__grid { grid-template-columns: 1fr; padding-top: 8vh; }
  .enquiry { grid-template-columns: 1fr; }
  .field--half { grid-column: 1; }
  .foot__mid { grid-template-columns: 1fr; }
  .foot__cols { flex-direction: column; gap: 24px; }
}

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