/* Diamond Tours shared site styles. Tokens follow DESIGN.md. */
/* ---------- Design tokens (DESIGN.md) ---------- */
:root {
  --color-obsidian: #0D0D0D;
  --color-graphite: #252525;
  --color-ivory: #F7F4EE;
  --color-champagne: #D6C3A5;
  --color-platinum: #B8BCC1;
  --color-linen: #F2EDE4;
  --color-emerald: #18352F;
  --color-text-muted: #6D6D6D;

  --background-primary: var(--color-ivory);
  --background-dark: var(--color-obsidian);
  --background-soft: var(--color-linen);
  --surface-dark: var(--color-graphite);

  --text-primary: var(--color-obsidian);
  --text-inverse: var(--color-ivory);
  --text-muted: var(--color-text-muted);
  --text-muted-inverse: rgba(247, 244, 238, 0.68);

  --accent-primary: var(--color-champagne);

  --border-subtle: rgba(13, 13, 13, 0.12);
  --border-subtle-inverse: rgba(247, 244, 238, 0.16);
  --border-strong: var(--color-platinum);

  --focus-ring: var(--color-obsidian);
  --focus-ring-inverse: var(--color-champagne);

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-h1: clamp(2.75rem, 1.6rem + 4.6vw, 6rem);
  --text-h2: clamp(2.25rem, 1.6rem + 2.6vw, 4rem);
  --text-h3: clamp(1.625rem, 1.4rem + 0.9vw, 2.25rem);
  --text-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --text-body: clamp(1rem, 0.96rem + 0.18vw, 1.1875rem);
  --text-small: 0.875rem;
  --text-eyebrow: 0.75rem;

  --section-gap: clamp(4rem, 2rem + 8vw, 10rem);
  --gutter: clamp(1rem, 5vw, 5rem);

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 800ms;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--background-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
::selection { background: var(--color-champagne); color: var(--color-obsidian); }

.container-site { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 640px) { .container-site { padding-inline: 1rem; } }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--color-ivory); color: var(--color-obsidian);
  padding: .75rem 1rem; border-radius: var(--radius-md); font-size: var(--text-small);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--focus-ring-inverse); }

/* ---------- Type ---------- */
.t-h1, .t-h2, .t-h3, .t-display { font-family: var(--font-display); font-weight: 400; }
.t-h1 { font-size: var(--text-h1); line-height: 0.98; letter-spacing: -0.01em; }
.t-h2 { font-size: var(--text-h2); line-height: 1.04; letter-spacing: -0.005em; }
.t-h3 { font-size: var(--text-h3); line-height: 1.15; }
.t-lead { font-size: var(--text-lead); line-height: 1.55; }
.t-small { font-size: var(--text-small); line-height: 1.5; }
.eyebrow {
  font-family: var(--font-body); font-size: var(--text-eyebrow); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.2;
}
.measure { max-width: 65ch; }
.text-muted-light { color: var(--text-muted); }
.text-muted-dark { color: var(--text-muted-inverse); }

/* Split-line masks for headline reveals */
.split-line { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split-inner { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px; padding: 0 28px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9375rem; font-weight: 500; letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-luxe), color var(--duration-fast) var(--ease-luxe), border-color var(--duration-fast) var(--ease-luxe);
}
.btn .btn-arrow { width: 18px; height: 18px; transition: transform var(--duration-base) var(--ease-luxe); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

.btn-primary { background: var(--color-obsidian); color: var(--color-ivory); }
.btn-primary:not([disabled]):hover { background: var(--color-champagne); color: var(--color-obsidian); }
.btn-primary-dark { background: var(--color-ivory); color: var(--color-obsidian); }
.btn-primary-dark:hover { background: var(--color-champagne); }
.btn-secondary { background: transparent; color: var(--color-obsidian); border-color: var(--color-obsidian); }
.btn-secondary:hover { background: var(--color-obsidian); color: var(--color-ivory); }
.btn-secondary-dark { background: transparent; color: var(--color-ivory); border-color: rgba(247,244,238,.55); }
.btn-secondary-dark:hover { background: var(--color-ivory); color: var(--color-obsidian); border-color: var(--color-ivory); }
.btn-premium { background: var(--color-champagne); color: var(--color-obsidian); }
.btn-premium:hover { background: var(--color-ivory); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--text-small); font-weight: 500; letter-spacing: .02em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: currentColor;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--duration-base) var(--ease-luxe); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn-text {
  background: none; border: 0; padding: .5rem 0; min-height: 44px; cursor: pointer;
  font: 500 var(--text-small)/1 var(--font-body); letter-spacing: .02em; color: inherit;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}

.lucide { width: 22px; height: 22px; stroke-width: 1.25; flex-shrink: 0; }

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 120; background: var(--color-obsidian);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
}
#loader .loader-gem { width: 64px; height: 56px; }
#loader .loader-gem path { stroke-dasharray: 1; stroke-dashoffset: 1; }
#loader .loader-word {
  font-family: var(--font-display); color: var(--color-ivory); font-size: 1.5rem;
  letter-spacing: .32em; text-transform: uppercase; opacity: 0; padding-left: .32em;
}
#loader .loader-bar { width: 120px; height: 1px; background: rgba(247,244,238,.12); overflow: hidden; }
#loader .loader-bar span { display: block; height: 100%; width: 100%; background: var(--color-champagne); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--color-ivory);
  transition: transform var(--duration-slow) var(--ease-luxe), background-color var(--duration-base) var(--ease-luxe), border-color var(--duration-base) var(--ease-luxe);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(13,13,13,.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle-inverse);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav-link {
  position: relative; font-size: .875rem; letter-spacing: .04em; color: rgba(247,244,238,.86);
  padding-block: .5rem; transition: color var(--duration-fast) var(--ease-luxe);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-champagne);
  transform: scaleX(0); transform-origin: left; transition: transform var(--duration-base) var(--ease-luxe);
}
.nav-link:hover, .nav-link.is-active { color: var(--color-ivory); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: .8125rem; border-color: rgba(214,195,165,.6); color: var(--color-ivory); }
.nav-cta:hover { background: var(--color-champagne); color: var(--color-obsidian); border-color: var(--color-champagne); }

.logo-mark { width: 30px; height: 26px; }
.logo-word { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .2em; line-height: 1; font-weight: 500; }
.logo-sub { font-size: .5625rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(247,244,238,.6); margin-top: .35rem; }

