/* ==========================================================================
   Rudra Realty - Architectural Design System
   Exact Brand Tokens:
   - Primary brand:      #1C2421 (Deep Forest Charcoal)
   - Luxury accent:      #C4A574 (Refined Champagne Gold)
   - Main background:    #F5F3EE (Warm Alabaster Stone)
   - Secondary surface:  #FFFFFF (Crisp White)
   - Body text:          #696B66 (Warm Mineral Gray)
   - Headings font:      Marcellus
   - Body font:          DM Sans / Inter
   Rule: Absolutely no uppercase font transformations anywhere.
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #1C2421;
  --primary-light: #2c3834;
  --primary-soft: rgba(28, 36, 33, 0.05);

  --accent: #C4A574;
  --accent-light: #d8c29d;
  --accent-dark: #a88956;
  --accent-soft: rgba(196, 165, 116, 0.12);
  --accent-gradient: linear-gradient(135deg, #d8c29d 0%, #C4A574 50%, #a88956 100%);

  --bg-main: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;

  --text-primary: #1C2421;
  --text-body: #696B66;
  --text-muted: #8c8e87;
  --text-light: #FFFFFF;

  --border-subtle: rgba(28, 36, 33, 0.08);
  --border-medium: rgba(28, 36, 33, 0.16);
  --border-accent: rgba(196, 165, 116, 0.35);
  --border-accent-solid: #C4A574;

  --font-heading: 'Marcellus', Georgia, serif;
  --font-body: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(28, 36, 33, 0.04);
  --shadow-card: 0 10px 30px rgba(28, 36, 33, 0.05);
  --shadow-hover: 0 18px 40px rgba(28, 36, 33, 0.1);
  --shadow-accent: 0 8px 25px rgba(196, 165, 116, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography - Strict rule: No uppercase transforms */
h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
  font-weight: 400;
  color: var(--text-primary);
  text-transform: none !important;
}

.gold-text {
  color: var(--accent);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

p {
  color: var(--text-body);
  text-transform: none !important;
}

a,
span,
label,
button,
input,
select,
textarea {
  text-transform: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 95%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6.5rem 0;
  position: relative;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.75rem auto;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-body);
}

