/* ============================================================================
   GATEWAY MOTORLODGE WHANGANUI
   Premium light-mode site system
   ----------------------------------------------------------------------------
   00  Fonts
   01  Tokens
   02  Reset & base
   03  Typography
   04  Layout primitives
   05  Motion primitives
   06  Components — chrome (preloader, cursor, header, nav, mobile menu)
   07  Components — content (buttons, cards, media, statement, stats, accordion…)
   08  Page-specific blocks
   09  Responsive
   ========================================================================== */

/* ── 00  Fonts ─────────────────────────────────────────────────────────── */

/* Bodoni Moda — a high-contrast didone with a true optical-size axis.
   Set large it draws hairline serifs; set small the axis thickens the
   strokes automatically, so the same face stays crisp at every scale. */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/bodonimoda-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/bodonimoda-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'InterVar';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-italic.woff2') format('woff2');
}

/* ── 01  Tokens ────────────────────────────────────────────────────────── */

:root {
  /* surfaces — light mode, permanently */
  --paper:      #FBF8F3;
  --paper-2:    #F4EEE4;
  --paper-3:    #EDE4D5;
  --paper-4:    #E3D7C3;
  --white:      #FFFFFF;

  /* ink */
  --ink:        #1B1915;
  --ink-2:      #4A443B;
  --ink-3:      #7B7266;
  --ink-4:      #A69C8D;

  /* lines */
  --line:       #E0D6C4;
  --line-2:     #CFC2AA;
  --line-ink:   rgba(27, 25, 21, .14);

  /* accents */
  --clay:       #B4553A;
  --clay-deep:  #8C3F29;
  --clay-soft:  #E8CFC4;
  --pine:       #22322A;
  --pine-2:     #16231D;
  --sage:       #7C8D77;
  --sand:       #D8C4A2;
  --gold:       #A98B4E;

  /* type */
  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni MT', 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-body: 'InterVar', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* fluid scale */
  --t-display: clamp(2.7rem, 1.2rem + 6vw, 7rem);
  --t-h1:      clamp(2.45rem, 1.35rem + 4.7vw, 5.9rem);
  --t-h2:      clamp(2rem, 1.3rem + 3vw, 3.6rem);
  --t-h3:      clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  --t-h4:      clamp(1.15rem, 0.98rem + 0.8vw, 1.5rem);
  --t-lead:    clamp(1.06rem, 0.94rem + 0.52vw, 1.42rem);
  --t-body:    clamp(1rem, 0.95rem + 0.2vw, 1.13rem);
  --t-sm:      0.9375rem;
  --t-xs:      0.8125rem;
  --t-label:   0.6875rem;

  /* space */
  --gutter: clamp(1.15rem, 0.7rem + 2.1vw, 3.25rem);
  --section-y: clamp(4.5rem, 2.4rem + 8.4vw, 11rem);
  --maxw: 1560px;
  --maxw-text: 68ch;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: .38s;
  --dur: .72s;
  --dur-slow: 1.15s;

  --radius: 4px;
  --radius-lg: 10px;

  --header-h: 84px;
  color-scheme: light;
}

/* ── 02  Reset & base ──────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
  overscroll-behavior-y: none;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--clay); color: #fff; }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Fine paper grain over the whole page — keeps flat colour fields from
   looking like plastic. Pointer-events none, extremely low opacity. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 0; left: 50%;
  transform: translate(-50%, -140%);
  z-index: 10001;
  background: var(--ink);
  color: var(--paper);
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: var(--t-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 03  Typography ────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  /* Weight 500 with the optical size pinned at 32.
     At the default optical size the didone hairlines drop below a pixel at
     display scale and the letterforms break apart on screen; pinning opsz
     keeps the high contrast but with strokes that survive on a phone. */
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 32;
  line-height: 1.08;
  letter-spacing: -0.008em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); line-height: 1.15; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
}

.prose p { max-width: var(--maxw-text); color: var(--ink-2); }
.prose h3 { margin: 2.6em 0 .7em; }
.prose h4 { margin: 2em 0 .5em; }
.prose ul { margin: 0 0 1.4em; }
.prose li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .55em;
  color: var(--ink-2);
  max-width: var(--maxw-text);
}
.prose li::before {
  content: '';
  position: absolute;
  left: 0; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1.35rem;
  line-height: 1;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}
.eyebrow--plain::before { display: none; }
.eyebrow--ink { color: var(--ink-3); }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 32;
  font-size: var(--t-display);
  line-height: 0.99;
  letter-spacing: -0.012em;
}
.display--serif { font-family: var(--font-display); }

em, .italic { font-style: italic; }

.serif { font-family: var(--font-display); }

.muted { color: var(--ink-3); }
.accent { color: var(--clay); }
.tabular { font-variant-numeric: tabular-nums; }

/* Underline that draws in on hover */
.link {
  position: relative;
  display: inline-block;
  padding-bottom: .12em;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--ease-out), color .3s var(--ease-out);
}
.link:hover, .link:focus-visible { background-size: 100% 1px; }

