/* ============================================================
   ALTUS — Marketing site styles
   Quiet luxury, Persian RTL, hospitality-first
   ============================================================ */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  font-weight: var(--w-regular);
  line-height: var(--lh-normal);
  overflow-x: hidden;
}
@font-face {
  font-family: "Cinzel";
  src: url("https://fonts.gstatic.com/s/cinzel/v23/8vIU7ww63mVu7gtR-kwKxNvkNOjw-tbnTYrvDE5ZdqU.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0020-007F;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ===========================  NAV  =========================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-sticky);
  padding: 22px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 420ms var(--ease-out),
              backdrop-filter 420ms var(--ease-out),
              border-color 420ms var(--ease-out),
              padding 420ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 249, 245, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo {
  width: 86px;
  height: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 759px) {
  .nav__links { display: none; }
}
.nav__link {
  font-size: var(--fs-14);
  font-weight: var(--w-regular);
  color: var(--fg-2);
  transition: color 200ms var(--ease-out);
  position: relative;
}
.nav__link:hover { color: var(--fg-1); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  background: var(--charcoal-900);
  color: var(--ivory-50);
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--fs-14);
  font-weight: var(--w-medium);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.nav__cta:hover { background: var(--charcoal-700); }
.nav__cta:active { transform: translateY(1px); }

/* ===========================  HERO  =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px clamp(24px, 5vw, 64px) 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: end;
}
@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 80px;
  }
}
.hero__copy { max-width: 640px; position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display-latin);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: var(--w-xlight);
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--charcoal-900);
  margin: 0 0 36px;
}
.hero__title em {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: var(--w-light);
}
.hero__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.85;
  color: var(--fg-2);
  font-weight: var(--w-regular);
  max-width: 520px;
  margin: 0 0 48px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-primary {
  height: 56px;
  padding: 0 32px;
  background: var(--charcoal-900);
  color: var(--ivory-50);
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--fs-15);
  font-weight: var(--w-medium);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  box-shadow: 0 2px 6px rgba(28,26,23,0.12);
}
.btn-primary:hover {
  background: var(--charcoal-800);
  box-shadow: 0 8px 24px rgba(28,26,23,0.18);
}
.btn-primary:active { transform: translateY(1px); }
.btn-primary .arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-base) var(--ease-out);
}
.btn-primary:hover .arrow { transform: translateX(-4px); }
.btn-ghost {
  height: 56px;
  padding: 0 8px;
  background: transparent;
  color: var(--fg-1);
  border: none;
  font-size: var(--fs-15);
  font-weight: var(--w-medium);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.btn-ghost::after {
  content: "";
  position: absolute;
  inset-inline-start: 8px;
  inset-inline-end: 8px;
  bottom: 18px;
  height: 1px;
  background: var(--charcoal-900);
  opacity: 0.2;
  transition: opacity var(--duration-base) var(--ease-out);
}
.btn-ghost:hover::after { opacity: 0.5; }

.hero__meta {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero__meta-item .num {
  font-family: var(--font-display);
  font-weight: var(--w-light);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--charcoal-900);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hero__meta-item .lbl {
  font-size: var(--fs-13);
  color: var(--fg-3);
  margin-top: 8px;
}

/* Hero image */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 560px;
  margin-inline-start: auto;
  width: 100%;
}
.hero__visual image-slot {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -24px -24px auto auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  background: var(--gradient-gold);
  opacity: 0.18;
  filter: blur(40px);
  z-index: 0;
}
.hero__visual-label {
  position: absolute;
  bottom: 24px;
  inset-inline-start: 24px;
  inset-inline-end: 24px;
  padding: 20px 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero__visual-label .lbl-title {
  font-size: var(--fs-14);
  font-weight: var(--w-medium);
  color: var(--charcoal-900);
}
.hero__visual-label .lbl-sub {
  font-size: var(--fs-12);
  color: var(--fg-3);
  margin-top: 4px;
}
.hero__visual-label .lbl-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--charcoal-900);
  color: var(--ivory-50);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  inset-inline-end: clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-3);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
}
.scroll-cue__line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--charcoal-400), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 16px;
  background: var(--charcoal-900);
  animation: scrollDot 2.6s var(--ease-in-out) infinite;
}
@keyframes scrollDot {
  0% { top: -16px; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: 56px; opacity: 0; }
}

