/* 25hours Dubai concept. Fonts: Clash Display (headings, uppercase) + Inter Tight. Tracking -.02em (approved), never positive.
   Designer rules: text line-height <= 110%, headings 90%, sharp corners everywhere.

   GRID SYSTEM (07.10.2026) -- every layout value below comes from these tokens
   - Columns: 4 (<768) / 8 (768-1023) / 12 (>=1024). Gutter --g 20px at every breakpoint.
   - Side margin --m: 20px (<1024) / 30px (>=1024), always >= --g. Page max width --max 1920px (content 1860).
   - Baseline unit --B 20px = body line box (16/18px x 1.1 = 17.6/19.8, rounded to 20).
   - Spacing scale = multiples of B: 20 40 60 80 100 120 160 200; B/2 = 10 only for tight UI (label -> value, title -> text in a card).
   - Semantic spacing: --sec section padding 100 (<768) / 120 (>=768); --head heading -> its lead 20;
     --block heading group -> content 40 (<768) / 80 (>=768); --block-l 160 (deliberate big pause);
     --item gap between repeated items 60 (<1024) / 100 (>=1024); rows: padding 20 top / 40 bottom; --tight 10.
   - Spans: n columns + (n-1) gutters. Inside a parent that is exactly the grid width use
     calc((100% - (N - 1) * var(--g)) / N * n + (n - 1) * var(--g)); full-bleed grids add an edge track
     calc(var(--m) - var(--g)) on each side so their 12 columns coincide with .container columns (see .format-slide__reveal).
   - Heading sizes: line box (90%) = multiple of B/2 at the desktop end, B/4 at the mobile end, clamps run 390 -> 1540px:
     h2 33.33 -> 100 (30 / 90), h3 33.33 -> 66.67 (30 / 60), h4 27.78 -> 50 (25 / 45), h5 27.78 / 38.89, h6 22.22 / 33.33, h7 22.22 (20).
   - Text measure in ch (body <= 66ch), text-wrap: balance on headings, pretty on paragraphs.
   Audit: node tools/gridaudit.js http://127.0.0.1:8765/ (column edges + spacing multiples), overlay: node tools/gridshots.js <url> <dir> 1440 1 */
