/* Nakhla · "Title card" design system (see DESIGN.md)
   Light limestone page, Gulf-ink anchor, one henna spark.
   Headlines set like film title cards; numbers set like plan annotations. */

/* ============ Fonts (self-hosted variable woff2) ============ */
@font-face {
  font-family: "Imbue";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/imbue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url("assets/fonts/readex-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url("assets/fonts/readex-pro-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Chivo Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/chivo-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Markazi Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/markazi-text-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ============ Tokens ============ */
:root {
  --paper: oklch(0.972 0.007 85);
  --surface: oklch(0.945 0.012 82);
  --stone: oklch(0.915 0.016 80);
  --line: oklch(0.87 0.016 80);
  --line-2: oklch(0.8 0.018 78);
  --ink: oklch(0.235 0.012 65);
  --ink-2: oklch(0.48 0.016 70);
  --gulf: oklch(0.34 0.055 222);
  --gulf-2: oklch(0.29 0.05 223);
  --gulf-deep: oklch(0.26 0.045 225);
  --henna: oklch(0.52 0.135 40);
  --henna-hi: oklch(0.7 0.13 48);
  --night: oklch(0.17 0.016 230);
  --on-dark: oklch(0.972 0.007 85);
  --on-dark-2: oklch(0.972 0.007 85 / 0.78);
  --on-dark-line: oklch(0.972 0.007 85 / 0.38);
  --wa: oklch(0.5 0.12 152);
  --wa-2: oklch(0.44 0.11 152);
  --focus: var(--henna);

  --display: "Imbue", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Readex Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Chivo Mono", "Readex Pro", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --d-xl: clamp(4.25rem, 2rem + 8vw, 10.5rem);
  --d-lg: clamp(3rem, 1.6rem + 5vw, 6rem);
  --d-md: clamp(2.25rem, 1.5rem + 2.6vw, 3.625rem);
  --d-sm: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  --t-lead: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);

  --gutter: clamp(16px, 3.4vw, 44px);
  --max: 1440px;
  --header-h: 68px;
  --promo-h: 38px;
  --space-section: clamp(4.5rem, 2.5rem + 7vw, 9rem);
  --space-tight: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
}

html[lang="ar"] {
  --display: "Markazi Text", "Readex Pro", serif;
  --d-xl: clamp(3rem, 1rem + 6.4vw, 7.25rem);
  --d-lg: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem);
  --d-md: clamp(2rem, 1.4rem + 2vw, 3.125rem);
  --d-sm: clamp(1.6rem, 1.2rem + 1.1vw, 2.25rem);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 360;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
html[lang="ar"] body { font-weight: 400; line-height: 1.75; }
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
video { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
[hidden] { display: none !important; }
section[id], main { scroll-margin-top: calc(var(--header-h) + 8px); }
main:focus { outline: none; }
::selection { background: oklch(0.52 0.135 40 / 0.2); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* Arabic joins break under letter-spacing: reset every tracked style */
html[lang="ar"] :is(.num, .kicker, .btn, .btn-text, .badge, .finder-field > span, .field label, .footer-cols h3,
  .news-form button, .play-link, .wt-bar em, .specs dt, .card-walk, .hero-count, .promo, .lang-toggle, .main-nav,
  .display-xl, .display-lg, .display-md, .display-sm, .hero-title, .collection-label strong, .wt-caption, .post h3,
  .d-block h2, .calc h2, .wt-info h2, .drawer-nav a, .g-label, .thumb span, .area strong) {
  letter-spacing: 0;
  text-transform: none;
}

.skip {
  position: fixed; z-index: 200; top: 8px; inset-inline-start: 8px;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* ============ Type ============ */
.display-lg, .display-md, .display-sm {
  font-family: var(--display); font-weight: 400; margin: 0;
  font-optical-sizing: auto; text-wrap: balance;
}
.display-lg { font-size: var(--d-lg); line-height: .96; letter-spacing: -0.012em; }
.display-md { font-size: var(--d-md); line-height: 1; letter-spacing: -0.01em; }
.display-sm { font-size: var(--d-sm); line-height: 1.08; letter-spacing: -0.005em; }
html[lang="ar"] :is(.display-lg, .display-md, .display-sm) { font-weight: 500; line-height: 1.25; }
.kicker {
  margin: 0 0 14px; color: var(--henna);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
html[lang="ar"] .kicker { font-size: .875rem; }

/* ============ Buttons ============ */
.btn {
  --btn-fill: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid transparent;
  font-size: .8125rem; line-height: 1.1; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), background-color .35s var(--ease-out);
}
html[lang="ar"] .btn { font-size: .9375rem; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .6s var(--ease-expo);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
html[dir="rtl"] .btn::before { transform-origin: left center; }
html[dir="rtl"] .btn:hover::before { transform-origin: right center; }
.btn svg { font-size: 18px; transition: transform .5s var(--ease-expo); }
.btn:hover .ico-arrow { transform: translateX(5px); }
html[dir="rtl"] .ico-arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .ico-arrow { transform: scaleX(-1) translateX(5px); }

.btn-solid { --btn-fill: var(--gulf-2); background: var(--gulf); color: var(--on-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { color: var(--paper); }
.btn-ghost {
  --btn-fill: var(--on-dark);
  color: var(--on-dark); border-color: oklch(0.972 0.007 85 / 0.72);
  background: oklch(0.17 0.016 230 / 0.2);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--on-dark); }
.btn-paper { --btn-fill: var(--surface); background: var(--paper); color: var(--gulf); }
.btn-wa { --btn-fill: var(--wa-2); background: var(--wa); border-color: var(--wa); color: var(--on-dark); }
.btn-wa .ico { font-size: 19px; }

.btn-text {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.btn-text span {
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 100% 1px;
}
.btn-text:hover span { animation: redraw .8s var(--ease-expo); }
@keyframes redraw {
  0% { background-size: 100% 1px; background-position: right bottom; }
  45% { background-size: 0 1px; background-position: right bottom; }
  46% { background-size: 0 1px; background-position: left bottom; }
  100% { background-size: 100% 1px; background-position: left bottom; }
}

/* ============ Promo bar ============ */
.promo {
  position: relative; z-index: 60;
  height: var(--promo-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: var(--gulf-deep); color: var(--on-dark);
  font-size: .8125rem;
}
.promo p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo p a { margin-inline-start: 6px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(0.972 0.007 85 / 0.5); transition: text-decoration-color .3s; }
.promo p a:hover { text-decoration-color: currentColor; }
.promo-dot {
  display: inline-block; width: 6px; height: 6px; margin-inline-end: 10px; vertical-align: middle;
  border-radius: 50%; background: var(--henna-hi);
}
html.anim .promo-dot { animation: pulse 2.4s var(--ease-out) 1.6s 3; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.7 0.13 48 / 0.6); }
  70%, 100% { box-shadow: 0 0 0 9px oklch(0.7 0.13 48 / 0); }
}
.promo-links { display: flex; gap: 24px; align-items: center; flex-shrink: 0; }
.promo-links a { position: relative; padding: 8px 0; }
.promo p a, .promo-links a, .lang-toggle { position: relative; }
.promo p a::after, .promo-links a::after, .lang-toggle::after { content: ""; position: absolute; inset: -14px -6px; }
.promo-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lang-toggle {
  min-height: 28px; padding: 0 12px;
  font-family: "Readex Pro", var(--text); font-size: .8125rem;
  border: 1px solid oklch(0.972 0.007 85 / 0.45);
  transition: background-color .3s, color .3s;
}
.lang-toggle:hover { background: var(--on-dark); color: var(--gulf-deep); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  color: var(--on-dark);
  transition: transform .6s var(--ease-expo), background-color .4s var(--ease-out), color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -56px; pointer-events: none;
  background: linear-gradient(to bottom, oklch(0.17 0.016 230 / 0.5), oklch(0.17 0.016 230 / 0));
  transition: opacity .4s var(--ease-out);
}
.site-header.is-solid { background: oklch(0.972 0.007 85 / 0.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
@media (hover: hover) and (pointer: fine) {
  .site-header.is-solid { background: oklch(0.972 0.007 85 / 0.84); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
body.on-detail .site-header { margin-bottom: 0; }

.header-inner {
  position: relative; height: 100%;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px);
}
html.anim .header-inner { opacity: 0; translate: 0 -10px; }
html.anim.is-ready .header-inner { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease-out) .45s, translate 1.2s var(--ease-expo) .45s; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 44px; }
.logo-mark { width: 26px; height: 26px; }
.logo-word {
  font-family: "Imbue", Georgia, serif; font-optical-sizing: auto;
  font-size: 1.75rem; font-weight: 450; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
}
.main-nav { display: flex; gap: clamp(18px, 2vw, 30px); font-size: .9375rem; }
.main-nav a { position: relative; padding: 12px 8px; margin: 0 -8px; }
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 8px; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center; transition: transform .5s var(--ease-expo);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left center; }
html[dir="rtl"] .main-nav a::after { transform-origin: left center; }
html[dir="rtl"] .main-nav a:hover::after { transform-origin: right center; }

.header-search { margin-inline-start: auto; position: relative; width: min(300px, 24vw); }
.header-search input {
  width: 100%; height: 44px; padding-inline: 16px 46px;
  background: oklch(0.972 0.007 85 / 0.12); border: 1px solid oklch(0.972 0.007 85 / 0.38); border-radius: 0;
  color: inherit; font-size: .9375rem; outline: none;
  transition: background-color .3s, border-color .3s;
}
.header-search input::placeholder { color: currentColor; opacity: .72; }
.header-search input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.site-header.is-solid .header-search input, body.on-detail .header-search input { background: var(--surface); border-color: var(--line); }
.header-search button { position: absolute; inset-inline-end: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; font-size: 18px; }

.header-icons { display: flex; gap: 2px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 21px;
  transition: background-color .25s var(--ease-out);
}
.icon-btn:hover { background: oklch(0.5 0.01 70 / 0.14); }
.count {
  position: absolute; top: 3px; inset-inline-end: 1px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--henna); color: var(--on-dark);
  font-size: .65rem; line-height: 18px; text-align: center; font-weight: 500;
}
.count.bump { animation: bump .55s var(--ease-expo); }
@keyframes bump { 35% { transform: scale(1.35); } }

/* ============ Hero ============ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100svh - var(--promo-h)); min-height: 600px; max-height: 1000px;
  background: var(--night); color: var(--on-dark);
}
.hero-stage, .hero-slide, .hero-media, .hero-media-in { position: absolute; inset: 0; }
.hero-slide { visibility: hidden; z-index: 0; }
.hero-slide.is-active { visibility: visible; z-index: 2; }
.hero-slide.is-leaving { visibility: visible; z-index: 1; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; }
.hero-slide.is-playing .hero-media video { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, oklch(0.17 0.016 230 / 0.46), oklch(0.17 0.016 230 / 0) 100%),
    linear-gradient(to top, oklch(0.17 0.016 230 / 0.72) 0%, oklch(0.17 0.016 230 / 0.2) 36%, oklch(0.17 0.016 230 / 0) 60%);
}
.hero-copy {
  position: absolute; inset: 0; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: calc(var(--header-h) + 48px) var(--gutter) clamp(132px, 19vh, 190px);
}
.hero-title {
  margin: 0; max-width: 12ch;
  font-family: var(--display); font-optical-sizing: auto; font-weight: 400;
  font-size: var(--d-xl); line-height: .88; letter-spacing: -0.015em;
  text-wrap: balance;
}
html[lang="ar"] .hero-title { max-width: 13ch; font-weight: 500; line-height: 1.16; }
.hero-sub { max-width: 42ch; margin: 22px auto 30px; font-size: var(--t-lead); line-height: 1.5; color: var(--on-dark-2); }
.hero-sub .num { color: var(--on-dark); }

.hero-ui {
  position: absolute; z-index: 3; left: 50%; translate: -50% 0; bottom: clamp(88px, 12vh, 124px);
  display: flex; align-items: center; gap: 14px;
}
.hero-count { margin: 0; display: flex; gap: 6px; font-size: .8125rem; color: var(--on-dark-2); }
.hero-count [data-hero-index] { color: var(--on-dark); }
.hero-dots { display: flex; gap: 4px; }
.hero-dots button { width: 48px; height: 44px; display: grid; align-items: center; }
.hero-dots i { display: block; height: 2px; background: oklch(0.972 0.007 85 / 0.3); overflow: hidden; }
.hero-dots b { display: block; height: 100%; background: var(--on-dark); transform: scaleX(0); transform-origin: left center; }
html[dir="rtl"] .hero-dots b { transform-origin: right center; }
.hero-dots button.is-active b { animation: fill-bar var(--slide-ms, 8000ms) linear forwards; }
.hero.is-paused .hero-dots button.is-active b { animation-play-state: paused; }
@keyframes fill-bar { to { transform: scaleX(1); } }
.hero-pause {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 14px;
  border: 1px solid oklch(0.972 0.007 85 / 0.5);
  transition: background-color .3s, color .3s;
}
.hero-pause:hover { background: var(--on-dark); color: var(--ink); }

/* Hero motion: load settle, word rise, cinematic wipe between slides */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .03em .16em; margin: -.12em -.03em -.16em; }
.wi { display: inline-block; }
html.anim .hero-media { transform: scale(1.12); }
html.anim.is-ready .hero-media { transform: none; transition: transform 2.8s var(--ease-expo); }
html.anim .hero-title .wi { transform: translate3d(0, 110%, 0); }
html.anim.is-ready .hero-slide.is-active .hero-title .wi {
  transform: none;
  transition: transform 1.3s var(--ease-expo) calc(var(--i) * 70ms + 280ms);
}
html.anim .hero-slide.is-leaving .hero-title .wi { transform: none; }
html.anim .hero-slide.is-leaving .hero-title { opacity: 0; transition: opacity .45s var(--ease-out); }
html.anim .hero-copy > :not(.hero-title) { opacity: 0; translate: 0 18px; }
html.anim.is-ready .hero-slide.is-active .hero-copy > :not(.hero-title) {
  opacity: 1; translate: 0 0;
  transition: opacity 1s var(--ease-out) .75s, translate 1.2s var(--ease-expo) .75s,
    color .35s var(--ease-out), border-color .35s var(--ease-out), background-color .35s var(--ease-out);
}
html.anim.is-ready .hero-slide.is-active .hero-copy > .btn {
  transition-delay: .9s, .9s, 0s, 0s, 0s;
}
html.anim .hero-slide.is-leaving .hero-copy > :not(.hero-title) { opacity: 0; translate: 0 0; transition: opacity .35s var(--ease-out); }
html.anim .hero-ui { opacity: 0; }
html.anim.is-ready .hero-ui { opacity: 1; transition: opacity 1s var(--ease-out) 1.2s; }
html.anim .hero-media video { transition: opacity 1.4s var(--ease-out); }

html.anim .hero-slide.is-entering { animation: wipe-in 1.5s var(--ease-inout) both; }
html.anim[dir="rtl"] .hero-slide.is-entering { animation-name: wipe-in-rtl; }
@keyframes wipe-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipe-in-rtl { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
html.anim .hero-slide.is-entering .hero-media-in { animation: settle 2.2s var(--ease-expo) both; }
html.anim .hero-slide.is-active:not(.is-entering) .hero-media-in,
html.anim .hero-slide.is-leaving .hero-media-in { animation: drift 10s linear both; }
@keyframes settle { from { transform: scale(1.16) translateX(3%); } to { transform: none; } }
@keyframes drift { to { transform: scale(1.07); } }

/* ============ Finder ============ */
.finder-wrap { position: relative; z-index: 5; padding: 0 var(--gutter); margin-top: -52px; }
.finder {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  background: var(--paper);
  box-shadow: 0 28px 60px -30px oklch(0.235 0.012 65 / 0.38), 0 0 0 1px var(--line);
}
html.anim .finder { opacity: 0; translate: 0 40px; }
html.anim.is-ready .finder { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease-out) .6s, translate 1.4s var(--ease-expo) .6s; }
.finder-field {
  position: relative; min-width: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 10px 20px; border-inline-end: 1px solid var(--line);
  transition: background-color .3s var(--ease-out);
}
.finder-field:hover, .finder-field:focus-within { background: var(--surface); }
.finder-field:has(select:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.finder-field > span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
html[lang="ar"] .finder-field > span { font-size: .8125rem; }
.finder select {
  width: 100%; min-height: 44px; padding: 2px 20px 0 0;
  border: 0; outline: none; cursor: pointer; color: var(--ink); font-size: 1rem;
  appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23221D18' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 0 center / 11px;
}
html[dir="rtl"] .finder select { padding: 4px 0 0 20px; background-position: left 0 center; }
.finder-go { min-height: 78px; padding: 0 36px; }
.finder-go .ico { font-size: 18px; }

/* ============ Sections, heads, rails ============ */
.section { max-width: var(--max); margin: 0 auto; padding: var(--space-section) var(--gutter) 0; }
.finder-wrap + .section { padding-top: clamp(3.5rem, 2rem + 4vw, 6.5rem); }
.section-flush { padding-inline: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.rail-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.rail-arrows button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 18px;
  transition: background-color .3s var(--ease-out), color .3s, border-color .3s, opacity .3s;
}
.rail-arrows button:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail-arrows button:disabled { opacity: .35; }
html[dir="rtl"] :is(.rail-arrows svg, .wt-icon svg:not(.no-flip)) { transform: scaleX(-1); }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 8px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ============ Cards ============ */
.card { position: relative; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform 1.6s var(--ease-expo), opacity .8s var(--ease-out); }
.card-media video { opacity: 0; transition: opacity .6s var(--ease-out); }
.card.is-playing .card-media video { opacity: 1; }
.card:hover .card-media img { transform: scale(1.05); }
.badges { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 76px); }
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px;
  font-size: .72rem; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  background: oklch(0.972 0.007 85 / 0.94); color: var(--ink);
}
html[lang="ar"] .badge { font-size: .78rem; }
.badge svg { font-size: 12px; }
.badge-sale { background: var(--henna); color: var(--on-dark); }
.badge-ready { background: var(--gulf); color: var(--on-dark); }
.badge-outline { box-shadow: inset 0 0 0 1px var(--ink); }

.fav { position: absolute; z-index: 3; top: 6px; inset-inline-end: 6px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 19px; color: var(--ink); }
.fav::before { content: ""; position: absolute; inset: 4px; z-index: -1; border-radius: 50%; background: oklch(0.972 0.007 85 / 0.92); transition: transform .4s var(--ease-expo); }
.fav:hover::before { transform: scale(1.1); }
.fav.is-on, .info-mini .is-on { color: var(--henna); }
:is(.fav, .info-mini button).is-on svg path { fill: currentColor; }
.pop svg { animation: pop .6s var(--ease-expo); }
@keyframes pop { 35% { transform: scale(1.32); } }

.card-walk {
  position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px;
  background: oklch(0.17 0.016 230 / 0.64); color: var(--on-dark);
  font-size: .75rem; letter-spacing: .04em;
  opacity: 0; translate: 0 10px;
  transition: opacity .45s var(--ease-out), translate .6s var(--ease-expo);
}
@media (hover: hover) and (pointer: fine) { .card-walk { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }
.card-walk > span { display: inline-flex; align-items: center; gap: 8px; }
.card-walk svg { font-size: 13px; }
.card:hover .card-walk, .card:focus-within .card-walk { opacity: 1; translate: 0 0; }

.card-body { position: relative; padding: 16px 2px 0; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title { margin: 0 0 4px; font-size: 1rem; font-weight: 500; line-height: 1.35; }
.card-title a {
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px;
  transition: background-size .6s var(--ease-expo);
}
html[dir="rtl"] .card-title a { background-position: right bottom; }
.card:hover .card-title a, .card-title a:focus-visible { background-size: 100% 1px; }
.card-loc { margin: 0 0 10px; font-size: .875rem; color: var(--ink-2); }
.card-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 1rem; }
.card-price > .num { font-weight: 500; }
.card-price small { font-size: .8125rem; color: var(--ink-2); }
.card-meta { margin: 6px 0 0; font-size: .8125rem; color: var(--ink-2); }

/* ============ Collections (asymmetric) ============ */
.collections {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px; height: clamp(560px, 62vw, 840px);
}
.collection { position: relative; display: block; overflow: hidden; background: var(--stone); color: var(--on-dark); }
.collection-lg { grid-row: 1 / 3; }
.collection img, .collection video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection img { transition: transform 1.6s var(--ease-expo), scale 2s var(--ease-expo); }
.collection video { opacity: 0; transition: opacity .6s var(--ease-out), scale 2s var(--ease-expo); }
.collection.is-playing video { opacity: 1; }
.collection:hover img { transform: scale(1.05); }
.collection::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, oklch(0.17 0.016 230 / 0.74), oklch(0.17 0.016 230 / 0) 55%); }
.collection-label {
  position: absolute; z-index: 2; inset-inline: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.4vw, 30px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.collection-label strong { font-family: var(--display); font-optical-sizing: auto; font-weight: 400; font-size: var(--d-md); line-height: .95; }
html[lang="ar"] .collection-label strong { font-weight: 500; line-height: 1.2; }
.collection-lg .collection-label strong { font-size: var(--d-lg); }
.collection-meta { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: .8125rem; color: var(--on-dark-2); }
.collection-meta svg { font-size: 22px; color: var(--on-dark); transition: transform .6s var(--ease-expo); }
.collection:hover .collection-meta svg { transform: translateX(6px); }
html[dir="rtl"] .collection:hover .collection-meta svg { transform: scaleX(-1) translateX(6px); }

/* ============ Areas ============ */
.rail-areas { grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; }
.area { display: block; text-align: start; }
.area-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; background: var(--stone); }
.area-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-expo), opacity .8s var(--ease-out); }
.area:hover .area-img img { transform: scale(1.06); }
.area strong { display: block; font-size: 1rem; font-weight: 500; }
.area small { font-size: .8125rem; color: var(--ink-2); }

/* ============ Film band ============ */
.film { position: relative; margin-top: var(--space-section); height: min(88vh, 820px); min-height: 480px; color: var(--on-dark); }
.film-frame { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.film-frame img, .film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-frame video { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.film-frame.is-playing video { opacity: 1; }
.film-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, oklch(0.17 0.016 230 / 0.62), oklch(0.17 0.016 230 / 0.08) 62%),
    linear-gradient(to top, oklch(0.17 0.016 230 / 0.5), oklch(0.17 0.016 230 / 0) 45%);
}
html[dir="rtl"] .film-frame::after {
  background: linear-gradient(to left, oklch(0.17 0.016 230 / 0.62), oklch(0.17 0.016 230 / 0.08) 62%),
    linear-gradient(to top, oklch(0.17 0.016 230 / 0.5), oklch(0.17 0.016 230 / 0) 45%);
}
.film-copy { position: absolute; z-index: 2; inset-inline-start: var(--gutter); bottom: clamp(44px, 9vh, 96px); max-width: 580px; }
.film-copy h2 { margin: 0 0 18px; }
.film-copy p { margin: 0 0 30px; max-width: 40ch; font-size: var(--t-lead); color: var(--on-dark-2); }
.film-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.play-link { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.play-dot {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid oklch(0.972 0.007 85 / 0.8);
  display: grid; place-items: center; font-size: 16px;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), transform .6s var(--ease-expo);
}
.play-link:hover .play-dot { background: var(--on-dark); color: var(--ink); transform: scale(1.08); }

/* ============ Editorial splits ============ */
.split {
  max-width: var(--max); margin: 0 auto; padding: var(--space-section) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 104px); align-items: center;
}
.split + .split { padding-top: var(--space-tight); }
.split-rev .split-media { order: 2; }
.split-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--stone); }
.split-media img, .split-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 2s var(--ease-expo), opacity 1.2s var(--ease-out); }
.split-media video { opacity: 0; }
.split-media.is-playing video { opacity: 1; }
.split-copy { max-width: 500px; }
.split-copy .display-md { margin-bottom: 20px; }
.split-copy > p:not(.kicker) { margin: 0 0 30px; color: var(--ink-2); font-size: 1.0625rem; }
.svc-list { list-style: none; padding: 0; margin: 0 0 34px; border-top: 1px solid var(--line); }
.svc-list li { display: grid; grid-template-columns: 40px 150px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.svc-list .num { font-size: .75rem; color: var(--henna); }
.svc-list strong { font-weight: 500; }
.svc-list li > span:last-child { color: var(--ink-2); }

/* ============ Move-in ready band (Gulf ink) ============ */
.band {
  margin-top: var(--space-section);
  display: grid; grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); align-items: stretch;
  overflow: hidden; background: var(--gulf); color: var(--on-dark);
}
.band-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(44px, 5vw, 80px) clamp(24px, 3vw, 48px) clamp(44px, 5vw, 80px) var(--gutter);
  background: var(--gulf); box-shadow: 44px 0 44px -8px var(--gulf);
}
html[dir="rtl"] .band-copy { padding: clamp(44px, 5vw, 80px) var(--gutter) clamp(44px, 5vw, 80px) clamp(24px, 3vw, 48px); box-shadow: -44px 0 44px -8px var(--gulf); }
.band-mark { font-size: 30px; color: var(--henna-hi); }
.band-copy h2 { margin: 18px 0 14px; }
.band-copy p { margin: 0 0 28px; max-width: 36ch; color: var(--on-dark-2); }
.band-copy .btn { align-self: flex-start; }
.band-reel { display: flex; align-items: center; overflow: hidden; padding: 36px 0; }
html:not(.anim) .band-reel { overflow-x: auto; }
.band-track { display: flex; gap: 16px; width: max-content; padding-inline: 16px; }
html.anim .band-track { animation: marquee 64s linear infinite; }
html.anim .band:not(.is-visible) .band-track,
.band-reel:hover .band-track, .band-reel:focus-within .band-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .band-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.band-track a { position: relative; width: clamp(150px, 13vw, 200px); flex-shrink: 0; }
.band-track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease-expo); }
.band-track a:hover img { transform: scale(1.04); }
.band-track .badge { position: absolute; top: 10px; inset-inline-start: 10px; }
.band-cap { display: block; margin-top: 10px; font-size: .8125rem; line-height: 1.35; color: var(--on-dark-2); }

