/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;700&display=swap');

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

:root {
  --ivory:   #F5F0E8;
  --cream:   #EDE7DB;
  --charcoal:#1A1A1A;
  --slate:   #2E3039; /* Darker charcoal-grey for better light mode contrast */
  --gold:    #C9A84C;
  --gold-lt: #DFC278;
  --rule:    rgba(201,168,76,0.35);
  --white:   #ffffff;
}

/* Dark Mode Overrides */
html.dark {
  --ivory:   #121212;
  --cream:   #1c1c1c;
  --charcoal:#f5f0e8;
  --slate:   #D2D6E2; /* Lighter slate-grey for better dark mode contrast */
  --gold:    #e5c368;
  --gold-lt: #ffd988;
  --rule:    rgba(229,195,104,0.2);
  --white:   #1e1e1e;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5vw;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s, border-color 0.3s;
}
html.dark nav {
  background: rgba(18,18,18,0.92);
}
.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-logo .logo-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  display: inline-block;
  transition: transform 0.3s;
}
.nav-logo:hover .logo-dot {
  transform: scaleY(1.8);
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  color: var(--gold);
  font-weight: 500;
}
.nav-links a.active::after {
  width: 100%;
  height: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s;
}
.theme-toggle-btn:hover {
  color: var(--gold);
}
#sun-icon { display: none; }
#moon-icon { display: block; }
html.dark #sun-icon { display: block; }
html.dark #moon-icon { display: none; }
.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--ivory);
  border: none;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold); color: var(--charcoal); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: rgba(245,240,232,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 5vw 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  transition: background 0.3s;
}
html.dark .mobile-menu {
  background: rgba(18,18,18,0.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a.active { color: var(--gold); font-weight: 500; }
.mobile-menu .mobile-cta {
  margin-top: 1.2rem;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.9rem 1.5rem;
  text-align: center;
  border-bottom: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu .mobile-cta:hover { background: var(--gold); color: var(--charcoal); }

/* ── MAIN CONTENT AREA ── */
main {
  flex-grow: 1;
  padding-top: 56px; /* Space for fixed nav */
}

/* ── SECTION BASE ── */
section { padding: 6rem 5vw; }
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 1.5rem; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.section-body {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--slate);
  max-width: 650px;
  letter-spacing: -0.01em;
}

/* ── RULE ── */
.section-rule {
  width: 100%; height: 1px;
  background: var(--rule);
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.9rem 2rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold); color: var(--charcoal); }
.btn-outline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  padding: 0.9rem 2rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-field {
  display: flex; flex-direction: column; gap: 0.35rem;
}
.form-field label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(74,79,92,0.4);
  padding: 0.65rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-submit {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--ivory);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.form-submit:hover { background: var(--gold); color: var(--charcoal); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 3rem 5vw 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--rule);
  transition: background 0.3s, border-color 0.3s;
}
.footer-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
}
.footer-brand span { color: var(--gold); }
.footer-copy {
  font-size: 0.72rem;
  color: var(--ivory);
  opacity: 0.4;
  letter-spacing: 0.05em;
}
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}
.footer-links a:hover { color: var(--gold); opacity: 1; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  background: #25D366;
  color: white;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  animation: none;
}
.whatsapp-float svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ── SLOGAN ACCENT HIGHLIGHT ── */
.highlight-word {
  font-weight: 700;
  font-style: normal;
  color: var(--charcoal);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  line-height: 1.1;
}
html.dark .highlight-word {
  color: var(--charcoal);
}

/* ── SCROLL REVEAL ANIMATION ── */
.text-reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── EXPERTISE GRID ── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.expertise-card {
  position: relative;
  grid-column: span 12;
  min-height: 400px;
  border: 1px solid var(--rule);
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s;
}
.expertise-card:hover {
  transform: translateY(-4px);
}
.expertise-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
  filter: grayscale(15%) contrast(102%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.expertise-card:hover img {
  transform: scale(1.04);
}
.expertise-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.4) 50%, transparent 100%);
  z-index: 2;
}
html.dark .expertise-card .overlay {
  background: linear-gradient(to top, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0.5) 50%, transparent 100%);
}
.expertise-card .card-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
}
.expertise-card .card-tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.3rem 0.8rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.expertise-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.expertise-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
}

.expertise-card.text-card {
  background: var(--cream);
  justify-content: space-between;
  color: var(--charcoal);
}
.expertise-card.text-card .card-content {
  color: var(--charcoal);
  margin-top: auto;
}
.expertise-card.text-card p {
  color: var(--slate);
}
.expertise-card.text-card .card-tag {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.2);
}
.text-card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 1.2rem;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.text-card-link:hover {
  color: var(--charcoal);
}
.text-card-link svg {
  transition: transform 0.2s;
}
.text-card-link:hover svg {
  transform: translateX(4px);
}