/* ===========================  SECTION SCAFFOLD  =========================== */
section {
  padding: clamp(96px, 12vw, 160px) clamp(24px, 5vw, 64px);
  position: relative;
}
.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.eyebrow-row::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow-text {
  font-family: var(--font-display-latin);
  font-size: 15px;
  font-weight: var(--w-bold);
  letter-spacing: 0.32em;
  color: var(--accent-deep);
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-weight: var(--w-xlight);
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal-900);
  margin: 0 0 28px;
  max-width: 16ch;
}
.section-lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.85;
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0;
}

/* ===========================  PHILOSOPHY  =========================== */
.philosophy {
  background: var(--ivory-100);
}
.philosophy__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.philosophy__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 20px;
}
@media (min-width: 880px) {
  .philosophy__head { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}
.philosophy__quote {
  font-family: var(--font-display);
  font-weight: var(--w-light);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.7;
  color: var(--fg-1);
  position: relative;
  padding-top: 5px;
}

.philosophy__quote-cite {
  display: block;
  margin-top: 32px;
  font-size: var(--fs-13);
  color: var(--fg-3);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

/* ===========================  FEATURES  =========================== */
.features {
  background: var(--bg);
}
.features__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.features__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
}
@media (min-width: 880px) {
  .features__head {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
  }
}
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  background: var(--bg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background var(--duration-slow) var(--ease-out);
}
.feature:hover { background: var(--ivory-100); }
.feature__num {
  font-family: var(--font-display-latin);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent-deep);
}
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.feature__icon i { font-size: 24px; }
.feature__title {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: var(--fs-20);
  color: var(--charcoal-900);
  margin: 0;
  letter-spacing: -0.01em;
}
.feature__body {
  font-size: var(--fs-15);
  line-height: 1.8;
  color: var(--fg-2);
  margin: 0;
}

/* ===========================  EXPERIENCE / Mockup chapter  =========================== */
.experience {
  background: var(--charcoal-900);
  color: var(--ivory-50);
  overflow: hidden;
  position: relative;
}
.experience .section-title { color: var(--ivory-50); }
.experience .section-lede { color: rgba(251, 249, 245, 0.7); }
.experience .eyebrow-text { color: var(--champagne-100); }
.experience .eyebrow-row::before { background: var(--champagne-100); }

.experience__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 980px) {
  .experience__inner {
    grid-template-columns: 1fr 1fr;
    gap: 96px;
  }
}
.experience__copy { max-width: 520px; }
.experience__points {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.experience__point {
  padding: 24px 0;
  border-top: 1px solid rgba(251, 249, 245, 0.1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.experience__point:last-child { border-bottom: 1px solid rgba(251, 249, 245, 0.1); }
.experience__point-num {
  font-family: var(--font-display-latin);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: var(--charcoal-900);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--champagne-100);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.experience__point-title {
  font-size: var(--fs-18);
  font-weight: var(--w-medium);
  color: var(--ivory-50);
  margin: 0 0 6px;
}
.experience__point-body {
  font-size: var(--fs-14);
  line-height: 1.7;
  color: rgba(251, 249, 245, 0.65);
  margin: 0;
}

/* Phone mockup */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1600px;
}
.phone-wrap::before,
.phone-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}
.phone-wrap::before {
  width: 380px; height: 380px;
  background: rgba(236, 194, 134, 0.18);
  top: 10%; inset-inline-start: 10%;
}
.phone-wrap::after {
  width: 280px; height: 280px;
  background: rgba(174, 137, 86, 0.12);
  bottom: 8%; inset-inline-end: 8%;
}

.phone {
  position: relative;
  width: 300px;
  height: 612px;
  background: #0a0907;
  border-radius: 48px;
  padding: 14px;
  box-shadow:
    0 0 0 1.5px #2a2622,
    0 60px 120px rgba(0, 0, 0, 0.55),
    0 24px 48px rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: var(--ivory-50);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #0a0907;
  border-radius: 999px;
  z-index: 10;
}
.phone__statusbar {
  height: 44px;
  padding: 0 24px 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal-900);
  padding-bottom: 8px;
  flex-shrink: 0;
}
.phone__statusbar .right {
  display: flex; align-items: center; gap: 5px;
}
.phone__statusbar svg { width: 16px; height: 11px; }

