/* ===========================================================
   SABA — Design System
   Source of truth: DESIGN.md
   =========================================================== */

:root {
  /* Palette */
  --cream: #FCFAF8;
  --ink: #1F1A12;
  --olive: #534730;
  --sand: #8B7456;
  --sand-pale: #C9B894;
  --espresso: #2D2719;
  --brass: #9C7B3F;

  /* Semantic */
  --bg: var(--cream);
  --text: var(--ink);
  --text-muted: var(--sand);
  --accent: var(--olive);
  --divider: rgba(31, 26, 18, 0.10);

  /* Typography (using Google Fonts as fallbacks to GT Sectra / Söhne) */
  --font-display: 'Fraunces', 'GT Sectra Fine', Georgia, serif;
  --font-wordmark: 'Tenor Sans', 'Cinzel', 'GT Sectra Fine', serif;
  --font-body: 'DM Sans', 'Söhne', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Söhne Mono', ui-monospace, monospace;

  /* Spacing */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
  --space-5xl: 192px;

  /* Motion */
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 100ms;
  --dur-short: 300ms;
  --dur-medium: 600ms;
  --dur-long: 1200ms;
  --dur-ceremony: 3500ms;

  /* Layout */
  --gutter: clamp(24px, 6vw, 200px);
}

/* ===========================================================
   Base
   =========================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

button {
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

::selection {
  background: var(--olive);
  color: var(--cream);
}

/* ===========================================================
   Typography
   =========================================================== */

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}

.display-md {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-sm) 0;
  color: var(--text);
}

em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--accent);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin: 0 0 var(--space-md) 0;
}

.prose {
  font-size: 17px;
  line-height: 1.7;
  max-width: 56ch;
  margin: var(--space-md) 0;
  color: var(--text);
  font-weight: 300;
}

.prose-sm {
  font-size: 15px;
  line-height: 1.65;
  max-width: 50ch;
  margin: var(--space-sm) 0;
  color: var(--text);
  font-weight: 300;
}

.muted { color: var(--text-muted); }

/* ===========================================================
   Link button
   =========================================================== */

.link-arrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--olive);
  transition: color var(--dur-short) var(--ease-move);
  margin-top: var(--space-md);
}

.link-arrow span {
  display: inline-block;
  margin-left: 8px;
  transition: transform var(--dur-short) var(--ease-move);
}

.link-arrow:hover { color: var(--ink); }
.link-arrow:hover span { transform: translateX(6px); }

.link-arrow--lg {
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-top: var(--space-lg);
}

/* ===========================================================
   INTRO sequence (ceremonial 3.5s)
   =========================================================== */

/* ===========================================================
   SABA LOADER — palm amazigh + SABĀ wordmark (gold reveal)
   Timeline (approx):
     T+0.3s  trunk draws (900ms)
     T+0.9s  fronds f1→f6 draw sequentially (140ms stagger, 700ms each)
     T+2.0s  symbols fade-in (sun, khamsa, cross, vase, square)
     T+2.9s  SABĀ letters fade-in sequential (S, A, B, Ā)
     T+3.7s  macron stroke draws
     T+4.4s  hold (~600ms)
     T+5.0s  fade-out (1.4s)
     T+6.4s  remove from DOM
   =========================================================== */

.intro {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vh, 36px);
  z-index: 1000;
  pointer-events: all;
  cursor: default;
  transition: opacity 1400ms var(--ease-exit) !important;
}

.intro.is-done {
  opacity: 0;
  pointer-events: none;
}

/* Morph mode: SABA letters glide to gate mark position, rest fades */
.intro.is-morph {
  background-color: transparent !important;
  pointer-events: none !important;
  transition: background-color 900ms var(--ease-move) !important;
}
.intro.is-morph .palm-amazigh,
.intro.is-morph .symbols,
.intro.is-morph .saba-watermark {
  opacity: 0;
  transition: opacity 800ms var(--ease-exit) !important;
}
.intro .saba-logo {
  transition: transform 1300ms cubic-bezier(0.65, 0, 0.35, 1) !important;
  will-change: transform;
  transform-origin: center center;
}
.intro.is-leaving {
  opacity: 0;
  transition: opacity 700ms var(--ease-exit) !important;
}

.intro.is-removed { display: none; }

/* Color palette variants */
.saba-loader.pal-gold {
  color: #B8945A; /* brass légèrement plus lumineux que --brass pour rayonner */
}

.saba-loader.pal-terra {
  color: #B26D4F; /* terracotta — réserve */
}

.palm-amazigh {
  display: block;
  width: clamp(140px, 18vw, 220px);
  height: auto;
}

.saba-logo {
  display: block;
  width: clamp(180px, 22vw, 300px);
  height: auto;
}

/* --- Trunk + fronds: draw via stroke-dashoffset
   Use longhand props so animation-delay can be overridden per-element
   with its own !important (shorthand would re-set delay to 0) --- */
.palm-amazigh .trunk path,
.palm-amazigh .frond {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation-name: drawStroke !important;
  animation-duration: 900ms !important;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1) !important;
  animation-fill-mode: forwards !important;
}

.palm-amazigh .trunk path {
  animation-delay: 300ms !important;
  animation-duration: 1100ms !important;
}
.palm-amazigh .frond.f1 { animation-delay: 900ms !important; }
.palm-amazigh .frond.f2 { animation-delay: 1040ms !important; }
.palm-amazigh .frond.f3 { animation-delay: 1180ms !important; }
.palm-amazigh .frond.f4 { animation-delay: 1320ms !important; }
.palm-amazigh .frond.f5 { animation-delay: 1460ms !important; }
.palm-amazigh .frond.f6 { animation-delay: 1600ms !important; }

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

/* --- Symbols: fade-in with subtle translate --- */
.palm-amazigh .symbol {
  opacity: 0;
  transform: translateY(4px);
  transform-origin: center;
  animation-name: fadeInSym !important;
  animation-duration: 700ms !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: forwards !important;
}

.palm-amazigh .sym-cross  { animation-delay: 2000ms !important; }
.palm-amazigh .sym-square { animation-delay: 2150ms !important; }
.palm-amazigh .sym-khamsa { animation-delay: 2300ms !important; }
.palm-amazigh .sym-vase   { animation-delay: 2450ms !important; }
.palm-amazigh .sym-sun    { animation-delay: 2600ms !important; }

@keyframes fadeInSym {
  to { opacity: 1; transform: translateY(0); }
}

/* --- SABA letters: fade-in + slight rise --- */
.saba-logo .letter {
  opacity: 0;
  transform: translateY(12px);
  animation-name: fadeInLetter !important;
  animation-duration: 800ms !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: forwards !important;
}

.saba-logo .letter-s  { animation-delay: 2900ms !important; }
.saba-logo .letter-a1 { animation-delay: 3040ms !important; }
.saba-logo .letter-b  { animation-delay: 3180ms !important; }
.saba-logo .letter-a2 { animation-delay: 3320ms !important; }

@keyframes fadeInLetter {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Macron stroke draws last (signature) --- */
.saba-logo .macron {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation-name: drawStroke !important;
  animation-duration: 500ms !important;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1) !important;
  animation-fill-mode: forwards !important;
  animation-delay: 3700ms !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInWidth {
  from { opacity: 0; transform: scaleX(0.2); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* ===========================================================
   LOGO — SABĀ image (PNG transparent, 2 versions)
   logo.png  = cream version  (for dark backgrounds, hero video)
   logo2.png = olive version  (for cream backgrounds, scroll, intro)
   =========================================================== */

.intro__logo {
  display: block;
  height: clamp(80px, 12vw, 160px);
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.wordmark-rule {
  display: block;
  width: clamp(70px, 9vw, 130px);
  height: 1px;
  background: var(--sand);
  margin: var(--space-sm) auto var(--space-xs);
}

.wordmark-sub {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sand);
  padding-left: 0.42em;
}

/* Header logo — single gold version, drop-shadow on hero for legibility */
.header__logo {
  display: inline-block;
  height: 38px;
  width: auto;
}

.header__logo-img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: filter var(--dur-medium) var(--ease-move);
}

/* On hero (dark video): add subtle shadow so the gold pops */
.header:not(.is-scrolled) .header__logo-img {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

/* ===========================================================
   HEADER — 3 zones (left: menu+lang | center: logo | right: réserver)
   =========================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-md) var(--gutter);
  background: transparent;
  opacity: 0;
  transition: opacity 600ms var(--ease-enter), background var(--dur-medium) var(--ease-move);
}

.header.is-visible { opacity: 1; }

.header.is-scrolled {
  background: rgba(252, 250, 248, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
}

.header__left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  justify-self: start;
}

.header__right {
  justify-self: end;
}

/* Burger button + label */
.header__menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
}

.burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 14px;
}

.burger-icon span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur-short) var(--ease-move);
}