/* Buttons (Refined Luxury Architectural System) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.88rem 1.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #1C2421 0%, #293833 100%);
  color: #FFFFFF;
  border: 1px solid rgba(196, 165, 116, 0.65);
  box-shadow: 0 4px 18px rgba(28, 36, 33, 0.28), inset 0 1px 0 rgba(196, 165, 116, 0.3);
}

.btn-primary:hover {
  background: #caad7f;
  color: #141916;
  border-color: #caad7f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(202, 173, 127, 0.45), 0 2px 6px rgba(28, 36, 33, 0.15);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  background: rgba(28, 36, 33, 0.2);
  color: var(--primary);
  border: 1px solid rgba(196, 165, 116, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 165, 116, 0.25);
}

.btn-outline svg {
  transition: transform 0.3s ease;
}

.btn-outline:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   TRANSPARENT HEADER & CENTERED LOGO
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 990;
  background: transparent;
  border-bottom: 1px solid rgba(28, 36, 33, 0.08);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(28, 36, 33, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 165, 116, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.35rem 1rem;
  max-width: 1680px;
  margin: 0 auto;
  width: 95%;
  transition: padding 0.3s ease;
}

.site-header.scrolled .header-container {
  padding: 0.95rem 1rem;
}

.header-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

/* Left Menu Trigger Pill */
.sidebar-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.35rem;
  background: rgba(28, 36, 33, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 165, 116, 0.45);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-open-btn:hover {
  background: rgba(196, 165, 116, 0.2);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-icon-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.bar-line {
  display: block;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.3s ease, width 0.3s ease;
}

.bar-line:nth-child(1) {
  width: 18px;
}

.bar-line:nth-child(2) {
  width: 12px;
}

.bar-line:nth-child(3) {
  width: 16px;
}

.sidebar-open-btn:hover .bar-line:nth-child(2) {
  width: 18px;
}

/* Brand Logo (Simple Text: Rudra Realty) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: color 0.3s ease;
}

.brand-logo:hover .brand-text {
  color: var(--accent);
}

.sidebar-header .brand-text {
  font-size: 1.65rem;
  color: #FFFFFF;
}

.sidebar-header .brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sidebar-brand-logo {
  height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footer-brand-simple .footer-brand-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.footer-brand-simple .footer-brand-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.footer-brand-logo {
  height: 68px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: none;
}

.footer-brand-simple .brand-text {
  font-size: 1.85rem;
  color: #F5F3EE;
}

/* ==========================================================================
   OFF-CANVAS LUXURY SIDEBAR
   ========================================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 13, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  max-width: 88vw;
  height: 100vh;
  background: #1C2421;
  z-index: 1001;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  border-right: none;
  box-shadow: none !important;
}

.sidebar-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  border-right: 1px solid rgba(196, 165, 116, 0.25);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5) !important;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 2.25rem 2rem;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(196, 165, 116, 0.15);
  margin-bottom: 1.75rem;
}

.sidebar-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 165, 116, 0.3);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-close-btn:hover {
  background: var(--accent);
  color: #1C2421;
  border-color: var(--accent);
  transform: rotate(90deg);
}

.sidebar-nav {
  flex-grow: 1;
}

.sidebar-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-link {
  display: block;
  padding: 0.85rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #e4e0d7;
  text-decoration: none;
  transition: all 0.25s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--accent);
  padding-left: 0.85rem;
}

.sidebar-submenu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #e4e0d7;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.sidebar-submenu-toggle:hover {
  color: var(--accent);
  padding-left: 0.85rem;
}

.submenu-chevron {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.sidebar-item.has-submenu.open .submenu-chevron {
  transform: rotate(180deg);
}

.sidebar-submenu-list {
  list-style: none;
  display: none;
  padding: 0.35rem 0 0.85rem 1.25rem;
  border-left: 1px solid rgba(196, 165, 116, 0.25);
  margin-left: 0.5rem;
  margin-bottom: 0.5rem;
}

.sidebar-item.has-submenu.open .sidebar-submenu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-sub-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #b0ada6;
  padding: 0.4rem 0;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar-sub-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.sidebar-footer {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(196, 165, 116, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-meta-eyebrow {
  display: block;
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.sidebar-contact-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #e4e0d7;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-contact-line svg {
  color: var(--accent);
}

.sidebar-contact-line:hover {
  color: var(--accent);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9.5rem 0 5.5rem 0;
  background-image: linear-gradient(180deg, rgba(28, 36, 33, 0.55) 0%, rgba(28, 36, 33, 0.82) 75%, var(--bg-main) 100%), url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-backdrop-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(196, 165, 116, 0.2), transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(28, 36, 33, 0.88);
  border: 1px solid var(--accent);
  padding: 0.45rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-headline {
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
  line-height: 1.18;
  margin-bottom: 1.35rem;
  color: #FFFFFF;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  color: #f1ede4;
  font-weight: 300;
  line-height: 1.75;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.85);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-cta-group .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  background: rgba(28, 36, 33, 0.4);
  backdrop-filter: blur(8px);
}

.hero-cta-group .btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.hero-stat-item {
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.hero-stat-item:last-child {
  border-right: none;
}

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.hero-stat-lbl {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ==========================================================================
   OVERVIEW SECTION
   ========================================================================== */
#overview {
  position: relative;
  z-index: 20;
  box-shadow: 0 -25px 60px rgba(10, 15, 13, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.overview-grid,
.overview-content {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

#overview .section-title {
  text-align: center;
}

.overview-lead {
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.85;
  margin-bottom: 0;
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.overview-actions {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}

.overview-body {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.overview-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  list-style: none;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: var(--primary);
}

.feature-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.architect-quote-card {
  background: var(--primary);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
  color: var(--text-light);
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(196, 165, 116, 0.3);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(196, 165, 116, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
}

.author-meta h4 {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}

.author-meta p {
  font-size: 0.85rem;
  color: var(--accent);
}

/* ==========================================================================
   PRINCIPLES (3 PILLARS)
   ========================================================================== */
.pillars-section {
  background: var(--bg-main);
  position: relative;
}

.pillar-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
}

.pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar-card.reverse .pillar-media {
  order: 2;
}

.pillar-card.reverse .pillar-content {
  order: 1;
}

.pillar-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  aspect-ratio: 4 / 3;
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-media img {
  transform: scale(1.04);
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(196, 165, 116, 0.4);
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-size: 1.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.pillar-sub {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.pillar-desc {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.pillar-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: var(--primary);
}

.pillar-spec-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   OUR PROJECTS
   ========================================================================== */
.projects-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-body);
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(28, 36, 33, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.project-thumbnail {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumbnail img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(28, 36, 33, 0.9);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.project-status-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.project-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--accent);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.project-name {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.project-type {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.project-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.spec-cell-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.spec-cell-val {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

.project-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-price-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.project-price-val {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--primary);
}

/* ==========================================================================
   BUYERS GUIDE & EMI CALCULATOR
   ========================================================================== */
.guide-journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .guide-journey-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.journey-step-card {
  background: #ffffff;
  border: 1px solid rgba(28, 36, 33, 0.08);
  border-radius: 8px;
  padding: 2.25rem 1.75rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.journey-step-card:hover {
  border-color: #c5a880;
  box-shadow: 0 12px 32px rgba(197, 168, 128, 0.12);
  transform: translateY(-4px);
}

.step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.4);
  color: #b08d57;
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.22rem;
  font-weight: 500;
  color: #111111;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-desc {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.92rem;
  line-height: 1.68;
  color: #555555;
  margin: 0;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: border-color var(--transition-fast);
}

.faq-card[open] {
  border-color: var(--accent);
}

.faq-summary {
  padding: 1.4rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.faq-card[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.75rem 1.6rem 1.75rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
}

/* ==========================================================================
   TESTIMONIALS & AWARDS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
  margin-bottom: 5rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stars-rating {
  display: flex;
  gap: 0.35rem;
  color: var(--accent);
  margin-bottom: 1.35rem;
}

.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--primary);
  margin-bottom: 2rem;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.35rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.client-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.client-info p {
  font-size: 0.85rem;
  color: var(--accent-dark);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.85rem;
}

.award-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.award-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.award-badge-pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.35rem;
  font-weight: 500;
}

.award-icon-box {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.35rem auto;
  color: var(--accent);
}

.award-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.award-org {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* ==========================================================================
   CALL TO ACTION
   ========================================================================== */
.cta-box {
  background: var(--primary);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 5rem 3.5rem;
  text-align: center;
  color: var(--text-light);
  box-shadow: var(--shadow-card);
}

.cta-box .section-title {
  color: var(--text-light);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
}

.cta-box .section-desc {
  color: rgba(245, 243, 238, 0.85);
  max-width: 680px;
  margin: 0 auto 2.75rem auto;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-button-group .btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.cta-button-group .btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary);
}

.cta-button-group .btn-outline {
  border-color: rgba(245, 243, 238, 0.4);
  color: var(--text-light);
}

.cta-button-group .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* ==========================================================================
   FOOTER (COMPREHENSIVE ARCHITECTURAL LUXURY)
   ========================================================================== */
.site-footer {
  background-color: #F2F4F3 !important;
  background: #F2F4F3 !important;
  border-top: 1px solid rgba(28, 36, 33, 0.09) !important;
  padding: clamp(4rem, 6vw, 5.5rem) 0 2.5rem 0;
  color: var(--text-body);
  position: relative;
  z-index: 20;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 0.85fr 0.85fr 1.55fr;
  gap: clamp(2rem, 3.5vw, 3.75rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(28, 36, 33, 0.09);
}

/* Col 1: Brand & Contact */
.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-wrap {
  margin-bottom: 1.25rem;
}

.footer-brand-logo {
  height: 64px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: none;
}

.footer-description {
  font-size: 0.92rem;
  line-height: 1.72;
  color: #555B57;
  max-width: 380px;
  margin-bottom: 1.75rem;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #262E2A;
}

.footer-contact-item .footer-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-val {
  color: #1C2421;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-val:hover {
  color: var(--accent);
}

/* Headings */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: #1C2421;
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.7rem;
  text-transform: none !important;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

/* Nav Lists */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  font-size: 0.92rem;
  color: #38423E;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-nav-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* Project Links */
.footer-project-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 0.2rem 0;
}

.footer-project-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: #1C2421;
  transition: all var(--transition-fast);
}

.footer-project-meta {
  font-size: 0.76rem;
  color: #6C736F;
}

.footer-project-link:hover .footer-project-name {
  color: var(--accent);
  transform: translateX(3px);
}

/* Advisory Hours Box */
.footer-hours-card {
  margin-top: 1.65rem;
  padding: 0.95rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid rgba(28, 36, 33, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(28, 36, 33, 0.03);
}

.footer-hours-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}

.footer-hours-time {
  font-size: 0.85rem;
  color: #2C3531;
  font-weight: 500;
  display: block;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.25rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-copyright {
  font-size: 0.86rem;
  color: #555B57;
  margin: 0;
}

.footer-rera-note {
  font-size: 0.75rem;
  color: #7A817D;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  flex-wrap: wrap;
}

.footer-legal-link {
  color: #555B57;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-legal-sep {
  color: #9AA09C;
  user-select: none;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1C2421;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(28, 36, 33, 0.14);
  background: #FFFFFF;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.footer-back-to-top:hover {
  background: var(--accent);
  color: #1C2421;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(196, 165, 116, 0.25);
}

/* Footer Accordion Base Styles (Desktop) */
.footer-accordion-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  cursor: default;
  font: inherit;
  color: inherit;
}

.footer-accordion-toggle .footer-heading {
  margin-bottom: 1.4rem;
  padding-bottom: 0.7rem;
}

.footer-accordion-icon {
  display: none;
}

.footer-accordion-content {
  display: block;
  opacity: 1;
}

/* Responsive Footer (Tablet 769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Mobile Footer Accordion (<= 768px) - Full Width Single Column Stack */
@media (max-width: 768px) {
  .footer-main-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    padding-bottom: 2rem;
  }

  .footer-col,
  .footer-col-brand,
  .footer-accordion-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .footer-col-brand {
    padding-bottom: 1.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(28, 36, 33, 0.08);
  }

  .footer-description {
    margin-bottom: 0;
    max-width: 100%;
  }

  .footer-accordion-col {
    border-bottom: 1px solid rgba(28, 36, 33, 0.08);
  }

  .footer-accordion-toggle {
    width: 100%;
    cursor: pointer;
    padding: 1.15rem 0;
    justify-content: space-between;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .footer-accordion-toggle .footer-heading {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: #1C2421;
  }

  .footer-accordion-toggle .footer-heading::after {
    display: none;
  }

  .footer-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(202, 173, 127, 0.12);
    color: var(--accent);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
  }

  .footer-accordion-icon svg {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .footer-accordion-col.is-open .footer-accordion-icon {
    background: var(--accent);
    color: #1C2421;
  }

  .footer-accordion-col.is-open .footer-accordion-icon svg {
    transform: rotate(180deg);
  }

  .footer-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    overflow: hidden;
  }

  .footer-accordion-content > * {
    min-height: 0;
    overflow: hidden;
  }

  .footer-accordion-col.is-open .footer-accordion-content {
    grid-template-rows: 1fr;
    opacity: 1;
    padding-bottom: 1.25rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-top: 1.75rem;
  }

  .footer-bottom-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
dialog.luxury-modal {
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 0;
  max-width: 580px;
  width: 90%;
  box-shadow: 0 25px 60px rgba(28, 36, 33, 0.3);
  margin: auto;
  overflow: hidden;

  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: all 0.25s ease-out;
}

dialog.luxury-modal[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

dialog.luxury-modal::backdrop {
  background-color: rgba(28, 36, 33, 0.7);
  backdrop-filter: blur(6px);
}

.modal-header {
  padding: 1.75rem 2rem;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.35rem;
  color: var(--primary);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-body);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--accent);
}

.modal-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-body .input-field {
  background: var(--bg-main);
  color: var(--primary);
  border: 1px solid var(--border-medium);
}

.modal-body .input-field:focus {
  border-color: var(--accent);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-alert.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #166534;
}

.form-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pillar-card,
  .pillar-card.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.25rem;
  }

  .pillar-card.reverse .pillar-media {
    order: 1;
  }

  .pillar-card.reverse .pillar-content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }

  .header-container {
    padding: 1rem 1.25rem;
  }

  .header-cta-btn {
    display: none;
  }

  .hero-section {
    padding: 8rem 0 4.5rem 0;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr 1fr;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }

  .hero-stat-item {
    border-right: none;
  }

  .overview-features-list {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-simple-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .footer-simple-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-bottom-simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .sidebar-drawer {
    width: 100%;
    max-width: 100vw;
  }

  .sidebar-open-btn .menu-text {
    display: none;
  }

  .sidebar-open-btn {
    padding: 0.55rem 0.75rem;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CINEMATIC INTRO SCREEN & FLOATING BRAND TRANSITION (ALTAVIA REFERENCE)
   ========================================================================== */

/* Fullscreen Initial Cover Stage */
.intro-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  background-color: #0A0F0D;
  z-index: 10;
  padding: clamp(6.5rem, 12vh, 8.5rem) 0 clamp(3rem, 6vh, 4.5rem) 0;
}

.intro-bg-container {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 135%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.intro-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  animation: heroBgFadeIn 1.2s ease-out;
}

@keyframes heroBgFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.intro-shade-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(10, 15, 13, 0.94) 0%,
      rgba(10, 15, 13, 0.85) 32%,
      rgba(10, 15, 13, 0.58) 56%,
      rgba(10, 15, 13, 0.22) 78%,
      rgba(10, 15, 13, 0.35) 100%),
    linear-gradient(180deg,
      rgba(10, 15, 13, 0.55) 0%,
      rgba(10, 15, 13, 0.1) 40%,
      rgba(10, 15, 13, 0.45) 75%,
      rgba(10, 15, 13, 0.96) 100%);
}

.intro-stage-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5.5vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  pointer-events: auto;
}

/* Hero Left Block */
.hero-left-block {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  animation: heroFadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes heroFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stage-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 3.5vw, 4.25rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.85);
  margin: 0 0 1.5rem 0;
  text-transform: none !important;
}

.hero-stage-subtext {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.15vw, 1.18rem);
  font-weight: 400;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
  margin: 0 0 2.25rem 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  text-transform: none !important;
}

.hero-stage-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(196, 165, 116, 0.18);
  border: 1px solid #C4A574;
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-family: var(--font-body), sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 25, 22, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta-btn:hover {
  background: #caad7f;
  color: #141916;
  border-color: #caad7f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(202, 173, 127, 0.35);
}

.hero-cta-btn:hover span,
.hero-cta-btn:hover .pill-dash {
  color: #141916 !important;
}

