/* ============================================================
   Dr. Ali Majki — Cosmetic Dentistry Consultant  ·  v2 (scenes)
   Premium dark editorial theme · RTL/LTR · GSAP + Lenis
   ============================================================ */
:root {
  /* Aline Dental brand palette - these three colours are the only approved ones */
  --green: #042520;
  --offwhite: #e5e5e5;
  --grey: #042520;
  --bg: #042520;
  --bg-2: #042520;
  --surface: #042520;
  --surface-2: #042520;
  --line: rgba(229, 229, 229, 0.16);
  --line-strong: rgba(229, 229, 229, 0.4);
  --accent: #e5e5e5;
  --accent-soft: rgba(229, 229, 229, 0.1);
  --text: #e5e5e5;
  --muted: rgba(229, 229, 229, 0.66);
  --wa: #e5e5e5;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Barlow for Latin; Arabic keeps Alexandria per the guidelines */
  --font-display:
    "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:
    "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --track-head: 0.2em; /* guideline: headline tracking */
  --gutter: clamp(20px, 5vw, 80px);
  --nav-h: 84px;
}
html[dir="rtl"] {
  --font-display: "Alexandria", "Alexandria Fallback", "Tajawal", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[dir="rtl"] body {
  font-weight: 400;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.16;
  margin: 0;
  letter-spacing: var(--track-head);
  text-transform: uppercase;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}
p {
  margin: 0;
}
/* text selection — brand-only, visible on both dark and white sections.
   Keep the selected text's own colour so it can never vanish even where a GPU-composited
   layer (will-change) skips painting the highlight box; add a strong brand highlight on top. */
::selection { background: rgba(229, 229, 229, 0.85); color: #042520; }
::-moz-selection { background: rgba(229, 229, 229, 0.85); color: #042520; }
:is(#about, #philosophy, #services, #gallery, #compare, #reviews, #locations, #faq, #journal, #book, .section.prose) ::selection { background: rgba(4, 37, 32, 0.85); color: #E5E5E5; }
:is(#about, #philosophy, #services, #gallery, #compare, #reviews, #locations, #faq, #journal, #book, .section.prose) ::-moz-selection { background: rgba(4, 37, 32, 0.85); color: #E5E5E5; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- utilities ---------- */
.container {
  width: min(1360px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
html[dir="rtl"] .eyebrow {
  letter-spacing: 0;
  font-size: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.h-xl {
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
}
.h-lg {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
}
.h-md {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}
.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  max-width: 60ch;
}
.gold {
  color: var(--accent);
}
.italic {
  font-style: normal;
  font-weight: 400;
  opacity: 0.62;
}
html[dir="rtl"] .italic {
  font-style: normal;
  opacity: 0.62;
}
.section {
  padding-block: clamp(84px, 11vw, 150px);
  position: relative;
}
.section-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(44px, 6vw, 80px);
  max-width: 900px;
}
.split-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.btn {
  --pad: 18px 34px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: var(--pad);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 0.5s var(--ease),
    background 0.4s,
    color 0.4s,
    border-color 0.4s;
  border: 1px solid var(--line-strong);
  color: var(--text);
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}
html[dir="rtl"] .btn {
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: var(--to, left);
  transition: transform 0.6s var(--ease);
}
html[dir="rtl"] .btn::after {
  --to: right;
}
.btn:hover {
  color: #042520;
  border-color: var(--accent);
}
.btn:hover::after {
  transform: scaleX(1);
}
.btn-gold {
  background: var(--accent);
  color: #042520;
  border-color: var(--accent);
}
.btn-gold::after {
  background: #042520;
}
.btn-gold:hover {
  color: var(--text);
  border-color: var(--accent);
}
.btn-wa {
  background: var(--accent);
  color: #042520;
  border-color: var(--accent);
}
.btn-wa::after {
  background: #042520;
}
.btn-wa:hover {
  color: var(--text);
  border-color: var(--accent);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
html[dir="rtl"] .arrow {
  transform: scaleX(-1);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
html[dir="rtl"] .btn:hover .arrow {
  transform: scaleX(-1) translateX(4px);
}

/* reveal primitives — cinematic blur-in like the reference */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(18px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition:
    opacity 1.1s var(--ease),
    transform 1.2s var(--ease),
    filter 1s var(--ease);
}
.js .split-lines .line-inner {
  display: block;
  opacity: 0;
  filter: blur(22px);
  transform: translateY(22px);
  will-change: transform, filter, opacity;
}
.js .split-lines .line-mask {
  display: block;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.reduce-motion [data-reveal],
.reduce-motion .split-lines .line-inner {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
html.lite [data-reveal],
html.lite .split-lines .line-inner {
  filter: none !important;
}
html.lite [data-reveal].is-in {
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease);
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--text);
}
.loader-inner {
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}
.loader-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  letter-spacing: 0.06em;
  overflow: hidden;
}
html[dir="rtl"] .loader-name {
  letter-spacing: 0;
}
.loader-name span {
  display: block;
  transform: translateY(110%);
}
.loader-sub {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
}
html[dir="rtl"] .loader-sub {
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
.loader-bar {
  width: min(260px, 60vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.loader-bar i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
html[dir="rtl"] .loader-bar i {
  transform-origin: right;
}
.loader-num {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- cursor ---------- */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 13000; /* above the welcome popup (12000) so the custom cursor stays visible over it on desktop */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
  /* difference blend keeps the cursor visible over any background (white or green) */
  mix-blend-mode: difference;
}
.cursor {
  width: 6px;
  height: 6px;
  background: #ffffff;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition:
    width 0.35s var(--ease),
    height 0.35s var(--ease),
    background 0.35s,
    border-color 0.35s;
}
.cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.45);
  border-color: transparent;
}
.cursor-ring.is-drag {
  width: 84px;
  height: 84px;
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
}
.cursor-ring.is-drag::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #042520;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
}
html[dir="rtl"] .cursor-ring.is-drag::after {
  letter-spacing: 0;
  font-size: 0.75rem;
}
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor,
  .has-cursor .cursor-ring {
    display: block;
  }
  .has-cursor {
    cursor: none;
  }
  .has-cursor a,
  .has-cursor button {
    cursor: none;
  }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    height 0.5s var(--ease),
    background 0.5s;
  transform: translateY(-100%);
  opacity: 0;
}
.nav.is-ready {
  transform: none;
  opacity: 1;
  transition:
    transform 1s var(--ease) 0.1s,
    opacity 0.6s 0.1s,
    height 0.5s var(--ease),
    background 0.5s;
}
.nav.is-scrolled {
  height: 66px;
  background: rgba(4, 37, 32, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(229, 229, 229, 0.40);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}
.brand-logo img {
  width: 200px;
  height: auto;
  display: block;
}
@media (max-width: 560px) {
  .brand-logo img {
    width: 150px;
  }
}
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  white-space: nowrap;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(229, 229, 229, 0.78);
  position: relative;
  padding-block: 6px;
  transition: color 0.3s;
}
html[dir="rtl"] .nav-links a {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: var(--to, left);
  transition: transform 0.5s var(--ease);
}
html[dir="rtl"] .nav-links a::after {
  --to: right;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: #042520;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition:
    border-color 0.3s,
    background 0.3s;
  white-space: nowrap;
}
.lang:hover {
  border-color: var(--accent);
  background: #042520;
}
html[dir="rtl"] .lang {
  letter-spacing: 0.06em;
}
.nav .btn {
  --pad: 13px 24px;
  font-size: 0.78rem;
}
.burger {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 6px 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  z-index: 960;
  -webkit-tap-highlight-color: transparent;
}
html[dir="rtl"] .burger {
  padding: 0 16px 0 6px;
  letter-spacing: 0;
  font-size: 0.85rem;
}
.burger-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}
.burger-ico span {
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #042520;
  transition: transform 0.5s var(--ease);
}
.burger-ico span:nth-child(1) {
  transform: translateY(-3px);
}
.burger-ico span:nth-child(2) {
  transform: translateY(3px);
}
.burger.is-open .burger-ico span:nth-child(1) {
  transform: rotate(45deg);
}
.burger.is-open .burger-ico span:nth-child(2) {
  transform: rotate(-45deg);
}
@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .nav .btn {
    display: none;
  }
}
@media (max-width: 560px) {
  .nav-inner {
    gap: 10px;
  }
  .brand {
    min-width: 0;
  }
  .nav-actions {
    gap: 8px;
    flex: none;
  }
  .burger-label {
    display: none;
  }
  .burger {
    padding: 0 5px;
    height: 42px;
  }
  .lang {
    padding: 0;
    width: 42px;
    height: 42px;
    justify-content: center;
    gap: 0;
    font-size: 0;
  }
  .lang svg {
    width: 16px;
    height: 16px;
  }
}

/* ---------- menu (modern glass panel) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: rgba(2, 22, 19, 0.72);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.6s var(--ease),
    visibility 0s 0.6s;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.menu-bg {
  display: none;
}
.menu-inner {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  align-content: start;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.menu-list li {
  border-bottom: 1px solid var(--line);
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 0.8s var(--ease),
    opacity 0.6s;
  transition-delay: calc(0.08s + var(--i, 0) * 0.05s);
}
.menu.is-open .menu-list li {
  transform: none;
  opacity: 1;
}
.menu-list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  transition:
    color 0.3s,
    padding 0.5s var(--ease);
}
html[dir="rtl"] .menu-list a {
  font-weight: 600;
}
.menu-list a:hover {
  color: var(--accent);
  padding-inline-start: 12px;
}
.menu-list a small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  width: 28px;
  flex: none;
}
html[dir="rtl"] .menu-list a small {
  letter-spacing: 0;
  font-size: 0.8rem;
}
.menu-list a .arrow {
  margin-inline-start: auto;
  opacity: 0.4;
}
.menu-side {
  display: grid;
  gap: 14px;
  align-content: start;
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 0.8s var(--ease) 0.3s,
    opacity 0.6s 0.3s;
}
.menu.is-open .menu-side {
  transform: none;
  opacity: 1;
}
.menu-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  display: grid;
  gap: 12px;
}
.menu-card h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
html[dir="rtl"] .menu-card h4 {
  letter-spacing: 0;
  font-size: 0.85rem;
}
.menu-card a.row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(229, 229, 229, 0.9);
}
.menu-card a.row svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}
.menu-card .socials {
  margin-top: 4px;
}
.menu-foot {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 10px;
}
html.menu-open .wa,
html.menu-open .to-top {
  display: none;
}
html.menu-open .nav {
  background: rgba(4, 37, 32, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
@media (max-width: 900px) {
  .menu-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: calc(var(--nav-h) + 8px);
  }
  .menu-list a {
    font-size: clamp(1.25rem, 5.4vw, 1.7rem);
    padding: 14px 4px;
  }
}

/* ---------- SCENES (sticky stages, scrubbed by scroll) ---------- */
.scene {
  position: relative;
}
.stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.scene-hero {
  height: 300svh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transform: scale(1.12);
  will-change: transform;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(345deg, #E5E5E5, transparent);
}
html[dir="rtl"] .hero-bg::after {
  background: linear-gradient(15deg, #E5E5E5, transparent);
}
@media (min-width: 900px) {
  .hero-bg {
    inset-inline-start: auto;
    width: 64%;
    mask-image: linear-gradient(to left, #000 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
  }
  html[dir="rtl"] .hero-bg {
    mask-image: linear-gradient(to right, #000 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
  }
  .hero-bg img {
    object-position: 50% 12%;
  }
}
@media (max-width: 699px) {
  .hero-bg img {
    object-position: left;
  }
  .hero-bg::after,
  html[dir="rtl"] .hero-bg::after {
    background: linear-gradient(45deg, #E5E5E5, transparent);
  }
}
.hero-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  display: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-content: end;
  gap: 30px;
  padding-top: calc(var(--nav-h) + 10px);
  padding-bottom: clamp(30px, 6vh, 70px);
  will-change: transform, opacity, filter;
}
.hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
}
@media (min-width: 900px) and (max-height: 920px) {
  .hero-copy {
    gap: 18px;
  }
  .hero-copy h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  }
  .hero-copy .lead {
    font-size: 0.98rem;
    max-width: 48ch;
  }
  .hero-foot .trust {
    display: none;
  }
}
html[dir="rtl"] .hero-copy h1 {
  max-width: 20ch;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: 1.22;
}
.hero-copy .lead {
  max-width: 52ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(10px, 3vh, 40px);
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(229, 229, 229, 0.8);
  background: var(--bg);
}
html[dir="rtl"] .chip {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.86rem;
}
.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
html[dir="rtl"] .scroll-hint {
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}
.scroll-hint i {
  width: 1px;
  height: 54px;
  background: rgba(229, 229, 229, 0.45);
  position: relative;
  overflow: hidden;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}
.ig-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  transition: border-color 0.3s;
}
html[dir="rtl"] .ig-badge {
  padding: 8px 8px 8px 14px;
}
.ig-badge:hover {
  border-color: var(--accent);
}
.ig-badge .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
}
.ig-badge b {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ig-badge small {
  display: block;
  color: var(--muted);
}
.verified {
  width: 14px;
  height: 14px;
  color: #e5e5e5;
}
@media (max-width: 699px) {
  .hero-foot .trust {
    display: none;
  }
  .hero-foot {
    margin-top: 0;
  }
  .hero-copy {
    gap: 16px;
    padding-bottom: 22px;
  }
  .hero-copy h1 {
    font-size: clamp(1.9rem, 8.6vw, 2.6rem);
  }
  html[dir="rtl"] .hero-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }
  .hero-copy .lead {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-copy .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }
  html[dir="rtl"] .hero-copy .eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0;
  }
  .hero-cta .btn {
    --pad: 14px 22px;
    font-size: 0.8rem;
  }
}
@media (max-width: 699px) and (max-height: 700px) {
  .hero-copy .eyebrow {
    display: none;
  }
  .hero-copy .lead {
    -webkit-line-clamp: 3;
  }
}
/* hero second act: reveal layer */
.hero-act2 {
  position: absolute;
  inset: 0;
  z-index: 3;
  clip-path: circle(0% at 50% 60%);
  will-change: clip-path;
  background: var(--bg);
}
.hero-act2 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}
.hero-act2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(360deg, #042520, #00000000);
}
.act2-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-content: center;
  gap: clamp(28px, 5vh, 60px);
  text-align: center;
  justify-items: center;
  padding-top: var(--nav-h);
}
.act2-inner h2 {
  font-size: clamp(2rem, 5.6vw, 5rem);
  max-width: 16ch;
}
html[dir="rtl"] .act2-inner h2 {
  max-width: 18ch;
}
.act2-inner .h-sub {
  color: var(--muted);
  max-width: 60ch;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
}
.act2-inner [data-a2] {
  will-change: transform, opacity, filter;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  width: min(1100px, 100%);
}
.stat {
  padding: clamp(18px, 2.6vw, 40px) clamp(12px, 2vw, 30px);
  border-inline-end: 1px solid var(--line);
  text-align: center;
}
.stat:last-child {
  border-inline-end: 0;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-num b {
  font-weight: 400;
  color: var(--accent);
  font-size: 0.55em;
}
.stat-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(2) {
    border-inline-end: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 22px;
  background: var(--bg-2);
  white-space: nowrap;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}
html[dir="rtl"] .marquee-track {
  animation-name: marquee-rtl;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 229, 229, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
html[dir="rtl"] .marquee span {
  -webkit-text-stroke: 0.6px rgba(229, 229, 229, 0.8);
}
.marquee span::after {
  content: "✦";
  font-size: 0.8em;
  color: var(--accent);
  -webkit-text-stroke: 0;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-rtl {
  to {
    transform: translateX(50%);
  }
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about-media {
  position: sticky;
  top: 110px;
}
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  isolation: isolate;
  clip-path: inset(12% 8% round 18px);
  will-change: clip-path;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(229, 229, 229, 0.06);
}
.frame-tag {
  position: absolute;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 2;
  display: grid;
  gap: 4px;
}
.frame-tag b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
}
.frame-tag small {
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
html[dir="rtl"] .frame-tag small {
  letter-spacing: 0;
  font-size: 0.8rem;
}
.about-body {
  display: grid;
  gap: 26px;
}
.about-body p {
  color: rgba(229, 229, 229, 0.82);
}
.creds {
  display: grid;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.cred {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cred-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none;
}
.cred-ico svg {
  width: 20px;
  height: 20px;
}
.cred b {
  display: block;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.cred span {
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media {
    position: relative;
    top: 0;
    max-width: 520px;
  }
}

/* ---------- philosophy (pinned horizontal) ---------- */
@media (min-width: 900px) {
}
@media (max-width: 900px) {
}

/* ---------- about: scroll-reading highlight ---------- */
.about-body p .rw {
  opacity: 0.68;
}
html.reduce-motion .about-body p .rw {
  opacity: 1;
}

/* ---------- services: stacked sticky cards ---------- */
.stack {
  display: grid;
  gap: clamp(18px, 3vh, 32px);
}
.svc-card {
  position: sticky;
  top: calc(var(--nav-h) + 12px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: min(62vh, 520px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: var(--surface);
  transform-origin: top center;
  will-change: transform, opacity;
  isolation: isolate;
}
.svc-card {
  z-index: 1;
}
.svc-card:nth-child(2) {
  top: calc(var(--nav-h) + 24px);
  z-index: 2;
}
.svc-card:nth-child(3) {
  top: calc(var(--nav-h) + 36px);
  z-index: 3;
}
.svc-card:nth-child(4) {
  top: calc(var(--nav-h) + 48px);
  z-index: 4;
}
.svc-card:nth-child(5) {
  top: calc(var(--nav-h) + 60px);
  z-index: 5;
}
.svc-body {
  background: var(--surface);
}
.svc-dim {
  position: absolute;
  inset: 0;
  background: #042520;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  will-change: opacity;
}
.svc-media {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.svc-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}
.svc-card:hover .svc-media img {
  transform: scale(1);
}
.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(229, 229, 229, 0.08); */
}
html[dir="rtl"] .svc-media::after {
  /* background: rgba(229, 229, 229, 0.08); */
}
.svc-body {
  padding: clamp(24px, 3.4vw, 54px);
  display: grid;
  align-content: center;
  gap: 16px;
  position: relative;
}
.svc-body .svc-n {
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}
.svc-body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  transition: color 0.3s;
}
.svc-body p {
  color: var(--muted);
  max-width: 52ch;
}
.svc-body .svc-arrow {
  margin-top: 8px;
}
.svc-card:hover .svc-body h3 {
  color: var(--accent);
}
.svc-card:hover .svc-arrow {
  background: var(--accent);
  color: #042520;
  border-color: var(--accent);
  transform: rotate(-35deg);
}
html[dir="rtl"] .svc-card:hover .svc-arrow {
  transform: rotate(35deg);
}
@media (max-width: 820px) {
  .svc-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .svc-media {
    min-height: 0;
    aspect-ratio: 16/8;
  }
  .svc-media::after,
  html[dir="rtl"] .svc-media::after {
    /* background: rgba(229, 229, 229, 0.08); */
  }
}

/* ---------- philosophy: deck of cards ---------- */
.scene-deck {
  height: 380svh;
  background: var(--bg-2);
}
@media (max-width: 900px) {
  .scene-deck {
    height: 640svh;
  }
}
.deck-stage {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: calc(var(--nav-h) + 10px);
  padding-bottom: clamp(16px, 3vh, 30px);
  gap: clamp(10px, 2vh, 24px);
}
.deck-head {
  display: grid;
  gap: 10px;
  max-width: 800px;
}
.deck-head h2 {
  font-size: clamp(1.7rem, 3.8vw, 3.4rem);
}
.deck-pile {
  position: relative;
  min-height: 0;
}
.deck-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(760px, 100%);
  height: min(60vh, 440px);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 3.4vw, 52px);
  display: grid;
  align-content: space-between;
  gap: 24px;
  background: var(--surface);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity;
  overflow: hidden;
  transform-origin: 50% 100%;
}
.deck-card::before {
  content: attr(data-n);
  position: absolute;
  top: -8px;
  inset-inline-end: 18px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 229, 229, 0.25);
  line-height: 1;
}
.deck-card.is-accent {
  background: var(--surface-2);
  border-color: var(--line-strong);
}
.deck-card .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.deck-card .ico svg {
  width: 24px;
  height: 24px;
}
.deck-card h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  max-width: 18ch;
}
.deck-card p {
  color: var(--muted);
  max-width: 52ch;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  margin-top: 12px;
}
.deck-foot {
  display: flex;
  align-items: center;
  gap: 18px;
}
.deck-progress {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
}
.deck-progress i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: var(--to, left);
}
html[dir="rtl"] .deck-progress i {
  --to: right;
}
.deck-dots {
  display: flex;
  gap: 8px;
}
.deck-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  transition: background 0.3s;
}
.deck-dots i.is-on {
  background: var(--accent);
}
@media (max-height: 760px) {
  .deck-card {
    height: min(58vh, 380px);
  }
  .deck-card p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---------- media: expanding frame ---------- */
.scene-media {
  height: 260svh;
}
.expand-stage {
  display: grid;
}
.expand-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: clip-path;
  isolation: isolate;
}
.expand-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.expand-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(229, 229, 229, 0.05);
}
.expand-head {
  position: absolute;
  inset-inline: 0;
  top: calc(var(--nav-h) + 18px);
  z-index: 3;
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 0 var(--gutter);
}
.expand-head h2 {
  font-size: clamp(1.7rem, 3.8vw, 3.4rem);
}
.expand-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 0 clamp(28px, 6vh, 70px);
  display: grid;
  gap: 14px;
}
.expand-cap small {
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
html[dir="rtl"] .expand-cap small {
  letter-spacing: 0;
  font-size: 0.85rem;
}
.expand-cap h3 {
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  max-width: 20ch;
}
.expand-cap .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}
.media-after {
  padding-top: clamp(40px, 6vw, 80px);
}
.media-after .media-grid {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .media-after .media-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- media: multi-speed parallax ---------- */
.media-card img {
  will-change: transform;
}

/* ---------- services (legacy list) ---------- */
.svc {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.5s var(--ease);
}
.svc:hover {
  padding-inline-start: 12px;
}
.svc-n {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.1em;
}
.svc h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  transition: color 0.3s;
}
.svc:hover h3 {
  color: var(--accent);
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.svc-tags span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(229, 229, 229, 0.7);
}
html[dir="rtl"] .svc-tags span {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.82rem;
}
.svc-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background 0.4s,
    border-color 0.4s,
    transform 0.5s var(--ease);
}
.svc-arrow svg {
  width: 18px;
  height: 18px;
}
html[dir="rtl"] .svc-arrow svg {
  transform: scaleX(-1);
}
.svc:hover .svc-arrow {
  background: var(--accent);
  color: #042520;
  border-color: var(--accent);
  transform: rotate(-35deg);
}
html[dir="rtl"] .svc:hover .svc-arrow {
  transform: rotate(35deg);
}
.svc-float {
  position: fixed;
  width: 300px;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.4s;
  will-change: transform;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.svc-float img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}
