/* =====================================================
   RAWASI — Cinematic Real Estate
   Design taste: variance 8, motion 6, density 4
   ===================================================== */

:root {
  /* Single accent palette — terracotta against warm neutrals */
  --terracotta:        #B05D3D;
  --terracotta-deep:   #8B4628;
  --terracotta-glow:   #D17B52;
  --sand:              #E8D9BD;
  --sand-light:        #F5EDDD;
  --olive:             #6B7A4F;
  --olive-deep:        #4A5839;

  /* Off-black ladder (no pure black) */
  --ink:               #1A1410;
  --ink-soft:          #2A211B;
  --ink-mute:          #5C4F44;
  --ink-faint:         #8C7B6C;

  /* Paper warmth */
  --paper:             #FBF7EE;
  --paper-warm:        #F8F1E2;
  --paper-cool:        #F1E9D6;

  /* Type stack — distinctive serif + clean sans */
  --display: "Fraunces", Georgia, serif;
  --sans:    "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --shell: clamp(1.25rem, 4vw, 3.5rem);
  --max:   1440px;

  /* Motion — cubic-bezier instead of linear */
  --ease:   cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --fast:   .35s var(--ease);
  --med:    .6s var(--ease);
  --slow:   1s var(--ease);
}

* { box-sizing: border-box; }

/* Lenis baseline */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

html, body {
  margin: 0; padding: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--terracotta); color: var(--paper); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* =========== TYPOGRAPHY UTILITIES =========== */
.display {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.92;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  margin: 0;
  color: var(--paper);
}
.display em {
  font-style: italic;
  font-weight: 300;
  font-family: var(--display);
  color: var(--terracotta-glow);
}
.display--light, .display--light em { color: var(--paper); }
.display--light em { color: var(--terracotta-glow); }

.kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(251, 247, 238, 0.5);
}

/* =========== REVEAL ANIMATIONS =========== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Line-mask reveals on display headings */
.ln {
  display: block;
  overflow: hidden;
  line-height: inherit;
}
.ln__i {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--ln-delay, 0ms);
  will-change: transform;
}
.is-in .ln__i,
[data-reveal].is-in .ln__i { transform: translateY(0); }

/* =========== LOADER =========== */
.loader {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0s linear 1s;
}
.loader.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem;
}
.loader__logo {
  width: clamp(160px, 22vw, 220px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50%      { transform: translateY(-6px); opacity: 1; }
}
.loader__count {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(251, 247, 238, 0.4);
  font-variant-numeric: tabular-nums;
}

/* =========== NAV =========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem var(--shell);
  background: transparent;
  transition: padding 0.45s var(--ease);
  color: var(--paper);
}
.nav.is-stuck {
  background: transparent;
  padding: 0.9rem var(--shell);
  border-bottom-color: transparent;
}

.nav__brand {
  display: flex; align-items: center;
  color: inherit;
}
.nav__logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
  opacity: 0.95;
}
.nav.is-stuck .nav__logo { height: 38px; }
.nav__brand:hover .nav__logo { opacity: 1; transform: scale(1.04); }

.nav__links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex: 1;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--terracotta);
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.nav__cta:hover { background: var(--terracotta-deep); }
.nav__cta:active { transform: translateY(1px); }
.nav__cta svg { transition: transform 0.4s var(--ease); }
.nav__cta:hover svg { transform: translateX(3px); }
.nav__menu { display: none; }

/* =========== MOBILE OVERLAY =========== */
.overlay {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 95;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6rem var(--shell) 2.5rem;
}
.overlay.is-open { transform: translateY(0); }
.overlay__nav { display: flex; flex-direction: column; gap: 1.2rem; }
.overlay__nav a {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(251, 247, 238, 0.1);
  padding-bottom: 0.6rem;
}
.overlay__foot {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; letter-spacing: 0.18em; opacity: 0.5;
}

/* =========== SIDE PROGRESS RAIL =========== */
.rail {
  position: fixed;
  top: 50%;
  right: 1.4rem;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
  font-family: var(--sans);
  color: #fff;
  mix-blend-mode: difference;
}
.rail__track {
  width: 1px; height: 90px;
  background: rgba(255, 255, 255, 0.25);
  position: relative; overflow: hidden;
}
.rail__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: #fff;
  transition: height 0.2s linear;
}
.rail__dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.rail__dots li {
  display: flex; align-items: center; gap: 0.7rem;
  cursor: pointer; padding: 0.2rem 0;
}
.rail__dots li > span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  order: 2;
}
.rail__dots li > em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
  white-space: nowrap;
  order: 1;
}
.rail__dots li:hover > em,
.rail__dots li.is-active > em { opacity: 1; transform: translateX(0); }
.rail__dots li.is-active > span { background: #fff; transform: scale(1.6); }
.rail__count {
  display: flex; align-items: baseline; gap: 0.25rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
}
.rail__count em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  opacity: 0.5;
}

