/* ==========================================================================
   NOMAD VISION - ELITE ART DIRECTION
   ========================================================================== */

@font-face {
  font-family: 'Cal Sans';
  src: url('fonts/CalSans-Regular.ttf') format('truetype');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Elite Dark Color System */
  --bg-color: #000000;
  --bg-surface: #111113;
  --bg-elevated: #161619;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-heading: 'Cal Sans', -apple-system, BlinkMacSystemFont, 'San Francisco', 'Helvetica Neue', sans-serif;
  --font-body: 'Manrope', sans-serif;
  
  /* Precision Spacing */
  --space-sm: 1.5rem;
  --space-md: 3rem;
  --space-lg: 6rem;
  --space-xl: 10rem;
  --space-xxl: 14rem;

  /* Luxury Easing Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.4s var(--ease-out-expo);
  --transition-smooth: all 0.8s var(--ease-out-expo);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
}

/* Texture & Atmosphere */
.grain-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9999; opacity: 0.5; mix-blend-mode: overlay;
}

.ambient-glow {
  position: absolute; border-radius: 50%; filter: blur(140px); z-index: -1; pointer-events: none;
}
.glow-primary { width: 800px; height: 800px; background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%); top: -10%; left: -5%; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; }
.section-padding { padding: var(--space-xl) 0; }

.section-title { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.section-subtitle { font-size: 1.25rem; color: var(--text-secondary); max-width: 650px; line-height: 1.7; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem; border-radius: 100px; font-weight: 500; font-size: 1rem;
  transition: var(--transition-fast); cursor: pointer;
}
.btn-primary { background: var(--text-primary); color: var(--bg-color); border: 1px solid transparent; }
.btn-primary:hover { opacity: 0.9; }

.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.05); }
.btn-secondary:hover { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.15); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: absolute; top: 0; left: 0; width: 100%;
  padding: 2.5rem 0; z-index: 100;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.6rem; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 3.5rem; }
.nav-links a:not(.btn) { font-size: 0.95rem; color: var(--text-secondary); transition: var(--transition-fast); font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--text-primary); }

.btn-nav {
  padding: 0.6rem 1.4rem; border-radius: 100px; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.05); color: var(--text-primary);
  transition: var(--transition-fast); display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-nav:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.02); }

/* ==========================================================================
   HERO SECTION (Rebuilt using attached reference)
   ========================================================================== */
.hero {
  min-height: 70vh; display: flex; align-items: center;
  position: relative; padding-top: 8rem; padding-bottom: 0rem;
  background-color: transparent;
}

/* ==========================================================================
   PROCEDURAL HERO BACKGROUND SYSTEM
   ========================================================================== */
.hero-bg-system {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, #050505 0%, #0A0A0A 100%);
}

.hero-grain {
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.08"/%3E%3C/svg%3E');
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 5;
}

.hero-spotlight {
  position: absolute;
  top: -30%; left: -20%;
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 40%, transparent 70%);
  filter: blur(80px);
  animation: spotlightBreathe 12s ease-in-out infinite alternate;
  z-index: 2;
}

.hero-grid {
  position: absolute;
  top: -10%; left: -10%; width: 120%; height: 120%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  z-index: 1;
  mask-image: radial-gradient(ellipse at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 10%, transparent 70%);
  animation: gridFloat 40s linear infinite alternate;
}

.hero-svg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  animation: svgPulse 8s ease-in-out infinite alternate;
}

@keyframes spotlightBreathe {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.1) translate(3%, 3%); opacity: 1; }
}

@keyframes gridFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

@keyframes svgPulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.hero-animation {
  position: relative;
}

.hero-lottie-logo {
  width: 100%; max-width: 600px; height: auto;
  filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.8));
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero-static-logo {
  max-width: 420px;
  width: 90%;
  opacity: 0.45;
  filter: drop-shadow(0px 10px 30px rgba(0,0,0,0.6));
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

.hero-static-logo:hover {
  transform: scale(1.02);
}

.hero-fog {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.01) 0%, transparent 75%),
              linear-gradient(to bottom, transparent 75%, var(--bg-color) 100%);
  pointer-events: none; z-index: 1;
}

.hero-fog-trust {
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.01) 0%, transparent 75%),
              linear-gradient(to bottom, transparent 75%, #050505 100%);
}

.hero-container {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: center;
  position: relative; z-index: 2; width: 100%;
}

.hero-content { max-width: 600px; }
.hero-title { font-size: clamp(4rem, 6.5vw, 6rem); margin-bottom: 2rem; line-height: 1; }
.hero-title span { color: var(--text-secondary); }

.hero-subtitle {
  font-size: 1.25rem; color: var(--text-secondary);
  margin-bottom: 3.5rem; line-height: 1.7; max-width: 500px;
}

.hero-ctas { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ==========================================================================
   LIVE DIGITAL ECOSYSTEM (HERO RIGHT)
   ========================================================================== */
.hero-ecosystem {
  position: relative; width: 100%; height: 800px;
  perspective: 2000px; transform-style: preserve-3d;
}

.eco-panel {
  position: absolute;
  background: rgba(18, 18, 20, 0.7);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  display: flex; flex-direction: column;
}

.panel-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

/* Animations */
.floating-1 { animation: float-1 14s ease-in-out infinite alternate; }
.floating-2 { animation: float-2 16s ease-in-out infinite alternate-reverse; }
.floating-3 { animation: float-3 18s ease-in-out infinite alternate; }
.floating-4 { animation: float-4 15s ease-in-out infinite alternate-reverse; }
.floating-5 { animation: float-5 12s ease-in-out infinite alternate; }

@keyframes float-1 { 0% { transform: translateZ(-100px) translateY(0); } 100% { transform: translateZ(-100px) translateY(-30px); } }
@keyframes float-2 { 0% { transform: translateZ(50px) translateY(0); } 100% { transform: translateZ(50px) translateY(-25px); } }
@keyframes float-3 { 0% { transform: translateZ(100px) translateY(0); } 100% { transform: translateZ(100px) translateY(-20px); } }
@keyframes float-4 { 0% { transform: translateZ(150px) translateY(0); } 100% { transform: translateZ(150px) translateY(-35px); } }
@keyframes float-5 { 0% { transform: translateZ(200px) translateY(0); } 100% { transform: translateZ(200px) translateY(-15px); } }

/* 1. Browser Interface Fragment */
.panel-browser {
  top: 50px; left: 10%; width: 75%; height: 450px; z-index: 1;
}
.browser-chrome { padding: 1rem; display: flex; gap: 6px; background: rgba(0,0,0,0.4); border-bottom: 1px solid var(--border-color); }
.browser-chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-highlight); }
.browser-content { position: relative; height: 100%; overflow: hidden; }
.browser-content img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; filter: saturate(0.8); }

/* 3. Design System Panel */
.panel-design-system {
  top: 380px; right: 0; width: 55%; z-index: 2; padding: 1.5rem;
  background: rgba(22, 22, 25, 0.85);
}
.panel-header { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.ds-row { display: flex; gap: 2rem; }
.ds-col { display: flex; flex-direction: column; gap: 0.5rem; }
.ds-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.ds-type { font-size: 3.5rem; font-family: var(--font-heading); line-height: 1; color: var(--text-primary); }
.ds-sub { font-size: 0.8rem; color: var(--text-secondary); }
.ds-colors { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.ds-colors span { width: 24px; height: 24px; border-radius: 50%; background: #333; border: 1px solid rgba(255,255,255,0.1); }
.ds-colors .color-1 { background: #1A1A1A; } .ds-colors .color-2 { background: #333333; } .ds-colors .color-3 { background: #666666; } .ds-colors .color-4 { background: #FFFFFF; }
.mt-2 { margin-top: 2rem; }
.ds-components { display: flex; gap: 1rem; margin-top: 0.5rem; }
.ds-btn { padding: 0.5rem 1rem; background: var(--text-primary); color: #000; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.ds-input, .ds-select { padding: 0.5rem 1rem; background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 6px; font-size: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }

/* 5. Studio Fragment */
.panel-studio {
  bottom: 0; right: 10%; width: 60%; z-index: 3; padding: 1.5rem;
}
.studio-header { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 0.05em;}
.studio-links { word-spacing: 0.5rem; }
.studio-body { display: flex; gap: 2rem; align-items: center; }
.studio-text h3 { font-size: 2rem; line-height: 1.2; color: var(--text-primary); margin-bottom: 1.5rem; }
.studio-link { font-size: 0.85rem; color: var(--text-secondary); }
.studio-img { width: 140px; height: 140px; border-radius: 8px; overflow: hidden; position: relative; }
.studio-img img { width: 100%; height: 100%; object-fit: cover; }

/* 2. Mobile Product Preview */
.panel-mobile {
  top: 250px; left: 15%; width: 260px; height: 520px; z-index: 4;
  border-radius: 36px; padding: 1.5rem; background: #080809;
  border: 4px solid #222; box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 2px 4px rgba(255,255,255,0.1);
}
.mobile-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; background: #000; border-radius: 10px; z-index: 5; }
.mobile-header { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 1.5rem; margin-top: 0.5rem; }
.mobile-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; }
.mobile-balance { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.5rem; }
.m-label { font-size: 0.75rem; color: var(--text-muted); }
.m-amount { font-size: 2rem; font-weight: 600; }
.m-change { font-size: 0.75rem; color: #4CAF50; }
.mobile-chart { margin-bottom: 2rem; }
.m-acc { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.m-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.05); }
.m-info { display: flex; flex-direction: column; flex-grow: 1; font-size: 0.85rem; }
.m-info span { font-size: 0.7rem; color: var(--text-muted); }
.m-val { font-size: 0.85rem; font-weight: 600; }

/* 4. Interaction Card */
.panel-interaction {
  bottom: 80px; left: 5%; width: 180px; height: 180px; z-index: 5; padding: 1.5rem;
  background: rgba(15, 15, 18, 0.9); display: flex; flex-direction: column;
}
.int-title { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 1rem; text-transform: lowercase; }
.int-sub { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
.int-btn { margin-top: auto; align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; background: var(--text-primary); color: #000; display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   FEATURED WORK SECTION (Elite Bento Grid)
   ========================================================================== */
.featured-work { padding: var(--space-xxl) 0; position: relative; }

.showcase-header { position: relative; margin-bottom: var(--space-lg); display: flex; justify-content: space-between; align-items: flex-end; }
.header-left { max-width: 600px; }
.section-kicker { display: block; font-size: 0.9rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }

.view-all-link { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; transition: var(--transition-fast); }
.view-all-link .icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--border-color); border-radius: 50%; transition: var(--transition-fast); }
.view-all-link:hover { color: var(--text-primary); }
.view-all-link:hover .icon { border-color: var(--text-primary); background: rgba(255,255,255,0.05); }

.elite-bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.work-card-bento {
  background: linear-gradient(180deg, #050505 0%, #0A0A0A 100%); border: 1px solid var(--border-color);
  border-radius: 16px; overflow: hidden; display: flex; position: relative;
  transition: transform 0.8s var(--ease-out-expo), box-shadow 0.8s var(--ease-out-expo);
}

.work-card-bento:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0,0,0,0.6); }

/* Mouse Tracking Glow Effect */
.work-card-bento::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.04), transparent 40%);
  z-index: 1; opacity: 0; transition: opacity 0.4s var(--ease-out-expo); pointer-events: none;
}

