/* ==========================================================================
   NovaX AI — Apple-Level Design System
   Tech Venture Company · Classic Premium White · Editorial Typography
   Version 2.0 — Complete Ground-Up Redesign
   ========================================================================== */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Backgrounds */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F7F7F7;
  --gray-100: #F0F0F0;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0A0A0A;
  --black: #111111;
  --surface: #FFFFFF;
  --border: var(--gray-200);

  /* Accent — one restrained ink blue */
  --accent: #0066CC;
  --accent-light: #EBF5FF;
  --accent-dark: #004499;
  --accent-border: rgba(0, 102, 204, 0.2);

  /* Status & Accents */
  --green: #16A34A;
  --green-light: #DCFCE7;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --red: #DC2626;
  --indigo: #6366F1;
  --purple: #8B5CF6;
  --purple-light: #F3E8FF;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.09), 0 4px 16px rgba(0,0,0,0.05);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.11), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-window: 0 40px 100px -20px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.07);

  /* Layout */
  --max-w: 1320px;
  --nav-h: 68px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 120ms;
  --t-base: 200ms;
  --t-slow: 400ms;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* ==========================================================================
   ANIMATIONS & MOTION SYSTEM
   ========================================================================== */

/* Fade Up — hero and above-fold content */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fade In — simple opacity */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scale In — modal/card entrance */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* Slide In Left */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Slide In Right */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Gentle float — subtle decorative motion */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

/* Soft pulse — live indicator */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* Cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Shimmer loading */
@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position: 400px 0; }
}

/* Line draw */
@keyframes drawLine {
  from { width: 0; }
  to   { width: 100%; }
}

/* Scroll-triggered reveal — added via JS IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ==========================================================================
   SOLARE-STYLE KINETIC TYPOGRAPHY & PREMIUM SCROLL ANIMATIONS
   ========================================================================== */

/* Editorial Serif Accent (Solare / Nikolas Type aesthetic) */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.08em;
}

/* Word-reveal: wraps each word in .word-mask (overflow:hidden) then slides .word up */
.word-reveal {
  display: block;
}
.word-reveal .word-mask {
  display: inline-flex;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.word-reveal .word {
  display: inline-block;
  transform: translateY(112%) rotate(1.5deg);
  opacity: 0;
  transition: transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.65s ease;
  transition-delay: calc(var(--word-i, 0) * 45ms);
  will-change: transform, opacity;
}
.word-reveal.revealed .word {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

/* Line-reveal — single line slides up */
.line-reveal {
  overflow: hidden;
  display: block;
}
.line-reveal .line-inner {
  display: block;
  transform: translateY(105%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.line-reveal.revealed .line-inner {
  transform: translateY(0);
}

/* Scroll-scrubbed editorial manifesto text (words light up as user scrolls) */
.scroll-scrub-text {
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--gray-300);
}
.scroll-scrub-text .scrub-word {
  transition: color 0.25s ease, opacity 0.25s ease;
  color: var(--gray-300);
}
.scroll-scrub-text .scrub-word.active {
  color: var(--black);
}
.scroll-scrub-text .scrub-word.accent-word.active {
  color: var(--accent);
}

/* Infinite Kinetic Marquee Strip */
@keyframes marqueeScroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.venture-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
  user-select: none;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
  will-change: transform;
}
.venture-marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  white-space: nowrap;
}
.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* Fade-slide: for paragraphs & body sections */
.fade-slide {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.fade-slide.revealed { opacity: 1; transform: translateY(0); }

.fade-slide:nth-child(1) { transition-delay: 0ms; }
.fade-slide:nth-child(2) { transition-delay: 80ms; }
.fade-slide:nth-child(3) { transition-delay: 160ms; }
.fade-slide:nth-child(4) { transition-delay: 240ms; }
.fade-slide:nth-child(5) { transition-delay: 320ms; }

/* Scale-in: product windows and highlight cards */
.scale-in-reveal {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.85s ease,
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.scale-in-reveal.revealed { opacity: 1; transform: scale(1) translateY(0); }

/* Slide from sides */
.slide-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-left.revealed { opacity: 1; transform: translateX(0); }

.slide-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-right.revealed { opacity: 1; transform: translateX(0); }

/* Stagger parent: children animate in sequence */
.stagger-parent .stagger-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Horizontal line draw animation */
.line-draw {
  position: relative;
  overflow: hidden;
}
.line-draw::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.line-draw.revealed::after {
  width: 100%;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 9998;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Shimmer on primary CTAs (light gloss sweep on hover) */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 100%; }

/* Product window hover lift */
.product-window {
  transition: box-shadow 0.4s ease,
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-window:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Hero entrance animations */
.hero-tag   { animation: fadeIn 0.8s var(--ease-out) 0.1s both; }
.hero-h1    { animation: fadeUp 0.9s var(--ease-out) 0.2s both; }
.hero-sub   { animation: fadeUp 0.9s var(--ease-out) 0.35s both; }
.hero-ctas  { animation: fadeUp 0.9s var(--ease-out) 0.5s both; }
.hero-visual-wrapper { animation: scaleIn 1.1s var(--ease-out) 0.5s both; }
.hero-badge { animation: scaleIn 0.6s var(--ease-spring) 0s both; }

/* Animated underline for section overlines */
.overline-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Gentle number counter pulse when in view */
@keyframes countPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.fact-value.counted {
  animation: countPulse 0.4s ease;
}

/* Hero Switcher Pill Bar */
.hero-switcher-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  margin: 0 auto var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-switch-btn:hover {
  color: var(--black);
}
.hero-switch-btn.active {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}
.hero-switch-btn .switch-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  transition: background 0.25s ease;
}
.hero-switch-btn.active .switch-dot {
  background: var(--accent);
}

/* Studio Ecosystem Bento Console (Default Hero View) */
.studio-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding: 20px;
  background: var(--gray-50);
  text-align: left;
}
.studio-bento-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}
.studio-bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
}
.studio-col-3 { grid-column: span 3; }
.studio-col-6 { grid-column: span 6; }
.studio-col-4 { grid-column: span 4; }
.studio-col-8 { grid-column: span 8; }
.studio-col-12 { grid-column: span 12; }

