:root {
  color-scheme: dark;
  --ink: #f4efe7;
  --muted: rgba(244, 239, 231, 0.68);
  --line: rgba(244, 239, 231, 0.22);
  --veil: rgba(9, 10, 10, 0.5);
  --panel: rgba(20, 19, 17, 0.82);
  --stone: #d6c5a9;
  --olive: #85916d;
  --terracotta: #a75f43;
  --charcoal: #0d0f0f;
  --ivory: #f4efe7;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: auto;
  overscroll-behavior-x: none;
}

body {
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--charcoal);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[dir="rtl"] body {
  direction: rtl;
}

button,
input {
  font: inherit;
}

button,
a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.page-shell {
  min-height: 100vh;
  background: #0d0f0f;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 10, 10, 0.8), rgba(9, 10, 10, 0.18));
  padding: 0 clamp(18px, 4vw, 48px);
  backdrop-filter: blur(14px);
  will-change: transform, opacity;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(118px, 13vw, 176px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  justify-content: center;
  font-size: 14px;
}

.nav-links a {
  text-underline-offset: 4px;
}

.nav-links a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--stone);
}

.menu-toggle {
  position: relative;
  z-index: 31;
  justify-self: end;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 14px;
}

.icon-button {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.icon-button span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.topbar.is-menu-open .nav-links {
  position: fixed;
  z-index: 30;
  top: 76px;
  right: clamp(18px, 4vw, 48px);
  display: grid;
  width: min(420px, calc(100vw - 36px));
  gap: 0;
  justify-content: stretch;
  border: 1px solid rgba(244, 239, 231, 0.22);
  background: rgba(13, 15, 15, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.topbar.is-menu-open .nav-links a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(244, 239, 231, 0.12);
  padding: 0 22px;
  text-decoration: none;
}

.topbar.is-menu-open .nav-links a::after {
  content: "→";
  color: var(--stone);
}

html[dir="rtl"] .topbar.is-menu-open .nav-links {
  right: auto;
  left: clamp(18px, 4vw, 48px);
}

html[dir="rtl"] .topbar.is-menu-open .nav-links a::after {
  content: "←";
}

.experience {
  position: relative;
  min-height: clamp(660px, 86svh, 860px);
  overflow: hidden;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  --rx: 0deg;
  --ry: 0deg;
  --mx: 0px;
  --my: 0px;
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  clip-path: inset(0 0 0 0);
  transform: none;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.scene.is-active {
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.scene.is-active .scene-image {
  animation: none;
}

.scene.is-before {
  transform: none;
}

.scene.is-after {
  transform: none;
}

.scene-image,
.scene-shade {
  position: absolute;
  inset: 0;
}

.scene-image {
  background-position: center;
  background-size: cover;
  filter: none;
  transform: none;
  transform-origin: center;
  transition: none;
  will-change: auto;
}

.scene-image::after {
  position: absolute;
  inset: 0;
  content: "";
}

.scene-arrival {
  background-image:
    linear-gradient(90deg, rgba(20, 17, 14, 0.58), rgba(20, 17, 14, 0.06), rgba(20, 17, 14, 0.54)),
    url("./assets/ta-meri/arrival-facade.webp");
}

.scene-residence {
  background-image:
    linear-gradient(90deg, rgba(10, 12, 12, 0.62), rgba(10, 12, 12, 0.08), rgba(10, 12, 12, 0.52)),
    url("./assets/ta-meri/courtyard.webp");
}

.scene-rooftop {
  background-image:
    linear-gradient(90deg, rgba(14, 15, 13, 0.66), rgba(14, 15, 13, 0.05), rgba(14, 15, 13, 0.62)),
    url("./assets/ta-meri/aerial.webp");
}

.scene-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.54), transparent 28%, transparent 62%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.3));
}

.intro-card {
  position: absolute;
  z-index: 6;
  top: clamp(132px, 16vh, 172px);
  left: clamp(18px, 7vw, 110px);
  max-width: 520px;
  will-change: transform, opacity;
}

.intro-card h1 {
  max-width: 680px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1;
}

html[dir="rtl"] .intro-card {
  right: clamp(18px, 7vw, 110px);
  left: auto;
  text-align: right;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--stone);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 118px);
  line-height: 0.9;
}

.hero-logo {
  display: block;
  width: min(440px, 78vw);
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38));
}

