/* ═══════════════════════════════════════════════════════════════
   ECOMMDOTS — ABOUT PAGE — MASTER STYLESHEET
═══════════════════════════════════════════════════════════════ */

:root {
  --bg-base:         #ffffff;
  --text-main:       #0a0a0a;
  --text-inverse:    #ffffff;
  --red:             #d9232d;
  --red-dark:        #b30000;
  --red-glow:        rgba(217,35,45,0.15);
  --charcoal:        #111111;
  --gray-sub:        #555555;
  --gray-light:      #f5f5f5;
  --font-display:    'Bebas Neue', sans-serif;
  --font-sans:       'Barlow', sans-serif;
  --transition:      0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --gradient-primary: linear-gradient(135deg, #ff0044 0%, #cc0000 100%);
  --glass-bg:        rgba(10,10,10,0.88);
  --glass-border:    rgba(255,255,255,0.08);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; cursor: default; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-main);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { width: 90%; max-width: 1400px; margin: 0 auto; }

/* ─── KEYFRAMES ─── */
@keyframes fadeUp    { from { opacity:0; transform:translateY(50px) } to { opacity:1; transform:translateY(0) } }
@keyframes fadeLeft  { from { opacity:0; transform:translateX(60px) } to { opacity:1; transform:translateX(0) } }
@keyframes fadeRight { from { opacity:0; transform:translateX(-60px) } to { opacity:1; transform:translateX(0) } }
@keyframes scaleIn   { from { opacity:0; transform:scale(0.8) } to { opacity:1; transform:scale(1) } }
@keyframes slideUp   { from { opacity:0; transform:translateY(80px) } to { opacity:1; transform:translateY(0) } }
@keyframes shimmer   { 0%{background-position:-200% center} 100%{background-position:200% center} }
@keyframes floatY    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes marqueeLeft { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes glowPulse { 0%,100%{box-shadow:0 0 20px rgba(217,35,45,0.25)} 50%{box-shadow:0 0 60px rgba(217,35,45,0.6)} }
@keyframes rotateSlow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes livePulse { 0%{transform:scale(1);opacity:0.8} 100%{transform:scale(2.5);opacity:0} }
@keyframes countUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes lineGrow { from{width:0} to{width:100%} }
@keyframes revealClip { from{clip-path:inset(0 100% 0 0)} to{clip-path:inset(0 0% 0 0)} }



/* SOCIALS */


  .social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 9999;
  }
 
  .toggle-btn {
    width: 52px;
    height: 58px;
    background: #111111;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 0;
    outline: none;
    transition: background 0.2s;
  }
 
  .toggle-btn:hover {
    background: #333333;
  }
 
  .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
 
  /* Rotate arrow when open */
  .social-sidebar.open .arrow-icon {
    transform: rotate(180deg);
  }
 
  /* The collapsible container */
  .social-links {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
  }
 
/* UPDATE: Increase max-height to prevent clipping the 4 icons */
.social-sidebar.open .social-links {
  max-height: 300px; 
  opacity: 1;
}

/* ADD: Right below your existing .email-btn class */
.linkedin-btn {
  background: #0A66C2;
  color: #ffffff;
}

.facebook-btn{
    background: #1877F2;
    color: #ffffff;
}
.youtube-btn {
  background: #FF0000;
  color: #ffffff;
}
 
  .social-btn {
    width: 52px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: filter 0.2s;
  }
 
  .social-btn svg {
    width: 22px;
    height: 22px;
  }
 
  .social-btn:hover {
    filter: brightness(1.15);
  }
 
  .whatsapp-btn {
    background: #25D366;
    color: #ffffff;
  }
 
  .email-btn {
    background: #E53935;
    color: #ffffff;
  }

/* ─── MOBILE OVERRIDES: HIDE SOCIAL SIDEBAR ─── */
@media (max-width: 768px) {
    .social-sidebar {
        display: none !important; 
    }
}
/* ─── HEADER (STUDIO PLATINUM MONOLITH - PERMANENTLY PINNED) ─── */
.main-header {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    background: #0d0d0f; 
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 8px 16px 8px 24px; 
    z-index: 1000;
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.9), 
        0 0 0 1px rgba(255,255,255,0.1),
        0 0 60px rgba(217, 35, 45, 0.25);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ─── BRAND LOGO (PURE VECTOR INTEGRATION) ────────────────────────────── */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    cursor: pointer;
}

.brand-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; 
    height: 50px;
    position: relative;
    will-change: transform;
}

.brand-icon-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2.1rem;
    letter-spacing: 0.02em;
    color: var(--text-inverse);
    line-height: 1;
    padding-top: 4px;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-icon-svg {
    transform: scale(1.08) rotate(4deg); 
    filter: brightness(1.15); 
}

.brand-logo:hover .brand-text {
    opacity: 0.95;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #a0a0a0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.nav-controls {
    display: flex;
    align-items: center;
}

/* ─── HEADER BUTTON (HIGH-CONTRAST & KINETIC ENGINE) ───────────── */
.btn-audit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background: #ffffff; 
    border: 1px solid #ffffff; 
    border-radius: 100px;
    color: #111111; 
    font-family: var(--font-sans);
    font-size: 11px; 
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-audit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary); 
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-audit:hover {
    border-color: transparent;
    color: #ffffff; 
    box-shadow: 0 12px 30px rgba(217, 35, 45, 0.35);
    transform: translateY(-2px);
    padding-left: 32px; 
    padding-right: 24px;
}

.btn-audit:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* ─── DROPDOWN NAVIGATION ───────────── */
.nav-has-dropdown {
    position: relative;
    perspective: 1200px; 
}

.nav-drop-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-drop-trigger svg {
    width: 14px;
    height: 14px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

.nav-has-dropdown:hover .nav-drop-trigger svg {
    transform: rotate(180deg);
    stroke: var(--red);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    padding-top: 32px; 
    transform: translateX(-50%) translateY(20px) rotateX(-10deg);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) rotateX(0deg);
}

.nav-dropdown-inner {
    background: #0d0d0f; 
    border: 1px solid rgba(255, 255, 255, 0.12); 
    border-radius: 12px;
    padding: 16px; 
    min-width: 320px; 
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.8), 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 40px rgba(217, 35, 45, 0.15); 
    position: relative;
    overflow: hidden;
}

.nav-dropdown-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-primary);
}

.nav-links .nav-drop-item {
    display: flex;
    flex-direction: column;
    padding: 18px 24px; 
    border-radius: 8px;
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links .nav-drop-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0; 
}

.nav-links .nav-drop-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links .nav-drop-item:hover {
    background: rgba(255, 255, 255, 0.03); 
    padding-left: 32px; 
    border-radius: 8px;
    border-bottom-color: transparent;
}

.nav-links .nav-drop-item:hover::before {
    transform: scaleY(1);
}