/* ── 04  Layout primitives ─────────────────────────────────────────────── */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 1120px; }
.shell--text { max-width: 900px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .58); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--paper-2); }
.section--sand { background: var(--paper-3); }
.section--pine { background: var(--pine); color: var(--paper); }
.section--pine .lead, .section--pine .prose p { color: rgba(251,248,243,.72); }
.section--pine .eyebrow { color: var(--sand); }
.section--pine .rule { background: rgba(251,248,243,.18); }

.rule { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: clamp(1rem, .5rem + 1.6vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.row--wrap { flex-wrap: wrap; }
.gap-s { gap: .6rem; }
.gap-m { gap: 1.15rem; }
.gap-l { gap: 2rem; }
.gap-xl { gap: clamp(2rem, 1rem + 3vw, 4.5rem); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 1.2rem + 3.4vw, 4.6rem);
}
.section-head p { color: var(--ink-2); max-width: 52ch; }

.between { justify-content: space-between; }
.center { justify-content: center; }
.mt-l { margin-top: clamp(2rem, 1rem + 2.6vw, 3.6rem); }
.mt-xl { margin-top: clamp(3rem, 1.5rem + 4.5vw, 6rem); }
.mb-l { margin-bottom: clamp(2rem, 1rem + 2.6vw, 3.6rem); }
.center-text { text-align: center; }
.center-text .eyebrow { justify-content: center; }
.mx-auto { margin-inline: auto; }

/* ── 05  Motion primitives ─────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal='fade'] { transform: none; }
[data-reveal='scale'] { transform: scale(.94); }
[data-reveal='left'] { transform: translate3d(-38px, 0, 0); }
[data-reveal='right'] { transform: translate3d(38px, 0, 0); }
[data-reveal='clip'] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal='clip'].is-in { clip-path: inset(0 0 0 0); }

/* Word/line mask reveals */
.split-line {
  display: block;
  overflow: hidden;
}
.split-line > span {
  display: block;
  /* The font's own vertical metrics. Bodoni Moda's ascent and descent
     together are far taller than 1em, so a tighter line-height inside an
     overflow mask slices the tops off the capitals and the tails off the
     descenders. `normal` gives the line box the full metric height, so
     nothing is clipped. */
  line-height: normal;
  transform: translate3d(0, 108%, 0) rotate(2deg);
  transform-origin: 0 100%;
  transition: transform 1.05s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.is-in .split-line > span,
.split-line.is-in > span { transform: none; }

.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-word > span {
  display: inline-block;
  line-height: normal;
  transform: translate3d(0, 112%, 0);
  transition: transform .95s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.is-in .split-word > span,
.split-word.is-in > span { transform: none; }

/* Hairline draw-in */
[data-rule] {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.is-in [data-rule], [data-rule].is-in { transform: scaleX(1); }

/* ── 06  Chrome ────────────────────────────────────────────────────────── */

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: transform 1s var(--ease-io), opacity .5s linear .5s;
}
.preloader__inner { text-align: center; }
.preloader__count {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}
.preloader__label {
  margin-top: 1rem;
  font-size: var(--t-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.preloader__bar {
  width: min(240px, 52vw);
  height: 1px;
  background: var(--line);
  margin: 1.6rem auto 0;
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--clay);
  transition: width .18s linear;
}
.preloader.is-done {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Custom cursor */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 9995;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(255,255,255,.7);
  transition: width .3s var(--ease-out), height .3s var(--ease-out),
              margin .3s var(--ease-out), opacity .3s linear, background .3s linear;
}
.cursor-dot {
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: #fff;
}
.cursor.is-hover {
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  background: rgba(255,255,255,.14);
}
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* Scroll progress */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--clay);
  z-index: 1200;
  pointer-events: none;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: transform .55s var(--ease-out), background .45s var(--ease-out),
              box-shadow .45s var(--ease-out), border-color .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(251,248,243,.8);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: background .45s var(--ease-out);
  pointer-events: none;
}
.header.is-stuck::before { background: rgba(251,248,243,.96); }
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(27,25,21,.5);
}
/* The header is a fixed, always-present navigation bar. It is never hidden. */
.header.is-hidden { transform: none; }
.header.is-hidden { transform: translateY(-102%); }
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--ink);
}
.brand__mark {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: -.02em;
  transition: transform .5s var(--ease-out), background .4s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); background: var(--clay); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.9rem); }