/* 3-Pillar Venture Architecture Cards */
.venture-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.venture-pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.venture-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: var(--space-4);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--black);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  z-index: 1000;
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 16px;
}

.topbar,
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--gray-200);
  transition: border-color var(--t-slow) var(--ease), background var(--t-slow) var(--ease);
}

.topbar.scrolled,
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--gray-300);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.topbar-wrap,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* Brand */
.brand,
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: var(--black);
  flex-shrink: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.brand:hover,
.header-logo:hover { opacity: 0.75; }

.brand-mark {
  width: 30px;
  height: 30px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease-spring);
}

.brand:hover .brand-mark { transform: rotate(-5deg) scale(1.05); }

.brand-name,
.header-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: var(--black);
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link {
  color: var(--black);
  background: var(--gray-100);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--t-base) var(--ease);
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown */
.dropdown,
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s var(--t-base);
}

.dropdown.wide,
.nav-dropdown.wide { min-width: 340px; }

.nav-item:hover .dropdown,
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
  position: relative;
}

.dropdown-item:hover { background: var(--gray-50); }

.dropdown-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.dropdown-item-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
}

.dropdown-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: var(--r-full);
  background: var(--accent-light);
  color: var(--accent);
  white-space: nowrap;
}

.dropdown-badge.green {
  background: var(--green-light);
  color: var(--green);
}

.dropdown-item-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.45;
}

.dropdown-separator {
  height: 1px;
  background: var(--gray-100);
  margin: var(--space-2) var(--space-1);
}

/* Nav actions */
.nav-actions,
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-cta-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-cta-text:hover { color: var(--black); background: var(--gray-100); }

/* Mobile toggle */
.mobile-toggle,
.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--black);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  border: none;
  background: transparent;
  transition: background var(--t-fast);
}

.mobile-toggle:hover,
.mobile-menu-btn:hover { background: var(--gray-100); }

.mobile-toggle svg { width: 22px; height: 22px; }
.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--black);
  margin: 3px 0;
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 199;
  padding: var(--space-6) var(--space-6) var(--space-12);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s var(--t-base);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s;
}

@media (min-width: 1200px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-group { margin-bottom: var(--space-8); }

.mobile-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: var(--space-3);
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--t-fast);
}

.mobile-link:hover { color: var(--accent); }

.mobile-cta { margin-top: var(--space-6); padding-bottom: var(--space-8); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }

/* Primary — dark pill */
.btn-primary {
  padding: 11px 22px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,1);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 0 1px var(--gray-800);
}

.btn-primary:active { transform: translateY(0); }

/* Secondary — white outlined pill */
.btn-secondary {
  padding: 10px 22px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  transform: translateY(-1px);
}

/* Ghost */
.btn-ghost {
  padding: 10px 20px;
  background: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover { color: var(--black); background: var(--gray-100); }

/* Sizes */
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--black);
  transition: gap var(--t-base) var(--ease-spring);
}

.arrow-link:hover { gap: var(--space-3); }

.arrow-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ==========================================================================
   SECTION PATTERNS
   ========================================================================== */

.section { padding: var(--space-32) 0; }
.section-sm { padding: var(--space-20) 0; }
.section-lg { padding: calc(var(--space-32) + var(--space-16)) 0; }

.section-alt {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

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

/* Overline label */
.overline,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.overline {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}

.overline-accent { color: var(--accent); }

.overline-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Section titles */
.h-display {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--black);
}

.h-xl {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--black);
}

