:root {
  /* Color Palette */
  --clr-white: #ffffff;
  --clr-beige: #EBE3CF;
  --clr-beige-light: #F7F4EE;
  --clr-black: #111111;
  --clr-gray-text: #555555;

  /* Philosophy Colors */
  --clr-philo-orange: #d96c4a;
  --clr-philo-yellow: #eab44e;
  --clr-philo-brown: #5d3d30;
  --clr-philo-green: #37593c;
  --clr-philo-light-green: #7bb554;
  --clr-philo-blue: #235c8b;
  --clr-philo-gray: #57595b;
  --clr-philo-red: #c5413a;

  /* Typography */
  --font-heading: "quincy-cf", serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing - Responsive Height/Width-Based Clamps */
  --navbar-offset: 100px;
  --space-sm: clamp(0.75rem, 2vh, 1rem);
  --space-md: clamp(1.2rem, 2.5vw + 1.5vh, 2rem);
  --space-lg: clamp(2rem, 4vw + 2vh, 3.5rem);
  --space-xl: clamp(1.5rem, 3vw + 2vh, 2.5rem);
  --space-xxl: clamp(2rem, 5vw + 3vh, 3.5rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
  scroll-padding-top: var(--navbar-offset);
}

body {
  font-family: var(--font-body);
  color: var(--clr-black);
  background-color: var(--clr-white);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  padding-top: var(--navbar-offset);
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.pointer-event-none {
  pointer-events: none;
}

/* Typography Refinements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 100;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.15;
  /* margin-bottom: var(--space-md); */
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

h4 {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
}

p {
  margin-bottom: var(--space-sm);
  font-weight: 300;
  font-size: 1.05rem;
}

.lead-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--clr-gray-text);
  text-wrap: pretty;
}

/* Unified Text Hierarchy Classes */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 100;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--clr-black);
}

.item-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.2;
  font-weight: 100;
  font-style: normal;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--clr-black);
  margin-bottom: 0.5rem;
}

/* Map Markers */
.map-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--clr-beige);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.map-marker .pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  border-radius: inherit;
  animation: map-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: -1;
}

@keyframes map-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-md);
  color: var(--clr-gray-text);
  text-transform: uppercase;
}

.divider {
  width: 80px;
  height: 1px;
  background-color: var(--clr-black);
  margin: 1.5rem auto 1.5rem auto;
}

.divider.left {
  margin-left: 0;
}

/* Utilities */
.bg-beige {
  background-color: var(--clr-beige);
}

.bg-white {
  background-color: var(--clr-white);
}

.text-center {
  text-align: center;
}

.align-left {
  text-align: left;
}

.max-w-md {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.max-w-lg {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 4rem;
}

.mt-4 {
  margin-top: 2rem;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 10vw;
}

/* Common Section Padding */
.section-padding {
  padding: var(--space-xl) 0;
  /* Standardized uniform padding (8rem) for all sections */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.4s ease;
}

.btn-primary {
  background-color: var(--clr-black);
  color: var(--clr-white);
  border: 1px solid var(--clr-black);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--clr-black);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-black);
  border: 1px solid var(--clr-black);
}

.btn-outline:hover {
  background-color: var(--clr-black);
  color: var(--clr-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--clr-white);
  border: 1px solid var(--clr-white);
}

.btn-outline-white:hover {
  background-color: var(--clr-white);
  color: var(--clr-black);
}

.btn-text {
  background: transparent;
  color: var(--clr-white);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.btn-text:hover {
  opacity: 0.8;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  z-index: 1000;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: clamp(1.0rem, 1.5vw, 1.5rem);
  font-family: var(--font-heading);
  font-weight: 100;
  font-style: normal;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: var(--clr-black);
  transition: color 0.4s ease;
}

.navbar.scrolled .logo {
  color: var(--clr-black);
}

.logo-img {
  height: 48px;
  width: auto;
  transition: opacity 0.4s ease;
  transform: scale(1.6);
  transform-origin: left center;
}

.logo .logo-white {
  display: none;
}

.logo .logo-black {
  display: block;
}

.navbar.scrolled .logo .logo-white {
  display: none;
}

.navbar.scrolled .logo .logo-black {
  display: block;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--clr-black);
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease, color 0.4s ease;
}

.navbar.scrolled .nav-links a {
  color: var(--clr-black);
}

.navbar .btn-outline-white {
  color: var(--clr-black);
  border-color: var(--clr-black);
}

.navbar .btn-outline-white:hover {
  background-color: var(--clr-black);
  color: var(--clr-white);
}

.navbar.scrolled .btn-outline-white {
  color: var(--clr-black) !important;
  border-color: var(--clr-black) !important;
}

