/* ==========================================================================
   Cavara Circle — landing page
   Layout concept: a quiet ivory brochure that opens on one dusk photograph,
   then alternates full-bleed imagery with straight-edged stone and black panels.
   Brand source: Cavara Development master palette + Cavara Circle broker deck.
   ========================================================================== */

:root {
  /* Colour — Cavara Development master palette (flat, no gradients) */
  /* Colour — official Cavara Development kit (logo, icon and letterhead files) */
  --ivory: #E1DDD1;      /* Light Stone: page ground, and light text on dark */
  --paper: #FFFFFF;      /* White: alternate sections, form card, plan viewers (as on the letterhead) */
  --warm: #E0D6CB;       /* Warm Ivory: the light logo colour */
  --ink: #231F20;        /* Charcoal: the logo black, all text on light */
  --night: #0C0C0C;      /* Black: dark sections and the black logo ground */
  --sand: #D8C6AA;       /* Sand: the icon colour; accent on dark grounds */
  --stone: var(--sand);  /* panels */
  --bronze: var(--sand); /* accent on dark (figures, key lines, primary CTA) */
  --bronze-ink: var(--ink); /* accent on light grounds stays charcoal */
  --taupe: var(--ink);   /* headlines on light */
  --ink-2: #4A4446;      /* secondary text on light */
  --ink-3: #625B5D;      /* captions on light */
  --line: rgba(35, 31, 32, .14);
  --line-dark: rgba(224, 214, 203, .16);

  /* Type — self-hosted in fonts.css: Cormorant Garamond (primary), Neue Haas Grotesk Text (secondary), Noto Kufi Arabic (Arabic headlines), IBM Plex Sans Arabic (Arabic body) */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Neue Haas Grotesk Text", "Neue Haas Grotesk Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;          /* Arabic body */
  --num: "Neue Haas Grotesk Display", "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif; /* figures */
  --arabic-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", Tahoma, sans-serif; /* Arabic headlines */

  --fs-display: clamp(2.23rem, 1.23rem + 3.6vw, 4.43rem);   /* −2pt (client, Nov 2026) */
  --fs-h2: clamp(1.58rem, 1.03rem + 2vw, 2.83rem);            /* −2pt (client, Nov 2026) */
  --fs-h3: clamp(1.25rem, 1.05rem + .8vw, 1.7rem);
  --fs-lead: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-micro: .72rem;

  --track-caps: .14em;
  --track-title: .06em;

  --wrap: 1320px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --header-h: 76px;

  color-scheme: light;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Arabic: one typeface, no tracking, slightly larger body */
html[dir="rtl"] body { font-family: var(--arabic); font-size: 1.04rem; line-height: 1.85; }
html[dir="rtl"] * { letter-spacing: 0 !important; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 20px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- Typographic system ---------- */
.eyebrow {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.eyebrow .mark { width: 22px; height: auto; color: var(--ink); flex: none; }
.on-dark .eyebrow, .on-dark .eyebrow .mark { color: var(--ivory); }
html[dir="rtl"] .eyebrow { font-family: var(--arabic); font-size: .9rem; font-weight: 500; }

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: var(--track-title);
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0;
  text-wrap: balance;
  max-width: 22ch;
}
.title--xl { font-size: var(--fs-display); max-width: 18ch; }
.on-dark .title { color: var(--sand); }
html[dir="rtl"] .title { font-family: var(--arabic-head); font-weight: 300; line-height: 1.35; text-transform: none; max-width: 24ch; }

.lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 54ch; margin: 0; }
.on-dark .lead { color: rgba(224, 214, 203, .78); }
.muted { color: var(--ink-3); }
.figure-num {
  font-family: var(--num);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--bronze-ink);
  font-variant-numeric: lining-nums;
}
.figure-num small { font-weight: 400; letter-spacing: .06em; }
.on-dark .figure-num { color: var(--bronze); }
html[dir="rtl"] .figure-num { font-family: var(--num); }

/* ---------- Buttons ---------- */
.btn {
  /* rest colours, then the colours the hover sweep brings in */
  --b-bg: var(--ink); --b-fg: var(--ivory); --b-bd: var(--ink);
  --b-hbg: var(--ivory); --b-hfg: var(--ink); --b-hbd: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: 0 1.6rem;
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid var(--b-bd); border-radius: 0;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: color .45s cubic-bezier(.7,0,.2,1), border-color .45s ease;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-hbg);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .55s cubic-bezier(.7,0,.2,1);
}
html[dir="rtl"] .btn::before { transform-origin: left center; }
.btn:hover, .btn:focus-visible { color: var(--b-hfg); border-color: var(--b-hbd); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
html[dir="rtl"] .btn:hover::before, html[dir="rtl"] .btn:focus-visible::before { transform-origin: right center; }
.btn .arrow { transition: transform .45s cubic-bezier(.7,0,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); --b-hbg: var(--ink); --b-hfg: var(--ivory); --b-hbd: var(--ink); }
.btn--light { --b-bg: var(--ivory); --b-fg: var(--ink); --b-bd: var(--ivory); --b-hbg: var(--bronze); --b-hfg: var(--night); --b-hbd: var(--bronze); }
.btn--line-light { --b-bg: transparent; --b-fg: var(--ivory); --b-bd: rgba(224,214,203,.6); --b-hbg: var(--ivory); --b-hfg: var(--ink); --b-hbd: var(--ivory); }
.btn--bronze { --b-bg: var(--bronze); --b-fg: var(--night); --b-bd: var(--bronze); --b-hbg: var(--ivory); --b-hfg: var(--night); --b-hbd: var(--ivory); }
.btn svg { width: 14px; height: 14px; flex: none; }
html[dir="rtl"] .btn { font-family: var(--arabic); font-size: .92rem; font-weight: 500; text-transform: none; }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; padding-block: .35rem; border-bottom: 1px solid currentColor;
  background: none; border-top: 0; border-inline: 0; cursor: pointer;
}
html[dir="rtl"] .text-link { font-size: .92rem; text-transform: none; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--ink); }
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); inset-inline: 0; z-index: 60;
  color: var(--ivory);
  transition: background .35s ease, color .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; color: inherit; text-decoration: none; }
