/*******************************
   Refactored styles.css - Premium 2025 Design Unified and Cleaned
   Navigation header/menu: boxed floating styles applied
********************************/

/* CSS Custom Properties - Centralized Theming */
:root {
  --color-primary: #4F443C;
  --color-accent: #A89486;
  --color-white: #FFFFFF;
  --color-warm-gray: #E4D8C9;
  --color-deep-gray: #333333;
  --color-light-gray: #E4D8C9;
  --font-heading: 'Sen', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-soft: 0 8px 24px rgba(15, 15, 15, 0.08), 0 2px 8px rgba(15, 15, 15, 0.04);
  --shadow-medium: 0 12px 32px rgba(15, 15, 15, 0.12), 0 4px 12px rgba(15, 15, 15, 0.06);
  --shadow-large: 0 24px 48px rgba(15, 15, 15, 0.16), 0 8px 24px rgba(15, 15, 15, 0.08);
  --shadow-gold: 0 8px 32px rgba(168, 148, 134, 0.2), 0 4px 16px rgba(168, 148, 134, 0.1);
  --gradient-gold: linear-gradient(135deg, #A89486 0%, #B8A79C 50%, #8F7E73 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(15, 15, 15, 0.4) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.6) 50%, rgba(15, 15, 15, 0.8) 100%);
  --glass-bg: rgba(248, 246, 242, 0.8);
  --glass-border: rgba(168, 148, 134, 0.25);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 50px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-white);
  color: var(--color-deep-gray);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
}

p {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.005em;
  margin-bottom: 1.5rem;
  color: var(--color-deep-gray);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.lead-text {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-deep-gray);
  opacity: 0.9;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius-full);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  border: none;
  text-decoration: none;
}

/* Hero headline reveal */
.hero-headline {
  color: #fff;
  line-height: 1.2;
  margin-top: 0.5rem;
}
.hero-headline.one-line { white-space: nowrap; }
.hero-headline .line {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
  transition: transform 600ms ease, opacity 600ms ease;
}
.hero-headline .line.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: allow hero headline to wrap into ~3 rows */
@media (max-width: 640px) {
  .hero-headline.one-line { white-space: normal; }
  .hero-headline {
    font-size: clamp(1.05rem, 5.4vw, 1.35rem);
    line-height: 1.28;
    letter-spacing: -0.01em;
  }
  .hero-headline .line { display: inline; transform: none; }
  .hero-headline .line.revealed { opacity: 1; }
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(168, 148, 134, 0.30);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #B8A79C 0%, #A89486 50%, #8F7E73 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-large), var(--shadow-gold);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--color-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: rgba(248, 246, 242, 0.9);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(248,246,242,0.7);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(248,246,242,0.08);
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

/* Header - Boxed Floating (edited menu styles) */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 100%;
  width: 1100px;
  background: transparent;
  border-radius: 14px;
  box-shadow: none;
  transition: transform 0.45s ease-in-out, top 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
  z-index: 9999;
  padding: 0.75rem 2rem;
}

.header.hidden {
  transform: translate(-50%, -130%);
}

.header.scrolled {
  top: 10px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(79, 68, 60, 0.96);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center; /* center contents when logo hidden */
  gap: 1rem;
}
.header.scrolled .header-content { justify-content: space-between; }

/* Hide logo by default, show when sticky/scrolled */
.header .logo { display: none; }
.header.scrolled .logo { display: block; }

.logo-img {
  max-height: 72px;
  transition: max-height 0.3s ease;
}

/* Swap logo variants based on header state */
.logo .logo-dark { display: none; }
.logo .logo-light { display: inline-block; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.28)); }
.header.scrolled .logo .logo-dark { display: inline-block;height: 28px; filter: brightness(0) invert(1); }
.header.scrolled .logo .logo-light { display: none; }

.header.scrolled .logo-img {
  max-height: 32px;
}

.header.scrolled .nav-link {
  color: #ffffff;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: #fff;
  box-shadow: inset 0 -3px 0 0 rgba(255,255,255,0.9);
}

.header.scrolled .nav-toggle span {
  background: rgba(255,255,255,0.9);
}

.nav-menu {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  
}
.nav-menu.show {
  max-height: 400px;
}
/* Center nav items when header is not sticky/scrolled */
.header:not(.scrolled) .menu-list { justify-content: center; }
.header:not(.scrolled) .nav-menu { justify-content: center; }
@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .nav-menu {
    position: static !important;
    inset: auto !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible !important;
    max-height: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center; /* center nav items on desktop */
    gap: 1.75rem;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .menu-list { display: flex; gap: 1.75rem; align-items: center; justify-content: center; list-style: none;
 }
  .menu-item { border: 0; }
  .nav-close, .drawer-header, .drawer-footer { display: none !important; }
}

.nav-link {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  box-shadow: inset 0 -3px 0 0 #ffffff;
  padding-bottom: 0.4rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  }
.nav-toggle:focus {
  outline: none;
}
.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 10px;
  transition: background 0.3s ease;
}

@media (max-width: 900px) {
  .nav-menu {
    display: flex;
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    --drawer-px: clamp(1.25rem, 6vw, 2.5rem);
    --drawer-header-h: calc(var(--header-h, 64px) + 12px);
    padding: calc(var(--drawer-header-h) + env(safe-area-inset-top)) calc(var(--drawer-px) + env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) calc(var(--drawer-px) + env(safe-area-inset-left));
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    z-index: 10000;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 360ms cubic-bezier(.2,.8,.2,1);
    will-change: transform;
    touch-action: pan-y;
  }
  .nav-menu.show { transform: translateX(0); }
  .nav-toggle { display: flex; }
  /* Hide hamburger when drawer is open to avoid overlapping the close button */
  body.nav-open #nav-toggle { opacity: 0; pointer-events: none; }
  .nav-menu .nav-link { padding: 0.9rem 0.5rem; font-size: 1.05rem; line-height: 1.25; letter-spacing: 0.08em; color: var(--color-primary); }
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active { color: var(--color-accent); }
  .menu-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; width: 100%; }
  .menu-item { border-bottom: 1px solid rgba(168,148,134,0.2); }
  .menu-item:last-child { border-bottom: none; }
  .nav-menu .nav-link { text-decoration: none; display: flex; align-items: center; justify-content: space-between; padding-inline: 0.25rem; }
  .nav-menu .nav-link::after { content: '›'; font-size: 1.15rem; color: rgba(51,51,51,0.35); transform: translateX(2px); }
  .nav-menu .nav-link:focus-visible { outline: 3px solid rgba(168,148,134,0.45); outline-offset: 3px; border-radius: 8px; }
  .drawer-header { position: fixed; top: 0; left: 0; right: 0; height: var(--drawer-header-h); padding-left: calc(var(--drawer-px) + env(safe-area-inset-left)); padding-right: calc(var(--drawer-px) + env(safe-area-inset-right)); padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; justify-content: space-between; z-index: 10002; }
  .drawer-header .drawer-logo { display: inline-flex; align-items: center; }
  .nav-close { display: none; position: fixed; top: calc(env(safe-area-inset-top) + 8px); right: 12px; z-index: 10003; background: rgba(255,255,255,0.95); border: 1px solid rgba(168,148,134,0.35); color: var(--color-primary); border-radius: 12px; padding: 10px; line-height: 0; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
  .nav-close:hover { background: rgba(0,0,0,0.06); }
  .nav-close i { width: 22px; height: 22px; }
  /* Show close button whenever drawer is open (button can be inside the drawer) */
  .nav-menu.show .nav-close,
  .nav-menu.show + .nav-close { display: inline-flex; align-items: center; justify-content: center; }
  .drawer-footer {
    position: sticky; bottom: 0; padding-top: 0.75rem; margin-top: 0.75rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.9) 40%);
    backdrop-filter: blur(6px);
    width: 100%;
  }
  .drawer-cta { padding-inline: 1.25rem; border-radius: 999px; }
  .drawer-social .social-link { color: var(--color-primary); }
}