/* =========== GIANT INDEX =========== */
.bigindex {
  position: fixed;
  bottom: 1.6rem;
  left: 1.4rem;
  z-index: 70;
  display: flex; flex-direction: column;
  gap: 0.2rem;
  font-family: var(--display);
  pointer-events: none;
  mix-blend-mode: difference;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.bigindex.is-on { opacity: 1; transform: translateY(0); }
.bigindex__num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.bigindex__label {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 0.2rem;
}

/* =====================================================
   HERO — pinned, title scales up on scroll (zoom move)
   ===================================================== */
.hero {
  position: relative;
  height: 220vh;
  color: var(--paper);
  isolation: isolate;
  --hp: 0;
}
.hero__pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 6rem var(--shell) 2.5rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__layer { position: absolute; inset: 0; will-change: transform, opacity; }
.hero__layer--photo {
  background-image: url("images/PHOTO-2026-05-06-17-32-40%207.jpg");
  background-size: cover;
  background-position: center 60%;
  filter: brightness(0.78) saturate(1.05) contrast(1.04);
  transform: scale(calc(1.05 + var(--hp) * 0.25));
  transition: transform 0.05s linear;
}
.hero__layer--tint {
  background:
    linear-gradient(180deg, rgba(26, 14, 8, 0.05) 0%, rgba(26, 14, 8, 0.18) 40%, rgba(80, 31, 16, 0.55) 80%, rgba(56, 21, 9, 0.85) 100%);
}
.hero__layer--vignette {
  background: radial-gradient(120% 80% at 50% 35%, transparent 30%, rgba(26, 14, 8, 0.55) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}

.hero__topline {
  display: flex; justify-content: space-between;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(251, 247, 238, 0.85);
  opacity: calc(1 - var(--hp) * 4);
  transition: opacity 0.05s linear;
}

.hero__center {
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}
.hero__title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* THE ZOOM MOVE — logo scales up dramatically on scroll */
  transform: scale(calc(1 + var(--hp) * 22));
  opacity: calc(1 - max(0, var(--hp) - 0.62) * 3);
  transform-origin: 50% 50%;
  transition: transform 0.05s linear, opacity 0.05s linear;
  will-change: transform, opacity;
}
.hero__logo {
  width: clamp(200px, 32vw, 460px);
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.hero__sub {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 247, 238, 0.7);
  margin: 0;
  opacity: calc(1 - var(--hp) * 5);
  transition: opacity 0.05s linear;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  opacity: calc(1 - var(--hp) * 4);
  transition: opacity 0.05s linear;
}
.hero__meta {
  display: flex; flex-direction: column; gap: 0.25rem;
  font-size: 0.78rem;
  color: rgba(251, 247, 238, 0.78);
}
.hero__meta--r { text-align: right; align-items: flex-end; }
.hero__meta .kicker { color: rgba(251, 247, 238, 0.5); }
.hero__meta .meta {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0;
}

/* =====================================================
   DESTINATIONS — split panels with hover expand (full height)
   ===================================================== */
.dest {
  background: var(--ink);
  position: relative;
  z-index: 2;
}
.dest__head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--shell) 3rem;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 3rem;
  align-items: end;
}
.dest__head .kicker { display: block; }
.dest__head .display { font-size: clamp(2.5rem, 5vw, 4.2rem); margin: 0; }