.intro-card p:not(.eyebrow) {
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero-proof {
  display: flex;
  max-width: 560px;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-proof span {
  border: 1px solid rgba(244, 239, 231, 0.28);
  background: rgba(10, 11, 11, 0.28);
  color: rgba(244, 239, 231, 0.78);
  font-size: 12px;
  padding: 8px 10px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hotline-badge {
  display: block;
  width: 92px;
  opacity: 0.92;
  text-decoration: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hotline-badge:hover,
.hotline-badge:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.hotline-badge img,
.contact-hotline img {
  display: block;
  width: 100%;
  height: auto;
}

.primary-action,
.secondary-action {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--stone);
  padding: 0 20px;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.hero-proof span,
.unit-card,
.project-grid article,
.buyer-grid article,
.render-card,
.plan-frame,
.amenity-grid article,
.payment-grid article,
.faq-list details {
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.hero-proof span:hover {
  border-color: rgba(214, 197, 169, 0.64);
  box-shadow: inset 0 -1px 0 rgba(214, 197, 169, 0.4);
}

.primary-action::after,
.secondary-action::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-115%);
  transition: transform 520ms ease;
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  transform: translateY(-3px);
}

.primary-action:hover::after,
.primary-action:focus-visible::after,
.secondary-action:hover::after,
.secondary-action:focus-visible::after {
  transform: translateX(115%);
}

.primary-action {
  background: var(--stone);
  color: #191510;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.05);
}

.hotspot {
  position: absolute;
  z-index: 8;
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: rgba(246, 239, 225, 0.22);
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.hotspot::before,
.hotspot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hotspot::before {
  width: 16px;
  aspect-ratio: 1;
  background: var(--ink);
}

.hotspot::after {
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  animation: pulse 2.4s ease-out infinite;
}

.hotspot span {
  position: absolute;
  left: 70px;
  width: max-content;
  max-width: 190px;
  color: var(--ink);
  font-size: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  background: rgba(246, 239, 225, 0.36);
  transform: scale(1.05);
}

.hotspot:hover span,
.hotspot:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.hotspot-one {
  top: 39%;
  left: 69%;
}

.hotspot-two {
  top: 64%;
  left: 51%;
}

.hotspot-three {
  top: 34%;
  left: 58%;
}

.hotspot-four {
  top: 58%;
  left: 76%;
}

.hotspot-five {
  top: 34%;
  left: 44%;
}

.hotspot-six {
  top: 62%;
  left: 37%;
}

.scene-footer {
  position: absolute;
  z-index: 10;
  right: clamp(18px, 4vw, 48px);
  bottom: 22px;
  left: clamp(18px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 18px;
  pointer-events: auto;
}

.intro-card,
.hotspot {
  pointer-events: auto;
}

.floor-button {
  width: max-content;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

html[dir="rtl"] .floor-button {
  text-align: right;
}

.floor-button span,
.floor-button strong {
  display: block;
}

.floor-button strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.scene-dots {
  display: flex;
  gap: 12px;
}

.scene-dots button {
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.scene-dots button.is-active {
  background: var(--ink);
}

.language-switch {
  display: flex;
  gap: 8px;
}

.footer-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
}

.language-switch button {
  min-width: 32px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 5px 7px;
  line-height: 1;
}

.language-switch .is-active {
  border-color: rgba(214, 197, 169, 0.42);
  color: var(--ink);
}

.gallery-band,
.master-plan-band,
.content-band,
.location-band,
.video-band,
.project-band,
.buyer-band,
.units-band,
.payment-band,
.trust-band,
.faq-band,
.contact-band {
  padding: clamp(74px, 12vw, 150px) clamp(20px, 7vw, 110px);
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 6vw, 90px);
  margin-bottom: 34px;
}

.section-kicker > .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.section-kicker h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
}

.section-kicker p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: var(--muted);
  line-height: 1.7;
}

.units-band {
  background: #121514;
}

.project-band {
  background:
    linear-gradient(180deg, rgba(13, 15, 15, 0.96), rgba(17, 19, 18, 0.94)),
    url("./assets/ta-meri/aerial.webp")
      center / cover;
}

.project-grid,
.buyer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(244, 239, 231, 0.22);
}

.project-grid article,
.buyer-grid article {
  min-height: 260px;
  background: rgba(18, 21, 20, 0.92);
  padding: clamp(24px, 3vw, 36px);
}

.project-grid span,
.buyer-grid span {
  color: var(--terracotta);
  font-family: Georgia, serif;
}

.project-grid h3,
.buyer-grid h3 {
  margin: 40px 0 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.project-grid p,
.buyer-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.7fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.2);
  background: rgba(244, 239, 231, 0.24);
}

.project-feature-media {
  position: relative;
  min-height: clamp(420px, 52vw, 680px);
  overflow: hidden;
  background: #111;
}

.project-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-feature-copy {
  display: grid;
  align-content: end;
  background: #171a18;
  padding: clamp(26px, 4vw, 48px);
}

.project-feature-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.96;
}