.h-lg {
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--black);
}

.h-md {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--black);
}

.body-lg {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--gray-600);
}

.body-md {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.caption {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--gray-500);
  margin-top: 4px;
}

.t-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-header { max-width: 720px; margin-bottom: var(--space-16); }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* Prose link */
.prose-link {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}

.prose-link:hover { border-bottom-color: var(--accent); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--nav-h) + var(--space-20));
  padding-bottom: var(--space-24);
  background: var(--white);
  overflow: hidden;
}

.hero-inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto var(--space-16);
}

/* Hero badge / overline */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.hero-badge:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
  color: var(--black);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Hero H1 */
.hero-h1 {
  font-size: clamp(2.25rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: var(--space-6);
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-h1 em {
  font-style: normal;
  color: var(--gray-500);
}

/* Hero supporting text */
.hero-sub {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto var(--space-8);
  font-weight: 400;
}

/* Hero CTAs */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Hero visual area — wide browser window */
.hero-visual-wrapper {
  max-width: 1140px;
  margin: 0 auto;
}

/* ==========================================================================
   PRODUCT WINDOW SYSTEM
   ========================================================================== */

.product-window {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  transition: box-shadow var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.product-window:hover {
  box-shadow: 0 48px 120px -24px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

/* Window chrome */
.win-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 var(--space-4);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  user-select: none;
}

.win-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.win-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  transition: transform var(--t-fast);
}

.product-window:hover .win-dot { transform: scale(1.1); }

.win-dot.red    { background: #FF5F57; }
.win-dot.yellow { background: #FEBC2E; }
.win-dot.green  { background: #28C840; }

.win-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xs);
  padding: 3px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-500);
}

.win-url-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.win-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Dashboard layout inside window */
.win-body {
  display: block;
  width: 100%;
  min-height: 420px;
}

.win-body:has(> .win-sidebar) {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 500px;
}

.win-sidebar {
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.win-sidebar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--black);
}

.win-sidebar-brand-icon {
  width: 22px; height: 22px;
  background: var(--black);
  color: var(--white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.win-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.win-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px var(--space-3);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: default;
  transition: background var(--t-fast);
}

.win-nav-item.active {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-xs);
  font-weight: 600;
}

.win-nav-item:hover:not(.active) { background: var(--gray-100); color: var(--black); }

.win-nav-badge {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: var(--r-full);
  background: var(--gray-200);
  color: var(--gray-600);
}

.win-nav-badge.alert { background: #FEE2E2; color: #DC2626; }
.win-nav-badge.info  { background: var(--accent-light); color: var(--accent); }

.win-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--white);
  overflow: hidden;
}

/* Dashboard data components */
.win-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.win-store-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--black);
}

.win-store-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 1px;
}

.win-searchbar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.win-kbd {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--gray-500);
}

/* Metrics strip */
.win-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.win-metric {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: var(--space-4);
}

.win-metric-label {
  font-size: 0.6875rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.win-metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.win-metric-trend {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 2px;
}

.win-metric-trend.warn { color: var(--amber); }

/* Split layout inside window */
.win-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-4);
}

.win-panel {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
}

.win-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--black);
}

.win-panel-sub { font-size: 0.6875rem; font-weight: 400; color: var(--gray-500); }

/* Mini table */
.win-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }

.win-table th {
  text-align: left;
  padding: 7px 14px;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
}

.win-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--black);
  vertical-align: middle;
}

.win-table tr:last-child td { border-bottom: none; }

.win-sku {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--gray-400);
}

.win-tag {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: var(--r-full);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.win-tag.ok     { background: var(--green-light); color: #15803D; }
.win-tag.low    { background: var(--amber-light); color: #B45309; }

/* Cart / Checkout panel */
.win-cart {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.win-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.win-cart-row strong { color: var(--black); }

.win-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--gray-300);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.win-pay-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.win-pay-btn {
  text-align: center;
  padding: 6px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  cursor: default;
  transition: all var(--t-fast);
}

.win-pay-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.win-whatsapp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 0.75rem;
}

/* ==========================================================================
   VENTURES / PRODUCTS GRID
   ========================================================================== */

/* Horizontal feature list */
.feature-list-h {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
}

.feature-item-h {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  background: var(--white);
  transition: all var(--t-slow) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-item-h::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}

.feature-item-h:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-item-h:hover::before { transform: scaleX(1); }

.fi-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: background var(--t-base);
}

.feature-item-h:hover .fi-icon { background: var(--black); color: var(--white); }

.fi-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.015em;
}

.fi-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gray-600);
}

/* Venture Card — for ShelfOne/AlphaGrad on homepage */
.venture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.venture-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  padding: var(--space-10);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: all var(--t-slow) var(--ease);
  position: relative;
  overflow: hidden;
}

.venture-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.vc-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  padding: 4px 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  align-self: flex-start;
}