/* ============ All properties ============ */
.section-head-wrap { flex-wrap: wrap; }
.result-line { margin: 12px 0 0; font-size: .9375rem; color: var(--ink-2); }
.grid-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--line); font-size: .875rem;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.chip:hover { border-color: var(--ink); }
.chip svg { font-size: 12px; }
.chip-clear { background: none; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.sort select {
  height: 44px; padding: 0 40px 0 16px; border: 1px solid var(--line-2); border-radius: 0; cursor: pointer; font-size: .9375rem;
  appearance: none; -webkit-appearance: none;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23221D18' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center / 11px;
}
html[dir="rtl"] .sort select { padding: 0 16px 0 40px; background-position: left 14px center; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 20px; }
.empty { padding: 64px 20px; text-align: center; background: var(--surface); }
.empty p { margin: 0 auto 12px; max-width: 46ch; }
.empty p:not(.display-sm) { margin-bottom: 26px; color: var(--ink-2); }

/* ============ Journal ============ */
.journal-feature {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.journal-feature-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.journal-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 2s var(--ease-expo); }
.journal-feature-copy .display-sm { margin-bottom: 16px; }
.journal-feature-copy p:not(.kicker) { margin: 0 0 28px; max-width: 46ch; color: var(--ink-2); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.post-media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; background: var(--stone); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-expo); }
.post:hover .post-media img { transform: scale(1.05); }
.post h3 { margin: 0 0 12px; font-family: var(--display); font-optical-sizing: auto; font-weight: 400; font-size: var(--d-sm); line-height: 1.05; }
html[lang="ar"] .post h3 { font-weight: 500; line-height: 1.3; }
.post p:not(.kicker) { margin: 0 0 12px; font-size: .9375rem; color: var(--ink-2); }