.project-feature-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.project-meta span {
  border: 1px solid rgba(244, 239, 231, 0.22);
  padding: 8px 10px;
  color: rgba(244, 239, 231, 0.78);
  font-size: 12px;
}

.buyer-band {
  background: #141716;
}

.buyer-grid article {
  display: flex;
  flex-direction: column;
}

.buyer-grid a {
  width: max-content;
  margin-top: auto;
  border-bottom: 1px solid var(--stone);
  color: var(--stone);
  text-decoration: none;
}

.video-band {
  background:
    linear-gradient(180deg, rgba(13, 15, 15, 0.95), rgba(13, 15, 15, 0.82)),
    url("./assets/ta-meri/aerial.webp")
      center / cover;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.24);
  background: #080908;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #080908;
}

.video-frame.use-fallback iframe {
  display: none;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: var(--ink);
  cursor: default;
  font: inherit;
  text-decoration: none;
}

.video-frame.use-fallback .video-fallback {
  display: grid;
}

.video-fallback::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 48%, rgba(214, 197, 169, 0.2), transparent 18%),
    linear-gradient(180deg, rgba(8, 9, 8, 0.1), rgba(8, 9, 8, 0.68));
}

.video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.8);
}

.video-play {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  width: clamp(72px, 9vw, 112px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(244, 239, 231, 0.68);
  border-radius: 50%;
  background: rgba(8, 9, 8, 0.24);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.video-fallback strong {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  color: var(--ink);
  font-size: clamp(18px, 2vw, 28px);
}

html[dir="rtl"] .video-fallback strong {
  right: auto;
  left: clamp(18px, 3vw, 34px);
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(244, 239, 231, 0.24);
}

.unit-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  background: #181b19;
  padding: clamp(24px, 3vw, 36px);
  will-change: transform, opacity;
}

.unit-card.is-featured {
  background:
    linear-gradient(180deg, rgba(214, 197, 169, 0.13), rgba(214, 197, 169, 0.03)),
    #181b19;
}

.unit-card > span,
.payment-grid span {
  color: var(--terracotta);
  font-family: Georgia, serif;
}

.unit-card h3,
.payment-grid h3 {
  margin: 34px 0 14px;
  font-size: 28px;
}

.unit-card p,
.payment-grid p,
.trust-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.unit-card dl {
  display: grid;
  gap: 1px;
  margin: auto 0 24px;
  background: rgba(244, 239, 231, 0.14);
}

.unit-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  background: #141716;
  padding: 14px 0;
}

.unit-card dt,
.unit-card dd {
  margin: 0;
}

.unit-card dt {
  color: var(--muted);
}

.unit-card dd {
  color: var(--ink);
  text-align: end;
}

.unit-card a {
  width: max-content;
  border-bottom: 1px solid var(--stone);
  color: var(--stone);
  text-decoration: none;
}

.gallery-band {
  background: #0e1110;
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  margin-bottom: 34px;
}

.gallery-heading h2,
.master-plan-band h2 {
  max-width: 660px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
}

.gallery-heading p:not(.eyebrow),
.master-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.render-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  background: rgba(244, 239, 231, 0.26);
}

.render-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 0;
  background: #111;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  will-change: transform, opacity;
}

.render-wide {
  grid-row: span 2;
  min-height: 621px;
}

.render-card img,
.plan-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 500ms ease,
    filter 500ms ease;
}

.render-card::after,
.plan-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.68));
}

.render-card span,
.plan-frame span {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 22px;
  color: var(--ink);
  font-size: 15px;
}

.render-card:hover img,
.render-card:focus-visible img,
.plan-frame:hover img,
.plan-frame:focus-visible img {
  filter: saturate(1.05) contrast(1.06);
  transform: scale(1.055);
}

