/* Kaije Country Cottages: website
   Layout follows the Solenne Estates reference: large light wordmark hero,
   quiet neutral sections, one dark sticky walkthrough, dark footer.
   Brand: logo teal #004053, orange #F26522. */

@font-face {
  font-family: "Urbanist"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/urbanist-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Urbanist"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/urbanist-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Urbanist"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/urbanist-latin-500-normal.woff2") format("woff2");
}
/* Switzer by Indian Type Foundry (Fontshare, ITF Free Font License: self-hosting allowed, files unmodified) */
@font-face {
  font-family: "Switzer"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/switzer-400.woff2") format("woff2");
}
@font-face {
  font-family: "Switzer"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/switzer-500.woff2") format("woff2");
}

:root {
  --bg: #f5f4f0;
  --paper: #ffffff;
  --sand: #ebe8e1;
  --ink: #17221f;
  --ink-soft: #3c4744;
  --muted: #67706d;
  --line: rgba(23, 34, 31, 0.12);
  --line-strong: rgba(23, 34, 31, 0.22);
  --teal: #004053;
  --teal-deep: #072c36;
  --orange: #f26522;
  --orange-ink: #bf4a0c; /* the brand orange, deep enough for small text and white labels (4.5:1) */
  --on-dark: #f4f1ea;
  --on-dark-muted: rgba(244, 241, 234, 0.66);
  --line-dark: rgba(244, 241, 234, 0.16);

  --font-display: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Switzer", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3vw, 32px);
  --max: 1360px;
  --section-y: clamp(80px, 10vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
/* <picture> only offers a WebP copy of the photo; it adds no box, so layouts style the <img> as before */
picture { display: contents; }
picture source { display: none; } /* so a <picture> inside a grid or flex row adds only its <img> */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--focus, var(--orange-ink)); outline-offset: 3px; }
.hero, .walk, .cta, .site-footer, .stat-dark, .conf-quote, .lightbox { --focus: var(--on-dark); }

.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;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--on-dark);
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }

/* ---------- Type ---------- */

h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 50%;
}
.eyebrow .num { color: var(--orange-ink); }
.eyebrow:has(.num)::before { display: none; }
.eyebrow-light { color: var(--on-dark-muted); }

.num {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 15px;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.text-link span { transition: transform 0.3s var(--ease); }
.text-link:hover span { transform: translate(2px, -2px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: stretch;
  height: 52px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 1;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border: 1px solid transparent;
}
.btn > span:first-child { display: flex; align-items: center; padding: 0 22px; }
.btn-icon {
  display: grid; place-items: center; width: 52px;
  border-left: 1px solid currentColor;
  border-left-color: color-mix(in srgb, currentColor 22%, transparent);
}
.btn svg, .service-arrow svg, .round-btn svg {
  width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.btn:hover svg { transform: translate(2px, -2px); }

.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn-dark { background: var(--teal); color: var(--on-dark); }
.btn-dark:hover { background: var(--teal-deep); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-glass {
  background: rgba(23, 34, 31, 0.32); color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(23, 34, 31, 0.55); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(245, 244, 240, 0.78);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: transform 0.5s var(--ease), border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 244, 240, 0.9); }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; gap: clamp(18px, 2.4vw, 32px); }
.main-nav a {
  position: relative; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 6px 0; transition: color 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.is-current { color: var(--ink); }
.header-cta { justify-self: end; height: 46px; }
.header-cta .btn-icon { width: 46px; }

.menu-toggle {
  display: none; justify-self: end;
  width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; position: relative;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; background: var(--ink);
  transform: translateX(-50%); transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-bars { top: 50%; }
.menu-bars::before, .menu-bars::after { content: ""; }
.menu-bars::before { transform: translate(-50%, -6px); }
.menu-bars::after { transform: translate(-50%, 6px); }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translate(-50%, 0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translate(-50%, 0) rotate(-45deg); }

.mobile-menu {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-top: 1px solid var(--line);
}
.site-header:has(.mobile-menu:not([hidden])) { background: var(--bg); }
.mm-inner { display: grid; gap: 32px; align-content: start; padding-top: 8px; padding-bottom: 32px; }
.mm-nav { display: flex; flex-direction: column; }
.mm-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(30px, 8.4vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em;
  transition: color 0.2s, padding-left 0.35s var(--ease);
}
.mm-nav a:hover { padding-left: 6px; }
.mm-num { min-width: 22px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.mm-nav a[aria-current="page"] { color: var(--teal); }
.mm-nav a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--orange); }
.mm-side { display: flex; flex-direction: column; gap: 24px; }
.mm-label { margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.mm-rooms { display: grid; gap: 8px; }
.mm-rooms a {
  display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper);
  font-size: 13px; color: var(--muted); transition: border-color 0.2s;
}
.mm-rooms a:hover, .mm-rooms a[aria-current="page"] { border-color: var(--teal); }
.mm-rooms img { width: 76px; height: 57px; object-fit: cover; border-radius: 2px; }
.mm-rooms strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.mm-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.mm-contact a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper);
  font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink); transition: border-color 0.2s;
}
.mm-contact a:hover { border-color: var(--teal); }
.mm-contact small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.mm-contact .call-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--orange-ink); color: #fff; }
.mm-book { display: flex; justify-content: space-between; }
.mm-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.mm-foot span { display: flex; gap: 16px; }
.mm-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
@media (min-width: 641px) {
  .mm-inner { grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; padding-top: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: mm-fade 0.35s var(--ease) both; }
  .mobile-menu:not([hidden]) .mm-nav a, .mobile-menu:not([hidden]) .mm-side > * { animation: mm-rise 0.6s var(--ease) both; }
  .mm-nav a:nth-child(2) { animation-delay: 40ms; }
  .mm-nav a:nth-child(3) { animation-delay: 80ms; }
  .mm-nav a:nth-child(4) { animation-delay: 120ms; }
  .mm-nav a:nth-child(5) { animation-delay: 160ms; }
  .mm-nav a:nth-child(6) { animation-delay: 200ms; }
  .mm-nav a:nth-child(7) { animation-delay: 240ms; }
  .mm-nav a:nth-child(8) { animation-delay: 280ms; }
  .mm-side > :nth-child(1) { animation-delay: 140ms; }
  .mm-side > :nth-child(2) { animation-delay: 200ms; }
  .mm-side > :nth-child(3) { animation-delay: 260ms; }
  .mm-side > :nth-child(4) { animation-delay: 320ms; }
}
@keyframes mm-fade { from { opacity: 0; } }
@keyframes mm-rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Hero ---------- */

