/* The Tranquil Cradle
   A dark, night-forest theme taken from the property's own evening photographs:
   ink-green night, bone text, and a single warm accent, the lamp light in the A-frame windows.
   The site is dark by design (one theme, no light variant).

   Shape rule: photographs, panels and cards are square-cornered like the A-frame gables;
   everything you press (buttons, pins, chips) is a full pill.
   z-index scale: content 1, header 50, floating button 60, menu 70, grain 80, lightbox (top layer). */

@font-face { font-family: "Zodiak"; src: url("../assets/fonts/zodiak-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("../assets/fonts/zodiak-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("../assets/fonts/zodiak-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("../assets/fonts/zodiak-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* Metric-matched fallbacks: while the web fonts load, Georgia and Arial are scaled to take up the
   same space, so nothing on the page jumps when the real fonts arrive (measured with fontTools). */
@font-face { font-family: "Zodiak Fallback"; src: local("Georgia"), local("Noto Serif"), local("DejaVu Serif"); size-adjust: 109%; ascent-override: 90.8%; descent-override: 22.9%; line-gap-override: 8.3%; }
@font-face { font-family: "Zodiak Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"), local("Noto Serif Italic"); size-adjust: 110.7%; ascent-override: 89.4%; descent-override: 25.3%; line-gap-override: 8.1%; }
@font-face { font-family: "Hanken Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 101.1%; ascent-override: 98.9%; descent-override: 30%; line-gap-override: 0%; }

:root {
  color-scheme: dark;

  --night: #0b100d;
  --night-2: #101713;
  --night-3: #172019;
  --moss: #8fae8f;
  --moss-deep: #2c4434;
  --bone: #ede6d8;
  --bone-2: rgba(237, 230, 216, 0.76);
  --bone-3: rgba(237, 230, 216, 0.56);
  --line: rgba(237, 230, 216, 0.13);
  --line-2: rgba(237, 230, 216, 0.26);
  --lamp: #e9a65b;
  --lamp-2: #f4c08a;
  --on-lamp: #1a1209;

  --serif: "Zodiak", "Zodiak Fallback", Georgia, serif;
  --sans: "Hanken Grotesk", "Hanken Fallback", Arial, sans-serif;

  --gutter: clamp(18px, 4vw, 56px);
  --max: 1360px;
  --header-h: 76px;
  --section-y: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* film grain, fixed and non-interactive so it never repaints with scrolling content */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none;
  opacity: 0.07;
  background-image: url("../assets/img/grain.png");
}

img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
picture { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
.lede, .manifesto-text, .hero-sub { text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--lamp); color: var(--on-lamp); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 0.98; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.08; }
h1 em, h2 em, h3 em, .brand-name em, .footer-wordmark em { font-style: italic; color: var(--lamp-2); padding-right: 0.04em; }

:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--lamp); color: var(--on-lamp); padding: 10px 16px; text-decoration: none; border-radius: 99px; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: block;
  margin-bottom: 1.4rem;
  font: 500 0.75rem/1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.lede { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.65; color: var(--bone-2); max-width: 54ch; }

.section { padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(48px, 6vw, 96px); max-width: 900px; }
.section-head h2 + .lede { margin-top: 1.5rem; }
.section-head.split {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 64px; align-items: end;
}
.section-head.split .lede { margin-top: 0; }
@media (max-width: 900px) { .section-head.split { grid-template-columns: 1fr; } }


/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1em 1.6em;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 0.9375rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-lamp { background: var(--lamp); color: var(--on-lamp); }
.btn-lamp:hover { background: var(--lamp-2); }
.btn-glass {
  color: #fff; border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: #fff; color: var(--night); }
.btn-ghost { border-color: var(--line-2); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone); background: var(--bone); color: var(--night); }
.btn-sm { padding: 0.8em 1.25em; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arrow:hover { gap: 0.8em; border-color: var(--lamp); }
.link-arrow .icon { width: 1em; height: 1em; }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.site-header.is-solid {
  background: rgba(11, 16, 13, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font: 400 1.3rem/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-links { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav-links a {
  text-decoration: none; font-size: 0.9375rem; font-weight: 500; white-space: nowrap; color: var(--bone-2);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--lamp-2); }
.menu-btn {
  display: none; align-items: center; gap: 8px;
  padding: 8px 4px; border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: 0.9375rem;
}
.menu-btn .icon { width: 1.5em; height: 1.5em; }
@media (max-width: 1040px) {
  .nav-links, .nav > .btn { display: none; }
  .menu-btn { display: inline-flex; }
}

.menu-sheet {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  padding: 18px var(--gutter) 32px;
  background: var(--night-2);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}
.menu-sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease); }
.menu-sheet-top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.menu-sheet ul { margin-top: 40px; display: grid; gap: 2px; }
.menu-sheet ul a { display: block; padding: 4px 0; font: 300 clamp(2rem, 9vw, 3rem)/1.15 var(--serif); text-decoration: none; }
.menu-sheet ul a:hover { color: var(--lamp-2); font-style: italic; }
.menu-sheet > .btn { margin-top: auto; }

/* ---------- opening curtain (first visit of a session) ---------- */

.intro-curtain { display: none; }
.intro .intro-curtain {
  display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none;
}
.intro-done .intro-curtain { display: none; }
.intro-half {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background: radial-gradient(ellipse 90% 70% at 100% 50%, #172019 0%, var(--night) 70%);
  animation: intro-open-left 0.9s cubic-bezier(0.76, 0, 0.24, 1) 1.6s forwards;
}
.intro-left { left: 0; }
.intro-right { right: 0; background: radial-gradient(ellipse 90% 70% at 0% 50%, #172019 0%, var(--night) 70%); animation-name: intro-open-right; }
@keyframes intro-open-left { to { transform: translateX(-101%); } }
@keyframes intro-open-right { to { transform: translateX(101%); } }
/* the seam of light where it parts */
.intro-seam {
  position: absolute; left: 50%; top: 50%; width: 1px; height: 0; translate: -50% -50%;
  background: linear-gradient(180deg, transparent, var(--lamp-2) 20%, #fff3dc 50%, var(--lamp-2) 80%, transparent);
  box-shadow: 0 0 18px 2px rgba(244, 192, 138, 0.55);
  animation: intro-seam 0.35s cubic-bezier(0.65, 0, 0.35, 1) 1.32s forwards, intro-fade 0.4s ease 1.75s forwards;
}
@keyframes intro-seam { to { height: 100%; } }
@keyframes intro-fade { to { opacity: 0; } }
.intro-brand {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  animation: intro-brand-out 0.4s ease 1.3s forwards;
}
@keyframes intro-brand-out { to { opacity: 0; transform: scale(1.04); filter: blur(2px); } }
.intro-mark { width: clamp(150px, 24vmin, 240px); height: auto; overflow: visible; }
.intro-mark * {
  fill: none !important; stroke: var(--lamp-2) !important; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round;
  opacity: 1 !important;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: intro-draw 0.85s cubic-bezier(0.45, 0, 0.2, 1) calc(0.1s + var(--i) * 0.012s) forwards;
}
.intro-mark g { animation: none; stroke-dasharray: none; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
.intro-name {
  font: 300 clamp(1.6rem, 3.4vw, 2.4rem)/1 var(--serif); letter-spacing: -0.02em; color: var(--bone);
  opacity: 0; transform: translateY(12px); animation: intro-rise 0.7s var(--ease) 0.55s forwards;
}
.intro-name em { color: var(--lamp-2); }
.intro-place {
  font: 500 0.6875rem/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--bone-3);
  opacity: 0; animation: intro-rise 0.7s var(--ease) 0.75s forwards;
}
@keyframes intro-rise { to { opacity: 1; transform: none; } }
/* the hero's own title waits for the curtain */
.intro.motion-pre .hero-mask-kicker { animation-delay: 1.85s; }
.intro.motion-pre .hero-mask-word { animation-delay: 1.97s; }
/* skipped: part straight away */
.intro-skip .intro-brand { animation: intro-brand-out 0.2s ease forwards; }
.intro-skip .intro-seam { animation: intro-fade 0.2s ease forwards; }
.intro-skip .intro-half { animation-duration: 0.55s; animation-delay: 0s; }
.intro-skip.motion-pre .hero-mask-kicker, .intro-skip.motion-pre .hero-mask-word { animation-delay: 0.2s; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media picture, .hero-media > img { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* darkens the photo where the words sit. During the opening title the words aren't there yet, so it starts
   light (the photo shows clearly through the letters) and comes up with the text */
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 16, 13, 0.55) 0%, rgba(11, 16, 13, 0) 22%),
    linear-gradient(90deg, rgba(11, 16, 13, 0.6) 0%, rgba(11, 16, 13, 0.22) 45%, rgba(11, 16, 13, 0) 68%),
    linear-gradient(0deg, rgba(11, 16, 13, 0.92) 0%, rgba(11, 16, 13, 0.4) 42%, rgba(11, 16, 13, 0) 72%);
}

/* the knockout: night-coloured sheet, white letters, multiplied over the photo */
.hero-mask {
  position: absolute; inset: 0; z-index: 2;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  background: var(--night);
  color: #fff;
  mix-blend-mode: multiply;
  pointer-events: none;
  will-change: transform, opacity;
}
.motion .hero-mask, .motion-pre .hero-mask { display: flex; }
.motion-pre .hero-content { opacity: 0; }
.motion-pre .hero-shade { opacity: 0.3; }
.motion-pre .hero-mask-kicker, .motion-pre .hero-mask-word { animation: mask-in 1.6s var(--ease) both; }
.motion-pre .hero-mask-word { animation-delay: 0.12s; }
@keyframes mask-in { from { transform: translateY(28%) scale(0.96); } to { transform: none; } }
.hero-mask-kicker { font: italic 300 clamp(1.8rem, 5vw, 4.6rem)/1 var(--serif); margin-bottom: -0.1em; }
.hero-mask-word {
  font: 400 clamp(6rem, 27vw, 30rem)/0.8 var(--serif);
  letter-spacing: -0.045em;
  padding-bottom: 0.08em;
}

.hero-content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(48px, 9vh, 104px);
  color: #fff;
}
.hero .eyebrow { color: rgba(255, 255, 255, 0.7); }
.hero h1 {
  font-size: clamp(2.9rem, 6.6vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 15ch;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.35);
}
.hero h1 em { color: var(--lamp-2); }
.hero-bottom {
  margin-top: clamp(28px, 4vh, 48px);
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px;
}
.hero-sub { max-width: 42ch; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, 0.84); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }


/* "scroll" cue under the title sequence, so the dark opening screen doesn't read as a page still loading */
.hero-cue {
  position: absolute; left: 50%; bottom: clamp(22px, 4.5vh, 44px); z-index: 4;
  display: none; flex-direction: column; align-items: center; gap: 12px;
  transform: translateX(-50%);
  font: 500 0.6875rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}
.motion .hero-cue, .motion-pre .hero-cue { display: flex; }
/* the fade-in sits on the children: the scroll timeline owns the cue's own opacity */
.hero-cue > * { animation: cue-in 1s ease 1.4s both; }
.hero-cue i { position: relative; width: 1px; height: 46px; overflow: hidden; background: rgba(255, 255, 255, 0.18); }
.hero-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: var(--lamp-2); animation: cue-drop 2.2s var(--ease) infinite; }
@keyframes cue-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cue-drop { from { transform: translateY(-100%); } 70%, to { transform: translateY(230%); } }

/* laptops and wider: the photo is a tall panel on the right, the headline on the left */
@media not all and (max-aspect-ratio: 3/4) {
  .hero-media { left: 52%; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(11, 16, 13, 0) 50%, rgba(11, 16, 13, 0.85) 52%, rgba(11, 16, 13, 0.25) 60%, rgba(11, 16, 13, 0) 70%),
      linear-gradient(180deg, rgba(11, 16, 13, 0.5) 0%, rgba(11, 16, 13, 0) 20%),
      linear-gradient(0deg, rgba(11, 16, 13, 0.5) 0%, rgba(11, 16, 13, 0) 30%);
  }
  .hero-content > * { max-width: min(44vw, 640px); }
  .hero h1 { font-size: clamp(2.6rem, 4.9vw, 5.4rem); }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (max-width: 640px) {
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
}

/* ---------- ticker: what the place is, drifting past ---------- */

.ticker {
  overflow: hidden;
  padding-block: clamp(18px, 2.6vw, 34px);
  border-block: 1px solid var(--line);
  background: var(--night);
}
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-row { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.ticker-row li {
  display: flex; align-items: center; white-space: nowrap;
  font: 300 clamp(1.5rem, 3.4vw, 3.1rem)/1.1 var(--serif); letter-spacing: -0.02em; color: var(--bone-2);
}
/* a small lamp between the phrases */
.ticker-row li::after {
  content: ""; flex: none; width: 0.22em; height: 0.22em; margin-inline: 0.9em; border-radius: 50%;
  background: var(--lamp-2); box-shadow: 0 0 0.6em rgba(244, 192, 138, 0.7);
}
.ticker-row em { font-style: italic; color: var(--lamp-2); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- manifesto over the contour lines ---------- */

.manifesto {
  position: relative;
  padding-block: clamp(120px, 16vw, 240px) var(--section-y);
  overflow: hidden;
}
.contours { position: absolute; inset: 0; color: var(--moss); pointer-events: none; }
.contours svg { width: 100%; height: 100%; }
.contours .c-minor { stroke-width: 0.7; opacity: 0.22; }
.contours .c-major { stroke-width: 1.2; opacity: 0.42; }
.contours path { vector-effect: non-scaling-stroke; }
.manifesto .contours { -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 85%); }
.contours-pin {
  position: absolute; left: 50%; top: 50%;
  display: inline-flex; align-items: center; gap: 10px;
  transform: translate(-7px, -50%);
  font: 500 0.75rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lamp-2);
}
.contours-pin i {
  width: 14px; height: 14px; border-radius: 50%; background: var(--lamp);
  box-shadow: 0 0 0 6px rgba(233, 166, 91, 0.18), 0 0 30px 6px rgba(233, 166, 91, 0.45);
}
.manifesto-inner { position: relative; }
.manifesto-text {
  max-width: 22ch;
  font: 300 clamp(2.2rem, 5vw, 4.8rem)/1.08 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.manifesto-text em { font-style: italic; color: var(--lamp-2); }
.manifesto-text .word { display: inline-block; }
.manifesto-body {
  margin: clamp(48px, 7vw, 96px) 0 0 auto;
  max-width: 560px;
  display: grid; gap: 1.1rem;
  color: var(--bone-2);
}
.figures {
  margin-top: clamp(72px, 9vw, 140px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.figures > div { padding: 28px 24px 0 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.figures dt { font: 300 clamp(3rem, 6vw, 5.6rem)/0.9 var(--serif); letter-spacing: -0.04em; }
.figures dt small { font-size: 0.32em; letter-spacing: 0; margin-left: 0.25em; color: var(--bone-3); font-style: italic; }
.figures dd { margin-top: 14px; color: var(--bone-2); font-size: 0.9375rem; line-height: 1.45; max-width: 22ch; }
@media (max-width: 900px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures > div:nth-child(n + 3) { margin-top: 32px; }
  .manifesto-body { margin-left: 0; }
  .contours-pin { top: 22px; left: auto; right: var(--gutter); transform: none; flex-direction: row-reverse; }
}

/* ---------- rooms: horizontal track ---------- */

.rooms { position: relative; background: var(--night-2); border-block: 1px solid var(--line); }
.rooms-pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.rooms-track {
  display: flex; align-items: stretch; gap: clamp(28px, 4vw, 72px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  height: 100%;
  will-change: transform;
}
.rooms-intro, .rooms-outro { flex: none; width: min(460px, 82vw); display: flex; flex-direction: column; justify-content: center; }
.rooms-intro h2 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); }
.rooms-intro .lede { margin-top: 1.5rem; }
.rooms-from { margin-top: 2.5rem; font: 300 1.5rem/1 var(--serif); color: var(--bone-2); }
.rooms-from strong { font-weight: 400; color: var(--lamp-2); font-size: 2.6rem; letter-spacing: -0.02em; margin-inline: 0.15em; }
.rooms-outro h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.rooms-outro p { margin: 1rem 0 2rem; color: var(--bone-2); }
.rooms-outro .btn { align-self: flex-start; }

.room {
  flex: none;
  width: min(1120px, 84vw);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
}
.room-media { position: relative; height: min(72vh, 680px); overflow: hidden; }
.room-media picture, .room-media img { width: 100%; height: 100%; }
.room-media img { object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.room:hover .room-media img { transform: scale(1.0); }
/* more views of the room: small photo buttons over the picture; a tap swaps the big photo */
.room-thumbs { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 8px; max-width: calc(100% - 28px); padding: 6px; border-radius: 14px; background: rgba(11, 16, 13, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; }
.room-thumbs::-webkit-scrollbar { display: none; }
.room-thumb { flex: none; width: 58px; height: 44px; border-radius: 8px; border: 2px solid transparent; background-size: cover; background-position: center; opacity: 0.7; cursor: pointer; transition: opacity 0.25s, border-color 0.25s; }
.room-thumb:hover, .room-thumb:focus-visible { opacity: 1; }
.room-thumb.is-on { opacity: 1; border-color: var(--lamp); }
.room-where { color: var(--bone-3); font: italic 300 1.15rem/1.3 var(--serif); }
.room h3 { margin-top: 10px; font-size: clamp(2.2rem, 3.4vw, 3.4rem); letter-spacing: -0.025em; }
.room-desc { margin-top: 1.1rem; color: var(--bone-2); max-width: 46ch; }
.room-facts { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; padding-block: 16px; border-block: 1px solid var(--line); }
.room-facts dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-3); }
.room-facts dd { font-weight: 600; margin-top: 2px; }
.room-price { margin-top: 1.6rem; color: var(--bone-2); font-size: 0.9375rem; }
.room-price strong { display: block; margin-bottom: 6px; font: 300 2.8rem/1 var(--serif); color: var(--bone); letter-spacing: -0.03em; }
.room-extra { margin-top: 0.5rem; font-size: 0.875rem; color: var(--bone-3); }
.room-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

@media (min-width: 901px) and (max-height: 900px) {
  .rooms-track { padding-top: calc(var(--header-h) + 8px); padding-bottom: 20px; }
  .room-media { height: min(68vh, 600px); }
  .room h3 { font-size: clamp(2rem, 2.8vw, 2.8rem); }
  .room-desc { margin-top: 0.8rem; font-size: 0.975rem; line-height: 1.6; }
  .room-facts { margin-top: 1rem; padding-block: 10px; }
  .room-price { margin-top: 1rem; }
  .room-price strong { font-size: 2.2rem; }
  .room-actions { margin-top: 1.1rem; }
}

/* without the scroll scene (reduced motion, or the scripts didn't load) nothing pans the track,
   so on wide screens the rooms stack instead of sitting in a clipped horizontal row */
@media (min-width: 901px) {
  html:not(.motion) .rooms-pin { height: auto; display: block; overflow: visible; }
  html:not(.motion) .rooms-track { display: grid; gap: clamp(72px, 8vw, 120px); height: auto; padding-block: var(--section-y); }
  html:not(.motion) .room { width: min(1120px, 100%); }
  html:not(.motion) .rooms-intro, html:not(.motion) .rooms-outro { width: auto; max-width: 640px; }
}

/* phones and tablets: a vertical run of full-width room cards */
@media (max-width: 900px) {
  .rooms-pin { height: auto; display: block; overflow: visible; }
  .rooms-track { display: block; height: auto; padding: 96px 0 72px; }
  .rooms-intro, .rooms-outro { width: auto; padding-inline: var(--gutter); }
  .rooms-intro h2 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .room { width: auto; display: block; margin-top: 72px; }
  .room-media { height: auto; aspect-ratio: 4 / 5; max-height: 78svh; }
  .room-media img { transform: none; }
  /* for a photo whose subject sits at its bottom edge: end the photo above the
     overlapping room copy and let it fade into the page, so the subject isn't under the title */
  .room-media--lift img { height: 72%; object-position: center bottom; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
  .room-thumbs { top: 12px; bottom: auto; left: 12px; right: 12px; max-width: none; width: auto; }
  .room-thumb { width: 52px; height: 40px; }
  .room-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 16, 13, 1) 0%, rgba(11, 16, 13, 0.75) 22%, rgba(11, 16, 13, 0) 58%); pointer-events: none; }
  .room-where, .room h3 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
  .room-info { position: relative; z-index: 1; margin-top: -42vw; padding-inline: var(--gutter); }
  .room-where { color: rgba(255, 255, 255, 0.75); }
  .room h3 { font-size: clamp(2.3rem, 10vw, 3rem); color: #fff; }
  .room-desc { margin-top: 1.4rem; }
  .room-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; }
  .room-actions .btn { flex: 1 1 auto; }
  .rooms-outro { margin-top: 72px; }
  .rooms-outro p { margin-bottom: 1.4rem; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .room-media { aspect-ratio: 4 / 3; }
  .room-info { margin-top: -26vw; }
}

/* ---------- a day here ---------- */

.day {
  --sky: var(--night);
  position: relative;
  padding-block: var(--section-y);
  background: var(--sky);
  transition: background-color 1.2s ease;
}
.day[data-phase="0"] { --sky: #111a1d; }
.day[data-phase="1"] { --sky: #131b14; }
.day[data-phase="2"] { --sky: #1c140c; }
.day[data-phase="3"] { --sky: #0a0e0c; }
.day-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); }
.day-visual { position: relative; }
.day-frame {
  position: sticky; top: calc(var(--header-h) + 32px);
  height: calc(100svh - var(--header-h) - 64px); max-height: 820px;
  overflow: hidden;
}
.day-frame picture { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.day-frame picture.is-active { opacity: 1; }
.day-frame img { width: 100%; height: 100%; object-fit: cover; }
.day-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 16, 13, 0.75), rgba(11, 16, 13, 0) 45%); pointer-events: none; }
.sun-arc { position: absolute; left: 6%; bottom: 64px; z-index: 1; width: 88%; height: 26%; overflow: visible; }
.sun-arc path { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.sun-arc circle { fill: var(--lamp); filter: drop-shadow(0 0 10px rgba(244, 192, 138, 0.9)); }
.day-clock {
  position: absolute; left: 24px; bottom: 22px; z-index: 2;
  font: italic 300 1.4rem/1 var(--serif); color: #fff;
}
.day-steps { display: flex; flex-direction: column; }
.day-head { padding-bottom: 12vh; }
.day-head h2 { font-size: clamp(2.4rem, 4.8vw, 4.6rem); }
.day-head .lede { margin-top: 1.5rem; }
.day-step {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--line);
  opacity: 0.7; transition: opacity 0.6s ease;
}
.day-step.is-current { opacity: 1; }
.day-when { font: italic 300 1.15rem/1 var(--serif); color: var(--lamp-2); }
.day-step h3 { margin-top: 14px; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.day-step p { margin-top: 1rem; color: var(--bone-2); max-width: 40ch; font-size: 1.1rem; }

.day-notes { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.day-note { display: flex; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--night); }
.day-note .icon { width: 32px; height: 32px; color: var(--lamp); }
.day-note h3 { font-size: 1.6rem; }
.day-note p { margin-top: 8px; color: var(--bone-2); }

@media (max-width: 900px) {
  /* flex (not grid) so the sticky photo can travel the whole list of steps */
  .day-grid { display: flex; flex-direction: column; gap: 0; }
  .day-visual, .day-steps { display: contents; }
  .day-head { order: -1; padding-bottom: 28px; }
  .day-frame { position: sticky; top: 10px; z-index: 2; height: 44svh; max-height: 420px; margin-bottom: 8px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.9); }
  .sun-arc { bottom: 52px; height: 30%; }
  .day-clock { font-size: 1.2rem; left: 18px; bottom: 16px; }
  .day-step { min-height: 52svh; padding-block: 28px; justify-content: flex-start; }
  .day-step h3 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .day-notes { grid-template-columns: 1fr; }
}

/* ---------- life on the estate: strips ---------- */

.strips { display: flex; gap: 10px; height: clamp(440px, 70vh, 680px); }
.strip {
  position: relative; flex: 1; min-width: 0;
  overflow: hidden; cursor: pointer; outline-offset: 4px;
  transition: flex 0.9s var(--ease);
}
.strip.is-open { flex: 5.5; }
.strip picture, .strip img { position: absolute; inset: 0; width: 100%; height: 100%; }
.strip img { object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter 0.9s; filter: saturate(0.6) brightness(0.7); }
.strip.is-open img { transform: scale(1); filter: none; }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 16, 13, 0.9), rgba(11, 16, 13, 0) 55%); }
.strip-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2.5vw, 36px); }
.strip h3 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); white-space: nowrap; }
.strip p { margin-top: 10px; max-width: 42ch; color: rgba(255, 255, 255, 0.82); }
.strip:not(.is-open) p { display: none; }
.strip.is-open p { animation: strip-in 0.8s var(--ease) 0.25s both; }
@keyframes strip-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.strip:not(.is-open) h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.5rem; }