.render-card:hover,
.render-card:focus-visible,
.plan-frame:hover,
.plan-frame:focus-visible,
.unit-card:hover,
.project-grid article:hover,
.buyer-grid article:hover,
.amenity-grid article:hover,
.payment-grid article:hover,
.faq-list details:hover {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.master-plan-band {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  background: #171817;
}

.plan-frame {
  position: relative;
  min-height: clamp(360px, 52vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.22);
  background: #0f1110;
  cursor: pointer;
}

.payment-band {
  background: #d8c6aa;
  color: #171411;
}

.payment-band .eyebrow,
.payment-band .payment-grid span {
  color: #6e3d2d;
}

.payment-band .section-kicker p:not(.eyebrow),
.payment-grid p {
  color: rgba(23, 20, 17, 0.68);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 20, 17, 0.22);
}

.payment-grid article {
  min-height: 260px;
  background: rgba(255, 255, 255, 0.26);
  padding: clamp(24px, 3vw, 34px);
  will-change: transform, opacity;
}

.payment-grid h3 {
  color: #171411;
}

.content-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  gap: clamp(32px, 7vw, 110px);
  background: #101312;
}

.content-band h2,
.location-band h2,
.trust-band h2,
.contact-band h2 {
  max-width: 720px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.amenity-grid article {
  min-height: 260px;
  background: #151817;
  padding: 28px;
  will-change: transform, opacity;
}

.amenity-grid span {
  color: var(--terracotta);
  font-family: Georgia, serif;
}

.amenity-grid h3 {
  margin: 44px 0 14px;
  font-size: 22px;
}

.amenity-grid p,
.location-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.location-band {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 7vw, 110px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(13, 15, 15, 0.92), rgba(13, 15, 15, 0.58)),
    url("./assets/ta-meri/courtyard.webp")
      center / cover;
}

.route-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(244, 239, 231, 0.3);
}

.route-card span {
  display: flex;
  min-height: 136px;
  align-items: end;
  background: rgba(16, 18, 17, 0.72);
  padding: 22px;
  color: var(--ink);
}

.access-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 1fr);
  gap: 16px clamp(28px, 6vw, 90px);
  margin-bottom: clamp(32px, 5vw, 58px);
}

.access-heading .eyebrow {
  grid-column: 1;
}

.access-heading h2 {
  grid-column: 1;
  margin: 0;
}

.access-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(244, 239, 231, 0.24);
}

.access-grid article {
  min-height: 290px;
  background: #171a18;
  padding: clamp(24px, 3vw, 34px);
}

.access-time {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.access-grid h3 {
  margin: 72px 0 16px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.access-grid p,
.access-note {
  color: var(--muted);
  line-height: 1.65;
}

.access-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.project-location-map {
  margin-bottom: 1px;
}

.portfolio-note,
.location-project-link {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
}

.portfolio-note h2,
.location-project-link h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.portfolio-note > p {
  margin: 0;
  color: rgba(23, 20, 17, 0.72);
  line-height: 1.7;
}

.map-grid {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
}

.map-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(320px, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.18);
  background: rgba(244, 239, 231, 0.2);
}

.map-copy {
  display: grid;
  align-content: end;
  background: #171a18;
  padding: clamp(24px, 4vw, 44px);
}

.map-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.map-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.map-frame {
  position: relative;
  min-height: clamp(360px, 44vw, 540px);
  background: #101312;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.86) contrast(0.98);
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
  background: #111312;
}

.faq-band {
  background: #0f1211;
}

.faq-list {
  display: grid;
  gap: 1px;
  background: rgba(244, 239, 231, 0.2);
}

.faq-list details {
  background: #171a18;
  padding: 24px clamp(20px, 4vw, 38px);
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(20px, 2.2vw, 30px);
  list-style-position: outside;
}

.faq-list p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.trust-list {
  display: grid;
  gap: 1px;
  background: rgba(244, 239, 231, 0.24);
}

.trust-list article {
  display: grid;
  min-height: 118px;
  grid-template-columns: 0.4fr 1fr;
  align-items: center;
  gap: 20px;
  background: #181b19;
  padding: 22px;
  will-change: transform, opacity;
}

.trust-list span {
  color: var(--muted);
}

.trust-list strong {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
}

.contact-band {
  background: #d8c6aa;
  color: #171411;
}

.contact-band .eyebrow {
  color: #6e3d2d;
}

.contact-copy {
  max-width: 860px;
  margin-bottom: 30px;
}

.lead-form {
  display: grid;
  max-width: 860px;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}

.lead-form label,
.lead-form span {
  display: block;
}

.lead-form span {
  margin-bottom: 8px;
  font-size: 13px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 20, 17, 0.32);
  background: rgba(255, 255, 255, 0.38);
  color: #171411;
  padding: 0 14px;
}

