/* ============================================
   JHANVI MISHRA — ZHA-INSPIRED DESIGN SYSTEM
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black: #000000;
  --dark: #111111;
  --charcoal: #1a1a1a;
  --graphite: #323232;
  --steel: #7c7c7a;
  --silver: #999999;
  --light-gray: #cbcbcb;
  --cloud: #dedcdd;
  --off-white: #dedcdd;
  --white: #ffffff;

  /* Exact User-provided Architectural Color Palette (#dedcdd) */
  --bg-main: #dedcdd;
  --concrete-light: #dedcdd;
  --concrete-mid: #cbcbcb;
  --steel-gray: #7c7c7a;
  --grey-1: #dedcdd;
  --grey-2: #e2e0e1;
  --grey-3: #cbcbcb;
  --grey-4: #b8b8b8;
  --grey-5: #a6a6a6;
  --grey-6: #7c7c7a;
  --grey-7: #555555;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Outfit', 'Inter', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.5s var(--ease);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main) !important;
  color: var(--black);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

i, .fa, .fas, .far, .fal, .fab, .fa-solid, .fa-regular, .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  letter-spacing: 1px;
}

.desktop-nav a,
.mega-menu-link,
.mega-menu-sub-link,
.zha-footer-top-links a,
.zha-footer-legal-links a,
.footer a,
.btn,
.btn-filled,
button,
input,
textarea,
select {
  font-family: var(--font-heading) !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* ============ STANDARDIZED NAVBAR & BRAND LOGO ============ */
#navbar,
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 9999;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

.site-logo-img {
  height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
  image-rendering: auto;
  image-rendering: auto;
}

.footer-logo-img,
.zha-footer-logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  display: block;
  image-rendering: auto;
  image-rendering: auto;
}

/* ============ DESKTOP NAV & ZHA MEGA MENU ============ */
.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: stretch;
  height: 100%;
}

.desktop-nav>a {
  display: flex;
  align-items: center;
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000 !important;
  font-weight: 700;
  transition: var(--transition);
}

.nav-item-has-mega {
  position: static;
  padding: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item-has-mega>a {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #000000 !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-icon {
  font-size: 9px;
  transition: transform 0.3s ease;
  color: inherit;
}

.nav-item-has-mega:hover .nav-icon {
  transform: rotate(180deg);
}

/* Main Mega Menu Container */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 480px;
  background-color: #ffffff;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  border-top: 1px solid #eaeaea;
  pointer-events: none;
}

.nav-item-has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Left Column */
.mega-menu-left {
  width: 320px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-right: 1px solid #f0f0f0;
  height: 100%;
}

.menu-category {
  position: static;
}

.mega-menu-link {
  padding: 12px 0;
  color: #777777 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px;
  text-decoration: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid transparent;
  margin-bottom: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mega-menu-arrow {
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 14px;
}

/* Content Container (Middle + Right) */
.menu-category-content {
  position: absolute;
  left: 320px;
  top: 0;
  width: calc(100% - 320px);
  height: 100%;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: #ffffff;
}

/* DEFAULT: First category (Architecture) open when mega-menu opened */
.mega-menu-left .menu-category:first-child .menu-category-content {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.mega-menu-left .menu-category:first-child .mega-menu-link {
  color: #000000 !important;
  border-bottom: 2px solid #000000;
}

.mega-menu-left .menu-category:first-child .mega-menu-arrow {
  opacity: 1;
}

/* When hovering another category (2nd or 3rd), hide first category and show hovered */
.mega-menu-left:hover .menu-category:first-child .menu-category-content {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.mega-menu-left:hover .menu-category:first-child .mega-menu-link {
  color: #777777 !important;
  border-bottom-color: transparent;
}

.mega-menu-left:hover .menu-category:first-child .mega-menu-arrow {
  opacity: 0;
}

.mega-menu-left .menu-category:hover .menu-category-content {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10 !important;
}

.mega-menu-left .menu-category:hover .mega-menu-link {
  color: #000000 !important;
  border-bottom: 2px solid #000000 !important;
}

.mega-menu-left .menu-category:hover .mega-menu-arrow {
  opacity: 1 !important;
}

/* Middle Column (Sub-links) */
.mega-menu-middle {
  width: 320px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-menu-sub-link {
  color: #222222 !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.mega-menu-sub-link:hover {
  color: #888888 !important;
}

/* Right Column (Featured Image) */
.mega-menu-right {
  flex: 1;
  padding: 30px;
  position: relative;
}

.mega-menu-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.mega-menu-caption {
  position: absolute;
  bottom: 45px;
  left: 45px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 2px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
}

@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 1001;
  padding: 8px;
}

.menu-toggle span {
  width: 32px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .menu-toggle span {
  background: var(--black);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--white) !important;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--white) !important;
}

/* ============ NAVBAR MENU OPEN STATE ============ */
.navbar.menu-open {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.navbar.menu-open .logo {
  color: var(--white) !important;
}

/* ============ FULLSCREEN MENU ============ */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s var(--ease-out);
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

.fullscreen-menu nav {
  text-align: center;
}

.fullscreen-menu nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s var(--ease-out);
}

.fullscreen-menu.active nav a {
  opacity: 1;
  transform: translateY(0);
}

.fullscreen-menu nav a:hover {
  color: var(--silver);
  letter-spacing: 6px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85);
  transform: scale(1.1);
  animation: kenBurns 20s ease infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1.1) translate(0, 0);
  }

  100% {
    transform: scale(1.2) translate(-2%, -1%);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}

.hero-content .subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--silver);
}

/* ============ HERO SLIDESHOW ============ */
.hero-slideshow {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--black);
}

.slides-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 80px 80px 120px;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 40%);
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85);
  transform: scale(1.06);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s, opacity 1.2s ease 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
  margin-bottom: 12px;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.slide-location {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
}

.slide-nav {
  position: absolute;
  bottom: 80px;
  right: 80px;
  z-index: 10;
  display: flex;
  gap: 16px;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slide-dot.active,
.slide-dot:hover {
  background: var(--white);
}

@media (max-width: 768px) {
  .slide {
    padding: 60px 40px 100px;
  }

  .slide-nav {
    right: 40px;
    bottom: 60px;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  z-index: 2;
}

.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--white);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(0.4);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ============ SECTIONS ============ */
.section {
  padding: 120px 80px;
}

.section-edge-to-edge {
  padding: 120px 0 0 0;
  width: 100%;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-light {
  background: var(--concrete-light);
  color: var(--black);
}

.section-white {
  background: var(--white);
  color: var(--black);
}

.section-alt {
  background: var(--charcoal);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--grey-7);
  margin-bottom: 16px;
  display: block;
  font-weight: 500;
}

.section-dark .section-label,
.section-alt .section-label {
  color: var(--silver);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-line {
  width: 40px;
  height: 1.5px;
  background: var(--black);
  margin: 20px auto 0;
}

.section-dark .section-line,
.section-alt .section-line,
.hero .section-line {
  background: var(--white);
}

/* ============ PHILOSOPHY INTRO ============ */
.philosophy-intro {
  padding: 120px 80px;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 60px;
  box-sizing: border-box;
}

.philosophy-intro-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.5vw, 7.2rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin: 0;
  width: 100%;
}

.philosophy-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.philosophy-intro-left h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
}

.philosophy-intro-right p {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  /* color: #14b8a6; Slate teal-green color */
}

/* ============ PROJECT GRID ============ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 1px;
  grid-auto-flow: dense;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 320px;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: var(--charcoal);
  transition: border-color 0.5s ease;
}

/* Asymmetric Grid Spans */
.project-card.grid-item--wide {
  grid-column: span 2;
}

.project-card.grid-item--tall {
  grid-row: span 2;
}

.project-card.grid-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {

  .project-card.grid-item--wide,
  .project-card.grid-item--tall,
  .project-card.grid-item--large {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1.2s var(--ease-out), filter 0.8s ease;
  filter: grayscale(0%) brightness(1.0);
}

.project-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 2;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 4px;
  text-transform: uppercase;
  transform: scale(0.95);
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-overlay h3 {
  transform: scale(1);
}

.project-overlay p {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 8px;
  transform: scale(0.95);
  transition: transform 0.6s var(--ease-out) 0.05s;
}

.project-card:hover .project-overlay p {
  transform: scale(1);
}

/* ============ FILTER BUTTONS ============ */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-btn {
  background: none;
  border: 1.5px solid var(--cloud);
  padding: 10px 28px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ============ SPLIT SECTION ============ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.split-image {
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 10%;
}

.split-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.split-content p {
  max-width: 600px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--steel);
  margin-bottom: 20px;
}

/* ============ ABOUT FOUNDER ============ */
.about-founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 80px;
  background: var(--grey-1);
  color: var(--black);
}

.about-founder-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}

.about-founder-image:hover img {
  transform: scale(1.05);
}

.about-founder-content {
  padding-right: 40px;
}

.about-founder-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.about-founder-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--grey-7);
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .about-founder-section {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 40px;
  }
  .about-founder-content {
    padding-right: 0;
  }
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  background: var(--grey-3);
  color: var(--black);
  padding: 120px 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--grey-1);
  padding: 50px 40px;
  border: 1px solid var(--grey-4);
  border-top: 3px solid var(--grey-7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 40px;
  color: var(--grey-7) !important;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author-info h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 4px;
  color: var(--black);
}

.testimonial-author-info span {
  font-size: 0.75rem;
  color: var(--grey-6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-stars {
  color: var(--grey-7);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 80px 40px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ CTA SECTION ============ */
.cta-section {
  position: relative;
  width: 100%;
  min-height: 70vh;
  padding: 120px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(222,220,221,0.95), rgba(222,220,221,0.7));
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  color: var(--black);
  max-width: 800px;
  padding: 0 40px;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--grey-7);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--black);
  opacity: 0.2;
}