.header__menu[aria-expanded="true"] .burger-icon span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}
.header__menu[aria-expanded="true"] .burger-icon span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Hover + close shuffle — discrete draw motion on the burger lines */
@keyframes burger-shuffle {
  0%   { transform: translateX(0) scaleX(1); }
  35%  { transform: translateX(var(--shuffle-dir, 4px)) scaleX(0.6); }
  70%  { transform: translateX(calc(var(--shuffle-dir, 4px) * -0.4)) scaleX(0.92); }
  100% { transform: translateX(0) scaleX(1); }
}
.header__menu:hover:not([aria-expanded="true"]) .burger-icon span:nth-child(1),
.burger-icon.is-shuffling span:nth-child(1) {
  --shuffle-dir: 5px;
  animation: burger-shuffle 720ms var(--ease-move) !important;
}
.header__menu:hover:not([aria-expanded="true"]) .burger-icon span:nth-child(2),
.burger-icon.is-shuffling span:nth-child(2) {
  --shuffle-dir: -5px;
  animation: burger-shuffle 720ms var(--ease-move) 90ms !important;
}

/* Language */
.header__lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.header__lang .lang {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}

.header__lang-caret {
  font-size: 9px;
  opacity: 0.7;
}

.header__lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--space-sm);
  background: var(--cream);
  border: 1px solid var(--divider);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur-short) var(--ease-move), transform var(--dur-short) var(--ease-move);
  white-space: nowrap;
}

.header__lang:hover .header__lang-dropdown,
.header__lang:focus-within .header__lang-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header__lang-dropdown .lang {
  color: var(--ink);
}

/* Réserver button */
.header__reserve {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background var(--dur-short) var(--ease-move),
              color var(--dur-short) var(--ease-move);
}

.header__reserve:hover {
  background: currentColor;
}

.header__reserve:hover span {
  color: var(--cream);
}

.header.is-scrolled .header__reserve:hover span {
  color: var(--ink);
}

.header__reserve-caret {
  font-size: 9px;
}

/* Color rules based on background */
.header:not(.is-scrolled) {
  color: var(--cream);
}

.header.is-scrolled {
  color: var(--ink);
}

.header.is-scrolled .header__reserve:hover {
  background: var(--ink);
}

.header__reserve:hover { color: inherit; }

/* Header logo hover (defined here, not in logo section, to be near .header rules) */
.header__logo:hover { opacity: 0.75; }
.header__logo { transition: opacity var(--dur-short) var(--ease-move); }

/* Global .lang button (used inside dropdown) */
.lang {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  transition: color var(--dur-short) var(--ease-move);
}

.lang:hover, .lang.is-active { color: var(--ink); }

/* ===========================================================
   MENU overlay — Villa + palmier édition (design signature)
   Layout: aside menu-side (35%) | illo-side (65%) with villa SVG
   =========================================================== */

.menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 120; /* ABOVE header so close button is always clickable */
  display: grid;
  grid-template-columns: 504fr 936fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.65, 0, 0.35, 1) !important;
  color: var(--olive);
}

.menu.is-open { opacity: 1; pointer-events: auto; }

/* ====== Menu opening animation: cascade children with stagger ====== */
.menu .menu-head,
.menu .explore-label,
.menu .choose-label,
.menu .menu-items > *,
.menu .menu-footer {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1) !important,
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.menu.is-open .menu-head     { opacity: 1; transform: none; transition-delay: 120ms !important; }
.menu.is-open .explore-label { opacity: 1; transform: none; transition-delay: 220ms !important; }
.menu.is-open .choose-label  { opacity: 1; transform: none; transition-delay: 280ms !important; }
.menu.is-open .menu-items > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 350ms !important; }
.menu.is-open .menu-items > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 420ms !important; }
.menu.is-open .menu-items > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 480ms !important; }
.menu.is-open .menu-items > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 540ms !important; }
.menu.is-open .menu-items > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 600ms !important; }
.menu.is-open .menu-items > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 660ms !important; }
.menu.is-open .menu-footer   { opacity: 1; transform: none; transition-delay: 780ms !important; }

/* Right pane: illustration eases in with subtle scale */
.menu .illo-side {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1) !important,
              transform 1100ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.menu.is-open .illo-side {
  opacity: 1;
  transform: scale(1);
  transition-delay: 200ms !important;
}

/* Closing: faster uniform fade, no delays */
.menu:not(.is-open) .menu-head,
.menu:not(.is-open) .explore-label,
.menu:not(.is-open) .choose-label,
.menu:not(.is-open) .menu-items > *,
.menu:not(.is-open) .menu-footer,
.menu:not(.is-open) .illo-side {
  transition: opacity 350ms cubic-bezier(0.7, 0, 0.84, 0) !important,
              transform 350ms cubic-bezier(0.7, 0, 0.84, 0) !important;
  transition-delay: 0ms !important;
}

/* When menu is open, hide the header completely */
.header[data-menu-open="true"] {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity var(--dur-short) var(--ease-exit);
}

/* ============== menu-side (LEFT) ============== */
.menu-side {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-2xl) var(--space-lg) var(--space-2xl);
  background: var(--cream);
  overflow-y: auto;
  position: relative;
}

/* Top bar inside menu-side */
.menu-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.brand-mark {
  width: 40px;
  height: 56px;
  color: var(--olive);
  flex-shrink: 0;
}

.close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  cursor: pointer;
  transition: opacity var(--dur-short) var(--ease-move);
}

.close-btn:hover { opacity: 0.7; }
.close-btn svg { width: 12px; height: 12px; }

.brand-name {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  height: 36px;
}

.brand-name img {
  height: 28px;
  width: auto;
}

.reserve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--olive);
  border: 1.5px solid var(--olive);
  transition: background var(--dur-short) var(--ease-move),
              color var(--dur-short) var(--ease-move);
}

.reserve-btn:hover {
  background: transparent;
  color: var(--olive);
}

/* Labels */
.explore-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--olive);
  margin: 0;
  letter-spacing: 0.02em;
}

.choose-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(83, 71, 48, 0.55);
  margin: 8px 0 var(--space-xl);
  letter-spacing: 0.02em;
}

/* Menu items — BIG Cormorant Garamond */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: auto;
}

.menu-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: 'Cormorant Garamond', 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--olive);
  background: transparent;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  text-align: left;
  transition: color var(--dur-short) var(--ease-move),
              transform var(--dur-medium) var(--ease-move);
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
}

/* Wipe underline: brass hairline grows left → right on hover */
.menu-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  /* Force transition even with prefers-reduced-motion (UI affordance, not decorative motion) */
  transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1) !important;
  pointer-events: none;
}

.menu-link:hover::after,
.menu-link.is-hover::after { transform: scaleX(1); }

.menu-link:hover,
.menu-link.is-hover { color: var(--brass); transform: translateX(8px); }

.menu-expander-caret {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--sand);
  transition: transform var(--dur-medium) var(--ease-move);
}

.menu-expander[aria-expanded="true"] .menu-expander-caret { transform: rotate(45deg); }

/* Sub-list (Maisons) */
.menu-sublist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: var(--space-lg);
  margin: var(--space-xs) 0 var(--space-sm);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 500ms var(--ease-move), opacity 400ms var(--ease-move), margin 300ms var(--ease-move);
}

.menu-sublist[data-open="true"] {
  max-height: 240px;
  opacity: 1;
}

.menu-sublist a {
  position: relative;
  font-family: 'Cormorant Garamond', 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: rgba(83, 71, 48, 0.7);
  display: inline-block;
  align-self: flex-start;
  padding: 3px 0;
  transition: color var(--dur-short) var(--ease-move),
              transform var(--dur-medium) var(--ease-move);
}

.menu-sublist a::before { content: '— '; color: var(--sand-pale); }

.menu-sublist a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.65, 0, 0.35, 1) !important;
  pointer-events: none;
}

.menu-sublist a:hover::after,
.menu-sublist a.is-hover::after { transform: scaleX(1); }
.menu-sublist a:hover,
.menu-sublist a.is-hover { color: var(--olive); transform: translateX(6px); }

/* Footer (small text links) */
.menu-footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(83, 71, 48, 0.18);
}

.menu-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--olive);
  letter-spacing: 0.02em;
  transition: opacity var(--dur-short) var(--ease-move);
}

.menu-footer-link:hover { opacity: 0.65; }

.menu-footer-link.is-lang {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.globe {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid currentColor;
  position: relative;
}

.globe::before, .globe::after {
  content: '';
  position: absolute;
  background: currentColor;
}

.globe::before {
  left: 5px;
  top: 0;
  width: 1px;
  height: 10px;
}

.globe::after {
  top: 5px;
  left: 0;
  width: 10px;
  height: 1px;
}

/* ============== illo-side (RIGHT) ============== */
.illo-side {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.illo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 700ms var(--ease-move);
}

.illo.is-active { opacity: 0.92; }

.illo-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms var(--ease-move);
  pointer-events: none;
}

.illo-photo.is-active { opacity: 1; }

.illo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Top bar — close on left, brand center, reserve right */
.menu__topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-md) var(--gutter);
  border-bottom: 1px solid var(--divider);
  background: var(--cream);
  flex-shrink: 0;
}

.menu__close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  justify-self: start;
  cursor: pointer;
  transition: color var(--dur-short) var(--ease-move);
}

.menu__close:hover { color: var(--ink); }