/* Backdrop for mobile menu */
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 9990; display: none; }
body.nav-open .nav-backdrop { display: block; }
body.nav-open { overflow: hidden; }

/* Adjust nav colors when header becomes light */

.header.scrolled .nav-toggle span {
  background: #ffffff;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh; /* fallback */
  padding: 4rem 2rem;
  text-align: left;
  color: var(--color-white);
  background: url('../img/hero-bg.jpg') center / cover no-repeat;
  display: flex;
    align-items: center;
    justify-content: center;
  overflow: hidden; /* prevent animated children from causing page scroll */
  }

/* Modern viewport units to avoid inner scrolling on mobile */
@supports (height: 100dvh) { .hero { min-height: 100dvh; } }
@supports (height: 100svh) { .hero { min-height: 100svh; } }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.80) 10%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

/* Centered white hero logo using SVG with filter */
.hero-logo {
  display: block;
  margin: 0 auto 2rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}
@media (max-width: 640px) {
  .hero-logo { width: 200px; }
}

.hero-content .hero-title {
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

/* Enhanced UI: Hero Section Improved Text Shadow and Spacing */
.hero-title, .hero-subtitle {
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.hero-title {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
}
.hero-subtitle {
  margin-bottom: 1.75rem;
  color: #ffffff;
  line-height: 1.75;
}
/* END Enhanced UI */

.hero-content .hero-subtitle {
  max-width: 1200px;
  margin: 0.75rem auto 1.75rem auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: center;
  justify-content: center;
}

.hero-actions .btn {
  min-height: 48px;
  font-weight: 600;
}
@media (max-width: 640px) {
  /* Account for fixed header height and dynamic mobile viewport */
  .hero { padding: 3rem 1rem max(4rem, calc(env(safe-area-inset-bottom) + 3rem)); }
  .hero-actions .btn { width: 100%; max-width: 320px; }
}

/* Mobile-specific hero typography tuning */
@media (max-width: 640px) {
  .hero-content { max-width: 640px; margin: 0 auto; }
  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    text-wrap: balance;
  }
  .hero-subtitle {
    font-size: clamp(0.98rem, 4vw, 1.1rem);
    margin: 0.5rem auto 1.5rem;
    opacity: 0.95;
    text-wrap: balance;
  }
  .hero-actions { gap: 0.9rem; margin-top: 2rem; }
}

/* Scroll down indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, env(safe-area-inset-bottom) + 24px, 56px);
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  z-index: 2;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.scroll-indicator:hover { opacity: 1; transform: translateX(-50%) translateY(-2px); }
.scroll-indicator .scroll-text { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.scroll-indicator i { width: 22px; height: 22px; animation: bounceY 1.2s ease-in-out infinite; }

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Global responsive helpers */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img, picture, video, canvas, svg { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent horizontal bleed from sections on mobile */
.section, .hero, .page-hero { overflow-x: hidden; }

/* Guard against accidental horizontal overflow in complex grids */
.bento-gallery, .projects-showcase, .adv-grid, #mandate .mandate-grid { width: 100%; overflow-x: hidden; }
/* Stronger clamp for bento/cards to avoid scrollbars while animating */
.bento-gallery { overflow: hidden; overscroll-behavior: contain; }
.adv-grid, .projects-grid, #mandate .mandate-grid { overscroll-behavior: contain; }

/* Card stacks: prevent scrollbar jitter due to shadows/hover transforms */
.project-card-2025, .elegant-card, .adv-card, .model-step, .filter-card, .process-step, .mandate-card, .project-tile, .bento-tile { contain: paint; will-change: transform; }

/* Prevent vertical jiggle/inner scroll in key sections */
#track-record, #mandate, .founders-section, .projects-section, .portfolio-visual, .partner-benefits, .insights-grid-section { overflow: hidden; }

/* Header responsive width */
@media (max-width: 1200px) { .header { width: calc(100% - 32px); } }
@media (max-width: 640px) { .header { top: 12px; padding: 0.6rem 1rem; } }

/* Section spacing on mobile */
@media (max-width: 640px) { .section { padding-top: 3.5rem; padding-bottom: 3.5rem; } }

/* Mandate grid mobile optimization */
@media (max-width: 640px) { #mandate .mandate-grid { grid-template-columns: 1fr !important; } }

/* Projects grid mobile tweaks */
@media (max-width: 480px) { .projects-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* Footer responsive tweaks */
@media (max-width: 700px) {
  .footer .footer-content { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
  .footer .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.5rem 1rem; }
}

/* Portfolio table responsiveness */
.portfolio-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.portfolio-table { min-width: 640px; }

/* Reduce motion for users who prefer */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  /* Give extra breathing room to avoid overlap with scroll indicator */
  .hero { padding-bottom: 5.5rem; }
}

/* About Section - Apple Inspired Clean and Modern */
.apple-about {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--color-deep-gray);
  padding: 5rem 1rem;
  background: var(--color-light-gray);
  background-image:
    radial-gradient(700px 300px at -10% -10%, rgba(79,68,60,0.06), rgba(79,68,60,0) 60%),
    radial-gradient(600px 260px at 110% 0%, rgba(168,148,134,0.08), rgba(168,148,134,0) 65%);
}

/* Subpage Hero - Premium 2025 */
.page-hero {
  position: relative;
  padding: 7rem 0 5rem;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(168,148,134,0.20), rgba(168,148,134,0) 60%),
    radial-gradient(800px 400px at 110% 10%, rgba(79,68,60,0.12), rgba(79,68,60,0) 60%),
    linear-gradient(180deg, #3D342E 0%, #4F443C 100%);
  color: var(--color-white);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}
.page-hero .page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-hero-subtitle {
  color: #EDEBE7;
  opacity: 0.9;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.section-header .section-line {
  display: block;
  width: 72px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, #A89486, #8F7E73);
  border-radius: 2px;
}
.section-header.text-center { margin-bottom: 2rem; }
.section-subtitle { color: var(--color-deep-gray); opacity: 0.9; margin-top: 0.5rem; text-align: center;}

/* About page sections – elegant cards and grids */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* Key Competitive Advantages background */
.approach-section {
  position: relative;
  min-height: 60vh;
  background: url('../img/about-page.jpg') left bottom / contain no-repeat;
}
.approach-section { overflow: hidden; }
.founders-section { overflow: hidden; }
/* .approach-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.55) 100%);
  pointer-events: none;
} */
.approach-section .container { position: relative; z-index: 1; }
.elegant-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 1.5rem 1.4rem;
  text-align: center;
  color: var(--color-primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.elegant-card:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 16px 36px rgba(0,0,0,0.10); }
.card-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--color-accent); background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.22), rgba(168,148,134,0.06)); box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35); margin: 0 auto 0.9rem auto; font-size: 1.4rem; }
.card-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; margin: 0 0 0.35rem 0; color: var(--color-primary); }
.card-text { font-family: var(--font-body); font-size: 0.98rem; line-height: 1.6; color: rgba(51,51,51,0.85); margin: 0; }