.brand .logo { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.nav a {
  text-decoration: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  opacity: .9; padding-block: .4rem; border-bottom: 1px solid transparent;
}
.nav a:hover { opacity: 1; border-bottom-color: currentColor; }
html[dir="rtl"] .nav a { font-size: .92rem; text-transform: none; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.lang-toggle {
  background: none; border: 1px solid currentColor; border-radius: 0;
  min-height: 40px; min-width: 64px; padding: 0 .8rem;
  font-family: var(--arabic); font-size: .9rem; font-weight: 500; color: inherit;
}
html[dir="rtl"] .lang-toggle { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.header-cta { min-height: 40px; padding: 0 1.1rem; --b-bg: var(--ivory); --b-fg: var(--ink); --b-bd: var(--ivory); --b-hbg: var(--bronze); --b-hfg: var(--night); --b-hbd: var(--bronze); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-btn span { display: block; height: 1px; background: currentColor; margin-block: 6px; transition: transform .3s ease, opacity .3s ease; }

.site-header.is-solid { background: var(--ivory); color: var(--ink); border-bottom-color: var(--line); }
.site-header.is-solid .header-cta { --b-bg: var(--ink); --b-fg: var(--ivory); --b-bd: var(--ink); --b-hbg: var(--bronze); --b-hfg: var(--night); --b-hbd: var(--bronze); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .header-cta { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--ivory);
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 28px) var(--gutter);
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - 18px); }
.drawer-close { background: none; border: 0; width: 44px; height: 44px; position: relative; }
.drawer-close::before, .drawer-close::after { content: ""; position: absolute; inset-inline-start: 10px; top: 21px; width: 24px; height: 1px; background: var(--ivory); transform: rotate(45deg); }
.drawer-close::after { transform: rotate(-45deg); }
.drawer nav { display: flex; flex-direction: column; margin-top: 2rem; border-top: 1px solid var(--line-dark); }
.drawer nav a {
  font-family: var(--serif); font-size: 1.7rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding-block: .8rem; border-bottom: 1px solid var(--line-dark); color: var(--sand);
}
html[dir="rtl"] .drawer nav a { font-family: var(--arabic-head); font-weight: 300; font-size: 1.5rem; text-transform: none; }
.drawer .btn { margin-top: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--ivory); }
.hero-media { position: relative; height: clamp(560px, 92vh, 980px); overflow: hidden; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media picture { display: block; will-change: transform; }
.hero-media img { object-fit: cover; object-position: 50% 40%; animation: heroIn 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: .5; } to { transform: none; opacity: 1; } }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 34% at 50% 50%, rgba(12,12,12,.48) 0%, rgba(12,12,12,.22) 55%, rgba(12,12,12,0) 100%),
    linear-gradient(180deg, rgba(12,12,12,.55) 0%, rgba(12,12,12,0) 22%, rgba(12,12,12,0) 62%, rgba(12,12,12,.5) 100%); }