.hero-cta-btn .pill-dash {
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.hero-cta-btn:hover .pill-dash {
  transform: translate(3px, -1px);
}

/* Subtle Metadata Badge above giant title (legacy support) */
.intro-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(28, 36, 33, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(196, 165, 116, 0.35);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* Scroll prompt indicator */
.intro-scroll-indicator {
  position: absolute;
  bottom: 2.2rem;
  right: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  z-index: 5;
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.25s ease;
}

.intro-scroll-indicator:hover {
  color: #FFFFFF;
  opacity: 1;
  transform: translateY(-2px);
}

.intro-scroll-indicator:hover .scroll-mouse-icon {
  border-color: #caad7f;
}

.intro-scroll-indicator:hover .scroll-wheel {
  background: #caad7f;
}

.scroll-mouse-icon {
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(196, 165, 116, 0.6);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollWheelPulse 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollWheelPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  60% {
    transform: translateY(8px);
    opacity: 0;
  }

  61% {
    transform: translateY(0);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Intro Stage Brand Title (Static monumental heading - legacy support) */
.intro-brand-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7.8vw, 6.8rem);
  font-weight: 400;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
  user-select: none;
  margin: 0 0 clamp(1.25rem, 3vh, 2rem) 0;
  text-align: center;
  pointer-events: auto;
}

/* ==========================================================================
   HEADER DESIGN (MATCHING REFERENCE: LEFT LOGO, CENTER NAV, RIGHT CTA PILL)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 990;
  background: #FFFFFF;
  border-bottom: 1px solid #ECEAE5;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, transform 0.3s ease;
}

/* Header visible in Intro Stage (Cinematic dark glassmorphism) */
.site-header.intro-mode {
  background: rgba(14, 18, 16, 0.45) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25) !important;
}

.site-header.intro-mode #headerBrandLogo {
  opacity: 1 !important;
  visibility: visible !important;
}

.site-header.intro-mode .logotype-main {
  color: #FFFFFF !important;
}

.site-header.intro-mode .brand-logotype-sub {
  color: rgba(255, 255, 255, 0.75) !important;
}

.site-header.intro-mode #headerNavCenter {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.site-header.intro-mode .header-nav-link {
  color: #F5F3EE !important;
}

.site-header.intro-mode .header-nav-link:hover {
  color: #C4A574 !important;
}

.site-header.intro-mode .header-nav-link::after {
  background: #C4A574 !important;
}

.site-header.intro-mode #headerActionsRight {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.site-header.intro-mode .header-phone-link {
  color: #F5F3EE !important;
}

.site-header.intro-mode .header-phone-link:hover {
  color: #C4A574 !important;
}

.site-header.intro-mode .header-contact-pill-btn {
  background: rgba(196, 165, 116, 0.18) !important;
  border: 1px solid #C4A574 !important;
  color: #FFFFFF !important;
}

.site-header.intro-mode .header-contact-pill-btn:hover {
  background: #caad7f !important;
  color: #141916 !important;
  border-color: #caad7f !important;
}

.site-header.intro-mode .mobile-menu-toggle .bar-line {
  background: #FFFFFF !important;
}

/* Header when scrolled past intro (Solid luxury white theme) */
.site-header:not(.intro-mode),
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ECEAE5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header:not(.intro-mode) #headerBrandLogo,
.site-header.scrolled #headerBrandLogo {
  opacity: 1;
  visibility: visible;
}

.site-header:not(.intro-mode) #headerNavCenter,
.site-header.scrolled #headerNavCenter,
.site-header:not(.intro-mode) #headerActionsRight,
.site-header.scrolled #headerActionsRight {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-container-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  gap: 1.5rem;
}

/* Left Brand Logotype */
.header-brand-col {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.site-header-logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
  transform: none !important;
}

.header-brand-link:hover .site-header-logo {
  transform: none !important;
}

/* .site-header.intro-mode .site-header-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
} */

.site-header.scrolled .site-header-logo {
  filter: none;
}

.brand-logotype {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.logotype-main {
  font-family: var(--font-heading), 'Marcellus', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #141916;
  letter-spacing: 0.06em;
  line-height: 1;
}

.logotype-accent-dots {
  display: inline-flex;
  flex-direction: column;
  gap: 2.5px;
  transform: translateY(-2px);
}

.logotype-accent-dots span {
  display: block;
  width: 3.5px;
  height: 3.5px;
  background: #C0392B;
  border-radius: 1px;
}

.brand-logotype-sub {
  font-family: var(--font-body), sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7D807B;
  margin-top: 3px;
}

/* Center Navigation Links */
.header-nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 1.8vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-link {
  font-family: var(--font-body), sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1C2421;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #C0392B;
  transition: width 0.25s ease;
}

.header-nav-link:hover {
  color: #C0392B;
}

.header-nav-link:hover::after {
  width: 100%;
}

/* Right Actions (Phone Link + Pill Button) */
.header-actions-right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.4vw, 1.8rem);
  justify-content: flex-end;
  flex-shrink: 0;
}

.header-phone-link {
  font-family: var(--font-body), sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1C2421;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.header-phone-link:hover {
  color: #C0392B;
}

.header-contact-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #141916;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.72rem 1.8rem;
  font-family: var(--font-body), sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(20, 25, 22, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-contact-pill-btn:hover {
  background: #caad7f !important;
  color: #141916 !important;
  border-color: #caad7f !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(202, 173, 127, 0.35);
}

.header-contact-pill-btn:hover span,
.header-contact-pill-btn:hover .pill-dash {
  color: #141916 !important;
}

.header-contact-pill-btn .pill-dash {
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-1px);
}

.header-contact-pill-btn--outline {
  background: transparent !important;
  color: #141916 !important;
  border: 1.5px solid rgba(20, 25, 22, 0.3) !important;
  box-shadow: none !important;
}

.header-contact-pill-btn--outline:hover {
  background: #141916 !important;
  color: #FFFFFF !important;
  border-color: #141916 !important;
  box-shadow: 0 4px 16px rgba(20, 25, 22, 0.18) !important;
}

.header-contact-pill-btn--outline:hover span,
.header-contact-pill-btn--outline:hover .pill-dash {
  color: #FFFFFF !important;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle .bar-line {
  display: block;
  height: 2px;
  background: #141916;
  border-radius: 1px;
}

@media (max-width: 1140px) {
  .header-nav-center {
    display: none;
  }

  .header-phone-link {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions-right {
    min-width: auto;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .site-header .header-contact-pill-btn,
  .header-actions-right .header-contact-pill-btn {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .header-brand-col {
    min-width: auto;
  }

  .logotype-main {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   MEGA MENU DROPDOWN SYSTEM (MATCHING REFERENCE SCREENSHOT)
   ========================================================================== */
.nav-item-with-mega {
  position: relative;
}

.nav-item-with-mega .header-nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0.75rem 0;
}

.nav-active-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #C4A574;
  transition: width 0.25s ease;
}

.nav-item-with-mega:hover .nav-active-bar,
.nav-item-with-mega.active .nav-active-bar,
.header-nav-link.mega-active .nav-active-bar {
  width: 100%;
}

.nav-item-with-mega:hover .header-nav-link,
.nav-item-with-mega.active .header-nav-link,
.header-nav-link.mega-active {
  color: #C4A574 !important;
}

/* Mega Menu Flyout Panel */
.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid #ECEAE5;
  border-bottom: 1px solid #E2DFD7;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s;
  pointer-events: none;
  z-index: 985;
}

.mega-menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1.2fr 1.35fr;
  gap: 3.5rem;
  max-width: 1680px;
  margin: 0 auto;
  padding: 3rem 2.5rem 3.2rem 2.5rem;
  align-items: stretch;
}

/* Col 1: Category Info */
.mega-col-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #F0EFEA;
  padding-right: 2.5rem;
}

.mega-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C4A574;
  margin-bottom: 0.8rem;
}

.mega-title {
  font-family: var(--font-heading), 'Marcellus', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #161B18;
  letter-spacing: 0.03em;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  text-transform: none;
}

.mega-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #696B66;
  margin: 0 0 2rem 0;
  max-width: 280px;
}

.mega-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #161B18;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.mega-view-all-link:hover {
  color: #C4A574;
  gap: 0.9rem;
  background: transparent;
}

.mega-view-all-link:focus,
.mega-view-all-link:active {
  outline: none;
  border: none;
  background: transparent;
}

.mega-view-all-link .link-dash {
  font-weight: 300;
  font-size: 1rem;
}

/* Cols 2 & 3: Project Lists */
.mega-col-list {
  border-right: 1px solid #F0EFEA;
  padding-right: 2.5rem;
}

.mega-col-heading {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8C8E87;
  margin-bottom: 1.3rem;
}

.mega-project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mega-project-item {
  border-bottom: 1px solid #F0EFEA;
  padding: 0.75rem 0;
}

.mega-project-item:last-child {
  border-bottom: none;
}

.mega-project-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.mega-project-link:hover {
  transform: translateX(4px);
}

.bullet-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #C4A574;
  margin-top: 5.5px;
  flex-shrink: 0;
}

.bullet-dot.delivered-dot {
  background: #A0A29C;
}

.project-item-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #161B18;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.mega-project-link:hover .project-item-title {
  color: #C4A574;
}

.project-item-location {
  display: block;
  font-family: var(--font-body);
  font-size: 0.73rem;
  color: #8C8E87;
  line-height: 1.3;
  margin-top: 2px;
}

/* Col 4: Flagship Showcase Card */
.mega-col-card {
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-flagship-card {
  display: block;
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.flagship-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flagship-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-flagship-card:hover .flagship-card-img {
  transform: scale(1.06);
}

.flagship-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.88) 100%);
}

.flagship-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.flagship-badge {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E5C38E;
}

.flagship-title {
  font-family: var(--font-heading), 'Marcellus', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  margin: 0;
}

/* Navigation Arrow Chevron */
.nav-arrow-icon {
  margin-left: 0.35rem;
  opacity: 0.65;
  transition: transform 0.25s ease, opacity 0.25s ease;
  vertical-align: middle;
}

.site-header.intro-mode .nav-arrow-icon {
  stroke: #F5F3EE;
}

.site-header.intro-mode .header-nav-link:hover .nav-arrow-icon,
.site-header.intro-mode .header-nav-link.mega-active .nav-arrow-icon {
  stroke: #C4A574;
}

.nav-item-with-mega:hover .nav-arrow-icon,
.nav-item-with-mega.active .nav-arrow-icon,
.header-nav-link.mega-active .nav-arrow-icon {
  transform: rotate(180deg);
  opacity: 1;
}