:root {
  --B: 20px; --g: 20px; --m: 20px; --max: 1920px; --tight: 10px;
  --sec: 100px; --head: 20px; --block: 40px; --block-l: 160px; --item: 60px; --row-pt: 20px; --row-pb: 40px;
  --color-black: #243956;   /* navy: dark sections, text */
  --color-green: #DBDABE;   /* olive-milk */
  --color-accent: #A6B7C9;  /* dusty blue: CTA, preloader, footer ink */
  --color-brown: #C9B9A0;   /* sand */
  --color-earth: #50463C;   /* warm brown: hover on light */
  --color-ivory: #EFEDE3;   /* paper */
  --color-white: #EFEDE3;
  --font-base: "Inter Tight", system-ui, sans-serif;
  --font-accent: "Clash Display", "Inter Tight", sans-serif;
  --fvw: 100vw;
  --container-padding-x: var(--m); /* legacy alias */
  --dash: 1px dashed color-mix(in srgb, var(--color-black) 25%, transparent);
  --t: .3s;
  --t-long: .6s;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --screen-height: 100vh;
}
@supports (height: 100lvh) { :root { --screen-height: 100lvh; } }
@media (min-width: 768px) { :root { --sec: 120px; --block: 80px; } }
@media (min-width: 1024px) { :root { --m: 30px; --item: 100px; } }

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, textarea, select, button { font: inherit; letter-spacing: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a, button { white-space: nowrap; }
button, label, summary { cursor: pointer; }
a, button, label, input, select { transition-duration: var(--t); }

html { background: var(--color-ivory); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
html.is-lock { overflow: hidden; }
body {
  display: flex; flex-direction: column; min-height: var(--screen-height);
  font: 400 16px/110% var(--font-base); letter-spacing: -.02em;
  color: var(--color-black); background: var(--color-ivory);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* film grain */
body::before {
  content: ""; position: fixed; z-index: 2147483647; inset: -80px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 80px 80px; will-change: transform; animation: global-noise .5s steps(1, end) infinite;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
p { text-wrap: pretty; }
.nobr { white-space: nowrap; }
@media (max-width: 767.98px) { body::before { will-change: auto; animation: none; } }
@keyframes global-noise { 0%, to { transform: translateZ(0); } 20% { transform: translate3d(-9px, 6px, 0); } 40% { transform: translate3d(7px, -11px, 0); } 60% { transform: translate3d(12px, 8px, 0); } 80% { transform: translate3d(-6px, -7px, 0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.page__main { flex-grow: 1; }
:focus-visible { outline: 2px dashed currentColor; outline-offset: 4px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--color-black); color: var(--color-ivory); padding: 12px 16px; }
.skip:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(100%) !important; white-space: nowrap !important; }
@media (max-width: 767.98px) { .hidden-mobile { display: none !important; } }
@media (min-width: 768px) and (max-width: 1023.98px) { .hidden-tablet { display: none !important; } }
@media (min-width: 1024px) { .hidden-desktop { display: none !important; } }

/* ---------- type scale ---------- */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .h7, .txt-bold {
  font-family: var(--font-accent); font-weight: 600; letter-spacing: -.02em; text-transform: uppercase; color: inherit; text-wrap: balance;
}
h1, .h1 { font-size: clamp(6rem, 3.1597826087rem + .1165217391 * var(--fvw), 14.375rem); line-height: 90%; }
h2, .h2 { font-size: clamp(33.333px, 10.725px + .057971 * var(--fvw), 100px); line-height: 90%; }
h3, .h3 { font-size: clamp(33.333px, 22.029px + .028986 * var(--fvw), 66.667px); line-height: 90%; }
h4, .h4 { font-size: clamp(27.778px, 20.242px + .019324 * var(--fvw), 50px); line-height: 90%; }
h5, .h5 { font-size: 27.778px; line-height: 90%; font-variant-numeric: tabular-nums; }
h6, .h6 { font-size: 22.222px; line-height: 90%; }
.h7 { font-size: 22.222px; line-height: 90%; }
.txt-bold { font-size: 16.667px; line-height: 90%; }
@media (min-width: 1024px) { h5, .h5 { font-size: 38.889px; } h6, .h6 { font-size: 33.333px; } }
.body-txt { font-size: 16px; line-height: 110%; }
@media (min-width: 1024px) { .body-txt { font-size: 18px; } }
/* small caps styles: Inter Tight 500, uppercase, negative tracking only */
.txt-big, .txt-md, .descriptor, .txt-menu, .txt-btn { font-family: var(--font-base); font-weight: 500; letter-spacing: -.02em; text-transform: uppercase; }
.txt-big, .txt-md { text-wrap: balance; }
.txt-big { font-size: 24px; line-height: 100%; }
.txt-md { font-size: 20px; line-height: 100%; }
@media (min-width: 1024px) { .txt-md { font-size: 24px; } }
.descriptor { font-size: 15px; line-height: 110%; }
.txt-menu { font-size: 15px; line-height: 100%; }
.txt-btn { font-size: 15px; line-height: 110%; }
@media (min-width: 1024px) { .txt-btn { font-size: 18px; } }
.reveal-line-mask { overflow: visible clip !important; padding-block: .12em .2em; margin-block: -.12em -.2em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }

/* ---------- link, button, dial-button, form-button ---------- */
.link { position: relative; display: inline-flex; align-items: center; width: fit-content; transition-property: color, opacity; }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t) ease; }
@media (any-hover: hover) { .link:hover { color: var(--link-hover-color, var(--color-earth)); } }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link--underlined::after { transform: scaleX(1); transform-origin: left; }
.link--underlined:hover::after { transform: scaleX(0); transform-origin: right; }

.button { position: relative; display: inline-flex; align-items: center; gap: var(--tight); justify-self: start; width: fit-content; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.button__line { flex: none; width: 16px; height: 1px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease-out); }
@media (any-hover: hover) { .button:hover .button__line { transform: scaleX(2); } }
.button:focus-visible .button__line { transform: scaleX(2); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button--book { color: var(--color-accent); } /* text + line, hover keeps the colour and stretches the line */
.benefit-card__button.button--book { color: var(--color-black); } /* on the sand/ivory cards the CTA is navy */

/* book button: sharp box, fill wipes in from the left, dial hand turns once */
.dial-button { --db-bg: var(--color-black); --db-fg: var(--color-ivory); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-width: 230px; min-height: 52px; padding: 0 12px 0 16px; border: 1px solid var(--db-fg); background: var(--db-bg); color: var(--db-fg); overflow: hidden; transition: color .45s var(--ease-out); }
.dial-button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--db-fg); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.dial-button__label { padding-top: 2px; }
.dial-button .dial { flex: none; width: 30px; height: 30px; }
.dial__hand { transform-box: view-box; transform-origin: 50% 50%; transition: transform .9s var(--ease-out); }
@media (any-hover: hover) {
  .dial-button:hover { color: var(--db-bg); }
  .dial-button:hover::before { transform: scaleX(1); }
  .dial-button:hover .dial__hand { transform: rotate(360deg); }
}
.dial-button:focus-visible { color: var(--db-bg); }
.dial-button:focus-visible::before { transform: scaleX(1); }

.form-button { position: relative; display: flex; width: 100%; min-height: 60px; padding: 0 var(--B); border: 0; background: var(--color-black); color: var(--color-ivory); cursor: pointer; }
.form-button__label { position: absolute; left: var(--B); top: 50%; transform: translateY(-50%); transition: transform var(--t-long) var(--ease-out); }
.form-button__icon { position: absolute; right: var(--B); top: 50%; width: 9px; height: 15px; transform: translateY(-50%); transition: transform var(--t-long) var(--ease-out), opacity .16s ease; }
.form-button__icon--start { left: var(--B); right: auto; opacity: 0; transform: translate(-12px, -50%); }
.form-button:hover:not(:disabled) .form-button__label { transform: translate(var(--B), -50%); }
.form-button:hover:not(:disabled) .form-button__icon--start { opacity: 1; transform: translateY(-50%); transition-delay: .12s; }
.form-button:hover:not(:disabled) .form-button__icon--end { opacity: 0; transform: translate(12px, -50%); }
.form-button:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- preloader: centred % counts with real loading, then the screen splits (desktop only) ---------- */
.preloader { position: fixed; z-index: 2147483646; inset: 0; height: 100vh; height: 100lvh; color: var(--color-black); pointer-events: all; }
@media (max-width: 1023.98px) { .preloader { display: none; } }
.preloader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--color-accent); will-change: transform; }
.preloader__half--top { top: 0; }
.preloader__half--bottom { bottom: 0; }
.preloader__clock { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; translate: -50% -50%; }
.preloader__num { display: block; overflow: clip; padding-top: .06em; font: 600 96px/.9 var(--font-accent); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.preloader__num > span { display: flex; }
.preloader__num i { display: block; width: .6em; font-style: normal; text-align: center; } /* fixed digit slots: no jitter */
.preloader__skip { position: absolute; right: var(--m); bottom: var(--m); padding: var(--tight) 0; border: 0; background: none; opacity: .6; transition: opacity var(--t); }
.preloader__skip:hover { opacity: 1; }
.preloader.is-complete { visibility: hidden; pointer-events: none; }
@media (min-width: 1024px) { html:has(.preloader:not(.is-complete)) { overflow: hidden; background: var(--color-accent); } }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: opacity var(--t) ease, visibility var(--t), color var(--t); }
.header--light { color: var(--color-ivory); --link-hover-color: var(--color-accent); }
.header--dark { color: var(--color-black); }
.header--none { opacity: 0; visibility: hidden; pointer-events: none; }
.header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: var(--g); }
@media (min-width: 1024px) { .header__inner { position: relative; align-items: flex-start; min-height: 60px; padding-top: var(--B); } }
.header__desktop-nav, .header__desktop-actions { display: none; }
@media (min-width: 1024px) {
  .header__desktop-nav { display: block; }
  .header__desktop-list { display: flex; align-items: center; gap: 40px; }
  .header__desktop-actions { display: flex; align-items: flex-start; gap: 40px; margin-left: auto; }
}
.header--light .dial-button { --db-bg: var(--color-ivory); --db-fg: var(--color-black); }
.header--dark .dial-button { --db-bg: var(--color-black); --db-fg: var(--color-ivory); }
.header--dark .main-menu:not(.is-open) .main-menu__toggle { background: var(--color-black); color: var(--color-ivory); }
.header--dark .main-menu:not(.is-open) .main-menu__icon { border-left-color: color-mix(in srgb, var(--color-ivory) 30%, transparent); }