.dest__wrap {
  display: flex;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
/* Residence wrap can be a touch shorter so 8 panels are readable */
.dest__wrap--res { height: 90dvh; }

.dest__panel {
  position: relative;
  flex: 1 1 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex-grow 1s var(--ease);
  display: block;
  color: var(--paper);
}
.dest__panel + .dest__panel {
  border-left: 1px solid rgba(251, 247, 238, 0.1);
}
.dest__wrap:hover .dest__panel { flex-grow: 0.6; }
.dest__wrap:hover .dest__panel:hover { flex-grow: 3; }

.dest__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.4) brightness(0.5);
  transition: filter 1s var(--ease), transform 1.6s var(--ease);
  transform: scale(1.06);
}
.dest__panel:hover .dest__bg {
  filter: saturate(1.05) brightness(0.78);
  transform: scale(1);
}

.dest__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.18) 0%, rgba(26, 20, 16, 0.85) 100%);
  transition: background 0.7s var(--ease);
}
.dest__panel:hover .dest__veil {
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.05) 0%, rgba(26, 20, 16, 0.7) 100%);
}

.dest__copy {
  position: absolute;
  left: 1.8rem; right: 1.8rem; bottom: 2rem;
  display: flex; flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.8s var(--ease);
}
.dest__panel:hover .dest__copy { transform: translateY(-4px); }

.dest__num {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terracotta-glow);
}
.dest__copy h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dest__copy p {
  font-size: 0.86rem;
  color: rgba(251, 247, 238, 0.8);
  margin: 0;
  max-width: 32ch;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.55s var(--ease), max-height 0.7s var(--ease), margin-top 0.5s var(--ease);
}
.dest__panel:hover .dest__copy p {
  opacity: 1;
  max-height: 120px;
  margin-top: 0.3rem;
}
.dest__cta {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta-glow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease) 0.18s, transform 0.5s var(--ease) 0.18s;
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.dest__cta::after {
  content: "→";
  transition: transform 0.4s var(--ease);
}
.dest__panel:hover .dest__cta { opacity: 1; transform: translateY(0); }
.dest__panel:hover .dest__cta::after { transform: translateX(4px); }

/* Stats list (used in residences split) */
.dest__stats {
  list-style: none; margin: 0.5rem 0 0; padding: 0;
  display: flex; gap: 1rem;
  max-height: 0; opacity: 0;
  overflow: hidden;
  transition: opacity 0.5s var(--ease), max-height 0.6s var(--ease);
}
.dest__panel:hover .dest__stats { opacity: 1; max-height: 80px; }
.dest__stats li {
  display: flex; flex-direction: column; gap: 0.1rem;
  font-family: var(--display);
}
.dest__stats span {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--paper);
  line-height: 1;
}
.dest__stats em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 247, 238, 0.5);
}

/* =====================================================
   CINEMA — full-bleed image sections with overlay
   ===================================================== */
.cinema {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.cinema__media {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
.cinema__img {
  position: absolute; inset: -5%;
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) brightness(0.65);
  transform: scale(1.05);
  transition: transform 8s linear;
}
.cinema:hover .cinema__img { transform: scale(1.1); }
.cinema__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.4) 0%, rgba(26, 20, 16, 0.7) 100%);
}
.cinema__veil--bottom {
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.1) 0%, rgba(26, 20, 16, 0.92) 100%);
}
.cinema__overlay {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--shell);
  display: flex; flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cinema__overlay--bottom {
  align-self: end;
  padding-bottom: 4rem;
}
.cinema__overlay .display { max-width: 18ch; }
.cinema__line {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
  color: rgba(251, 247, 238, 0.8);
  margin: 0;
  letter-spacing: 0.01em;
}
.cinema__stats {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.cinema__stats li {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.cinema__stats span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  color: var(--terracotta-glow);
  letter-spacing: -0.02em;
}
.cinema__stats em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(251, 247, 238, 0.55);
}

/* =====================================================
   MASTERPLAN — dark cinematic with two phase cards
   ===================================================== */
.plan {
  position: relative;
  padding: 8rem 0 7rem;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.plan__bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
.plan__img {
  position: absolute; inset: -5%;
  background-size: cover;
  background-position: center;
  filter: saturate(0.6) brightness(0.3);
  transform: scale(1.05);
}
.plan__veil {
  position: absolute; inset: 0;
  background: radial-gradient(80% 80% at 50% 50%, rgba(26, 20, 16, 0.7) 0%, rgba(26, 20, 16, 0.92) 100%);
}

.plan__head {
  max-width: var(--max);
  margin: 0 auto 4rem;
  padding: 0 var(--shell);
  display: flex; flex-direction: column;
  gap: 1rem;
}
.plan__head .display { max-width: 16ch; }

.plan__cards {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--shell);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.plan__card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: flex; flex-direction: column;
  height: clamp(420px, 55vh, 540px);
  cursor: pointer;
  transition: transform 0.6s var(--ease);
}
.plan__card:hover { transform: translateY(-4px); }