.timeline-item {
  display: flex;
  width: 100%;
  margin-bottom: 80px;
  position: relative;
  justify-content: flex-start;
  padding-left: 40px;
}

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 8px;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--black);
  z-index: 2;
}

.timeline-content {
  background: transparent;
  padding: 0;
  border: none;
  max-width: 600px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
  font-weight: 600;
  display: block;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.8;
}

/* Dark mode compatibility for timeline */
.section-dark .timeline::before {
  background: var(--white);
}

.section-dark .timeline-dot {
  background: var(--white);
}

.section-dark .timeline-content h3 {
  color: var(--white);
}

.section-dark .timeline-content p {
  color: var(--silver);
}

/* ============ EXPERTISE GRID ============ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4px;
}

.expertise-card {
  background: var(--off-white);
  padding: 48px 36px;
  text-align: center;
  border: 1px solid var(--cloud);
  transition: var(--transition);
}

.expertise-card:hover {
  background: var(--black);
  color: var(--white);
}

.expertise-card:hover .expertise-icon {
  border-color: var(--white);
  color: var(--white);
}

.expertise-card:hover p {
  color: var(--silver);
}

.expertise-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--black);
  border-radius: 0;
  font-size: 1.2rem;
  color: var(--black);
  transition: var(--transition);
}

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.expertise-card p {
  font-size: 0.85rem;
  color: var(--steel);
  line-height: 1.7;
  transition: var(--transition);
}

/* ============ ZHA EXPERTISE GRID ============ */
.zha-expertise-section {
  background: var(--concrete-light) !important;
  color: #000000 !important;
  padding: 100px 0 !important;
}

.zha-expertise-section .section-label {
  color: #555555 !important;
  font-weight: 600 !important;
}

.zha-expertise-section .section-title {
  color: #000000 !important;
  font-weight: 700 !important;
}

.zha-expertise-section .section-line {
  background: #000000 !important;
}

.zha-expertise-section .btn {
  border: 1.5px solid #000000 !important;
  color: #000000 !important;
  background: transparent !important;
}

.zha-expertise-section .btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

.zha-expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--concrete-light);
  width: 100%;
}

.zha-expertise-cell {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  transition: background 0.35s ease, transform 0.35s ease;
  cursor: pointer;
  overflow: hidden;
}

.zha-expertise-cell:hover {
  background: #f4f4f4;
}

.zha-expertise-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.zha-expertise-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zha-expertise-cell:hover .zha-expertise-image-wrapper img {
  transform: scale(1.05);
}

.zha-expertise-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  color: #000000;
  transition: var(--transition);
}

.zha-expertise-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
  color: #000000;
}

.zha-expertise-arrow {
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zha-expertise-cell:hover .zha-expertise-arrow {
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .zha-expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .zha-expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ SOFTWARE SKILLS ============ */
.skills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}

.skill-tag {
  padding: 12px 28px;
  border: 1.5px solid var(--cloud);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  transition: var(--transition);
}

.skill-tag:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ============ CLIENT LOGOS ============ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}

.client-item {
  background: var(--off-white);
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.client-item:hover {
  background: var(--black);
}

.client-item span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  transition: var(--transition);
}

.client-item:hover span {
  color: var(--white);
}

/* ============ TRAVEL GRID ============ */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 1px;
}

.travel-card {
  position: relative;
  overflow: hidden;
}

.travel-card.wide {
  grid-column: span 2;
}

.travel-card.tall {
  grid-row: span 2;
}

.travel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.8s ease;
  filter: grayscale(0%) brightness(1.0);
}

.travel-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1.05);
}

.travel-card .travel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 2;
}

.travel-card:hover .travel-overlay {
  opacity: 1;
}

.travel-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  transform: scale(0.95);
  transition: transform 0.6s var(--ease-out);
}

.travel-card:hover h3 {
  transform: scale(1);
}

.travel-card p {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--silver);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 8px;
  transform: scale(0.95);
  transition: transform 0.6s var(--ease-out) 0.05s;
}

.travel-card:hover p {
  transform: scale(1);
}

/* ============ ABOUT SPLIT ============ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.about-image {
  background-size: cover;
  background-position: center top;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 10%;
  background: var(--concrete-light);
  color: var(--black);
}

.about-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1.1;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.about-content p {
  max-width: 600px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--steel);
  margin-bottom: 20px;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.contact-detail {
  margin-bottom: 28px;
}

.contact-detail label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-detail a,
.contact-detail p {
  font-size: 1rem;
  color: var(--black);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1.5px solid var(--cloud);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 28px;
  color: var(--black);
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--black);
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-family: var(--font-heading);
  color: var(--silver);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  border: 1.5px solid var(--black);
  color: var(--black);
  background: transparent;
  transition: var(--transition);
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

.btn-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-light:hover {
  background: var(--white);
  color: var(--black);
}

.btn-filled {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-filled:hover {
  background: var(--graphite);
}

/* ============ FOOTER (Standardized to match Header Greyscale Architectural System #dedcdd) ============ */
.footer {
  background: #ffffff !important; /* Matches header navbar background */
  color: #000000 !important;
  padding: 80px 80px 40px;
  border-top: 2px solid #000000 !important; /* Sharp architectural top border stroke */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #000000 !important;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #222222 !important;
  font-weight: 400;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #000000 !important;
  margin-bottom: 20px;
  font-weight: 800;
}

.footer a {
  display: block;
  font-size: 0.85rem;
  color: #222222 !important;
  padding: 4px 0;
  font-weight: 500;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.footer a:hover {
  color: #000000 !important;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #b5b3b4 !important;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #333333 !important;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

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

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* ============ COUNTRIES LIST ============ */
.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.country-tag {
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.country-tag:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section {
    padding: 80px 40px;
  }

  .navbar {
    padding: 20px 30px;
  }

  .split-section,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .split-content,
  .about-content {
    padding: 60px 40px;
  }

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

  .travel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 52px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 20px;
  }

  .philosophy-intro {
    padding: 100px 40px;
    gap: 40px;
  }

  .philosophy-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer {
    padding: 60px 40px 30px;
  }

}

@media (max-width: 768px) {
  .section {
    padding: 60px 24px;
  }

  .navbar {
    padding: 16px 24px;
  }

  .philosophy-intro {
    padding: 80px 24px;
    gap: 30px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .travel-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .travel-card.wide {
    grid-column: span 1;
  }

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

  .footer {
    padding: 60px 24px 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .hero-content h1 {
    letter-spacing: 3px;
  }

  .split-image {
    min-height: 300px;
  }
}

/* ============ PROJECT LIST VIEW & DYNAMIC ACCENTS ============ */
.projects-list-container {
  display: none;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 40px;
  box-sizing: border-box;
  overflow-x: auto;
}

.projects-list-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.projects-list-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.3s var(--ease);
  cursor: pointer;
}

.projects-list-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.section-dark .projects-list-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-dark .projects-list-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.projects-list-cell {
  padding: 24px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: inherit;
}

.projects-list-cell.project-title-cell {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.projects-list-header-cell {
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-7);
  border-bottom: 2px solid var(--grey-5);
}

.section-dark .projects-list-header-cell {
  color: var(--silver);
  border-bottom: 2px solid var(--grey-8);
}

/* Floating Tooltip/Thumbnail for List View */
.list-hover-thumbnail {
  position: fixed;
  width: 280px;
  height: 175px;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(15px, -50%) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--charcoal);
}

.list-hover-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Toggle Visibility Classes */
.projects-view-wrapper.show-list .projects-grid {
  display: none !important;
}

.projects-view-wrapper.show-list .projects-list-container {
  display: block !important;
}

/* Grid/List Toggle Switch UI */
.view-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 30px;
}

.view-switch-btn {
  background: none;
  border: 1px solid var(--grey-4);
  color: var(--grey-7);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition);
}

.section-dark .view-switch-btn {
  border-color: var(--grey-8);
  color: var(--silver);
}

.view-switch-btn.active,
.view-switch-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.section-dark .view-switch-btn.active,
.section-dark .view-switch-btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* ============ USER PALETTE PAGE STYLING ============ */
body.page-projects,
body.page-travel,
body.page-journey,
body.page-expertise,
body.page-clientele,
body.page-about {
  background: var(--concrete-light);
  color: var(--black);
  --navbar-bg: rgba(222, 220, 221, 0.95);
}

/* Make sections transparent on colored pages so body background shows through */
body[class^="page-"] .section-light,
body[class*=" page-"] .section-light,
body[class^="page-"] .section-white,
body[class*=" page-"] .section-white {
  background: transparent !important;
  color: var(--black) !important;
}

/* Ensure text elements on light category pages are dark and high-contrast (excluding dark/contact page) */
body[class^="page-"]:not(.page-contact) h1:not(.zha-hero-title):not(.hero-title),
body[class*=" page-"]:not(.page-contact) h1:not(.zha-hero-title):not(.hero-title),
body[class^="page-"]:not(.page-contact) h2:not(.slide-title),
body[class*=" page-"]:not(.page-contact) h2:not(.slide-title),
body[class^="page-"]:not(.page-contact) h3,
body[class*=" page-"]:not(.page-contact) h3,
body[class^="page-"]:not(.page-contact) .section-title,
body[class*=" page-"]:not(.page-contact) .section-title {
  color: var(--black) !important;
}

