/* ==========================================================================
   NOIVRN — COMPONENTS & SECTION STYLES
   Art-directed editorial components for the venture studio
   ========================================================================== */

/* --- Custom Physics Cursor (Desktop Only) --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, opacity 0.3s ease;
  will-change: transform;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(223, 186, 115, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}

.custom-cursor-follower.is-hovering {
  width: 60px;
  height: 60px;
  border-color: var(--gold-primary);
  background-color: rgba(223, 186, 115, 0.08);
}

@media (pointer: coarse), (hover: none) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   1. NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: 1.25rem 0;
  transition: padding 0.4s var(--ease-out-expo), background-color 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background-color: rgba(9, 11, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo Brand Block */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out-expo), filter 0.4s ease;
  filter: drop-shadow(0 2px 8px rgba(223, 186, 115, 0.25));
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 4px 14px rgba(223, 186, 115, 0.5));
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-primary);
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(223, 186, 115, 0.3);
  border-radius: 2px;
  margin-left: 0.25rem;
}

/* Desktop Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--gold-primary);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold-primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(223, 186, 115, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-cta-btn {
  font-size: 0.78rem;
  padding: 0.65rem 1.25rem;
}

/* ==========================================================================
   THEME TOGGLE — BESPOKE GLASSMORPHIC SWITCH (PINTEREST INSPIRATION)
   ========================================================================== */
.theme-toggle-glass {
  position: relative;
  width: 62px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(223, 186, 115, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.16), 0 2px 10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  overflow: hidden;
  transition: background-color 0.4s var(--ease-out-expo), 
              border-color 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo),
              transform 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.theme-toggle-glass:hover {
  border-color: var(--gold-primary);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 0 14px rgba(223, 186, 115, 0.3);
  transform: translateY(-1px);
}

.theme-toggle-glass:active {
  transform: scale(0.96);
}

.theme-toggle-glass:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

/* Glass Pill Track Background Decorative Icons */
.toggle-track-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toggle-track-icon.icon-moon-track {
  left: 8px;
  color: var(--gold-primary);
  opacity: 0.85;
}

.toggle-track-icon.icon-sun-track {
  right: 8px;
  color: var(--gold-primary);
  opacity: 0.35;
}

/* Sliding Frosted Glass Lens Knob */
.toggle-glass-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.42s cubic-bezier(0.34, 1.45, 0.64, 1),
              background-color 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  z-index: 2;
}

/* Icons inside the knob */
.toggle-knob-icon {
  width: 13px;
  height: 13px;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
  position: absolute;
}