/* mobile menu */
.main-menu { position: relative; z-index: 2; margin-left: auto; }
@media (min-width: 1024px) { .main-menu { display: none; } }
.main-menu__toggle { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 80px; align-items: center; width: 160px; height: 40px; padding: 0; border: 0; background: var(--color-ivory); color: var(--color-black); transition: background-color var(--t), color var(--t); }
@media (max-width: 767.98px) { .main-menu__toggle { grid-template-columns: minmax(0, 1fr) 68px; } }
.main-menu__label { padding-inline: var(--B); text-align: left; }
.main-menu__icon { position: relative; display: grid; place-items: center; align-self: stretch; border-left: 1px dashed color-mix(in srgb, var(--color-black) 30%, transparent); }
.main-menu__dots { display: grid; grid-template-columns: repeat(4, 4px); column-gap: 2px; row-gap: 3px; transition: opacity .2s ease, transform .35s var(--ease-out); }
.main-menu__dot { width: 4px; height: 4px; background: currentColor; }
.main-menu__dots--open { position: absolute; grid-template-columns: repeat(3, 4px); grid-template-rows: repeat(3, 4px); gap: 2px; opacity: 0; transform: scale(.65) rotate(-45deg); }
.main-menu__dots--open .main-menu__dot:nth-child(1) { grid-area: 1/1; } .main-menu__dots--open .main-menu__dot:nth-child(2) { grid-area: 1/3; } .main-menu__dots--open .main-menu__dot:nth-child(3) { grid-area: 2/2; } .main-menu__dots--open .main-menu__dot:nth-child(4) { grid-area: 3/1; } .main-menu__dots--open .main-menu__dot:nth-child(5) { grid-area: 3/3; }
.main-menu.is-open .main-menu__dots--closed { opacity: 0; transform: scale(.65) rotate(45deg); }
.main-menu.is-open .main-menu__dots--open { opacity: 1; transform: none; }
.main-menu__panel { position: fixed; z-index: 1; inset: 0 0 auto; height: var(--screen-height); display: none; flex-direction: column; padding: 140px var(--m) var(--B); background: var(--color-ivory); color: var(--color-black); }
.main-menu__item { overflow: hidden; border-bottom: var(--dash); }
.main-menu__link { display: block; font-size: 20px; padding-block: var(--B) var(--tight); transition: none; }
.main-menu__footer { display: flex; align-items: center; margin-top: auto; padding-top: var(--B); border-top: var(--dash); }

/* ---------- hero + photo transition ---------- */
.hero-transition { position: relative; isolation: isolate; }
.hero-transition__model-layer { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.hero-transition__model-sticky, .cup-section__sticky { position: sticky; top: 0; display: grid; place-items: center; height: 100svh; overflow: hidden; }
.ring-canvas { display: block; width: 70vmin; height: 70vmin; will-change: transform; }
.hero { position: relative; overflow: hidden; min-height: var(--screen-height); background: var(--color-black); }
/* hero: word on top, stack left, photo bottom-right, stats row bottom-left */
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; row-gap: var(--B); min-height: var(--screen-height); padding-block: 80px var(--m); color: var(--color-green); } /* designer: hero copy in the second screen beige (#DBDABE) */
.hero__brand { pointer-events: none; }
.hero__bottom { display: flex; flex-direction: column; row-gap: var(--B); flex: 1; }
.hero__description { margin-block: var(--head); max-width: 32ch; }
/* mobile: photo = all 4 columns, centred on the grid; tablet: 7 of 8 columns, right-aligned */
.hero-slot { align-self: center; width: 100%; aspect-ratio: 4 / 3; margin-top: auto; }
@media (min-width: 768px) { .hero-slot { align-self: flex-end; width: calc((100% - 7 * var(--g)) / 8 * 7 + 6 * var(--g)); } }
.hero__stats { display: flex; }
.hero__stats > li { display: grid; align-content: start; row-gap: var(--tight); padding-inline: var(--tight); font-variant-numeric: tabular-nums; border-left: 1px solid color-mix(in srgb, var(--color-ivory) 30%, transparent); }
.hero__stats > li:first-child { padding-left: 0; border-left: 0; }
.hero__stats > li > span:last-child { font-size: 13px; }
@media (min-width: 1024px) {
  .hero__inner { height: var(--screen-height); min-height: 620px; padding-block: 80px var(--m); row-gap: 40px; }
  .hero__bottom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--g); min-height: 0; container-type: size; }
  .hero__offer { grid-column: 1 / span 4; grid-row: 1; }
  .hero__stats { grid-column: 1 / span 5; grid-row: 3; }
  .hero__stats > li { padding-inline: var(--g); }
  .hero__stats > li > span:last-child { font-size: 15px; }
  .hero-slot { grid-column: 6 / -1; grid-row: 1 / -1; align-self: end; justify-self: end; margin: 0;
    /* widest whole-column span (<= 7 cols) whose 4:3 height fits the row: n * (col + g) - g */
    --cg: calc((100cqw + var(--g)) / 12);
    width: min(var(--cg) * 7 - var(--g), round(down, 100cqh * 4 / 3 + var(--g), var(--cg)) - var(--g)); }
}