.plan__card-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) brightness(0.55);
  transform: scale(1.04);
  transition: filter 0.7s var(--ease), transform 1.4s var(--ease);
}
.plan__card:hover .plan__card-img {
  filter: saturate(1.05) brightness(0.7);
  transform: scale(1);
}

.plan__card-body {
  position: relative;
  margin-top: auto;
  padding: 2rem;
  background: linear-gradient(180deg, transparent, rgba(26, 14, 8, 0.92));
  color: var(--paper);
  z-index: 2;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.plan__num {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terracotta-glow);
}
.plan__card-body h3 {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.plan__card-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(251, 247, 238, 0.78);
  max-width: 42ch;
}
.plan__card-body dl {
  margin: 0.6rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(199, 179, 146, 0.18);
  padding-top: 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.5s var(--ease), max-height 0.6s var(--ease), margin-top 0.5s var(--ease);
}
.plan__card:hover .plan__card-body dl {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.6rem;
}
.plan__card-body dl > div { display: flex; flex-direction: column; gap: 0.15rem; }
.plan__card-body dt {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 247, 238, 0.5);
}
.plan__card-body dd {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--paper);
}
.plan__card-body dd span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.6rem;
  margin-left: 0.3rem;
  letter-spacing: 0.1em;
  color: rgba(251, 247, 238, 0.4);
}

.plan__total {
  max-width: var(--max);
  margin: 4rem auto 0;
  padding: 0 var(--shell);
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}
.plan__total strong {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--terracotta-glow);
}
.plan__total .meta {
  font-size: 0.85rem;
  color: rgba(251, 247, 238, 0.6);
  letter-spacing: 0.04em;
}

/* =====================================================
   OLA — cinematic narrative + image strip
   ===================================================== */
.ola {
  background: var(--ink);
  padding: 8rem 0 6rem;
  position: relative;
  z-index: 2;
}
.ola__head {
  max-width: var(--max);
  margin: 0 auto 4rem;
  padding: 0 var(--shell);
  display: flex; flex-direction: column;
  gap: 1rem;
}
.ola__head .display { max-width: 14ch; }

.ola__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--shell);
}
.ola__shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  border-radius: 4px;
}
.ola__shot-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.8) brightness(0.7);
  transform: scale(1.04);
  transition: filter 0.7s var(--ease), transform 1.6s var(--ease);
}
.ola__shot:hover .ola__shot-img {
  filter: saturate(1.05) brightness(0.95);
  transform: scale(1);
}
.ola__shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.1rem;
  display: flex; flex-direction: column;
  gap: 0.2rem;
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, transparent, rgba(26, 14, 8, 0.9));
  z-index: 2;
}
.ola__shot figcaption span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terracotta-glow);
}

/* =====================================================
   CONTACT — cinematic full-bleed + form
   ===================================================== */
.contact {
  position: relative;
  min-height: 100dvh;
  padding: 8rem 0 6rem;
  isolation: isolate;
  overflow: hidden;
  display: flex; align-items: center;
}
.contact__bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
.contact__img {
  position: absolute; inset: -5%;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.4);
  transform: scale(1.05);
}
.contact__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.6) 0%, rgba(26, 20, 16, 0.92) 100%);
}

.contact__inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--shell);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact__copy { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__copy .display { font-size: clamp(2.5rem, 5vw, 4rem); }
.contact__direct {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 0.8rem;
}
.contact__direct li {
  display: flex; flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(199, 179, 146, 0.15);
}
.contact__direct li:last-child { border-bottom: 1px solid rgba(199, 179, 146, 0.15); }
.contact__direct a, .contact__direct span:not(.kicker) {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--paper);
  transition: color 0.3s var(--ease);
}
.contact__direct a:hover { color: var(--terracotta-glow); }

