/* ==========================================================================
   Abdo Luxury Camp Merzouga: main stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #16110d;
  --ink-2: #2a211b;
  --night: #0d0f1f;
  --sand: #e9d8bc;
  --sand-2: #f4ead9;
  --cream: #faf5ec;
  --gold: #c8924a;
  --gold-2: #a8752f;
  --terra: #b4532a;
  --muted: #6f6257;
  --line: rgba(22, 17, 13, .12);
  --wa: #1fa855;
  --wa-2: #178a45;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
em { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section--sand { background: var(--sand-2); }
.section--dark { background: var(--ink); color: #d9cfc2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: #bfb3a5; }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: 18px 28px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-2); }
.btn--wa::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3zm5.9 15.7c-.3-.2-1.9-1-2.2-1s-.5-.2-.7.2-.8 1-1 1.2-.4.2-.7 0a8.8 8.8 0 0 1-4.4-3.8c-.3-.6.3-.5 1-1.7.1-.2 0-.4 0-.6l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6a1.2 1.2 0 0 0-.9.4 3.7 3.7 0 0 0-1.1 2.7 6.5 6.5 0 0 0 1.3 3.4 14.6 14.6 0 0 0 5.7 5c2.1.9 2.9 1 4 .8.6-.1 1.9-.8 2.2-1.5s.3-1.4.2-1.5-.3-.2-.6-.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3zm5.9 15.7c-.3-.2-1.9-1-2.2-1s-.5-.2-.7.2-.8 1-1 1.2-.4.2-.7 0a8.8 8.8 0 0 1-4.4-3.8c-.3-.6.3-.5 1-1.7.1-.2 0-.4 0-.6l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6a1.2 1.2 0 0 0-.9.4 3.7 3.7 0 0 0-1.1 2.7 6.5 6.5 0 0 0 1.3 3.4 14.6 14.6 0 0 0 5.7 5c2.1.9 2.9 1 4 .8.6-.1 1.9-.8 2.2-1.5s.3-1.4.2-1.5-.3-.2-.6-.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d8a45c; }
.btn--sm { padding: 12px 18px; font-size: .72rem; }
.btn--block { width: 100%; }
.link-arrow {
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--gold-2); display: inline-flex; align-items: center; gap: 10px;
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
  color: var(--ink);
  background: rgba(250, 245, 236, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.has-hero .site-header:not(.is-scrolled) { background: transparent; box-shadow: none; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar {
  max-width: 1360px; margin: 0 auto; height: var(--header-h);
  padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: auto; }
.brand__name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.05; white-space: nowrap; }
.brand__name em { display: block; font-size: .78rem; font-family: var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .04em; position: relative; padding: 6px 0; white-space: nowrap; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { right: 0; }
.lang { display: flex; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; padding-left: 18px; border-left: 1px solid currentColor; border-color: rgba(128, 128, 128, .35); }
.lang a, .lang span { padding: 2px 0; }
.lang span { opacity: .4; cursor: default; }
.lang .is-on { color: var(--gold); }
.burger { display: none; }

@media (max-width: 1180px) {
  .nav ul { gap: 14px; }
  .nav a { font-size: .76rem; }
}
@media (max-width: 1240px) {
  .burger {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    background: none; border: 0; color: inherit; cursor: pointer; z-index: 2;
  }
  .burger span:not(.sr) { width: 24px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--ink); color: #fff;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px;
    padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav a { font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.4rem); letter-spacing: 0; font-weight: 400; }
  .nav.is-open li { animation: navIn .6s var(--ease) both; }
  .nav.is-open li:nth-child(2) { animation-delay: .04s; } .nav.is-open li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open li:nth-child(4) { animation-delay: .12s; } .nav.is-open li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open li:nth-child(6) { animation-delay: .2s; } .nav.is-open li:nth-child(7) { animation-delay: .24s; }
  .nav.is-open li:nth-child(8) { animation-delay: .28s; }
  .lang { border: 0; padding: 0; font-size: .85rem; gap: 16px; }
  .lang a, .lang span { font-family: var(--sans); font-size: .85rem; }
  body.nav-open .site-header { color: #fff; background: transparent; box-shadow: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand img { width: 46px; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--night);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s ease-out both;
  transform-origin: 60% 60%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 15, 31, .72) 0%, rgba(13, 15, 31, .35) 45%, rgba(13, 15, 31, 0) 75%),
    linear-gradient(180deg, rgba(13, 15, 31, .55) 0%, rgba(13, 15, 31, .05) 35%, rgba(13, 15, 31, .25) 60%, rgba(22, 17, 13, .92) 100%);
}
.hero h1 em { color: #f3c98a; }
.hero h1, .hero__lead { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero__content { position: relative; z-index: 1; padding-bottom: clamp(56px, 10vh, 110px); padding-top: 140px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1.2s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 52ch; color: rgba(255, 255, 255, .85); animation: fadeUp 1.2s .45s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; animation: fadeUp 1.2s .6s var(--ease) both; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
  animation: fadeUp 1.2s .75s var(--ease) both;
}
.hero__facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 1; color: rgba(255, 255, 255, .7);
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; padding: calc(var(--header-h) + clamp(70px, 12vw, 150px)) 0 clamp(56px, 8vw, 96px); }
.page-hero__media { position: absolute; inset: -10% 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,17,13,.35), rgba(22,17,13,.85)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: rgba(255, 255, 255, .82); }
.crumbs { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; color: rgba(255, 255, 255, .7); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---------- Word-by-word reveal ---------- */
.manifesto { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.3; color: var(--ink); max-width: 26ch; margin: 0; }
.manifesto--wide { max-width: 32ch; }
[data-words] .w { opacity: .16; transition: opacity .25s linear; }
[data-words] .w.on { opacity: 1; }
.manifesto em { color: var(--gold-2); }