.vc-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.vc-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
}

.vc-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.vc-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--gray-200);
  transition: gap var(--t-base) var(--ease-spring);
}

.vc-link:hover { gap: var(--space-3); }

.vc-link svg { width: 16px; height: 16px; }

/* Labs strip */
.labs-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.lab-item {
  padding: var(--space-5);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all var(--t-base) var(--ease);
}

.lab-item:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.lab-tag {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 3px 7px;
  border-radius: var(--r-xs);
  align-self: flex-start;
}

.lab-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.lab-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
  flex: 1;
}

.lab-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--black);
  margin-top: auto;
  transition: gap var(--t-base) var(--ease-spring), opacity var(--t-fast);
}

.lab-link:hover { gap: var(--space-2); }

/* ==========================================================================
   PHILOSOPHY / VALUES SECTION
   ========================================================================== */

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-24);
  align-items: center;
}

.philosophy-number {
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.philosophy-title {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: var(--space-5);
}

.philosophy-body { font-size: 1.0625rem; color: var(--gray-600); line-height: 1.7; }

.principle-list {
  display: flex;
  flex-direction: column;
}

.principle-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--gray-200);
  transition: background var(--t-fast);
  cursor: default;
}

.principle-item:last-child { border-bottom: 1px solid var(--gray-200); }

.principle-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
  padding-top: 4px;
}

.principle-body { display: flex; flex-direction: column; gap: var(--space-2); }
.principle-title { font-size: 1.0625rem; font-weight: 700; color: var(--black); }
.principle-text { font-size: 0.9375rem; line-height: 1.6; color: var(--gray-600); }

/* ==========================================================================
   FACTS / PROOF STRIP
   ========================================================================== */

.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.fact-item {
  padding: var(--space-10) var(--space-8);
  border-right: 1px solid var(--gray-200);
}

.fact-item:last-child { border-right: none; }

.fact-value {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.fact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-1);
}

.fact-desc { font-size: 0.8125rem; color: var(--gray-500); line-height: 1.4; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list { border-top: 1px solid var(--gray-200); }

.faq-item { border-bottom: 1px solid var(--gray-200); }

.faq-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}

.faq-btn:hover { color: var(--gray-700); }

.faq-icon {
  width: 24px; height: 24px;
  border-radius: var(--r-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gray-600);
  transition: transform var(--t-base) var(--ease), background var(--t-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--black);
  color: var(--white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease);
}

.faq-item.open .faq-body { max-height: 400px; padding-bottom: var(--space-5); }

.faq-answer {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* ==========================================================================
   FOUNDER SECTION
   ========================================================================== */

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-20);
  align-items: center;
}

.founder-img-wrap {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-100);
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.founder-img-wrap:hover img { transform: scale(1.02); }

.founder-copy { display: flex; flex-direction: column; gap: var(--space-6); }

.founder-name {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--black);
}

.founder-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.founder-bio {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-600);
}

.founder-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}

.founder-link:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.cta-section {
  padding: var(--space-32) 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.cta-inner { max-width: 700px; margin: 0 auto; }

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--space-5);
}

.cta-sub {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: var(--space-10);
}

.cta-actions { display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }

.btn-cta-primary {
  padding: 14px 28px;
  background: var(--white);
  color: var(--black);
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--t-base) var(--ease);
}

.btn-cta-primary:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.btn-cta-outline {
  padding: 13px 28px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--t-base) var(--ease);
}

.btn-cta-outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-body {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--gray-200);
}

.footer-brand-col { display: flex; flex-direction: column; gap: var(--space-4); }

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 300px;
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-400);
  margin-bottom: var(--space-4);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-link {
  font-size: 0.9375rem;
  color: var(--gray-600);
  transition: color var(--t-fast);
}

.footer-link:hover { color: var(--black); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright { font-size: 0.8125rem; color: var(--gray-400); }

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.footer-legal a { font-size: 0.8125rem; color: var(--gray-400); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--black); }

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.mt-4   { margin-top: var(--space-4); }
.mt-6   { margin-top: var(--space-6); }
.mt-8   { margin-top: var(--space-8); }
.mt-12  { margin-top: var(--space-12); }
.mb-4   { margin-bottom: var(--space-4); }
.mb-6   { margin-bottom: var(--space-6); }
.mb-8   { margin-bottom: var(--space-8); }
.text-center { text-align: center; }
.text-secondary { color: var(--gray-600); }
.text-muted { color: var(--gray-400); }
.font-mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==========================================================================
   VENTURE SPOTLIGHT & PRICING PACKAGES (Base Desktop Styles)
   ========================================================================== */