/* Founders section – refined profiles */
.founder-profiles, .founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.founder-profile { position: relative;
}
.founder-profile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #A89486, #8F7E73); }
.founder-profile { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: start; background: var(--color-white); border: 1px solid rgba(168,148,134,0.22); border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); padding: 1.25rem; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.founder-image img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.founder-info h3 { margin: 0 0 0.15rem 0; font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); }
.founder-info h4 { margin: 0 0 0.5rem 0; color: var(--color-deep-gray); font-weight: 600; font-size: 0.95rem; }
.founder-achievements { margin: 0; padding-left: 0; list-style: none; }
.founder-achievements li { margin: 0 0 0.35rem 0; position: relative; padding-left: 1rem; color: rgba(51,51,51,0.9); }
.founder-achievements li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

/* Why Dubai – light card */
.why-dubai { background: var(--color-light-gray); border-top: 1px solid rgba(168,148,134,0.18); border-bottom: 1px solid rgba(168,148,134,0.18); }
.why-dubai .why-dubai-text { max-width: 820px; margin: 0 auto; text-align: left; background: var(--color-white); border: 1px solid rgba(168,148,134,0.22); border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); padding: 1.5rem; }
.why-dubai .dubai-advantages { margin: 0.75rem 0 0 0; padding-left: 1.1rem; }
.why-dubai .dubai-advantages li { margin-bottom: 0.35rem; }

/* CTA section – centered */
.cta-section .cta-content { text-align: center; max-width: 720px; margin: 0 auto; }

/* Premium geometric accents in hero */
.geometric-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.geometric-shapes .shape {
  position: absolute;
  display: block;
  filter: blur(18px);
  opacity: 0.35;
  transform: translateZ(0);
}
.geometric-shapes .s1 {
  width: 220px;
  height: 220px;
  top: 10%;
  left: -60px;
  background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.6), rgba(168,148,134,0) 70%);
}
.geometric-shapes .s2 {
  width: 280px;
  height: 280px;
  bottom: -80px;
  right: 10%;
  background: radial-gradient(circle at 70% 50%, rgba(79,68,60,0.25), rgba(79,68,60,0) 65%);
}
.geometric-shapes .s3 {
  width: 160px;
  height: 160px;
  top: 35%;
  right: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(228,216,201,0.35), rgba(228,216,201,0) 65%);
}
.apple-title {
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.apple-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #A89486, #8F7E73);
  margin: 0.5rem auto 2rem auto;
  border-radius: 1px;
  display: block;
}
.apple-about-content {
  display: flex;
  max-width: 1080px;
  margin: 0 auto;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}
.apple-text-area {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.apple-intro {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--color-primary);
}
.apple-description {
  font-size: 1rem;
  color: rgba(51,51,51,0.85);
  line-height: 1.6;
}
.apple-highlights {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.apple-highlight {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--color-white);
  border: 1px solid rgba(168,148,134,0.25);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.apple-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: rgba(168,148,134,0.45);
}
.apple-icon {
  color: var(--color-accent);
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.25), rgba(168,148,134,0.05));
  box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35);
}
.apple-highlight h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.125rem;
  color: #1d1d1f;
}
.apple-highlight p {
  margin: 0.25rem 0 0 0;
  color: #3c3c4399;
  font-size: 0.95rem;
  line-height: 1.4;
}
.apple-image-area {
  flex: 1 1 480px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.12);
  border: 1px solid var(--glass-border);
  position: relative;
}
.apple-image-area img {
  width: 100%;
  height: auto;
  display: block;
}
.apple-image-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(79,68,60,0.05) 0%, rgba(79,68,60,0) 40%, rgba(168,148,134,0.08) 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .apple-about-content {
    flex-direction: column-reverse;
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .apple-image-area {
    width: 100%;
  }
}

/* KPI Cards */
.about-kpis-wrap {
  padding: 2.5rem 0 2.5rem 0;
  background:#494949;
}
.about-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.kpi-card {
  position: relative;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.75rem 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(168,148,134,0.5), rgba(143,126,115,0.3));
  opacity: 0.7;
}
.kpi-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
  border-color: rgba(168,148,134,0.45);
}
.kpi-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}
.kpi-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: rgba(51,51,51,0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.kpi-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
}

@media (max-width: 700px) {
  .about-kpis {
    gap: 1rem;
  }
}

/* Updated style for Our Mandate Section - premium modern look */
#mandate {
  /* Set white background and apply illustration */
  background-color: var(--color-white);
  background-image: url('../img/home-illustration.jpg');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  text-align: center;
  position: relative;
}

/* Remove previous gradient overlays to keep image clean */
#mandate::before,
#mandate::after {
  content: none;
}

#mandate .section-header {
  margin-bottom: 3rem;
}

.section-title{  text-align: center;
}

#mandate .section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

#mandate .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

#mandate .section-line {
  display: block;
  width: 72px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, #A89486, #8F7E73);
  border-radius: 2px;
}

#mandate .mandate-content {
  max-width: 720px;
  margin: 0 auto;
}

#mandate .mandate-text {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-deep-gray);
  margin: 0;
}

/* Mandate feature grid */
#mandate .mandate-grid {
  position: relative;
  z-index: 1;
  margin: 2.25rem auto 2.25rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1300px;
  padding: 100px 20px;
}

#mandate .mandate-card {
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: left;
  transition: var(--transition);
  will-change: transform, box-shadow, border-color;
}
#mandate .mandate-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-medium), var(--shadow-gold);
  border-color: rgba(168,148,134,0.45);
}

