/* ═══════════════════════════════════════════════════════
   LINLYT — Premium Corporate Design System
   ═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --navy-950: #050c1a;
  --navy-900: #070f22;
  --navy-800: #0b1630;
  --navy-700: #0e1e40;
  --navy-600: #132448;
  --navy-500: #1a2f5e;

  --teal-400: #00d4b4;
  --teal-300: #00eac8;
  --teal-200: #6ef5e2;
  --teal-glow: rgba(0, 212, 180, 0.12);

  --blue-400: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.12);

  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --section-pad-y: clamp(3.5rem, 8vw, 7rem);

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.2);
  --shadow-teal: 0 8px 32px rgba(0, 212, 180, 0.18);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast: 180ms;
  --dur-base: 300ms;
  --dur-slow: 550ms;

  --max-w: 1280px;
  --text-w: 600px;
}

/* ─── RESET ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  /* Handled by JS smooth scroll engine */
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--navy-950);
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul,
ol {
  list-style: none;
}

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

input,
select,
textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ─── TYPOGRAPHY UTILITIES ───────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-400);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--teal-400);
  flex-shrink: 0;
}

.eyebrow-light {
  color: var(--teal-300);
}

.eyebrow-light::before {
  background: var(--teal-300);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.title-light {
  color: var(--white);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: var(--text-w);
  line-height: 1.75;
}

/* ─── LAYOUT UTILITIES ────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-header .section-eyebrow {
  justify-content: center;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ─── REVEAL ANIMATION ───────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-reveal].reveal-left {
  transform: translateX(-32px);
}

[data-reveal].reveal-right {
  transform: translateX(32px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0) !important;
}

[data-seq-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-seq-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.8125rem 1.875rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: var(--teal-400);
  color: var(--navy-950);
  box-shadow: 0 4px 20px rgba(0, 212, 180, 0.35);
}

.btn-primary:hover {
  background: var(--teal-300);
  box-shadow: 0 8px 28px rgba(0, 212, 180, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.btn-teal {
  background: transparent;
  color: var(--teal-400);
  border: 1.5px solid var(--teal-400);
}

.btn-teal:hover {
  background: var(--teal-glow);
  box-shadow: var(--shadow-teal);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 15, 25, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
  box-shadow: none;
  transition: all var(--dur-slow) var(--ease-out);
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(10, 15, 25, 0.25),
      rgba(10, 15, 25, 0));
  transition: background var(--dur-slow) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(10, 15, 25, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled::after {
  background: linear-gradient(to bottom,
      rgba(10, 15, 25, 0.4),
      rgba(10, 15, 25, 0));
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 62px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.logo-image {
  height: clamp(28px, 3.5vh, 32px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.05) drop-shadow(0 0 12px rgba(0, 245, 212, 0.15));
  transition: filter 0.3s ease;
}

.nav-logo:hover .logo-image {
  filter: brightness(1.15) drop-shadow(0 0 15px rgba(0, 245, 212, 0.25));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 4vw, 3rem);
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e7eb;
  opacity: 0.7;
  letter-spacing: 0.04em;
  padding: 6px 0;
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #00f5d4;
  transition: width 0.3s var(--ease-out);
  box-shadow: 0 0 8px #00f5d4;
}

.nav-link:hover {
  opacity: 1;
  color: #00f5d4;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--dur-base);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: rgba(7, 15, 34, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-4) 0 var(--space-8);
}

.mobile-menu.open {
  display: block;
}

.mobile-link {
  display: block;
  padding: var(--space-4) clamp(1.25rem, 5vw, 3rem);
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--dur-base);
}

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

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, #020408 0%, rgba(2, 4, 8, 0.8) 25%, rgba(2, 4, 8, 0.2) 60%, transparent 100%),
    radial-gradient(ellipse 70% 50% at 75% 40%, rgba(15, 23, 50, 0.8) 0%, transparent 100%),
    radial-gradient(ellipse 40% 30% at 15% 75%, rgba(40, 80, 255, 0.04) 0%, transparent 100%),
    #020408;
  padding-top: 72px;
  padding-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, rgba(2, 4, 8, 0.25) 40%, rgba(5, 10, 21, 0.55) 70%, #080c14 100%);
  pointer-events: none;
  z-index: 3;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.shape-1 {
  top: -10%;
  right: -5%;
  width: 55vw;
  height: 80vh;
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(145deg, rgba(23, 48, 79, 0.4) 0%, rgba(15, 23, 40, 0.2) 60%, transparent 100%);
  transform: scale(1.25);
  filter: blur(18px);
  transform-origin: top right;
}

.shape-2 {
  bottom: 10%;
  left: -8%;
  width: 40vw;
  height: 50vh;
  clip-path: polygon(0 0, 100% 20%, 80% 100%, 0 100%);
  background: linear-gradient(160deg, rgba(15, 23, 40, 0.85) 0%, transparent 80%);
  transform: scale(1.2);
  filter: blur(14px);
  transform-origin: bottom left;
}

.shape-3 {
  top: 20%;
  right: 5%;
  width: 2px;
  height: 30vh;
  background: linear-gradient(to bottom, transparent, rgba(60, 120, 255, 0.18), transparent);
  transform: rotate(25deg);
}

.shape-4 {
  top: 55%;
  right: 25%;
  width: 1px;
  height: 18vh;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(-15deg);
}

.shape-noise {
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-mesh-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.cursor-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(60, 130, 255, 0.15) 0%, rgba(60, 130, 255, 0.05) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s ease;
  /* Faster appearance to match snappier JS tracking */
  will-change: transform, opacity;
}