.venture-spotlight-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-12);
  width: 100%;
  box-sizing: border-box;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   RESPONSIVE DESIGN ARCHITECTURE
   Three Intentionally Designed Layout Tiers:
   1. DESKTOP: >= 1200px (Base CSS + desktop overrides)
   2. TABLET:  768px - 1199px
   3. MOBILE:   < 768px (max-width: 767px)
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   TIER 1: DESKTOP (>= 1200px)
   Multi-column grids, generous spacing, desktop navigation with dropdowns
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .main-nav { display: flex !important; }
  .mobile-toggle { display: none !important; }
  .mobile-drawer { display: none !important; }
  .nav-actions .btn { display: inline-flex !important; }
  .studio-bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .studio-col-3 { grid-column: span 3; }
  .studio-col-4 { grid-column: span 4; }
  .studio-col-6 { grid-column: span 6; }
  .studio-col-8 { grid-column: span 8; }
  .studio-col-12 { grid-column: span 12; }
  .feature-grid, .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .venture-pillar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .facts-strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .labs-strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-body {
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   TIER 2: TABLET (768px – 1199px)
   Deliberate 2-column layout, touch navigation, proportional spacing
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1199px) {
  :root { --nav-h: 64px; }

  /* Navigation */
  .topbar-wrap,
  .header-inner {
    padding: 0 var(--space-6);
  }
  .main-nav { display: none !important; }
  .nav-actions .nav-cta-text { display: none !important; }
  .nav-actions .btn { display: inline-flex !important; padding: 8px 16px; font-size: 0.8125rem; }
  .mobile-toggle { display: inline-flex !important; }

  /* Typography & Hero */
  .hero-section {
    padding-top: calc(var(--nav-h) + var(--space-8)) !important;
    padding-bottom: var(--space-12) !important;
  }
  .hero-h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
    line-height: 1.1 !important;
  }
  .hero-sub {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    max-width: 680px !important;
    margin: 0 auto var(--space-6) !important;
  }
  .hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--space-4);
  }
  .hero-switcher-bar {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .hero-switcher-bar::-webkit-scrollbar { display: none; }
  .hero-switch-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Studio Bento Grid: Clean 2-column card architecture */
  .studio-bento-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 16px !important;
    gap: 14px !important;
  }
  .studio-col-3,
  .studio-col-4,
  .studio-col-6 {
    grid-column: span 1 !important;
    width: 100% !important;
  }
  .studio-col-8,
  .studio-col-12 {
    grid-column: span 2 !important;
    width: 100% !important;
  }

  /* Venture Spotlight Box */
  .venture-spotlight-box {
    padding: var(--space-8) var(--space-6) !important;
    margin-bottom: var(--space-10) !important;
    border-radius: var(--r-xl) !important;
  }
  .venture-spotlight-box h3.h-lg {
    font-size: 1.65rem !important;
  }

  /* Tab Navigation in Spotlights */
  .tab-nav-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: var(--space-5);
  }
  .tab-nav-wrapper::-webkit-scrollbar { display: none; }
  .tab-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
  }
  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  /* Feature Grids, Venture Pillars, Labs, Packages: 2-Column Rule */
  .feature-grid,
  .grid-3,
  .venture-pillar-grid,
  .venture-grid,
  .philosophy-grid,
  .alphagrad-workflow-grid,
  .partner-card-grid,
  .career-grid,
  .labs-strip,
  .packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-5) !important;
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-5) !important;
  }

  /* Inline grid attribute fallback for tablet */
  div[style*="repeat(3, 1fr)"],
  div[style*="repeat(3,1fr)"],
  div[style*="grid-template-columns:repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-5) !important;
  }

  /* Facts Strip: 2-column */
  .facts-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .fact-item {
    padding: var(--space-8) var(--space-6) !important;
  }
  .fact-item:nth-child(2) { border-right: none !important; }
  .fact-item:nth-child(1),
  .fact-item:nth-child(2) { border-bottom: 1px solid var(--gray-200); }

  /* Window Chrome & Layout */
  .win-body { grid-template-columns: 1fr !important; }
  .win-sidebar { display: none !important; }
  .win-metrics { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .win-split { grid-template-columns: 1fr !important; }

  /* Founder, Investment & Contact */
  .founder-grid {
    grid-template-columns: 240px 1fr !important;
    gap: var(--space-8) !important;
    align-items: center;
  }
  .invest-split {
    grid-template-columns: 1fr !important;
    gap: var(--space-8) !important;
  }
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: var(--space-8) !important;
  }

  /* Footer */
  .footer-body {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--space-8) !important;
  }
  .footer-brand-col {
    grid-column: 1 / -1 !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: var(--space-8) !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   TIER 3: MOBILE (< 768px)
   Independent single-column mobile design:
   - Full-width cards per row (width: 100%)
   - No narrow squeezing into vertical columns
   - Touch-optimized buttons, natural typography, zero page overflow
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  :root { --nav-h: 60px; }

  /* Containment & Global Overflow Prevention */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .container,
  .container-wide {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 var(--space-4) !important;
    box-sizing: border-box !important;
  }
  section,
  .section,
  .section-lg {
    padding: var(--space-12) 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Mobile Navigation */
  .topbar-wrap,
  .header-inner {
    padding: 0 var(--space-4) !important;
  }
  .main-nav { display: none !important; }
  .nav-actions .btn { display: none !important; }
  .nav-actions .nav-cta-text { display: none !important; }
  .mobile-toggle { display: inline-flex !important; }

  /* Mobile Hero Section */
  .hero-section {
    padding-top: calc(var(--nav-h) + var(--space-6)) !important;
    padding-bottom: var(--space-10) !important;
    text-align: center !important;
  }
  .hero-badge {
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
    margin-bottom: var(--space-4) !important;
    max-width: 100% !important;
    display: inline-flex;
    white-space: normal;
    text-align: center;
  }
  .hero-h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: var(--space-4) !important;
  }
  .hero-sub {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    margin-bottom: var(--space-6) !important;
    padding: 0 4px !important;
  }
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: var(--space-3) !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 0.9375rem !important;
    box-sizing: border-box !important;
  }

  /* Hero Studio 5-View Pill Switcher Bar (Swipeable, No Page Overflow) */
  .hero-switcher-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    padding: 4px !important;
    border-radius: var(--r-full) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: var(--space-4) !important;
  }
  .hero-switcher-bar::-webkit-scrollbar { display: none !important; }
  .hero-switch-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    gap: 5px !important;
  }

  /* Studio Bento Grid: Strict Single-Column (1 Full-Width Card Per Row) */
  .studio-bento-grid {
    grid-template-columns: 1fr !important;
    padding: 10px !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .studio-bento-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
  }
  .studio-col-3,
  .studio-col-4,
  .studio-col-6,
  .studio-col-8,
  .studio-col-12 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  /* Studio Window Mockup Elements */
  .win-chrome {
    padding: 0 10px !important;
    height: 38px !important;
  }
  .win-meta {
    display: none !important;
  }
  .win-url {
    max-width: 180px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.6875rem !important;
    padding: 2px 8px !important;
  }
  .win-body {
    grid-template-columns: 1fr !important;
  }
  .win-sidebar {
    display: none !important;
  }
  .win-main {
    padding: 10px !important;
    gap: 10px !important;
  }
  .win-metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .win-metric {
    padding: 8px 6px !important;
  }
  .win-metric-value {
    font-size: 1.1rem !important;
  }
  .win-split {
    grid-template-columns: 1fr !important;
  }
  .win-panel {
    overflow-x: auto !important;
    max-width: 100% !important;
  }
  .win-table {
    min-width: 260px !important;
  }
  .win-pay-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .win-pay-btn {
    flex: 1 1 calc(33.333% - 6px) !important;
    min-width: 60px !important;
    padding: 6px 4px !important;
    font-size: 0.7rem !important;
  }
  .alphagrad-divisions-grid {
    grid-template-columns: 1fr !important;
  }

  /* Venture Spotlight Showcase Boxes: Spacious Full-Width */
  .venture-spotlight-box {
    padding: 20px 14px !important;
    margin-bottom: var(--space-8) !important;
    border-radius: var(--r-xl) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .venture-spotlight-box h3.h-lg {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: var(--space-3) !important;
  }

  /* Tab Navigation Switchers (Smooth Touch Swipe, No Page Overflow) */
  .tab-nav-wrapper {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 6px !important;
    margin-bottom: var(--space-4) !important;
    width: 100% !important;
  }
  .tab-nav-wrapper::-webkit-scrollbar { display: none !important; }
  .tab-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: max-content !important;
  }
  .tab-btn {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* ALL Feature Grids & Venture Cards: Strict 1-Column Mobile Layout */
  .feature-grid,
  .grid-3,
  .grid-2,
  .venture-pillar-grid,
  .venture-grid,
  .philosophy-grid,
  .alphagrad-workflow-grid,
  .partner-card-grid,
  .career-grid,
  .labs-strip,
  .packages-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Card Width, Internal Padding & Typography */
  .feature-card,
  .card,
  .venture-pillar-card,
  .lab-item,
  .workflow-step,
  .career-card,
  .partner-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: var(--space-6) var(--space-5) !important;
  }
  .feature-title {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
  }
  .feature-desc {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
  }

  /* Fallback for any residual inline grid styles */
  div[style*="repeat(3, 1fr)"],
  div[style*="repeat(3,1fr)"],
  div[style*="grid-template-columns:repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns:1fr 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: var(--space-4) !important;
  }

  /* Spotlight Footer Action Bars (Full-Width CTAs) */
  .venture-spotlight-box div[style*="margin-top:var(--space-8)"][style*="display:flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--space-3) !important;
  }
  .venture-spotlight-box div[style*="margin-top:var(--space-8)"][style*="display:flex"] .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .venture-spotlight-box div[style*="margin-top:var(--space-8)"][style*="display:flex"] span {
    margin-left: 0 !important;
    text-align: center !important;
    padding-top: 4px;
  }

  /* Facts Strip: 1-Column with Border Separators */
  .facts-strip {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .fact-item {
    border-right: none !important;
    border-bottom: 1px solid var(--gray-200) !important;
    padding: var(--space-5) var(--space-4) !important;
  }
  .fact-item:last-child {
    border-bottom: none !important;
  }
  .fact-value {
    font-size: 2rem !important;
  }

  /* Founder Section */
  .founder-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
    text-align: center;
  }
  .founder-img-wrap {
    max-width: 220px !important;
    margin: 0 auto !important;
  }
  .founder-links {
    justify-content: center !important;
  }

  /* Investment, Contact & Forms */
  .invest-box {
    padding: var(--space-6) var(--space-4) !important;
  }
  .invest-split {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-3) !important;
  }
  .form-card {
    padding: var(--space-5) var(--space-4) !important;
  }

  /* CTA Section */
  .cta-section {
    padding: var(--space-12) 0 !important;
  }
  .cta-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: var(--space-3) !important;
  }
  .cta-actions .btn,
  .cta-actions .btn-cta-primary,
  .cta-actions .btn-cta-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Footer */
  .footer-body {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
  .footer-brand-col {
    flex-direction: column !important;
    grid-column: 1 / -1 !important;
    gap: var(--space-4) !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--space-4) !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   TIER 4: NARROW MOBILE HELPER (<= 480px, 390px, 375px, 320px)
   Fine-tuned padding and typography adjustments for compact devices
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container,
  .container-wide {
    padding: 0 14px !important;
  }
  .topbar-wrap,
  .header-inner {
    padding: 0 14px !important;
  }
  .hero-h1 {
    font-size: clamp(1.6rem, 6.8vw, 2rem) !important;
    line-height: 1.15 !important;
  }
  .hero-badge {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }
  .venture-spotlight-box {
    padding: 16px 12px !important;
    border-radius: var(--r-lg) !important;
  }
  .win-chrome {
    padding: 0 8px !important;
  }
  .win-url {
    max-width: 140px !important;
    font-size: 0.625rem !important;
  }
  .pos-add-chip {
    padding: 4px 10px !important;
    font-size: 0.7rem !important;
  }
}