/* Mobile menu */
#menu {
  position: fixed; inset: 0; z-index: 70; background: var(--color-obsidian); color: var(--color-ivory);
  display: flex; flex-direction: column; visibility: hidden; opacity: 0;
  transition: opacity var(--duration-base) var(--ease-luxe), visibility 0s linear var(--duration-base);
}
#menu.is-open { visibility: visible; opacity: 1; transition: opacity var(--duration-base) var(--ease-luxe); }
#menu .menu-link { font-family: var(--font-display); font-size: var(--text-h3); line-height: 1.3; display: block; padding: .35rem 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; height: 100vh; height: 100svh; max-height: 1080px; }
#gem { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(13,13,13,.86) 0%, rgba(13,13,13,.55) 34%, rgba(13,13,13,0) 62%),
    linear-gradient(0deg, rgba(13,13,13,.9) 0%, rgba(13,13,13,0) 34%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-scrim { background: linear-gradient(0deg, rgba(13,13,13,.96) 0%, rgba(13,13,13,.75) 46%, rgba(13,13,13,0) 72%); }
}
/* Light thrown by the diamond: a copy of the headline lit only where the beam lands, and a faint pool behind it */
.hero-title-light {
  position: absolute; margin: 0; pointer-events: none; user-select: none; opacity: 0;
  color: transparent; -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat;
  will-change: opacity, filter;
}
.hero-light-pool {
  position: absolute; left: 0; top: 0; width: 100px; height: 100px; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255,246,232,.14), rgba(255,236,210,.05) 45%, rgba(255,236,210,0));
  mix-blend-mode: screen; will-change: transform, opacity;
}
.hero-fallback { display: none; }
.no-webgl .hero-fallback {
  display: block;
  background: radial-gradient(ellipse 50% 60% at 72% 42%, rgba(214,195,165,.16), transparent 70%),
    url("/assets/img/diamond-tweezers.jpg") 78% 40% / cover no-repeat;
  opacity: .7;
}
.trust-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem 0; }
.trust-item + .trust-item { border-top: 1px solid var(--border-subtle-inverse); }
@media (min-width: 768px) {
  .trust-item { padding: 1.75rem 2rem 0 0; }
  .trust-item + .trust-item { border-top: 0; border-left: 1px solid var(--border-subtle-inverse); padding-left: 2rem; }
}
.trust-item .lucide { color: var(--color-champagne); width: 26px; height: 26px; }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 2.5rem; z-index: 10; display: none; align-items: center; gap: 1rem; color: var(--text-muted-inverse); }
@media (min-width: 1024px) { .scroll-cue { display: flex; } }
.scroll-cue .track { position: relative; width: 1px; height: 64px; background: rgba(247,244,238,.16); overflow: hidden; }
.scroll-cue .track::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: linear-gradient(transparent, var(--color-champagne), transparent);
  animation: cue 2.8s var(--ease-in-out) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ---------- Image reveals and grading ---------- */
.img-frame { position: relative; overflow: hidden; background: var(--color-graphite); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame img.crop-scan { position: absolute; inset: -9%; width: 118%; height: 118%; max-width: none; }
.grade { filter: saturate(.78) contrast(1.06) brightness(.94) sepia(.08); }
.grade-warm { filter: saturate(.58) contrast(1.08) brightness(.9) sepia(.2) hue-rotate(-6deg); }

.zoom-img img { transition: transform 1.6s var(--ease-luxe); }
.zoom-host:hover .zoom-img img, .zoom-host:focus-visible .zoom-img img { transform: scale(1.05); }

/* A diagonal glint of light that crosses an image on hover */
.glint::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 48%, rgba(255,255,255,.04) 54%, transparent 62%);
  transform: translateX(-120%); transition: transform 1.4s var(--ease-luxe);
}
.zoom-host:hover .glint::after, .zoom-host:focus-visible .glint::after { transform: translateX(120%); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-gap); }

/* Pillars */
.pillar-rail { position: relative; height: 1px; background: var(--border-subtle); }
.pillar-rail .fill { position: absolute; inset: 0; background: var(--color-obsidian); transform: scaleX(0); transform-origin: left; }
.pillar-node { position: absolute; top: 50%; width: 9px; height: 9px; background: var(--color-ivory); border: 1px solid var(--color-obsidian); transform: translate(-50%, -50%) rotate(45deg); }

/* Journey builder */
/* Matches the base colour of the caustics shader, so the fade-in and no-WebGL fallback are seamless */
#journey { background-color: color-mix(in srgb, var(--color-ivory) 85%, var(--color-champagne)); }
.builder-art { position: absolute; inset: 0; pointer-events: none; }
.builder-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#caustics { opacity: 0; transition: opacity 1.6s var(--ease-luxe); }
#caustics.is-ready { opacity: 1; }
.builder-panel {
  position: relative; background: var(--color-ivory); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(13,13,13,.10); border: 1px solid rgba(255,255,255,.6);
}
.step-seg { position: relative; height: 1px; background: var(--border-subtle); }
.step-seg::after { content: ""; position: absolute; inset: 0; background: var(--color-obsidian); transform: scaleX(0); transform-origin: left; transition: transform var(--duration-slow) var(--ease-luxe), background-color var(--duration-base); }
.step-item.is-current .step-seg::after { transform: scaleX(1); }
.step-item.is-done .step-seg::after { transform: scaleX(1); background: var(--color-champagne); }
.step-label { font-size: .8125rem; color: var(--text-muted); transition: color var(--duration-base); }
.step-item.is-current .step-label { color: var(--color-obsidian); }

.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  text-align: center; min-height: 128px; padding: 1.25rem 1rem; cursor: pointer;
  background: var(--color-ivory); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  color: var(--color-obsidian); font-size: .875rem; line-height: 1.35;
  transition: border-color var(--duration-base) var(--ease-luxe), background-color var(--duration-base) var(--ease-luxe), transform var(--duration-base) var(--ease-luxe);
}
.tile:hover { border-color: rgba(13,13,13,.4); }
.tile .lucide { width: 28px; height: 28px; color: var(--color-obsidian); }
.tile[aria-pressed="true"] { border-color: var(--color-obsidian); background: #FBFAF7; }
.tile .tile-mark { position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; opacity: 0; transform: scale(.4) rotate(45deg); transition: opacity var(--duration-base), transform var(--duration-base) var(--ease-luxe); background: var(--color-champagne); }
.tile[aria-pressed="true"] .tile-mark { opacity: 1; transform: scale(1) rotate(45deg); }
.tile .tile-sub { font-size: .8125rem; color: var(--text-muted); }
.tile-wide { align-items: flex-start; text-align: left; justify-content: flex-start; min-height: 150px; padding: 1.5rem; }

.result-card { background: var(--color-obsidian); color: var(--color-ivory); border-radius: var(--radius-md); }
.result-row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--border-subtle); }
@media (max-width: 520px) { .result-row { grid-template-columns: 1fr; gap: .25rem; } }
.stepper button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-subtle-inverse); border-radius: var(--radius-sm); color: var(--color-ivory); }
.stepper button:hover { border-color: var(--color-champagne); }
.field-dark {
  width: 100%; min-height: 48px; background: transparent; color: var(--color-ivory);
  border: 1px solid var(--border-subtle-inverse); border-radius: var(--radius-sm); padding: 0 .9rem; font-size: 1rem;
}
.field-dark option { color: var(--color-obsidian); }