.svc-float img.is-on {
  opacity: 1;
}
.svc-float.is-on {
  opacity: 1;
}
.svc-more {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.svc-more span {
  padding: 8px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
}
@media (max-width: 760px) {
  .svc {
    grid-template-columns: 1fr auto;
  }
  .svc-n {
    grid-column: 1/-1;
    font-size: 0.85rem;
  }
  .svc-float {
    display: none;
  }
}

/* ---------- gallery: film strip scene + before/after ---------- */
.scene-film {
  height: 420svh;
  background: var(--bg-2);
}
.film-stage {
  display: grid;
  align-content: center;
  gap: clamp(18px, 3vh, 40px);
}
.film-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
}
.film-head {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 0 var(--gutter);
}
.film {
  position: relative;
  padding: 18px 0;
  background: #042520;
  border-block: 1px solid rgba(229, 229, 229, 0.25);
}
.film::before,
.film::after {
  display: none;
}
.film::before {
  top: 4px;
}
.film::after {
  bottom: 4px;
}
.film-track {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  will-change: transform;
  padding-inline: var(--gutter);
}
.film-track figure {
  margin: 0;
  flex: 0 0 clamp(300px, 40vw, 640px);
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(229, 229, 229, 0.25);
  position: relative;
}
.film-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-track figcaption {
  position: absolute;
  bottom: 8px;
  inset-inline-start: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  background: var(--bg-2);
  padding: 4px 8px;
  border-radius: 4px;
}
html[dir="rtl"] .film-track figcaption {
  letter-spacing: 0;
  font-size: 0.75rem;
}
.film-counter {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
}
.gallery {
  background: var(--bg-2);
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 1000px) {
  .ba-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.ba {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #042520;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  isolation: isolate;
  border: 1px solid var(--line);
  touch-action: pan-y;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba .after {
  clip-path: inset(0 0 0 var(--x, 50%));
}
html[dir="rtl"] .ba .after {
  clip-path: inset(0 var(--x, 50%) 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x, 50%);
  width: 44px;
  margin-left: -22px;
  cursor: ew-resize;
  touch-action: none;
  z-index: 3;
}
html[dir="rtl"] .ba-handle {
  left: auto;
  right: var(--x, 50%);
  margin-left: 0;
  margin-right: -22px;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(229, 229, 229, 0.6);
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg);
  transform: translate(-50%, -50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5E5E5' stroke-width='1.6'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E");
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.ba-tag {
  position: absolute;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--bg);
  border: 1px solid var(--line);
  z-index: 2;
  pointer-events: none;
}
html[dir="rtl"] .ba-tag {
  letter-spacing: 0;
  font-size: 0.8rem;
}
.ba-tag.b {
  inset-inline-start: 14px;
}
.ba-tag.a {
  inset-inline-end: 14px;
  color: var(--accent);
}
.ba-hint {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;
  transition: opacity 0.4s;
}
html[dir="rtl"] .ba-hint {
  letter-spacing: 0;
  font-size: 0.78rem;
}
.ba.is-touched .ba-hint {
  opacity: 0;
}
.gal-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- reviews ---------- */
.reviews-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 60px);
}
.g-score {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.g-score .big {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
}
.stars svg {
  width: 16px;
  height: 16px;
}
.g-score small {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
}
.rv-track {
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.rv-track::-webkit-scrollbar {
  display: none;
}
.rv-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.rv {
  flex: 0 0 min(420px, 84vw);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 36px);
  display: grid;
  gap: 18px;
  align-content: start;
  background: var(--surface);
  position: relative;
  transition: border-color 0.4s;
}
.rv:hover {
  border-color: var(--line-strong);
}
.rv q {
  quotes: none;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(229, 229, 229, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.rv-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
}
.rv-who b {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
}
.rv-who small {
  color: var(--muted);
  font-size: 0.75rem;
  display: flex;
  gap: 6px;
  align-items: center;
}
.rv-who small svg {
  width: 12px;
  height: 12px;
}
.rv-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
}
.rv-nav button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background 0.3s,
    color 0.3s;
}
.rv-nav button:hover {
  background: var(--accent);
  color: #042520;
}
.rv-nav svg {
  width: 18px;
  height: 18px;
}
html[dir="rtl"] .rv-nav svg {
  transform: scaleX(-1);
}
.rv-nav .flip {
  transform: scaleX(-1);
}
html[dir="rtl"] .rv-nav .flip {
  transform: none;
}
@media (max-width: 760px) {
  .reviews-head {
    grid-template-columns: 1fr;
  }
}