/* ==========================================================================
   FORMS & CONTACT LAYOUT
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  background: var(--white);
  transition: all var(--t-base) var(--ease);
}

.contact-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}

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

.contact-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: var(--space-1);
}

.contact-card-body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-card-body a {
  color: var(--accent);
  font-weight: 600;
  transition: opacity var(--t-fast);
}

.contact-card-body a:hover { opacity: 0.8; }

.form-card {
  padding: var(--space-8);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-4);
}

.form-group.full-width { grid-column: 1 / -1; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--black);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

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

.status-msg {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: var(--space-4);
  display: none;
}

.status-msg.success {
  background: var(--green-light);
  color: #15803D;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.status-msg.error {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ==========================================================================
   LEGAL & EDITORIAL PROSE SYSTEM
   ========================================================================== */

.prose-container {
  max-width: 800px;
  margin: 0 auto;
}

.prose-section {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--gray-200);
}

.prose-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.prose-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
}

.prose-h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
  margin: var(--space-6) 0 var(--space-2);
}

.prose-p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: var(--space-4);
}

.prose-ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.prose-ul li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-700);
}

/* ==========================================================================
   HERO VERTICAL TEXT ROTATOR & MOTION
   ========================================================================== */
.rotator-container {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  height: 1.18em;
  vertical-align: -0.18em;
}