/* ============ Enquire ============ */
.enquire { margin-top: var(--space-section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--stone); }
.enquire-media { position: relative; min-height: 620px; overflow: hidden; background: var(--night); }
.enquire-media img, .enquire-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 2s var(--ease-expo), opacity 1.2s var(--ease-out); }
.enquire-media video { opacity: 0; }
.enquire-media.is-playing video { opacity: 1; }
.enquire-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, oklch(0.17 0.016 230 / 0.66), oklch(0.17 0.016 230 / 0) 55%); }
.enquire-quote { position: absolute; z-index: 2; inset-inline: var(--gutter); bottom: clamp(28px, 4vw, 52px); margin: 0; max-width: 460px; color: var(--on-dark); }
.enquire-quote p { margin: 0; }
.enquire-form-wrap { padding: clamp(44px, 6vw, 96px) clamp(20px, 5vw, 80px); }
.enquire-form-wrap .display-md { margin-bottom: 14px; }
.enq-intro { margin: 0 0 34px; max-width: 46ch; color: var(--ink-2); }
.enq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
html[lang="ar"] .field label { font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-radius: 0; outline: none; font-size: 1rem;
  border-bottom: 1px solid oklch(0.235 0.012 65 / 0.35);
  background: linear-gradient(var(--ink), var(--ink)) no-repeat left bottom / 0 2px;
  transition: background-size .6s var(--ease-expo), border-color .3s var(--ease-out);
}
html[dir="rtl"] :is(.field input, .field textarea) { background-position: right bottom; }
.field input:focus, .field textarea:focus { background-size: 100% 2px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 24px; text-overflow: ellipsis;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23221D18' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 2px center / 11px,
    linear-gradient(var(--ink), var(--ink)) no-repeat left bottom / 0 2px;
}
html[dir="rtl"] .field select { background-position: left 2px center, right bottom; }
.field select:focus { background-size: 11px, 100% 2px; }
.field textarea { resize: vertical; }
.field :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.field.is-invalid :is(input, select) { border-bottom-color: var(--henna); }
.field-error { margin: 0; font-size: .8125rem; color: var(--henna); }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-note { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.form-note.is-err { color: var(--henna); }

/* ============ Footer ============ */
.site-footer { background: var(--gulf-deep); color: var(--on-dark); overflow: hidden; }
.footer-news {
  max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  border-bottom: 1px solid oklch(0.972 0.007 85 / 0.14);
}
.footer-news p { margin: 8px 0 0; color: var(--on-dark-2); }
.news-form { display: flex; width: min(480px, 100%); border-bottom: 1px solid oklch(0.972 0.007 85 / 0.55); }
.news-form input { flex: 1; min-width: 0; min-height: 52px; border: 0; outline: none; background: transparent; color: var(--on-dark); font-size: 1rem; }
.news-form input::placeholder { color: oklch(0.972 0.007 85 / 0.62); }
.news-form input:focus-visible { outline: 2px solid var(--henna-hi); outline-offset: 4px; }
.news-form button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 4px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.news-form button svg { transition: transform .5s var(--ease-expo); }
.news-form button:hover svg { transform: translateX(5px); }
html[dir="rtl"] .news-form button:hover svg { transform: scaleX(-1) translateX(5px); }
.footer-cols { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter); display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-cols h3 { margin: 0 0 12px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--on-dark-2); }
.footer-cols a, .footer-cols p { display: block; margin: 0; font-size: .9375rem; }
.footer-cols a { width: fit-content; padding: 12px 0; line-height: 1.4; }
.footer-cols p { padding: 6px 0; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-brand p { max-width: 34ch; margin-top: 12px; color: var(--on-dark-2); }
.site-footer :focus-visible { outline-color: var(--henna-hi); }
.muted-small { color: var(--on-dark-2); font-size: .8125rem !important; }
.footer-base {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  align-items: center; font-size: .8125rem; color: var(--on-dark-2); border-top: 1px solid oklch(0.972 0.007 85 / 0.14);
}
.footer-base p { margin: 0; }
.footer-base a { display: inline-block; padding: 12px 4px; }
.footer-mark {
  margin: 0; padding: 0 var(--gutter); text-align: center; white-space: nowrap; user-select: none;
  font-family: "Imbue", Georgia, serif; font-optical-sizing: auto; font-weight: 300;
  font-size: clamp(6rem, 25vw, 23rem); line-height: .78; letter-spacing: -0.01em; text-transform: uppercase;
  color: oklch(0.972 0.007 85 / 0.07); translate: 0 14%;
}

/* ============ Floating WhatsApp, toast ============ */
.wa-float {
  position: fixed; z-index: 40; bottom: 20px; inset-inline-end: 20px;
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border-radius: 27px;
  background: var(--wa); color: var(--on-dark); font-size: .9375rem; font-weight: 500;
  box-shadow: 0 16px 36px -14px oklch(0.17 0.016 230 / 0.6);
  transition: transform .6s var(--ease-expo), background-color .3s var(--ease-out);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-3px); background: var(--wa-2); }