.lead-form input,
.lead-form select {
  height: 48px;
}

.lead-form textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.message-field {
  grid-column: 1 / -1;
}

.consent-field {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 10px;
  color: rgba(23, 20, 17, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #171411;
}

.consent-field span {
  margin: 0;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.lead-form .primary-action {
  min-height: 48px;
  border-color: #171411;
  background: #171411;
  color: var(--ink);
  grid-column: 1 / -1;
  justify-self: start;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: rgba(23, 20, 17, 0.7);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1fr minmax(160px, 0.45fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  border-top: 1px solid rgba(244, 239, 231, 0.14);
  background: #0c0e0d;
  padding: clamp(34px, 6vw, 72px) clamp(20px, 7vw, 96px) 26px;
}

.footer-brand img {
  display: block;
  width: min(190px, 46vw);
  height: auto;
}

.footer-brand p {
  max-width: 260px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
}

.footer-nav a {
  color: rgba(244, 239, 231, 0.76);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--stone);
}

.footer-contact {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-contact span {
  color: var(--stone);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-hotline {
  display: block;
  width: 140px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.contact-hotline:hover,
.contact-hotline:focus-visible {
  opacity: 0.86;
  transform: translateY(-2px);
}

.social-links,
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links {
  max-width: 220px;
}

.contact-socials {
  margin-top: 18px;
}

.social-link {
  position: relative;
  display: inline-grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(214, 197, 169, 0.45);
  color: rgba(244, 239, 231, 0.84);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--stone);
  background: rgba(214, 197, 169, 0.09);
  color: var(--stone);
  transform: translateY(-2px);
}

.social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.social-whatsapp::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.social-whatsapp::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translate(-3px, 7px) rotate(-22deg);
}

.social-instagram::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.social-instagram::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 6px -6px 0 -3px currentColor;
}

.social-facebook::before {
  content: "f";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(2px);
}

.footer-legal {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(244, 239, 231, 0.12);
  padding-top: 22px;
  color: rgba(244, 239, 231, 0.48);
  font-size: 12px;
}

.detail-dialog {
  position: fixed;
  width: min(560px, calc(100vw - 34px));
  border: 1px solid rgba(244, 239, 231, 0.26);
  background: rgba(16, 18, 17, 0.95);
  color: var(--ink);
  padding: 42px;
}

.detail-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.detail-dialog h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
}

.detail-dialog p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(13, 15, 15, 0.92), rgba(13, 15, 15, 0.68)),
    url("./assets/ta-meri/arrival-facade.webp")
      center / cover;
}

.thank-you-shell {
  display: grid;
  min-height: 100vh;
  align-content: center;
  max-width: 760px;
  padding: clamp(36px, 8vw, 96px);
}

.thank-you-shell img {
  width: min(190px, 52vw);
  margin-bottom: clamp(46px, 8vw, 90px);
}

.thank-you-shell h1 {
  max-width: 680px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
}

.thank-you-shell p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-hero {
  display: grid;
  min-height: 68svh;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding: clamp(120px, 15vw, 180px) clamp(20px, 7vw, 110px) clamp(54px, 8vw, 92px);
  background:
    linear-gradient(90deg, rgba(13, 15, 15, 0.94), rgba(13, 15, 15, 0.56)),
    var(--page-image, url("./assets/ta-meri/arrival-facade.webp"))
      center / cover;
}

.hero-about,
.hero-project,
.hero-payment,
.hero-faq {
  --page-image: url("./assets/ta-meri/arrival-facade.webp");
}

.hero-contact,
.hero-units {
  --page-image: url("./assets/ta-meri/courtyard.webp");
}

.hero-gallery,
.hero-amenities {
  --page-image: url("./assets/ta-meri/aerial.webp");
}

.hero-location {
  --page-image: url("./assets/ta-meri/courtyard.webp");
}

.hero-cgi {
  --page-image: url("https://img.youtube.com/vi/Yf83_5bffEY/maxresdefault.jpg");
}

