/* The logo asset now has genuine alpha transparency. */
.site-header, .footer { isolation: isolate; }
.brand img, .footer-brand img { mix-blend-mode: normal; filter: none; }
.brand img { width: 54px; height: 54px; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-deep); outline-offset: 4px;
}
.two-col > *, .statement-grid > *, .location-layout > *, .inquiry-layout > *,
.form-row > *, .masterplan-meta > *, .footer-main > * { min-width: 0; }
.inquiry-form .honey {
  position: absolute; left: auto; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.unit-card-top .unit-status { font: 500 12px 'IBM Plex Sans Arabic', Tahoma, sans-serif; color: var(--ink); }
.photo-dialog { width: min(1000px, 94vw); }
.photo-dialog img { max-height: 75svh; }

@media (max-width: 1000px) {
  html { scroll-padding-top: 92px; }
  .site-header { gap: 16px; }
  .site-header nav { max-height: calc(100svh - 73px); overflow-y: auto; box-shadow: 0 20px 30px #0003; }
  .site-header nav a { min-height: 48px; display: flex; align-items: center; }
  .menu-btn { width: 44px; height: 44px; padding: 0; flex-shrink: 0; }
  .hero { height: auto; min-height: min(720px, calc(100svh - 105px)); display: flex; flex-direction: column; }
  .hero-content { height: auto; flex: 1; padding-block: 64px 40px; }
  .hero h1 { font-size: clamp(34px, 6.5vw, 54px); letter-spacing: -.8px; }
  .hero-content p { margin-block: 8px 12px; }
  .hero-bottom { height: auto; min-height: 60px; flex-shrink: 0; gap: 12px; padding-block: 16px; flex-wrap: wrap; letter-spacing: 1px; }
  .section-head { margin-bottom: 28px; }
  .section-kicker { letter-spacing: .5px; line-height: 1.8; }
  .about-main { height: auto; aspect-ratio: 4 / 3; }
  .location-visual img { height: auto; aspect-ratio: 4 / 3; }
  .masterplan-image img { height: auto; max-height: 420px; }
  .masterplan-meta .btn { white-space: normal; text-align: center; }
  .inquiry-form input, .inquiry-form textarea, .search-input input { font-size: 16px; min-height: 48px; }
  .inquiry-form textarea { min-height: 125px; }
  .btn, .filter-tabs button { min-height: 48px; }
  .footer-bottom { overflow-wrap: anywhere; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .topbar { height: 28px; justify-content: center; padding-inline: 16px; }
  .site-header { height: 76px; padding-inline: 16px; gap: 10px; }
  .site-header nav { top: 76px; max-height: calc(100svh - 76px); padding: 8px 18px 18px; }
  .brand { gap: 6px; }
  .brand img { width: 44px; height: 44px; }
  .brand b { font-size: 23px; }
  .brand small { font-size: 8px; letter-spacing: 2px; }
  .nav-actions { gap: 6px; }
  .nav-actions > .btn { display: inline-flex; min-height: 44px; padding: 8px 11px; font-size: 11px; gap: 0; }
  .nav-actions > .btn span { display: none; }
  .hero { min-height: min(680px, calc(100svh - 104px)); }
  .hero-content { padding-block: 48px 32px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.5px; gap: 10px; }
  .hero h1 { font-size: clamp(32px, 8.8vw, 44px); margin-block: 20px 14px; line-height: 1.5; }
  .hero-content p { font-size: 14px; line-height: 2; }
  .hero-actions { width: 100%; flex-direction: column; gap: 10px; margin-top: 20px; }
  .hero-actions .btn { width: 100%; min-height: 50px; font-size: 13px; justify-content: space-between; padding-inline: 18px; }
  .hero-bottom { font-size: 9px; line-height: 1.8; }
  .statement { padding-block: 48px; }
  .statement-grid, .two-col, .location-layout, .inquiry-layout { gap: 28px; }
  .section { padding-block: 52px; }
  .section h2, .statement h2 { font-size: clamp(28px, 7.5vw, 36px); line-height: 1.5; letter-spacing: -.5px; margin-block: 14px 18px; }
  .statement p, .about-text p, .location p, .inquiry-intro p { font-size: 14px; line-height: 2; }
  .floating-mark { width: 76px; height: 76px; font-size: 34px; bottom: 42px; }
  .feature-grid { gap: 18px; margin-top: 24px; }
  .feature-grid b { font-size: 13px; }
  .filterbar { gap: 14px; }
  .filter-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .filter-tabs button { border: 1px solid var(--border); padding: 10px 8px; min-height: 46px; background: #fff; border-radius: 3px; }
  .filter-tabs button.active { background: #e8ddcc; border-color: var(--gold-deep); }
  .filter-tabs button.active::after { display: none; }
  .search-input { min-height: 50px; }
  .empty-units { padding: 32px 18px; }
  .empty-units h3 { font-size: 20px; }
  .empty-units .btn { width: 100%; padding-inline: 10px; white-space: normal; }
  .leasing-types { margin-top: 32px; gap: 14px; }
  .masterplan-image { padding: 8px; }
  .masterplan-meta { padding: 20px 16px; gap: 12px; }
  .masterplan-meta h3 { font-size: 21px; }
  .masterplan-meta .btn { width: 100%; font-size: 12px; }
  .gallery { gap: 12px; }
  .gallery-item { height: auto; aspect-ratio: 4 / 3; }
  .banner { height: 360px; }
  .banner h2 { font-size: 40px; }
  .location-card { padding: 16px; gap: 12px; margin-block: 22px; }
  .location-card strong { font-size: 14px; overflow-wrap: anywhere; }
  .inquiry-form { padding: 24px 18px; }
  .inquiry-form h3 { font-size: 22px; }
  .inquiry-form label { font-size: 13px; margin-bottom: 18px; }
  .privacy-note { font-size: 11px; }
  .form-result { overflow-wrap: anywhere; }
  .contact-strip { padding-block: 32px; }
  .contact-strip h2 { font-size: 28px; }
  .contact-strip-inner { gap: 20px; }
  .contact-strip .btn { width: 100%; }
  .footer { padding-top: 40px; }
  .footer-main { padding-bottom: 30px; }
  .footer-brand img { width: 60px; height: 60px; }
  .footer-links a { min-height: 44px; display: flex; align-items: center; }
  .footer-bottom { font-size: 11px; line-height: 2; gap: 12px; }
  .photo-dialog { padding: 8px; max-height: 90svh; }
  .close-dialog { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Contact numbers remain readable and easy to tap on small screens. */
.phone-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 380px; margin-block: 20px; }
.phone-contacts a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 10px 14px; border: 1px solid var(--gold-deep); font-size: 16px; font-weight: 600; background: #ffffff60; color: var(--ink); }
.phone-contacts a:hover { background: #fff; }
.phone-contacts bdi { white-space: nowrap; letter-spacing: .5px; }
.phone-contacts a span { font-size: 14px; color: #785b36; }
.contact-strip .phone-contacts { margin-bottom: 0; }
@media (max-width: 360px) { .phone-contacts a { padding-inline: 10px; font-size: 15px; gap: 6px; } }