.nav__link {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: .5rem .1rem;
  color: var(--ink-2);
  transition: color .3s var(--ease-out);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .22rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.nav__link.is-active::after { background: var(--clay); }

.header__actions { display: flex; align-items: center; gap: .8rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  place-items: center;
  position: relative;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.burger:hover { background: var(--paper-3); }
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  position: absolute;
  transition: transform .45s var(--ease-out), opacity .3s linear;
}
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
body.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--paper);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .85s var(--ease-io);
  visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 10vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  padding: .28em 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(28px);
  opacity: 0;
  transition: transform .7s var(--ease-out), opacity .5s linear;
}
body.menu-open .menu__links a { transform: none; opacity: 1; }
.menu__links a span {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.menu__foot {
  margin-top: 2.5rem;
  display: grid;
  gap: .4rem;
  font-size: var(--t-sm);
  color: var(--ink-2);
}

/* ── 07  Components ────────────────────────────────────────────────────── */

/* Buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: 1.05em 1.9em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease-out), transform .45s var(--ease-out),
              box-shadow .45s var(--ease-out);
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 10px 26px -16px rgba(27,25,21,.7);
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--clay);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(140,63,41,.8); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform .5s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: none;
}
.btn--ghost:hover { color: #fff; border-color: transparent; }
.btn--clay { --btn-bg: var(--clay); --btn-fg: #fff; }
.btn--clay::before { background: var(--ink); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--light::before { background: var(--clay); }
.btn--sm { padding: .78em 1.3em; font-size: .78rem; }
.btn--block { width: 100%; }

/* Link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: .35em;
  border-bottom: 1px solid var(--line-2);
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.arrow-link svg { transition: transform .45s var(--ease-out); }
.arrow-link:hover { color: var(--clay); border-color: var(--clay); }
.arrow-link:hover svg { transform: translateX(5px); }

/* Media / figure */
.media {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  border-radius: var(--radius);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.25s var(--ease-out);
  will-change: transform;
}
.media--r { border-radius: 0; }
.media--16-9 { aspect-ratio: 16/9; }
.media--4-3 { aspect-ratio: 4/3; }
.media--4-1 { aspect-ratio: 4/1; }
.media--3-2 { aspect-ratio: 3/2; }
.media--4-5 { aspect-ratio: 4/5; }
.media--1-1 { aspect-ratio: 1/1; }
.media--5-4 { aspect-ratio: 5/4; }
.media--21-9 { aspect-ratio: 21/9; }
.media--tall { aspect-ratio: 2/3; }
.media--fill { position: absolute; inset: 0; }

a:hover .media img, .card:hover .media img, .media:hover img { transform: scale(1.055); }

.media__tag {
  position: absolute;
  left: 1rem; top: 1rem;
  z-index: 2;
  background: rgba(251,248,243,.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .5em .85em;
  border-radius: 100px;
}
.media__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(to top, rgba(20,18,15,.78), rgba(20,18,15,0));
  color: #fff;
  font-size: var(--t-xs);
  letter-spacing: .04em;
}
.media__count {
  position: absolute;
  right: 1rem; bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-size: var(--t-xs);
  letter-spacing: .12em;
  background: rgba(20,18,15,.45);
  backdrop-filter: blur(6px);
  padding: .4em .7em;
  border-radius: 100px;
}

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out),
              border-color .6s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 28px 60px -34px rgba(27,25,21,.42);
}
.card__body { padding: clamp(1.15rem, .8rem + .9vw, 1.85rem); display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.15; letter-spacing: -.02em; }
.card__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--clay);
  white-space: nowrap;
}
.card__price small { font-size: .68em; color: var(--ink-3); font-family: var(--font-body); letter-spacing: .04em; }
.card__text { color: var(--ink-2); font-size: var(--t-sm); margin-top: .6rem; }
.card__foot {
  margin-top: auto;
  padding-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Spec list */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec {
  background: var(--white);
  padding: .9rem 1rem;
}
.spec__k {
  font-size: var(--t-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: .3rem;
}
.spec__v { font-size: .9375rem; font-weight: 500; color: var(--ink); line-height: 1.35; }

/* Feature list with ticks.
   The marker is absolutely positioned rather than a flex item — otherwise
   the <strong> and the following text become separate flex children and
   the item breaks into two narrow columns. */
.ticks { display: grid; gap: .7rem; }
.ticks li {
  position: relative;
  display: block;
  padding-left: 1.9rem;
  font-size: .9375rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: .22em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--clay-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4553A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.ticks--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem 1.6rem; }

/* The room, in one line — a static typographic statement */
.statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 32;
  font-size: clamp(1.6rem, 0.7rem + 3.1vw, 3.4rem);
  line-height: 1.24;
  letter-spacing: -0.006em;
  color: var(--ink);
  max-width: 26ch;
  margin: 0;
  text-wrap: balance;
}
.statement-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 1rem + 3vw, 4.5rem);
  align-items: end;
}
.statement__note {
  margin: 0 0 .35rem;
  font-size: var(--t-sm);
  color: var(--ink-3);
  max-width: 38ch;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-2);
}
@media (max-width: 860px) {
  .statement-wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .statement__note { margin-top: .4rem; }
}