@media (max-width: 900px) {
  .strips { flex-direction: column; height: auto; gap: 12px; }
  .strip, .strip.is-open { flex: none; height: 360px; }
  .strip img { transform: none; filter: none; }
  .strip:not(.is-open) p { display: block; }
  .strip:not(.is-open) h3 { writing-mode: horizontal-tb; transform: none; font-size: clamp(1.6rem, 6vw, 2rem); }
}

/* ---------- amenities ---------- */

.amenities { border-top: 1px solid var(--line); padding-block: clamp(80px, 9vw, 130px); }
.amenities-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.amenities h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.amenity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.amenity-list li { display: grid; grid-template-columns: 38px 1fr; gap: 2px 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.amenity-list .icon { width: 28px; height: 28px; color: var(--lamp); grid-row: span 2; }
.amenity-list strong { font-weight: 600; }
.amenity-list span { color: var(--bone-3); font-size: 0.95rem; }
.wifi-note { margin-top: 28px; font-size: 0.95rem; color: var(--bone-3); max-width: 38ch; }
@media (max-width: 900px) { .amenities-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .amenity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .amenity-list li { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .amenity-list .icon { grid-row: auto; margin-bottom: 6px; }
  .amenity-list span { font-size: 0.875rem; line-height: 1.4; }
}

/* ---------- 3D map ---------- */

.explore { padding-block: var(--section-y) 0; background: var(--night-2); border-top: 1px solid var(--line); }
.relief {
  position: relative;
  height: 100vh; height: 100svh; min-height: 640px; max-height: 1180px;
  overflow: hidden;
  /* the colours of the 3D sky, so nothing flashes while the model loads */
  background: linear-gradient(180deg, #8ea3b0 0%, #c0cacb 45%, #6f7d72 100%);
  user-select: none;
}
/* full-screen map: covers the page; the canvas takes every gesture, including pinch-zoom */
.relief.is-full {
  position: fixed; inset: 0; z-index: 85;
  height: 100vh; height: 100dvh; min-height: 0; max-height: none;
}
html.map-full { overflow: hidden; }
.relief-expand .icon + .icon { display: none; }
.relief.is-full .relief-expand .icon:first-child { display: none; }
.relief.is-full .relief-expand .icon + .icon { display: block; }
.hint-touch { display: none; }
.relief-hint { pointer-events: none; }
.relief-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s; }
.relief canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; cursor: grab; }
.relief canvas:active { cursor: grabbing; }
.relief.is-ready canvas { opacity: 1; }
.relief.is-ready .relief-fallback { opacity: 0; }

.relief-pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 7px; border: 0; border-radius: 999px;
  background: rgba(11, 16, 13, 0.72); color: var(--bone);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 600 0.8125rem/1 var(--sans); white-space: nowrap;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -100%);
  pointer-events: auto; cursor: pointer;
  opacity: 0; transition: opacity 0.35s, background-color 0.25s, color 0.25s;
}
.relief.is-ready .pin { opacity: 1; }
.pin.is-hidden { opacity: 0 !important; pointer-events: none; }
.pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--moss); flex: none; }
.pin.is-minor { font-weight: 500; font-size: 0.75rem; padding: 4px 10px 4px 6px; }
.pin.is-town::before { background: var(--bone-3); }
.pin.is-home { background: var(--lamp); color: var(--on-lamp); font-size: 0.875rem; padding: 8px 14px 8px 8px; }
.pin.is-home::before { background: var(--on-lamp); animation: beacon 2.4s ease-out infinite; }
.pin.is-active:not(.is-home), .pin:not(.is-home):hover { background: var(--bone); color: var(--night); }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(26, 18, 9, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(26, 18, 9, 0); } }