/* ---------- reviews: cards fly in from the side and stack ---------- */
.scene-rv {
  height: 640svh;
}
@media (max-width: 900px) {
  .scene-rv {
    height: 820svh;
  }
}
.rv-stage {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: calc(var(--nav-h) + 10px);
  padding-bottom: clamp(16px, 3vh, 30px);
  gap: clamp(10px, 2vh, 24px);
}
.rv-stage .reviews-head {
  margin-bottom: 0;
}
.rv-stage .reviews-head h2 {
  font-size: clamp(1.7rem, 3.8vw, 3.4rem);
}
.rv-pile {
  position: relative;
  min-height: 0;
}
.rv-pile .rv {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(640px, 100%);
  height: min(56vh, 400px);
  will-change: transform, opacity;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  background: var(--surface);
}
.rv-pile .rv q {
  -webkit-line-clamp: 6;
}
.rv-foot {
  display: flex;
  align-items: center;
  gap: 18px;
}
.film-counter,
.rv-counter {
  direction: ltr;
  unicode-bidi: isolate;
}
.rv-counter {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
}
.rv-progress {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
}
.rv-progress i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: var(--to, left);
}
html[dir="rtl"] .rv-progress i {
  --to: right;
}
@media (max-height: 760px) {
  .rv-pile .rv {
    height: min(54vh, 340px);
  }
  .rv-pile .rv q {
    -webkit-line-clamp: 4;
  }
}
@media (max-width: 760px) {
  .rv-stage .reviews-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .g-score {
    padding: 10px 16px;
  }
  .g-score .big {
    font-size: 1.8rem;
  }
}