#mandate .mandate-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-accent);
  background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.25), rgba(168,148,134,0.06));
  box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35);
  margin-bottom: 1rem;
}
#mandate .mandate-card-title {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  margin-bottom: 0.4rem;
}
#mandate .mandate-card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(51,51,51,0.9);
}

/* Chips + CTA */
#mandate .mandate-meta {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
}
#mandate .mandate-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1.5rem 0;
  padding: 0;
}
#mandate .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--glass-border);
  color: var(--color-primary);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}
#mandate .chip svg { width: 16px; height: 16px; }

#mandate .mandate-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  #mandate {
    padding: 4rem 1rem;
    /* Keep image smaller and center-right on mobile */
    background-position: center right;
    background-size: clamp(220px, 60vw, 420px);
  }
  #mandate .section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  #mandate .mandate-text {
    font-size: clamp(1rem, 3vw, 1.125rem);
  }
  #mandate .mandate-grid {
    margin: 1.75rem auto 2rem;
    padding: 3rem 1rem;
    gap: 1.15rem;
  }
}

@media (max-width: 640px) {
  #mandate .mandate-cta {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  #mandate .mandate-cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  #mandate .section-header {
    margin-bottom: 2.25rem;
  }
  #mandate .mandate-grid {
    padding: 0;
    gap: 1rem;
  }
  #mandate .mandate-card {
    text-align: center;
    padding: 1.5rem 1.4rem;
  }
  #mandate .mandate-icon {
    margin: 0 auto 0.85rem;
  }
  #mandate .mandate-card-title {
    margin-bottom: 0.35rem;
  }
  #mandate .mandate-card-text {
    font-size: 0.97rem;
  }
  #mandate .mandate-meta {
    margin-top: 1.75rem;
  }
}

/* Section padding for better breathing space */
.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  overscroll-behavior: contain;
  overflow: hidden;
}
.section > .container { overflow: visible; }

/* Home About - Rebuilt */
.home-about { position: relative; overflow: hidden; }
.hero-about {
  color: var(--color-white);
}
#about-quick{  background: url('../img/about-new-home.jpg') center / cover no-repeat;
}
.hero-about::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/about-new-home.jpg') center / cover no-repeat;
  transform: translateY(var(--parallaxY, 0px)) scale(1.06);
  will-change: transform;
  z-index: 0;
}
.hero-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 400px at -10% -10%, rgba(79,68,60,0.45), rgba(79,68,60,0) 60%),
    radial-gradient(900px 380px at 110% 10%, rgba(168,148,134,0.35), rgba(168,148,134,0) 65%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-about.about-light { color: var(--color-primary); background: var(--color-white); }
.hero-about.about-light::after { content: none; }
.hero-about.about-light::before { content: none; }
.home-about .container {
  max-width: 1200px;
}
.about-header { text-align: center; margin: 0 auto 2.5rem auto; max-width: 900px; position: relative; z-index: 2; }
.about-eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-size: 0.85rem;
}
.about-title {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  color: var(--color-white);
}
.about-light .about-title { color: var(--color-primary); }
.about-subtitle {
  margin: 0 auto;
  color: rgba(255,255,255,0.9);
}
.about-light .about-subtitle { color: var(--color-deep-gray); }
.about-panel {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  padding: 1.75rem 1.75rem 2rem;
}
.about-light .about-panel {
  background: var(--color-white);
  backdrop-filter: none;
  border-color: rgba(168,148,134,0.22);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.about-lead { color: var(--color-deep-gray); margin-bottom: 1rem; }

.about-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.about-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(168,148,134,0.25);
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.about-point:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); border-color: rgba(168,148,134,0.45); }
.point-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--color-primary);
  background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.22), rgba(168,148,134,0.06));
  box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35);
}
.point-text h3 { margin: 0; font-size: 1.05rem; color: var(--color-primary); }
.point-text p { margin: 0.2rem 0 0 0; font-size: 0.98rem; color: rgba(51,51,51,0.85); }

.about-cta { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* About section – rebuilt light layout */
.about-section { background: var(--color-white); }
.about-section .about-header { text-align: left; margin: 0 0 1.25rem 0; max-width: 900px; }
.about-section .about-cta { justify-content: flex-start; }
.about-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr); gap: 2rem; align-items: start; }
.about-card { background: var(--color-white); border: 1px solid rgba(168,148,134,0.22); border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); padding: 1.25rem; position: sticky; top: 80px; }
.about-card .about-kpis { grid-template-columns: 1fr; gap: 0.9rem; margin: 0; max-width: none; }
.about-card .kpi-card { padding: 1.25rem 1.25rem 1.1rem; }
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; } .about-card { position: static; } }

@media (max-width: 1024px) {
  .about-points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-points { grid-template-columns: 1fr; }
}

/* Updated Strategy Section Styles - Premium 2025 Design */
.strategy-overview {
  padding: 4rem 0 6rem;
}

.strategy-carousel {
  position: relative;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.strategy-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  min-width: 0;
  padding: 0.25rem 0.5rem 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}

.strategy-track::-webkit-scrollbar {
  display: none;
}

.strategy-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 2.5rem 1.75rem 2rem 1.75rem;
  min-width: 300px;
  max-width: 340px;
  min-height: 480px;
  scroll-snap-align: start;
  text-align: left;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.strategy-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}

.strategy-card .card-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 240px;
  width: 100%;
  box-shadow: 0 12px 36px rgba(168, 148, 134, 0.12);
  transition: box-shadow 0.3s ease;
}

.strategy-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.strategy-card:hover .card-image {
  box-shadow: 0 20px 52px rgba(168, 148, 134, 0.2);
}

.strategy-card:hover .card-image img {
  transform: scale(1.1);
}

.strategy-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  color: var(--color-primary);
}

.strategy-card-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  color: var(--color-deep-gray);
  line-height: 1.7;
  flex-grow: 1;
  margin: 0;
  text-align: left;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(168, 148, 134, 0.35);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  z-index: 5;
  transition: var(--transition);
}
.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.carousel-btn:hover:not(:disabled) {
  transform: scale(1.1);
  border-color: var(--color-accent);
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.95);
}
.carousel-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.carousel-btn.prev {
  left: -10px;
}

.carousel-btn.next {
  right: -10px;
}

@media (max-width: 900px) {
  .strategy-card {
    min-width: 280px;
    max-width: 100%;
    min-height: 420px;
  }
  .carousel-btn {
    display: none;
  }
}

@media (max-width: 600px) {
  .strategy-track {
    padding: 0;
  }
}

/* Projects Showcase - Bespoke, large imagery */
.projects-section { padding-top: 4rem; padding-bottom: 5rem; }
.projects-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.project-tile {
  position: relative;
  grid-column: span 6;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background: #000;
  aspect-ratio: 16 / 9;
  isolation: isolate;
}

.project-tile.featured {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-large);
}

.project-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: saturate(1.05) contrast(1.02);
}

.project-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 20%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.project-tile::before { display: none; }
.project-tile:hover img { transform: scale(1.02); }

