/* ==========================================================================
   THE ADDRESS CONDO (theaddresscondo.com) — V2 Flagship Editorial System
   Aesthetic Direction: Aman / 98 Wireless / Sotheby's Private Office
   Sharp Hairline Geometry · Monumental Serif · Warm Travertine & Obsidian
   ========================================================================== */

:root {
  /* V2 Shared Contract Palette */
  --bg-primary: #F7F4EE;
  --bg-secondary: #EDE7DC;
  --bg-dark: #0F0E0D;
  --bg-dark-elevated: #181715;
  --surface-card: #FFFFFF;
  --text-primary: #171513;
  --text-secondary: #5E5952;
  --text-on-dark: #F7F4EE;
  --accent-gold: #B08D57;
  --accent-gold-hover: #967542;
  --accent-gold-soft: rgba(176, 141, 87, 0.12);
  --border-subtle: rgba(23, 21, 19, 0.11);
  --border-gold: rgba(176, 141, 87, 0.38);

  /* V2 Shared Contract Typography */
  --font-display: 'Cormorant Garamond', 'Noto Sans Thai', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Thai', -apple-system, sans-serif;

  /* V2 Sharp Architectural Radii & Shadows */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-soft: 0 10px 30px rgba(15, 14, 13, 0.06);
  --shadow-elevated: 0 24px 64px rgba(15, 14, 13, 0.18);

  /* Supplemental Editorial Tokens */
  --text-muted-on-dark: rgba(247, 244, 238, 0.68);
  --border-on-dark: rgba(247, 244, 238, 0.13);
  --container-max: 1320px;
  --header-height: 76px;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   1. Base Reset, Typography & Scroll Progress Bar
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.shell-lightbox-open {
  overflow: hidden;
}

/* Thai Script Editorial Adjustments */
html[lang="th"] body {
  line-height: 1.75;
}

html[lang="th"] .shell-eyebrow,
html[lang="th"] .site-nav-link,
html[lang="th"] .shell-btn,
html[lang="th"] .hero-eyebrow,
html[lang="th"] .stats-strip-label,
html[lang="th"] .ledger-label {
  letter-spacing: 0.03em;
  text-transform: none;
}

html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="th"] .shell-heading {
  line-height: 1.34;
  letter-spacing: 0;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-luxury), opacity 0.25s var(--ease-luxury);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 1.5px solid var(--accent-gold);
  outline-offset: 2px;
}

::selection {
  background: rgba(176, 141, 87, 0.24);
  color: var(--text-primary);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 8px);
}

.shell-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.25rem);
}

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

.noscript-seo-summary {
  padding: 2rem clamp(1.25rem, 4vw, 3.25rem);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-gold);
  color: var(--text-primary);
}

/* Fixed 2px Champagne-Gold Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), #D8BC8C);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1100;
  pointer-events: none;
}

/* IntersectionObserver Editorial Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   2. Editorial Primitives (Eyebrows, Headings, Hairline Buttons)
   -------------------------------------------------------------------------- */
.shell-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 0.9rem;
}

.shell-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: var(--accent-gold);
  flex-shrink: 0;
}

.shell-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 1.15rem;
  color: var(--text-primary);
}

.shell-subheading {
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0;
  line-height: 1.75;
}

.shell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.88rem 1.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition:
    background-color 0.28s var(--ease-luxury),
    border-color 0.28s var(--ease-luxury),
    color 0.28s var(--ease-luxury),
    transform 0.28s var(--ease-luxury);
  white-space: nowrap;
}

.shell-btn-gold {
  background-color: var(--accent-gold);
  color: #FFFFFF;
  border-color: var(--accent-gold);
}

.shell-btn-gold:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
}

.shell-btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-gold);
}

.shell-btn-outline:hover {
  background-color: var(--accent-gold-soft);
  border-color: var(--accent-gold);
}

.shell-btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--bg-dark);
}

.shell-btn-dark:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   3. Floating Transparent-to-Frosted Editorial Header (#site-header)
   -------------------------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-height);
  background: linear-gradient(180deg, rgba(15, 14, 13, 0.68) 0%, rgba(15, 14, 13, 0.16) 100%);
  border-bottom: 1px solid rgba(247, 244, 238, 0.14);
  color: var(--text-on-dark);
  transition:
    background-color 0.35s var(--ease-luxury),
    border-color 0.35s var(--ease-luxury),
    color 0.35s var(--ease-luxury),
    box-shadow 0.35s var(--ease-luxury);
}