.navbar.scrolled .btn-outline-white:hover {
  background-color: var(--clr-black) !important;
  color: var(--clr-white) !important;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* Footer Dynamic Navbar State */
.navbar.at-footer {
  background: transparent !important;
  box-shadow: none !important;
}

.navbar.at-footer .logo .logo-white {
  display: block !important;
}

.navbar.at-footer .logo .logo-black {
  display: none !important;
}

.navbar.at-footer .nav-links a {
  color: var(--clr-white) !important;
}

.navbar.at-footer .btn-outline-white {
  color: var(--clr-white) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.navbar.at-footer .btn-outline-white:hover {
  background-color: var(--clr-white) !important;
  color: var(--clr-black) !important;
}

/* 1. Hero Section (Creative Typographic Layout) */
.hero {
  position: relative;
  height: calc(100vh - var(--navbar-offset));
  color: var(--clr-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg .hero-slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg .hero-slider-img.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-creative-layout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-title-part1 {
  font-size: 6vw;
  line-height: 1.1;
  margin-bottom: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title-part2 {
  font-size: 6vw;
  margin-left: 0;
  margin-bottom: 0;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title-part3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  margin-top: 2rem;
  margin-left: 0;
  color: var(--clr-beige);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile adjustments for Hero Titles */
@media (max-width: 900px) {
  a.btn.btn-outline.auto-style-dab962 {
    padding: 1rem 1rem !important;
  }

  .hero-title-part1,
  .hero-title-part2 {
    font-size: clamp(3rem, 12vw, 4.5rem) !important;
  }

  section#about {
    padding-top: 90px !important;
  }

  .hero-title-part3 {
    font-size: 1rem !important;
    letter-spacing: 0.3em !important;
    margin-top: 1rem !important;
  }
}

/* Premium About Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.4rem, 6.0vw, 6.0rem);
  align-items: center;
}

.about-text-content {
  padding-right: 2rem;
}

.about-visual {
  position: relative;
}

.premium-img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

/* ==========================================================================
   Semantic Section Layouts
   ========================================================================== */
.section-about {
  background-color: var(--clr-white);
  padding: var(--space-xl) 0;
}

.section-mody-legacy {
  background-color: var(--clr-beige);
}

.section-philosophy {}

.section-why-us {
  background-color: var(--clr-white);
  padding: var(--space-xl) 0;
}

.section-projects {
  padding: var(--space-xxl) 0;
}

.section-inspiration {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-leadership {
  background-color: #f5f5f5;
  padding: var(--space-xl) 0;
}

/* Premium Leadership Modal (Sliding from Right) */
.leadership-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  /* Align to right */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.leadership-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.leadership-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  width: 400px;
  height: 100vh;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.leadership-modal-overlay.open .leadership-modal {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .section-philosophy {
    flex-direction: column;
  }

  .leadership-modal {
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: 85vh;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
  }

  .leadership-modal-overlay.open .leadership-modal {
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  color: #333;
  line-height: 1;
  z-index: 1100;
}

@media (max-width: 768px) {
  .modal-close {
    top: 1.5rem;
    right: 1.5rem;
  }
}

.modal-info {
  padding: 5rem 2rem 3rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 576px) {
  .modal-info {
    padding: 2.5rem 1.5rem;
  }
}

.modal-name {
  font-size: 3rem;
  margin-bottom: 0.2rem;
  font-family: var(--font-heading);
  font-weight: 100;
  font-style: normal;
  color: var(--clr-black, #000);
  line-height: 1.1;
}

.modal-role {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.modal-divider {
  height: 3px;
  background: var(--clr-primary, #B4975A);
  width: 70px;
  margin-bottom: 2.5rem;
}

.modal-bio {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

.section-journey {
  background-color: var(--clr-beige);
  padding: var(--space-xl) 0;
}

.section-cta {
  background-color: var(--clr-white);
  padding: var(--space-xl) 0;
  text-align: center;
}

/* 3. Redesigned Legacy Section (Light Theme) */
.section-legacy {
  background-color: var(--clr-white);
  color: var(--clr-black);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.section-legacy .legacy-label {
  color: var(--clr-gray-text);
}

.section-legacy .legacy-title {
  color: var(--clr-black);
  margin-bottom: 1rem;
}

.section-legacy .legacy-subtitle {
  max-width: 38rem;
  margin: 0 auto 4rem auto;
  font-size: 1.1rem;
  color: var(--clr-gray-text);
}

.section-legacy .legacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.0rem, 1.5vw, 1.5rem);
  text-align: center;
}

.section-legacy .legacy-stat {
  padding: 3rem 1.5rem;
  background: var(--clr-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  border-radius: 4px;
}

.section-legacy .legacy-stat:hover {
  transform: translateY(-8px);
  background: var(--clr-white);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-legacy .legacy-stat h3 {
  font-size: 3.5rem;
  color: var(--clr-black);
  margin-bottom: 0.5rem;
  font-weight: 300;
  line-height: 1;
}

.section-legacy .legacy-stat p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gray-text);
  margin: 0;
}

.section-legacy .legacy-stat.highlight {
  background: var(--clr-beige);
  border-color: var(--clr-beige);
  color: var(--clr-black);
}

.section-legacy .legacy-stat.highlight h3,
.section-legacy .legacy-stat.highlight p {
  color: var(--clr-black);
}

/* Edge to Edge Split Section */
.split-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.split-text {
  flex: 1;
  min-width: 50%;
  padding: var(--space-xl) 10vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-visual {
  flex: 1;
  min-width: 50%;
  position: relative;
  background-color: var(--clr-beige);
}

.split-visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. Philosophy (Split, matching brand book block) */
.section-philosophy {
  display: flex;
  flex-wrap: wrap;
}

.philosophy-text {
  flex: 1;
  min-width: 50%;
  padding: var(--space-xl) 10vw;
  background-color: var(--clr-beige);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Smart alignment and gapping for form pages left content */
#contact .philosophy-text,
#redevelopment-intro .philosophy-text,
#career-intro .philosophy-text {
  justify-content: center;
  /* Vertically center the content block */
  align-items: flex-start;
  /* Keep text left-aligned */
}

.philosophy-visual {
  flex: 1;
  min-width: 50%;
  padding: var(--space-xl) 10vw;
  background-color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Widen forms specifically without affecting other philosophy sections */
.form-wrapper.philosophy-visual {
  padding: var(--space-xl) 5vw;
}

.form-wrapper.philosophy-visual form {
  width: 100%;
}

.form-wrapper.philosophy-visual form .btn-submit {
  width: max-content;
  justify-self: start;
  /* for grid layouts */
}

/* Masonry Grid Setup */
.grid {
  position: relative;
  width: 100%;
  max-width: 950px;
  aspect-ratio: 620 / 520;
  container-type: inline-size;
}

.box {
  position: absolute;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: clamp(0.2rem, 1.5cqi, 1rem);
  display: flex;
  font-family: var(--font-heading);
  font-weight: 100;
  font-style: normal;
  font-size: clamp(0.45rem, 1.7cqw, 1.85rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  z-index: 1;
  white-space: normal;
  overflow-wrap: break-word;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.box::before,
.box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.box-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(1);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.75);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.inspiration-bg img {
  transform: scale(1.08);
}

.box::after {
  z-index: 1;
  background: var(--card-color);
  opacity: 1;
}

.box:hover,
.box.is-active {
  filter: brightness(1.04) saturate(1.05);
  z-index: 10;
  box-shadow: 0 18px 45px rgba(24, 26, 34, 0.16);
}

.box:hover .box-bg-img,
.box.is-active .box-bg-img {
  opacity: 1;
  transform: scale(1);
}

.box:hover::after,
.box.is-active::after {
  opacity: 0;
}

.box .marker {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  background: #fff;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.box:hover .marker,
.box.is-active .marker {
  opacity: 0;
  transform: scale(0.72) rotate(45deg);
}



.top-text {
  align-items: flex-start;
}

.bottom-text {
  align-items: flex-end;
}

.marker-tr {
  top: 10px;
  right: 10px;
}

.marker-br {
  bottom: 10px;
  right: 10px;
}

.box .label {
  position: relative;
  z-index: 2;
  line-height: 1.1;
  transition: opacity 0.35s ease;
  pointer-events: none;
  font-family: var(--font-body);
}

/* Philosophy Tooltip - Ultimate Premium UI */
#tooltip {
  position: relative;
  width: 100%;
  max-width: 850px;
  text-align: left;
  margin-top: 5rem;
  /* Generous breathing room */
  z-index: 10;
  pointer-events: auto;
}

.tip-inner {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 220px;
  /* Fluid height based on largest content */
  display: grid;
  grid-template-columns: minmax(200px, 30%) 1fr;
  gap: clamp(1.2rem, 3.0vw, 3.0rem);
  /* Beautiful airy spacing */
  align-items: stretch;
  /* Forces description vertical border to match full height */
}

#tooltip-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  /* Better spacing for multi-line breaks */
  letter-spacing: 0.15em;
  color: var(--clr-black);
  margin: 0;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  /* Right align against the vertical divider */
}

#tooltip-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  font-weight: 300;
  margin: 0;
  max-width: 650px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s;
  border-left: 1px solid #e0e0e0;
  /* Static base gray line */
  padding-left: 3rem;
  /* Generous padding from the dividing line */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

#tooltip-desc::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  /* Align with border-left */
  width: 2px;
  height: var(--loader-progress, 0%);
  background-color: var(--tip-color, transparent);
  transition: background-color 0.4s ease;
}

/* Smooth cascading reveal when visible */
#tooltip.visible #tooltip-title,
#tooltip.visible #tooltip-desc {
  opacity: 1;
  transform: translateY(0);
}

#connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8000;
  overflow: visible;
}

#connector-path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: square;
  opacity: 0;
  transition: opacity 0.24s ease;
}

#connector-path.visible {
  opacity: 0.9;
}

#connector-dot {
  opacity: 0;
  transition: opacity 0.2s ease;
}

#connector-dot.visible {
  opacity: 1;
}

#map-tooltip {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.96);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  width: min(310px, calc(100vw - 32px));
}

#map-tooltip.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Map tooltip generic styles */

.growth {
  left: 27.58%;
  top: 23.08%;
  width: 14.68%;
  height: 16.92%;
  --card-color: #B4975A;
  --card-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80");
  background: var(--card-color);
  font-size: clamp(10px, 2.5cqi, 14px);
}

.trust {
  left: 43.87%;
  top: 11.54%;
  width: 25.97%;
  height: 28.46%;
  --card-color: #f2c012;
  --card-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=900&q=80");
  background: var(--card-color);
  font-size: clamp(11px, 3.2cqi, 17px);
}

.design {
  left: 71.45%;
  top: 11.54%;
  width: 25.16%;
  height: 28.46%;
  --card-color: #5c3a21;
  --card-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=900&q=80");
  background: var(--card-color);
  font-size: clamp(11px, 3.2cqi, 18px);
}

.tech {
  left: 3.71%;
  top: 41.92%;
  width: 22.26%;
  height: 26.35%;
  --card-color: #1a6fad;
  --card-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80");
  background: var(--card-color);
  font-size: clamp(10px, 3cqi, 16px);
}

.nature {
  left: 27.58%;
  top: 41.92%;
  width: 21.61%;
  height: 26.35%;
  --card-color: #0b5c34;
  --card-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=80");
  background: var(--card-color);
  font-size: clamp(11px, 3.2cqi, 19px);
}

.love {
  left: 50.81%;
  top: 41.92%;
  width: 45.81%;
  height: 54.04%;
  --card-color: #e2564c;
  --card-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=900&q=80");
  background: var(--card-color);
  font-weight: 600;
  font-size: clamp(14px, 4.8cqi, 28px);
}

.locations {
  left: 9.68%;
  top: 70.19%;
  width: 16.29%;
  height: 17.69%;
  --card-color: #7d7d7d;
  --card-image: url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=900&q=80");
  background: var(--card-color);
  font-size: clamp(8px, 2.2cqi, 12px);
}

.planning {
  left: 27.58%;
  top: 70.19%;
  width: 21.61%;
  height: 25.77%;
  --card-color: #83c341;
  --card-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=900&q=80");
  background: var(--card-color);
  font-size: clamp(10px, 3cqi, 18px);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.6rem, 4.0vw, 4.0rem);
  }

  .blueprint-row.premium-top-row {
    flex-direction: column;
  }

  .premium-elevation-img {
    object-position: left !important;
  }

  .premium-logo-col {
    border: 0 !important;
  }

  .completed-stats-container {
    flex-direction: column;
  }

  .completed-stat-divider {
    display: none;
  }

  .btn {
    padding: 1rem 1.4rem;
  }

  .about-text-content {
    padding-right: 0;
  }

  .premium-img {
    height: 400px;
  }

  .split-visual {
    min-height: 400px;
  }

  .tip-desc {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .menu-overlay-links {
    margin-bottom: 2rem;
  }

  .lead-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .box {
    padding: 7px;
  }

  .box .marker {
    width: 7px;
    height: 7px;
  }

  .marker-tr {
    top: 7px;
    right: 7px;
  }

  .marker-br {
    bottom: 7px;
    right: 7px;
  }

  .box:hover .marker,
  .box.is-active .marker {
    transform: scale(0.76) rotate(45deg);
  }

  .box .label {
    font-size: 0;
    line-height: 1;
  }

  .box .label::before {
    content: attr(data-short);
    display: inline-block;
    font-size: clamp(12px, 3.8vw, 18px);
    font-weight: inherit;
    line-height: 1;
    text-transform: none;
  }
}

/* 5. Why Choose Us (Grid Layout instead of 50/50) */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.4rem, 6.0vw, 6.0rem);
  align-items: start;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4.0vw, 4.0rem);
}

.feature {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
}

/* 5.5 Why Choose Us Tabs */
.why-item-header {
  display: flex;
  align-items: baseline;
  gap: clamp(1.0rem, 1.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.why-item-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--clr-black);
  letter-spacing: -0.01em;
  /* Matches the global letter-spacing for h3 used in project-header */
}

.why-item-number {
  font-family: var(--font-heading);
  font-weight: 100;
  font-style: normal;
  font-size: 1.5rem;
  color: var(--clr-gray-text);
  /* Using the gray text color from project-header location */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  /* Letter spacing from project-header */
}

/* 6. Projects (Premium Cards) */
.projects {
  background-color: #f9f9f9;
}

.projects-grid {
  display: flex;
  margin-top: 5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.projects-grid::-webkit-scrollbar {
  display: none;
}

.projects-grid,
.voices-slider {
  cursor: none;
}

.projects-grid *,
.voices-slider * {
  cursor: none;
}

.projects-grid .explore-btn,
.projects-grid .explore-btn *,
.voices-slider button,
.voices-slider button *,
.voices-slider a,
.voices-slider a * {
  cursor: pointer;
}

.slider-custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  background: var(--clr-beige-light, #f0ebd8);
  color: var(--clr-black, #1a1a1a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: scale(0) translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-custom-cursor.is-visible {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%);
}

.slider-custom-cursor.is-left #sliderCursorIcon {
  transform: rotate(180deg);
}

.slider-custom-cursor #sliderCursorIcon {
  transition: transform 0.3s ease;
}

.project-card {
  flex: 0 0 33.333%;
  scroll-snap-align: start;
  min-width: 0;
  position: relative;
  background: var(--clr-white);
  padding: 3rem 3rem 5rem 3rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-right: -1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.0rem, 2.0vw, 2.0rem);
  border-radius: 0;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.project-card:nth-child(4n+1) {
  background-color: #F4F0E5;
}

.project-card:nth-child(2n) {
  background-color: #ffffff;
}

.project-card:nth-child(4n+3) {
  background-color: #f5f5f5;
}

.card-image-wrapper {
  width: 100%;
  flex-shrink: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: none;
  padding-right: 0;
  margin-right: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 2rem;
}

.card-image-wrapper img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.5s ease;
  display: block;
}

.project-card:hover .card-image-wrapper img {
  transform: none;
  filter: grayscale(0%);
  opacity: 1;
}

.card-overlay {
  position: absolute;
  top: 74px;
  right: 3rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: end;
}

.project-card:hover .card-overlay {
  opacity: 1;
}

.explore-btn {
  color: var(--clr-black);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: clamp(1.0rem, 0.5vw, 0.5rem);
  border-bottom: 1px solid var(--clr-black);
  padding-bottom: 0.25rem;
  background: transparent;
}

.explore-btn:hover {
  border-bottom-color: transparent;
}

.explore-btn .arrow {
  transition: transform 0.3s ease;
}

.explore-btn:hover .arrow {
  transform: translateX(5px);
}