/* Experience cards */
.exp-card .t-h3 { font-size: clamp(1.625rem, 1.3rem + 0.6vw, 2rem); }
.exp-card .meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .8125rem; color: var(--text-muted); }
.exp-card .meta span { display: inline-flex; align-items: center; gap: .4rem; }
.exp-card .meta .lucide { width: 15px; height: 15px; }
.round-arrow {
  width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-obsidian); color: var(--color-obsidian);
  transition: background-color var(--duration-base) var(--ease-luxe), color var(--duration-base) var(--ease-luxe), border-color var(--duration-base);
}
.round-arrow .lucide { width: 18px; height: 18px; }
.zoom-host:hover .round-arrow, .zoom-host:focus-visible .round-arrow { background: var(--color-champagne); border-color: var(--color-champagne); }
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 78%); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
@media (min-width: 768px) { .h-scroll { overflow: visible; grid-auto-flow: row; padding-bottom: 0; } }

/* Guest reviews carousel. Slides share one grid cell, so the height never jumps. */
.rv-stage { display: grid; min-height: 18rem; touch-action: pan-y; }
.rv-slide {
  grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--duration-base) var(--ease-luxe), transform var(--duration-base) var(--ease-luxe), visibility 0s linear var(--duration-base);
}
.rv-slide.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 900ms var(--ease-luxe) 300ms, transform 900ms var(--ease-luxe) 300ms, visibility 0s;
}
.rv-stars { display: flex; gap: .35rem; margin: 0; }
.rv-stars svg { width: 14px; height: 14px; fill: none; stroke: var(--color-champagne); stroke-width: 1.25; stroke-linejoin: round; opacity: .45; }
.rv-stars .is-on svg { fill: var(--color-champagne); opacity: 1; }
.rv-quote { margin-inline: 0; max-width: 34em; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.15rem + 1.25vw, 2.375rem); line-height: 1.28; }
.rv-quote p { margin: 0; }
.rv-quote p::before { content: open-quote; }
.rv-quote p::after { content: close-quote; }
.rv-name { display: block; font-weight: 500; letter-spacing: .02em; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: var(--text-small); color: var(--text-muted-inverse); }
.rv-meta a { text-decoration: underline; text-decoration-color: var(--border-subtle-inverse); text-underline-offset: 4px; transition: color var(--duration-fast), text-decoration-color var(--duration-fast); }
.rv-meta a:hover { color: var(--color-ivory); text-decoration-color: var(--color-champagne); }
.rv-sep { width: 5px; height: 5px; border: 1px solid var(--color-platinum); transform: rotate(45deg); opacity: .6; }
.rv-dots { display: flex; gap: .75rem; max-width: 22rem; }
.rv-dot { position: relative; flex: 1; height: 44px; cursor: pointer; }
.rv-dot::before, .rv-dot span { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; }
.rv-dot::before { background: var(--border-subtle-inverse); transition: background-color var(--duration-fast); }
.rv-dot:hover::before { background: rgba(247,244,238,.4); }
.rv-dot span { background: var(--color-ivory); transform: scaleX(0); transform-origin: left; }
.rv-dot.is-active span { transform: scaleX(1); }
.rv.is-playing .rv-dot.is-active span { background: var(--color-champagne); animation: rvProgress 9s linear forwards; }
.rv.is-playing.is-held .rv-dot.is-active span { animation-play-state: paused; }
@keyframes rvProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rv-controls { gap: .75rem; }
.rv-btn {
  width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle-inverse); color: var(--color-ivory);
  transition: border-color var(--duration-fast) var(--ease-luxe), background-color var(--duration-fast) var(--ease-luxe), color var(--duration-fast);
}
.rv-btn:hover { border-color: var(--color-champagne); }
.rv-btn .lucide { width: 18px; height: 18px; }
[dir="rtl"] .rv-btn[data-rv="prev"] .lucide, [dir="rtl"] .rv-btn[data-rv="next"] .lucide { transform: scaleX(-1); }
[dir="rtl"] .rv-dot span { transform-origin: right; }
@media (prefers-reduced-motion: reduce) {
  .rv-slide, .rv-slide.is-active { transform: none; transition: opacity var(--duration-fast), visibility 0s; }
}