.menu__close-icon {
  font-size: 22px;
  font-family: var(--font-display);
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

.menu__brand-top {
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
}

.menu__reserve {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  border: 1.5px solid var(--olive);
  transition: background var(--dur-short) var(--ease-move),
              color var(--dur-short) var(--ease-move);
}

.menu__reserve:hover {
  background: var(--olive);
  color: var(--cream);
}

/* Body: left items + right preview */
.menu__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.menu__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-3xl) var(--gutter);
  background: var(--cream);
  overflow-y: auto;
}

.menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  list-style: none;
}

.menu__list > li > a,
.menu__expander {
  position: relative;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-transform: none;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  transition: color var(--dur-short) var(--ease-move),
              transform var(--dur-medium) var(--ease-move);
  cursor: pointer;
  text-align: left;
  padding-bottom: 8px;
}

/* Wipe-underline: brass hairline that grows left → right on hover */
.menu__list > li > a::after,
.menu__expander::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.menu__list > li > a:hover::after,
.menu__expander:hover::after,
.menu__list > li.is-hover > a::after,
.menu__list > li.is-hover .menu__expander::after {
  transform: scaleX(1);
}

.menu__list > li > a:hover,
.menu__expander:hover,
.menu__list > li.is-hover > a {
  color: var(--brass);
  transform: translateX(8px);
}

.menu__expander {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
}

.menu__expander-caret {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 300;
  color: var(--sand);
  transition: transform var(--dur-medium) var(--ease-move);
}

.menu__expander[aria-expanded="true"] .menu__expander-caret {
  transform: rotate(45deg);
}

/* Sublist (Maisons) */
.menu__sublist {
  list-style: none;
  margin: var(--space-sm) 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 500ms var(--ease-move), opacity 400ms var(--ease-move), margin 300ms var(--ease-move);
}

.menu__sublist[data-open="true"] {
  max-height: 200px;
  opacity: 1;
  margin-top: var(--space-md);
}

.menu__sublist a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--text-muted);
  font-style: italic;
  transition: color var(--dur-short) var(--ease-move),
              transform var(--dur-medium) var(--ease-move);
  display: inline-block;
  padding-bottom: 6px;
}

.menu__sublist a::before {
  content: '— ';
  color: var(--sand-pale);
  margin-right: 4px;
}

.menu__sublist a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.menu__sublist a:hover::after { transform: scaleX(1); }

.menu__sublist a:hover {
  color: var(--olive);
  transform: translateX(6px);
}

/* Bottom (legal · social · lang) */
.menu__bottom {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.menu__legal {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: var(--space-md);
  list-style: none;
}

.menu__legal a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--dur-short) var(--ease-move);
}

.menu__legal a:hover { color: var(--ink); }

.menu__social {
  display: flex !important;
  flex-direction: row !important;
  gap: var(--space-md) !important;
  list-style: none;
}

.menu__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--olive);
  transition: color var(--dur-short) var(--ease-move);
}

.menu__social a:hover { color: var(--brass); }

.menu__lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu__lang .lang {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--dur-short) var(--ease-move);
}

.menu__lang .lang:hover,
.menu__lang .lang.is-active { color: var(--ink); }

.menu__lang-sep { color: var(--sand-pale); }

/* Right preview pane — stacked images, cross-fade between them */
.menu__right {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.menu__preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms var(--ease-move);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.menu__preview.is-active { opacity: 1; }

.menu__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease-move);
}

.menu__preview.is-active img { transform: scale(1.04); }

/* Default state: minimalist palm illustration */
.menu__art {
  width: clamp(160px, 22vw, 280px);
  height: auto;
  color: var(--brass);
  opacity: 0.75;
}

/* ===========================================================
   HERO
   =========================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero__video {
  display: block;
  pointer-events: none;
  transform-origin: center;
  position: relative;
  z-index: 2;
}

/* Cream fallback while video loads — replaces the touristy postcard poster */
.hero__fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 60%, rgba(83, 71, 48, 0.18), transparent 60%),
    linear-gradient(180deg, #2D2719 0%, #1F1A12 100%);
  z-index: 1;
}

@keyframes heroIn {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(31, 26, 18, 0.15) 0%,
    rgba(31, 26, 18, 0.0) 30%,
    rgba(31, 26, 18, 0.0) 50%,
    rgba(31, 26, 18, 0.55) 100%);
}

/* Hero caption — Nikki Beach centered composition */
.hero__caption--center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
  color: var(--cream);
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1400ms var(--ease-enter) 400ms forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  display: block;
  height: clamp(180px, 28vw, 380px);
  width: auto;
  max-width: 92vw;
  margin-bottom: var(--space-xs);
  filter: drop-shadow(0 4px 32px rgba(0,0,0,0.28));
}

.hero__tagline {
  font-family: 'Cormorant Garamond', 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1;
  color: var(--cream);
  margin: var(--space-xs) 0 var(--space-xl);
  letter-spacing: -0.005em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.hero__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(252, 250, 248, 0.55);
  transition: border-color var(--dur-short) var(--ease-move),
              color var(--dur-short) var(--ease-move);
}

.hero__links a:hover {
  border-color: var(--cream);
  color: var(--brass);
}

.hero__links-sep {
  display: none;
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: clamp(32px, 5vh, 64px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  animation: fadeInUp 1000ms var(--ease-enter) 4000ms forwards, bobble 2200ms ease-in-out 4200ms infinite;
}

.chevron {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -6px;
}

@keyframes bobble {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* ===========================================================
   SILENCE / Mission
   =========================================================== */

/* ===========================================================
   SCROLL REVEAL (IntersectionObserver-driven)
   =========================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1100ms var(--ease-enter),
              transform 1100ms var(--ease-enter);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Clip-path reveal — image unmasks from bottom-up on scroll */
.clip-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1600ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
}

.is-revealed .clip-reveal,
.clip-reveal.is-revealed {
  clip-path: inset(0 0 0 0);
}

/* Split text reveal — words appear sequentially */
.split-reveal { overflow: hidden; }

.split-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.is-revealed .split-reveal .word,
.split-reveal.is-revealed .word { opacity: 1; transform: translateY(0); }

.split-reveal .word:nth-child(2) { transition-delay: 80ms; }
.split-reveal .word:nth-child(3) { transition-delay: 160ms; }
.split-reveal .word:nth-child(4) { transition-delay: 240ms; }
.split-reveal .word:nth-child(5) { transition-delay: 320ms; }
.split-reveal .word:nth-child(6) { transition-delay: 400ms; }
.split-reveal .word:nth-child(7) { transition-delay: 480ms; }
.split-reveal .word:nth-child(8) { transition-delay: 560ms; }

/* Parallax containers — JS sets --p (0..1 in viewport) */
.parallax {
  will-change: transform;
}

/* Marquee — horizontal continuous scroll */
.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee__track {
  display: inline-flex;
  gap: clamp(48px, 6vw, 120px);
  animation: marquee 50s linear infinite;
  white-space: nowrap;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Stagger children inside revealed section */
[data-reveal].is-revealed [data-reveal] {
  transition-delay: 120ms;
}
[data-reveal].is-revealed [data-reveal]:nth-child(2) { transition-delay: 220ms; }
[data-reveal].is-revealed [data-reveal]:nth-child(3) { transition-delay: 320ms; }
[data-reveal].is-revealed [data-reveal]:nth-child(4) { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================
   ORNAMENT KIT — Unified system via mask-image + currentColor
   Sets --orn to any SVG path → rendered in current text color
   =========================================================== */

.orn {
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--orn) no-repeat center / contain;
          mask: var(--orn) no-repeat center / contain;
  flex-shrink: 0;
  pointer-events: none;
  vertical-align: middle;
}

.orn--xs  { width: 14px;  height: 14px; }
.orn--sm  { width: 20px;  height: 20px; }
.orn--md  { width: 32px;  height: 32px; }
.orn--lg  { width: 48px;  height: 48px; }
.orn--xl  { width: 80px;  height: 80px; }
.orn--2xl { width: 120px; height: 120px; }

/* Wide ornaments (dividers, friezes, banners) — full width */
.orn--frieze {
  display: block;
  width: clamp(180px, 32%, 360px);
  height: 32px;
  margin: 0 auto;
  background: var(--brass);
  opacity: 0.85;
}

/* Watermark: large faint behind text */
.orn--watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background: var(--olive);
  opacity: 0.05;
}

/* Stamp seal — circular, small, brand mark */
.orn--stamp {
  width: 80px;
  height: 80px;
  background: var(--brass);
  opacity: 0.7;
}

/* Numeral — for cards and process steps */
.orn--numeral {
  width: 64px;
  height: 64px;
  background: var(--brass);
}

/* Color overrides */
.orn--cream { background: var(--cream); }
.orn--olive { background: var(--olive); }
.orn--sand  { background: var(--sand); }

/* Keep legacy .ornament for backwards-compat (intro khatim, etc.) */
.ornament {
  display: block;
  margin: 0 auto var(--space-2xl);
  color: var(--brass);
  opacity: 0.75;
}

/* ===========================================================
   Section-specific ornament placements
   =========================================================== */

/* Manifeste — frieze top + arch watermark */
.manifeste { position: relative; overflow: hidden; }

.manifeste .orn--frieze {
  position: relative;
  z-index: 2;
  margin-bottom: var(--space-3xl);
  color: var(--brass);
  opacity: 0.7;
}

.manifeste__wm {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -42%);
  width: 480px;
  height: 600px;
  opacity: 0.04 !important;
  background: var(--olive) !important;
}