#site-header.is-scrolled,
#site-header.is-menu-open {
  background: rgba(247, 244, 238, 0.95);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  box-shadow: 0 8px 30px rgba(15, 14, 13, 0.05);
}

.site-header-inner {
  height: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left Zone: Wordmark + Slim Condo Switcher */
.site-brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.site-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.site-wordmark-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-wordmark-sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 3px;
  white-space: nowrap;
}

.brand-hairline-sep {
  width: 1px;
  height: 24px;
  background: currentColor;
  opacity: 0.22;
  flex-shrink: 0;
}

.condo-selector-wrap {
  position: relative;
  flex-shrink: 0;
}

.condo-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.36rem 0.64rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid rgba(247, 244, 238, 0.28);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

#site-header.is-scrolled .condo-selector-btn,
#site-header.is-menu-open .condo-selector-btn {
  border-color: var(--border-gold);
  background: rgba(255, 255, 255, 0.55);
}

.condo-selector-btn:hover {
  border-color: var(--accent-gold);
}

.condo-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  flex-shrink: 0;
}

.condo-selector-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.75;
  transition: transform 0.25s var(--ease-luxury);
}

.condo-selector-wrap.is-open .condo-selector-chevron {
  transform: rotate(180deg);
}

.condo-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 330px;
  background: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease-luxury), transform 0.22s var(--ease-luxury), visibility 0.22s;
  z-index: 960;
}

.condo-selector-wrap.is-open .condo-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.condo-dropdown-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.45rem 0.65rem 0.55rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.25rem;
}

.condo-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.condo-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.62rem 0.65rem;
  border: 0;
  border-bottom: 1px solid rgba(23, 21, 19, 0.05);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  transition: background-color 0.18s ease;
}

.condo-dropdown-item:last-child {
  border-bottom: 0;
}

.condo-dropdown-item:hover {
  background: var(--bg-primary);
}

.condo-dropdown-item.is-active {
  background: var(--accent-gold-soft);
}

.condo-dd-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.condo-dd-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.condo-dd-meta {
  font-size: 0.71rem;
  color: var(--text-secondary);
}

.condo-dd-badge {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.condo-dd-badge.is-live {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #E5CFA8;
}

/* Center Zone: 5 Razor-Sharp Editorial Links */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 1.5vw, 1.75rem);
  flex-shrink: 0;
}

.site-nav-link {
  position: relative;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: inherit;
  padding-block: 0.35rem;
  white-space: nowrap;
  opacity: 0.9;
}

html[lang="th"] .site-nav-link {
  font-size: 0.81rem;
  letter-spacing: 0.02em;
}

.site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease-luxury);
}

.site-nav-link:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.site-nav-link:hover::after,
.site-nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Right Zone: Currency Selector + Language Toggle + Thin Inquire CTA */
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.currency-switcher,
.lang-switcher {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(247, 244, 238, 0.28);
  background: rgba(15, 14, 13, 0.24);
  padding: 2px;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

#site-header.is-scrolled .currency-switcher,
#site-header.is-scrolled .lang-switcher,
#site-header.is-menu-open .currency-switcher,
#site-header.is-menu-open .lang-switcher {
  border-color: var(--border-subtle);
  background: rgba(237, 231, 220, 0.65);
}

.currency-btn,
.lang-seg {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.26rem 0.46rem;
  border-radius: 1px;
  opacity: 0.72;
  line-height: 1.1;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.currency-btn:hover,
.lang-seg:hover {
  opacity: 1;
}

.currency-btn.is-active,
.lang-seg.is-active {
  opacity: 1;
  background: var(--accent-gold);
  color: #FFFFFF;
}

#site-header.is-scrolled .currency-btn.is-active,
#site-header.is-scrolled .lang-seg.is-active,
#site-header.is-menu-open .currency-btn.is-active,
#site-header.is-menu-open .lang-seg.is-active {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.lang-divider {
  font-size: 0.65rem;
  opacity: 0.3;
  user-select: none;
}

.header-inquire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.46rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-gold);
  background: rgba(176, 141, 87, 0.16);
  color: #F7F4EE;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

