/* Hilalstay, direction A: "First Light".
   The page opens at blue hour and night and ends at dawn. */

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("/assets/fonts/Cairo-Variable.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* night */
  --ink-0: #070B16;
  --ink-1: #0B1120;
  --ink-2: #0F1629;
  --ink-3: #161E37;
  --ink-4: #1C2544;
  --blue-hour: #1A2140;
  /* moonlight */
  --moon: #F4EFE6;
  --moon-2: rgba(244, 239, 230, .8);
  --moon-3: rgba(244, 239, 230, .62);
  --line: rgba(244, 239, 230, .12);
  --line-2: rgba(244, 239, 230, .24);
  /* the one dawn accent */
  --accent: #F2A65A;
  --accent-hi: #F6BA7C;
  --accent-deep: #8C4614;
  /* dawn */
  --sand-0: #FFFCF7;
  --sand-1: #F8EEE1;
  --sand-2: #F3E2CB;
  --sand-3: #EECFA8;
  --sand-4: #E8C092;
  --ink-t: #0B1120;
  --ink-t2: #434C61;
  --line-l: rgba(11, 17, 32, .11);

  --font: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Cairo", "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  --gutter: clamp(20px, 4.2vw, 80px);
  --maxw: 1440px;
  --hdr: 76px;
  --strip: 0px;
  --hdr-total: calc(var(--hdr) + var(--strip));

  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 14px;

  --track-caps: .15em;
  --track-tight: -.026em;
  --track-mid: -.018em;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-film: cubic-bezier(.45, 0, .55, 1);
}

html[lang="ar"] {
  --track-caps: 0;
  --track-tight: 0;
  --track-mid: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink-1);
  scroll-padding-top: calc(var(--hdr-total) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html.smooth { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 420;
  color: var(--moon);
  background: var(--ink-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.8;
  font-weight: 450;
}
:lang(ar) { font-family: var(--font-ar); }
/* Arabic headings never go below 1.4 line height */
html[lang="ar"] :is(h3, h4, .pop-title, .sheet-h, .wordmark, .foot-word, .wb-label) { line-height: 1.5; }
html[lang="ar"] :lang(en) { font-family: var(--font); }

img, video, svg { display: block; max-width: 100%; }
img.is-missing { visibility: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
html.i18n-wait body { visibility: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[dir="rtl"] .flip { transform: scaleX(-1); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.proof :focus-visible,
.foot :focus-visible { outline-color: var(--ink-t); }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--moon);
  color: var(--ink-t);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* Shared small parts ---------------------------------------------------- */

.eyebrow {
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--moon-2);
}
html[lang="ar"] .eyebrow { font-size: 15px; font-weight: 600; text-transform: none; }
.eyebrow--warm { color: var(--accent); }

.marker {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1;
  color: var(--moon-2);
  white-space: nowrap;
}
html[lang="ar"] .marker { font-size: 12.5px; }
.marker--light { border-color: rgba(11, 17, 32, .26); color: #2A3142; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.25;
  background: var(--sand-2);
  color: var(--ink-t);
}
.tag--night {
  background: rgba(242, 166, 90, .14);
  color: #F7C694;
  box-shadow: inset 0 0 0 1px rgba(242, 166, 90, .32);
}

.h2 {
  font-size: clamp(2rem, 1.15rem + 1.85vw, 3.05rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}
html[lang="ar"] .h2 {
  font-size: clamp(1.7rem, 1.05rem + 1.45vw, 2.55rem);
  font-weight: 700;
  line-height: 1.45;
}
.lede {
  margin-top: 16px;
  font-size: clamp(1rem, .95rem + .22vw, 1.14rem);
  line-height: 1.6;
  color: var(--moon-2);
  max-width: 58ch;
  text-wrap: pretty;
}
html[lang="ar"] .lede { line-height: 1.85; }

.round-btn {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(11, 17, 32, .62);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .32);
  color: var(--moon);
  transition: background-color .2s, box-shadow .2s, opacity .2s;
}
.round-btn:hover { background: rgba(28, 37, 68, .9); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .55); }
.round-btn .icon { width: 18px; height: 18px; }
.round-btn--line { background: transparent; }
.round-btn--sm { width: 40px; height: 40px; }
.round-btn:disabled { opacity: .32; cursor: default; }
.round-btn:disabled:hover { background: transparent; box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .32); }
.i-play { display: none; }
.is-paused > .i-pause { display: none; }
.is-paused > .i-play { display: block; }

/* Header ----------------------------------------------------------------- */

.hdr {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  color: var(--moon);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.hdr.is-solid {
  background: var(--ink-1);
  box-shadow: 0 1px 0 var(--line);
}
.hdr-strip { display: none; }
.hdr-row {
  height: var(--hdr);
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.wordmark {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--moon);
  text-decoration: none;
  white-space: nowrap;
}
html[lang="ar"] .wordmark { font-size: 23px; font-weight: 750; letter-spacing: 0; }
/* The picked icon sits at the start of the typeset wordmark; the wordmark itself stays type. */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon { width: 36px; height: 36px; flex: none; }
.wordmark > span { display: block; }
.hdr-marker { margin-inline-start: 4px; }
.nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 520;
  color: var(--moon-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
html[lang="ar"] .nav a { font-size: 15.5px; font-weight: 550; }
.nav a:hover, .nav a.is-current { color: var(--moon); }
.hdr:not(.is-solid) .nav a,
.hdr:not(.is-solid) .hbtn,
.hdr:not(.is-solid) .hdr-marker { color: var(--moon); text-shadow: 0 1px 10px rgba(7, 11, 22, .6); }
.hdr:not(.is-solid) .hdr-marker { background: rgba(7, 11, 22, .32); border-color: rgba(244, 239, 230, .34); }
.nav a.is-current::after {
  content: "";
  position: absolute;
  inset-inline: 13px;
  bottom: 4px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
}
.hdr-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.moon + .hdr-actions { padding-inline-start: 14px; margin-inline-start: 4px; border-inline-start: 1px solid var(--line); }
.moon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  margin-inline-start: 2px;
}
.moon svg { width: 24px; height: 24px; overflow: visible; }
.moon-disk { fill: rgba(244, 239, 230, .08); stroke: rgba(244, 239, 230, .4); stroke-width: 1; }
.moon-lit { fill: var(--moon); filter: drop-shadow(0 0 3px rgba(244, 239, 230, .45)); }
.hbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 560;
  color: var(--moon);
  white-space: nowrap;
  transition: background-color .2s, box-shadow .2s;
}
.hbtn .icon { width: 18px; height: 18px; }
.hbtn:hover { background: rgba(244, 239, 230, .08); }
.hbtn--line { box-shadow: inset 0 0 0 1px var(--line-2); }
.hbtn--line:hover { box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .5); }
.hbtn--menu { display: none; width: 44px; padding: 0; justify-content: center; }
.hbtn--menu .icon { width: 22px; height: 22px; }
.js-lang-label:lang(ar) { font-size: 15.5px; }