@media (max-width: 700px) { .hero-shade { background: radial-gradient(ellipse 90% 34% at 50% 52%, rgba(12,12,12,.62), rgba(12,12,12,0)), linear-gradient(180deg, rgba(12,12,12,.5) 0%, rgba(12,12,12,0) 25%, rgba(12,12,12,0) 70%, rgba(12,12,12,.45) 100%); } }
.hero-lockup {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-inline: 20px; gap: 1.6rem; padding-top: var(--header-h);
}
.hero-lockup .logo { width: min(520px, 74vw); height: auto; color: var(--ivory); animation: rise 1.6s .3s cubic-bezier(.2,.7,.2,1) both; }
.hero-tag {
  font-family: var(--serif); font-size: clamp(.82rem, .7rem + .4vw, 1.05rem); letter-spacing: .26em; text-transform: uppercase;
  margin: 0; animation: rise 1.6s .55s cubic-bezier(.2,.7,.2,1) both;
}
.hero-tag small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .3em; opacity: .85; margin-top: .7rem; }
html[dir="rtl"] .hero-tag { font-family: var(--arabic-head); font-size: 1.15rem; font-weight: 300; }
html[dir="rtl"] .hero-tag small { font-family: var(--arabic); font-size: .95rem; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-panel { background: var(--ink); border-top: 1px solid var(--line-dark); }
.hero-panel .wrap { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; padding-block: 1.6rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 0; padding: 0; list-style: none; }
.hero-facts li { display: flex; align-items: baseline; gap: .6rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(224,214,203,.8); }
.hero-facts strong { font-family: var(--num); font-weight: 300; font-size: 1.45rem; letter-spacing: 0; color: var(--bronze); text-transform: none; }
html[dir="rtl"] .hero-facts li { font-size: .95rem; text-transform: none; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-panel .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
  .hero-facts li { flex-direction: column; gap: .2rem; font-size: .68rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--night { background: var(--night); color: var(--ivory); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.section-head > div:first-child { display: contents; }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: -.6rem; }
.section-head .lead { justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lead { justify-self: start; } }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.numbers > div { padding: 2rem 1.2rem 1.6rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
html[dir="rtl"] .numbers > div { padding: 2rem 0 1.6rem 1.2rem; }
.numbers .figure-num { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); white-space: nowrap; }
.numbers .figure-num small { font-size: .45em; letter-spacing: .04em; }
.numbers p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); max-width: 18ch; }
@media (max-width: 1100px) { .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbers > div { padding-inline-end: .8rem; } }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.split--rev > :first-child { order: 2; }
.split .media { position: relative; overflow: hidden; }
.split .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .copy { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.points li { padding-block: 1rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.on-dark .points { border-color: var(--line-dark); }
.on-dark .points li { border-color: var(--line-dark); color: rgba(224,214,203,.82); }

.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.pillars dt, .pillars .k { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.pillars .v { color: var(--ink-2); }
html[dir="rtl"] .pillars .k { font-family: var(--arabic-head); font-size: 1.1rem; font-weight: 500; }
@media (max-width: 480px) { .pillars li { grid-template-columns: 1fr; gap: .2rem; } }

/* Every decision, considered: portrait image held in place beside the two lists */
.decisions { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.decisions-media { position: sticky; top: calc(var(--header-h) + 2rem); overflow: hidden; }
.decisions-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.decisions .copy { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; }
.pillars-label { margin: 1.4rem 0 -.6rem; font-family: var(--serif); font-size: .82rem; font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-3); }
html[dir="rtl"] .pillars-label { font-family: var(--arabic); font-size: .92rem; }
@media (max-width: 900px) { .decisions { grid-template-columns: 1fr; } .decisions-media { position: static; } .decisions-media img { aspect-ratio: 4 / 3; } }

/* Full-bleed band */
.band { position: relative; color: var(--ivory); overflow: hidden; background: var(--night); }
.band { height: clamp(420px, 70vh, 760px); }
.band img { position: absolute; inset-inline: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.band .band-copy { position: absolute; inset: auto 0 0 0; padding-block: clamp(2rem, 4vw, 4rem); background: linear-gradient(0deg, rgba(12,12,12,.62), rgba(12,12,12,0)); }
.band .title { color: var(--ivory); }
.band p { margin: .8rem 0 0; max-width: 46ch; color: rgba(224,214,203,.85); }

/* ---------- Residences ---------- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: clamp(2rem, 3vw, 3rem); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px;
  padding: 1rem 1.4rem 1rem 0; margin-inline-end: 1.4rem;
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap;
}
html[dir="rtl"] .tab { padding: 1rem 0 1rem 1.4rem; font-family: var(--arabic); font-size: 1rem; text-transform: none; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab:hover { color: var(--ink); }
.tab-panel[hidden] { display: none; }

.collection { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.collection .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.collection .copy { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.collection h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); letter-spacing: .06em; text-transform: uppercase; color: var(--taupe); margin: 0; text-wrap: balance; }
html[dir="rtl"] .collection h3 { font-family: var(--arabic-head); font-weight: 300; text-transform: none; }
.unit-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.unit-table th { text-align: start; font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); padding: 0 .6rem .7rem 0; border-bottom: 1px solid var(--ink); }
html[dir="rtl"] .unit-table th { font-size: .82rem; text-transform: none; padding: 0 0 .7rem .6rem; }
.unit-table td { padding: 1rem .6rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
html[dir="rtl"] .unit-table td { padding: 1rem 0 1rem .6rem; }
.unit-table td:first-child { font-weight: 500; }
.unit-table .price { color: var(--bronze-ink); white-space: nowrap; }
.unit-table .price span { display: block; font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
html[dir="rtl"] .unit-table .price span { font-size: .8rem; }
.table-scroll { overflow-x: auto; }
.callout { display: flex; gap: 1.2rem; align-items: center; padding: 1.2rem 1.4rem; background: var(--stone); color: var(--ink); }
.callout .figure-num { font-size: 2.6rem; color: var(--ink); }
.callout p { margin: 0; font-size: var(--fs-small); }
.price-note { font-size: var(--fs-micro); color: var(--ink-3); margin: 0; }
html[dir="rtl"] .price-note { font-size: .82rem; }
@media (max-width: 900px) { .collection { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .unit-table thead { display: none; }
  .unit-table, .unit-table tbody, .unit-table tr, .unit-table td { display: block; width: 100%; }
  .unit-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .unit-table td { border: 0; padding: 0; }
  .unit-table td:first-child { grid-column: 1 / -1; font-size: 1.05rem; }
  .unit-table td::before { content: attr(data-label); display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
  html[dir="rtl"] .unit-table td::before { font-size: .78rem; }
  .unit-table td:first-child::before { display: none; }
}

/* ---------- Interiors gallery ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 42%); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--stone) transparent;
}
.rail figure { margin: 0; scroll-snap-align: start; }
.rail button { display: block; width: 100%; padding: 0; border: 0; background: none; }
.rail img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s ease; }
.rail button:hover img { transform: scale(1.02); }
.rail figcaption { font-size: var(--fs-small); color: var(--ink-3); padding-top: .6rem; }
@media (max-width: 700px) { .rail { grid-auto-columns: 84%; } }
.rail-controls { display: flex; gap: .5rem; }
.icon-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; background: none; border: 1px solid var(--ink); border-radius: 0; }
.icon-btn:hover { background: var(--ink); color: var(--ivory); }
.icon-btn svg { width: 16px; height: 16px; }
html[dir="rtl"] .icon-btn svg { transform: scaleX(-1); }
.interiors-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: clamp(2.5rem, 4vw, 4rem); margin-bottom: 1.4rem; flex-wrap: wrap; }

/* ---------- Floor plans ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
.plan-list { display: flex; flex-direction: column; gap: 1.6rem; }
.plan-group h3 { font-family: var(--serif); font-weight: 500; font-size: .85rem; letter-spacing: var(--track-caps); text-transform: uppercase; margin: 0 0 .6rem; color: var(--ink-3); }
html[dir="rtl"] .plan-group h3 { font-family: var(--arabic); font-size: .95rem; text-transform: none; }
.plan-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  background: none; border: 1px solid var(--line); border-radius: 0; padding: .55rem .8rem;
  font-size: .82rem; display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.3; min-width: 96px;
}
.chip small { color: var(--ink-3); font-size: .72rem; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.chip[aria-pressed="true"] small { color: var(--sand); }
.plan-view { background: #fff; border: 1px solid var(--line); position: relative; }
.plan-view button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plan-view img { width: 100%; aspect-ratio: 1684 / 1190; object-fit: contain; }
.plan-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; }
.plan-meta p { margin: 0; font-size: var(--fs-small); color: var(--ink-3); max-width: 60ch; }
.plan-floors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 4vw, 4rem); }
.plan-floors button { padding: 0; border: 1px solid var(--line); background: #fff; display: block; width: 100%; cursor: zoom-in; text-align: start; }
.plan-floors img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.plan-floors span { display: block; padding: .7rem .9rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; border-top: 1px solid var(--line); }
html[dir="rtl"] .plan-floors span { font-size: .9rem; text-transform: none; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan-floors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Amenities ---------- */
.amen-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.amen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.amen { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.amen img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.amen h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; margin: 0; color: var(--ink); letter-spacing: .02em; }
html[dir="rtl"] .amen h3 { font-family: var(--arabic-head); font-size: 1.2rem; font-weight: 500; }
.amen p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 1000px) { .amen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .amen-grid { grid-template-columns: 1fr; } .amen img { aspect-ratio: 4 / 3; } }
.amen-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, 1rem); margin-top: clamp(1rem, 2vw, 1.6rem); }
.amen-strip button { padding: 0; border: 0; background: none; display: block; position: relative; }
.amen-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.amen-strip button::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(0deg, rgba(12,12,12,.55), rgba(12,12,12,0)); pointer-events: none; }
.amen-strip span { z-index: 1; position: absolute; inset-inline-start: .7rem; bottom: .6rem; color: var(--ivory); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
html[dir="rtl"] .amen-strip span { font-size: .88rem; text-transform: none; }
@media (max-width: 700px) { .amen-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.map { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.map button { padding: 0; border: 0; background: none; display: block; width: 100%; cursor: zoom-in; }
.map img { width: 100%; }
.access { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-bottom: 2rem; }
.access div { padding: 1.2rem 1rem 1.2rem 0; border-bottom: 1px solid var(--line); }
html[dir="rtl"] .access div { padding: 1.2rem 0 1.2rem 1rem; }
.access .figure-num { font-size: 2.4rem; }
.access .figure-num small { font-size: .42em; letter-spacing: .12em; text-transform: uppercase; margin-inline-start: .3em; }
html[dir="rtl"] .access .figure-num small { font-family: var(--arabic); font-size: .4em; }
.access p { margin: .4rem 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.distances { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.distances li { break-inside: avoid; display: flex; justify-content: space-between; gap: 1rem; padding-block: .7rem; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.distances li span:last-child { color: var(--bronze-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.distances-title { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 .6rem; font-weight: 400; }
html[dir="rtl"] .distances-title { font-family: var(--arabic-head); font-size: 1.15rem; font-weight: 500; }
@media (max-width: 1000px) { .loc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .distances { columns: 1; } .access { grid-template-columns: 1fr; } .access div { display: flex; gap: 1rem; align-items: baseline; } }

/* ---------- Location on black: brand-toned map with a live layer ---------- */
.location .map { background: #141312; border: 1px solid var(--line-dark); }
.location .access { border-top-color: var(--line-dark); }
.location .access div { border-bottom-color: var(--line-dark); transition: border-color .4s ease; }
.location .access p, .location .distances li { color: rgba(224, 214, 203, .82); }
.location .distances li { border-bottom-color: var(--line-dark); transition: color .3s ease, padding .3s ease; }
.location .distances li span:last-child { color: var(--sand); }
.location .distances-title { color: var(--ivory); }
.map-hint { margin: -.2rem 0 .8rem; font-size: var(--fs-small); color: rgba(224, 214, 203, .55); }
[data-dest].on-map { cursor: pointer; }
[data-dest].on-map:focus-visible { outline: 1px solid var(--sand); outline-offset: 2px; }
.location .distances li.on-map:hover, .location .distances li.is-active { color: var(--ivory); padding-inline-start: .6rem; }
.location .distances li.is-active { box-shadow: inset 2px 0 0 var(--sand); }
html[dir="rtl"] .location .distances li.is-active { box-shadow: inset -2px 0 0 var(--sand); }
.location .distances li.off-map { color: rgba(224, 214, 203, .5); }
.location .access div.is-active { border-bottom-color: var(--sand); }

.map-overlay { position: absolute; inset: 0; pointer-events: none; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-route { fill: none; stroke: var(--sand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.map-overlay.is-on .map-route { opacity: 1; animation: routeDraw 1.1s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes routeDraw { to { stroke-dashoffset: 0; } }
.map-home { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 3px rgba(12, 12, 12, .7); }
.map-home::before, .map-home::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid var(--sand); animation: homePulse 2.8s cubic-bezier(.2,.7,.2,1) infinite; }
.map-home::after { animation-delay: 1.4s; }
@keyframes homePulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(4.6); opacity: 0; } }
.map-ring { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 1.5px solid var(--sand); background: rgba(216, 198, 170, .12); opacity: 0; transform: scale(.3); transition: opacity .35s ease .7s, transform .6s cubic-bezier(.2,.7,.2,1) .7s; }
.map-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--sand); }
.map-overlay.is-on .map-ring { opacity: 1; transform: none; }
.map-chip { position: absolute; display: inline-flex; align-items: baseline; gap: .6rem; padding: .5rem .75rem; white-space: nowrap;
  background: rgba(12, 12, 12, .9); border: 1px solid rgba(216, 198, 170, .45); color: var(--ivory); font-size: .74rem; line-height: 1.2;
  transform: translate(-50%, calc(-100% - 22px)); opacity: 0; transition: opacity .35s ease .8s; }
.map-chip.below { transform: translate(-50%, 22px); }
.map-chip b { font-weight: 500; }
.map-chip span { color: var(--sand); }
.map-overlay.is-on .map-chip { opacity: 1; }
html[dir="rtl"] .map-chip { font-family: var(--arabic); font-size: .82rem; }
@media (max-width: 700px) { .map-chip { font-size: .68rem; padding: .4rem .6rem; } }
@media (prefers-reduced-motion: reduce) {
  .map-overlay.is-on .map-route { animation: none; stroke-dashoffset: 0; }
  .map-home::before, .map-home::after { animation: none; display: none; }
  .map-ring, .map-chip { transition: none; }
}

/* ---------- Timing / Payment ---------- */
.plan-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); margin-top: clamp(2rem, 4vw, 3.5rem); counter-reset: s; }
.plan-steps li { list-style: none; padding: 1.4rem 1rem 1.4rem 0; border-inline-end: 1px solid var(--line-dark); position: relative; min-width: 0; }
html[dir="rtl"] .plan-steps li { padding: 1.4rem 0 1.4rem 1rem; }
.plan-steps li:last-child { border-inline-end: 0; }
.plan-steps li::before { content: ""; position: absolute; top: -4px; inset-inline-start: 0; width: 7px; height: 7px; background: var(--bronze); }
.plan-steps .figure-num { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); display: block; }
.plan-steps p { margin: .6rem 0 0; font-size: .82rem; color: rgba(224,214,203,.72); padding-inline-end: .6rem; }
.plan-steps li.final .figure-num { color: var(--ivory); }
.plan-steps { padding: 0; }
@media (max-width: 1000px) { .plan-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .plan-steps li:nth-child(4) { border-inline-end: 0; } .plan-steps li { border-bottom: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .plan-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-steps li { border-inline-end: 0; } .plan-steps li.final { grid-column: 1 / -1; } }
.plan-summary { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: baseline; }
.plan-summary div { display: flex; align-items: baseline; gap: 1rem; }
.plan-summary .figure-num { font-size: clamp(3.4rem, 2rem + 5vw, 6.5rem); }
.plan-summary p { margin: 0; max-width: 18ch; color: rgba(224,214,203,.82); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
html[dir="rtl"] .plan-summary p { font-size: 1rem; text-transform: none; }

/* ---------- Buyers ---------- */
.buyers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.buyer { display: flex; flex-direction: column; gap: 1.3rem; min-width: 0; }
.buyer img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.buyer h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); letter-spacing: .06em; text-transform: uppercase; color: var(--taupe); margin: 0; text-wrap: balance; }
html[dir="rtl"] .buyer h3 { font-family: var(--arabic-head); font-weight: 300; text-transform: none; }
@media (max-width: 800px) { .buyers { grid-template-columns: 1fr; } }

/* ---------- Developer ---------- */
.dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.dev .media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dev .copy { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.dev .copy p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.partners { display: flex; align-items: center; gap: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.partners svg { height: 42px; width: auto; color: var(--ink); }
.partners .sep { width: 1px; height: 44px; background: var(--line); }
.partners figure { margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.partners figcaption { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--ink-3); }
html[dir="rtl"] .partners figcaption { font-family: var(--arabic); font-style: normal; font-size: .88rem; }
.promise { margin: 0; padding: 2rem 0 0; }
.promise blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.2; color: var(--ink); }
html[dir="rtl"] .promise blockquote { font-family: var(--arabic-head); font-weight: 300; line-height: 1.5; }
.promise figcaption { margin-top: .8rem; color: var(--ink-3); font-size: var(--fs-small); }
@media (max-width: 560px) { .partners .sep { display: none; } .hero-tag { letter-spacing: .14em; font-size: .76rem; max-width: 34em; text-wrap: balance; } .hero-tag small { letter-spacing: .18em; font-size: .62rem; } .tab { font-size: .92rem; letter-spacing: .06em; margin-inline-end: .9rem; } }
@media (max-width: 900px) { .dev { grid-template-columns: 1fr; } .dev .media img { aspect-ratio: 4 / 3; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 960px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.35rem; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); color: var(--ink);
}
html[dir="rtl"] .faq summary { font-family: var(--arabic-head); font-size: 1.1rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg) translateY(-4px); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .answer { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 70ch; }
.faq .answer p { margin: 0; }

/* ---------- Register / form ---------- */
.register { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.register .copy { display: flex; flex-direction: column; gap: 1.4rem; position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 960px) { .register { grid-template-columns: 1fr; } .register .copy { position: static; } }
.contact-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.contact-lines li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--line-dark); font-size: var(--fs-small); color: rgba(224,214,203,.8); }
.contact-lines a { color: var(--ivory); text-decoration: none; direction: ltr; unicode-bidi: isolate; }

.lead-form { background: var(--paper); color: var(--ink); padding: clamp(1.4rem, 1rem + 2vw, 3rem); }
.intent-chip { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-ink); }
.intent-chip::before { content: ""; width: 7px; height: 7px; background: var(--ink); }
html[dir="rtl"] .intent-chip { font-size: .88rem; text-transform: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 0; }
html[dir="rtl"] .field label, html[dir="rtl"] .field legend { font-size: .85rem; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 0; border-bottom: 1px solid rgba(35,31,32,.35); border-radius: 0;
  background: transparent; padding: .6rem 0; font: inherit; font-size: 1rem; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 1.4rem; }
html[dir="rtl"] .field select { background-position: 10px 55%, 15px 55%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field .err { font-size: .78rem; color: #9B3B2E; min-height: 0; }
.field.invalid input, .field.invalid select { border-bottom-color: #9B3B2E; }
.phone-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: .8rem; direction: ltr; }
html[dir="rtl"] .phone-row input { text-align: right; }
html[dir="rtl"] .phone-row select { background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; padding-right: 1.4rem; padding-left: 0; text-align: left; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.segmented { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.segmented label { position: relative; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--ink); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid rgba(35,31,32,.25); }
.segmented input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 2px; }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .82rem; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--ink); flex: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form-foot .btn { min-width: 220px; }
.form-foot small { color: var(--ink-3); font-size: .76rem; max-width: 36ch; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: .9rem; }
.form-status.error { color: #9B3B2E; }
.success { display: flex; flex-direction: column; gap: 1rem; padding-block: 2rem; }
.success h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0; letter-spacing: .04em; text-transform: uppercase; color: var(--taupe); }
html[dir="rtl"] .success h3 { font-family: var(--arabic-head); font-weight: 300; text-transform: none; }
.success p { margin: 0; color: var(--ink-2); }
.btn[disabled] { opacity: .55; pointer-events: none; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .phone-row { grid-template-columns: 110px minmax(0, 1fr); } .form-foot .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(224,214,203,.75); padding-block: clamp(3.5rem, 6vw, 6rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.foot-top .logo { width: 180px; color: var(--ivory); }
.foot-top h4 { font-family: var(--serif); font-weight: 500; font-size: .8rem; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--sand); margin: 0 0 1rem; }
html[dir="rtl"] .foot-top h4 { font-family: var(--arabic-head); font-size: .95rem; text-transform: none; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: var(--fs-small); }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--ivory); }
.foot-dev { display: flex; flex-direction: column; gap: 1.4rem; }
.foot-dev .dev-logo { width: 150px; color: var(--ivory); }
.foot-legal { padding-top: 2rem; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; font-size: .76rem; line-height: 1.7; color: rgba(224,214,203,.55); }
.foot-legal p { margin: 0; }
.foot-legal .right { text-align: end; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } .foot-legal { grid-template-columns: 1fr; } .foot-legal .right { text-align: start; } }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 55; display: none;
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
  background: var(--ink); border-top: 1px solid var(--line-dark);
  padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  transform: translateY(110%); transition: transform .35s ease;
}
.action-bar.is-visible { transform: none; }
.action-bar a, .action-bar button {
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px;
  color: var(--ivory); text-decoration: none; background: none; border: 0; border-inline-start: 1px solid var(--line-dark);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.action-bar > :first-child { border-inline-start: 0; }
.action-bar .primary { background: var(--bronze); color: var(--night); }
.action-bar svg { width: 16px; height: 16px; }
html[dir="rtl"] .action-bar a, html[dir="rtl"] .action-bar button { font-size: .9rem; text-transform: none; }
@media (max-width: 860px) { .action-bar { display: grid; } .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); } }


/* ---------- Official Cavara Development logo (English / Arabic) ---------- */
.lg { display: inline-flex; align-items: center; }
.lg-ar { display: none; }
html[lang="ar"] .lg-en { display: none; }
html[lang="ar"] .lg-ar { display: inline-flex; }
.logo-master { display: block; height: 100%; width: auto; }
.brand .lg { height: 32px; }
html[lang="ar"] .brand .lg { height: 40px; }
.partners .lg { height: 46px; }
.foot-dev .lg { height: 42px; color: var(--ivory); }
html[lang="ar"] .foot-dev .lg, html[lang="ar"] .partners .lg { height: 54px; }
a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
.foot-address { margin: 0; font-size: var(--fs-small); max-width: 32ch; color: rgba(224,214,203,.7); }

/* Noto Kufi Arabic runs wide: Arabic headlines step down slightly */
html[dir="rtl"] .title { font-size: calc(var(--fs-h2) * .86); }
html[dir="rtl"] .title--xl { font-size: calc(var(--fs-display) * .8); }
html[dir="rtl"] .collection h3, html[dir="rtl"] .buyer h3 { font-size: calc(var(--fs-h3) * .9); }
html[dir="rtl"] .promise blockquote { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12,12,12,.96); display: grid; grid-template-rows: auto 1fr auto; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 16px) var(--gutter); }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; color: var(--ivory); min-height: 52px; gap: 1rem; }
.lb-top p { margin: 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .lb-top p { font-size: .95rem; text-transform: none; }
.lb-stage { display: grid; place-items: center; min-height: 0; overflow: auto; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; background: transparent; }
.lb-stage img.is-plan { background: #fff; }
.lb-nav { display: flex; justify-content: center; gap: .6rem; padding-top: .8rem; }
.lightbox .icon-btn { border-color: rgba(224,214,203,.5); color: var(--ivory); }
.lightbox .icon-btn:hover { background: var(--ivory); color: var(--ink); }

/* Section dividers that reuse the brand mark */
.mark-divider { display: flex; justify-content: center; padding-block: 0 0; color: var(--stone); }
.mark-divider svg { width: 30px; }

/* ==========================================================================
   Client edits — Nov 2026
   ========================================================================== */
/* 1 · language toggle hover + pinned header */
.lang-toggle { cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.lang-toggle:hover, .lang-toggle:focus-visible { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.site-header.is-solid .lang-toggle:hover, .site-header.is-solid .lang-toggle:focus-visible { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.site-header.is-hidden { transform: none !important; }

/* 2 · hero strip: four even columns, label over figure */
.hero-panel .wrap { padding-block: 1.5rem; gap: 1.5rem 3rem; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 0; justify-content: start; }
.hero-facts li { flex-direction: column; align-items: flex-start; gap: .45rem; padding-inline: clamp(1rem, 2.2vw, 2.4rem); border-inline-start: 1px solid var(--line-dark); font-size: .66rem; letter-spacing: .16em; color: rgba(224,214,203,.62); white-space: nowrap; }
.hero-facts li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hero-facts strong { font-size: clamp(1.35rem, 1rem + .9vw, 1.75rem); line-height: 1; color: var(--sand, var(--bronze)); }
html[dir="rtl"] .hero-facts li { font-size: .82rem; letter-spacing: 0; }
@media (max-width: 1180px) { .hero-panel .wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 1.1rem 0; }
  .hero-facts li { padding-inline: 1rem; font-size: .62rem; white-space: normal; }
  .hero-facts li:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
}

/* 3 · numbers: four additional figures */
.numbers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .numbers--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 6 · solid CTA button */
.btn--solid { --b-bg: var(--ink); --b-fg: var(--ivory); --b-bd: var(--ink); --b-hbg: var(--bronze); --b-hfg: var(--night); --b-hbd: var(--bronze); }
.unit-cta { align-self: flex-start; margin-top: 1.6rem; }
.on-dark .btn--solid { --b-bg: var(--bronze); --b-fg: var(--night); --b-bd: var(--bronze); --b-hbg: var(--ivory); --b-hbd: var(--ivory); }

/* 8 · floor plans: description directly under the headline, one line */
.section-head--stack { grid-template-columns: 1fr; gap: 1rem; }
.section-head--stack .lead { justify-self: start; max-width: none; }
@media (min-width: 861px) { .lead--tight { white-space: nowrap; } }
.plan-meta .btn { flex: none; }

/* 9 · amenities: hero image + compact gallery */
.amen-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, 1rem); margin-top: clamp(.8rem, 1.5vw, 1.2rem); }
.amen-gallery button { padding: 0; border: 0; background: none; display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.amen-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s ease; }
.amen-gallery button:hover img { transform: scale(1.04); }
.amen-gallery button::after { content: ""; position: absolute; inset: 50% 0 0 0; background: linear-gradient(0deg, rgba(12,12,12,.6), rgba(12,12,12,0)); pointer-events: none; }
.amen-gallery span { z-index: 1; position: absolute; inset-inline-start: .8rem; bottom: .65rem; color: var(--ivory); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .amen-gallery span { font-size: .86rem; letter-spacing: 0; text-transform: none; }
.amen-list { margin: 1.4rem 0 0; font-size: var(--fs-small); color: var(--ink-2); letter-spacing: .02em; }
@media (max-width: 700px) { .amen-gallery { grid-template-columns: 1fr 1fr; } }

/* 10 · location: four access figures + parks */
.access--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.parks-title { margin-top: 2rem; }
.parks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.parks li { padding: .5rem .9rem; border: 1px solid var(--line-dark); font-size: var(--fs-small); color: rgba(224,214,203,.82); cursor: pointer; transition: border-color .3s ease, color .3s ease, background .3s ease; }
.parks li:hover, .parks li.is-active { border-color: var(--sand); color: var(--ivory); background: rgba(216,198,170,.08); }

/* 12 · payment plan spacing */
.plan-summary p { max-width: none; white-space: nowrap; }
.plan-steps li { padding: 1.9rem 1rem 1.5rem 1.2rem; }
.plan-steps li:first-child { padding-inline-start: 0; }
html[dir="rtl"] .plan-steps li { padding: 1.9rem 1.2rem 1.5rem 1rem; }
html[dir="rtl"] .plan-steps li:first-child { padding-inline-start: 0; }
.plan-steps li::before { inset-inline-start: -1px; }
.plan-steps li:first-child::before { inset-inline-start: 0; }
.plan-steps p { margin-top: .8rem; }
@media (max-width: 1000px) { .plan-steps li:nth-child(5) { padding-inline-start: 0; } }
@media (max-width: 560px) { .plan-steps li:nth-child(odd) { padding-inline-start: 0; } .plan-summary p { white-space: normal; } }

/* 14 · required fields */
.field label.is-req::after { content: " *"; color: #9a3b2e; }

/* 6 · Essential tab: studio + one-bedroom side by side */
.media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.media--pair figure { margin: 0; position: relative; overflow: hidden; }
.collection .media--pair img { aspect-ratio: 3 / 4.5; }
.media--pair figcaption { position: absolute; inset-inline-start: .8rem; bottom: .7rem; color: var(--ivory); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
html[dir="rtl"] .media--pair figcaption { font-size: .86rem; letter-spacing: 0; text-transform: none; }
@media (max-width: 560px) { .collection .media--pair img { aspect-ratio: 3 / 4; } }

/* 10b · driving distances filter */
.dist-filter { position: relative; display: flex; gap: 0; margin: .4rem 0 1.1rem; border-bottom: 1px solid var(--line-dark); overflow-x: auto; scrollbar-width: none; }
.dist-filter::-webkit-scrollbar { display: none; }
.dist-filter button { flex: none; background: none; border: 0; padding: .75rem 1.1rem .8rem; color: rgba(224,214,203,.55); font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; transition: color .3s ease; }
.dist-filter button:first-child { padding-inline-start: 0; }
.dist-filter button small { font-size: .62rem; letter-spacing: 0; padding: .18rem .38rem; border: 1px solid currentColor; border-radius: 99px; line-height: 1; opacity: .7; }
.dist-filter button:hover, .dist-filter button[aria-selected="true"] { color: var(--ivory); }
.dist-filter button[aria-selected="true"] small { background: var(--sand); border-color: var(--sand); color: var(--night); opacity: 1; }
.dist-filter button:focus-visible { outline: 1px solid var(--sand); outline-offset: -3px; }
html[dir="rtl"] .dist-filter button { font-family: var(--arabic); font-size: .9rem; letter-spacing: 0; text-transform: none; }
.dist-ink { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--sand); transition: transform .45s cubic-bezier(.7,0,.2,1), width .45s cubic-bezier(.7,0,.2,1); pointer-events: none; }
.dist-group.is-in li { animation: distIn .5s cubic-bezier(.2,.7,.2,1) both; }
.dist-group.is-in li:nth-child(2) { animation-delay: .04s } .dist-group.is-in li:nth-child(3) { animation-delay: .08s }
.dist-group.is-in li:nth-child(4) { animation-delay: .12s } .dist-group.is-in li:nth-child(5) { animation-delay: .16s }
.dist-group.is-in li:nth-child(6) { animation-delay: .2s } .dist-group.is-in li:nth-child(7) { animation-delay: .24s }
.dist-group.is-in li:nth-child(8) { animation-delay: .28s } .dist-group.is-in li:nth-child(9) { animation-delay: .32s }
@keyframes distIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dist-group[hidden] { display: none; }
.dist-group { min-height: 9.5rem; }
.loc-grid > * { min-width: 0; }
.dist-filter { max-width: 100%; }
@media (max-width: 480px) { .dist-filter button { padding-inline: .8rem; letter-spacing: .1em; } }
@media (max-width: 560px) {
  .dist-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .dist-filter button, .dist-filter button:first-child { padding: .75rem .2rem .8rem; justify-content: center; font-size: .64rem; letter-spacing: .08em; gap: .3rem; }
  html[dir="rtl"] .dist-filter button { font-size: .8rem; }
  .dist-filter button small { font-size: .56rem; padding: .14rem .3rem; }
}
@media (max-width: 560px) { .dist-filter button small { display: none; } .dist-filter button { white-space: nowrap; } }


/* ==========================================================================
   Client edits — round 3 (Nov 2026)
   ========================================================================== */
/* Essential tab: show studio + one-bedroom renders in full, no cropping */
.collection .media--pair img { aspect-ratio: auto; height: auto; object-fit: contain; }
.media--pair { align-items: start; }
@media (max-width: 560px) { .media--pair { grid-template-columns: 1fr; } .collection .media--pair img { aspect-ratio: auto; } }

/* Floor plans: filterable horizontal gallery */
.plan-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: clamp(1.4rem, 3vw, 2.2rem) 0 1.2rem; }
.plan-filter { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.plan-filter::-webkit-scrollbar { display: none; }
.plan-filter button { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font: 500 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.plan-filter button small { font-size: .62rem; letter-spacing: 0; opacity: .7; }
.plan-filter button:hover { border-color: var(--ink); color: var(--ink); }
.plan-filter button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
html[dir="rtl"] .plan-filter button { font-family: var(--arabic); font-size: .88rem; letter-spacing: 0; text-transform: none; }
.plan-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1rem) / 3.25); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding-bottom: 1rem; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.plan-card { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; }
.plan-card button { display: block; width: 100%; padding: clamp(.6rem, 1.4vw, 1.1rem); border: 1px solid var(--line); background: #fff; cursor: zoom-in; transition: border-color .3s ease, box-shadow .3s ease; }
.plan-card button:hover { border-color: var(--ink-3); box-shadow: 0 10px 30px -18px rgba(12,12,12,.35); }
.plan-card img { width: 100%; aspect-ratio: 1684 / 1190; object-fit: contain; display: block; }
.plan-card figcaption { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; padding-top: .75rem; font-size: var(--fs-small); color: var(--ink-2); }
.plan-card figcaption b { font-weight: 500; color: var(--ink); }
.plan-card figcaption small { margin-inline-start: auto; font-family: var(--num); color: var(--ink-3); }
.plan-meta { margin-top: 1rem; }
@media (max-width: 1100px) { .plan-rail { grid-auto-columns: calc((100% - 1rem) / 2.2); } }
@media (max-width: 700px) {
  .plan-rail { grid-auto-columns: 84%; }
  .plan-bar .rail-controls { display: none; }
  .plan-bar { margin-bottom: .9rem; }
}

/* Amenities: six-image gallery */
.amen-gallery--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .amen-gallery--6 { grid-template-columns: 1fr 1fr; } }

/* Developer section: landscape render + new copy */
.dev .media img { aspect-ratio: 4 / 3.4; }
.dev .copy .dev-lead { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); line-height: 1.3; color: var(--ink); max-width: 30ch; }
html[dir="rtl"] .dev .copy .dev-lead { font-family: var(--arabic-head); font-weight: 300; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.7; }

/* Amenities: courtyard pool hero + five-image gallery */
.amen-hero img { object-position: 50% 74%; }
.amen-gallery--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.amen-gallery--5 img { aspect-ratio: 4 / 3.3; }
@media (max-width: 1000px) { .amen-gallery--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .amen-gallery--5 button:first-child { grid-column: 1 / -1; } .amen-gallery--5 button:first-child img { aspect-ratio: 16 / 9; } }
/* Interiors rail: one consistent frame for mixed render sizes */
.rail img { aspect-ratio: 16 / 10; object-position: 50% 55%; }

/* ==========================================================================
   Client edits — round 4 (Nov 2026): footer + mobile refinements
   ========================================================================== */
/* Footer: developer block first, explore links second */
.foot-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.foot-brand { order: -1; }
.foot-brand .foot-address { margin: 0; max-width: 34ch; font-size: var(--fs-small); line-height: 1.6; }
.foot-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .6rem 2.5rem; }
@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; gap: 2.2rem; padding-bottom: 2.2rem; }
  .foot-top > :first-child { grid-column: auto; }
  .foot-brand { gap: 1rem; }
  .foot-nav ul { grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
  .foot-legal { gap: 1rem; padding-top: 1.6rem; font-size: .72rem; }
}