#site-header.is-scrolled .header-inquire-btn,
#site-header.is-menu-open .header-inquire-btn {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.header-inquire-btn:hover,
#site-header.is-scrolled .header-inquire-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #FFFFFF;
}

/* Mobile Menu Button & Architectural Drawer */
.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(247, 244, 238, 0.3);
  background: transparent;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
}

#site-header.is-scrolled .mobile-menu-toggle,
#site-header.is-menu-open .mobile-menu-toggle {
  border-color: var(--border-subtle);
}

.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  background: var(--bg-primary);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-elevated);
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-luxury), transform 0.25s var(--ease-luxury), visibility 0.25s;
  z-index: 895;
}

.mobile-nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-link {
  padding: 0.72rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(23, 21, 19, 0.06);
}

.mobile-nav-link:last-child {
  border-bottom: 0;
}

.mobile-drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 0.6rem;
}

.mobile-currency-group {
  display: inline-flex;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  padding: 2px;
}

.mobile-currency-group .currency-btn {
  color: var(--text-primary);
  padding: 0.35rem 0.68rem;
}

.mobile-condo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.mobile-condo-chip {
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  font-size: 0.76rem;
  font-weight: 500;
  text-align: left;
  color: var(--text-primary);
}

.mobile-condo-chip.is-active {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. Full-Viewport (100svh) Cinematic Hero & Quick-Search Bar (#hero)
   -------------------------------------------------------------------------- */
@keyframes heroKenBurns {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.07);
  }
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: clamp(2rem, 4.5vh, 3.5rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  animation: heroKenBurns 24s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img {
    animation: none;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(15, 14, 13, 0.52) 0%,
      rgba(15, 14, 13, 0.14) 36%,
      rgba(15, 14, 13, 0.66) 70%,
      rgba(15, 14, 13, 0.94) 100%
    ),
    radial-gradient(circle at 22% 75%, rgba(15, 14, 13, 0.45) 0%, transparent 62%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-editorial-block {
  max-width: 880px;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #DFC496;
  margin: 0 0 1rem;
}

.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #DFC496;
}

.hero-monumental-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 6.8vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  margin: 0 0 1.1rem;
  color: var(--text-on-dark);
}

.hero-monumental-title em {
  font-style: italic;
  font-weight: 400;
  color: #E6CFA3;
  letter-spacing: 0;
}

html[lang="th"] .hero-monumental-title {
  font-weight: 500;
  font-size: clamp(2.35rem, 4.8vw, 4.1rem);
  line-height: 1.22;
}

html[lang="th"] .hero-monumental-title em {
  font-style: normal;
  display: inline-block;
}

.hero-poetic-line {
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  font-weight: 400;
  color: rgba(247, 244, 238, 0.86);
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.15rem;
}

.hero-poetic-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0.85;
}

.hero-live-pricing {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  font-weight: 500;
  color: #E6CFA3;
}

/* Integrated Floating Architectural Quick-Search Console */
.hero-search-bar {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1.1fr auto;
  align-items: stretch;
  background: rgba(15, 14, 13, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(176, 141, 87, 0.42);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.hero-search-cell {
  padding: 0.95rem 1.35rem;
  border-right: 1px solid rgba(247, 244, 238, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.38rem;
  min-width: 0;
}

.hero-search-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.56);
}

html[lang="th"] .hero-search-label {
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}

.hero-tx-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-tx-btn {
  border: 1px solid rgba(247, 244, 238, 0.18);
  background: transparent;
  color: rgba(247, 244, 238, 0.78);
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.hero-tx-btn:hover {
  border-color: rgba(247, 244, 238, 0.45);
  color: #FFFFFF;
}

.hero-tx-btn.is-active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #FFFFFF;
}

.hero-dd-wrap {
  position: relative;
  width: 100%;
}

.hero-dd-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.22rem 0.1rem 0.22rem 0;
  text-align: left;
  cursor: pointer;
}

.hero-dd-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-select-chevron {
  width: 13px;
  height: 13px;
  color: #DFC496;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease-luxury);
}

.hero-dd-wrap.is-open .hero-select-chevron {
  transform: rotate(180deg);
}

.hero-dd-menu {
  position: absolute;
  left: -0.5rem;
  right: -0.5rem;
  bottom: calc(100% + 12px);
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  background: #141312;
  border: 1px solid rgba(176, 141, 87, 0.55);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}