.rotator-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.rotator-item {
  height: 1.18em;
  line-height: 1.18em;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0052cc 0%, #1e40af 50%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

/* ==========================================================================
   INTERACTIVE TABS & PRODUCT SWITCHERS
   ========================================================================== */
.tab-container {
  width: 100%;
}

.tab-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.tab-nav {
  display: inline-flex;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--r-full);
  border: 1px solid var(--gray-200);
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
}

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

.tab-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PRODUCT ACCENTS & BADGES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
  line-height: 1.4;
  white-space: nowrap;
}

.badge-emerald,
.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #065F46;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.badge-emerald-dot,
.badge-green .badge-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
}

.badge-indigo,
.badge-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #004499;
  background: var(--accent-light);
  border: 1px solid rgba(0, 102, 204, 0.2);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.badge-indigo-dot,
.badge-blue .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.badge-purple {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5B21B6;
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.badge-purple-dot,
.badge-purple .badge-dot {
  width: 6px;
  height: 6px;
  background: #8B5CF6;
  border-radius: 50%;
}

.badge-amber {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.badge-amber-dot,
.badge-amber .badge-dot {
  width: 6px;
  height: 6px;
  background: #F59E0B;
  border-radius: 50%;
}

.badge-gray {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.badge-gray .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gray-500);
  border-radius: 50%;
}

/* ==========================================================================
   ALPHAGRAD WORKFLOW & COPILOT CARDS
   ========================================================================== */
.alphagrad-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.workflow-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  position: relative;
  transition: all var(--t-base) var(--ease);
}
.workflow-step:hover {
  transform: translateY(-2px);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: var(--space-3);
}