.signin-note {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: max-content;
  max-width: 260px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--moon);
  color: var(--ink-t);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink-0);
  color: var(--moon);
}
.film {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink-0);
}
.film-poster,
.film-clip {
  position: absolute;
  left: 0;
  /* static framing per clip: --lift raises a clip whose subject sits low, under the headline */
  --lift: var(--lift-d, 0);
  top: calc(var(--lift) * -100%);
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.film-poster[style*="--lift"],
.film-clip[style*="--lift"] {
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, #000 86%, transparent);
}
.film-clip {
  opacity: 0;
  z-index: 1;
  transition: opacity 1.4s var(--ease-film);
}
/* once the film has faded in over the poster, the poster steps aside, so a raised clip rests on night ink, never on another place */
.film:has(.film-clip.is-on) .film-poster { visibility: hidden; transition: visibility 0s linear 1.6s; }
.film-clip.is-top { z-index: 2; }
.film-clip.is-on { opacity: 1; }
.film-clip.is-instant { transition: none; }

/* Graded scrim: keeps the header, the lower third and the search legible over any frame. */
.scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7, 11, 22, .58) 0, rgba(7, 11, 22, .34) 64px, rgba(7, 11, 22, .1) 128px, rgba(7, 11, 22, 0) 190px),
    linear-gradient(to top, rgba(7, 11, 22, .86) 0%, rgba(7, 11, 22, .66) 20%, rgba(7, 11, 22, .42) 38%, rgba(7, 11, 22, .22) 52%, rgba(7, 11, 22, .06) 64%, rgba(7, 11, 22, 0) 74%),
    linear-gradient(to right, rgba(7, 11, 22, .3) 0%, rgba(7, 11, 22, .06) 40%, rgba(7, 11, 22, 0) 56%);
}
[dir="rtl"] .scrim {
  background:
    linear-gradient(to bottom, rgba(7, 11, 22, .58) 0, rgba(7, 11, 22, .34) 64px, rgba(7, 11, 22, .1) 128px, rgba(7, 11, 22, 0) 190px),
    linear-gradient(to top, rgba(7, 11, 22, .86) 0%, rgba(7, 11, 22, .66) 20%, rgba(7, 11, 22, .42) 38%, rgba(7, 11, 22, .22) 52%, rgba(7, 11, 22, .06) 64%, rgba(7, 11, 22, 0) 74%),
    linear-gradient(to left, rgba(7, 11, 22, .3) 0%, rgba(7, 11, 22, .06) 40%, rgba(7, 11, 22, 0) 56%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  padding-top: calc(var(--hdr-total) + 40px);
  padding-bottom: clamp(20px, 4.4vh, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  grid-template-areas:
    "eyebrow ctrl"
    "title sub"
    "search search";
  column-gap: clamp(32px, 5vw, 96px);
  align-items: end;
}

.film-ctrl {
  grid-area: ctrl;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}
.now-showing {
  min-width: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(244, 239, 230, .9);
  text-shadow: 0 1px 14px rgba(7, 11, 22, .7);
  transition: opacity .45s ease;
}
.now-showing b { font-weight: 650; color: var(--moon); }
.now-showing.is-swapping { opacity: 0; }
.text-btn {
  margin-inline-start: auto;
  min-height: 40px;
  padding: 0 2px;
  font-size: 13.5px;
  font-weight: 560;
  color: rgba(244, 239, 230, .92);
  text-shadow: 0 1px 14px rgba(7, 11, 22, .7);
  text-decoration: underline;
  text-decoration-color: rgba(244, 239, 230, .4);
  text-underline-offset: 4px;
  white-space: nowrap;
}
.text-btn:hover { color: var(--moon); text-decoration-color: currentColor; }

.hero-copy { display: contents; }
.hero-copy .eyebrow { grid-area: eyebrow; align-self: center; margin-bottom: 14px; color: var(--moon); text-shadow: 0 1px 14px rgba(7, 11, 22, .7); }
.hero h1 { grid-area: title; align-self: end; }
.hero h1 {
  font-size: clamp(2.5rem, 1.05rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.034em;
  max-width: 14.5em;
  text-wrap: balance;
}
html[lang="ar"] .hero h1 {
  font-size: clamp(2.15rem, 1rem + 2.75vw, 3.7rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0;
  max-width: 15em;
}
.hero-sub {
  grid-area: sub;
  align-self: end;
  font-size: 16px;
  line-height: 1.6;
  color: var(--moon-2);
  text-wrap: pretty;
  padding-bottom: 6px;
}
html[lang="ar"] .hero-sub { font-size: 16.5px; line-height: 1.85; padding-bottom: 2px; }

.search-zone {
  grid-area: search;
  margin-top: clamp(22px, 4vh, 36px);
  outline: none;
}

/* Search panel: solid, dark, no glass. */
.search {
  position: relative;
  background: var(--ink-2);
  border-radius: var(--r-xl);
  padding: 10px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75);
}
.trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}
[dir="rtl"] .trace { transform: scaleX(-1); }
.trace path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tr-rest { stroke: rgba(242, 166, 90, .36); stroke-width: 1; }
.tr-glow { stroke: rgba(242, 166, 90, .7); stroke-width: 7; opacity: 0; filter: blur(5px); }
.tr-1 { stroke: #F2A65A; stroke-width: 1.25; opacity: 0; }
.tr-2 { stroke: #F8C48F; stroke-width: 2.1; opacity: 0; }
.tr-3 { stroke: #FFF1E0; stroke-width: 2.9; opacity: 0; }

.sf-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr) minmax(0, 1.25fr) auto;
  align-items: stretch;
}
.sf { position: relative; min-width: 0; }
.sf-dates {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
}
.sf-dates > .sf + .sf,
.sf-row > .sf-dates,
.sf-row > .sf--guests {
  border-inline-start: 1px solid var(--line);
}
.sf--where {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 14px;
  transition: background-color .2s;
}
.sf--where:hover, .sf--where:focus-within { background: rgba(244, 239, 230, .05); }
.sf-label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--moon-2);
  letter-spacing: .01em;
}
html[lang="ar"] .sf-label { font-size: 13.5px; letter-spacing: 0; }
.sf-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.sf-control .icon { width: 18px; height: 18px; color: var(--accent); }
.sf-input {
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
  font-weight: 560;
  color: var(--moon);
}
.sf-input::placeholder { color: rgba(244, 239, 230, .58); font-weight: 450; }
.sf--where:has(.sf-input:focus-visible) { box-shadow: inset 0 0 0 2px var(--accent); }

.sf-btn {
  width: 100%;
  height: 100%;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 14px;
  text-align: start;
  transition: background-color .2s;
}
.sf-btn:hover { background: rgba(244, 239, 230, .05); }
.sf-btn[aria-expanded="true"] { background: rgba(244, 239, 230, .08); }
.sf-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.sf-value {
  display: block;
  max-width: 100%;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.3;
  color: var(--moon);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.sf-value.is-empty { color: rgba(244, 239, 230, .58); font-weight: 450; }
.is-picking .sf-btn[data-active="true"] { background: rgba(242, 166, 90, .12); box-shadow: inset 0 0 0 1px rgba(242, 166, 90, .45); }

.sf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  margin-inline-start: 8px;
  padding: 0 28px;
  border-radius: 15px;
  background: var(--accent);
  color: var(--ink-t);
  font-size: 16.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.sf-submit .icon { width: 19px; height: 19px; stroke-width: 2; }
.sf-submit:hover { background: var(--accent-hi); }
.sf-submit:active { transform: scale(.98); }
.sf-submit:focus-visible { outline-color: var(--moon); }

.musthaves {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  margin-top: 8px;
  padding: 12px 10px 4px;
  border-top: 1px solid var(--line);
}
.mh-label {
  flex: none;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--moon-2);
}
html[lang="ar"] .mh-label { font-size: 13.5px; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px 0 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px;
  font-weight: 540;
  line-height: 1.2;
  color: var(--moon);
  white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
html[lang="ar"] .chip { font-size: 14.5px; }
.chip .icon { width: 17px; height: 17px; color: var(--moon-2); transition: color .2s; }
.chip:hover { background: rgba(244, 239, 230, .07); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .45); }
.chip[aria-pressed="true"] {
  background: var(--moon);
  color: var(--ink-t);
  box-shadow: inset 0 0 0 1px var(--moon);
}
.chip[aria-pressed="true"] .icon { color: var(--ink-t); }

/* Messages: field errors and the next-stage notice live in a row inside the panel */
.search-msgs { display: none; }
.search.has-msgs .search-msgs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 6px;
  padding: 12px 10px 4px;
  border-top: 1px solid var(--line);
}
.sf-error,
.search-status:not(:empty) {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--moon);
}
.sf-error[hidden] { display: none; }
.sf-error .icon,
.search-status .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.search-status .icon { color: var(--moon-2); }
.search-status:not(:empty) { font-weight: 520; color: var(--moon-2); }
.search-status:not(:empty) span { color: var(--moon); }
.search-status:empty { display: none; }
.sf--where:has(.sf-input[aria-invalid="true"]) .sf-label,
.sf-btn[aria-invalid="true"] .sf-label { color: var(--accent); }
.sf--where:has(.sf-input[aria-invalid="true"]),
.sf-btn[aria-invalid="true"] { box-shadow: inset 0 -2px 0 var(--accent); }