.tile-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 1.25rem;
  z-index: 3;
  color: #fff;
}

/* Glass info card overlay for simpler, elegant look */
.tile-card {
  background: rgba(255,255,255,0.88);
  color: var(--color-primary);
  backdrop-filter: saturate(160%) blur(8px);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 1rem 1.1rem;
  max-width: 48ch;
}
.project-tile:not(.featured) .tile-card { max-width: 40ch; }
.project-tile:hover .tile-card { transform: translateY(-2px); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; border-color: rgba(168,148,134,0.45); box-shadow: 0 16px 36px rgba(0,0,0,0.12); }

.tile-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
  margin: 0;
}

.tile-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(51,51,51,0.85);
  margin: 0.4rem 0 0 0;
}

@media (max-width: 1024px) {
  .project-tile { grid-column: span 12; }
  .project-tile.featured { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .projects-showcase { gap: 1rem; }
  .tile-title { font-size: clamp(1.25rem, 4vw, 1.6rem); }
}

/* Projects Showcase – Option B (2025 editorial collage) */
.projects-section.alt-v2 .projects-showcase {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 8px; /* finer grid, even shorter tiles */
  align-items: stretch;
  position: relative;
}
.projects-section.alt-v2 .projects-showcase::after {
  content: 'Pipeline';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-heading);
  letter-spacing: 0.15em;
  font-weight: 700;
  color: rgba(51,51,51,0.2);
  font-size: 0.8rem;
}

.projects-section.alt-v2 .project-tile { aspect-ratio: auto; box-shadow: var(--shadow-large); }
.projects-section.alt-v2 .project-tile img { transform: scale(1.02); }

/* Layout mapping using nth-child to avoid extra markup */
.projects-section.alt-v2 .project-tile:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: span 28; /* ~224px via grid rows; enforce min-height below */
  min-height: 280px;
  border-radius: 22px;
}
.projects-section.alt-v2 .project-tile:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: span 18; /* ~144px via grid rows; enforce min-height below */
  min-height: 180px;
  border-radius: 18px;
}
.projects-section.alt-v2 .project-tile:nth-child(3) {
  grid-column: 8 / span 5;
  grid-row: span 18; /* ~144px via grid rows; enforce min-height below */
  min-height: 180px;
  border-radius: 18px;
}

/* Elevate the primary title size for the first tile */
.projects-section.alt-v2 .project-tile:nth-child(1) .tile-title {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
}

/* Subtle depth on hover */
.projects-section.alt-v2 .project-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}
.projects-section.alt-v2 .project-tile::before {
  opacity: 0.85;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .projects-section.alt-v2 .project-tile:nth-child(1) { grid-column: 1 / span 12; grid-row: span 24; min-height: 240px; }
  .projects-section.alt-v2 .project-tile:nth-child(2) { grid-column: 1 / span 12; grid-row: span 16; min-height: 160px; }
  .projects-section.alt-v2 .project-tile:nth-child(3) { grid-column: 1 / span 12; grid-row: span 16; min-height: 160px; }
  .projects-section.alt-v2 .projects-showcase::after { left: 0; top: -1.25rem; writing-mode: horizontal-tb; }
}

@media (max-width: 640px) {
  .projects-section.alt-v2 .project-tile { min-height: 150px; }
}

/* Selected Pipeline Projects section background */
#track-record {
  position: relative;
  /* background: url('../img/bg-3.jpg') center / cover no-repeat; */
}

/* Projects Grid – Modern 2025 Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.project-card-2025 {
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(160%) blur(6px);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.project-card-2025:hover {
  transform: translateY(-4px);
  border-color: rgba(168,148,134,0.45);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}

.project-card-2025 .card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-card-2025 .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.project-card-2025:hover .card-media img { transform: scale(1.06); }

.project-card-2025 .card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  color: var(--color-primary);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(168,148,134,0.35);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.project-card-2025 .card-body {
  padding: 1rem 1rem 1.1rem 1rem;
}
.project-card-2025 .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--color-primary);
  margin: 0 0 0.35rem 0;
}
.project-card-2025 .card-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(51,51,51,0.85);
  margin: 0;
}

@media (max-width: 640px) {
  .project-card-2025 .card-body { padding: 0.85rem 0.9rem 0.95rem 0.9rem; }
}

/* Gallery Carousel – elegant, auto-rotating */
.gallery-carousel { display: none; }

/* Bento Gallery – bespoke grid with smooth auto-change */
.bento-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 12px;
  grid-auto-flow: dense;
  gap: 12px;
  margin-top: 2rem;
}
.bento-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  background: #000;
}
.bento-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1400ms ease-in-out;
}
.bento-tile img.active { opacity: 1; }
.bento-tile img.next { opacity: 0; }

/* Tile sizes tuned to pack exactly with minimal height (12 cols x 22 rows) */
.bento-gallery .tile-lg { grid-column: span 6; grid-row: span 16; }
.bento-gallery .tile-wide { grid-column: span 6; grid-row: span 8; }
.bento-gallery .tile-tall { grid-column: span 3; grid-row: span 24; }
.bento-gallery .tile-md { grid-column: span 3; grid-row: span 8; }

@media (max-width: 1024px) {
  .bento-gallery { grid-template-columns: repeat(8, 1fr); }
  /* Keep proportions tight on tablet (~18 rows total) */
  .bento-gallery .tile-lg { grid-column: span 8; grid-row: span 12; }
  .bento-gallery .tile-wide { grid-column: span 8; grid-row: span 6; }
  .bento-gallery .tile-tall { grid-column: span 4; grid-row: span 12; }
  .bento-gallery .tile-md { grid-column: span 4; grid-row: span 6; }
}
@media (max-width: 640px) {
  .bento-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 12px;
    margin-top: 1.5rem;
  }
  .bento-gallery .tile-lg,
  .bento-gallery .tile-wide { grid-column: span 2; grid-row: span 2; }
  .bento-gallery .tile-tall { grid-column: span 1; grid-row: span 3; }
  .bento-gallery .tile-md { grid-column: span 1; grid-row: span 2; }
  .bento-gallery .tile-tall:nth-child(even) { grid-column: span 2; }
}

/* Animate-on-scroll - fade up with opacity */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

/* Key Differentiators section background */
.differentiators {
  position: relative;
  background: url('../img/bg-2.jpg') #f2efec bottom left / contain no-repeat;
}
.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .animate-on-scroll {
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }
}