/* Explicit high-contrast white text for hero headers and overlays */
body .hero-title,
body .zha-hero-title,
body[class^="page-"] .hero-title,
body[class*=" page-"] .hero-title,
body[class^="page-"] .zha-hero-title,
body[class*=" page-"] .zha-hero-title,
body[class^="page-"] .zha-hero-video-content h1,
body[class*=" page-"] .zha-hero-video-content h1,
.hero-title,
.zha-hero-title,
h1.hero-title,
h1.zha-hero-title {
  color: #ffffff !important;
  text-shadow: 0 4px 25px rgba(0,0,0,0.95), 0 2px 8px rgba(0,0,0,0.9) !important;
}

body[class^="page-"] .zha-breadcrumb-inline,
body[class*=" page-"] .zha-breadcrumb-inline,
body[class^="page-"] .zha-breadcrumb-inline a,
body[class*=" page-"] .zha-breadcrumb-inline a,
body[class^="page-"] .zha-breadcrumb-inline span {
  color: rgba(255, 255, 255, 0.85) !important;
}

body[class^="page-"] p,
body[class*=" page-"] p,
body[class^="page-"] .timeline-year,
body[class*=" page-"] .timeline-year,
body[class^="page-"] .section-label,
body[class*=" page-"] .section-label {
  color: #333333 !important;
}

/* Page border elements alignment */
body[class^="page-"] .section-line,
body[class*=" page-"] .section-line {
  background: var(--black) !important;
}

/* Navigation items when page has dark text */
body[class^="page-"] .navbar:not(.scrolled) .desktop-nav a {
  color: var(--black);
}

body[class^="page-"] .navbar:not(.scrolled) .logo {
  color: var(--black);
}

body[class^="page-"] .navbar:not(.scrolled) .logo-symbol,
body[class^="page-"] .navbar:not(.scrolled) .logo-text {
  filter: invert(1) brightness(0.2);
}

body[class^="page-"] .menu-toggle span {
  background: var(--black);
}

/* Footer text visibility overrides (Enforcing Solid Black #000000 on Pure White Footer Canvas) */
body .footer h4,
body[class^="page-"] .footer h4,
body[class*=" page-"] .footer h4 {
  color: #000000 !important;
  font-weight: 800 !important;
}

body .footer a,
body[class^="page-"] .footer a,
body[class*=" page-"] .footer a {
  color: #000000 !important;
  font-weight: 600 !important;
}

body .footer p,
body[class^="page-"] .footer p,
body[class*=" page-"] .footer p {
  color: #000000 !important;
  font-weight: 600 !important;
}

body .footer-bottom span,
body[class^="page-"] .footer-bottom span,
body[class*=" page-"] .footer-bottom span {
  color: #000000 !important;
  font-weight: 700 !important;
}

/* Hide logo text on mobile to avoid overflow and maintain high-end layout */
@media (max-width: 768px) {
  .logo-text {
    display: none !important;
  }
}

/* ============ ZHA CATEGORY PAGE LIGHT & DARK DESIGN SYSTEM ============ */
body.zha-category-page {
  background-color: var(--concrete-light);
  color: var(--black);
}

/* ============================================
   CONTRAST & TEXT VISIBILITY ENGINE
   ============================================ */

body.page-dark,
body.page-dark.zha-category-page {
  background-color: #0d0d0d !important;
  color: #e5e5e5;
}

body.page-dark h1,
body.page-dark h2,
body.page-dark h3,
body.page-dark h4,
body.page-dark.zha-category-page h1,
body.page-dark.zha-category-page h2,
body.page-dark.zha-category-page h3,
body.page-dark.zha-category-page h4 {
  color: #ffffff;
}

body.page-dark p,
body.page-dark.zha-category-page p {
  color: #cccccc;
}

/* SMART LIGHT CONTAINER OVERRIDES: Ensure crisp dark text on white/light sections, even inside body.page-dark */
.section-white,
.section-light,
.bg-white,
.bg-light,
.white-bg,
.light-bg {
  background-color: #ffffff;
  color: #111111 !important;
}

.section-white h1, .section-white h2, .section-white h3, .section-white h4, .section-white h5, .section-white h6,
.section-light h1, .section-light h2, .section-light h3, .section-light h4, .section-light h5, .section-light h6,
.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white h5, .bg-white h6,
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6,
body.page-dark .section-white h1, body.page-dark .section-white h2, body.page-dark .section-white h3, body.page-dark .section-white h4,
body.page-dark .section-light h1, body.page-dark .section-light h2, body.page-dark .section-light h3, body.page-dark .section-light h4,
body.zha-category-page .section-white h1, body.zha-category-page .section-white h2, body.zha-category-page .section-white h3, body.zha-category-page .section-white h4 {
  color: #111111 !important;
}

.section-white p, .section-light p,
.bg-white p, .bg-light p,
body.page-dark .section-white p, body.page-dark .section-light p,
body.zha-category-page .section-white p {
  color: #444444 !important;
}

.section-white .section-label, .section-light .section-label,
body.page-dark .section-white .section-label, body.page-dark .section-light .section-label {
  color: #666666 !important;
}

.section-white .section-line, .section-light .section-line,
body.page-dark .section-white .section-line, body.page-dark .section-light .section-line {
  background: #111111 !important;
}

/* SMART DARK CONTAINER OVERRIDES: Ensure white/light text on dark/black sections */
.section-dark,
.section-alt,
.bg-dark,
.bg-black,
.dark-bg {
  background-color: #0b0b0b;
  color: #ffffff !important;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-alt h1, .section-alt h2, .section-alt h3, .section-alt h4,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.bg-black h1, .bg-black h2, .bg-black h3, .bg-black h4,
body.page-dark .section-dark h1, body.page-dark .section-dark h2, body.page-dark .section-dark h3, body.page-dark .section-dark h4 {
  color: #ffffff !important;
}

.section-dark p, .section-alt p,
.bg-dark p, .bg-black p,
body.page-dark .section-dark p {
  color: #cccccc !important;
}

.section-dark .section-label, .section-alt .section-label,
.bg-dark .section-label, .bg-black .section-label {
  color: #999999 !important;
}

.section-dark .section-line, .section-alt .section-line,
.bg-dark .section-line, .bg-black .section-line {
  background: #ffffff !important;
}

/* MEGA MENU & NAVBAR TEXT VISIBILITY FIX */
.navbar,
#navbar {
  background: #ffffff !important;
  color: #000000 !important;
}

.desktop-nav > a,
.nav-item-has-mega > a {
  color: #000000 !important;
}

.mega-menu {
  background-color: #ffffff !important;
}

.mega-menu-left {
  background-color: #ffffff !important;
}

.mega-menu-content,
.menu-category-content {
  background-color: #ffffff !important;
}

.mega-menu-link {
  color: #666666 !important;
}

.mega-menu-link:hover,
.mega-menu-left .menu-category:hover .mega-menu-link,
.mega-menu-left .menu-category:first-child .mega-menu-link {
  color: #000000 !important;
}

.mega-menu-sub-link {
  color: #222222 !important;
}

.mega-menu-sub-link:hover {
  color: #888888 !important;
}

/* UNIVERSAL HERO OVERLAY TEXT VISIBILITY OVERRIDES */
body .hero-section .hero-title,
body .hero-title,
body .zha-hero-video-section .zha-hero-title,
body .zha-hero-video-content .zha-hero-title,
body .zha-hero-video-content h1,
body .zha-hero-title,
.hero-title,
h1.hero-title,
h1.zha-hero-title {
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

body .zha-breadcrumb-inline,
body .zha-breadcrumb-inline a,
body .zha-breadcrumb-inline span,
.zha-breadcrumb-inline,
.zha-breadcrumb-inline a,
.zha-breadcrumb-inline span {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
  opacity: 0.95 !important;
}

/* ZHA Slider Showcase Dark Overlay Forced White Text Overrides */
.zha-slider-showcase h3,
.zha-slider-showcase .zha-slider-meta,
.zha-slider-showcase .zha-slider-counter,
.zha-slider-showcase .zha-slider-badge,
body.zha-category-page .zha-slider-showcase h3,
body.zha-category-page .zha-slider-showcase .zha-slider-meta,
body.zha-category-page .zha-slider-showcase .zha-slider-counter,
body[class^="page-"] .zha-slider-showcase h3,
body[class^="page-"] .zha-slider-showcase .zha-slider-meta,
body[class^="page-"] .zha-slider-showcase .zha-slider-counter {
  color: #ffffff !important;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 1px 5px rgba(0, 0, 0, 0.9) !important;
}

/* Navbar override for ZHA category pages */
body.zha-category-page #navbar,
body.zha-category-page .navbar {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  border-bottom: 2px solid #000000 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

body.zha-category-page #navbar .brand-name,
body.zha-category-page #navbar .brand-tagline,
body.zha-category-page #navbar .desktop-nav>a,
body.zha-category-page #navbar .nav-item-has-mega>a {
  color: var(--black) !important;
}

body.zha-category-page #navbar .logo-symbol {
  filter: none !important;
}

/* Breadcrumb Navigation */
.zha-breadcrumb {
  padding: 100px 50px 15px 50px;
  background-color: var(--concrete-light) !important;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666666 !important;
}

.zha-breadcrumb a {
  color: #555555 !important;
  transition: color 0.3s;
}

.zha-breadcrumb a:hover {
  color: var(--black) !important;
}

.zha-breadcrumb span.current {
  color: var(--black) !important;
}

/* Hero Title Video Section (Full Width Video Header) */
.zha-hero-video-section {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-color: #000000 !important;
  margin-top: 110px !important; /* Directly below fixed 110px navbar */
  padding-top: 0 !important;
}