/* ---------- features (numbers) ---------- */
.features { background: var(--color-green); padding-block: var(--sec); }
@media (min-width: 768px) { .features__title { max-width: 18ch; } }
.features__content { display: flex; flex-direction: column; row-gap: var(--item); margin-top: var(--block); }
@media (min-width: 768px) { .features__content { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g); } }
@media (min-width: 1024px) { .features__content { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.features__list--left, .features__list--right { display: grid; row-gap: var(--item); }
@media (min-width: 768px) { .features__list--left, .features__list--right { row-gap: 200px; } .features__list--right { margin-top: 200px; }
  .features__list--left { grid-column: 1 / span 3; } .features__list--right { grid-column: 6 / span 3; } }
@media (min-width: 1024px) { .features__list--left { grid-column: 1 / span 3; } .features__list--right { grid-column: 10 / span 3; } }
.features-card__caption { display: flex; align-items: center; gap: var(--tight); padding-block: var(--tight); border-bottom: var(--dash); }
.features-card__caption::before { content: ""; width: 5px; height: 5px; margin-bottom: 2px; background: var(--color-black); }
.features-card__body { display: flex; flex-direction: column; row-gap: var(--tight); margin-top: 40px; }

/* ---------- formats: pinned room slider ---------- */
.formats { position: relative; z-index: 10; height: calc(var(--screen-height) * var(--formats-count, 1)); background: var(--color-ivory); }
.formats__inner { position: sticky; top: 0; height: var(--screen-height); overflow: hidden; }
.format-slide { position: absolute; inset: 0; overflow: hidden; }
.format-slide__reveal { display: grid; grid-template-columns: 1fr; grid-template-rows: 40svh 1fr; height: 100%; }
@media (min-width: 1024px) {
  .format-slide, .format-slide__reveal { background: var(--bg, var(--color-ivory)); }
  .format-slide__reveal { grid-template-columns: [full-start] calc(max(var(--m), (100% - var(--max)) / 2 + var(--m)) - var(--g)) repeat(12, minmax(0, 1fr)) calc(max(var(--m), (100% - var(--max)) / 2 + var(--m)) - var(--g)) [full-end]; grid-template-rows: minmax(0, 1fr); column-gap: var(--g); }
}
.format-slide__image { width: 100%; height: 100%; object-fit: cover; }
/* desktop: photo = bleed edge + cols 1-5, content = cols 6-12 exactly (7-col inner grid) */
@media (min-width: 1024px) { .format-slide__image { grid-column: 1 / 7; } .format-slide__content { grid-column: 7 / 14; --n: 7; } }
.format-slide__content { --n: 4; display: flex; flex-direction: column; justify-content: space-between; gap: var(--B); padding: var(--B) var(--m); background: var(--bg, var(--color-ivory)); }
@media (min-width: 768px) { .format-slide__content { --n: 8; } }
@media (min-width: 1024px) { .format-slide__content { --n: 7; padding: 40px 0; } }
.format-slide__offer { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.format-slide__offer > * { grid-column: 1 / -1; }
.format-slide__number { position: absolute; right: 0; top: 0; }
.format-slide__number--light { opacity: .4; }
.format-slide__offer > .format-slide__description { margin-block: var(--head) var(--block); }
@media (min-width: 768px) { .format-slide__offer > .format-slide__description { grid-column: 1 / span 5; } }
@media (min-width: 1024px) { .format-slide__offer > .format-slide__description { grid-column: 1 / span 4; } }
.format-slide__number { font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .format-slide__body { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--g); } .format-slide__info { grid-column: span 4; align-self: center; } }
.format-slide__min-image { display: none; }
@media (min-width: 768px) { .format-slide__min-image { display: block; grid-column: span 4; width: 100%; aspect-ratio: 370 / 250; object-fit: cover; } }
@media (min-width: 1024px) { .format-slide__min-image { grid-column: span 3; } }
.format-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--g); }
.format-metrics__item { display: grid; row-gap: var(--tight); }
.format-metrics__item:nth-child(2), .format-metrics__item:nth-child(3) { grid-column: span 2; }
.format-metrics__item--full { grid-column: 1 / -1 !important; }
@media (prefers-reduced-motion: reduce) {
  .formats { height: auto; } .formats__inner { position: static; height: auto; }
  .format-slide { position: relative; min-height: var(--screen-height); }
}

/* ---------- cup sections (ring flying through a section) ---------- */
.cup-section { position: relative; z-index: 10; overflow: clip; isolation: isolate; }
.cup-section__layer { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.cup-section .cup-section__sticky { position: fixed; inset: 0; height: auto; } /* escapes the section so the ring can ride down into the footer */
@media (max-width: 767.98px) { .cup-section--flat-to-768 .cup-section__layer { display: none; }
  .cup-section .cta-form { z-index: 3; } /* mobile: the booking block covers the ring; it rises out from under it into the footer */ }
@media (max-width: 1023.98px) { .cup-section--flat-to-1024 .cup-section__layer { display: none; } }
/* canvas is 2x the flight size so the ring can grow to 2x at landing without cropping (ring.js flies it at scale .5) */
.cup-section__model { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 104vmin; height: 104vmin; transform: translate3d(var(--cup-offset-x, 0px), var(--cup-offset-y, -200svh), 0); }

/* ---------- package (spaces) ---------- */
.package { position: relative; min-height: 100vh; background: var(--color-ivory); }
.package__inner { padding-block: 110px; display: grid; row-gap: 40px; min-height: 100vh; }
@media (min-width: 768px) { .package__inner { row-gap: 390px; } }
.package__header { display: flex; flex-direction: column; row-gap: 30px; }
@media (min-width: 1024px) {
  .package__header { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 0; }
  .package__title { grid-column: 1 / span 6; max-width: 580px; }
  .package__description { grid-column: 9 / span 4; margin-top: 120px; }
}
.package-item { padding-block: var(--row-pt) var(--row-pb); border-top: var(--dash); }
@media (min-width: 768px) { .package-item { display: flex; justify-content: space-between; align-items: end; } }
.package-item__content { display: flex; flex-direction: column; row-gap: 80px; }
@media (min-width: 768px) { .package-item__content { max-width: 32ch; row-gap: 40px; } }
@media (min-width: 1024px) { .package-item__content { row-gap: 80px; } }
.package-item__text { display: flex; flex-direction: column; row-gap: var(--tight); }
.package-item__title { max-width: 16ch; }
.package-item__image { display: none; }
@media (min-width: 768px) { .package-item__image { display: block; width: 135px; aspect-ratio: 3 / 2; object-fit: cover; will-change: transform; } }
@media (min-width: 1024px) { .package-item__image { width: 240px; aspect-ratio: 740 / 380; } }

/* ---------- key terms (food): full-bleed photo that shrinks to half ---------- */
@keyframes key-terms-media { 0% { width: 100%; } to { width: calc(50% - var(--g) / 2); } } /* ends on the col 6 edge */
@keyframes key-terms-panel { 0% { transform: translate(10%); } to { transform: translate(0); } }
@keyframes key-terms-image { 0% { scale: 1; } to { scale: 1.2; } }
@keyframes key-terms-intro { 0% { scale: 1; } to { scale: .68; } }
@keyframes key-terms-content-hold { 0% { transform: translateY(0); } to { transform: translateY(20vh); } }
.key-terms { position: relative; z-index: 10; background: var(--color-ivory); }
.key-terms__inner { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .key-terms__inner { flex-direction: row; align-items: flex-start; overflow: clip; } }
.key-terms__media { position: relative; display: flex; flex: none; align-items: center; justify-content: center; min-height: 100svh; overflow: clip; }
.key-terms__media::after { content: ""; position: absolute; inset: 0; background: rgb(36 57 86 / .3); }
@media (min-width: 1024px) { .key-terms__media { position: sticky; top: 0; width: 100%; height: 100vh; min-height: 0; } }
.key-terms__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.key-terms__intro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-inline: var(--m); color: var(--color-ivory); text-align: center; }
.key-terms__caption { margin-bottom: var(--head); }
.key-terms__title { white-space: nowrap; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .key-terms__media { view-timeline-name: --key-terms-media; animation: key-terms-media linear both; animation-timeline: --key-terms-media; animation-range: contain 0% contain 100vh; }
    .key-terms__image { animation: key-terms-image linear both; animation-timeline: --key-terms-media; animation-range: contain 0% contain 100vh; }
    .key-terms__intro { animation: key-terms-intro linear both; animation-timeline: --key-terms-media; animation-range: contain 0% contain 100vh; }
    .key-terms__panel { animation: key-terms-panel linear both; animation-timeline: --key-terms-media; animation-range: contain 0% contain 100vh; }
    .key-terms__panel-content { animation: key-terms-content-hold linear both; animation-timeline: --key-terms-media; animation-range: contain 100vh contain 120vh; }
  }
}
.key-terms__panel { flex: none; min-height: 100svh; background: var(--color-ivory); padding: var(--sec) var(--m); }
/* panel content = cols 7-12: panel starts at 50% - g/2 (media end), so left pad = g, right pad = m - g/2 */
@media (min-width: 1024px) { .key-terms__panel { width: 50%; padding: calc(100vh + var(--sec)) calc(var(--m) - var(--g) / 2) calc(var(--sec) + 20vh) var(--g); } }
.key-terms__header { display: grid; row-gap: var(--head); margin-bottom: var(--block-l); }
.key-terms__description { max-width: 44ch; }
.key-terms__highlights { display: grid; row-gap: var(--tight); }
@media (min-width: 768px) { .key-terms__highlights { grid-template-columns: 1fr 1fr; column-gap: var(--g); } }
.highlights__content { display: flex; align-items: end; justify-content: space-between; }
@media (min-width: 768px) { .highlights__content { align-items: start; flex-direction: column; } }
.highlights__image { width: 100%; aspect-ratio: 370 / 220; object-fit: cover; }
.key-terms__list { margin-top: var(--block); border-bottom: var(--dash); }
.terms-item { display: flex; flex-direction: column; row-gap: var(--B); padding-block: var(--row-pt) var(--row-pb); border-top: var(--dash); }
.terms-item__header { display: flex; justify-content: space-between; column-gap: var(--g); font-variant-numeric: tabular-nums; }
.terms-item__body { display: flex; flex-direction: column; row-gap: 80px; }
.terms-item__description { max-width: 41ch; }