@media (max-width: 640px) {
  .about-page .animate-on-scroll,
  .about-page .animate-on-scroll.animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  .home-page .animate-on-scroll,
  .home-page .animate-on-scroll.animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Footer Styles Enhancement */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 0 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-left {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-logo .logo-img {
  max-height: 42px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.footer-left p {
  max-width: 400px;
  line-height: 1.6;
  color: var(--color-warm-gray);
}

.footer-right {
  flex: 1 1 300px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-warm-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-nav a:hover,
.footer-social a:hover,
.footer-nav a:focus,
.footer-social a:focus {
  color: var(--color-accent);
  outline: none;
  transition: color 0.3s ease;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--color-warm-gray);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-link:hover,
.social-link:focus {
  color: var(--color-accent);
  outline: none;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: left;
  font-size: 0.85rem;
  color: white;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}
.footer-bottom p{color:  var(--color-warm-gray);}

@media (max-width: 700px) {
  .footer { padding: 1.75rem 0 calc(1.25rem + env(safe-area-inset-bottom)); }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  /* Make footer columns full-width on mobile and remove fixed min-widths */
  .footer-left, .footer-right {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
  .footer-right { align-items: center; }

  .footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  .footer-left, .footer-left p { text-align: center; }
  .footer-left p { margin: 0.5rem 0 0; }
  .footer-logo { display: flex; justify-content: center; }
  .footer-logo .logo-img { max-height: 36px; margin: 0 auto 1rem; }
  .footer-bottom { text-align: center; margin-top: 1rem; padding-top: 0.75rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.founder-profile:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 16px 36px rgba(0,0,0,0.10); }

@media (max-width: 640px) { .founder-profile { grid-template-columns: 1fr; } .founder-image img { width: 100%; height: 220px; } }

/* Bespoke 2025 founders split cards */
.founder-card-2025 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  background: var(--color-white);
  border: 1px solid rgba(168,148,134,0.22);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  width: 100%;
  min-width: 0;
}
.founder-card-2025:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 18px 44px rgba(0,0,0,0.12); }
.founder-card-2025 .f-media { position: relative; min-height: 0; background: var(--color-white); }
.founder-card-2025 .f-media img { position: relative; width: 100%; height: auto; object-fit: contain; display: block; }
.founder-card-2025 .f-media::after { display: none; }

/* Glass overlay for name + role over the image */
.founder-card-2025 .f-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.78);
  color: var(--color-primary);
  border: 1px solid rgba(168,148,134,0.35);
  border-radius: 14px;
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 0.75rem 1rem;
}
.founder-card-2025 .f-overlay .f-name {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}
.founder-card-2025 .f-overlay .f-role {
  margin: 0.15rem 0 0 0;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: rgba(51,51,51,0.85);
}

@media (max-width: 900px) {
  .founder-card-2025 .f-overlay { left: 10px; right: 10px; bottom: 10px; padding: 0.65rem 0.85rem; }
}
.founder-card-2025 .f-body { padding: 1.25rem 1.35rem 1.4rem; display: grid; align-content: start; gap: 0.6rem; }
.founder-card-2025 .f-name { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.6rem); color: var(--color-primary); }
.founder-card-2025 .f-role { margin: 0; font-weight: 600; font-size: 0.95rem; color: var(--color-deep-gray); }
.founder-card-2025 .founder-achievements { margin: 0.75rem 0 0 0; padding-left: 0; list-style: none; columns: 1; }
.founder-card-2025 .founder-achievements li { margin: 0 0 0.45rem 0; position: relative; padding-left: 1rem; color: rgba(51,51,51,0.9); break-inside: avoid; }
.founder-card-2025 .founder-achievements li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
/* Ensure media on top across cards */
.founder-card-2025 .f-media { order: 0; }
.founder-card-2025 .f-body { order: 0; }
@media (max-width: 900px) {
  .founder-card-2025 { grid-template-columns: 1fr; }
  .founder-card-2025 .f-media { min-height: 240px; }
  .founder-card-2025 .f-body { padding: 1.25rem 1.25rem; }
}

/* Keep single-column bullets for clarity in card grid */

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
  padding: 40px 20px;
}
@media (max-width: 1024px) { .adv-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (max-width: 640px) { .adv-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

.adv-card {
  background: var(--color-white);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 1.35rem 1.25rem 1.25rem;
  text-align: left;
  color: var(--color-primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.adv-card:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 16px 36px rgba(0,0,0,0.10); }
.adv-icon { width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; color: var(--color-accent); background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.22), rgba(168,148,134,0.06)); box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35); margin-bottom: 0.9rem; font-size: 1.4rem; }
.adv-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; margin: 0 0 0.35rem 0; color: var(--color-primary); }
.adv-text { font-family: var(--font-body); font-size: 0.98rem; line-height: 1.6; color: rgba(51,51,51,0.85); margin: 0; }

/* About page: Key Competitive Advantages as bento grid */
/* Refined layout: keep Advantages clean and consistent */
.approach-section .adv-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: initial;
  grid-auto-flow: row;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.approach-section .adv-grid .adv-card { grid-column: auto; grid-row: auto; height: 100%; }

/* Strategy page – Operating Model, Filters, Process */
.operating-model-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.model-step {
  background: var(--color-white);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 1.25rem 1.25rem 1.35rem;
  color: var(--color-primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.model-step:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 16px 36px rgba(0,0,0,0.10); }
.model-step .step-number {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.25), rgba(168,148,134,0.06));
  box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35);
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.model-step h3 { margin: 0 0 0.35rem 0; font-size: 1.1rem; font-family: var(--font-heading); }
.model-step p { margin: 0; color: rgba(51,51,51,0.85); line-height: 1.6; }

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.filter-card {
  background: var(--color-white);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 1.25rem 1.25rem 1.35rem;
  color: var(--color-primary);
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.filter-card:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 16px 36px rgba(0,0,0,0.10); }
.filter-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--color-accent); background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.22), rgba(168,148,134,0.06)); box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35); margin-bottom: 0.9rem; font-size: 1.4rem; }
.filter-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; margin: 0 0 0.35rem 0; }
.filter-card-text { font-family: var(--font-body); font-size: 0.98rem; line-height: 1.6; color: rgba(51,51,51,0.85); margin: 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.process-step {
  background: var(--color-white);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 1.25rem 1.25rem 1.35rem;
  color: var(--color-primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.process-step:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 16px 36px rgba(0,0,0,0.10); }
.process-number {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.25), rgba(168,148,134,0.06));
  box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35);
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.process-step h3 { margin: 0 0 0.35rem 0; font-size: 1.1rem; font-family: var(--font-heading); }
.process-step p { margin: 0; color: rgba(51,51,51,0.85); line-height: 1.6; }

/* Featured advantage tile spans two columns on desktop */
@media (min-width: 1024px) {
  .adv-card.featured { grid-column: span 2; min-height: 260px; }
  .adv-card.featured .adv-icon { width: 64px; height: 64px; font-size: 1.6rem; }
  .adv-card.featured .adv-title { font-size: 1.25rem; }
}

/* Strategy sections backgrounds for elegance */
.strategy-pillars {
  position: relative;
  background: url('../img/hero-bg.jpeg') center / cover no-repeat;
}
.strategy-pillars .section-title{color:white;}
.strategy-pillars .section-subtitle{color: white;}
.strategy-pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.strategy-pillars .container { position: relative; z-index: 1; }