.work-card-bento::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit; padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.3), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  z-index: 2; opacity: 0; transition: opacity 0.4s var(--ease-out-expo); pointer-events: none;
}

.work-card-bento:hover::before, .work-card-bento:hover::after { opacity: 1; }

/* 1x2x1 Layout Structure */
.large-card { grid-column: 1 / -1; min-height: 520px; }
.medium-card { grid-column: span 1; min-height: 480px; flex-direction: column; }

/* Large Card Inner Layout */
.large-card .work-bento-content { width: 38%; padding: 4.5rem; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 3; }
.large-card .work-bento-visual { width: 62%; position: relative; overflow: hidden; z-index: 3; }
.large-card .work-bento-visual img {
  position: absolute; top: 4rem; left: 2rem; width: 120%; height: auto;
  border-top-left-radius: 16px; border: 1px solid var(--border-color);
  box-shadow: -10px 10px 30px rgba(0,0,0,0.15); transition: transform 1s var(--ease-out-expo);
}
.large-card:hover .work-bento-visual img { transform: scale(1.02) translateX(-10px); }

/* Medium Card Inner Layout */
.medium-card .work-bento-content { padding: 3.5rem 3.5rem 0 3.5rem; flex-grow: 0; position: relative; z-index: 3; }
.medium-card .work-bento-visual { flex-grow: 1; position: relative; overflow: hidden; margin-top: 2rem; min-height: 280px; z-index: 3; }
.medium-card .work-bento-visual img {
  position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); width: 85%; height: auto;
  border-top-left-radius: 16px; border-top-right-radius: 16px;
  border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.15); transition: transform 1s var(--ease-out-expo);
}
.medium-card:hover .work-bento-visual img { transform: translateX(-50%) translateY(-10px) scale(1.02); }

/* Content Styling */
.work-category { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 1.5rem; display: block; font-weight: 600; }
.work-title { font-size: 2.2rem; margin-bottom: 1.2rem; color: var(--text-primary); }
.work-desc { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; margin-bottom: 2.5rem; }

.case-study-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text-secondary); font-weight: 500; font-size: 1rem; transition: var(--transition-fast); }
.case-study-link:hover { color: var(--text-primary); }
.case-study-link .icon { transition: transform 0.3s ease; font-family: sans-serif; }
.case-study-link:hover .icon { transform: translate(3px, -3px); }

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services { padding: var(--space-xl) 0; background: var(--bg-surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.services-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8rem; }
.services-header h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.services-accordion { border-top: 1px solid var(--border-color); }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-header { padding: 2.5rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.accordion-header h3 { font-size: 2rem; color: var(--text-secondary); transition: var(--transition-fast); font-weight: 500; }
.accordion-header .icon { font-size: 1.8rem; color: var(--text-muted); font-weight: 300; }
.accordion-item:hover .accordion-header h3 { color: var(--text-primary); transform: translateX(10px); }

/* ==========================================================================
   APPROACH / STATS
   ========================================================================== */
.approach { padding: var(--space-xxl) 0; }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.approach-text { font-size: 1.5rem; font-family: var(--font-heading); margin-bottom: 1.5rem; color: var(--text-primary); line-height: 1.4; }
.approach-text.muted { color: var(--text-secondary); font-family: var(--font-body); font-size: 1.15rem; line-height: 1.7; }
.stat-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.stat-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); padding: 3rem; border-radius: 16px; }
.stat-value { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-secondary); font-size: 1.1rem; }

/* Legacy CTA Styles Removed */

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1440px) {
  .hero { min-height: auto; padding-top: 12rem; padding-bottom: 6rem; align-items: flex-start; }
  .hero-title { font-size: clamp(3.5rem, 5vw, 5rem); }
  .hero-container { padding-top: 0; }
  .hero-lottie-logo { max-width: 400px; }
}

@media (max-width: 1024px) {
  .hero { min-height: auto; padding-top: 10rem; padding-bottom: 4rem; align-items: flex-start; }
  .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 0; }
  .hero-title { font-size: clamp(3rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
  .hero-lottie-logo { max-width: 320px; margin-top: 1rem; }
  .hero-subtitle { margin: 0 auto 2.5rem auto; font-size: 1.1rem; }
  .hero-content { margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-animation { transform: none !important; margin-top: 2rem; }
  .ecosystem-img-wrapper { right: 0; width: 100%; margin-top: 2rem; }
  .elite-bento-grid { display: flex; flex-direction: column; }
  .large-card { flex-direction: column; }
  .large-card .work-bento-content { width: 100%; padding: 2.5rem 2.5rem 0 2.5rem; }
  .large-card .work-bento-visual { width: 100%; min-height: 250px; margin-top: 2rem; }
  .large-card .work-bento-visual img { left: 2.5rem; width: 100%; }
  .services-layout, .approach-grid { grid-template-columns: 1fr; gap: 5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .eco-horizon { width: 300vw !important; }
  .eco-horizon-glow { width: 200px !important; }
}

/* ==========================================================================
   TRUST SECTION
   ========================================================================== */
.trust-strip { padding: var(--space-xl) 0 var(--space-md) 0; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); }
.trust-header { text-align: left; margin-bottom: 3rem; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 4rem; align-items: center; opacity: 0.6; }
.trust-logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-secondary); letter-spacing: -0.02em; font-weight: 600; }
.trust-tags { display: flex; justify-content: center; gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }
.trust-tag { padding: 0.5rem 1rem; border: 1px solid var(--border-color); border-radius: 100px; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   IMMERSIVE FEATURE
   ========================================================================== */
.immersive-feature { position: relative; width: 100%; height: 90vh; min-height: 800px; display: flex; align-items: flex-end; padding: var(--space-xl) 2.5rem; overflow: hidden; }
.immersive-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: brightness(0.6) saturate(0.8); }
.immersive-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, var(--bg-color) 0%, transparent 60%); z-index: 2; }
.immersive-content { position: relative; z-index: 3; max-width: 800px; }
.immersive-kicker { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; display: block; }
.immersive-title { font-size: clamp(3rem, 5vw, 5rem); line-height: 1; margin-bottom: 1.5rem; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.immersive-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-primary); font-weight: 500; font-size: 1.1rem; }

/* ==========================================================================
   OPERATIONAL WORKFLOW (PROCESS)
   ========================================================================== */
.workflow-section { 
  padding: var(--space-xxl) 0; 
  position: relative;
  background: #030303;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  overflow: hidden;
}

.workflow-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
}

.workflow-section::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 200%; height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 40%);
  z-index: 0; pointer-events: none;
  animation: scan-grid 12s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes scan-grid {
  0% { transform: translateX(0%); }
  100% { transform: translateX(50%); }
}
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.workflow-intro h2 { font-size: clamp(3rem, 4vw, 4rem); margin-bottom: 1.5rem; line-height: 1.1; }
.workflow-intro p { font-size: 1.25rem; color: var(--text-secondary); line-height: 1.6; max-width: 500px; }
.workflow-list { display: flex; flex-direction: column; gap: 3rem; }
.workflow-item { display: grid; grid-template-columns: 40px 1fr; gap: 2rem; border-top: 1px solid var(--border-color); padding-top: 2rem; }
.workflow-num { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-muted); }
.workflow-item h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.workflow-item p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; }