/* Stats */
.stat { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.stat__n {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.stat__k {
  margin-top: .6rem;
  font-size: var(--t-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, .8rem + .8vw, 1.7rem) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  transition: color .35s var(--ease-out);
}
.acc__btn:hover { color: var(--clay); }
.acc__icon {
  flex: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), transform .5s var(--ease-out);
}
.acc__icon::before, .acc__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform .45s var(--ease-out), opacity .3s linear;
}
.acc__icon::before { width: 12px; height: 1.5px; }
.acc__icon::after { width: 1.5px; height: 12px; }
.acc__item.is-open .acc__icon { background: var(--clay); border-color: var(--clay); color: #fff; transform: rotate(90deg); }
.acc__item.is-open .acc__icon::after { opacity: 0; transform: scaleY(0); }
.acc__panel {
  overflow: hidden;
  height: 0;
  transition: height .6s var(--ease-out);
}
.acc__panel > div { padding: 0 0 clamp(1.2rem, .8rem + 1vw, 2rem); color: var(--ink-2); max-width: var(--maxw-text); }

/* Tabs */
.tabs__nav {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.8rem);
}
.tabs__tab {
  position: relative;
  padding: .8rem 1.1rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .35s var(--ease-out);
}
.tabs__tab::after {
  content: '';
  position: absolute;
  left: .6rem; right: .6rem; bottom: -1px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform .5s var(--ease-out);
}
.tabs__tab.is-active { color: var(--ink); }
.tabs__tab.is-active::after { transform: scaleX(1); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadeUp .7s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Forms */
.field { display: block; margin-bottom: 1.35rem; }
.field__label {
  display: block;
  font-size: var(--t-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .55rem;
}
.field__input,
.field__area,
.field__select {
  width: 100%;
  padding: .95rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  appearance: none;
}
.field__area { min-height: 150px; resize: vertical; }
.field__input:focus,
.field__area:focus,
.field__select:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(180,85,58,.13);
}
.field__input::placeholder, .field__area::placeholder { color: var(--ink-4); }
.field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B7266' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.6rem;
}
.field__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.35rem; }
.field__error { color: var(--clay); font-size: var(--t-xs); margin-top: .4rem; display: none; }
.field.is-invalid .field__input,
.field.is-invalid .field__area,
.field.is-invalid .field__select { border-color: var(--clay); }
.field.is-invalid .field__error { display: block; }

/* Checkbox */
.check { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  flex: none;
  width: 19px; height: 19px;
  margin-top: .16em;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.check__box::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .3s var(--ease-out);
  margin-top: -2px;
}
.check input:checked + .check__box { background: var(--clay); border-color: var(--clay); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--clay); outline-offset: 2px; }

/* Pill / chip */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .45em .95em;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: var(--t-xs);
  letter-spacing: .05em;
  color: var(--ink-2);
  background: var(--white);
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.pill:hover { border-color: var(--clay); color: var(--clay); }
.pill--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill--clay { background: var(--clay); color: #fff; border-color: var(--clay); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Callout band */
.callout {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
}
.callout__bg { position: absolute; inset: 0; z-index: -2; }
.callout__bg img { width: 100%; height: 100%; object-fit: cover; }
.callout::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(22,35,29,.88) 0%, rgba(22,35,29,.62) 48%, rgba(22,35,29,.25) 100%);
}
.callout__inner {
  padding: clamp(2.2rem, 1.2rem + 4.4vw, 5.5rem);
  color: var(--paper);
  max-width: 44rem;
}
.callout h2, .callout h3 { color: var(--paper); }
.callout p { color: rgba(251,248,243,.8); }

/* Footer */
.footer {
  background: var(--pine-2);
  color: rgba(251,248,243,.72);
  padding-top: clamp(3.5rem, 2rem + 6vw, 7rem);
  position: relative;
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 1rem + 3vw, 4rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.footer h4 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer a { transition: color .3s var(--ease-out); }
.footer a:hover { color: var(--paper); }
.footer__links { display: grid; gap: .55rem; font-size: .9375rem; }
.footer__brand { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.9rem); color: var(--paper); line-height: 1.02; letter-spacing: -.03em; }
.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 15vw, 14rem);
  line-height: .82;
  letter-spacing: -.045em;
  color: rgba(251,248,243,.07);
  white-space: nowrap;
  margin: 0;
  user-select: none;
  margin-top: -2vw;
}
.footer__base {
  border-top: 1px solid rgba(251,248,243,.14);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: rgba(251,248,243,.5);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9997;
  background: rgba(24,22,19,.94);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility .45s linear;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 2px; }
.lightbox__cap { color: rgba(251,248,243,.8); font-size: var(--t-xs); margin-top: 1rem; text-align: center; letter-spacing: .1em; text-transform: uppercase; }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 48px; height: 48px;
  border: 1px solid rgba(251,248,243,.3);
  border-radius: 50%;
  color: var(--paper);
  display: grid; place-items: center;
  transition: background .3s var(--ease-out);
}
.lightbox__close:hover { background: rgba(251,248,243,.12); }

/* Horizontal slider — a real carousel on every breakpoint.
   Desktop: the track is translated by vertical scroll position.
   Mobile:  the viewport scrolls natively with snap points. */
.hscroll { position: relative; }
.hscroll__viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.hscroll__viewport::-webkit-scrollbar { display: none; }
.hscroll__viewport.is-dragging { cursor: grabbing; }
.hscroll__viewport.is-dragging * { user-select: none; }
.hscroll__track {
  display: flex;
  gap: clamp(1rem, .6rem + 1.4vw, 1.8rem);
  padding-inline: var(--gutter);
  will-change: transform;
}
/* flex: none is essential — without it the cards shrink to fit the viewport
   and the slider stops sliding altogether. */
.hscroll__track > * {
  flex: none;
  width: clamp(300px, 29vw, 430px);
}