.contact__form {
  display: flex; flex-direction: column;
  gap: 1.2rem;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(199, 179, 146, 0.12);
  border-radius: 6px;
  padding: 2rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 247, 238, 0.5);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(251, 247, 238, 0.15);
  background: rgba(251, 247, 238, 0.04);
  color: var(--paper);
  border-radius: 4px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta-glow);
  background: rgba(251, 247, 238, 0.08);
}
.field input::placeholder { color: rgba(251, 247, 238, 0.35); }
.field select option { background: var(--ink); color: var(--paper); }

.btn-submit {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.6rem;
  background: var(--terracotta);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  border-radius: 4px;
  margin-top: 0.5rem;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-submit:hover { background: var(--terracotta-deep); }
.btn-submit:active { transform: translateY(1px); }
.btn-submit svg { transition: transform 0.4s var(--ease); }
.btn-submit:hover svg { transform: translateX(4px); }
.btn-submit__sent { display: none; }
.contact__form.is-sent .btn-submit { background: var(--olive-deep); pointer-events: none; }
.contact__form.is-sent .btn-submit__label { display: none; }
.contact__form.is-sent .btn-submit__sent { display: inline; }
.contact__form.is-sent .btn-submit svg { display: none; }

/* =====================================================
   FOOTER
   ===================================================== */
.foot {
  background: #0F0B08;
  color: var(--paper);
  padding: 5rem var(--shell) 2rem;
  position: relative;
  z-index: 2;
}
.foot__top {
  max-width: var(--max);
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: end;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(199, 179, 146, 0.15);
}
.foot__logo {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.foot__tag {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: rgba(251, 247, 238, 0.85);
  text-align: right;
  letter-spacing: -0.01em;
}
.foot__cols {
  max-width: var(--max);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.foot__col .kicker {
  display: block;
  margin-bottom: 0.8rem;
}
.foot__col p, .foot__col ul, .foot__col li {
  margin: 0; padding: 0; list-style: none;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(251, 247, 238, 0.75);
}
.foot__col li { padding: 0.1rem 0; }
.foot__col a { transition: color 0.3s var(--ease); }
.foot__col a:hover { color: var(--terracotta-glow); }
.foot__bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 238, 0.4);
  padding-top: 2rem;
  border-top: 1px solid rgba(199, 179, 146, 0.08);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__controls { margin-inline-start: auto; }
  .nav__menu {
    display: flex; flex-direction: column; gap: 4px;
    padding: 0.8rem;
  }
  .nav__menu span {
    display: block;
    width: 22px; height: 1.4px;
    background: currentColor;
    transition: transform 0.4s var(--ease);
  }
  .nav__menu.is-open span:nth-child(1) { transform: translateY(2.7px) rotate(45deg); }
  .nav__menu.is-open span:nth-child(2) { transform: translateY(-2.7px) rotate(-45deg); }
  .nav__cta { display: none; }
  .rail { display: none; }
  .bigindex { display: none; }

  .dest__head, .plan__cards, .contact__inner, .foot__top { grid-template-columns: 1fr; gap: 2rem; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .foot__tag { text-align: left; }

  .dest__wrap, .dest__wrap--res {
    flex-direction: column;
    height: auto;
  }
  .dest__panel {
    flex: 1 1 auto !important;
    min-height: 280px;
  }
  .dest__panel + .dest__panel { border-left: 0; border-top: 1px solid rgba(251, 247, 238, 0.1); }
  .dest__wrap:hover .dest__panel,
  .dest__wrap:hover .dest__panel:hover { flex-grow: 1; }
  .dest__bg { filter: saturate(0.95) brightness(0.65); transform: scale(1); }
  .dest__copy p, .dest__stats { opacity: 1; max-height: 200px; margin-top: 0.4rem; }
  .dest__cta { opacity: 1; transform: none; }

  .plan__card-body dl { opacity: 1; max-height: 200px; margin-top: 0.6rem; }

  .ola__strip { grid-template-columns: repeat(2, 1fr); }

  .hero { height: 180vh; }
}

@media (max-width: 720px) {
  .hero { height: auto; }
  .hero__pin {
    position: relative;
    height: auto;
    min-height: 100dvh;
    padding: 4.5rem var(--shell) 2.5rem;
  }
  .hero__title {
    transform: none !important;
    opacity: 1 !important;
  }
  .hero__topline { flex-direction: column; gap: 0.4rem; font-size: 0.62rem; opacity: 1; }
  .hero__bottom { grid-template-columns: 1fr; gap: 1.5rem; opacity: 1; }
  .hero__meta--r { text-align: left; align-items: flex-start; }
  .hero__sub { opacity: 1; }
  .hero__layer--photo { transform: scale(1.05); }

  .field-row { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; gap: 0.5rem; }
  .ola__strip { grid-template-columns: 1fr; }
}

/* =====================================================
   THEME + LANGUAGE TOGGLES (in nav)
   ===================================================== */
.nav__controls {
  display: flex; align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
}
[dir="rtl"] .nav__controls { margin-right: 0; margin-left: 0.5rem; }

.ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 0.85rem;
  border: 1px solid rgba(251, 247, 238, 0.18);
  border-radius: 999px;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.2s var(--ease);
  background: transparent;
}
.ctrl:hover { border-color: var(--terracotta-glow); background: rgba(208, 123, 82, 0.08); }
.ctrl:active { transform: translateY(1px); }

.ctrl--theme { width: 36px; padding: 0; }
.ctrl--theme .ico { width: 16px; height: 16px; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.ctrl--theme .ico--moon { opacity: 0; position: absolute; transform: rotate(-30deg) scale(0.8); }
.ctrl--theme .ico--sun  { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="light"] .ctrl--theme .ico--moon { opacity: 1; transform: rotate(0deg) scale(1); position: relative; }
[data-theme="light"] .ctrl--theme .ico--sun  { opacity: 0; position: absolute; transform: rotate(30deg) scale(0.8); }

.ctrl--lang {
  gap: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.ctrl__sep { opacity: 0.3; }
.ctrl__lang-en, .ctrl__lang-ar {
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.ctrl__lang-ar { font-family: "IBM Plex Sans Arabic", "Outfit", sans-serif; font-size: 0.95rem; font-weight: 500; letter-spacing: 0; }
:root[data-lang="en"] .ctrl__lang-en { color: var(--terracotta-glow); }
:root[data-lang="en"] .ctrl__lang-ar { opacity: 0.45; }
:root[data-lang="ar"] .ctrl__lang-ar { color: var(--terracotta-glow); }
:root[data-lang="ar"] .ctrl__lang-en { opacity: 0.45; }

/* =====================================================
   HERO SKY OVERLAYS — moon/stars + sun
   ===================================================== */
.hero__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 1.2s var(--ease);
}
.hero__sky--dark { opacity: 1; }
.hero__sky--light { opacity: 0; }
[data-theme="light"] .hero__sky--dark { opacity: 0; }
[data-theme="light"] .hero__sky--light { opacity: 1; }

.hero__moon {
  position: absolute;
  top: clamp(140px, 22vh, 240px);
  right: clamp(80px, 12vw, 220px);
  width: clamp(36px, 4vw, 60px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 250, 236, 0.3));
  animation: moonFloat 8s ease-in-out infinite;
}
[dir="rtl"] .hero__moon { right: auto; left: clamp(80px, 12vw, 220px); }

@keyframes moonFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-8px) rotate(0deg); }
}