/* ==========================================================================
   PROOF OF EXPERIENCE (Redesigned Metrics)
   ========================================================================== */
.proof-section { padding: var(--space-xxl) 0; position: relative; background: linear-gradient(180deg, #050505 0%, #0A0A0A 100%); }
.proof-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent); }

.proof-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
.proof-kicker { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.proof-kicker span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em; }
.proof-kicker-line { width: 30px; height: 1px; background: rgba(255,255,255,0.2); }
.proof-title { font-family: var(--font-heading); font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.02em; }
.proof-intro { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.6; max-width: 450px; }

.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.proof-card { background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 3.5rem 2.5rem; position: relative; transition: all 0.4s ease; overflow: hidden; display: flex; flex-direction: column; }
.proof-card:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

.proof-icon-box { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 3rem; color: rgba(255,255,255,0.5); }
.proof-val { font-family: var(--font-heading); font-size: 5rem; line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.04em; font-weight: 600; }
.proof-label { font-size: 1.25rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.proof-divider { width: 24px; height: 1px; background: rgba(255,255,255,0.15); margin-bottom: 1.5rem; transition: width 0.4s ease; }
.proof-card:hover .proof-divider { width: 48px; background: rgba(255,255,255,0.4); }
.proof-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1rem; }

.proof-plus { position: absolute; bottom: 1.5rem; right: 1.5rem; color: rgba(255,255,255,0.3); font-size: 1.2rem; font-family: var(--font-body); font-weight: 300; transition: color 0.4s ease, transform 0.4s ease; }
.proof-card:hover .proof-plus { color: rgba(255,255,255,0.8); transform: rotate(90deg); }

.proof-footer { display: flex; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; }
.proof-footer-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 50%; margin-top: 0.6rem; }
.proof-footer p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.proof-footer strong { color: var(--text-primary); font-weight: 500; }
.metric-label { font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   HUMAN / STUDIO
   ========================================================================== */
.studio-section { padding: var(--space-xxl) 0; }
.studio-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: center; }
.studio-visual { position: relative; border-radius: 20px; overflow: hidden; }
.studio-visual img { width: 100%; display: block; filter: grayscale(100%) contrast(1.1); }
.studio-content h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.studio-content p { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }

/* ==========================================================================
   TESTIMONIAL LAYER (Redesign)
   ========================================================================== */
.testimonial-redesign { padding: var(--space-xxl) 0; background: #050505; position: relative; overflow: hidden; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.test-bg-rings { position: absolute; top: -30%; right: -10%; width: 60%; height: 140%; background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.02) 0%, transparent 60%); pointer-events: none; border-radius: 50%; border: 1px solid rgba(255,255,255,0.01); box-shadow: inset 0 0 100px rgba(255,255,255,0.01); z-index: 1; }
.test-bg-rings::before, .test-bg-rings::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,0.02); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.test-bg-rings::before { width: 80%; height: 80%; }
.test-bg-rings::after { width: 50%; height: 50%; }

.test-header { margin-bottom: 4rem; position: relative; z-index: 2; }
.test-kicker { display: flex; align-items: center; gap: 0.8rem; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.kicker-line { width: 30px; height: 1px; background: rgba(255,255,255,0.2); }
.test-title { font-family: var(--font-heading); font-size: clamp(3.5rem, 5vw, 5.5rem); line-height: 1.1; margin-bottom: 1rem; color: var(--text-primary); letter-spacing: -0.02em; }
.test-desc { font-size: 1.25rem; color: var(--text-secondary); line-height: 1.6; max-width: 500px; }

.test-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; z-index: 2; }

.test-card { background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 2.5rem; display: flex; flex-direction: column; transition: transform 0.3s ease, border-color 0.3s ease; }
.test-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.15); }

.test-quote-mark { font-family: var(--font-heading); font-size: 4rem; line-height: 1; color: rgba(255,255,255,0.15); margin-bottom: 1rem; margin-top: -1rem; }
.test-body { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.6; flex-grow: 1; margin-bottom: 2rem; }

.test-divider { width: 30px; height: 1px; background: rgba(255,255,255,0.15); margin-bottom: 2rem; }

.test-author { display: flex; gap: 1rem; align-items: center; }
.test-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.05); }
.avatar-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)); }

.test-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.test-name { font-weight: 500; font-size: 1.05rem; color: var(--text-primary); }
.test-role, .test-company { font-size: 0.8rem; color: var(--text-secondary); }
.test-tag { margin-top: 0.5rem; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

.test-carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.test-carousel-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: background 0.3s ease; }
.test-carousel-dots span.active { background: #fff; }

/* ==========================================================================
   FAQ SECTION (Iconic Redesign)
   ========================================================================== */
.faq-iconic-section { padding: var(--space-xxl) 0; position: relative; background: #050505; overflow: hidden; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.faq-iconic-bg { position: absolute; top: -20%; left: -10%; width: 60%; height: 140%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.03) 0%, transparent 60%); pointer-events: none; border-radius: 50%; border: 1px solid rgba(255,255,255,0.02); box-shadow: inset 0 0 100px rgba(255,255,255,0.01); }
.faq-iconic-bg::before, .faq-iconic-bg::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,0.02); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-iconic-bg::before { width: 70%; height: 70%; }
.faq-iconic-bg::after { width: 40%; height: 40%; }

.faq-iconic-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 6rem; position: relative; z-index: 2; }

.faq-iconic-left { display: flex; flex-direction: column; }
.faq-kicker { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 2rem; display: block; }
.faq-title { font-family: var(--font-heading); font-size: clamp(3.5rem, 5vw, 5.5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.faq-line { width: 40px; height: 1px; background: rgba(255,255,255,0.2); margin-bottom: 2rem; }
.faq-desc { font-size: 1.25rem; color: var(--text-secondary); line-height: 1.7; max-width: 450px; margin-bottom: 4rem; }

.faq-footer-note { display: flex; align-items: center; gap: 1rem; margin-top: auto; padding-top: 3rem; }
.faq-circle-dot { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; position: relative; }
.faq-circle-dot span { width: 4px; height: 4px; background: rgba(255,255,255,0.5); border-radius: 50%; box-shadow: 0 0 8px rgba(255,255,255,0.5); }
.faq-footer-note p { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.5; margin: 0; }

.faq-accordion-iconic { position: relative; }
/* The glowing top corner border effect */
.faq-accordion-iconic::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.05) 20%, transparent 100%); z-index: 2; }
.faq-accordion-iconic::after { content: ''; position: absolute; top: 0; left: 0; width: 1px; height: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%); z-index: 2; }

.faq-item-iconic { border-bottom: 1px solid rgba(255,255,255,0.04); padding: 2rem 0; padding-left: 2rem; transition: background 0.4s ease; cursor: pointer; position: relative; }
.faq-item-iconic:first-child { border-top: 1px solid rgba(255,255,255,0.04); padding-top: 2.5rem; }
.faq-item-iconic:hover { background: rgba(255,255,255,0.01); }

.faq-question-iconic { display: flex; justify-content: space-between; align-items: center; font-size: 1.3rem; color: rgba(255,255,255,0.85); font-weight: 400; transition: color 0.4s ease; }
.faq-item-iconic:hover .faq-question-iconic { color: #fff; }
.faq-plus { font-size: 1.4rem; color: rgba(255,255,255,0.4); font-weight: 300; font-family: var(--font-body); transition: transform 0.4s ease, color 0.4s ease; }
.faq-item-iconic.active .faq-plus { transform: rotate(45deg); color: #fff; }

.faq-answer-iconic { max-height: 0; overflow: hidden; opacity: 0; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); transform: translateY(-5px); }
.faq-item-iconic.active .faq-answer-iconic { max-height: 300px; opacity: 1; transform: translateY(0); margin-top: 1.5rem; }
.faq-answer-iconic p { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.6; max-width: 550px; }

/* ==========================================================================
   NEW CTA FOOTER & GRAND FOOTER
   ========================================================================== */
.footer-cta { background: #000; padding: var(--space-xxl) 0 0 0; border-top: 1px solid var(--border-subtle); position: relative; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: flex-start; }
.cta-info h2 { font-size: clamp(4rem, 6vw, 6rem); line-height: 1; margin-bottom: 2rem; color: var(--text-primary); }
.cta-info p { font-size: 1.25rem; color: var(--text-secondary); max-width: 500px; margin-bottom: 3rem; }
.cta-availability { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.status-dot { width: 8px; height: 8px; background: #4CAF50; border-radius: 50%; box-shadow: 0 0 10px #4CAF50; animation: pulseDot 2s infinite; }

.contact-form { background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.05); padding: 3rem; border-radius: 12px; }
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-bottom-color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-submit { width: 100%; padding: 1.2rem; background: rgba(255,255,255,0.03); color: var(--text-primary); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; font-weight: 500; font-size: 1rem; cursor: pointer; transition: var(--transition-fast); }
.btn-submit:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }

/* Grand Footer Layer */
.footer-grand { position: relative; border-top: none; margin-top: 2rem; padding: 2rem 0; overflow: hidden; background: #000; }

/* Horizon Glow */
.footer-horizon-glow { display: none; }

/* Blueprint background on the right */
.footer-blueprint-bg { display: none; }
.footer-blueprint-bg::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; height: 60%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.015); }
.footer-blueprint-bg::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); width: 150%; height: 1px; background: rgba(255,255,255,0.015); }