html.anim .wa-float { transition: transform .6s var(--ease-expo), background-color .3s var(--ease-out), opacity .5s var(--ease-out), translate .8s var(--ease-expo), visibility 0s; }
.wa-float.is-tucked { opacity: 0; translate: 0 28px; visibility: hidden; pointer-events: none; }
html.anim .wa-float.is-tucked { transition: transform .6s var(--ease-expo), background-color .3s var(--ease-out), opacity .35s var(--ease-out), translate .6s var(--ease-expo), visibility 0s .6s; }
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 28px; max-width: calc(100vw - 32px);
  padding: 14px 20px; background: var(--ink); color: var(--paper); font-size: .9375rem;
  box-shadow: 0 18px 40px -18px oklch(0.17 0.016 230 / 0.5);
  opacity: 0; pointer-events: none; transform: translate(-50%, 24px);
  transition: opacity .35s var(--ease-out), transform .6s var(--ease-expo);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ============ Dialogs: drawer, article reader ============ */
.drawer, .modal { position: fixed; inset: 0; z-index: 90; }
.drawer-scrim, .modal-scrim { position: absolute; inset: 0; background: oklch(0.17 0.016 230 / 0.5); }
html.anim :is(.drawer-scrim, .modal-scrim) { opacity: 0; transition: opacity .5s var(--ease-out); }
html.anim .is-open :is(.drawer-scrim, .modal-scrim) { opacity: 1; }
html.anim .is-closing :is(.drawer-scrim, .modal-scrim) { transition-duration: .35s; }