.relief-panel {
  position: absolute; left: clamp(14px, 2vw, 28px); top: clamp(14px, 2vw, 28px); z-index: 2;
  width: 270px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px;
  background: rgba(11, 16, 13, 0.62);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.relief-place {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 12px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  text-align: left; font-size: 0.9rem; font-weight: 500; color: var(--bone-2);
  transition: background-color 0.25s, color 0.25s;
}
.relief-place small { font-size: 0.75rem; color: var(--bone-3); white-space: nowrap; }
.relief-place:hover { background: rgba(255, 255, 255, 0.07); color: var(--bone); }
.relief-place.is-active { background: var(--bone); color: var(--night); }
.relief-place.is-active small { color: rgba(11, 16, 13, 0.6); }
.relief-place.is-home span { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--lamp-2); }
.relief-place.is-home.is-active span { color: var(--night); }
.relief-directions {
  margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border-radius: 999px; background: var(--lamp); color: var(--on-lamp);
  font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.relief-directions:hover { background: var(--lamp-2); }
.relief-directions .icon { width: 17px; height: 17px; }

.relief-ui { position: absolute; right: clamp(14px, 2vw, 28px); top: clamp(14px, 2vw, 28px); z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.relief-ui button {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(11, 16, 13, 0.62); color: var(--bone);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.relief-ui button:hover { background: var(--bone); color: var(--night); }
.relief-ui .icon { width: 18px; height: 18px; }
.relief-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(11, 16, 13, 0.6); color: var(--bone-2); font-size: 0.8125rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity 0.6s;
}
.relief-hint .icon { width: 16px; height: 16px; }
.relief.has-interacted .relief-hint { opacity: 0; }
.relief-compass {
  position: absolute; right: clamp(14px, 2vw, 28px); bottom: 20px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  font: italic 400 0.95rem/1 var(--serif); color: var(--bone);
  background: rgba(11, 16, 13, 0.62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.relief-credit { margin-top: 14px; font-size: 0.75rem; color: var(--bone-3); }

.pin small { font-weight: 500; font-size: 0.78em; opacity: 0.75; margin-left: 2px; }
.pin.is-home small { opacity: 0.8; }

.relief-card {
  position: absolute; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 2;
  width: min(340px, calc(100% - 28px));
  padding: 22px 22px 20px;
  background: rgba(11, 16, 13, 0.7);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.relief-card.is-swapping .relief-card-body:not([hidden]) { animation: card-in 0.6s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.relief-card-meta { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-3); }
.relief-card h3 { margin-top: 8px; font-size: 1.9rem; }
.relief-card-price { margin-top: 10px; font-size: 0.875rem; color: var(--bone-2); }
.relief-card-price strong { font: 300 1.6rem/1 var(--serif); color: var(--lamp-2); margin-inline: 0.15em; }
.relief-card-rooms { margin-top: 14px; display: grid; border-top: 1px solid var(--line); }
.relief-card-rooms li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--bone-2); }
.relief-card-rooms li span:last-child { color: var(--bone); font-weight: 600; }
.relief-card-actions { margin-top: 16px; display: flex; gap: 8px; }
.relief-card-desc { margin-top: 10px; font-size: 0.9rem; color: var(--bone-2); }
.relief-card-tip { margin-top: 10px; font-size: 0.85rem; color: var(--bone-3); }
.relief-card .link-arrow { margin-top: 14px; background: none; border-width: 0 0 1px; cursor: pointer; padding-inline: 0; }
.relief .relief-compass { bottom: auto; top: calc(clamp(14px, 2vw, 28px) + 198px); }
.relief .relief-hint { left: 50%; }

.places {
  margin-top: clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 6vw, 110px);
}
.place { padding: 32px 0 40px; border-top: 1px solid var(--line-2); transition: border-color 0.4s; }
.place.is-active { border-top-color: var(--lamp); }
.place-meta { font-size: 0.8125rem; color: var(--bone-3); letter-spacing: 0.06em; }
.place h3 { margin-top: 10px; font-size: clamp(2rem, 3.2vw, 3rem); }
.place p { margin-top: 12px; color: var(--bone-2); }
.place .tip { font-size: 0.95rem; color: var(--bone-3); }
.place .tip strong { color: var(--lamp-2); font-weight: 600; }
.place-btn {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  padding: 0 0 3px; border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: 0.875rem; color: var(--bone);
  border-bottom: 1px solid var(--line-2);
}
.place-btn .icon { width: 16px; height: 16px; color: var(--lamp); }
.place-btn:hover { border-color: var(--lamp); }
.explore-help {
  padding-block: 40px var(--section-y);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  border-top: 1px solid var(--line-2);
}
.explore-help p { max-width: 60ch; color: var(--bone-2); }
.places-count { display: none; margin-top: 40px; font-size: 0.8125rem; color: var(--bone-3); }

@media (max-width: 900px) {
  .places { grid-template-columns: 1fr; }
  .place h3 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .relief-credit { font-size: 0.6875rem; line-height: 1.5; }
  /* phones: the land fills the frame; places run along the bottom with a compact card above them */
  .relief { height: 86svh; min-height: 540px; max-height: 820px; }
  .relief.is-full { height: 100dvh; max-height: none; }
  .relief-panel {
    left: 10px; right: 10px; top: auto; bottom: 10px; width: auto;
    flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    padding: 5px; border-radius: 999px;
    scroll-snap-type: x proximity;
  }
  .relief-panel::-webkit-scrollbar { display: none; }
  .relief-place { flex: none; padding: 9px 14px; scroll-snap-align: start; }
  .relief-place small { display: none; }
  .relief-place.is-home span { font-size: 1rem; }
  .relief-directions { margin-top: 0; flex: none; padding: 9px 14px; }
  .relief .relief-hint { left: 10px; top: 10px; bottom: auto; transform: none; font-size: 0.75rem; padding: 8px 12px; max-width: calc(100% - 76px); }
  .hint-wide { display: none; }
  .hint-touch { display: inline; }
  .relief.is-full .relief-hint { display: none; }
  .relief .relief-compass { display: none; }
  .relief-ui { right: 10px; top: 10px; gap: 8px; }
  .relief-ui button { width: 44px; height: 44px; }
  /* zoom buttons only in full screen; on the page itself pinch would fight the scrolling */
  .relief:not(.is-full) [data-relief-zoom] { display: none; }
  .relief-card {
    left: 10px; right: 10px; top: auto; bottom: 68px; width: auto;
    padding: 14px 16px 14px;
  }
  .relief-card-meta { font-size: 0.6875rem; }
  .relief-card h3 { margin-top: 4px; font-size: 1.45rem; }
  .relief-card-price { margin-top: 4px; font-size: 0.8125rem; }
  .relief-card-price strong { font-size: 1.25rem; }
  .relief-card-rooms, .relief-card-tip { display: none; }
  .relief-card-desc {
    margin-top: 6px; font-size: 0.8125rem; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .relief-card-actions { margin-top: 10px; }
  .relief-card-actions .btn { flex: 1 1 auto; }
  .relief-card .link-arrow { margin-top: 8px; font-size: 0.8125rem; }
  .relief.is-full .relief-card { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .relief.is-full .relief-panel { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .pin { font-size: 0.75rem; padding: 5px 10px 5px 6px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .relief-card { right: auto; width: min(440px, calc(100% - 20px)); }
  .pin.is-minor, .pin.is-town { display: none; }
}

/* ---------- seasons ---------- */

.weather-now {
  margin-top: 1.4rem;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 0.9rem; color: var(--bone-2);
}
.weather-now .icon { width: 18px; height: 18px; color: var(--lamp); }
.weather-now [data-weather-text] { min-width: 18ch; }
.weather-now.is-loading [data-weather-text] { color: transparent; border-radius: 4px; background: linear-gradient(90deg, var(--night-3), var(--line-2), var(--night-3)) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.weather-now[hidden] { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.months li { padding: 14px 0 12px; text-align: center; font: italic 300 1rem/1 var(--serif); }
.months .m-winter { background: var(--moss-deep); color: var(--bone); }
.months .m-monsoon { background: #3e5a62; color: #fff; }
.months .m-summer { background: #6b5434; color: #fff; }

.season-cols { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.season { padding-top: 26px; border-top: 3px solid var(--moss-deep); }
.season.s-monsoon { border-top-color: #3e5a62; }
.season.s-summer { border-top-color: #6b5434; }
.season-when { font-size: 0.875rem; color: var(--bone-3); }
.season h3 { margin-top: 12px; font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.season-temp { margin-top: 14px; font: 300 1.6rem/1 var(--serif); color: var(--lamp-2); }
.season > p { margin-top: 16px; color: var(--bone-2); }
.season ul { margin-top: 20px; display: grid; gap: 10px; font-size: 0.95rem; }
.season li { color: var(--bone-2); padding-left: 18px; position: relative; }
.season li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1px; background: var(--lamp); }
.season li strong { color: var(--bone); font-weight: 600; }
.season-for { margin-top: 20px; font: italic 300 1.05rem/1.5 var(--serif); color: var(--bone-3); }
@media (max-width: 900px) {
  .season-cols { grid-template-columns: 1fr; }
  .months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- gallery ring ---------- */

.gallery { overflow: hidden; border-top: 1px solid var(--line); }
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.gallery-controls { display: flex; align-items: center; gap: 10px; }
.gallery-hint { display: inline-flex; align-items: center; gap: 8px; margin-right: 10px; font-size: 0.875rem; color: var(--bone-3); }
.gallery-hint .icon { width: 18px; height: 18px; }
.gallery-controls button {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; color: var(--bone); cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.gallery-controls button:hover { background: var(--bone); color: var(--night); }

.ring-stage { margin-top: clamp(32px, 5vw, 64px); }
/* without JS: a plain horizontal strip */
.ring { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gutter) 12px; scroll-snap-type: x mandatory; }
.ring-item { flex: none; width: clamp(220px, 26vw, 380px); scroll-snap-align: start; }
.ring-item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ring-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.ring-stage.is-3d {
  --w: clamp(210px, 24vw, 360px);
  position: relative;
  height: calc(var(--w) * 1.25 + 80px);
  perspective: 2000px; perspective-origin: 50% 40%;
  touch-action: pan-y;
  cursor: grab;
}
.ring-stage.is-3d:active { cursor: grabbing; }
.ring-stage.is-3d .ring {
  position: absolute; left: 50%; top: 20px;
  width: var(--w); height: calc(var(--w) * 1.25);
  margin-left: calc(var(--w) / -2);
  display: block; overflow: visible; padding: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.ring-stage.is-3d .ring-item {
  position: absolute; inset: 0; width: auto;
  transform: rotateY(calc(var(--i) * var(--step))) translateZ(var(--r));
  backface-visibility: hidden;
  transition: filter 0.4s;
}
.ring-stage.is-3d .ring-item img { height: 100%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ring-stage.is-3d .ring-item:not(.is-front) { filter: brightness(0.55) saturate(0.8); }
.ring-stage.is-3d .ring-item.is-far { pointer-events: none; }
.ring-caption { margin-top: 8px; text-align: center; font: italic 300 1.2rem/1.4 var(--serif); color: var(--bone-2); min-height: 1.4em; padding-inline: var(--gutter); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 9, 7, 0.96); color: #fff; }
.lightbox::backdrop { background: rgba(6, 9, 7, 0.7); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); font-size: 0.875rem; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter) 20px; font: italic 300 1.15rem/1.4 var(--serif); }
.lightbox button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; cursor: pointer; }
.lightbox button:hover { background: #fff; color: #111; }
.lightbox-nav { display: flex; gap: 8px; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq-grid h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.faq-grid .lede a { color: var(--lamp-2); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; cursor: pointer;
  font: 300 clamp(1.3rem, 1.8vw, 1.6rem)/1.25 var(--serif);
  transition: color 0.25s;
}
.faq-list summary:hover { color: var(--lamp-2); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 22px; height: 22px; color: var(--lamp); transition: transform 0.4s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details > div { padding: 0 56px 28px 0; color: var(--bone-2); }
.faq-list details > div a { color: var(--lamp-2); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* ---------- booking ---------- */

.book { position: relative; padding-block: var(--section-y); overflow: clip; isolation: isolate; }
.book-bg { position: absolute; inset: 0; z-index: -1; }
.book-bg picture, .book-bg img { width: 100%; height: 100%; }
.book-bg img { object-fit: cover; }
.book-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 16, 13, 0.94) 0%, rgba(11, 16, 13, 0.8) 45%, rgba(11, 16, 13, 0.55) 100%); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.book-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.book h2 { font-size: clamp(3rem, 7vw, 6.6rem); }
.book .lede { margin-top: 1.5rem; }
.contact-lines { margin-top: 44px; display: grid; gap: 14px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone-2); justify-self: start; }
.contact-lines a:hover { color: var(--lamp-2); }
.contact-lines .icon { width: 22px; height: 22px; color: var(--lamp); }

.book-panel { min-width: 0; }
.book-form, .book-done {
  padding: clamp(24px, 3.4vw, 48px);
  background: rgba(16, 23, 19, 0.82);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.book-step { margin: 0; padding: 0 0 26px; border: 0; min-width: 0; }
.book-step + .book-step { padding-top: 24px; border-top: 1px solid var(--line); }
/* floated so the legend sits under the divider line instead of on it */
.book-step-title { float: left; width: 100%; padding: 0; margin-bottom: 14px; font: 500 0.75rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-3); }
.book-step > legend + * { clear: both; }
.step-error { margin-top: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--lamp-2); }
.step-error:empty { display: none; }

/* rooms as cards; each one says whether it's free for the chosen dates */
.room-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.room-opt {
  position: relative; display: grid; align-content: start; gap: 4px;
  padding: 14px 14px 14px 44px; border: 1px solid var(--line-2); background: rgba(11, 16, 13, 0.45);
  cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
}
.room-opt input { position: absolute; left: 16px; top: 16px; width: 16px; height: 16px; margin: 0; accent-color: var(--lamp); cursor: pointer; }
.room-opt-name { font: 400 1.15rem/1.15 var(--serif); }
.room-opt-meta { font-size: 0.8125rem; color: var(--bone-3); }
.room-opt-state { font-size: 0.8125rem; font-weight: 600; color: var(--bone-2); }
.room-opt-state:empty { display: none; }
.room-opt:hover { border-color: var(--bone-3); }
.room-opt:has(input:checked) { border-color: var(--lamp); background: rgba(233, 166, 91, 0.1); }
.room-opt:has(input:focus-visible) { outline: 2px solid var(--lamp); outline-offset: 2px; }
.room-opt.is-free .room-opt-state { color: var(--moss); }
.room-opt.is-booked .room-opt-state, .room-opt.is-warn .room-opt-state { color: var(--lamp-2); }
.room-opt.is-booked:not(:has(input:checked)) { opacity: 0.62; }
.field-units { margin-top: 14px; max-width: 340px; }
.form-grid.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* the availability calendar */
.cal { padding: 14px; border: 1px solid var(--line-2); background: rgba(11, 16, 13, 0.45); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal-nav {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); background: none; color: var(--bone); cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.cal-nav:hover:not(:disabled) { background: var(--bone); color: var(--night); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-nav .icon { width: 16px; height: 16px; }
.cal-status { flex: 1; min-height: 1.45em; text-align: center; font-size: 0.875rem; line-height: 1.45; color: var(--bone-2); }
.cal-status.is-alert { color: var(--lamp-2); font-weight: 600; }
.cal-months { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.cal-title { margin-bottom: 10px; text-align: center; font: 400 1.1rem/1 var(--serif); }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow span { padding-bottom: 6px; text-align: center; font-size: 0.6875rem; letter-spacing: 0.12em; color: var(--bone-3); }
.cal-day {
  position: relative; min-height: 36px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 0;
  background: none; color: var(--bone); font: 500 0.875rem/1 var(--sans); cursor: pointer;
}
.cal-day:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); }
.cal-day:disabled { color: rgba(237, 230, 216, 0.22); cursor: default; }
.cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lamp); }
.cal-day.is-booked { color: rgba(237, 230, 216, 0.4); text-decoration: line-through; background: repeating-linear-gradient(135deg, rgba(237, 230, 216, 0.08) 0 4px, transparent 4px 8px); }
.cal-day.is-beyond { color: rgba(237, 230, 216, 0.35); }
.cal-day.in-range, .cal-day.is-preview { background: rgba(233, 166, 91, 0.2); color: var(--bone); }
.cal-day.is-start, .cal-day.is-end { background: var(--lamp); color: var(--on-lamp); font-weight: 700; text-decoration: none; }
.cal-day:focus-visible { z-index: 1; outline-offset: -2px; }
.cal-foot { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.cal-key { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--bone-3); }
.cal-swatch { width: 14px; height: 14px; border: 1px solid var(--line-2); }
.cal-swatch + .cal-swatch, .cal-key .cal-swatch:not(:first-child) { margin-left: 10px; }
.cal-swatch.is-booked { background: repeating-linear-gradient(135deg, rgba(237, 230, 216, 0.35) 0 3px, transparent 3px 6px); }
.cal-clear { padding: 0; border: 0; background: none; color: var(--bone-2); font-size: 0.8125rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cal-clear:hover { color: var(--lamp-2); }

/* price estimate and the answer after sending */
.book-summary { margin-top: 4px; padding: 16px 18px; border-left: 2px solid var(--lamp); background: rgba(233, 166, 91, 0.06); }
.book-summary-hint, .book-summary-line, .book-summary-price { font-size: 0.9rem; color: var(--bone-2); }
.book-summary-hint { color: var(--bone-3); }
.book-summary-price { margin-top: 6px; }
.book-summary-price strong { margin-right: 4px; font: 300 1.6rem/1 var(--serif); color: var(--lamp-2); }
.book-summary-alert { margin-top: 8px; font-size: 0.875rem; font-weight: 600; color: var(--lamp-2); }
.form-hint.is-alert { color: var(--lamp-2); font-weight: 600; }
.form-hint a { color: var(--lamp-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.book-done:focus { outline: none; }
.book-done h3 { margin-top: 4px; font-size: clamp(2rem, 3vw, 2.6rem); }
.book-done p:not(.eyebrow) { margin-top: 12px; color: var(--bone-2); }
.book-done-ref { font-size: 1.05rem; }
.book-done-ref strong { font: 400 1.35rem/1 var(--serif); letter-spacing: 0.04em; color: var(--lamp-2); }
.book-done-facts { margin-top: 24px; padding-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.book-done-facts dt { color: var(--bone-3); }
.book-done-facts dd { color: var(--bone); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--bone-2); }
.field .opt { font-weight: 400; color: var(--bone-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--line-2); border-radius: 0;
  background: rgba(11, 16, 13, 0.6); color: var(--bone);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select option { background: var(--night-2); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.9); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lamp); box-shadow: 0 0 0 3px rgba(233, 166, 91, 0.25); }
.field input::placeholder, .field textarea::placeholder { color: var(--bone-3); opacity: 1; }
.field-error { font-size: 0.8125rem; color: var(--lamp-2); font-weight: 600; min-height: 1em; }
.field.has-error input { border-color: var(--lamp); }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.form-hint { margin-top: 16px; font-size: 0.875rem; color: var(--bone-3); }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } .book-copy { position: static; } .book-bg::after { background: rgba(11, 16, 13, 0.85); } }
@media (max-width: 560px) {
  .book-form, .book-done { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .form-grid-3 label { min-height: 3.4em; display: flex; align-items: flex-end; } /* room for a two-line label, so the three boxes line up */
  .room-pick { grid-template-columns: 1fr; }
  .cal { padding: 12px 8px; }
  .form-actions .btn { flex: 1 1 100%; }
}

/* ---------- footer ---------- */

.site-footer { padding: clamp(72px, 9vw, 120px) 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 148px; height: 148px; margin-bottom: 28px; }
.footer-line { font: 300 clamp(1.5rem, 2.4vw, 2.1rem)/1.25 var(--serif); max-width: 22ch; margin-bottom: 28px; }
.footer-grid h2 { font: 500 0.75rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-3); margin-bottom: 18px; }
.footer-grid ul { display: grid; gap: 10px; font-size: 0.95rem; color: var(--bone-2); }
.footer-grid ul a { text-decoration: none; }
.footer-grid ul a:hover { color: var(--lamp-2); }
.footer-wordmark {
  margin-top: clamp(64px, 8vw, 120px);
  font: 300 clamp(3rem, 10.2vw, 9.3rem)/0.85 var(--serif);
  letter-spacing: -0.045em; white-space: nowrap;
  color: var(--bone);
}
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--bone-3); }
.footer-admin {
  padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--bone-2); font-weight: 600; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.footer-admin:hover { border-color: var(--lamp); color: var(--lamp-2); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid ul a { overflow-wrap: anywhere; }
  .footer-wordmark { white-space: normal; font-size: 19vw; line-height: 0.88; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #0b2b16;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-tucked { opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; }
.wa-float { transition: transform 0.3s var(--ease), opacity 0.3s; }
@media (max-width: 640px) { .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; } .wa-float .icon { width: 25px; height: 25px; } }
.wa-float .icon { width: 28px; height: 28px; }

/* phones: the price and a way to book stay at hand while scrolling, out of the way near the form and footer */
.book-bar { display: none; }
@media (max-width: 900px) {
  .book-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 61;
    display: flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 18px; border-radius: 999px;
    border: 1px solid rgba(237, 230, 216, 0.14);
    background: rgba(16, 23, 19, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.85);
    transform: translateY(calc(100% + 24px)); opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.3s;
  }
  .book-bar.is-on { transform: none; opacity: 1; }
  .book-bar-price { flex: 1; min-width: 0; font-size: 0.75rem; line-height: 1.25; color: var(--bone-3); }
  .book-bar-price strong { font: 400 1.25rem/1 var(--serif); color: var(--bone); letter-spacing: -0.02em; }
  .book-bar-price small { font-size: inherit; }
  .book-bar-price small:last-child { display: block; }
  .book-bar-wa {
    flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: #25d366; color: #0b2b16;
  }
  .book-bar-wa .icon { width: 22px; height: 22px; }
  .book-bar-cta { flex: none; padding: 12px 18px; }
  /* the bar has its own WhatsApp button, so the floating one steps aside while it's up */
  .book-bar.is-on ~ .wa-float { opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; }
}

/* ---------- tariff page ---------- */

.page-head { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(72px, 10vw, 150px)) 0 clamp(56px, 7vw, 100px); }
.page-contours { -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(3rem, 7.4vw, 7rem); line-height: 0.95; letter-spacing: -0.035em; max-width: 14ch; }
.page-head .lede { margin-top: 1.8rem; }
.crumbs { display: flex; gap: 10px; font-size: 0.875rem; color: var(--bone-3); margin-bottom: 32px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lamp-2); }

.rates { width: 100%; border-collapse: collapse; text-align: left; }
.rates th { padding: 0 20px 16px 0; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--bone-3); border-bottom: 1px solid var(--line-2); }
.rates td { padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--bone-2); }
.rates tr { transition: background-color 0.3s; }
.rates tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.rates .r-name { font: 300 1.9rem/1.05 var(--serif); color: var(--bone); letter-spacing: -0.02em; }
.rates .r-sub { display: block; margin-top: 8px; font: italic 300 1rem/1.3 var(--serif); color: var(--bone-3); }
.rates .r-price { font: 300 2.2rem/1 var(--serif); color: var(--lamp-2); white-space: nowrap; letter-spacing: -0.02em; }
.rates .r-price small { display: block; margin-top: 8px; font: 400 0.8125rem/1.2 var(--sans); color: var(--bone-3); letter-spacing: 0; }
@media (max-width: 860px) {
  .rates thead { display: none; }
  .rates, .rates tbody, .rates tr, .rates td { display: block; }
  .rates tr { padding: 24px 0; border-bottom: 1px solid var(--line); }
  .rates td { padding: 4px 0; border: 0; }
  .rates td[data-label]::before { content: attr(data-label) ": "; color: var(--bone-3); font-size: 0.875rem; }
  .rates .r-price { margin: 12px 0 8px; }
}

.inclusions { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.inclusions li { padding: clamp(24px, 3vw, 36px); background: var(--night-2); }
.inclusions .icon { width: 30px; height: 30px; color: var(--lamp); }
.inclusions h3 { margin-top: 22px; font-size: 1.6rem; }
.inclusions p { margin-top: 10px; font-size: 0.95rem; color: var(--bone-2); }
@media (max-width: 900px) { .inclusions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .inclusions { grid-template-columns: 1fr; } }

.policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.policy { padding-top: 22px; border-top: 1px solid var(--line-2); }
.policy h3 { font-size: 2rem; }
.policy dl { margin-top: 18px; display: grid; gap: 6px; }
.policy dt { font-weight: 600; font-size: 0.95rem; margin-top: 10px; }
.policy dd { color: var(--bone-2); font-size: 0.95rem; }
@media (max-width: 900px) { .policy-grid { grid-template-columns: 1fr; } }
.tariff-cta { border-top: 1px solid var(--line); text-align: center; }
.tariff-cta h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.day:not([data-day]) { padding-block: var(--section-y); background: var(--night-2); }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .day-step { opacity: 1; }
}

@media print {
  .site-header, .wa-float, .hero-media, .hero-shade, .hero-mask, .relief, .gallery, .menu-sheet, body::after { display: none !important; }
}

/* ---------- phone-size adjustments (kept last so they win) ---------- */
@media (max-width: 640px) {
  :root { --header-h: 64px; --section-y: 88px; }
  h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .brand-name { font-size: 1.15rem; }
  .brand img { width: 34px; height: 34px; }
  .lede { font-size: 1.0625rem; }
  .manifesto-text { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .figures dt { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .season h3 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .gallery-hint { margin-right: 4px; }
  .ring-stage.is-3d { --w: min(64vw, 290px); }

  /* places guide: a swipeable row of cards instead of a long list */
  .places {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-top: 16px;
  }
  .places::-webkit-scrollbar { display: none; }
  .place {
    flex: none; width: 84%; scroll-snap-align: start;
    padding: 22px 20px 24px; border: 1px solid var(--line); border-top: 2px solid var(--line-2);
    background: var(--night-3);
  }
  .places-count { display: flex; align-items: center; gap: 8px; }
  .places-count .icon { width: 16px; height: 16px; }
}