.hero:hover .cursor-glow {
  opacity: 1;
}

.cursor-glow.magnetic {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80, 150, 255, 0.25) 0%, rgba(60, 130, 255, 0.08) 50%, transparent 70%);
  opacity: 1;
}

.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 0;
}

.hero-caption-rotator {
  position: relative;
  width: 100%;
  min-height: clamp(130px, 14vw, 185px);
  display: flex;
  align-items: flex-start;
}

.hero-caption {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.1s ease;
  pointer-events: none;
  visibility: hidden;
  width: 100%;
}

.hero-caption.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}

.hero-caption.exit {
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(8px);
}

.caption-underline {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(60, 130, 255, 0.8), transparent);
  box-shadow: 0 0 15px rgba(60, 130, 255, 0.5);
  animation: underlinePulse 4s infinite ease-in-out;
}

@keyframes underlinePulse {

  0%,
  100% {
    width: 60px;
    opacity: 0.4;
  }

  50% {
    width: 120px;
    opacity: 1;
  }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.94);
  max-width: 680px;
  margin: 0;
  animation: fadeSlideUp 1.2s var(--ease-out) 0s both;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 28px;
  animation: fadeSlideUp 1.2s var(--ease-out) 0.4s both;
  align-items: center;
}

.hero-text-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out);
}

.hero-text-cta::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: rgba(60, 120, 255, 0.4);
  transition: width var(--dur-base) var(--ease-out);
  box-shadow: 0 0 8px rgba(60, 120, 255, 0.4);
}

.hero-text-cta:hover {
  color: rgba(120, 140, 255, 1);
}

.hero-text-cta:hover::after {
  width: 100%;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  animation: fadeIn 1.5s var(--ease-out) 0.8s both;
  transform: scale(1.18);
  transform-origin: center center;
  will-change: opacity, transform;
}

.hero-illustration {
  position: relative;
  width: 600px;
  height: 600px;
  max-width: 100%;
  flex-shrink: 0;
}

@keyframes floatSlow {

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

  50% {
    transform: translateY(-12px);
  }
}

.float-slow {
  animation: floatSlow 10s ease-in-out infinite;
}

.illus-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illus-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 140, 255, 0.08);
}

.illus-ring-1 {
  width: 250px;
  height: 250px;
}

.illus-ring-2 {
  width: 380px;
  height: 380px;
}

.illus-ring-3 {
  width: 460px;
  height: 460px;
  animation: rotateSlow 30s linear infinite;
}

.illus-ring-3::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(60, 130, 255, 0.9);
  border-radius: 50%;
  margin-left: -5px;
  box-shadow: 0 0 15px rgba(60, 130, 255, 0.4), 0 0 30px rgba(60, 130, 255, 0.2);
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