.hero-ta-meri {
  --page-image: url("./assets/ta-meri/aerial.webp");
}

.hero-privacy {
  --page-image: url("./assets/about-generated/culture.webp");
}

.page-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.94;
}

.ta-meri-page-logo {
  display: block;
  width: min(680px, 82vw);
  height: auto;
  margin: 18px 0 28px;
}

.project-subnav {
  position: sticky;
  z-index: 15;
  top: 76px;
  display: flex;
  overflow-x: auto;
  border-block: 1px solid var(--line);
  background: rgba(13, 15, 15, 0.96);
  padding: 0 clamp(18px, 4vw, 48px);
  scrollbar-width: none;
  backdrop-filter: blur(16px);
}

.project-subnav::-webkit-scrollbar {
  display: none;
}

.project-subnav a {
  flex: 0 0 auto;
  min-height: 52px;
  align-content: center;
  border-inline-end: 1px solid rgba(244, 239, 231, 0.14);
  padding: 0 20px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.project-subnav a:hover,
.project-subnav a:focus-visible {
  color: var(--ink);
}

.anchor-section {
  scroll-margin-top: 128px;
}

.ta-meri-summary {
  border-top: 0;
}

.page-hero p:not(.eyebrow),
.page-summary p {
  color: var(--muted);
  line-height: 1.75;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.email-choice {
  width: min(100%, 520px);
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(231, 218, 194, 0.46);
  background: rgba(13, 15, 15, 0.78);
  color: var(--ivory);
  backdrop-filter: blur(14px);
}

.email-choice[hidden] {
  display: none;
}

.email-choice-title,
.email-choice-status {
  margin: 0;
  color: rgba(244, 239, 231, 0.72);
  font-size: 14px;
}

.email-choice-status {
  min-height: 18px;
  margin-top: 10px;
}

.email-choice button,
.email-choice a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  margin-inline-end: 10px;
  padding: 0 16px;
  border: 1px solid rgba(231, 218, 194, 0.54);
  background: transparent;
  color: var(--ivory);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.email-choice button:hover,
.email-choice button:focus-visible,
.email-choice a:hover,
.email-choice a:focus-visible {
  background: var(--sand);
  color: #141210;
}

.page-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(72px, 10vw, 132px) clamp(20px, 7vw, 110px);
  background: #111312;
}

.page-summary h2,
.page-section h2 {
  max-width: 720px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
}

.page-section {
  padding: clamp(70px, 10vw, 126px) clamp(20px, 7vw, 110px);
}

.page-section.is-warm {
  background: #d8c6aa;
  color: #171411;
}

.page-section.is-warm .eyebrow {
  color: #6e3d2d;
}

.page-section.is-warm p {
  color: rgba(23, 20, 17, 0.7);
}

.page-section.is-warm .detail-grid {
  background: rgba(23, 20, 17, 0.2);
}

.page-section.is-warm .detail-grid article {
  background: rgba(255, 255, 255, 0.3);
}

.page-section.is-warm .detail-grid h3 {
  color: #171411;
}

.page-section.is-warm .detail-grid p {
  color: rgba(23, 20, 17, 0.72);
}

/* Keep Ta-Meri information cards legible inside both warm and dark sections. */
.ta-meri-page .amenity-grid article,
.ta-meri-page .payment-grid article,
.ta-meri-page .access-grid article,
.ta-meri-page .map-copy {
  background: #171a18;
  color: #f4efe7;
}

.ta-meri-page .amenity-grid h3,
.ta-meri-page .payment-grid h3,
.ta-meri-page .access-grid h3,
.ta-meri-page .map-copy h2 {
  color: #f4efe7;
}

.ta-meri-page .amenity-grid p,
.ta-meri-page .payment-grid p,
.ta-meri-page .access-grid p,
.ta-meri-page .map-copy p:not(.eyebrow) {
  color: rgba(244, 239, 231, 0.8);
}

.ta-meri-page .amenity-grid span,
.ta-meri-page .payment-grid span,
.ta-meri-page .access-time,
.ta-meri-page .map-copy .eyebrow {
  color: #dca087;
}

.availability-note {
  max-width: 920px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid currentColor;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.78;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.media-panel {
  position: relative;
  min-height: clamp(340px, 48vw, 600px);
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.22);
  background: #101312;
}

.media-panel img,
.media-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.stats-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(244, 239, 231, 0.22);
}