.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden; color: #fff;
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  transform: scale(1.06);
  animation: hero-settle 2.6s var(--ease) both;
}
@keyframes hero-settle { from { transform: scale(1.16); } to { transform: scale(1.06); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 24, 28, 0.38) 0%, rgba(10, 24, 28, 0) 32%),
    linear-gradient(0deg, var(--bg) 0%, rgba(245, 244, 240, 0) 8%),
    linear-gradient(0deg, rgba(10, 24, 28, 0.5) 8%, rgba(10, 24, 28, 0) 60%);
}
.hero-content {
  --hero-pb: clamp(72px, 12vh, 130px);
  position: relative; z-index: 1;
  padding-bottom: var(--hero-pb);
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.wordmark {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(88px, 17.5vw, 258px);
  line-height: 1; letter-spacing: -0.055em;
  display: flex; flex-direction: column;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.12);
}
/* Each line masks its own text so it can rise into view */
.wm-line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.14em; margin: 0 -0.06em; }
.wm-line > span { display: block; }
.wm-2 { align-self: flex-end; margin-top: -0.36em; }
.js .wm-line > span { transform: translateY(110%); animation: rise 1.4s var(--ease) forwards; }
.js .wm-2 > span { animation-delay: 0.14s; }
@keyframes rise { to { transform: none; } }