@media (min-width: 769px) {
  .span-8 { grid-column: span 8; }
  .span-4 { grid-column: span 4; }
}

/* ── ABOUT & LEADERSHIP ── */
.about-origin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
  margin-top: 3.5rem;
}
.pillar-card {
  background: var(--ivory);
  padding: 3rem 2.5rem;
  transition: background 0.2s;
}
.pillar-card svg {
  margin-bottom: 1.5rem;
}
.pillar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}
.pillar-card p {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 3.5rem;
}
.leader-card {
  display: flex;
  flex-direction: column;
}
.leader-portrait-container {
  width: 100%;
  aspect-ratio: 3/4;
  border: 1px solid var(--rule);
  padding: 8px;
  background: var(--cream);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}
.leader-portrait-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(102%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.leader-card:hover .leader-portrait-container img {
  transform: scale(1.04);
}
.leader-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.leader-role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.leader-bio {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate);
}

/* Expansion placeholder card */
.leader-card.expansion-card {
  border: 2px dashed var(--rule);
  padding: 2.5rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  aspect-ratio: 3/4;
  background: transparent;
}
.leader-card.expansion-card svg {
  margin-bottom: 1rem;
}
.leader-card.expansion-card h3 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.leader-card.expansion-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.leader-card.expansion-card a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.leader-card.expansion-card a:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .about-origin-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .leader-card.expansion-card {
    aspect-ratio: auto;
  }
}

/* ── CONTACT PAGE SPECIFIC ── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  border-left: 1px solid var(--rule);
  padding-left: 2rem;
}
.contact-sidebar-item h3 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.contact-sidebar-item p,
.contact-sidebar-item address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--slate);
}
.contact-sidebar-item a {
  font-size: 0.9rem;
  color: var(--charcoal);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.contact-sidebar-item a:hover {
  color: var(--gold);
}
.contact-presence-list {
  list-style: none;
}
.contact-presence-list li {
  font-size: 0.9rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}
.contact-presence-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

@media (max-width: 768px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .contact-sidebar {
    border-left: none;
    padding-left: 0;
  }
}

/* ── INVESTORS PAGE SPECIFIC ── */
.stats-bar {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 3rem 5vw;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--rule);
  padding: 1rem 0;
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.thesis-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  transition: transform 0.3s;
}
.thesis-card:hover {
  transform: translateY(-4px);
}
.thesis-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1rem;
  margin-top: 0.8rem;
}
.thesis-card p {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate);
}

.investors-criteria-box {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.criteria-list {
  list-style: none;
}
.criteria-list li {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.criteria-list li:last-child {
  margin-bottom: 0;
}
.criteria-list li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 1.2rem;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .stat-item {
    border-right: none;
  }
  .thesis-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
}
}

/* ── BRAND LOGOS BAR (MARQUEE) ── */
.brands-section {
  padding: 3rem 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.brands-title {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2rem;
  opacity: 0.7;
  text-align: center;
}
.brands-marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  display: flex;
}
.brands-marquee-container::before,
.brands-marquee-container::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 15vw;
  z-index: 2;
  pointer-events: none;
}
.brands-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--ivory) 0%, transparent 100%);
}
.brands-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--ivory) 0%, transparent 100%);
}
.brands-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
  padding: 0.5rem 0;
}
.brands-marquee-group {
  display: flex;
  align-items: center;
  gap: 8rem;
  padding-right: 8rem;
}
@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.brand-logo-card {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.brand-logo-card img {
  max-width: 195px;
  max-height: 100%;
  object-fit: contain;
}
.brand-logo-card:hover {
  transform: translateY(-2px);
}

/* ── INTERACTIVE CONCEPT EXPLORER ── */
.interactive-section {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 6rem 5vw;
}
.concept-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.concept-select-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  padding: 2.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.concept-select-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.concept-select-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
  border-color: var(--gold);
}
.concept-select-card:hover::after {
  transform: scaleX(1);
}
.concept-card-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.concept-select-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}
.concept-select-card p {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.concept-card-insight {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-weight: 500;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-top: auto;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.concept-card-insight svg {
  transition: transform 0.3s;
}
.concept-select-card:hover .concept-card-insight svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .concept-selector-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .brands-grid-row {
    gap: 2.5rem;
  }
  .brand-logo-card {
    height: 60px;
  }
  .brand-logo-card img {
    max-width: 100px;
  }
}

/* ── PORTRAIT INTERACTIVE MILESTONE CROSSFADE ── */
.portrait-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border: 1px solid var(--rule);
  padding: 8px;
  background: var(--cream);
  margin-top: 2rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-container:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 45px rgba(201,168,76,0.15);
}