.illus-center {
  position: relative;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(60, 120, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(60, 120, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(60, 120, 255, 0.1), 0 0 40px rgba(60, 120, 255, 0.12), 0 0 80px rgba(60, 120, 255, 0.06);
}

.illus-glow {
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(40, 90, 255, 0.16) 0%,
      rgba(20, 40, 90, 0.12) 35%,
      rgba(5, 10, 20, 0) 75%);
  pointer-events: none;
}

.illus-icon {
  width: 66px;
  height: 66px;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(120, 140, 255, 0.08);
}

.orbit-1 {
  width: 270px;
  height: 270px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateSlow 12s linear infinite;
}

.orbit-2 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateSlow 20s linear infinite reverse;
}

.orbit-3 {
  width: 440px;
  height: 440px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateSlow 35s linear infinite;
}

.orbit-node {
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: -6px;
  margin-top: -6px;
}

.node-teal {
  background: rgba(80, 150, 255, 0.6);
  box-shadow: 0 0 15px rgba(80, 150, 255, 0.3);
}

.node-blue {
  background: rgba(60, 120, 255, 0.5);
  box-shadow: 0 0 15px rgba(60, 120, 255, 0.2);
}

.node-white {
  background: rgba(255, 255, 255, 0.75);
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: fadeIn 1s var(--ease-out) 1.4s both;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(60, 120, 255, 0.2), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 212, 180, 0.8), transparent);
  animation: scrollDrop 2s ease-in-out 1.6s infinite;
}

@keyframes scrollDrop {
  0% {
    top: -100%;
  }

  100% {
    top: 200%;
  }
}

/* ══════════════════════════════════════════════════════
   REVEAL SECTION — Minimal & Cinematic
══════════════════════════════════════════════════════ */
.reveal-section {
  height: 350vh;
  /* Increased height for a slower, more epic scroll */
  position: relative;
  background: #000000;
  z-index: 10;
}

.reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reveal-master-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal-logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(260px, 25vw, 320px);
  z-index: 20;
  pointer-events: none;
  will-change: transform, opacity;
}

.reveal-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* Clipping mask centered inside the zooming logo frame */
.reveal-content-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  /* Proportional to the logo image's inner square */
  height: 60%;
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.reveal-content {
  width: 100vw;
  /* Keep text width consistent with screen */
  max-width: 800px;
  text-align: center;
  opacity: 0;
  filter: blur(10px);
  will-change: transform, opacity, filter;
  flex-shrink: 0;
}

.reveal-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.reveal-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 550px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .reveal-section {
    height: 250vh;
  }

  .reveal-heading {
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════════════════
   RIBBON
══════════════════════════════════════════════════════ */
.ribbon {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: rgba(2, 4, 8, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 0;
  white-space: nowrap;
  transform: scale(1);
  opacity: 1;
}

.ribbon-divider {
  margin: 0;
  border-radius: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.6), rgba(2, 4, 8, 0.8));
}

.ribbon.ribbon-surfaced {
  transform: scale(1) translateY(0);
  filter: blur(0px);
  opacity: 1;
}

.ribbon-track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  font-size: clamp(0.7rem, 2vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
  opacity: 0.8;
  animation: marquee 30s linear infinite;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.ribbon:hover .ribbon-track {
  opacity: 1;
  transform: scale(1.02);
  /* Subtle scale for the whole track */
}

.ribbon-dot {
  color: rgba(60, 130, 255, 1);
  text-shadow: 0 0 8px rgba(60, 130, 255, 0.6);
  font-size: 0.8rem;
  margin: 0 4px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════════════════════════════
   SERVICES SECTION — Premium Depth Carousel
══════════════════════════════════════════════════════ */
.services {
  position: relative;
  height: 750vh;
  /* Premium slow scroll duration */
  background: #02040a;
  overflow: visible;
  z-index: 5;
}

.services-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: 32% 68%;
  width: 100%;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 12vh 6% 0;
  align-items: flex-start;
}

/* Left Column: Fixed Minimal Text */
.services-text-col {
  padding-right: 10%;
  z-index: 10;
  max-width: 440px;
  /* Reduced for elegance */
}

.services-indicator {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #788cff;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-indicator.revealed {
  opacity: 0.7;
  transform: translateY(0);
}

.services-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 2.3vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  max-width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s;
}

.services-title.revealed {
  opacity: 1;
  transform: translateY(0);
}

.services-description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 40px;
  max-width: 90%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}

.services-description.revealed {
  opacity: 1;
  transform: translateY(0);
}

.services-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}

.services-counter.revealed {
  opacity: 1;
  transform: translateY(0);
}