.hero-dd-wrap.is-open .hero-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-dd-option {
  width: 100%;
  display: block;
  text-align: left;
  padding: 0.52rem 0.7rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(247, 244, 238, 0.84);
  font-size: 0.84rem;
  font-weight: 500;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.hero-dd-option:hover {
  background: rgba(247, 244, 238, 0.08);
  color: #FFFFFF;
}

.hero-dd-option.is-selected {
  background: rgba(176, 141, 87, 0.22);
  color: #E6CFA3;
  font-weight: 600;
}

.hero-search-submit {
  margin: 0.45rem;
  padding: 0 1.85rem;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  background: var(--accent-gold);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  white-space: nowrap;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.hero-search-submit:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
}

/* --------------------------------------------------------------------------
   5. Architecture, Specification Ledger & CAD Floor Plans (#overview)
   -------------------------------------------------------------------------- */
.overview-section {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

/* Monumental 5-Column Hairline Stats Strip */
.stats-strip {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-card);
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stats-strip-cell {
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(0.9rem, 1.8vw, 1.65rem);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stats-strip-cell:last-child {
  border-right: 0;
}

.stats-strip-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1;
  color: var(--text-primary);
}

.stats-strip-num.is-gold {
  color: var(--accent-gold);
}

.stats-strip-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.overview-editorial-body {
  padding-block: clamp(4.75rem, 8.5vw, 7.5rem);
}

/* Magazine Asymmetric Split */
.overview-magazine-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(2.5rem, 5.5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(4.5rem, 7.5vw, 6.75rem);
}

.overview-photo-composition {
  position: relative;
  padding-bottom: 3.5rem;
  padding-right: 2.5rem;
}

.overview-main-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-soft);
}

.overview-main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.overview-inset-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 6px solid var(--bg-primary);
  box-shadow: var(--shadow-elevated);
  background: var(--bg-dark);
}

.overview-inset-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.overview-inset-caption {
  padding: 0.55rem 0.75rem;
  background: var(--bg-dark);
  color: #DFC496;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.overview-narrative {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

.overview-quote {
  margin: 0 0 2.25rem;
  padding: 0.2rem 0 0.2rem 1.35rem;
  border-left: 2px solid var(--accent-gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.45;
  color: var(--text-primary);
}

html[lang="th"] .overview-quote {
  font-style: normal;
  font-size: 1.16rem;
}

/* Sotheby's Architectural Specification Ledger */
.specs-ledger-wrap {
  border-top: 1px solid var(--text-primary);
  padding-top: 1.25rem;
}

.specs-ledger-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 0.85rem;
}

.specs-ledger-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-ledger-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.specs-ledger-table th,
.specs-ledger-table td {
  padding: 0.68rem 0;
  font-size: 0.86rem;
  vertical-align: baseline;
}

.ledger-label {
  width: 40%;
  text-align: left;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-right: 1rem !important;
}

.ledger-value {
  text-align: right;
  font-weight: 500;
  color: var(--text-primary);
}

/* Interactive CAD Architectural Floor Plan Studio */
.floorplan-studio {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.floorplan-studio-head {
  padding: clamp(1.75rem, 3.2vw, 2.75rem) clamp(1.5rem, 3.2vw, 3rem) 0;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #FAF8F4 0%, #FFFFFF 100%);
}

.floorplan-head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.65rem;
}

.floorplan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: -1px;
}

.floorplan-tab {
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

html[lang="th"] .floorplan-tab {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.86rem;
}

.floorplan-tab:hover {
  color: var(--text-primary);
}

.floorplan-tab.is-active {
  color: var(--text-primary);
  background: #FFFFFF;
  border-color: var(--border-subtle);
  border-bottom-color: var(--accent-gold);
}

.floorplan-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
}

.floorplan-blueprint-pane {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: #FBF9F5;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blueprint-svg-wrap svg {
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 21, 19, 0.1);
  background: #FCFBF8;
}

.floorplan-details-pane {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
}

.fp-plan-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: var(--text-primary);
}

.fp-plan-subtitle {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-gold-hover);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

html[lang="th"] .fp-plan-subtitle {
  letter-spacing: 0.02em;
  text-transform: none;
}

.fp-plan-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.fp-pricing-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1.35rem;
}

