/* ==========================================================================
   آفاق النشأة — «ساعة الأفق» design prototype
   Palette from the client's own twilight photography + the logo (navy, sky).
   ========================================================================== */
:root {
  --night: #07142b;      /* deep sky after sunset — dark bands */
  --navy: #0b224a;       /* logo navy — headings on light, primary on light */
  --dusk: #11295a;       /* raised surface on night */
  --horizon: #3ea2db;    /* logo sky blue — horizon line, data, links on dark */
  --horizon-ink: #1f7fb8;/* blue that passes contrast on light */
  --glow: #f2b66d;       /* window light — the one warm accent */
  --glow-deep: #e39a4c;
  --stone: #eceae5;      /* limestone — light bands */
  --stone-2: #dfdbd2;
  --paper: #f8f7f4;
  --ink: #0d1b33;
  --ink-2: #4a5772;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.7);
  --on-dark-3: rgba(255, 255, 255, 0.45);
  --line-d: rgba(255, 255, 255, 0.12);
  --line-l: rgba(11, 34, 74, 0.13);

  --f-display: "Markazi Text", "Noto Naskh Arabic", serif;
  --f-sans: "IBM Plex Sans Arabic", system-ui, sans-serif;


  --wrap: 1280px;
  --gutter: 80px;
  --r: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}