.counter-current {
  color: #ffffff;
}

.counter-divider {
  color: rgba(255, 255, 255, 0.1);
}

.counter-total {
  color: rgba(255, 255, 255, 0.15);
}

/* Right Column: Landscape Visual Showcase */
.services-visual-col {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  perspective: 2000px;
}

.services-carousel-container {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.services-track {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.service-slide {
  position: absolute;
  width: min(90%, 410px);
  aspect-ratio: 16 / 10;
  background: #0a0a0f;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-slide.is-active {
  border-color: rgba(120, 140, 255, 0.2);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7),
    0 0 40px -10px rgba(120, 140, 255, 0.1);
}

.service-video-wrap {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.service-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.6s ease;
}

.service-slide.is-active .service-video-wrap video {
  opacity: 1;
}

.service-slide-name {
  padding: 16px 24px;
  /* Significantly reduced padding */
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  /* Smaller, cleaner text */
  font-weight: 500;
  /* Medium weight for elegance */
  color: rgba(255, 255, 255, 0.9);
  background: #0f0f15;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }

  .services-text-col {
    padding-right: 0;
    text-align: center;
    margin-bottom: 60px;
    padding-top: 0;
  }

  .services-carousel-container {
    height: 45vh;
  }

  .service-slide {
    width: min(85%, 420px);
  }
}

/* ── Mobile: disable sticky, native horizontal swipe ── */
@media (max-width: 768px) {
  .services-scroll-wrapper {
    height: auto;
  }

  .services-sticky {
    position: static;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
  }

  .services-sticky::before {
    display: none;
  }

  .services-sticky-header {
    padding: var(--space-10) clamp(1.25rem, 5vw, 3rem) var(--space-6);
  }

  .services-track {
    overflow-x: auto;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: flex-start;
  }

  .services-track::-webkit-scrollbar {
    display: none;
  }

  .service-slide {
    width: 78vw;
  }

  .services-progress-bar {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════ */
.about {
  position: relative;
  height: 120vh;
  /* Increased for breathing room */
  width: 100%;
  overflow: hidden;
  background: #0a0a0f;
  margin: 0;
  padding: 0;
  z-index: 10;
}

.about-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  /* Reduced for premium subtlety and readability */
  filter: brightness(0.8) contrast(1.1);
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(5, 8, 20, 0.4) 0%,
      rgba(5, 8, 20, 0.7) 50%,
      rgba(5, 8, 20, 0.95) 100%);
  z-index: 2;
}

.about-inner-cinematic {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Push text to top area */
  align-items: center;
  text-align: center;
  padding: 8vh var(--space-6) 0;
  /* Vertical breathing room */
}

.about-content-cinematic {
  max-width: 800px;
  margin-bottom: 12vh;
  /* Clear gap between text and window */
  position: relative;
  z-index: 20;
  /* Higher priority */
}

.about-heading-cinematic {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-description-cinematic {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  /* Boosted for better readability */
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mac Window Styles — Realistic macOS feel */
.about-mac-window {
  width: min(94%, 900px);
  background: rgba(18, 18, 22, 0.75);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  position: absolute;
  bottom: -80px;
  /* Anchored low to prevent overlap */
  left: 50%;
  transform: translateX(-50%) translateY(250px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 10;
}

.mac-title-bar {
  background: linear-gradient(to bottom, #323232, #282828);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 5;
  height: 34px;
}

.mac-window-body {
  display: flex;
  height: 420px;
  /* Real window height */
  position: relative;
  z-index: 2;
}

.mac-sidebar {
  width: 180px;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-6) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  cursor: default;
}

.sidebar-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.sidebar-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.sidebar-item.active svg {
  color: var(--teal-400);
  opacity: 1;
}

.mac-main {
  flex: 1;
  padding: var(--space-8);
  overflow-y: auto;
}

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

.mac-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: var(--space-5);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-head h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.mac-card p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

/* Internal Reveal sequence */
.about.active .mac-card {
  opacity: 1;
  transform: translateY(0);
}

.about.active .mac-card:nth-child(1) {
  transition-delay: 0.4s;
}

.about.active .mac-card:nth-child(2) {
  transition-delay: 0.5s;
}

.about.active .mac-card:nth-child(3) {
  transition-delay: 0.6s;
}

.about.active .mac-card:nth-child(4) {
  transition-delay: 0.7s;
}

.mac-dots {
  display: flex;
  gap: 7px;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mac-dot.red {
  background: #ff5f56;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

.mac-dot.yellow {
  background: #ffbd2e;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

.mac-dot.green {
  background: #27c93f;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

.mac-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Cinematic Reveal Sequence Triggered by JS */
.about.active .about-heading-cinematic {
  opacity: 1;
  transform: translateY(0);
}

.about.active .about-description-cinematic {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.about.active .about-mac-window {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0.3s;
}

@media (max-width: 768px) {
  .mac-sidebar {
    display: none;
  }

  .mac-grid {
    grid-template-columns: 1fr;
  }

  .mac-window-body {
    height: auto;
    padding-bottom: 60px;
  }
}

@media (max-width: 992px) {
  .feature-panel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 640px) {
  .about-heading-cinematic {
    font-size: 1.75rem;
  }

  .feature-panel-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .about-feature-panel {
    padding: var(--space-6);
  }
}

/* ══════════════════════════════════════════════════════
   PROJECTS SECTION
══════════════════════════════════════════════════════ */
.projects {
  position: relative;
  z-index: 10;
  background: #070b14;
  padding: var(--section-pad-y) 0;
  overflow: hidden;
}

.projects-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.projects-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  /* Reduced for cinematic subtlety */
  filter: brightness(0.7) contrast(1.15);
}

.projects-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(5, 8, 20, 0.9) 0%,
      rgba(5, 8, 20, 0.4) 50%,
      rgba(5, 8, 20, 0.95) 100%);
  z-index: 2;
}

.projects .section-inner {
  position: relative;
  z-index: 10;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  pointer-events: none;
  z-index: 11;
}

.projects::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 212, 180, 0.02) 0%, transparent 65%);
  pointer-events: none;
  z-index: 3;
}

.projects-diagonal {
  display: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12) var(--space-10);
  margin-top: var(--space-12);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.industry-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all var(--dur-slow) var(--ease-out);
  position: relative;
  padding-bottom: var(--space-6);
}

.industry-item:hover {
  transform: translateX(12px);
}

.industry-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  /* Slightly reduced for compact feel */
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0;
  transition: color var(--dur-base);
}

.industry-item:hover .industry-title {
  color: var(--teal-300);
  text-shadow: 0 0 20px rgba(0, 212, 180, 0.3);
}

.industry-desc {
  font-size: 0.875rem;
  /* More compact */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  /* Boosted contrast */
  margin: 0;
  max-width: 280px;
}

.industry-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--teal-400);
  opacity: 0.3;
  transition: all var(--dur-slow) var(--ease-out);
}