/* Custom Mega Grids */
.mega-grid-4col {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1.15fr 0.95fr 1.25fr;
  gap: 2.2rem;
  max-width: 1720px;
  margin: 0 auto;
  padding: 3rem 2.5rem 3.2rem 2.5rem;
  align-items: stretch;
}

.mega-grid-resources {
  display: grid;
  grid-template-columns: 1.1fr 1.45fr 1.45fr;
  gap: 3.5rem;
  max-width: 1680px;
  margin: 0 auto;
  padding: 3rem 2.5rem 3.2rem 2.5rem;
  align-items: stretch;
}

.mega-grid-company {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1.2fr;
  gap: 3.5rem;
  max-width: 1680px;
  margin: 0 auto;
  padding: 3rem 2.5rem 3.2rem 2.5rem;
  align-items: stretch;
}

.mega-category-head-link {
  text-decoration: none;
  display: block;
}

.mega-category-head-link:hover .mega-col-heading {
  color: #C4A574;
}

.mega-resource-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.resource-card-link {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  text-decoration: none;
  padding: 1.1rem 1.25rem;
  border-radius: 8px;
  background: rgba(28, 36, 33, 0.02);
  border: 1px solid rgba(28, 36, 33, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-card-link:hover {
  background: #FFFFFF;
  border-color: #C4A574;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28, 36, 33, 0.08);
}

.resource-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(196, 165, 116, 0.12);
  color: #a88956;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.resource-card-link:hover .resource-card-icon {
  background: #C4A574;
  color: #1C2421;
}

.resource-card-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1C2421;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
  transition: color 0.2s ease;
}

.resource-card-link:hover .resource-card-title {
  color: #C4A574;
}

.resource-card-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #696B66;
}

.upcoming-dot {
  background: #C4A574 !important;
}

@media (max-width: 1360px) {
  .mega-grid-4col {
    grid-template-columns: 1fr 1fr 1.1fr 1fr;
    gap: 2rem;
  }

  .mega-grid-4col .mega-col-card {
    display: none;
  }
}

@media (max-width: 1280px) {
  .mega-menu-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
  }

  .mega-col-card {
    display: none;
  }

  .mega-grid-resources,
  .mega-grid-company {
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
  }

  .mega-grid-company .mega-col-card {
    display: none;
  }
}

@media (max-width: 1140px) {
  .mega-menu-panel {
    display: none !important;
  }
}


/* ==========================================================================
   Editorial Left-to-Right Image Wipe Reveal System
   ========================================================================== */

/* Containers for wipe effect */
.wipe-reveal,
.pillar-media,
.project-thumbnail,
.flagship-card-media {
  position: relative;
  overflow: hidden;
  /* background-color: #171E1C; */
}

/* Base image state: clipped 100% from the right edge (0% visible width from left), ready for left-to-right reveal */
.wipe-reveal img,
.wipe-reveal-img,
.pillar-media img,
.project-thumbnail img,
.flagship-card-media img {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.08);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, transform;
}

/* Revealed state: clip-path uncovers image fully from left to right */
.wipe-reveal.is-revealed img,
.wipe-reveal.is-revealed .wipe-reveal-img,
.pillar-media.is-revealed img,
.project-thumbnail.is-revealed img,
.flagship-card-media.is-revealed img {
  clip-path: inset(0 0% 0 0);
  transform: scale(1);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover zoom state for cards after reveal has settled */
.pillar-card:hover .pillar-media.is-revealed img {
  transform: scale(1.04);
}

.project-card:hover .project-thumbnail.is-revealed img {
  transform: scale(1.05);
}

.mega-flagship-card:hover .flagship-card-media.is-revealed img {
  transform: scale(1.04);
}

/* Luminous Architectural Golden Leading Line (sweeping from left to right) */
.wipe-reveal::after,
.pillar-media::after,
.project-thumbnail::after,
.flagship-card-media::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2.5px;
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.15) 0%, #E5C38E 50%, rgba(196, 165, 116, 0.15) 100%);
  box-shadow: 0 0 16px rgba(229, 195, 142, 0.9), 0 0 3px #FFFFFF;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: translateX(0);
}