.fp-price-kicker {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.fp-price-amount {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--text-primary);
}

.fp-price-amount.is-gold {
  color: var(--accent-gold-hover);
}

.fp-rooms-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 0.6rem;
}

.fp-rooms-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
}

.fp-room-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.fp-room-name {
  font-weight: 500;
  color: var(--text-primary);
}

.fp-room-detail {
  color: var(--text-secondary);
  text-align: right;
}

.fp-match-btn {
  margin-top: auto;
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Mount Sections (#listings & #collection)
   -------------------------------------------------------------------------- */
.shell-mount-section {
  width: 100%;
  position: relative;
}

/* --------------------------------------------------------------------------
   7. Obsidian Interactive Amenities Stage & Lightbox Gallery (#facilities)
   -------------------------------------------------------------------------- */
.facilities-section {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.facilities-section .shell-heading {
  color: var(--text-on-dark);
}

.facilities-section .shell-subheading {
  color: var(--text-muted-on-dark);
}

.facilities-head {
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.amenities-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.amenity-chapter-list {
  border-top: 1px solid var(--border-on-dark);
}

.amenity-chapter-btn {
  width: 100%;
  display: block;
  text-align: left;
  padding: 1.35rem 1rem 1.35rem 1.15rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-on-dark);
  border-left: 2px solid transparent;
  color: var(--text-on-dark);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.amenity-chapter-btn:hover {
  background: rgba(247, 244, 238, 0.03);
}

.amenity-chapter-btn.is-active {
  border-left-color: var(--accent-gold);
  background: rgba(176, 141, 87, 0.07);
}

.chapter-top-row {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.chapter-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.chapter-title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--text-on-dark);
  line-height: 1.25;
}

.chapter-expand {
  display: none;
  padding-left: 2rem;
  margin-top: 0.65rem;
}

.amenity-chapter-btn.is-active .chapter-expand {
  display: block;
}

.chapter-floor {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #DFC496;
  margin-bottom: 0.45rem;
}

.chapter-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted-on-dark);
}

/* Right Photo Stage */
.amenity-visual-stage {
  position: relative;
  border: 1px solid rgba(176, 141, 87, 0.32);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-dark-elevated);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
}

.amenity-stage-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 0.38s ease, transform 0.65s var(--ease-luxury);
}

.amenity-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: var(--bg-dark-elevated);
  border-top: 1px solid var(--border-on-dark);
}

.amenity-stage-caption {
  font-size: 0.8rem;
  color: #DFC496;
  letter-spacing: 0.04em;
}

.amenity-stage-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.stage-arrow-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-on-dark);
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.stage-arrow-btn:hover {
  border-color: var(--accent-gold);
  background: rgba(176, 141, 87, 0.16);
}

/* Curated Architectural Photography Strip */
.gallery-strip-wrap {
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border-on-dark);
}

.gallery-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 400;
  margin: 0;
  color: var(--text-on-dark);
}

.gallery-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-thumb-btn {
  position: relative;
  padding: 0;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-dark-elevated);
  aspect-ratio: 4 / 3;
  text-align: left;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-luxury), opacity 0.3s ease;
}

.gallery-thumb-btn:hover .gallery-thumb-img {
  transform: scale(1.06);
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 14, 13, 0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.6rem 0.65rem;
}

.gallery-thumb-caption {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-on-dark);
  line-height: 1.25;
}

/* Fullscreen Architectural Photo Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 9, 8, 0.96);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--text-on-dark);
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-counter {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #DFC496;
}

.lightbox-close-btn {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-on-dark);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-close-btn:hover {
  border-color: var(--accent-gold);
}

.lightbox-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-block: 1rem;
}

.lightbox-img {
  max-width: min(1100px, 82vw);
  max-height: 74vh;
  object-fit: contain;
  border: 1px solid rgba(176, 141, 87, 0.35);
}

.lightbox-caption {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-on-dark);
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. Real Interactive Google Map & Phrom Phong Walkability (#location)
   -------------------------------------------------------------------------- */