.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--paper); }
html.anim .drawer-panel { transform: translateX(100%); transition: transform .75s var(--ease-expo); }
html.anim[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
html.anim .drawer.is-open .drawer-panel { transform: none; }
html.anim .drawer.is-closing .drawer-panel { transition-duration: .38s; transition-timing-function: var(--ease-in); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding: 12px 24px; }
.drawer-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-optical-sizing: auto; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.4rem); line-height: 1.15; }
html[lang="ar"] .drawer-nav a { font-weight: 500; line-height: 1.4; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
html.anim .drawer-nav a { opacity: 0; translate: 28px 0; transition: opacity .5s var(--ease-out), translate .8s var(--ease-expo), color .3s; }
html.anim[dir="rtl"] .drawer-nav a { translate: -28px 0; }
html.anim .drawer.is-open .drawer-nav a { opacity: 1; translate: 0 0; transition-delay: calc(var(--n, 0) * 45ms + 140ms), calc(var(--n, 0) * 45ms + 140ms), 0s; }
.drawer-nav a:nth-child(2) { --n: 1; } .drawer-nav a:nth-child(3) { --n: 2; } .drawer-nav a:nth-child(4) { --n: 3; }
.drawer-nav a:nth-child(5) { --n: 4; } .drawer-nav a:nth-child(6) { --n: 5; } .drawer-nav a:nth-child(7) { --n: 6; }
.drawer-nav a:nth-child(8) { --n: 7; } .drawer-nav a:nth-child(9) { --n: 8; }
.drawer-nav a:hover { color: var(--gulf); }
.drawer-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 20px 24px; border-top: 1px solid var(--line); }
.drawer-foot .lang-toggle { min-height: 50px; padding: 0 20px; border-color: var(--line-2); font-size: .9375rem; }
.drawer-foot .lang-toggle:hover { background: var(--ink); color: var(--paper); }