.footer-grand-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; position: relative; z-index: 2; }

/* Column 1 */
.footer-col-brand { padding-right: 0; border-right: none; display: flex; flex-direction: column; }
.footer-logo { margin-bottom: 2rem; }
.footer-mission { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 3rem; max-width: 350px; }
.footer-status { display: flex; align-items: center; gap: 0.8rem; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: auto; }
.status-indicator { width: 6px; height: 6px; background: #4CAF50; border-radius: 50%; box-shadow: 0 0 8px rgba(76, 175, 80, 0.5); }

/* Column 2 */
.footer-col-links { padding: 0; border-right: none; display: flex; flex-direction: column; justify-content: center; }
.footer-link-row { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.95rem; color: var(--text-secondary); transition: color 0.3s ease; }
.footer-link-row:last-child { border-bottom: none; }
.footer-link-row:hover { color: #fff; }
.footer-link-row svg { color: rgba(255,255,255,0.3); transition: transform 0.3s ease, color 0.3s ease; }
.footer-link-row:hover svg { transform: translate(2px, -2px); color: #fff; }

/* Column 3 */
.footer-col-meta { padding-left: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; }
.footer-location { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; color: var(--text-muted); }
.footer-copyright { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-top: auto; }

/* ==========================================================================
   FORM SUCCESS POPUP
   ========================================================================== */
.form-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5,5,5,0.85); backdrop-filter: blur(20px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease-out-expo); }
.form-popup-overlay.show { opacity: 1; pointer-events: all; }
.form-popup-content { background: rgba(10,10,10,0.6); border: 1px solid rgba(255,255,255,0.06); padding: 4rem 3rem; border-radius: 24px; text-align: center; max-width: 420px; transform: translateY(30px) scale(0.95); transition: transform 0.6s var(--ease-out-expo); box-shadow: 0 30px 60px rgba(0,0,0,0.8); backdrop-filter: blur(20px); }
.form-popup-overlay.show .form-popup-content { transform: translateY(0) scale(1); }
.form-popup-icon { width: 64px; height: 64px; background: rgba(255,255,255,0.02); color: var(--text-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem auto; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 0 30px rgba(255,255,255,0.02); }
.form-popup-icon svg { width: 28px; height: 28px; opacity: 0.8; }
.form-popup-content h3 { font-size: 2rem; font-family: var(--font-heading); margin-bottom: 1rem; color: var(--text-primary); letter-spacing: -0.02em; }
.form-popup-content p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2.5rem; }
.btn-close-popup { width: 100%; padding: 1.1rem; background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.85rem; cursor: pointer; transition: var(--transition-fast); }
.btn-close-popup:hover { background: var(--text-primary); color: #000; border-color: var(--text-primary); }

@media (max-width: 1024px) {
  .workflow-grid, .studio-grid, .faq-iconic-grid, .cta-grid { grid-template-columns: 1fr; gap: 4rem; }
  .proof-header { grid-template-columns: 1fr; gap: 2rem; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .test-grid { grid-template-columns: 1fr 1fr; }
  .test-bg-rings { display: none; }
  .faq-item-iconic { padding-left: 0; }
  .faq-iconic-bg { display: none; }
}
@media (max-width: 768px) {
  .proof-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .footer-grand-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-col-brand, .footer-col-links { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.03); padding: 0 0 3rem 0; }
  .footer-col-meta { padding: 0; align-items: flex-start; text-align: left; }
  .footer-mission { margin-bottom: 2rem; }
  .footer-copyright { margin-top: 3rem; }
}

/* ==========================================================================
   ICONIC REFINEMENT PASS (Asymmetry & Rhythm)
   ========================================================================== */

/* Editorial Typography Primitives */
.editorial-heading { font-family: var(--font-heading); font-size: clamp(3.5rem, 5vw, 5.5rem); line-height: 1.05; margin-bottom: 2rem; letter-spacing: -0.02em; }
.editorial-p { font-size: 1.35rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; max-width: 550px; }
.editorial-p.muted { color: var(--text-muted); font-size: 1.15rem; }

/* Workflow Asymmetry */
.workflow-layout-asym { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; position: relative; z-index: 2; }
.workflow-intro-sticky { position: sticky; top: 150px; }
.workflow-list-offset { display: flex; flex-direction: column; gap: 6rem; padding-top: 10vh; }
.workflow-item-editorial { max-width: 500px; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 2rem; position: relative; transition: border-color 0.4s ease; }
.workflow-item-editorial:hover { border-color: rgba(255,255,255,0.4); }
.workflow-num-huge { position: absolute; left: -2rem; top: -1.5rem; font-family: var(--font-heading); font-size: 4rem; color: rgba(255,255,255,0.05); line-height: 1; transition: color 0.4s ease; }
.workflow-item-editorial:hover .workflow-num-huge { color: rgba(255,255,255,0.2); }
.workflow-content-ed h4 { font-size: 1.8rem; margin-bottom: 1rem; }
.workflow-content-ed p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }

/* Cinematic Studio Integration */
.studio-section-iconic { position: relative; width: 100%; padding-bottom: var(--space-xxl); margin-top: var(--space-xl); }
.studio-photo-wrapper { position: relative; width: 90%; margin-left: auto; height: 75vh; overflow: hidden; border-top-left-radius: 40px; border-bottom-left-radius: 40px; }
.studio-photo-wrapper img { width: 100%; height: 100%; object-fit: cover;  }
.studio-photo-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #0D0D0D 0%, transparent 15%, transparent 85%, #0D0D0D 100%); }
.studio-content-overlap { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); pointer-events: none; z-index: 2; }
.studio-text-box { background: rgba(13, 13, 13, 0.85); backdrop-filter: blur(20px); padding: 4rem; border: 1px solid rgba(255,255,255,0.05); border-radius: 24px; max-width: 600px; pointer-events: auto; }

/* Services Premium Editorial */
.services-editorial { padding: var(--space-xxl) 0; }
.services-header-asym { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 8rem; align-items: end; }
.accordion-premium { display: flex; flex-direction: column; }
.acc-premium-item { display: grid; grid-template-columns: 80px 1fr 60px; gap: 2rem; border-top: 1px solid rgba(255,255,255,0.1); padding: 3rem 0; cursor: pointer; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.acc-premium-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.acc-premium-num { font-size: 1.2rem; color: var(--text-muted); font-family: var(--font-heading); padding-top: 0.5rem; transition: color 0.4s ease; }
.acc-premium-title { font-size: 3rem; margin-bottom: 1rem; color: var(--text-primary); transition: color 0.4s ease; font-family: var(--font-heading); }
.acc-premium-desc { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; line-height: 1.6; opacity: 0; max-height: 0; overflow: hidden; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); transform: translateY(10px); }
.acc-premium-icon { font-size: 2rem; color: var(--text-muted); text-align: right; transition: transform 0.5s ease, color 0.4s ease; }

.acc-premium-item:hover, .acc-premium-item.active { padding-left: 2rem; padding-right: 2rem; background: rgba(255,255,255,0.02); }
.acc-premium-item:hover .acc-premium-num, .acc-premium-item.active .acc-premium-num { color: var(--text-primary); }
.acc-premium-item:hover .acc-premium-title, .acc-premium-item.active .acc-premium-title { color: #fff; }
.acc-premium-item:hover .acc-premium-desc, .acc-premium-item.active .acc-premium-desc { opacity: 1; max-height: 500px; transform: translateY(0); margin-top: 1.5rem; }
.acc-premium-item:hover .acc-premium-icon, .acc-premium-item.active .acc-premium-icon { color: var(--text-primary); transform: rotate(45deg); }

/* Responsive adjustments for Iconic classes */
@media (max-width: 1024px) {
  .workflow-layout-asym, .services-header-asym { grid-template-columns: 1fr; }
  .workflow-intro-sticky { position: relative; top: 0; margin-bottom: 3rem; }
  .workflow-item-editorial { margin-left: 0 !important; max-width: 100%; }
  .studio-photo-wrapper { width: 100%; border-radius: 0; height: 50vh; }
  .studio-content-overlap { position: relative; transform: none; top: -10vh; }
  .studio-text-box { margin: 0 auto; width: calc(100% - 2rem); }
  .acc-premium-item, .acc-premium-item:hover, .acc-premium-item.active { grid-template-columns: 40px 1fr 40px; padding: 2rem 0; background: transparent; }
  .acc-premium-title { font-size: 2rem; }
}

/* ==========================================================================
   ECOSYSTEM CREDIBILITY SECTION (Premium Trust)
   ========================================================================== */
.ecosystem-credibility { position: relative; padding: 1.5rem 0 4rem 0; background: #050505; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; }
.eco-cred-content { position: relative; z-index: 3; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.eco-cred-header { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.2em; text-align: center; margin-bottom: 1.5rem; font-weight: 500; }
.eco-divider-small { width: 40px; height: 1px; background: rgba(255,255,255,0.2); box-shadow: 0 0 10px rgba(255,255,255,0.3); margin: 0 auto 2rem auto; }
.eco-divider-wide { width: 60%; max-width: 600px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); margin: 2rem auto; }

.eco-logos-wrapper { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 6rem; margin-bottom: 1rem; width: 100%; }
.eco-logo-item { display: flex; align-items: center; gap: 3rem; }
.eco-logo-text { font-family: var(--font-heading); font-size: 1.6rem; color: rgba(255,255,255,0.8); font-weight: 500; letter-spacing: -0.01em; transition: color 0.4s ease, text-shadow 0.4s ease; display: flex; align-items: center; gap: 0.5rem; }
.eco-logo-text:hover { color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.3); }
.eco-logo-icon { width: 24px; height: 24px; opacity: 0.8; }
.eco-logo-img { height: 26px; width: auto; opacity: 0.5; transition: var(--transition-fast); filter: grayscale(100%) brightness(150%); }
.eco-logo-img:hover { opacity: 1; filter: grayscale(0%) brightness(100%); }
.eco-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 50%; box-shadow: 0 0 8px rgba(255,255,255,0.4); }