/* ---------- digital (neighbourhood) + benefits ---------- */
.digital { --digital-bg: var(--color-ivory); position: relative; z-index: 10; background: var(--digital-bg); }
.digital__inner { display: block; }
@media (min-width: 1024px) { .digital__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: start; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); } }
.digital__intro { display: flex; flex-direction: column; justify-content: space-between; position: sticky; top: 0; min-height: 100svh; }
@media (min-width: 1024px) { .digital__intro { grid-column: 1 / span 6; padding-inline: 0; } }
.digital__header { display: grid; row-gap: var(--head); padding-top: var(--sec); transition: opacity var(--t-long) ease; }
.digital__title { max-width: 15ch; }
@media (min-width: 768px) { .digital__description { max-width: 38ch; } }
.digital.is-ending .digital__header { opacity: 0; }
.digital__media { display: grid; place-items: center; }
@media (min-width: 1024px) { .digital__media { align-items: end; margin-top: auto; width: calc(200% + 20px); transform: translateY(-40px); } }
.digital__back, .digital__phone { grid-area: 1 / 1; max-width: 100%; }
.digital__back { align-self: end; width: auto; height: clamp(18.75rem, 13.5570652174rem + .2130434783 * var(--fvw), 34.0625rem); aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; transform: translate(-90px); }
@media (max-width: 767.98px) { .digital__back { transform: translate(-75px); } }
.digital__phone { position: relative; height: clamp(21rem, 15.1923913043rem + .2382608696 * var(--fvw), 38.125rem); aspect-ratio: 348 / 610; translate: calc(clamp(2.625rem, 2.2434782609rem + .0156521739 * var(--fvw), 3.75rem) + 20px) -80px; animation: digital-phone-sway 5s ease-in-out infinite; outline: 5px solid var(--color-ivory); }
@media (min-width: 1024px) { .digital__phone { translate: calc(clamp(2.625rem, 2.2434782609rem + .0156521739 * var(--fvw), 3.75rem) + 20px) -130px; } }
.digital__phone img { width: 100%; height: 100%; object-fit: cover; }
@keyframes digital-phone-sway { 0%, to { rotate: -13deg; } 50% { rotate: -7deg; } }
.digital__body { width: 100%; padding-bottom: var(--sec); transition: opacity var(--t-long) ease; }
@media (min-width: 1024px) { .digital__body { grid-column: 10 / span 3; } .digital__body .container { max-width: none; padding-inline: 0; } .digital.is-ending .digital__body { opacity: 0; } }
@media (max-width: 1023.98px) { .digital__body { position: relative; z-index: 1; background: var(--digital-bg); } }
.digital__list { display: grid; row-gap: var(--item); margin-bottom: 80px; padding-top: var(--block); }
@media (min-width: 768px) and (max-width: 1023.98px) { .digital__list { width: calc((100% - 7 * var(--g)) / 8 * 4 + 3 * var(--g)); } }
@media (min-width: 1024px) { .digital__list { margin-top: 200px; padding-top: 0; } }
.digital-card { display: grid; justify-items: start; row-gap: var(--tight); }
.digital-card__num { display: block; margin-bottom: var(--B); font: 600 44.444px/.9 var(--font-accent); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.benefits { position: relative; z-index: 1; width: 100%; background: var(--digital-bg, var(--color-ivory)); padding-bottom: var(--sec); }
@media (min-width: 1024px) { .benefits { grid-column: 1 / -1; } .digital .benefits__inner { padding-inline: 0; } }
.benefits__inner { max-width: none; }
.benefits__list { display: grid; width: 100%; border-bottom: 1px dashed color-mix(in srgb, currentColor 30%, transparent); }
/* desktop: cards = 4 columns each, gutters between; the shared dashed rules sit in the middle of the gutters */
@media (min-width: 1024px) { .benefits__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); border: 1px dashed color-mix(in srgb, currentColor 30%, transparent); }
  .benefits__item { display: flex; } .benefits__list .benefit-card { position: relative; border: 0; }
  .benefits__item:not(:last-child) .benefit-card::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(var(--g) / -2 - .5px); border-right: 1px dashed color-mix(in srgb, currentColor 30%, transparent); } }