.modal { display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); }
html.anim .modal-card { opacity: 0; translate: 0 36px; scale: .98; transition: opacity .5s var(--ease-out), translate .9s var(--ease-expo), scale .9s var(--ease-expo); }
html.anim .modal.is-open .modal-card { opacity: 1; translate: 0 0; scale: 1; }
html.anim .modal.is-closing .modal-card { transition-duration: .3s; }
.modal-media { aspect-ratio: 16 / 8; overflow: hidden; background: var(--stone); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-text { padding: 32px clamp(20px, 5vw, 60px) 48px; }
.modal-text .display-md { margin-bottom: 20px; }
.modal-text p:not(.kicker) { max-width: 62ch; font-size: 1.0625rem; line-height: 1.75; }
.modal-text .btn { margin-top: 12px; }
.modal-x { position: absolute; z-index: 2; top: 12px; inset-inline-end: 12px; background: var(--paper); }
.modal-x:hover { background: var(--surface); }

/* ============ Walkthrough player ============ */
.wt { position: fixed; inset: 0; z-index: 100; background: var(--night); color: var(--on-dark); }
html.anim .wt { opacity: 0; transition: opacity .55s var(--ease-out); }
html.anim .wt.is-open { opacity: 1; }
html.anim .wt.is-closing { transition-duration: .35s; }
html.anim .wt .wt-stage { scale: 1.06; transition: scale 1.4s var(--ease-expo); }
html.anim .wt.is-open .wt-stage { scale: 1; }
.wt-stage { position: absolute; inset: 0; overflow: hidden; }
.wt-v { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s var(--ease-out); }
.wt-v.is-on { opacity: 1; animation: kenburns var(--kb, 9s) linear both; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.wt.is-paused .wt-v.is-on { animation-play-state: paused; }
.wt-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, oklch(0.17 0.016 230 / 0.6), oklch(0.17 0.016 230 / 0) 22%, oklch(0.17 0.016 230 / 0) 58%, oklch(0.17 0.016 230 / 0.78)),
    linear-gradient(to right, oklch(0.17 0.016 230 / 0.42), oklch(0.17 0.016 230 / 0) 55%);
}
html[dir="rtl"] .wt-shade {
  background: linear-gradient(to bottom, oklch(0.17 0.016 230 / 0.6), oklch(0.17 0.016 230 / 0) 22%, oklch(0.17 0.016 230 / 0) 58%, oklch(0.17 0.016 230 / 0.78)),
    linear-gradient(to left, oklch(0.17 0.016 230 / 0.42), oklch(0.17 0.016 230 / 0) 55%);
}
.wt-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; gap: 18px; align-items: flex-start; padding: 12px var(--gutter); }
.wt-bars { flex: 1; display: flex; gap: 8px; }
.wt-bar { flex: 1; min-width: 0; min-height: 44px; padding-top: 12px; text-align: start; }
.wt-bar i { display: block; height: 2px; overflow: hidden; background: oklch(0.972 0.007 85 / 0.28); }
.wt-bar i b { display: block; height: 100%; background: var(--on-dark); transform: scaleX(0); transform-origin: left center; }
html[dir="rtl"] .wt-bar i b { transform-origin: right center; }
.wt-bar em { display: block; margin-top: 10px; font-style: normal; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.wt-bar.is-active em, .wt-bar:hover em { color: var(--on-dark); }
.wt-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px; border: 1px solid var(--on-dark-line);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.wt-icon:hover { background: var(--on-dark); color: var(--ink); }
.wt :focus-visible, .hero :focus-visible, .film :focus-visible, .collection:focus-visible { outline-color: var(--henna-hi); }
.wt-caption {
  position: absolute; z-index: 2; inset-inline-start: var(--gutter); top: 50%; translate: 0 -50%;
  max-width: min(72vw, 13ch); pointer-events: none;
  font-family: var(--display); font-optical-sizing: auto; font-size: clamp(3rem, 1.4rem + 6.4vw, 8.5rem); line-height: .9;
  text-shadow: 0 2px 40px oklch(0.17 0.016 230 / 0.35);
}
html[lang="ar"] .wt-caption { font-weight: 500; line-height: 1.2; font-size: clamp(2.5rem, 1.2rem + 4.4vw, 6rem); }
.wt-cap { display: block; }
.wt-cap small { display: block; margin-bottom: 16px; font-size: .8125rem; letter-spacing: .1em; color: var(--on-dark-2); text-shadow: none; }
html.anim .wt-cap small { animation: fade-up .8s var(--ease-out) both; }
html.anim .wt-caption .wi { animation: word-rise 1.25s var(--ease-expo) both; animation-delay: calc(var(--i) * 70ms + 140ms); }
@keyframes word-rise { from { transform: translate3d(0, 110%, 0); } }
@keyframes fade-up { from { opacity: 0; translate: 0 14px; } }
.wt-hit { position: absolute; z-index: 1; top: 96px; bottom: 170px; width: 30%; }
.wt-hit-prev { inset-inline-start: 0; }
.wt-hit-next { inset-inline-end: 0; }
.wt-end {
  position: absolute; z-index: 2; inset: 0; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center;
  background: oklch(0.17 0.016 230 / 0.5);
}
.wt-end > * { pointer-events: auto; }
.wt-end .kicker { color: var(--henna-hi); }
.wt-end .display-lg { margin: 0 0 32px; }
.wt-end-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
html.anim .wt-end > * { animation: fade-up .9s var(--ease-expo) both; }
html.anim .wt-end > :nth-child(2) { animation-delay: .08s; }
html.anim .wt-end > :nth-child(3) { animation-delay: .16s; }
.wt-bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px var(--gutter) 28px; }
.wt-info .kicker { margin-bottom: 8px; color: var(--on-dark-2); }
.wt-info h2 { margin: 0 0 8px; font-family: var(--display); font-optical-sizing: auto; font-weight: 400; font-size: var(--d-sm); line-height: 1.02; }
html[lang="ar"] .wt-info h2 { font-weight: 500; line-height: 1.3; }
.wt-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--on-dark-2); }
.wt-price > .num:first-child { color: var(--on-dark); }
.wt-ctrl { display: flex; align-items: center; gap: 10px; }
.wt-ctrl .btn { margin-inline-start: 8px; }