/* Destinations map */
.map-wrap svg { width: 100%; height: auto; overflow: visible; }
.sa-outline { fill: rgba(247,244,238,.025); stroke: rgba(184,188,193,.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.graticule { stroke: rgba(247,244,238,.07); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.route { fill: none; stroke: var(--color-champagne); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.route-ghost { fill: none; stroke: rgba(214,195,165,.18); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.marker .dot { fill: var(--color-obsidian); stroke: var(--color-champagne); stroke-width: 1.25; transition: r var(--duration-base) var(--ease-luxe); }
.marker .pulse { fill: none; stroke: var(--color-champagne); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 3.6s var(--ease-luxe) infinite; }
.marker:nth-of-type(2) .pulse { animation-delay: 1.2s; }
.marker:nth-of-type(3) .pulse { animation-delay: 2.4s; }
@keyframes pulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }
.marker .label { font-family: var(--font-display); font-size: 22px; fill: var(--color-ivory); letter-spacing: .14em; text-transform: uppercase; transition: fill var(--duration-base); }
.marker .sub { font-family: var(--font-body); font-size: 13px; fill: rgba(247,244,238,.6); letter-spacing: .04em; }
.marker.is-active .label { fill: var(--color-champagne); }
.marker.is-active .dot { fill: var(--color-champagne); }
.ocean-label { font-family: var(--font-display); font-style: italic; font-size: 18px; fill: rgba(247,244,238,.28); letter-spacing: .08em; }
.coord-label { font-family: var(--font-body); font-size: 9.5px; fill: rgba(247,244,238,.3); letter-spacing: .1em; }

.dest-item { display: grid; grid-template-columns: 88px 1fr 24px; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--border-subtle-inverse); }
.dest-item:last-child { border-bottom: 1px solid var(--border-subtle-inverse); }
.dest-item .img-frame { width: 88px; height: 72px; border-radius: var(--radius-sm); }
.dest-item .lucide { width: 18px; height: 18px; color: var(--color-champagne); transition: transform var(--duration-base) var(--ease-luxe); }
.dest-item:hover .lucide, .dest-item:focus-visible .lucide { transform: translateX(4px); }
.dest-item h3 { transition: color var(--duration-base); }
.dest-item:hover h3, .dest-item:focus-visible h3, .dest-item.is-active h3 { color: var(--color-champagne); }
/* Destinations not bookable yet: greyed out, not linked, with a Coming soon badge */
.dest-item.is-soon { grid-template-columns: 88px 1fr auto; cursor: default; }
.dest-item.is-soon .img-frame img { filter: grayscale(1); opacity: .4; }
.dest-item.is-soon h3, .dest-item.is-soon:hover h3 { color: rgba(247,244,238,.42); }
.dest-item.is-soon p { color: rgba(247,244,238,.32); }
.soon-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 .7rem; border: 1px solid rgba(214,195,165,.55); border-radius: 999px; background: var(--color-obsidian); color: var(--color-champagne); font-size: .625rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }

/* Concierge */
.concierge-img { position: absolute; inset: 0; }
.concierge-img img { width: 100%; height: 100%; object-fit: cover; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.concierge-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.7) 45%, rgba(13,13,13,.5) 100%), linear-gradient(0deg, rgba(13,13,13,.6), rgba(13,13,13,0) 40%); }
.benefits { background: rgba(13,13,13,.62); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--border-subtle-inverse); border-radius: var(--radius-md); padding: .75rem 1.75rem; }
.benefits .benefit:first-child { border-top: 0; }
.benefits .benefit:last-child { border-bottom: 0; }
.benefit { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--border-subtle-inverse); }
.benefit:last-child { border-bottom: 1px solid var(--border-subtle-inverse); }
.benefit .icon-ring { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(214,195,165,.5); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit .lucide { width: 18px; height: 18px; color: var(--color-champagne); }

/* Footer */
.footer-link { color: var(--text-muted-inverse); font-size: .875rem; transition: color var(--duration-fast); }
.footer-link:hover { color: var(--color-ivory); }
.footer-input { flex: 1; min-width: 0; min-height: 48px; background: transparent; border: 1px solid var(--border-subtle-inverse); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 0 1rem; color: var(--color-ivory); font-size: 1rem; }
.footer-input::placeholder { color: rgba(247,244,238,.4); }
.footer-input:focus { border-color: var(--color-champagne); outline: none; }
.footer-submit { width: 52px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-champagne); color: var(--color-obsidian); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.footer-submit:hover { background: var(--color-ivory); }
.social { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-subtle-inverse); border-radius: 999px; color: var(--color-ivory); transition: border-color var(--duration-base), color var(--duration-base); }
.social:hover { border-color: var(--color-champagne); color: var(--color-champagne); }
.social svg { width: 16px; height: 16px; }

/* Mobile CTA bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: rgba(13,13,13,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--border-subtle-inverse); transform: translateY(110%); transition: transform var(--duration-slow) var(--ease-luxe); }
.mobile-bar.is-visible { transform: translateY(0); }
@media (min-width: 1024px) { .mobile-bar { display: none; } }

/* Pre-animation states (only when JS + motion are on) */
.js-motion [data-fade] { opacity: 0; }
.js-motion [data-hero] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .concierge-img img { animation: none; }
  .scroll-cue .track::after { display: none; }
}