.nd-title {
    font-family: var(--font-sans);
    font-size: 14px; 
    font-weight: 700; 
    color: #ffffff; 
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.nav-links .nav-drop-item:hover .nd-title {
    color: var(--red);
}

.nd-sub {
    font-family: var(--font-sans);
    font-size: 14.5px; 
    color: rgba(255, 255, 255, 0.6); 
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.nav-links .nav-drop-item:hover .nd-sub {
    color: #ffffff; 
}

.nav-dropdown-inner.mega-menu {
    min-width: 720px; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px; 
    padding: 20px;
}

.nav-dropdown-inner.mega-menu .nav-drop-item {
    border-bottom: none !important; 
    padding: 16px 20px;
}

.nav-dropdown-inner.mega-menu .nav-drop-item:hover {
    padding-left: 28px;
}

/* ─── SOCIAL SIDEBAR OVERRIDES ─── */
.social-sidebar.open .social-links {
    max-height: 320px; /* Expanded for 4 icons */
    opacity: 1;
}
.linkedin-btn { background: #0A66C2; color: #ffffff; }
.youtube-btn { background: #FF0000; color: #ffffff; }

/* ─── CALENDLY OVERRIDES ─── */
.calendly-overlay {
    background-color: rgba(5, 5, 5, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}
.calendly-popup {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    height: 720px !important; 
    max-height: 90vh !important;
}
.calendly-overlay, .calendly-popup, .calendly-popup-content { scrollbar-width: none !important; -ms-overflow-style: none !important; }
.calendly-overlay::-webkit-scrollbar, .calendly-popup::-webkit-scrollbar, .calendly-popup-content::-webkit-scrollbar { display: none !important; }
.calendly-close-overlay { color: #ffffff !important; opacity: 0.5 !important; transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.calendly-close-overlay:hover { opacity: 1 !important; transform: scale(1.15) !important; }

/* ─── HAMBURGER BUTTON & MOBILE NAV OVERLAY ─── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1100;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(1px, -1px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(1px, 1px); }

.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.98);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 80px 48px 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}
.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 400px;
}
.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 56px);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    text-align: center;
    display: block;
    width: 100%;
    padding: 12px 0;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.3s;
}
.mobile-nav-links a:hover { color: #ffffff; }
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-cta { margin-top: 48px; }
.mobile-nav-cta .btn-audit { font-size: 12px; padding: 14px 32px; }

/* ─── HEADER MEDIA QUERIES ─── */
@media(max-width:1024px){
    .nav-links, .nav-controls .btn-audit { display: none; }
    .hamburger { display: flex; }
}
@media(max-width:768px){
    .main-header { top: 12px; width: 94%; padding: 10px 16px; }
    .brand-text { font-size: 1.6rem; }
    .brand-icon-wrap { width: 40px; height: 40px; }
    .social-sidebar { display: none !important; } /* Hide on mobile */
}
@media(max-width: 480px) {
    .main-header { top: 10px; width: 96%; padding: 8px 14px; }
    .brand-text { font-size: 1.4rem; }
}



/* ─── SECTION EYEBROW ─── */
.section-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ey-line { width: 30px; height: 2px; background: var(--red); }
.ey-text { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

/* ─── REVEAL UTILITY ─── */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.up { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(60px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.up { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.up { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.85); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.up { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ════════════════════════════════════════════════════════
   1. PAGE HERO — DEEP DARK WITH DISTORTED GRID
════════════════════════════════════════════════════════ */
.page-hero {
  background: #050505;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 80px;
}

/* Architectural grid background */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Red radial glow */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(217,35,45,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-word {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(200px, 25vw, 400px);
  color: rgba(255,255,255,0.018);
  letter-spacing: 0.04em;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-inner {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(217,35,45,0.1);
  border: 1px solid rgba(217,35,45,0.25);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-tag-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; position: relative; }
.hero-tag-dot::after { content:''; position:absolute; inset:0; border-radius:50%; background:var(--red); animation:livePulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
.hero-tag span { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 140px);
  color: #fff;
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.35s forwards;
}
.hero-h1 em { font-style: normal; color: var(--red); }

.hero-sub {
  font-family: var(--font-sans);
  font-size: 18px; font-weight: 400;
  color: #606060;
  line-height: 1.8;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

/* Right side: floating stat cards */
.hero-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  animation: fadeLeft 1s ease 0.6s forwards;
}

.hero-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.hero-stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: bottom;
}
.hero-stat-card:hover { background: rgba(217,35,45,0.05); border-color: rgba(217,35,45,0.2); transform: translateX(-8px); }
.hero-stat-card:hover::before { transform: scaleY(1); }

.hsc-val {
  font-family: var(--font-display);
  font-size: 64px; color: #fff;
  line-height: 0.9; letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.hsc-val span { color: var(--red); }
.hsc-label {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #444;
}
.hsc-desc {
  font-family: var(--font-sans);
  font-size: 14px; color: #383838;
  margin-top: 8px; line-height: 1.6;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}
.hero-scroll span {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: #333;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: floatY 2s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════
   DIVIDER STYLES
════════════════════════════════════════════════════════ */
.div-dark-white { display:block;line-height:0;background:#050505; }
.div-dark-white svg { display:block;width:100%;height:100px; }
.div-white-dark { display:block;line-height:0;background:#ffffff; }
.div-white-dark svg { display:block;width:100%;height:100px; }
.div-gray-dark { display:block;line-height:0;background:#f4f4f5; }
.div-gray-dark svg { display:block;width:100%;height:100px; }
.div-dark-gray { display:block;line-height:0;background:#0d0d0d; }
.div-dark-gray svg { display:block;width:100%;height:100px; }
.div-dark-red { display:block;line-height:0;background:#0d0d0d; }
.div-dark-red svg { display:block;width:100%;height:100px; }
.div-red-dark { display:block;line-height:0;background:linear-gradient(135deg,#a00000,#e60000); }
.div-red-dark svg { display:block;width:100%;height:100px; }
.div-white-gray { display:block;line-height:0;background:#ffffff; }
.div-white-gray svg { display:block;width:100%;height:100px; }
.div-gray-white { display:block;line-height:0;background:#f0f0f0; }
.div-gray-white svg { display:block;width:100%;height:100px; }

/* ════════════════════════════════════════════════════════
   2. ABOUT SECTION — WHITE, EDITORIAL SPLIT
════════════════════════════════════════════════════════ */
.about-section {
  background: #ffffff;
  padding: 160px 0 140px;
  position: relative;
  overflow: hidden;
}

/* Decorative corner element */
.about-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(217,35,45,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  margin-bottom: 120px;
}

.about-visual {
  position: relative;
  height: 700px;
}

/* Main large image */
.av-main {
  position: absolute;
  top: 0; left: 0;
  width: 78%; height: 82%;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 60px 120px rgba(0,0,0,0.12);
}
.av-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
  filter: contrast(1.05);
}
.about-visual:hover .av-main img { transform: scale(1.02); }

/* Accent image */
.av-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 58%; height: 55%;
  overflow: hidden;
  border-radius: 4px;
  border: 8px solid #fff;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
  z-index: 2;
}
.av-accent img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
}
.about-visual:hover .av-accent img { transform: scale(1.04); }

/* Floating year badge */
.av-badge {
  position: absolute;
  top: 18%; left: 68%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--red);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 3;
  box-shadow: 0 20px 50px rgba(217,35,45,0.4);
  animation: floatY 7s ease-in-out infinite;
}
.av-badge-num {
  font-family: var(--font-display);
  font-size: 52px; color: #fff;
  line-height: 1; letter-spacing: 0.02em;
}
.av-badge-txt {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-top: 4px;
}

/* Decorative line element */
.av-line {
  position: absolute;
  bottom: 32px; left: -24px;
  width: 80px; height: 3px;
  background: var(--red);
}
.av-line::before {
  content: '';
  position: absolute;
  top: -8px; left: 0;
  width: 24px; height: 3px;
  background: rgba(217,35,45,0.4);
}

/* Right content */
.about-content .section-eyebrow { margin-bottom: 24px; }

.about-h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 6.5vw, 96px);
  color: var(--charcoal);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}
.about-h2 em { font-style: normal; color: var(--red); }

.about-lead {
  font-family: var(--font-sans);
  font-size: 19px; font-weight: 400;
  color: #444; line-height: 1.8;
  margin-bottom: 40px;
  padding-left: 24px;
  border-left: 3px solid var(--red);
}

.about-body {
  font-family: var(--font-sans);
  font-size: 16px; color: #666;
  line-height: 1.85;
  margin-bottom: 48px;
}

/* Value pillars */
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.pillar-item {
  padding: 24px 20px;
  background: #f8f8f8;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.pillar-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217,35,45,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pillar-item:hover { border-bottom-color: var(--red); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.pillar-item:hover::before { opacity: 1; }
.pi-icon {
  width: 40px; height: 40px;
  background: rgba(217,35,45,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pi-icon svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.pi-title {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 8px;
}
.pi-desc {
  font-family: var(--font-sans);
  font-size: 13px; color: #777; line-height: 1.6;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--red); color: #fff;
  padding: 16px 32px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 4px;
  position: relative; overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(217,35,45,0.25);
}
.btn-primary::before { content:''; position:absolute; inset:0; background:var(--red-dark); transform:translateX(-101%); transition:transform 0.3s ease; }
.btn-primary:hover::before { transform:translateX(0); }
.btn-primary:hover { box-shadow:0 16px 40px rgba(217,35,45,0.4); transform:translateY(-2px); }
.btn-primary span { position:relative; z-index:1; }
.btn-primary svg { position:relative; z-index:1; width:16px; height:16px; fill:none; stroke:#fff; stroke-width:2; transition:transform 0.4s ease; }
.btn-primary:hover svg { transform:translateX(6px); }

/* ════════════════════════════════════════════════════════
   CINEMATIC JOURNEY SECTION — PREMIUM SCROLL TRACK
════════════════════════════════════════════════════════ */
.premium-journey-wrapper {
  position: relative;
  padding: 80px 0 60px;
  margin-top: 20px;
}

.pj-header {
  text-align: center;
  margin-bottom: 100px;
}

/* Scroll-Synced Glowing Track */
.pj-track-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

.pj-center-line {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px; 
  background: rgba(0,0,0,0.06);
  transform: translateX(-50%);
}

.pj-center-line-fill {
  position: absolute;
  top: 0; left: 0; width: 100%;
  background: linear-gradient(to bottom, #ff0044, #b30000);
  height: 0%; /* JS Controlled */
  box-shadow: 0 0 20px rgba(217,35,45,0.7);
  transition: height 0.15s ease-out;
}

/* Nodes & Positioning */
.pj-node {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 120px;
}
.pj-node:last-child { margin-bottom: 0; }
.pj-node:nth-child(even) { flex-direction: row-reverse; }

/* Glowing Interactive Dots */
.pj-dot {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(0,0,0,0.1);
  box-shadow: 0 0 0 0 rgba(217,35,45,0);
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}
.pj-node.is-active .pj-dot {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 25px rgba(217,35,45,0.6), 0 0 0 8px rgba(217,35,45,0.15);
  transform: translate(-50%, -50%) scale(1.3);
}

/* ════════════════════════════════════════════════════════
   LUXURY WHITE-ON-WHITE CARDS — ARCHITECTURAL ELEVATION
════════════════════════════════════════════════════════ */

.pj-card {
  width: 42%;
  /* Micro-gradient to give the flat plane physical volume */
  background: linear-gradient(145deg, #ffffff 0%, #f9f9f9 100%);
  /* Crisp defining edge */
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 56px 48px;
  /* Multi-layered shadow: sharp contact shadow + diffused ambient shadow + inner light catch */
  box-shadow: 
    0 8px 24px -8px rgba(0,0,0,0.04), 
    0 32px 64px -16px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.9s cubic-bezier(0.16,1,0.3,1);
  cursor: crosshair;
}

/* Hover Accent Edge */
.pj-card::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--red), var(--red-dark));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  z-index: 5;
}

/* Subtle Hover Glow Inside Card */
.pj-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(217,35,45,0.02) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.pj-node.in-view .pj-card {
  opacity: 1;
  transform: translateY(0);
}

/* Master Hover State */
.pj-node:hover .pj-card {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(217,35,45,0.12);
  /* The shadow expands and picks up a hint of brand red to simulate reflected light */
  box-shadow: 
    0 16px 40px -8px rgba(0,0,0,0.05), 
    0 48px 90px -16px rgba(217,35,45,0.06),
    inset 0 1px 0 rgba(255,255,255,1);
}
.pj-node:hover .pj-card::before { transform: scaleY(1); }
.pj-node:hover .pj-card::after { opacity: 1; }

/* ─── TYPOGRAPHY: MILLION-DOLLAR HOLLOW-TO-SOLID REVEAL ─── */
/* ─── TYPOGRAPHY: MILLION-DOLLAR HOLLOW-TO-SOLID REVEAL ─── */
.pj-year {
  font-family: var(--font-display);
  font-size: 72px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(17, 17, 17, 0.25); 
  line-height: 0.8;
  position: absolute;
  top: 32px; 
  right: 32px !important; /* Forces top-right placement absolutely */
  left: auto !important;  /* Kills any lingering top-left code */
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}

/* Master Hover State: Fills with Red, adds 3D glow */
.pj-node:hover .pj-year { 
  color: var(--red);
  -webkit-text-stroke: 2px var(--red); 
  transform: scale(1.08) translateX(-4px) !important; /* Forces the inward 3D pop */
  text-shadow: 0 12px 30px rgba(217,35,45,0.25); 
}
.pj-node:nth-child(even) .pj-year { 
  right: auto; 
  left: 32px; 
}


.pj-node:nth-child(even):hover .pj-year {
  transform: scale(1.08) translateX(4px); /* Shifts the opposite way for left-aligned text */
}

.pj-title {
  font-family: var(--font-sans);
  font-size: 20px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 16px;
  position: relative; z-index: 1;
}

.pj-desc {
  font-family: var(--font-sans);
  font-size: 15px; color: #555;
  line-height: 1.8;
  position: relative; z-index: 1;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
  .pj-center-line { left: 24px; transform: none; }
  .pj-dot { left: 24px; transform: translate(-50%, -50%); }
  .pj-node.is-active .pj-dot { transform: translate(-50%, -50%) scale(1.3); }
  .pj-node { flex-direction: column !important; align-items: flex-end; margin-bottom: 60px; }
  .pj-card { width: calc(100% - 64px); padding: 40px 32px; }
  .pj-year { font-size: 64px; }
  .pj-node:nth-child(even) .pj-year { left: auto; right: 24px; }
}

/* ════════════════════════════════════════════════════════
   3. VALUES / MISSION — DEEP CHARCOAL
════════════════════════════════════════════════════════ */
.mission-section {
  background: #0d0d0d;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,35,45,0.5), transparent);
}

/* Geometric decorative circles */
.mission-orb-1 {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.02);
  pointer-events: none;
}
.mission-orb-2 {
  position: absolute;
  bottom: -300px; left: -200px;
  width: 800px; height: 800px;
  border-radius: 50%;
  border: 1px solid rgba(217,35,45,0.05);
  pointer-events: none;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 100px;
}

.mission-left .section-eyebrow .ey-text { color: #555; }
.mission-h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 6.5vw, 96px);
  color: #fff;
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
.mission-h2 em { font-style: normal; color: var(--red); }

.mission-right-text {
  font-family: var(--font-sans);
  font-size: 17px; font-weight: 400;
  color: #555; line-height: 1.85;
  margin-bottom: 40px;
}

.mission-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mf-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 24px;
  transition: all 0.4s ease;
}
.mf-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.mf-item:hover { padding-left: 12px; }
.mf-num {
  font-family: var(--font-display);
  font-size: 28px; color: var(--red);
  width: 40px; flex-shrink: 0;
  line-height: 1;
}
.mf-text {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600;
  color: #ccc; letter-spacing: 0.05em;
}

/* Values cards grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: 2;
}

.value-card {
  background: rgba(255,255,255,0.025);
  padding: 52px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.value-card:hover { background: rgba(217,35,45,0.06); transform: translateY(-6px); }
.value-card:hover::after { transform: scaleX(1); }

.vc-num {
  font-family: var(--font-display);
  font-size: 80px; color: rgba(255,255,255,0.03);
  line-height: 1; position: absolute;
  top: 16px; right: 20px;
  pointer-events: none;
  transition: color 0.5s ease;
}
.value-card:hover .vc-num { color: rgba(217,35,45,0.06); }

.vc-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  transition: all 0.4s ease;
}
.value-card:hover .vc-icon { background: var(--red); border-color: transparent; box-shadow: 0 10px 20px rgba(217,35,45,0.3); }
.vc-icon svg { width: 24px; height: 24px; stroke: #888; fill: none; stroke-width: 1.5; transition: stroke 0.4s ease; }
.value-card:hover .vc-icon svg { stroke: #fff; }

.vc-title {
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 800;
  color: #fff; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.vc-desc {
  font-family: var(--font-sans);
  font-size: 14px; color: #4a4a4a;
  line-height: 1.8;
}

/* ════════════════════════════════════════════════════════
   4. PORTFOLIO / CASE STUDIES — LIGHT GRAY
════════════════════════════════════════════════════════ */
.portfolio-section {
  background: #f4f4f5;
  padding: 160px 0 140px;
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 80px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,35,45,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}
.ph-left { max-width: 700px; }
.portfolio-h2 {
  font-family: var(--font-display);
  font-size: clamp(60px, 7.5vw, 110px);
  color: var(--charcoal);
  line-height: 0.88;
  letter-spacing: 0.02em;
}
.portfolio-h2 em { font-style: normal; color: var(--red); }

.ph-right {
  font-family: var(--font-sans);
  font-size: 15px; color: #666; line-height: 1.7;
  max-width: 280px; text-align: right;
  padding-bottom: 8px;
}

/* Filter tabs */
.portfolio-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.pf-tab {
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pf-tab:hover, .pf-tab.active {
  background: var(--charcoal); color: #fff;
  border-color: var(--charcoal);
}
.pf-tab.active { background: var(--red); border-color: var(--red); }

/* Portfolio grid — masonry-style asymmetric */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.port-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  cursor: crosshair;
}

/* Layout variations */
.port-card:nth-child(1) { grid-column: span 7; grid-row: span 1; }
.port-card:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.port-card:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.port-card:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.port-card:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.port-card:nth-child(6) { grid-column: span 8; grid-row: span 1; }
.port-card:nth-child(7) { grid-column: span 4; grid-row: span 1; }

.port-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.port-card:nth-child(1) .port-img-wrap,
.port-card:nth-child(6) .port-img-wrap { aspect-ratio: 21/10; }
.port-card:nth-child(2) .port-img-wrap { aspect-ratio: 4/3; }

.port-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1), filter 0.7s ease;
  filter: grayscale(25%) brightness(0.75) contrast(1.1);
}
.port-card:hover .port-img {
  transform: scale(1.12);
  filter: grayscale(0%) brightness(0.9) contrast(1.05);
}

/* Overlay */
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  z-index: 2;
}

/* Content inside card */
.port-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 32px 36px;
  z-index: 3;
  transform: translateY(10px);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.port-card:hover .port-content { transform: translateY(0); }

.port-category {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.port-category::before { content:''; display:block; width:12px; height:2px; background:var(--red); }

.port-brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.port-stats {
  display: flex; gap: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s;
}
.port-card:hover .port-stats { opacity: 1; transform: translateY(0); }
.port-stat-val {
  font-family: var(--font-display);
  font-size: 28px; color: #fff; line-height: 1;
}
.port-stat-val span { color: var(--red); }
.port-stat-lbl {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #555; margin-top: 4px;
}

/* Hover action arrow */
.port-arrow {
  position: absolute;
  top: 28px; right: 28px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8) rotate(-45deg);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.port-card:hover .port-arrow {
  opacity: 1; transform: scale(1) rotate(0);
  background: var(--red); border-color: var(--red);
}
.port-arrow svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* CTA row */
.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.portfolio-cta p {
  font-family: var(--font-sans);
  font-size: 15px; color: #777; font-weight: 500;
}

/* ════════════════════════════════════════════════════════
   5. METRICS BAND — DEEP BLACK
════════════════════════════════════════════════════════ */
.metrics-section {
  background: #080808;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.metrics-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,35,45,0.5), transparent);
}
.metrics-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,35,45,0.3), transparent);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.metrics-strip::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(217,35,45,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.metric-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,0.05);
  position: relative;
  transition: background 0.4s ease;
}
.metric-item:last-child { border-right: none; }
.metric-item:hover { background: rgba(217,35,45,0.04); }
.metric-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50%; height: 2px;
  background: var(--red);
  transition: transform 0.4s ease;
}
.metric-item:hover::after { transform: translateX(-50%) scaleX(1); }

.metric-val {
  font-family: var(--font-display);
  font-size: clamp(52px, 5vw, 80px);
  color: #fff; line-height: 0.9;
  letter-spacing: 0.02em; margin-bottom: 12px;
}
.metric-val span { color: var(--red); }

.metric-label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #3a3a3a;
}

/* ════════════════════════════════════════════════════════
   6. TEAM SECTION — PURE WHITE
════════════════════════════════════════════════════════ */
.team-section {
  background: #ffffff;
  padding: 160px 0 140px;
  position: relative;
  overflow: hidden;
}

.team-section::after {
  content: 'TEAM';
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(150px, 20vw, 280px);
  color: rgba(0,0,0,0.025);
  right: -20px; top: 60px;
  pointer-events: none; user-select: none;
  line-height: 1;
}

.team-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

.team-h2 {
  font-family: var(--font-display);
  font-size: clamp(60px, 7.5vw, 110px);
  color: var(--charcoal);
  line-height: 0.88;
  letter-spacing: 0.02em;
}
.team-h2 em { font-style: normal; color: var(--red); }

.team-sub {
  font-family: var(--font-sans);
  font-size: 17px; color: #666; line-height: 1.8;
  margin-bottom: 32px;
}

.team-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.tt-btn {
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  background: transparent; color: #666;
  cursor: pointer; transition: all 0.3s ease;
}
.tt-btn:hover, .tt-btn.active {
  background: var(--red); color: #fff;
  border-color: var(--red);
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  position: relative;
  cursor: crosshair;
}

.tc-img-box {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  position: relative;
  margin-bottom: 0;
}
.tc-img-box img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1), filter 0.6s ease;
  filter: contrast(1.05);
}
.team-card:hover .tc-img-box img { transform: scale(1.06); filter: contrast(1.08) brightness(0.85); }

/* Overlay on hover */
.tc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 50%);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  display: flex; align-items: flex-end;
  padding: 32px 28px;
}
.team-card:hover .tc-overlay { opacity: 1; }

.tc-hover-content { width: 100%; }
.tc-hover-bio {
  font-family: var(--font-sans);
  font-size: 13px; color: #aaa;
  line-height: 1.65;
  margin-bottom: 16px;
}
.tc-socials { display: flex; gap: 8px; }
.tc-social {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.tc-social:hover { background: var(--red); border-color: var(--red); }
.tc-social svg { width: 13px; height: 13px; fill: #fff; }

/* Name tag below image */
.tc-info {
  padding: 20px 4px 0;
}
.tc-name {
  font-family: var(--font-sans);
  font-size: 22px; font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.team-card:hover .tc-name { color: var(--red); }
.tc-role {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #aaa;
}

/* Dept separator */
.team-dept-divider {
  display: flex; align-items: center; gap: 20px;
  margin: 64px 0 40px;
}
.tdd-label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}
.tdd-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(217,35,45,0.3), rgba(0,0,0,0.06));
}

/* Advisor strip */
.advisor-strip {
  margin-top: 80px;
  padding: 60px;
  background: #f8f8f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.as-label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}
.as-avatars { display: flex; gap: -8px; }
.as-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  overflow: hidden;
  margin-left: -12px;
  transition: transform 0.3s ease;
}
.as-avatar:first-child { margin-left: 0; }
.as-avatar:hover { transform: translateY(-6px) scale(1.1); z-index: 10; }
.as-avatar img { width: 100%; height: 100%; object-fit: cover; }
.as-text {
  font-family: var(--font-sans);
  font-size: 15px; color: #555; line-height: 1.7;
}
.as-text strong { color: var(--charcoal); font-weight: 700; }

/* ════════════════════════════════════════════════════════
   7. CTA STRIP — RED FIRE
════════════════════════════════════════════════════════ */
.cta-fire {
  background: linear-gradient(135deg, #880000 0%, #cc0000 35%, #e60000 65%, #ff1a00 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-fire::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-fire::after {
  content: '';
  position: absolute;
  bottom: -160px; right: -160px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  pointer-events: none;
}

/* Decorative text rings */
.cta-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(150px, 20vw, 280px);
  color: rgba(255,255,255,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.cta-inner {
  position: relative; z-index: 2;
}

.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.cta-eyebrow span { font-family:var(--font-sans); font-size:12px; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.6); }
.cta-eyebrow .ey-line { background: rgba(255,255,255,0.4); }

.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  color: #fff; line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.cta-sub {
  font-family: var(--font-sans);
  font-size: 19px; color: rgba(255,255,255,0.7);
  line-height: 1.75; max-width: 520px;
  margin: 0 auto 52px;
}

.cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; color: var(--red);
  padding: 22px 52px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.4s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.cta-btn:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(0,0,0,0.3); }
.cta-btn svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2.5; transition: transform 0.4s ease; }
.cta-btn:hover svg { transform: translateX(6px); }

.cta-trust {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.ct-point {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.ct-point svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.4); }


/* ==========================================================================
   MILLION DOLLAR CONTACT SECTION (RED OVERDRIVE & OBSIDIAN GLASS)
   ========================================================================== */

.contact-section {
    background: linear-gradient(135deg,#a00000 0%,#cc0000 40%,#e60000 70%,#ff2200 100%);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-section::before {
    content: ''; 
    position: absolute; 
    top: -150px; 
    left: -100px; 
    width: 800px; 
    height: 800px;
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    z-index: 0;
}

.contact-section::after {
    content: ''; 
    position: absolute; 
    bottom: -200px; 
    right: -150px; 
    width: 900px; 
    height: 900px;
    border-radius: 50%; 
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-copy { 
    position: relative; 
}

.contact-h2 {
    font-family: var(--font-display);
    font-size: clamp(44px, 4.5vw, 76px);
    color: #ffffff; 
    letter-spacing: 0.02em;
    line-height: 0.88;
    margin-bottom: 28px;
}

.contact-h2 em { 
    font-style: normal; 
    color: #ffffff; 
    position: relative;
    display: inline-block;
}

.contact-h2 em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.2); 
    z-index: -1;
}

.contact-lead {
    font-family: var(--font-sans);
    font-size: 18px; 
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85); 
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 90%;
}

.contact-trust { 
    display: flex; 
    flex-direction: column; 
    gap: 40px; 
}

.ct-item { 
    display: flex; 
    align-items: center; 
    gap: 24px; 
}

.ct-icon {
    width: 64px; 
    height: 64px; 
    border-radius: 50%; 
    background: #ffffff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.ct-item:hover .ct-icon {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ct-icon svg { 
    width: 24px; 
    height: 24px; 
    stroke: var(--red-dark); 
    stroke-width: 1.5; 
    fill: none; 
}

.ct-text { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.ct-text strong {
    font-family: var(--font-sans); 
    font-size: 15px; 
    font-weight: 800; 
    color: #ffffff; 
    display: block; 
    margin-bottom: 4px; 
    letter-spacing: 0.1em; 
    text-transform: uppercase;
}

.ct-text span {
    font-family: var(--font-sans); 
    font-size: 16px; 
    font-weight: 500; 
    color: rgba(255, 255, 255, 0.75); 
    line-height: 1.5;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.95); 
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 56px 48px;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(150, 0, 0, 0.4), 0 10px 40px rgba(217, 35, 45, 0.15);
}

.contact-form-card::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 32px; right: 32px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.form-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}
.form-row-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}
.form-group { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    position: relative; 
}

.form-label {
    font-family: var(--font-sans); 
    font-size: 13.5px; 
    font-weight: 600; 
    letter-spacing: 0.08em; 
    text-transform: uppercase;
    color: #111111; 
    margin-bottom: 2px; 
}

.form-input, .form-textarea, .form-select {
    background: #f4f4f6; 
    border: 1px solid #e5e7eb;
    border-radius: 6px; 
    padding: 16px 20px;
    font-family: var(--font-sans); 
    font-size: 15px; 
    font-weight: 500; 
    color: #111111;
    outline: none; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%; 
    -webkit-appearance: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #a0a0a0; 
    font-weight: 400;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    background: #ffffff;
    border-color: var(--red); 
    box-shadow: 0 0 0 4px rgba(217, 35, 45, 0.1);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23555555' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; 
    background-position: right 18px center; 
    padding-right: 48px;
    color: #555555; 
}

.form-select option { 
    background: #ffffff; 
    color: #111111; 
}

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

.form-title {
    font-family: var(--font-display);
    font-size: 44px; 
    color: #111111;
    letter-spacing: 0.04em; 
    line-height: 1; 
    margin-bottom: 8px;
}

.form-subtitle {
    font-family: var(--font-sans); 
    font-size: 14.5px; 
    color: #555555; 
    margin-bottom: 32px;
    line-height: 1.6;
}

.form-checkgroup { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
    margin-top: 4px;
}

.form-check {
    display: flex; 
    align-items: center; 
    gap: 12px;
    padding: 14px 16px;
    background: #f4f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px; 
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-check:hover { 
    border-color: var(--red); 
    background: #ffffff; 
    box-shadow: 0 4px 12px rgba(217, 35, 45, 0.06);
}

.form-check input[type="checkbox"] { 
    width: 18px; 
    height: 18px; 
    accent-color: var(--red); 
    cursor: pointer; 
}

.form-check-label {
    font-family: var(--font-sans); 
    font-size: 13.5px; 
    font-weight: 600;
    color: #111111; 
    cursor: pointer; 
    transition: color 0.3s ease;
}

.form-check:hover .form-check-label { 
    color: var(--red); 
}

.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: 100%; padding: 22px 40px; margin-top: 28px;
  background: var(--red); color: #fff;
  font-family: var(--font-sans); font-size: 14px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: none; border-radius: 8px; cursor: pointer;
  position: relative; overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 16px 40px rgba(217,35,45,0.3);
}
.form-submit::before {
  content: ''; position: absolute; inset: 0;
  background: var(--red-dark); transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.form-submit:hover::before { transform: translateX(0); }
.form-submit:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(217,35,45,0.4); }
.form-submit span, .form-submit svg { position: relative; z-index: 1; }
.form-submit svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; transition: transform 0.4s ease; }
.form-submit:hover svg { transform: translateX(6px); }

.form-fine {
    font-family: var(--font-sans); 
    font-size: 12.5px;
    color: #888888;
    text-align: center; 
    margin-top: 20px; 
    line-height: 1.6;
}

.form-success { 
    display: none; 
    text-align: center; 
    padding: 48px 0; 
}

.form-success.show { 
    display: block; 
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}

.form-success-icon {
    width: 72px; 
    height: 72px; 
    border-radius: 50%;
    background: rgba(217, 35, 45, 0.1); 
    border: 1px solid rgba(217, 35, 45, 0.3);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 28px;
}

.form-success-icon svg { 
    width: 32px; 
    height: 32px; 
    fill: var(--red); 
}

.form-success h3 {
    font-family: var(--font-display); 
    font-size: 44px; 
    color: #111111;
    letter-spacing: 0.04em; 
    margin-bottom: 16px; 
    line-height: 1;
}

.form-success p { 
    font-family: var(--font-sans); 
    font-size: 18px; 
    color: #555555; 
    line-height: 1.75; 
}

/* ══════════════════════════════════════════════════════
   CONTACT & FORM: HIGH-DENSITY RESPONSIVE MATRIX
   Desktop Base CSS remains 100% untouched.
══════════════════════════════════════════════════════ */

/* ─── 1024px: Tablets (Macro Layout Collapse) ─── */
@media (max-width: 1024px) {
    .contact-section { padding: 100px 0; }
    
    .contact-inner { grid-template-columns: 1fr; gap: 64px; }
    
    .contact-copy { 
        text-align: center; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    .contact-lead { max-width: 600px; margin: 0 auto 40px; }
    
    .contact-trust { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 32px; 
    }
    .ct-item { 
        flex-direction: column; 
        text-align: center; 
        gap: 16px; 
    }
}

/* ─── 768px: Mobile Landscape & Form Row Collapse ─── */
@media (max-width: 768px) {
    .contact-section { padding: 80px 0; }
    .contact-h2 { font-size: 48px !important; margin-bottom: 24px; line-height: 1.1; }
    
    .form-title { font-size: 36px; text-align: center; }
    .form-subtitle { text-align: center; }
    
    .contact-form-card { padding: 40px 32px; }
    
    .form-row-2 { grid-template-columns: 1fr; gap: 16px; }
    .form-grid { gap: 16px; }
}

/* ─── 480px: Small Phones (The Million-Dollar Density Engine) ─── */
@media (max-width: 480px) {
    .contact-section { padding: 60px 0; }
    .contact-h2 { font-size: 40px !important; }
    
    .contact-form-card { 
        padding: 32px 20px; 
        border-radius: 8px; 
    }
    .form-title { font-size: 28px; margin-bottom: 6px; }
    .form-subtitle { font-size: 13px; margin-bottom: 24px; }
    
    .form-input, .form-textarea, .form-select {
        padding: 14px 16px;
        font-size: 14px;
    }
    .form-textarea { min-height: 100px; }
    
    .form-checkgroup {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .form-check {
        width: calc(50% - 4px); 
        padding: 12px 10px;
        gap: 8px;
    }
    .form-check-label { font-size: 11.5px; }
    .form-check input[type="checkbox"] { width: 16px; height: 16px; }
    
    .form-submit {
        padding: 18px 24px;
        font-size: 13px;
        margin-top: 16px;
    }
}


/* ════════════════════════════════════════════════════════
   9. MILLION DOLLAR FOOTER — STUDIO LUXURY
════════════════════════════════════════════════════════ */
.footer {
    background: #030303; /* A true, void-level obsidian black */
    padding: 120px 0 0; /* Massive top breathing room */
    position: relative;
    overflow: hidden; /* Required to contain the giant text and glow */
}

/* Subtle Crimson Ambient Light emerging from the top */
.footer-glow {
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 35, 45, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* ─── GRID LAYOUT ─── */
.footer-grid-premium {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-desc {
    font-family: var(--font-sans);
    font-size: 15.5px;
    font-weight: 400;
    color: #8A8A93; /* Crisp slate gray */
    line-height: 1.85;
    max-width: 320px;
}

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 32px;
    position: relative;
}

/* ─── KINETIC LINK ENGINE ─── */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: #A1A1AA;
    text-decoration: none;
    display: inline-flex;
    width: max-content;
    position: relative;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a span {
    position: relative;
    padding-bottom: 4px;
}

/* The Line Draw Effect */
.footer-links a span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ─── LOCATIONS ─── */
.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loc-item {
    display: flex;
    flex-direction: column;
}

.loc-item strong {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.loc-item span {
    font-family: var(--font-sans);
    font-size: 14px;
    color: #8A8A93;
    margin-top: 2px;
}

/* ─── THE MEGA-TYPOGRAPHY WATERMARK ─── */
.footer-giant-text {
    font-family: var(--font-display);
    font-size: clamp(80px, 14.5vw, 240px); /* Scales dynamically with the screen */
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: 0.02em;
    text-align: center;
    
    /* The Stealth Stroke Effect */
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
    
    user-select: none;
    pointer-events: none;
    width: 100%;
    margin: 40px 0 0 0;
    
    /* Pulls it slightly beneath the bottom grid line */
    transform: translateY(20px);
}

/* ─── THE FINAL BASELINE ─── */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 10;
    background: #030303; /* Covers the bottom of the giant text */
}

.fb-copy {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #71717A;
}

.fb-legal {
    display: flex;
    gap: 32px;
}

.fb-legal a {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #71717A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fb-legal a:hover {
    color: #ffffff;
}

/* Tactical Social Buttons */
.fb-socials {
    display: flex;
    gap: 12px;
}

.fb-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #A1A1AA;
}

.fb-social-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-social-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(217, 35, 45, 0.2);
}

.fb-social-btn:hover svg {
    transform: scale(1.1);
}
/* ─── CHA DEVELOPER WATERMARK ─── */
.fb-copy-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fb-watermark {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.wm-text {
    color: #555555; /* Stealth mode */
}

.wm-link {
    color: #8A8A93;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The Kinetic Signature Line */
.wm-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wm-link:hover {
    color: #ffffff; /* Ignites to pure white on hover */
}

.wm-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
/* ─── HQ DIRECT CONTACT LINKS ─── */
.loc-link {
    font-family: var(--font-sans);
    font-size: 14px;
    color: #8A8A93;
    margin-top: 4px;
    text-decoration: none;
    position: relative;
    width: max-content;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-link:hover {
    color: #ffffff;
}

.loc-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ─── FOOTER RESPONSIVE ─── */
@media(max-width: 1024px) {
    .footer-grid-premium {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .footer-brand-col {
        grid-column: span 2;
    }
    .footer-giant-text {
        transform: translateY(10px);
    }
}

@media(max-width: 768px) {
    .footer { padding: 80px 0 0; }
    .footer-grid-premium {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-brand-col {
        grid-column: span 1;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
@media(max-width: 768px) {
    /* ... your other mobile footer rules ... */
    
    .fb-copy-wrap {
        flex-direction: column;
        gap: 12px;
    }
    
    .fb-watermark {
        padding-left: 0;
        border-left: none;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}
/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .port-card:nth-child(n) { grid-column: span 1; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-strip { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 500px; }
  .mission-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .team-header { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ph-right { text-align: left; max-width: 100%; }
  .ts-track { grid-template-columns: repeat(2, 1fr); }
  .ts-line { display: none; }
  .ts-item:nth-child(n) { padding: 20px 0; justify-content: flex-start; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-checkgroup { grid-template-columns: 1fr; }
  .advisor-strip { flex-direction: column; gap: 24px; text-align: center; }
  .contact-form-wrap { padding: 40px 28px; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .hero-stat-stack { display: none; }
}

/* ══════════════════════════════════════════════════════
   MOBILE FIX: CONTACT ITEMS SINGLE COLUMN STACK
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* 1. Force the container into a strict vertical column */
    .contact-trust { 
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 48px !important; /* Premium breathing room between items */
        width: 100%;
    }
    
    /* 2. Center each individual item perfectly */
    .ct-item { 
        flex-direction: column !important; /* Keeps the icon stacked above the text */
        text-align: center !important; 
        width: 100%;
        max-width: 320px; /* Optically traps the text so it doesn't span too wide */
        gap: 16px !important; 
    }
    
    /* 3. Micro-scale the icons for mobile elegance */
    .ct-icon {
        width: 56px !important;
        height: 56px !important;
    }
    
    .ct-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ══════════════════════════════════════════════════════
   MOBILE FIX: PREMIUM FOOTER CENTER ALIGNMENT
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* 1. Center the Brand Identity */
    .footer-brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand-col .brand-logo {
        justify-content: center;
    }
    .footer-desc {
        margin: 0 auto; /* Optically centers the restricted max-width paragraph */
    }

    /* 2. Center the Navigation Columns */
    .footer-nav-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-links {
        align-items: center;
    }

    /* 3. Center the Corporate HQ Locations */
    .footer-locations {
        align-items: center;
    }
    .loc-item {
        align-items: center;
        text-align: center;
    }

    /* 4. Center the Bottom Baseline Elements */
    .fb-legal {
        justify-content: center;
        flex-wrap: wrap; /* Ensures legal links don't break on tiny screens */
    }
    .fb-socials {
        justify-content: center;
    }

    /* 5. THE MILLION DOLLAR POLISH: Center-Origin Hover Sweeps */
    /* Forces the red line to expand outward from the middle to match the centered layout */
    .footer-links a span::after,
    .loc-link::after,
    .wm-link::after {
        transform-origin: center !important; 
    }
    .footer-links a:hover span::after,
    .loc-link:hover::after,
    .wm-link:hover::after {
        transform-origin: center !important;
    }
}

/* ══════════════════════════════════════════════════════
   MOBILE FIX: PREMIUM FOOTER CENTER ALIGNMENT
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* 1. Center the Brand Identity */
    .footer-brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand-col .brand-logo {
        justify-content: center;
    }
    .footer-desc {
        margin: 0 auto; /* Optically centers the restricted max-width paragraph */
    }

    /* 2. Center the Navigation Columns */
    .footer-nav-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-links {
        align-items: center;
    }

    /* 3. Center the Corporate HQ Locations */
    .footer-locations {
        align-items: center;
    }
    .loc-item {
        align-items: center;
        text-align: center;
    }

    /* 4. Center the Bottom Baseline Elements */
    .fb-legal {
        justify-content: center;
        flex-wrap: wrap; /* Ensures legal links don't break on tiny screens */
    }
    .fb-socials {
        justify-content: center;
    }

    /* 5. THE MILLION DOLLAR POLISH: Center-Origin Hover Sweeps */
    /* Forces the red line to expand outward from the middle to match the centered layout */
    .footer-links a span::after,
    .loc-link::after,
    .wm-link::after {
        transform-origin: center !important; 
    }
    .footer-links a:hover span::after,
    .loc-link:hover::after,
    .wm-link:hover::after {
        transform-origin: center !important;
    }
}








/* ═══════════════════════════════════════════════════════════════
   MASTER RESPONSIVE ARCHITECTURE (MOBILE-FIRST PRECISION)
═══════════════════════════════════════════════════════════════ */

/* ─── 1200px: DESKTOP / LARGE TABLET SCALING ─── */
@media (max-width: 1200px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .port-card:nth-child(n) { grid-column: span 1; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-strip { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 60px; }
}

/* ─── 1024px: TABLET PORTRAIT / MACRO LAYOUT COLLAPSE ─── */
@media (max-width: 1024px) {
  .page-hero { padding-top: 140px; padding-bottom: 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-left { text-align: center; display: flex; flex-direction: column; align-items: center; }
  
  .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .about-visual { height: 600px; max-width: 800px; margin: 0 auto; }
  
  .mission-grid { grid-template-columns: 1fr; gap: 60px; }
  .mission-left { text-align: center; }
  
  .team-header { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .portfolio-header { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
  .ph-right { text-align: center; max-width: 600px; }
  
  .metrics-strip::before { width: 100%; height: 100%; } /* Diffuse glow */
}

/* ─── 768px: MOBILE LANDSCAPE / DYNAMIC REFLOW ─── */
@media (max-width: 768px) {
  /* Global Padding Adjustments for Mobile Fluidity */
  .about-section, .portfolio-section, .team-section { padding: 80px 0; }
  .mission-section, .metrics-section { padding: 80px 0; }
  .premium-journey-wrapper { padding: 60px 0; margin-top: 0; }
  
  /* Hero Section: Restoring and Optimizing Hidden Stats */
  .hero-h1 { margin-bottom: 24px; }
  .hero-stat-stack { 
    display: flex; 
    flex-direction: row; 
    flex-wrap: wrap; 
    gap: 16px; 
    width: 100%; 
    opacity: 1; 
    animation: fadeUp 1s ease 0.6s forwards; 
  }
  .hero-stat-card { width: calc(50% - 8px); padding: 24px; }
  .hsc-val { font-size: 42px; }

  /* About Section Flow */
  .about-pillars { grid-template-columns: 1fr; gap: 12px; }
  .about-visual { height: 450px; }
  .av-badge { width: 130px; height: 130px; top: 10%; left: 80%; }
  .av-badge-num { font-size: 40px; }
  
  /* Deep Dark Mission & Value Flow */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card { padding: 36px 28px; }
  
  /* Portfolio Grid Collapse */
  .portfolio-grid { grid-template-columns: 1fr; }
  .port-card:nth-child(n) { grid-column: span 1; }
  .portfolio-filters { justify-content: center; }
  .port-content { padding: 24px 20px; }
  .port-arrow { top: 16px; right: 16px; width: 40px; height: 40px; }
  
  /* Metrics Strip */
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-item { padding: 32px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .metric-item:nth-child(even) { border-right: none; }
  .metric-item:last-child { border-bottom: none; grid-column: span 2; border-right: none; }
  
  /* Team Grid */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-dept-divider { margin: 48px 0 32px; }
  .advisor-strip { flex-direction: column; gap: 24px; text-align: center; padding: 40px 24px; }
}

/* ─── 480px: MOBILE PORTRAIT (THE 8-FIGURE DENSITY ENGINE) ─── */
@media (max-width: 480px) {
  .page-hero { padding-top: 120px; }
  .hero-tag span { font-size: 10px; }
  
  /* Stack Hero Stats vertically to preserve visual weight */
  .hero-stat-card { width: 100%; padding: 20px 24px; }
  .hsc-val { font-size: 48px; }

  /* About Visual: Stop image overlapping from breaking off-screen */
  .about-visual { height: 320px; }
  .av-badge { width: 100px; height: 100px; left: 85%; }
  .av-badge-num { font-size: 32px; }
  .av-badge-txt { font-size: 8px; }
  .btn-primary { width: 100%; justify-content: center; }

  /* Premium Journey Timeline Refinement */
  .pj-card { padding: 32px 24px; }
  .pj-year { font-size: 48px; top: 16px; opacity: 0.15; }
  /* Lock the year to the top right to prevent text overlap on small screens */
  .pj-year, .pj-node:nth-child(even) .pj-year { right: 24px !important; left: auto !important; }
  .pj-title { font-size: 18px; margin-top: 16px; }
  .pj-desc { font-size: 14px; }
  .pj-node { margin-bottom: 48px; }

  /* Metrics Stack */
  .metrics-strip { grid-template-columns: 1fr; }
  .metric-item { border-right: none !important; padding: 28px 16px; }
  .metric-item:last-child { grid-column: span 1; }
  .metric-val { font-size: 48px; }

  /* Portfolio Mobile Scaling */
  .port-img-wrap { aspect-ratio: 4/3; }
  .port-brand { font-size: 28px; }
  .port-stats { flex-wrap: wrap; gap: 16px; }
  .port-stat-val { font-size: 24px; }
  .pf-tab { padding: 8px 16px; font-size: 11px; }

  /* Team Matrix */
  .team-grid { grid-template-columns: 1fr; }
  .tc-img-box { aspect-ratio: 1/1; } /* Focuses squarely on faces on small screens */
  
  /* CTA Fire Adjustments */
  .cta-fire { padding: 80px 0; }
  .cta-h2 { font-size: 48px !important; margin-bottom: 20px; }
  .cta-sub { font-size: 16px; }
  .cta-btn { width: 100%; justify-content: center; padding: 18px 24px; }
  .ct-point { justify-content: center; text-align: center; }
}

/* ─── 360px: ULTRA SMALL DEVICE EDGE CASES ─── */
@media (max-width: 360px) {
  .hero-tag { flex-direction: column; text-align: center; gap: 6px; padding: 12px; }
  .hero-stat-card { padding: 16px; }
  .hsc-val { font-size: 40px; }
  .port-content { padding: 16px; }
  .pj-card { padding: 24px 16px; }
}




/* ═══════════════════════════════════════════════════════════════
   BULLETPROOF FIX: OUR STORY MOBILE VISUALS
═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* 1. Fix Animation Bug: Switch horizontal reveal to vertical so it triggers perfectly */
  .about-visual.reveal-right {
    transform: translateY(40px) !important; 
  }
  .about-visual.reveal-right.up {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  /* 2. Force Structural Width & Height Integrity */
  .about-visual {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    height: 500px !important; /* Generous height to let the images breathe */
  }

  /* 3. Rebalance Image Proportions for Mobile Flow */
  .av-main {
    width: 85% !important; 
    height: 80% !important;
    z-index: 1;
  }
  .av-accent {
    width: 60% !important; 
    height: 50% !important;
    bottom: 0 !important; 
    right: 0 !important;
    z-index: 2;
    border-width: 6px !important;
  }

  /* 4. Secure the Floating Badge */
  .av-badge {
    width: 110px !important; 
    height: 110px !important;
    top: -10px !important; 
    left: auto !important;
    right: 20px !important; /* Locks securely to the right edge */
    z-index: 3;
  }
  .av-badge-num { font-size: 36px !important; }
  .av-badge-txt { font-size: 9px !important; }
}

@media (max-width: 480px) {
  /* Ultra-tight rendering for smaller iPhones */
  .about-visual {
    height: 400px !important; 
  }
  .av-main {
    width: 88% !important; 
    height: 75% !important;
  }
  .av-accent {
    width: 65% !important; 
    height: 45% !important;
  }
  .av-badge {
    width: 90px !important; 
    height: 90px !important;
    right: 10px !important;
  }
  .av-badge-num { font-size: 32px !important; }
  .av-badge-txt { font-size: 8px !important; }
}


/* ═══════════════════════════════════════════════════════════════
   BADGE TEXT CONTAINMENT (MOBILE TYPOGRAPHY FIX)
═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .av-badge-txt {
    font-size: 9px !important;
    text-align: center !important;         /* Forces wrapped lines to stay perfectly centered */
    letter-spacing: 0.1em !important;      /* Tighter tracking to fit the smaller radius */
    line-height: 1.3 !important;           /* Tightens the gap between stacked words */
    width: 90% !important;                 /* Creates an invisible safety buffer from the edges */
    margin-top: 2px !important;
  }
}

@media (max-width: 480px) {
  .av-badge-txt {
    font-size: 7.5px !important;           /* Micro-typography scaling */
    text-align: center !important;
    letter-spacing: 0.05em !important;     /* Ultra-tight tracking for the 90px circle */
    line-height: 1.2 !important;
    width: 95% !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO CTA MOBILE CONTAINMENT FIX
═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Break the side-by-side layout into a vertical stack */
  .portfolio-cta {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
    padding-top: 40px !important; /* Tighter visual pacing for mobile */
    margin-top: 40px !important;
  }
  
  .portfolio-cta p {
    font-size: 16px !important; /* Slightly larger for readability */
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  /* Force the button to span the full width for a premium mobile UX */
  .portfolio-cta .btn-primary {
    width: 100% !important;
    justify-content: center !important;
    padding: 18px 24px !important;
  }
}