/* ---------- tourism scene ---------- */
.scene-tour {
  height: 300svh;
}
.tour-stage {
  color: var(--text);
}
.tour-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tour-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  will-change: transform;
}
.tour-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(229, 229, 229, 0.14);
}
.tour-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: calc(var(--nav-h) + 10px);
  padding-bottom: clamp(20px, 4vh, 40px);
  gap: clamp(14px, 3vh, 30px);
}
.tour-head {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.tour-head h2 {
  font-size: clamp(1.7rem, 4vw, 3.6rem);
}
.tour-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 90px);
  align-items: center;
  min-height: 0;
}
.tour-steps {
  position: relative;
  display: grid;
  gap: 0;
  min-height: 220px;
}
.tour-step {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 12px;
  opacity: 0;
  will-change: opacity, transform, filter;
}
.tour-step .n {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 229, 229, 0.55);
}
.tour-step b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  display: block;
}
.tour-step p {
  color: rgba(229, 229, 229, 0.8);
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}
.tour-route {
  position: relative;
  height: clamp(180px, 32vh, 360px);
  display: none;
}
.tour-route svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tour-route .path {
  fill: none;
  stroke: rgba(229, 229, 229, 0.3);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}
.tour-route .path-on {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}
.tour-route .plane {
  color: var(--accent);
}
.tour-route .city {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  fill: var(--muted);
  text-transform: uppercase;
}
.tour-route .city.from {
  text-anchor: start;
}
.tour-route .city.to {
  text-anchor: end;
}
html[dir="rtl"] .tour-route .city.from {
  text-anchor: end;
}
html[dir="rtl"] .tour-route .city.to {
  text-anchor: start;
}
@media (max-height: 980px) {
  .tour-route {
    height: clamp(120px, 20vh, 200px);
  }
  .tour-card ul {
    display: none !important;
  }
  .tour-card {
    padding: 16px 20px;
  }
}
html[dir="rtl"] .tour-route .city {
  letter-spacing: 0;
  font-size: 13px;
}
.tour-aside {
  display: grid;
  gap: 14px;
}
.tour-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 32px);
  background: var(--bg);
  display: grid;
  gap: 12px;
}
.tour-card .btn {
  display: none;
}
.tour-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.tour-card li {
  display: flex;
  gap: 12px;
  align-items: start;
  color: rgba(229, 229, 229, 0.85);
  font-size: 0.92rem;
}
.tour-card li::before {
  content: "✦";
  color: var(--accent);
  flex: none;
  font-size: 0.7rem;
  margin-top: 0.5em;
}
.tour-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-inline-end: 90px;
}
.tour-progress {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
}
.tour-progress i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: var(--to, left);
}
html[dir="rtl"] .tour-progress i {
  --to: right;
}
.tour-dots {
  display: flex;
  gap: 8px;
}
.tour-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  transition: background 0.3s;
}
.tour-dots i.is-on {
  background: var(--accent);
}
@media (min-width: 900px) {
  .tour-route {
    display: block;
  }
}
@media (max-width: 900px) {
  .tour-body {
    grid-template-columns: 1fr;
    align-content: center;
  }
  .tour-aside {
    display: none;
  }
  .tour-step p {
    max-width: none;
  }
}

/* ---------- media ---------- */
.media-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(16px, 2vw, 28px);
}
.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  isolation: isolate;
  display: block;
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
  filter: saturate(0.85);
}
.media-card:hover img {
  transform: scale(1);
}
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(229, 229, 229, 0.08);
}
.media-cap {
  position: absolute;
  bottom: 22px;
  inset-inline: 22px;
  z-index: 2;
  display: grid;
  gap: 6px;
}
.media-cap b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
}
.media-cap small {
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.66rem;
}
html[dir="rtl"] .media-cap small {
  letter-spacing: 0;
  font-size: 0.8rem;
}
.media-side {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.media-side .media-card {
  aspect-ratio: 16/9;
}
.ig-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 34px);
  display: grid;
  gap: 14px;
  background: var(--surface-2);
  align-content: center;
}
.ig-card .row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ig-card .av {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
}
.ig-card b {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ig-card small {
  color: var(--muted);
  display: block;
}
.ig-nums {
  display: flex;
  gap: 26px;
}
.ig-nums div {
  display: grid;
}
.ig-nums strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}
.ig-nums span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
html[dir="rtl"] .ig-nums span {
  letter-spacing: 0;
  font-size: 0.82rem;
}
@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- locations ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
}
.loc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 44px);
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.4s;
}
.loc:hover {
  border-color: var(--line-strong);
}
.loc::before {
  content: attr(data-flag);
  position: absolute;
  top: 22px;
  inset-inline-end: 22px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--accent);
}
.loc-city {
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
html[dir="rtl"] .loc-city {
  letter-spacing: 0;
  font-size: 0.85rem;
}
.loc h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}
.loc p {
  color: var(--muted);
  font-size: 0.96rem;
}
.loc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.loc-row .btn {
  --pad: 12px 20px;
  font-size: 0.74rem;
}
.loc-meta {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(229, 229, 229, 0.85);
}
.loc-meta div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.loc-meta svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}
.insurance {
  margin-top: clamp(20px, 3vw, 34px);
  padding: 20px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  align-items: center;
  color: rgba(229, 229, 229, 0.85);
  font-size: 0.95rem;
}
.insurance svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
}
@media (max-width: 760px) {
  .loc-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- faq ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.faq-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 20px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  text-align: start;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 500;
  transition: color 0.3s;
}
html[dir="rtl"] .faq-q {
  font-weight: 600;
}
.faq-q:hover,
.faq-item.is-open .faq-q {
  color: var(--accent);
}
.faq-q i {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
  transition:
    transform 0.5s var(--ease),
    background 0.3s;
}
.faq-q i::before,
.faq-q i::after {
  content: "";
  position: absolute;
  background: currentColor;
  width: 12px;
  height: 1px;
}
.faq-q i::after {
  transform: rotate(90deg);
  transition: transform 0.4s var(--ease);
}
.faq-item.is-open .faq-q i {
  background: var(--accent-soft);
}
.faq-item.is-open .faq-q i::after {
  transform: rotate(0);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  padding-bottom: 24px;
  color: var(--muted);
  max-width: 62ch;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-side {
    position: relative;
    top: 0;
  }
}