.stats-grid article,
.detail-grid article {
  --detail-pad: clamp(24px, 3vw, 34px);
  position: relative;
  min-height: 220px;
  background: #171a18;
  padding: var(--detail-pad);
}

.stats-grid span,
.detail-grid span {
  color: var(--terracotta);
  font-family: Georgia, serif;
}

.stats-grid h3,
.detail-grid h3 {
  margin: 28px 0 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.stats-grid p,
.detail-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.detail-photo {
  display: block;
  width: calc(100% + (var(--detail-pad) * 2));
  max-width: none;
  aspect-ratio: 4 / 3;
  margin: 22px calc(var(--detail-pad) * -1) 0;
  object-fit: cover;
  object-position: center;
}

.values-grid .detail-photo {
  aspect-ratio: 16 / 10;
}

.profile-story,
.profile-founder {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.profile-founder {
  align-items: start;
}

.visual-disclaimer {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(23, 20, 17, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.profile-story h2,
.profile-founder h2,
.section-heading h2,
.profile-quote blockquote {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.profile-story h2,
.profile-founder h2,
.section-heading h2 {
  font-size: clamp(36px, 5vw, 72px);
}

.profile-story p:not(.eyebrow),
.profile-founder > p {
  color: var(--muted);
  line-height: 1.75;
}

.profile-story p + p {
  margin-top: 18px;
}

.profile-founder > p {
  max-width: 760px;
  color: rgba(23, 20, 17, 0.74);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.profile-quote {
  max-width: 980px;
  border-left: 1px solid var(--stone);
  padding-left: clamp(22px, 4vw, 46px);
}

html[dir="rtl"] .profile-quote {
  border-right: 1px solid var(--stone);
  border-left: 0;
  padding-right: clamp(22px, 4vw, 46px);
  padding-left: 0;
}

.profile-quote blockquote {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 70px);
}

.profile-quote > p:last-child {
  color: var(--stone);
  font-size: 14px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(244, 239, 231, 0.22);
}

.privacy-grid article {
  min-height: 310px;
  padding: clamp(26px, 4vw, 46px);
  background: #151817;
}

.privacy-grid article:last-child {
  grid-column: 1 / -1;
  min-height: 230px;
}

.privacy-grid span {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
}

.privacy-grid h2 {
  margin: 34px 0 18px;
  font-size: clamp(28px, 3vw, 42px);
}

.privacy-grid p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

.privacy-grid a,
.privacy-link,
.footer-legal a {
  color: inherit;
  text-underline-offset: 4px;
}

.privacy-link:hover,
.privacy-link:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--sand);
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.project-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(28px, 5vw, 58px);
  background: rgba(244, 239, 231, 0.22);
}

.project-link-grid a {
  min-height: 190px;
  padding: clamp(22px, 3vw, 32px);
  background: #141716;
  color: var(--ivory);
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.project-link-grid a:hover,
.project-link-grid a:focus-visible {
  background: #1d211f;
  transform: translateY(-4px);
}

.project-link-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--terracotta);
  font-family: Georgia, serif;
}

.project-link-grid strong {
  display: block;
  max-width: 220px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
}

.project-band .page-cta,
.trust-band .page-cta {
  grid-column: 1 / -1;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(26px, 5vw, 52px);
  background: rgba(244, 239, 231, 0.22);
}

.project-facts article {
  min-height: 190px;
  background: #151817;
  padding: clamp(24px, 3vw, 34px);
}

.project-facts strong {
  display: block;
  margin-bottom: 24px;
  color: var(--sand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
}

.project-facts span {
  color: rgba(244, 239, 231, 0.76);
  line-height: 1.55;
}

.unit-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.unit-filter button {
  min-height: 44px;
  border: 1px solid rgba(244, 239, 231, 0.28);
  border-radius: 0;
  background: transparent;
  padding: 10px 18px;
  color: var(--ivory);
  cursor: pointer;
  font: inherit;
}

.unit-filter button:hover,
.unit-filter button:focus-visible,
.unit-filter button[aria-pressed="true"] {
  border-color: var(--sand);
  background: var(--sand);
  color: #171411;
}

.unit-card[hidden] {
  display: none;
}

.brochure-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(13, 15, 15, 0.96), rgba(13, 15, 15, 0.72)),
    url("./assets/ta-meri/courtyard.webp") center / cover;
  padding: clamp(70px, 10vw, 126px) clamp(20px, 7vw, 110px);
}

.brochure-copy h2 {
  max-width: 680px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
}

.brochure-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.brochure-note {
  margin-top: 18px;
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 1040px;
  margin: auto;
  border: 1px solid rgba(244, 239, 231, 0.3);
  background: #111412;
  padding: 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: rgba(244, 239, 231, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--sand);
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button,
.cookie-settings {
  min-height: 42px;
  border: 1px solid rgba(244, 239, 231, 0.32);
  border-radius: 0;
  background: transparent;
  padding: 9px 15px;
  color: var(--ivory);
  cursor: pointer;
  font: inherit;
}

.cookie-actions [data-consent-accept] {
  border-color: var(--sand);
  background: var(--sand);
  color: #171411;
}

.mobile-contact-bar {
  display: none;
}

.not-found-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(13, 15, 15, 0.94), rgba(13, 15, 15, 0.62)),
    url("./assets/ta-meri/aerial.webp") center / cover;
}