.benefits__item { min-width: 0; }
.benefit-card { display: flex; flex-direction: column; align-items: center; row-gap: 100px; width: 100%; height: 100%; padding-block: 60px; border: 1px dashed color-mix(in srgb, currentColor 30%, transparent); border-bottom: 0; text-align: center; }
@media (max-width: 767.98px) { .benefit-card { padding: 80px var(--g) 40px; } }
.benefit-card__content { display: flex; flex-direction: column; align-items: center; row-gap: var(--tight); max-width: 36ch; }
.benefit-card__button { margin-top: var(--B); }
.benefit-card__media { position: relative; margin-top: auto; width: min(80%, 320px); isolation: isolate; }
.benefit-card__metric { position: absolute; z-index: -1; top: 0; left: 50%; display: grid; justify-items: center; padding-top: 30px; width: 76%; aspect-ratio: 1.35; background: var(--color-green); font-variant-numeric: tabular-nums; transform: translate(-50%, 35%); transition: transform .3s cubic-bezier(.65, 0, .35, 1); }
.benefit-card__image { position: relative; z-index: 1; width: 100%; aspect-ratio: 758 / 1016; object-fit: cover; }
@media (any-hover: hover) { .benefit-card:hover .benefit-card__metric { transform: translate(-50%, -45%) rotate(-7deg); } }
@media (max-width: 1023.98px) { .benefit-card.is-metric-visible .benefit-card__metric { transform: translate(-50%, -45%) rotate(-7deg); } }

/* ---------- sticky gallery: peel-away stack ---------- */
.sticky-gallery { --shift: clamp(1.875rem, .8152173913rem + .0434782609 * var(--fvw), 5rem); position: relative; z-index: 10; isolation: isolate; background: var(--color-ivory); }
.sticky-gallery__list { display: flex; flex-direction: column; align-items: center; padding-inline: var(--container-padding-x); }
.sticky-gallery__item { position: sticky; bottom: 0; z-index: var(--i); display: grid; place-items: center; width: calc(100% - var(--shift)); height: 100svh; padding-block: var(--container-padding-x); }
@media (min-width: 1024px) { .sticky-gallery__item { width: 100%; } }
.sticky-gallery__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 767.98px) { .sticky-gallery__image { height: 350px; aspect-ratio: auto; } }
@media (min-width: 1024px) { .sticky-gallery__image { width: 59.4%; aspect-ratio: 1020 / 586; } }
.sticky-gallery__item--1 { align-self: flex-end; }
.sticky-gallery__item--2 { align-self: flex-start; padding-bottom: 10rem; }
.sticky-gallery__item--4, .sticky-gallery__item--6 { align-self: flex-end; padding-bottom: clamp(1.5rem, .8217391304rem + .027826087 * var(--fvw), 3.5rem); }
.sticky-gallery__item--5 { align-self: flex-start; }
@media (min-width: 1024px) {
  .sticky-gallery__item--1 { place-items: end end; padding-bottom: clamp(2.5rem, 1.652173913rem + .0347826087 * var(--fvw), 5rem); }
  .sticky-gallery__item--2 { place-items: start center; padding-bottom: var(--container-padding-x); }
  .sticky-gallery__item--2 .sticky-gallery__image { transform: translate(40px, 40px); }
  .sticky-gallery__item--3 { place-items: center start; }
  .sticky-gallery__item--3 .sticky-gallery__image { transform: translate(40px); }
  .sticky-gallery__item--4 { place-items: end center; }
  .sticky-gallery__item--5 { place-items: start start; padding-top: clamp(2.5rem, 1.652173913rem + .0347826087 * var(--fvw), 5rem); }
  .sticky-gallery__item--6 { place-items: end end; padding-bottom: clamp(2.5rem, 1.652173913rem + .0347826087 * var(--fvw), 5rem); }
  .sticky-gallery__item--6 .sticky-gallery__image { transform: translate(-40px); }
}

/* ---------- CTA form ---------- */
.cta-form { position: relative; background: var(--color-accent); color: var(--color-black); }
@media (min-width: 1024px) { .cta-form { display: flex; align-items: center; height: 100vh; } }
.cta-form__inner { display: grid; row-gap: var(--block); padding-block: var(--sec); }
@media (min-width: 1024px) { .cta-form__inner { row-gap: var(--B); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; column-gap: var(--g); }
  .cta-form__header { grid-column: 1 / span 8; } .cta-form__body { grid-column: 9 / span 4; } }
.cta-form__header { display: flex; flex-direction: column; align-items: start; row-gap: var(--head); }
.cta-form__title { line-height: 90%; }
@media (min-width: 768px) { .cta-form__title { max-width: 15ch; } }
.cta-form__description { max-width: 32ch; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); width: 100%; }
.contact-form > .input-field--full, .contact-form > .form-button, .contact-form > .contact-form__status { grid-column: 1 / -1; }
.input-field { display: grid; gap: 24px; width: 100%; min-width: 0; }
.input-field__control { width: 100%; min-width: 0; padding: 0 0 var(--B); border: 0; border-bottom: 1px dashed color-mix(in srgb, var(--color-black) 30%, transparent); outline: none; background: transparent; appearance: none; }
select.input-field__control { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='15'%3E%3Cpath d='M1 5l3.5 3.5L8 5' fill='none' stroke='%23243956' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0 top 2px; padding-right: 16px; }
.input-field__control::placeholder { color: inherit; opacity: .55; }
.input-field__control:focus-visible { border-bottom: 1px dashed var(--color-black); }
.input-field__control[aria-invalid="true"] { border-bottom: 1px solid var(--color-black); }
.input-field__error { margin-top: -16px; }
.input-field__error:empty { display: none; }
.contact-form__status:empty { display: none; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--color-black); color: var(--color-accent); --link-hover-color: var(--color-ivory); font: 500 15px/110% var(--font-base); letter-spacing: -.02em; text-transform: uppercase; }
.footer__inner { position: relative; display: flow-root; }
.footer__caption, .footer__credit-label, .footer__legal > * { opacity: .5; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: var(--tight); width: fit-content; }
.footer__contact-value--address { white-space: normal; max-width: 24ch; }
.footer__link-list { display: flex; flex-direction: column; gap: var(--tight); }
.footer__nav-group { display: flex; flex-direction: column; gap: var(--tight); }
.footer__logo-link svg { width: 46px; height: 46px; }
.footer__credits { display: flex; flex-direction: column; gap: 6px; }
.footer__credit a { white-space: normal; }
.footer__brand { position: relative; margin-top: 40px; margin-bottom: var(--tight); padding-top: var(--tight); padding-bottom: var(--B); }
.footer__marquee { margin-inline: calc(-1 * var(--m)); overflow: hidden; color: var(--color-accent); }
.footer__marquee-track { display: flex; width: max-content; will-change: transform; }
.footer__marquee-group { display: flex; align-items: center; flex: none; font: 600 clamp(6rem, 22vw, 26rem)/.9 var(--font-accent); letter-spacing: -.02em; white-space: nowrap; }
.footer__marquee-group > span { padding-top: .08em; padding-right: .3em; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--tight) var(--g); padding-block: var(--B); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .footer__contacts { position: relative; z-index: 1; margin-top: 40px; display: flex; flex-direction: column; gap: 40px; width: calc((100% - 11 * var(--g)) / 12 * 3 + 2 * var(--g)); }
  .footer__center { position: absolute; z-index: 1; top: 30px; left: 50%; width: 425px; text-align: center; transform: translate(-50%); }
  .footer__top-link { position: absolute; top: 0; left: 50%; transform: translate(-50%); opacity: .5; }
  .footer__logo-link { position: absolute; top: 185px; left: 50%; transform: translate(-50%); }
  .footer__message { position: absolute; top: 400px; left: 0; width: 100%; opacity: .5; }
  .footer__navigation { position: absolute; z-index: 1; top: 40px; right: var(--m); width: calc((100% - 2 * var(--m) - 11 * var(--g)) / 12 * 3 + 2 * var(--g)); text-align: right; }
  .footer__nav-group { position: absolute; right: 0; align-items: flex-end; }
  .footer__nav-group--menu { top: 0; } .footer__nav-group--rooms { top: 0; } /* same top line as Address */
  .footer__link-list { align-items: flex-end; }
  .footer__credits { position: relative; margin-top: 424px; width: 260px; }
  .footer__legal .footer__copyright { position: absolute; left: 50%; transform: translate(-50%); }
  .footer__legal { position: relative; }
}
@media (max-width: 1023.98px) {
  .footer__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 60px; }
  .footer__center { display: grid; gap: 30px; justify-items: start; }
  .footer__navigation { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
  .footer__contacts { display: grid; gap: 40px; }
    .footer__legal { flex-direction: column; }
}