/* ============ Detail page ============ */
.detail { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 14px; font-size: .875rem; color: var(--ink-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.detail-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.gallery-main img, .gallery-main video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-main video { opacity: 0; transition: opacity .9s var(--ease-out); }
.gallery-main.is-playing video { opacity: 1; }
.gallery-main::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at center, oklch(0.17 0.016 230 / 0.3), oklch(0.17 0.016 230 / 0) 45%),
    linear-gradient(to top, oklch(0.17 0.016 230 / 0.45), oklch(0.17 0.016 230 / 0) 32%);
}
.gallery-main > button, .gallery-main > span { z-index: 2; }
.play-full {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 14px; color: var(--on-dark);
  font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  text-shadow: 0 1px 14px oklch(0.17 0.016 230 / 0.7);
}
.play-full .play-dot { width: 84px; height: 84px; font-size: 24px; background: oklch(0.17 0.016 230 / 0.25); }
.play-full:hover .play-dot { background: var(--on-dark); color: var(--ink); transform: scale(1.06); }
.g-label { position: absolute; left: 16px; bottom: 14px; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); text-shadow: 0 1px 10px oklch(0.17 0.016 230 / 0.5); }
html[dir="rtl"] .g-label { left: auto; right: 16px; }
.g-expand { position: absolute; right: 8px; bottom: 6px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 18px; color: var(--on-dark); }
html[dir="rtl"] .g-expand { right: auto; left: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-expo), opacity .8s var(--ease-out); }
.thumb::after { content: ""; position: absolute; inset: 0; background: oklch(0.17 0.016 230 / 0.38); transition: opacity .35s var(--ease-out); }
.thumb:hover img { transform: scale(1.06); }
.thumb.is-active::after, .thumb:hover::after { opacity: 0; }
.thumb.is-active { outline: 2px solid var(--ink); outline-offset: 2px; }
.thumb > span { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 6px; font-size: .72rem; letter-spacing: .04em; text-align: start; color: var(--on-dark); text-shadow: 0 1px 6px oklch(0.17 0.016 230 / 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.info { position: sticky; top: calc(var(--header-h) + 24px); }
.info .badges { position: static; max-width: none; margin-bottom: 16px; }
.info .badge:not(.badge-sale):not(.badge-ready) { box-shadow: inset 0 0 0 1px var(--line-2); }
.info h1 { margin: 0 0 12px; }
.info-loc { margin: 0 0 22px; color: var(--ink-2); }
.info-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 1.75rem; }
.info-price > .num { font-weight: 500; letter-spacing: -0.02em; }
.info-price small { font-size: 1rem; color: var(--ink-2); }
.info-note { margin: 6px 0 24px; font-size: .875rem; color: var(--henna); }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 24px; border-block: 1px solid var(--line); }
.specs div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 16px 6px; text-align: center; }
.specs div + div { border-inline-start: 1px solid var(--line); }
.specs dd { margin: 0; font-size: 1.125rem; font-weight: 500; }
.specs dt { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .specs dt { font-size: .8125rem; }
.info-ctas { display: grid; gap: 10px; }
.info-ctas .btn { width: 100%; }
.info-mini { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 10px; font-size: .875rem; }
.info-mini button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.info-mini svg { font-size: 17px; }
.advisor { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px; background: var(--surface); font-size: .875rem; }
.advisor-av { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--gulf); color: var(--on-dark); }
.advisor p { margin: 0; }
.advisor strong { display: block; font-weight: 500; }
.advisor small { font-size: .8125rem; color: var(--ink-2); }
html.anim .detail-top .info > * { animation: fade-up .9s var(--ease-out) both; }
html.anim .detail-top .info > :nth-child(2) { animation-delay: .06s; }
html.anim .detail-top .info > :nth-child(3) { animation-delay: .12s; }
html.anim .detail-top .info > :nth-child(4) { animation-delay: .18s; }
html.anim .detail-top .info > :nth-child(n+5) { animation-delay: .24s; }