/* ---------- journal ---------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.post {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: border-color 0.4s;
  background: var(--surface);
}
.post:hover {
  border-color: var(--line-strong);
}
.post .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
  filter: saturate(0.8);
}
.post:hover img {
  transform: scale(1);
}
.post-body {
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.post-body small {
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.66rem;
}
html[dir="rtl"] .post-body small {
  letter-spacing: 0;
  font-size: 0.8rem;
}
.post-body b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.35;
}
@media (max-width: 1000px) {
  .journal-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- booking ---------- */
.book-wrap {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
}
.book-info {
  padding: clamp(30px, 4vw, 60px);
  display: grid;
  gap: 26px;
  align-content: start;
  position: relative;
  overflow: hidden;
}
.book-info::before {
  display: none;
}
.book-info > * {
  position: relative;
}
.contact-list {
  display: grid;
  gap: 14px;
}
.contact-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.contact-list a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.contact-list .ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(229, 229, 229, 0.40);
  color: var(--accent);
  flex: none;
}
.contact-list .ico svg {
  width: 20px;
  height: 20px;
}
.contact-list b {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-list small {
  color: var(--muted);
  font-size: 0.78rem;
}
.book-form {
  padding: clamp(30px, 4vw, 60px);
  border-inline-start: 1px solid var(--line);
  display: grid;
  gap: 18px;
  align-content: start;
  background: var(--bg);
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
html[dir="rtl"] .field label {
  letter-spacing: 0;
  font-size: 0.85rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5E5E5' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-inline-end: 40px;
}
html[dir="rtl"] .field select {
  background-position: left 14px center;
}
.field select option {
  background: #042520;
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(229, 229, 229, 0.40);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note {
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  gap: 8px;
  align-items: center;
}
.form-note svg {
  width: 14px;
  height: 14px;
  color: var(--wa);
}
@media (max-width: 900px) {
  .book-wrap {
    grid-template-columns: 1fr;
  }
  .book-form {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(50px, 6vw, 80px) 0 30px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h3 {
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 500;
}
html[dir="rtl"] .footer h3 {
  letter-spacing: 0;
  font-size: 0.85rem;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer li a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer li a:hover {
  color: var(--text);
}
.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.92rem;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    border-color 0.3s,
    background 0.3s,
    color 0.3s;
}
.socials a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #042520;
}
.socials svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-bottom a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  /* keep two columns on phones so the footer stays short (was 1 column = very tall) */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    margin-bottom: 26px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand p {
    display: none;
  }
  .footer ul {
    gap: 8px;
  }
  .footer li a {
    font-size: 0.88rem;
  }
  .footer h3 {
    margin-bottom: 12px;
  }
}

/* reading pages (articles, blog, inner text pages): native scroll, no reveal-hiding — people read here */
html.reading {
  scroll-behavior: auto;
}
html.reading [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* ---------- WhatsApp widget ---------- */
.wa {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 940;
  width: 60px;
  height: 60px;
}
.wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #042520;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.5s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wa-btn:hover {
  transform: scale(1.06);
}
.wa-btn svg {
  width: 30px;
  height: 30px;
  transition:
    opacity 0.3s,
    transform 0.4s;
  grid-area: 1/1;
}
.wa-btn .ico-x {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
  width: 22px;
  height: 22px;
}
.wa-btn.is-open .ico-wa {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.wa-btn.is-open .ico-x {
  opacity: 1;
  transform: none;
}
.wa-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(229, 229, 229, 0.6);
  animation: wapulse 2.4s ease-out infinite;
}
.wa-btn.is-open::before {
  animation: none;
  opacity: 0;
}
@keyframes wapulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.wa-dot::after {
  content: "1";
}
.wa-dot {
  position: absolute;
  top: 2px;
  inset-inline-end: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e53935;
  color: #e5e5e5;
  border: 2px solid var(--accent);
  font-size: 0.55rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.wa-box {
  position: absolute;
  bottom: calc(100% + 14px);
  inset-inline-end: 0;
  width: min(360px, calc(100vw - 44px));
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform-origin: bottom right;
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s var(--ease),
    opacity 0.35s,
    visibility 0s 0.5s;
  visibility: hidden;
}
html[dir="rtl"] .wa-box {
  transform-origin: bottom left;
}
.wa-box.is-open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    transform 0.5s var(--ease),
    opacity 0.35s;
}
.wa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface-2);
  color: var(--text);
}
.wa-head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.wa-head b {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
}
.wa-head small {
  opacity: 0.85;
  font-size: 0.75rem;
  display: flex;
  gap: 6px;
  align-items: center;
}
.wa-head small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.wa-close {
  margin-inline-start: auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  flex: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wa-close svg {
  width: 18px;
  height: 18px;
}
.wa-body {
  padding: 16px;
  display: grid;
  gap: 12px;
  background: var(--bg-2);
}
.wa-msg {
  background: var(--surface);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  border-start-start-radius: 2px;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 92%;
  position: relative;
}
.wa-msg time {
  display: block;
  text-align: end;
  font-size: 0.66rem;
  opacity: 0.6;
  margin-top: 4px;
}
.wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wa-chips button {
  padding: 8px 12px;
  border: 1px solid rgba(229, 229, 229, 0.45);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.8rem;
  transition:
    background 0.3s,
    color 0.3s;
  touch-action: manipulation;
}
.wa-chips button:hover,
.wa-chips button.is-on {
  background: var(--accent);
  color: #042520;
}
.wa-input {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.wa-input input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.wa-input input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(229, 229, 229, 0.4);
}
.wa-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #042520;
  display: grid;
  place-items: center;
  flex: none;
  touch-action: manipulation;
}
.wa-send svg {
  width: 20px;
  height: 20px;
}
html[dir="rtl"] .wa-send svg {
  transform: scaleX(-1);
}
@media (max-width: 600px) {
  .wa {
    inset-inline-end: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .wa-btn {
    width: 56px;
    height: 56px;
  }
}

/* ---------- misc ---------- */
/* to-top: scroll-progress ring with a launching arrow */
.to-top {
  position: fixed;
  inset-inline-start: 22px;
  bottom: 22px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(24px) scale(0.8);
  transition:
    opacity 0.5s,
    transform 0.7s var(--ease);
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
.to-top.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.to-top .track {
  fill: rgba(4, 37, 32, 0.7);
  stroke: rgba(229, 229, 229, 0.25);
  stroke-width: 1.5;
}
.to-top .prog {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 182.2;
  stroke-dashoffset: 182.2;
}
.to-top .orb {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s var(--ease);
}
.to-top .rocket {
  position: absolute;
  color: #042520;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  transition: transform 0.55s var(--ease);
}
.to-top .rocket svg {
  width: 16px;
  height: 16px;
}
.to-top .ghost {
  transform: translateY(160%);
}
.to-top:hover .orb {
  transform: scale(1.08);
}
.to-top:hover .rocket {
  transform: translateY(-160%);
}
.to-top:hover .ghost {
  transform: translateY(0);
}
.to-top .lbl {
  position: absolute;
  bottom: -18px;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
html[dir="rtl"] .to-top .lbl {
  letter-spacing: 0;
  font-size: 0.7rem;
}
.to-top:hover .lbl {
  opacity: 1;
  transform: none;
}
.to-top.is-launch .orb {
  animation: launch 0.9s var(--ease) forwards;
}
.to-top.is-launch .ring {
  animation: ringspin 0.9s ease-in forwards;
}
@keyframes launch {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(6px) scale(0.92);
  }
  100% {
    transform: translateY(-90px) scale(0.5);
    opacity: 0;
  }
}
@keyframes ringspin {
  to {
    transform: rotate(270deg);
    opacity: 0;
  }
}
@media (max-width: 600px) {
  .to-top {
    inset-inline-start: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .to-top .orb {
    width: 34px;
    height: 34px;
  }
  .to-top .lbl {
    display: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- lite (touch) performance mode ---------- */
html.lite body::before {
  display: none;
}
html.lite .nav.is-scrolled,
html.lite.menu-open .nav {
  background: rgba(4, 37, 32, 0.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html.lite .burger {
  background: var(--surface);
}
html.lite .menu {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(2, 22, 19, 0.97);
}
html.lite .stats {
  background: var(--surface);
}
html.lite .ba-tag,
html.lite .ba-hint {
  background: var(--bg);
}
html.lite .ba-handle::after {
  background-color: var(--bg);
}
html.lite .tour-card {
  background: var(--bg);
}
html.lite .marquee {
  mask-image: none;
  -webkit-mask-image: none;
}
html.lite .svc-media img,
html.lite .media-card img,
html.lite .post img {
  filter: none;
}
html.lite .deck-card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
html.lite .rv-pile .rv {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
html.lite .hero-glow {
  display: none;
}

/* deferred images: keep the card dark (not blank) until the image arrives, then fade in */
.ba img[data-src],
.film-track img[data-src] {
  opacity: 0;
}
.ba img,
.film-track img {
  transition: opacity 0.45s ease;
}
.ba {
  background: #042520;
}
.film-track figure {
  background: #042520;
}
html.lite .js [data-reveal].is-in {
  transition:
    opacity 0.6s var(--ease),
    transform 0.7s var(--ease);
}

/* touch: cards never start invisible (fast flicks landed on blank areas); only headings keep the reveal */
html.lite .ba[data-reveal],
html.lite .post[data-reveal],
html.lite .loc[data-reveal],
html.lite .faq-item[data-reveal],
html.lite .insurance[data-reveal],
html.lite .book-wrap[data-reveal],
html.lite .cred[data-reveal],
html.lite .media-card[data-reveal],
html.lite .ig-card[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}
html.lite [data-reveal].is-in {
  transition-duration: 0.35s;
}

/* ---------- before/after: slow zone (content moves at 40% of scroll speed) ---------- */
.scene-ba {
  height: auto;
}
.ba-stage {
  height: auto;
  min-height: 0;
  position: relative;
  overflow: visible;
}
.ba-track {
  padding-top: clamp(84px, 11vw, 150px);
  padding-bottom: clamp(84px, 11vw, 150px);
  will-change: transform;
}
html.js-scenes .scene-ba {
  height: var(--ba-scene, auto);
}
html.js-scenes .ba-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
html.js-scenes .ba-track {
  padding-top: calc(var(--nav-h) + 16px);
}

/* ---------- Barlow headline fit (LTR only) ----------
   UPPERCASE + .2em tracking makes every Latin line ~30% wider, which pushed the display
   headlines onto extra lines and broke the fixed-height scenes. These sizes and measures
   restore the original line counts. The brand rule itself is unchanged - still uppercase,
   still .2em. Arabic keeps tracking 0 and no uppercase, so it is not in these selectors. */
html:not([dir="rtl"]) .hero-copy h1 {
  max-width: 22ch;
  font-size: clamp(1.7rem, 3vw, 2.9rem);
}
@media (min-width: 900px) and (max-height: 920px) {
  html:not([dir="rtl"]) .hero-copy h1 {
    font-size: clamp(1.55rem, 2.75vw, 2.6rem);
  }
}
html:not([dir="rtl"]) .act2-inner h2 {
  max-width: 22ch;
  font-size: clamp(1.5rem, 3.3vw, 2.9rem);
}
html:not([dir="rtl"]) .tour-head h2 {
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
}
html:not([dir="rtl"]) .deck-head h2,
html:not([dir="rtl"]) .expand-head h2,
html:not([dir="rtl"]) .film-head h2,
html:not([dir="rtl"]) .rv-stage .reviews-head h2 {
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
}
html:not([dir="rtl"]) .deck-card h3 {
  max-width: 24ch;
  font-size: clamp(1.15rem, 1.95vw, 1.75rem);
}
html:not([dir="rtl"]) .expand-cap h3 {
  max-width: 26ch;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
}
html:not([dir="rtl"]) .svc-body h3,
html:not([dir="rtl"]) .svc h3 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}
html:not([dir="rtl"]) .loc h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
}
html:not([dir="rtl"]) .faq-q {
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
}
/* tracking puts a trailing gap after the last letter, which pulls centred lines
   off-centre by half of it; pull the box back by the same amount */
html:not([dir="rtl"]) .act2-inner h2,
html:not([dir="rtl"]) .film-head h2,
html:not([dir="rtl"]) .expand-head h2,
html:not([dir="rtl"]) .deck-head h2 {
  margin-inline-end: calc(var(--track-head) * -1);
}

/* ---------- Barlow headline fit: phones (LTR only) ----------
   One long uppercase word with .2em tracking ("MULTIDISCIPLINARY") was wider than the phone
   column and stretched the section grid 44px past the viewport. Scale the display sizes
   with the viewport on phones, and let a word break only if it truly cannot fit. */
html:not([dir="rtl"]) h1,
html:not([dir="rtl"]) h2,
html:not([dir="rtl"]) h3 {
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  html:not([dir="rtl"]) .h-xl {
    font-size: clamp(1.6rem, 7.4vw, 2.6rem);
  }
  html:not([dir="rtl"]) .h-lg {
    font-size: clamp(1.35rem, 6.4vw, 2.1rem);
  }
  html:not([dir="rtl"]) .h-md {
    font-size: clamp(1.1rem, 4.8vw, 1.5rem);
  }
}

/* ---------- Desktop scale + hero height tiers (LTR) ----------
   Section headings in the display classes were still oversized on desktop after the
   tracking; and the hero copy must clear the nav on laptop viewports. */
html:not([dir="rtl"]) .h-xl {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
}
html:not([dir="rtl"]) .h-lg {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}
html:not([dir="rtl"]) .h-md {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}
@media (min-width: 900px) and (max-height: 820px) {
  .hero-copy {
    gap: 12px;
    padding-top: calc(var(--nav-h) + 4px);
    padding-bottom: 22px;
  }
  html:not([dir="rtl"]) .hero-copy h1 {
    font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  }
  html[dir="rtl"] .hero-copy h1 {
    font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  }
  .hero-copy .lead {
    font-size: 0.95rem;
    max-width: 46ch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-foot {
    margin-top: 0;
  }
}
@media (min-width: 900px) and (max-height: 700px) {
  .hero-copy .eyebrow {
    display: none;
  }
  .hero-copy .lead {
    -webkit-line-clamp: 2;
  }
  .hero-foot .ig-badge {
    display: none;
  }
}
@media (max-width: 560px) {
  html:not([dir="rtl"]) .h-xl {
    font-size: clamp(1.6rem, 7.4vw, 2.6rem);
  }
  html:not([dir="rtl"]) .h-lg {
    font-size: clamp(1.35rem, 6.4vw, 2.1rem);
  }
  html:not([dir="rtl"]) .h-md {
    font-size: clamp(1.1rem, 4.8vw, 1.5rem);
  }
}

/* ---------- Type on solid ALINE GREEN blocks (brand guide 3.4) ----------
   No veils over photography: wherever type sits on a photo it now sits in a solid green
   block, and on phones the hero portrait is cropped to the top third with a hard edge. */
.a2-block {
  display: grid;
  gap: clamp(14px, 2.5vh, 26px);
  justify-items: center;
  max-width: min(920px, 100%);
}
.tour-head {
  background: var(--bg);
  padding: clamp(18px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px);
  border-radius: var(--radius);
}
.tour-steps {
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 30px);
}
.tour-step {
  inset: clamp(18px, 2.4vw, 30px);
}
.expand-head {
  inset-inline: 0;
  width: fit-content;
  max-width: calc(100% - var(--gutter) * 2);
  margin-inline: auto;
  padding: 16px 28px;
  background: var(--bg);
  border-radius: var(--radius);
}
.expand-cap {
  inset-inline-start: var(--gutter);
  inset-inline-end: auto;
  width: fit-content;
  max-width: calc(100% - var(--gutter) * 2);
  padding: clamp(18px, 2.4vw, 30px);
  margin-bottom: clamp(28px, 6vh, 70px);
  background: var(--bg);
  border-radius: var(--radius);
}
.media-cap {
  inset-inline: 14px;
  bottom: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 12px;
}
.frame-tag {
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 12px;
}
/* ---------- Grid tracks can never grow past their container ----------
   A single long tracked word (or an un-wrappable split line) used to widen a scene's
   implicit grid column beyond the viewport (measured: .tour-inner column 409px in a 350px
   container on a 390px phone). minmax(0,1fr) pins every single-column scene grid to its
   container, and min-width:0 lets the heads shrink; long words then wrap via
   overflow-wrap:anywhere instead of pushing the layout sideways. */
.tour-inner,
.deck-stage,
.rv-stage,
.film-stage,
.act2-inner,
.section-head,
.tour-head,
.deck-head,
.film-head,
.expand-head,
.a2-block {
  grid-template-columns: minmax(0, 1fr);
}
.tour-head,
.deck-head,
.film-head,
.expand-head,
.expand-cap,
.a2-block,
.section-head,
.hero-copy {
  min-width: 0;
  max-width: 100%;
}
.tour-head {
  max-width: min(820px, 100%);
}
.split-lines .line-inner {
  white-space: normal;
}

/* ---------- Phone hero: dark type over the light-veiled portrait (user choice) ---------- */
@media (max-width:699px){
  /* the veil is now off-white -> transparent, so the type on the phone is green (the variant approved earlier) */
  .hero-copy .eyebrow,.hero-copy h1,.hero-copy .lead,.hero-copy .scroll-hint{color:#042520}
  .hero-copy .eyebrow::before{background:linear-gradient(90deg, #042520, transparent)}
  .hero-copy .italic{opacity:.72}
  .hero-cta .btn:not(.btn-wa){color:#042520;border-color:#042520}
  .hero-cta .btn:not(.btn-wa)::after{background:#E5E5E5}
  .hero-cta .btn:not(.btn-wa):hover{color:#042520}
  .hero-cta .btn-wa{background:#042520;color:#E5E5E5;border-color:#042520}
  .hero-cta .btn-wa::after{background:#E5E5E5}
  .hero-cta .btn-wa:hover{color:#042520}
}

/* ---------- Phone menu: fits an 844px screen and scrolls natively if it does not ---------- */
.menu{overscroll-behavior:contain;touch-action:pan-y}
@media (max-width:900px){
  .menu-inner{padding-top:calc(var(--nav-h) + 2px);padding-bottom:calc(24px + env(safe-area-inset-bottom));gap:14px}
  .menu-list a{font-size:clamp(1rem,4.4vw,1.25rem);padding:8px 4px}
  .menu-side{gap:10px}
  .menu-card{padding:14px 16px;gap:8px}
  .menu-card a.row{font-size:.88rem}
  .menu-card .socials a{width:36px;height:36px}
  .menu-card h4{margin-bottom:2px}
  .menu-foot{font-size:.78rem;padding-top:4px}
}
@media (max-width:900px) and (max-height:700px){
  .menu-list a{font-size:1rem;padding:8px 4px}
  .menu-card .socials{display:none}
}
/* ---------- Core pages (SEO recovery): page hero + breadcrumbs ---------- */
.page-hero{padding-top:calc(var(--nav-h) + clamp(40px,7vh,80px));padding-bottom:clamp(30px,5vw,60px)}
.page-hero .container{display:grid;gap:18px;max-width:none}
.page-hero h1{max-width:22ch}
.page-hero .lead{max-width:62ch}
.page-hero .hero-cta{margin-top:8px}
.crumbs{display:flex;gap:10px;align-items:center;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
html[dir=rtl] .crumbs{letter-spacing:0;text-transform:none;font-size:.9rem}
.crumbs a{color:var(--muted);transition:color .3s}
.crumbs a:hover{color:var(--text)}
.crumbs span:last-child{color:var(--text)}
/* ---------- Service pages + articles (SEO recovery) ---------- */
.prose{padding-top:0}
.prose-wrap{max-width:820px;display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.prose-wrap>*{min-width:0}
.svc-box .btn,.cta-row .btn{white-space:normal;text-align:start}
.prose-wrap p{color:rgba(229,229,229,.88);font-size:clamp(1rem,1.15vw,1.12rem);line-height:1.8}
.prose-wrap h2{margin-top:18px}
.prose-wrap ul,.prose-wrap ol{margin:0;padding-inline-start:22px;display:grid;gap:8px;color:rgba(229,229,229,.88);line-height:1.7}
.prose-wrap .faq{border-top:1px solid var(--line)}
.svc-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.svc-link{display:grid;gap:6px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);transition:border-color .3s}
.svc-link:hover{border-color:var(--accent)}
.svc-link b{font-family:var(--font-display);font-weight:500;font-size:1rem;letter-spacing:.1em;text-transform:uppercase}
html[dir=rtl] .svc-link b{letter-spacing:0;text-transform:none}
.svc-link span{color:var(--muted);font-size:.86rem;line-height:1.5}
.art-list{list-style:none;padding:0;display:grid;gap:0;border-top:1px solid var(--line)}
.art-list li{border-bottom:1px solid var(--line)}
.art-list a{display:block;padding:14px 4px;color:var(--text);transition:color .3s,padding .4s var(--ease)}
.art-list a:hover{color:var(--accent);padding-inline-start:10px}
.svc-box{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:20px 22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin-top:10px}
.svc-box small{flex-basis:100%;color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-size:.72rem}
html[dir=rtl] .svc-box small{letter-spacing:0;font-size:.85rem}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.meta-line{color:var(--muted);font-size:.82rem}

/* ---------- LOW tier: weak / old devices (html.low, decided in the head before first paint) ----------
   No smooth scroll, no GSAP, no sticky stages: every scene renders as a plain static section, all
   content visible from the first frame (nothing waits for JavaScript), no blur, no shadows,
   no will-change layers, no CSS animations. Force with ?low=1, disable with ?low=0. */
html.low [data-reveal], html.low .js [data-reveal], html.low .split-lines .line-inner,
html.low .hero-copy [data-hero], html.low .act2-inner [data-a2], html.low .expand-cap [data-x] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
html.low * { will-change: auto !important; animation: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.low .loader, html.low .cursor, html.low .cursor-ring, html.low .hero-glow, html.low .scroll-hint, html.low .deck-foot, html.low .rv-foot, html.low .tour-foot, html.low .tour-route, html.low .film-counter { display: none !important; }
html.low .scene, html.low .scene-hero, html.low .scene-deck, html.low .scene-media, html.low .scene-film, html.low .scene-rv, html.low .scene-tour { height: auto !important; }
html.low .stage { position: relative; height: auto; min-height: 0; overflow: visible; }
/* hero: act 1 keeps one viewport, act 2 follows it as a normal section */
html.low .scene-hero .stage { min-height: 100svh; display: block; }
html.low .hero-bg { bottom: auto; height: 100svh; min-height: 560px; }
html.low .hero-bg img { transform: none; }
html.low .hero-copy { min-height: 100svh; }
/* low tier has no intro animation, so the headline would repaint when the Arabic web font lands: keep it invisible until the fonts are in (or 3 s) */
html.low:not(.fonts-in) .hero-copy { visibility: hidden; }
html.low .hero-act2 { position: relative; clip-path: none !important; min-height: 100svh; }
html.low .hero-act2 img { transform: none; }
html.low .act2-inner { padding-bottom: clamp(30px, 6vh, 70px); padding-inline: var(--gutter); }
/* about */
html.low .about-media { position: static; }
html.low .frame { clip-path: none !important; }
html.low .frame img { transform: none; }
html.low .about-body .rw { opacity: 1; }
/* services: a plain list instead of stacked sticky cards */
html.low .svc-card { position: relative; top: auto !important; transform: none !important; }
html.low .svc-dim { display: none; }
/* philosophy deck */
html.low .deck-stage { display: grid; gap: 22px; padding-top: clamp(60px, 10vh, 120px); padding-bottom: clamp(60px, 10vh, 120px); }
html.low .deck-pile { display: grid; gap: 16px; }
html.low .deck-card { position: relative; inset: auto; margin: 0; width: 100%; height: auto; opacity: 1 !important; transform: none !important; }
/* media: expanding frame becomes a framed image with its caption below */
html.low .expand-stage { display: grid; gap: 18px; padding: clamp(60px, 10vh, 120px) var(--gutter); }
html.low .expand-head { position: relative; top: auto; margin-inline: 0; padding: 0; background: none; opacity: 1 !important; }
html.low .expand-frame { position: relative; inset: auto; aspect-ratio: 16/10; border-radius: var(--radius); clip-path: none !important; }
html.low .expand-frame img { transform: none; }
html.low .expand-cap { position: relative; inset: auto; margin: 0; padding: 0; background: none; }
/* film strip: native horizontal swipe */
html.low .film-stage { padding: clamp(60px, 10vh, 120px) 0; }
html.low .film { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
html.low .film-track { transform: none !important; width: max-content; }
html.low .film-track figure { scroll-snap-align: center; }
/* reviews: a simple list */
html.low .rv-stage { display: grid; gap: 22px; padding-top: clamp(60px, 10vh, 120px); padding-bottom: clamp(60px, 10vh, 120px); }
html.low .rv-pile { display: grid; gap: 16px; }
html.low .rv-pile .rv { position: relative; inset: auto; margin: 0; width: 100%; height: auto; opacity: 1 !important; transform: none !important; }
html.low .rv-pile .rv q { -webkit-line-clamp: unset; }
/* tourism: steps listed under the heading */
html.low .tour-inner { height: auto; display: grid; gap: 22px; padding-bottom: clamp(60px, 10vh, 120px); }
html.low .tour-body { grid-template-columns: minmax(0, 1fr); }
html.low .tour-steps { display: grid; gap: 14px; min-height: 0; }
html.low .tour-step { position: relative; inset: auto; opacity: 1 !important; transform: none !important; }
html.low .tour-bg img { transform: none; }
/* marquee: static strip */
html.low .marquee-track { animation: none !important; transform: none; }
/* skip layout/paint of sections that are still far below the fold (each keeps a placeholder height) */
html.low main > section:not(#hero):not(.marquee) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
html.low [id] { scroll-margin-top: 60px; }

/* ---------- tourism / pricing / tag hubs ---------- */
.prose-wrap h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-top: 1.6em; }
.prose-wrap h3 + p { margin-top: .4em; }
.tour-list { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 18px; }
.tour-list li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 26px); }
.tour-list li h3 { margin-top: 0; }
.tour-list li h3::before { content: "0" counter(step); display: block; font-size: .8rem; letter-spacing: .18em; color: var(--muted); margin-bottom: 8px; }
html[dir="rtl"] .tour-list li h3::before { letter-spacing: 0; }
.prose-wrap ul:not(.art-list) { padding-inline-start: 1.2em; margin: .8em 0 1.2em; }
.prose-wrap ul:not(.art-list) li { margin: .35em 0; }
.prose-wrap blockquote { margin: 1.2em 0; padding-inline-start: 1em; border-inline-start: 2px solid var(--line-strong); color: var(--muted); }

/* ---------- WHITE sections (user: off-white must dominate; no transparent cards) ----------
   Sections listed here render on #E5E5E5 with #042520 type; every card inside them is SOLID green
   with off-white type. Hero, marquee, tourism, media (photo scenes), nav and footer stay green. */
#about, #philosophy, #services, #gallery, #compare, #reviews, #locations, #faq, #journal, #book, .section.prose {
  --bg: #E5E5E5; --bg-2: #E5E5E5; --text: #042520; --accent: #042520; --accent-soft: rgba(4, 37, 32, 0.1);
  --muted: rgba(4, 37, 32, 0.72); --line: rgba(4, 37, 32, 0.2); --line-strong: rgba(4, 37, 32, 0.5); --surface: #042520; --surface-2: #042520;
  background: #E5E5E5; color: #042520;
}
#about .about-body p, .section.prose .prose-wrap p, .section.prose .prose-wrap ul, .section.prose .prose-wrap ol, #locations .insurance, #locations .loc-meta { color: rgba(4, 37, 32, 0.9); }
/* solid green cards inside white sections: type tokens flip back */
#philosophy .deck-card, #reviews .rv, #services .svc-card, #journal .post, #locations .loc, #book .book-wrap, #book .book-form, .section.prose .svc-box, .section.prose .svc-link, #reviews .g-score {
  --bg: #042520; --bg-2: #042520; --text: #E5E5E5; --accent: #E5E5E5; --accent-soft: rgba(229, 229, 229, 0.1);
  --muted: rgba(229, 229, 229, 0.72); --line: rgba(229, 229, 229, 0.18); --line-strong: rgba(229, 229, 229, 0.45);
  background: #042520; color: #E5E5E5;
}
#locations .loc-meta, #locations .loc .loc-meta { color: rgba(229, 229, 229, 0.85); }
#philosophy .deck-card, #reviews .rv-pile .rv { box-shadow: 0 24px 60px rgba(4, 37, 32, 0.28); }
#philosophy .deck-card::before { -webkit-text-stroke-color: rgba(229, 229, 229, 0.3); }
/* buttons follow the surface they sit on */
#about .btn:hover, #philosophy .btn:hover, #services .btn:hover, #gallery .btn:hover, #compare .btn:hover, #reviews .btn:hover, #locations .btn:hover, #faq .btn:hover, #journal .btn:hover, #book .btn:hover, .section.prose .btn:hover { color: var(--bg); }
#about .btn-wa, #philosophy .btn-wa, #services .btn-wa, #gallery .btn-wa, #compare .btn-wa, #reviews .btn-wa, #locations .btn-wa, #faq .btn-wa, #journal .btn-wa, #book .btn-wa, .section.prose .btn-wa { color: var(--bg); }
#about .btn-wa::after, #philosophy .btn-wa::after, #services .btn-wa::after, #gallery .btn-wa::after, #compare .btn-wa::after, #reviews .btn-wa::after, #locations .btn-wa::after, #faq .btn-wa::after, #journal .btn-wa::after, #book .btn-wa::after, .section.prose .btn-wa::after { background: var(--bg); }
#about .btn-wa:hover, #philosophy .btn-wa:hover, #services .btn-wa:hover, #gallery .btn-wa:hover, #compare .btn-wa:hover, #reviews .btn-wa:hover, #locations .btn-wa:hover, #faq .btn-wa:hover, #journal .btn-wa:hover, #book .btn-wa:hover, .section.prose .btn-wa:hover { color: var(--text); }
#reviews .rv-nav button:hover, #services .svc-card:hover .svc-arrow { color: var(--bg); }
/* film strip inside the white gallery: green band, white captions */
#gallery .film { background: #042520; border-color: rgba(4, 37, 32, 0.3); }
#gallery .film-track figcaption { background: #E5E5E5; color: #042520; }
#gallery .film-counter { color: rgba(4, 37, 32, 0.72); }
/* fixed widgets need an outline on white */
.wa-btn, .to-top .orb { border: 1px solid #042520; }
.to-top .track { fill: #E5E5E5; stroke: rgba(4, 37, 32, 0.35); }
/* reading-highlight words stay readable on the white About section (AA contrast) */
#about .about-body p .rw { opacity: 0.72; }
/* .btn-gold on white sections: green pill with off-white type; hover fills off-white with green type */
#about .btn-gold, #philosophy .btn-gold, #services .btn-gold, #gallery .btn-gold, #compare .btn-gold, #reviews .btn-gold, #locations .btn-gold, #faq .btn-gold, #journal .btn-gold, #book .btn-gold, .section.prose .btn-gold { color: var(--bg); }
#about .btn-gold::after, #philosophy .btn-gold::after, #services .btn-gold::after, #gallery .btn-gold::after, #compare .btn-gold::after, #reviews .btn-gold::after, #locations .btn-gold::after, #faq .btn-gold::after, #journal .btn-gold::after, #book .btn-gold::after, .section.prose .btn-gold::after { background: var(--bg); }
#about .btn-gold:hover, #philosophy .btn-gold:hover, #services .btn-gold:hover, #gallery .btn-gold:hover, #compare .btn-gold:hover, #reviews .btn-gold:hover, #locations .btn-gold:hover, #faq .btn-gold:hover, #journal .btn-gold:hover, #book .btn-gold:hover, .section.prose .btn-gold:hover { color: var(--text); }

/* keyword "related searches" block (SEO nav; muted, not stuffing) */
.kw-block{margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}
.kw-block small{display:block;color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-size:.7rem;margin-bottom:10px}
html[dir=rtl] .kw-block small{letter-spacing:0;font-size:.82rem}
.kw-chips{display:flex;flex-wrap:wrap;gap:8px}
.kw-chips span{font-size:.8rem;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:6px 12px}

/* public-figures trust card (names only until photos are provided) */
.fig-card{gap:6px}
.fig-card>b{display:block;margin-bottom:4px}
.fig-names{display:flex;flex-wrap:wrap;gap:8px}
.fig-names span{font-size:.86rem;border:1px solid var(--line);border-radius:999px;padding:6px 13px}

/* ---------- Touch (html.lite) scene performance: promote the animated layers so Safari composites them on
   the GPU instead of repainting full-bleed images on every scroll frame. No visual change. ---------- */
html.lite .hero-bg img, html.lite .hero-act2 img, html.lite .expand-frame img, html.lite .tour-bg img,
html.lite .frame img, html.lite .ba-track, html.lite .film-track, html.lite .deck-card, html.lite .rv-pile .rv,
html.lite .svc-card, html.lite .tour-step, html.lite .hero-copy { will-change: transform; backface-visibility: hidden; }
html.lite .hero-act2, html.lite .expand-frame, html.lite .frame { will-change: clip-path; }