/* ---------- room pages ---------- */
.room-hero { position: relative; min-height: var(--screen-height); }
.room-hero .format-slide { position: relative; inset: auto; min-height: var(--screen-height); }
.room-hero .format-slide__reveal { min-height: var(--screen-height); }
@media (min-width: 1024px) { .room-hero .format-slide__content { padding-top: 120px; } }
.format-slide__offer > .room-back { justify-self: start; margin-bottom: var(--head); }
.room-list { padding-block: var(--sec); background: var(--color-ivory); }
.room-list__header { display: grid; row-gap: var(--head); margin-bottom: var(--block); }
@media (min-width: 1024px) { .room-list__header { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); } .room-list__header > :first-child { grid-column: 1 / span 6; } .room-list__header > :last-child { grid-column: 9 / span 4; margin-top: 60px; } }
.room-others { background: var(--color-green); padding-block: var(--sec); }
.room-others a:hover .terms-item__title { color: var(--color-earth); }
.room-others .terms-item__title { transition: color var(--t); }

/* ---------- glass header (after 40px scroll) ---------- */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease, background-color .4s ease; border-bottom: 1px solid rgb(255 255 255 / .25); background: rgb(239 237 227 / .55); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.header.is-glass::before { opacity: 1; }
.header--light::before { background: rgb(36 57 86 / .45); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header::before { background: var(--color-ivory); } .header--light::before { background: var(--color-black); }
}
@media (min-width: 1024px) { .header__inner { padding-bottom: 10px; } }

/* ---------- hero wordmark as masked letters ---------- */
.hero__wordmark { display: inline-flex; align-items: flex-end; vertical-align: bottom; font: 600 100px/.9 var(--font-accent); letter-spacing: -.02em; white-space: nowrap; }
.hero__char { display: block; overflow: clip; padding-top: .06em; margin-bottom: -.13em; }
.hero__char > span { display: block; line-height: .9; }

/* ---------- booking form ---------- */
.cta-form__note { margin-top: auto; max-width: 33ch; opacity: .7; }
@media (min-width: 1024px) { .cta-form__header { min-height: calc(100vh - 2 * var(--sec)); } .cta-form__title { margin-top: 0; } }
.contact-form { row-gap: var(--B); column-gap: var(--g); }
.input-field { position: relative; gap: 10px; border: 0; padding: 0; margin: 0; }
.input-field__label { font-size: 13px !important; opacity: .7; padding: 0; }
.input-field__control, .date-field__box, .stepper__row { position: relative; font: 500 22px/110% var(--font-base); letter-spacing: -.02em; padding: 0 0 var(--tight); border-bottom: 1px solid color-mix(in srgb, var(--color-black) 35%, transparent); }
@media (min-width: 1024px) { .input-field__control, .date-field__box, .stepper__row { font-size: 24px; } }
.input-field__control:focus-visible { outline: none; border-bottom-color: color-mix(in srgb, var(--color-black) 35%, transparent); }
/* animated focus underline */
.input-field__control, .date-field__box { background: linear-gradient(var(--color-black), var(--color-black)) no-repeat left bottom / 0 1px; transition: background-size var(--t-long) var(--ease-out), border-color var(--t); }
.input-field__control:focus, .date-field__box:focus-within { background-size: 100% 1px; }
.input-field__error { order: 9; margin: 0; font-size: 13px; line-height: 110%; }
.input-field__control[aria-invalid="true"], .date-field__box:has([aria-invalid="true"]) { border-bottom-color: var(--color-earth); }
.date-field__box { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.date-field__box::after { content: ""; width: 9px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='15'%3E%3Cpath d='M1 5l3.5 3.5L8 5' fill='none' stroke='%23243956' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center; }
.date-field__value.is-empty { opacity: .45; }
.date-field__native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.date-field__native::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.date-field__box:focus-within { border-bottom-color: var(--color-black); }
.stepper__row { display: flex; align-items: center; justify-content: space-between; }
.stepper__btn { width: 36px; height: 30px; border: 0; background: transparent; font: 400 26px/1 var(--font-base); cursor: pointer; transition: transform .2s var(--ease-out), opacity .2s; }
.stepper__btn:hover { transform: scale(1.2); }
.stepper__btn:disabled { opacity: .3; cursor: not-allowed; transform: none; }
.stepper__value { font-variant-numeric: tabular-nums; }
.chips__row { display: flex; flex-wrap: wrap; gap: var(--tight); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: block; padding: var(--tight); font-size: 13px !important; border: 1px solid color-mix(in srgb, var(--color-black) 35%, transparent); transition: background-color var(--t), color var(--t), border-color var(--t); }
.chip:hover span { border-color: var(--color-black); }
.chip input:checked + span { background: var(--color-black); color: var(--color-accent); border-color: var(--color-black); }
.chip input:focus-visible + span { outline: 2px dashed var(--color-black); outline-offset: 3px; }
.form-button { min-height: 60px; margin-top: var(--tight); }
.form-done { max-width: 15ch; outline: none; }
.contact-form__status { font-size: 13px; }
.room-note { margin-top: 40px; opacity: .6; }

/* ---------- hover preview ---------- */
.cursor-preview { position: fixed; top: 0; left: 0; z-index: 2147483600; pointer-events: none; opacity: 0; }
.cursor-preview { width: 260px; aspect-ratio: 4 / 3; margin: -98px 0 0 24px; overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path .5s var(--ease-out), opacity .2s; }
.cursor-preview.is-visible { opacity: 1; clip-path: inset(0 0 0 0); }
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-preview { display: none; } }