.eco-tags-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; position: relative; z-index: 3; }
.eco-capsule { border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; padding: 0.6rem 1.2rem; display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,0.01); backdrop-filter: blur(10px); transition: border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease; }
.eco-capsule:hover { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); box-shadow: 0 0 15px rgba(255,255,255,0.05); }
.eco-capsule svg { width: 12px; height: 12px; opacity: 0.6; fill: currentColor; }

/* Cinematic Foundation Arc */
.eco-horizon { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 140vw; height: 200px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%); background: transparent; box-shadow: 0 0 0 100vw #F5F5F5, inset 0 20px 40px -20px rgba(0,0,0,0.2); z-index: 2; pointer-events: none; }
.eco-horizon-glow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 400px; height: 2px; background: rgba(0,0,0,0.3); box-shadow: 0 0 30px 10px rgba(0,0,0,0.15); border-radius: 50%; z-index: 3; filter: blur(3px); pointer-events: none; opacity: 0.9; }

@media (max-width: 1024px) {
  .eco-logos-wrapper { flex-direction: column; gap: 2rem; }
  .eco-logo-item { flex-direction: column; gap: 2rem; }
  .eco-dot { display: none; }
  .eco-horizon { width: 200vw; }
}


/* ==========================================================================
   ELITE TESTIMONIAL CARD
   ========================================================================== */
.testimonial-card-elite {
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 24px;
  padding: 5rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.02);
  position: relative;
}
.tc-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2.5rem;
}
.tc-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.95);
  margin-bottom: 3.5rem;
  letter-spacing: -0.01em;
}
.tc-divider {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 auto 3.5rem auto;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tc-icon {
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: absolute;
}
.tc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.tc-author-side {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.tc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
}
.tc-author-details {
  display: flex;
  flex-direction: column;
}
.tc-author-details strong {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.tc-author-details span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}
.tc-industry-side {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding-left: 2.5rem;
}
.tc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .testimonial-card-elite { padding: 3rem 2rem; }
  .tc-footer { flex-direction: column; gap: 2rem; align-items: center; text-align: center; }
  .tc-author-side { border-right: none; padding-right: 0; flex-direction: column; }
  .tc-industry-side { padding-left: 0; }
}

/* Fix for Aurora WebGL initial load flash */
@keyframes fade-in-aurora {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
#aurora-container {
  opacity: 0;
  animation: fade-in-aurora 2s ease-in-out 0.2s forwards;
}


/* ==========================================================================
   WORK SECTION LIGHT MODE OVERRIDES
   ========================================================================== */
.home-page .featured-work {
  background-color: #F5F5F5;
  color: #111111;
}

.home-page .featured-work .section-title {
  color: #111111;
}

.home-page .featured-work .section-subtitle {
  color: #444444;
}

.home-page .featured-work .section-kicker {
  color: #666666;
}

.home-page .featured-work .view-all-link {
  color: #111111;
  border-color: rgba(0,0,0,0.1);
}

.home-page .featured-work .view-all-link:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.2);
}

.home-page .featured-work .work-card-bento {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
}

.home-page .featured-work .work-card-bento::after {
  background: linear-gradient(to top, #FFFFFF, transparent);
}

.home-page .featured-work .work-title {
  color: #111111;
}

.home-page .featured-work .work-desc {
  color: #555555;
}

.home-page .featured-work .work-category {
  color: rgba(0,0,0,0.5);
}

.home-page .featured-work .case-study-link {
  color: #111111;
}

.home-page .featured-work .work-card-bento:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
}


/* ==========================================================================
   PROOF OF EXPERIENCE LIGHT MODE OVERRIDES
   ========================================================================== */
.home-page .proof-section {
  background: #F5F5F5 !important;
  color: #111111;
}
.home-page .proof-section::before {
  display: none !important;
}
.home-page .proof-title {
  color: #111111 !important;
}
.home-page .proof-intro {
  color: #555555 !important;
}
.home-page .proof-kicker span {
  color: #666666 !important;
}
.home-page .proof-kicker-line {
  background: rgba(0,0,0,0.2) !important;
}
.home-page .proof-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02), inset 0 2px 4px rgba(255,255,255,0.5) !important;
}
.home-page .proof-val {
  color: #111111 !important;
}
.home-page .proof-label {
  color: #555555 !important;
}
.home-page .proof-desc {
  color: #666666 !important;
}
.home-page .proof-divider {
  background: rgba(0,0,0,0.1) !important;
}
.home-page .proof-plus {
  color: rgba(0,0,0,0.05) !important;
}
.home-page .proof-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03) !important;
  border-color: rgba(0,0,0,0.12) !important;
}
.home-page .proof-card:hover .home-page .proof-divider {
  background: #111111 !important;
}
.home-page .proof-card:hover .home-page .proof-plus {
  color: #111111 !important;
}

/* ==========================================================================
   SERVICES SECTION LIGHT MODE OVERRIDES
   ========================================================================== */
.home-page .services-editorial {
  background: #F5F5F5 !important;
  color: #111111;
}
.home-page .services-editorial .editorial-heading {
  color: #111111 !important;
}
.home-page .services-editorial .editorial-p {
  color: #555555 !important;
}
.home-page .acc-premium-item {
  border-top: 1px solid rgba(0,0,0,0.1) !important;
}
.home-page .acc-premium-item:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}
.home-page .acc-premium-num {
  color: rgba(0,0,0,0.2) !important;
}
.home-page .acc-premium-title {
  color: #111111 !important;
}
.home-page .acc-premium-desc {
  color: #555555 !important;
}
.home-page .acc-premium-icon {
  color: #111111 !important;
}
.home-page .acc-premium-item:hover, .home-page .acc-premium-item.active {
  background: transparent !important;
}
.home-page .acc-premium-item:hover .home-page .acc-premium-title {
  color: #111111 !important;
}
.home-page .acc-premium-item:hover .home-page .acc-premium-icon {
  color: #111111 !important;
}


/* ==========================================================================
   CASE STUDY HYBRID LIGHT MODE
   ========================================================================== */
.cs-light-mode-wrapper {
  background: #F5F5F5;
  color: #111111;
  padding-top: 4rem;
  padding-bottom: 2rem;
  margin-top: -4rem; /* overlap slightly to tighten transition */
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  position: relative;
  z-index: 10;
}
.cs-light-mode-wrapper h2, 
.cs-light-mode-wrapper h3, 
.cs-light-mode-wrapper .editorial-heading,
.cs-light-mode-wrapper .cs-massive-text,
.cs-light-mode-wrapper strong {
  color: #111111 !important;
}
.cs-light-mode-wrapper .cs-massive-text span {
  color: rgba(0,0,0,0.3) !important;
}
.cs-light-mode-wrapper p, 
.cs-light-mode-wrapper .workflow-item-editorial p {
  color: #555555 !important;
}
.cs-light-mode-wrapper .section-kicker {
  color: #888888 !important;
}
.cs-light-mode-wrapper .micro-label {
  color: #888888 !important;
}
.cs-light-mode-wrapper .workflow-item-editorial {
  border-color: rgba(0,0,0,0.1) !important;
}
.cs-light-mode-wrapper p[style*="border-left"] {
  border-left-color: rgba(0,0,0,0.2) !important;
}
.cs-light-mode-wrapper em {
  color: #111111 !important;
}

/* Bento Grid inside Light Wrapper */
.cs-light-mode-wrapper .featured-work .work-card-bento {
  background: #FFFFFF !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}
.cs-light-mode-wrapper .featured-work .work-card-bento::after {
  background: linear-gradient(to top, #FFFFFF, transparent) !important;
}
.cs-light-mode-wrapper .featured-work .work-title {
  color: #111111 !important;
}
.cs-light-mode-wrapper .featured-work .work-desc {
  color: #555555 !important;
}
.cs-light-mode-wrapper .featured-work .work-category {
  color: rgba(0,0,0,0.5) !important;
}
.cs-light-mode-wrapper .featured-work .case-study-link {
  color: #111111 !important;
}
.cs-light-mode-wrapper .featured-work .work-card-bento:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03) !important;
}