/* Popovers */
.pop {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 14px);
  background: var(--ink-2);
  color: var(--moon);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 28px 70px -24px rgba(0, 0, 0, .85);
  animation: pop-in .18s var(--ease-out);
}
.pop.is-down { bottom: auto; top: calc(100% + 14px); }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pop-title { font-size: 15px; font-weight: 650; margin-bottom: 4px; }

.pop--where {
  inset-inline-start: 0;
  width: max(100%, 380px);
  max-height: min(380px, 52vh);
  overflow: auto;
  padding: 8px;
  overscroll-behavior: contain;
}
.where-list { display: grid; gap: 2px; }
.where-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 7px 10px;
  border-radius: 12px;
  cursor: pointer;
}
.where-opt[aria-selected="true"], .where-opt:hover { background: rgba(244, 239, 230, .08); }
.where-opt .wo-ico {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--ink-4);
  color: var(--moon-2);
}
.where-opt .wo-ico .icon { width: 18px; height: 18px; }
.wo-name { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.wo-country { display: block; font-size: 13.5px; color: var(--moon-3); line-height: 1.3; }
.where-empty { padding: 14px 12px; font-size: 14.5px; color: var(--moon-2); }

.pop--cal {
  inset-inline-start: 0;
  width: 680px;
  max-width: calc(100vw - 2 * var(--gutter));
  padding: 16px 20px 20px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.cal-nav {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--moon);
}
.cal-nav:hover { background: rgba(244, 239, 230, .08); }
.cal-nav:disabled { opacity: .3; cursor: default; background: none; }
.cal-title { font-size: 14px; font-weight: 650; color: var(--accent); }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cal-month h4 { text-align: center; font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-grid th {
  padding: 4px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--moon-3);
  text-align: center;
}
.cal-grid td { padding: 2px 0; text-align: center; }
.day {
  width: 40px;
  height: 40px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 520;
  font-variant-numeric: tabular-nums;
  color: var(--moon);
  position: relative;
  z-index: 1;
}
.day:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .55); }
.day:disabled { color: rgba(244, 239, 230, .26); cursor: default; }
.day.is-today { box-shadow: inset 0 0 0 1px var(--line-2); }
.day.is-sel { background: var(--accent); color: var(--ink-t); font-weight: 700; box-shadow: none; }
.day:focus-visible { outline-offset: 1px; }
td.in-range { background: rgba(242, 166, 90, .15); }
td.range-start { background: linear-gradient(to right, transparent 50%, rgba(242, 166, 90, .15) 50%); }
td.range-end { background: linear-gradient(to left, transparent 50%, rgba(242, 166, 90, .15) 50%); }
[dir="rtl"] td.range-start { background: linear-gradient(to left, transparent 50%, rgba(242, 166, 90, .15) 50%); }
[dir="rtl"] td.range-end { background: linear-gradient(to right, transparent 50%, rgba(242, 166, 90, .15) 50%); }
td.range-start.range-end { background: none; }

.pop--guests {
  inset-inline-end: 0;
  width: 370px;
  max-width: calc(100vw - 2 * var(--gutter));
  padding: 18px 20px 16px;
}
.gp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.gp-name { font-size: 15.5px; font-weight: 600; }
.gp-hint { font-size: 13px; color: var(--moon-3); margin-top: 2px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.step {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--moon);
  transition: box-shadow .2s, background-color .2s;
}
.step .icon { width: 18px; height: 18px; }
.step:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .6); }
.step:disabled { opacity: .3; cursor: default; }
.step-val { min-width: 2ch; text-align: center; font-size: 16.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.gp-ages { display: grid; gap: 10px; }
.gp-ages:not(:empty) { padding: 12px 0; border-bottom: 1px solid var(--line); }
.age-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.age-row label { font-size: 14.5px; color: var(--moon-2); }
.select-wrap { position: relative; flex: none; }
.select-wrap .icon {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--moon-2);
}
.age-select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 156px;
  height: 42px;
  padding-inline: 12px 34px;
  border-radius: 10px;
  border: 0;
  background: var(--ink-4);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--moon);
  font-size: 15px;
  font-weight: 520;
}
.age-select.is-empty { color: rgba(244, 239, 230, .6); font-weight: 450; }
.age-select[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.age-select option { background: var(--ink-2); color: var(--moon); }
.pop-foot { display: flex; justify-content: flex-end; padding-top: 14px; }
.btn-done {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--moon);
  color: var(--ink-t);
  font-weight: 700;
  font-size: 15px;
}
.btn-done:hover { background: #fff; }

/* After "See stays", the chosen destination is briefly lit where it landed in the search. */
.search-zone.is-arrived .sf--where { animation: arrived 1.6s var(--ease-out) 1; }
@keyframes arrived {
  0% { box-shadow: inset 0 0 0 1.5px rgba(242, 166, 90, 0); background: rgba(242, 166, 90, 0); }
  25% { box-shadow: inset 0 0 0 1.5px rgba(242, 166, 90, .9); background: rgba(242, 166, 90, .1); }
  100% { box-shadow: inset 0 0 0 1.5px rgba(242, 166, 90, 0); background: rgba(242, 166, 90, 0); }
}
html.motion-paused .search-zone.is-arrived .sf--where { animation: none; }

/* Phone entry bar (hidden on larger screens) */
.where-bar { display: none; }

/* Destinations: night ------------------------------------------------------ */

.dest {
  --rail-pad: max(var(--gutter), (100vw - var(--maxw)) / 2);
  position: relative;
  padding-block: clamp(80px, 9vw, 136px) clamp(48px, 5vw, 80px);
  background: var(--ink-1);
  color: var(--moon);
}
.dest-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.dest-intro { max-width: 760px; }
.rail-nav { display: flex; gap: 10px; flex: none; }

.rail {
  display: flex;
  gap: clamp(14px, 1.3vw, 22px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--rail-pad);
  padding-inline: var(--rail-pad);
  padding-block: 8px 18px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.tile {
  position: relative;
  flex: 0 0 auto;
  width: clamp(236px, 20.5vw, 318px);
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-3);
  scroll-snap-align: start;
  isolation: isolate;
}
.tile-media,
.tile-media img,
.tile-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.tile-media img { transition: transform 1.2s var(--ease-out), filter .6s ease; }
.tile-media video { opacity: 0; transition: opacity .6s ease; }
.tile.is-playing .tile-media video { opacity: 1; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 11, 22, .86) 0%, rgba(7, 11, 22, .6) 24%, rgba(7, 11, 22, .14) 46%, rgba(7, 11, 22, 0) 58%);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .1);
  transition: box-shadow .3s;
}
.tile:hover::before, .tile.is-playing::before { box-shadow: inset 0 0 0 1px rgba(242, 166, 90, .55); }
.tile-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 22px 20px;
}
.tile-country {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--moon-2);
  margin-bottom: 6px;
}
html[lang="ar"] .tile-country { font-size: 13.5px; text-transform: none; }
.tile-name {
  font-size: clamp(24px, 1.2rem + .5vw, 29px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--track-mid);
}
html[lang="ar"] .tile-name { line-height: 1.45; font-weight: 700; }
.tile-hook {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--moon-2);
  text-wrap: pretty;
}
html[lang="ar"] .tile-hook { line-height: 1.7; }
.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 14px;
  min-height: 32px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--moon);
  text-decoration: none;
}
.tile-cta .icon { width: 17px; height: 17px; color: var(--accent); transition: transform .3s var(--ease-out); }
.tile-cta::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: 16px; }
.tile-cta:focus-visible { outline: none; }
.tile-cta:focus-visible::after { box-shadow: inset 0 0 0 2px var(--accent); }
.tile:hover .tile-cta span, .tile-cta:focus-visible span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }

/* The one photo tile (no footage exists) answers interest with a slow push-in instead of a film. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-paused) .tile--still .tile-media img { transition: transform 6s cubic-bezier(.2, .6, .2, 1); }
  html:not(.motion-paused) .tile--still:hover .tile-media img,
  html:not(.motion-paused) .tile--still:focus-within .tile-media img { transform: scale(1.07); }
}
.tile--still:hover::before, .tile--still:focus-within::before { box-shadow: inset 0 0 0 1px rgba(242, 166, 90, .55); }
.tile-toggle {
  position: absolute;
  z-index: 5;
  top: 12px;
  inset-inline-end: 12px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.tile.is-playing .tile-toggle,
.tile.is-starting .tile-toggle,
.tile.is-user-paused .tile-toggle {
  visibility: visible;
  opacity: 1;
  transition: opacity .25s ease, visibility 0s;
}

/* Credit on the photo tiles (CC BY-SA): small, readable, above the tile's own link layer */
.tile-credit {
  position: absolute;
  z-index: 5;
  top: 12px;
  inset-inline-start: 12px;
  max-width: calc(100% - 24px);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 11, 22, .74);
  color: var(--moon);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(244, 239, 230, .45);
  text-underline-offset: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile-credit:hover { text-decoration-color: currentColor; }

/* Route map: real land as moonlight dots, routes in dawn amber ---------------- */