.hero-aside {
  position: absolute; left: var(--gutter); bottom: calc(var(--hero-pb) + 0.2em);
  max-width: 330px;
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.hero-aside p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.js .hero-aside { opacity: 0; animation: fade-up 1.2s 0.6s var(--ease) forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Intro ---------- */

.intro-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.intro-grid > .eyebrow { margin-top: 0.9em; }
.lede {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.22; letter-spacing: -0.015em;
  max-width: 24ch; max-width: 880px;
}
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: clamp(48px, 6vw, 80px) 0 44px; }
.point { border-top: 1px solid var(--line); padding-top: 22px; }
.point .num { display: block; margin-bottom: 26px; color: var(--orange-ink); }
.point h3 { margin-bottom: 10px; }
.point p { color: var(--muted); max-width: 40ch; }

/* ---------- Proof ---------- */

.proof { padding-bottom: var(--section-y); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card {
  background: var(--paper); border-radius: var(--radius);
  min-height: 360px; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow: hidden;
}
.stat-wide { grid-column: span 2; }
.stat-dark { background: var(--teal); color: var(--on-dark); }
.stat-dark .stat-label, .stat-dark .stat-text { color: var(--on-dark-muted); }
.stat-label { font-size: 14px; font-weight: 500; color: var(--muted); }
.stat-number {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(64px, 7vw, 104px); line-height: 0.9; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums; margin-bottom: 16px;
}
.stat-number small { font-size: 0.36em; letter-spacing: -0.01em; margin-left: 0.08em; }
.stat-text { color: var(--muted); max-width: 30ch; font-size: 15px; }

.marquee {
  margin: 0 -28px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.02em; white-space: nowrap;
  padding: 0 0.5em;
  display: inline-flex; align-items: center; gap: 1em;
}
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-left: 0.5em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head.single { grid-template-columns: 1fr; }
.section-head h2 { max-width: 16ch; }
.section-head-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; color: var(--muted); max-width: 440px; justify-self: end; }

/* ---------- Stay ---------- */

.stay { background: var(--paper); }
.stay .section-head h2 { font-size: clamp(56px, 8vw, 112px); line-height: 0.92; letter-spacing: -0.045em; }
.stay-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; }
.stay-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.stay-card { display: flex; flex-direction: column; gap: 16px; }
.stay-media {
  position: relative; overflow: hidden; background: var(--sand); border-radius: var(--radius);
  aspect-ratio: 16 / 10; flex: 1;
}
.stay-large .stay-media { aspect-ratio: auto; min-height: 520px; }
.stay-side .stay-media { aspect-ratio: auto; min-height: 220px; }
.stay-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.stay-media:hover img { transform: scale(1.045); }
.stay-info h3 a:hover { color: var(--teal); }
.tag {
  position: absolute; top: 14px; left: 14px;
  padding: 7px 12px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.stay-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.stay-info h3 { font-family: var(--font-body); font-size: 18px; font-weight: 500; letter-spacing: 0; margin-bottom: 4px; }
.stay-meta { font-size: 14px; color: var(--muted); }
.stay-price { text-align: right; }
.stay-price p { font-size: 18px; font-weight: 500; white-space: nowrap; }
.stay-price span { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- Walkthrough ---------- */

.walk { position: relative; background: var(--teal-deep); color: var(--on-dark); }
.walk-sticky { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 120px) 0; }
.walk-track {
  display: flex; gap: 20px; align-items: stretch;
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.walk-intro {
  width: min(380px, 80vw); flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-right: clamp(20px, 3vw, 60px);
}
.walk-intro h2 { margin-bottom: 22px; }
.walk-intro > p:not(.eyebrow) { color: var(--on-dark-muted); margin-bottom: 26px; max-width: 34ch; }
.walk-specs { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.walk-specs li { padding: 7px 13px; border: 1px solid var(--line-dark); border-radius: 99px; font-size: 13px; }
.walk-card { width: clamp(280px, 30vw, 400px); flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.walk-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #0d3a46; }
.walk-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.walk-card:hover .walk-media img { transform: scale(1.05); }
.walk-card figcaption { display: flex; gap: 14px; }
.walk-card figcaption .num { color: var(--orange); padding-top: 2px; }
.walk-card figcaption strong { display: block; font-weight: 500; font-size: 18px; }
.walk-card figcaption span:last-child { color: var(--on-dark-muted); font-size: 15px; }
.walk-progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 4vw, 56px);
  height: 1px; background: var(--line-dark);
}
.walk-progress span { display: block; height: 100%; width: 100%; background: var(--on-dark); transform-origin: left; transform: scaleX(0); }

/* Sticky horizontal scroll, driven by the page scroll (enabled by JS; off with reduced motion) */
.walk.is-pinned .walk-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; padding: 0;
}
/* Native swipe when motion is reduced */
.walk:not(.is-pinned) .walk-sticky { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.walk:not(.is-pinned) .walk-sticky::-webkit-scrollbar { display: none; }
.walk:not(.is-pinned) .walk-card, .walk:not(.is-pinned) .walk-intro { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.walk:not(.is-pinned) .walk-progress { display: none; }

/* ---------- Around ---------- */

.around-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; margin-bottom: clamp(56px, 6vw, 88px); }
.around-map { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.around-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.35) contrast(1.02); }
.around-address {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  padding: 20px 24px;
}
.around-address p { font-size: 14px; color: var(--muted); }
.around-address strong { display: block; color: var(--ink); font-weight: 500; font-size: 16px; }
.on-grounds { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.on-grounds img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.on-grounds > div { padding: 24px; }
.on-grounds h3 { margin-bottom: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft); background: var(--bg);
}
.on-grounds .chips li { background: transparent; }

.place-list { border-top: 1px solid var(--line); }
.place {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr 1.2fr; gap: 24px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.place .num { padding-top: 8px; color: var(--orange-ink); }
.place p { color: var(--muted); max-width: 44ch; }
.place .chips { justify-content: flex-end; }

/* ---------- Services ---------- */

.services { background: var(--paper); position: relative; }
.service-list { border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr 1fr 52px; gap: 24px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
}
.service h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; transition: transform 0.5s var(--ease); }
.service p { color: var(--muted); max-width: 42ch; }
.service .num { color: var(--orange-ink); }
.service-arrow {
  width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.service:hover h3 { transform: translateX(10px); }
.service:hover .service-arrow { background: var(--teal); color: var(--on-dark); border-color: var(--teal); }
.service:hover .service-arrow svg { transform: translate(2px, -2px); }

.service-preview {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: 260px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  opacity: 0; transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(7, 44, 54, 0.4);
}
.service-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.service-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Setups slider ---------- */

.setups-grid { display: grid; grid-template-columns: minmax(280px, 1fr) 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.setups-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.setups-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
}
.setups-media img.is-active { opacity: 1; transform: none; }
.slides { display: grid; margin-bottom: 44px; }
.slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(28px, 3.3vw, 46px); line-height: 1.16; letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.slide figcaption { font-size: 15px; color: var(--muted); }
.slide figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: 17px; }
.slider-controls { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; }
.slider-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.slider-count span:first-child { color: var(--ink); }
.slider-buttons { display: flex; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; display: grid; place-items: center;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.round-btn:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* ---------- FAQ ---------- */

.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; }
.faq-head h2 { margin-bottom: 22px; max-width: 12ch; }
.faq-head > p:not(.eyebrow) { color: var(--muted); max-width: 38ch; margin-bottom: 26px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font-family: var(--font-body); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.acc-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; background: none; border: 0; text-align: left;
}
.acc-icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color 0.3s, border-color 0.3s; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.4px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform 0.4s var(--ease);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--muted); max-width: 64ch; padding-bottom: 26px; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.rate-table { width: 100%; max-width: 420px; border-collapse: collapse; margin: -6px 0 28px; font-size: 15px; }
.rate-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.rate-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rate-table th:last-child, .rate-table td:last-child { text-align: right; }

/* ---------- CTA ---------- */

.cta { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; color: var(--on-dark); background: var(--teal-deep); }
.cta-media { position: absolute; inset: -12% 0; will-change: transform; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
/* A light overlay: the drone view stays clear and the words float over it */
.cta-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 26, 32, 0.5) 0%, rgba(5, 26, 32, 0.12) 50%, rgba(5, 26, 32, 0) 75%),
    linear-gradient(0deg, rgba(5, 26, 32, 0.45) 0%, rgba(5, 26, 32, 0) 42%);
}
.cta-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.cta-video.is-playing { opacity: 1; }
.cta h2, .cta-actions p, .cta .eyebrow { text-shadow: 0 2px 24px rgba(5, 26, 32, 0.45); }
.cta-actions p { color: rgba(244, 241, 234, 0.9); }
.cta .btn-light { box-shadow: 0 18px 40px -18px rgba(5, 26, 32, 0.6); }
.cta-content { position: relative; padding-top: 120px; padding-bottom: clamp(56px, 7vw, 96px); }
.cta h2 { max-width: 14ch; margin-bottom: 36px; font-size: clamp(42px, 6vw, 84px); letter-spacing: -0.035em; }
.cta-actions { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-actions p { max-width: 36ch; color: var(--on-dark-muted); }

/* ---------- Footer ---------- */

.site-footer { background: var(--teal-deep); color: var(--on-dark); padding: clamp(72px, 8vw, 110px) 0 32px; overflow: hidden; }
.newsletter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  padding-bottom: clamp(56px, 6vw, 80px); border-bottom: 1px solid var(--line-dark);
}
.newsletter h2 { font-size: clamp(32px, 3.6vw, 48px); max-width: 16ch; margin-bottom: 14px; }
.newsletter p { color: var(--on-dark-muted); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; justify-self: end; width: 100%; max-width: 560px; }
.newsletter-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px;
  background: transparent; color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  font: inherit; font-size: 15px; transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(244, 241, 234, 0.6); }