.industry-item:hover .industry-line {
  width: 100%;
  opacity: 0.8;
  box-shadow: 0 0 10px var(--teal-400);
}

/* ══════════════════════════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════════════════════════ */
.team {
  background: linear-gradient(135deg, #fdfdfd 0%, #f4f7f9 100%);
  padding: var(--section-pad-y) 0;
  position: relative;
  z-index: 5;
}

.team .section-title {
  color: #1a1a1a;
}

.team .section-eyebrow {
  color: #334155;
  opacity: 1;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  filter: none;
  mix-blend-mode: normal;
}

/* ══════════════════════════════════════════════════════
   LEADERSHIP SECTION — Premium Light Grid
   ══════════════════════════════════════════════════════ */
.team {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, #fdfdfd 0%, #f4f7f9 100%);
  overflow: hidden;
  z-index: 5;
}

.team .section-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.team .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.team .section-eyebrow {
  color: #334155;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
  font-size: 10px;
}

.team .section-title {
  color: #1a1a1a;
  font-size: clamp(24px, 2.2vw, 33px);
  font-weight: 700;
  line-height: 1.2;
}

/* 4 over 3 Compact Grid */
.leadership-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.founder-card {
  flex: 0 0 calc(25% - 18px);
  /* 4 cards per row */
  min-width: 210px;
  aspect-ratio: 1.1 / 1;
  /* Wider and shorter */
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(60, 130, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.member-image-wrap {
  flex: 1;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #eee;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.founder-card:hover .member-image {
  transform: scale(1.05);
}

.member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.2) 60%,
      transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px 18px;
}

.member-info {
  width: 100%;
}

.member-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1px;
}