.manifeste__inner { position: relative; z-index: 2; }

/* Blue Cat — frieze top + production showcase grid */
.bluecat { position: relative; overflow: hidden; }
.bluecat .orn--frieze {
  position: relative;
  z-index: 2;
  margin-bottom: var(--space-3xl);
  color: var(--brass);
  opacity: 0.7;
}

.bluecat__showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  max-width: 1080px;
  margin: var(--space-3xl) auto;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.bluecat__col { text-align: left; }
.bluecat__col .eyebrow { margin-bottom: var(--space-md); color: var(--brass); }

.bluecat__pictos {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  list-style: none;
}

.bluecat__pictos li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  font-weight: 300;
}

.bluecat__pictos .orn { color: var(--olive); }

/* Contact — palm watermark */
.contact { position: relative; overflow: hidden; }

.contact__wm {
  inset: 0 auto 0 auto;
  right: 6%;
  bottom: 0;
  width: 360px;
  height: 460px;
  opacity: 0.05 !important;
  background: var(--olive) !important;
}

.contact__grid { position: relative; z-index: 2; }

/* Footer — stamp seal */
.footer__brand { position: relative; }

.footer__stamp {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px !important;
  height: 60px !important;
  opacity: 0.5 !important;
  background: var(--brass) !important;
}

/* Amenities icons (Dar Sahara, etc.) */
.amenities__icon {
  display: block;
  margin-bottom: var(--space-md);
  color: var(--brass);
  opacity: 0.85;
}

/* Package numerals (Mariages) */
.package__numeral {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 56px !important;
  height: 56px !important;
  background: var(--brass) !important;
  opacity: 0.4 !important;
}

.package--featured .package__numeral { background: var(--brass) !important; opacity: 0.6 !important; }

/* Process numerals (Mariages) */
.process__list li { position: relative; }

.process__numeral {
  display: block;
  margin-bottom: var(--space-md);
  width: 56px !important;
  height: 56px !important;
  color: var(--brass);
}

/* Testimonial quote */
.testimonial__quote {
  display: block;
  width: 200px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  background: var(--brass);
  opacity: 0.65;
}

/* Tech stack pictos (Évenements) */
.tech-stack__list { display: flex; flex-direction: column; gap: var(--space-sm); }

.tech-stack__list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(252, 250, 248, 0.85);
}

.tech-stack__list .orn { color: var(--brass); }

@media (max-width: 900px) {
  .bluecat__showcase { grid-template-columns: 1fr; gap: var(--space-lg); }
  .manifeste__wm { width: 320px; height: 400px; }
  .contact__wm { width: 220px; height: 280px; right: 4%; }
  .footer__stamp { width: 44px !important; height: 44px !important; }
}

.ornament--top {
  margin-bottom: var(--space-3xl);
}

.ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-3xl) auto;
  max-width: 240px;
  color: var(--sand-pale);
}

.ornament-line::before,
.ornament-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ===========================================================
   MANIFESTE (replaces silence)
   =========================================================== */

.manifeste {
  padding: var(--space-5xl) var(--gutter);
  text-align: center;
  position: relative;
}

.manifeste__inner {
  max-width: 760px;
  margin: 0 auto;
}

.manifeste__inner .eyebrow {
  margin-bottom: var(--space-lg);
}

.manifeste__inner .prose {
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--space-lg);
}

/* ===========================================================
   VILLAS
   =========================================================== */

.villas {
  padding: var(--space-4xl) var(--gutter) var(--space-5xl);
  background: var(--cream);
  border-top: 1px solid var(--divider);
}

.section-head {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-head .eyebrow { margin-bottom: var(--space-md); }

.villa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.villa:last-child { margin-bottom: 0; }

.villa--reverse .villa__media { order: 2; }
.villa--reverse .villa__body { order: 1; }

.villa__media {
  overflow: hidden;
}

.villa__media img {
  width: 100%;
  height: 72vh;
  max-height: 720px;
  object-fit: cover;
  transition: transform 1400ms var(--ease-move);
}

.villa__media:hover img { transform: scale(1.04); }

.villa__body { padding: var(--space-md) 0; }

.villa__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-md) 0;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.villa__meta li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wip { color: var(--brass); font-size: 0.6em; }

/* Section head large variant */
.section-head--lg {
  margin-bottom: var(--space-5xl);
}

.section-head--lg .display {
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
}

.section-head__lede {
  max-width: 620px;
  margin: var(--space-lg) auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}

/* Villa XL — taller media, stronger typography, numbered index */
.villa--xl {
  display: grid;
  grid-template-columns: 60px 6fr 5fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-5xl);
  position: relative;
}

.villa--xl.villa--reverse {
  grid-template-columns: 5fr 6fr 60px;
}

.villa--xl.villa--reverse .villa__index { order: 3; justify-content: flex-end; }
.villa--xl.villa--reverse .villa__media { order: 1; }
.villa--xl.villa--reverse .villa__body { order: 2; }

.villa__index {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
  align-self: stretch;
  padding-top: var(--space-md);
}

.villa__index span:first-child {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0;
  color: var(--brass);
}

.villa__line {
  flex: 1;
  width: 1px;
  background: var(--sand-pale);
  display: block;
}

.villa--xl .villa__media img {
  width: 100%;
  height: 86vh;
  max-height: 820px;
  object-fit: cover;
}

.villa--xl .villa__body {
  padding: 0 var(--space-md);
}

.villa--xl .villa__name {
  font-size: clamp(48px, 5.5vw, 84px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: var(--space-md) 0 var(--space-md);
}

.villa__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 var(--space-xl);
  font-weight: 300;
  max-width: 44ch;
}

.villa--xl .villa__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding: var(--space-md) 0 var(--space-xl);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  margin: 0 0 var(--space-lg);
}

.villa--xl .villa__meta li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.villa__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--olive);
}

.villa__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===========================================================
   WEDDINGS — full-bleed hero section dedicated to mariages
   =========================================================== */

.weddings {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-5xl) var(--gutter);
  color: var(--cream);
}

.weddings__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.weddings__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.weddings__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 26, 18, 0.6) 0%, rgba(31, 26, 18, 0.4) 40%, rgba(31, 26, 18, 0.75) 100%);
  z-index: 1;
}

.weddings__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.weddings__cursive {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: var(--sand-pale);
  margin: 0 0 var(--space-md);
  text-shadow: 0 4px 28px rgba(0,0,0,0.4);
}

.weddings__title {
  font-size: clamp(72px, 11vw, 180px) !important;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 0;
}

.weddings__lede {
  max-width: 640px;
  margin: var(--space-xl) auto var(--space-3xl);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(252, 250, 248, 0.92);
  font-weight: 300;
}

.weddings__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin: 0 auto var(--space-3xl);
  max-width: 1000px;
  text-align: left;
}

.weddings__pillars li {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(252, 250, 248, 0.3);
}

.weddings__pillar-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
  margin-bottom: var(--space-md);
}

.weddings__pillars h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 0 0 var(--space-sm);
}

.weddings__pillars p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(252, 250, 248, 0.78);
  margin: 0;
  font-weight: 300;
}

.weddings__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

/* Primary CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--cream);
  transition: background var(--dur-short) var(--ease-move),
              color var(--dur-short) var(--ease-move),
              letter-spacing var(--dur-medium) var(--ease-move);
}

.btn-primary:hover {
  background: transparent;
  color: var(--cream);
  letter-spacing: 0.28em;
}

.weddings__cta .link-arrow {
  color: var(--cream);
  border-color: rgba(252, 250, 248, 0.5);
  margin-top: 0;
}
.weddings__cta .link-arrow:hover { color: var(--brass); border-color: var(--brass); }

/* ===========================================================
   CELEBRATE — 7 services in 2-column grid on right side
   =========================================================== */

.celebrate {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: var(--espresso);
  color: var(--cream);
  min-height: 90vh;
}

.celebrate__media {
  overflow: hidden;
  position: relative;
}
.celebrate__media img {
  width: 100%;
  height: 100%;
  min-height: 90vh;
  object-fit: cover;
}

.celebrate__inner {
  padding: var(--space-4xl) var(--gutter) var(--space-4xl) var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.celebrate .eyebrow { color: var(--sand-pale); }
.celebrate .display-md { color: var(--cream); }
.celebrate .display-md em { color: var(--brass); }

.services {
  margin: var(--space-2xl) 0 var(--space-xl) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-2xl);
}

.services > li {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(252, 250, 248, 0.15);
}

.services .eyebrow { margin-bottom: var(--space-sm); color: var(--sand-pale); }

.services h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-sm) 0;
  color: var(--cream);
}

.services .prose-sm { color: rgba(252, 250, 248, 0.78); margin: 0; max-width: none; }

.celebrate .link-arrow {
  color: var(--cream);
  border-color: rgba(252, 250, 248, 0.4);
  align-self: flex-start;
}
.celebrate .link-arrow:hover {
  color: var(--brass);
  border-color: var(--brass);
}