.hscroll__controls {
  display: flex;
  align-items: center;
  gap: clamp(1rem, .6rem + 1.4vw, 1.8rem);
  margin-top: clamp(1.4rem, 1rem + 1.2vw, 2.2rem);
}
.hscroll__rail {
  flex: 1;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hscroll__thumb {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 30%;
  background: var(--clay);
  transform: translate3d(0, 0, 0);
  transition: transform .18s linear, width .3s var(--ease-out);
}
.hscroll__buttons { display: flex; gap: .5rem; flex: none; }
.hscroll__btn {
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  transition: background .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.hscroll__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.hscroll__btn[disabled] { opacity: .28; pointer-events: none; }
.hscroll__hint {
  font-size: var(--t-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
  flex: none;
}

/* Sticky story */
.sticky-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.sticky-story__aside { position: sticky; top: calc(var(--header-h) + 2rem); }

/* Numbered index */
.idx-list { counter-reset: idx; display: grid; }
.idx-list__item {
  counter-increment: idx;
  display: grid;
  grid-template-columns: 3.2rem minmax(0,1fr);
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.idx-list__item::before {
  content: counter(idx, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--clay);
  padding-top: .35em;
}

/* Icon tile */
.icon-tile {
  display: grid;
  gap: .7rem;
  padding: clamp(1.2rem, .9rem + 1vw, 1.9rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.icon-tile:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 22px 44px -30px rgba(27,25,21,.4); }
.icon-tile__ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--clay);
  display: grid; place-items: center;
  transition: background .45s var(--ease-out), color .45s var(--ease-out);
}
.icon-tile:hover .icon-tile__ico { background: var(--clay); color: #fff; }
.icon-tile h4 { font-family: var(--font-display); font-size: 1.1rem; }
.icon-tile p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }

/* Data table */
.dtable { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.dtable th, .dtable td { text-align: left; padding: 1rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable thead th {
  font-size: var(--t-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  border-bottom-color: var(--line-2);
}
.dtable tbody tr { transition: background .3s var(--ease-out); }
.dtable tbody tr:hover { background: var(--paper-2); }
.dtable td:first-child { font-weight: 500; }
.dtable .tick { color: var(--clay); }
.dtable .dash { color: var(--ink-4); }

/* Compare table */
.compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare table { min-width: 940px; }
.compare table thead th:first-child,
.compare table tbody td:first-child { min-width: 190px; }
.compare::-webkit-scrollbar { height: 4px; }
.compare::-webkit-scrollbar-track { background: var(--paper-2); }
.compare::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }

/* Map embed */
.mapframe {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.mapframe iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75) contrast(1.02); }

/* Contact detail rows */
.dlist { display: grid; }
.dlist__row {
  display: grid;
  grid-template-columns: minmax(120px, .5fr) minmax(0, 1.5fr);
  gap: 1rem 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.dlist__k { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.dlist__v { font-size: 1.02rem; }
.dlist__v a:hover { color: var(--clay); }

/* Breadcrumb */
.crumbs { display: flex; gap: .55rem; align-items: center; font-size: var(--t-xs); color: var(--ink-3); letter-spacing: .06em; }
.crumbs a:hover { color: var(--clay); }
.crumbs span { color: var(--ink-4); }

/* Page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--pine-2);
  transform: translateY(100%);
  pointer-events: none;
}
.curtain.is-up { transform: translateY(0); transition: transform .6s var(--ease-io); }

/* ── 08  Page blocks ───────────────────────────────────────────────────── */

/* Hero (page header) */
.phero {
  position: relative;
  min-height: clamp(460px, 62vh, 720px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  overflow: hidden;
  background: var(--paper-2);
}
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(251,248,243,1) 0%, rgba(251,248,243,.98) 24%, rgba(251,248,243,.86) 44%, rgba(251,248,243,.42) 66%, rgba(251,248,243,.08) 86%),
    linear-gradient(to bottom, rgba(251,248,243,.88) 0%, rgba(251,248,243,.24) 11%, rgba(251,248,243,0) 25%);
}
@media (max-width: 760px) {
  .hhero::after { height: 46svh; }
}
.phero__inner { position: relative; z-index: 2; width: 100%; }
.phero h1 { max-width: 16ch; }

/* Home hero — image band with the headline overlapping its lower edge */
.hhero {
  position: relative;
  display: block;
  min-height: 0;
  padding-top: 0;
  padding-bottom: clamp(2.2rem, 1rem + 4vw, 4.5rem);
  overflow: hidden;
  background: var(--paper);
}
.hhero__bg { position: absolute; top: 0; left: 0; right: 0; height: 38svh; z-index: 0; overflow: hidden; }
@media (max-width: 760px) { .hhero__bg { height: 34svh; } }
.hhero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  /* A slow drift instead of a scroll-linked shift. Parallax on this band
     pushed the photograph down over the headline, so the motion here is
     purely a gentle scale that never affects the layout. */
  animation: heroDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroDrift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(-1.2%, -1.6%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hhero__bg img { animation: none; }
}
.hhero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 38svh; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(251,248,243,.9) 0%, rgba(251,248,243,.2) 10%, rgba(251,248,243,0) 24%),
    linear-gradient(to top, rgba(251,248,243,1) 0%, rgba(251,248,243,.97) 7%, rgba(251,248,243,.72) 13%, rgba(251,248,243,.24) 21%, rgba(251,248,243,0) 32%);
}
.hhero__inner { position: relative; z-index: 2; width: 100%; }
.hhero__eyebrow { margin-top: calc(38svh - 1.6rem); margin-bottom: 0; }
@media (max-width: 760px) {
  .hhero::after { height: 34svh; }
  .hhero__eyebrow { margin-top: calc(34svh - 1.4rem); }
}
.hhero__title {
  max-width: 17ch;
  margin-top: .7rem;
  position: relative;
}
.hhero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 1fr);
  align-items: end;
  gap: clamp(1.4rem, 1rem + 2.4vw, 3.4rem);
  margin-top: clamp(.9rem, .7rem + .8vw, 1.4rem);
}
.hhero__intro { display: grid; gap: 1.15rem; align-content: end; }
@media (max-width: 860px) {
  .hhero__row { grid-template-columns: minmax(0, 1fr); }
}
.hhero__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; }
.hhero__meta-item { display: flex; align-items: center; gap: .5rem; font-size: var(--t-xs); color: var(--ink-2); letter-spacing: .04em; }
.hhero__meta-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1rem, .4rem + 1.6vw, 2rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  font-size: var(--t-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scroll-cue__line {
  width: 1px; height: 52px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--clay);
  animation: cue 2.1s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }


/* ═══════════════════════════════════════════════════════════════════════
   XHERO — redesigned home hero (full-bleed, dark veil, bottom content)
   ═══════════════════════════════════════════════════════════════════════ */
.xhero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--pine-2);
  color: var(--paper);
  isolation: isolate;
}
.xhero__media { position: absolute; inset: 0; z-index: 0; }
.xhero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: heroDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .xhero__media img { animation: none; }
}
.xhero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(22,35,29,.55) 0%, rgba(22,35,29,.18) 32%, rgba(22,35,29,.55) 72%, rgba(22,35,29,.9) 100%),
    linear-gradient(90deg, rgba(22,35,29,.62) 0%, rgba(22,35,29,0) 58%);
}
.xhero__inner {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1.4rem, 1rem + 2vw, 2.6rem);
  padding-top: clamp(6rem, 4rem + 6vw, 9rem);
  padding-bottom: clamp(1.6rem, .8rem + 2vw, 3rem);
}
.xhero__top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.xhero__eyebrow { color: rgba(251,248,243,.88); margin: 0; }
.xhero__badge {
  font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase;
  padding: .5rem .95rem;
  border: 1px solid rgba(251,248,243,.32);
  border-radius: 999px;
  color: rgba(251,248,243,.9);
  backdrop-filter: blur(4px);
}
.xhero__title {
  font-size: clamp(3rem, 1.6rem + 7vw, 7.8rem);
  line-height: .92; letter-spacing: -.025em;
  color: var(--paper);
  max-width: 11ch;
  margin: 0;
}
.xhero__title em { font-style: italic; color: var(--sand); font-weight: 400; }
.xhero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 360px);
  gap: clamp(1.4rem, 1rem + 2vw, 3rem);
  align-items: end;
}
.xhero__intro .lead { color: rgba(251,248,243,.86); max-width: 56ch; margin: 0; }
.xhero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.1rem; }
.xhero__meta-item {
  font-size: var(--t-xs); color: rgba(251,248,243,.78);
  letter-spacing: .06em;
}
.xhero__meta-item::before { content: '\00b7'; margin-right: .45rem; color: var(--clay); }
.xhero__book {
  background: rgba(251,248,243,.96);
  color: var(--ink);
  padding: 1.5rem 1.6rem;
  border-radius: 6px;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
}
.xhero__book-k {
  font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 .35rem;
}
.xhero__book-price {
  font-family: var(--font-display, 'Bodoni Moda', serif);
  font-size: 2.4rem; line-height: 1; margin: 0 0 1rem;
  color: var(--ink);
}
.xhero__book-price span { font-size: 1rem; color: var(--ink-3); font-family: var(--font-body, 'InterVar', sans-serif); }
.xhero__book-note { font-size: var(--t-xs); color: var(--ink-3); margin: 1rem 0 0; line-height: 1.5; }
.xhero__book-note a { color: var(--clay-deep); text-decoration: underline; }
.xhero__rail {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap;
  gap: .6rem 2rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(251,248,243,.18);
  color: rgba(251,248,243,.82);
  font-size: var(--t-xs); letter-spacing: .04em;
}
.xhero__rail-i { display: inline-flex; align-items: center; gap: .4rem; }
.xhero__rail-i b { color: var(--paper); font-weight: 600; }
.xhero__rail-i--link { margin-left: auto; color: var(--sand); text-decoration: none; }
.xhero__rail-i--link:hover { color: var(--paper); }

@media (max-width: 860px) {
  .xhero__bottom { grid-template-columns: 1fr; }
  .xhero__rail-i--link { margin-left: 0; }
}
@media (max-width: 640px) {
  .xhero__title { font-size: clamp(2.4rem, 1.2rem + 8vw, 4rem); }
  .xhero__top { justify-content: flex-start; }
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(1.8rem, 1rem + 4vw, 5.5rem);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.split--top { align-items: start; }

/* Feature with numbered steps */
.steps { display: grid; gap: 0; counter-reset: step; }
.steps__item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: clamp(1rem, .6rem + 1.6vw, 2.4rem);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.steps__item::before {
  content: '0' counter(step);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + .6vw, 1.7rem);
  color: var(--clay);
  line-height: 1.1;
}
.steps__item h4 { margin-bottom: .4rem; }
.steps__item p { color: var(--ink-2); max-width: 54ch; margin: 0; }