.atlas {
  position: relative;
  padding-block: clamp(8px, 1.6vw, 28px) clamp(64px, 7vw, 112px);
  background:
    radial-gradient(60% 46% at 38% 58%, rgba(40, 54, 102, .32), rgba(40, 54, 102, 0) 70%),
    linear-gradient(to bottom, var(--ink-1) 0%, #0E1528 45%, #10172C 100%);
  color: var(--moon);
}
.atlas-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: clamp(18px, 2.2vw, 34px);
  font-size: clamp(1.55rem, .95rem + 1.35vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: var(--track-tight);
}
html[lang="ar"] .atlas-title { font-size: clamp(1.4rem, .9rem + 1.1vw, 2rem); font-weight: 700; line-height: 1.5; }
.atlas-from { color: var(--moon-2); cursor: pointer; }
.origin-wrap { position: relative; display: inline-flex; align-items: center; }
.origin-select {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding-block: 0 4px;
  padding-inline: 0 1.15em;
  border: 0;
  border-bottom: 2px solid rgba(242, 166, 90, .7);
  border-radius: 0;
  background: transparent;
  color: var(--moon);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  cursor: pointer;
}
.origin-select:hover { border-bottom-color: var(--accent); }
.origin-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.origin-select option { background: var(--ink-2); color: var(--moon); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.origin-wrap .icon {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  width: .62em;
  height: .62em;
  margin-top: -.36em;
  color: var(--accent);
  pointer-events: none;
}

.atlas-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(300px, 1fr);
  gap: clamp(28px, 3.2vw, 56px);
  align-items: start;
}
.atlas-stage {
  position: relative;
  aspect-ratio: 1000 / 614.61;
  direction: ltr;
}
.atlas-land {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: .5;
  /* the far north fades: the routes, not the Arctic, are the subject */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .85) 16%, #000 26%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .85) 16%, #000 26%);
}
.atlas-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
  --k: 1;
}
.atlas-arc {
  fill: none;
  stroke: var(--accent);
  stroke-width: calc(1.35px / var(--k));
  stroke-linecap: round;
  opacity: .4;
  transition: opacity .6s ease, stroke-width .3s ease;
}
.atlas-arc.is-drawing { opacity: .95; transition: none; }
.atlas-grid.has-hot .atlas-arc { opacity: .13; }
.atlas-grid.has-hot .atlas-arc.is-hot { opacity: 1; stroke-width: calc(2.2px / var(--k)); filter: url(#ag-glow); }
.atlas-head { fill: url(#ag-head); }

.atlas-marks { position: absolute; inset: 0; }
.am { position: absolute; width: 0; height: 0; }
.am-dot {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moon);
  box-shadow: 0 0 0 2px rgba(242, 166, 90, .55), 0 0 12px 3px rgba(242, 166, 90, .32);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
}
.am-hit { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.am-label {
  position: absolute;
  padding: 1px 3px;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(244, 239, 230, .86);
  text-shadow: 0 0 6px #0B1120, 0 0 3px #0B1120, 0 0 1px #0B1120;
  cursor: pointer;
  unicode-bidi: plaintext;
  transition: color .2s ease;
}
html[lang="ar"] .am-label { font-family: var(--font-ar); font-size: 12.5px; line-height: 1.3; }
.atlas-marks .am .am-label.is-placed { right: auto; bottom: auto; transform: none; }
.am[data-a="r"] .am-label { left: 8px; top: 0; transform: translateY(-50%); }
.am[data-a="l"] .am-label { right: 8px; top: 0; transform: translateY(-50%); }
.am[data-a="t"] .am-label { left: 0; bottom: 7px; transform: translateX(-50%); }
.am[data-a="b"] .am-label { left: 0; top: 7px; transform: translateX(-50%); }
.am[data-a="tr"] .am-label { left: 5px; bottom: 5px; }
.am[data-a="tl"] .am-label { right: 5px; bottom: 5px; }
.am[data-a="br"] .am-label { left: 5px; top: 5px; }
.am[data-a="bl"] .am-label { right: 5px; top: 5px; }
.am.is-hot .am-dot { transform: scale(1.3); box-shadow: 0 0 0 2.5px var(--accent), 0 0 18px 6px rgba(242, 166, 90, .55); }
.am.is-hot .am-label { color: #FFFFFF; }
.am.is-lit .am-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: am-lit 1s var(--ease-out) forwards;
}
@keyframes am-lit { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.3); opacity: 0; } }
.am--origin { z-index: 2; }
.am--origin .am-dot {
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  background: var(--moon);
  box-shadow: 0 0 0 5px rgba(244, 239, 230, .16), 0 0 24px 7px rgba(244, 239, 230, .4);
}
.am--origin .am-hit { cursor: default; }
.am--origin .am-label { color: var(--moon); font-weight: 700; font-size: 13.5px; cursor: default; }
.am.is-here { display: none; }

.atlas-side { min-width: 0; }
.atlas-list-label {
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--moon-2);
}
html[lang="ar"] .atlas-list-label { font-size: 14.5px; text-transform: none; }
.atlas-list { margin-top: 12px; border-top: 1px solid var(--line); }
.al-item { border-bottom: 1px solid var(--line); }
.al-row {
  position: relative;
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  text-align: start;
  color: var(--moon);
  transition: background-color .2s ease;
}
.al-row:hover, .al-item.is-hot .al-row { background: rgba(244, 239, 230, .06); }
.al-row:focus-visible { outline-offset: -2px; }
.al-item.is-hot .al-row::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.al-name { flex: none; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.al-country {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--moon-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.al-dist {
  flex: none;
  margin-inline-start: auto;
  font-size: 13px;
  line-height: 1.35;
  color: var(--moon-2);
  font-variant-numeric: tabular-nums;
}
html[lang="ar"] .al-name, html[lang="ar"] .al-country, html[lang="ar"] .al-dist { line-height: 1.6; }
.atlas-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--moon-3); }
html[lang="ar"] .atlas-note { line-height: 1.8; }

.atlas-card {
  position: absolute;
  z-index: 20;
  width: 300px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink-2);
  color: var(--moon);
  text-align: start;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 34px 70px -26px rgba(0, 0, 0, .9);
}
@media (prefers-reduced-motion: no-preference) {
  .atlas-card.is-floating:not([hidden]) { animation: pop-in .18s var(--ease-out); }
}
.ac-media { position: relative; aspect-ratio: 16 / 9; background: var(--ink-3); }
.ac-media img,
.ac-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.ac-media video { opacity: 0; transition: opacity .5s ease; }
.ac-media.is-playing video { opacity: 1; }
.ac-credit {
  position: absolute;
  z-index: 2;
  inset-inline-start: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(7, 11, 22, .76);
  color: var(--moon);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(244, 239, 230, .45);
  text-underline-offset: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-body { padding: 14px 16px 16px; }
.ac-country {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--moon-2);
}
html[lang="ar"] .ac-country { font-size: 13px; text-transform: none; }
.ac-name { margin-top: 3px; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: var(--track-mid); }
html[lang="ar"] .ac-name { line-height: 1.5; font-weight: 700; }
.ac-hook { margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--moon-2); }
html[lang="ar"] .ac-hook { line-height: 1.7; }
.ac-meta { display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ac-meta li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; line-height: 1.4; color: var(--moon); font-variant-numeric: tabular-nums; }
.ac-meta .icon { width: 16px; height: 16px; color: var(--accent); }
html[lang="ar"] .ac-meta li { line-height: 1.6; }
.ac-method { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--moon-3); }
html[lang="ar"] .ac-method { font-size: 12.5px; line-height: 1.7; }
.ac-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--moon);
  text-decoration: none;
}
.ac-cta .icon { width: 17px; height: 17px; color: var(--accent); }
.ac-cta:hover span, .ac-cta:focus-visible span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
/* inline (accordion) version of the card, below its row */
.atlas-card.is-inline { position: static; width: auto; margin: 2px 0 12px; }

/* Umrah: blue hour before Fajr -------------------------------------------- */

.umrah {
  position: relative;
  padding-block: clamp(48px, 5vw, 84px) clamp(56px, 5vw, 88px);
  background: linear-gradient(to bottom, #10172C 0%, #151C36 55%, var(--blue-hour) 100%);
  color: var(--moon);
}
.umrah-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr);
  gap: clamp(36px, 5.5vw, 96px);
  align-items: center;
}
.umrah-copy .eyebrow { margin-bottom: 16px; }

.walk {
  margin-top: clamp(28px, 3vw, 40px);
  padding: 22px 24px 10px;
  border-radius: var(--r-xl);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0, 0, 0, .8);
  --namecol: 142px;
}
.walk-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}
.walk-title { font-size: 16.5px; font-weight: 650; line-height: 1.35; }
.walk-filter { margin-top: 16px; }
.chip--small { min-height: 36px; font-size: 13.5px; }
.walk-scale {
  display: grid;
  grid-template-columns: var(--namecol) 1fr;
  align-items: end;
  margin-top: 18px;
  padding-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--moon-3);
  font-variant-numeric: tabular-nums;
}
.ws-haram { display: inline-flex; align-items: center; gap: 6px; color: var(--moon-2); }
.ws-haram .icon { width: 16px; height: 16px; color: var(--accent); }
.ws-ticks { display: flex; justify-content: space-between; }
.ws-ticks span { width: 0; display: flex; justify-content: center; }
.walk-list { margin: 0; }
.walk-row {
  display: grid;
  grid-template-columns: var(--namecol) 1fr;
  grid-template-areas: "name bar" "meta meta";
  align-items: center;
  gap: 8px 0;
  padding: 14px 0 14px;
  border-top: 1px solid var(--line);
  transition: opacity .35s ease;
}
.walk-row.is-out { opacity: .34; }
.walk-name { grid-area: name; }
.walk-hotel { display: block; font-size: 15px; font-weight: 650; line-height: 1.3; }
.walk-min { display: block; font-size: 13.5px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.walk-bar { grid-area: bar; position: relative; height: 24px; }
.walk-bar::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: rgba(244, 239, 230, .1);
}
.walk-fill {
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  width: calc(var(--v) * 100%);
  border-radius: 4px;
  background: linear-gradient(to right, rgba(242, 166, 90, .45), var(--accent));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .9s var(--ease-out);
}
[dir="rtl"] .walk-fill { transform-origin: right center; background: linear-gradient(to left, rgba(242, 166, 90, .45), var(--accent)); }
.walk-dot {
  position: absolute;
  top: 50%;
  inset-inline-start: calc(var(--v) * 100%);
  width: 14px;
  height: 14px;
  margin-top: -7px;
  margin-inline-start: -7px;
  border-radius: 999px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 3px var(--accent);
  opacity: 0;
  transition: opacity .3s ease .7s;
}
.walk.is-drawn .walk-fill { transform: scaleX(1); }
.walk.is-drawn .walk-dot { opacity: 1; }
.walk.is-drawn .walk-row:nth-child(2) .walk-fill { transition-delay: .1s; }
.walk.is-drawn .walk-row:nth-child(3) .walk-fill { transition-delay: .2s; }
.walk-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13.5px;
  color: var(--moon-2);
}
.walk-meta span { display: inline-flex; align-items: center; gap: 7px; }
.walk-meta .icon { width: 16px; height: 16px; color: var(--moon-3); }