/* ===========================================================
   THE BLUE CAT
   =========================================================== */

.bluecat {
  padding: var(--space-5xl) var(--gutter);
  background: var(--cream);
  text-align: center;
  position: relative;
}

.bluecat__inner {
  max-width: 760px;
  margin: 0 auto;
}

.bluecat__inner .prose {
  margin-left: auto;
  margin-right: auto;
}

.bluecat__inner .display-md em {
  font-style: italic;
}

.bluecat__refs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md) var(--space-2xl);
  margin: var(--space-3xl) auto 0;
  max-width: 720px;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--divider);
}

.bluecat__refs li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

/* ===========================================================
   JOURNAL — card layout with images
   =========================================================== */

.journal {
  padding: var(--space-4xl) var(--gutter) var(--space-5xl);
  background: var(--cream);
  border-top: 1px solid var(--divider);
}

.journal__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.journal__list li { list-style: none; }

.journal__card {
  display: block;
  color: inherit;
  transition: opacity var(--dur-short) var(--ease-move);
}

.journal__card:hover { opacity: 0.85; }

.journal__media {
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.journal__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1400ms var(--ease-move);
}

.journal__card:hover .journal__media img { transform: scale(1.05); }

.journal__list .eyebrow { margin-bottom: var(--space-sm); }

.journal__list h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-md) 0;
  color: var(--ink);
}

.journal__card .link-arrow { margin-top: 0; }

/* ===========================================================
   CONTACT — two-column with form
   =========================================================== */

.contact {
  padding: var(--space-5xl) var(--gutter);
  background: var(--cream);
  border-top: 1px solid var(--divider);
}

.contact__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-4xl);
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

.contact__intro .prose {
  margin: var(--space-lg) 0 var(--space-2xl);
}

.contact__direct {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--divider);
}

.contact__direct .eyebrow { margin-bottom: var(--space-md); }

.contact__link {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--olive);
  letter-spacing: -0.005em;
  transition: color var(--dur-short) var(--ease-move);
}

.contact__link:hover { color: var(--ink); }

.contact__address {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin: var(--space-md) 0 0;
  line-height: 1.6;
}

/* Contact form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.field__opt {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--sand-pale);
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--divider);
  padding: 10px 0 12px;
  transition: border-color var(--dur-short) var(--ease-move);
  font-weight: 300;
  letter-spacing: 0;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--sand-pale);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-body);
}

.field select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--sand) 50%), linear-gradient(135deg, var(--sand) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 24px;
}

.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-md);
  padding: 18px 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--olive);
  border: 1px solid var(--olive);
  cursor: pointer;
  transition: background var(--dur-short) var(--ease-move),
              color var(--dur-short) var(--ease-move),
              letter-spacing var(--dur-medium) var(--ease-move);
}

.form-submit:hover {
  background: var(--ink);
  border-color: var(--ink);
  letter-spacing: 0.28em;
}

.form-submit span:last-child {
  transition: transform var(--dur-short) var(--ease-move);
}

.form-submit:hover span:last-child {
  transform: translateX(4px);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin: var(--space-sm) 0 0;
}

/* ===========================================================
   FOOTER — 4 columns + newsletter + bottom
   =========================================================== */

.footer {
  padding: var(--space-4xl) var(--gutter) var(--space-lg);
  background: var(--espresso);
  color: rgba(252, 250, 248, 0.7);
}

.footer .eyebrow { color: var(--sand-pale); margin-bottom: var(--space-md); }

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(252, 250, 248, 0.12);
  align-items: start;
}

.footer__brand .footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer__tag {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
  color: var(--cream);
  margin: 0;
  max-width: 26ch;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(252, 250, 248, 0.7);
  transition: color var(--dur-short) var(--ease-move);
}

.footer__nav a:hover { color: var(--brass); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__contact a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(252, 250, 248, 0.8);
  transition: color var(--dur-short) var(--ease-move);
}

.footer__contact a:hover { color: var(--cream); }

.footer__contact p {
  font-family: var(--font-body);
  font-size: 14px;
  margin: 0;
  color: rgba(252, 250, 248, 0.6);
}

.footer__social {
  display: flex !important;
  flex-direction: row !important;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(252, 250, 248, 0.6);
  transition: color var(--dur-short) var(--ease-move);
}

.footer__social a:hover { color: var(--brass); }

/* Newsletter */
.footer__newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid rgba(252, 250, 248, 0.12);
}

.footer__newsletter-tag {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--cream);
  margin: 6px 0 0;
}

.newsletter-form {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  border-bottom: 1px solid rgba(252, 250, 248, 0.25);
  padding-bottom: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream);
  padding: 6px 0;
  font-weight: 300;
}

.newsletter-form input::placeholder {
  color: rgba(252, 250, 248, 0.4);
}

.newsletter-form input:focus { outline: none; }

.newsletter-form button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
  transition: color var(--dur-short) var(--ease-move);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.newsletter-form button:hover { color: var(--brass); }

/* Footer bottom */
.footer__bottom {
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(252, 250, 248, 0.45);
  flex-wrap: wrap;
}

.footer__bottom > p { margin: 0; }

.footer__legal {
  display: flex;
  gap: var(--space-md);
  margin: 0;
}

.footer__legal a {
  color: rgba(252, 250, 248, 0.45);
  transition: color var(--dur-short) var(--ease-move);
}

.footer__legal a:hover { color: var(--cream); }

.footer__langs {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(252, 250, 248, 0.7);
  margin: 0;
}

.footer__langs a {
  color: rgba(252, 250, 248, 0.45);
  transition: color var(--dur-short) var(--ease-move);
}

.footer__langs a:hover { color: var(--cream); }

/* ===========================================================
   Responsive
   =========================================================== */

/* ===========================================================
   INNER PAGES (dar-sahara, mariages, evenements, ...)
   =========================================================== */

body.is-inner .header {
  opacity: 1; /* no intro fade-in needed */
}

.inner-hero {
  position: relative;
  height: 76vh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.inner-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inner-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(31, 26, 18, 0.30) 0%,
      rgba(31, 26, 18, 0.0) 25%,
      rgba(31, 26, 18, 0.0) 35%,
      rgba(31, 26, 18, 0.55) 75%,
      rgba(31, 26, 18, 0.85) 100%),
    linear-gradient(95deg,
      rgba(31, 26, 18, 0.45) 0%,
      rgba(31, 26, 18, 0.15) 35%,
      rgba(31, 26, 18, 0.0) 60%);
}

.inner-hero__caption {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) var(--space-3xl);
  color: var(--cream);
  max-width: 900px;
}

.inner-hero__caption .eyebrow {
  color: rgba(252, 250, 248, 0.85);
  margin-bottom: var(--space-md);
}

.inner-hero__caption .display {
  color: var(--cream);
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.inner-hero__caption .eyebrow {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.inner-hero__tagline {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 40px);
  line-height: 1.15;
  color: var(--sand-pale);
  margin: var(--space-md) 0 0;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

/* Key facts row */
.key-facts {
  padding: var(--space-3xl) var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--divider);
}

.key-facts ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.key-facts .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--olive);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.key-facts .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Inner intro */
.inner-intro {
  padding: var(--space-5xl) var(--gutter);
  text-align: center;
  background: var(--cream);
}

.inner-intro__inner {
  max-width: 760px;
  margin: 0 auto;
}

.inner-intro__inner .eyebrow { margin-bottom: var(--space-lg); }

.inner-intro__inner .prose {
  margin: var(--space-lg) auto 0;
}

.link-inline {
  color: var(--olive);
  border-bottom: 1px solid currentColor;
  transition: color var(--dur-short) var(--ease-move);
}
.link-inline:hover { color: var(--ink); }

/* Gallery */
.gallery {
  padding: var(--space-3xl) var(--gutter) var(--space-5xl);
  background: var(--cream);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: var(--space-md);
  max-width: 1480px;
  margin: 0 auto;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--sand-pale);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1400ms var(--ease-move);
}

.gallery__item:hover img { transform: scale(1.05); }

.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* Suites */
.suites {
  padding: var(--space-4xl) var(--gutter);
  background: var(--cream);
  border-top: 1px solid var(--divider);
}

.suites__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  max-width: 1280px;
  margin: 0 auto;
}

.suites__list li {
  padding-top: var(--space-md);
  border-top: 1px solid var(--divider);
}

.suites__list h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-sm);
  color: var(--ink);
}

.suites__list p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Amenities */
.amenities {
  padding: var(--space-5xl) var(--gutter);
  background: var(--espresso);
  color: var(--cream);
}

.amenities__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.amenities .eyebrow { color: var(--sand-pale); }
.amenities .display-md { color: var(--cream); }
.amenities .display-md em { color: var(--brass); }

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.amenities__grid > div {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(252, 250, 248, 0.18);
}

.amenities__grid .eyebrow { color: var(--sand-pale); margin-bottom: var(--space-md); }

.amenities__grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amenities__grid li {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(252, 250, 248, 0.85);
  line-height: 1.5;
}

/* Pricing */
.pricing {
  padding: var(--space-5xl) var(--gutter);
  background: var(--cream);
  text-align: center;
}