.location-section {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.location-head {
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.map-editorial-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.google-map-frame-wrap {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 400px;
  background: #EFECE6;
  border-bottom: 1px solid var(--border-subtle);
}

.phromphong-leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
  z-index: 1;
  font-family: var(--font-body);
}

.phromphong-leaflet-map .leaflet-tile-pane {
  filter: saturate(0.42) sepia(0.12) contrast(0.96) brightness(1.03);
}

/* Custom Champagne-Gold Architectural Pin (THE ADDRESS Sukhumvit 28) */
.tac-leaflet-div-icon {
  background: transparent !important;
  border: 0 !important;
}

.tac-condo-pin-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.tac-condo-pin-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.28);
  border: 1px solid rgba(176, 141, 87, 0.55);
}

.tac-condo-pin-core {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background: #0F0E0D;
  border: 1.5px solid #B08D57;
  color: #E6CFA3;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(15, 14, 13, 0.35);
}

/* Clean Obsidian Landmark Pins */
.tac-landmark-pin-core {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #171513;
  border: 2px solid #F7F4EE;
  box-shadow: 0 3px 10px rgba(15, 14, 13, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.tac-landmark-pin-core:hover,
.tac-landmark-pin-core.is-active {
  transform: scale(1.3);
  background: #B08D57;
}

/* Luxury Editorial Leaflet Tooltip / Popup */
.leaflet-popup-content-wrapper,
.tac-map-tooltip {
  background: #0F0E0D !important;
  color: #F7F4EE !important;
  border: 1px solid rgba(176, 141, 87, 0.55) !important;
  border-radius: 3px !important;
  box-shadow: 0 14px 34px rgba(15, 14, 13, 0.32) !important;
  font-family: var(--font-body) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 0.65rem 0.85rem !important;
  line-height: 1.45 !important;
}

.leaflet-popup-tip {
  background: #0F0E0D !important;
}

.leaflet-container a.leaflet-popup-close-button {
  color: rgba(247, 244, 238, 0.65) !important;
}

.tac-popup-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #E6CFA3;
  margin-bottom: 2px;
}

.tac-popup-meta {
  display: block;
  font-size: 0.74rem;
  color: rgba(247, 244, 238, 0.82);
}

.leaflet-control-zoom a {
  background-color: #FFFFFF !important;
  color: #171513 !important;
  border-color: var(--border-subtle) !important;
}

.leaflet-control-zoom a:hover {
  background-color: var(--bg-primary) !important;
  color: var(--accent-gold-hover) !important;
}

.map-address-footer {
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.map-address-copy {
  flex: 1;
  min-width: 220px;
}

.map-address-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold-hover);
  margin: 0 0 0.25rem;
}

