/* ==========================================================================
   knowabhishekrai — CINEMATIC MONOCHROME SYSTEM
   "ONE PERSON. MANY POSSIBILITIES."
   Pure Vanilla CSS3
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --bg-primary: #060606;
  --bg-secondary: #0d0d0d;
  --bg-elevated: #141414;
  --bg-translucent: rgba(6, 6, 6, 0.85);

  --text-primary: #f4f4f4;
  --text-secondary: #909090;
  --text-muted: #555555;
  --text-ghost: #2b2b2b;

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.28);
  --border-strong: rgba(255, 255, 255, 0.6);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, 'Courier New', monospace;
  --font-editorial: 'Georgia', serif;

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);

  --nav-height: 80px;
  --content-max-width: 1360px;
}

/* --- Global Reset & Base Setup --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: var(--text-primary);
  color: var(--bg-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* --- Film Grain Overlay --- */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Custom Cursor --- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
  will-change: transform;
}

.cursor-lens {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, width 0.25s var(--ease-cinematic), height 0.25s var(--ease-cinematic), background-color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.cursor-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--bg-primary);
  opacity: 0;
  font-weight: 600;
  pointer-events: none;
  transition: opacity 0.15s ease;
  text-transform: uppercase;
}

/* Hover state on any interactive element */
.cursor-lens.is-hovering {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 255, 255, 0.08);
}

/* Hover state when custom badge label is active */
.cursor-lens.has-label,
.cursor-lens.is-active {
  width: 58px;
  height: 58px;
  background-color: var(--text-primary);
  border-color: transparent;
}

.cursor-lens.has-label .cursor-label,
.cursor-lens.is-active .cursor-label {
  opacity: 1;
}

/* Hide native OS cursor on desktop fine pointers */
@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  [data-cursor],
  input,
  textarea,
  select {
    cursor: none !important;
  }
}

/* Hide custom cursor completely on touch / mobile devices */
@media (hover: none) or (pointer: coarse) {
  .cursor-dot,
  .cursor-lens {
    display: none !important;
  }
}

/* --- Viewport HUD (Cinematic Metadata Corners) --- */
.viewport-hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 800;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hud-rec-bottom {
  position: absolute;
  bottom: 2rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hud-tr {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
}

.hud-tag {
  color: #c92a2a;
  animation: recBlink 2s infinite ease-in-out;
}

@keyframes recBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 900;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth), backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background-color: var(--bg-translucent);
  backdrop-filter: blur(14px);
  border-color: var(--border-hairline);
}

.header-inner {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
  line-height: 1;
}

.brand-link:hover {
  opacity: 1;
  transform: scale(1.05);
}

.nav-brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-primary);
  transition: width 0.3s var(--ease-cinematic);
}

.nav-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

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

.nav-link:hover .nav-arrow {
  color: var(--text-primary);
  transform: translate(2px, -2px);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  padding: 0.4rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  align-items: center;
  gap: 0.6rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-elevated);
}

.toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 13px;
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .toggle-bar:nth-child(1) {
  transform: translateY(2.5px) rotate(45deg);
}

.nav-toggle.is-active .toggle-bar:nth-child(2) {
  transform: translateY(-2.5px) rotate(-45deg);
}

/* --- Layout Containers & Badges --- */
.editorial-container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 3rem;
}

.section-spacing {
  padding: 12rem 0;
  position: relative;
}

.section-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  text-transform: uppercase;
}

.badge-num {
  color: var(--text-secondary);
}

/* --- Scroll Animation Trigger Classes --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s var(--ease-cinematic), transform 1.1s var(--ease-cinematic);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

.delay-4 {
  transition-delay: 0.6s;
}

/* ==========================================================================
   HORIZONTAL SCROLL ARCHITECTURE & TRACK
   ========================================================================== */
.horizontal-scroll-container {
  position: relative;
  width: 100%;
  /* Height dynamically updated by JS: totalScrollDistance + window.innerHeight */
}

.horizontal-sticky-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.horizontal-track {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.horizontal-panel {
  position: relative;
  height: 100vh;
  max-height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  border-left: 1px solid var(--border-hairline);
  background-color: var(--bg-primary);
  padding: 0 4rem;
}

/* Subtle Film Crosshairs on Panel Edges */
.horizontal-panel::before,
.horizontal-panel::after {
  content: "+";
  position: absolute;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-ghost);
  pointer-events: none;
  line-height: 1;
  z-index: 5;
}