.toggle-knob-icon.icon-moon-knob {
  color: var(--gold-light);
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.toggle-knob-icon.icon-sun-knob {
  color: var(--gold-primary);
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

/* --- LIGHT MODE TOGGLE STATE --- */
[data-theme="light"] .theme-toggle-glass {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(158, 119, 40, 0.28);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .theme-toggle-glass:hover {
  border-color: var(--gold-primary);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 12px rgba(158, 119, 40, 0.22);
}

[data-theme="light"] .toggle-track-icon.icon-moon-track {
  opacity: 0.35;
  color: #767E90;
}

[data-theme="light"] .toggle-track-icon.icon-sun-track {
  opacity: 0.95;
  color: var(--gold-primary);
}

[data-theme="light"] .toggle-glass-knob {
  transform: translateX(30px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(158, 119, 40, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 1px 1px #FFFFFF;
}

[data-theme="light"] .toggle-knob-icon.icon-moon-knob {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

[data-theme="light"] .toggle-knob-icon.icon-sun-knob {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
  z-index: 110;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 7, 9, 0.96);
  backdrop-filter: blur(20px);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem var(--container-pad);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-close {
  display: none;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.mobile-nav-link:hover {
  color: var(--gold-primary);
  transform: translateX(10px);
}

.mobile-drawer-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(8rem, 16vh, 12rem);
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, rgba(22, 44, 78, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(223, 186, 115, 0.06) 0%, transparent 50%),
              var(--bg-void);
}

/* Canvas Background for Physical Simulation */
.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-canvas);
  pointer-events: auto;
  opacity: 0.85;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  max-width: 1200px;
}

.hero-eyebrow-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Massive Editorial Typography */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.8vw, 6.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 2.25rem;
  text-transform: uppercase;
}

.hero-title .title-line {
  display: block;
  overflow: hidden;
}

.hero-title .highlight-word {
  color: var(--gold-primary);
  position: relative;
  display: inline-block;
}

.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: flex-end;
  margin-top: 1.5rem;
}

.hero-lead-text {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Hero Status Ticker */
.hero-ticker-wrap {
  position: relative;
  z-index: var(--z-content);
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ticker-item strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.ticker-accent {
  color: var(--gold-primary) !important;
}

/* ==========================================================================
   3. WHAT IS NOIVRN SECTION
   ========================================================================== */
.what-section {
  position: relative;
  padding: var(--section-spacing) 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: start;
}

.editorial-statement {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  position: sticky;
  top: 6.5rem;
}

.editorial-body {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.editorial-para {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.editorial-para strong {
  color: var(--text-primary);
}

/* Studio vs Single-Product Comparison Architecture */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.comparison-card {
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--border-medium);
  transition: all var(--transition-normal);
}

.comparison-card.highlight {
  border-left-color: var(--gold-primary);
  background: linear-gradient(135deg, rgba(22, 44, 78, 0.25) 0%, rgba(14, 17, 24, 0.8) 100%);
  border-color: rgba(223, 186, 115, 0.25);
}

.comparison-card:hover {
  transform: translateX(4px);
}

.comparison-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.comparison-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.comparison-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   4. PHILOSOPHY SECTION
   ========================================================================== */
.philosophy-section {
  position: relative;
  padding: var(--section-spacing) 0;
  background: var(--bg-void);
}

.principles-rail {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.principle-row {
  display: grid;
  grid-template-columns: 90px 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 3.5vw, 3rem) 0;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background-color var(--transition-normal), padding-left var(--transition-normal);
  position: relative;
}

.principle-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--gold-primary);
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.principle-row:hover, .principle-row.active {
  padding-left: 1.25rem;
}

.principle-row:hover::before, .principle-row.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.principle-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: uppercase;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.principle-row:hover .principle-title, .principle-row.active .principle-title {
  color: var(--gold-primary);
}

.principle-row:hover .principle-num, .principle-row.active .principle-num {
  color: var(--gold-primary);
}

.principle-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

/* ==========================================================================
   5. VENTURES OVERVIEW & 6. VIRTUALWORKS LAB FEATURE
   ========================================================================== */
.ventures-section {
  position: relative;
  padding: var(--section-spacing) 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}



/* Main Cinematic Venture Panel */
.venture-cinematic-card {
  margin-top: 2.5rem;
  background: radial-gradient(circle at 82% 20%, rgba(22, 44, 78, 0.55) 0%, transparent 65%),
              linear-gradient(145deg, #090E17 0%, #05070D 100%) !important;
  border: 1px solid rgba(223, 186, 115, 0.28) !important;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.85), 0 0 70px rgba(22, 44, 78, 0.3) !important;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.venture-cinematic-card:hover {
  border-color: rgba(223, 186, 115, 0.42) !important;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.92), 0 0 90px rgba(24, 47, 82, 0.45) !important;
}

.venture-cinematic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 35%, var(--gold-light) 65%, transparent 100%);
  z-index: 3;
}

.venture-glow-backdrop {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 75%;
  height: 130%;
  background: radial-gradient(circle at 68% 50%, rgba(24, 58, 114, 0.50) 0%, rgba(12, 30, 64, 0.25) 45%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* 2-Column Composition: Left Editorial Content & Right Embedded Brand Emblem */
.venture-panel-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(2.75rem, 5vw, 4.5rem);
  min-height: 520px;
}

/* Left Content Area */
.venture-content-area {
  flex: 1 1 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 3;
}

/* Venture Label: Status & Index */
.venture-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.status-pill-active {
  background: rgba(14, 29, 51, 0.85);
  border: 1px solid rgba(223, 186, 115, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.venture-index-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(223, 186, 115, 0.08);
  border: 1px solid rgba(223, 186, 115, 0.22);
  padding: 0.32rem 0.75rem;
  border-radius: 2px;
}

/* Venture Title: VIRTUALWORKS / LAB */
.venture-title-monumental {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 3;
}

.venture-title-monumental .vw-title-line-1 {
  display: inline-block;
  white-space: nowrap;
}

.venture-title-monumental .vw-title-line-2 {
  display: inline-block;
  white-space: nowrap;
}

.venture-title-monumental .title-white {
  color: #FFFFFF;
}

.venture-title-monumental .title-gold {
  color: var(--gold-primary);
  background: linear-gradient(135deg, #FFF0D0 0%, #F4DF9E 40%, #DFBA73 80%, #B38E46 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Tagline in Gold/Yellow Accent */
.venture-tagline-accent {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.65rem;
  margin-bottom: 1.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Clean, Readable Description */
.venture-description-clean {
  font-size: 1.08rem;
  line-height: 1.72;
  color: #B2B9C8;
  max-width: 52ch;
  margin-bottom: 2.25rem;
}

/* Explore Action Buttons */
.venture-actions-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-venture-primary {
  background: linear-gradient(135deg, #F4DF9E 0%, #DFBA73 50%, #B38E46 100%) !important;
  color: #06080E !important;
  font-weight: 700 !important;
  padding: 1rem 1.85rem !important;
  border: 1px solid #DFBA73 !important;
  box-shadow: 0 4px 22px rgba(223, 186, 115, 0.4) !important;
}

.btn-venture-primary:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #F4DF9E 50%, #DFBA73 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(223, 186, 115, 0.55) !important;
}

.btn-venture-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  padding: 1rem 1.85rem !important;
  border: 1px solid rgba(223, 186, 115, 0.35) !important;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.btn-venture-secondary:hover {
  background: rgba(223, 186, 115, 0.12) !important;
  border-color: rgba(223, 186, 115, 0.6) !important;
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}


/* ==========================================================================
   VENTURES SLIDE — ARCHITECTURAL COLORED SKETCH BACKGROUND
   Subtle 2D colored technical sketch printed directly into the dark canvas.
   Preserves original brand colors: vibrant yellow W & structural elements,
   crisp black circle & outlines, and background-integrated vellum wash.
   Zero 3D, zero wood, zero metal, zero bevels, flat 2D graphic.
   ========================================================================== */
.venture-sketch-container {
  position: absolute;
  top: 50%;
  right: 0.5%;
  transform: translateY(-50%);
  width: 58%;
  height: 94%;
  max-height: 540px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.venture-sketch-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 520px;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.88;
  mix-blend-mode: normal;
  filter: none;
  animation: sketchFadeIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity;
}

/* Subtle initial reveal into the dark canvas */
@keyframes sketchFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.80;
  }
}

/* VirtualWorks Lab Dedicated Showcase */
.virtualworks-feature {
  margin-top: 3rem;
  background: radial-gradient(circle at 85% 15%, rgba(22, 44, 78, 0.4) 0%, transparent 65%),
              linear-gradient(145deg, #0A111D 0%, #06080E 100%);
  border: 1px solid rgba(223, 186, 115, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(22, 44, 78, 0.3);
  position: relative;
  overflow: hidden;
}

.virtualworks-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 50%, transparent 100%);
}

.vw-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.vw-badge-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.vw-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.vw-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.vw-subline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.vw-description {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
}

.vw-action-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Feature Pillars Grid inside VirtualWorks */
.vw-pillars-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vw-pillar-card {
  background: rgba(14, 21, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1.25rem;
  transition: all var(--transition-normal);
  position: relative;
}

.vw-pillar-card:hover {
  background: rgba(22, 36, 58, 0.7);
  border-color: rgba(223, 186, 115, 0.35);
  transform: translateY(-3px);
}

.vw-pillar-icon {
  width: 28px;
  height: 28px;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.vw-pillar-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.vw-pillar-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Verified Link Button */
.btn-vw {
  background: linear-gradient(135deg, #DFBA73 0%, #B38E46 100%);
  color: #06080E;
  font-weight: 700;
  padding: 1.05rem 2rem;
  border-radius: 2px;
  box-shadow: 0 4px 25px rgba(223, 186, 115, 0.35);
}

.btn-vw:hover {
  background: linear-gradient(135deg, #F4DF9E 0%, #DFBA73 100%);
  box-shadow: 0 6px 35px rgba(223, 186, 115, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   7. HOW NOIVRN BUILDS (METHODOLOGY)
   ========================================================================== */
.process-section {
  position: relative;
  padding: var(--section-spacing) 0;
  background-color: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
}

.process-interactive-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  margin-top: 3.5rem;
}

/* Process Stages Nav / Timeline */
.process-stages-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.process-stage-item {
  padding: 1.5rem 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.process-stage-item.is-active {
  background: var(--bg-surface-elevated);
  border-left-color: var(--gold-primary);
  border-color: rgba(223, 186, 115, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.process-stage-item:hover:not(.is-active) {
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.stage-number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
}

.stage-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.stage-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Process Active Stage Display Panel */
.process-stage-detail {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: clamp(2rem, 4vw, 3.5rem);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.process-stage-detail::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

.detail-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.detail-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.detail-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.detail-deliverables {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
}

.deliverables-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.deliverables-tags {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.deliv-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   8. MILESTONES / NUMBERS (GROUNDED METRICS)
   ========================================================================== */
.milestones-section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.milestone-item {
  padding: clamp(2rem, 3vw, 3rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.milestone-item:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 186, 115, 0.35);
}

.milestone-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.milestone-number.accent {
  color: var(--gold-primary);
}

.milestone-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.milestone-subtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   9. FUTURE VENTURES (ROADMAP SLOTS)
   ========================================================================== */
.future-section {
  position: relative;
  padding: var(--section-spacing) 0;
  background-color: var(--bg-void);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.future-card {
  padding: 2.5rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  transition: all var(--transition-normal);
}

.future-card.active-slot {
  background: linear-gradient(160deg, rgba(22, 44, 78, 0.3) 0%, var(--bg-surface) 100%);
  border-color: rgba(223, 186, 115, 0.35);
}

.future-card.in-dev {
  border-style: dashed;
  opacity: 0.85;
}

.future-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
}

.future-slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.future-slot-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-primary);
}

.future-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.future-badge.active {
  background: rgba(56, 239, 125, 0.12);
  color: #38EF7D;
  border: 1px solid rgba(56, 239, 125, 0.3);
}

.future-badge.dev {
  background: rgba(223, 186, 115, 0.12);
  color: var(--gold-primary);
  border: 1px solid rgba(223, 186, 115, 0.3);
}

.future-badge.explore {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-tertiary);
  border: 1px solid var(--border-subtle);
}

.future-card-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.future-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.future-card-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   10. ABOUT NOIVRN (PARENT COMPANY MANIFESTO)
   ========================================================================== */
.about-section {
  position: relative;
  padding: var(--section-spacing) 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.about-manifesto-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: clamp(2.5rem, 5vw, 5rem);
  position: relative;
}

.about-manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 3.5rem;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 3rem;
}

.about-pillar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.about-pillar-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   11. CONTACT SECTION
   ========================================================================== */
.contact-section {
  position: relative;
  padding: clamp(6rem, 12vw, 10.5rem) 0;
  background: radial-gradient(circle at 50% 100%, rgba(22, 44, 78, 0.35) 0%, transparent 70%),
              var(--bg-void);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.contact-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-headline-line {
  display: block;
  white-space: nowrap;
}

.contact-subtext {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-handle-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-radius: 2px;
}

.contact-copy-btn {
  background: transparent;
  border: none;
  color: var(--gold-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.4rem 0.6rem;
}

.contact-copy-btn:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background-color: #050608;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5rem 0 3rem 0;
  position: relative;
}

.site-footer .brand-link,
.site-footer .brand-link span {
  color: var(--gold-primary) !important;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32ch;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.footer-link {
  font-size: 0.9rem;
  color: #FFFFFF;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ==========================================================================
   INTERACTIVE CONTACT MODAL (<dialog>)
   ========================================================================== */
.contact-modal {
  border: none;
  background: transparent;
  padding: 1.5rem;
  max-width: 600px;
  width: 92vw;
  margin: auto;
  border-radius: 4px;
}

.contact-modal::backdrop {
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-surface {
  background: radial-gradient(circle at 90% 10%, rgba(22, 44, 78, 0.3) 0%, transparent 60%),
              #0B0E14;
  border: 1px solid rgba(223, 186, 115, 0.35);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9), 0 0 50px rgba(22, 44, 78, 0.3);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.modal-surface::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 50%, transparent 100%);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  font-size: 1.35rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: rotate(90deg);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.intent-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intent-question {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.intent-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.intent-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.55rem 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.intent-chip:hover {
  border-color: rgba(223, 186, 115, 0.4);
  color: var(--text-primary);
  background: rgba(223, 186, 115, 0.06);
}

.intent-chip.active {
  border-color: var(--gold-primary);
  background: var(--gold-subtle);
  color: var(--gold-primary);
  font-weight: 600;
  box-shadow: 0 0 14px rgba(223, 186, 115, 0.25);
}

.form-group-bespoke {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label-bespoke {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.form-input-bespoke, .form-textarea-bespoke {
  background: rgba(7, 9, 13, 0.75);
  border: 1px solid var(--border-subtle);
  border-bottom: 2px solid var(--border-medium);
  color: var(--text-primary);
  padding: 0.95rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  border-radius: 2px;
  transition: all var(--transition-fast);
  width: 100%;
}

.form-input-bespoke:focus, .form-textarea-bespoke:focus {
  outline: none;
  border-bottom-color: var(--gold-primary);
  border-color: rgba(223, 186, 115, 0.3);
  background: rgba(13, 17, 24, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.btn-send-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.1rem 2.2rem;
  background: linear-gradient(135deg, #F4DF9E 0%, #DFBA73 50%, #B38E46 100%);
  color: #06080E;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(223, 186, 115, 0.35);
  transition: all var(--transition-normal);
  width: 100%;
  margin-top: 0.75rem;
}

.btn-send-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(223, 186, 115, 0.55);
}

.form-feedback {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 1rem;
  border-radius: 2px;
  margin-top: 0.5rem;
}

.form-feedback.success {
  display: block;
  background: rgba(56, 239, 125, 0.12);
  color: #38EF7D;
  border: 1px solid rgba(56, 239, 125, 0.3);
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   Desktop: 1440px+
   Laptop: 1024–1439px
   Tablet: 768–1023px
   Mobile: 320–767px
   ========================================================================== */

/* (Responsive layout breakpoints and master mobile composition system are consolidated at the end of this stylesheet for optimal CSS cascade inheritance) */


/* ==========================================================================
   DEDICATED /VENTURES PAGE STYLES
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--gold-primary);
}

.breadcrumb-sep {
  color: var(--gold-primary);
  opacity: 0.8;
}

.breadcrumb-current {
  color: var(--gold-primary);
  font-weight: 600;
}

.ventures-page-header {
  padding-top: clamp(8rem, 15vh, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: radial-gradient(circle at 80% 20%, rgba(22, 44, 78, 0.32) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(223, 186, 115, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, var(--bg-void) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.ventures-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.ventures-hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  color: var(--gold-light);
  font-weight: 500;
  max-width: 48ch;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.ventures-hero-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.7;
}

.ventures-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.filter-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 2px;
}

.filter-pill.active {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 600;
}

/* Big Showcase Entry for VirtualWorks Lab */
.venture-entry-section {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-void);
}

.vw-grand-card {
  background: radial-gradient(circle at 90% 10%, rgba(22, 44, 78, 0.45) 0%, transparent 65%),
              linear-gradient(150deg, #0A111D 0%, #06090F 100%);
  border: 1px solid rgba(223, 186, 115, 0.35);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(22, 44, 78, 0.25);
  position: relative;
  overflow: hidden;
}

.vw-grand-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 50%, transparent 100%);
}

.vw-card-inner {
  padding: clamp(2.5rem, 6vw, 5.5rem);
}

.vw-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
}

.vw-status-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.vw-index-tag {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
}

.vw-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.vw-identity-box {
  background: rgba(14, 21, 33, 0.8);
  border: 1px solid rgba(223, 186, 115, 0.25);
  padding: 2.5rem;
  position: relative;
}

.vw-identity-mark {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.vw-monogram-symbol {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #162C4E 0%, #08111D 100%);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--gold-primary);
  box-shadow: 0 4px 20px rgba(223, 186, 115, 0.25);
}

.vw-identity-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.vw-identity-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-light);
}

.vw-telemetry-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 0.65rem;
}

.telemetry-key {
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.telemetry-val {
  color: var(--text-primary);
  font-weight: 600;
}

/* Call to Action in Ventures Page */
.ventures-cta-section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

/* ==========================================================================
   CASE STUDY: VIRTUALWORKS LAB (/ventures/virtualworks-lab)
   ========================================================================== */
.case-study-hero {
  padding-top: clamp(8rem, 15vh, 11rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(circle at 85% 15%, rgba(22, 44, 78, 0.45) 0%, transparent 65%),
              linear-gradient(180deg, var(--bg-void) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.case-study-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.case-study-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  color: var(--gold-light);
  max-width: 50ch;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.case-study-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.case-study-body {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-void);
}

.case-chapter {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.case-chapter:last-of-type {
  border-bottom: none;
}

.chapter-sidebar {
  position: sticky;
  top: 7rem;
}

.chapter-number {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--gold-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  text-transform: uppercase;
}

.chapter-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.chapter-lead {
  font-size: clamp(1.15rem, 1.7vw, 1.32rem);
  line-height: 1.65;
  color: var(--text-primary);
  font-weight: 500;
}

.chapter-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.chapter-text strong {
  color: var(--text-primary);
}

/* Feature Matrix inside Case Study */
.chapter-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.chapter-card {
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold-primary);
  transition: transform var(--transition-normal);
}

.chapter-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 186, 115, 0.4);
}

.chapter-card-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.chapter-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.chapter-card-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Ecosystem Callout Box */
.ecosystem-callout {
  background: linear-gradient(145deg, rgba(22, 44, 78, 0.35) 0%, rgba(14, 17, 24, 0.8) 100%);
  border: 1px solid rgba(223, 186, 115, 0.3);
  padding: 2.5rem;
  position: relative;
  margin-top: 1.5rem;
}

.ecosystem-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.flow-step {
  padding: 1.25rem;
  background: rgba(8, 10, 14, 0.6);
  border: 1px solid var(--border-subtle);
}

.flow-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.flow-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Grand Exit Banner */
.case-study-exit-section {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(22, 44, 78, 0.4) 0%, transparent 70%),
              #05070A;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.exit-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.btn-grand-launch {
  font-size: 1.05rem;
  padding: 1.25rem 2.85rem;
  background: linear-gradient(135deg, #F4DF9E 0%, #DFBA73 50%, #B38E46 100%);
  color: #06080E;
  font-weight: 700;
  border-radius: 2px;
  box-shadow: 0 6px 35px rgba(223, 186, 115, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.btn-grand-launch:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 45px rgba(223, 186, 115, 0.6);
}

/* ==========================================================================
   ABOUT PAGE (/about)
   ========================================================================== */
.about-page-header {
  padding-top: clamp(8rem, 15vh, 11rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(circle at 20% 25%, rgba(22, 44, 78, 0.28) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(223, 186, 115, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, var(--bg-void) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.about-hero-manifesto {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  color: var(--gold-light);
  line-height: 1.35;
  font-weight: 500;
  max-width: 36ch;
}

.about-sections-wrapper {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-void);
}

.about-story-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.about-story-row:last-of-type {
  border-bottom: none;
}

.story-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.story-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.story-body {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.story-body strong {
  color: var(--text-primary);
}

.offerings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.offering-item {
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold-primary);
}

.offering-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.offering-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   NOIVRN LOADING & TRANSITION SYSTEM
   ========================================================================== */

.noivrn-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #060709;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  overflow: hidden;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.45s ease;
  will-change: transform, opacity;
}

.noivrn-preloader.preloader-transitioning .preloader-counter-row {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.noivrn-preloader.preloader-transitioning {
  transform: translateY(-100%);
  opacity: 0.98;
}

.noivrn-preloader.preloader-dismissed {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  display: none !important;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.preloader-brand-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  transition: transform 0.58s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.45s ease;
  will-change: transform, opacity;
}

.preloader-logo {
  display: none !important;
}

.preloader-wordmark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: #DFBA73 !important;
  text-transform: uppercase;
  margin-left: 0.38em; /* Optical center for letter spacing */
  text-shadow: none !important;
  opacity: 1 !important;
  line-height: 1;
}

.preloader-counter-row,
.preloader-num {
  display: none !important;
}

.preloader-progress-bar {
  width: 64px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  margin-top: 0.15rem;
}

.preloader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #DFBA73;
  transition: width 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   404 ERROR PAGE STYLES & INTERACTION
   ========================================================================== */
.page-404-body {
  overflow-x: hidden;
  background-color: var(--bg-void);
}

.error-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
}

.error-404-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem var(--container-pad) 4rem var(--container-pad);
  background: radial-gradient(circle at 50% 35%, rgba(22, 44, 78, 0.4) 0%, transparent 65%),
              radial-gradient(circle at 50% 80%, rgba(223, 186, 115, 0.07) 0%, transparent 50%),
              var(--bg-void);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.error-code-interactive {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.05em;
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 18vw, 15rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
  user-select: none;
  cursor: crosshair;
  margin-bottom: 1.5rem;
  perspective: 900px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.digit-box {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.08s ease-out;
}

.digit-glyph {
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    #FFFFFF 0%,
    #F4DF9E 22%,
    #DFBA73 45%,
    #162C4E 75%,
    #08111D 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 36px rgba(22, 44, 78, 0.55));
}

.digit-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  height: 58%;
  transform: translate(-50%, -50%) rotate(25deg);
  border: 1px dashed rgba(223, 186, 115, 0.4);
  border-radius: 50%;
  pointer-events: none;
  animation: digitOrbitSpin 9s linear infinite;
}

@keyframes digitOrbitSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) rotate(180deg); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.4; }
}

.error-code-interactive.digit-recoil {
  animation: digitSpringBounce 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes digitSpringBounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.07) translateY(-4px); }
  70% { transform: scale(0.97) translateY(2px); }
  100% { transform: scale(1) translateY(0); }
}

.error-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.error-subheadline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--gold-light);
  margin-bottom: 2.75rem;
  font-weight: 500;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-return {
  padding: 1.1rem 2.4rem;
  font-size: 0.95rem;
}

.error-directory-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2rem 2.5rem;
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.error-directory-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.error-directory-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.error-dir-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.error-dir-link:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .error-directory-links {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PAGE-TO-PAGE SEAMLESS TRANSITIONS
   ========================================================================== */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99998;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.28s ease, visibility 0s 0.28s;
}

.page-transition-overlay.is-active {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.12s ease, visibility 0s 0s;
}

/* Primary Obsidian Curtain */
.transition-curtain {
  position: absolute;
  inset: 0;
  background-color: #060709;
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  z-index: 1;
}

.page-transition-overlay.is-active .transition-curtain {
  transform: translateY(0%);
}

.page-transition-overlay.is-exiting .transition-curtain {
  transform: translateY(-100%);
}

/* ==========================================================================
   DEDICATED /VENTURES MINIMAL PAGE TRANSITION
   Subtle opacity + micro-shift page exit & reveal.
   Zero sliding curtains across the screen, zero flash, zero layout shift.
   ========================================================================== */
body.ventures-exit-active main,
body.ventures-exit-active .site-header,
body.ventures-exit-active .site-footer {
  opacity: 0 !important;
  transform: translateY(-8px) scale(0.995) !important;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
  pointer-events: none !important;
}

body.ventures-revealing {
  animation: venturesRevealEnter 0.40s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  will-change: opacity, transform;
}

@keyframes venturesRevealEnter {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gold Takeover Curtain for VirtualWorks Lab */
.transition-gold-curtain {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--click-x, 50%) var(--click-y, 50%),
    #FFFFFF 0%,
    #F4DF9E 25%,
    #DFBA73 52%,
    #B38E46 78%,
    #08111D 120%
  );
  clip-path: circle(0% at var(--click-x, 50%) var(--click-y, 50%));
  transition: clip-path 0.44s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: clip-path, transform;
  z-index: 2;
  pointer-events: none;
}

.page-transition-overlay.is-gold-takeover .transition-gold-curtain {
  clip-path: circle(160% at var(--click-x, 50%) var(--click-y, 50%));
}

.page-transition-overlay.is-gold-takeover.is-exiting .transition-gold-curtain {
  transform: translateY(-100%);
  transition: transform 0.38s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Transition Center Stage */
.transition-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.26s ease 0.08s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  will-change: opacity, transform;
}

.page-transition-overlay.is-active .transition-stage {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.page-transition-overlay.is-exiting .transition-stage {
  opacity: 0;
  transform: translateY(-16px) scale(1.02);
  transition: opacity 0.18s ease, transform 0.22s ease;
}

/* Monogram emblem */
.transition-logo-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transition-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(223, 186, 115, 0.5));
}

.page-transition-overlay.is-gold-takeover .transition-logo-img {
  filter: drop-shadow(0 4px 20px rgba(8, 17, 29, 0.65));
}

/* Core breadcrumb indicator: NOIVRN → VENTURES */
.transition-indicator {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.page-transition-overlay.is-gold-takeover .transition-indicator {
  color: #060709;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.transition-from {
  color: var(--text-secondary);
  font-weight: 700;
}

.page-transition-overlay.is-gold-takeover .transition-from {
  color: #1a2332;
}

.transition-arrow {
  color: var(--gold-primary);
  font-family: var(--font-mono);
  font-size: 1.15em;
  font-weight: 400;
  display: inline-block;
  animation: arrowGlide 0.6s ease-in-out infinite alternate;
}

@keyframes arrowGlide {
  0% { transform: translateX(-3px); }
  100% { transform: translateX(5px); }
}

.page-transition-overlay.is-gold-takeover .transition-arrow {
  color: #08111D;
}

.transition-to {
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.page-transition-overlay.is-gold-takeover .transition-to {
  color: #08111D;
}

/* Hairline indicator line */
.transition-progress-line {
  width: 110px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  margin-top: 0.35rem;
}

.page-transition-overlay.is-gold-takeover .transition-progress-line {
  background: rgba(8, 17, 29, 0.18);
}

.transition-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #DFBA73, #F4DF9E);
  transition: width 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition-overlay.is-gold-takeover .transition-progress-bar {
  background: #08111D;
}

.page-transition-overlay.is-active .transition-progress-bar {
  width: 100%;
}

/* Modern View Transition API Progressive Enhancement */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ==========================================================================
   MASTER RESPONSIVE BREAKPOINTS & MOBILE COMPOSITION SYSTEM
   - Tablet: <= 1024px
   - Mobile: <= 768px (Art-directed Mobile Composition)
   - Compact Mobile: <= 480px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TABLET BREAKPOINT (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-bottom-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .editorial-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .editorial-statement {
    position: static;
  }

  .vw-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .venture-panel-grid {
    padding: 2.75rem 2rem;
    min-height: 480px;
  }

  .venture-content-area {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .venture-title-monumental {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
  }

  .venture-sketch-container {
    width: 55%;
    right: 0;
  }

  .venture-sketch-img {
    max-height: 440px;
  }

  .process-interactive-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-stages-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    width: 100%;
  }

  .process-stage-item {
    min-width: 0;
    width: 100%;
  }

  .milestones-grid, .future-grid, .about-pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .vw-showcase-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .case-chapter, .about-story-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .chapter-sidebar, .story-sidebar {
    position: static;
  }

  .chapter-pillars, .offerings-grid, .ecosystem-flow {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* --------------------------------------------------------------------------
   2. PRIMARY ART-DIRECTED MOBILE COMPOSITION (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* --- A. Global Viewport & Container Reset --- */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
  }

  :root {
    --container-pad: clamp(1rem, 4vw, 1.25rem);
    --section-spacing: 4.75rem;
  }

  .container, .container-wide {
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  section {
    padding-top: 4.75rem !important;
    padding-bottom: 4.75rem !important;
    border-top: 1px solid var(--border-subtle);
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* --- B. Typography Scaffolding (No Overflow, Contrast Gold) --- */
  body {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
  }

  /* Global Word Break & Text Overflow Guard for All Mobile Headings */
  h1, h2, h3, h4, h5, h6,
  .section-title,
  .hero-title,
  .venture-title-monumental,
  .vw-headline,
  .case-study-title,
  .about-hero-title,
  .ventures-hero-title,
  .story-heading,
  .chapter-title,
  .exit-headline,
  .contact-headline {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: manual;
  }

  /* Eyebrows, Badges, Labels, Metadata — Crisp & Highly Legible */
  .eyebrow, 
  .hero-tag, 
  .vw-category, 
  .vw-index-tag, 
  .chapter-number, 
  .story-label, 
  .telemetry-key, 
  .meta-lbl, 
  .badge-label, 
  .status-pill span, 
  .breadcrumb, 
  .filter-pill, 
  .flow-label, 
  .detail-badge, 
  .form-label-bespoke {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    color: var(--gold-light) !important;
  }

  .status-pill {
    padding: 0.38rem 0.85rem !important;
    border-color: rgba(223, 186, 115, 0.4) !important;
    background: rgba(14, 29, 51, 0.8) !important;
  }

  .section-header {
    margin-bottom: 2.25rem !important;
  }

  .section-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    margin-top: 0.45rem !important;
    margin-bottom: 0.85rem !important;
  }

  .section-subtitle {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #B2B9C8 !important;
    max-width: 100% !important;
  }

  .text-gold-gradient {
    background: linear-gradient(135deg, #FFF0D0 0%, #F4DF9E 45%, #DFBA73 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  p strong, .chapter-text strong, .story-body strong {
    color: #FFFFFF !important;
  }

  /* --- C. Clean Mobile Navigation & Header --- */
  /* Mobile Dark Mode Header — Zero scroll dependency, strictly consistent */
  .site-header,
  .site-header.scrolled,
  [data-theme="dark"] .site-header,
  [data-theme="dark"] .site-header.scrolled {
    height: 64px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(6, 7, 9, 0.94) !important;
    background-color: rgba(6, 7, 9, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(223, 186, 115, 0.18) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  }

  /* Mobile Light Mode Header — Immediate light appearance from first pixel/initial load */
  [data-theme="light"] .site-header,
  [data-theme="light"] .site-header.scrolled {
    height: 64px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(246, 245, 242, 0.96) !important;
    background-color: rgba(246, 245, 242, 0.96) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  }

  [data-theme="light"] .site-header .brand-link,
  [data-theme="light"] .site-header .brand-name {
    color: var(--text-primary) !important;
  }

  [data-theme="light"] .site-header .brand-tag {
    color: var(--gold-primary) !important;
    border-color: rgba(158, 119, 40, 0.3) !important;
  }

  [data-theme="light"] .site-header .mobile-toggle {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid var(--border-medium) !important;
  }

  [data-theme="light"] .site-header .mobile-toggle svg,
  [data-theme="light"] .site-header .mobile-toggle svg line {
    stroke: var(--text-primary) !important;
  }

  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
    gap: 0.5rem !important;
    box-sizing: border-box !important;
  }

  .nav-menu, .nav-cta-btn, .nav-actions .status-pill {
    display: none !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-toggle svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-primary);
  }

  .brand-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  .brand-logo-img {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  .brand-name {
    font-size: 1.15rem !important;
    letter-spacing: 0.06em !important;
    white-space: nowrap !important;
  }

  .brand-tag {
    font-size: 0.62rem !important;
    padding: 0.12rem 0.35rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Fullscreen Obsidian Mobile Drawer */
  .mobile-drawer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #060709;
    background-image: 
      radial-gradient(circle at 85% 15%, rgba(22, 44, 78, 0.5) 0%, transparent 60%),
      radial-gradient(circle at 15% 85%, rgba(223, 186, 115, 0.1) 0%, transparent 50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5.5rem 1.5rem 2.5rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .mobile-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-drawer-close {
    position: absolute;
    top: 12px;
    right: var(--container-pad, 1.25rem);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10001;
    padding: 0;
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  }

  .mobile-drawer-close:hover,
  .mobile-drawer-close:focus-visible {
    background: rgba(223, 186, 115, 0.12);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: rotate(90deg);
  }

  .mobile-drawer-close:active {
    transform: scale(0.92) rotate(90deg);
  }

  .mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    list-style: none;
  }

  .mobile-nav-link {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 6.8vw, 2.35rem) !important;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    transition: color 0.2s ease, transform 0.2s ease;
    min-height: 48px;
  }

  .mobile-nav-link:hover, .mobile-nav-link:active {
    color: var(--gold-primary) !important;
    transform: translateX(6px);
  }

  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
  }

  /* --- D. Hero Section Mobile Composition --- */
  .hero-section {
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
    min-height: auto !important;
    border-top: none !important;
  }

  .hero-canvas-container {
    opacity: 0.55 !important;
    max-height: 460px !important;
    pointer-events: none !important;
  }

  .hero-eyebrow-wrapper {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-title {
    font-size: clamp(2.35rem, 8.6vw, 3.4rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-desc {
    font-size: 1.05rem !important;
    line-height: 1.62 !important;
    color: #B2B9C8 !important;
    margin-bottom: 2rem !important;
    max-width: 100% !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
    margin-bottom: 2.75rem !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
    padding: 0.95rem 1.5rem !important;
  }

  .hero-ticker-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    padding: 1.25rem !important;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    width: 100% !important;
  }

  .hero-ticker-items {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  /* --- E. Philosophy & Principles Rail --- */
  .principles-rail {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .principle-row {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    padding: 1.75rem 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
  }

  .principle-num {
    font-size: 1.15rem !important;
    color: var(--gold-light) !important;
    font-family: var(--font-mono);
    font-weight: 700;
  }

  .principle-title {
    font-size: 1.35rem !important;
    letter-spacing: -0.02em !important;
  }

  .principle-desc {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    color: var(--text-secondary);
  }

  /* --- F. VirtualWorks Lab Grand Feature Section (Homepage) --- */
  .virtualworks-feature {
    padding: 2rem 1.25rem !important;
    border-radius: var(--radius-sm) !important;
  }

  .vw-badge-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    margin-bottom: 1.25rem !important;
  }

  .vw-headline {
    font-size: clamp(1.85rem, 6.8vw, 2.5rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
  }

  .vw-subline {
    font-size: 1.05rem !important;
    margin-bottom: 1.25rem !important;
  }

  .vw-description {
    font-size: 1rem !important;
    line-height: 1.62 !important;
    margin-bottom: 2rem !important;
  }

  .vw-action-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    margin-bottom: 2.5rem !important;
  }

  .vw-action-group .btn {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: center !important;
    padding: 0.95rem 1.4rem !important;
  }

  .vw-action-group .font-mono {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 0.88rem !important;
    color: var(--gold-light) !important;
  }

  .vw-pillars-panel {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .vw-pillar-card {
    padding: 1.4rem 1.25rem !important;
  }

  .vw-pillar-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.4rem !important;
  }

  .vw-pillar-text {
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
  }


  .venture-cinematic-card {
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .venture-panel-grid {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 2.25rem 1.35rem !important;
    min-height: auto !important;
  }

  .venture-content-area {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .venture-title-monumental {
    font-size: clamp(1.22rem, 5.3vw, 1.85rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 0.85rem !important;
  }

  .venture-title-monumental .vw-title-line-1 {
    white-space: nowrap !important;
    display: inline-block !important;
  }

  .venture-title-monumental .vw-title-line-2 {
    white-space: nowrap !important;
    display: inline-block !important;
  }

  .venture-tagline-accent {
    font-size: 0.88rem !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 1.25rem !important;
  }

  .venture-description-clean {
    font-size: 1rem !important;
    line-height: 1.68 !important;
    margin-bottom: 1.75rem !important;
    max-width: 100% !important;
  }

  .venture-actions-group {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .btn-venture-primary,
  .btn-venture-secondary {
    width: 100% !important;
    min-height: 50px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .venture-sketch-container {
    position: absolute !important;
    top: 48% !important;
    right: -6% !important;
    transform: translateY(-50%) !important;
    width: 86% !important;
    height: 72% !important;
    max-height: 380px !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    z-index: 1 !important;
    overflow: hidden !important;
  }

  .venture-sketch-img {
    max-height: 360px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: right center !important;
    opacity: 0.28 !important;
  }

  .venture-glow-backdrop {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    top: 0 !important;
    height: 100% !important;
  }

  /* --- G. Process Switcher Mobile Experience --- */
  .process-stages-nav {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
  }

  .process-stage-item {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0.85rem 0.95rem !important;
    box-sizing: border-box !important;
  }

  .process-stage-title, .stage-title {
    font-size: 0.92rem !important;
  }

  .stage-number {
    font-size: 0.72rem !important;
  }

  .stage-status {
    font-size: 0.68rem !important;
  }

  .process-details-panel {
    padding: 1.75rem 1.25rem !important;
  }

  .panel-title {
    font-size: 1.65rem !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
  }

  .panel-desc {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }

  .deliverables-list {
    gap: 0.75rem !important;
  }

  .deliverable-item {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  /* --- H. Milestones & Future Ventures Cards --- */
  .milestones-grid, .future-grid, .about-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .milestone-card {
    padding: 2rem 1.4rem !important;
  }

  .milestone-number {
    font-size: 3rem !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem !important;
    color: var(--gold-light) !important;
  }

  .milestone-label {
    font-size: 0.85rem !important;
    color: var(--gold-primary) !important;
    margin-bottom: 0.65rem !important;
  }

  .future-card {
    padding: 1.75rem 1.35rem !important;
  }

  .future-card-title {
    font-size: 1.45rem !important;
    margin-top: 0.65rem !important;
    margin-bottom: 0.65rem !important;
  }

  .future-card-desc {
    font-size: 0.95rem !important;
    line-height: 1.58 !important;
  }

  /* --- I. Contact Experience (Homepage, Dedicated Page & Modal) --- */
  .contact-wrapper, .contact-box {
    padding: 0 !important;
    width: 100% !important;
  }

  .contact-headline {
    font-size: clamp(1.45rem, 6.2vw, 2.5rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 1.15rem !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .contact-headline-line {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .contact-subtext, .contact-lead {
    font-size: 1.05rem !important;
    line-height: 1.62 !important;
    color: #B2B9C8 !important;
    margin-bottom: 2.25rem !important;
  }

  .contact-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .contact-actions .btn {
    width: 100% !important;
    min-height: 52px !important;
  }

  .contact-handle-bar {
    flex-direction: column !important;
    text-align: center;
    width: 100% !important;
    padding: 1rem !important;
    gap: 0.5rem !important;
  }

  /* Contact Modal (<dialog>) on Mobile */
  .contact-modal {
    width: calc(100vw - 1.5rem) !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: auto !important;
    max-height: 92vh !important;
  }

  .modal-surface {
    padding: 1.75rem 1.25rem !important;
    border-radius: var(--radius-sm) !important;
  }

  .modal-header {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
  }

  .modal-title {
    font-size: clamp(1.6rem, 5.8vw, 2.1rem) !important;
    line-height: 1.1 !important;
  }

  .intent-chips-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .intent-chip {
    flex-grow: 1;
    min-height: 46px !important;
    font-size: 0.88rem !important;
    padding: 0.65rem 0.85rem !important;
    text-align: center;
  }

  .form-group-bespoke {
    margin-bottom: 1.25rem !important;
  }

  .form-label-bespoke {
    font-size: 0.8rem !important;
    letter-spacing: 0.1em !important;
    color: var(--gold-light) !important;
    margin-bottom: 0.45rem !important;
  }

  .form-input-bespoke, 
  .form-textarea-bespoke {
    min-height: 52px !important;
    font-size: 16px !important; /* CRITICAL: 16px prevents iOS Safari viewport auto-zoom */
    padding: 0.85rem 1rem !important;
  }

  .form-textarea-bespoke {
    min-height: 110px !important;
  }

  .btn-send-cta {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 1rem !important;
    padding: 1rem !important;
  }

  /* --- J. Dedicated /ventures Page Styles on Mobile --- */
  .ventures-page-header {
    padding-top: 6.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .ventures-hero-title {
    font-size: clamp(1.85rem, 7.8vw, 2.75rem) !important;
    line-height: 1.05 !important;
  }

  .ventures-hero-subtitle {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }

  .ventures-hero-text {
    font-size: 1rem !important;
    line-height: 1.62 !important;
  }

  .ventures-filter-bar {
    gap: 0.5rem !important;
    margin-top: 2rem !important;
    padding-top: 1.25rem !important;
  }

  .vw-grand-card {
    border-radius: var(--radius-sm) !important;
  }

  .vw-card-inner {
    padding: 1.85rem 1.25rem !important;
  }

  .vw-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem !important;
  }

  .vw-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }

  .vw-identity-box {
    padding: 1.5rem 1.25rem !important;
  }

  .vw-identity-mark {
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.25rem !important;
  }

  .vw-monogram-symbol {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.15rem !important;
  }

  .telemetry-row {
    font-size: 0.85rem !important;
    padding-bottom: 0.5rem !important;
  }

  .telemetry-val {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
  }

  /* --- K. Dedicated Case Study (/ventures/virtualworks-lab) on Mobile --- */
  .case-study-hero {
    padding-top: 6.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .case-study-title {
    font-size: clamp(1.85rem, 7.8vw, 2.75rem) !important;
    line-height: 1.05 !important;
  }

  .case-study-subtitle {
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
  }

  .case-study-meta-bar {
    gap: 0.75rem !important;
    font-size: 0.8rem !important;
    padding-top: 1.25rem !important;
  }

  .case-chapter {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    padding: 3.5rem 0 !important;
  }

  .chapter-sidebar {
    position: static !important;
  }

  .chapter-title {
    font-size: clamp(1.75rem, 6vw, 2.35rem) !important;
    line-height: 1.1 !important;
  }

  .chapter-lead {
    font-size: 1.12rem !important;
    line-height: 1.6 !important;
  }

  .chapter-text {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .chapter-pillars {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .chapter-card {
    padding: 1.5rem 1.25rem !important;
  }

  .chapter-card-title {
    font-size: 1.1rem !important;
  }

  .chapter-card-text {
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
  }

  .ecosystem-callout {
    padding: 1.75rem 1.25rem !important;
  }

  .ecosystem-flow {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .flow-step {
    padding: 1rem !important;
  }

  .case-study-exit-section {
    padding: 4.5rem 0 !important;
  }

  .exit-headline {
    font-size: clamp(1.75rem, 7vw, 2.4rem) !important;
    line-height: 1.08 !important;
  }

  .btn-grand-launch {
    width: 100% !important;
    min-height: 54px !important;
    font-size: 1rem !important;
    justify-content: center !important;
    padding: 1rem 1.5rem !important;
  }

  /* --- L. Dedicated About Page (/about) on Mobile --- */
  .about-page-header {
    padding-top: 6.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .about-hero-title {
    font-size: clamp(1.85rem, 7.8vw, 2.75rem) !important;
    line-height: 1.05 !important;
  }

  .about-hero-manifesto {
    font-size: clamp(1.25rem, 5vw, 1.65rem) !important;
    line-height: 1.4 !important;
  }

  .about-story-row {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    padding: 3.5rem 0 !important;
  }

  .story-heading {
    font-size: clamp(1.75rem, 6vw, 2.35rem) !important;
  }

  .story-body {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    gap: 1.25rem !important;
  }

  .offerings-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .offering-item {
    padding: 1.4rem 1.25rem !important;
  }

  .offering-title {
    font-size: 1.1rem !important;
  }

  .offering-desc {
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
  }

  /* --- M. 404 Page on Mobile --- */
  .error-404-wrapper {
    padding-top: 6.5rem !important;
    padding-bottom: 4rem !important;
  }

  .error-code-interactive {
    font-size: clamp(5.5rem, 24vw, 8.5rem) !important;
    margin-bottom: 1rem !important;
  }

  .error-headline {
    font-size: clamp(1.75rem, 6.5vw, 2.4rem) !important;
  }

  .error-subheadline {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }

  .error-directory-box {
    padding: 1.5rem 1.25rem !important;
  }

  .error-directory-links {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .error-dir-link {
    font-size: 0.95rem !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .btn-return {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: center !important;
  }

  /* --- N. Preloader & Transition Indicator on Mobile --- */
  .preloader-wordmark {
    font-size: 1.15rem !important;
    letter-spacing: 0.28em !important;
    margin-left: 0.28em !important;
  }

  .transition-indicator {
    font-size: clamp(1.15rem, 5.2vw, 1.65rem) !important;
    gap: 0.65rem !important;
  }

  .transition-from, .transition-to {
    letter-spacing: 0.08em !important;
  }

  /* --- O. Footer Stack on Mobile --- */
  .site-footer {
    padding: 4.5rem 0 2.5rem 0 !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .footer-link {
    font-size: 0.95rem !important;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   3. COMPACT MOBILE BREAKPOINT (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --container-pad: 0.95rem;
  }

  .container, .container-wide {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
  }

  .hero-title {
    font-size: clamp(1.95rem, 8.5vw, 2.55rem) !important;
  }

  .section-title {
    font-size: clamp(1.65rem, 7.5vw, 2.2rem) !important;
  }

  .telemetry-grid {
    grid-template-columns: 1fr !important;
  }

  .filter-pill {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.65rem !important;
  }

  .intent-chip {
    width: 100% !important;
    text-align: center !important;
  }

  .venture-title-monumental {
    font-size: clamp(1.15rem, 5.1vw, 1.45rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
  }

  .vw-headline {
    font-size: clamp(1.45rem, 6.8vw, 1.95rem) !important;
    line-height: 1.05 !important;
  }

  .case-study-title {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem) !important;
    line-height: 1.05 !important;
  }

  .about-hero-title, .ventures-hero-title {
    font-size: clamp(1.65rem, 7.5vw, 2.25rem) !important;
    line-height: 1.05 !important;
  }

  .contact-headline {
    font-size: clamp(1.35rem, 6.2vw, 1.85rem) !important;
    line-height: 1.12 !important;
  }

  .venture-panel-grid {
    padding: 1.5rem 1rem !important;
  }

  .vw-card-inner {
    padding: 1.5rem 1rem !important;
  }
}

/* --------------------------------------------------------------------------
   4. ULTRA-COMPACT MOBILE BREAKPOINT (<= 360px - e.g. 320px screens)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  :root {
    --container-pad: 0.75rem;
  }

  .container, .container-wide {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .brand-name {
    font-size: 1.05rem !important;
  }

  .brand-tag {
    display: none !important;
  }

  .theme-toggle-glass {
    width: 52px !important;
    height: 30px !important;
  }

  .toggle-glass-knob {
    width: 22px !important;
    height: 22px !important;
  }

  [data-theme="dark"] .toggle-glass-knob {
    transform: translateX(22px) !important;
  }

  .mobile-toggle {
    width: 38px !important;
    height: 38px !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
  }

  .venture-title-monumental {
    font-size: 1.15rem !important;
  }

  .vw-headline {
    font-size: 1.35rem !important;
  }

  .case-study-title {
    font-size: 1.45rem !important;
  }

  .about-hero-title, .ventures-hero-title {
    font-size: 1.55rem !important;
  }

  .section-title {
    font-size: 1.65rem !important;
  }

  .contact-headline {
    font-size: 1.25rem !important;
    line-height: 1.15 !important;
  }

  .btn {
    padding: 0.85rem 1.15rem !important;
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   ARCHITECTURAL LIGHT THEME COMPONENT OVERRIDES
   Preserves visual hierarchy and layout while establishing a warm gallery ivory environment
   ========================================================================== */
/* Desktop Light Mode Scrolled Header (Scoped strictly to desktop screens > 768px) */
@media (min-width: 769px) {
  [data-theme="light"] .site-header.scrolled {
    background-color: rgba(246, 245, 242, 0.90) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  }
}

[data-theme="light"] .brand-link {
  color: var(--text-primary) !important;
}

[data-theme="light"] .brand-logo-img {
  filter: drop-shadow(0 2px 8px rgba(158, 119, 40, 0.25));
}

[data-theme="light"] .mobile-toggle svg line {
  stroke: var(--text-primary) !important;
}

[data-theme="light"] .mobile-drawer {
  background: rgba(246, 245, 242, 0.98) !important;
  border-left: 1px solid var(--border-medium) !important;
}

[data-theme="light"] .mobile-drawer-close {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: var(--border-medium) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] .mobile-drawer-close:hover,
[data-theme="light"] .mobile-drawer-close:focus-visible {
  background: rgba(158, 119, 40, 0.12) !important;
  border-color: var(--gold-primary) !important;
  color: var(--gold-primary) !important;
}

[data-theme="light"] .mobile-nav-link {
  color: var(--text-primary) !important;
}

[data-theme="light"] .mobile-nav-link:hover {
  color: var(--gold-primary) !important;
}

/* Buttons in Light Mode */
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #B58E38 0%, #9E7728 50%, #74520B 100%) !important;
  color: #FFFFFF !important;
  border-color: #9E7728 !important;
  box-shadow: 0 4px 18px rgba(158, 119, 40, 0.28) !important;
}

[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #DFBA73 0%, #B58E38 50%, #9E7728 100%) !important;
  box-shadow: 0 8px 26px rgba(158, 119, 40, 0.38) !important;
  color: #FFFFFF !important;
}

[data-theme="light"] .btn-secondary {
  background-color: rgba(255, 255, 255, 0.75) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-medium) !important;
}

[data-theme="light"] .btn-secondary:hover {
  background-color: var(--gold-subtle) !important;
  border-color: var(--gold-primary) !important;
  color: var(--gold-primary) !important;
}

/* Hero Status Ticker */
[data-theme="light"] .hero-status-ticker {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: var(--border-subtle) !important;
}

[data-theme="light"] .ticker-item {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .status-pill,
[data-theme="light"] .status-pill-active {
  background: rgba(235, 240, 248, 0.9) !important;
  border-color: rgba(158, 119, 40, 0.3) !important;
  color: var(--gold-deep) !important;
}

/* Studio Principles & Comparison */
[data-theme="light"] .principle-row {
  border-bottom-color: var(--border-subtle) !important;
}

[data-theme="light"] .principle-row:hover {
  background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .principle-title {
  color: var(--text-primary) !important;
}

[data-theme="light"] .principle-desc {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .comparison-card {
  background: #FFFFFF !important;
  border-color: var(--border-subtle) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}


/* Ventures Section Cinematic Card */
[data-theme="light"] .venture-cinematic-card {
  background: radial-gradient(circle at 76% 48%, rgba(198, 212, 230, 0.6) 0%, rgba(214, 225, 238, 0.35) 45%, transparent 72%),
              linear-gradient(145deg, #FFFFFF 0%, #F6F5F2 100%) !important;
  border: 1px solid var(--border-medium) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), 0 0 30px rgba(158, 119, 40, 0.05) !important;
}

[data-theme="light"] .venture-title-monumental .title-white {
  color: #10141D !important;
}

[data-theme="light"] .venture-title-monumental .title-gold {
  background: linear-gradient(135deg, #CF9E2E 0%, #D8A83A 35%, #AD7C1E 75%, #7C540C 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08)) !important;
}

[data-theme="light"] .venture-index-pill {
  background: rgba(158, 119, 40, 0.08) !important;
  border-color: rgba(158, 119, 40, 0.22) !important;
  color: var(--gold-deep) !important;
}

[data-theme="light"] .venture-description-clean {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .btn-venture-primary {
  background: linear-gradient(135deg, #B58E38 0%, #9E7728 50%, #74520B 100%) !important;
  color: #FFFFFF !important;
  border-color: #9E7728 !important;
  box-shadow: 0 4px 20px rgba(158, 119, 40, 0.35) !important;
}

[data-theme="light"] .btn-venture-secondary {
  background: #FFFFFF !important;
  color: #10141D !important;
  border: 1px solid rgba(16, 20, 29, 0.22) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .btn-venture-secondary:hover {
  background: #F8F9FA !important;
  border-color: rgba(16, 20, 29, 0.45) !important;
  color: #000000 !important;
}

[data-theme="light"] .venture-sketch-img {
  opacity: 0.90;
  mix-blend-mode: normal;
  filter: none;
}

@media (max-width: 768px) {
  [data-theme="light"] .venture-sketch-img {
    opacity: 0.25 !important;
  }
}


/* Process Stages & Switcher */
[data-theme="light"] .process-stage-item {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: var(--border-subtle) !important;
}

[data-theme="light"] .process-stage-item:hover {
  background: rgba(158, 119, 40, 0.05) !important;
  border-color: var(--gold-primary) !important;
}

[data-theme="light"] .process-stage-item.active {
  background: rgba(158, 119, 40, 0.08) !important;
  border-color: var(--gold-primary) !important;
}

[data-theme="light"] .process-stage-item.active .process-stage-num {
  color: var(--gold-primary) !important;
}

[data-theme="light"] .process-details-panel {
  background: linear-gradient(135deg, rgba(230, 238, 250, 0.5) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
  border-color: var(--border-medium) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.05) !important;
}

/* Milestones & Future Cards */
[data-theme="light"] .milestone-card,
[data-theme="light"] .future-card,
[data-theme="light"] .offering-item,
[data-theme="light"] .chapter-card,
[data-theme="light"] .ecosystem-callout,
[data-theme="light"] .error-directory-box,
[data-theme="light"] .vw-identity-box {
  background: #FFFFFF !important;
  border-color: var(--border-subtle) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .future-card-title,
[data-theme="light"] .offering-title,
[data-theme="light"] .chapter-card-title {
  color: var(--text-primary) !important;
}

/* Contact Experience & Modal */
[data-theme="light"] .contact-handle-bar {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: var(--border-subtle) !important;
}

[data-theme="light"] .modal-surface {
  background: #FFFFFF !important;
  border-color: var(--border-medium) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18) !important;
}

[data-theme="light"] .modal-title {
  color: var(--text-primary) !important;
}

[data-theme="light"] .modal-close-btn {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .intent-chip {
  background: #F6F5F2 !important;
  border-color: var(--border-medium) !important;
  color: var(--text-secondary) !important;
}

[data-theme="light"] .intent-chip:hover,
[data-theme="light"] .intent-chip.active {
  background: rgba(158, 119, 40, 0.10) !important;
  border-color: var(--gold-primary) !important;
  color: var(--gold-primary) !important;
}

[data-theme="light"] .form-input-bespoke,
[data-theme="light"] .form-textarea-bespoke {
  background: #F6F5F2 !important;
  border-color: var(--border-medium) !important;
  color: #10141D !important;
}

[data-theme="light"] .form-input-bespoke:focus,
[data-theme="light"] .form-textarea-bespoke:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 14px rgba(158, 119, 40, 0.2) !important;
}

/* Dedicated Subpages Light Theme Support */
[data-theme="light"] .vw-grand-card {
  background: radial-gradient(circle at 85% 15%, rgba(215, 228, 245, 0.5) 0%, transparent 65%),
              linear-gradient(145deg, #FFFFFF 0%, #F5F4F0 100%) !important;
  border-color: var(--border-medium) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .case-study-hero,
[data-theme="light"] .about-page-header,
[data-theme="light"] .ventures-page-header,
[data-theme="light"] .error-404-wrapper {
  background: radial-gradient(circle at 50% 0%, rgba(215, 228, 245, 0.35) 0%, transparent 70%),
              var(--bg-void) !important;
}

[data-theme="light"] .flow-step {
  background: #F6F5F2 !important;
  border-color: var(--border-subtle) !important;
}

/* Ensure all footer text remains crisp white against the permanent dark background in Light Mode */
[data-theme="light"] .site-footer {
  background-color: #050608 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

[data-theme="light"] .site-footer .brand-link,
[data-theme="light"] .site-footer .brand-link span {
  color: var(--gold-primary) !important;
}

[data-theme="light"] .site-footer .footer-brand-desc {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="light"] .site-footer .footer-col-title {
  color: var(--gold-primary) !important;
}

[data-theme="light"] .site-footer .footer-link {
  color: #FFFFFF !important;
}

[data-theme="light"] .site-footer .footer-link:hover {
  color: var(--gold-light) !important;
}

[data-theme="light"] .site-footer .footer-nav-col span {
  color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="light"] .site-footer .footer-bottom,
[data-theme="light"] .site-footer .footer-bottom div,
[data-theme="light"] .site-footer .footer-bottom span {
  color: rgba(255, 255, 255, 0.75) !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

/* ==========================================================================
   MOBILE HEADER THEME STABILITY — ZERO SCROLL DEPENDENCY
   Ensures mobile header has immediate, consistent light or dark appearance
   at all scroll positions without any scroll-triggered color change or flash.
   ========================================================================== */
@media (max-width: 768px) {
  [data-theme="light"] .site-header,
  [data-theme="light"] .site-header.scrolled {
    background: rgba(246, 245, 242, 0.96) !important;
    background-color: rgba(246, 245, 242, 0.96) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  }
}