/* ==========================================================================
   PROJECTS PAGE FULL LIGHT MODE
   ========================================================================== */
.projects-page-light {
  background-color: #F5F5F5 !important;
  color: #111111 !important;
}
.projects-page-light .navbar {
  background: rgba(245, 245, 245, 0.85) !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}
.projects-page-light .navbar .logo img {
  filter: invert(1);
}
.projects-page-light .nav-links a {
  color: #555555 !important;
}
.projects-page-light .nav-links a:hover {
  color: #111111 !important;
}
.projects-page-light .nav-links .btn-nav {
  background: #111111 !important;
  color: #FFFFFF !important;
}
.projects-page-light .hero-title,
.projects-page-light .hero-title span {
  color: #111111 !important;
}
.projects-page-light .hero-subtitle {
  color: #555555 !important;
}

/* Share the featured-work bento grid styles */
.projects-page-light .featured-work .work-card-bento {
  background: #FFFFFF !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}
.projects-page-light .featured-work .work-card-bento::after {
  background: linear-gradient(to top, #FFFFFF, transparent) !important;
}
.projects-page-light .featured-work .work-title {
  color: #111111 !important;
}
.projects-page-light .featured-work .work-desc {
  color: #555555 !important;
}
.projects-page-light .featured-work .work-category {
  color: rgba(0,0,0,0.5) !important;
}
.projects-page-light .featured-work .case-study-link {
  color: #111111 !important;
}
.projects-page-light .featured-work .work-card-bento:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03) !important;
}

/* Ensure Footer stays dark */
.projects-page-light .footer-cta {
  background: #050505 !important;
}
.projects-page-light .footer-cta h2,
.projects-page-light .footer-cta p {
  color: #FFFFFF !important;
}
.projects-page-light .footer-cta .btn-submit {
  background: #FFFFFF !important;
  color: #050505 !important;
}

/* ==========================================================================
   TESTIMONIAL LAYER (Documentary Style)
   ========================================================================== */
.testimonial-doc { padding: 10rem 0; background: transparent; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.03); }

.doc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8rem; align-items: center; }

.doc-quote-mark { font-family: var(--font-heading); font-size: 6rem; line-height: 1; color: rgba(255,255,255,0.08); margin-bottom: 1.5rem; margin-top: -2rem; }

.doc-quote-main { font-family: var(--font-heading); font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.15; color: var(--text-primary); letter-spacing: -0.01em; margin-bottom: 3rem; max-width: 900px; }

.doc-author { display: flex; flex-direction: column; gap: 0.4rem; }
.doc-name { font-weight: 500; font-size: 1.1rem; color: var(--text-primary); letter-spacing: 0.02em;}
.doc-role { font-size: 0.95rem; color: var(--text-muted); }

.doc-supporting { display: flex; flex-direction: column; gap: 4rem; padding-left: 4rem; border-left: 1px solid rgba(255,255,255,0.05); }

.doc-support-item { display: flex; flex-direction: column; gap: 1.5rem; }
.doc-quote-sub { font-size: 1.3rem; color: var(--text-secondary); line-height: 1.6; letter-spacing: -0.01em; }

.doc-author-sub { display: flex; flex-direction: column; gap: 0.3rem; }
.doc-name-sub { font-weight: 500; font-size: 1rem; color: var(--text-primary); }
.doc-role-sub { font-size: 0.9rem; color: var(--text-muted); }

.doc-support-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.05); }

@media (max-width: 1024px) {
  .doc-grid { grid-template-columns: 1fr; gap: 5rem; }
  .doc-supporting { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 5rem; }
}

/* ==========================================================================
   FLAGSHIP WORK ARCHITECTURE
   ========================================================================== */
.work-architecture { display: flex; flex-direction: column; gap: 5rem; margin-top: 3rem; }

.work-flagship { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.03); border-radius: 8px; overflow: hidden; background: rgba(255,255,255,0.01); transition: border-color 0.5s ease; }
.work-flagship:hover { border-color: rgba(255,255,255,0.08); }
.work-flagship-visual { width: 100%; height: 580px; overflow: hidden; background: #050505; border-bottom: 1px solid rgba(255,255,255,0.03); }
.work-flagship-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.work-flagship:hover .work-flagship-visual img { transform: scale(1.02); }
.work-flagship-content { padding: 4rem 5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }

.work-meta-row { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 1.5rem; }
.work-flagship-content .work-title { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-primary); letter-spacing: -0.01em; }
.work-flagship-content .work-desc { font-size: 1.25rem; color: var(--text-secondary); max-width: 600px; margin-bottom: 2.5rem; line-height: 1.6; }

.work-supporting-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.work-support-card { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.03); border-radius: 8px; overflow: hidden; background: rgba(255,255,255,0.01); transition: border-color 0.5s ease; }
.work-support-card:hover { border-color: rgba(255,255,255,0.08); }
.work-support-visual { width: 100%; height: 380px; overflow: hidden; background: #050505; border-bottom: 1px solid rgba(255,255,255,0.03); }
.work-support-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.work-support-card:hover .work-support-visual img { transform: scale(1.03); }
.work-support-content { padding: 3rem; display: flex; flex-direction: column; align-items: flex-start; }
.work-support-content .work-title { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 0.8rem; color: var(--text-primary); letter-spacing: -0.01em; }
.work-support-content .work-desc { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2.5rem; line-height: 1.6; }

@media (max-width: 1024px) {
  .work-architecture { gap: 3rem; }
  .work-flagship-visual { height: 400px; }
  .work-flagship-content { padding: 3rem; }
  .work-supporting-row { grid-template-columns: 1fr; }
  .work-support-visual { height: 300px; }
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (APPLE-LEVEL PACING)
   ========================================================================== */

/* TABLET (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Hero Balance */
  .hero { min-height: 60vh !important; padding-top: 6rem !important; }
  .ecosystem-credibility { padding-top: 0 !important; }
  
  /* Nav Ergonomics */
  .nav-container { padding: 0 1rem; }
}

/* MOBILE (max-width: 768px) */
@media (max-width: 768px) {
  .home-page {  }
  /* Aggressive Hero Height Compression */
  .hero { min-height: auto !important; padding-top: 8rem !important; padding-bottom: 2rem !important; }
  .hero-container { display: flex !important; flex-direction: column !important; text-align: center; gap: 1rem; }
  .hero-animation { order: -1; justify-content: center !important; transform: none !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-right: 0 !important; }
  .hero-content { order: 0; display: flex; flex-direction: column; align-items: center; }
  .hero-ctas { justify-content: center !important; width: 100%; gap: 1rem; }
  .nav-links { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #050505; padding: 2rem; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,0.05); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all 0.3s ease; }
  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .navbar { transition: background 0.3s ease; }
  .navbar.menu-open { background: #050505; }
  
  /* Sharpen / Ground Atmospheric Logo on Mobile */
  .hero-static-logo { max-width: 300px !important; opacity: 0.6 !important; filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.8)) !important; -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 95%) !important; mask-image: radial-gradient(circle at center, black 50%, transparent 95%) !important; }

  /* Trust Logos - Horizontal Scroll for Mobile */
  .ecosystem-credibility { padding: 1rem 0 3rem 0 !important; }
  .eco-logos-wrapper { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; justify-content: flex-start !important; gap: 4rem !important; padding: 0 1.5rem 1rem 1.5rem !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .eco-logos-wrapper::-webkit-scrollbar { display: none; }
  
  /* Case Studies Mobile Pacing */
  .work-architecture { gap: 3rem !important; }
  .work-flagship-visual { height: 280px !important; }
  .work-support-visual { height: 220px !important; }
  .work-flagship-content, .work-support-content { padding: 2rem 1.5rem !important; }
  .work-flagship-content .work-title { font-size: 2rem !important; }
  
  /* Typography & Line Length */
  .editorial-p, .hero-subtitle, .work-desc, .acc-premium-desc, .doc-quote-main, .doc-quote-sub, .faq-desc { max-width: 95% !important; font-size: 1.05rem !important; line-height: 1.6 !important; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem) !important; }
  
  /* CTA Mobile Neutrality */
  .btn { padding: 0.6rem 1.2rem !important; font-size: 0.9rem !important; }
  .btn-submit { padding: 1rem !important; border: 1px solid rgba(255,255,255,0.05) !important; background: transparent !important; }
  
  /* General Spacing Compression */
  .workflow-section, .services-editorial, .studio-section-iconic, .testimonial-doc, .faq-iconic-section { padding: 4rem 0 !important; }
  .doc-grid, .cta-grid { gap: 3rem !important; }
  .footer-grand { padding: 2rem 0 !important; margin-top: 0 !important; }
  .footer-col-meta { text-align: left !important; align-items: flex-start !important; padding-top: 2rem; }
}

/* ==========================================================================
   CVRE CASE STUDY (LINEAR/APPLE STYLE)
   ========================================================================== */