.horizontal-panel::before {
  top: 5rem;
  right: 2.5rem;
}

.horizontal-panel::after {
  bottom: 3rem;
  right: 2.5rem;
}

/* Specific Panel Dimensional Adjustments */
.hero-panel {
  width: 100vw;
  min-width: 100vw;
  border-left: none;
  background-color: transparent;
  align-items: flex-end;
  padding: 0 0 5.5rem 0;
}

.hero-panel::before,
.hero-panel::after {
  display: none;
}

.idea-panel {
  width: 100vw;
  min-width: 100vw;
  justify-content: center;
}

.ecosystem-panel {
  width: 105vw;
  min-width: 105vw;
  justify-content: center;
}

.ecosystem-panel .ecosystem-intro {
  margin-bottom: 2rem;
}

.ecosystem-panel .orbit-stage {
  height: clamp(380px, 48vh, 540px);
}

.manifesto-panel {
  width: 100vw;
  min-width: 100vw;
  justify-content: center;
  background-color: var(--bg-secondary);
  border-top: none;
  padding: 0 4rem;
}

.manifesto-panel .manifesto-line {
  margin-bottom: 2.5rem;
}

.manifesto-panel .manifesto-columns {
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   VERTICAL SCROLL SECTION (PAGE FLOWS DOWN AFTER HORIZONTAL REEL)
   ========================================================================== */
.vertical-scroll-section {
  position: relative;
  width: 100%;
  background-color: var(--bg-primary);
  z-index: 10;
}

.vertical-section {
  position: relative;
  width: 100%;
  border-top: 1px solid var(--border-hairline);
  box-sizing: border-box;
}

/* 01. ONE POINT OF CONTACT (THE ARCHITECTURE) */
.section-advantage {
  padding: 10rem 0;
  background-color: var(--bg-primary);
}

.section-advantage .advantage-headline-wrap {
  margin-bottom: 3.5rem;
  max-width: 900px;
}

.section-advantage .pipeline-comparison {
  padding: 3.5rem;
  gap: 3rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
}

/* 02. KNOW ABHISHEK RAI (KAR IDENTITY) */
.section-kar {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  text-align: center;
  background-color: var(--bg-primary);
}

/* 03. LET'S MAKE SOMETHING (CONTACT & FOOTER) */
.section-contact {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8rem 0 1.5rem 0;
  background-color: var(--bg-primary);
}

.section-contact .contact-box {
  max-width: var(--content-max-width);
  margin: 0 auto;
  width: 100%;
}

.section-contact .contact-query {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.section-contact .contact-cta-wrapper {
  margin-bottom: 4rem;
}

.section-contact .site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 2.5rem 0 1.5rem 0;
  margin-top: 6rem;
  width: 100%;
}

/* Cinematic Film Transport Progress Bar & Frame Indicator */
.frame-progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 120;
  pointer-events: none;
}

.frame-progress-fill {
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

.hud-frame-indicator {
  position: fixed;
  bottom: 2.25rem;
  right: 3rem;
  z-index: 100;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   SECTION 01: HERO SECTION
   ========================================================================== */
.hero-section,
.hero-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 5.5rem 0;
  overflow: hidden;
}

/* Vast Cinematic Image Canvas */
.cinematic-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  background-color: #000000;
}

.hero-bg-photo {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  object-position: 60% 45%;
  opacity: 0.85;
  transform: scale(1.02);
  transition: transform 0.45s ease-out;
  will-change: transform;
}

.hero-photo-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.6) 38%, rgba(6, 6, 6, 0.1) 75%),
    linear-gradient(to top, rgba(6, 6, 6, 1) 0%, rgba(6, 6, 6, 0.3) 25%, transparent 60%);
  pointer-events: none;
}

/* Film Frame Corner Crosshairs */
.crosshair {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-ghost);
  line-height: 1;
}

.ch-tl {
  top: 5rem;
  left: 3rem;
}

.ch-tr {
  top: 5rem;
  right: 3rem;
}

.ch-bl {
  bottom: 3rem;
  left: 3rem;
}

.ch-br {
  bottom: 3rem;
  right: 3rem;
}

/* Hero Text Placement */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--content-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
}

.hero-meta {
  margin-bottom: 2rem;
}

.meta-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.hero-brand {
  margin-bottom: 1.25rem;
}

.hero-brand-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
}

.title-sub {
  color: var(--text-secondary);
}

.hero-subline {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4rem;
}