.phone__body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__header {
  padding: 18px 22px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone__greet-time {
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.phone__greet-name {
  font-size: 16px;
  font-weight: var(--w-medium);
  color: var(--charcoal-900);
}
.phone__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--gradient-gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: var(--w-medium);
  box-shadow: var(--shadow-sm);
}

.phone__hero {
  margin: 0 18px 18px;
  border-radius: 20px;
  background: var(--charcoal-900);
  color: var(--ivory-50);
  padding: 20px 20px 22px;
  position: relative;
  overflow: hidden;
}
.phone__hero::before {
  content: "";
  position: absolute;
  top: -40%; inset-inline-end: -20%;
  width: 70%; height: 140%;
  background: var(--gradient-gold);
  opacity: 0.18;
  filter: blur(30px);
}
.phone__hero-eyebrow {
  font-family: var(--font-display-latin);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--champagne-100);
  margin-bottom: 10px;
  position: relative;
}
.phone__hero-title {
  font-size: 17px;
  font-weight: var(--w-light);
  line-height: 1.5;
  margin: 0 0 14px;
  position: relative;
}
.phone__hero-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: rgba(251,249,245,0.7);
  position: relative;
}
.phone__hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.phone__row {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--ivory-200);
}
.phone__row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.phone__row-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ivory-100);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.phone__row-icon i { font-size: 18px; }
.phone__row-title {
  font-size: 13px;
  font-weight: var(--w-medium);
  color: var(--charcoal-900);
  margin-bottom: 2px;
}
.phone__row-sub {
  font-size: 11px;
  color: var(--fg-3);
}
.phone__row-meta {
  font-size: 10.5px;
  color: var(--fg-3);
  text-align: end;
  white-space: nowrap;
}

.phone__tabbar {
  margin-top: auto;
  border-top: 1px solid var(--ivory-200);
  padding: 10px 16px 22px;
  display: flex;
  justify-content: space-around;
  background: var(--ivory-50);
}
.phone__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  color: var(--fg-3);
}
.phone__tab.active { color: var(--accent-deep); }
.phone__tab i { font-size: 19px; }