.newsletter-form input:focus { outline: none; border-color: var(--on-dark); }
.newsletter-form .btn span { padding: 0 26px; }
.newsletter-form .form-note { flex-basis: 100%; font-size: 13px; min-height: 1.6em; color: var(--on-dark-muted); }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.5fr; gap: 32px; padding: clamp(48px, 5vw, 72px) 0; }
.footer-cols h3 { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { transition: color 0.2s; }
.footer-cols a:hover { color: var(--orange); }
.footer-contact p { margin-bottom: 14px; color: var(--on-dark); }

.footer-wordmark {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(120px, 31vw, 460px); line-height: 0.74; letter-spacing: -0.06em;
  padding-bottom: 0.16em;
  color: rgba(244, 241, 234, 0.07);
  margin: 0 0 24px -0.04em; user-select: none;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: 14px; color: var(--on-dark-muted);
}
.back-top:hover { color: var(--on-dark); }
.footer-credit a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-dark); transition: text-decoration-color 0.2s; }
.footer-credit a:hover { text-decoration-color: currentColor; }

/* ---------- Hero film and cloud melt ---------- */

.hero-media picture { display: block; height: 100%; }
.hero-video, .hero-gl {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  pointer-events: none;
}
.hero-video {
  object-fit: cover; opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s var(--ease);
}
.hero.has-video .hero-video { opacity: 1; }
.hero-gl { opacity: 0; transition: opacity 0.6s var(--ease); }
/* With WebGL on, the canvas draws the film; the video keeps playing underneath as its source */
.hero.gl-on .hero-gl { opacity: 1; }
.hero.gl-on .hero-video, .hero.gl-on .hero-poster { opacity: 0; }
/* Without WebGL (phones, older devices) the film melts away behind a soft gradient instead */
.hero:not(.gl-on) .hero-media {
  -webkit-mask-image: linear-gradient(to top, transparent calc(var(--melt, 0) * 140% - 40%), #000 calc(var(--melt, 0) * 140% + 6%));
  mask-image: linear-gradient(to top, transparent calc(var(--melt, 0) * 140% - 40%), #000 calc(var(--melt, 0) * 140% + 6%));
}
.hero-content { will-change: opacity, transform; }

.hero-pause {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(23, 34, 31, 0.3); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s;
}
.hero-pause:hover { background: rgba(23, 34, 31, 0.55); }
.hero-pause svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-pause .i-play { display: none; fill: currentColor; }
.hero-pause.is-paused .i-play { display: block; }
.hero-pause.is-paused .i-pause { display: none; }

/* ---------- Stay card actions ---------- */

.btn-sm { height: 42px; font-size: 14px; }
.btn-sm > span:first-child { padding: 0 18px; }
.stay-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.stay-actions .text-link { font-size: 14px; }

/* ---------- Booking ---------- */

.booking { background: var(--paper); padding-top: 0; }
.booking-panel {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px);
  background: var(--bg); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 56px);
}
.booking-intro h2 { font-size: clamp(34px, 3.8vw, 52px); margin-bottom: 16px; }
.booking-intro > p:not(.eyebrow) { color: var(--muted); max-width: 40ch; margin-bottom: 24px; }
.booking-notes { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.booking-notes li { display: flex; align-items: center; gap: 10px; }
.booking-notes li::before { content: ""; width: 14px; height: 8px; border: solid var(--orange); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-2px); }

.booking-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; align-content: start; }
.field { min-width: 0; }
.field-room { grid-column: span 2; }
.field-name { grid-column: span 3; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background-color: var(--paper); color: var(--ink);
  font: inherit; font-size: 15px;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2317221f' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
.field input::placeholder { color: #9aa29f; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 64, 83, 0.12); }
.field.has-error input { border-color: #c2410c; }
.booking-foot {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px;
}
.booking-summary { font-size: 15px; color: var(--muted); }
.booking-summary strong { color: var(--ink); font-weight: 500; }
.booking-buttons { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.booking-buttons .text-link { font-size: 14px; }
.booking-form .form-note { grid-column: 1 / -1; font-size: 14px; color: #b4441a; min-height: 0; }
.booking-form .form-note:empty { display: none; }

/* Compact form, used in the room pages' side panel */
.booking-form.is-compact { grid-template-columns: 1fr 1fr; }
.booking-form.is-compact .field-room, .booking-form.is-compact .field-name { grid-column: 1 / -1; }
.booking-form.is-compact .booking-foot { flex-direction: column; align-items: stretch; }
.booking-form.is-compact .booking-buttons { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
.booking-form.is-compact .booking-buttons .btn { justify-content: space-between; }
.booking-form.is-compact .booking-buttons .text-link { align-self: center; }

/* ---------- Room pages ---------- */

.room-page { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 48px)); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); }
.room-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.room-head h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(56px, 9vw, 136px); line-height: 0.9; letter-spacing: -0.045em;
}
.room-price { text-align: right; }
.room-price p { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; }
.room-price span { font-size: 14px; color: var(--muted); }

.room-gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(180px, 20vw, 290px));
  gap: 10px;
}
.room-gallery button {
  position: relative; padding: 0; border: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--sand); cursor: zoom-in;
}
.room-gallery button:first-child { grid-row: span 2; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-gallery button:hover img { transform: scale(1.04); }
.room-gallery .more {
  position: absolute; right: 12px; bottom: 12px;
  padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.92);
  font-size: 13px; font-weight: 500;
}

.room-body {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(40px, 6vw, 96px);
  align-items: start; padding-top: clamp(48px, 6vw, 88px); padding-bottom: var(--section-y);
}
.room-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.room-facts li { padding: 18px 16px 18px 0; }
.room-facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.room-facts span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.room-facts strong { font-weight: 500; }
.room-copy .lede { margin-bottom: 24px; }
.room-copy p:not(.lede) { color: var(--muted); max-width: 62ch; margin-bottom: 16px; }
.room-section { margin-top: clamp(48px, 5vw, 72px); }
.room-section h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.room-section > p { color: var(--muted); max-width: 62ch; margin-bottom: 18px; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--line); }
.amenities li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.amenities li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.room-section .chips li { font-size: 14px; padding: 8px 14px; }