/* sticky glass bar keeps logo + nav only: Book button slides out */
.header__desktop-actions { transition: opacity .4s ease, transform .4s var(--ease-out), visibility .4s; }
.header.is-glass .header__desktop-actions { opacity: 0; visibility: hidden; transform: translateY(-12px); pointer-events: none; }
@media (min-width: 1024px) { .header.is-glass .header__inner { padding-bottom: 20px; } }
.highlights__content ul { list-style: none; padding: 0; margin: 0; }
@media (max-width: 767.98px) { html { overflow-x: clip; } }
@media (max-width: 1023.98px) { .digital { overflow-x: clip; } }

/* ---------- spaces: sticky title + swapping image | even rows ---------- */
.spaces { position: relative; z-index: 10; background: var(--color-ivory); }
.spaces__inner { display: grid; row-gap: var(--block); padding-block: var(--sec); }
.spaces__description { margin-top: var(--head); max-width: 32ch; }
.spaces__media { position: relative; margin-top: var(--block); aspect-ratio: 16 / 10; overflow: hidden; }
.spaces__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s ease, transform 1.2s var(--ease-out); }
.spaces__image.is-active { opacity: 1; transform: scale(1); }
.spaces__list { list-style: none; margin: 0; padding: 0; border-bottom: var(--dash); }
/* row = list width = 4 (mobile) / 8 (tablet) / 5 (desktop) columns: number in the first, text in the rest */
.spaces__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); align-items: start; min-height: 160px; padding: var(--row-pt) 0 var(--row-pb); border-top: var(--dash); transition: opacity .4s ease; }
.spaces__text { grid-column: 2 / -1; display: grid; row-gap: var(--tight); }
.spaces__num { font-variant-numeric: tabular-nums; }
@media (min-width: 768px) and (max-width: 1023.98px) { .spaces__row { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.spaces__text p { max-width: 40ch; }
@media (min-width: 1024px) {
  .spaces__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
  .spaces__aside { grid-column: 1 / span 6; align-self: stretch; }
  .spaces__sticky { position: sticky; top: var(--sec); }
  .spaces__list { grid-column: 8 / span 5; }
  .spaces__row { grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 200px; }
  .spaces__list:hover .spaces__row:not(:hover), .spaces__list.is-scrubbing .spaces__row:not(.is-active) { opacity: .4; }
}

/* ---------- hero photo: two faces (flip on scroll); from 768px JS lifts it into the sticky layer ---------- */
.hero-card { position: relative; width: 100%; height: 100%; perspective: 1600px; }
.hero-card.is-floating { position: absolute; }
.hero-card__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.hero-card__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hero-card__face--back { transform: rotateY(180deg); }

/* ---------- compact glass plate (overrides the full-width bar) ---------- */
.header::before { display: none; }
.header { pointer-events: none; }
.header a, .header button, .header .main-menu__panel { pointer-events: auto; }
@media (min-width: 1024px) {
  .header__desktop-nav { position: absolute; top: var(--B); left: var(--m); display: flex; align-items: center; height: 15px; padding: 0; transform: translateX(0);
    transition: left .5s var(--ease-out), top .5s var(--ease-out), transform .5s var(--ease-out), height .5s var(--ease-out), padding .5s var(--ease-out), background-color .4s ease, border-color .4s ease;
    border: 1px solid transparent; }
  .header.is-glass .header__desktop-nav { top: var(--tight); left: 50%; transform: translateX(-50%); height: 40px; padding: 0 var(--B); pointer-events: auto;
    border-color: rgb(255 255 255 / .25); background: rgb(239 237 227 / .55); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
  .header--light.is-glass .header__desktop-nav { background: rgb(36 57 86 / .45); }
  .header.is-glass .header__desktop-list { gap: var(--B); }
  .header__desktop-list { transition: gap .5s var(--ease-out); }
  .header.is-glass .header__inner { padding-bottom: 0; }
}
/* mobile / tablet: burger collapses to a glass square */
@media (max-width: 1023.98px) {
  .main-menu__toggle { transition: width .4s var(--ease-out), background-color .4s, color var(--t); }
  .main-menu__label { transition: opacity .3s; }
  .header.is-glass .main-menu:not(.is-open) .main-menu__toggle { width: 44px; height: 44px; grid-template-columns: 0 44px; overflow: hidden; color: var(--color-black);
    background: rgb(239 237 227 / .55); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); outline: 1px solid rgb(255 255 255 / .25); }
  .header.is-glass .main-menu:not(.is-open) .main-menu__label { opacity: 0; }
  .header.is-glass .main-menu:not(.is-open) .main-menu__icon { border-left: 0; }
  .header--light.is-glass .main-menu:not(.is-open) .main-menu__toggle { background: rgb(36 57 86 / .45); color: var(--color-ivory); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.is-glass .header__desktop-nav, .header.is-glass .main-menu:not(.is-open) .main-menu__toggle { background: var(--color-ivory); }
  .header--light.is-glass .header__desktop-nav, .header--light.is-glass .main-menu:not(.is-open) .main-menu__toggle { background: var(--color-black); }
}
/* footer: the info row (contacts in flow) sets the height; the word keeps the old 46px gap below it */
@media (min-width: 1024px) { .footer__brand { margin-top: 40px; } .footer__legal { justify-content: flex-start; } }


/* footer: credit left, Back to top right, both under the wordmark */
.footer__legal .footer__top-link { position: static; margin-left: auto; transform: none; opacity: 1; }
.footer__legal > .footer__top-link { opacity: .5; }