/* ===========================  AMENITIES  =========================== */
.amenities {
  background: var(--bg);
}
.amenities__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.amenities__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
  max-width: 900px;
}
.amenities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .amenities__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(280px, auto);
  }
}
.amenity {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ivory-100);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  min-height: 280px;
  transition: transform var(--duration-slow) var(--ease-out);
}
.amenity__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.amenity__bg image-slot {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.amenity__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,26,23,0) 30%, rgba(28,26,23,0.7) 100%);
  pointer-events: none;
  z-index: 2;
}
.amenity__content {
  position: relative;
  z-index: 3;
  color: var(--ivory-50);
}
.amenity.dark .amenity__content { color: var(--ivory-50); }
.amenity__eyebrow {
  font-family: var(--font-display-latin);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--champagne-100);
  margin-bottom: 12px;
}
.amenity__title {
  font-family: var(--font-display);
  font-weight: var(--w-light);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.amenity__sub {
  font-size: var(--fs-13);
  color: rgba(251, 249, 245, 0.75);
  margin: 0;
}

/* Grid placement */
.amenity.a-large { grid-column: span 1; min-height: 420px; }
.amenity.a-tall { grid-column: span 1; min-height: 360px; }
.amenity.a-wide { grid-column: span 1; min-height: 280px; }
@media (min-width: 760px) {
  .amenity.a-large { grid-column: span 4; min-height: 460px; }
  .amenity.a-tall { grid-column: span 2; grid-row: span 2; min-height: 100%; }
  .amenity.a-wide { grid-column: span 4; min-height: 280px; }
  .amenity.a-small { grid-column: span 2; min-height: 280px; }
}

/* Plain amenity (no image) */
.amenity--text {
  background: var(--ivory-100);
  color: var(--charcoal-900);
}
.amenity--text .amenity__eyebrow { color: var(--accent-deep); }
.amenity--text .amenity__sub { color: var(--fg-2); }
.amenity--text::after { display: none; }

/* ===========================  TRUSTED BY  =========================== */
.trusted {
  background: var(--ivory-100);
  padding: 80px clamp(24px, 5vw, 64px);
}
.trusted__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .trusted__inner {
    grid-template-columns: auto 1fr;
    gap: 80px;
  }
}
.trusted__label {
  font-size: var(--fs-14);
  color: var(--fg-3);
  max-width: 18ch;
  line-height: 1.7;
}
.trusted__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px 48px;
  align-items: center;
}
.trusted__logo {
  font-family: var(--font-display);
  font-weight: var(--w-light);
  font-size: 20px;
  color: var(--charcoal-600);
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.8;
  transition: opacity var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}
.trusted__logo:hover { opacity: 1; color: var(--charcoal-900); }
.trusted__logo .mark {
  display: inline-block;
  margin-inline-end: 8px;
  font-family: var(--font-display-latin);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
}

/* ===========================  DEMO FORM  =========================== */
.demo {
  background: var(--charcoal-900);
  color: var(--ivory-50);
  overflow: hidden;
  position: relative;
}
.demo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}
.demo__bg image-slot {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.demo__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,26,23,0.85) 0%, rgba(28,26,23,0.7) 60%, rgba(28,26,23,0.5) 100%);
}
.demo__inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 980px) {
  .demo__inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 96px;
  }
}
.demo .section-title { color: var(--ivory-50); }
.demo .eyebrow-text { color: var(--champagne-100); }
.demo .eyebrow-row::before { background: var(--champagne-100); }
.demo__lede {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
  color: rgba(251, 249, 245, 0.75);
  max-width: 48ch;
}
.demo__contact {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.demo__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-14);
  color: rgba(251, 249, 245, 0.7);
}
.demo__contact-item i {
  font-size: 18px;
  color: var(--champagne-100);
}