.wipe-reveal.is-revealing::after,
.pillar-media.is-revealing::after,
.project-thumbnail.is-revealing::after,
.flagship-card-media.is-revealing::after {
  animation: wipeLeadingLine 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes wipeLeadingLine {
  0% {
    left: 0%;
    opacity: 1;
  }

  92% {
    left: 100%;
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Ensure project badges and labels stay above wipe line */
.project-tag,
.project-status-badge {
  z-index: 6;
}

/* Universal Smooth Scroll Reveal for Content Blocks */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: graceful visibility without broken clipping */
@media (prefers-reduced-motion: reduce) {

  .wipe-reveal img,
  .wipe-reveal-img,
  .pillar-media img,
  .project-thumbnail img,
  .flagship-card-media img,
  .intro-bg-image {
    clip-path: inset(0 0% 0 0) !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .wipe-reveal::after,
  .pillar-media::after,
  .project-thumbnail::after,
  .flagship-card-media::after {
    display: none !important;
  }
}


/* ==========================================================================
   Complete White Site Background Enforcement
   ========================================================================== */
html,
body,
.section-padding,
.pillars-section,
#overview,
#pillars,
#projects,
#buyers-guide,
#testimonials,
#awards,
#cta,
.modal-header,
.modal-body {
  background-color: #FFFFFF !important;
}

.site-footer {
  background-color: #F2F4F3 !important;
  background: #F2F4F3 !important;
  border-top: 1px solid rgba(28, 36, 33, 0.09) !important;
}

.architect-quote-card {
  background: #FFFFFF !important;
  border: 1px solid var(--border-accent) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 10px 30px rgba(28, 36, 33, 0.05) !important;
}

.architect-quote-card .quote-text {
  color: var(--text-primary) !important;
}

.architect-quote-card .architect-name {
  color: var(--text-primary) !important;
}

.cta-box {
  background: #FFFFFF !important;
  border: 1px solid var(--border-accent) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 14px 45px rgba(28, 36, 33, 0.06) !important;
}

.cta-box .section-title {
  color: var(--text-primary) !important;
}

.cta-box .section-desc {
  color: var(--text-body) !important;
}

.cta-button-group .btn-outline {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
}

.cta-button-group .btn-outline:hover {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}

/* Modal Inputs on Pure White */
.modal-body .input-field {
  background: #FFFFFF !important;
  color: var(--primary) !important;
  border: 1px solid rgba(28, 36, 33, 0.16) !important;
}

/* Image reveal container background */
.wipe-reveal,
.pillar-media,
.project-thumbnail,
/* .flagship-card-media {
  background-color: #F8F8F7 !important;
} */


/* ==========================================================================
   Formation Loader — Slices (Rudra Realty)
   ========================================================================== */
body.loading-locked {
  overflow: hidden !important;
}

:root {
  --landscape: url("../images/loader-landscape.jpg");
}

.stage,
.sl-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #ffffff;
  z-index: 999999;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

/* Keep preloader stage opaque white while assets decode so website does not flash */
.stage:not(.is-ready) .sl-cols,
.stage:not(.is-ready) .sl-word,
.stage:not(.is-ready) .sl-slices,
.sl-stage:not(.is-ready) .sl-cols,
.sl-stage:not(.is-ready) .sl-word,
.sl-stage:not(.is-ready) .sl-slices {
  opacity: 0;
  visibility: hidden;
}

/* The end state: the landscape shows only through the letters. */
#stage .word,
.sl-stage .sl-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--landscape) center / cover no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'DM Sans', var(--font-body), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
}

#stage .word span,
.sl-stage .sl-word span {
  display: block;
  line-height: 1;
  padding-bottom: 0.05em;
}

#stage .cols,
.sl-stage .sl-cols,
#stage .slices,
.sl-stage .sl-slices {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Columns, placed by the script */
#stage .col,
.sl-stage .sl-col {
  position: absolute;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f3ef;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  will-change: transform, opacity;
}

#stage .col img,
.sl-stage .sl-col img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Curtain layer: outer slides down while inner counter-slides */
#stage .wipe,
.sl-stage .sl-wipe {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#stage .wipe-inner,
.sl-stage .sl-wipe-inner {
  position: absolute;
  inset: 0;
  background-image: var(--landscape);
  background-repeat: no-repeat;
}

/* Full-screen slices of the landscape */
#stage .slice,
.sl-stage .sl-slice {
  position: absolute;
  inset: 0;
  background: var(--landscape) center / cover no-repeat;
  visibility: hidden;
}

/* Controls (Skip to website & Replay) */
.sl-controls {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.sl-replay-btn,
.sl-skip-btn {
  background: rgba(28, 36, 33, 0.88);
  border: 1px solid rgba(196, 165, 116, 0.45);
  color: #FFFFFF;
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  user-select: none;
}

.sl-replay-btn:hover,
.sl-skip-btn:hover {
  background: #C4A574;
  color: #1C2421;
  border-color: #C4A574;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.sl-replay-btn svg {
  display: block;
  transition: transform 0.4s ease;
}

.sl-replay-btn:hover svg {
  transform: rotate(-180deg);
}

@media (max-width: 768px) {
  .sl-controls {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.5rem;
  }

  .sl-replay-btn,
  .sl-skip-btn {
    font-size: 0.68rem;
    padding: 0.45rem 0.95rem;
    letter-spacing: 0.12em;
  }

  .site-header-logo {
    height: 42px;
  }

  .footer-brand-logo {
    height: 54px;
  }

  .sidebar-brand-logo {
    height: 44px;
  }

  .intro-stage {
    padding: clamp(6rem, 16vh, 7.5rem) 0 3.25rem 0;
    align-items: center;
  }

  .intro-shade-overlay {
    background: linear-gradient(180deg,
        rgba(10, 15, 13, 0.72) 0%,
        rgba(10, 15, 13, 0.65) 45%,
        rgba(10, 15, 13, 0.94) 100%);
  }

  .hero-stage-heading {
    font-size: clamp(2rem, 7.5vw, 2.65rem);
    margin-bottom: 1.15rem;
  }

  .hero-stage-subtext {
    font-size: 0.96rem;
    line-height: 1.68;
    margin-bottom: 1.85rem;
  }

  .hero-cta-btn {
    width: 100%;
    padding: 0.95rem 1.8rem;
  }
}

/* ==========================================================================
   Telescope Zoom: Three Commitments Behind Every Residence
   Exact Specification Implementation
   ========================================================================== */

.telescope-pin-wrapper {
  position: relative;
  width: 100%;
  height: 270vh;
  background: #ffffff;
}

.telescope-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #0E1412;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

/* 1. Multi-Image Media Track (3 Commitment Photos) */
.telescope-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.telescope-bg-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.telescope-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: 50% 50% !important;
  will-change: transform, opacity;
}

.telescope-bg-img.img-1 {
  transform: scale(0);
  z-index: 1;
}

.telescope-bg-img.img-2 {
  opacity: 0;
  z-index: 2;
  transform: scale(1);
}

.telescope-bg-img.img-3 {
  opacity: 0;
  z-index: 3;
  transform: scale(1);
}

/* Ambient Luxury Dark Scrim for Perfect Typography Contrast */
.telescope-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  background: linear-gradient(90deg,
      rgba(10, 14, 13, 0.90) 0%,
      rgba(10, 14, 13, 0.74) 38%,
      rgba(10, 14, 13, 0.30) 70%,
      rgba(10, 14, 13, 0.12) 100%);
}

/* 2. Full Heading ("Three commitments" and "behind every residence"), meeting at exact 50% viewport center */
.telescope-title {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  font-family: var(--font-heading), 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.75vw, 3rem);
  line-height: 1.2;
  color: #FFFFFF !important;
  text-transform: none;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
  will-change: transform, opacity;
  overflow: visible;
}

.telescope-title .word {
  position: relative;
  display: block;
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  color: #FFFFFF !important;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Left half: ends right before the exact horizontal center */
.telescope-title .word.left {
  flex: 1 1 50%;
  width: 50%;
  text-align: right;
  padding-right: clamp(12px, 2vw, 36px);
  box-sizing: border-box;
}

/* Right half: begins right after the exact horizontal center */
.telescope-title .word.right {
  flex: 1 1 50%;
  width: 50%;
  text-align: left;
  padding-left: clamp(12px, 2vw, 36px);
  box-sizing: border-box;
}

/* 3. Ten Small Photos in CSS Perspective */
.telescope-images {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  transform-style: preserve-3d;
}

.telescope-images img {
  position: absolute;
  width: 10vw;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  will-change: transform, opacity;
  transform-origin: center center;
}

/* Specific aspect ratios: mix of landscape and portrait */
.telescope-images img:nth-child(1),
.telescope-images img:nth-child(2),
.telescope-images img:nth-child(4),
.telescope-images img:nth-child(6),
.telescope-images img:nth-child(8) {
  aspect-ratio: 3 / 4;
}

/* Desktop exact positions */
.telescope-images img:nth-child(1) {
  top: 15vw;
  left: -3vw;
}

.telescope-images img:nth-child(2) {
  top: 5vw;
  left: 20vw;
}

.telescope-images img:nth-child(3) {
  top: 8vw;
  left: 26.5vw;
}

.telescope-images img:nth-child(4) {
  top: 18vw;
  right: 18vw;
  left: auto;
}

.telescope-images img:nth-child(5) {
  top: 5vw;
  right: 10vw;
  left: auto;
}

.telescope-images img:nth-child(6) {
  bottom: 5vw;
  left: 10vw;
  top: auto;
}

.telescope-images img:nth-child(7) {
  bottom: 8vw;
  left: 22.5vw;
  top: auto;
}

.telescope-images img:nth-child(8) {
  bottom: 3vw;
  left: 45vw;
  top: auto;
}

.telescope-images img:nth-child(9) {
  bottom: 5vw;
  right: 15vw;
  left: auto;
  top: auto;
}

.telescope-images img:nth-child(10) {
  bottom: 9vw;
  right: 7vw;
  left: auto;
  top: auto;
}

/* 4. Three Commitments Content Panel (Reveals on the image and transitions on scroll) */
.telescope-commitments {
  position: absolute;
  top: auto;
  bottom: clamp(1.5rem, 3.5vh, 2.75rem);
  left: clamp(2rem, 5vw, 5rem);
  width: min(620px, 48vw);
  max-width: calc(100vw - 4rem);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  background: rgba(18, 24, 22, 0.78);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(196, 165, 116, 0.3);
  border-radius: 20px;
  padding: clamp(1.6rem, 2.2vw, 2.4rem);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  color: #FFFFFF;
  box-sizing: border-box;
}

.telescope-commitments.is-visible {
  pointer-events: auto;
}

.telescope-commitments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.telescope-commitments-badge {
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, #C4A574);
  font-weight: 600;
}

.telescope-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.telescope-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body), sans-serif;
}

.telescope-nav-btn:hover {
  background: rgba(196, 165, 116, 0.15);
  border-color: rgba(196, 165, 116, 0.45);
  color: #FFFFFF;
}

.telescope-nav-btn.active {
  background: rgba(196, 165, 116, 0.25);
  border-color: var(--accent, #C4A574);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(196, 165, 116, 0.35);
}

.telescope-items-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  position: relative;
  width: 100%;
}

.telescope-item {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  width: 100%;
}

.telescope-item.active {
  pointer-events: auto;
}

.telescope-item-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent, #C4A574);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.telescope-item-kicker .num {
  font-size: 1.15rem;
  font-family: var(--font-heading), 'Marcellus', serif;
  line-height: 1;
  color: var(--accent, #C4A574);
}

.telescope-item-kicker .sep {
  opacity: 0.5;
}

.telescope-item-kicker .total {
  opacity: 0.7;
}

.telescope-item-kicker .tag {
  margin-left: 0.35rem;
  padding-left: 0.6rem;
  border-left: 1px solid rgba(196, 165, 116, 0.35);
}

.telescope-item-title {
  font-family: var(--font-heading), 'Marcellus', serif;
  font-size: clamp(1.4rem, 1.9vw, 1.95rem);
  line-height: 1.24;
  color: #FFFFFF;
  margin: 0 0 0.45rem 0;
  font-weight: 400;
}

.telescope-item-sub {
  font-size: 0.92rem;
  color: #D8BD8F;
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 0.75rem 0;
}

.telescope-item-desc {
  font-size: 0.92rem;
  color: rgba(240, 244, 242, 0.86);
  line-height: 1.7;
  margin: 0;
}

.telescope-item-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.telescope-spec-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: rgba(245, 248, 245, 0.92);
  line-height: 1.45;
}

.telescope-spec-row .spec-icon {
  color: var(--accent, #C4A574);
  flex-shrink: 0;
  margin-top: 2px;
}

.telescope-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  margin-top: 1.6rem;
  overflow: hidden;
}

.telescope-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C4A574, #E2C99A);
  border-radius: 9999px;
  transition: width 0.15s ease-out;
}

/* Subtle Interactive Guide */
.telescope-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.telescope-hint-text {
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c8e87;
  font-weight: 500;
}

.telescope-hint-line {
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 9999px;
}

/* Responsive: Tablets & Phones (<= 768px) */
@media (max-width: 768px) {
  .telescope-title {
    font-size: clamp(0.95rem, 3.5vw, 1.55rem);
  }

  .telescope-title .word.left {
    padding-right: 8px;
  }

  .telescope-title .word.right {
    padding-left: 8px;
  }

  .telescope-scrim {
    background: linear-gradient(180deg,
        rgba(10, 14, 13, 0.2) 0%,
        rgba(10, 14, 13, 0.75) 35%,
        rgba(10, 14, 13, 0.96) 70%,
        rgba(10, 14, 13, 0.98) 100%);
  }

  .telescope-commitments {
    left: 1rem;
    right: 1rem;
    bottom: 1.5rem;
    top: auto;
    transform: none;
    width: auto;
    padding: 1.4rem 1.25rem;
    max-height: 65vh;
    overflow-y: auto;
  }

  .telescope-items-wrapper {
    min-height: auto;
  }

  .telescope-item-title {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
  }

  .telescope-item-sub {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .telescope-item-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
  }

  .telescope-spec-row {
    font-size: 0.78rem;
  }

  .telescope-nav-btn .step-label {
    display: none;
  }

  .telescope-images img {
    width: 20vw;
  }

  /* Alternative phone positions from specification */
  .telescope-images img:nth-child(1) {
    top: 15vw;
    left: -3vw;
  }

  .telescope-images img:nth-child(2) {
    top: 5vw;
    left: 20vw;
  }

  .telescope-images img:nth-child(3) {
    top: 30vw;
    left: 30vw;
  }

  .telescope-images img:nth-child(4) {
    top: 30vw;
    right: 15vw;
    left: auto;
  }

  .telescope-images img:nth-child(5) {
    top: 10vw;
    right: 5vw;
    left: auto;
  }

  .telescope-images img:nth-child(6) {
    bottom: 5vw;
    left: 5vw;
    top: auto;
  }

  .telescope-images img:nth-child(7) {
    bottom: 27.5vw;
    left: 10vw;
    top: auto;
  }

  .telescope-images img:nth-child(8) {
    bottom: 10vw;
    left: 35vw;
    top: auto;
  }

  .telescope-images img:nth-child(9) {
    bottom: 5vw;
    right: 15vw;
    left: auto;
    top: auto;
  }

  .telescope-images img:nth-child(10) {
    bottom: 22vw;
    right: 3vw;
    left: auto;
    top: auto;
  }
}

@media (max-width: 480px) {
  .telescope-title {
    font-size: clamp(0.85rem, 3.4vw, 1.15rem);
    gap: 0.22em;
  }

  .telescope-commitments {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 1rem;
    padding: 1.2rem 1rem;
  }
}