.detail-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(48px, 6vw, 80px); }
.d-block { padding: 32px 0; border-top: 1px solid var(--line); }
.d-block h2, .calc h2 { margin: 0 0 18px; font-family: var(--display); font-optical-sizing: auto; font-weight: 400; font-size: var(--d-sm); line-height: 1.05; }
html[lang="ar"] :is(.d-block h2, .calc h2) { font-weight: 500; line-height: 1.3; }
.d-lead { margin: 0 0 20px; max-width: 62ch; font-size: 1.125rem; line-height: 1.65; }
.d-original { margin: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); }
.d-original .kicker { margin: 0; color: var(--ink-2); }
.d-original [lang="ar"] { font-family: "Readex Pro", sans-serif; }
.d-list { columns: 2; column-gap: 36px; margin: 0; padding: 0; list-style: none; }
.d-list li { position: relative; break-inside: avoid; padding: 11px 0; padding-inline-start: 22px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.d-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 23px; width: 10px; height: 1px; background: var(--henna); }
.amen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.amen li { padding: 8px 14px; border: 1px solid var(--line-2); font-size: .875rem; }
.near { margin: 0; padding: 0; list-style: none; }
.near li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.near b { font-weight: 400; font-size: .875rem; white-space: nowrap; color: var(--gulf); }
.facts { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.facts th, .facts td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.facts th { width: 50%; padding-inline-end: 16px; font-weight: 400; color: var(--ink-2); }
.calc { margin-top: 12px; padding: 28px; background: var(--surface); }
.calc h2 { margin-bottom: 8px; }
.calc p { margin: 0 0 18px; font-size: .9375rem; color: var(--ink-2); }
.calc label { font-size: .9375rem; }
.calc input[type="range"] { width: 100%; height: 44px; margin: 6px 0 10px; accent-color: var(--gulf); }
.calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.calc-total { border-bottom: 0; font-weight: 500; }

/* ============ Motion system (gated by html.anim) ============ */
html.anim img.fade { opacity: 0; }
html.anim img.fade.is-loaded { opacity: 1; }

/* Headline words rise out of a mask */
html.anim [data-split]:not(.hero-title) .wi { transform: translate3d(0, 110%, 0); transition: transform 1.2s var(--ease-expo) calc(var(--i) * 60ms); }
html.anim [data-split].is-in:not(.hero-title) .wi { transform: none; }

/* Blocks fade up */
html.anim [data-reveal]:not([data-reveal="media"]) { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease-out) .1s, translate 1.2s var(--ease-expo) .1s; }
html.anim [data-reveal].is-in:not([data-reveal="media"]) { opacity: 1; translate: 0 0; }

/* Media unveils: the frame opens from the bottom while the picture settles */
html.anim [data-reveal="media"] { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-expo) var(--d, 0ms); }
html.anim [data-reveal="media"].is-in { clip-path: inset(0 0 0 0); }
:where(html.anim) :where([data-reveal="media"]) > :is(img, video) { scale: 1.16; }
:where(html.anim) :where([data-reveal="media"].is-in) > :is(img, video) { scale: 1; }

/* Lists and rails stagger in */
html.anim [data-reveal-stagger] > * { opacity: 0; translate: 0 30px; transition: opacity .9s var(--ease-out) var(--d, 0ms), translate 1.2s var(--ease-expo) var(--d, 0ms); }
html.anim [data-reveal-stagger].is-in > * { opacity: 1; translate: 0 0; }

/* Scroll-driven film moments, where supported */
@supports (animation-timeline: view()) {
  html.anim .hero-stage { animation: hero-parallax linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  html.anim .hero-copy { animation: hero-exit linear both; animation-timeline: view(); animation-range: exit 0% exit 55%; }
  html.anim .film-frame { animation: film-open linear both; animation-timeline: view(); animation-range: entry 5% cover 40%; }
  html.anim .film-frame > :is(img, video) { animation: film-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  html.anim .footer-mark { animation: mark-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
}
@keyframes hero-parallax { to { transform: translate3d(0, 24%, 0); } }
@keyframes hero-exit { to { opacity: 0; transform: translate3d(0, -6%, 0); } }
@keyframes film-open { from { clip-path: inset(8% var(--gutter)); } to { clip-path: inset(0 0); } }
@keyframes film-drift { from { transform: translate3d(0, -6%, 0) scale(1.14); } to { transform: translate3d(0, 6%, 0) scale(1.14); } }
@keyframes mark-rise { from { translate: 0 70%; } to { translate: 0 14%; } }

/* View transitions: card media morphs into the gallery; the page cross-fades */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  html.vt-route::view-transition-old(root) { animation: vt-out .3s cubic-bezier(.55, 0, 1, .45) both; }
  html.vt-route::view-transition-new(root) { animation: vt-in .65s cubic-bezier(.22, 1, .36, 1) .08s both; }
  ::view-transition-group(listing-media) { animation-duration: .85s; z-index: 10; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 18px; } }

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .rail-areas { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder-field { border-bottom: 1px solid var(--line); }
  .finder-go { min-height: 70px; }
}
@media (max-width: 900px) {
  .promo-links a { display: none; }
  .header-search { display: none; }
  .header-icons { margin-inline-start: auto; }
  .rail { grid-auto-columns: calc((100% - 20px) / 2); }
  .rail-areas { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .collection, .collection-lg { grid-row: auto; aspect-ratio: 16 / 11; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-rev .split-media { order: 0; }
  .band { grid-template-columns: 1fr; }
  .band-copy, html[dir="rtl"] .band-copy { box-shadow: none; padding: 48px var(--gutter) 8px; }
  .journal-feature { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .enquire { grid-template-columns: 1fr; }
  .enquire-media { min-height: 400px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .detail-top, .detail-body { grid-template-columns: 1fr; }
  .info { position: static; }
}
@media (max-width: 600px) {
  :root { --header-h: 60px; --promo-h: 36px; }
  .promo { justify-content: center; font-size: .75rem; }
  .promo-links { display: none; }
  .logo-word { font-size: 1.5rem; }
  .hero { min-height: 640px; }
  .hero-copy { padding-bottom: 156px; }
  .hero-ui { bottom: 70px; }
  .finder-wrap { margin-top: -40px; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder-field { padding: 12px 14px; }
  .finder-field:nth-child(2n) { border-inline-end: 0; }
  .finder-field:nth-child(5) { grid-column: 1 / -1; border-inline-end: 0; }
  .finder-go { grid-column: 1 / -1; min-height: 58px; }
  .rail-arrows { display: none; }
  .rail { grid-auto-columns: 80%; gap: 14px; }
  .rail-areas { grid-auto-columns: 44%; }
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .grid .card-media { aspect-ratio: 4 / 3; }
  .journal-grid { grid-template-columns: 1fr; }
  .enq-form { grid-template-columns: 1fr; }
  .svc-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; }
  .svc-list li > span:last-child { grid-column: 2; }
  .d-list { columns: 1; }
  .specs dd { font-size: 1rem; }
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .wa-float span { display: none; }
  .wt-bar em { display: none; }
  .wt-bottom { gap: 16px; }
  .wt-ctrl { width: 100%; }
  .wt-ctrl .btn { margin-inline-start: auto; }
  .play-full > span:last-child { display: none; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .thumb > span { font-size: 0; }
  .thumb > span .num { font-size: .72rem; }
  .film-copy { inset-inline-end: var(--gutter); }
  .band-track a { width: 150px; }
  .footer-cols { gap: 24px 16px; }
  .footer-news { padding: 44px var(--gutter); }
}
@media (hover: none) { .card-walk { display: none; } }

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

/* Smooth-scroll library hooks */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