.member-role {
  font-size: 0.725rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .founder-card {
    flex: 0 0 calc(33.333% - 16px);
  }

  .team {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .founder-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 480px) {
  .founder-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: var(--space-10);
  }

  .industry-desc {
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════════════════
   PROCESS SECTION
══════════════════════════════════════════════════════ */
.process {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 50%, #e2e8f0 100%);
  padding: var(--section-pad-y) 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.process .section-title {
  color: #0f172a !important;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: normal;
  opacity: 1 !important;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  text-shadow: none;
  filter: none;
  mix-blend-mode: normal;
}

.process .section-eyebrow {
  color: #334155;
  font-weight: 600;
  opacity: 0.8;
}

/* Glass Window Container - Light Version Refined */
.process-window {
  margin-top: var(--space-16);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: var(--space-12) var(--space-8);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.process-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  position: relative;
  z-index: 2;
}

.process-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-dot {
  width: 10px;
  height: 10px;
  background: #14b8a6;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
  transition: all 0.4s ease;
  margin-bottom: var(--space-2);
}

.process-item:hover .item-dot {
  transform: scale(1.5);
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.7);
}

.process-item:hover {
  transform: translateY(-6px);
}

.item-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.item-body {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .process-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10) var(--space-8);
  }
}

@media (max-width: 640px) {
  .process-window {
    padding: var(--space-10) var(--space-6);
    border-radius: 24px;
  }

  .process-row {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ══════════════════════════════════════════════════════
   CONTACT SECTION (REFINED MINIMAL)
══════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════
   CONTACT SECTION (COMPACT PREMIUM)
   ══════════════════════════════════════════════════════ */
.contact {
  position: relative;
  z-index: 10;
  padding: 90px 0;
  background: #000000 !important;
  /* True Premium Black */
  overflow: hidden;
}

/* Form Validation & State Styles */
.luxury-input-group.has-error input,
.luxury-input-group.has-error .csd-trigger,
.luxury-input-group.has-error textarea {
  border-color: rgba(255, 100, 100, 0.4) !important;
  background: rgba(255, 100, 100, 0.03) !important;
}

.luxury-input-group.has-error label {
  color: rgba(255, 100, 100, 0.7) !important;
}

.field-error {
  display: none;
  font-size: 11px;
  color: #ff6464;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.luxury-input-group.has-error .field-error {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.premium-cta-submit.is-loading {
  pointer-events: none;
  background: #f1f1f1;
  opacity: 0.8;
}

.premium-cta-submit.is-loading span {
  opacity: 0.5;
}

.premium-cta-submit.is-loading svg {
  animation: btnRotate 0.8s infinite linear;
}

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

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

/* Subtle Ambient Lighting */
.contact-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.02;
  animation: subtleFloat 35s infinite alternate ease-in-out;
}

.orb-1 {
  top: 10%;
  left: 25%;
  width: 35vw;
  height: 35vw;
  background: var(--teal-900);
}

.orb-2 {
  bottom: 10%;
  right: 20%;
  width: 25vw;
  height: 25vw;
  background: var(--blue-900);
}

@keyframes subtleFloat {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(40px, 40px);
  }
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Rebalanced proportions */
  gap: 80px;
  align-items: center;
}

/* Left Content Styles */
.premium-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #788cff;
  margin-bottom: 20px;
}

.premium-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 440px;
}

.premium-paragraph {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

/* Compact Contact Info List */
.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* Balanced vertical rhythm */
  margin-top: 40px;
}

.premium-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  width: fit-content;
}

.premium-contact-card:hover {
  transform: translateX(6px);
}

.card-icon-wrap {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  margin-top: 2px;
}

.premium-contact-card:hover .card-icon-wrap {
  color: #788cff;
}

.card-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 2px;
}

.card-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.4s ease;
}

.premium-contact-card:hover .card-value {
  color: #ffffff;
}

/* Form Rebuild (Compact) */
.luxury-form-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.luxury-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.luxury-input-group {
  position: relative;
  width: 100%;
}

.luxury-input-group input,
.luxury-input-group select,
.luxury-input-group textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  padding-top: 14px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 15px;
  color: var(--white);
  transition: all 0.3s ease;
}

.luxury-input-group textarea {
  min-height: 100px;
  padding: 20px 16px;
}