.portrait-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sitting-img {
  z-index: 2;
  opacity: 1;
  filter: grayscale(10%) contrast(105%) blur(0px);
  transform: scale(1);
}

.nse-img {
  z-index: 1;
  opacity: 0;
  filter: grayscale(0%) contrast(100%) blur(15px);
  transform: scale(0.95);
}

/* Hover States for Crazy Fade */
.portrait-container:hover .sitting-img {
  opacity: 0;
  filter: grayscale(20%) contrast(90%) blur(15px);
  transform: scale(1.08);
  pointer-events: none;
}

.portrait-container:hover .nse-img {
  opacity: 1;
  filter: grayscale(0%) contrast(105%) blur(0px);
  transform: scale(1.02);
  z-index: 2;
}

/* Milestone Badge */
.milestone-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(26,26,26,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.portrait-container:hover .milestone-badge {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Portrait Caption Overlay */
.portrait-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 1rem 1.4rem;
  background: rgba(26,26,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--rule);
  color: var(--ivory);
  z-index: 3;
  transform: translateY(15px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.portrait-caption-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.portrait-caption-desc {
  font-size: 0.68rem;
  color: rgba(245,240,232,0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portrait-container:hover .portrait-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ── REFACTORED RESPONSIVE GRID LAYOUTS ── */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
  background: var(--rule);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.services-bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}
.services-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── VISITING CARD 3D EFFECT ── */
.visiting-card-container {
  perspective: 1200px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.visiting-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.75 / 1;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2.2rem 2rem;
  box-shadow: 0 15px 45px rgba(0,0,0,0.06);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}
html.dark .visiting-card {
  background: #141414;
  box-shadow: 0 15px 45px rgba(0,0,0,0.35), 0 0 1px 1px rgba(229,195,104,0.15);
}
.visiting-card-inner {
  transform: translateZ(30px);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  align-items: center;
}
.visiting-card-logo {
  width: 150px;
  height: auto;
  display: flex;
  justify-content: center;
  margin-bottom: 0.8rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.visiting-card:hover .visiting-card-logo {
  transform: translateZ(10px) scale(1.04);
}
.visiting-card-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 0.3rem;
  white-space: nowrap;
}
.visiting-card-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1.2rem;
}
.visiting-card-divider {
  width: 100%;
  height: 1px;
  background: var(--rule);
  margin-bottom: 1.2rem;
}
.visiting-card-details {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}
.card-detail-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  color: var(--slate);
  letter-spacing: 0.05em;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.card-detail-item:hover {
  color: var(--gold);
}
.card-detail-item span {
  white-space: nowrap;
}
.detail-icon {
  width: 10px;
  height: 10px;
  color: var(--gold);
  flex-shrink: 0;
}
.card-detail-divider {
  width: 1px;
  height: 10px;
  background: var(--rule);
  align-self: center;
}
.visiting-card-glare {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 5;
}
html.dark .visiting-card-glare {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(229,195,104,0.12) 0%, transparent 60%);
}

/* ── RESPONSIVE MOBILE OVERRIDES ── */
@media (max-width: 991px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    text-align: center;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-stats-badge-container {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-slogan {
    border-left: none !important;
    border-bottom: 2px solid var(--gold);
    padding-left: 0 !important;
    padding-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }
  .hero-actions {
    justify-content: center;
  }
  .services-bento {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .edge-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .edge-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding: 2rem 1rem !important;
  }
  .edge-card:last-child {
    border-bottom: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: transparent;
  }
  .service-item {
    border: 1px solid var(--rule);
    padding: 2rem 1.5rem !important;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .process-step {
    padding: 0 0.5rem !important;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .services-detail-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 440px) {
  .visiting-card {
    padding: 1.5rem 1rem;
  }
  .visiting-card-wordmark {
    font-size: 1.15rem;
    letter-spacing: 0.25em;
  }
  .visiting-card-sub {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }
  .visiting-card-details {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .card-detail-divider {
    display: none;
  }
  .card-detail-item {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── WHERE WE OPERATE LAYOUT ── */
.operate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
  margin-top: 3.5rem;
}
.operate-card {
  background: var(--ivory);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
html.dark .operate-card {
  background: #141414;
}
.operate-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}
.operate-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 991px) {
  .operate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .operate-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: transparent;
    margin-top: 2.5rem;
  }
  .operate-card {
    padding: 2rem 1.5rem;
    border: 1px solid var(--rule);
  }
}

/* Dark mode override to ensure highlight text displays white */
html.dark .highlight-word {
  color: #ffffff !important;
}

/* ── MICRO-MARKET GRID (8-TILE) ── */
.micro-market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.market-tile {
  background: var(--ivory);
  border-top: 2px solid var(--gold);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.3s ease, border-color 0.3s;
}
html.dark .market-tile {
  background: #141414;
}
.market-tile:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.market-tile h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}
.market-tile p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 991px) {
  .micro-market-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .micro-market-grid {
    grid-template-columns: 1fr;
  }
}

/* ── SITE AUDIT PROTOCOL CHECKLIST ── */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.5rem 0;
}
.checklist-tick {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.checklist-item span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── WHAT HAPPENS NEXT TIMELINE ── */
.timeline-section {
  background: var(--ivory);
  border-top: 1px solid var(--rule);
  padding: 4rem 5vw;
  margin-top: 4rem;
}
.timeline-row {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 2rem;
}
.timeline-step {
  flex: 1;
  position: relative;
}
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  width: 1px;
  height: 60%;
  background: var(--gold);
  opacity: 0.35;
}
.timeline-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.timeline-step h4 span {
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.timeline-step p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate);
}
@media (max-width: 768px) {
  .timeline-row {
    flex-direction: column;
    gap: 2.5rem;
  }
  .timeline-step:not(:last-child)::after {
    left: 2rem;
    bottom: -1.5rem;
    top: auto;
    width: 60%;
    height: 1px;
  }
}

/* ── BOTTOM CLOSING CTA SECTION ── */
.closing-cta-section {
  background: #1A1A1A;
  color: #F5F0E8;
  text-align: center;
  padding: 6rem 5vw;
  border-top: 1px solid var(--rule);
}
html.dark .closing-cta-section {
  background: #121212;
}
.closing-cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: #F5F0E8;
  margin-bottom: 2rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.closing-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.closing-cta-buttons .btn-primary {
  background: var(--gold);
  color: #1A1A1A;
}
.closing-cta-buttons .btn-primary:hover {
  background: #F5F0E8;
  color: #1A1A1A;
}
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-whatsapp:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── ABOUT AJAY GUPTA RESTRICTURE ── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding: 0 !important;
}