/* Gallery mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, .3rem + 1vw, 1.1rem);
  align-items: start;
}
.mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3/2;
}
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.mosaic__item:hover img { transform: scale(1.06); }

/* Price bar */
.price-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 520px) {
  .price-bar { flex-direction: column; align-items: stretch; gap: .9rem; }
  .price-bar__from { font-size: 1.5rem; }
  .price-bar .btn { width: 100%; justify-content: center; }
}
.price-bar__from { font-family: var(--font-display); font-size: 1.3rem; }
.price-bar__from small { font-size: .62em; color: var(--ink-3); font-family: var(--font-body); }

/* Room block */
.room {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 1rem + 3vw, 4rem);
  align-items: center;
  padding-block: clamp(2.2rem, 1.4rem + 3vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.room:nth-child(even) .room__media { order: 2; }
.room__gallery { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
.room__gallery .media:first-child { grid-column: span 2; aspect-ratio: 16/10; }
.room__gallery .media { aspect-ratio: 4/3; }
.room__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: -.025em; }
.room__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--clay); }
.room__price small { font-size: .6em; color: var(--ink-3); font-family: var(--font-body); letter-spacing: .05em; }

/* Room gallery inside a room */
.roomshots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; margin-top: 1.2rem; }
.roomshots .media { aspect-ratio: 4/3; cursor: zoom-in; }

/* Tag chips */
.tagrow { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.tag {
  font-size: var(--t-xs);
  padding: .35em .8em;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-3);
  background: var(--paper-2);
}

/* Distance table */
.dist { display: grid; }
.dist__row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: .8rem 1.5rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.dist__n { font-weight: 500; }
.dist__d { font-size: var(--t-sm); color: var(--ink-3); }
.dist__t { font-family: var(--font-display); font-size: 1.05rem; color: var(--clay); font-variant-numeric: tabular-nums; }