.room-book {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--paper); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(7, 44, 54, 0.35);
}
.room-book h2 { font-size: 30px; margin-bottom: 6px; }
.room-book > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

.other-rooms { background: var(--paper); }
.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.mobile-book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
}
.mobile-book-bar p { font-weight: 500; line-height: 1.3; }
.mobile-book-bar p span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.mobile-book-bar.is-hidden { transform: translateY(110%); }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: #fff;
}
.lightbox::backdrop { background: rgba(5, 20, 24, 0.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius); }
.lightbox .round-btn { position: absolute; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.lightbox .round-btn:hover { background: #fff; color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; grid-column: 3; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .place { grid-template-columns: 60px 1fr 1.4fr; }
  .place .chips { grid-column: 2 / -1; justify-content: flex-start; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .intro-grid, .section-head, .stay-layout, .around-body, .setups-grid, .faq-grid, .newsletter { grid-template-columns: 1fr; }
  .section-head-aside, .newsletter-form { justify-self: start; }
  .points { grid-template-columns: 1fr; gap: 28px; }
  .stay-large .stay-media { min-height: 0; aspect-ratio: 4 / 3; }
  .stay-side { grid-template-rows: none; }
  .stay-side .stay-media { min-height: 0; aspect-ratio: 16 / 10; }
  .faq-head { position: static; }
  .service { grid-template-columns: 44px 1fr 44px; gap: 8px 16px; padding: 28px 0; }
  .service p { grid-column: 2; grid-row: 2; }
  .service-arrow { grid-column: 3; grid-row: 1 / 3; width: 44px; height: 44px; }
  .setups-media { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .hero { min-height: 560px; }
  .hero-media img { object-position: 38% 50%; }
  .hero-content { padding-bottom: 32px; }
  .wordmark { font-size: clamp(76px, 25vw, 140px); }
  .hero-aside { position: static; order: 3; margin-top: 26px; max-width: none; }
  .wm-2 { align-self: flex-start; }
  .proof-grid { grid-template-columns: 1fr; }
  .stat-wide { grid-column: auto; }
  .stat-card { min-height: 280px; padding: 24px; }
  .marquee { margin: 0 -24px; }
  .place { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .place .num { padding-top: 0; }
  .place .chips { grid-column: auto; }
  .stay-info { flex-direction: column; gap: 6px; }
  .stay-price { text-align: left; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
  .cta { min-height: 560px; }
  .btn > span:first-child { padding: 0 18px; }
}

/* ---------- Responsive: booking and room pages ---------- */

@media (max-width: 1080px) {
  .booking-panel { grid-template-columns: 1fr; }
  .room-body { grid-template-columns: 1fr; }
  .room-book { position: static; }
}

@media (max-width: 860px) {
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 46vw 28vw; }
  .room-gallery button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .room-gallery button:nth-child(n + 4) { display: none; }
  .room-facts { grid-template-columns: 1fr 1fr; }
  .room-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .room-facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .other-grid { grid-template-columns: 1fr; }
  .mobile-book-bar { display: flex; }
  .has-book-bar { padding-bottom: 76px; }
  .room-price { text-align: left; }
}

@media (max-width: 640px) {
  .booking-form { grid-template-columns: 1fr 1fr; }
  .field-room, .field-name { grid-column: 1 / -1; }
  .booking-foot { flex-direction: column; align-items: stretch; }
  .booking-buttons { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .booking-buttons .btn { justify-content: space-between; }
  .booking-buttons .text-link { align-self: center; }
  .amenities { grid-template-columns: 1fr; }
  .stay-actions { flex-wrap: wrap; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}

/* ---------- How booking works ---------- */

.steps { margin-top: clamp(64px, 8vw, 112px); }
.steps-head h2 { font-size: clamp(32px, 3.6vw, 48px); max-width: 18ch; }
.steps-progress { position: relative; height: 1px; background: var(--line); margin-top: clamp(28px, 3vw, 40px); }
.steps-progress span {
  position: absolute; inset: 0; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) 0.2s;
}
.steps.is-in .steps-progress span { transform: scaleX(1); }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 26px; }
.step-num { display: block; margin-bottom: clamp(28px, 4vw, 48px); font-size: 13px; font-weight: 500; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.step-num em { font-style: normal; color: var(--muted); }
.steps-list h3 { margin-bottom: 10px; }
.steps-list p { color: var(--muted); max-width: 36ch; }

/* ---------- Morning and evening ---------- */

.daynight { background: var(--bg); }
.dn-toggle {
  position: relative; display: inline-flex; padding: 4px;
  border: 1px solid var(--line-strong); border-radius: 99px;
}
.dn-toggle button {
  position: relative; z-index: 1; border: 0; background: none;
  padding: 9px 20px; border-radius: 99px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color 0.35s;
}
.dn-toggle button[aria-pressed="true"] { color: var(--on-dark); }
.dn-pill {
  position: absolute; top: 4px; bottom: 4px; left: 0;
  width: var(--pw, 50%); transform: translateX(var(--px, 4px));
  background: var(--teal); border-radius: 99px;
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}
.dn-frame { position: relative; margin: 0; aspect-ratio: 2 / 1; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.dn-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.3s var(--ease), transform 2.4s var(--ease);
}
.dn-frame img[data-dn-img="morning"] { object-position: 50% 62%; }
.dn-frame img[data-dn-img="evening"] { object-position: 50% 55%; }
.dn-frame figcaption a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.dn-frame img.is-active { opacity: 1; transform: none; }
.dn-frame::after {
  content: ""; position: absolute; inset: 55% 0 0 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 20, 24, 0.55), rgba(5, 20, 24, 0));
}
.dn-frame figcaption {
  position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px;
  display: flex; justify-content: space-between; gap: 16px;
  color: #fff; font-size: 14px; font-weight: 500;
}

/* ---------- Life at Kaije ---------- */

.life { background: var(--bg); }
.setups + .life { padding-top: 0; }
.life-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.life-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand); margin-bottom: 18px; }
.life-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.life-card:hover .life-media img { transform: scale(1.05); }
.life-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.life-meta span + span::before { content: "·"; margin-right: 8px; }
.life-meta span:first-child { color: var(--orange-ink); font-weight: 500; }
.life-card h3 { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 8px; }
.life-card p:last-child { color: var(--muted); font-size: 15px; }

/* ---------- Room page film ---------- */

.room-film { margin-top: clamp(48px, 5vw, 72px); }
.room-film video { width: 100%; display: block; border-radius: var(--radius); background: var(--sand); }
.room-film.is-portrait video { max-width: 420px; aspect-ratio: 9 / 16; object-fit: cover; }
.room-film figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

@media (max-width: 1080px) {
  .life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .steps-list { grid-template-columns: 1fr; gap: 28px; }
  .step-num { margin-bottom: 14px; }
  .dn-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .life-grid { grid-template-columns: 1fr; }
  .life-media { aspect-ratio: 4 / 3; }
}

/* ---------- Conferences and team building ---------- */

.conference { background: var(--paper); }
.conf-gallery {
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(150px, 15vw, 230px));
  gap: 10px; margin-bottom: clamp(28px, 3vw, 40px);
}
.conf-shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.conf-shot-main { grid-row: span 2; }
.conf-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.conf-shot:hover img { transform: scale(1.04); }
.conf-shot figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.92);
  font-size: 13px; font-weight: 500;
}
.conf-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.conf-facts li { padding: 18px 16px 18px 0; }
.conf-facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.conf-facts span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.conf-facts strong { font-weight: 500; }