.zha-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.zha-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 2;
}

.zha-hero-video-content {
  position: relative;
  z-index: 3;
  padding: 0 50px 50px 50px;
  width: 100%;
}

.zha-breadcrumb-inline {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 20px;
}

.zha-breadcrumb-inline a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.3s;
}

.zha-breadcrumb-inline a:hover {
  color: #ffffff !important;
}

.zha-breadcrumb-inline span.current {
  color: #ffffff !important;
}

.zha-hero-title {
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -2px;
  color: #ffffff !important;
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* Legacy Hero Title Section (Fallback) */
.zha-hero-title-section {
  padding: 15px 50px 40px 50px;
  background-color: #000000 !important;
  position: relative;
  margin-top: 0;
}

/* Ensure first element after fixed navbar sits flush with zero gap */
header.navbar + section,
header.navbar + div,
header.navbar + main {
  margin-top: 110px !important;
}

body.zha-category-page header.navbar + .zha-hero-title-section {
  padding-top: 20px;
  margin-top: 110px !important;
}

.zha-hero-title-section h1 {
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -2px;
  color: #ffffff !important;
  line-height: 1.05;
  margin: 0;
}

/* Section 1: Concept Intro (Signature Architectural Grey Canvas with index.html Structure) */
.zha-concept-section {
  width: 100%;
  padding: 110px 0 90px 0;
  background: #dedcdd !important; /* Signature architectural grey background */
  color: #000000 !important;
  border: none !important; /* Zero black border lines */
  position: relative;
  box-sizing: border-box;
}

.zha-section-badge {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 6.5vw, 5.8rem) !important; /* Massive main title matching index.html FOREVER ADVANCING SPACE, responsive on mobile */
  font-weight: 800 !important;
  letter-spacing: -1.5px !important;
  text-transform: uppercase !important;
  color: #000000 !important; /* Pure black main title */
  line-height: 1.05 !important;
  margin-bottom: 50px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: block;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  hyphens: auto;
}

.zha-section-badge::before {
  display: none !important;
}

.zha-concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr !important; /* 1fr / 1.6fr ratio matching index.html grid */
  gap: 70px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
  width: 100%;
}

.zha-concept-left h2 {
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem) !important;
  font-weight: 700 !important; /* Match index.html left column heading */
  color: #000000 !important; /* Pure black left column heading */
  line-height: 1.18 !important;
  letter-spacing: -0.5px !important;
  text-transform: uppercase !important;
}

.zha-concept-right .lead-text {
  font-family: var(--font-body), sans-serif;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem) !important;
  line-height: 1.7 !important;
  color: #111111 !important; /* High contrast dark charcoal paragraph text */
  font-weight: 400 !important;
  margin-bottom: 24px;
}

.zha-key-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.zha-point-item {
  display: inline-flex;
  align-items: center;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000000 !important;
  background: #c8c6c7;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #b5b3b4;
}

.zha-point-item i {
  color: #000000 !important;
  margin-right: 8px;
  font-size: 11px;
}

/* Section 2: Iterations Showcase (Full Section Height Widescreen Video Showcase) */
.zha-iterations-section {
  width: 100%;
  background: #dedcdd !important; /* Full-width signature architectural grey background */
  padding: 0 !important; /* Zero vertical padding so video fills section height from top to bottom border */
  border: none !important; /* Zero black border lines */
  position: relative;
  box-sizing: border-box;
}

.zha-iterations-grid {
  display: grid;
  grid-template-columns: 3.2fr 1fr !important; /* 76% Widescreen Video / 24% Text split */
  gap: 40px;
  align-items: center;
  margin: 0 auto;
  max-width: 100% !important; /* Full width edge-to-edge container */
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  box-sizing: border-box;
  width: 100%;
}

.zha-iterations-img {
  position: relative;
  width: 100%;
  height: 600px; /* Full section height - zero empty gaps above or below */
  overflow: hidden;
  border-radius: 0 !important;
  background-color: #c5c3c4;
  box-shadow: none !important;
}

.zha-iterations-img img,
.zha-iterations-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.zha-video-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 4px;
  z-index: 2;
}

.zha-iterations-text {
  width: 100%;
  padding-right: 50px;
  padding-left: 10px;
  box-sizing: border-box;
}

.zha-sub-badge {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: #000000 !important;
  display: block;
  margin-bottom: 12px;
}

.zha-iterations-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.6vw, 2.8rem) !important;
  font-weight: 800 !important;
  color: #000000 !important; /* Pure black text */
  margin-bottom: 16px;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
  text-transform: uppercase !important;
}

.zha-iterations-text p {
  font-size: clamp(0.95rem, 1.1vw, 1.12rem) !important;
  line-height: 1.6 !important;
  color: #222222 !important; /* High contrast dark charcoal text */
  font-weight: 400 !important;
  margin-bottom: 14px;
}

.zha-iterations-text .sub-desc {
  font-size: clamp(0.88rem, 1vw, 1rem) !important;
  color: #555555 !important;
  line-height: 1.55 !important;
}

/* Discover Header Structure (Section 3 Start - Full-Width Signature Architectural Grey Header Section) */
.zha-discover-header {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #dedcdd !important; /* Signature architectural grey background */
  display: grid;
  grid-template-columns: 1fr 1.6fr !important; /* 1fr / 1.6fr split matching Section 1 & index.html */
  gap: 70px;
  align-items: center;
  border: none !important; /* Zero black border lines */
  padding: 90px 50px 70px 50px;
  max-width: 100% !important;
  margin: 0 auto;
  box-sizing: border-box;
}

.pill-tag {
  display: inline-block;
  background: #000000 !important;
  color: #ffffff !important;
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  border-radius: 30px;
}

.zha-discover-title-group h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.8rem) !important;
  font-weight: 800 !important;
  color: #000000 !important; /* Pure black bold uppercase text */
  margin-bottom: 18px;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
  text-transform: uppercase !important;
}

.zha-discover-title-group p {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important;
  color: #222222 !important; /* High contrast dark charcoal body text */
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

/* Section 3: Full-width Slider Showcase */
.zha-slider-showcase {
  position: relative;
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0 !important; /* Zero margin to eliminate black patti strip */
  border: none !important;
}

.zha-slider-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.3) 100%);
}

.zha-slider-showcase-content {
  position: relative;
  z-index: 2;
  padding: 50px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.zha-slider-badge {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.zha-slider-info h3 {
  font-size: 2.8rem;
  font-weight: 300;
  color: #ffffff !important;
  margin-bottom: 12px;
  line-height: 1.2;
}

.zha-slider-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #cccccc !important;
}

.zha-slider-nav-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 3;
}

.zha-arrow-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s;
}

.zha-arrow-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

.zha-slider-counter {
  font-size: 14px;
  letter-spacing: 2px;
  color: #ffffff !important;
  font-weight: 300;
}

/* Category Grid Header Bar (Hidden for clean visual flow) */
.zha-grid-bar {
  display: none !important;
}

/* Section 4 & 5: ZHA MASONRY GRID (Strict 60/40 Alternating Block Layout) */
.zha-masonry-container {
  padding: 60px 50px 100px 50px;
  background: #dedcdd !important; /* Signature architectural grey background */
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Grid Block 1: 1 Large Left (60%), 4 Small Right (40% in 2x2) */
.zha-grid-block-1 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

/* Grid Block 2: 4 Small Left (40% in 2x2), 1 Large Right (60%) */
.zha-grid-block-2 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

.zha-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* ZHA Clean Luxury Transparent Card Styles (Zero Inner White Background) */
.zha-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #000000 !important;
  background: transparent !important; /* Zero white background inside card */
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box;
}

.zha-card:hover {
  background: transparent !important;
  transform: translateY(-6px) !important;
  box-shadow: none !important;
}

.zha-card .img-box {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 8px;
  background-color: #c5c3c4;
  border: 2px solid #000000 !important; /* Sharp 2px black architectural framing around image itself */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.zha-card:hover .img-box {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2) !important;
  border-color: #000000 !important;
}

.zha-card.large-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.zha-card.large-card .img-box {
  height: 640px !important; /* Grand 640px tall image filling vertical space completely */
  flex-shrink: 0;
}

.zha-card .img-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
  pointer-events: none;
  z-index: 2;
}

.zha-card:hover .img-box::after {
  left: 140%;
}

.zha-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top !important;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
}

.zha-card img[src*="beijing-daxing"] {
  object-position: center 40% !important;
}

.zha-card:hover img {
  transform: scale(1.04) !important;
  filter: brightness(1.03) contrast(1.02) !important;
}

.zha-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Normal Card Title (Bigger & Bolder Text) */
.zha-card-title-row h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.8rem) !important; /* Enlarged title text for normal cards */
  font-weight: 800 !important;
  color: #000000 !important;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-transform: uppercase !important;
  transition: transform 0.3s ease, color 0.3s ease !important;
}

/* BIG Featured Image Card Title (Grand Prominent Title) */
.zha-card.large-card .zha-card-title-row h3 {
  font-size: clamp(2.2rem, 3.2vw, 3rem) !important; /* Grand enlarged title for big image card */
  font-weight: 800 !important;
  color: #000000 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.8px !important;
  text-transform: uppercase !important;
  margin-top: 10px;
  margin-bottom: 10px;
}

.zha-card:hover .zha-card-title-row h3 {
  transform: translateX(4px);
  color: #000000 !important;
}

.zha-card-arrow {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 1.3rem;
  color: #000000 !important;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease !important;
  flex-shrink: 0;
}

.zha-card.large-card .zha-card-arrow {
  font-size: 1.8rem !important;
}