.step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: var(--space-2);
}

.step-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-600);
}

/* ==========================================================================
   CAREERS & INTERNSHIP CARDS
   ========================================================================== */
.career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.career-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  transition: all var(--t-base) var(--ease);
}
.career-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.career-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-3) 0 var(--space-4);
}

.career-pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--r-full);
}

.career-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-4) 0 var(--space-6);
}

.career-perk-item {
  font-size: 0.875rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.career-perk-item i {
  color: var(--accent);
  margin-top: 3px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   INVESTMENT & COLLABORATION SECTIONS
   ========================================================================== */
.invest-box {
  background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  padding: var(--space-12) var(--space-10);
  box-shadow: var(--shadow-xs);
}

.invest-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.partner-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: all var(--t-base) var(--ease);
}
.partner-card:hover {
  transform: translateY(-2px);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FEATURE GRIDS & CARDS (Spacious, Apple-tier Architecture)
   ========================================================================== */
.feature-grid,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.feature-card,
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xs);
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}
.feature-card:hover,
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
}

.feature-icon,
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--gray-100);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--space-5);
  transition: all var(--t-base) var(--ease);
}
.feature-card:hover .feature-icon,
.card:hover .card-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.feature-title {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: var(--space-3);
}

.feature-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
}

/* Hero Section Variant */
.hero {
  padding-top: calc(var(--nav-h) + var(--space-12));
  padding-bottom: var(--space-12);
  background: var(--white);
}

/* Window Chrome aliases for product windows */
.window-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: transform var(--t-fast);
}
.window-dot.red { background: #FF5F57; }
.window-dot.yellow { background: #FEBC2E; }
.window-dot.green { background: #28C840; }

.window-url {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 4px 14px;
  border-radius: var(--r-full);
}

/* Dropdown item icons and text */
.dropdown-item .dropdown-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.dropdown-item .dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-item .dropdown-text strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}
.dropdown-item .dropdown-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Interactive Tabs */
.shelf-tab-btn,
.book-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease);
}
.shelf-tab-btn:hover,
.book-tab-btn:hover {
  background: var(--gray-200);
  color: var(--black);
}
.shelf-tab-btn.active,
.book-tab-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Receipt Modal Utilities */
.receipt-center {
  text-align: center;
}
.receipt-divider {
  border-bottom: 1px dashed var(--gray-300);
  margin: var(--space-3) 0;
}

/* ==========================================================================
   INTERACTIVE WIDGET CONTROLS — SHELFONE & ALPHAGRAD
   ========================================================================== */

/* Quick Product Selector Bar in POS */
.pos-catalog-strip {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-4);
  scrollbar-width: thin;
}
.pos-add-chip {
  padding: 6px 12px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pos-add-chip:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Quantity Control Buttons */
.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: all var(--t-fast) var(--ease);
}
.qty-btn:hover {
  background: var(--gray-200);
}

/* Simulated Thermal Receipt Modal */
.receipt-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.receipt-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}
.receipt-paper {
  background: #FFFDF9;
  color: #111;
  width: 100%;
  max-width: 360px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  border: 1px dashed var(--gray-300);
  position: relative;
}
.receipt-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gray-200);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

/* AlphaGrad Interactive Socratic Tutor */
.socratic-chat-history {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-height: 280px;
  overflow-y: auto;
  padding-right: var(--space-2);
}
.chat-bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  line-height: 1.55;
}
.chat-bubble.student {
  background: var(--gray-100);
  color: var(--black);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  max-width: 85%;
}
.chat-bubble.copilot {
  background: var(--accent-light);
  color: var(--black);
  border: 1px solid rgba(0, 102, 204, 0.15);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  max-width: 90%;
}

/* AlphaGrad Interactive Diagnostic Quiz */
.quiz-option-btn {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: 0.84375rem;
  color: var(--gray-800);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}
.quiz-option-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}
.quiz-option-btn.correct {
  background: var(--green-light);
  border-color: var(--green);
  color: #065F46;
  font-weight: 600;
}
.quiz-option-btn.wrong {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #991B1B;
}

/* Form Status Message Styling */
.form-status-msg {
  padding: var(--space-4);
  border-radius: var(--r-md);
  margin-top: var(--space-4);
  font-size: 0.875rem;
  line-height: 1.5;
}
.form-status-msg.success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}
.form-status-msg.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* Container Wide */
.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}