.investment-process {
  position: relative;
  background: linear-gradient(180deg, #F7F5F2 0%, #FBFAF8 100%);
}

/* Contact page – modern two-column layout */
.contact-main {
  position: relative;
  background: linear-gradient(180deg, #FBFAF8 0%, #FFFFFF 100%);
}
.contact-main .container { position: relative; z-index: 1; }
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}
.contact-form-wrapper {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  padding: clamp(1rem, 3vw, 1.75rem);
}
.contact-form { display: grid; gap: 0.9rem; }
.contact-form .form-group { display: block; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  background: rgba(255,255,255,0.95);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(168,148,134,0.6);
  box-shadow: 0 0 0 4px rgba(168,148,134,0.12);
  background: #fff;
}

.contact-info {
  display: grid;
}
.contact-details {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(168,148,134,0.28);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  padding: clamp(1rem, 3vw, 1.5rem);
}
.contact-details h3 { margin: 0 0 0.75rem 0; font-family: var(--font-heading); }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 0.85rem; align-items: start; padding: 0.6rem 0; }
.contact-item i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--color-accent); background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.22), rgba(168,148,134,0.06)); box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35); }
.contact-item h4 { margin: 0; font-weight: 700; font-size: 1rem; }
.contact-item p { margin: 0.25rem 0 0 0; color: rgba(51,51,51,0.85); }
.contact-item a {color: var(--color-accent);}

@media (max-width: 900px) {
  .contact-content { grid-template-columns: 1fr; }
}