.umrah-media {
  position: relative;
  aspect-ratio: 1 / .92;
}
.frame {
  position: absolute;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink-3);
  isolation: isolate;
}
.frame--a {
  inset-inline-end: 0;
  top: 0;
  width: 86%;
  height: 78%;
}
.frame--b {
  inset-inline-start: 0;
  bottom: 0;
  width: 40%;
  height: 54%;
  box-shadow: 0 0 0 6px #141B35, 0 30px 60px -30px rgba(0, 0, 0, .9);
  z-index: 2;
}
.frame-media,
.frame-media img,
.frame-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.frame-media video { opacity: 0; transition: opacity .8s ease; }
.frame.is-playing .frame-media video { opacity: 1; }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 11, 22, .72) 0%, rgba(7, 11, 22, .3) 20%, rgba(7, 11, 22, 0) 38%);
}
.frame-cap {
  position: absolute;
  z-index: 2;
  inset-inline: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.frame--a .frame-cap { inset-inline-start: auto; inset-inline-end: 18px; align-items: flex-end; text-align: end; }
.fc-name { font-size: 18px; font-weight: 650; line-height: 1.25; }
.fc-country { font-size: 13px; color: var(--moon-2); }
html[lang="ar"] .fc-name { font-size: 19px; line-height: 1.5; }
.frame-toggle {
  position: absolute;
  z-index: 3;
  top: 14px;
  inset-inline-end: 14px;
}

/* Proof: first light ---------------------------------------------------- */

.proof {
  position: relative;
  color: var(--ink-t);
  padding-bottom: clamp(56px, 6vw, 96px);
  background: linear-gradient(to bottom, var(--sand-1) 0%, #F7EADA 55%, var(--sand-2) 100%);
}
/* The dawn horizon: the sky warms from blue hour to first light. */
.horizon {
  position: relative;
  height: clamp(220px, 19vw, 300px);
  background: linear-gradient(to bottom,
    var(--blue-hour) 0%,
    #2A2C4B 16%,
    #4A3D5D 32%,
    #855C6C 48%,
    #C3846F 63%,
    #E6AE89 76%,
    #F3D3B2 88%,
    var(--sand-1) 100%);
  overflow: hidden;
}
.horizon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1500px, 170vw);
  height: 150%;
  transform: translate(-50%, 50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 238, 218, .55), rgba(255, 222, 190, .22) 45%, rgba(255, 214, 176, 0) 75%);
  pointer-events: none;
}
/* Scroll-linked sunrise: the glow rises as the horizon scrolls into view (static where unsupported). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .horizon { view-timeline-name: --horizon; }
    html:not(.motion-paused) .horizon::after {
      animation: sunrise linear both;
      animation-timeline: --horizon;
      animation-range: entry 10% cover 55%;
    }
  }
}
@keyframes sunrise {
  from { transform: translate(-50%, 80%); opacity: .3; }
  to { transform: translate(-50%, 50%); opacity: 1; }
}
.proof > .wrap { position: relative; margin-top: clamp(-48px, -2.6vw, -20px); }
.proof-head { max-width: 780px; }
.proof .lede { color: var(--ink-t2); }

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  margin-top: clamp(32px, 3.4vw, 52px);
}
.sheet-card {
  padding: 26px 28px 8px;
  border-radius: var(--r-xl);
  background: var(--sand-0);
  box-shadow: 0 0 0 1px rgba(91, 58, 26, .08), 0 40px 70px -40px rgba(91, 58, 26, .38);
}
.sheet-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-l);
}
.sheet-title { font-size: 20px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
html[lang="ar"] .sheet-title { letter-spacing: 0; line-height: 1.6; }
.fact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, auto) minmax(0, 1.1fr);
  align-items: center;
  gap: 8px 20px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-l);
  border-radius: 10px;
  transition: background-color .2s;
}
.fact:last-child { border-bottom: 0; }
.fact.is-hl { background: rgba(242, 166, 90, .1); }
.fact-name { font-size: 16px; font-weight: 650; line-height: 1.35; }
.fact-detail { font-size: 14px; line-height: 1.45; color: var(--ink-t2); font-variant-numeric: tabular-nums; }
html[lang="ar"] .fact-name { line-height: 1.6; }
html[lang="ar"] .fact-detail { line-height: 1.7; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  min-height: 30px;
  padding: 3px 12px 3px 9px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}
.badge .icon { width: 16px; height: 16px; }
.badge--verified { background: #E2EFE6; color: #1C573E; }
.badge--audited { background: transparent; color: #1C573E; box-shadow: inset 0 0 0 1.25px #2D7353; }
.badge--hotel_says { background: #E7E9F1; color: #2C3754; }
.badge--guests_confirm { background: transparent; color: #2C3754; box-shadow: inset 0 0 0 1.25px #56607A; }
.badge--on_request { background: #FBE6CF; color: #844110; }
.badge--not_available { background: #F6DFDA; color: #8A2E24; }
.badge--unknown { background: transparent; color: #4A4F5C; outline: 1.25px dashed #8A8E99; outline-offset: -1.25px; }

.legend { padding-top: 6px; }
.legend-title { font-size: 18px; font-weight: 650; margin-bottom: 10px; }
.legend-item {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 11px 8px;
  margin-inline: -8px;
  border-bottom: 1px solid var(--line-l);
  border-radius: 10px;
  transition: background-color .2s;
}
.legend-item:last-child { border-bottom: 0; }
.legend-item.is-hl { background: rgba(242, 166, 90, .14); }
.legend-item dd { font-size: 14.5px; line-height: 1.45; color: var(--ink-t2); }
html[lang="ar"] .legend-item dd { line-height: 1.7; }

.how { margin-top: clamp(56px, 6.5vw, 96px); }
.how-title { font-size: 20px; font-weight: 650; margin-bottom: 26px; }
.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.how-steps::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 17px;
  height: 1px;
  background: linear-gradient(to right, rgba(11, 17, 32, .08), rgba(140, 70, 20, .45), rgba(11, 17, 32, .08));
}
.how-step { position: relative; }
.how-num {
  position: relative;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--sand-1);
  box-shadow: inset 0 0 0 1.25px rgba(140, 70, 20, .55);
  color: var(--accent-deep);
  font-size: 14.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.how-step:last-child .how-num { background: var(--ink-t); color: var(--sand-1); box-shadow: none; }
.how-text { font-size: 16px; line-height: 1.5; color: var(--ink-t); max-width: 30ch; text-wrap: pretty; }
html[lang="ar"] .how-text { line-height: 1.8; }

/* Footer: dawn, the warmest surface ----------------------------------------- */