.not-found-shell {
  display: grid;
  min-height: 100vh;
  align-content: center;
  max-width: 820px;
  padding: clamp(34px, 8vw, 100px);
}

.not-found-shell img {
  width: min(190px, 52vw);
  margin-bottom: 54px;
}

.not-found-shell h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 10vw, 140px);
  line-height: 0.9;
}

.not-found-shell p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .page-hero,
  .page-summary,
  .profile-story,
  .profile-founder,
  .split-layout,
  .project-feature,
  .map-card,
  .stats-grid,
  .detail-grid,
  .privacy-grid,
  .project-link-grid {
    grid-template-columns: 1fr;
  }

  .project-facts,
  .brochure-band {
    grid-template-columns: 1fr;
  }

  .privacy-grid article:last-child {
    grid-column: auto;
  }

  .access-heading,
  .access-grid,
  .portfolio-note,
  .location-project-link {
    grid-template-columns: 1fr;
  }

  .access-heading .eyebrow,
  .access-heading h2,
  .access-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .access-grid article {
    min-height: 230px;
  }

  .access-grid h3 {
    margin-top: 46px;
  }

  .page-hero {
    min-height: auto;
  }
}

@keyframes pulse {
  from {
    opacity: 0.8;
    transform: scale(0.82);
  }
  to {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes heroBreathing {
  from {
    filter: saturate(0.86) contrast(1.02);
  }
  to {
    filter: saturate(0.98) contrast(1.08);
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .topbar.is-menu-open .nav-links {
    display: grid;
  }

  .intro-card {
    right: 18px;
    top: 124px;
  }

  .intro-card p:not(.eyebrow) {
    font-size: 15px;
  }

  .hotspot span {
    display: none;
  }

  .content-band,
  .location-band,
  .gallery-heading,
  .section-kicker,
  .trust-band,
  .master-plan-band {
    grid-template-columns: 1fr;
  }

  .section-kicker > .eyebrow,
  .section-kicker h2,
  .section-kicker p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .amenity-grid,
  .unit-grid,
  .project-grid,
  .buyer-grid,
  .payment-grid,
  .render-grid {
    grid-template-columns: 1fr;
  }

  .render-wide {
    min-height: 360px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-legal {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body.has-mobile-contact-bar {
    padding-bottom: 66px;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 60px;
    border-top: 1px solid rgba(244, 239, 231, 0.24);
    background: rgba(13, 15, 15, 0.98);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    min-width: 0;
    border-inline-end: 1px solid rgba(244, 239, 231, 0.16);
    padding: 9px 6px;
    color: var(--ivory);
    font-size: 13px;
    text-align: center;
    text-decoration: none;
  }

  .mobile-contact-bar a:last-child {
    border-inline-end: 0;
    background: var(--sand);
    color: #171411;
  }

  .cookie-banner {
    bottom: 76px;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .brand-logo {
    width: 112px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-logo {
    width: min(360px, 84vw);
  }

  .hotline-badge {
    width: 82px;
  }

  .scene-footer {
    grid-template-columns: 1fr auto;
  }

  .scene-dots {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .language-switch {
    gap: 4px;
  }

  .footer-actions {
    grid-column: 2;
  }

  .route-card {
    grid-template-columns: 1fr;
  }

  .hotspot {
    width: 48px;
  }
}