.pricing__inner {
  max-width: 960px;
  margin: 0 auto;
}

.pricing__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin: var(--space-3xl) 0 var(--space-lg);
  text-align: left;
}

.pricing__list li {
  padding: var(--space-lg);
  border: 1px solid var(--divider);
}

.pricing__list .eyebrow { margin-bottom: var(--space-sm); }

.pricing__list h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-sm);
}

.pricing__list strong { color: var(--olive); font-weight: 400; }

.pricing__note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}

/* Cross-sell */
.cross-sell {
  padding: var(--space-5xl) var(--gutter);
  background: var(--cream);
  border-top: 1px solid var(--divider);
  text-align: center;
}

.cross-sell__inner {
  max-width: 720px;
  margin: 0 auto;
}

.cross-sell .prose { margin: var(--space-lg) auto var(--space-md); }

/* Packages (mariages) */
.packages {
  padding: var(--space-4xl) var(--gutter);
  background: var(--cream);
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1320px;
  margin: 0 auto;
}

.package {
  position: relative;
  padding: var(--space-xl);
  background: var(--cream);
  border: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
}

.package--featured {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

.package__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
}

.package--featured .package__eyebrow { color: var(--sand-pale); }

.package h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
  color: var(--ink);
}

.package--featured h3 { color: var(--cream); }

.package__count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 var(--space-md);
}

.package--featured .package__count { color: var(--brass); }

.package__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: var(--space-md) 0 var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--divider);
  flex: 1;
}

.package--featured .package__list { border-color: rgba(252, 250, 248, 0.15); }

.package__list li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
}

.package--featured .package__list li { color: rgba(252, 250, 248, 0.85); }

.package__price {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--ink);
  margin: 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--divider);
}

.package__price strong { color: var(--olive); font-weight: 400; }

.package--featured .package__price { color: var(--cream); border-color: rgba(252, 250, 248, 0.15); }
.package--featured .package__price strong { color: var(--brass); }

.package__badge {
  position: absolute;
  top: -10px;
  right: var(--space-md);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--brass);
  color: var(--cream);
  padding: 4px 12px;
}

.packages__note {
  max-width: 720px;
  margin: var(--space-2xl) auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Process */
.process {
  padding: var(--space-4xl) var(--gutter);
  background: var(--cream);
  border-top: 1px solid var(--divider);
}

.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  max-width: 1280px;
  margin: 0 auto;
}

.process__list li { list-style: none; }

.process__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
  display: block;
  margin-bottom: var(--space-md);
}

.process__list h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-sm);
}

.process__list p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Testimonial */
.testimonial {
  padding: var(--space-5xl) var(--gutter);
  background: var(--cream);
  text-align: center;
  border-top: 1px solid var(--divider);
}

.testimonial__inner {
  max-width: 720px;
  margin: 0 auto;
}

.testimonial .ornament { color: var(--brass); margin: 0 auto var(--space-lg); }

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--space-md);
  quotes: '“' '”';
}

.testimonial blockquote::before { content: open-quote; color: var(--brass); margin-right: 4px; }
.testimonial blockquote::after { content: close-quote; color: var(--brass); margin-left: 4px; }

.testimonial cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Partners */
.partners {
  padding: var(--space-4xl) var(--gutter);
  background: var(--cream);
  border-top: 1px solid var(--divider);
}

.partners__intro {
  max-width: 760px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
  font-size: 16px;
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
}

.partners__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg) var(--space-3xl);
  max-width: 1080px;
  margin: 0 auto;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--divider);
}

.partners__list li {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  color: var(--sand);
  letter-spacing: -0.005em;
}

/* CTA band */
.cta-band {
  padding: var(--space-5xl) var(--gutter);
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
}

.cta-band__inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-band .eyebrow { color: var(--sand-pale); }
.cta-band .display-md { color: var(--cream); }
.cta-band .display-md em { color: var(--brass); }

.cta-band .prose { color: rgba(252, 250, 248, 0.85); margin: var(--space-lg) auto var(--space-lg); }

.cta-band .link-arrow { color: var(--cream); border-color: rgba(252, 250, 248, 0.5); }
.cta-band .link-arrow:hover { color: var(--brass); border-color: var(--brass); }

/* Services detailed (evenements) */
.services-detailed {
  padding: var(--space-3xl) var(--gutter) var(--space-5xl);
  background: var(--cream);
}

.srv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto var(--space-4xl);
}

.srv:last-child { margin-bottom: 0; }

.srv--reverse .srv__media { order: 2; }
.srv--reverse .srv__body { order: 1; }

.srv__media { overflow: hidden; }

.srv__media img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  transition: transform 1200ms var(--ease-move);
}

.srv__media:hover img { transform: scale(1.04); }

.srv__body { padding: var(--space-md); }

.srv__body .eyebrow { color: var(--brass); }

.srv__body h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.2vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  line-height: 1.05;
}

.srv__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--divider);
}

.srv__meta li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Tech stack (Blue Cat infra) */
.tech-stack {
  padding: var(--space-5xl) var(--gutter);
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
}

.tech-stack__inner { max-width: 1080px; margin: 0 auto; }

.tech-stack .eyebrow { color: var(--sand-pale); }
.tech-stack .display-md { color: var(--cream); }
.tech-stack .display-md em { color: var(--brass); }

.tech-stack .prose { color: rgba(252, 250, 248, 0.85); margin: var(--space-lg) auto var(--space-3xl); }

.tech-stack__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.tech-stack__grid > div {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(252, 250, 248, 0.18);
}

.tech-stack__grid .eyebrow { color: var(--sand-pale); margin-bottom: var(--space-md); }

.tech-stack__grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-stack__grid li {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(252, 250, 248, 0.85);
}

.tech-stack .link-arrow { color: var(--cream); border-color: rgba(252, 250, 248, 0.5); }
.tech-stack .link-arrow:hover { color: var(--brass); }

/* Capacity table */
.capacity {
  padding: var(--space-5xl) var(--gutter);
  background: var(--cream);
}

.capacity__table {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: var(--font-body);
}

.capacity__table th,
.capacity__table td {
  text-align: left;
  padding: var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--divider);
  font-size: 15px;
  font-weight: 300;
}

.capacity__table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  padding-bottom: var(--space-md);
}

.capacity__table tbody tr:hover { background: rgba(252, 250, 248, 0.5); }

.capacity__table tbody td:first-child {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}

.capacity__note {
  max-width: 1080px;
  margin: var(--space-lg) auto 0;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .villa,
  .celebrate {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .villa { margin-bottom: var(--space-3xl); }

  .villa--reverse .villa__media { order: 0; }
  .villa--reverse .villa__body { order: 1; }

  .villa__media img { height: 56vh; }

  /* Villa XL responsive */
  .villa--xl, .villa--xl.villa--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-4xl);
  }
  .villa__index { flex-direction: row; align-items: center; padding-top: 0; }
  .villa__index .villa__line { width: auto; flex: 1; height: 1px; }
  .villa--xl .villa__media img { height: 60vh; }
  .villa--xl .villa__name { font-size: clamp(40px, 9vw, 64px); }
  .villa--xl .villa__meta { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }

  /* Weddings responsive */
  .weddings { min-height: auto; padding: var(--space-4xl) var(--gutter); }
  .weddings__title { font-size: clamp(56px, 18vw, 120px) !important; }
  .weddings__pillars { grid-template-columns: 1fr; gap: var(--space-lg); }
  .weddings__cta { flex-direction: column; gap: var(--space-md); }

  /* Section head large */
  .section-head--lg .display { font-size: clamp(40px, 12vw, 80px); }

  .celebrate__media img { min-height: 50vh; }

  .celebrate__inner { padding: var(--space-3xl) var(--gutter); }

  .services { grid-template-columns: 1fr; gap: var(--space-lg); }

  .journal__list { grid-template-columns: 1fr; gap: var(--space-xl); }

  .contact__grid { grid-template-columns: 1fr; gap: var(--space-3xl); }
  .field-row { grid-template-columns: 1fr; gap: var(--space-md); }

  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .footer__newsletter { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer__bottom { flex-direction: column; gap: var(--space-sm); align-items: flex-start; }

  .manifeste, .bluecat, .contact { padding: var(--space-4xl) var(--gutter); }
  .villas, .journal { padding: var(--space-3xl) var(--gutter); }

  /* Inner pages */
  .inner-hero { height: 60vh; min-height: 420px; }
  .key-facts ul { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .suites__list { grid-template-columns: 1fr; gap: var(--space-lg); }
  .amenities__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .pricing__list { grid-template-columns: 1fr; }
  .packages__grid { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .srv, .srv--reverse { grid-template-columns: 1fr; gap: var(--space-lg); }
  .srv--reverse .srv__media { order: 0; }
  .srv--reverse .srv__body { order: 1; }
  .tech-stack__grid { grid-template-columns: 1fr; }
  .capacity__table { font-size: 13px; }
  .capacity__table th, .capacity__table td { padding: var(--space-sm); }
}

@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .bluecat__refs { gap: var(--space-sm) var(--space-md); }
  .bluecat__refs li { font-size: 10px; letter-spacing: 0.14em; }
}

@media (max-width: 900px) {
  /* Header mobile: hide language selector and reserve label, keep menu + logo + simplified CTA */
  .header__lang { display: none; }
  .header__menu-label { display: none; }
  .header__reserve { padding: 10px 16px; font-size: 10px; letter-spacing: 0.15em; }
  .header__reserve-caret { display: none; }

  /* Menu mobile: single column (illustration hidden) */
  .menu { grid-template-columns: 1fr; }
  .illo-side { display: none; }
  .menu-side { padding: var(--space-lg) var(--gutter); }
  .brand-name img { height: 24px; }
  .reserve-btn { padding: 10px 18px; font-size: 10px; }
  .menu-link { font-size: clamp(32px, 9vw, 44px); }
  .menu-footer { gap: var(--space-md); }

  /* Hero tagline smaller */
  .hero__tagline { font-size: clamp(36px, 11vw, 64px); }
  .hero__links { gap: var(--space-md); }
  .hero__links a { font-size: 10px; letter-spacing: 0.18em; }
  .hero__logo { height: clamp(140px, 38vw, 240px); }
}

@media (max-width: 500px) {
  .hero__links {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ===========================================================
   Access gate — private entry overlay after intro loader
   =========================================================== */

.access-gate {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms var(--ease-move), visibility 0s linear 800ms;
}

.access-gate.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 800ms var(--ease-move), visibility 0s;
}

.access-gate.is-leaving {
  opacity: 0;
  transition: opacity 700ms var(--ease-move);
}

.access-gate__mark {
  height: clamp(64px, 8vw, 110px);
  width: auto;
  margin-bottom: var(--space-2xl);
  filter: drop-shadow(0 4px 20px rgba(31, 26, 18, 0.08));
  opacity: 0; /* SABA SVG from loader morphs into this spot */
}

.access-gate__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.access-gate__eyebrow::before,
.access-gate__eyebrow::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.access-gate__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--space-xl);
  text-align: center;
  max-width: 620px;
}