.hero-scroll {
  display: inline-block;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  transition: color 0.3s ease, transform 0.3s ease;
}

.scroll-arrow {
  display: inline-block;
  animation: floatArrow 2.4s infinite ease-in-out;
}

.scroll-cue:hover {
  color: var(--text-primary);
  transform: translateY(2px);
}

@keyframes floatArrow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* ==========================================================================
   SECTION 02: THE IDEA
   ========================================================================== */
.section-idea {
  border-top: 1px solid var(--border-hairline);
}

.editorial-spread {
  padding-left: clamp(0rem, 8vw, 10rem);
  max-width: 980px;
}

.editorial-headline {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.editorial-divider {
  width: 48px;
  height: 1px;
  background-color: var(--border-strong);
  margin-bottom: 2.5rem;
}

.editorial-body {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
}

.editorial-credo {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION 03: THE ONE-PERSON ADVANTAGE
   ========================================================================== */
.section-advantage {
  border-top: 1px solid var(--border-hairline);
}

.advantage-headline-wrap {
  margin-bottom: 6rem;
  max-width: 900px;
}

.advantage-headline {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.advantage-headline.subtle-text {
  color: var(--text-secondary);
}

.advantage-subtext {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 2rem;
  max-width: 720px;
}

/* Transformation Comparison Layout */
.pipeline-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  position: relative;
}

.pipeline-col {
  display: flex;
  flex-direction: column;
}

.pipeline-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.pipeline-flow {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.flow-node {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  padding: 0.35rem 0.8rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
}

.pipeline-legacy .flow-node {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}

.flow-arrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-ghost);
  margin-left: 0.8rem;
}

.pipeline-legacy .flow-arrow {
  color: var(--text-ghost);
}

.pipeline-vs {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  border: 1px solid var(--border-hairline);
  padding: 0.6rem 0.9rem;
  border-radius: 50%;
}

.pipeline-kar .flow-node.kar-center {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background-color: rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.flow-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--border-active);
  background: rgba(255, 255, 255, 0.02);
}

.cluster-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.cluster-dot {
  color: var(--text-muted);
}

.flow-node.highlight {
  color: var(--text-primary);
  border-color: var(--border-active);
}

.pipeline-footer-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* ==========================================================================
   SECTION 04: THE ECOSYSTEM
   ========================================================================== */
.section-ecosystem {
  border-top: 1px solid var(--border-hairline);
}

.ecosystem-intro {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 5rem;
}

/* Orbit Stage Simulation */
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ring {
  fill: none;
  stroke: var(--border-hairline);
  stroke-width: 1;
}

.ring-outer {
  stroke-dasharray: 4 6;
  animation: rotateRing 80s linear infinite;
  transform-origin: 300px 300px;
}

.ring-inner {
  stroke-dasharray: 2 4;
}

.orbit-axis {
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Core Nucleus */
.orbit-nucleus {
  position: relative;
  z-index: 10;
  width: 110px;
  height: 110px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.orbit-nucleus:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 45px rgba(255, 255, 255, 0.12);
}

.nucleus-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s var(--ease-cinematic);
}

.orbit-nucleus:hover .nucleus-logo {
  transform: scale(1.08);
}

.nucleus-callsign {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.nucleus-sub {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 3px;
}

/* Satellites positioned in the orbital field */
.orbit-satellite {
  position: absolute;
  z-index: 15;
  padding: 1rem 1.25rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  max-width: 240px;
  text-decoration: none;
  display: block;
  color: inherit;
  transition: transform 0.3s var(--ease-cinematic), border-color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.orbit-satellite:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-elevated);
  transform: scale(1.04);
}

.satellite-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.satellite-code {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.satellite-arrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.orbit-satellite:hover .satellite-arrow {
  color: var(--text-primary);
  transform: translate(2px, -2px);
}

.satellite-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.satellite-desc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Position satellite coordinates relative to 600x600 plane */
.sat-1 {
  top: 8%;
  left: 8%;
}

.sat-2 {
  top: 12%;
  right: 6%;
}

.sat-3 {
  bottom: 12%;
  left: 4%;
}

.sat-4 {
  bottom: 8%;
  right: 6%;
}

/* ==========================================================================
   SECTION 05: MANIFESTO
   ========================================================================== */
.section-manifesto {
  border-top: 1px solid var(--border-hairline);
  background-color: var(--bg-secondary);
  padding: 14rem 0;
}

.manifesto-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 3rem;
}