.cs-breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.cs-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-top: 10rem; padding-bottom: 6rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cs-hero-title { font-size: clamp(4rem, 8vw, 7.5rem); font-family: var(--font-heading); line-height: 1; margin-bottom: 2rem; color: #fff; letter-spacing: -0.02em; font-weight: 400; }
.cs-hero-subtitle { font-size: 1.6rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; line-height: 1.4; max-width: 480px; font-weight: 400; letter-spacing: -0.01em; }
.cs-hero-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; max-width: 450px; margin-bottom: 4rem; }
.cs-hero-meta { display: flex; gap: 3rem; }
.meta-label { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; font-weight: 600; }
.meta-value { display: block; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; font-weight: 500; }

.cs-hero-right { position: relative; width: 100%; height: 100%; min-height: 600px; display: flex; align-items: center; justify-content: flex-end; }
.cs-hero-right img { width: 120%; max-width: none; transform: translateX(5%); object-fit: cover; border: none; border-radius: 0; -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 60%, transparent 100%); mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 60%, transparent 100%); }

.cs-kicker { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; display: block; font-weight: 600; }
.cs-heading { font-size: clamp(3rem, 5vw, 4rem); font-family: var(--font-heading); color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem; font-weight: 400; }
.cs-p { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.6; max-width: 500px; }

.cs-split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 6rem; padding-bottom: 6rem; border-bottom: 1px solid rgba(255,255,255,0.05); align-items: start; }