.photo-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.photo-side .portrait-container {
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0 !important;
}

.text-side {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #F5F0E8;
}
html.dark .text-side {
  background: #1A1A1A;
}

.about-gold-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: left;
}

.about-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 3.5vw, 42px);
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: left;
  max-width: 540px;
}
html.dark .about-headline {
  color: #ffffff;
}

.about-divider {
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.25;
  margin: 2rem 0;
}

.about-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 480px;
  text-align: left;
}
html.dark .about-body {
  color: var(--ivory);
}

.about-stats-row {
  display: flex;
  gap: 4rem;
  text-align: left;
}

.about-stat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}
html.dark .about-stat-label {
  color: var(--ivory);
}

@media (max-width: 768px) {
  .about-section {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .photo-side {
    position: relative !important;
    height: 50vh !important;
    top: auto !important;
  }
  .text-side {
    padding: 60px 24px !important;
  }
  .about-stats-row {
    gap: 2.5rem;
  }
}

/* ── SOCIAL BUTTONS ── */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--charcoal);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}
html.dark .social-btn {
  color: var(--ivory);
}
.social-btn:hover {
  background: var(--gold);
  color: #1a1a1a !important;
  transform: translateY(-1px);
}
.social-btn svg {
  transition: transform 0.3s ease;
}
.social-btn:hover svg {
  transform: scale(1.1);
}

/* Footer Social Icon Row Transitions */
.footer-social-row {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: 1rem;
}
.footer-social-row a {
  color: var(--ivory);
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
}
.footer-social-row a:hover {
  color: var(--gold);
  opacity: 1;
  transform: translateY(-1px);
}

/* Single Image Portrait overrides */
.nse-img-only {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  opacity: 1 !important;
  filter: grayscale(0%) contrast(105%) blur(0px) !important;
  transform: scale(1);
}
.portrait-container:hover .nse-img-only {
  transform: scale(1.02);
}

/* ── BACK TO HOME LINK & EXPERTISE OVERVIEW GRID ── */
.back-home-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  margin-bottom: 2rem;
  font-weight: 500;
}
.back-home-link:hover {
  color: var(--gold);
  transform: translateX(-4px);
}

.expertise-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
  margin-top: 3.5rem;
}
.exp-overview-card {
  background: var(--ivory);
  padding: 3.5rem 2.5rem;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.exp-overview-card:hover {
  background: var(--cream);
}
.exp-overview-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.exp-overview-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}
.exp-overview-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--slate);
  margin: 0;
}

@media (max-width: 991px) {
  .expertise-overview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: transparent;
  }
  .exp-overview-card {
    border: 1px solid var(--rule);
    padding: 2.5rem 2rem;
  }
}