.status-badge {
  position: absolute;
  top: 267.5px;
  right: 2.5rem;
  color: var(--clr-white);
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  z-index: 2;
}

.status-new {
  background-color: #D8495A;
}

.status-uc {
  background-color: #E8A423;
}

.status-upcoming {
  background-color: #316D9E;
}

.status-completed {
  background-color: #7CAE95;
}

.project-info {
  width: 100%;
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
  border-bottom: none;
  padding-bottom: 0;
}

.project-header h3 {
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
  font-weight: 400;
}

.project-header .location {
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--clr-gray-text);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  text-align: left;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: clamp(1.0rem, 0.4vw, 0.4rem);
}

.meta-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-black);
}

/* 7. Inspiration (Parallax) */
.inspiration-parallax {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1566552881560-0be862a7c445?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}

.floating-card {
  position: relative;
  z-index: 2;
  background: var(--clr-white);
  padding: 5rem 4rem;
  max-width: 600px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Leadership Slider */
.voices-slider {
  display: flex;
  gap: 0;
  margin-left: -2rem;
  margin-right: -2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 4rem;
}

.voices-slider::-webkit-scrollbar {
  display: none;
}

/* About Us Page Grid Layout */
.about-voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3.0vw, 3.0rem);
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .about-voices-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .about-voices-grid .voice-card {
    padding: 3rem 2rem;
    border-right: none;
  }

  .about-voices-grid .voice-card:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }

  .about-voices-grid .voice-card:nth-child(1),
  .about-voices-grid .voice-card:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
}

.leadership-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.0rem, 2.0vw, 2.0rem);
  padding-bottom: 3rem;
}

@media (max-width: 1216px) {
  .philosophy-text {
    padding: var(--space-xl) 5vw;
  }
}

@media (max-width: 1024px) {
  .leadership-row {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 0;
  }
}

@media (max-width: 576px) {
  .leadership-row {
    padding-bottom: 0;
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
}

.voice-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--clr-white);
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .voice-card {
    flex: 0 0 50%;
  }
}

.voice-card-top-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(1.0rem, 2.0vw, 2.0rem);
  margin-bottom: 1.5rem;
}

.voice-comment {
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--clr-black);
  margin: 0;
}

.voice-info {
  grid-area: info;
  align-self: start;
  margin-top: 1rem;
}

.voice-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--clr-black);
  font-weight: 100;
  font-style: normal;
}

.voice-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--clr-gray-text);
  margin: 0;
}

/* 9. Timeline (Journey) - Premium Editorial */
.editorial-timeline {
  max-width: 1000px;
  margin: 5rem auto 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.editorial-row {
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.4s ease;
}

.editorial-row:hover {
  background-color: rgba(235, 227, 207, 0.1);
  /* extremely subtle beige */
}

.editorial-left {
  padding-right: 3rem;
}

.editorial-year {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 100;
  font-style: normal;
  letter-spacing: 0;
  color: var(--clr-black);
  line-height: 1;
}

.editorial-right {
  padding-left: 3rem;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.editorial-right p {
  margin: 0;
  max-width: 500px;
}

.editorial-text-wrap {
  position: relative;
}

.editorial-view-hint {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-beige);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.editorial-row:hover .editorial-view-hint {
  opacity: 1;
}

.editorial-image-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease, margin-top 0.6s ease;
  margin-top: 0;
}

.editorial-image-wrapper img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 4px;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.editorial-row:hover .editorial-image-wrapper {
  max-height: 500px;
  /* Large enough to hold the image */
  opacity: 1;
  margin-top: 2rem;
}

.editorial-row:hover .editorial-image-wrapper img {
  transform: translateY(0);
}

/* 10. Footer Premium Reveal */
.main-content-wrapper {
  position: relative;
  z-index: 10;
  background: var(--clr-white);
  /* margin-bottom will be set by JS for the curtain reveal */
}

.footer-premium {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background: var(--clr-black);
  color: var(--clr-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.footer-bg {
  display: none !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.footer-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: bgInstantSwitch 1.2s infinite;
  will-change: opacity;
}

.footer-bg img.delay-0 {
  animation-delay: 0s;
}

.footer-bg img.delay-1 {
  animation-delay: 0.2s;
}

.footer-bg img.delay-2 {
  animation-delay: 0.4s;
}

.footer-bg img.delay-3 {
  animation-delay: 0.6s;
}

.footer-bg img.delay-4 {
  animation-delay: 0.8s;
}

.footer-bg img.delay-5 {
  animation-delay: 1s;
}

@keyframes bgInstantSwitch {
  0% {
    opacity: 1;
  }

  16.666% {
    opacity: 1;
  }

  16.667% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.footer-content-layer {
  position: relative;
  z-index: 3;
  padding-top: 9rem;
  padding-bottom: 2rem;
  width: 100%;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.6rem, 4.0vw, 4.0rem);
  margin-bottom: 2.5rem;
}

.footer-left-col {
  display: contents;
}

.footer-right-col {
  display: contents;
}

/* Reorder footer columns for exact requested visual layout */
.footer-left-col .footer-info-group:nth-child(1) {
  order: 1;
}

/* Office */
.footer-right-col .footer-nav-group:nth-child(1) {
  order: 2;
}

/* Navigation */
.footer-right-col .footer-nav-group:nth-child(2) {
  order: 3;
}

/* Quick Links */
.footer-left-col .footer-info-group:nth-child(2) {
  order: 4;
}

/* Contact */
.footer-left-col .footer-info-group:nth-child(3) {
  order: 5;
}

/* Follow Us */

.massive-footer-text {
  display: none !important;
  font-family: 'QuincyCF', serif;
  font-size: 18.5vw;
  line-height: 0.8;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
  width: calc(100% - 40px);
  white-space: nowrap;
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.75;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Base text styles */
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.footer-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-link {
  color: #ddd;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--clr-beige);
}

.contact-link {
  font-family: var(--font-heading);
  font-weight: 100;
  font-style: normal;
  font-size: 1.5rem;
  color: var(--clr-white);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  flex-wrap: wrap;
  gap: clamp(1.0rem, 2.0vw, 2.0rem);
}

.footer-copyright,
.footer-copyright a {
  font-size: 0.85rem;
  color: #aaa;
  text-decoration: unset;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: var(--clr-beige);
}

.footer-legal-social {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3.0vw, 3.0rem);
  flex-wrap: wrap;
}

.footer-socials {
  display: flex;
  gap: clamp(1.0rem, 1.5vw, 1.5rem);
}

.social-icon {
  color: #aaa;
  width: 24px;
  height: 24px;
  transition: color 0.3s ease;
  display: inline-block;
}

.social-icon:hover {
  color: var(--clr-beige);
}

.footer-legal {
  display: flex;
  gap: clamp(1.0rem, 1.5vw, 1.5rem);
}

.footer-legal .footer-link {
  font-size: 0.85rem;
  color: #aaa;
}

.footer-legal .footer-link:hover {
  color: var(--clr-beige);
}

p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1799px) {
  .section-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
  }
  #contactOverlay .error-message {
    position: absolute;
    font-size: 10px !important;
    bottom: -17px;
  }
  .project-unit {
    width: 100px !important;
  }

  .mosaic-container {
    max-width: 360px !important;
  }

  #tooltip-desc {
    font-size: 16px;
    line-height: 1.3;
  }

  #tooltip {
    margin-top: 10px;
  }

  .tip-inner {
    min-height: 80px;
  }

  :root {
    --space-md: clamp(1.2rem, 2.5vw + 1.5vh, 1rem);
  }

  .section-leadership .container {
    padding: 0 16vw;
  }

  .voice-card>div,
  .voice-role {
    margin-bottom: 10px !important;
  }

  .mb-5 {
    margin-bottom: 2rem;
  }

  .lead-text {
    font-size: 16px;
  }

  .menu-overlay {
    padding: 2rem !important;
  }

  .menu-overlay-links {
    gap: clamp(0.2rem, 0.2vw, 0.9rem) !important;
  }
  #contactOverlay .form-group {
    position: relative;
  }
  .section-disclaimer {
    padding: 6rem 0 4rem 0 !important;
  }

}

@media (max-width: 1599px) {
  .grid.auto-style-257995 {
    max-width: 560px;
  }

  .section-leadership .container {
    padding: 0 12vw;
  }

  .section-title {
    font-size: clamp(1.8rem, 3vw, 1.9rem);
  }

}

@media (max-width: 1408px) {
  .section-leadership .container {
    padding: 0 10vw;
  }

  .auto-style-ef3af8 {
    padding: 1.5rem 0.6rem;
  }
}

@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.6rem, 4.0vw, 4.0rem);
  }

  .section-leadership .container {
    padding: 0 5vw;
  }

  .footer-top-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 5vw;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 4vw;
  }

  div#leadershipModalOverlay {
    padding: 15px;
  }

  div#contactOverlay {
    padding: 0 10px !important;
  }

  :root {
    --navbar-offset: 87px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .mb-5 {
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-about,
  .section-legacy,
  .section-why-us,
  .section-projects,
  .section-inspiration,
  .section-leadership,
  .section-journey,
  .section-cta {
    padding: 2.5rem 0;
  }

  /* Smaller standard padding for mobile */
  .philosophy-text,
  .philosophy-visual {
    padding: 2.5rem 5%;
  }

  .navbar {
    padding: 1.5rem 0;
  }

  .nav-links {
    display: none;
  }

  .why-features {
    grid-template-columns: 1fr;
  }




  .editorial-row {
    grid-template-columns: 1fr;
    gap: clamp(1.0rem, 1.5vw, 1.5rem);
    padding: 3rem 0;
  }

  .editorial-left {
    padding-right: 0;
  }

  .editorial-right {
    padding-left: 0;
    border-left: none;
  }

  .editorial-view-hint {
    display: none;
  }

  .editorial-image-wrapper {
    max-height: 500px;
    opacity: 1;
    margin-top: 2rem;
  }

  .editorial-image-wrapper img {
    transform: translateY(0);
  }


  .section-philosophy {
    flex-direction: column;
  }

  .floating-card {
    padding: 3rem 2rem;
  }

  .footer-premium {
    min-height: auto;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 2rem !important;
  }

  .footer-info-group,
  .footer-nav-group {
    width: 100% !important;
    text-align: left !important;
  }

  .footer-right-col {
    flex-direction: column;
    gap: clamp(1.2rem, 3.0vw, 3.0rem);
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.0rem, 1.5vw, 1.5rem);
  }

  .footer-legal-social {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.0rem, 1.5vw, 1.5rem);
  }

  .footer-legal {
    /* flex-direction: column; */
    gap: clamp(1.0rem, 1.0vw, 1.0rem);
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Modern Premium Layouts (About, Why Us)
   ========================================================================== */
.about-modern {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.6rem, 4.0vw, 4.0rem);
  align-items: center;
}