.cs-approach-section { padding: 8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cs-approach-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: start; }
.cs-approach-features { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem 3rem; }
.cs-feature h4 { font-size: 1.1rem; color: #fff; margin-bottom: 0.8rem; font-weight: 500; letter-spacing: -0.01em; }
.cs-feature p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.cs-feature svg { margin-bottom: 1.5rem; color: var(--text-muted); width: 22px; height: 22px; }

.cs-ui-bento { padding: 6rem 0; }
.cs-ui-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
.cs-ui-left { background: #080808; border-radius: 12px; border: 1px solid rgba(255,255,255,0.03); overflow: hidden; padding: 3rem; display: flex; align-items: center; justify-content: center; }
.cs-ui-right { display: flex; flex-direction: column; gap: 1.5rem; }
.cs-ui-small { background: #080808; border-radius: 12px; border: 1px solid rgba(255,255,255,0.03); overflow: hidden; padding: 2.5rem; flex: 1; display: flex; align-items: center; justify-content: center; }
.cs-ui-left img, .cs-ui-small img { width: 100%; border-radius: 6px; box-shadow: 0 4px 20px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.05); }

.cs-metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cs-metric h3 { font-size: 3.5rem; color: #fff; margin-bottom: 0.5rem; font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.cs-metric p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

.cs-next-project { padding: 8rem 0 6rem 0; }
.cs-next-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: center; }
.cs-next-title { font-size: 3rem; color: #fff; margin-bottom: 1rem; font-weight: 400; letter-spacing: -0.02em; }
.cs-next-desc { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 400px; line-height: 1.6; }
.cs-next-link { color: #fff; font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: opacity 0.3s ease; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 0.2rem; }
.cs-next-link:hover { opacity: 0.7; }
.cs-next-right { position: relative; height: 500px; background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 60%); border-radius: 24px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cs-next-right img { width: 80%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8)); opacity: 0.9; }

@media (max-width: 1024px) {
  .cs-hero-grid, .cs-split-row, .cs-approach-grid, .cs-next-grid { grid-template-columns: 1fr; gap: 4rem; }
  .cs-ui-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cs-hero-right { display: none; }
  .cs-hero-meta { flex-wrap: wrap; gap: 2rem; }
  .cs-split-row { padding-top: 4rem; padding-bottom: 4rem; }
  .cs-approach-section { padding-top: 4rem; padding-bottom: 4rem; }
}
@media (max-width: 768px) {
  .cs-metrics-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cs-approach-features { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   PROJECTS PAGE (LIST ARCHITECTURE)
   ========================================================================== */
.p-hero-title { font-size: clamp(3rem, 6vw, 4.5rem); font-family: var(--font-heading); line-height: 1.1; margin-bottom: 1.5rem; color: #fff; letter-spacing: -0.02em; font-weight: 400; }
.p-hero-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; max-width: 450px; }

.p-featured-card { background: #080808; border-radius: 16px; border: 1px solid rgba(255,255,255,0.03); display: grid; grid-template-columns: 1fr 1.8fr; overflow: hidden; margin-bottom: 4rem; }
.p-featured-left { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.p-featured-right { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; background: transparent; padding: 0; overflow: hidden; }
.p-featured-right img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; transform: none; max-width: none; }

.p-filter-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 0; }
.p-filter-links { display: flex; gap: 2rem; }
.p-filter-links a { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.p-filter-links a:hover, .p-filter-links a.active { color: #fff; }
.p-filter-btn { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; cursor: pointer; }

.p-list-container { display: flex; flex-direction: column; gap: 3rem; }
.p-list-item { display: grid; grid-template-columns: 1fr 1.2fr; background: #080808; border-radius: 16px; border: 1px solid rgba(255,255,255,0.03); overflow: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.p-list-item:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.p-list-left { padding: 4rem; display: flex; gap: 2rem; align-items: flex-start; }
.p-index { font-size: 0.8rem; color: var(--text-muted); font-family: monospace; padding-top: 0.5rem; }
.p-list-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; }
.p-list-right { background: transparent; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 400px; border-left: 1px solid rgba(255,255,255,0.03); }
.p-list-right img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform 0.5s ease; }
.p-list-item:hover .p-list-right img { transform: scale(1.02); }
.p-cta .btn:hover { background: rgba(255,255,255,0.05) !important; }

@media (max-width: 1024px) {
  .p-featured-card { grid-template-columns: 1fr; }
  .p-featured-left { padding: 3rem; }
  .p-list-item { grid-template-columns: 1fr; }
  .p-list-left { padding: 2rem; }
  .p-list-right { border-left: none; border-top: 1px solid rgba(255,255,255,0.03); min-height: 300px; }
  .p-cta > div { flex-direction: column; text-align: center; gap: 2rem; }
  .p-cta .btn { margin: 0 auto; }
}

/* HYBRID THEME SUPPORT FOR CVRE LAYOUT */
.cs-light-mode-wrapper .cs-heading { color: #111111; }
.cs-light-mode-wrapper .cs-p { color: #444444; }
.cs-light-mode-wrapper .cs-kicker { color: #888888; }
.cs-light-mode-wrapper .cs-split-row { border-bottom-color: rgba(0,0,0,0.1); }
.cs-light-mode-wrapper .cs-approach-section { border-bottom-color: rgba(0,0,0,0.1); }
.cs-light-mode-wrapper .cs-feature h4 { color: #111111; }
.cs-light-mode-wrapper .cs-feature p { color: #444444; }
.cs-light-mode-wrapper .cs-feature svg { color: #666666; }

/* HYBRID THEME SUPPORT FOR NEXT PROJECT */
.cs-light-mode-wrapper .cs-next-project { border-top-color: rgba(0,0,0,0.1); }
.cs-light-mode-wrapper .cs-next-title { color: #111111; }
.cs-light-mode-wrapper .cs-next-desc { color: #444444; }
.cs-light-mode-wrapper .cs-next-link { color: #111111; border-bottom-color: rgba(0,0,0,0.3); }
.cs-light-mode-wrapper .cs-next-right { background: transparent; overflow: visible; }
.cs-light-mode-wrapper .cs-next-right img { filter: none; box-shadow: 0 40px 80px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.05); border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); opacity: 1; width: 90%; }

/* APPLE-LEVEL TACTILE CROPPING FOR UI SHOWCASE */
.cs-ui-left { padding: 0 !important; align-items: center !important; justify-content: center !important; border: none !important; background: transparent !important; }
.cs-ui-left img { width: 100% !important; height: 100% !important; object-fit: cover !important; transform: none !important; border-radius: 12px !important; box-shadow: none !important; }

.cs-ui-small { padding: 0 !important; align-items: center !important; justify-content: center !important; border: none !important; background: transparent !important; }
.cs-ui-small img { width: 100% !important; height: 100% !important; object-fit: cover !important; transform: none !important; border-radius: 12px !important; box-shadow: none !important; }

@media (max-width: 768px) {
  .cs-ui-left img { width: 100% !important; transform: none !important; }
  .cs-ui-small img { width: 100% !important; transform: none !important; }
  .cs-impact-section { padding: 6rem 0 !important; }
}

/* HYBRID THEME SUPPORT FOR PROJECTS PAGE */
.cs-light-mode-wrapper .p-filter-links a { color: #888888; }
.cs-light-mode-wrapper .p-filter-links a:hover, 
.cs-light-mode-wrapper .p-filter-links a.active { color: #111111; }
.cs-light-mode-wrapper .p-filter-btn { color: #555555; }
.cs-light-mode-wrapper .p-filter-bar { border-bottom-color: rgba(0,0,0,0.1); }
.cs-light-mode-wrapper .p-list-item { background: #ffffff; border-color: rgba(0,0,0,0.05); }
.cs-light-mode-wrapper .p-list-item:hover { border-color: rgba(0,0,0,0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.cs-light-mode-wrapper .p-index { color: #888888; }
.cs-light-mode-wrapper .p-list-meta { color: #666666; }
.cs-light-mode-wrapper .p-list-right { background: #FAFAFA; border-left-color: rgba(0,0,0,0.05); }
@media (max-width: 1024px) {
  .cs-light-mode-wrapper .p-list-item { border-bottom-color: rgba(0,0,0,0.05); }
}

/* FULL BLEED HERO FOR CVRE */
.cs-hero-full {
  position: relative;
  width: 100%;
  min-height: 700px;
  height: 80vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.cs-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.cs-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.cs-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.cs-hero-full .cs-hero-left {
  max-width: 550px;
}
@media (max-width: 1024px) {
  .cs-hero-full {
    height: auto;
    min-height: 100vh;
    padding: 10rem 0 4rem 0;
    align-items: flex-start;
  }
  .cs-hero-bg img {
    object-position: center;
  }
  .cs-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 45%, transparent 100%);
    pointer-events: none;
  }
  .cs-hero-full .cs-hero-left {
    max-width: 100%;
  }
}

/* FULL BLEED CVRE CARD ON INDEX */
.cvre-card-full {
  display: flex !important;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}
.cvre-card-full .cvre-card-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.cvre-card-full .cvre-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
.cvre-card-full .work-bento-content {
  width: 100%;
  max-width: 450px;
  padding: 4rem;
}
.cvre-card-full .work-bento-content .work-category { color: rgba(255,255,255,0.6) !important; }
.cvre-card-full .work-bento-content .work-title { color: #ffffff !important; }
.cvre-card-full .work-bento-content .work-desc { color: rgba(255,255,255,0.8) !important; }
.cvre-card-full .work-bento-content .case-study-link { color: #ffffff !important; }

@media (max-width: 768px) {
  .cvre-card-full {
    align-items: flex-start !important;
    min-height: 500px;
  }
  .cvre-card-full::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }
  .cvre-card-full .work-bento-content {
    padding: 2rem;
    z-index: 1;
  }
}

/* ARC REVEAL ANIMATION */
.home-page .eco-horizon {
  animation: revealHeroArc 1.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.2s;
  height: 120vh; /* Start covering screen */
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  z-index: 9999;
}
.home-page .eco-horizon-glow {
  animation: revealHeroGlow 1.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
}
@keyframes revealHeroArc {
  0% { 
    height: 120vh; 
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  60% {
    border-top-left-radius: 50% 50px;
    border-top-right-radius: 50% 50px;
  }
  100% { 
    height: 150px; 
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
  }
}
@keyframes revealHeroGlow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media (max-width: 768px) {
  @keyframes revealHeroArc {
    0% { height: 120vh; border-radius: 0; }
    100% { height: 80px; border-top-left-radius: 50% 100%; border-top-right-radius: 50% 100%; }
  }
}

.home-page .btn-outline-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem !important;
  font-size: 1.1rem !important;
  background: transparent !important;
  color: #111111 !important;
  border: 1px solid rgba(17, 17, 17, 0.3) !important;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.home-page .btn-outline-large:hover {
  border-color: #111111 !important;
  background: rgba(17, 17, 17, 0.03) !important;
}


/* BENTO HEART'S LAW CARD ON INDEX */
.hlaw-card-bento {
  display: flex !important;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  min-height: 650px;
}
.hlaw-card-bento .hlaw-card-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hlaw-card-bento .hlaw-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hlaw-card-bento .work-bento-content {
  width: 100%;
  padding: 3rem;
  z-index: 1;
  position: relative;
}
.hlaw-content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.hlaw-card-bento .work-bento-content .work-category { color: rgba(255,255,255,0.6) !important; letter-spacing: 0.1em; font-weight: 500; font-size: 0.75rem; display: block; margin-bottom: 0; }
.hlaw-card-bento .work-bento-content .work-title { color: #ffffff !important; font-size: 2.8rem !important; margin-bottom: 1rem !important; letter-spacing: -0.04em !important; font-weight: 600; line-height: 1.1; }
.hlaw-card-bento .work-bento-content .work-desc { color: rgba(255,255,255,0.9) !important; font-size: 1.15rem !important; line-height: 1.5 !important; max-width: 90%; }
.hlaw-card-bento .work-bento-content .case-study-link { color: #ffffff !important; font-size: 1rem !important; font-weight: 400; display: inline-flex; }
.hlaw-card-bento .work-bento-content .case-study-link .icon { width: 24px; height: 24px; border: none; }
.hlaw-card-bento .work-bento-content .case-study-link:hover { opacity: 0.8; }

@media (max-width: 768px) {
  .hlaw-card-bento { min-height: 500px; }
  .hlaw-card-bento::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 60%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }
  .hlaw-card-bento .work-bento-content { padding: 2rem; }
  .hlaw-card-bento .work-bento-content .work-title { font-size: 2.2rem !important; }
}

.mobile-menu-btn { display: none !important; }
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex !important; align-items: center; justify-content: center; }
}

/* Infinite Marquee System */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  display: flex;
  margin-top: 0.5rem;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  min-width: 100%;
  gap: 6rem;
  padding-right: 6rem;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .marquee-content { gap: 4rem; padding-right: 4rem; animation-duration: 20s; }
  .marquee-container { -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
}

.mobile-menu-btn { display: none !important; }
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex !important; align-items: center; justify-content: center; }
}

/* ==========================================================================
   MOBILE FLOATING DOCK
   ========================================================================== */
.mobile-dock {
  display: none;
}

@media (max-width: 768px) {
  /* Hide the old top-right hamburger menu completely */
  .mobile-menu-btn { display: none !important; }
  
  /* Reset nav-links so they don't break anything (we don't use them on mobile anymore) */
  .nav-links { display: none !important; }
  
  /* Show and style the floating dock */
  .mobile-dock {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 0.5rem 1rem;
    z-index: 9999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  
  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .dock-item.active {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
  }
  
  .dock-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .dock-icon svg {
    width: 100%;
    height: 100%;
  }
  
  .dock-item span {
    font-size: 0.7rem;
    font-weight: 500;
  }
}

/* Reference Style Card Redesign */
.p-list-container { gap: 6rem; }

.cs-light-mode-wrapper .p-list-item { 
  background: #ffffff; 
  border-color: rgba(0,0,0,0.04); 
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.cs-light-mode-wrapper .p-list-item:hover { 
  border-color: rgba(0,0,0,0.08); 
  box-shadow: 0 20px 50px rgba(0,0,0,0.08); 
  transform: translateY(-4px);
}

.p-list-content-inner { display: flex; flex-direction: column; width: 100%; }

.cs-light-mode-wrapper .p-index { color: #A0A0AB; font-size: 1.1rem; font-family: 'Inter', sans-serif; font-weight: 500; margin-bottom: 0.5rem; }

.cs-light-mode-wrapper .p-subtitle { color: #555555; max-width: 90%; }

.p-list-divider { width: 40px; height: 1px; background: rgba(0,0,0,0.1); margin-bottom: 1.5rem; }

.cs-light-mode-wrapper .p-list-meta { color: #888888; text-transform: none; font-size: 0.85rem; letter-spacing: 0; font-weight: 500; margin-bottom: 2rem; }

.p-list-body { color: #666666; font-size: 0.95rem; line-height: 1.7; margin-bottom: 3rem; max-width: 95%; }

.p-cta-wrapper { margin-top: auto; }

.p-list-cta { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; cursor: pointer; }

.p-list-cta .cta-text { color: #111111; font-weight: 600; font-size: 1rem; transition: opacity 0.3s ease; }

.circle-arrow-btn { 
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); 
  display: flex; align-items: center; justify-content: center; color: #111111;
  transition: all 0.3s ease; background: transparent;
}

.p-list-cta:hover .circle-arrow-btn { background: #111111; color: #ffffff; border-color: #111111; transform: translateX(5px); }
.p-list-cta:hover .cta-text { opacity: 0.7; }

/* Inset Image for Right Side */
.cs-light-mode-wrapper .p-list-right { 
  background: #F8F9FA; 
  border-left: none; 
  padding: 3rem; 
}

.p-inset-img { 
  width: 100%; height: auto; max-height: 100%; 
  object-fit: contain !important; 
  border-radius: 16px; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08); 
  transform: none !important;
}

.cs-light-mode-wrapper .p-list-item:hover .p-inset-img { transform: translateY(-4px) scale(1.01) !important; box-shadow: 0 30px 50px rgba(0,0,0,0.2), 0 10px 20px rgba(0,0,0,0.1); }

@media (max-width: 1024px) {
  .cs-light-mode-wrapper .p-list-right { padding: 2rem; }
  .p-list-container { gap: 4rem; }
}

/* Site Wrapper to replace body overflow-x hidden */
.site-wrapper {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

.mobile-dock {
  -webkit-transform: translate3d(-50%, 0, 0) !important;
  transform: translate3d(-50%, 0, 0) !important;
  bottom: env(safe-area-inset-bottom, 20px) !important;
  margin-bottom: 20px !important;
}