.conf-grid { display: grid; grid-template-columns: 1fr 1fr minmax(300px, 0.9fr); gap: 20px; align-items: start; }
.conf-card { background: var(--bg); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); }
.conf-kicker { font-size: 13px; font-weight: 500; color: var(--orange-ink); margin-bottom: 10px; }
.conf-quote .conf-kicker { color: var(--orange); }
.conf-card h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; margin-bottom: 22px; }
.conf-card h3 small { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; color: var(--muted); }
.conf-card h4 { font-size: 14px; font-weight: 500; margin: 26px 0 10px; }
.conf-card .rate-table { max-width: none; margin: 0; }
.conf-card .rate-table td:first-child { padding-right: 16px; }
.conf-rates tr { transition: background-color 0.3s; }
.conf-rates tr.is-match { background: rgba(0, 64, 83, 0.07); }
.conf-rates tr.is-match td { color: var(--teal); font-weight: 500; }
.conf-rates tr.is-match td:first-child { box-shadow: inset 3px 0 0 var(--orange); padding-left: 10px; }
.checks li { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 15px; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 12px; height: 7px;
  border: solid var(--orange); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-3px);
}
.conf-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.conf-quote { background: var(--teal-deep); color: var(--on-dark); display: flex; flex-direction: column; gap: 14px; }
.conf-quote h3 { margin-bottom: 4px; }
.conf-quote .field label { color: var(--on-dark-muted); }
.conf-quote .field input, .conf-quote .field select { border-color: transparent; }
.conf-quote input[type="number"] { -moz-appearance: textfield; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-summary { font-size: 15px; color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding-top: 16px; min-height: 3.2em; }
.quote-summary strong { color: var(--on-dark); font-weight: 500; }
.conf-quote .btn-dark { background: var(--on-dark); color: var(--ink); justify-content: space-between; }
.conf-quote .btn-dark:hover { background: #fff; }
.quote-email { align-self: center; font-size: 14px; }

.inline-link { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

@media (max-width: 1080px) {
  .conf-grid { grid-template-columns: 1fr 1fr; }
  .conf-quote { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .conf-grid { grid-template-columns: 1fr; }
  .conf-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 52vw 30vw; }
  .conf-shot-main { grid-column: 1 / -1; grid-row: auto; }
  .conf-facts { grid-template-columns: 1fr 1fr; }
  .conf-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .conf-facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .wm-line > span { transform: none; }
  .js .hero-aside { opacity: 1; }
}

/* Scrim fades in with the cloud reveal, then follows the melt (opacity set from main.js) */
.hero.gl-on .hero-scrim { animation: scrim-in 2s var(--ease) backwards; }
@keyframes scrim-in { from { opacity: 0; } }
.amenities.single { grid-template-columns: 1fr; }

/* Conferences stat card with the hall photo */
.stat-photo { display: grid; grid-template-columns: 1fr 1.15fr; padding: 0; gap: 0; }
.stat-photo .stat-body { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.stat-photo .text-link { margin-top: 18px; font-size: 14px; color: var(--on-dark); }
.stat-media { position: relative; overflow: hidden; min-height: 240px; }
.stat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.stat-media:hover img { transform: scale(1.05); }
@media (max-width: 640px) {
  .stat-photo { grid-template-columns: 1fr; }
  .stat-media { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
}

/* Booking and quote forms: contact fields, hidden spam trap, sent / failed messages */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field-email, .field-phone { grid-column: span 2; }
.booking-form.is-compact .field-email, .booking-form.is-compact .field-phone { grid-column: 1 / -1; }
.booking-form .form-note.is-success { color: #1d6b4a; }
.booking-form .form-note a, .quote-note a, .newsletter-form .form-note a { text-decoration: underline; text-underline-offset: 2px; }
.btn:disabled { opacity: 0.65; cursor: progress; }
.quote-note { font-size: 14px; color: #ffb38a; }
.quote-note:empty { display: none; }
.quote-note.is-success { color: #9be3bd; }
@media (max-width: 640px) {
  .field-email, .field-phone { grid-column: 1 / -1; }
}
[data-dn-cta] { white-space: nowrap; }

/* ---------- Special offers: moving strip of square flyers ---------- */

.flyers { background: var(--bg); }
.intro + .flyers { padding-top: 0; padding-bottom: clamp(56px, 6vw, 96px); }
.intro:has(+ .flyers) { padding-bottom: clamp(56px, 6vw, 88px); }
.flyers .section-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.flyers .section-head h2 { font-size: clamp(30px, 3.2vw, 44px); }
.flyers .section-head .eyebrow { margin-bottom: 12px; }
.flyers .section-head-aside { font-size: 15px; }

.flyer-band {
  --flyer: clamp(220px, 21vw, 310px);
  position: relative; overflow: hidden;
  background: transparent; padding: clamp(18px, 2vw, 26px) 0 clamp(30px, 3vw, 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.flyer-track {
  display: flex; width: max-content;
  animation: flyer-scroll var(--flyer-duration, 42s) linear infinite;
  will-change: transform;
}
@keyframes flyer-scroll { to { transform: translate3d(-50%, 0, 0); } }
.flyer-band:hover .flyer-track,
.flyer-band.is-held .flyer-track,
.flyer-track:focus-within,
.flyer-track.is-paused { animation-play-state: paused; }
/* margin, not gap, so half the track is exactly one full set */
.flyer { flex: 0 0 auto; width: var(--flyer); margin-right: clamp(12px, 1.4vw, 18px); display: flex; flex-direction: column; gap: 10px; }
.flyer > button {
  display: block; width: var(--flyer); height: var(--flyer); padding: 0; border: 0;
  background: #fff; cursor: zoom-in; overflow: hidden; border-radius: 4px;
  box-shadow: 0 2px 4px rgba(7, 44, 54, 0.06), 0 26px 44px -22px rgba(7, 44, 54, 0.45);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.flyer > button:hover { box-shadow: 0 2px 4px rgba(7, 44, 54, 0.06), 0 34px 54px -24px rgba(7, 44, 54, 0.55); }
.flyer > button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.flyer > button:hover img { transform: scale(1.04); }
.flyer-cap { display: grid; justify-items: start; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.flyer-tag { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: var(--paper); color: var(--teal); white-space: nowrap; box-shadow: 0 0 0 1px var(--line); }
.flyer-tag.is-past { background: rgba(23, 34, 31, 0.08); color: var(--ink-soft); }
.lightbox img { max-height: 88vh; }
@media (prefers-reduced-motion: reduce) {
  .flyer-band { overflow-x: auto; }
  .flyer-track { animation: none; }
}


/* ---------- Header: Reservations call button ---------- */

.header-inner { grid-template-columns: auto 1fr auto; }
.main-nav { justify-self: center; }
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.btn-call { height: 46px; background: var(--orange-ink); color: #fff; border-color: var(--orange-ink); }
.btn-call:hover { background: #a8410a; border-color: #a8410a; }
.btn.btn-call > .call-icon { display: grid; place-items: center; padding: 0 0 0 16px; }
.btn-call > span:last-child { display: flex; align-items: center; padding: 0 18px 0 9px; }
.call-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.btn-call .call-icon svg { animation: phone-ring 7s ease-in-out 2s infinite; transform-origin: 50% 50%; }
@keyframes phone-ring {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); }
  92% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); } 96% { transform: rotate(0); }
}
@media (max-width: 1240px) and (min-width: 1081px) {
  .header-cta { display: none; }
}
@media (max-width: 1080px) {
  .btn-call { height: 42px; }
}
@media (max-width: 380px) {
  .btn-call > span:last-child { padding: 0 14px 0 7px; font-size: 14px; }
}

/* Hero: the one-line description of Kaije */
.hero-aside { max-width: 380px; }
.hero-aside p strong { display: block; font-weight: 500; color: #fff; margin-bottom: 2px; }

/* ---------- Weddings & events page ---------- */

.event-types { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--line); }
.event-types li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-types h3 { font-size: 20px; margin-bottom: 6px; }
.event-types p { font-size: 15px; color: var(--muted); }
.event-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; padding-top: 0; }
.event-steps .step-num { margin-bottom: 12px; }
.field textarea {
  width: 100%; min-height: 96px; padding: 12px 14px; resize: vertical;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 64, 83, 0.12); }

/* ---------- Guest reviews ---------- */

.reviews { background: var(--paper); }
.review-themes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3vw, 40px); }
.review-themes li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; background: var(--bg); font-size: 15px; }
.review-themes li::before { content: ""; width: 12px; height: 7px; border: solid var(--orange); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-2px); }
.review-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.review-card {
  display: flex; flex-direction: column; gap: 6px; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(7, 44, 54, 0.45); }
.rc-name { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; }
.rc-sub { font-size: 14px; color: var(--muted); }
.rc-cta { margin-top: 26px; font-size: 14px; font-weight: 500; color: var(--teal); }

/* Approximate US$ shown under UGX prices (added by main.js) */
.usd { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }

@media (max-width: 1080px) {
  .review-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .event-types, .event-steps, .review-links { grid-template-columns: 1fr; }
}

/* ---------- Menu page ---------- */
/* menu.html: the Turaco Restaurant & Bar menus. The menus are built from the app's menu by scripts/build-menu-page.js.
   Each menu has a sticky bar (Restaurant / Bar switch and section chips) that slides up when the header hides. */

.menu-page { --stick-h: 66px; } /* full height of the sticky menu bar, borders included */
.menu-intro { padding-bottom: clamp(32px, 4vw, 48px); }
.menu-head-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 460px; color: var(--muted); }
.menu-head-actions { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; }
/* Kept short enough that the menu bar shows near the bottom of a laptop screen */
.menu-photos { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; height: min(clamp(200px, 24vw, 360px), 36vh); }
.menu-photo-link { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.menu-photo-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.menu-photo-link:hover img { transform: scale(1.04); }
.menu-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 72ch; }

.menu-stick {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: top 0.5s var(--ease);
}
body:has(.site-header.is-hidden) .menu-stick { top: 0; }
.menu-stick-inner { display: flex; align-items: center; gap: 20px; min-height: calc(var(--stick-h) - 2px); }
.menu-switch { display: flex; flex-shrink: 0; padding: 3px; border: 1px solid var(--line-strong); border-radius: 99px; }
.menu-switch a {
  padding: 8px 18px; border-radius: 99px;
  font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink-soft);
  transition: background-color 0.3s, color 0.3s;
}
.menu-switch a:hover { color: var(--ink); }
.menu-switch a[aria-current] { background: var(--teal); color: var(--on-dark); }
.menu-chips {
  position: relative; flex: 1; min-width: 0;
  display: flex; gap: 6px; padding: 4px 2px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.menu-chips::-webkit-scrollbar { display: none; }
.menu-chips a {
  flex-shrink: 0; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px;
  font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink-soft); white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.menu-chips a:hover { border-color: var(--line-strong); color: var(--ink); }
.menu-chips a.is-current { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.menu-chips.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.menu-chips.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.menu-chips.fade-l.fade-r {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
}

.menu-section {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: clamp(56px, 7vw, 96px) 0;
  scroll-margin-top: var(--stick-h);
}
.menu-section + .menu-section { border-top: 1px solid var(--line); }
.menu-aside { display: flex; flex-direction: column; gap: 24px; }
.menu-photo { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-title .num { display: block; color: var(--orange-ink); margin-bottom: 12px; }
.menu-title h3 { font-weight: 300; font-size: clamp(36px, 3.8vw, 56px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
.menu-count { font-size: 14px; color: var(--muted); }

.menu-group + .menu-group { margin-top: clamp(32px, 4vw, 48px); }
.menu-group h4 {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--ink);
}
.menu-group h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.menu-group h4 span { font-weight: 400; color: var(--muted); }
.menu-items { border-top: 1px solid var(--line); }
.menu-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu-line { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.menu-name { font-size: 17px; font-weight: 500; line-height: 1.4; }
.menu-size { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.menu-price { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-desc { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 58ch; }

.menu-cta { background: var(--teal); color: var(--on-dark); padding: var(--section-y) 0; }
.menu-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.menu-cta h2 { max-width: 14ch; }
.menu-cta-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 460px; justify-self: end; color: var(--on-dark-muted); }
.menu-cta .text-link { color: var(--on-dark); }

/* The photo and title stay in view beside a long list, where the screen is tall enough to hold them */
@media (min-width: 1081px) and (min-height: 720px) {
  .menu-aside { position: sticky; top: calc(var(--header-h) + var(--stick-h) + 32px); transition: top 0.5s var(--ease); }
  body:has(.site-header.is-hidden) .menu-aside { top: calc(var(--stick-h) + 32px); }
}
@media (max-width: 1080px) {
  .menu-section { grid-template-columns: 1fr; gap: 28px; }
  .menu-photo { aspect-ratio: 21 / 9; }
}
@media (max-width: 860px) {
  .menu-cta-inner { grid-template-columns: 1fr; }
  .menu-cta-aside { justify-self: start; }
}
@media (max-width: 640px) {
  .menu-page { --stick-h: 114px; }
  .menu-photos { grid-template-columns: 1fr 1fr; height: 42vw; }
  .menu-stick-inner { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; padding-bottom: 8px; }
  .menu-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .menu-switch a { text-align: center; padding: 8px 0; }
  .menu-chips { flex: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .menu-section { gap: 22px; padding: 48px 0; }
  .menu-aside { gap: 18px; }
  .menu-photo { aspect-ratio: 16 / 9; }
  .menu-title { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; }
  .menu-title .num { margin: 0; }
  .menu-title h3 { font-size: 38px; margin-bottom: 6px; }
  .menu-count { grid-column: 1 / -1; }
  .menu-item { padding: 14px 0; }
  .menu-name { font-size: 16px; }
  .menu-price { font-size: 15px; }
  .menu-desc { font-size: 14px; }
  .menu-head-actions .btn { width: 100%; justify-content: space-between; }
}

/* ---------- 404 page ---------- */

.error-page { min-height: 72vh; padding-bottom: var(--section-y); }
.error-page .lede { margin-bottom: clamp(28px, 3vw, 40px); }
.error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: clamp(40px, 5vw, 64px); }
.error-links li { padding: 0; }
.error-links a { display: block; padding: 6px 12px; transition: color 0.2s; }
.error-links a:hover { color: var(--ink); }

/* ---------- Weddings: inspiration photos (Pexels) ---------- */

.wed-inspo { padding-bottom: 0; }
.wi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 10px; }
.wi-item { position: relative; margin: 0; grid-row: span 2; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.wi-item.wi-wide { grid-column: span 2; }
.wi-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.4s var(--ease); }
.wi-item:hover img { transform: scale(1.04); }
.wi-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
  background: linear-gradient(0deg, rgba(5, 20, 24, 0.6), rgba(5, 20, 24, 0));
  color: #fff; font-size: 13px; font-weight: 500;
}
.wi-item figcaption a { font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, 0.8); text-align: right; }
.wi-item figcaption a:hover { color: #fff; text-decoration: underline; }
.wi-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.wi-note a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) {
  .wi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .wi-item { grid-row: span 1; }
}

@media (max-width: 860px) {
  .wi-item figcaption { flex-direction: column; align-items: flex-start; gap: 2px; padding: 30px 10px 10px; font-size: 12px; }
  .wi-item figcaption a { font-size: 10px; text-align: left; }
}

/* ---------- Bot check on the forms (Cloudflare Turnstile): only shows when Cloudflare asks for a tick ---------- */

.booking-form .form-check { grid-column: 1 / -1; }
.newsletter-form .form-check { flex-basis: 100%; }