.about-modern-images {
  position: relative;
  height: 600px;
}

.about-modern-images .img-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 80%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-modern-images .img-front {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 70%;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border: 10px solid var(--clr-white);
}

.about-modern-text h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.why-modern {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 4.0vw, 4.0rem);
}

.why-modern-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.why-modern-text .divider {
  margin: 2rem auto;
}

.why-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.0rem, 2.0vw, 2.0rem);
}

.why-card {
  position: relative;
  overflow: hidden;
  background: var(--clr-beige-light);
}

.why-img-wrap {
  position: relative;
  padding-top: 120%;
  /* Portrait aspect ratio */
  overflow: hidden;
}

.why-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.why-card:hover .why-img-wrap img {
  transform: scale(1.05);
}

.why-card-content {
  padding: 2rem;
  background: var(--clr-white);
  position: relative;
  margin: -40px 1rem 1rem 1rem;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-card-content h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--clr-black);
}

.why-card-content p {
  font-size: 0.95rem;
  color: var(--clr-gray-text);
  margin: 0;
}

/* ==========================================================================
   Creative Infinite Marquee
   ========================================================================== */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track {
  animation: marquee-scroll 25s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% / 2));
  }

  /* Adjust depending on duplicates */
}

.marquee-stat:hover .marquee-num {
  color: var(--clr-black);
  -webkit-text-stroke: 0px transparent;
}

.marquee-stat:hover .marquee-text {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==========================================================================
   GSAP Custom Layouts (Redesign)
   ========================================================================== */

/* Hover Accordion Layout */
.accordion-container:not(:hover) .accordion-panel:not(.active) {
  flex: 1 !important;
}

.accordion-container:not(:hover) .accordion-panel.active {
  flex: 3 !important;
}

.accordion-container:not(:hover) .accordion-panel:not(.active) .panel-desc {
  opacity: 0 !important;
}

.accordion-container:not(:hover) .accordion-panel.active .panel-desc {
  opacity: 1 !important;
}

.accordion-container:hover .accordion-panel {
  flex: 1 !important;
}

.accordion-container:hover .accordion-panel .panel-desc {
  opacity: 0 !important;
}

.accordion-container .accordion-panel:hover {
  flex: 3 !important;
}

.accordion-container .accordion-panel:hover .panel-desc {
  opacity: 1 !important;
}

.accordion-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.4s ease;
}

.accordion-container:not(:hover) .accordion-panel.active::after,
.accordion-container .accordion-panel:hover::after {
  background: rgba(0, 0, 0, 0);
}

/* About Section: Glassmorphism Float */
.section-about-glass {
  position: relative;
  height: calc(100vh - var(--navbar-offset));
  min-height: 800px;
  overflow: hidden;
}

.glass-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.glass-float-card {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Mody Legacy: Sticky Pinned Scroll */
.section-mody-pinned {
  position: relative;
  background-color: var(--clr-beige);
}

.pinned-container {
  display: flex;
  width: 100%;
}

.pinned-text-wrap {
  width: 50%;
  position: relative;
}

.pinned-text-inner {
  position: sticky;
  top: 0;
  height: calc(100vh - var(--navbar-offset));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10vw;
}

.scrolling-visuals-wrap {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.scrolling-visual-item {
  width: 100%;
  height: calc(100vh - var(--navbar-offset));
}

@media (max-width: 992px) {
  .pinned-container {
    flex-direction: column;
  }

  .pinned-text-wrap,
  .scrolling-visuals-wrap {
    width: 100%;
  }

  .pinned-text-inner {
    position: relative;
    height: auto;
    padding: var(--space-xxl) 5vw;
  }
}

/* ==========================================================================
   Scroll Reveal Animations
.premium-cta {
  background-color: var(--clr-black) !important;
  color: var(--clr-white);
  padding: var(--space-xxl) 0 !important;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.premium-cta .massive-title {
  font-size: 4.5rem;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 3rem;
}

.premium-cta .divider.center {
  background-color: var(--clr-beige);
}

.premium-cta .btn-primary {
  background-color: var(--clr-beige);
  color: var(--clr-black);
  border: 1px solid var(--clr-beige);
}

.premium-cta .btn-primary:hover {
  background-color: transparent;
  color: var(--clr-beige);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--clr-white);
  border: 1px solid rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  border-color: var(--clr-white);
  background-color: rgba(255,255,255,0.05);
}

@media (max-width: 992px) {
  .about-modern {
    grid-template-columns: 1fr;
  }
  .about-modern-images {
    height: 450px;
  }
  .why-modern-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.2rem, 3.0vw, 3.0rem);
  }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 0;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.reveal-fade.active {
  opacity: 1;
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-slide-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Delays */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Interactive OpenStreetMap Styles */
.scroll-narrative-spacer {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-beige);
}

.scroll-narrative-container {
  height: 400vh;
  position: relative;
}

.sticky-map-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - var(--navbar-offset));
  overflow: hidden;
}

/* Map Filter: Removed so dynamic JSON colors can shine clearly */
.sticky-map-wrapper.filter-muted-silver .maplibregl-canvas {
  will-change: transform;
  transform: translateZ(0);
  /* Force Hardware Acceleration */
}

.map-marker-geo {
  cursor: pointer;
  z-index: 1;
  will-change: transform;
}

.map-marker-geo.highlighted {
  z-index: 20;
}

.map-marker-geo .marker-gsap-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.marker-img-geo {
  height: 70px;
  width: auto;
  background-color: #ffffff;
  display: block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom center;
}

.map-marker-geo:hover .marker-img-geo {
  transform: scale(1.15);
}

.map-marker-geo.highlighted .marker-img-geo {
  transform: scale(1.45);
}

.info-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: calc(100vh - var(--navbar-offset));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.step-indicator {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #888;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .scroll-narrative-container {
    height: 800vh;
  }

  .info-panel {
    width: 100%;
    top: auto;
    bottom: 0;
    height: 45vh;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
  }
}


.marker-overlay {
  position: absolute;
  bottom: 100%;
  left: 100%;
  width: 250px;
  background: var(--clr-white);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translate(-10px, 10px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom left;
  z-index: 10;
  border: 1px solid var(--clr-gray);
  border-radius: 4px;
}

.map-marker-geo.highlighted .marker-overlay,
.map-marker-geo:hover .marker-overlay {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.marker-overlay-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 100;
  font-style: normal;
  margin-bottom: 0.5rem;
  color: var(--clr-black);
}

.marker-overlay-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--clr-gray);
  margin: 0;
}


/* Bento Gallery in Info Panel */
.bento-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 120px;
  gap: 10px;
  margin-bottom: 2rem;
  width: 100%;
}

.bento-item {
  position: relative;
  overflow: hidden;
  /* Ensure no border radius per request */
  border-radius: 0;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-item:hover img {
  transform: scale(1.1);
}

.bento-wide {
  grid-column: span 2;
}

.bento-narrow {
  grid-column: span 1;
}

/* ==========================================================================
   Team Section Grid
   ========================================================================== */
.team-section {
  min-height: calc(100vh - var(--navbar-offset));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 28px;
  overflow: hidden;
  background: #1e1e1e;
}

.team-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  grid-auto-rows: 100px;
  gap: 12px;
}

.team-card {
  position: relative;
  overflow: hidden;
  background: #555;
  cursor: pointer;
  isolation: isolate;
  opacity: 0;
}

.team-grid.is-visible .team-card,
.team-grid.is-visible .color-card {
  animation: buildIn 0.6s ease-out forwards;
}

.team-card:hover {
  z-index: 10;
}

.team-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 1 !important;
  transition: opacity 0.4s ease 0.1s;
}

.team-card:hover .team-photo {
  opacity: 1;
  transition: opacity 0s;
}

.team-card.is-building-card .team-photo {
  opacity: 1;
}

.color-card {
  position: relative;
  overflow: hidden;
  opacity: 0;
}

@keyframes buildIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-text-block {
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 0 8%;
  pointer-events: none;
  opacity: 0;
  animation: buildIn 0.8s ease-out 1s forwards;
}

.intro-text-block h6 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--clr-philo-orange);
}

.intro-text-block p {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 20px;
  font-weight: 100;
  font-style: normal;
  color: #ddd;
}

@media screen and (max-width: 1799px) {
  .team-grid {
    width: min(1000px, 100%);
    grid-auto-rows: 80px;
  }
}

@media (max-width:900px) {
  .team-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 140px;
  }
}

@media (max-width:600px) {
  .team-section {
    padding: 28px 14px;
  }

  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 110px;
    gap: 8px;
  }

  .member-info {
    display: none;
  }
}

/* Project Explorer Section Styles */
.pe-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  /* border-bottom: 1px solid rgba(0,0,0,0.1); */
}

.pe-stats-strip article {
  min-height: 150px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.pe-stats-strip article:last-child {
  border-right: none;
}

.pe-stat-value {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4vw, 68px);
  line-height: 1;
  font-weight: 100;
  font-style: normal;
  color: var(--clr-black);
}

.pe-stat-label {
  color: var(--clr-gray-text);
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

.pe-list-view {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.pe-marquee-row {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pe-marquee-row:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pe-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
}

.pe-list-view:hover .pe-marquee-track {
  animation-play-state: paused;
}

.pe-marquee-track.left {
  animation: pe-marquee-left 50s linear infinite;
}

.pe-marquee-track.right {
  animation: pe-marquee-right 50s linear infinite;
}

@keyframes pe-marquee-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes pe-marquee-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.pe-project-grid-row {
  display: flex;
  gap: 0;
}

.pe-project-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 320px;
  padding: 14px;
  text-align: left;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  color: var(--clr-black);
  transition: background 0.24s ease;
  box-shadow: none;
  cursor: pointer;
}

.pe-project-card:hover {
  background: rgba(0, 0, 0, 0.03);
}

.pe-project-visual-square {
  width: 56px;
  height: 56px;
  background: var(--clr-beige);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-black);
}

.pe-project-visual-square svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.2px;
}

.pe-project-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pe-project-count {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-black);
}

.pe-project-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-black);
}

.pe-project-location {
  font-family: var(--font-body);
  color: var(--clr-gray-text);
  font-size: 13px;
  font-weight: 300;
}

.pe-detail-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1002;
  width: min(520px, 100%);
  height: 100%;
  background: var(--clr-beige-light);
  transform: translateX(105%);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
  overflow: auto;
}

.pe-detail-panel.open {
  transform: translateX(0);
}

.pe-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
  backdrop-filter: blur(4px);
}