.foot {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 5.5vw, 88px) max(28px, env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, var(--sand-2) 0%, var(--sand-3) 55%, var(--sand-4) 100%);
  color: var(--ink-t);
}
.foot::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -70%;
  width: min(1400px, 160vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 150, 70, .42), rgba(242, 166, 90, .18) 50%, rgba(242, 166, 90, 0) 75%);
  pointer-events: none;
}
.foot .wrap { position: relative; }
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
  padding-bottom: clamp(28px, 3vw, 44px);
  border-bottom: 1px solid rgba(11, 17, 32, .16);
}
/* Footer lockup: the icon stands above the typeset name like a seal, the name keeps its size. */
.foot-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.brand-icon--lg { width: 56px; height: 56px; }
.foot-word {
  white-space: nowrap;
  font-size: clamp(64px, 11.5vw, 184px);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.05em;
  color: var(--ink-t);
}
html[lang="ar"] .foot-word { letter-spacing: 0; line-height: 1.25; font-weight: 800; font-size: clamp(60px, 10vw, 160px); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 6px; padding-bottom: 8px; }
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
  padding-top: 24px;
}
.foot-disclaimer { font-size: 14.5px; line-height: 1.6; color: #2A3142; max-width: 70ch; }
html[lang="ar"] .foot-disclaimer { line-height: 1.85; }
.foot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; justify-content: flex-end; }
.foot-credits {
  font-size: 14.5px;
  font-weight: 650;
  text-underline-offset: 4px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
}
.fbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(11, 17, 32, .24);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-t);
}
.fbtn .icon { width: 17px; height: 17px; }
.fbtn:hover { background: rgba(11, 17, 32, .06); }

/* Dialogs: phone search sheet and menu --------------------------------------- */

.sheet,
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink-1);
  color: var(--moon);
  overflow: hidden;
}
.sheet::backdrop,
.menu::backdrop { background: rgba(7, 11, 22, .72); }
@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: sheet-up .34s var(--ease-out); }
  .menu[open] { animation: fade-in .22s ease; }
}
@keyframes sheet-up { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sheet-inner, .menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sheet-head, .menu-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  border-bottom: 1px solid var(--line);
}
.sheet-h { font-size: 19px; font-weight: 650; }
.close-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 15px;
  font-weight: 600;
}
.sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 16px 0;
  display: flex;
  flex-direction: column;
}
.sheet-body > .search { flex: 1 0 auto; }