@media (max-width: 700px) {
  /* Amenities: one horizontal swipe row instead of a stacked grid */
  .amen-gallery--5 { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: .6rem;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter, 20px)); padding-inline: var(--gutter, 20px); scroll-padding-inline: var(--gutter, 20px); }
  .amen-gallery--5::-webkit-scrollbar { display: none; }
  .amen-gallery--5 button, .amen-gallery--5 button:first-child { grid-column: auto; scroll-snap-align: start; }
  .amen-gallery--5 img, .amen-gallery--5 button:first-child img { aspect-ratio: 4 / 3; }

  /* Location: map + driving distances only */
  .location .access { display: none; }

  /* Payment plan: one aligned column of figure + label */
  .plan-summary { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
  .plan-summary div { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); align-items: center; gap: 1rem; }
  .plan-summary .figure-num { font-size: 3.4rem; line-height: 1; }
  .plan-summary p { white-space: normal; max-width: none; font-size: .78rem; line-height: 1.4; }
  .plan-steps li, .plan-steps li:first-child, .plan-steps li:nth-child(odd), .plan-steps li:nth-child(5) { padding: 1.3rem .8rem 1.2rem 0; }
  html[dir="rtl"] .plan-steps li, html[dir="rtl"] .plan-steps li:nth-child(odd) { padding: 1.3rem 0 1.2rem .8rem; }
  .plan-steps li::before, .plan-steps li:first-child::before { inset-inline-start: 0; }
  .plan-steps .figure-num { font-size: 2.2rem; }
}
@media (max-width: 700px) {
  .plan-summary div { grid-template-columns: 7.2rem minmax(0, 1fr); }
  .plan-summary .figure-num { font-size: 3rem; white-space: nowrap; }
}
.foot-nav { justify-self: end; }
@media (max-width: 860px) { .foot-nav { justify-self: stretch; } }