.pe-panel-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pe-panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  font-size: 28px;
  line-height: 1;
  color: var(--clr-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pe-panel-close:hover {
  background: var(--clr-white);
}

.pe-panel-image {
  height: 42vh;
  min-height: 300px;
  overflow: hidden;
}

.pe-panel-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.pe-panel-content {
  padding: 34px clamp(24px, 5vw, 48px) 48px;
}

.pe-panel-kicker {
  display: inline-block;
  padding: 8px 11px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  color: var(--clr-gray-text);
  font-size: 12px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pe-panel-location {
  color: var(--clr-gray-text);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
}

.pe-panel-metric {
  margin-top: 34px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.pe-panel-metric small {
  color: var(--clr-gray-text);
  padding-bottom: 8px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}

@media (max-width: 980px) {
  .pe-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .pe-stats-strip article:nth-child(2) {
    border-right: none;
  }

  .pe-stats-strip article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 640px) {
  .pe-stats-strip article {
    min-height: 120px;
    padding: 20px 14px;
  }
}

/* Projects Page Grid */
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 5rem;
  padding-bottom: 2rem;
}

@media (max-width: 980px) {
  .projects-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-page-grid {
    grid-template-columns: 1fr;
  }
}

.projects-page-grid .project-card {
  width: 100%;
  margin: 0 -1px -1px 0;
  flex: none;
}

/* Projects Page Hero Override */
.projects-page-hero {
  position: relative;
  height: calc(30vh + 30px);
  color: var(--clr-white);
  overflow: hidden;
}

.projects-page-hero .hero-bg .hero-slider-img {
  width: calc(100% + 100px) !important;
  left: -100px !important;
}

.projects-page-hero .hero-creative-layout {
  align-items: flex-start;
  top: auto;
  bottom: 2rem;
  left: 10%;
  transform: none;
  width: auto;
}

.projects-page-hero .hero-title-part1 {
  font-size: 3.5rem;
  text-align: left;
}

/* Projects Page specific adjustments */
.projects-page-hero+#projects {
  padding: var(--space-xxl) 0;
}

/* Amenities Section - Dark Split Layout */
.section-amenities {
  background-color: #1e1e1e;
  color: var(--clr-white);
  padding: var(--space-xxl) 0;
}

.amenities-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.4rem, 6.0vw, 6.0rem);
  align-items: flex-start;
}

.amenities-sticky-col {
  position: sticky;
  top: 15vh;
  padding-right: 2rem;
}

.amenities-sticky-col .section-title {
  color: var(--clr-white);
  margin-bottom: 2rem;
}

.amenities-list-col {
  width: 100%;
}

.amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.amenity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.amenity-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 100;
  font-style: normal;
  color: var(--clr-white);
  transition: color 0.4s ease, transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.amenity-arrow {
  font-size: 2rem;
  color: var(--clr-beige);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.amenity-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.amenity-item:hover .amenity-name {
  color: var(--clr-beige);
  transform: translateX(10px);
}

.amenity-item:hover .amenity-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 980px) {
  .amenities-container {
    grid-template-columns: 1fr;
    gap: clamp(1.6rem, 4.0vw, 4.0rem);
  }

  .amenities-sticky-col {
    position: static;
    padding-right: 0;
  }

  .amenity-name {
    font-size: 2rem;
  }
}

/* --- NAVBAR REDESIGN --- */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-left {
  justify-content: flex-start;
}

.nav-center {
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
  gap: clamp(1.0rem, 1.5vw, 1.5rem);
}

.nav-hashtag {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--clr-black);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.4s ease;
  text-decoration: none;
}

.navbar.scrolled .nav-hashtag {
  color: var(--clr-black);
}

.navbar.at-footer .nav-hashtag {
  color: var(--clr-white) !important;
}

/* Hide old nav-links visually on desktop to prefer hamburger, or keep them?
Let's hide them and move them into a hamburger overlay */
.nav-links {
  display: none !important;
}

/* Hamburger Menu */
.hamburger-menu {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  padding: 0;
  z-index: 2000;
  position: relative;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-black);
  transition: all 0.3s ease;
  transform-origin: left center;
}

.navbar.scrolled .hamburger-menu span {
  background-color: var(--clr-black);
}

.navbar.at-footer .hamburger-menu span {
  background-color: var(--clr-white) !important;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
  background-color: var(--clr-white) !important;
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
  background-color: var(--clr-white) !important;
}

/* Short Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 95px;
  right: 10vw;
  /* Align with container padding */
  width: 30vw;
  min-width: 250px;
  max-width: 350px;
  height: auto;
  padding: 3rem;
  background-color: var(--clr-white);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-overlay.active {
  pointer-events: all;
  opacity: 1;
}

.menu-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.0rem, 1.2vw, 1.2rem);
  width: 100%;
  margin-bottom: 3rem;
}

.menu-overlay-links a {
  font-family: var(--font-heading, "quincy-cf", serif);
  font-size: 1.6rem;
  font-weight: 100;
  font-style: normal;
  color: var(--clr-black, #000);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.02em;
  position: relative;
  width: max-content;
  /* Changed from 100% so the underline only spans the text */
  text-align: left;
  display: inline-block;
  /* changed from flex so underline spans text only */

  opacity: 0;
  transform: translateY(20px);
  /* The normal closing/opening transition */
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease-out;
}

/* Premium expanding underline setup */
.menu-overlay-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--Gradient, linear-gradient(90deg, #D8495A 0%, #D8495A 32.7%, #316D9E 61.15%, #E8A423 81.94%, #7CAE95 100%));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-overlay.active .menu-overlay-links a {
  opacity: 1;
  transform: translateY(0);
  /* The staggered opening transition */
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease-out;
}

/* Staggered Delays */
.menu-overlay.active .menu-overlay-links a:nth-child(1) {
  transition-delay: 0.3s;
}

.menu-overlay.active .menu-overlay-links a:nth-child(2) {
  transition-delay: 0.35s;
}

.menu-overlay.active .menu-overlay-links a:nth-child(3) {
  transition-delay: 0.4s;
}

.menu-overlay.active .menu-overlay-links a:nth-child(4) {
  transition-delay: 0.45s;
}

.menu-overlay.active .menu-overlay-links a:nth-child(5) {
  transition-delay: 0.5s;
}

.menu-overlay.active .menu-overlay-links a:nth-child(6) {
  transition-delay: 0.55s;
}

.menu-overlay.active .menu-overlay-links a:nth-child(7) {
  transition-delay: 0.6s;
}

.menu-overlay-links a:hover::after {
  width: 100%;
}

/* Hover effects updated to use gradient on underline only */

/* Menu Footer Styles */
.menu-footer {
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: clamp(1.0rem, 0.5vw, 0.5rem);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-overlay.active .menu-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

.menu-footer span {
  font-family: var(--font-body, sans-serif);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

.menu-footer a {
  font-family: var(--font-body, sans-serif);
  font-size: 1rem;
  color: var(--clr-black, #000);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu-footer a:hover {
  color: #D8495A;
}

@media (max-width: 768px) {
  .menu-overlay {
    width: 60vw;
    right: 5vw;
  }
}

@media (max-width: 480px) {
  .menu-overlay {
    width: 80vw;
    right: 5vw;
  }
}



.hamburger-menu.active span:nth-child(1),
.hamburger-menu.active span:nth-child(3) {
  background-color: #000 !important;
}

/* --- END NAVBAR REDESIGN --- */

/* Minimal Premium Footer Layout */
.footer-premium {
  position: relative !important;
  justify-content: flex-start !important;
  min-height: auto !important;
}

.footer-content-layer {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: auto !important;
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
}

.footer-top-row {
  width: 100%;
}

.footer-left-col {
  flex-direction: row !important;
  align-items: flex-start;
  gap: clamp(1.2rem, 3.0vw, 3.0rem) !important;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 2rem !important;
  width: 100%;
}

/* Pixel Reveal Animation */
.menu-overlay {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.menu-pixel-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.menu-pixel {
  background-color: var(--clr-beige-light, #F4F0E5);
  opacity: 0;
  transform: scale(0);
}

/* Map Project Dot Animations */
.map-project-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: #000;
  transform: translate(-50%, -50%);
  animation: pulseBox 2s infinite alternate ease-in-out;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.6);
}

@keyframes pulseBox {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0);
  }
}

/* Static Projects Image Grid */
.projects-image-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.0rem, 1.5vw, 1.5rem);
  margin-top: 3rem;
  width: 100%;
  align-items: center;
}

.projects-image-grid>* {
  flex: 1 1 calc(33.333% - 1.5rem);
  max-width: 250px;
  min-width: 180px;
}

@media (max-width: 1024px) {
  .projects-image-grid>* {
    flex: 1 1 calc(50% - 1.5rem);
  }

  section.team-section {
    padding-top: 100px;
  }
}

@media (max-width: 600px) {
  .projects-image-grid>* {
    flex: 1 1 100%;
    max-width: 300px;
  }
}

/* Projects Tabs UI */
.project-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(1.0rem, 2.0vw, 2.0rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.project-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 100;
  font-style: normal;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-tab-btn:hover {
  color: rgba(0, 0, 0, 0.7);
}

.project-tab-btn.active {
  color: var(--clr-black);
  border-bottom: 2px solid var(--clr-beige);
}

.projects-tab-content {
  display: none;
  animation: fadeInTab 0.5s ease forwards;
}

.projects-tab-content.active {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Project Single View Layout (32 Elements) */
.project-single-view {
  display: flex;
  min-height: calc(100vh - var(--navbar-offset));
  width: 100%;
  background: var(--clr-white);
  overflow: hidden;
}

.psv-image {
  flex: 1 1 60%;
  position: relative;
}

.psv-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.psv-content {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background: var(--clr-white);
  position: relative;
  z-index: 10;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.05);
}

.psv-content-inner {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.psv-logo-wrapper {
  margin-bottom: 1.5rem;
}

.psv-logo {
  max-width: 200px;
  height: auto;
}

.psv-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gray-text);
  margin-bottom: 3rem;
}

.psv-metrics {
  display: flex;
  gap: clamp(1.2rem, 3.0vw, 3.0rem);
  margin-bottom: 1rem;
}

.psv-metric {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--clr-blue);
  font-weight: 100;
  font-style: normal;
}

.psv-metric span,
.psv-metric-wide {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gray-text);
  font-weight: 500;
  margin-top: 0.25rem;
}

.psv-metric-wide {
  margin-bottom: 3rem;
}

.psv-amenities {
  margin-bottom: 3rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.8);
}

.psv-amenities strong {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--clr-black);
  display: block;
  margin-bottom: 0.5rem;
}