.access-gate__title em { font-style: italic; color: var(--olive); }

.access-gate__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  max-width: 420px;
}

.access-gate__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(83, 71, 48, 0.35);
  padding: var(--space-md) 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  caret-color: var(--olive);
  transition: border-color 300ms var(--ease-move);
}

.access-gate__input:focus {
  outline: none;
  border-bottom-color: var(--olive);
}

.access-gate__input::placeholder {
  color: rgba(83, 71, 48, 0.35);
  letter-spacing: 0.32em;
  font-style: italic;
}

.access-gate__cta {
  background: #534730;
  color: var(--cream);
  border: none;
  padding: 16px 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background 350ms var(--ease-move), color 350ms var(--ease-move), gap 400ms var(--ease-move);
}

.access-gate__cta:hover { background: #D6BB7C; color: #1F1A12; gap: 22px; }
.access-gate__cta::after { content: '→'; font-family: var(--font-body); font-size: 14px; letter-spacing: 0; }

.access-gate__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-md);
  text-align: center;
  min-height: 14px;
}

.access-gate__hint.is-error { color: #8B3A2A; }

.access-gate.is-error .access-gate__input {
  animation: gate-shake 400ms var(--ease-move);
  border-bottom-color: #8B3A2A;
}

@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

body.is-gate-locked { overflow: hidden; }

/* ===========================================================
   Booking bar — quiet luxury pill under hero
   =========================================================== */

.book-bar {
  position: relative;
  z-index: 4;
  margin: -180px auto var(--space-4xl);
  max-width: 1480px;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.book-bar__pill {
  pointer-events: auto;
  background: var(--cream);
  border: 1px solid rgba(83, 71, 48, 0.18);
  box-shadow: 0 32px 80px -24px rgba(31, 26, 18, 0.18);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  align-items: stretch;
}

.book-bar__cell {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(83, 71, 48, 0.12);
  min-width: 0;
  position: relative;
}

.book-bar__cell:last-of-type { border-right: none; }

.book-bar__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Custom select ---------- */
.book-bar__select { position: relative; }

.book-bar__trigger {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0 18px 0 0;
  margin: 0;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 1.25vw, 18px);
  letter-spacing: -0.005em;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  line-height: 1.2;
}

.book-bar__trigger::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--olive);
  border-bottom: 1px solid var(--olive);
  transform: translateY(-35%) rotate(225deg);
  transition: transform 300ms var(--ease-move);
}

.book-bar__select.is-open .book-bar__trigger::after {
  transform: translateY(-65%) rotate(45deg);
}

.book-bar__menu {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: calc(100% + 32px);
  min-width: 280px;
  background: var(--cream);
  border: 1px solid rgba(83, 71, 48, 0.18);
  box-shadow: 0 -24px 60px -16px rgba(31, 26, 18, 0.22);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease-move), transform 300ms var(--ease-move), visibility 0s linear 300ms;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  max-height: 360px;
  overflow-y: auto;
}

.book-bar__select.is-open .book-bar__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 300ms var(--ease-move), transform 300ms var(--ease-move), visibility 0s;
}

.book-bar__menu li {
  padding: 12px 24px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
  cursor: pointer;
  transition: background 200ms var(--ease-move), color 200ms var(--ease-move);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.book-bar__menu li .lbl-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.book-bar__menu li:hover,
.book-bar__menu li[aria-selected="true"] {
  background: rgba(83, 71, 48, 0.06);
  color: var(--olive);
}

/* ---------- Custom date ---------- */
.book-bar__date { position: relative; }

.book-bar__date-trigger { padding-right: 26px; }

.book-bar__date-trigger::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid var(--olive);
  transform: translateY(-50%);
  background:
    linear-gradient(var(--olive), var(--olive)) 0 2px / 100% 1px no-repeat,
    linear-gradient(var(--olive), var(--olive)) 3px 0 / 1px 2px no-repeat,
    linear-gradient(var(--olive), var(--olive)) 8px 0 / 1px 2px no-repeat;
  opacity: 0.55;
}

.book-bar__trigger--placeholder { color: var(--text-muted); font-style: italic; }

.book-bar__cal {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--cream);
  border: 1px solid rgba(83, 71, 48, 0.18);
  box-shadow: 0 -24px 60px -16px rgba(31, 26, 18, 0.22);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease-move), transform 300ms var(--ease-move), visibility 0s linear 300ms;
  padding: 20px 24px 24px;
  width: 320px;
}

.book-bar__date.is-open .book-bar__cal {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 300ms var(--ease-move), transform 300ms var(--ease-move), visibility 0s;
}

.book-bar__cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.book-bar__cal-month {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.book-bar__cal-month em { font-style: italic; color: var(--olive); }

.book-bar__cal-nav {
  background: transparent;
  border: 1px solid rgba(83, 71, 48, 0.25);
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: var(--olive);
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms var(--ease-move);
}

.book-bar__cal-nav:hover { background: rgba(83, 71, 48, 0.06); }

.book-bar__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.book-bar__cal-dow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 0;
}

.book-bar__cal-day {
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  aspect-ratio: 1;
  cursor: pointer;
  transition: background 200ms var(--ease-move), color 200ms var(--ease-move);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.book-bar__cal-day:hover:not(:disabled) {
  background: rgba(83, 71, 48, 0.08);
  color: var(--olive);
}

.book-bar__cal-day.is-today { color: var(--olive); font-style: italic; }

.book-bar__cal-day.is-selected {
  background: var(--olive);
  color: var(--cream);
}

.book-bar__cal-day:disabled { color: rgba(31, 26, 18, 0.22); cursor: default; }
.book-bar__cal-day.is-empty { visibility: hidden; }

/* ---------- Counter ---------- */
.book-bar__counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.book-bar__counter button {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(83, 71, 48, 0.35);
  background: transparent;
  color: var(--olive);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms var(--ease-move), border-color 200ms var(--ease-move);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.book-bar__counter button:hover { background: rgba(83, 71, 48, 0.06); border-color: var(--olive); }

.book-bar__counter input {
  width: 32px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--ink);
  background: transparent;
  border: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
.book-bar__counter input::-webkit-outer-spin-button,
.book-bar__counter input::-webkit-inner-spin-button { appearance: none; margin: 0; }

/* ---------- CTA ---------- */
.book-bar__cta {
  background: #534730;
  color: var(--cream);
  border: none;
  padding: 0 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background 350ms var(--ease-move), color 350ms var(--ease-move), gap 400ms var(--ease-move);
}

.book-bar__cta:hover {
  background: #D6BB7C;
  color: #1F1A12;
  gap: 22px;
}

.book-bar__cta::after { content: '→'; font-family: var(--font-body); font-size: 14px; letter-spacing: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .book-bar__pill { grid-template-columns: 1fr 1fr; }
  .book-bar__cell { border-right: none; border-bottom: 1px solid rgba(83, 71, 48, 0.12); }
  .book-bar__cell:nth-child(odd) { border-right: 1px solid rgba(83, 71, 48, 0.12); }
  .book-bar__cta { grid-column: 1 / -1; padding: 20px; justify-content: center; }
  .book-bar__cal { left: 0; }
  .book-bar__menu { left: -16px; right: -16px; }
}

@media (max-width: 540px) {
  .book-bar__pill { grid-template-columns: 1fr; }
  .book-bar__cell { border-right: none !important; }
  .book-bar__cell:not(:last-of-type) { border-bottom: 1px solid rgba(83, 71, 48, 0.12); }
  .book-bar__cal { width: calc(100vw - 48px); left: 0; }
}

/* ===========================================================
   Cinematic horizontal scroll gallery
   =========================================================== */

.gallery-cine {
  position: relative;
  background: var(--cream);
  /* JS sets height dynamically based on track width */
}

.gallery-cine__head {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) var(--gutter) var(--space-xl);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.gallery-cine__head .eyebrow { margin: 0; }

.gallery-cine__head .display-md { margin: 0; max-width: 720px; }

.gallery-cine__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.gallery-cine__hint::before,
.gallery-cine__hint::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.gallery-cine__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gallery-cine__track {
  display: flex;
  gap: clamp(20px, 2.5vw, 48px);
  padding: 0 clamp(40px, 8vw, 160px);
  will-change: transform;
  align-items: center;
}

.gallery-cine__item {
  flex: 0 0 auto;
  height: 72vh;
  position: relative;
  overflow: hidden;
}

.gallery-cine__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1200ms var(--ease-move);
}

.gallery-cine__item:hover img {
  transform: scale(1.04);
}

.gallery-cine__item--portrait { width: clamp(280px, 30vw, 480px); aspect-ratio: 3 / 4; }
.gallery-cine__item--landscape { width: clamp(420px, 52vw, 820px); aspect-ratio: 16 / 10; }
.gallery-cine__item--square { width: clamp(340px, 40vw, 620px); aspect-ratio: 1 / 1; }
.gallery-cine__item--tall { width: clamp(280px, 28vw, 440px); aspect-ratio: 2 / 3; }

.gallery-cine__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-md);
  background: linear-gradient(180deg, transparent 0%, rgba(31, 26, 18, 0.55) 100%);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-move), transform 500ms var(--ease-move);
}