/* Highlight card (things to do) */
.spot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  color: var(--paper);
}
.spot__bg { position: absolute; inset: 0; z-index: -2; }
.spot__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.spot:hover .spot__bg img { transform: scale(1.07); }
.spot::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,18,15,.86), rgba(20,18,15,.05) 62%);
}
.spot {
  min-height: clamp(300px, 34vw, 440px);
  display: flex;
  align-items: flex-end;
}
.spot__body {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.2rem, .9rem + 1.4vw, 2.1rem);
}
.spot__k { display: block; font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: rgba(251,248,243,.72); }
.spot__t { display: block; font-family: var(--font-display); font-size: clamp(1.15rem, .95rem + .9vw, 1.6rem); margin-top: .5rem; line-height: 1.15; letter-spacing: -.02em; }
.spot__d { display: block; font-size: var(--t-sm); color: rgba(251,248,243,.8); margin-top: .55rem; }
.spot__note {
  display: block;
  margin-top: .9rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(251,248,243,.22);
  font-size: var(--t-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(251,248,243,.55);
}

/* Journal / note */
.note {
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  height: 100%;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.note:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -34px rgba(27,25,21,.4); }
.note__k { font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.note__t { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.2; letter-spacing: -.02em; }
.note__d { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }

/* Review band */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem, .6rem + 1.4vw, 1.8rem); }
.review {
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.review__stars { display: flex; gap: .18rem; color: var(--clay); }
.review__q { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.42; letter-spacing: -.012em; color: var(--ink); }
.review__m { margin-top: auto; font-size: var(--t-xs); color: var(--ink-3); letter-spacing: .05em; padding-top: .6rem; border-top: 1px solid var(--line); }

/* Map pin card */
.pincard {
  display: grid;
  gap: .5rem;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pincard__k { font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.pincard__v { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; }

/* Page transition */
.page-fade { opacity: 0; transition: opacity .35s linear; }
.page-fade.is-ready { opacity: 1; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 140%);
  z-index: 9996;
  background: var(--ink);
  color: var(--paper);
  padding: .9rem 1.4rem;
  border-radius: 100px;
  font-size: var(--t-sm);
  box-shadow: 0 20px 40px -22px rgba(0,0,0,.6);
  transition: transform .55s var(--ease-out);
  max-width: min(90vw, 460px);
  text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ── 09  Responsive ────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__grid { grid-template-columns: minmax(0,1.4fr) repeat(2, minmax(0,1fr)); }
  .footer__grid > :last-child { grid-column: span 2; }
}

@media (max-width: 960px) and (min-width: 761px) {
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--12 > * { grid-column: auto !important; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions .btn { display: none; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .split, .split--wide-left, .split--wide-right, .room { grid-template-columns: 1fr; }
  .room:nth-child(even) .room__media { order: 0; }
  .sticky-story { grid-template-columns: 1fr; }
  .sticky-story__aside { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .roomshots { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mosaic { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hscroll__track { padding-bottom: .5rem; }
  .hscroll__track > * { width: min(80vw, 330px); scroll-snap-align: start; }
  .hscroll__controls { margin-top: 1.1rem; }
  .hscroll__btn { width: 42px; height: 42px; }
  .hscroll__hint { display: none; }
}

@media (max-width: 520px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { padding: .8rem .85rem; }
  .spec__v { font-size: .9rem; }
  .ticks--2 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Horizontal reveal offsets can briefly extend the scrollable area on a
     narrow screen. On phones they fade in place instead. */
  [data-reveal='left'], [data-reveal='right'] { transform: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .grid--12 > * { grid-column: 1 / -1 !important; }
  .ticks--2 { grid-template-columns: 1fr; }
  .field__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > :last-child { grid-column: auto; }
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .room__gallery { grid-template-columns: 1fr; }
  .room__gallery .media:first-child { grid-column: span 1; }
  .roomshots { grid-template-columns: 1fr; }
  .dlist__row { grid-template-columns: 1fr; gap: .3rem; }
  .dist__row { grid-template-columns: 1fr auto; }
  .dist__d { grid-column: 1 / -1; }
  .scroll-cue { display: none; }
  .steps__item { grid-template-columns: 3.2rem minmax(0,1fr); }
  .hhero__row { flex-direction: column; align-items: flex-start; }
  .idx-list__item { grid-template-columns: 2.4rem minmax(0,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split-line > span, .split-word > span { transform: none !important; }
  .cursor, .cursor-dot { display: none; }
}

/* Two side-by-side media that stack on phones */
.pairgrid { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) {
  .pairgrid { grid-template-columns: minmax(0, 1fr); }
  .pairgrid .media--4-5 { aspect-ratio: 3/2; }
}

/* Duo grid — large editorial image pairs */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(.6rem, .3rem + 1vw, 1.1rem);
  align-items: start;
}
.duo__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3/2;
}
.duo__item--tall { aspect-ratio: 4/5; }
.duo__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.15s var(--ease-out); }
.duo__item:hover img { transform: scale(1.055); }
.duo__cap {
  position: absolute;
  left: .9rem; bottom: .9rem;
  right: .9rem;
  z-index: 2;
  color: #fff;
  font-size: var(--t-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0,0,0,.6);
}
@media (max-width: 760px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }
  .duo__cap { font-size: var(--t-xs); left: 1rem; right: 1rem; bottom: 1rem; }
}

/* Bespoke location map card */
.mapcard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #F5F0E6;
  box-shadow: 0 26px 60px -40px rgba(27,25,21,.45);
}
.mapcard .mapart { display: block; width: 100%; height: auto; }

/* Hero detail rail — a masthead strip of hard facts */
.hero-rail {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem clamp(1.5rem, 1rem + 3vw, 4rem);
  padding-top: clamp(1.8rem, 1.2rem + 1.2vw, 2.4rem);
  margin-top: clamp(2rem, 1.4rem + 1.6vw, 3.2rem);
  border-top: 1px solid rgba(27, 25, 21, 0.12);
  background: linear-gradient(to bottom, rgba(251,248,243,.6), transparent);
}
.hero-rail__i {
  display: inline-flex;
  align-items: baseline;
  gap: .6em;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero-rail__i b {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--ink);
  text-shadow: 0 1px 15px rgba(0,0,0,.08);
}
@media (max-width: 760px) {
  .hero-rail { 
    gap: .8rem 1.6rem;
    padding-top: 1.6rem;
  }
  .hero-rail__i--link { margin-left: 0; }
}

/* Every element set in the display face needs the same weight and optical
   size, or the family reads as two different typefaces. */
.brand__name, .card__title, .note__t, .footer__brand, .footer__wordmark,
.stat__n, .preloader__count, .room__title, .room__price, .price-bar__from,
.dist__t, .marquee__item, .spot__t, .review__q, .acc__btn, .hero-rail__i b,
.pincard__v, .roomshot__t {
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 32;
}

/* Hero booking card — the primary call to action */
.bookcard {
  display: grid;
  gap: .7rem;
  padding: clamp(1rem, .85rem + .6vw, 1.4rem);
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 24px 54px -38px rgba(27,25,21,.55);
}
.bookcard__k {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0;
}
.bookcard__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 32;
  font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: .4em;
  min-width: 0;
  white-space: nowrap;
}
.bookcard__price span {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.bookcard__note {
  font-size: var(--t-xs);
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
}
.bookcard__note a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.bookcard__note a:hover { color: var(--clay); border-color: var(--clay); }

/* The booking card turns horizontal on phones so it never pushes the
   call to action off the bottom of the screen. */
@media (max-width: 860px) {
  .bookcard {
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
  }
  .bookcard__k { grid-column: 1; }
  .bookcard__price { grid-column: 1; grid-row: 2; font-size: 1.9rem; }
  .bookcard .btn {
    grid-column: 1; grid-row: 3;
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    padding: .95em 1em;
    font-size: .72rem;
    letter-spacing: .14em;
  }
  .bookcard__note { grid-column: 1; grid-row: 4; }
}

/* Persistent mobile booking bar — once the hero has been scrolled past
   the call to action stays within reach on every page. */
.mcta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  display: none;
  background: rgba(251,248,243,.95);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -24px rgba(27,25,21,.5);
  transform: translateY(110%);
  transition: transform .5s var(--ease-out);
}
.mcta.is-on { transform: none; }
.mcta__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom, 0px));
}
.mcta__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 32;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -.015em;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: .35em;
  min-width: 0;
  white-space: nowrap;
}
.mcta__price span {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .mcta { display: block; }
  body { padding-bottom: 76px; }
  .mcta .btn { flex: none; white-space: nowrap; padding: .85em 1.15em; font-size: .72rem; letter-spacing: .12em; }
}