.hero__stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  background: #FFFAEC;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 4px rgba(255, 250, 236, 0.6);
  animation: twinkle 3.4s ease-in-out infinite;
}
.star--big { width: 3px; height: 3px; box-shadow: 0 0 8px rgba(255, 250, 236, 0.8); }
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50%      { opacity: 0.95; transform: scale(1.1); }
}

.hero__sun {
  position: absolute;
  top: clamp(110px, 18vh, 210px);
  right: clamp(60px, 10vw, 180px);
  width: clamp(110px, 14vw, 200px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 211, 145, 0.45));
  animation: sunPulse 7s ease-in-out infinite;
}
[dir="rtl"] .hero__sun { right: auto; left: clamp(60px, 10vw, 180px); }

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50%      { transform: scale(1.04); opacity: 1; }
}

/* =====================================================
   LIGHT THEME — overrides
   ===================================================== */
:root[data-theme="light"] body {
  background: var(--paper);
  color: var(--ink);
}

/* Light hero treatment — the photo brightens, terracotta tint warms it */
:root[data-theme="light"] .hero__layer--photo {
  filter: brightness(1.05) saturate(1.1) contrast(1) hue-rotate(-5deg);
}
:root[data-theme="light"] .hero__layer--tint {
  background:
    linear-gradient(180deg, rgba(255, 220, 180, 0.18) 0%, rgba(255, 200, 140, 0.05) 40%, rgba(176, 93, 61, 0.18) 80%, rgba(139, 70, 40, 0.32) 100%);
}
:root[data-theme="light"] .hero__layer--vignette {
  background: radial-gradient(120% 80% at 50% 35%, transparent 30%, rgba(80, 31, 16, 0.18) 100%);
}
:root[data-theme="light"] .hero__topline,
:root[data-theme="light"] .hero__sub,
:root[data-theme="light"] .hero__meta { color: var(--paper); }