.psv-action-area {
  display: flex;
  align-items: center;
  gap: clamp(1.0rem, 2.0vw, 2.0rem);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
}

.psv-qr {
  text-align: center;
  width: 100px;
}

.psv-qr img {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem;
}

.psv-qr span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-gray-text);
  display: block;
}

.psv-btn-primary {
  background-color: var(--clr-black);
  color: var(--clr-white);
  padding: 1.2rem 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-grow: 1;
  text-align: center;
}

.psv-btn-primary:hover {
  background-color: var(--clr-beige);
  color: var(--clr-black);
}

@media (max-width: 1024px) {
  .project-single-view {
    flex-direction: column;
    height: auto;
  }

  .psv-image {
    min-height: 50vh;
  }

  .psv-content {
    padding: 4rem 2rem;
  }

  .blueprint-layout {
    flex-direction: column !important;
    gap: clamp(1.0rem, 2.0vw, 2.0rem) !important;
  }

  .blueprint-left {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 2rem;
  }

  .blueprint-row>div:not(.blueprint-row),
  .blueprint-row>ul {
    width: 100%;
  }

  .blueprint-row ul {
    grid-template-columns: 1fr !important;
  }

  .blueprint-row .blueprint-row {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .blueprint-stat {
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* --- PROJECT DETAIL MOBILE OVERRIDES --- */
@media (max-width: 768px) {
  .project-details-view.auto-style-87ce30 {
    padding: 3rem 0 !important;
  }

  .funding-divider {
    display: none !important;
  }

  .blueprint-left {
    padding-bottom: 1rem !important;
  }

  .blueprint-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 0.75rem 0 !important;
  }

  .blueprint-row>div {
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* Smartly remove massive whitespace around the elevation image on mobile */
  .premium-elevation-wrapper {
    min-height: 0 !important;
    height: auto !important;
  }

  .premium-elevation-img {
    position: relative !important;
    height: auto !important;
    right: 0 !important;
    object-position: center !important;
  }

  /* Amenities list updates */
  .auto-style-ef4c0f {
    display: block !important;
    padding: 0.5rem 0 0.5rem 1.5rem !important;
    margin: 0 !important;
  }

  .auto-style-ef4c0f .auto-style-a24ccb {
    display: list-item !important;
    list-style-type: disc !important;
    padding: 0.25rem 0 !important;
    align-items: flex-start !important;
  }

  .auto-style-ef4c0f .auto-style-a24ccb .auto-style-71b8c6 {
    display: none !important;
    /* Hide custom bull if using list-item */
  }

  .premium-amenities-col,
  .premium-logo-col,
  .premium-designer-col,
  .premium-floors-col {
    width: 100% !important;
    flex: none !important;
    padding-right: 0 !important;
    border-right: none !important;
  }

  .premium-amenities-col {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
    padding-bottom: 0.75rem !important;
  }

  /* Force CTA buttons to stack cleanly */
  .blueprint-row .auto-style-61caa0 {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box !important;
    padding: 0.75rem !important;
  }

  .blueprint-row>div[style*="gap: 1rem"],
  .blueprint-row>div[style*="flex-wrap: wrap"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
}

/* --- AUTO-GENERATED RESPONSIVE GRIDS --- */
@media (max-width: 900px) {

  .auto-style-9812d7,
  .auto-style-6796be,
  .auto-style-ef4c0f,
  .auto-style-270ac6 {
    grid-template-columns: 1fr !important;
    gap: clamp(1.0rem, 2.0vw, 2.0rem) !important;
  }
}

/* --- AUTO-GENERATED RESPONSIVE FLEXBOX --- */
@media (max-width: 900px) {

  .auto-style-8ebd20,
  .auto-style-20f58b,
  .auto-style-aedb6b,
  .auto-style-6f46ea,
  .auto-style-4300c5,
  .auto-style-cf2fd3,
  .auto-style-ee8a4b,
  .auto-style-a24ccb,
  .auto-style-f15031 {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .auto-style-f4b635,
  .auto-style-210703,
  .auto-style-663001,
  .auto-style-06e4a1,
  .auto-style-78cf1a,
  .auto-style-6c487d,
  .auto-style-562d3a {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* --- AUTO-GENERATED RESPONSIVE SPACING & WIDTHS --- */
@media (max-width: 900px) {

  .auto-style-cd77f9,
  .auto-style-fbdeff,
  .auto-style-244c75,
  .auto-style-c8f93d,
  .auto-style-24fc32,
  .auto-style-9857ab,
  .auto-style-64474b,
  .auto-style-b501d7,
  .auto-style-672474,
  .auto-style-2a5fab {
    width: 100% !important;
    max-width: 100% !important;
  }

  .auto-style-2cb658,
  .auto-style-85d702,
  .auto-style-93686a,
  .auto-style-04a03f,
  .auto-style-9119fc,
  .auto-style-cac300,
  .auto-style-6a1da3,
  .auto-style-f1142e,
  .auto-style-f5ce82,
  .auto-style-f7ed16 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .auto-style-628142,
  .auto-style-6607e5,
  .auto-style-b15aa6 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .auto-style-dab962,
  .auto-style-4d6259,
  .auto-style-fbdeff,
  .auto-style-60a36d,
  .auto-style-a933e4,
  .auto-style-b77d2d,
  .auto-style-b72a6c,
  .auto-style-2a5fab,
  .auto-style-672474,
  .auto-style-2cb658 {
    padding: 2rem 1rem !important;
  }

  .auto-style-663001,
  .auto-style-85d702,
  .auto-style-9119fc,
  .auto-style-364064,
  .auto-style-a9c055,
  .auto-style-20f58b,
  .auto-style-695dbc,
  .auto-style-61caa0,
  .auto-style-f7ed16,
  .auto-style-6c487d {
    padding: 2rem 1rem !important;
  }

  .auto-style-1393f6,
  .auto-style-87ce30,
  .auto-style-80d041 {
    padding: 2rem 1rem !important;
  }
}

/* --- MOBILE INTERACTIVE MAP REFACTORING --- */
@media (max-width: 900px) {

  /* 1. Reset Scroll Container */
  .scroll-narrative-container,
  .auto-style-611041 {
    height: auto !important;
    position: relative !important;
    display: flex;
    flex-direction: column;
  }

  /* 2. Reset Sticky Wrapper to normal flow */
  .sticky-map-wrapper,
  .auto-style-f15031 {
    position: relative !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* 3. Text Overlay becomes a normal block above the map */
  .sticky-map-wrapper>.gs-reveal-up,
  .auto-style-f5ce82 {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 4rem 2rem 2rem 2rem !important;
    background-color: transparent !important;
    text-align: left !important;
    transform: none !important;
    /* Avoid reveal up messing with normal layout on mobile */
  }

  /* 4. Map gets a fixed height */
  #osm-map,
  .auto-style-a898fd {
    position: relative !important;
    width: 100% !important;
    height: 60vh !important;
    min-height: 400px;
  }

  /* 5. Info Panel becomes a Bottom Sheet */
  .info-panel,
  .auto-style-9119fc {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 85vh !important;
    border-left: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 !important;
    padding: 2.5rem 1.5rem !important;
    transform: translateY(100%) !important;
    /* Start hidden below */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 2000 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15) !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  /* When the panel is active, it slides up to translateY(0) */
  .info-panel.active {
    transform: translateY(0) !important;
  }

  /* Close button relocation for Bottom Sheet */
  #close-map-info,
  .auto-style-a09020 {
    top: 1.5rem !important;
    right: 1.5rem !important;
  }
}

.auto-style-61a251 {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
}

.auto-style-60a36d {
  padding: var(--space-xxl) 0;
  background-color: #ffffff;
  color: var(--clr-black);
  overflow: hidden;
}

.auto-style-9812d7 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.auto-style-0eb534 {
  padding-left: 10vw;
  padding-right: 4rem;
}

.auto-style-4e542d {
  display: block;
  margin-bottom: 2rem;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.5);
}

.auto-style-3effb3 {
  margin-bottom: 2rem;
  color: var(--clr-black);
}

.auto-style-6c460d {
  margin-bottom: 3rem;
  background: rgba(0, 0, 0, 0.1);
}

.auto-style-0f326d {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.8;
}

.auto-style-3857d5 {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.auto-style-672474 {
  background: #f5f5f5;
  padding: 4rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 650px;
}

.auto-style-cfe475 {
  margin-bottom: 3.5rem;
}

.auto-style-47bded {
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.8rem;
  font-weight: 500;
}

.auto-style-7c7b3f {
  margin-bottom: 1rem;
  color: var(--clr-black);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.auto-style-cac300 {
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.1);
  height: 1px;
  width: 60px;
}

.auto-style-db1172 {
  font-weight: 600;
}

/* --- FIX FOR INTERACTIVE MAP HEIGHT ON DESKTOP --- */
#osm-map,
.auto-style-a898fd {
  width: 100% !important;
  height: 100vh !important;
  flex: 1 !important;
  min-height: 400px;
}

/* --- AUTO-GENERATED RESPONSIVE GRIDS --- */
@media (max-width: 900px) {

  .auto-style-9812d7,
  .auto-style-6796be,
  .auto-style-ef4c0f,
  .auto-style-270ac6 {
    grid-template-columns: 1fr !important;
    gap: clamp(1.0rem, 2.0vw, 2.0rem) !important;
  }
}

/* --- AUTO-GENERATED RESPONSIVE FLEXBOX --- */
@media (max-width: 900px) {

  .auto-style-8ebd20,
  .auto-style-20f58b,
  .auto-style-aedb6b,
  .auto-style-6f46ea,
  .auto-style-4300c5,
  .auto-style-cf2fd3,
  .auto-style-ee8a4b,
  .auto-style-a24ccb,
  .auto-style-f15031 {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .auto-style-f4b635,
  .auto-style-210703,
  .auto-style-663001,
  .auto-style-06e4a1,
  .auto-style-78cf1a,
  .auto-style-6c487d,
  .auto-style-562d3a {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* --- AUTO-GENERATED RESPONSIVE SPACING & WIDTHS --- */
@media (max-width: 900px) {

  .auto-style-cd77f9,
  .auto-style-fbdeff,
  .auto-style-244c75,
  .auto-style-c8f93d,
  .auto-style-24fc32,
  .auto-style-9857ab,
  .auto-style-64474b,
  .auto-style-b501d7,
  .auto-style-672474,
  .auto-style-2a5fab {
    width: 100% !important;
    max-width: 100% !important;
  }

  .auto-style-2cb658,
  .auto-style-85d702,
  .auto-style-93686a,
  .auto-style-04a03f,
  .auto-style-9119fc,
  .auto-style-cac300,
  .auto-style-6a1da3,
  .auto-style-f1142e,
  .auto-style-f5ce82,
  .auto-style-f7ed16 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .auto-style-628142,
  .auto-style-6607e5,
  .auto-style-b15aa6 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .auto-style-dab962,
  .auto-style-4d6259,
  .auto-style-fbdeff,
  .auto-style-60a36d,
  .auto-style-a933e4,
  .auto-style-b77d2d,
  .auto-style-b72a6c,
  .auto-style-2a5fab,
  .auto-style-672474,
  .auto-style-2cb658 {
    padding: 2rem 1rem !important;
  }

  .auto-style-663001,
  .auto-style-85d702,
  .auto-style-9119fc,
  .auto-style-364064,
  .auto-style-a9c055,
  .auto-style-20f58b,
  .auto-style-695dbc,
  .auto-style-61caa0,
  .auto-style-f7ed16,
  .auto-style-6c487d {
    padding: 2rem 1rem !important;
  }

  .auto-style-1393f6,
  .auto-style-87ce30,
  .auto-style-80d041 {
    padding: 2rem 1rem !important;
  }
}

/* --- MOBILE INTERACTIVE MAP REFACTORING --- */
@media (max-width: 900px) {

  /* 1. Reset Scroll Container */
  .scroll-narrative-container,
  .auto-style-611041 {
    height: auto !important;
    position: relative !important;
    display: flex;
    flex-direction: column;
  }

  /* 2. Reset Sticky Wrapper to normal flow */
  .sticky-map-wrapper,
  .auto-style-f15031 {
    position: relative !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* 3. Text Overlay becomes a normal block above the map */
  .sticky-map-wrapper>.gs-reveal-up,
  .auto-style-f5ce82 {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 4rem 2rem 2rem 2rem !important;
    background-color: transparent !important;
    text-align: left !important;
    transform: none !important;
    /* Avoid reveal up messing with normal layout on mobile */
  }

  /* 4. Map gets a fixed height */
  #osm-map,
  .auto-style-a898fd {
    position: relative !important;
    width: 100% !important;
    height: 60vh !important;
    min-height: 400px;
  }

  /* 5. Info Panel becomes a Bottom Sheet */
  .info-panel,
  .auto-style-9119fc {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 85vh !important;
    border-left: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 !important;
    padding: 2.5rem 1.5rem !important;
    transform: translateY(100%) !important;
    /* Start hidden below */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 2000 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15) !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  /* When the panel is active, it slides up to translateY(0) */
  .info-panel.active {
    transform: translateY(0) !important;
  }

  /* Close button relocation for Bottom Sheet */
  #close-map-info,
  .auto-style-a09020 {
    top: 1.5rem !important;
    right: 1.5rem !important;
  }
}

/* --- DESKTOP INTERACTIVE MAP REFACTORING --- */
.info-panel.active,
.auto-style-9119fc.active {
  transform: translateX(0) !important;
}

/* --- NAVBAR RESPONSIVE QUERIES (Tablet & Mobile) --- */
@media (max-width: 768px) {

  /* Reduce Hashtag font size by 2px (from 0.9rem to 0.775rem) */
  .navbar .nav-left .nav-hashtag,
  .navbar.scrolled .nav-left .nav-hashtag {
    font-size: 0.775rem !important;
  }

  /* Reduce Button padding gradually so text does not wrap */
  .navbar .nav-right .btn,
  .navbar .nav-right .btn-outline-white,
  .navbar .nav-right .auto-style-c73f85,
  .navbar.scrolled .nav-right .btn,
  .navbar.scrolled .nav-right .btn-outline-white,
  .navbar.scrolled .nav-right .auto-style-c73f85 {
    padding: 0.8rem 1.2rem !important;
    white-space: nowrap !important;
  }

  /* Fix Legacy Card Alignment */
  .section-legacy-brochure .auto-style-80d041 {
    width: 100% !important;
    max-width: 340px !important;
    align-self: flex-start !important;
    margin: 0 !important;
    padding: 2.5rem 1.5rem !important;
  }

  /* Reduce whitespace between Leadership cards */
  .about-voices-grid {
    gap: clamp(1.0rem, 1.5vw, 1.5rem) !important;
  }

  .voices-slider .voice-card {
    padding: 0 1rem !important;
  }
}

/* --- NAVBAR RESPONSIVE QUERIES (Small Mobile Specific) --- */
@media (max-width: 480px) {
  /* Create a Split Sticky CTA Bottom Bar */

  /* Hashtag becomes the left half of the bottom CTA */
  .nav-left {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50% !important;
    height: 60px !important;
    background: var(--clr-beige) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999 !important;
    padding: 0 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
  }

  .navbar .nav-left .nav-hashtag,
  .navbar.scrolled .nav-left .nav-hashtag {
    font-size: 0.75rem !important;
    color: #111111 !important;
    letter-spacing: 0.02em !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* "Get In Touch" button becomes the right half of the bottom CTA */
  .navbar .nav-right .btn,
  .navbar .nav-right .btn-outline-white,
  .navbar .nav-right .auto-style-c73f85,
  .navbar.scrolled .nav-right .btn,
  .navbar.scrolled .nav-right .btn-outline-white,
  .navbar.scrolled .nav-right .auto-style-c73f85 {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 50% !important;
    height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999 !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  /* Ensure the logo aligns left at the top */
  .nav-center {
    justify-content: flex-start !important;
  }

  /* nav-right (hamburger container) stays top right */
  .nav-right {
    flex: 0 0 auto !important;
  }

  /* Prevent content from hiding behind the 60px bottom CTA */
  body {
    padding-bottom: 60px !important;
  }
}

/* --- LEGACY BROCHURE MOBILE ALIGNMENT FIX --- */
@media (max-width: 900px) {

  /* Main heading should align left like the card and appear ABOVE it */
  .legacy-header-text,
  .auto-style-6a1da3,
  .auto-style-8703ac {
    text-align: left !important;
    padding-top: 0 !important;
    order: -1 !important;
    width: 100% !important;
    /* Ensure it takes full width for proper flex ordering */
  }

  /* Stats card rows should stay as rows, not stack into columns */
  .legacy-card .stat-row,
  .auto-style-6f46ea,
  .auto-style-4300c5 {
    flex-direction: row !important;
    align-items: center !important;
  }

  /* Keep the numbers left-aligned and reduce font size slightly */
  .legacy-card .auto-style-f1142e {
    text-align: left !important;
    width: 55% !important;
    font-size: 2.75rem !important;
    /* Slight reduction */
  }

  /* Keep stat text left-aligned, keep original font size */
  .legacy-card .auto-style-cd77f9 {
    text-align: left !important;
    width: 65% !important;
  }

  /* Reduce the size of colored square markers on the map for mobile */
  .marker-img-geo {
    height: 35px !important;
  }

  /* Reduce the size of static colored project dots to prevent overlapping on tiny mobile maps */
  .map-project-dot {
    width: 6px !important;
    height: 6px !important;
  }
}

/* --- LEADERSHIP SLIDER MOBILE FIXES --- */
@media (max-width: 900px) {

  /* Fix missing grid template areas that caused text to hide/overlap */
  .voice-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas:
      "img"
      "info"
      "text" !important;
    /* Reduce width to 85% so the next card peeks out, hinting at the slider */
    flex: 0 0 85% !important;
    /* gap: clamp(1.0rem, 1.0vw, 1.0rem) !important; */
  }

  .voice-text-container {
    padding-bottom: 2rem !important;
  }






  .team-grid .color-card {
    display: none !important;
  }

  .team-grid .intro-text-block {
    grid-column: 1 / -1 !important;
    grid-row: span 4 !important;
    /* Increase row span so text doesn't crop */
    justify-content: center !important;
    padding: 2rem 5% !important;
    margin-bottom: 2rem !important;
    /* Adds space before grid images */
  }

  /* Shift Bandra Culture Image above text on mobile */
  .auto-style-64474b {
    order: -1 !important;
    margin-bottom: 2rem !important;
    /* Add space between image and text below it */
  }

  /* Show all Why Choose Us tab details on mobile instead of hiding them via GSAP */
  .why-tab-item {
    opacity: 1 !important;
  }

  .why-tab-item .tab-desc {
    height: auto !important;
    opacity: 1 !important;
    display: block !important;
    margin-top: 1rem !important;
  }

  /* Precisely center CTA buttons and give them the same width */
  .hero-ctas.auto-style-98f1ef {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-ctas.auto-style-98f1ef>a {
    width: 100% !important;
    max-width: 250px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  #tooltip {
    max-width: 280px !important;
  }

  #tooltip-title {
    text-align: center !important;
  }

  #tooltip-desc {
    padding-left: 0 !important;
    border-left: none !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #e0e0e0 !important;
    text-align: center !important;
  }

  #tooltip-desc::before {
    top: -1px !important;
    left: 0 !important;
    width: var(--loader-progress, 0%) !important;
    height: 2px !important;
  }

  .tip-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(1.0rem, 1.0vw, 1.0rem) !important;
    min-height: 170px;
  }
}

/* Smart Form Responsiveness Fixes for Redevelopment, Contact, and Career Pages */
@media (max-width: 1024px) {

  /* Remove any fixed heights that cause form fields to be hidden or clipped */
  #redevelopment-intro .form-wrapper,
  #career-intro .form-wrapper,
  .contact-form .form-wrapper,
  .form-wrapper {
    height: auto !important;
    min-height: max-content !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 4rem !important;
    /* Ensure enough breathing room for the submit button */
  }

  /* Ensure inputs don't stretch past their container boundaries */
  .form-group,
  .form-input,
  .redev-form,
  .contact-form,
  .career-form {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Force forms to stack gracefully on smaller screens */
  .redev-form,
  .contact-form,
  .career-form {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(1.0rem, 2.0vw, 2.0rem) !important;
  }

  /* Fix broken layout for "Upload Your Resume" file input */
  .auto-style-663001 {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.5rem 0 !important;
  }
}

/* Decrease Hero Title Font Size for Inner Pages (About Us, Projects, Careers, etc.) */
.projects-page-hero .hero-title-part1 {
  font-size: 4rem !important;
  /* Updated as requested */
}

@media (max-width: 900px) {
  .projects-page-hero .hero-title-part1 {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
    /* Scaled down for mobile */
  }
}

/* Buyers Guide Responsive - Stacked Layout for 1024px and below */
@media (max-width: 1024px) {
  .bg-container {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 5vw !important;
  }

  /* Hide the tabs sidebar entirely */
  .bg-tabs-sidebar {
    display: none !important;
  }

  .bg-content-area {
    min-height: auto !important;
  }

  /* Stack all tab panes */
  .bg-tab-pane {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    margin-bottom: 4rem !important;
    /* Space between stacked sections */
  }

  .bg-tab-pane:last-child {
    margin-bottom: 0 !important;
  }

  /* EMI Calculator Mobile adjustments */
  .emi-calculator-premium {
    grid-template-columns: 1fr !important;
  }

  .emi-input-section {
    border-right: none !important;
    border-bottom: 1px solid #eaeaea !important;
    padding: 2rem 1.5rem !important;
  }

  .emi-result-section {
    padding: 2rem 1.5rem !important;
  }

  .emi-sliders {
    gap: clamp(1.0rem, 2.0vw, 2.0rem) !important;
  }

  .emi-breakdown-grid {
    grid-template-columns: 1fr !important;
    gap: clamp(1.0rem, 1.0vw, 1.0rem) !important;
  }

  /* Section Title Spacing */
  .section-title.auto-style-520d70 {
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
  }
}


/* Mosaic Gallery CSS */
.mosaic-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 0.60;
  margin: 0 auto;
}

.mosaic-piece {
  position: absolute;
  object-fit: cover;
  border: 4px solid #fff;
  will-change: transform, opacity;
}

@keyframes floatBirds {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.mosaic-birds {
  top: 5%;
  left: 17%;
  width: 12%;
  border: none;
  box-shadow: none;
  z-index: 10;
  animation: floatBirds 3s ease-in-out infinite;
}

.mosaic-house {
  top: 2%;
  left: 33%;
  width: 45%;
  z-index: 1;
}

.mosaic-coin {
  top: 13%;
  left: 11.5%;
  width: 38%;
  border-radius: 50%;
  z-index: 10;
}

.mosaic-church {
  top: 19.5%;
  left: 35.6%;
  width: 45%;
  z-index: 3;
}

.mosaic-worker {
  top: 34%;
  left: 6%;
  width: 30%;
  z-index: 4;
}

.mosaic-vintage-sign {
  top: 47%;
  left: 18%;
  width: 36%;
  z-index: 2;
}

.mosaic-artwork {
  top: 52%;
  left: 54%;
  width: 28%;
  z-index: 7;
  border-top-right-radius: 35px;
}

.mosaic-bandra-sign {
  top: 62.5%;
  left: 7%;
  width: 48%;
  z-index: 6;
  border: none;
  box-shadow: none;
}

.mosaic-building {
  top: 76.6%;
  left: 44%;
  width: 49%;
  z-index: 5;
}

.mosaic-cafe {
  top: 77%;
  left: 6%;
  width: 39%;
  z-index: 8;
}

@media (max-width: 768px) {
  .mosaic-container {
    max-width: 90vw !important;
  }

  .mosaic-piece {
    border-width: 2px;
  }
}


/* New Leadership List Layout - About Us */
.leadership-list-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 3rem;
}

.leadership-list-row {
  display: flex;
  flex-direction: row;
  gap: clamp(2.0rem, 5.0vw, 5.0rem);
  align-items: flex-start;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 2rem;
}

.leadership-list-row:last-child {
  border-bottom: none;
}

.leadership-list-image {
  flex: 0 0 25%;
  max-width: 228px;
  position: relative;
}

.leadership-list-divider {
  display: none;
}

.leadership-list-image .img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px;
  background: #fff;
}

.leadership-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .projects-page-hero .hero-title-part1 {
    font-size: clamp(1.8rem, 6vw, 2.25rem) !important;
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  .projects-page-hero .hero-creative-layout {
    left: 4vw !important;
  }
}

@media (max-width: 480px) {
  .projects-page-hero .hero-creative-layout {
    left: 1rem !important;
  }
}

/* Buyers Guide Responsive - Stacked Layout for 1024px and below */
@media (max-width: 1024px) {
  .projects-page-hero .hero-creative-layout {
    left: 5%;
  }

  .bg-container {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 5vw !important;
  }

  .projects-page-hero .hero-title-part1 {
    font-size: 3rem !important;
  }

  /* Hide the tabs sidebar entirely */
  .bg-tabs-sidebar {
    display: none !important;
  }

  .bg-content-area {
    min-height: auto !important;
  }

  /* Stack all tab panes */
  .bg-tab-pane {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    margin-bottom: 4rem !important;
    /* Space between stacked sections */
  }

  /* EMI Calculator Mobile adjustments */
  .emi-calculator-premium {
    grid-template-columns: 1fr !important;
  }

  .emi-input-section {
    border-right: none !important;
    border-bottom: 1px solid #eaeaea !important;
    padding: 2rem 1.5rem !important;
  }

  .emi-result-section {
    padding: 2rem 1.5rem !important;
  }

  .emi-sliders {
    gap: clamp(1.0rem, 2.0vw, 2.0rem) !important;
  }

  .emi-breakdown-grid {
    grid-template-columns: 1fr !important;
    gap: clamp(1.0rem, 1.0vw, 1.0rem) !important;
  }

  /* Section Title Spacing */
  .section-title.auto-style-520d70 {
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
  }
}


/* Mosaic Gallery CSS */
.mosaic-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 0.60;
  margin: 0 auto;
}

.mosaic-piece {
  position: absolute;
  object-fit: cover;
  border: 4px solid #fff;
  will-change: transform, opacity;
}

.mosaic-birds {
  top: 5%;
  left: 17%;
  width: 12%;
  border: none;
  box-shadow: none;
  z-index: 10;
}

.mosaic-house {
  top: 2%;
  left: 33%;
  width: 45%;
  z-index: 1;
}

.mosaic-coin {
  top: 13%;
  left: 11.5%;
  width: 38%;
  border-radius: 50%;
  z-index: 10;
}

.mosaic-church {
  top: 19.5%;
  left: 35.6%;
  width: 45%;
  z-index: 3;
}

.mosaic-worker {
  top: 34%;
  left: 6%;
  width: 30%;
  z-index: 4;
}

.mosaic-vintage-sign {
  top: 47%;
  left: 18%;
  width: 36%;
  z-index: 2;
}

.mosaic-artwork {
  top: 52%;
  left: 54%;
  width: 28%;
  z-index: 7;
  border-top-right-radius: 35px;
}

.mosaic-bandra-sign {
  top: 62.5%;
  left: 7%;
  width: 48%;
  z-index: 6;
  border: none;
  box-shadow: none;
}

.mosaic-building {
  top: 76.6%;
  left: 44%;
  width: 49%;
  z-index: 5;
}

.mosaic-cafe {
  top: 77%;
  left: 6%;
  width: 39%;
  z-index: 8;
}

@media (max-width: 768px) {
  .mosaic-container {
    max-width: 95vw !important;
  }

  .mosaic-piece {
    border-width: 2px;
  }
}


/* Removed duplicate grid layout */

.leadership-list-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1.0rem, 1.5vw, 1.5rem);
}

.leadership-list-text .voice-comment {
  font-size: 20px !important;
}

@media (max-width: 1799px) {
  .leadership-list-text .voice-comment {
    font-size: 18px !important;
  }
}

@media (max-width: 900px) {
  .leadership-list-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .leadership-list-row {
    flex-direction: column;
    gap: clamp(1.0rem, 2.0vw, 2.0rem);
    padding-bottom: 1.5rem;
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  }

  .leadership-list-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
  }

  .leadership-list-image {
    flex: 1 1 100%;
  }

  .leadership-list-divider {
    width: 100%;
    height: 2px;
  }
}

.leadership-list-meta {
  padding-top: 1rem;
  margin-top: auto;
}

/* Premium Layouts */
.premium-elevation-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
}

.premium-elevation-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 2rem;
}

.premium-top-row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  padding-bottom: 1.25rem;
}

.premium-logo-col {
  padding-right: 2rem;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.premium-designer-col {
  padding-left: 2rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.premium-floors-col {
  padding-left: 2rem;
}

@media (max-width: 1300px) {
  .premium-top-row {
    gap: clamp(1.0rem, 1.0vw, 1.0rem) !important;
  }

  .premium-logo-col {
    padding-right: 1rem;
  }

  .premium-designer-col {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .premium-floors-col {
    padding-left: 1rem;
  }

  .premium-logo-col img {
    max-width: 72px !important;
  }
}

@media (max-width: 768px) {
  .premium-top-row {
    flex-wrap: wrap;
    gap: clamp(1.0rem, 1.5vw, 1.5rem) !important;
    align-items: flex-start !important;
    border-bottom: none;
  }

  .premium-logo-col {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: none;
  }

  .premium-designer-col {
    padding-left: 0;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: none;
  }

  .premium-floors-col {
    padding-left: 0;
  }

  .premium-logo-col img {
    max-width: 64px !important;
  }
}

@media (min-width: 1440px) {
  .premium-elevation-img {
    object-fit: cover;
    object-position: center;
  }
}

@media screen and (max-width: 575px) {
     .project-details-banner .hero-creative-layout .hero-title-part1 {
        font-size: 1.6rem !important;
    }

  #redevelopment-intro .form-wrapper,
  #career-intro .form-wrapper,
  .contact-form .form-wrapper,
  .form-wrapper {
    padding-bottom: 2rem !important;
  }

  .footer-content-layer {
    padding-top: 3rem !important;
    padding-bottom: 1rem !important;
  }

  .footer-right-col {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 50px;
  }

  .footer-left-col {
    display: flex;
    flex-direction: column !important;
  }

  .footer-top-row {
    margin-bottom: 0.8rem;
  }

  .section-philosophy .section-title {
    margin-bottom: 0;
  }

  span.copyright-divider {
    display: block;
    line-height: 0;
    font-size: 0;
  }

  .section-disclaimer {
    padding: 3rem 0 !important;
  }

  .section-label {
    margin-bottom: 1rem;
  }

  .section-disclaimer .lead-text {
    text-align: left !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .legacy-card .auto-style-f1142e {
    font-size: 2.15rem !important;
  }

  .projects-page-hero .hero-title-part1 {
    font-size: 2.2rem !important;
  }

  .btn-submit {
    padding: 0.85rem 1.5rem !important;
    font-size: 0.9rem !important;
  }

  .leadership-list-container {
    margin-top: 2rem;
  }

  p.voice-role {
    margin-bottom: 10px !important;
  }

  .footer-top-row {
    flex-direction: column;
  }

  .leadership-list-text .voice-comment {
    font-size: 16px !important;
  }

  span.auto-style-9857ab {
    margin-top: -30px;
  }

  .project-unit {
    width: 75px !important;
  }
}

@media screen and (max-width: 480px) {
  .nav-right .btn.btn-outline-white.auto-style-c73f85 {
    border-top: 1px solid #ffffff30 !important;
  }

  .hero-ctas.auto-style-98f1ef>a {
    max-width: 210px !important;
  }

}