.luxury-input-group label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.luxury-input-group input:focus~label,
.luxury-input-group input:not(:placeholder-shown)~label,
.luxury-input-group select:focus~label,
.luxury-input-group select:not([value=""]):valid~label,
.luxury-input-group textarea:focus~label,
.luxury-input-group textarea:not(:placeholder-shown)~label {
  top: 6px;
  left: 16px;
  font-size: 10px;
  color: #788cff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.luxury-input-group input:focus,
.luxury-input-group select:focus,
.luxury-input-group textarea:focus {
  border-color: rgba(120, 140, 255, 0.3);
  background: rgba(120, 140, 255, 0.02);
  outline: none;
}

/* Premium Submit Button (Compact) */
.premium-cta-submit {
  width: fit-content;
  height: 48px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 10px;
  color: #020617;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.premium-cta-submit:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.premium-cta-submit svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.premium-cta-submit:hover svg {
  transform: translateX(3px);
}

/* Custom Service Dropdown (CSD) */
.csd-wrap {
  position: relative;
  cursor: pointer;
}

.csd-trigger {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 15px;
  color: var(--white);
  transition: all 0.3s ease;
  user-select: none;
}

.csd-wrap:hover .csd-trigger {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.csd-trigger:focus {
  outline: none;
  border-color: #788cff;
  box-shadow: 0 0 0 2px rgba(120, 140, 255, 0.1);
}

.csd-display {
  opacity: 1;
  transition: opacity 0.3s ease;
  padding-top: 14px;
}

.csd-label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.csd-wrap.open .csd-label,
.csd-wrap.selected .csd-label {
  top: 6px;
  left: 16px;
  font-size: 10px;
  color: #788cff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.csd-chevron {
  width: 16px;
  height: 16px;
  opacity: 0.4;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.csd-wrap.open .csd-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

.csd-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #050816;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  margin: 0;
  list-style: none;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.csd-wrap.open .csd-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.csd-option {
  padding: 10px 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.csd-option:hover {
  background: rgba(120, 140, 255, 0.1);
  color: #ffffff;
}

.csd-option.active {
  background: rgba(120, 140, 255, 0.15);
  color: #788cff;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════
   FOOTER (COMPACT ENTERPRISE)
══════════════════════════════════════════════════════ */
.footer {
  background: #020617;
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 10;
  padding-top: 48px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.footer-brand .logo-text {
  font-size: 18px;
  color: var(--white);
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  line-height: 1.6;
}

.footer-nav {
  display: contents;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.8;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13px;
  color: var(--white);
  opacity: 0.65;
  line-height: 1.6;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--teal-400);
  transform: translateX(2px);
}

.footer-bottom {
  padding: 16px 0 0;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .hero-visual {
    transform: scale(0.82);
    transform-origin: center top;
  }

  .hero-illustration {
    width: 320px;
    height: 320px;
  }

  .services-carousel-container {
    height: 480px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-inner {
    gap: var(--space-12);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 0 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }

  [data-reveal] {
    transform: translateY(20px);
  }
}

@media (max-width: 480px) {
  .hero-illustration {
    width: 280px;
    height: 280px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 24px;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── DARK OVERRIDES ─────────────────────────────────── */
.services .section-title,
.capabilities .section-title,
.contact .premium-heading {
  color: var(--white);
}

.services .section-sub {
  color: rgba(255, 255, 255, 0.45);
}

.services .section-inner,
.capabilities .section-inner,
.process .section-inner,
.contact .section-inner {
  z-index: 2;
}

/* ─── SERVICES & ABOUT RESET (Restored Motion) ───────── */
.services,
.about,
.projects,
.reveal-section {
  filter: none !important;
  backdrop-filter: none !important;
  mix-blend-mode: normal !important;
}

.services-sticky-wrapper,
.about-inner-cinematic,
.projects-video-bg {
  filter: none !important;
  backdrop-filter: none !important;
}

.service-slide,
.mac-card,
.industry-item,
.reveal-content,
.about-mac-window {
  filter: none !important;
  visibility: visible !important;
}

.service-slide {
  filter: none !important;
}

.about-overlay,
.projects-video-overlay,
.reveal-master-container::before,
.services::before,
.services::after,
.services-sticky::before,
.services-sticky-wrapper::before {
  display: none !important;
}

.reveal-logo-container {
  opacity: 1 !important;
}

.reveal-logo {
  transition: opacity 0.5s ease;
}