/* ---------- Enquiry dialog ---------- */
html.enq-open, html.enq-open body { overflow: hidden; }
.enq { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.enq[hidden] { display: none; }
.enq-backdrop { position: absolute; inset: 0; background: rgba(13,13,13,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity var(--duration-base) var(--ease-luxe); }
.enq-panel {
  position: relative; width: min(1040px, 100%); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  display: grid; grid-template-columns: 1fr; background: var(--color-ivory); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 120px rgba(13,13,13,.35);
  opacity: 0; transform: translateY(16px) scale(.985);
  transition: opacity var(--duration-base) var(--ease-luxe), transform var(--duration-slow) var(--ease-luxe);
}
.enq.is-open .enq-backdrop { opacity: 1; }
.enq.is-open .enq-panel { opacity: 1; transform: none; }
@media (min-width: 900px) { .enq-panel { grid-template-columns: 340px 1fr; } }
.enq-aside { background: var(--color-obsidian); color: var(--color-ivory); padding: 2rem 1.75rem; display: none; }
@media (min-width: 900px) { .enq-aside { display: flex; flex-direction: column; padding: 2.75rem 2.25rem; overflow-y: auto; overscroll-behavior: contain; } }
.enq-gem { width: 40px; height: 35px; margin-bottom: 2rem; }
.enq-title { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; line-height: 1.08; margin-top: 1rem; }
.enq-lead { margin-top: 1rem; font-size: .9375rem; color: var(--text-muted-inverse); }
.enq-xp { margin-top: 1.75rem; opacity: 0; transform: translateY(6px); transition: opacity var(--duration-slow) var(--ease-luxe), transform var(--duration-slow) var(--ease-luxe); }
.enq-xp.is-in { opacity: 1; transform: none; }
.enq-xp-img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-sm); background: var(--color-graphite); }
.enq-xp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.enq-xp figcaption { margin-top: 1rem; }
.enq-xp-name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.enq-xp-meta { margin-top: .35rem; font-size: .75rem; letter-spacing: .04em; color: var(--color-champagne); }
.enq-xp-tagline { margin-top: .6rem; font-size: .8125rem; line-height: 1.5; color: var(--text-muted-inverse); }
.enq-context { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border-subtle-inverse); }
.enq-context dl { margin-top: .75rem; display: grid; gap: .5rem; font-size: .8125rem; }
.enq-context dl div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; }
.enq-context dt { color: var(--text-muted-inverse); }
.enq-promise { margin-top: auto; padding-top: 2rem; display: grid; gap: .6rem; font-size: .8125rem; color: var(--text-muted-inverse); }
.enq-promise li { display: flex; gap: .65rem; align-items: center; }
.enq-promise li::before { content: ""; width: 6px; height: 6px; background: var(--color-champagne); transform: rotate(45deg); flex-shrink: 0; }
.enq-main { position: relative; overflow-y: auto; padding: 2.25rem 1.25rem 1.75rem; overscroll-behavior: contain; }
@media (min-width: 640px) { .enq-main { padding: 2.75rem 2.5rem 2.25rem; } }
.enq-close { position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--color-obsidian); }
.enq-close:hover { background: rgba(13,13,13,.06); }
.enq-close svg { width: 20px; height: 20px; }
.enq-grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .enq-grid { grid-template-columns: 1fr 1fr; } .enq-span { grid-column: 1 / -1; } }
.enq-field label { display: block; font-size: .8125rem; font-weight: 500; letter-spacing: .02em; margin-bottom: .4rem; }
.enq-req { color: var(--text-muted); }
.enq-field input, .enq-field select, .enq-field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: 400 1rem/1.4 var(--font-body); color: var(--color-obsidian);
  background: #FBFAF7; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-luxe);
}
.enq-field textarea { resize: vertical; min-height: 104px; }
.enq-field input:focus, .enq-field select:focus, .enq-field textarea:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--color-obsidian); }
.enq-field [aria-invalid="true"] { border-color: #8A2B2B; }
.enq-error { margin-top: .4rem; font-size: .8125rem; color: #8A2B2B; display: flex; gap: .4rem; align-items: center; }
.enq-error::before { content: "!"; display: inline-flex; width: 16px; height: 16px; border-radius: 999px; border: 1px solid currentColor; font-size: 10px; font-weight: 600; align-items: center; justify-content: center; flex-shrink: 0; }
.enq-check { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.1rem; font-size: .875rem; line-height: 1.45; cursor: pointer; }
.enq-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--color-obsidian); flex-shrink: 0; }
.enq-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enq-actions { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border-subtle); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.enq-status { font-size: .875rem; color: var(--text-muted); min-height: 1.4em; }
.enq-status.is-error { color: #8A2B2B; }
.enq-done { padding: 3rem 0 1rem; outline: none; }
.enq-done-mark { display: inline-flex; width: 56px; height: 56px; border-radius: 999px; align-items: center; justify-content: center; border: 1px solid var(--color-obsidian); }
.enq-done-mark svg { width: 24px; height: 24px; }

/* ---------- Experiences pages ---------- */
.xp-hero { min-height: 640px; height: 88vh; height: 88svh; max-height: 940px; }
.xp-hero-img { position: absolute; inset: 0; }
.xp-hero-img img { width: 100%; height: 100%; object-fit: cover; animation: drift 30s ease-in-out infinite alternate; filter: saturate(.8) contrast(1.05) brightness(.9); }
.xp-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,13,.88) 0%, rgba(13,13,13,.55) 45%, rgba(13,13,13,.2) 100%), linear-gradient(0deg, rgba(13,13,13,.85) 0%, rgba(13,13,13,0) 45%); }
.xp-fact { padding: 1.6rem 1.25rem 1.6rem 0; border-top: 1px solid var(--border-subtle); }
.xp-fact dt { font-size: var(--text-eyebrow); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.xp-fact dd { margin-top: .5rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 1024px) {
  .xp-fact { border-top: 0; padding: 2rem 2rem 2rem 0; }
  .xp-fact + .xp-fact { border-left: 1px solid var(--border-subtle); padding-left: 2rem; }
}
.xp-story p { font-size: var(--text-lead); line-height: 1.75; color: #3A3A3A; max-width: 62ch; }
.xp-story p + p { margin-top: 1.4rem; }
.xp-story p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 4.4em; line-height: .8; padding: .08em .12em 0 0; color: var(--color-obsidian); }
.xp-panel { background: #FBFAF7; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 2rem; }
.xp-list li { display: flex; gap: .9rem; align-items: baseline; padding: .9rem 0; border-top: 1px solid var(--border-subtle); }
.xp-list li:first-child { border-top: 0; }
.xp-list li::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; transform: translateY(-1px) rotate(45deg); border: 1px solid var(--color-obsidian); }
.xp-timeline { position: relative; padding-left: 2.25rem; }
.xp-timeline::before { content: ""; position: absolute; left: 5px; top: .6rem; bottom: .6rem; width: 1px; background: linear-gradient(var(--color-champagne), rgba(214,195,165,.25)); }
.xp-timeline li { position: relative; padding-bottom: 2.4rem; }
.xp-timeline li:last-child { padding-bottom: 0; }
.xp-timeline li::before { content: ""; position: absolute; left: -2.25rem; top: .45rem; width: 11px; height: 11px; background: var(--color-linen); border: 1px solid var(--color-obsidian); transform: rotate(45deg); }
.xp-timeline .time { font-size: var(--text-eyebrow); font-weight: 500; letter-spacing: .16em; color: var(--text-muted); }
.xp-timeline h3 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; margin-top: .35rem; }
.xp-timeline p { margin-top: .4rem; color: #4A4A4A; }
.xp-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); font-size: .875rem; background: #FBFAF7; }
.xp-filter { min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); font-size: .875rem; transition: background-color var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast); }
.xp-filter:hover { border-color: var(--color-obsidian); }
.xp-filter[aria-pressed="true"] { background: var(--color-obsidian); color: var(--color-ivory); border-color: var(--color-obsidian); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-luxe), transform 1s var(--ease-luxe); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .xp-hero-img img { animation: none; } }