.zha-card:hover .zha-card-arrow {
  transform: translate(5px, -5px) scale(1.2) !important;
  background: transparent !important;
  color: #000000 !important;
}

/* Normal Card Description (Enlarged Readable Body Text) */
.zha-card-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem) !important;
  line-height: 1.6 !important;
  color: #222222 !important; /* High contrast dark charcoal body text */
  font-weight: 400 !important;
}

/* BIG Featured Image Card Description (Grand Prominent Description) */
.zha-card.large-card .zha-card-desc {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem) !important;
  line-height: 1.65 !important;
  color: #111111 !important;
  font-weight: 400 !important;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  /* Universal Tablet Armor: constrain containers >1000px */
  [style*="width: 1400px"],
  [style*="width: 1240px"],
  [style*="width: 1200px"],
  [style*="width: 1100px"],
  [style*="width: 1024px"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .zha-concept-grid,
  .zha-iterations-grid,
  .zha-discover-header,
  .zha-grid-block-1,
  .zha-grid-block-2,
  .zha-grid-block-3,
  .zha-quad-grid,
  .zha-split-grid,
  .split-grid,
  .zha-grid-bar {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .zha-breadcrumb,
  .zha-hero-title-section,
  .zha-concept-section,
  .zha-iterations-section,
  .zha-slider-showcase-content,
  .zha-grid-bar,
  .zha-masonry-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Video Support in Iterations Section & Showcase Slider */
.zha-iterations-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zha-slider-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ============ EXACT ZHA BOTTOM FOOTER BANNER (As per Reference Screenshot 2) ============ */
/* ============ EXACT ZHA BOTTOM FOOTER BANNER (Crisp White Monochrome Card Framing) ============ */
/* ============ EXACT ZHA BOTTOM FOOTER BANNER (Background Image Card) ============ */
.zha-footer-banner {
  position: relative;
  width: 100% !important;
  margin: 60px 0 0 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  background-color: #0a0a0a !important;
  background-image: url('../assets/images/zha-footer-bg.png') !important;
  background-size: cover !important;
  background-position: center !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.zha-footer-banner::before {
  content: '' !important;
  display: block !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.85) 100%) !important;
  z-index: 1;
}

.zha-footer-content {
  position: relative;
  z-index: 2;
  padding: 45px 50px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

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

.zha-footer-brand {
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: #ffffff !important;
}

.zha-footer-top-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.zha-footer-top-links a {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #cccccc !important;
  transition: color 0.3s ease;
}

.zha-footer-top-links a:hover {
  color: #ffffff !important;
  text-decoration: none;
}

.zha-footer-disclaimer {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: #bbbbbb !important;
  max-width: 1000px;
  font-weight: 300;
}

.zha-footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding-top: 24px;
}

.zha-footer-social a {
  color: #ffffff !important;
  font-size: 1.2rem;
  transition: opacity 0.3s;
}

.zha-footer-social a:hover {
  opacity: 0.7;
}

.zha-footer-legal-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.zha-footer-legal-links a {
  color: #aaaaaa !important;
  font-weight: 400;
  transition: color 0.3s;
}

.zha-footer-legal-links a:hover {
  color: #ffffff !important;
}

.zha-footer-legal-links .zha-copy {
  color: #888888 !important;
  margin-left: 10px;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .zha-footer-banner {
    width: 100% !important;
  }

  .zha-footer-content {
    padding: 30px;
    gap: 30px;
  }

  .zha-footer-top-row,
  .zha-footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .zha-footer-top-links,
  .zha-footer-legal-links {
    flex-wrap: wrap;
    gap: 15px;
  }
}

body.zha-category-page .footer {
  background: #ffffff !important;
  color: #000000 !important;
  border-top: 2px solid #000000 !important;
  padding: 80px 50px 40px;
}

body.zha-category-page .footer h4 {
  color: #000000 !important;
  font-weight: 800 !important;
  letter-spacing: 3px !important;
}

body.zha-category-page .footer p,
body.zha-category-page .footer a,
body.zha-category-page .footer span {
  color: #222222 !important;
}

body.zha-category-page .footer a:hover {
  color: #000000 !important;
  text-decoration: underline;
}

/* ================= MOBILE NAVIGATION OVERLAY ================= */
.mobile-nav-overlay {
  display: none !important;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: var(--black);
  z-index: 9998;
  padding: 40px;
  overflow-y: auto;
}

.mobile-nav-overlay.active {
  display: block !important;
}

body.zha-category-page .footer-bottom {
  border-top: 1px solid #222222 !important;
  color: #888888 !important;
}

/* ================= ULTRA-LUXURY CARD HOVER EFFECT SYSTEM ================= */
.zha-card,
.project-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease !important;
  border-radius: 4px;
  overflow: hidden;
  padding: 12px;
  background-color: transparent;
}

.zha-card:hover,
.project-card:hover {
  transform: translateY(-8px) !important;
  background-color: #ffffff !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

/* Image Container Zoom & Shine Effect */
.zha-card .img-box,
.project-card .img-container {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.zha-card .img-box::after,
.project-card .img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.zha-card:hover .img-box::after,
.project-card:hover .img-container::after {
  left: 150%;
}

.zha-card img,
.project-card img {
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
}

.zha-card:hover img,
.project-card:hover img {
  transform: scale(1.03) !important;
  filter: brightness(1.04) contrast(1.02) !important;
}

/* Arrow Diagonal Fly Effect */
.zha-card-arrow,
.card-arrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease !important;
}

.zha-card:hover .zha-card-arrow,
.project-card:hover .card-arrow {
  transform: translate(6px, -6px) scale(1.2) !important;
  color: #000000 !important;
}

/* Card Title Typography Highlight */
.zha-card-title-row h3,
.card-title {
  transition: color 0.3s ease, letter-spacing 0.3s ease !important;
}

.zha-card:hover .zha-card-title-row h3,
.project-card:hover .card-title {
  letter-spacing: 0.3px !important;
  color: #000000 !important;
}

/* ZHA Accolade & Awards Card System (Strict Architectural Greyscale Palette) */
.zha-awards-list {
  max-width: 1400px;
  margin: 40px auto 80px;
  padding: 0 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.zha-award-card {
  background: #ffffff !important; /* Crisp white card container */
  padding: 35px 40px !important;
  border-radius: 8px !important;
  border: 2px solid #000000 !important; /* Bold 2px black stroke framing */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
  box-sizing: border-box;
}

.zha-award-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16) !important;
}

.zha-award-badge {
  font-size: 11px !important;
  letter-spacing: 2.5px !important;
  color: #ffffff !important;
  background: #000000 !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  display: inline-block;
  margin-bottom: 12px;
}

.zha-award-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem) !important;
  margin: 8px 0 10px 0 !important;
  font-weight: 800 !important;
  color: #000000 !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.zha-award-card p {
  color: #222222 !important;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem) !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

.zha-award-meta {
  color: #000000 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  background: #dedcdd !important;
  padding: 10px 20px !important;
  border-radius: 20px !important;
  border: 1px solid #b5b3b4 !important;
}

/* ZHA Discipline / Specialization Card (Crisp White Monochrome Architectural Framing) */
.zha-discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 40px auto 60px;
  padding: 0 50px;
  box-sizing: border-box;
}

.zha-discipline-card {
  background: #ffffff !important; /* Pure crisp white card container */
  padding: 32px 30px !important;
  border-radius: 8px !important;
  border: 2px solid #000000 !important; /* Sharp 2px black architectural border stroke */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  box-sizing: border-box;
}

.zha-discipline-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16) !important;
}

.zha-discipline-card .sector-tag {
  font-size: 11px !important;
  letter-spacing: 2.5px !important;
  color: #000000 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.zha-discipline-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem !important;
  margin: 14px 0 10px 0 !important;
  font-weight: 800 !important;
  color: #000000 !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.zha-discipline-card p {
  color: #222222 !important;
  font-size: 1.02rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* ==========================================================================
   GLOBAL HIGH-LEGIBILITY & PROMINENT TYPOGRAPHY OVERRIDES (SITE-WIDE)
   ========================================================================== */
body {
  font-size: 17px !important;
}

p,
.zha-concept-right p,
.zha-concept-right .lead-text,
.zha-discover-title-group p,
.zha-card-desc,
.award-row-card p,
.timeline-desc,
.bento-bio-desc,
.footer p,
.zha-discipline-card p {
  color: #000000 !important;
  font-size: 1.25rem !important;
  line-height: 1.75 !important;
  font-weight: 600 !important;
}

/* Badges, tags, and small metadata */
.zha-award-badge,
.zha-point-item,
.zha-slider-badge,
.timeline-tag,
.awards-bento-badge,
.zha-discover-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
}

/* Footer text and links */
.footer a,
.footer-bottom,
.zha-footer-legal-links a,
.zha-copy {
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   GLOBAL UNSTOPPABLE MASTER FOOTER HIGH-CONTRAST VISIBILITY OVERRIDES
   ========================================================================== */
footer.footer,
.footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  border-top: 2px solid #000000 !important;
  padding: 70px 80px 40px !important;
}

footer.footer *,
.footer *,
.footer h4,
.footer p,
.footer a,
.footer span,
.footer-brand p,
.footer-bottom span {
  color: #000000 !important;
}

.footer h4 {
  font-weight: 800 !important;
  letter-spacing: 3px !important;
  font-size: 0.8rem !important;
  margin-bottom: 20px !important;
}

.footer a {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  display: block !important;
  transition: color 0.3s ease !important;
}

.footer p {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
}