.map-address-line {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Right Panel: Category-Filtered Phrom Phong Walkability Guide */
.walkability-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.walkability-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.location-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.location-cat-tab {
  padding: 0.38rem 0.78rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

html[lang="th"] .location-cat-tab {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.78rem;
}

.location-cat-tab:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.location-cat-tab.is-active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.walkability-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.walk-item {
  padding: 0.88rem 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.walk-item:hover {
  background-color: var(--bg-primary);
}

.walk-item.is-selected {
  background-color: var(--accent-gold-soft);
  border-left-color: var(--accent-gold);
}

.walk-item:last-child {
  border-bottom: 0;
}

.walk-item-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.walk-place-name {
  margin: 0 0 0.15rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.walk-place-cat {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.walk-metrics {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.walk-distance-tag {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.walk-time-badge {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  background: var(--accent-gold-soft);
  color: var(--accent-gold-hover);
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8B. Editorial Bilingual FAQ Accordion Section (#faq)
   -------------------------------------------------------------------------- */
.faq-section {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 5vw, 4.75rem);
  align-items: start;
}

.faq-cta-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-cta-prompt {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.faq-accordion-list {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.65rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  background-color: rgba(247, 244, 238, 0.65);
}

.faq-q-left {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  min-width: 0;
}

.faq-q-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.faq-q-title {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.6vw, 1.42rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
}

html[lang="th"] .faq-q-title {
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.45;
}

.faq-toggle-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-luxury);
}

.faq-item[open] .faq-toggle-mark {
  transform: rotate(45deg);
}

.faq-item[open] .faq-summary {
  background-color: rgba(176, 141, 87, 0.06);
}

.faq-answer {
  padding: 0 1.65rem 1.5rem 3.4rem;
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--text-secondary);
}

.faq-answer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. Private Concierge Advisory Section (#contact)
   -------------------------------------------------------------------------- */
.contact-section {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-ledger {
  margin-top: 2.25rem;
  border-top: 1px solid var(--border-subtle);
}

.contact-ledger-row {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-ledger-row strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold-hover);
  margin-bottom: 0.3rem;
}

.contact-ledger-row span {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.concierge-form-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: clamp(1.75rem, 3.5vw, 2.85rem);
  box-shadow: var(--shadow-soft);
}

.selected-unit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-soft);
  border: 1px solid var(--border-gold);
}

.selected-unit-banner[hidden] {
  display: none !important;
}

.selected-unit-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold-hover);
  margin-bottom: 2px;
}

.selected-unit-value {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.selected-unit-clear {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: var(--surface-card);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

html[lang="th"] .form-label {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.82rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 21, 19, 0.18);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none' stroke='%235E5952' stroke-width='1.8'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  cursor: pointer;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: var(--surface-card);
  border-color: var(--accent-gold);
}

.form-textarea {
  min-height: 104px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding-block: 1rem;
}

.concierge-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.concierge-success[hidden] {
  display: none !important;
}

.concierge-success-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border: 1px solid var(--border-gold);
  background: var(--accent-gold-soft);
  color: var(--accent-gold-hover);
  display: grid;
  place-items: center;
}

.concierge-success-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.concierge-success-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0 auto 1.25rem;
  max-width: 440px;
}

.concierge-success-summary {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1.1rem;
  font-size: 0.84rem;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   10. Editorial Obsidian Footer (#site-footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(176, 141, 87, 0.45);
  padding-top: clamp(3.75rem, 6.5vw, 5.25rem);
  padding-bottom: 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr 1fr;
  gap: clamp(2rem, 3.5vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.footer-brand-desc {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  line-height: 1.72;
  color: var(--text-muted-on-dark);
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #DFC496;
  margin: 0 0 1.1rem;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted-on-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-live-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.12rem 0.36rem;
  border: 1px solid rgba(176, 141, 87, 0.5);
  color: #DFC496;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(247, 244, 238, 0.52);
}

/* --------------------------------------------------------------------------
   11. Responsive Layout Breakpoints (Desktop 1440/1280, Tablet, Mobile 390)
   -------------------------------------------------------------------------- */
@media (max-width: 1320px) {
  .site-header-inner {
    gap: 0.65rem;
  }

  .site-nav {
    gap: 0.82rem;
  }

  .site-nav-link {
    font-size: 0.69rem;
    letter-spacing: 0.09em;
  }

  html[lang="th"] .site-nav-link {
    font-size: 0.76rem;
  }
}

@media (max-width: 1160px) {
  .site-nav,
  .site-header-actions .currency-switcher,
  .header-inquire-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 980px) {
  .hero-search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .hero-search-cell:nth-child(2) {
    border-right: 0;
  }

  .hero-search-cell:nth-child(1),
  .hero-search-cell:nth-child(2) {
    border-bottom: 1px solid rgba(247, 244, 238, 0.12);
  }

  .hero-search-submit {
    padding-block: 0.85rem;
  }

  .stats-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-strip-cell:nth-child(3) {
    border-right: 0;
  }

  .stats-strip-cell:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .overview-magazine-grid,
  .floorplan-stage-grid,
  .amenities-stage,
  .location-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .floorplan-blueprint-pane {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .gallery-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  .brand-hairline-sep,
  .condo-selector-wrap {
    display: none;
  }

  .site-wordmark-title {
    font-size: 1.02rem;
    letter-spacing: 0.14em;
  }

  .hero-search-bar {
    grid-template-columns: 1fr;
  }

  .hero-search-cell {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(247, 244, 238, 0.12);
    padding: 0.78rem 1rem;
  }

  .hero-search-submit {
    margin: 0.65rem;
    padding-block: 0.9rem;
  }

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

  .stats-strip-cell {
    border-right: 1px solid var(--border-subtle) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
  }

  .stats-strip-cell:nth-child(2n) {
    border-right: 0 !important;
  }

  .stats-strip-cell:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }

  .overview-photo-composition {
    padding-right: 1.25rem;
    padding-bottom: 2.5rem;
  }

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

  .faq-summary {
    padding: 1.1rem 1.15rem;
  }

  .faq-answer {
    padding: 0 1.15rem 1.25rem 1.15rem;
  }

  .mobile-condo-list,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