.gallery-cine__item:hover .gallery-cine__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-cine__progress {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(160px, 18vw, 280px);
  height: 1px;
  background: rgba(31, 26, 18, 0.12);
  z-index: 3;
  pointer-events: none;
}

.gallery-cine__progress-bar {
  display: block;
  height: 100%;
  background: var(--olive);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 80ms linear;
}

/* Mobile fallback: native horizontal scroll */
@media (max-width: 900px) {
  .gallery-cine {
    height: auto !important;
  }
  .gallery-cine__sticky {
    position: static;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-cine__track {
    transform: none !important;
    padding: 0 var(--gutter);
    gap: var(--space-md);
  }
  .gallery-cine__item {
    scroll-snap-align: center;
    height: 56vh;
  }
  .gallery-cine__item--portrait,
  .gallery-cine__item--tall { width: 70vw; }
  .gallery-cine__item--landscape,
  .gallery-cine__item--square { width: 88vw; }
  .gallery-cine__progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-cine {
    height: auto !important;
  }
  .gallery-cine__sticky {
    position: static;
    height: auto;
    overflow-x: auto;
  }
  .gallery-cine__track {
    transform: none !important;
  }
  .gallery-cine__progress { display: none; }
}

/* ===========================================================
   Lightbox — full gallery modal
   =========================================================== */

.lightbox-trigger {
  display: flex;
  justify-content: center;
  padding: var(--space-4xl) var(--gutter);
  background: var(--cream);
  position: relative;
}

.lightbox-trigger__btn {
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  color: var(--ink);
  font-family: inherit;
}

.lightbox-trigger__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.lightbox-trigger__eyebrow::before,
.lightbox-trigger__eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.lightbox-trigger__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  transition: color 400ms var(--ease-move);
}

.lightbox-trigger__title em { color: var(--olive); font-style: italic; }

.lightbox-trigger__cue {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: gap 400ms var(--ease-move);
}

.lightbox-trigger__cue::after {
  content: '→';
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 400ms var(--ease-move);
}

.lightbox-trigger__btn:hover .lightbox-trigger__title { color: var(--olive); }
.lightbox-trigger__btn:hover .lightbox-trigger__cue { gap: 22px; }
.lightbox-trigger__btn:hover .lightbox-trigger__cue::after { transform: translateX(4px); }

.lightbox {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.lightbox.is-open { display: flex; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--gutter);
  border-bottom: 1px solid rgba(31, 26, 18, 0.08);
  background: var(--cream);
  z-index: 2;
}

.lightbox__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.5vw, 32px);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.lightbox__title em { font-style: italic; color: var(--olive); }

.lightbox__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lightbox__close {
  background: transparent;
  border: 1px solid rgba(31, 26, 18, 0.18);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 300ms var(--ease-move);
}

.lightbox__close:hover { background: rgba(31, 26, 18, 0.04); }
.lightbox__close svg { width: 10px; height: 10px; }

.lightbox__grid {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-lg) var(--gutter) var(--space-3xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-content: start;
}

@media (max-width: 900px) {
  .lightbox__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .lightbox__grid { grid-template-columns: 1fr; }
}

.lightbox__grid figure {
  margin: 0;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
}

.lightbox__grid figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1000ms var(--ease-move), opacity 600ms var(--ease-move);
  opacity: 0.92;
}

.lightbox__grid figure:hover img {
  transform: scale(1.025);
  opacity: 1;
}

/* Fullscreen viewer */
.lightbox__viewer {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 18, 0.94);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox__viewer.is-open { display: flex; }

.lightbox__viewer img {
  max-width: 92vw;
  max-height: 88vh;
  display: block;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.lightbox__viewer-close,
.lightbox__viewer-nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(252, 250, 248, 0.3);
  color: var(--cream);
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 300ms var(--ease-move), border-color 300ms var(--ease-move);
  font-family: var(--font-body);
  font-size: 20px;
}

.lightbox__viewer-close { top: 24px; right: 24px; }
.lightbox__viewer-nav--prev { left: 32px; top: 50%; transform: translateY(-50%); }
.lightbox__viewer-nav--next { right: 32px; top: 50%; transform: translateY(-50%); }

.lightbox__viewer-close:hover,
.lightbox__viewer-nav:hover {
  background: rgba(252, 250, 248, 0.1);
  border-color: rgba(252, 250, 248, 0.6);
}

.lightbox__viewer-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(252, 250, 248, 0.7);
}

@media (max-width: 600px) {
  .lightbox__viewer-nav--prev { left: 12px; width: 36px; height: 36px; }
  .lightbox__viewer-nav--next { right: 12px; width: 36px; height: 36px; }
  .lightbox__viewer-close { top: 12px; right: 12px; width: 36px; height: 36px; }
}

body.is-lightbox-open { overflow: hidden; }

/* ===========================================================
   Location widget — quiet luxury cartography
   =========================================================== */

.location {
  padding: var(--space-4xl) var(--gutter);
  background: var(--cream);
  border-top: 1px solid rgba(31, 26, 18, 0.06);
  border-bottom: 1px solid rgba(31, 26, 18, 0.06);
}

.location__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.location__map {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 55%, rgba(201, 184, 148, 0.18) 0%, transparent 65%),
    var(--cream);
  border: 1px solid rgba(83, 71, 48, 0.18);
}

.location__map svg {
  width: 100%;
  height: 100%;
  display: block;
}

.location__map .map-line {
  fill: none;
  stroke: var(--sand);
  stroke-width: 0.8;
  opacity: 0.45;
}

.location__map .map-road {
  fill: none;
  stroke: var(--olive);
  stroke-width: 0.9;
  stroke-dasharray: 2 3;
  opacity: 0.6;
}

.location__map .map-contour {
  fill: none;
  stroke: var(--sand-pale);
  stroke-width: 0.6;
  opacity: 0.55;
}

.location__map .map-poi {
  fill: var(--ink);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location__map .map-poi-dot {
  fill: var(--sand);
}

.location__map .map-villa-mark {
  fill: var(--brass);
  stroke: var(--ink);
  stroke-width: 0.6;
}

.location__map .map-villa-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 11px;
  fill: var(--ink);
  letter-spacing: -0.005em;
}

.location__map .map-compass {
  fill: var(--olive);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.2em;
}

.location__map .map-compass-shape {
  fill: none;
  stroke: var(--olive);
  stroke-width: 0.7;
}

.location__map .map-scale {
  stroke: var(--olive);
  stroke-width: 0.7;
}

.location__map .map-scale-label {
  fill: var(--sand);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.location__body .eyebrow {
  margin-bottom: var(--space-md);
}

.location__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--space-lg);
}

.location__name em {
  font-style: italic;
  color: var(--olive);
}

.location__coords {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(83, 71, 48, 0.15);
}

.location__times {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-lg);
}

.location__times li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.location__times .place {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.location__times .dur {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}

.location__times .dur small {
  font-size: 12px;
  color: var(--sand);
  margin-left: 4px;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.location__note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}

@media (max-width: 900px) {
  .location__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .location__name { font-size: clamp(32px, 8vw, 48px); }
  .location__times { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================
   Reduce motion
   =========================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