/* ---------- Language and currency switchers ---------- */
html.i18n-pending body { visibility: hidden; }
.loc { position: relative; }
.loc-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: 0 .85rem;
  border: 1px solid var(--border-subtle-inverse); border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 500; letter-spacing: .08em; color: rgba(247,244,238,.86);
  transition: border-color var(--duration-fast) var(--ease-luxe), color var(--duration-fast) var(--ease-luxe);
}
.loc-btn:hover, .loc-btn[aria-expanded="true"] { border-color: rgba(214,195,165,.6); color: var(--color-ivory); }
.loc-btn svg { width: 16px; height: 16px; }
.loc-sep { width: 1px; height: 12px; background: rgba(247,244,238,.3); }
.loc-panel {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 80; width: 300px;
  background: var(--color-obsidian); border: 1px solid var(--border-subtle-inverse); border-radius: var(--radius-md);
  padding: 1.1rem 1.1rem 1rem; box-shadow: 0 24px 60px rgba(0,0,0,.4); color: var(--color-ivory);
}
.loc-h { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-champagne); margin-bottom: .6rem; }
.loc-langs { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; margin-bottom: 1.1rem; }
.loc-lang { display: flex; align-items: center; min-height: 40px; padding: 0 .7rem; border-radius: var(--radius-sm); font-size: .875rem; color: rgba(247,244,238,.8); }
.loc-lang:hover { background: rgba(247,244,238,.06); color: var(--color-ivory); }
.loc-lang[aria-current] { background: rgba(247,244,238,.08); color: var(--color-ivory); box-shadow: inset 2px 0 0 var(--color-champagne); }
.loc-curs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.loc-cur { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 .7rem; border: 1px solid var(--border-subtle-inverse); border-radius: var(--radius-sm); font-size: .8125rem; color: rgba(247,244,238,.8); }
.loc-cur .sym { color: rgba(247,244,238,.5); }
.loc-cur:hover { border-color: rgba(247,244,238,.4); }
.loc-cur[aria-pressed="true"] { border-color: var(--color-champagne); color: var(--color-ivory); }
.loc-cur[aria-pressed="true"] .sym { color: var(--color-champagne); }
.loc-note { margin-top: 1rem; font-size: .75rem; line-height: 1.5; color: var(--text-muted-inverse); }
.loc-field { display: grid; gap: .35rem; }
.loc-field label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted-inverse); }
.loc-field select {
  min-height: 44px; padding: 0 2.2rem 0 .8rem; border-radius: var(--radius-sm); font-size: .9375rem;
  background-color: transparent; color: var(--color-ivory); border: 1px solid var(--border-subtle-inverse);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6C3A5' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: right .7rem center;
}
.loc-field select option { color: var(--color-obsidian); }
[data-locale-footer], [data-locale-menu] { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Per-language typography ---------- */
html[lang="ar"] { --font-display: "Noto Naskh Arabic", "Amiri", serif; --font-body: "IBM Plex Sans Arabic", "Noto Sans Arabic", system-ui, sans-serif; }
html[lang="zh-CN"] { --font-display: "Noto Serif SC", "Songti SC", serif; --font-body: "Noto Sans SC", "PingFang SC", system-ui, sans-serif; }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] .t-h1 { line-height: 1.3; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.8rem); }
html[lang="ar"] .t-h2 { line-height: 1.35; font-size: clamp(2rem, 1.4rem + 2vw, 3.3rem); }
html[lang="ar"] .t-h3, html[lang="ar"] .enq-title { line-height: 1.45; }
html[lang="zh-CN"] .t-h1 { line-height: 1.2; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5rem); }
html[lang="zh-CN"] .t-h2 { line-height: 1.25; font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); }
html[lang="zh-CN"] .eyebrow { letter-spacing: .08em; }
html[lang="ar"] .split-line, html[lang="zh-CN"] .split-line { padding-bottom: .2em; margin-bottom: -.2em; }

/* ---------- Right to left (Arabic) ---------- */
[dir="rtl"] .btn .btn-arrow, [dir="rtl"] .link-arrow svg, [dir="rtl"] .round-arrow svg, [dir="rtl"] .dest-item .lucide { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-arrow, [dir="rtl"] .link-arrow:hover svg, [dir="rtl"] .dest-item:hover .lucide { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .hero-scrim { background: linear-gradient(270deg, rgba(13,13,13,.86) 0%, rgba(13,13,13,.55) 34%, rgba(13,13,13,0) 62%), linear-gradient(0deg, rgba(13,13,13,.9) 0%, rgba(13,13,13,0) 34%); }
@media (max-width: 900px) { [dir="rtl"] .hero-scrim { background: linear-gradient(0deg, rgba(13,13,13,.96) 0%, rgba(13,13,13,.75) 46%, rgba(13,13,13,0) 72%); } }
[dir="rtl"] .xp-hero-scrim { background: linear-gradient(270deg, rgba(13,13,13,.88) 0%, rgba(13,13,13,.55) 45%, rgba(13,13,13,.2) 100%), linear-gradient(0deg, rgba(13,13,13,.85) 0%, rgba(13,13,13,0) 45%); }
[dir="rtl"] .concierge-scrim { background: linear-gradient(270deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.7) 45%, rgba(13,13,13,.5) 100%), linear-gradient(0deg, rgba(13,13,13,.6), rgba(13,13,13,0) 40%); }
[dir="rtl"] .scroll-cue { right: auto; left: var(--gutter); }
[dir="rtl"] .enq-close { right: auto; left: .75rem; }
[dir="rtl"] .nav-link::after, [dir="rtl"] .pillar-rail .fill { transform-origin: right; }
@media (min-width: 768px) {
  [dir="rtl"] .trust-item { padding: 1.75rem 0 0 2rem; }
  [dir="rtl"] .trust-item + .trust-item { border-left: 0; border-right: 1px solid var(--border-subtle-inverse); padding-right: 2rem; padding-left: 0; }
}
[dir="rtl"] .xp-timeline { padding-left: 0; padding-right: 2.25rem; }
[dir="rtl"] .xp-timeline::before { left: auto; right: 5px; }
[dir="rtl"] .xp-timeline li::before { left: auto; right: -2.25rem; }
[dir="rtl"] .xp-story p:first-child::first-letter { float: none; font-size: inherit; padding: 0; }
[dir="rtl"] .loc-lang[aria-current] { box-shadow: inset -2px 0 0 var(--color-champagne); }
[dir="rtl"] .loc-field select { background-position: left .7rem center; padding: 0 .8rem 0 2.2rem; }
[dir="rtl"] .enq-context dl div { grid-template-columns: 6.5rem 1fr; }
.map-wrap svg { direction: ltr; }

/* ---------- Animated logo: a point of light travels the outline ---------- */
.logo-mark .logo-sweep { stroke: rgba(255,248,236,.95); stroke-width: 2.6; stroke-dasharray: 9 91; animation: logoSweep 6s linear infinite; }
@keyframes logoSweep { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .logo-mark .logo-sweep { animation: none; opacity: 0; } }

/* Header never wraps, in any language */
.nav-link, .logo-word, .logo-sub, .nav-cta, .loc-btn { white-space: nowrap; }
.site-header .container-site > * { flex-shrink: 0; }
.site-header nav { flex-shrink: 1; min-width: 0; }
@media (min-width: 1024px) { .mobile-bar { display: block; } }
@media (min-width: 1280px) { .mobile-bar { display: none; } }

/* ---------- Notice after following a newsletter confirmation link ---------- */
.dt-notice {
  position: fixed; z-index: 90; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom));
  width: min(calc(100% - 2rem), 30rem); display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 0.5rem 1.25rem 1.5rem; background: var(--color-obsidian); color: var(--text-inverse);
  border-top: 1px solid var(--accent-primary); border-radius: var(--radius-md); box-shadow: 0 12px 40px rgba(13,13,13,.08);
  opacity: 0; transform: translate(-50%, 16px); transition: opacity var(--duration-base) var(--ease-luxe), transform var(--duration-base) var(--ease-luxe);
}
.dt-notice.is-in { opacity: 1; transform: translate(-50%, 0); }
.dt-notice p { flex: 1; margin: 0; padding-top: .7rem; font-size: var(--text-small); line-height: 1.6; }
.dt-notice button { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; color: var(--text-muted-inverse); transition: color var(--duration-fast) var(--ease-luxe); }
.dt-notice button:hover { color: var(--text-inverse); }
.dt-notice button:focus-visible { outline: 2px solid var(--focus-ring-inverse); outline-offset: 3px; }
.dt-notice svg { width: 20px; height: 20px; }
[dir="rtl"] .dt-notice { padding: 1.25rem 1.5rem 1.25rem 0.5rem; }
@media (prefers-reduced-motion: reduce) { .dt-notice, .dt-notice.is-in { transform: translate(-50%, 0); transition: opacity var(--duration-fast) linear; } }