/* Contact CTA & Quick contact */
.contact-cta { background: linear-gradient(180deg, #F7F5F2 0%, #FBFAF8 100%); }
.contact-cta .cta-content { text-align: center; max-width: 760px; margin: 0 auto; }

.quick-contact .quick-contact-content { text-align: center; max-width: 860px; margin: 0 auto; }
.quick-contact .quick-contact-options { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.quick-contact .quick-contact-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border: 1px solid rgba(168,148,134,0.28); border-radius: 999px; background: #fff; color: var(--color-primary); box-shadow: 0 8px 20px rgba(0,0,0,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; text-decoration: none; }
.quick-contact .quick-contact-btn:hover { transform: translateY(-2px); border-color: rgba(168,148,134,0.45); box-shadow: 0 14px 28px rgba(0,0,0,0.08); }
.quick-contact .quick-contact-btn i { width: 18px; height: 18px; }

/* Portfolio page layouts */
.portfolio-table-section { background: linear-gradient(180deg, #FBFAF8 0%, #FFFFFF 100%); }
.portfolio-table-wrapper { margin-top: 1.5rem; }
.portfolio-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--color-white); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.portfolio-table th, .portfolio-table td { padding: 1.1rem 1rem; text-align: left; border-bottom: 1px solid rgba(168,148,134,0.18); }
.portfolio-table th { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.12em; color: rgba(51,51,51,0.7); background: rgba(248,246,242,0.5); }
.portfolio-table tbody tr:last-child td { border-bottom: none; }

.portfolio-visual { background: #F7F5F2; }
.project-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.25rem, 3vw, 1.75rem); align-items: stretch; }
.project-card { background: var(--color-white); border: 1px solid rgba(168,148,134,0.24); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,0.06); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 18px 44px rgba(0,0,0,0.12); }
.project-image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.project-card:hover .project-image img { transform: scale(1.06); }
.project-content { padding: 1.35rem 1.4rem 1.6rem; display: grid; gap: 0.5rem; }
.project-details { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(51,51,51,0.6); }
.project-description { margin: 0; font-size: 0.98rem; line-height: 1.7; color: rgba(51,51,51,0.85); }

.portfolio-note .note-content { background: rgba(255,255,255,0.9); border: 1px dashed rgba(168,148,134,0.45); border-radius: 16px; padding: 1.5rem; text-align: center; font-style: italic; color: rgba(51,51,51,0.75); }

.portfolio-stats { background: linear-gradient(135deg, rgba(168,148,134,0.15) 0%, rgba(255,255,255,0.9) 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(1rem, 3vw, 1.75rem); }
.stat-card { background: rgba(255,255,255,0.95); border: 1px solid rgba(168,148,134,0.24); border-radius: 18px; padding: 1.5rem 1.35rem; text-align: center; box-shadow: 0 12px 28px rgba(0,0,0,0.06); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.1); }
.stat-number { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.75rem, 5vw, 2.4rem); color: var(--color-accent); letter-spacing: -0.02em; }
.stat-label { margin-top: 0.35rem; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: rgba(51,51,51,0.65); }

/* Advisors page layouts */
.partner-benefits { background: linear-gradient(180deg, #FFFFFF 0%, #F7F5F2 100%); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1rem, 3vw, 1.75rem); }
.benefit-card { background: rgba(255,255,255,0.95); border: 1px solid rgba(168,148,134,0.24); border-radius: 18px; padding: 1.5rem 1.4rem; display: grid; gap: 0.85rem; box-shadow: 0 12px 28px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.benefit-card:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 20px 48px rgba(0,0,0,0.12); }
.benefit-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(168,148,134,0.22), rgba(168,148,134,0.06)); color: var(--color-accent); box-shadow: inset 0 0 0 1px rgba(168,148,134,0.35); }
.benefit-card h3 { margin: 0; font-size: 1.1rem; }
.benefit-card p { margin: 0; color: rgba(51,51,51,0.85); line-height: 1.7; }

.join-form-section { background: #FBFAF8; }
.join-content { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: start; }
.join-form-wrapper, .join-info { background: rgba(255,255,255,0.95); border: 1px solid rgba(168,148,134,0.24); border-radius: 18px; box-shadow: 0 14px 32px rgba(0,0,0,0.08); padding: clamp(1.35rem, 3vw, 1.85rem); }
.join-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-group { width: 100%; }
.form-group input, .form-group textarea, .newsletter-form input { width: 100%; border: 1px solid rgba(168,148,134,0.28); border-radius: 12px; padding: 0.85rem 1rem; font-size: 1rem; font-family: var(--font-body); background: rgba(255,255,255,0.95); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-group textarea { min-height: 160px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .newsletter-form input:focus { outline: none; border-color: rgba(168,148,134,0.6); box-shadow: 0 0 0 4px rgba(168,148,134,0.12); background: #fff; }

.checkbox-group { display: grid; gap: 0.75rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: rgba(51,51,51,0.85); position: relative; }
.checkbox-label input { position: absolute; opacity: 0; }
.checkmark { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(168,148,134,0.45); margin-top: 4px; display: inline-block; position: relative; flex-shrink: 0; }
.checkbox-label input:checked + .checkmark { background: var(--color-accent); border-color: var(--color-accent); }
.checkbox-label input:checked + .checkmark::after { content: ''; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.join-info h3 { margin-top: 0; }
.join-info .process-steps { display: grid; gap: 1rem; }
.process-item { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; padding: 0.9rem 1rem; border: 1px solid rgba(168,148,134,0.18); border-radius: 14px; background: rgba(248,246,242,0.6); }
.process-item .process-number { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(168,148,134,0.16); color: var(--color-primary); font-weight: 700; }
.process-text h4 { margin: 0 0 0.25rem 0; font-size: 1rem; }
.process-text p { margin: 0; font-size: 0.95rem; color: rgba(51,51,51,0.75); }

.faq-section { background: linear-gradient(180deg, #FFFFFF 0%, #F7F5F2 100%); }
.faq-list { display: grid; gap: 1rem; }
.faq-item { border: 1px solid rgba(168,148,134,0.24); border-radius: 16px; background: rgba(255,255,255,0.95); box-shadow: 0 12px 28px rgba(0,0,0,0.06); overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.35rem; cursor: pointer; }
.faq-question h3 { margin: 0; font-size: 1.05rem; }
.faq-question i { width: 20px; height: 20px; color: var(--color-accent); }
.faq-answer { padding: 0 1.35rem 1.25rem; color: rgba(51,51,51,0.85); line-height: 1.7; }

/* Insights page layouts */
.featured-article { background: linear-gradient(180deg, #FBFAF8 0%, #FFFFFF 100%); }
.featured-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: start; }
.featured-image { border-radius: 20px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,0.12); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-text { display: grid; gap: 0.85rem; }
.article-meta { display: inline-flex; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(51,51,51,0.55); }
.featured-title { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin: 0; }
.featured-excerpt { margin: 0; color: rgba(51,51,51,0.85); line-height: 1.8; }

.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.25rem, 3vw, 1.75rem); }
.insight-card { background: var(--color-white); border: 1px solid rgba(168,148,134,0.24); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,0.06); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.insight-card:hover { transform: translateY(-4px); border-color: rgba(168,148,134,0.45); box-shadow: 0 18px 44px rgba(0,0,0,0.12); }
.insight-image { aspect-ratio: 16 / 10; overflow: hidden; }
.insight-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.insight-card:hover .insight-image img { transform: scale(1.05); }
.insight-content { padding: 1.3rem 1.4rem 1.6rem; display: grid; gap: 0.65rem; flex: 1 1 auto; }
.insight-title { margin: 0; font-size: 1.15rem; }
.insight-excerpt { margin: 0; color: rgba(51,51,51,0.8); line-height: 1.7; }
.insight-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--color-accent); text-decoration: none; }
.insight-link::after { content: '›'; font-size: 1.1rem; transition: transform 0.2s ease; }
.insight-link:hover::after { transform: translateX(4px); }

.newsletter-section { background: var(--color-primary); color: var(--color-white); }
.newsletter-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(1rem, 4vw, 2.5rem); }
.newsletter-text h2 { margin: 0 0 0.5rem 0; color: var(--color-white); }
.newsletter-text p { margin: 0; color: rgba(255,255,255,0.85); }
.newsletter-form .form-group { display: flex; gap: 0.75rem; background: rgba(255,255,255,0.12); padding: 0.5rem; border-radius: 999px; align-items: center; }
.newsletter-form input { background: transparent; color: var(--color-white); border: none; flex: 1 1 auto; min-width: 160px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-form .btn { flex: 0 0 auto; padding: 0.85rem 1.6rem; }

/* Mobile-specific refinements */
@media (max-width: 900px) {
  .featured-content, .join-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 0.875rem; }
  .project-cards, .stats-grid, .benefits-grid, .insights-grid { gap: 1.25rem; }
  .newsletter-content { grid-template-columns: 1fr; text-align: center; }
  .newsletter-form .form-group { flex-direction: column; border-radius: 18px; padding: 0.75rem; }
  .newsletter-form .btn { width: 100%; }
  .featured-image { max-height: 320px; }
}

@media (max-width: 640px) {
  .section { padding-top: 3.25rem; padding-bottom: 3.25rem; }
  .page-hero { padding-top: calc(6rem + env(safe-area-inset-top)); padding-bottom: 3.5rem; }
  .hero {
    padding: calc(5rem + env(safe-area-inset-top)) 1.25rem 3.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: center top;
  }
  .hero-content {
    text-align: center;
    display: grid;
    gap: 1.1rem;
    align-items: start;
    justify-items: center;
  }
  .hero-title {
    margin: 0;
    font-size: clamp(1.75rem, 6.5vw, 2.15rem);
    line-height: 1.18;
  }
  .hero-subtitle {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.72;
    color: #ffffff;
  }
  .hero-actions {
    margin-top: 1.9rem;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    align-self: center;
    width: 100%;
  }
  .hero-actions .btn { width: min(260px, 100%); }
  .about-cta { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .about-cta .btn { width: 100%; }
  .geometric-shapes .shape { opacity: 0.22; filter: blur(22px); }
  .geometric-shapes .s1 { width: 150px; height: 150px; top: 8%; left: -20px; }
  .geometric-shapes .s2 { width: 200px; height: 200px; bottom: -60px; right: -40px; }
  .geometric-shapes .s3 { width: 120px; height: 120px; top: 48%; right: -35px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-item { grid-template-columns: 36px 1fr; }
  .project-content, .insight-content { padding: 1.1rem 1.15rem 1.3rem; }
  .stat-card { padding: 1.25rem 1.15rem; }
  .benefit-card { padding: 1.25rem 1.15rem; }
}

@media (max-width: 540px) {
  .header { width: calc(100% - 18px); top: 10px; padding: 0.55rem 0.9rem; }
  .nav-toggle span { width: 22px; }
  .hero-title { font-size: clamp(1.7rem, 7.5vw, 2rem); }
  .hero-subtitle { font-size: 1.05rem; line-height: 1.72; }
  .bento-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 16px;
  }
  .bento-gallery .tile-lg,
  .bento-gallery .tile-wide,
  .bento-gallery .tile-tall,
  .bento-gallery .tile-md { grid-column: span 1; grid-row: span 1; }
  .portfolio-table th, .portfolio-table td { padding: 0.85rem 0.75rem; font-size: 0.85rem; }
  .portfolio-table-wrapper { -webkit-overflow-scrolling: touch; }
  .newsletter-form input { min-width: 0; }
  .faq-question { padding: 1rem 1.1rem; }
  .faq-answer { padding: 0 1.1rem 1rem; }
}

@media (max-width: 420px) {
  .hero { padding: 4.5rem 1rem 3.5rem; height: 100vh; }
  .section { padding-top: 3rem; padding-bottom: 3rem; }
  .project-cards, .stats-grid, .benefits-grid, .insights-grid { gap: 1rem; }
  .kpi-card { padding: 1.25rem 1.35rem; }
  .adv-icon { width: 80px; height: 80px; }
  .process-item { grid-template-columns: 1fr; }
  .header.scrolled .nav-link {
    color: var(--color-primary);
}
}