/* ---------- Split block ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__badge {
  position: absolute; left: 20px; bottom: 20px; background: rgba(22, 17, 13, .78); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 14px 18px; border-radius: 10px; font-size: .78rem; letter-spacing: .08em;
}
.split__badge strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: 0; color: var(--gold); }
.stack-imgs { position: relative; }
.stack-imgs .split__media + .split__media { position: absolute; width: 46%; right: -6%; bottom: -10%; border: 6px solid var(--cream); }
.section--sand .stack-imgs .split__media + .split__media { border-color: var(--sand-2); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .stack-imgs { margin-bottom: 12%; }
  .stack-imgs .split__media + .split__media { right: 0; }
}

/* ---------- Parallax ---------- */
[data-parallax] { will-change: transform; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
.clip { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.clip.in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ---------- Night timeline (sticky scrollytelling) ---------- */
.night { position: relative; height: 560vh; background: var(--night); color: #fff; --sky-a: #e7b06e; --sky-b: #f4d8a4; --stars: 0; --sun-y: 0; }
.night__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.night__sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 100%); }
.night__stars {
  position: absolute; inset: 0; opacity: var(--stars);
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 44% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 61% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 77% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 89% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 38%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 35% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 53% 34%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 70% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 36%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 20% 52%, #fff 50%, transparent 51%);
  background-size: 420px 300px;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { filter: brightness(.7); } to { filter: brightness(1.3); } }
.night__sun {
  position: absolute; left: 72%; top: 0; width: clamp(80px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff3d6 0%, #ffcf7a 45%, rgba(255, 170, 80, 0) 70%);
  transform: translateY(var(--sun-y)); filter: blur(1px);
}
.night__dunes { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; color: var(--dune, #8a5a2c); transition: color .2s; }
.night__dunes svg { width: 100%; height: 100%; display: block; }
.night__inner {
  position: relative; z-index: 2; height: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center;
}
.night__title { position: absolute; top: calc(var(--header-h) + 20px); left: var(--gutter); z-index: 3; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.night__steps { list-style: none; margin: 0; padding: 0; position: relative; min-height: 340px; }
.night__step {
  position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none;
  background: rgba(13, 15, 31, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12);
}
.night__step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.night__num { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; color: var(--gold); font-style: italic; display: block; margin-bottom: 8px; }
.night__when { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); display: block; margin-bottom: 10px; }
.night__step h3 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.night__step p { color: rgba(255,255,255,.85); margin: 0; }
.night__photos { position: relative; aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; justify-self: end; }
.night__photos figure { position: absolute; inset: 0; margin: 0; border-radius: var(--radius); overflow: hidden; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.4s var(--ease); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.night__photos figure.is-on { opacity: 1; transform: none; }
.night__photos img { width: 100%; height: 100%; object-fit: cover; }
.night__bar { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 24px; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; }
.night__bar span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--gold); border-radius: 2px; }
@media (max-width: 860px) {
  .night__inner { grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-items: end; padding-top: calc(var(--header-h) + 50px); padding-bottom: 96px; gap: 18px; }
  .night__bar { bottom: 40px; right: 96px; }
  .night__photos { order: -1; aspect-ratio: auto; height: 100%; max-height: none; min-height: 0; }
  .night__steps { min-height: 210px; }
  .night__step { padding: 20px; }
  .night__num { font-size: 2.4rem; }
  .night__step p { font-size: .92rem; }
}

/* ---------- Tent cards ---------- */
.tents { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.tent { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; display: block; isolation: isolate; }
.tent img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; opacity: .9; }
.tent:hover img { transform: scale(1.06); opacity: 1; }
.tent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(22,17,13,.9)); z-index: 0; }
.tent__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(22px, 3vw, 36px); }
.tent__body h3 { color: #fff; margin-bottom: .3em; }
.tent__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.tent__meta li { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 6px 12px; }
.tent__tag { position: absolute; top: 20px; left: 20px; z-index: 1; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 14px; border-radius: 99px; }
@media (max-width: 760px) { .tents { grid-template-columns: 1fr; } }

/* ---------- Horizontal activity rail ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer; font-size: 1.2rem; transition: background .3s, color .3s; }
.rail-nav button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 380px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px var(--gutter) 20px; margin: 0 calc(var(--gutter) * -1);
  scroll-padding: 0 var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1280px) { .rail { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); margin-left: calc((100vw - var(--wrap)) / -2 - var(--gutter)); } }
.act { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--ink); text-decoration: none; display: block; }
.act img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.act:hover img { transform: scale(1.06); }
.act::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(22,17,13,.92)); }
.act__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 24px; }
.act__body h3 { color: #fff; margin-bottom: .25em; }
.act__body p { font-size: .9rem; color: rgba(255,255,255,.8); margin: 0; }
.act__n { position: absolute; z-index: 1; top: 18px; left: 22px; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--cream); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--ink); padding: 0 28px; white-space: nowrap; }
.marquee span::after { content: "\2726"; font-style: normal; color: var(--gold); font-size: .6em; margin-left: 56px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reviews ---------- */
.reviews { columns: 3 320px; column-gap: 24px; }
.review { break-inside: avoid; margin: 0 0 24px; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.section--dark .review { background: #201913; border-color: rgba(255,255,255,.08); }
.review blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.section--dark .review blockquote { color: #f1e8db; }
.review blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.review figcaption { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.section--dark .review figcaption { color: #a99c8d; }
.review figcaption strong { color: var(--gold-2); letter-spacing: .08em; }
.section--dark .review figcaption strong { color: var(--gold); }
.review__tr { display: block; text-transform: none; letter-spacing: 0; font-size: .74rem; margin-top: 4px; opacity: .8; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: .9rem; margin-bottom: 10px; }

/* ---------- Feature list / amenities ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--cream); padding: 28px 24px; }
.section--sand .feature { background: var(--sand-2); }
.feature svg { width: 30px; height: 30px; color: var(--gold-2); margin-bottom: 14px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .3em; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 28px 0; padding: 0; list-style: none; }
.facts li { border-top: 1px solid var(--line); padding-top: 14px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; color: var(--ink); letter-spacing: 0; text-transform: none; }

/* ---------- Tent detail ---------- */
.tent-detail { scroll-margin-top: calc(var(--header-h) + 20px); }
.tent-detail + .tent-detail { margin-top: clamp(72px, 10vw, 130px); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5 / 4.4; }
.mosaic > :first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.mosaic > * { overflow: hidden; border-radius: 10px; min-height: 0; }

/* ---------- Tours ---------- */
.tours { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tour { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s; }
.tour:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(22,17,13,.1); }
.tour img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tour__body { padding: 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tour__days { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); }
.tour__body h3 { margin-bottom: .2em; }
.tour__body p { color: var(--muted); font-size: .94rem; }
.tour__body .link-arrow { margin-top: auto; }
.route { list-style: none; padding: 0; margin: 0; counter-reset: d; border-left: 1px solid var(--gold); }
.route li { counter-increment: d; position: relative; padding: 0 0 30px 34px; }
.route li::before { content: counter(d); position: absolute; left: -15px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 600 .8rem/30px var(--sans); text-align: center; }
.route h3 { font-size: 1.2rem; margin-bottom: .3em; }
.route p { color: var(--muted); margin: 0; }

/* ---------- Guide (getting here) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.answer { background: var(--sand-2); border-left: 3px solid var(--gold); padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 0 0 2em; }
.answer p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.5em 0 2em; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--sand-2); color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.note { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faqs { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.section--dark .faqs, .section--dark .faq { border-color: rgba(255,255,255,.12); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink); }
.section--dark .faq summary { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; font-weight: 300; color: var(--gold); transition: transform .35s var(--ease); }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq > div { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }
.section--dark .faq > div { color: #bfb3a5; }
.faq > div p:last-child { margin: 0; }

/* ---------- Photo band (one full-width photo with a short text) ---------- */
.photo-band { position: relative; overflow: hidden; color: #fff; background: var(--ink); min-height: clamp(460px, 80vh, 760px); display: flex; align-items: flex-end; }
.photo-band__media { position: absolute; inset: -8% 0; }
.photo-band__media > div, .cta__media > div, .page-hero__media > div { height: 100%; }
.photo-band__media img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,17,13,.78) 0%, rgba(22,17,13,.35) 50%, rgba(22,17,13,0) 80%), linear-gradient(0deg, rgba(22,17,13,.6), transparent 50%); }
.photo-band__text { position: relative; z-index: 1; padding-top: 80px; padding-bottom: clamp(48px, 8vw, 96px); }
.photo-band__text h2 { color: #fff; max-width: 16ch; }
.photo-band__text p { max-width: 46ch; color: rgba(255,255,255,.88); }
.photo-band__text .link-arrow { color: var(--gold); }
.photo-band .eyebrow { color: var(--gold); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--ink); text-align: center; padding: clamp(96px, 14vw, 180px) 0; }
.cta__media { position: absolute; inset: -12% 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta p { color: rgba(255,255,255,.82); max-width: 54ch; margin: 0 auto 32px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Video clips ---------- */
.vid { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.night__photos video { width: 100%; height: 100%; object-fit: cover; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: clamp(48px, 7vw, 80px); }
.videos figure { margin: 0; border-radius: 10px; overflow: hidden; position: relative; background: var(--ink); }
.videos .vid { aspect-ratio: 4 / 5; }
.videos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(22,17,13,.85)); }
.video-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.video-frame .vid { aspect-ratio: 4 / 3; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform 1s var(--ease), filter .5s; }
.gallery button:hover img { transform: scale(1.04); filter: saturate(1.1); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 8, 6, .94); }
.lightbox__inner { width: 100%; height: 100%; display: grid; place-items: center; padding: 60px 16px 40px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 8px; }
.lightbox p { color: #d9cfc2; text-align: center; font-size: .9rem; margin: 14px 0 0; }
.lightbox__btn { position: fixed; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox__btn:hover { background: var(--gold); color: var(--ink); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Google rating ---------- */
.g-rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .85rem; font-weight: 500; letter-spacing: .02em; }
.g-rating .stars { margin: 0; letter-spacing: 2px; color: var(--gold); }
.g-rating:hover { text-decoration: underline; }
.hero__rating { margin: 22px 0 0; color: #fff; animation: fadeUp 1.2s .7s var(--ease) both; }
.hero__rating .g-rating { background: rgba(13, 15, 31, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); }
.rating-line { margin: 4px 0 0; color: var(--ink); }

/* ---------- Map ---------- */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); aspect-ratio: 16 / 7; margin: 1.5em 0 0; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Article (blog) ---------- */
.article-meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: 18px; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.prose a { color: var(--gold-2); }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 20px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--gold-2); }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Booking form (dialog + inline) ---------- */
.book { border: 0; padding: 0; border-radius: 18px; width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); background: var(--cream); color: var(--ink-2); box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.book::backdrop { background: rgba(13, 10, 8, .65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.book[open] { animation: bookIn .5s var(--ease); }
@keyframes bookIn { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
.book__form { padding: clamp(22px, 4vw, 36px); }
.book__head { position: relative; padding-right: 40px; }
.book__head h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .3em; }
.book__lead { color: var(--muted); font-size: .92rem; }
.book__close { position: absolute; right: -6px; top: -6px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 22px; }
.book__grid .span-2 { grid-column: span 2; }
.book label, .form label { display: grid; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.book .opt, .form .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.book input, .book select, .book textarea, .form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink); letter-spacing: 0; text-transform: none;
  background: #fff; border: 1px solid rgba(22,17,13,.18); border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px;
}
.book input:focus, .book select:focus, .book textarea:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 146, 74, .2); }
.book__fine { font-size: .8rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
@media (max-width: 480px) { .book__grid { grid-template-columns: 1fr; } .book__grid .span-2 { grid-column: auto; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(23, 138, 69, .4);
  transform: translateY(120px); transition: transform .5s var(--ease), background .3s;
}
.wa-float.is-on { transform: none; }
.wa-float:hover { background: var(--wa-2); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bfb3a5; padding: clamp(64px, 9vw, 100px) 0 28px; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; }
.site-footer__logo { width: 110px; margin-bottom: 18px; }
.site-footer__title { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; font-size: .8rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Grain overlay ---------- */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .clip { opacity: 1; transform: none; clip-path: none; }
  [data-words] .w { opacity: 1; }
  .night { height: auto; }
  .night__sticky { position: relative; height: auto; }
  .night__sky { background: var(--night); }
  .night__sun, .night__dunes, .night__bar { display: none; }
  .night__inner { display: block; padding-top: 120px; }
  .night__steps { min-height: 0; display: grid; gap: 16px; }
  .night__step { position: relative; opacity: 1; transform: none; }
  .night__photos { display: none; }
}