/* ==========================================================================
   Panel Wipes: Pinned Project Carousel (Featured Private Residences)
   ========================================================================== */
.pw {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  min-height: 100vh;
}

.pw-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #FFFFFF;
  z-index: 10;
  --stage-height: 100vh;
  --offset-x: 35vw;
  --offset-y: 35vh;
}

/* Base Stage (Project 1) */
.pw-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Panels Layer */
.pw-panels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pw-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(var(--reveal, 100%) 0 0 0);
  will-change: clip-path;
  pointer-events: none;
}

/* Portrait photo: 3:4, rounded 6px, centred, object-fit cover */
.pw-img,
.pw-base .pw-img,
.pw-panel .pw-img {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(49.5vh, 40vw) !important;
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12) !important;
  pointer-events: auto !important;
  clip-path: none !important;
  transition: none !important;
}

/* Title Layer: Sits above panels (z-index 20), ignores pointer events */
.pw-title {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

/* Side Margin Anchors: Zero-size anchors offset from stage centre */
.pw-side {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.pw-side--left {
  transform: translate(calc(-1 * var(--offset-x, 35vw)), 0);
}

.pw-side--right {
  transform: translate(var(--offset-x, 35vw), 0);
}

/* Title Columns: Stacked exactly one stage height apart */
.pw-col {
  position: relative;
  width: 0;
  height: 0;
  will-change: transform;
}

/* Title Cells: Placed at translate(-50%, -50%) translateY(i * stageHeight) */
.pw-cell {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(300px, 26vw, 390px);
  white-space: normal;
  text-align: left;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateY(calc(var(--cell-index, 0) * var(--stage-height, 100vh)));
}

/* Glassmorphic Luxury Project Cards */
.pw-card {
  /* background: rgba(255, 255, 255, 0.94); */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* border: 1px solid rgba(202, 173, 127, 0.35); */
  /* border-radius: 8px; */
  /* padding: 1.4rem 1.6rem; */
  /* box-shadow: 0 16px 40px rgba(28, 36, 33, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03); */
  box-sizing: border-box;
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.pw-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, #CAAD7F);
  /* box-shadow: 0 20px 48px rgba(28, 36, 33, 0.12); */
}

/* Left Card Elements */
.pw-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pw-card .project-status-badge.pw-badge {
  position: static;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  background: rgba(202, 173, 127, 0.16);
  color: #8F7449;
}

.pw-year-pill {
  font-family: var(--font-body), sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #717775;
  letter-spacing: 0.06em;
}

.pw-heading {
  font-family: var(--font-heading), 'Marcellus', serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
  letter-spacing: 0.18em;
  line-height: 1.1;
  color: #1C2421;
  margin-bottom: 0.35rem;
}

.pw-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent, #CAAD7F);
  margin-bottom: 0.75rem;
}

.pw-overview {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #555B58;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right Card Elements */
.pw-sub {
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: #717775;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.pw-divider {
  height: 1px;
  background: rgba(202, 173, 127, 0.25);
  margin-bottom: 0.75rem;
}

.pw-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pw-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.pw-spec-label {
  font-size: 0.92rem;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  color: #717775;
  font-weight: 500;
  flex-shrink: 0;
}

.pw-spec-value {
  font-size: 1.05rem;
  color: #141916;
  font-weight: 600;
  text-align: right;
}

.pw-gold {
  color: #9C7E50 !important;
}

.pw-price-value {
  font-family: var(--font-heading), 'Marcellus', serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: #1C2421;
  text-align: right;
}

.pw-action-row {
  display: flex;
  align-items: center;
}

.pw-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pw-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(202, 173, 127, 0.4);
}

.pw-card-pill-btn {
  width: 100% !important;
  justify-content: center !important;
  padding: 0.8rem 1.6rem !important;
}

/* Subtle Progress Indicator Dots */
.pw-indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 25;
  pointer-events: auto;
}