.alt-kufi { --f-display: "Noto Kufi Arabic", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.num { font-family: var(--f-sans); font-feature-settings: "tnum" 1, "lnum" 1; direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- Type ---------------------------------------------------------------- */
.display { font-family: var(--f-display); font-weight: 600; letter-spacing: 0; }
.alt-kufi .display { font-weight: 300; }
.h2 { font-family: var(--f-display); font-weight: 600; font-size: 58px; line-height: 1.14; text-wrap: balance; }
.alt-kufi .h2 { font-weight: 400; font-size: 54px; line-height: 1.35; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1.2; }
.lead { font-size: 20px; line-height: 1.8; color: var(--ink-2); }
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; line-height: 1; color: var(--horizon-ink);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .label { color: var(--horizon); }
.on-dark .lead { color: var(--on-dark-2); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding-inline: 28px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s, border-color 0.35s, color 0.35s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--glow { background: var(--glow); color: var(--night); }
.btn--glow:hover { background: #f7c88d; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.38); color: #fff; backdrop-filter: blur(6px); background: rgba(7, 20, 43, 0.18); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--line { border-color: var(--line-l); color: var(--navy); }
.btn--sm { height: 44px; padding-inline: 20px; font-size: 15px; }
.arrow { display: inline-block; transition: transform 0.35s var(--ease); }
a:hover .arrow { transform: translateX(-4px); }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; color: var(--navy);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.on-dark .link { color: #fff; }

/* --- Header -------------------------------------------------------------- */
.site-header { position: absolute; inset-inline: 0; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 22px; }
.brand img { width: 172px; height: auto; }
.brand .brand__mark { display: none; }
.nav { display: flex; gap: 38px; font-size: 16px; font-weight: 500; color: #fff; }
.nav a { position: relative; padding-block: 6px; opacity: 0.9; }
.nav a.is-active::after, .nav a:hover::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 1px; background: var(--glow);
}
.header-end { display: flex; align-items: center; gap: 22px; color: #fff; }
.header-end .phone { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; opacity: 0.9; }
.header-end .phone svg { width: 16px; height: 16px; }
.menu-btn { display: none; }

/* --- Hero: «من الخط إلى الضوء» -------------------------------------------- */
.hero { position: relative; height: max(760px, min(100svh, 980px)); color: #fff; overflow: hidden; background: var(--night); isolation: isolate; }
.hero__media, .hero__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media > img, .hero__media > video { object-fit: cover; object-position: 50% 62%; }
.hero__line { opacity: 0; }
.hero__day { opacity: 0; }
.hero__video { opacity: 0; }
.hero__dusk { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 20, 43, 0.62) 0%, rgba(7, 20, 43, 0) 24%),
    linear-gradient(0deg, rgba(7, 20, 43, 0.97) 0%, rgba(7, 20, 43, 0.8) 30%, rgba(7, 20, 43, 0.25) 50%, rgba(7, 20, 43, 0) 62%),
    radial-gradient(55% 70% at 100% 88%, rgba(7, 20, 43, 0.78), rgba(7, 20, 43, 0) 72%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content { position: absolute; z-index: 3; inset-inline: 0; bottom: 124px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--on-dark-2); }
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--horizon); }
.hero__title { margin-top: 16px; font-size: 100px; font-weight: 700; line-height: 1.05; max-width: 9.6em; text-wrap: balance; }
.alt-kufi .hero__title { font-size: 84px; line-height: 1.32; }
.hero__title .soft { color: var(--glow); }
.hero__lead { text-wrap: pretty; margin-top: 22px; max-width: 30em; font-size: 19px; line-height: 1.85; color: rgba(255, 255, 255, 0.8); }
.hero__ctas { display: flex; gap: 14px; margin-top: 32px; }

.horizon { position: absolute; z-index: 3; inset-inline: 0; bottom: 0; }
.horizon__line { height: 1px; background: linear-gradient(90deg, rgba(62, 162, 219, 0) 0%, rgba(62, 162, 219, 0.9) 35%, rgba(242, 182, 109, 0.9) 65%, rgba(242, 182, 109, 0) 100%); }
.horizon .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 14px; color: var(--on-dark-2); }
.live b { color: #fff; font-weight: 600; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--glow); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--glow); opacity: 0.5; }
.live .num { color: var(--glow); font-size: 14px; }
.stages { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--on-dark-3); font-size: 14px; }
.stages li { display: inline-flex; align-items: center; gap: 14px; }
.stages li + li::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.stages li.is-on { color: #fff; }
.stages li.is-on span { color: var(--glow); }
.stages .cap { color: var(--on-dark-3); margin-inline-end: 6px; }

/* --- Sections ------------------------------------------------------------ */
.section { padding-block: 128px; }
.section--stone { background: var(--stone); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.sec-head .h2 { margin-top: 22px; }
.sec-head .lead { margin-top: 18px; max-width: 34em; }

/* Manifesto */
.manifesto__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.manifesto__text { margin-top: 28px; font-family: var(--f-display); font-weight: 500; font-size: 50px; line-height: 1.38; color: var(--navy); max-width: 22em; text-wrap: pretty; }
.alt-kufi .manifesto__text { font-weight: 300; font-size: 40px; line-height: 1.6; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px; border-top: 1px solid var(--line-l); }
.fact { padding: 30px 0 0; padding-inline-end: 28px; }
.fact + .fact { border-inline-start: 1px solid var(--line-l); padding-inline-start: 32px; }
.fact__n { font-family: var(--f-display); font-weight: 600; font-size: 76px; line-height: 1; color: var(--navy); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.fact__l { margin-top: 12px; font-size: 16px; color: var(--ink-2); }

/* Projects */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 18px; border-radius: 999px;
  border: 1px solid var(--line-l); font-size: 15px; font-weight: 500; color: var(--ink-2); background: transparent; white-space: nowrap; cursor: pointer;
}
.chip .num { font-size: 13px; opacity: 0.7; }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; margin-top: 56px; }
.card { position: relative; display: block; }
.card__img { position: relative; overflow: hidden; border-radius: var(--r); background: var(--stone-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.035); }
.card__body { padding-top: 20px; }
.card__title { font-family: var(--f-display); font-weight: 600; font-size: 32px; line-height: 1.2; color: var(--navy); }
.alt-kufi .card__title { font-weight: 400; font-size: 26px; line-height: 1.5; }
.card__meta { margin-top: 6px; font-size: 16px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.card__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-l); font-size: 15px; }
.card__foot .go { font-weight: 600; color: var(--navy); display: inline-flex; gap: 8px; }
.tags { position: absolute; z-index: 2; top: 16px; inset-inline-start: 16px; display: flex; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding-inline: 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1; background: rgba(7, 20, 43, 0.62); color: #fff; backdrop-filter: blur(8px);
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag--available { background: var(--glow); color: var(--night); }
.tag--available i { background: var(--night); }
.tag--building i { background: var(--horizon); }
.tag--sold { background: rgba(7, 20, 43, 0.5); color: rgba(255, 255, 255, 0.82); }
.tag--sold i { background: rgba(255, 255, 255, 0.55); }
.tag--light { background: rgba(255, 255, 255, 0.16); }

.card--feature { grid-column: span 7; grid-row: span 2; }
.card--feature .card__img { height: 100%; min-height: 660px; }
.card--feature .card__over {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 40px 40px 36px; color: #fff;
  background: linear-gradient(0deg, rgba(7, 20, 43, 0.92), rgba(7, 20, 43, 0.55) 55%, rgba(7, 20, 43, 0));
  border-radius: 0 0 var(--r) var(--r);
}
.card--feature .card__title { color: #fff; font-size: 54px; }
.alt-kufi .card--feature .card__title { font-size: 40px; }
.card--feature .card__meta { color: var(--on-dark-2); font-size: 16px; }
.stagebar { display: flex; align-items: center; gap: 16px; margin-top: 26px; font-size: 14px; color: var(--on-dark-2); }
.stagebar__track { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.stagebar__fill { height: 100%; background: linear-gradient(90deg, var(--glow), var(--glow-deep)); margin-inline-start: auto; }
.stagebar .num { color: var(--glow); font-size: 15px; }
.card--side { grid-column: span 5; }
.card--side .card__img { aspect-ratio: 16 / 10.2; }
.card--third { grid-column: span 4; }
.card--third .card__img { aspect-ratio: 4 / 3; }
.card--sold .card__img img { filter: saturate(0.55); }
.card--sold .card__title { color: var(--ink-2); }
.proj-more { display: flex; justify-content: center; margin-top: 64px; }

/* Ledger — «سجل البناء» (signature info design) */
.ledger { position: relative; overflow: hidden; }
.ledger::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(62, 162, 219, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 162, 219, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 70% at 40% 55%, #000, transparent 85%);
}
.ledger .wrap { position: relative; }
.tabs { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line-d); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.tab { border: 0; background: transparent; cursor: pointer; height: 44px; padding-inline: 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--on-dark-2); white-space: nowrap; }
.tab .num { font-size: 13px; color: var(--on-dark-3); }
.tab.is-on { background: #fff; color: var(--navy); }
.tab.is-on .num { color: var(--horizon-ink); }
.ledger__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; margin-top: 72px; align-items: start; }
.ledger__info .h3 { font-size: 44px; }
.ledger__meta { margin-top: 8px; color: var(--on-dark-2); font-size: 16px; }
.ledger__total { display: flex; align-items: flex-end; gap: 18px; margin-top: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line-d); }
.ledger__total .big { font-family: var(--f-display); font-weight: 600; font-size: 132px; line-height: 0.8; color: #fff; direction: ltr; }
.ledger__total .big small { font-size: 0.45em; color: var(--horizon); margin-inline-start: 4px; }
.ledger__total p { font-size: 16px; color: var(--on-dark-2); padding-bottom: 8px; line-height: 1.6; }
.ledger__now { margin-top: 24px; display: grid; gap: 12px; font-size: 16px; color: var(--on-dark-2); }
.ledger__now div { display: flex; gap: 12px; align-items: baseline; }
.ledger__now b { color: #fff; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.dot--done { background: var(--horizon); }
.dot--now { background: var(--glow); box-shadow: 0 0 0 4px rgba(242, 182, 109, 0.18); }
.ledger__photo { margin-top: 32px; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9.5; }
.ledger__photo img { width: 100%; height: 100%; object-fit: cover; }
.ledger__photo figcaption {
  position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 40px 18px 14px;
  font-size: 13px; color: var(--on-dark-2); background: linear-gradient(0deg, rgba(7, 20, 43, 0.85), transparent);
}
.ledger__ctas { display: flex; gap: 12px; margin-top: 28px; }
.stack svg { width: 100%; height: auto; overflow: visible; }
.stack__compact { display: none; }
.stack__compact .lbl { font-size: 25px; }
.stack__compact .pct { font-size: 23px; }
.stack .chk { fill: none; stroke: #3ea2db; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.stack__legend { display: flex; gap: 22px; margin-top: 18px; padding-inline-start: 4px; font-size: 14px; color: var(--on-dark-2); }
.stack__legend span { display: inline-flex; align-items: center; gap: 8px; }
.stack__legend i { width: 14px; height: 10px; border-radius: 2px; }
.stack__legend .l-done { background: rgba(62, 162, 219, 0.45); box-shadow: inset 0 2px 0 #3ea2db; }
.stack__legend .l-now { background: repeating-linear-gradient(-45deg, #f2b66d 0 4px, #ffd9a8 4px 6px); }
.stack__legend .l-none { border: 1px dashed rgba(255, 255, 255, 0.35); }
html.shot .hero { height: var(--shot-vh, 900px); min-height: 0; }
html.shot:not(.with-bar):not(.bar-once) .mobile-bar { display: none; }
html.shot.bar-once .mobile-bar { position: absolute; top: calc(var(--shot-vh) - 78px); bottom: auto; }
.stack text { font-family: var(--f-sans); }
.stack .lbl { font-size: 17px; fill: #fff; font-weight: 500; }
.stack .lbl.dim { fill: rgba(255, 255, 255, 0.5); }
.stack .pct { font-size: 17px; font-weight: 600; fill: var(--horizon); }
.stack .pct.now { fill: var(--glow); }
.stack .cap { font-size: 13px; fill: rgba(255, 255, 255, 0.45); }
.supply { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 110px; padding-top: 36px; border-top: 1px solid var(--line-d); }
.supply p { font-size: 15px; color: var(--on-dark-2); white-space: nowrap; }
.supply__logos { display: flex; align-items: center; gap: 14px; }
.supply__logos span { display: grid; place-items: center; width: 184px; height: 80px; border-radius: 10px; background: #fff; }
.supply__logos img { max-height: 44px; max-width: 136px; width: auto; height: auto; }

/* Journey */
.journey__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 72px; }
.step__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 3.7; background: var(--stone-2); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__line { position: relative; height: 1px; margin-top: 36px; background: var(--line-l); }
.step__line::after { content: ""; position: absolute; top: -4px; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
.step:last-child .step__line::after { background: var(--glow); box-shadow: 0 0 0 5px rgba(242, 182, 109, 0.25); }
.step__n { margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--horizon-ink); font-feature-settings: "tnum" 1; }
.step__t { margin-top: 6px; font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1.2; color: var(--navy); }
.alt-kufi .step__t { font-weight: 400; font-size: 26px; line-height: 1.5; }
.step__p { margin-top: 10px; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.step__proof { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.step__proof svg { width: 16px; height: 16px; color: var(--horizon-ink); }

/* Map */
.map { position: relative; height: 820px; background: var(--night); color: #fff; overflow: hidden; }
.map__canvas { position: absolute; inset: 0; }
.map__canvas picture { display: contents; }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map .pin { left: var(--x); top: var(--y); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(7, 20, 43, 0.92) 0%, rgba(7, 20, 43, 0.75) 32%, rgba(7, 20, 43, 0) 58%), linear-gradient(0deg, rgba(7, 20, 43, 0.7), transparent 25%); }
.pin { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.pin__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 6px rgba(242, 182, 109, 0.22), 0 0 30px 6px rgba(242, 182, 109, 0.45); }
.pin--big .pin__dot { width: 22px; height: 22px; }
.pin__label {
  position: absolute; top: 50%; inset-inline-end: calc(100% + 18px); transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; height: 40px; padding-inline: 16px; border-radius: 999px;
  background: rgba(7, 20, 43, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); font-size: 15px; font-weight: 600; color: #fff;
}
.pin__label .num { color: var(--glow); font-size: 13px; font-weight: 500; }
.map__panel { position: absolute; z-index: 3; inset-block: 0; inset-inline: 0; display: flex; align-items: center; pointer-events: none; }
.map__panel .wrap { display: flex; justify-content: flex-start; }
.map__card { width: 480px; pointer-events: auto; }
.map__card .h2 { margin-top: 22px; font-size: 58px; }
.areas { margin-top: 40px; border-top: 1px solid var(--line-d); }
.area { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding-block: 20px; border-bottom: 1px solid var(--line-d); }
.area__name { font-family: var(--f-display); font-size: 30px; font-weight: 600; line-height: 1.2; }
.area__count { font-size: 15px; font-weight: 500; color: var(--glow); align-self: center; }
.area__count .num { font-size: 14px; }
.area__desc { grid-column: 1 / -1; font-size: 16px; color: var(--on-dark-2); }
.map__note { margin-top: 26px; font-size: 15px; color: var(--on-dark-2); display: flex; gap: 10px; align-items: center; }
.map__attr { position: absolute; z-index: 3; bottom: 14px; inset-inline-end: 20px; font-size: 11px; color: rgba(255, 255, 255, 0.35); direction: ltr; }

/* Contact */
.contact { position: relative; color: #fff; overflow: hidden; background: var(--night); }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(7, 20, 43, 0.94) 0%, rgba(7, 20, 43, 0.8) 40%, rgba(7, 20, 43, 0.35) 75%, rgba(7, 20, 43, 0.25)); }
.contact .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: center; padding-block: 140px; }
.contact .h2 { margin-top: 22px; }
.contact .lead { margin-top: 20px; max-width: 28em; }
.contact__ctas { display: flex; gap: 14px; margin-top: 40px; }
.contact__info { display: flex; gap: 36px; margin-top: 44px; font-size: 15px; color: var(--on-dark-2); }
.contact__info span { display: inline-flex; gap: 10px; align-items: center; }
.contact__info svg { width: 16px; height: 16px; color: var(--horizon); }
.form { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 40px 36px 36px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.form h3 { font-family: var(--f-display); font-size: 36px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.form > p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.field { margin-top: 20px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.field .input { height: 52px; border-radius: var(--r); border: 1px solid var(--line-l); background: #fff; display: flex; align-items: center; padding-inline: 16px; font-size: 16px; color: rgba(13, 27, 51, 0.38); justify-content: space-between; }
.field .input.filled { color: var(--ink); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg span { height: 46px; border-radius: var(--r); border: 1px solid var(--line-l); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--ink-2); background: #fff; }
.seg span.is-on { border-color: var(--navy); color: var(--navy); font-weight: 600; box-shadow: inset 0 0 0 1px var(--navy); }
.form .btn { width: 100%; margin-top: 26px; }
.form small { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-2); text-align: center; }

/* Footer */
.footer { background: var(--night); color: var(--on-dark-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; padding-block: 96px 72px; }
.footer__brand img { width: 210px; }
.footer__brand p { margin-top: 26px; font-size: 15px; line-height: 1.9; max-width: 24em; }
.footer h4 { font-size: 14px; font-weight: 500; color: var(--on-dark-3); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; color: #fff; }
.footer ul .num { font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line-d); }
.footer__bottom .wrap { display: flex; justify-content: space-between; padding-block: 26px; font-size: 14px; color: var(--on-dark-3); }
.footer .horizon__line { opacity: 0.8; }

.mobile-bar { display: none; }

/* --- Project page -------------------------------------------------------- */
.p-hero { position: relative; height: 820px; color: #fff; overflow: hidden; background: var(--night); }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 20, 43, 0.6), rgba(7, 20, 43, 0) 25%), linear-gradient(0deg, rgba(7, 20, 43, 0.96) 0%, rgba(7, 20, 43, 0.7) 32%, rgba(7, 20, 43, 0) 62%), radial-gradient(55% 65% at 100% 82%, rgba(7, 20, 43, 0.72), rgba(7, 20, 43, 0) 72%); }
.p-hero__content { position: absolute; z-index: 3; inset-inline: 0; bottom: 64px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--on-dark-3); }
.crumbs b { color: var(--on-dark-2); font-weight: 500; }
.p-hero h1 { margin-top: 20px; font-size: 104px; line-height: 1.05; }
.alt-kufi .p-hero h1 { font-size: 78px; line-height: 1.3; }
.p-hero__sub { margin-top: 16px; font-size: 20px; color: rgba(255, 255, 255, 0.8); }
.p-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.p-hero__tags { display: flex; gap: 10px; margin-top: 26px; }
.p-hero__thumbs { display: flex; gap: 10px; }
.p-hero__thumbs span { position: relative; width: 112px; height: 74px; border-radius: 4px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.3); }
.p-hero__thumbs span.is-on { border-color: var(--glow); box-shadow: 0 0 0 1px var(--glow); }
.p-hero__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-hero__thumbs em { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 20, 43, 0.6); font-style: normal; font-size: 13px; font-weight: 600; }

.specs { background: var(--night); color: #fff; border-top: 1px solid var(--line-d); }
.specs .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.spec { padding: 28px 0 30px; padding-inline-start: 28px; border-inline-start: 1px solid var(--line-d); }
.spec:first-child { border-inline-start: 0; padding-inline-start: 0; }
.spec dt { font-size: 14px; color: var(--on-dark-3); }
.spec dd { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
.spec dd .num { font-size: 20px; font-weight: 500; }

.p-body { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: start; }
.p-main > * + * { margin-top: 96px; }
.p-block h2 { font-family: var(--f-display); font-size: 48px; font-weight: 600; color: var(--navy); line-height: 1.15; }
.alt-kufi .p-block h2 { font-weight: 400; font-size: 38px; line-height: 1.4; }
.p-block .lead { margin-top: 18px; }
.p-prose { margin-top: 22px; font-size: 18px; line-height: 2; color: var(--ink-2); max-width: 40em; }
.p-prose p + p { margin-top: 16px; }
.floors { margin-top: 44px; border-bottom: 2px solid var(--navy); }
.floor { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line-l); align-items: center; }
.floor__n { font-family: var(--f-display); font-size: 28px; font-weight: 600; color: var(--navy); display: flex; gap: 14px; align-items: baseline; line-height: 1.2; }
.floor__n .num { font-size: 13px; color: var(--horizon-ink); }
.floor ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.floor li { font-size: 15px; color: var(--ink); padding: 7px 16px; border-radius: 999px; background: var(--stone); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 36px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; }
.feat { background: var(--paper); padding: 24px 22px; display: flex; gap: 14px; align-items: flex-start; }
.feat svg { width: 22px; height: 22px; color: var(--horizon-ink); flex: none; margin-top: 3px; }
.feat b { display: block; font-size: 16px; color: var(--navy); }
.feat span { font-size: 14px; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 560px; margin-top: 32px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; bottom: 12px; inset-inline-start: 12px; }
.p-ledger { background: var(--night); color: #fff; border-radius: 10px; padding: 48px 48px 40px; margin-top: 32px; position: relative; overflow: hidden; }
.p-ledger::before { content: ""; position: absolute; inset: 0; opacity: 0.6; background-image: linear-gradient(rgba(62, 162, 219, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(62, 162, 219, 0.07) 1px, transparent 1px); background-size: 40px 40px; }
.p-ledger > * { position: relative; }
.p-ledger__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line-d); }
.p-ledger__head .big { font-family: var(--f-display); font-weight: 600; font-size: 96px; line-height: 0.8; direction: ltr; }
.p-ledger__head .big small { font-size: 0.45em; color: var(--horizon); }
.p-ledger__head p { color: var(--on-dark-2); font-size: 15px; }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.place { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line-l); border-radius: var(--r); background: #fff; }
.place svg { width: 22px; height: 22px; color: var(--horizon-ink); }
.place b { font-size: 16px; color: var(--navy); }
.place span { margin-inline-start: auto; font-size: 15px; color: var(--ink-2); }
.p-map { position: relative; margin-top: 16px; border-radius: var(--r); overflow: hidden; height: 400px; }
.p-map img { width: 100%; height: 100%; object-fit: cover; }
.p-map .pin { left: 50%; top: 50%; }
.gallery--wide { height: 640px; margin-top: 0; }
.p-map--wide { height: 520px; margin-top: 44px; }
.sec-head .places { flex: none; }
.aside { position: sticky; top: 24px; }
.aside__card { background: #fff; border: 1px solid var(--line-l); border-radius: 10px; padding: 32px; box-shadow: 0 30px 60px -36px rgba(11, 34, 74, 0.35); }
.aside__status { display: flex; justify-content: space-between; align-items: center; }
.aside__price { margin-top: 22px; padding-block: 20px; border-block: 1px solid var(--line-l); }
.aside__price span { font-size: 14px; color: var(--ink-2); }
.aside__price b { display: block; margin-top: 4px; font-family: var(--f-display); font-size: 34px; color: var(--navy); line-height: 1.2; }
.aside__rows { margin-top: 14px; display: grid; gap: 4px; font-size: 15px; }
.aside__rows div { display: flex; justify-content: space-between; padding-block: 8px; }
.aside__rows dt { color: var(--ink-2); }
.aside__rows dd { margin: 0; font-weight: 600; color: var(--navy); }
.aside__btns { display: grid; gap: 10px; margin-top: 24px; }
.aside__btns .btn { width: 100%; }
.btn--wa { background: #1f9d55; color: #fff; }
.aside__lic { margin-top: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--stone); font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; }
.aside__lic .num { color: var(--navy); }
.tag--onlight { background: var(--stone); color: var(--navy); backdrop-filter: none; }
.related .proj-grid { margin-top: 48px; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1023px) {
  :root { --gutter: 32px; }
  .nav, .header-end .phone { display: none; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .card--feature, .card--side, .card--third { grid-column: auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .section { padding-block: 84px; }
  .site-header .wrap { padding-top: 14px; }
  .brand .brand__full { display: none; }
  .brand .brand__mark { display: block; width: 74px; }
  .header-end .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding-inline: 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font-size: 15px; font-weight: 500; background: rgba(7, 20, 43, 0.25); backdrop-filter: blur(6px); }
  .menu-btn svg { width: 18px; height: 18px; }
  .hero { height: 100svh; min-height: 760px; }
  .hero__media > img, .hero__media > video { object-position: 50% 55%; }
  .hero__scrim { background: linear-gradient(180deg, rgba(7, 20, 43, 0.6) 0%, rgba(7, 20, 43, 0) 20%), linear-gradient(0deg, rgba(7, 20, 43, 0.97) 0%, rgba(7, 20, 43, 0.85) 38%, rgba(7, 20, 43, 0) 66%); }
  .hero__content { bottom: 104px; }
  .hero__eyebrow { display: none; }
  .hero__title { font-size: 47px; line-height: 1.12; margin-top: 0; }
  .horizon { display: none; }
  .hero__content { bottom: 116px; }
  .alt-kufi .hero__title { font-size: 44px; }
  .hero__lead { font-size: 16px; line-height: 1.8; margin-top: 16px; }
  .hero__ctas { flex-direction: column; gap: 10px; margin-top: 26px; }
  .hero__ctas .btn { width: 100%; height: 52px; }
  .horizon .wrap { height: 64px; font-size: 13px; }
  .stages { display: none; }
  .live { gap: 10px; }
  .h2 { font-size: 38px; line-height: 1.2; }
  .alt-kufi .h2 { font-size: 34px; }
  .lead { font-size: 17px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .manifesto__text { font-size: 31px; line-height: 1.5; margin-top: 22px; }
  .alt-kufi .manifesto__text { font-size: 26px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 52px; }
  .fact { padding: 24px 0 26px; padding-inline-end: 12px; }
  .fact + .fact { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(even) { border-inline-start: 1px solid var(--line-l); padding-inline-start: 20px; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line-l); }
  .fact__n { font-size: 54px; }
  .fact__l { font-size: 14px; }
  .chips { flex-wrap: wrap; align-self: stretch; }
  .chip { height: 40px; padding-inline: 15px; }
  .tabs { align-self: stretch; }
  .tab { flex: 1; justify-content: center; padding-inline: 8px; font-size: 14px; }
  .card__meta > span:first-child { flex-basis: 100%; }
  .card__meta > .sep:nth-child(2) { display: none; }
  .proj-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
  .card--feature .card__img { min-height: 520px; }
  .card--feature .card__over { padding: 28px 22px 24px; }
  .card--feature .card__title { font-size: 40px; }
  .card__title { font-size: 28px; }
  .card--hide-m { display: none; }
  .proj-more { margin-top: 44px; }
  .proj-more .btn { width: 100%; }
  .ledger__grid { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
  .ledger__info { display: contents; }
  .ledger__grid > .stack { order: 1; margin-top: 34px; }
  .ledger__ctas { order: 2; margin-top: 30px; }
  .ledger__info .h3 { font-size: 36px; }
  .ledger__total .big { font-size: 104px; }
  .ledger__ctas { flex-direction: column; }
  .ledger__ctas .btn { width: 100%; }
  .ledger__photo { display: none; }
  .supply { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 64px; }
  .supply__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .supply__logos span { width: auto; height: 68px; }
  .supply__logos img { max-height: 36px; max-width: 120px; }
  .journey__grid { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .step { display: grid; grid-template-columns: 112px 1fr; gap: 0 18px; padding-bottom: 30px; position: relative; }
  .step__img { grid-row: span 4; aspect-ratio: 3 / 3.6; }
  .step__line { display: none; }
  .step__n { margin-top: 0; }
  .step__t { font-size: 27px; }
  .step__p { font-size: 15px; }
  .map { height: auto; padding-bottom: 72px; }
  .map__canvas { position: relative; height: 520px; }
  .map .pin { left: var(--mx); top: var(--my); }
  .map::after { display: none; }
  .map__canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0%, rgba(7, 20, 43, 0) 30%), linear-gradient(180deg, var(--night) 0%, rgba(7, 20, 43, 0) 14%); pointer-events: none; }
  .map__panel { position: relative; inset: auto; display: block; margin-top: -12px; }
  .live__stage, .hide-m { display: none; }
  .stagebar { gap: 12px; font-size: 13px; }
  .stack__full { display: none; }
  .stack__compact { display: block; }
  .map__card { width: auto; }
  .map__card .h2 { font-size: 42px; }
  .pin__label { height: 34px; font-size: 13px; padding-inline: 12px; inset-inline-end: calc(100% + 12px); }
  .contact .wrap { grid-template-columns: 1fr; gap: 44px; padding-block: 88px; }
  .contact::before { background: linear-gradient(0deg, rgba(7, 20, 43, 0.98) 0%, rgba(7, 20, 43, 0.92) 55%, rgba(7, 20, 43, 0.55) 100%); }
  .contact__ctas { flex-direction: column; }
  .contact__ctas .btn { width: 100%; }
  .contact__info { flex-direction: column; gap: 10px; }
  .form { padding: 30px 22px 26px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-block: 72px 48px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand img { width: 180px; }
  .footer__bottom .wrap { flex-direction: column; gap: 6px; padding-bottom: 104px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; z-index: 50; inset-inline: 12px; bottom: 12px; padding: 8px;
    border-radius: 18px; background: rgba(7, 20, 43, 0.86); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  }
  .mobile-bar a { height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; }
  .mobile-bar a svg { width: 18px; height: 18px; }
  .mobile-bar .wa { background: #1f9d55; }
  .mobile-bar .alt { background: rgba(255, 255, 255, 0.08); }
  /* project page */
  .p-hero { height: 640px; }
  .p-hero h1 { font-size: 64px; margin-top: 14px; }
  .p-hero__sub { font-size: 16px; }
  .p-hero__row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .p-hero__thumbs span { width: 76px; height: 52px; }
  .p-hero__content { bottom: 36px; }
  .specs .wrap { grid-template-columns: 1fr 1fr; }
  .spec { padding: 20px 0 22px; padding-inline-start: 16px; }
  .spec:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .spec:nth-child(n + 3) { border-top: 1px solid var(--line-d); }
  .spec:last-child { grid-column: 1 / -1; }
  .spec dd, .spec dd .num { font-size: 17px; }
  .p-body { grid-template-columns: 1fr; gap: 56px; }
  .p-main > * + * { margin-top: 72px; }
  .p-block h2 { font-size: 38px; }
  .p-prose { font-size: 16px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat { padding: 18px 16px; }
  .gallery { height: 420px; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
  .gallery figure:first-child { grid-row: auto; grid-column: 1 / -1; }
  .floor { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  .floor__n { font-size: 24px; }
  .floor li { font-size: 14px; padding: 6px 13px; }
  .p-ledger { padding: 30px 20px 24px; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .p-ledger__head .big { font-size: 76px; }
  .places { grid-template-columns: 1fr; }
  .p-map { height: 300px; }
  .gallery--wide { height: 460px; }
  .p-map--wide { height: 340px; margin-top: 28px; }
  .sec-head .places { min-width: 0 !important; width: 100%; }
  .aside { position: static; }
}

/* Motion (prototype): hero sequence «من الخط إلى الضوء» -------------------
   1) the architect's line drawing rises from the ground, 2) the real villa
   rises over it (daylight), 3) a time-lapse takes it to dusk and the lights
   come on, 4) it settles on the lit still. Reduced motion: lit still only. */
@media (prefers-reduced-motion: no-preference) {
  html.pre .hero__media > *, html.pre .hero__content > .wrap > * { opacity: 0; }
  html.play .hero__line { animation: rise-in 1.8s var(--ease) both; }
  html.play .hero__day { animation: rise-in 1.6s 1.7s var(--ease) both; }
  html.play .hero__video { opacity: 0; transition: opacity 0.5s ease; }
  html.play .hero__video.is-playing { opacity: 1; }
  html.play .hero__dusk { opacity: 0; transition: opacity 0.8s ease; }
  html.play.lit .hero__dusk { opacity: 1; }
  html.play .hero__content .wrap > * { animation: up 1.2s var(--ease) both; }
  html.play .hero__content .wrap > *:nth-child(1) { animation-delay: 0.3s; }
  html.play .hero__content .wrap > *:nth-child(2) { animation-delay: 0.45s; }
  html.play .hero__content .wrap > *:nth-child(3) { animation-delay: 0.6s; }
  html.play .hero__content .wrap > *:nth-child(4) { animation-delay: 0.75s; }
  .stages li { transition: color 0.6s ease; }
}
@keyframes rise-in { from { opacity: 0.2; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* review pass ------------------------------------------------------------- */
.card__img--site img { filter: saturate(0.72) brightness(0.9) contrast(1.06); }
.card__img--site::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 34, 74, 0.34), rgba(11, 34, 74, 0.14)); mix-blend-mode: multiply; }
.map-btn { position: absolute; z-index: 3; top: 16px; inset-inline-start: 16px; height: 42px; padding-inline: 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); background: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.map-btn svg { width: 16px; height: 16px; }
.ledger__stamp { margin-top: 22px; font-size: 14px; color: var(--on-dark-3); }
.supply__logos span.is-dark { background: #13284f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

/* ---- preview build only ---- */
.pv-tab {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 30;
  padding: 4px 14px 5px; border-radius: 0 0 10px 10px;
  background: rgba(7, 20, 43, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14); border-top: 0;
  color: #ECEAE5; font: 500 12px/1.4 "IBM Plex Sans Arabic", system-ui, sans-serif;
  white-space: nowrap; pointer-events: none;
}
.pv-toast {
  position: fixed; z-index: 60; left: 50%; bottom: 28px; transform: translate(-50%, 12px);
  width: max-content; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 14px;
  background: rgba(7, 20, 43, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.55);
  color: #fff; font: 500 14px/1.5 "IBM Plex Sans Arabic", system-ui, sans-serif; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.pv-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 640px) { .pv-toast { bottom: 92px; } .pv-tab__more { display: none; } }
@media (prefers-reduced-motion: reduce) { .pv-toast { transition: none; } }
