:root {
  color-scheme: dark;
  --page: #101813;
  --panel: #151f19;
  --panel-soft: rgba(22, 32, 25, .86);
  --ink: #f2f0e9;
  --muted: #a7aea3;
  --muted-dark: #758076;
  --gold: #d3b574;
  --gold-soft: rgba(211, 181, 116, .14);
  --line: rgba(221, 211, 182, .16);
  --green: #879e7c;
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(80, 102, 75, .16), transparent 40%),
    linear-gradient(145deg, #121b15, #0c110e 70%);
  color: var(--ink);
}

button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.site-frame { position: relative; min-height: 100vh; isolation: isolate; }
.ambient { position: fixed; z-index: -2; width: 30rem; height: 30rem; border-radius: 50%; filter: blur(100px); opacity: .14; pointer-events: none; }
.ambient-one { top: -15rem; inset-inline-start: -10rem; background: #819870; }
.ambient-two { right: 48%; bottom: -22rem; background: #96794b; opacity: .1; }

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(20px, 6vw, 88px);
  border-bottom: 1px solid rgba(221, 211, 182, .1);
  animation: header-arrive .45s ease-out both;
}

.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  transition: transform .25s ease, filter .25s ease;
  animation: mark-arrive .55s cubic-bezier(.2, .75, .25, 1) both;
}
.brand:hover .brand-mark { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 3px 8px rgba(211, 181, 116, .2)); }
.brand-copy { display: grid; gap: 1px; direction: ltr; text-align: left; }
.brand-copy strong { font-size: 13px; letter-spacing: .16em; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .2em; }
.header-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.header-note i, .eyebrow-line { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 15px rgba(211, 181, 116, .55); }
.header-note i { animation: beacon 2.8s ease-in-out infinite; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.admin-open-button {
  display: grid;
  width: 40px;
  min-height: 40px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(211, 181, 116, .42);
  border-radius: 50%;
  background: rgba(211, 181, 116, .08);
  color: var(--gold);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.admin-open-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-open-button:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: rgba(211, 181, 116, .16);
}
.admin-open-button, .admin-primary-button, .admin-secondary-button, .admin-danger-button {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(211, 181, 116, .42);
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  cursor: pointer;
}
.admin-secondary-button { border-color: var(--line); background: rgba(255,255,255,.025); color: var(--ink); }
.admin-danger-button { border-color: rgba(192, 128, 113, .45); background: rgba(192, 128, 113, .08); color: #d6a093; }
.admin-dialog { width: min(760px, calc(100% - 28px)); }
.admin-dialog[open] { display: block; }
.admin-form { display: grid; gap: 12px; }
.admin-form label, .admin-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.admin-form input, .admin-form select, .admin-grid input, .admin-grid select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(10, 15, 11, .72);
  color: var(--ink);
}
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-form h3 { margin: 14px 0 0; color: var(--ink); font-size: 15px; font-weight: 500; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 10px; }
.admin-project-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.admin-import { margin: 4px 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: rgba(211, 181, 116, .035); }
.admin-import h3 { margin: 0 0 10px; font-size: 14px; font-weight: 500; }
.admin-import input[type="file"] { padding: 7px; }
.admin-unit-actions { display: flex; gap: 8px; }
.admin-feedback { margin: 8px 0 0; color: #b7cca9; font-size: 11px; }
.admin-feedback[data-state="error"] { color: #d6a093; }

.project-orbits { position: absolute; z-index: -1; inset: 100px 0 0; overflow: hidden; pointer-events: none; }
.orbit-card {
  position: absolute;
  display: grid;
  min-width: 132px;
  min-height: 52px;
  place-items: center;
  padding: 10px 15px;
  border: 1px solid rgba(219, 211, 190, .12);
  border-radius: 4px;
  background: rgba(26, 36, 29, .45);
  color: rgba(226, 218, 198, .42);
  font-size: 11px;
  letter-spacing: .05em;
  transform: rotate(var(--angle, 0deg));
  animation: float 8s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.orbit-card.orbit-card-falling { animation: orbit-card-fall .42s cubic-bezier(.58, .04, .86, .24) both; }
.orbit-card.orbit-card-dropping { animation: orbit-card-drop .62s cubic-bezier(.2, .8, .2, 1) both; }
.orbit-card:nth-child(1) { top: 10%; left: 12%; --angle: -7deg; }
.orbit-card:nth-child(2) { top: 22%; right: 12%; --angle: 5deg; }
.orbit-card:nth-child(3) { top: 58%; left: 6%; --angle: 4deg; }
.orbit-card:nth-child(4) { top: 70%; right: 8%; --angle: -6deg; }
.orbit-card:nth-child(5) { top: 42%; right: 3%; --angle: 3deg; }
.orbit-card:nth-child(6) { top: 34%; left: 2%; --angle: -4deg; }
@keyframes float { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes orbit-card-fall {
  from { opacity: .42; transform: translateY(0) rotate(var(--angle, 0deg)); }
  to { opacity: 0; transform: translateY(46px) rotate(var(--angle, 0deg)); }
}
@keyframes orbit-card-drop {
  from { opacity: 0; transform: translateY(-42px) rotate(var(--angle, 0deg)); }
  76% { opacity: .35; transform: translateY(3px) rotate(var(--angle, 0deg)); }
  to { opacity: .42; transform: translateY(0) rotate(var(--angle, 0deg)); }
}
@keyframes header-arrive { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mark-arrive { from { opacity: 0; transform: scale(.86) rotate(-5deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes beacon { 50% { opacity: .65; box-shadow: 0 0 21px rgba(211, 181, 116, .75); } }
@keyframes dialog-arrive { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-arrive { from { opacity: 0; } to { opacity: 1; } }

.landing-view { display: grid; min-height: calc(100vh - 87px); place-items: center; padding: 56px 20px 82px; }
.landing-content { width: min(100%, 620px); text-align: center; }
.landing-content > * { animation: rise-in .42s cubic-bezier(.2, .75, .25, 1) both; }
.landing-content > :nth-child(1) { animation-delay: .04s; }
.landing-content > :nth-child(2) { animation-delay: .09s; }
.landing-content > :nth-child(3) { animation-delay: .14s; }
.landing-content > :nth-child(4) { animation-delay: .19s; }
.landing-content > :nth-child(5) { animation-delay: .24s; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; color: var(--gold); font-size: 11px; letter-spacing: .09em; }
.eyebrow-line { width: 20px; height: 1px; border-radius: 0; box-shadow: none; }
h1, h2, h3, p { margin-top: 0; }
.landing-content h1 { margin-bottom: 16px; font-size: clamp(42px, 7vw, 76px); font-weight: 500; line-height: 1.28; letter-spacing: -.045em; }
.landing-content h1 em { color: var(--gold); font-style: normal; }
.landing-copy { max-width: 430px; margin: 0 auto 34px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.project-launch {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 540px);
  min-height: 84px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(211, 181, 116, .52);
  border-radius: 5px;
  background: linear-gradient(110deg, rgba(211, 181, 116, .13), rgba(31, 43, 34, .86));
  text-align: right;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.project-launch:hover { transform: translateY(-2px); border-color: var(--gold); background: linear-gradient(110deg, rgba(211, 181, 116, .2), rgba(31, 43, 34, .95)); }
.launch-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); }
.launch-icon svg, .unit-search svg, .dialog-search svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.launch-copy { display: grid; flex: 1; gap: 4px; }
.launch-copy small { color: var(--muted); font-size: 11px; }
.launch-copy strong { font-size: 14px; font-weight: 500; }
.launch-arrow { color: var(--gold); font-size: 20px; }
.landing-meta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; color: var(--muted-dark); font-size: 11px; }
.landing-meta span:first-child { color: var(--gold); }
.landing-meta .total-units { color: var(--gold); }
.landing-meta i { color: var(--muted-dark); font-style: normal; }
.landing-footer { position: absolute; right: clamp(20px, 6vw, 88px); bottom: 24px; left: clamp(20px, 6vw, 88px); display: flex; justify-content: space-between; color: var(--muted-dark); font-size: 9px; letter-spacing: .12em; }
.landing-footer span:last-child { letter-spacing: 0; }

.project-view { width: min(100% - 40px, 1240px); margin: 0 auto; padding: 28px 0 30px; }
.project-view:not([hidden]) .project-heading { animation: rise-in .4s .02s both; }
.project-view:not([hidden]) .payment-plan { animation: rise-in .4s .08s both; }
.project-view:not([hidden]) .units-heading-row { animation: rise-in .4s .13s both; }
.project-view-top, .units-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.back-button { padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.back-button span { display: inline-block; margin-inline-end: 6px; color: var(--gold); }
.section-index { color: var(--muted-dark); font-size: 10px; }
.section-index i { margin: 0 7px; color: var(--gold); font-style: normal; }
.project-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 28px 0 22px; border-bottom: 1px solid var(--line); }
.project-heading .eyebrow, .units-heading-row .eyebrow { justify-content: flex-start; margin-bottom: 8px; }
.project-heading h1 { margin-bottom: 5px; font-size: clamp(34px, 5vw, 52px); font-weight: 500; }
.project-description { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.project-count-card { display: grid; min-width: 114px; gap: 2px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 4px; text-align: center; }
.project-count-card strong { color: var(--gold); font-size: 23px; font-weight: 500; }
.project-count-card span { color: var(--muted); font-size: 10px; }

.payment-plan { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 16px 0 22px; }
.payment-plan-title { width: 100%; margin: 0 0 2px; color: var(--muted-dark); font-size: 10px; }
.plan-chip { display: flex; align-items: center; gap: 7px; min-height: 35px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.015); font-size: 11px; }
.plan-chip span { color: var(--muted); }
.plan-chip strong { color: var(--gold); font-weight: 500; }

.units-section { padding-top: 10px; }
.units-heading-row { margin-bottom: 16px; }
.units-heading-row h2 { margin: 0; font-size: 21px; font-weight: 500; }
.unit-mode-actions { display: flex; align-items: center; gap: 12px; }
.results-count { color: var(--muted); font-size: 11px; white-space: nowrap; }
.unit-mode-toggle { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 6px 11px; border: 1px solid rgba(211, 181, 116, .4); border-radius: 4px; background: var(--gold-soft); color: var(--gold); font-size: 10px; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.unit-mode-toggle:hover { border-color: var(--gold); background: rgba(211, 181, 116, .2); }
.unit-mode-toggle[aria-pressed="true"] { border-color: rgba(135, 158, 124, .55); background: rgba(135, 158, 124, .1); color: #c1d2b8; }
.unit-mode-toggle strong { padding-inline-start: 8px; border-inline-start: 1px solid var(--line); font-size: 10px; font-weight: 500; }
.unit-search-row { display: flex; gap: 10px; margin-bottom: 15px; }
.unit-search, .dialog-search {
  display: flex;
  align-items: center;
  min-height: 47px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(10, 15, 11, .65);
}
.unit-search { flex: 1; gap: 10px; padding: 0 13px; color: var(--gold); }
.unit-search input, .dialog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.unit-search input::placeholder, .dialog-search input::placeholder { color: var(--muted-dark); }
.units-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.unit-card {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(27, 38, 29, .78), rgba(17, 24, 19, .9));
  text-align: right;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.unit-card:nth-child(-n+6) { animation: rise-in .34s cubic-bezier(.2, .75, .25, 1) both; }
.unit-card:nth-child(2) { animation-delay: .04s; }
.unit-card:nth-child(3) { animation-delay: .08s; }
.unit-card:nth-child(4) { animation-delay: .12s; }
.unit-card:nth-child(5) { animation-delay: .16s; }
.unit-card:nth-child(6) { animation-delay: .2s; }
.unit-card:hover { transform: translateY(-2px); border-color: rgba(211, 181, 116, .6); background: rgba(31, 43, 33, .95); }
.unit-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.unit-number { margin: 0; font-size: 18px; font-weight: 500; }
.unit-type { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.status-pill { flex: 0 0 auto; padding: 4px 8px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 9px; }
.status-available { border-color: rgba(135, 158, 124, .4); color: #b7cca9; }
.status-reserved { border-color: rgba(211, 181, 116, .38); color: var(--gold); }
.status-sold, .status-stopped { border-color: rgba(192, 128, 113, .38); color: #d6a093; }
.unit-card-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding-top: 11px; border-top: 1px solid rgba(221, 211, 182, .1); }
.unit-card-meta span { display: block; color: var(--muted-dark); font-size: 9px; }
.unit-card-meta strong { display: block; overflow: hidden; margin-top: 3px; color: var(--ink); font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.unit-card-price { color: var(--gold) !important; }
.empty-results { grid-column: 1 / -1; padding: 34px 16px; border: 1px dashed var(--line); border-radius: 5px; color: var(--muted); text-align: center; font-size: 12px; }
.project-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted-dark); font-size: 9px; }

@media (min-width: 1200px) {
  .units-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}



.dialog {
  width: min(540px, calc(100% - 28px));
  max-height: min(82vh, 760px);
  padding: 22px;
  overflow: auto;
  border: 1px solid rgba(211, 181, 116, .28);
  border-radius: 7px;
  background: #141d17;
  color: var(--ink);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .55);
}
.dialog[open] { animation: dialog-arrive .24s ease-out both; }
.dialog::backdrop { background: rgba(4, 8, 5, .76); backdrop-filter: blur(5px); animation: backdrop-arrive .2s ease-out both; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.dialog-heading .eyebrow { justify-content: flex-start; margin-bottom: 4px; font-size: 9px; }
.dialog-heading h2 { margin: 0; font-size: 22px; font-weight: 500; }
.dialog-close { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
.dialog-search { gap: 10px; padding: 0 12px; color: var(--gold); }
.project-options { display: grid; gap: 7px; max-height: 55vh; margin-top: 12px; overflow: auto; }
.project-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.project-dialog .project-options { min-height: 0; max-height: min(55vh, 420px); }
.project-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.02); text-align: right; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.project-option:hover { transform: translateY(-1px); border-color: rgba(211, 181, 116, .55); background: var(--gold-soft); }
.project-option > span:first-child { display: grid; gap: 3px; min-width: 0; }
.project-option > span:first-child strong { display: block; }
.project-option > span:first-child span { color: var(--muted); font-size: 10px; }
.project-option strong { font-size: 12px; font-weight: 500; }
.project-option span { color: var(--muted); font-size: 10px; }
.project-option-arrow { flex: 0 0 auto; color: var(--gold) !important; font-size: 17px !important; }
.unit-dialog { width: min(1000px, calc(100% - 28px)); }
.unit-dialog-heading { margin-bottom: 14px; }
.unit-dialog-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 18px; }
.unit-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fact-card { min-height: 72px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.018); }
.fact-card span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.fact-card strong { display: block; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; font-weight: 500; }
.fact-card.fact-price strong { color: var(--gold); }
.unit-payment-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.unit-payment-details:empty { display: none; }
.unit-payment-details > .eyebrow { grid-column: 1 / -1; margin: 4px 0; }
.payment-detail { padding: 9px 10px; border-inline-start: 2px solid rgba(211, 181, 116, .56); background: rgba(211, 181, 116, .055); }
.payment-detail span { display: block; color: var(--muted); font-size: 9px; }
.payment-detail strong { display: block; margin-top: 3px; color: var(--gold); font-size: 11px; font-weight: 500; }
.payment-delivery { grid-column: 1 / -1; }
.payment-calculation-note { grid-column: 1 / -1; margin: 0; color: var(--muted-dark); font-size: 9px; line-height: 1.7; }
.unit-plan-section { min-width: 0; }
.plan-heading { margin-bottom: 10px; }
.plan-heading .eyebrow { justify-content: flex-start; margin-bottom: 3px; font-size: 9px; }
.plan-heading h3 { margin: 0; font-size: 15px; font-weight: 500; }
.unit-plan-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f5f5f2;
  object-fit: contain;
  cursor: zoom-in;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.unit-plan-image[data-orientation="portrait"] {
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 620px);
  margin-inline: auto;
}
.unit-plan-image[data-orientation="wide"] { width: 100%; }
.unit-plan-image[data-orientation="square"] {
  width: min(100%, 520px);
  margin-inline: auto;
}
.unit-plan-image:hover { border-color: rgba(211, 181, 116, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.unit-plan-image.is-expanded {
  position: fixed;
  z-index: 20;
  inset: 18px;
  width: calc(100vw - 36px);
  max-width: none;
  height: calc(100vh - 36px);
  max-height: none;
  margin: 0;
  border: 1px solid rgba(211, 181, 116, .65);
  background: #f5f5f2;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .85);
  cursor: zoom-out;
}
.plan-reuse-note { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.plan-unavailable { display: grid; min-height: 210px; place-content: center; justify-items: center; padding: 20px; border: 1px dashed rgba(221, 211, 182, .2); border-radius: 4px; color: var(--muted); text-align: center; }
.plan-unavailable-mark { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); font-size: 24px; }
.plan-unavailable strong { color: var(--ink); font-size: 12px; font-weight: 500; }
.plan-unavailable p { max-width: 250px; margin: 7px 0 0; font-size: 10px; line-height: 1.7; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.unit-action-button { min-height: 40px; padding: 8px 13px; border: 1px solid rgba(211, 181, 116, .48); border-radius: 4px; background: var(--gold-soft); color: var(--gold); font-size: 11px; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.unit-action-button:hover { border-color: var(--gold); background: rgba(211, 181, 116, .2); }
.unit-action-secondary { border-color: var(--line); background: rgba(255,255,255,.025); color: var(--ink); }
.unit-action-secondary:hover { border-color: rgba(211, 181, 116, .48); }
.unit-action-feedback { margin: 9px 0 0; color: #b7cca9; font-size: 10px; line-height: 1.7; }
.unit-action-feedback[data-state="error"] { color: #d6a093; }
.unit-message-preview { display: block; width: 100%; min-height: 260px; max-height: 420px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: rgba(10, 15, 11, .65); color: var(--ink); font: inherit; font-size: 11px; line-height: 1.8; direction: rtl; text-align: right; white-space: pre-wrap; overflow-wrap: anywhere; resize: vertical; }
.dialog-disclaimer { margin: 14px 0 0; color: var(--muted-dark); font-size: 9px; }

@media (max-width: 900px) {
  .units-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unit-dialog-body { grid-template-columns: 1fr; }
  .unit-plan-section { grid-row: 1; }
  .unit-plan-image { max-height: min(52vh, 360px); }
}

@media (max-width: 760px) {
  .site-header { min-height: 72px; padding-inline: 18px; }
  .header-note { font-size: 10px; }
  .landing-view { min-height: calc(100svh - 73px); padding: 48px 18px 72px; }
  .landing-content h1 { font-size: clamp(39px, 11vw, 62px); }
  .orbit-card { min-width: 105px; min-height: 42px; padding: 7px 9px; font-size: 9px; opacity: .72; }
  .orbit-card:nth-child(1) { left: 4%; }
  .orbit-card:nth-child(2) { right: 3%; }
  .orbit-card:nth-child(3), .orbit-card:nth-child(4) { display: none; }
  .project-view { width: min(100% - 30px, 1240px); padding-top: 18px; }
  .project-heading { align-items: flex-start; }
  .project-count-card { min-width: 86px; padding: 10px; }
}

@media (max-width: 480px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 8px; }
  .header-note { max-width: 112px; text-align: left; }
  .header-note i { flex: 0 0 auto; }
  .landing-content .eyebrow { font-size: 9px; }
  .landing-copy { font-size: 12px; }
  .project-launch { min-height: 74px; gap: 10px; padding: 10px 12px; }
  .launch-icon { width: 36px; height: 36px; }
  .launch-copy strong { font-size: 11px; }
  .launch-copy small { font-size: 9px; }
  .landing-footer { right: 18px; left: 18px; font-size: 8px; }
  .section-index { display: none; }
  .project-heading h1 { font-size: 32px; }
  .project-description { max-width: 235px; font-size: 11px; line-height: 1.7; }
  .project-count-card { min-width: 73px; }
  .project-count-card strong { font-size: 19px; }
  .project-count-card span { font-size: 8px; }
  .payment-plan { gap: 6px; }
  .plan-chip { min-height: 31px; padding: 5px 8px; font-size: 9px; }
  .units-heading-row { align-items: flex-start; }
  .units-heading-row h2 { font-size: 17px; }
  .unit-mode-actions { align-items: flex-end; flex-direction: column-reverse; gap: 6px; }
  .unit-mode-toggle { min-height: 34px; gap: 6px; padding: 5px 8px; font-size: 9px; }
  .unit-mode-toggle strong { padding-inline-start: 6px; font-size: 9px; }
  .units-grid { grid-template-columns: 1fr; }
  .unit-card { padding: 13px; }
  .project-footer { font-size: 8px; }
  .dialog { padding: 17px; }
  .unit-facts, .unit-payment-details { grid-template-columns: 1fr 1fr; }
}

@media (max-height: 640px) and (min-width: 481px) {
  .site-header { min-height: 64px; }
  .landing-view { min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); padding: 20px 18px 54px; }
  .landing-content .eyebrow { margin-bottom: 10px; }
  .landing-content h1 { margin-bottom: 9px; font-size: clamp(32px, 5.4vw, 52px); line-height: 1.15; }
  .landing-copy { margin-bottom: 18px; font-size: 12px; line-height: 1.55; }
  .project-launch { min-height: 66px; padding: 10px 14px; }
  .landing-meta { margin-top: 12px; }
  .landing-footer { bottom: 16px; }
}

@media (max-height: 420px) {
  .site-header { min-height: 56px; }
  .landing-view { min-height: calc(100vh - 57px); min-height: calc(100svh - 57px); grid-template-rows: 1fr auto; gap: 10px; padding: 14px 18px; }
  .landing-content .eyebrow { margin-bottom: 7px; }
  .landing-content h1 { margin-bottom: 7px; font-size: clamp(28px, 5.2vw, 44px); line-height: 1.1; }
  .landing-copy { display: none; }
  .project-launch { min-height: 58px; padding: 8px 12px; }
  .launch-icon { width: 34px; height: 34px; }
  .landing-meta { margin-top: 8px; }
  .landing-footer { position: static; inset: auto; grid-row: 2; width: 100%; margin: 0 auto; }
}

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