.pw-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(28, 36, 33, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pw-dot.active {
  width: 24px;
  background: var(--accent, #CAAD7F);
}

/* Responsive: Below 768px */
@media (max-width: 768px) {

  .pw-img,
  .pw-base .pw-img,
  .pw-panel .pw-img {
    width: min(58vw, 34vh) !important;
    max-width: 260px !important;
  }

  .pw-side {
    position: absolute;
    width: 100%;
    height: var(--band-height, 160px);
    overflow: hidden;
    left: 0;
  }

  .pw-side--left {
    top: 0;
    bottom: auto;
    transform: none;
  }

  .pw-side--right {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .pw-col {
    position: absolute;
    top: 50%;
    left: 50%;
  }

  .pw-cell {
    width: min(92vw, 380px);
    transform: translate(-50%, -50%) translateY(calc(var(--cell-index, 0) * var(--band-height, 160px)));
  }

  .pw-card {
    padding: 0.5rem 0.8rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  }

  .pw-heading {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
  }

  .pw-location {
    font-size: 0.72rem;
    margin-bottom: 0.25rem;
  }

  .pw-overview {
    display: none;
  }

  .pw-sub {
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
  }

  .pw-divider {
    margin-bottom: 0.35rem;
  }

  .pw-specs-list {
    display: grid;
    grid-template-columns: 1.35fr 1fr 0.85fr;
    gap: 0.5rem;
    align-items: start;
    margin-bottom: 0.45rem;
    background: rgba(242, 244, 243, 0.85);
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .pw-spec-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    min-width: 0;
    gap: 2px;
  }

  .pw-spec-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #717775;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    width: 100%;
  }

  .pw-spec-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1C2421;
    line-height: 1.25;
    text-align: left;
    width: 100%;
    word-break: normal;
  }

  .pw-price-value {
    font-size: 0.8rem;
  }

  .pw-card-pill-btn {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.74rem !important;
  }

  .pw-indicators {
    bottom: 0.5rem;
    gap: 0.4rem;
  }
}

/* ==========================================================================
   PROJECT WIPE: PORTFOLIO / TESTIMONIALS PROJECT VIEW
   ========================================================================== */
.project-wipe-showcase {
  background: #EDEDF0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.detail {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: clamp(580px, 74vh, 680px);
  min-height: 560px;
  background: #EDEDF0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Card: Flush top, left, bottom, matching canvas tone, spacious padding */
.detail .card {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: #EDEDF0;
  padding: clamp(36px, 4.5vh, 60px) clamp(36px, 4.5vw, 64px);
  overflow: hidden;
  transform-origin: bottom left;
  z-index: 15;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Card Content: Title - Modern, clean, architectural bold sans-serif */
.detail .card .title {
  font-family: var(--font-body, "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1.05;
  margin: 0 0 clamp(24px, 3.5vh, 36px) 0;
  color: #111111;
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(10px);
  will-change: opacity, transform;
}

/* Card Content: Sections - structured with clean hairline dividers */
.detail .card .section {
  max-width: min(100%, 560px);
  padding-bottom: clamp(16px, 2.2vh, 24px);
  margin-bottom: clamp(16px, 2.2vh, 24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(10px);
  will-change: opacity, transform;
}

.detail .card .section:last-of-type {
  margin-bottom: 0;
}

.detail .card .section .label {
  font-family: var(--font-body, "DM Sans", "Inter", -apple-system, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 12px;
}

.detail .card .section .body {
  font-family: var(--font-body, "DM Sans", "Inter", -apple-system, sans-serif);
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

.detail .card .section .homeowner-name {
  display: block;
  font-family: var(--font-body, "DM Sans", "Inter", -apple-system, sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 4px;
  line-height: 1.35;
}

.detail .card .section .homeowner-role {
  display: block;
  font-family: var(--font-body, "DM Sans", "Inter", -apple-system, sans-serif);
  font-size: 13.5px;
  color: #666666;
  line-height: 1.45;
}

/* CTA Pill: pinned to bottom baseline at left padding, sits above card */
.detail .cta {
  position: absolute;
  bottom: clamp(32px, 4.5vh, 48px);
  left: clamp(36px, 4.5vw, 64px);
  z-index: 25;
  background: #ffffff;
  color: #111111;
  border-radius: 9999px;
  padding: 13px 26px;
  font-family: var(--font-body, "DM Sans", "Inter", -apple-system, sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
  user-select: none;
}

.detail .cta:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Navigation buttons: two round 44px white buttons aligned on same bottom baseline */
.detail .nav {
  position: absolute;
  bottom: clamp(32px, 4.5vh, 48px);
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
}

.detail .nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.detail .nav button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  pointer-events: none;
}

.detail .nav button:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Photo (3:4 portrait frame) on the right with smooth rounded corners */
.detail .photo {
  position: absolute;
  margin: 0;
  padding: 0;
  border: none;
  background: #e2e2e5;
  border-radius: 12px;
  overflow: hidden;
  z-index: 10;
  cursor: default;
  display: block;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.detail .photo:not(:disabled) {
  cursor: pointer;
}

.detail .photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 0;
  border-radius: 12px;
  clip-path: none !important;
}

/* --------------------------------------------------------------------------
   Animation States Driven by Container Classes:
   text-in, switching, switch-out, closing, opening, open
   -------------------------------------------------------------------------- */

/* Under text-in: staggered entrance */
.detail.text-in .card .title,
.detail.text-in .card .section,
.detail.text-in .cta,
.detail.text-in .nav {
  opacity: 1;
  transform: translateY(0);
}

.detail.text-in .card .title {
  transition: opacity 520ms ease 120ms, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms;
}

.detail.text-in .card .section:nth-of-type(1) {
  transition: opacity 520ms ease 260ms, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1) 260ms;
}

.detail.text-in .card .section:nth-of-type(2) {
  transition: opacity 520ms ease 380ms, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1) 380ms;
}

.detail.text-in .cta {
  transition: opacity 520ms ease 500ms, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1) 500ms;
}

.detail.text-in .nav {
  transition: opacity 520ms ease 620ms, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1) 620ms;
}

/* Switching state: CTA and nav stay visible, title and sections fade out fast together */
.detail.switching .cta,
.detail.switching .nav {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

.detail.switching .card .title,
.detail.switching .card .section {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 240ms ease 0ms, transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1) 0ms;
}

/* Closing state: text fades out at once (220ms, no stagger) */
.detail.closing .card .title,
.detail.closing .card .section,
.detail.closing .cta,
.detail.closing .nav {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease 0ms, transform 220ms ease 0ms;
}

/* Responsive / Screen Height Adaptations */
@media (max-width: 900px) {
  .detail {
    height: clamp(620px, 86vh, 740px);
    min-height: 600px;
  }

  .detail .card {
    padding: 24px 20px;
  }

  .detail .card .title {
    font-size: clamp(28px, 6.5vw, 40px);
    margin-bottom: 14px;
  }

  .detail .card .section {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .detail .cta {
    bottom: 20px;
    left: 20px;
    padding: 11px 20px;
    font-size: 11px;
  }

  .detail .nav {
    bottom: 20px;
    right: 20px;
  }
}

/* Stacked class forced when card width < 480px on larger screens */
.detail.layout-stacked .card {
  padding: 24px 20px;
}

.detail.layout-stacked .card .title {
  font-size: clamp(28px, 6.5vw, 40px);
  margin-bottom: 14px;
}

.detail.layout-stacked .card .section {
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.detail.layout-stacked .cta {
  bottom: 20px;
  left: 20px;
  padding: 11px 20px;
  font-size: 11px;
}

.detail.layout-stacked .nav {
  bottom: 20px;
  right: 20px;
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .detail * {
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   OPPOSING CAROUSEL: BUYERS GUIDE (#buyers-guide)
   ========================================================================== */
.oc-stage {
  position: relative;
  width: 100%;
  height: clamp(620px, 78vh, 740px);
  min-height: 580px;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

/* Two equal columns side by side inside a centred content box */
.oc-split {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding-left: clamp(16px, 2.5vw, 32px);
  padding-right: clamp(16px, 2.5vw, 32px);
  display: flex;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.oc-panel {
  flex: 1 1 50%;
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Left Column: Header Block (1st image) directly above Steps (2nd image)
   -------------------------------------------------------------------------- */
.oc-header-block {
  position: absolute;
  top: clamp(24px, 3.8vh, 44px);
  left: clamp(20px, 4vw, 56px);
  width: calc(100% - clamp(40px, 8vw, 112px));
  max-width: 520px;
  z-index: 10;
  text-align: left;
}

.oc-header-block .eyebrow {
  justify-content: flex-start;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: #CAAD7F;
}

.oc-header-block .section-title {
  text-align: left;
  font-family: var(--font-heading), 'Playfair Display', serif;
  font-size: clamp(2rem, 2.9vw, 2.85rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.75rem 0;
  color: #000000;
  letter-spacing: -0.01em;
}

.oc-header-block .section-desc {
  text-align: left;
  font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555B58;
  max-width: 480px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Left Column: Names & Milestone Content (2nd image)
   -------------------------------------------------------------------------- */
.oc-names {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.oc-name {
  position: absolute;
  top: clamp(190px, 28vh, 230px);
  left: clamp(20px, 4vw, 56px);
  width: calc(100% - clamp(40px, 8vw, 112px));
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform-origin: left center;
  color: #8E8E8E;
  will-change: transform, opacity, color;
  cursor: pointer;
  user-select: none;
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    color 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.oc-name.is-active {
  color: #000000;
  cursor: default;
}

.oc-name:not(.is-active):not(.is-next) .oc-name__step {
  display: none !important;
}

.oc-name:not(.is-active) .oc-name__tag {
  display: none !important;
}

.oc-name:not(.is-active):not(.is-next) .oc-name__title {
  white-space: nowrap !important;
  color: #8E8E8E;
}

/* 2nd Pointer (Upcoming Step): Faded teaser display until it becomes active */
.oc-name.is-next {
  color: #6C736F !important;
  cursor: pointer;
}

.oc-name.is-next .oc-name__step {
  display: block !important;
  opacity: 0.65;
  color: #CAAD7F;
  margin-bottom: 0.35rem;
}

.oc-name.is-next .oc-name__title {
  color: #6C736F !important;
  white-space: normal;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  opacity: 0.72;
}

.oc-name__step {
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #CAAD7F;
  margin-bottom: 0.6rem;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-out;
}

.oc-name.is-active .oc-name__step {
  opacity: 1;
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.oc-name__title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: normal;
}

.oc-name__tag {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #555B58;
  line-height: 1.65;
  margin-top: 1.1rem;
  display: block;
  opacity: 0;
  pointer-events: none;
  max-width: 480px;
  transition: opacity 200ms ease-out;
}

.oc-name.is-active .oc-name__tag {
  opacity: 1;
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hairlines: 1px #E6E6E6, aligned perfectly with name text */
.oc-hairline {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  width: calc(100% - clamp(40px, 8vw, 112px));
  max-width: 520px;
  height: 1px;
  background: #E6E6E6;
  pointer-events: none;
  z-index: 1;
}

.oc-hairline--top {
  top: clamp(165px, 24vh, 200px);
}

.oc-hairline--bottom {
  top: clamp(345px, 50vh, 395px);
}

/* --------------------------------------------------------------------------
   Right Column: Photos
   -------------------------------------------------------------------------- */
.oc-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.oc-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  height: clamp(540px, 72vh, 660px);
  width: min(44vw, 100%, calc(clamp(540px, 72vh, 660px) * 0.75));
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  transform-origin: center center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  will-change: transform, opacity;
  cursor: pointer;
  user-select: none;
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.oc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Controls: Two round buttons at bottom right of the stage
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Controls: Two round buttons at right middle of the stage
   -------------------------------------------------------------------------- */
.oc-controls {
  position: absolute;
  right: clamp(16px, 2.5vw, 36px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 25;
}

.oc-nav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #141916;
  border: 1.5px solid #141916;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(20, 25, 22, 0.22), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.oc-nav-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  stroke-width: 2.4;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.oc-nav-arrow:hover:not(:disabled) {
  background: var(--accent, #CAAD7F);
  border-color: var(--accent, #CAAD7F);
  color: #141916;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 24px rgba(202, 173, 127, 0.4);
}

.oc-nav-arrow:hover:not(:disabled) svg {
  stroke: #141916;
}

.oc-nav-arrow:disabled,
.oc-nav-arrow.is-disabled {
  opacity: 0.45;
  background: #EAECEA;
  border-color: #D4DAD6;
  color: #8C9490;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.oc-nav-arrow:disabled svg,
.oc-nav-arrow.is-disabled svg {
  stroke: #8C9490;
}

/* --------------------------------------------------------------------------
   Responsive Mobile: Content on Top, Image Below (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .oc-stage {
    height: auto !important;
    min-height: unset !important;
    padding: 2.75rem 0 3.5rem 0 !important;
    overflow: visible;
  }

  .oc-split {
    flex-direction: column !important;
    height: auto !important;
    padding: 0 1rem !important;
  }

  .oc-panel:first-child {
    width: 100% !important;
    height: 380px !important;
    position: relative !important;
    overflow: hidden !important;
    flex: none !important;
  }

  .oc-panel:last-child {
    width: 100% !important;
    height: 360px !important;
    position: relative !important;
    margin-top: 1.25rem !important;
    flex: none !important;
  }

  .oc-header-block {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0.75rem !important;
  }

  .oc-header-block .section-title {
    font-size: 1.6rem !important;
    margin-bottom: 0.3rem !important;
  }

  .oc-header-block .section-desc {
    display: block !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .oc-names {
    position: relative !important;
    height: 250px !important;
  }

  .oc-name {
    top: 24px !important;
    left: 0 !important;
    width: 100% !important;
  }

  .oc-hairline {
    display: none !important;
  }

  .oc-name__title {
    font-size: clamp(1.35rem, 5vw, 1.8rem) !important;
  }

  .oc-name__tag {
    font-size: 0.85rem !important;
    letter-spacing: 0.01em;
    margin-top: 0.6rem !important;
    line-height: 1.5;
  }

  .oc-thumb {
    width: min(84vw, 320px) !important;
    height: 340px !important;
  }

  .oc-controls {
    top: auto !important;
    bottom: 12px !important;
    right: 16px !important;
    transform: none !important;
    flex-direction: row !important;
    gap: 10px !important;
  }

  .oc-nav-arrow {
    width: 44px !important;
    height: 44px !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .oc-name,
  .oc-thumb,
  .oc-name__tag {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

/* ==========================================================================
   SWIPE REVEAL: ENDLESS PHOTO ROW WITH RIPPLING LAG (#blogs)
   ========================================================================== */
.sr-section {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  overflow: hidden;
  box-sizing: border-box;
  padding-bottom: 3.5rem;
}

.sr-header-wrap {
  position: relative;
  z-index: 10;
  padding-top: 3.25rem;
  padding-bottom: 1.75rem;
  text-align: center;
}

.sr-stage {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 440px;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  box-sizing: border-box;
  display: block;
}

.sr-stage:active,
.sr-stage.is-dragging {
  cursor: grabbing;
}

.sr-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sr-card {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  border-radius: 8px;
  background: #111111;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  will-change: transform, opacity;
  pointer-events: auto;
  cursor: grab;
  box-sizing: border-box;
  transform-origin: center center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.sr-card.is-centred {
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 185, 139, 0.4);
  border-color: rgba(212, 185, 139, 0.55);
}

.sr-card:active {
  cursor: grabbing;
}

.sr-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 8px;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sr-card:hover img {
  transform: scale(1.03);
}

.sr-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.0) 25%,
    rgba(0, 0, 0, 0.32) 50%,
    rgba(6, 6, 6, 0.86) 80%,
    rgba(4, 4, 4, 0.98) 100%
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 8px;
}

.sr-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(24px, 3.6vw, 34px) clamp(20px, 3vw, 26px) clamp(22px, 3vw, 28px);
  color: #FFFFFF;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sr-card-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.sr-card-category {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F4DFB8;
  background: rgba(212, 185, 139, 0.25);
  border: 1px solid rgba(212, 185, 139, 0.5);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sr-card-read {
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
}

.sr-card-title {
  font-family: var(--font-heading), 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px 0;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.sr-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-body), 'DM Sans', sans-serif;
}

.sr-card-date {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.sr-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D4B98B;
  transition: transform 0.25s ease, color 0.25s ease;
}

.sr-card.is-centred .sr-card-arrow {
  color: #F4DFB8;
}

.sr-card:hover .sr-card-arrow {
  transform: translateX(4px);
  color: #FFFFFF;
}

/* Controls beneath the Swipe Reveal Stage */
.sr-controls-wrap {
  margin-top: clamp(20px, 3vh, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 10;
}

.sr-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.sr-btn:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.sr-counter {
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #8E8E8E;
  user-select: none;
  min-width: 70px;
  text-align: center;
}

.sr-counter-cur {
  color: #111111;
  font-weight: 700;
}

@media (max-width: 768px) {
  .sr-header-wrap {
    padding-top: 3.5rem;
    padding-bottom: 1.25rem;
  }
  .sr-card-info {
    padding: 18px 14px 16px 14px;
  }
  .sr-card-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .sr-card-category {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-card {
    transition: none !important;
  }
}

/* ==========================================================================
   FLIP WALL: TILED REAL ESTATE PHOTO WALL BACKGROUND (#cta)
   ========================================================================== */
.cta-container {
  width: 95% !important;
  max-width: 1760px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.cta-wall-box {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  padding: 0 !important;
  box-sizing: border-box;
}

/* 1. Building Background Image with Scroll Reveal Animation */
.cta-bg-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(520px, 64vh, 720px);
  max-height: clamp(560px, 78vh, 800px);
  overflow: hidden;
  background: #111111;
}

.cta-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1.08);
  opacity: 0.92;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease-out;
  will-change: transform, opacity;
}

.cta-bg-wrapper.is-revealed .cta-bg-image {
  transform: scale(1);
  opacity: 1;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.78) 45%,
    rgba(255, 255, 255, 0.88) 100%
  );
  pointer-events: none;
}

/* 2. CTA Overlay Content (Seamless Over Background - No Box/Card) */
.cta-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: min(92%, 780px);
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem) !important;
  text-align: center;
  box-shadow: none !important;
  pointer-events: auto;
  z-index: 5;
  box-sizing: border-box;
  opacity: 0.95;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease-out;
}

.cta-overlay-content.is-revealed {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.cta-overlay-content .eyebrow {
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: #B5935A;
}

.cta-overlay-content .section-title {
  color: #141916 !important;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem) !important;
  margin-bottom: 1rem !important;
  line-height: 1.25;
}

.cta-overlay-content .section-desc {
  color: #3D4440 !important;
  max-width: 580px;
  margin: 0 auto 2rem auto !important;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.65;
  font-weight: 450;
}

.cta-overlay-content .cta-button-group {
  pointer-events: auto;
}

.cta-overlay-content .header-contact-pill-btn--outline {
  background: #FFFFFF !important;
  color: #141916 !important;
  border: 1.5px solid #141916 !important;
  box-shadow: 0 4px 14px rgba(20, 25, 22, 0.1) !important;
}

.cta-overlay-content .header-contact-pill-btn--outline:hover {
  background: #141916 !important;
  color: #FFFFFF !important;
  border-color: #141916 !important;
}

.cta-interactive-hint {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body), sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3C4541;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.cta-interactive-hint .hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* --------------------------------------------------------------------------
   Section 9: Flip Wall & CTA Responsive System (All Devices)
   -------------------------------------------------------------------------- */
/* Laptops and Small Desktops (<= 1200px) */
@media (max-width: 1200px) {
  .cta-container {
    width: 95% !important;
  }
  .cta-overlay-content {
    width: min(92%, 660px);
  }
}

/* Tablets Landscape & Portrait (<= 992px) */
@media (max-width: 992px) {
  .wall {
    min-height: clamp(500px, 60vh, 680px);
    gap: 2.5px;
  }
  .cta-overlay-content {
    width: min(94%, 600px);
    padding: 1rem 0.75rem !important;
  }
  .cta-overlay-content .section-title {
    font-size: clamp(1.7rem, 3.8vw, 2.4rem) !important;
  }
  .cta-overlay-content .section-desc {
    font-size: 0.9rem !important;
    margin-bottom: 1.75rem !important;
  }
  .cta-overlay-content .cta-button-group {
    gap: 1rem;
  }
}

/* Tablets Portrait & Large Mobile (<= 768px) */
@media (max-width: 768px) {
  .cta-container {
    width: 96% !important;
  }
  .cta-wall-box {
    border-radius: 16px;
  }
  .wall {
    aspect-ratio: auto;
    min-height: clamp(490px, 72vh, 580px);
    gap: 2px;
  }
  .cta-overlay-content {
    width: min(95%, 520px);
    padding: 1rem 0.5rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .cta-overlay-content .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    margin-bottom: 0.75rem !important;
  }
  .cta-overlay-content .section-desc {
    margin-bottom: 1.4rem !important;
    font-size: 0.85rem !important;
    line-height: 1.55;
  }
  .cta-overlay-content .cta-button-group {
    gap: 0.85rem;
  }
  .cta-overlay-content .header-contact-pill-btn {
    padding: 0.65rem 1.35rem;
    font-size: 0.74rem;
  }
  .cta-interactive-hint {
    margin-top: 1.25rem;
    font-size: 0.64rem;
  }
}

/* Small Tablets / Large Phones (<= 576px) */
@media (max-width: 576px) {
  .cta-container {
    width: 95% !important;
  }
  .cta-wall-box {
    border-radius: 14px;
  }
  .wall {
    aspect-ratio: auto;
    min-height: clamp(480px, 80vh, 560px);
    gap: 1.5px;
  }
  .cta-overlay-content {
    width: 96%;
    padding: 0.75rem 0.25rem !important;
  }
  .cta-overlay-content .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.5rem !important;
  }
  .cta-overlay-content .section-title {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem) !important;
    line-height: 1.22;
    margin-bottom: 0.65rem !important;
  }
  .cta-overlay-content .section-desc {
    margin-bottom: 1.25rem !important;
    font-size: 0.8rem !important;
    line-height: 1.45;
    max-width: 320px;
  }
  .cta-overlay-content .cta-button-group {
    flex-direction: column;
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    gap: 0.65rem;
    align-items: stretch;
  }
  .cta-overlay-content .header-contact-pill-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .cta-interactive-hint {
    margin-top: 1rem;
    font-size: 0.58rem;
    padding: 0.28rem 0.75rem;
    letter-spacing: 0.08em;
  }
}

/* Compact Mobile (<= 375px) */
@media (max-width: 375px) {
  .cta-container {
    width: 98% !important;
  }
  .wall {
    min-height: 470px;
    gap: 1px;
  }
  .cta-overlay-content .section-title {
    font-size: 1.28rem !important;
  }
  .cta-overlay-content .section-desc {
    font-size: 0.76rem !important;
  }
  .cta-overlay-content .header-contact-pill-btn {
    padding: 0.6rem 0.85rem;
    font-size: 0.68rem;
    letter-spacing: 0.07em;
  }
  .cta-interactive-hint {
    font-size: 0.54rem;
    padding: 0.25rem 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tile {
    transition: none !important;
  }
}

/* ==========================================================================
   LUXURY "COMING SOON" TOAST NOTIFICATION SYSTEM
   ========================================================================== */
#luxuryToastContainer {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: min(92vw, 460px);
}

.luxury-toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(20, 25, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(202, 173, 127, 0.45);
  border-radius: 9999px;
  padding: 10px 18px 10px 14px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35), 0 0 24px rgba(202, 173, 127, 0.18);
  pointer-events: auto;
  overflow: hidden;
  animation: luxuryToastEnter 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.25s ease, opacity 0.25s ease;
  user-select: none;
  box-sizing: border-box;
}

.luxury-toast.is-leaving {
  animation: luxuryToastExit 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.luxury-toast.is-pulsing {
  animation: luxuryToastPulse 0.3s ease-out;
}

.luxury-toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(202, 173, 127, 0.16);
  border: 1px solid rgba(202, 173, 127, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CAAD7F;
  flex-shrink: 0;
}

.luxury-toast-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.luxury-toast-title {
  font-family: var(--font-body), 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.luxury-toast-title-badge {
  color: #CAAD7F;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.luxury-toast-desc {
  font-family: var(--font-body), sans-serif;
  font-size: 0.78rem;
  color: #C0C8C3;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 290px;
}

.luxury-toast-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  outline: none;
}

.luxury-toast-close:hover {
  color: #CAAD7F;
  transform: scale(1.15);
}

.luxury-toast-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #CAAD7F, #E5D2B3);
  width: 100%;
  animation: luxuryToastProgress 3.2s linear forwards;
}

@keyframes luxuryToastEnter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes luxuryToastExit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
}

@keyframes luxuryToastPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@keyframes luxuryToastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

@media (max-width: 576px) {
  #luxuryToastContainer {
    bottom: 20px;
    width: calc(100% - 28px);
  }

  .luxury-toast {
    width: 100%;
    border-radius: 14px;
    padding: 10px 14px;
    gap: 10px;
  }

  .luxury-toast-desc {
    max-width: 210px;
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Directional Entrances: Fade-in, Fade-up, Left, Right)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.fade-left {
  transform: translateX(36px);
}

.reveal-on-scroll.fade-right {
  transform: translateX(-36px);
}

.reveal-on-scroll.fade-down {
  transform: translateY(-32px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}