/* ---------- Experiences: 3D map behind the listing hero (assets/js/xp-map.js) ---------- */
.xp-hero-list { position: relative; isolation: isolate; overflow: hidden; }
.xpm-on .xp-hero-list { min-height: 640px; height: 86vh; height: 86svh; max-height: 900px; }
@media (max-width: 767px) { .xpm-on .xp-hero-list { height: auto; min-height: 0; } .xpm-on .xp-hero-copy { padding-bottom: 420px; } }
/* No z-index here, so the labels inside (z-index 3) sit above the scrim (1) and the hero text (2) while the canvas stays below */
.xp-map { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-luxe); }
.xp-map.is-ready { opacity: 1; }
.xp-map-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease-luxe);
  background: linear-gradient(90deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.72) 30%, rgba(13,13,13,0) 56%), linear-gradient(0deg, rgba(13,13,13,.7) 0%, rgba(13,13,13,0) 20%); }
@media (max-width: 767px) { .xp-map-scrim { background: linear-gradient(180deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.8) 38%, rgba(13,13,13,0) 58%); } }
[dir="rtl"] .xp-map-scrim { background: linear-gradient(270deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.72) 30%, rgba(13,13,13,0) 56%), linear-gradient(0deg, rgba(13,13,13,.7) 0%, rgba(13,13,13,0) 20%); }
.xp-map.is-ready + .xp-map-scrim { opacity: 1; }
.xp-hero-copy { position: relative; z-index: 2; pointer-events: none; }
/* The landing page's scroll cue, on every screen size here, and a link down to the experiences */
.xp-scroll-cue { display: flex; color: var(--color-ivory); bottom: 1.75rem; min-width: 44px; min-height: 44px; justify-content: center; text-shadow: 0 1px 8px rgba(13,13,13,.6); }
.xp-scroll-cue .track { background: rgba(247,244,238,.35); }
.xp-scroll-cue:focus-visible { outline: 2px solid var(--color-champagne); outline-offset: 6px; }
@media (min-width: 1024px) { .xp-scroll-cue { bottom: 2.5rem; } }
.xp-hero-copy a, .xp-hero-copy button { pointer-events: auto; }
.xpm-canvas { position: absolute; inset: 0; display: block; }
.xpm-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.xpm-pin { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .6s var(--ease-luxe); }
.xpm-pin.is-in { opacity: 1; }
.xpm-pin.is-off { visibility: hidden; }
.xpm-tag { pointer-events: auto; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 44px; padding: 6px 12px; transform: translate(16px, -50%);
  background: rgba(247,244,238,.95); color: var(--color-obsidian); border: 1px solid rgba(13,13,13,.12); border-radius: 2px; box-shadow: 0 10px 28px rgba(13,13,13,.28);
  text-align: start; white-space: nowrap; transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-luxe); }
button.xpm-tag { cursor: pointer; }
button.xpm-tag:focus-visible { outline: 2px solid var(--color-champagne); outline-offset: 2px; }
.xpm-name { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.05; font-weight: 500; }
.xpm-sub { font-size: .625rem; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.xpm-pin.is-hover .xpm-tag { border-color: var(--color-champagne); transform: translate(16px, -50%) translateY(-3px); }
.xpm-pin.is-soon .xpm-tag { background: rgba(13,13,13,.6); color: rgba(247,244,238,.72); border-color: rgba(247,244,238,.16); box-shadow: none; min-height: 0; padding: 5px 10px; }
.xpm-pin.is-soon .xpm-name { font-size: 1rem; }
.xpm-pin.is-soon .xpm-sub { color: var(--color-champagne); }
.xpm-card { display: none; pointer-events: auto; position: absolute; left: 16px; top: 30px; width: 270px; padding: 6px; background: var(--color-ivory); color: var(--color-obsidian);
  border: 1px solid rgba(13,13,13,.12); border-radius: 2px; box-shadow: 0 18px 40px rgba(13,13,13,.32); }
.xpm-pin.is-open .xpm-card { display: block; animation: xpmIn .35s var(--ease-luxe); }
@keyframes xpmIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.xpm-row { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: 1rem; padding: 8px 10px; text-align: start; border-radius: 2px; transition: background-color var(--duration-fast); }
.xpm-row:hover, .xpm-row:focus-visible { background: rgba(214,195,165,.22); outline: none; }
.xpm-row-name { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; }
.xpm-row-meta { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
/* Labels sit left of their pin when there is no room on the right (and by default in Arabic) */
.xpm-pin.is-left .xpm-tag { transform: translate(calc(-100% - 16px), -50%); }
.xpm-pin.is-left.is-hover .xpm-tag { transform: translate(calc(-100% - 16px), -50%) translateY(-3px); }
.xpm-pin.is-left .xpm-card { left: auto; right: 16px; }
@media (max-width: 767px) { .xpm-name { font-size: 1rem; } .xpm-card { width: min(250px, 70vw); } }
@media (prefers-reduced-motion: reduce) { .xp-map, .xp-map-scrim, .xpm-pin, .xpm-tag { transition: none; } .xpm-pin.is-open .xpm-card { animation: none; } }

/* ---------- Diamond Academy (/academy/, assets/js/academy.js) ---------- */
.ac-hero { min-height: 560px; height: 80vh; height: 80svh; max-height: 860px; }
.ac-hero-list { min-height: 520px; height: 70vh; height: 70svh; max-height: 760px; }
/* Scanned engravings carry a paper border; push it past the frame */
.xp-hero-img.is-scan { inset: -9%; }
.ac-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: var(--text-small); color: var(--text-muted-inverse); }
.ac-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.ac-meta .lucide { width: 16px; height: 16px; color: var(--color-champagne); }

/* Reading progress: a champagne hairline across the top of the window */
.ac-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px; pointer-events: none; }
.ac-progress span { display: block; height: 100%; background: var(--color-champagne); transform-origin: left; transform: scaleX(0); }