/* Nav — light variant: keep transparent, but flip text/logo color */
:root[data-theme="light"] .nav { color: var(--ink); }
:root[data-theme="light"] .nav__logo { filter: brightness(0); }
:root[data-theme="light"] .ctrl {
  border-color: rgba(26, 20, 16, 0.18);
  color: var(--ink);
}
:root[data-theme="light"] .ctrl:hover { background: rgba(176, 93, 61, 0.08); }

/* Display headings outside cinematic sections — dark text */
:root[data-theme="light"] .dest:not(.dest--res) .dest__head .display,
:root[data-theme="light"] .dest:not(.dest--res) .dest__head .kicker { color: var(--ink); }
:root[data-theme="light"] .dest:not(.dest--res) .dest__head .display em { color: var(--terracotta-deep); }

:root[data-theme="light"] .dest--res .dest__head .display,
:root[data-theme="light"] .dest--res .dest__head .kicker { color: var(--ink); }
:root[data-theme="light"] .dest--res .dest__head .display em { color: var(--terracotta-deep); }

/* Destinations background page — light cream */
:root[data-theme="light"] .dest { background: var(--paper); }

/* Plan section — light cream with subtle terracotta tint */
:root[data-theme="light"] .plan { background: var(--paper-cool); }
:root[data-theme="light"] .plan__veil {
  background: radial-gradient(80% 80% at 50% 50%, rgba(251, 247, 238, 0.7) 0%, rgba(241, 233, 214, 0.92) 100%);
}
:root[data-theme="light"] .plan__img { filter: saturate(0.85) brightness(0.95); }
:root[data-theme="light"] .plan__head .display,
:root[data-theme="light"] .plan__head .kicker { color: var(--ink); }
:root[data-theme="light"] .plan__head .display em { color: var(--terracotta-deep); }
:root[data-theme="light"] .plan__total { color: var(--ink); }
:root[data-theme="light"] .plan__total strong { color: var(--terracotta-deep); }
:root[data-theme="light"] .plan__total .meta { color: var(--ink-mute); }
:root[data-theme="light"] .plan__total .kicker { color: var(--ink-faint); }

/* Plan cards — keep image-led, but lighter */
:root[data-theme="light"] .plan__card-img { filter: saturate(0.95) brightness(0.7); }
:root[data-theme="light"] .plan__card:hover .plan__card-img { filter: saturate(1.05) brightness(0.82); }

/* Contact section — light variant */
:root[data-theme="light"] .contact__veil {
  background: linear-gradient(180deg, rgba(251, 247, 238, 0.65) 0%, rgba(241, 233, 214, 0.92) 100%);
}
:root[data-theme="light"] .contact__img { filter: saturate(0.85) brightness(0.85); }
:root[data-theme="light"] .contact__copy .display,
:root[data-theme="light"] .contact__copy .kicker { color: var(--ink); }
:root[data-theme="light"] .contact__copy .display em { color: var(--terracotta-deep); }
:root[data-theme="light"] .contact__direct li {
  border-top-color: rgba(26, 20, 16, 0.12);
}
:root[data-theme="light"] .contact__direct li:last-child {
  border-bottom-color: rgba(26, 20, 16, 0.12);
}
:root[data-theme="light"] .contact__direct .kicker { color: var(--ink-faint); }
:root[data-theme="light"] .contact__direct a,
:root[data-theme="light"] .contact__direct span:not(.kicker) { color: var(--ink); }
:root[data-theme="light"] .contact__direct a:hover { color: var(--terracotta-deep); }