.footer-bottom span {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

.footer a:hover {
  color: #000000 !important;
  text-decoration: underline !important;
}


/* ==========================================================================
   MASTER GLOBAL RESPONSIVE ENGINE (100% COVERAGE ACROSS ALL 28 PAGES)
   ========================================================================== */

/* 1. Prevent Horizontal Overflow & Touch Polish */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Ensure images and video media fit containers smoothly */
img, video, iframe {
  max-width: 100% !important;
  height: auto;
}

/* 2. TABLET RESPONSIVE BREAKPOINT (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Header & Navbar */
  .navbar {
    padding: 15px 30px !important;
  }
  .desktop-nav {
    display: none !important; /* Hide desktop nav on tablet/mobile */
  }
  .menu-toggle {
    display: flex !important; /* Show hamburger toggle */
  }

  /* Hero Section */
  .zha-hero-video-section,
  .hero-video-section,
  .hero {
    min-height: 50vh !important;
    max-height: 65vh !important;
    padding: 100px 30px 40px !important;
  }
  .zha-hero-title,
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
  }

  /* Grid Layouts */
  .zha-grid-block-1,
  .zha-grid-block-2 {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .zha-quad-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .zha-concept-grid,
  .zha-iterations-grid,
  .contact-grid,
  .about-hero-grid,
  .journey-timeline-grid,
  .bento-grid,
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Footer */
  .footer {
    padding: 50px 30px 30px !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px 30px !important;
  }
}

/* 3. MOBILE RESPONSIVE BREAKPOINT (max-width: 768px) */
@media (max-width: 768px) {
  /* Header & Logo */
  #navbar,
  header.navbar,
  .navbar {
    height: 84px !important;
    padding: 10px 16px !important;
  }
  .brand-logo img,
  .site-logo-img {
    height: 72px !important;
    max-width: 82vw !important;
    object-fit: contain !important;
    object-position: left center !important;
    image-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    filter: none !important;
  }

  /* =========================================================
     UNIVERSAL RESPONSIVE ARMOR FOR ALL 28 PAGES (MOBILE <=768px)
     ========================================================= */
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Automatically constrain any fixed-width container on mobile */
  [style*="width: 1400px"],
  [style*="width: 1240px"],
  [style*="width: 1200px"],
  [style*="width: 1100px"],
  [style*="width: 1024px"],
  [style*="width: 900px"],
  [style*="width: 850px"],
  [style*="width: 800px"],
  [style*="width: 768px"],
  [style*="min-width"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Automatically constrain excessive inline paddings on mobile */
  [style*="padding: 0 140px"],
  [style*="padding: 0 100px"],
  [style*="padding: 0 80px"],
  [style*="padding: 0 60px"],
  [style*="padding: 0 50px"],
  [style*="padding: 0 40px"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Protect all headings and badges from horizontal clipping */
  h1, h2, h3, h4, h5, h6,
  .zha-hero-title,
  .zha-hero-title-section h1,
  .zha-section-badge,
  .section-title,
  .philosophy-intro-header h2,
  .hero-content h1,
  .card-title,
  .zha-iterations-text h2,
  .zha-concept-left h2 {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    hyphens: auto !important;
  }

  .zha-section-badge {
    font-size: clamp(1.6rem, 7.5vw, 2.6rem) !important;
    padding: 0 16px !important;
    margin-bottom: 30px !important;
    letter-spacing: -0.5px !important;
  }

  .zha-hero-title,
  .zha-hero-title-section h1,
  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.8rem) !important;
    line-height: 1.15 !important;
    padding: 0 10px !important;
    letter-spacing: -1px !important;
  }

  /* Hero Section */
  .zha-hero-video-section,
  .hero-video-section,
  .hero {
    min-height: 45vh !important;
    padding: 90px 20px 30px !important;
  }
  .zha-hero-title,
  .hero h1 {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
  }
  .zha-breadcrumb-inline {
    font-size: 10px !important;
    letter-spacing: 1px !important;
    flex-wrap: wrap !important;
  }

  /* Concept & Iteration Sections */
  .zha-concept-section,
  .zha-iterations-section,
  .zha-slider-showcase {
    padding: 50px 20px !important;
  }
  .zha-concept-left h2,
  .zha-iterations-text h2,
  .section-title {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
  }

  /* Grid & Cards - Force Single Column on ALL Grid Sections */
  .zha-concept-grid,
  .zha-iterations-grid,
  .zha-discover-header,
  .zha-grid-block-1,
  .zha-grid-block-2,
  .zha-grid-block-3,
  .zha-quad-grid,
  .zha-split-grid,
  .split-grid,
  .zha-grid-bar {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .zha-discover-header {
    padding: 40px 16px 30px 16px !important;
  }
  .zha-concept-grid,
  .zha-iterations-grid {
    padding: 10px 0 !important;
  }
  .zha-discover-title-group h2 {
    font-size: clamp(1.6rem, 7vw, 2.5rem) !important;
    line-height: 1.15 !important;
  }
  .zha-masonry-container {
    padding: 20px !important;
  }
  .zha-card,
  .project-card {
    padding: 10px !important;
  }
  .zha-card .img-box,
  .project-card .img-container {
    height: 250px !important;
  }
  .zha-card-title-row h3,
  .card-title {
    font-size: 1.15rem !important;
  }

  /* Grid Meta Bar */
  .zha-grid-bar {
    padding: 15px 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 11px !important;
  }

  /* Slider Showcase */
  .zha-slider-showcase {
    height: 420px !important;
  }
  .zha-slider-showcase-content {
    padding: 20px !important;
  }
  .zha-slider-info h3 {
    font-size: 1.4rem !important;
  }

  /* Awards & Discipline Lists */
  .zha-awards-list,
  .zha-discipline-grid {
    padding: 0 20px !important;
  }
  .zha-award-card {
    padding: 24px 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Footer */
  .footer {
    padding: 40px 20px 30px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 35px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

/* 4. SMALL MOBILE BREAKPOINT (max-width: 480px) */
@media (max-width: 480px) {
  .zha-hero-title,
  .hero h1 {
    font-size: 1.8rem !important;
  }
  .zha-concept-left h2,
  .zha-iterations-text h2,
  .section-title {
    font-size: 1.5rem !important;
  }
  .zha-card .img-box,
  .project-card .img-container {
    height: 210px !important;
  }
  .fullscreen-menu nav a {
    font-size: 1.4rem !important;
  }
}


/* ==========================================================================
   MASTER HEADER & FOOTER ULTRA-RESPONSIVE ENGINE (ALL 28 PAGES)
   ========================================================================== */

/* ------------------- HEADER RESPONSIVE ------------------- */
header.navbar,
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

.brand-logo {
  display: flex !important;
  align-items: center !important;
}

.site-logo-img,
.brand-logo img {
  height: 96px !important;
  width: auto !important;
  object-fit: contain !important;
  image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
  image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
  transition: height 0.3s ease !important;
}

/* Mobile Toggle Hamburger Button */
.menu-toggle {
  display: none !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 30px !important;
  height: 20px !important;
  cursor: pointer !important;
  z-index: 10001 !important;
}

.menu-toggle span {
  display: block !important;
  width: 100% !important;
  height: 2px !important;
  background-color: #000000 !important;
  transition: all 0.3s ease !important;
}

/* Menu Toggle Active State (X Icon) */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg) !important;
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0 !important;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg) !important;
}

/* Fullscreen Mobile Overlay Menu */
.fullscreen-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: #000000 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

.fullscreen-menu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.fullscreen-menu nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
  text-align: center !important;
}

.fullscreen-menu nav a {
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif !important;
  font-size: clamp(1.4rem, 4vw, 2.2rem) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  transition: color 0.3s ease, transform 0.3s ease !important;
}

.fullscreen-menu nav a:hover {
  color: #cccccc !important;
  transform: translateX(6px) !important;
}

/* HEADER MEDIA QUERIES */
@media (min-width: 1025px) {
  .navbar {
    padding: 20px 60px !important;
  }
  .desktop-nav {
    display: flex !important;
  }
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .navbar {
    padding: 15px 30px !important;
  }
  .desktop-nav {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
  }
  .site-logo-img,
  .brand-logo img {
    height: 76px !important;
  }
}

@media (max-width: 768px) {
  #navbar,
  header.navbar,
  .navbar {
    height: 84px !important;
    padding: 10px 16px !important;
  }
  .site-logo-img,
  .brand-logo img {
    height: 72px !important;
    max-width: 82vw !important;
    object-fit: contain !important;
    object-position: left center !important;
    image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
    image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
    filter: none !important;
  }
}


/* ------------------- FOOTER RESPONSIVE ------------------- */
footer.footer,
.footer {
  background: #ffffff !important;
  color: #000000 !important;
  border-top: 2px solid #000000 !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.footer-grid {
  display: grid !important;
  box-sizing: border-box !important;
}

.footer-brand p {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  max-width: 320px !important;
}

.footer h4 {
  color: #000000 !important;
  font-weight: 800 !important;
  letter-spacing: 2.5px !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
}

.footer a {
  color: #000000 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  display: block !important;
  text-decoration: none !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
}

.footer a:hover {
  color: #000000 !important;
  text-decoration: underline !important;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0 !important;
  display: flex !important;
  box-sizing: border-box !important;
}