.manifesto-frame {
  max-width: 960px;
  margin: 0 auto;
}

.manifesto-line {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4rem;
}

.manifesto-columns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 5rem;
  padding-left: clamp(0rem, 4vw, 3rem);
  border-left: 1px solid var(--border-active);
}

.manifesto-item {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.manifesto-climax h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

/* ==========================================================================
   SECTION 06: KAR IDENTITY
   ========================================================================== */
.section-kar {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border-hairline);
  padding: 6rem 3rem;
  text-align: center;
}

.kar-wrapper {
  max-width: 900px;
  width: 100%;
}

.kar-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.kar-monumental {
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  margin-bottom: 2.5rem;
  cursor: default;
}

.kar-monumental-logo {
  width: clamp(180px, 24vw, 320px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.08));
  transition: transform 0.5s var(--ease-cinematic), filter 0.5s ease;
}

.kar-monumental:hover .kar-monumental-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.2));
}

.kar-phonetic {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.kar-devanagari {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: 0.08em;
  color: var(--text-primary);
  font-weight: 300;
}

/* ==========================================================================
   FINAL SECTION: CONTACT
   ========================================================================== */
.section-contact {
  border-top: 1px solid var(--border-hairline);
  padding-bottom: 10rem;
}

.contact-box {
  padding-top: 2rem;
}

.contact-query {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 4rem;
}

.contact-cta-wrapper {
  margin-bottom: 6rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--text-primary);
  transition: gap 0.3s var(--ease-cinematic), opacity 0.3s ease;
}

.link-label {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.link-arrow {
  font-size: 1.8rem;
  color: var(--text-primary);
  transition: transform 0.3s var(--ease-cinematic);
}

.contact-link:hover {
  gap: 2.25rem;
}

.contact-link:hover .link-arrow {
  transform: translateX(8px);
}

.contact-coordinates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-hairline);
}

.coord-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.coord-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.coord-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

a.coord-val:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 3rem 0 3.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.footer-container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  color: var(--text-secondary);
}

.footer-creed {
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .pipeline-comparison {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .pipeline-vs {
    align-self: center;
  }

  .orbit-stage {
    height: 520px;
  }
}

/* Mobile Navigation Breakpoint */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-strong);
    padding: 1.5rem 1.75rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    z-index: 901;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    border-bottom: 1px solid var(--border-hairline);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .viewport-hud {
    padding: 1rem 1.25rem;
    font-size: 8px;
  }

  .hud-tr {
    display: none;
    /* Keep mobile HUD extremely unobtrusive */
  }

  .hud-rec-bottom {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .editorial-container {
    padding: 0 1.5rem;
  }

  .section-spacing {
    padding: 7rem 0;
  }

  .site-header .header-inner {
    padding: 0 1.5rem;
  }

  /* Hero Mobile */
  .hero-section {
    padding: 0 0 4rem 0;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-bg-photo {
    object-position: 58% 35%;
  }

  .hero-photo-vignette {
    background:
      linear-gradient(to top, rgba(6, 6, 6, 0.98) 0%, rgba(6, 6, 6, 0.75) 45%, rgba(6, 6, 6, 0.2) 75%, transparent 100%),
      linear-gradient(to right, rgba(6, 6, 6, 0.6) 0%, transparent 60%);
  }

  .hero-subline {
    margin-bottom: 2.5rem;
  }

  /* Ecosystem mobile */
  .orbit-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .orbit-svg {
    display: none;
  }

  .orbit-nucleus {
    margin-bottom: 1.5rem;
    position: static;
  }

  .orbit-satellite {
    position: static;
    max-width: 100%;
    width: 100%;
    transform: none !important;
  }


  /* Contact coordinates */
  .contact-coordinates {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Horizontal Panels Mobile */
  .horizontal-panel {
    padding: 0 1.5rem;
  }

  .ecosystem-panel,
  .manifesto-panel {
    width: 100vw;
    min-width: 100vw;
  }

  /* Vertical Sections Mobile */
  .section-advantage,
  .section-kar,
  .section-contact {
    padding: 6rem 0;
  }

  .section-advantage .pipeline-comparison {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .hud-frame-indicator {
    bottom: 1.25rem;
    right: 1.25rem;
    font-size: 8px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1.5rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .cursor-dot,
  .cursor-lens {
    display: none !important;
  }

  body,
  a,
  button,
  [data-cursor],
  input,
  textarea,
  select {
    cursor: auto !important;
  }
}