/* Article body */
.ac-body > * + * { margin-top: 1.5rem; }
.ac-body > p { font-size: var(--text-lead); line-height: 1.75; color: #3A3A3A; max-width: 62ch; }
.ac-body > p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 4.4em; line-height: .8; padding: .08em .12em 0 0; color: var(--color-obsidian); }
.ac-body > h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h3); line-height: 1.15; margin-top: 3.5rem; scroll-margin-top: 7rem; }
.ac-body > h2 + p { margin-top: 1.1rem; }
.ac-figure { margin-block: 3rem; max-width: 62ch; }
.ac-figure.is-wide { max-width: none; }
.ac-figure .img-frame { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.ac-figure.is-wide .img-frame { aspect-ratio: 16 / 9; }
.ac-figure figcaption { margin-top: .9rem; font-size: var(--text-small); line-height: 1.5; color: var(--text-muted); max-width: 62ch; }
.ac-quote { margin-block: 3.25rem; max-width: 30ch; }
.ac-quote::before { content: ""; display: block; width: 48px; height: 1px; margin-bottom: 1.5rem; background: var(--color-champagne); }
.ac-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.2; color: var(--color-obsidian); }
.ac-facts { display: grid; grid-template-columns: 1fr 1fr; margin-block: 2.75rem; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.ac-facts div { padding: 1.4rem 1rem 1.4rem 0; }
.ac-facts div:nth-child(n+3) { border-top: 1px solid var(--border-subtle); }
.ac-facts dt { font-size: var(--text-eyebrow); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.ac-facts dd { margin-top: .5rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 768px) {
  .ac-facts { grid-template-columns: repeat(4, 1fr); }
  .ac-facts div:nth-child(n+3) { border-top: 0; }
  .ac-facts div + div { border-left: 1px solid var(--border-subtle); padding-left: 1.25rem; }
}
.ac-scale { margin-block: 2.5rem; }
.ac-scale ol { margin-top: 1rem; display: grid; border-top: 1px solid var(--border-subtle); }
.ac-scale li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--border-subtle); }
.ac-scale .grade { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; }
.ac-scale .label { font-size: var(--text-small); color: var(--text-muted); }
@media (min-width: 768px) {
  .ac-scale ol { grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--border-subtle); }
  .ac-scale li { grid-template-columns: none; gap: .35rem; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 0; }
  .ac-scale li + li { border-left: 1px solid var(--border-subtle); padding-left: 1rem; }
}
.ac-compare { width: 100%; margin-block: 2.75rem; border-collapse: collapse; table-layout: fixed; font-size: var(--text-small); line-height: 1.5; }
.ac-compare th, .ac-compare td { text-align: start; vertical-align: top; padding: .9rem .75rem .9rem 0; border-bottom: 1px solid var(--border-subtle); }
.ac-compare thead th { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; border-bottom-color: var(--color-obsidian); }
.ac-compare tbody th { font-weight: 500; font-size: var(--text-eyebrow); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding-top: 1.05rem; }
.ac-compare col.k { width: 30%; }

/* "In this article" */
.ac-toc { position: sticky; top: 7rem; }
.ac-toc ol { margin-top: 1.1rem; border-left: 1px solid var(--border-subtle); }
.ac-toc a { display: block; padding: .5rem 0 .5rem 1rem; margin-left: -1px; border-left: 1px solid transparent; font-size: var(--text-small); line-height: 1.4; color: var(--text-muted); transition: color var(--duration-fast) var(--ease-luxe), border-color var(--duration-fast) var(--ease-luxe); }
.ac-toc a:hover { color: var(--color-obsidian); }
.ac-toc a[aria-current="true"] { color: var(--color-obsidian); border-left-color: var(--color-champagne); }

/* Related experience card in the closing call to action */
.ac-xp { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: center; padding: 1rem; border: 1px solid var(--border-subtle-inverse); border-radius: var(--radius-md); background: rgba(13,13,13,.5); transition: border-color var(--duration-fast) var(--ease-luxe); }
.ac-xp:hover { border-color: rgba(214,195,165,.6); }
.ac-xp .img-frame { aspect-ratio: 1; border-radius: var(--radius-sm); }

/* Featured article on the listing */
.ac-feature-title { font-size: var(--text-h2); }

[dir="rtl"] .ac-progress span { transform-origin: right; }
[dir="rtl"] .ac-body > p:first-child::first-letter { float: none; font-size: inherit; padding: 0; }
[dir="rtl"] .ac-toc ol { border-left: 0; border-right: 1px solid var(--border-subtle); }
[dir="rtl"] .ac-toc a { padding: .5rem 1rem .5rem 0; margin-left: 0; margin-right: -1px; border-left: 0; border-right: 1px solid transparent; }
[dir="rtl"] .ac-toc a[aria-current="true"] { border-right-color: var(--color-champagne); }
@media (min-width: 768px) {
  [dir="rtl"] .ac-facts div + div { border-left: 0; border-right: 1px solid var(--border-subtle); padding-left: 1rem; padding-right: 1.25rem; }
  [dir="rtl"] .ac-scale li + li { border-left: 0; border-right: 1px solid var(--border-subtle); padding-left: 1rem; padding-right: 1rem; }
}
/* Frequently asked questions (/faq/): every answer stays open, for readers and crawlers alike */
.faq-group { scroll-margin-top: 7rem; }
.faq-group + .faq-group { margin-top: 8rem; }
.faq-group > h2 { margin-bottom: 2rem; }
.faq-item { padding-block: 2rem; border-top: 1px solid var(--border-subtle); }
.faq-item h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.2; max-width: 34ch; }
.faq-a { margin-top: 1rem; max-width: 65ch; line-height: 1.7; color: #3A3A3A; }
.faq-a > * + * { margin-top: 1rem; }
.faq-a a { color: var(--color-obsidian); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color var(--duration-fast) var(--ease-luxe); }
.faq-a a:hover { text-decoration-color: var(--color-champagne); }
.faq-a .xp-list li { padding: .7rem 0; }