.footer-bottom span {
  color: #000000 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

/* FOOTER MEDIA QUERIES */
@media (min-width: 1025px) {
  footer.footer,
  .footer {
    padding: 70px 80px 40px !important;
  }
  .footer-grid {
    grid-template-columns: 2.2fr 1fr 1fr 1.2fr !important;
    gap: 60px !important;
  }
  .footer-bottom {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 30px !important;
    margin-top: 50px !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  footer.footer,
  .footer {
    padding: 50px 40px 30px !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px 30px !important;
  }
  .footer-bottom {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 25px !important;
    margin-top: 40px !important;
  }
}

@media (max-width: 768px) {
  footer.footer,
  .footer {
    padding: 40px 20px 30px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 35px !important;
  }
  .footer-brand p {
    max-width: 100% !important;
  }
  .footer a {
    padding: 4px 0 !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 20px !important;
    margin-top: 35px !important;
  }
}


/* ==========================================================================
   UNSTOPPABLE HAMBURGER & NAVBAR MOBILE VISIBILITY OVERRIDES
   ========================================================================== */

@media (max-width: 1024px) {
  /* Force Navbar Layout on Mobile */
  header.navbar,
  .navbar {
    padding: 15px 24px !important;
    background: #ffffff !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .desktop-nav {
    display: none !important;
  }

  /* Force Hamburger Toggle Button Visibility on Tablet and Mobile (<= 1024px) */
  .menu-toggle,
  #menuToggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 32px !important;
    height: 22px !important;
    cursor: pointer !important;
    z-index: 10005 !important;
    position: relative !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  /* Black Hamburger Lines on White Navbar Background */
  .menu-toggle span,
  #menuToggle span,
  .navbar .menu-toggle span,
  header.navbar .menu-toggle span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    border-radius: 2px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* White 'X' Icon when Mobile Menu Overlay is OPEN */
  .menu-toggle.active span,
  #menuToggle.active span,
  .navbar.menu-open .menu-toggle span {
    background: #ffffff !important;
    background-color: #ffffff !important;
  }

  /* X-Icon Transformations */
  .menu-toggle.active span:nth-child(1),
  #menuToggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg) !important;
  }
  .menu-toggle.active span:nth-child(2),
  #menuToggle.active span:nth-child(2) {
    opacity: 0 !important;
  }
  .menu-toggle.active span:nth-child(3),
  #menuToggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg) !important;
  }
}


/* ==========================================================================
   MOBILE DESKTOP-PARITY ACCORDION DRAWER MENU STYLES
   ========================================================================== */
.fullscreen-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: #000000 !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 90px 24px 40px !important;
  overflow-y: auto !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
  box-sizing: border-box !important;
}

.fullscreen-menu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-nav-container {
  width: 100% !important;
  max-width: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.mobile-nav-link {
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: block !important;
}

.mobile-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.mobile-accordion-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 0 !important;
}