.form {
  background: rgba(251, 249, 245, 0.04);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(251, 249, 245, 0.08);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (min-width: 640px) {
  .form__row.cols-2 { grid-template-columns: 1fr 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__label {
  font-size: var(--fs-12);
  color: rgba(251, 249, 245, 0.6);
  font-weight: var(--w-regular);
}
.field__input,
.field__select,
.field__textarea {
  height: 52px;
  background: rgba(251, 249, 245, 0.04);
  border: 1px solid rgba(251, 249, 245, 0.1);
  border-radius: var(--radius-md);
  padding: 0 18px;
  color: var(--ivory-50);
  font-family: var(--font-sans);
  font-size: var(--fs-15);
  transition: border-color var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.field__textarea {
  height: auto;
  min-height: 120px;
  padding: 16px 18px;
  resize: vertical;
  line-height: 1.7;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: rgba(212, 167, 101, 0.5);
  background: rgba(251, 249, 245, 0.06);
  box-shadow: var(--ring-focus);
}
.field__input::placeholder,
.field__textarea::placeholder { color: rgba(251, 249, 245, 0.35); }
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4A765' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 18px center;
  background-size: 16px;
  padding-inline-start: 18px;
  padding-inline-end: 44px;
}
.field__select option { color: var(--charcoal-900); }

.form__submit {
  width: 100%;
  height: 60px;
  background: var(--champagne-200);
  color: var(--charcoal-900);
  border: none;
  border-radius: var(--radius-pill);
  font-size: var(--fs-15);
  font-weight: var(--w-medium);
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  box-shadow: 0 8px 24px rgba(212, 167, 101, 0.2);
}
.form__submit:hover {
  background: var(--champagne-100);
  box-shadow: 0 12px 32px rgba(212, 167, 101, 0.32);
}
.form__submit:active { transform: translateY(1px); }
.form__hint {
  margin-top: 16px;
  font-size: var(--fs-12);
  color: rgba(251, 249, 245, 0.5);
  text-align: center;
  line-height: 1.7;
}
.form__sent {
  text-align: center;
  padding: 48px 24px;
}
.form__sent-check {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--champagne-200);
  color: var(--charcoal-900);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}
.form__sent-check i { font-size: 32px; }
.form__sent-title {
  font-family: var(--font-display);
  font-weight: var(--w-light);
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--ivory-50);
}
.form__sent-body {
  font-size: var(--fs-15);
  color: rgba(251, 249, 245, 0.7);
  line-height: 1.8;
  max-width: 36ch;
  margin: 0 auto;
}

/* ===========================  FOOTER  =========================== */
.footer {
  background: var(--ivory-100);
  padding: 80px clamp(24px, 5vw, 64px) 32px;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 760px) {
  .footer__head {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}
.footer__brand .nav__logo { width: 96px; margin-bottom: 24px; }
.footer__tagline {
  font-size: var(--fs-16);
  font-weight: var(--w-bold);
  color: var(--fg-3);
  line-height: 1.85;
  max-width: 32ch;
}
.footer__col-title {
  font-size: var(--fs-15);
  font-weight: 700;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  font-family: var(--font-display-latin);
  text-transform: uppercase;
}
.footer__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__list a {
  font-size: var(--fs-14);
  color: var(--fg-1);
  transition: color var(--duration-base) var(--ease-out);
}
.footer__list a:hover { color: var(--accent-deep); }
.footer__bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-size: var(--fs-12);
  color: var(--fg-3);
}
.footer__legal {
  display: flex;
  gap: 28px;
  font-size: var(--fs-12);
  color: var(--fg-3);
}
.footer__legal a:hover { color: var(--fg-1); }

/* ===========================  FADE-IN ANIMATIONS  =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }
.reveal.delay-5 { transition-delay: 400ms; }
.reveal.delay-6 { transition-delay: 480ms; }

/* Parallax wrappers */
.parallax {
  will-change: transform;
  transition: transform 80ms linear;
}

/* RTL icon flips */
[dir="rtl"] .icon-bidi { transform: scaleX(-1); }

/* Persian numerics inherit Dana cleanly; no override needed */

/* Selection */
::selection {
  background: rgba(212, 167, 101, 0.32);
  color: var(--charcoal-900);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .parallax { transform: none !important; }
  .scroll-cue__line::after { animation: none; }
}

/* ============================================================
   TWEAKS — three expressive dials that reshape the whole feel
   data-mood:   dawn (default) | dusk | midnight
   data-voice:  editorial (default) | whisper | statement
   data-accent: signature (default) | veiled | gilded
   ============================================================ */

/* ---------- MOOD : dusk (sepia, golden hour) ---------- */
html[data-mood="dusk"] {
  --bg: #E9DFCB;
  --fg-1: #2A2622;
  --fg-2: #5A524A;
  --border: rgba(28,26,23,0.10);
}
html[data-mood="dusk"] body { background: #E9DFCB; }
html[data-mood="dusk"] .hero::before {
  background:
    radial-gradient(ellipse 1200px 700px at 80% -10%, rgba(212,167,101,0.32), transparent 60%),
    linear-gradient(180deg, #ECDFC4 0%, #E1D2B3 100%);
}
html[data-mood="dusk"] .philosophy { background: #E1D2B3; }
html[data-mood="dusk"] .features { background: #E9DFCB; }
html[data-mood="dusk"] .features__grid { background: rgba(28,26,23,0.12); border-color: rgba(28,26,23,0.12); }
html[data-mood="dusk"] .feature { background: #ECE0C7; }
html[data-mood="dusk"] .feature:hover { background: #E5D6B7; }
html[data-mood="dusk"] .amenities { background: #E9DFCB; }
html[data-mood="dusk"] .amenity--text { background: #E1D2B3; }
html[data-mood="dusk"] .trusted { background: #DCCBA6; }
html[data-mood="dusk"] .footer { background: #DCCBA6; }
html[data-mood="dusk"] .nav.scrolled {
  background: rgba(233,223,203,0.82);
}

/* ---------- MOOD : midnight (full dark, glow) ---------- */
html[data-mood="midnight"] {
  --bg: #14120F;
  --fg-1: #FBF9F5;
  --fg-2: rgba(251,249,245,0.66);
  --fg-3: rgba(251,249,245,0.45);
  --border: rgba(251,249,245,0.08);
  --border-strong: rgba(251,249,245,0.16);
  --surface: #1F1C18;
}
html[data-mood="midnight"] body { background: #14120F; color: #FBF9F5; }
html[data-mood="midnight"] .hero::before {
  background:
    radial-gradient(ellipse 1200px 700px at 85% -10%, rgba(212,167,101,0.22), transparent 60%),
    linear-gradient(180deg, #1A1714 0%, #14120F 100%);
}
html[data-mood="midnight"] .hero__title,
html[data-mood="midnight"] .section-title,
html[data-mood="midnight"] .feature__title,
html[data-mood="midnight"] .amenity--text .amenity__title,
html[data-mood="midnight"] .phone__hero-eyebrow ~ * { color: #FBF9F5; }
html[data-mood="midnight"] .philosophy { background: #1A1714; }
html[data-mood="midnight"] .philosophy__quote { color: rgba(251,249,245,0.86); }
html[data-mood="midnight"] .philosophy__quote-cite { color: rgba(251,249,245,0.5); }
html[data-mood="midnight"] .features { background: #14120F; }
html[data-mood="midnight"] .features__grid { background: rgba(251,249,245,0.06); border-color: rgba(251,249,245,0.06); }
html[data-mood="midnight"] .feature { background: #1A1714; }
html[data-mood="midnight"] .feature:hover { background: #221E1A; }
html[data-mood="midnight"] .feature__body { color: rgba(251,249,245,0.62); }
html[data-mood="midnight"] .amenities { background: #14120F; }
html[data-mood="midnight"] .amenity--text { background: #1A1714; }
html[data-mood="midnight"] .amenity--text .amenity__sub { color: rgba(251,249,245,0.55); }
html[data-mood="midnight"] .trusted { background: #1A1714; }
html[data-mood="midnight"] .trusted__label { color: rgba(251,249,245,0.55); }
html[data-mood="midnight"] .trusted__logo { color: rgba(251,249,245,0.62); }
html[data-mood="midnight"] .trusted__logo:hover { color: #FBF9F5; }
html[data-mood="midnight"] .footer { background: #1A1714; }
html[data-mood="midnight"] .footer__list a { color: rgba(251,249,245,0.86); }
html[data-mood="midnight"] .nav.scrolled {
  background: rgba(20,18,15,0.78);
  border-bottom-color: rgba(251,249,245,0.06);
}
html[data-mood="midnight"] .nav__link { color: rgba(251,249,245,0.66); }
html[data-mood="midnight"] .nav__link:hover { color: #FBF9F5; }
html[data-mood="midnight"] .nav__cta { background: #FBF9F5; color: #1C1A17; }
html[data-mood="midnight"] .nav__cta:hover { background: var(--champagne-100); color: #1C1A17; }
html[data-mood="midnight"] .btn-primary { background: var(--champagne-200); color: #1C1A17; box-shadow: 0 12px 32px rgba(212,167,101,0.24); }
html[data-mood="midnight"] .btn-primary:hover { background: var(--champagne-100); }
html[data-mood="midnight"] .hero__visual-label { background: rgba(20,18,15,0.65); border-color: rgba(251,249,245,0.10); }
html[data-mood="midnight"] .hero__visual-label .lbl-title { color: #FBF9F5; }
html[data-mood="midnight"] .scroll-cue { color: rgba(251,249,245,0.6); }
html[data-mood="midnight"] .scroll-cue__line { background: linear-gradient(to bottom, transparent, rgba(251,249,245,0.4), transparent); }
html[data-mood="midnight"] .scroll-cue__line::after { background: #FBF9F5; }
html[data-mood="midnight"] .feature__icon { background: rgba(212,167,101,0.14); }
html[data-mood="midnight"] .phone-wrap::before { background: rgba(236,194,134,0.32); }

/* ---------- VOICE : whisper (lighter, looser, calmer) ---------- */
html[data-voice="whisper"] .hero__title {
  font-weight: 100;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
html[data-voice="whisper"] .section-title {
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
html[data-voice="whisper"] .hero__lede,
html[data-voice="whisper"] .section-lede,
html[data-voice="whisper"] .feature__body,
html[data-voice="whisper"] .philosophy__quote {
  line-height: 1.95;
}
html[data-voice="whisper"] .eyebrow-text,
html[data-voice="whisper"] .hero__eyebrow span {
  letter-spacing: 0.5em;
}
html[data-voice="whisper"] .feature__title { font-weight: 300; }
html[data-voice="whisper"] .display-fa em,
html[data-voice="whisper"] .hero__title em { font-weight: 200; }

/* ---------- VOICE : statement (bolder, tighter, denser) ---------- */
html[data-voice="statement"] .hero__title {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-size: clamp(44px, 7vw, 96px);
}
html[data-voice="statement"] .section-title {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(36px, 5.4vw, 68px);
}
html[data-voice="statement"] .hero__lede,
html[data-voice="statement"] .section-lede {
  line-height: 1.65;
  font-weight: 400;
}
html[data-voice="statement"] .feature__title {
  font-weight: 600;
  font-size: var(--fs-24);
  letter-spacing: -0.015em;
}
html[data-voice="statement"] .feature__body,
html[data-voice="statement"] .philosophy__quote { line-height: 1.6; }
html[data-voice="statement"] .philosophy__quote {
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
}
html[data-voice="statement"] .eyebrow-text,
html[data-voice="statement"] .hero__eyebrow span {
  letter-spacing: 0.18em;
  font-weight: 600;
}
html[data-voice="statement"] .amenity__title {
  font-weight: 500;
  font-size: 32px;
}
html[data-voice="statement"] .hero__title em {
  background: none;
  -webkit-text-fill-color: var(--accent-deep);
  color: var(--accent-deep);
  font-weight: 600;
}

/* ---------- ACCENT : veiled (gold all but disappears) ---------- */
html[data-accent="veiled"] .hero__title em {
  background: none;
  -webkit-text-fill-color: var(--fg-1);
  color: var(--fg-1);
  font-style: italic;
  font-weight: var(--w-light);
}
html[data-accent="veiled"] .eyebrow-row::before,
html[data-accent="veiled"] .hero__eyebrow::before {
  background: var(--fg-3);
  opacity: 0.6;
}
html[data-accent="veiled"] .eyebrow-text,
html[data-accent="veiled"] .hero__eyebrow span,
html[data-accent="veiled"] .feature__num,
html[data-accent="veiled"] .amenity__eyebrow,
html[data-accent="veiled"] .experience__point-num,
html[data-accent="veiled"] .footer__col-title { color: var(--fg-3); }
html[data-accent="veiled"] .feature__icon { background: rgba(28,26,23,0.06); color: var(--fg-1); }
html[data-accent="veiled"][data-mood="midnight"] .feature__icon { background: rgba(251,249,245,0.08); color: #FBF9F5; }
html[data-accent="veiled"] .hero__visual::before { display: none; }
html[data-accent="veiled"] .phone-wrap::before,
html[data-accent="veiled"] .phone-wrap::after { display: none; }
html[data-accent="veiled"] .phone__hero { background: #29261b; }
html[data-accent="veiled"] .phone__hero::before { display: none; }
html[data-accent="veiled"] .phone__avatar { background: #29261b; }
html[data-accent="veiled"] .form__submit { background: var(--ivory-50); color: var(--charcoal-900); box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
html[data-accent="veiled"] .form__submit:hover { background: var(--champagne-50); }
html[data-accent="veiled"] .demo .eyebrow-text { color: rgba(251,249,245,0.55); }
html[data-accent="veiled"] .demo .eyebrow-row::before { background: rgba(251,249,245,0.4); }

/* ---------- ACCENT : gilded (gold takes the stage) ---------- */
html[data-accent="gilded"] .hero__title em {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: var(--w-regular);
}
html[data-accent="gilded"] .section-title {
  background: linear-gradient(180deg, var(--fg-1) 55%, var(--champagne-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html[data-accent="gilded"][data-mood="midnight"] .section-title {
  background: linear-gradient(180deg, #FBF9F5 55%, var(--champagne-200) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-accent="gilded"] .eyebrow-row::before,
html[data-accent="gilded"] .hero__eyebrow::before {
  background: var(--gradient-gold);
  width: 40px;
  height: 2px;
}
html[data-accent="gilded"] .feature__num,
html[data-accent="gilded"] .amenity__eyebrow,
html[data-accent="gilded"] .experience__point-num {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}
html[data-accent="gilded"] .feature__icon {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(212,167,101,0.32);
}
html[data-accent="gilded"] .feature {
  position: relative;
}
html[data-accent="gilded"] .feature::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}
html[data-accent="gilded"] .feature:hover::before { opacity: 1; }
html[data-accent="gilded"] .btn-primary { background: var(--gradient-gold); color: #1C1A17; box-shadow: 0 10px 30px rgba(212,167,101,0.32); }
html[data-accent="gilded"] .btn-primary:hover { filter: brightness(1.04); box-shadow: 0 14px 36px rgba(212,167,101,0.42); }
html[data-accent="gilded"] .nav__cta { background: var(--gradient-gold); color: #1C1A17; }
html[data-accent="gilded"] .nav__cta:hover { filter: brightness(1.05); }
html[data-accent="gilded"] .hero__visual::before {
  inset: -36px -36px auto auto;
  width: 70%;
  opacity: 0.32;
  filter: blur(48px);
}
html[data-accent="gilded"] .form__submit { background: var(--gradient-gold); }
html[data-accent="gilded"] .demo__bg::after {
  background: linear-gradient(135deg, rgba(28,26,23,0.78) 0%, rgba(60,40,18,0.72) 60%, rgba(174,137,86,0.42) 100%);
}
/* === Architectural break — full-bleed image === */
.bleed {
  padding: 0 !important;
  position: relative;
  height: clamp(440px, 64vw, 760px);
  overflow: hidden;
  background: var(--ivory-100);
  margin-block: clamp(40px, 6vw, 80px);
}
.bleed image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

html[data-accent="gilded"] .bleed-text em { color: var(--champagne-100); text-shadow: 0 0 32px rgba(236,194,134,0.4); }
html[data-accent="gilded"] .experience__point-title::after,
html[data-accent="gilded"] .feature__title { /* keep */ }
html[data-accent="gilded"] .phone__hero { box-shadow: inset 0 0 0 1px rgba(236,194,134,0.18); }

/* === A11y / Latin numerals in Cinzel render fine; we just use Persian numerals === */