/* The form, recomposed inside the sheet (selectors carry .sheet .search to outrank the panel layout) */
.sheet .search {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.sheet .search .trace { display: none; }
.sheet .search .sf-row { display: contents; }
.sheet .search .sf--where { order: 1; padding: 0; background: none; border-radius: 0; }
.sheet .search .sf-dates { order: 2; border: 0; gap: 10px; }
.sheet .search .sf--guests { order: 3; border: 0; margin: 0; padding: 0; }
.sheet .search .musthaves { order: 4; }
.sheet .search .search-msgs { order: 5; }
.sheet .search.has-msgs .search-msgs { flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 0 0; }
.sheet .search .sf-submit {
  order: 6;
  position: sticky;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 5;
  width: 100%;
  margin: auto 0 14px;
  min-height: 58px;
  border-radius: 15px;
  box-shadow: 0 0 0 14px var(--ink-1), 0 -20px 22px 2px var(--ink-1);
}
.sheet .search .sf-dates > .sf + .sf { border: 0; }
.sheet .search .sf--where .sf-label { font-size: 14px; margin-bottom: 8px; }
.sheet .search .sf-control {
  margin: 0;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.sheet .search .sf--where:has(.sf-input:focus-visible) { box-shadow: none; }
.sheet .search .sf--where:has(.sf-input:focus-visible) .sf-control { box-shadow: inset 0 0 0 2px var(--accent); }
.sheet .search .sf-input { font-size: 17px; height: 44px; }
.sheet .search .sf-btn {
  height: auto;
  min-height: 66px;
  padding: 10px 16px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.sheet .search .sf-btn[aria-expanded="true"],
.sheet .search.is-picking .sf-btn[data-active="true"] { background: rgba(242, 166, 90, .1); box-shadow: inset 0 0 0 1.5px var(--accent); }
.sheet .search .pop {
  position: static;
  width: auto;
  max-width: none;
  max-height: none;
  margin-top: 10px;
  animation: none;
}
.sheet .search .pop--cal { grid-column: 1 / -1; margin-top: 0; padding: 12px 10px 14px; }
.sheet .search .cal-months { grid-template-columns: 1fr; }
.sheet .search .pop--guests { padding: 6px 16px 14px; }
.sheet .search .pop--where { padding: 6px; }
.sheet .search .sf--where:has(.sf-input[aria-invalid="true"]) { box-shadow: none; }
.sheet .search .sf--where:has(.sf-input[aria-invalid="true"]) .sf-control,
.sheet .search .sf-btn[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.sheet .search .musthaves { flex-direction: column; align-items: flex-start; padding: 18px 0 0; margin: 0; }
.sheet .search .mh-label { font-size: 14px; }
.sheet .search .chip { min-height: 42px; font-size: 14.5px; }

.menu-nav { display: flex; flex-direction: column; padding: 12px 8px; }
.menu-nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 560;
  letter-spacing: var(--track-mid);
  text-decoration: none;
}
.menu-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px; }
.mbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 15.5px;
  font-weight: 600;
}
.mbtn .icon { width: 18px; height: 18px; }
.menu-marker { margin: auto 20px max(20px, env(safe-area-inset-bottom)); align-self: flex-start; }

html.is-locked { overflow: hidden; }

/* Motion preferences -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .film-clip { transition: none; }
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 1240px) {
  .nav a { padding-inline: 10px; font-size: 14.5px; }
  .nav a.is-current::after { inset-inline: 10px; }
  .hdr-row { gap: 14px; }
}

@media (max-width: 1179px) {
  .nav { display: none; }
  .moon { margin-inline-start: auto; }
  .moon + .hdr-actions { padding-inline-start: 0; margin-inline-start: 0; border-inline-start: 0; }
  .hbtn--menu { display: inline-flex; }
  .sf-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sf-row > .sf-dates { border-inline-start: 1px solid var(--line); }
  .sf-row > .sf--guests { border-inline-start: 0; border-top: 1px solid var(--line); }
  .sf-row > .sf-submit { margin: 10px 0 0; margin-inline-start: 8px; }
  .sf--guests { margin-top: 10px; padding-top: 10px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .legend-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .umrah-grid { grid-template-columns: minmax(0, 1fr); }
  .umrah-media { max-width: 760px; }
}

@media (max-width: 899px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "ctrl" "eyebrow" "title" "sub" "search";
  }
  .film-ctrl { margin-bottom: 22px; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero-sub { margin-top: 18px; max-width: 60ch; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .how-steps::before { display: none; }
  .legend-list { grid-template-columns: minmax(0, 1fr); }
  .foot-bottom { grid-template-columns: minmax(0, 1fr); }
  .foot-actions { justify-content: flex-start; }
}

@media (max-width: 719px) {
  :root { --hdr: 58px; --strip: 26px; }
  body { font-size: 16px; }
  .hdr-strip {
    display: block;
    height: var(--strip);
    margin: 0;
    padding-inline: 12px;
    background: var(--ink-0);
    color: var(--moon-2);
    font-size: 11.5px;
    font-weight: 600;
    line-height: var(--strip);
    letter-spacing: .02em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  html[lang="ar"] .hdr-strip { letter-spacing: 0; font-size: 12px; }
  .hdr-marker, .hdr .js-signin { display: none; }
  .hdr-row { gap: 6px; }
  .wordmark { font-size: 21px; }
  .hdr-actions { gap: 2px; }
  .hbtn { padding: 0 10px; min-height: 44px; font-size: 14.5px; }
  .hdr .js-lang .icon { display: none; }
  .moon { width: 30px; }

  .hero { min-height: 100svh; }
  .hero-inner {
    padding-top: calc(var(--hdr-total) + 24px);
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .scrim,
  [dir="rtl"] .scrim {
    background:
      linear-gradient(to bottom, rgba(7, 11, 22, .6) 0, rgba(7, 11, 22, .36) 84px, rgba(7, 11, 22, .1) 140px, rgba(7, 11, 22, 0) 190px),
      linear-gradient(to top, rgba(7, 11, 22, .9) 0%, rgba(7, 11, 22, .74) 26%, rgba(7, 11, 22, .5) 42%, rgba(7, 11, 22, .26) 54%, rgba(7, 11, 22, .08) 64%, rgba(7, 11, 22, 0) 72%);
  }
  .film-poster, .film-clip { --lift: var(--lift-p, 0); }
  /* phone: the film's own controls sit at the top of the frame, like a title card, apart from the text stack */
  .hero-inner { position: static; }
  .film-poster { object-position: 50% 50%; } /* the phone poster is the portrait crescent frame */
  .film-ctrl {
    position: absolute;
    z-index: 2;
    top: calc(var(--hdr-total) + 12px);
    inset-inline: var(--gutter);
    margin: 0;
    gap: 10px;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .film-ctrl .text-btn { display: none; }
  /* the caption sits over open sky on a phone, so it carries its own dark backing (solid tint, no blur) */
  .now-showing:not(:empty) {
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(7, 11, 22, .72);
    box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .14);
    color: var(--moon);
  }
  .now-showing { font-size: 13.5px; }
  .hero-copy .eyebrow { margin-bottom: 12px; font-size: 11.5px; }
  html[lang="ar"] .hero-copy .eyebrow { font-size: 14px; }
  .hero h1 { font-size: clamp(2.15rem, 1.1rem + 4.4vw, 2.6rem); line-height: 1.04; letter-spacing: -.03em; }
  html[lang="ar"] .hero h1 { font-size: clamp(1.8rem, 1rem + 3.6vw, 2.2rem); line-height: 1.45; }
  .hero-sub { margin-top: 14px; font-size: 15px; line-height: 1.55; }
  html[lang="ar"] .hero-sub { font-size: 15px; line-height: 1.8; }
  .search-zone { margin-top: 20px; }
  .search-home { display: none; }

  .where-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 66px;
    padding-block: 9px;
    padding-inline: 16px 9px;
    border-radius: 18px;
    background: var(--ink-2);
    color: var(--moon);
    text-align: start;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
  }
  .where-bar .trace { border-radius: 18px; }
  .wb-pin { width: 20px; height: 20px; color: var(--accent); }
  .wb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .wb-label { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
  .wb-hint { font-size: 13.5px; color: var(--moon-3); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html[lang="ar"] .wb-label { line-height: 1.5; }
  .wb-go {
    width: 48px;
    height: 48px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent);
    color: var(--ink-t);
  }
  .wb-go .icon { width: 20px; height: 20px; stroke-width: 2; }

  .dest-head { flex-direction: column; align-items: stretch; gap: 20px; }
  .rail-nav { display: none; }
  .rail { scroll-snap-type: x mandatory; }
  .tile { width: min(74vw, 300px); }

  .umrah-media { aspect-ratio: 1 / 1.08; margin-top: 8px; }
  .frame--a { width: 90%; height: 76%; }
  .frame--b { width: 46%; height: 50%; box-shadow: 0 0 0 5px #141B35, 0 24px 50px -24px rgba(0, 0, 0, .9); }
  .walk { padding: 18px 16px 6px; --namecol: 112px; }

  .sheet-card { padding: 20px 16px 4px; }
  .fact { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name badge" "detail detail"; gap: 6px 12px; padding: 14px 2px; }
  .fact-name { grid-area: name; }
  .fact .badge { grid-area: badge; justify-self: end; }
  .fact-detail { grid-area: detail; }
  .legend-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .how-steps { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .how-step { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 16px; align-items: start; }
  .how-num { margin: 0; }
  .how-text { padding-top: 5px; }
  .foot-word { font-size: clamp(60px, 20vw, 110px); }
  html[lang="ar"] .foot-word { font-size: clamp(48px, 15vw, 96px); }
  .foot-links { gap: 0; margin-inline: -10px; }
}

@media (max-width: 1179px) {
  .atlas-grid { grid-template-columns: minmax(0, 1fr); }
  .atlas-side { max-width: 680px; }
}
@media (max-width: 719px) {
  .atlas-title { font-size: 1.45rem; gap: 2px 10px; }
  html[lang="ar"] .atlas-title { font-size: 1.3rem; }
  .atlas-grid { gap: 22px; }
  .atlas-stage { margin-inline: calc(-1 * var(--gutter) + 6px); }
  .atlas-land { opacity: .62; }
  .am-label { display: none; }
  .am-dot { left: -3px; top: -3px; width: 6px; height: 6px; box-shadow: 0 0 0 1.5px rgba(242, 166, 90, .6), 0 0 8px 2px rgba(242, 166, 90, .32); }
  .am--origin .am-dot { left: -4.5px; top: -4.5px; width: 9px; height: 9px; box-shadow: 0 0 0 3.5px rgba(244, 239, 230, .16), 0 0 14px 4px rgba(244, 239, 230, .4); }
  .am-hit { display: none; }
  .al-row { min-height: 48px; padding: 10px 6px; flex-wrap: wrap; row-gap: 0; }
  .al-name { font-size: 15.5px; }
  .al-country { flex-basis: auto; }
}

@media (max-width: 380px) {
  .wordmark { font-size: 20px; }
  .hbtn { padding: 0 8px; }
  .tile { width: 78vw; }
  .walk { --namecol: 100px; }
  .chip { padding: 0 13px 0 10px; }
}

@media (min-width: 720px) {
  .sheet, .menu { /* the sheet is a phone-only control; the menu becomes a side panel */
    inset-inline-start: auto;
    width: min(420px, 100%);
  }
}

/* Lighter films (Mohamed, 11 Oct 2026: "lighten the videos, they are too dark"): the scrim was cut back,
   so hero text gets a soft shadow to stay legible over bright frames. */
.hero h1, .hero .eyebrow, .hero-sub, .now-showing {
  text-shadow: 0 0 2px rgba(7, 11, 22, .85), 0 1px 3px rgba(7, 11, 22, .75), 0 8px 30px rgba(7, 11, 22, .5);
}
/* Local veils sit only behind the words, so the rest of each film stays bright. */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse 54% 56% at 22% 62%, rgba(7, 11, 22, .64), rgba(7, 11, 22, .34) 48%, rgba(7, 11, 22, 0) 78%),
    radial-gradient(ellipse 30% 30% at 82% 58%, rgba(7, 11, 22, .55), rgba(7, 11, 22, .25) 45%, rgba(7, 11, 22, 0) 75%);
}
[dir="rtl"] .hero::after {
  background:
    radial-gradient(ellipse 54% 56% at 78% 62%, rgba(7, 11, 22, .64), rgba(7, 11, 22, .34) 48%, rgba(7, 11, 22, 0) 78%),
    radial-gradient(ellipse 30% 30% at 18% 58%, rgba(7, 11, 22, .55), rgba(7, 11, 22, .25) 45%, rgba(7, 11, 22, 0) 75%);
}
@media (max-width: 760px) { .hero::after { display: none; } }