.mobile-accordion-header a {
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

.mobile-accordion-toggle {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  padding: 8px 14px !important;
  cursor: pointer !important;
  transition: transform 0.3s ease !important;
}

.mobile-accordion-item.active .mobile-accordion-toggle {
  transform: rotate(180deg) !important;
}

.mobile-accordion-body {
  display: none !important;
  padding: 10px 0 20px 15px !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.mobile-accordion-item.active .mobile-accordion-body {
  display: flex !important;
}

.mobile-subgroup {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.mobile-subgroup-title {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #888888 !important;
  margin-top: 6px !important;
  margin-bottom: 4px !important;
}

.mobile-accordion-body a {
  font-size: 1.05rem !important;
  color: #dddddd !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  padding: 4px 0 !important;
  transition: color 0.2s ease !important;
}

.mobile-accordion-body a:hover {
  color: #ffffff !important;
}


/* ==========================================================================
   UNSTOPPABLE MOBILE ACCORDION DROPDOWN SYSTEM
   ========================================================================== */
.mobile-accordion-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 0 !important;
  cursor: pointer !important;
  user-select: none !important;
}

.mobile-accordion-title {
  font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

.mobile-accordion-toggle {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  padding: 8px 12px !important;
  cursor: pointer !important;
  transition: transform 0.3s ease !important;
}

.mobile-accordion-item.active .mobile-accordion-toggle {
  transform: rotate(180deg) !important;
}

.mobile-accordion-body {
  display: none;
  padding: 10px 0 20px 15px !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.mobile-accordion-item.active .mobile-accordion-body {
  display: flex !important;
}

.mobile-main-category-link {
  font-size: 1.1rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  letter-spacing: 1px !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.mobile-subgroup-title {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #aaaaaa !important;
  margin-top: 8px !important;
  margin-bottom: 4px !important;
  display: block !important;
}

.mobile-accordion-body a {
  font-size: 1.05rem !important;
  color: #dddddd !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  padding: 4px 0 !important;
}

.mobile-accordion-body a:hover {
  color: #ffffff !important;
}


/* ==========================================================================
   DEDICATED MOBILE DRAWER CLOSE BUTTON (TOP RIGHT '✕')
   ========================================================================== */
.mobile-menu-close-btn {
  position: absolute !important;
  top: 20px !important;
  right: 24px !important;
  font-size: 2.2rem !important;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 10010 !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}

.mobile-menu-close-btn:hover {
  transform: scale(1.15) !important;
  color: #cccccc !important;
}


/* ==========================================================================
   MASTER PERFECT RESPONSIVE IMAGE & MASONRY GRID SYSTEM (ALL DEVICES)
   ========================================================================== */

/* Universal Image Fit & Overflow Protection */
.project-card,
.zha-card {
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.img-container,
.img-box {
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.project-card img,
.zha-card img,
.img-container img,
.img-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* 1. ULTRAWIDE DESKTOP (> 1440px) */
@media (min-width: 1441px) {
  .projects-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 24px !important;
    padding: 50px 60px !important;
  }
  .zha-card.large-card .img-box {
    height: 580px !important;
  }
  .zha-card .img-box {
    height: 270px !important;
  }
}

/* 2. LAPTOP SCREENS (1025px - 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    padding: 40px !important;
  }
  .project-card.tall,
  .project-card.tall-right,
  .project-card.wide-tall,
  .project-card.wide {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: auto !important;
  }
  .project-card .img-container,
  .zha-card .img-box {
    height: 260px !important;
  }
  .zha-card.large-card .img-box {
    height: 480px !important;
  }
}

/* 3. TABLET SCREENS (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    padding: 30px !important;
  }
  .project-card,
  .project-card.tall,
  .project-card.tall-right,
  .project-card.wide-tall,
  .project-card.wide {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    width: 100% !important;
    height: auto !important;
  }
  .project-card .img-container,
  .zha-card .img-box {
    height: 280px !important;
  }
  .zha-card.large-card .img-box {
    height: 380px !important;
  }
  .zha-grid-block-1,
  .zha-grid-block-2 {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .zha-quad-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

/* 4. MOBILE SCREENS (<= 768px) */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px 16px !important;
  }
  .project-card,
  .project-card.tall,
  .project-card.tall-right,
  .project-card.wide-tall,
  .project-card.wide {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    width: 100% !important;
    height: auto !important;
  }
  .project-card .img-container,
  .zha-card .img-box,
  .zha-card.large-card .img-box {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }
  .zha-grid-block-1,
  .zha-grid-block-2,
  .zha-quad-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .zha-masonry-container {
    padding: 20px 16px !important;
  }
}

/* 5. SMALL MOBILE (<= 480px) */
@media (max-width: 480px) {
  .project-card .img-container,
  .zha-card .img-box,
  .zha-card.large-card .img-box {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
  }
}


/* ==========================================================================
   MASTER HEADER DESKTOP & MOBILE LAYOUT PROTECTION
   ========================================================================== */

/* Purge Legacy Overlay */
.mobile-nav-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Base Header Navbar Container */
header.navbar,
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease !important;
}

/* DESKTOP HEADER (min-width: 1025px) */
@media (min-width: 1025px) {
  header.navbar,
  .navbar {
    height: 110px !important;
    padding: 10px 50px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  }

  .brand-logo,
  .logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }

  .site-logo-img,
  .brand-logo img {
    height: 96px !important;
    width: auto !important;
    object-fit: contain !important;
    image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
    image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
  }

  .desktop-nav {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
  }

  .desktop-nav a {
    font-family: var(--font-heading), 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    transition: color 0.3s ease !important;
  }

  .desktop-nav a:hover {
    color: #555555 !important;
  }

  .menu-toggle,
  #menuToggle {
    display: none !important;
  }
}

/* MOBILE & TABLET HEADER (<= 1024px) */
@media (max-width: 1024px) {
  #navbar,
  header.navbar,
  .navbar {
    height: 80px !important;
    padding: 10px 24px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
  }

  .brand-logo,
  .logo {
    display: flex !important;
    align-items: center !important;
  }

  .site-logo-img,
  .brand-logo img {
    height: 58px !important;
    max-width: 75vw !important;
    width: auto !important;
    object-fit: contain !important;
    image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
    image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .menu-toggle,
  #menuToggle {
    display: flex !important;
  }
}


/* ==========================================================================
   UNSTOPPABLE FULLSCREEN SIDEBAR DRAWER & ZERO TOP GAP OVERRIDES
   ========================================================================== */

/* 1. Fullscreen Menu Overlay Styling & Placement (Zero Gap from Top) */
.fullscreen-menu,
#fullscreenMenu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important; /* Dynamic Mobile Viewport Height */
  background: linear-gradient(180deg, #0d0d0d 0%, #171717 100%) !important;
  background-color: #111111 !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 85px 24px 40px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.fullscreen-menu.active,
#fullscreenMenu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* 2. Transparent Header Bar when Menu is OPEN (Eliminating Top White Gap) */
header.navbar.menu-open,
.navbar.menu-open {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1000000 !important;
}

/* Make Brand Logo Pure White when Navbar Menu is OPEN */
.navbar.menu-open .brand-logo img,
.navbar.menu-open .site-logo-img,
.navbar.menu-open .logo img {
  filter: brightness(0) invert(1) !important;
  transition: filter 0.3s ease !important;
}

/* Dedicated Top Right Close Button ('✕') Alignment */
.mobile-menu-close-btn {
  position: fixed !important;
  top: 14px !important;
  right: 20px !important;
  font-size: 2.2rem !important;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 1000005 !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}

.mobile-menu-close-btn:hover {
  transform: scale(1.15) !important;
  color: #dddddd !important;
}


/* ==========================================================================
   ULTIMATE BULLETPROOF MOBILE DRAWER & ZERO TOP GAP SYSTEM
   ========================================================================== */

/* Fullscreen Overlay with Rich Dark Charcoal Palette (#141619) & Zero Top Gap */
.fullscreen-menu,
#fullscreenMenu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #141619 !important; /* Rich Dark Luxury Graphite Charcoal */
  background-color: #141619 !important;
  z-index: 9999999 !important; /* Topmost Z-Index */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 24px 40px 24px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.fullscreen-menu.active,
#fullscreenMenu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Header inside the Mobile Drawer */
.mobile-drawer-header {
  width: 100% !important;
  max-width: 500px !important;
  height: 65px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  margin-bottom: 20px !important;
  position: sticky !important;
  top: 0 !important;
  background: #141619 !important;
  z-index: 10 !important;
  padding-top: 10px !important;
}

.mobile-drawer-logo-img {
  height: 60px !important;
  width: auto !important;
  filter: brightness(0) invert(1) !important; /* Crisp White Logo */
  image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
  image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
}

/* Prominent Close Button ('✕') inside Drawer Header */
.mobile-menu-close-btn {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 2rem !important;
  cursor: pointer !important;
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 20 !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.mobile-menu-close-btn:hover {
  transform: scale(1.15) !important;
  color: #dddddd !important;
}

/* Hide background navbar when mobile menu is active */
.navbar.menu-open {
  display: none !important;
}


/* ==========================================================================
   EXACT PALETTE MATCH: SIGNATURE ARCHITECTURAL PLATINUM SIDEBAR (#dedcdd)
   ========================================================================== */

/* Fullscreen Overlay with Exact Project Palette (#dedcdd) */
.fullscreen-menu,
#fullscreenMenu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #dedcdd !important; /* Signature Website Theme Palette */
  background-color: #dedcdd !important;
  z-index: 9999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 24px 40px 24px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.fullscreen-menu.active,
#fullscreenMenu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Header inside the Mobile Drawer */
.mobile-drawer-header {
  width: 100% !important;
  max-width: 500px !important;
  height: 65px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 2px solid #000000 !important;
  margin-bottom: 20px !important;
  position: sticky !important;
  top: 0 !important;
  background: #dedcdd !important;
  z-index: 10 !important;
  padding-top: 10px !important;
}

.mobile-drawer-logo-img {
  height: 60px !important;
  width: auto !important;
  filter: none !important; /* Original Sharp Black Logo */
  image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
  image-rendering: auto !important; -webkit-font-smoothing: antialiased !important;
}

/* Sharp Black Close Button ('✕') */
.mobile-menu-close-btn {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  background: transparent !important;
  border: none !important;
  color: #000000 !important;
  font-size: 2rem !important;
  cursor: pointer !important;
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 20 !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.mobile-menu-close-btn:hover {
  transform: scale(1.15) !important;
  color: #555555 !important;
}

/* Navigation Links & Accordion Typography in High-Contrast Black (#000000) */
.fullscreen-menu nav a,
.mobile-nav-link {
  color: #000000 !important;
  font-weight: 700 !important;
}

.mobile-accordion-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.mobile-accordion-title {
  color: #000000 !important;
  font-weight: 700 !important;
}

.mobile-accordion-toggle {
  color: #000000 !important;
}

.mobile-main-category-link {
  color: #000000 !important;
  font-weight: 700 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.mobile-subgroup-title {
  color: #444444 !important;
  font-weight: 800 !important;
}

.mobile-subgroup a {
  color: #222222 !important;
  font-weight: 600 !important;
}

.mobile-subgroup a:hover {
  color: #000000 !important;
}


/* ==========================================================================
   MASTER HIGH-LUXURY RESPONSIVE FOOTER SYSTEM (ELIMINATING SINGLE-LINE STACK)
   ========================================================================== */

footer.footer,
.footer {
  background: #ffffff !important;
  color: #000000 !important;
  border-top: 2px solid #000000 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 60px 50px 30px !important;
}

.footer-grid {
  display: grid !important;
  box-sizing: border-box !important;
}

/* 1. DESKTOP VIEW (> 1024px) */
@media (min-width: 1025px) {
  footer.footer,
  .footer {
    padding: 70px 80px 40px !important;
  }
  .footer-grid {
    grid-template-columns: 2.2fr 1.2fr 1.2fr 1.4fr !important;
    gap: 60px !important;
  }
  .footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 30px !important;
    margin-top: 50px !important;
    border-top: 1px solid #e0e0e0 !important;
  }
}

/* 2. TABLET VIEW (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  footer.footer,
  .footer {
    padding: 50px 40px 30px !important;
  }
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr !important;
    gap: 40px 30px !important;
  }
  .footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 25px !important;
    margin-top: 40px !important;
    border-top: 1px solid #e0e0e0 !important;
  }
}

/* 3. MOBILE VIEW (<= 768px) - 2-COLUMN STRUCTURED BENTO FOOTER */
@media (max-width: 768px) {
  footer.footer,
  .footer {
    padding: 35px 20px 25px !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 16px !important;
  }

  /* Top Brand Block spans full width of grid */
  .footer-grid > .footer-brand,
  .footer-brand {
    grid-column: 1 / -1 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding-bottom: 20px !important;
    margin-bottom: 10px !important;
  }

  .footer-brand p {
    max-width: 100% !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  .footer h4 {
    font-size: 0.8rem !important;
    letter-spacing: 2px !important;
    margin-bottom: 14px !important;
  }

  .footer a {
    font-size: 0.88rem !important;
    padding: 3px 0 !important;
    margin-bottom: 8px !important;
  }

  /* Connect block spans 2 columns at bottom on mobile */
  .footer-grid > div:nth-child(4) {
    grid-column: 1 / -1 !important;
    border-top: 1px solid #e0e0e0 !important;
    padding-top: 20px !important;
    margin-top: 10px !important;
  }

  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding-top: 20px !important;
    margin-top: 25px !important;
    border-top: 1px solid #e0e0e0 !important;
  }
}

/* 4. SMALL MOBILE (<= 480px) */
@media (max-width: 480px) {
  footer.footer,
  .footer {
    padding: 30px 16px 20px !important;
  }
  .footer-grid {
    gap: 20px 12px !important;
  }
}


/* ==========================================================================
   MASTER MOBILE BLANK SPACE & HERO HEIGHT OPTIMIZATION (ZERO BLANK GAP)
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Hero Slideshow & Hero Video Height Control */
  .hero-slideshow,
  #hero {
    height: 70vh !important;
    min-height: 420px !important;
    max-height: 540px !important;
    margin-top: 60px !important;
  }

  .hero-section {
    height: 50vh !important;
    min-height: 380px !important;
    max-height: 480px !important;
    margin-top: 60px !important;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem) !important;
  }

  /* 2. Philosophy Intro Section - Match Theme Background & Eliminate Giant Black Space */
  .philosophy-intro {
    padding: 50px 20px !important;
    gap: 25px !important;
    background: #dedcdd !important; /* Matches signature architectural theme */
    color: #000000 !important;
    border-bottom: 1px solid #cbcbcb !important;
  }

  .philosophy-intro-header h2 {
    color: #000000 !important;
    font-size: clamp(2rem, 6vw, 3.2rem) !important;
    letter-spacing: -1px !important;
  }

  .philosophy-intro-left h3 {
    color: #111111 !important;
    font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
  }

  .philosophy-intro-right p {
    color: #333333 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  /* 3. Section Spacing & Padding Optimization */
  .section,
  .section-edge-to-edge,
  .zha-concept-section,
  .split-section {
    padding: 40px 20px !important;
    margin: 0 !important;
  }

  /* Eliminate margin collapse gaps between sections */
  section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-slideshow,
  #hero {
    height: 65vh !important;
    min-height: 380px !important;
    max-height: 460px !important;
  }
  .philosophy-intro {
    padding: 40px 16px !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE TITLES & CONTACT INFO PROTECTION (PREVENTS TEXT CLIPPING)
   ========================================================================== */

    /* MOBILE RESPONSIVE TITLES & CONTACT INFO PROTECTION (PREVENTS TEXT CLIPPING) */
    @media (max-width: 768px) {
      .contact-container {
        padding: 0 20px !important;
      }

      .section-header {
        margin-bottom: 40px !important;
      }

      body.page-contact .section-title,
      .section-title {
        font-size: clamp(2.2rem, 8vw, 3.4rem) !important;
        letter-spacing: 2px !important;
        line-height: 1.15 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
      }

      body.page-contact .contact-info h3,
      .contact-info h3 {
        font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
      }

      .contact-info p.desc {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
      }

      .contact-detail a, 
      .contact-detail p {
        font-size: clamp(0.95rem, 4.2vw, 1.15rem) !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
      }

      .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
      }

      .btn-filled {
        width: 100% !important;
        text-align: center !important;
        padding: 16px 24px !important;
      }
    }

    @media (max-width: 480px) {
      body.page-contact .section-title,
      .section-title {
        font-size: 2.2rem !important;
        letter-spacing: 1.5px !important;
      }
    }