:root[data-theme="light"] .contact__form {
  background: rgba(251, 247, 238, 0.78);
  border-color: rgba(26, 20, 16, 0.1);
  backdrop-filter: blur(20px) saturate(1.1);
}
:root[data-theme="light"] .field label { color: var(--ink-faint); }
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(26, 20, 16, 0.18);
  color: var(--ink);
}
:root[data-theme="light"] .field input::placeholder { color: var(--ink-faint); }
:root[data-theme="light"] .field input:focus,
:root[data-theme="light"] .field select:focus { background: #fff; border-color: var(--terracotta); }
:root[data-theme="light"] .field select option { background: #fff; color: var(--ink); }

/* Footer — light variant */
:root[data-theme="light"] .foot {
  background: var(--paper-cool);
  color: var(--ink);
  border-top: 1px solid rgba(26, 20, 16, 0.06);
}
:root[data-theme="light"] .foot__logo { filter: brightness(0); opacity: 0.85; }
:root[data-theme="light"] .foot__tag { color: var(--ink); }
:root[data-theme="light"] .foot__col .kicker { color: var(--ink-faint); }
:root[data-theme="light"] .foot__col p,
:root[data-theme="light"] .foot__col ul,
:root[data-theme="light"] .foot__col li { color: var(--ink-mute); }
:root[data-theme="light"] .foot__col a:hover { color: var(--terracotta-deep); }
:root[data-theme="light"] .foot__top { border-bottom-color: rgba(26, 20, 16, 0.1); }
:root[data-theme="light"] .foot__bottom { border-top-color: rgba(26, 20, 16, 0.06); color: var(--ink-faint); }

/* Loader logo: dark text in light theme */
:root[data-theme="light"] .loader { background: var(--paper); }
:root[data-theme="light"] .loader__logo { filter: brightness(0); }
:root[data-theme="light"] .loader__count { color: var(--ink-faint); }

/* Rail/bigindex still use mix-blend-mode difference, work in both themes */

/* =====================================================
   RTL TWEAKS — directional reversals & font swap
   ===================================================== */
[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "Outfit", -apple-system, sans-serif;
}
[dir="rtl"] .display,
[dir="rtl"] .hero__title,
[dir="rtl"] .nav__word,
[dir="rtl"] .foot__tag,
[dir="rtl"] .dest__copy h3,
[dir="rtl"] .plan__card-body h3,
[dir="rtl"] .ola__shot figcaption,
[dir="rtl"] .contact__direct a,
[dir="rtl"] .contact__direct span:not(.kicker) {
  font-family: "IBM Plex Sans Arabic", "Fraunces", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}
[dir="rtl"] .display,
[dir="rtl"] .hero__title { font-weight: 300; }
[dir="rtl"] .display em,
[dir="rtl"] .display--light em,
[dir="rtl"] .hero__title em {
  font-style: normal;
  font-weight: 500;
  font-family: "IBM Plex Sans Arabic", "Fraunces", sans-serif;
}
[dir="rtl"] .kicker {
  font-family: "IBM Plex Sans Arabic", "Outfit", sans-serif;
  letter-spacing: 0.06em;
}

/* Flip arrows in RTL */
[dir="rtl"] .ico-arrow,
[dir="rtl"] .dest__cta::after,
[dir="rtl"] .nav__cta svg,
[dir="rtl"] .btn-submit svg { transform: scaleX(-1); }
[dir="rtl"] .nav__cta:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .btn-submit:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .dest__panel:hover .dest__cta::after { transform: scaleX(-1) translateX(4px); }

/* Hero topline — flip alignment naturally with flex */
[dir="rtl"] .hero__meta--r { text-align: left; align-items: flex-start; }
[dir="rtl"] .hero__meta--l { text-align: right; align-items: flex-end; }

/* Rail moves to the left in RTL */
[dir="rtl"] .rail { right: auto; left: 1.4rem; align-items: flex-start; }
[dir="rtl"] .rail__dots li > em { transform: translateX(-8px); }
[dir="rtl"] .rail__dots li:hover > em,
[dir="rtl"] .rail__dots li.is-active > em { transform: translateX(0); }
[dir="rtl"] .bigindex { left: auto; right: 1.4rem; }

/* Smooth color transition for theme swap */
body, .nav, .nav.is-stuck, .dest, .plan, .foot, .contact__form, .field input, .field select {
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ln__i { transform: translateY(0) !important; }
  .hero__title { transform: scale(1) !important; opacity: 1 !important; }
}
